/* general_gallery.css: white, light gallery. One accent colour, system-quiet UI, built mobile first.
   The site navbar is fixed (64px) and adds its own spacer, so sticky parts sit below --nav-h. */
:root {
    --nav-h: 64px;
    --bg: #ffffff;
    --soft: #f5f6f8;
    --soft-2: #eceef1;
    --line: #e5e7eb;
    --line-2: #d3d7dd;
    --ink: #0f1216;
    --ink-2: #353b45;
    --ink-3: #5f6772;
    --ink-4: #8a919c;
    --accent: #2855a0;
    --accent-2: #1f4585;
    --accent-bg: #eaf0fb;
    --red: #c0392b;
    --green: #1d6b43;
    --r: 12px;
    --r-s: 8px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body.gx {
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } html { scroll-behavior: auto; } }

/* ---------- header ---------- */
.gx-head { border-bottom: 1px solid var(--line); }
.gx-head-in {
    max-width: 1600px; margin: 0 auto;
    padding: clamp(22px, 4vw, 44px) clamp(14px, 3vw, 40px) clamp(18px, 3vw, 30px);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.gx-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.gx-head p { margin-top: 6px; font-size: .98rem; color: var(--ink-3); }
.gx-stats { display: flex; gap: clamp(16px, 3vw, 36px); }
.gx-stats > div { display: flex; flex-direction: column-reverse; }
.gx-stats dd { font-size: 1.35rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.2; }
.gx-stats dt { font-size: .78rem; color: var(--ink-4); }

/* ---------- sticky toolbar ---------- */
.gx-bar { position: sticky; top: var(--nav-h); z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.gx-bar-in { max-width: 1600px; margin: 0 auto; padding: 10px clamp(14px, 3vw, 40px) 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gx-search { position: relative; display: block; flex: 1 1 240px; max-width: 460px; }
.gx-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: .8rem; color: var(--ink-4); pointer-events: none; }
.gx-search input {
    width: 100%; height: 42px; padding: 0 14px 0 36px; border: 1px solid transparent; border-radius: 10px;
    background: var(--soft); color: var(--ink); font: inherit; font-size: .95rem; outline: none; transition: border-color .15s, background .15s;
    appearance: none;
}
.gx-search input::-webkit-search-cancel-button { display: none; }
.gx-search input:focus { background: #fff; border-color: var(--ink); }
.gx-search-sm input { height: 38px; }

.gx-tabs { display: inline-flex; padding: 3px; background: var(--soft); border-radius: 10px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.gx-tabs::-webkit-scrollbar { display: none; }
.feed-tab { padding: 7px 14px; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; transition: background .15s, color .15s; }
.feed-tab:hover { color: var(--ink); }
.feed-tab.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15,18,22,.12), 0 0 0 1px rgba(15,18,22,.04); }

.gx-select, .gx-btn {
    height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink);
    font: inherit; font-size: .9rem; font-weight: 550; outline: none; transition: border-color .15s, background .15s;
}
.gx-select { padding-right: 8px; cursor: pointer; }
.gx-btn { display: inline-flex; align-items: center; gap: 8px; }
.gx-btn:hover, .gx-select:hover { border-color: var(--ink-4); }
.gx-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gx-link { font-size: .85rem; font-weight: 600; color: var(--accent); padding: 4px 6px; border-radius: 6px; }
.gx-link:hover { background: var(--accent-bg); }

.gx-chips-wrap { max-width: 1600px; margin: 0 auto; padding: 10px clamp(14px, 3vw, 40px) 12px; }
.gx-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 0; }
.gx-chips::-webkit-scrollbar { display: none; }
.chip {
    flex-shrink: 0; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 100px; background: #fff;
    font-size: .85rem; font-weight: 550; color: var(--ink-2); white-space: nowrap; transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.gx-tags { max-width: 1600px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 40px) 14px; }
