@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --ink: #29232b;
  --muted: #827881;
  --paper: #fff9f7;
  --rose: #e84783;
  --rose-dark: #c72f6a;
  --rose-soft: #fce8ef;
  --coral: #fa846f;
  --yellow: #f4c95d;
  --green: #27896c;
  --green-soft: #e0f4e9;
  --line: #eee4e2;
  --mono: 'DM Mono', 'Courier New', monospace;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
  --display: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--sans);
  background-color: var(--paper);
  background-image: radial-gradient(#e9d8d7 0.65px, transparent 0.65px), linear-gradient(122deg, #fff9f7 0%, #fff5f3 54%, #fff9ec 100%);
  background-size: 19px 19px, auto;
}

button { font: inherit; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #4e9d80; outline-offset: 3px; }
[hidden] { display: none !important; }

.app-shell { max-width: 1440px; margin: 0 auto; padding: 0 6.1%; }
.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(58, 39, 48, .11); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px 11px 11px 4px; background: var(--rose); color: white; font-family: var(--display); font-size: 22px; font-weight: 700; font-style: italic; transform: rotate(-5deg); }
.brand-mark span { color: var(--yellow); }
.brand-name { font-family: var(--display); font-size: 17px; font-weight: 700; }
.brand-name span { color: var(--rose); }
.topbar-right { display: flex; align-items: center; gap: 25px; }
.edition-label, .live-pill, .eyebrow, .metric-heading, .metric-trend, .desk-title, .studio-status, .threat-area-label, .threat-tag, .sender-line, .drop-prompt, .actions-hint, .sidebar-label, .session-stat > span:last-child, .session-footnote, .footer, .modal-kicker, .modal-disclaimer, .result-stats span { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; }
.edition-label { color: #8f7e85; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid #d7eadf; border-radius: 4px; color: #477d64; background: #f2faf4; }
.live-dot, .status-dot, .footnote-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #46a27a; }
.live-dot { box-shadow: 0 0 0 3px #dff1e5; }

.intro-row { display: flex; align-items: flex-end; justify-content: space-between; padding: 43px 0 27px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 11px; color: #9f697b; }
.eyebrow-line { width: 19px; height: 1px; background: var(--rose); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-family: var(--display); font-size: clamp(36px, 4vw, 52px); font-weight: 600; line-height: 1.12; }
h1 span { color: var(--rose); font-style: italic; }
.intro-copy { max-width: 580px; margin: 0; color: #776d73; font-size: 13px; line-height: 1.65; }
.text-button { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 7px; padding: 8px 0 8px 12px; border: 0; background: transparent; color: #71646c; cursor: pointer; font-size: 12px; }
.help-icon { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #c8b8bd; border-radius: 50%; font-family: var(--display); font-size: 12px; }
.text-button:hover { color: var(--rose-dark); }

.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: stretch; gap: 20px; }
.studio-column { min-width: 0; }
.metrics { display: grid; grid-template-columns: 1.12fr 1fr .86fr; gap: 10px; margin-bottom: 12px; }
.metric-card { min-height: 98px; padding: 13px 16px 12px; border: 1px solid rgba(64, 40, 51, .09); border-radius: 4px; background: rgba(255, 255, 255, .77); }
.metric-heading { display: flex; align-items: center; justify-content: space-between; color: #94888e; font-size: 8px; }
.metric-icon { font-size: 13px; }
.shield-icon { color: var(--rose); }
.follower-icon { color: #ce9c24; }
.streak-icon { color: var(--green); }
.metric-value-row { display: flex; align-items: baseline; gap: 6px; margin-top: 7px; }
.metric-value-row strong { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1; }
.metric-suffix { color: #8c8187; font-size: 10px; }
.metric-trend { margin-left: auto; color: #bd8492; font-size: 7px; letter-spacing: .55px; }
.meter-track { height: 4px; margin-top: 11px; overflow: hidden; border-radius: 6px; background: #f3e6e9; }
.meter-track span { width: 50%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--rose)); transition: width .45s ease; }
.meter-track.is-low span { background: #e35e54; }
.metric-note { margin: 5px 0 0; color: #94888e; font-size: 9px; line-height: 1.4; }

.creator-desk { padding: 15px 18px 13px; border: 1px solid rgba(64, 40, 51, .11); border-radius: 5px; background: rgba(255, 255, 255, .88); box-shadow: 0 9px 30px rgba(87, 48, 62, .045); }
.desk-topline { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #f0e8e7; }
.desk-title, .studio-status { display: flex; gap: 8px; align-items: center; color: #91848b; font-size: 8px; }
.desk-sparkle { color: var(--rose); font-size: 13px; }
.level-badge { padding: 4px 6px; border: 1px solid #ecd6dd; border-radius: 3px; background: #fff5f7; color: #ad5b74; font-family: var(--mono); font-size: 7px; letter-spacing: .5px; }
.level-badge.is-advanced { border-color: #e7c991; background: #fff5df; color: #9a6c2e; }
.studio-status { color: #8c8588; }
.status-dot { width: 5px; height: 5px; background: #c8ae67; }
.creator-profile { min-height: 79px; display: flex; align-items: center; gap: 12px; }
.avatar-wrap { position: relative; width: 52px; height: 52px; flex: 0 0 52px; }
.creator-avatar { width: 100%; height: 100%; border-radius: 16px; }
.avatar-online { position: absolute; right: -2px; bottom: -1px; width: 11px; height: 11px; border: 2px solid white; border-radius: 50%; background: #47a477; }
.profile-copy { flex: 1; min-width: 0; }
.profile-name-row { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.profile-name-row h2 { margin: 0; font-size: 13px; font-weight: 700; }
.verified-mark { width: 12px; height: 12px; display: inline-grid; place-items: center; border-radius: 50%; background: #50a7a4; color: white; font-size: 8px; line-height: 1; }
.profile-handle { color: #968b90; font-size: 9px; }
.profile-copy > p { margin: 4px 0 0; color: #8b8085; font-size: 10px; }
.profile-platform { display: flex; align-items: center; gap: 6px; color: var(--rose); font-size: 17px; }
.profile-platform span { color: #a19499; font-family: var(--mono); font-size: 7px; letter-spacing: .6px; }
.threat-area-label { display: flex; justify-content: space-between; margin-bottom: 7px; color: #978990; font-size: 8px; }
.alert-counter { color: var(--rose-dark); }
.threat-slot { min-height: 201px; }
.empty-threat { min-height: 201px; display: flex; justify-content: center; align-items: center; gap: 15px; padding: 20px; border: 1px dashed #e9d9dd; border-radius: 4px; background: #fffafa; }
.empty-threat strong { display: block; margin-bottom: 5px; font-family: var(--display); font-size: 15px; font-weight: 600; }
.empty-threat p { max-width: 300px; margin: 0; color: #92868c; font-size: 10px; line-height: 1.55; }
.radar { width: 45px; height: 45px; position: relative; display: grid; flex: 0 0 45px; place-items: center; border: 1px solid #f0c7d2; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 7px, #f5dfe5 8px 9px); }
.radar::before, .radar span { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }
.radar::before { top: 11px; right: 11px; }
.radar span { bottom: 10px; left: 13px; background: var(--coral); }
.next-threat { animation: fade-in .35s ease both; }

.threat-card { min-height: 201px; padding: 12px 14px 10px; border: 1px solid #f0c8d4; border-left: 3px solid var(--rose); border-radius: 4px; background: linear-gradient(112deg, #fff8fa, #fffdfb); transition: border-color .2s, box-shadow .2s, transform .2s; animation: card-in .35s cubic-bezier(.2,.75,.25,1) both; cursor: pointer; }
.threat-card.is-target-ready { box-shadow: 0 0 0 2px rgba(232, 71, 131, .13); }
.threat-card.is-drag-over { transform: translateY(-2px); border-color: var(--rose); box-shadow: 0 8px 23px rgba(232, 71, 131, .15); }
.threat-card-top { display: flex; justify-content: space-between; align-items: center; }
.threat-meta { display: flex; align-items: center; gap: 6px; }
.threat-tag { display: inline-flex; align-items: center; gap: 6px; color: #bd536d; font-size: 8px; }
.threat-tag-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 3px #fbe4eb; }
.attempts-badge { padding: 5px 7px; border-radius: 3px; background: #fbe7ec; color: #b55270; font-family: var(--mono); font-size: 8px; letter-spacing: .2px; }
.threat-timer { min-width: 37px; padding: 5px 7px; border-radius: 3px; background: #fff0e7; color: #b96845; font-family: var(--mono); font-size: 10px; text-align: center; }
.threat-timer.is-urgent { background: #fde0dc; color: #bf3c43; animation: pulse .6s infinite alternate; }
.threat-main { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0 9px; }
.threat-icon { width: 34px; height: 34px; display: grid; flex: 0 0 34px; place-items: center; border-radius: 10px; background: #fbe4eb; color: var(--rose-dark); }
.threat-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.threat-copy { min-width: 0; }
.sender-line { display: block; margin: 1px 0 4px; color: #aa8994; font-size: 7px; letter-spacing: .55px; overflow-wrap: anywhere; }
.threat-copy h3 { margin: 0 0 4px; font-family: var(--display); font-size: 16px; font-weight: 600; }
.threat-copy p { margin: 0; color: #796d73; font-size: 10px; line-height: 1.45; }
.threat-signal { display: flex; gap: 8px; align-items: flex-start; padding: 7px 9px; border-radius: 3px; background: #fff2dc; color: #735f3b; font-size: 9px; line-height: 1.45; }
.signal-mark { width: 13px; height: 13px; display: inline-grid; flex: 0 0 13px; place-items: center; border-radius: 50%; background: #efc86a; color: #5f4d2b; font-family: var(--mono); font-size: 9px; font-weight: 500; }
.threat-signal b { margin-right: 4px; font-family: var(--mono); font-size: 7px; letter-spacing: .5px; }
.drop-prompt { display: flex; justify-content: space-between; margin-top: 8px; color: #bd8997; font-size: 7px; letter-spacing: .8px; }
.feedback-strip { min-height: 31px; display: flex; align-items: flex-start; gap: 8px; padding: 8px 2px 0; color: #92828b; font-size: 9px; line-height: 1.45; }
.feedback-symbol { width: 14px; flex: 0 0 14px; font-family: var(--mono); font-size: 11px; font-weight: 500; text-align: center; }
.feedback-strip.is-success { color: #367a5f; }
.feedback-strip.is-error { color: #b94b50; }
.feedback-strip.is-success .feedback-symbol { color: #2d9b71; }
.feedback-strip.is-error .feedback-symbol { color: #ce5557; }
.threat-card.is-correct { border-color: #74c49e; border-left-color: #35a272; box-shadow: 0 0 0 3px rgba(59, 165, 116, .13); animation: success-pop .35s ease both; }
.threat-card.is-incorrect { border-color: #e17878; border-left-color: #d95358; animation: shake .35s ease both; }

.action-station { padding: 17px 1px 0; }
.actions-heading-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.mini-eyebrow { margin-bottom: 4px; color: #a17d89; font-size: 8px; }
.actions-heading-row h2 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 600; }
.actions-heading-row h2 span { color: var(--rose); }
.actions-hint { display: inline-flex; align-items: center; gap: 5px; padding-bottom: 3px; color: #a29399; font-size: 7px; letter-spacing: .65px; }
.actions-hint span { color: var(--rose); font-size: 11px; }
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.action-tile { min-width: 0; min-height: 55px; display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid #eee1e2; border-radius: 4px; background: rgba(255, 255, 255, .83); color: var(--ink); cursor: grab; text-align: left; transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease, opacity .2s ease; }
.action-tile:hover:not(:disabled) { transform: translateY(-2px); border-color: #eab1c3; box-shadow: 0 4px 11px rgba(134, 59, 83, .08); }
.action-tile:active:not(:disabled) { cursor: grabbing; }
.action-tile.is-selected { border-color: var(--rose); background: #fff3f7; box-shadow: 0 0 0 2px rgba(232, 71, 131, .13); }
.action-tile.is-dragging { opacity: .48; }
.action-tile:disabled { opacity: .53; cursor: not-allowed; }
.action-icon { width: 29px; height: 29px; display: grid; flex: 0 0 29px; place-items: center; border-radius: 8px; }
.action-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.icon-scan { background: #fbe4eb; color: #d44c7a; }
.icon-key { background: #fff0d9; color: #b78022; }
.icon-lock { background: #e5f3ed; color: #48896c; }
.icon-shield { background: #f1eaf7; color: #8a64a4; }
.icon-link { background: #e6f2f6; color: #42899e; }
.icon-wifi { background: #feeadf; color: #ca7753; }
.action-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 3px; }
.action-copy strong { overflow: hidden; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.action-copy small { overflow: hidden; color: #968a90; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.action-arrow { align-self: flex-start; color: #c4a2ad; font-size: 10px; }
.action-instruction { margin: 8px 0 0; color: #998d92; font-size: 9px; text-align: center; }

.sidebar { position: relative; min-height: 100%; display: flex; flex-direction: column; overflow: hidden; padding: 17px 17px 14px; border: 1px solid #f0d8dd; border-radius: 5px; background: linear-gradient(157deg, #fff0f3 0%, #fff4ef 58%, #fff6df 100%); }
.sidebar::after { content: '✳'; position: absolute; top: 79px; right: -22px; color: rgba(232, 71, 131, .075); font-size: 116px; line-height: 1; pointer-events: none; transform: rotate(16deg); }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; }
.sidebar-label { color: #a67986; font-size: 8px; }
.session-number { color: #d5a5ae; font-family: var(--display); font-size: 13px; font-style: italic; }
.session-heading { position: relative; z-index: 1; margin-top: 29px; }
.session-star { color: var(--rose); font-size: 20px; }
.session-heading h2 { margin: 6px 0 10px; font-family: var(--display); font-size: 27px; font-weight: 600; line-height: 1.1; }
.session-copy { position: relative; z-index: 1; margin: 0; color: #776973; font-size: 10px; line-height: 1.65; }
.session-divider { height: 1px; margin: 19px 0 15px; background: rgba(174, 123, 137, .22); }
.session-stat { display: flex; align-items: center; gap: 10px; }
.stat-number { color: var(--rose-dark); font-family: var(--display); font-size: 28px; line-height: 1; }
.session-stat > span:last-child { color: #96848b; font-size: 7px; line-height: 1.55; }
.sidebar-tip { display: flex; gap: 8px; margin-top: 17px; padding: 10px; border: 1px solid rgba(218, 184, 184, .47); border-radius: 4px; background: rgba(255, 255, 255, .53); }
.tip-icon { width: 15px; height: 15px; display: grid; flex: 0 0 15px; place-items: center; border-radius: 50%; background: #f0d59a; color: #775e30; font-family: var(--display); font-size: 10px; font-style: italic; }
.sidebar-tip p { margin: 0; color: #817279; font-size: 9px; line-height: 1.55; }
.sidebar-tip strong { color: #51444a; font-size: 9px; }
.start-button { position: relative; z-index: 1; min-height: 42px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 13px; border: 0; border-radius: 3px; background: var(--rose); box-shadow: 0 5px 12px rgba(196, 54, 104, .16); color: white; cursor: pointer; font-size: 11px; font-weight: 700; transition: background .2s, transform .2s, box-shadow .2s; }
.start-button:hover:not(:disabled) { transform: translateY(-2px); background: var(--rose-dark); box-shadow: 0 8px 16px rgba(196, 54, 104, .21); }
.start-button:disabled { opacity: .65; cursor: wait; }
.button-arrow { font-size: 15px; }
.session-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; color: #a18d94; font-size: 7px; letter-spacing: .65px; }
.footnote-dot { width: 5px; height: 5px; background: #d2aa57; }

.footer { display: flex; justify-content: space-between; gap: 15px; padding: 21px 0 20px; color: #a49399; font-size: 7px; letter-spacing: .75px; }
.footer-mark, .footer-heart { color: var(--rose); }

.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 22px; background: rgba(47, 32, 42, .44); backdrop-filter: blur(5px); opacity: 0; transition: opacity .25s ease; }
.modal-backdrop.is-visible { opacity: 1; }
.game-modal { position: relative; width: min(100%, 460px); padding: 34px 37px 30px; border: 1px solid #f0d8dd; border-radius: 5px; background-color: #fffaf8; background-image: radial-gradient(#eadcdb 0.65px, transparent 0.65px), linear-gradient(132deg, #fffaf8, #fff2f3 78%, #fff7e5); background-size: 17px 17px, auto; box-shadow: 0 24px 85px rgba(48, 26, 39, .24); animation: modal-in .38s cubic-bezier(.2,.75,.25,1) both; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #8e7a82; cursor: pointer; font-size: 23px; line-height: 1; }
.modal-close:hover { background: #fae6eb; color: var(--rose-dark); }
.modal-kicker { display: flex; align-items: center; gap: 7px; color: #a86b7e; font-size: 8px; }
.modal-kicker span { color: var(--rose); font-size: 14px; }
.game-modal h2 { margin: 18px 0 13px; font-family: var(--display); font-size: 35px; font-weight: 600; line-height: 1.08; }
.game-modal h2 em { color: var(--rose); font-weight: 500; }
.game-modal > p { margin: 0; color: #786d73; font-size: 12px; line-height: 1.7; }
.modal-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; padding: 13px 0; border-top: 1px solid #ecdde0; border-bottom: 1px solid #ecdde0; }
.modal-rules span { display: flex; flex-direction: column; gap: 5px; color: #655960; font-size: 9px; }
.modal-rules b { color: var(--rose); font-family: var(--mono); font-size: 8px; font-weight: 400; }
.modal-primary { width: 100%; min-height: 45px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 0; border-radius: 3px; background: var(--rose); color: white; cursor: pointer; font-size: 11px; font-weight: 700; transition: background .2s, transform .2s; }
.modal-primary:hover { transform: translateY(-1px); background: var(--rose-dark); }
.modal-primary span { font-size: 15px; }
.modal-disclaimer { display: block; margin-top: 14px; color: #aa9aa0; font-size: 7px; text-align: center; }
.result-modal { text-align: center; }
.result-modal .modal-kicker { justify-content: center; }
.result-stamp { width: 58px; height: 58px; display: grid; place-items: center; margin: 20px auto 2px; border: 1px solid #b6ddc6; border-radius: 50%; background: #e4f4e9; color: #29966d; font-size: 24px; animation: stamp-in .4s .1s cubic-bezier(.2,.8,.2,1.3) both; }
.result-stamp.is-loss { border-color: #f0c9bc; background: #fff0e9; color: #cd694f; }
.result-modal h2 { margin: 13px 0 8px; font-size: 31px; }
.result-modal > p { max-width: 325px; margin: 0 auto; }
.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 21px 0; padding: 13px 0; border-top: 1px solid #ecdde0; border-bottom: 1px solid #ecdde0; }
.result-stats div { display: flex; flex-direction: column; gap: 4px; }
.result-stats strong { font-family: var(--display); font-size: 21px; font-weight: 600; }
.result-stats span { color: #9b888f; font-size: 7px; }

@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes card-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes success-pop { 50% { transform: scale(1.012); } }
@keyframes stamp-in { from { opacity: 0; transform: scale(.6) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes pulse { to { box-shadow: 0 0 0 3px rgba(217, 83, 88, .13); } }
@keyframes shake { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }

@media (min-width: 1500px) {
  .app-shell { padding-right: 7%; padding-left: 7%; }
}

@media (max-width: 940px) {
  .app-shell { padding-right: 4%; padding-left: 4%; }
  .game-layout { grid-template-columns: minmax(0, 1fr) 215px; gap: 12px; }
  .metric-card { padding-right: 11px; padding-left: 11px; }
  .action-tile { gap: 6px; padding: 7px; }
  .action-copy strong { font-size: 8px; }
  .sidebar { padding-right: 13px; padding-left: 13px; }
}

@media (max-width: 700px) {
  .app-shell { padding: 0 18px; }
  .topbar { min-height: 64px; }
  .edition-label { display: none; }
  .topbar-right { gap: 0; }
  .live-pill { padding: 8px 9px; font-size: 7px; }
  .intro-row { align-items: flex-start; gap: 12px; padding: 30px 0 20px; }
  h1 { font-size: 39px; }
  .intro-copy { max-width: 440px; font-size: 12px; }
  .text-button { flex: 0 0 auto; margin-top: 1px; padding-left: 0; font-size: 0; }
  .help-icon { width: 27px; height: 27px; font-size: 15px; }
  .game-layout { grid-template-columns: 1fr; gap: 14px; }
  .metrics { gap: 7px; }
  .metric-card { min-height: 88px; padding: 10px 9px; }
  .metric-heading { font-size: 7px; letter-spacing: .5px; }
  .metric-value-row { gap: 4px; margin-top: 8px; }
  .metric-value-row strong { font-size: 23px; }
  .metric-suffix { font-size: 8px; }
  .metric-trend { display: none; }
  .metric-note { font-size: 8px; }
  .creator-desk { padding: 12px; }
  .threat-slot, .empty-threat { min-height: 203px; }
  .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-tile { min-height: 56px; padding: 8px; }
  .action-copy strong { font-size: 9px; }
  .sidebar { min-height: 0; padding: 14px; }
  .session-heading { margin-top: 14px; }
  .session-heading h2 br { display: none; }
  .session-heading h2 { font-size: 23px; }
  .session-copy { max-width: 480px; }
  .session-divider { margin: 13px 0; }
  .sidebar-tip { margin-top: 12px; }
  .start-button { margin-top: 15px; }
  .footer { flex-direction: column; gap: 7px; padding: 18px 0; font-size: 7px; }
}

@media (max-width: 390px) {
  .app-shell { padding: 0 13px; }
  .brand-name { font-size: 15px; }
  .live-pill { gap: 6px; padding: 7px; font-size: 6px; }
  .intro-row { padding-top: 26px; }
  h1 { font-size: 34px; }
  .intro-copy { font-size: 11px; }
  .metric-card { padding-right: 7px; padding-left: 7px; }
  .metric-value-row strong { font-size: 20px; }
  .metric-suffix { font-size: 7px; }
  .actions-hint { max-width: 110px; font-size: 6px; line-height: 1.4; }
  .profile-platform span { max-width: 45px; font-size: 6px; }
  .game-modal { padding: 31px 24px 25px; }
  .game-modal h2 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
