/* Complaint Department shared stylesheet
   Full replacement for css/shared.css
   Mobile form scrolling fix: the embedded complaint iframe now receives a
   normal document-height viewport instead of a locked viewport-height panel. */

:root {
  --bg: #0f0e0d;
  --surface: #161513;
  --surface2: #1c1a18;
  --surface3: #222019;
  --border: rgba(232, 228, 220, .10);
  --text: #e8e4dc;
  --muted: #aaa39b;
  --faint: #6d6862;
  --gold: #c8a96e;
  --gold2: #dcbf86;
  --rose: #b05070;
  --rose2: #c97fa0;
  --blue: #58a6ff;
  --ff-display: Georgia, "Times New Roman", serif;
  --ff-body: "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { min-width: 0; min-height: 100vh; margin: 0; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: var(--ff-body); font-size: 18px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #91c4ff; }
button, input, textarea, select { font: inherit; }

/* Shared header and basic page layout */
.site-header { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 30px 40px; border-bottom: 1px solid var(--border); background: var(--surface); text-align: center; }
.hdr-left h1 { margin: 0; color: var(--gold); font-family: var(--ff-display); font-size: clamp(1.7rem, 2.8vw, 2.3rem); letter-spacing: -.02em; }
.hdr-left p { margin: 8px 0 0; color: var(--muted); font-size: 1rem; }
.hdr-logo { width: auto; max-height: 240px; background: transparent; opacity: .94; mix-blend-mode: screen; }
.site-footer { padding: 24px 40px; border-top: 1px solid var(--border); background: var(--surface); color: var(--faint); font-size: .82rem; text-align: center; }

.page-wrap { display: flex; min-height: calc(100vh - 90px); gap: 32px; padding: 20px; }
.aside { position: sticky; top: 0; align-self: flex-start; width: 320px; min-width: 320px; max-height: 100vh; padding: 32px 24px 36px; overflow-y: auto; border-right: 1px solid var(--border); background: var(--surface); }
.aside-label { margin-bottom: 20px; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.aside-nav { margin: 0; padding: 0; list-style: none; }
.aside-nav li { margin-bottom: 8px; }
.aside-nav a { display: block; padding: 8px 12px; border-left: 2px solid transparent; border-radius: 5px; color: var(--muted); font-size: .94rem; transition: all .15s ease; }
.aside-nav a:hover, .aside-nav a.active { padding-left: 18px; border-left-color: var(--gold); background: var(--surface3); color: var(--text); }
.aside-divider { height: 1px; margin: 24px 0; background: var(--border); }
.aside-meta { color: var(--muted); font-size: .9rem; }
.main { flex: 1; min-width: 0; }

/* Reusable heading, content, card, and form primitives */
.section-eyebrow, .hub-eyebrow, .eyebrow { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-headline, .hub-title { margin: 0 0 18px; color: var(--text); font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; }
.section-sub, .hub-desc { max-width: 820px; margin: 0 0 32px; color: var(--muted); font-size: 1.08rem; }
.section-divider, .hub-line { width: 80px; height: 1px; margin: 30px 0; background: var(--border); }
.cards { display: flex; justify-content: center; max-width: 1300px; margin: 0 auto; padding: 60px 20px 80px; }
.card { width: 100%; max-width: 900px; padding: 42px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: 0 12px 40px rgba(0, 0, 0, .34); color: inherit; }
.card-num { color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-align: center; text-transform: uppercase; }
.card-title { margin: 12px 0; color: var(--text); font-family: var(--ff-display); font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.2; text-align: center; }
.card-row { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.card-row img, .hero-img { width: 100%; max-width: 800px; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .42); }
.card-row p { max-width: 700px; color: var(--muted); font-size: 1.05rem; text-align: center; }
.hub-hero { max-width: 1100px; margin: 0 auto; padding: 80px 20px 40px; text-align: center; }
.hub-desc { margin-right: auto; margin-left: auto; }.hub-line { margin-right: auto; margin-left: auto; }
.hero { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 30px; }.hero-img { max-width: 540px; }.hero-body { flex: 1; min-width: 280px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 1400px; margin: 0 auto; padding: 24px 40px; }
.filter-btn { min-width: 120px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer; font-size: .9rem; font-weight: 700; transition: all .2s ease; }
.filter-btn:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); }.filter-btn.active { border-color: var(--gold); background: var(--gold); box-shadow: 0 4px 12px rgba(200, 169, 110, .28); color: #14110b; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }#grid { width: 100%; max-width: 1400px; margin: 0 auto 60px; padding: 0 40px; }.grid .card { display: block; width: auto; max-width: none; padding: 0; overflow: hidden; border-radius: 20px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }.grid .card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(0, 0, 0, .36); }.card-photo-container { position: relative; min-height: 260px; overflow: hidden; background: radial-gradient(circle at center, rgba(255, 255, 255, .07), transparent 55%); }.card-photo-container img { width: 100%; height: 100%; object-fit: cover; }.card-body { display: flex; flex-direction: column; gap: 14px; padding: 24px; }.card-name { color: var(--text); font-size: 1.18rem; font-weight: 800; }.card-role { color: var(--gold); font-size: .88rem; }.card-specialty, .card-desc { color: var(--muted); font-size: .94rem; }.card-meta, .pills, .agency-pills { display: flex; flex-wrap: wrap; gap: 10px; }.meta-pill, .pill, .agency-pill { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface2); color: var(--muted); font-size: .8rem; font-weight: 650; }.status-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; color: #111; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.status-badge.missing { background: #4ade80; }.status-badge.dead { background: #f87171; }

/* Episode / detail page components */
.cards-multi { display: flex; flex-direction: column; gap: 32px; max-width: 960px; margin: 0 auto; padding: 40px 20px 60px; }.section-card { display: flex; flex-direction: column; gap: 24px; padding: 36px 40px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: 0 8px 30px rgba(0, 0, 0, .28); }.card-header { padding-bottom: 20px; border-bottom: 1px solid var(--border); }.card-header h2 { margin: 0; color: var(--text); font-family: var(--ff-display); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; }.card-header p { margin: 6px 0 0; color: var(--muted); font-size: .94rem; }.eyebrow.gold { color: var(--gold); }.eyebrow.red { color: #f87171; }.eyebrow.rose { color: var(--rose2); }.eyebrow.blue { color: #60a5fa; }.eyebrow.green { color: #4ade80; }.eyebrow.orange { color: #fb923c; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 14px; }.stat-box { display: flex; flex-direction: column; gap: 5px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface2); }.stat-label { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.stat-value { color: var(--text); font-family: var(--ff-display); font-size: 1.1rem; font-weight: 800; }.stat-value.gold { color: var(--gold); }.stat-value.red { color: #f87171; }.stat-value.green { color: #4ade80; }.stat-value.orange { color: #fb923c; }.stat-value.blue { color: #60a5fa; }.stat-value.rose { color: var(--rose2); }
.quote-block { margin: 0; padding: 16px 20px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--surface2); }.quote-block.red { border-left-color: #f87171; }.quote-block.blue { border-left-color: #60a5fa; }.quote-block.orange { border-left-color: #fb923c; }.quote-block p { margin: 0 0 8px; color: var(--text); font-size: 1rem; font-style: italic; }.quote-block cite { color: var(--gold); font-size: .75rem; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ev-list, .evidence-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }.ev-list li, .evidence-list li { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface2); color: var(--muted); font-size: .9rem; }.ev-icon { flex-shrink: 0; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }.timeline::before { position: absolute; top: 0; bottom: 0; left: 18px; width: 2px; background: var(--border); content: ""; }.timeline li { display: flex; gap: 20px; position: relative; margin-bottom: 26px; }.tl-dot { z-index: 1; display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 38px; height: 38px; border: 2px solid var(--gold); border-radius: 50%; background: var(--surface2); color: var(--gold); font-size: .64rem; font-weight: 800; text-align: center; }.tl-dot.red { border-color: #f87171; color: #f87171; }.tl-dot.blue { border-color: #60a5fa; color: #60a5fa; }.tl-dot.green { border-color: #4ade80; color: #4ade80; }.tl-dot.orange { border-color: #fb923c; color: #fb923c; }.tl-dot.rose { border-color: var(--rose2); color: var(--rose2); }.tl-content { flex: 1; padding-top: 5px; }.tl-date { margin-bottom: 4px; color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.tl-content p { margin: 0; color: var(--muted); font-size: .9rem; }.tl-content strong { color: var(--text); }
.profile-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }.profile-card { display: flex; flex-direction: column; gap: 14px; padding: 26px 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface2); }.profile-card.subj, .profile-card.victim { border-top: 3px solid var(--gold); }.profile-card.city { border-top: 3px solid #60a5fa; }.profile-card.suspect { border-top: 3px solid #f87171; }.profile-name { color: var(--text); font-family: var(--ff-display); font-size: 1.4rem; }.profile-row { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); font-size: .86rem; }.pr-lbl { color: var(--muted); }.pr-val { color: var(--text); font-weight: 700; text-align: right; }.img-card { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; }.img-card img { width: 100%; max-height: 300px; object-fit: cover; }.img-caption { padding: 10px 14px; background: var(--surface2); color: var(--muted); font-size: .8rem; }.img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.loss-table { width: 100%; border-collapse: collapse; font-size: .88rem; }.loss-table th { padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface2); color: var(--gold); font-size: .7rem; letter-spacing: .1em; text-align: left; text-transform: uppercase; }.loss-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }.loss-table td:first-child { color: var(--text); font-weight: 700; }

/* Generic modal */
.overlay { position: fixed; z-index: 1000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }.overlay.open { opacity: 1; pointer-events: auto; }.modal { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; width: min(1200px, 100%); max-height: calc(100vh - 48px); overflow: hidden; border: 1px solid var(--border); border-radius: 28px; background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }.modal-sidebar { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: var(--surface2); }.modal-main { max-height: calc(100vh - 64px); padding: 32px; overflow: auto; }.modal-close { position: absolute; top: 22px; right: 22px; border: 0; background: transparent; color: var(--text); cursor: pointer; font-size: 2rem; }.modal-name { margin-bottom: 12px; color: var(--text); font-family: var(--ff-display); font-size: clamp(2rem, 3.5vw, 3.6rem); }

/* Home page: desktop workspace */
.page-header { display: flex; justify-content: center; width: 100%; padding: 0 24px; overflow: hidden; background: transparent; border: 0; }.logo-mark { display: flex; align-items: center; width: 100%; max-width: 1600px; }.logo-mark img.blue-logo { display: block; width: 100%; height: auto; max-height: 190px; object-fit: contain; object-position: center; }.page-body { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; width: min(1560px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 24px; }
.links-panel { display: flex; flex-direction: column; min-height: 880px; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }.links-logo { display: flex; justify-content: center; margin-bottom: 22px; }.links-logo img.round-logo { width: 180px; min-width: 180px; }#linksContainer h2 { margin: 22px 0 10px !important; color: var(--gold); font-size: .76rem !important; letter-spacing: .12em !important; text-transform: uppercase; }.link-item { margin: 0 0 5px !important; }.link-item > a, .link-item.has-children > a { display: block; padding: 7px 8px; border-radius: 7px; color: var(--blue); font-size: .92rem; }.link-item > a:hover, .link-item.has-children > a:hover { background: var(--surface3); color: #91c4ff; }.link-item.has-children { display: flex; align-items: center; gap: 4px; }.link-item.has-children .arrow { width: 20px; color: var(--gold); cursor: pointer; transition: transform .2s ease; }.link-item.has-children.expanded .arrow { transform: rotate(90deg); }.children-list { margin-left: 16px; padding-left: 10px; border-left: 1px solid var(--border); }.children-list.collapsed { display: none; }
.video-block { display: flex; align-items: center; justify-content: center; width: 100%; height: 144px; margin: 0 0 16px; overflow: hidden; border-radius: 14px; background: #080807; }.viewer-video { display: block; width: 100%; height: 100%; object-fit: contain; }.links-footer { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); }.links-footer a { display: block; padding: 8px; border-radius: 10px; background: #fff; }.links-footer img { width: 100%; }
.visitor-counter-panel { margin-top: 14px; padding: 12px; border: 2px ridge #7e7e7e; background: #000; color: #00ff66; font-family: "Courier New", monospace; text-align: center; }.visitor-counter-title { margin-bottom: 8px; color: #f7f26b; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }.counter-digits { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; }.counter-digit { display: grid; width: 24px; height: 30px; place-items: center; border: 1px solid #0f0; border-radius: 2px; background: #001100; color: #00ff66; font-weight: 800; text-shadow: 0 0 8px #00ff66; }.counter-meta { color: #a8ffbf; font-size: .7rem; line-height: 1.45; }.counter-warning { margin-top: 6px; color: #ffcf7a; font-size: .67rem; }
.viewer-panel { min-width: 0; min-height: 880px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }.content-frame { display: block; width: 100%; min-width: 0; height: 880px; border: 0; background: #fff; }.mobile-submission-qr { display: none; }

/* Mobile navigation elements are created by mobile-navigation.js. */
.mobile-nav-trigger, .mobile-nav-close, .mobile-nav-backdrop, .mobile-site-logo, .mobile-nav-fallback { display: none; }
.aside { display: none !important; }
html.embedded-content .aside { display: none; }html.embedded-content .page-wrap { display: block; }

@media (max-width: 760px) {
  body { font-size: 16px; overflow-wrap: anywhere; }
  body:not(.mobile-intro-active) { overflow-x: hidden; }
  h1, .hdr-left h1, .hub-title, .section-headline, .modal-name { font-size: 2rem; } h2, .card-title { font-size: 1.5rem; } input, textarea, select, button { max-width: 100%; font-size: 1rem; }
  .site-header { padding: 24px 18px; }.hdr-logo { display: none; }.page-wrap { display: block; padding: 16px; }.aside { position: relative; width: 100%; min-width: 0; max-height: none; border-right: 0; border-bottom: 1px solid var(--border); }.toolbar { justify-content: flex-start; padding: 16px; }.grid { grid-template-columns: minmax(0, 1fr); }#grid { padding: 0 14px; }.cards { padding: 24px 12px 40px; }.card { padding: 24px; }.cards-multi { padding: 20px 12px 40px; }.section-card { padding: 22px 16px; }.profile-split, .img-grid { grid-template-columns: 1fr; }.modal { grid-template-columns: 1fr; }.modal-main { padding: 24px; }

  /* First mobile visit: only the welcome screen is visible. */
  body.mobile-intro-active > :not(.mobile-home-intro) { opacity: 0 !important; pointer-events: none !important; }
  body.mobile-intro-active { overflow: hidden !important; }
  .mobile-home-intro { position: fixed; z-index: 2147483647; inset: 0; display: grid; min-height: 100vh; min-height: 100dvh; place-items: center; padding: 28px 24px calc(28px + env(safe-area-inset-bottom)); overflow: hidden; color: var(--text); background: radial-gradient(80% 52% at 50% 0%, rgba(200, 169, 110, .25), transparent 70%), radial-gradient(70% 46% at 50% 100%, rgba(176, 80, 112, .16), transparent 68%), var(--bg); opacity: 1; transform: translateY(0); transition: opacity .28s ease, transform .28s ease; touch-action: pan-y; }.mobile-home-intro::before, .mobile-home-intro::after { position: absolute; width: 290px; height: 290px; border: 1px solid rgba(200, 169, 110, .16); border-radius: 50%; content: ""; pointer-events: none; }.mobile-home-intro::before { top: -140px; right: -125px; }.mobile-home-intro::after { bottom: -160px; left: -150px; }.mobile-home-intro--leaving { opacity: 0; pointer-events: none; transform: translateY(-10vh); }.mobile-home-intro__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: min(100%, 360px); text-align: center; }.mobile-home-intro__logo { display: block; width: min(64vw, 246px); height: auto; margin-bottom: clamp(22px, 5vh, 42px); filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .38)); }.mobile-home-intro__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(88vw, 360px); }.mobile-home-intro__link { display: flex; min-height: 82px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 10px 5px; border: 1px solid rgba(200, 169, 110, .34); border-radius: 16px; background: rgba(22, 21, 19, .9); box-shadow: 0 10px 24px rgba(0, 0, 0, .24); color: var(--text); font-size: .76rem; font-weight: 750; letter-spacing: .01em; transition: transform .16s ease, border-color .16s ease; }.mobile-home-intro__link:hover, .mobile-home-intro__link:focus-visible { transform: translateY(-2px); border-color: var(--gold); color: var(--text); }.mobile-home-intro__link svg { width: 27px; height: 27px; fill: currentColor; }.mobile-home-intro__link--tiktok { color: #f4f4f4; }.mobile-home-intro__link--youtube { color: #ff5555; }.mobile-home-intro__link--instagram { color: #e995c5; }.mobile-home-intro__link--facebook { color: #75aaff; }.mobile-home-intro__link span { color: var(--text); }.mobile-home-intro__prompt { margin: clamp(20px, 4vh, 34px) 0 7px; color: var(--text); font-size: .94rem; font-weight: 700; letter-spacing: .03em; }.mobile-home-intro__arrow { display: block; color: var(--gold); font-size: 1.55rem; line-height: 1; animation: mobile-intro-arrow 1.45s ease-in-out infinite; }
  @keyframes mobile-intro-arrow { 0%, 100% { opacity: .62; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-9px); } }

  /* Keep the mobile form in a tall frame so the page can scroll past the fixed controls. */
  .page-header { display: none !important; }
  .page-body { display: block; width: 100%; margin: 0; padding: calc(82px + env(safe-area-inset-top)) 12px 18px; overflow: visible; }
  .mobile-site-logo { position: fixed; z-index: 1203; top: max(12px, env(safe-area-inset-top)); left: 50%; display: block; width: 58px; height: 58px; overflow: hidden; border: 1px solid rgba(200, 169, 110, .42); border-radius: 50%; background: #000; box-shadow: 0 8px 20px rgba(0, 0, 0, .38); transform: translateX(-50%); }.mobile-site-logo img { width: 100%; height: 100%; object-fit: cover; }
  .mobile-nav-trigger { position: fixed; z-index: 1204; top: max(16px, env(safe-area-inset-top)); left: 16px; display: grid; width: 46px; height: 46px; place-items: center; padding: 11px; border: 1px solid rgba(200, 169, 110, .40); border-radius: 12px; background: rgba(22, 21, 19, .96); box-shadow: 0 8px 20px rgba(0, 0, 0, .36); cursor: pointer; }.mobile-nav-icon { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 18px; }.mobile-nav-icon span { display: block; width: 100%; height: 2px; border-radius: 99px; background: var(--text); }
  .links-panel { display: none; }.mobile-nav-panel { position: fixed; z-index: 1202; top: 0; bottom: 0; left: 0; display: block; width: min(88vw, 350px); min-width: 0; height: 100dvh; min-height: 0; margin: 0; padding: calc(86px + env(safe-area-inset-top)) 22px 28px; overflow-y: auto; border: 1px solid rgba(200, 169, 110, .25); border-radius: 0 20px 20px 0; background: #11100e; box-shadow: 16px 0 42px rgba(0, 0, 0, .56); transform: translateX(-105%); visibility: hidden; transition: transform .22s ease, visibility .22s ease; }.mobile-nav-panel .links-logo { display: flex; margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }.mobile-nav-panel .links-logo img.round-logo { width: 140px; min-width: 0; }.mobile-nav-panel .links-footer, .mobile-nav-panel .visitor-counter-panel { display: none; }.mobile-nav-panel .video-block { height: 118px; margin: 6px 0 12px; border-radius: 12px; }body.mobile-nav-open .mobile-nav-panel { transform: translateX(0); visibility: visible; }.mobile-nav-close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 14px; z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface2); color: var(--text); cursor: pointer; font-size: 1.8rem; line-height: 1; }.mobile-nav-backdrop { position: fixed; z-index: 1201; inset: 0; display: none; border: 0; background: rgba(0, 0, 0, .66); }body.mobile-nav-open .mobile-nav-backdrop { display: block; }
  .viewer-panel { display: block; width: 100%; min-width: 0; min-height: 0; height: auto; max-height: none; overflow: visible; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }.mobile-submission-qr { display: flex; justify-content: center; padding: 20px 16px 16px; border-bottom: 1px solid var(--border); border-radius: 18px 18px 0 0; background: #0b0a09; }.mobile-submission-qr a { display: inline-flex; padding: 10px; border: 1px solid rgba(200, 169, 110, .32); border-radius: 14px; background: #fff; line-height: 0; }.mobile-submission-qr img { display: block; width: 132px; height: 132px; object-fit: contain; }
  .content-frame { display: block; width: 100%; min-width: 0; height: 2000px !important; min-height: 2000px !important; padding: 0; border: 0; border-radius: 0 0 18px 18px; background: #fff; }
}

@media (max-width: 420px) {
  .mobile-home-intro__logo { width: min(61vw, 218px); }.mobile-home-intro__links { width: min(90vw, 350px); gap: 8px; }.mobile-home-intro__link { min-height: 74px; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .page-body { grid-template-columns: 280px minmax(0, 1fr); width: min(100% - 28px, 1560px); gap: 16px; }.links-panel { padding: 16px; }.viewer-panel, .content-frame { min-height: 760px; height: 760px; }
}