.gx-tags-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.gx-tags-list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 148px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.tpill { padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px; background: var(--soft); font-size: .8rem; font-weight: 500; color: var(--ink-2); transition: all .15s; }
.tpill:hover { border-color: var(--accent); color: var(--accent); background: #fff; }
.tpill.on { background: var(--accent); border-color: var(--accent); color: #fff; }

.af-bar { display: none; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 1600px; margin: 0 auto; padding: 10px clamp(14px, 3vw, 40px) 0; }
.af-bar.show { display: flex; }
.af-lbl { font-size: .8rem; font-weight: 600; color: var(--ink-4); }
.af-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: 100px; background: var(--accent-bg); color: var(--accent-2); font-size: .82rem; font-weight: 600; margin-right: 6px; }
.af-chip button { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .6rem; color: var(--accent-2); }
.af-chip button:hover { background: rgba(40,85,160,.15); }

.gx-res { max-width: 1600px; margin: 0 auto; padding: 14px clamp(14px, 3vw, 40px) 4px; font-size: .88rem; color: var(--ink-3); }
.gx-res strong { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------- grid ---------- */
.gal-wrap { max-width: 1600px; margin: 0 auto; padding: 8px clamp(10px, 2.4vw, 36px) 90px; }
.gal-cols { display: flex; align-items: flex-start; gap: 14px; padding: 8px 0; }
.masonry-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 900px) { .gal-cols, .masonry-col { gap: 10px; } }
@media (max-width: 480px) { .gal-cols, .masonry-col { gap: 8px; } }

.gal-item {
    position: relative; overflow: hidden; border-radius: var(--r); background: var(--soft-2); cursor: pointer; display: block;
    opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .25s;
}
.gal-item.vis { opacity: 1; transform: none; }
.gal-item:hover { box-shadow: 0 10px 30px rgba(15,18,22,.16); }
.gal-img-w { width: 100%; overflow: hidden; background-color: var(--soft-2); }
.gal-img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s, transform .6s var(--ease); }
.gal-img.ld { opacity: 1; }
.gal-item:hover .gal-img { transform: scale(1.035); }
.gal-item.skeleton { cursor: default; opacity: 1; transform: none; }
.gal-item.skeleton .gal-img-w { background: linear-gradient(100deg, var(--soft-2) 30%, #f7f8fa 50%, var(--soft-2) 70%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.gal-hov {
    position: absolute; inset: auto 0 0 0; padding: 38px 14px 12px; display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(to top, rgba(10,12,16,.72), rgba(10,12,16,0)); opacity: 0; transition: opacity .25s;
}
.gal-item:hover .gal-hov, .gal-item:focus-visible .gal-hov { opacity: 1; }
.gh-row { display: flex; align-items: center; gap: 10px; }
.gh-ava, .gh-ava-fb { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; object-fit: cover; border: 2px solid rgba(255,255,255,.5); background: var(--ink-3); }
.gh-ava-fb { display: flex; align-items: center; justify-content: center; color: #fff; font-size: .7rem; }
.gh-txt { min-width: 0; }
.gh-name { font-size: .95rem; font-weight: 650; color: #fff; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-meta { display: flex; gap: 10px; font-size: .74rem; color: rgba(255,255,255,.78); }
.gh-country i, .gh-time i { font-size: .62rem; margin-right: 4px; }
.gh-cat {
    position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 100px; background: rgba(255,255,255,.92);
    font-size: .72rem; font-weight: 650; color: var(--ink); opacity: 0; transform: translateY(-3px); transition: opacity .2s, transform .2s;
}
.gal-item:hover .gh-cat { opacity: 1; transform: none; }
.gh-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; opacity: 0; transform: translateY(-3px); transition: opacity .2s, transform .2s; z-index: 3; }
.gal-item:hover .gh-actions, .gal-item:focus-within .gh-actions { opacity: 1; transform: none; }
.gh-btn { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: .78rem; box-shadow: 0 1px 4px rgba(15,18,22,.2); transition: transform .15s, background .15s; }
.gh-btn:hover { transform: scale(1.08); }
.gh-btn.liked { background: var(--red); color: #fff; }
.gh-like-wrap { position: relative; display: inline-flex; }
.gh-like-count { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 3px; font-size: .68rem; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); pointer-events: none; }

@media (hover: none) {
    .gal-hov { opacity: 1; padding: 30px 10px 8px; }
    .gh-ava, .gh-ava-fb, .gh-time, .gh-cat { display: none; }
    .gh-name { font-size: .82rem; }
    .gh-actions { opacity: 1; transform: none; }
    .gh-btn { width: 30px; height: 30px; font-size: .7rem; }
    .gh-actions .gh-btn[data-action="copy"], .gh-actions .gh-btn[data-action="report"] { display: none; }
}

.empty { width: 100%; text-align: center; padding: 90px 20px; color: var(--ink-3); }
.empty-ic { font-size: 2.4rem; color: var(--line-2); margin-bottom: 14px; }
.empty h3 { font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.load-wrap { height: 70px; display: flex; align-items: center; justify-content: center; }
.spinner { width: 28px; height: 28px; border: 2.5px solid var(--soft-2); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.spinner.show { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.load-end-msg { display: none; text-align: center; color: var(--ink-4); font-size: .85rem; padding: 18px; }
.load-end-msg.show { display: block; }

/* ---------- photo modal ---------- */
.gm {
    position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px;
    background: rgba(8,10,14,.86); opacity: 0; visibility: hidden; transition: opacity .15s linear, visibility .15s;
}
.gm.open { opacity: 1; visibility: visible; }
.gm-box {
    --mh: min(92vh, 940px);
    position: relative; width: 100%; max-width: 1480px; height: var(--mh); display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(390px, 33vw, 480px); background: #fff; border-radius: 16px; overflow: hidden;
}
.gm-stage { --sh: calc(var(--mh) - 64px); position: relative; min-width: 0; min-height: 0; background: #0b0c0e; display: flex; align-items: center; justify-content: center; padding: 32px; }
.gm-frame { position: relative; aspect-ratio: var(--ar, 1.5); width: min(100%, calc(var(--sh) * var(--ar, 1.5))); max-height: 100%; background: #16181c; border-radius: 3px; overflow: hidden; }
.gm-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background-size: cover; user-select: none; -webkit-user-drag: none; transition: opacity .25s; }
.gm-photo.loading { opacity: 0; }
.gm-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .15s; z-index: 2; }
.gm-nav:hover:not(:disabled) { background: rgba(255,255,255,.26); }
.gm-nav:disabled { opacity: .2; cursor: default; }
.gm-prev { left: 14px; } .gm-next { right: 14px; }
.gm-count { position: absolute; left: 18px; bottom: 14px; font-size: .82rem; color: rgba(255,255,255,.55); }
.gm-close { position: absolute; top: 14px; right: 14px; z-index: 8; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 1px 6px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.gm-close:hover { transform: scale(1.08); }

.gm-panel { overflow-y: auto; overscroll-behavior: contain; padding: 28px 28px 40px; display: flex; flex-direction: column; gap: 20px; min-width: 0; scrollbar-width: none; background: #fff; }
.gm-panel::-webkit-scrollbar { display: none; }
.gm-kicker { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 48px; }
.gm-cat { padding: 4px 11px; border-radius: 100px; background: var(--accent-bg); color: var(--accent-2); font-size: .78rem; font-weight: 650; transition: background .15s; }
.gm-cat:hover { background: #dbe6f8; }
.gm-title { font-size: clamp(1.4rem, 2.3vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.18; margin-top: -4px; text-wrap: balance; }
.gm-person { display: flex; align-items: center; gap: 12px; }
.gm-av { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--soft-2); display: flex; align-items: center; justify-content: center; color: var(--ink-4); }
.gm-av img { width: 100%; height: 100%; object-fit: cover; }
.gm-pn { min-width: 0; flex: 1; }
.gm-pn a { font-size: 1rem; font-weight: 650; display: block; line-height: 1.2; }
.gm-pn a:hover { color: var(--accent); }
.gm-pn small { font-size: .82rem; color: var(--ink-4); }
.gm-pn .verif { color: var(--accent); font-size: .8em; margin-left: 4px; }
.gm-acts { display: flex; gap: 8px; flex-shrink: 0; }
.m-followbtn, .m-likebtn { height: 36px; padding: 0 14px; border-radius: 100px; font-size: .84rem; font-weight: 650; border: 1px solid var(--ink); transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.m-followbtn { background: var(--ink); color: #fff; }
.m-followbtn:hover { background: var(--ink-2); }
.m-followbtn.following { background: #fff; color: var(--ink); border-color: var(--line-2); }
.m-likebtn { background: #fff; color: var(--ink); border-color: var(--line-2); display: inline-flex; align-items: center; gap: 6px; }
.m-likebtn:hover { border-color: var(--red); color: var(--red); }
.m-likebtn.liked { background: #fdecea; border-color: #f3b8b3; color: var(--red); }

.gm-lede { font-size: .98rem; line-height: 1.65; color: var(--ink-3); }
.gm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gm-stats > div { padding: 12px 10px 12px 0; }
.gm-stats dt { font-size: .76rem; color: var(--ink-4); }
.gm-stats dd { font-size: 1.15rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.3; }
.gm-sec { display: flex; flex-direction: column; gap: 12px; }
.gm-h { font-size: .98rem; font-weight: 650; }
.gm-summary { font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.gm-facets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; font-size: .95rem; font-weight: 600; }
.gm-facets span { display: block; font-size: .76rem; font-weight: 500; color: var(--ink-4); }
.gm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gm-chips li, .gm-tag { padding: 5px 12px; border-radius: 100px; background: var(--soft); font-size: .82rem; color: var(--ink-2); }
.gm-tag { cursor: pointer; border: 0; transition: background .15s, color .15s; }
.gm-tag:hover { background: var(--accent-bg); color: var(--accent-2); }
.gm-rm-body { font-size: .95rem; line-height: 1.75; color: var(--ink-2); white-space: pre-wrap; }
.gm-rm:not(.open) .gm-rm-body { max-height: 6.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 50%, transparent); mask-image: linear-gradient(#000 50%, transparent); }
.gm-rm-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px; font-size: .86rem; font-weight: 600; margin-top: 8px; }
.gm-rm-btn:hover { background: var(--soft); }
.gm-rm.open .gm-rm-btn i { transform: rotate(180deg); }
.gm-ai-note { font-size: .74rem; color: var(--ink-4); line-height: 1.5; }
.gm-ai-note a { color: var(--accent); text-decoration: underline; }
.gm-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.gm-specs dt { font-size: .76rem; color: var(--ink-4); }
.gm-specs dd { font-size: .93rem; font-weight: 600; overflow-wrap: anywhere; }
.gm-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.gm-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; font-size: .86rem; font-weight: 600; transition: background .15s, border-color .15s; }
.gm-btn:hover { background: var(--soft); border-color: var(--ink-4); }
.gm-share { display: inline-flex; gap: 6px; margin-left: auto; }
.gm-share button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: background .15s, color .15s, border-color .15s; }
.gm-share button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.gm-more { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 22px; }
.gm-rowh { font-size: .98rem; font-weight: 650; margin-bottom: 10px; }
.gm-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; scroll-snap-type: x proximity; }
.gm-row::-webkit-scrollbar { display: none; }
.gm-rc { flex: 0 0 150px; scroll-snap-align: start; cursor: pointer; }
.gm-rc-ph { aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; background: var(--soft-2); }
.gm-rc-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gm-rc:hover .gm-rc-ph img { transform: scale(1.05); }
.gm-sim { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pzg-modal-card { position: relative; cursor: pointer; border-radius: var(--r-s); overflow: hidden; background: var(--soft-2); transition: transform .18s, box-shadow .18s; }
.pzg-modal-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,18,22,.16); }
.pzg-modal-card-img-w { aspect-ratio: 1 / 1; }
.pzg-modal-card-img-w img { width: 100%; height: 100%; object-fit: cover; }
.pzg-modal-card-name { position: absolute; inset: auto 0 0 0; padding: 14px 7px 5px; font-size: .68rem; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(10,12,16,.75), transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pzg-modal-spinner { display: none; justify-content: center; padding: 14px 0; }
.pzg-modal-spinner.show { display: flex; }
.pzg-modal-spinner::after { content: ''; width: 20px; height: 20px; border: 2px solid var(--soft-2); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.pzg-modal-end { display: none; text-align: center; color: var(--ink-4); font-size: .78rem; padding: 10px 0 16px; }
.pzg-modal-end.show { display: block; }
.pzg-modal-sentinel { height: 1px; }
.gm-skel { background: linear-gradient(100deg, var(--soft-2) 30%, #f7f8fa 50%, var(--soft-2) 70%); background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite; border-radius: 6px; }

@media (max-width: 900px) {
    .gm { padding: 0; }
    .gm-box { --mh: 100dvh; max-width: none; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: minmax(0, 46dvh) minmax(0, 1fr); }
    .gm-stage { --sh: calc(46dvh - 32px); padding: 16px; }
    .gm-panel { padding: 22px 18px 34px; }
    .gm-nav { width: 38px; height: 38px; }
    .gm-prev { left: 8px; } .gm-next { right: 8px; }
    .gm-close { top: 10px; right: 10px; }
    .gm-count { left: 12px; bottom: 10px; }
    .gx-head-in { align-items: flex-start; }
    .gx-search { max-width: none; flex-basis: 100%; }
}
@media (max-width: 520px) {
    .gm-facets, .gm-specs { grid-template-columns: 1fr; }
    .gm-share { margin-left: 0; }
    .gm-person { flex-wrap: wrap; }
    .gm-acts { width: 100%; }
    .gm-acts > * { flex: 1; justify-content: center; }
    .gx-stats dd { font-size: 1.15rem; }
}

/* ---------- toast ---------- */
.pz-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(12px); background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 100px; font-size: .86rem; font-weight: 500; z-index: 99999; opacity: 0; pointer-events: none; transition: opacity .22s, transform .28s var(--ease); white-space: nowrap; box-shadow: 0 8px 28px rgba(15,18,22,.3); }
.pz-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.pz-toast.err { background: var(--red); }
.pz-toast.ok { background: var(--green); }

/* ---------- request + report modals ---------- */
.req-modal-bg, .report-modal-bg { position: fixed; inset: 0; z-index: 9200; background: rgba(8,10,14,.6); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
.req-modal-bg.open, .report-modal-bg.open { display: flex; }
.req-modal, .report-modal { position: relative; width: 100%; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 24px 70px rgba(15,18,22,.3); }
.req-modal { max-width: 460px; }
.report-modal { max-width: 480px; max-height: 88vh; overflow-y: auto; }
.req-modal-hdr, .report-modal-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.req-modal-title, .report-modal-title { font-size: 1.2rem; font-weight: 650; display: flex; align-items: center; gap: 9px; }
.report-modal-title i { color: var(--red); font-size: .95rem; }
.req-modal-close, .report-modal-close { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.req-modal-close:hover, .report-modal-close:hover { background: var(--soft-2); }
.req-input, .report-field input[type="text"], .report-field input[type="email"], .report-field textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: .92rem; color: var(--ink); background: #fff; outline: none; margin-bottom: 10px; transition: border-color .15s;
}
.req-input:focus, .report-field input:focus, .report-field textarea:focus { border-color: var(--ink); }
textarea.req-input, .report-field textarea { resize: vertical; min-height: 84px; }
.req-submit, .report-submit-btn { width: 100%; height: 46px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 650; font-size: .94rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s; }
.req-submit:hover, .report-submit-btn:hover { background: var(--ink-2); }
.report-submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.report-gate-copy { font-size: .9rem; color: var(--ink-3); margin-bottom: 12px; }
.report-field { margin-bottom: 12px; }
.report-field > label { display: block; font-size: .82rem; font-weight: 650; margin-bottom: 7px; }
.report-optional { color: var(--ink-4); font-weight: 400; }
.report-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.report-reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.report-reason-chip { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 10px; font-size: .8rem; color: var(--ink-2); cursor: pointer; transition: border-color .15s, background .15s; }
.report-reason-chip:has(input:checked) { border-color: var(--red); background: #fdf1ef; color: var(--ink); }
.report-reason-chip input { accent-color: var(--red); flex-shrink: 0; }
.report-fine-print { font-size: .72rem; color: var(--ink-4); text-align: center; margin-top: 10px; line-height: 1.5; }
@media (max-width: 520px) { .report-reasons-grid, .report-field-row { grid-template-columns: 1fr; } .pz-toast { max-width: calc(100vw - 32px); white-space: normal; text-align: center; } }
