/* PakGamersHub — Trade Caution List styles */
.pghcl-wrap {
    --c-red: #d42333;
    --c-red-hover: #b81e2b;
    --c-bg: #f2f1ef;
    --c-surface: #fff;
    --c-border: #e4e3e0;
    --c-text: #18181a;
    --c-text-soft: #3d3c42;
    --c-text-muted: #7a7880;

    max-width: 1100px;
    margin: 24px auto !important;
    padding: 0 16px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--c-text);
    box-sizing: border-box;
    width: 100%;
    float: none !important;
}
body:has(.pghcl-wrap) .site-content,
body:has(.pghcl-wrap) .content-area,
body:has(.pghcl-wrap) #primary,
body:has(.pghcl-wrap) #content,
body:has(.pghcl-wrap) main {
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
}
body:has(.pghcl-wrap) #secondary,
body:has(.pghcl-wrap) .sidebar,
body:has(.pghcl-wrap) .widget-area {
    display: none !important;
}

.pghcl-back {
    display: inline-block;
    color: var(--c-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}
.pghcl-back:hover { color: var(--c-red); }

/* Hero */
.pghcl-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1515 100%);
    color: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.pghcl-hero-icon { font-size: 56px; flex-shrink: 0; }
.pghcl-hero-text { flex: 1; min-width: 280px; }
.pghcl-hero h1 { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 8px; letter-spacing: -0.02em; }
.pghcl-hero p { color: rgba(255,255,255,0.85); margin: 0; font-size: 15px; line-height: 1.5; }
.pghcl-hero p strong { color: #fff; }

/* Disclaimer */
.pghcl-disclaimer {
    background: #fff8e6;
    border: 1px solid #f3d27a;
    border-left: 4px solid #d4a02b;
    padding: 14px 18px;
    border-radius: 8px;
    color: #4a3d10;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.pghcl-disclaimer strong { color: #2a2008; }
.pghcl-disclaimer ul { margin: 8px 0 0 18px; }
.pghcl-disclaimer code { background: rgba(0,0,0,0.05); padding: 1px 6px; border-radius: 3px; }

/* Buttons */
.pghcl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.15s;
    line-height: 1;
    min-height: 42px;
}
.pghcl-btn-primary { background: var(--c-red); color: #fff; }
.pghcl-btn-primary:hover { background: var(--c-red-hover); color: #fff; }
.pghcl-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.pghcl-btn-secondary { background: var(--c-text); color: #fff; }
.pghcl-btn-secondary:hover { background: #000; color: #fff; }
.pghcl-btn-search { background: var(--c-red); color: #fff; }
.pghcl-btn-search:hover { background: var(--c-red-hover); }
.pghcl-btn-share { background: #2c5aa0; color: #fff; }
.pghcl-btn-share:hover { background: #1f4682; }
.pghcl-btn-large { padding: 14px 28px; font-size: 15px; }

/* Search bar */
.pghcl-search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.pghcl-search-input {
    flex: 1;
    min-width: 200px;
    padding: 11px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    outline: none;
}
.pghcl-search-input:focus { border-color: var(--c-red); }
.pghcl-search-select {
    padding: 11px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    outline: none;
    cursor: pointer;
    min-width: 140px;
}

.pghcl-results-meta {
    color: var(--c-text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}
.pghcl-results-meta strong { color: var(--c-text); }
.pghcl-results-meta a { color: var(--c-red); }

/* Result cards */
.pghcl-results { display: flex; flex-direction: column; gap: 10px; }
.pghcl-card {
    display: block;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-left: 4px solid var(--c-red);
    border-radius: 10px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--c-text);
    transition: box-shadow 0.15s, transform 0.15s;
}
.pghcl-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}
.pghcl-card-disputed { border-left-color: #f39c12; }
.pghcl-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.pghcl-card-tag {
    background: #fde2e2;
    color: var(--c-red);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
}
.pghcl-card-tag.big { font-size: 12px; padding: 4px 10px; }
.pghcl-card-disputed-tag {
    background: #fff3e0;
    color: #b76900;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}
.pghcl-card-disputed-tag.big { font-size: 12px; padding: 4px 10px; }
.pghcl-card-platform {
    font-size: 11px;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-left: auto;
}
.pghcl-card-title { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: var(--c-text); }
.pghcl-card-meta { font-size: 13px; color: var(--c-text-muted); margin-bottom: 8px; }
.pghcl-card-excerpt { font-size: 14px; color: var(--c-text-soft); line-height: 1.5; margin: 0 0 8px; }
.pghcl-card-foot { font-size: 11px; color: var(--c-text-muted); }

.pghcl-empty { background: #fff; padding: 40px; text-align: center; border-radius: 10px; border: 1px dashed var(--c-border); }

/* Pagination */
.pghcl-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.pghcl-page-btn {
    padding: 8px 14px;
    border: 1.5px solid var(--c-border);
    background: #fff;
    color: var(--c-text);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}
.pghcl-page-btn:hover { border-color: var(--c-red); color: var(--c-red); }
.pghcl-page-btn.active { background: var(--c-red); border-color: var(--c-red); color: #fff; }

/* Single report */
.pghcl-single-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-left: 5px solid var(--c-red);
    border-radius: 12px;
    padding: 32px;
}
.pghcl-single-card.is-disputed { border-left-color: #f39c12; }
.pghcl-single-head { margin-bottom: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.pghcl-single-title { font-size: 32px; font-weight: 800; margin: 0; color: var(--c-text); letter-spacing: -0.02em; }
.pghcl-single-alias { color: var(--c-text-muted); margin: 4px 0 16px; font-style: italic; }
.pghcl-single-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    margin: 16px 0;
}
.pghcl-single-meta-grid > div { display: flex; flex-direction: column; gap: 3px; }
.pghcl-single-meta-grid > div span {
    font-size: 11px;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.pghcl-single-meta-grid > div strong {
    font-size: 14px;
    color: var(--c-text);
    font-weight: 700;
}
.pghcl-contact-box {
    background: var(--c-bg);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
}
.pghcl-contact-box small { color: var(--c-text-muted); margin-left: 6px; }
.pghcl-single-card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-text-muted); margin-top: 24px; margin-bottom: 10px; }
.pghcl-single-description { font-size: 15px; line-height: 1.7; color: var(--c-text-soft); white-space: pre-wrap; word-wrap: break-word; background: var(--c-bg); padding: 16px; border-radius: 8px; }

.pghcl-evidence-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 10px; }
.pghcl-evidence-thumb { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--c-border); }
.pghcl-evidence-thumb img { width: 100%; display: block; }
.pghcl-evidence-private { background: #f0f0ef; padding: 16px; border-radius: 8px; color: var(--c-text-soft); font-size: 14px; }

.pghcl-dispute-block { background: #fff7eb; border-left: 3px solid #f39c12; padding: 14px 18px; border-radius: 8px; margin: 10px 0; }
.pghcl-dispute-head { font-size: 13px; color: var(--c-text-soft); margin-bottom: 6px; }
.pghcl-dispute-block p { margin: 0; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; }

.pghcl-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* Comments */
.pghcl-comments-section { margin-top: 32px; background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 24px; }
.pghcl-comments-section h3 { margin-top: 0; font-size: 16px; color: var(--c-text); text-transform: none; letter-spacing: 0; font-weight: 700; }
.pghcl-comment { padding: 12px 0; border-bottom: 1px solid var(--c-border); }
.pghcl-comment:last-child { border-bottom: none; }
.pghcl-comment small { color: var(--c-text-muted); margin-left: 8px; font-size: 12px; }
.pghcl-comment p { margin: 6px 0 0; line-height: 1.5; color: var(--c-text-soft); white-space: pre-wrap; word-wrap: break-word; }
.pghcl-no-comments { color: var(--c-text-muted); font-size: 14px; }

.pghcl-comment-form { margin-top: 16px; }
.pghcl-comment-form textarea {
    width: 100%;
    border: 1.5px solid var(--c-border);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
}
.pghcl-comment-rules { font-size: 12px; color: var(--c-text-muted); margin-top: 8px; }

/* Submit form */
.pghcl-submit-page h1 { font-size: 28px; margin: 0 0 16px; }
.pghcl-step {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 14px;
}
.pghcl-step legend { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-red); padding: 0 8px; }
.pghcl-step label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--c-text-soft); }
.pghcl-step label .req { color: var(--c-red); }
.pghcl-step input[type=text],
.pghcl-step input[type=email],
.pghcl-step input[type=url],
.pghcl-step input[type=tel],
.pghcl-step input[type=number],
.pghcl-step input[type=date],
.pghcl-step select,
.pghcl-step textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1.5px solid var(--c-border);
    border-radius: 7px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    outline: none;
    color: var(--c-text);
}
.pghcl-step textarea { resize: vertical; }
.pghcl-step input:focus, .pghcl-step select:focus, .pghcl-step textarea:focus { border-color: var(--c-red); }
.pghcl-step input[type=checkbox] { margin-right: 8px; }
.pghcl-counter { font-size: 12px; color: var(--c-text-muted); display: block; margin-top: 4px; }
.pghcl-evidence-note { font-size: 12px; color: var(--c-text-muted); margin-top: 8px; }

#pghcl-evidence-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
#pghcl-evidence-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; border: 1px solid var(--c-border); }

#pghcl-otp-status, #pghcl-submit-status, #pghcl-dispute-status { font-size: 13px; margin-top: 10px; padding: 10px; border-radius: 6px; }
#pghcl-otp-status.error, #pghcl-submit-status.error, #pghcl-dispute-status.error { background: #fde2e2; color: var(--c-red); }
#pghcl-otp-status.success, #pghcl-submit-status.success, #pghcl-dispute-status.success { background: #e6f4ea; color: #1a5d2e; }

#pghcl-otp-input-wrap { margin-top: 12px; }
#pghcl-otp-input-wrap input { letter-spacing: 0.5em; font-size: 18px; text-align: center; max-width: 200px; }
#pghcl-otp-verified { background: #e6f4ea; color: #1a5d2e; padding: 12px; border-radius: 6px; font-weight: 600; }

/* Dispute form */
.pghcl-dispute-form { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 24px; }
.pghcl-dispute-form label { display: block; margin-bottom: 14px; font-weight: 600; color: var(--c-text-soft); font-size: 14px; }
.pghcl-dispute-form input, .pghcl-dispute-form select, .pghcl-dispute-form textarea {
    width: 100%; box-sizing: border-box; margin-top: 6px;
    padding: 10px 12px; border: 1.5px solid var(--c-border); border-radius: 7px;
    font-family: inherit; font-size: 14px; background: #fff; outline: none;
}
.pghcl-dispute-form small { color: var(--c-text-muted); font-weight: 400; font-size: 12px; }

@media (max-width: 700px) {
    .pghcl-hero { padding: 20px; flex-direction: column; align-items: flex-start; }
    .pghcl-hero-icon { font-size: 40px; }
    .pghcl-hero h1 { font-size: 22px; }
    .pghcl-search-bar { flex-direction: column; }
    .pghcl-search-select { width: 100%; }
    .pghcl-single-card { padding: 20px; }
    .pghcl-single-title { font-size: 22px; }
}

/* ─── Accused photo — list card ─── */
.pghcl-card-inner {
    display: block;
}
.pghcl-card-inner.has-photo {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.pghcl-card-photo {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--c-bg);
    border: 2px solid var(--c-red);
}
.pghcl-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pghcl-card-inner.has-photo .pghcl-card-body {
    flex: 1;
    min-width: 0;
}

/* ─── Accused photo — single report ─── */
.pghcl-single-header-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 8px;
}
.pghcl-accused-photo {
    flex-shrink: 0;
    width: 160px;
}
.pghcl-accused-photo img {
    width: 100%;
    border-radius: 10px;
    border: 3px solid var(--c-red);
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.pghcl-accused-photo small {
    display: block;
    font-size: 11px;
    color: var(--c-text-muted);
    margin-top: 6px;
    text-align: center;
    line-height: 1.4;
}
.pghcl-accused-photo-private {
    width: 160px;
}
.pghcl-photo-locked {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    border: 2px dashed var(--c-border);
    background: var(--c-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    font-size: 13px;
    text-align: center;
    padding: 12px;
    box-sizing: border-box;
    line-height: 1.4;
}
.pghcl-photo-locked-icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.pghcl-photo-locked small {
    font-size: 11px;
    color: var(--c-text-muted);
    margin-top: 4px;
    display: block;
}
.pghcl-single-header-text {
    flex: 1;
    min-width: 0;
}

@media (max-width: 600px) {
    .pghcl-single-header-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .pghcl-accused-photo,
    .pghcl-accused-photo-private {
        width: 140px;
    }
    .pghcl-card-inner.has-photo {
        gap: 12px;
    }
    .pghcl-card-photo {
        width: 70px;
        height: 70px;
    }
}
