:root {
  --bg: #070a07;
  --panel: #0d120d;
  --panel-2: #111811;
  --text: #f3f6ef;
  --muted: #9aa899;
  --line: #263126;
  --lime: #bfff00;
  --lime-2: #7eff44;
  --danger: #ff5f6d;
  --retro: #11888f;
  --shadow: 0 0 0 1px rgba(191,255,0,.14), 0 18px 70px rgba(0,0,0,.3);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.archive-mode { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--lime); color: #000; }
.noscript { padding: 16px; background: #ffdf66; color: #111; text-align: center; }

/* 2016 archive */
.archive-screen { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: #f1f1ef; color: #111; }
.retro-desktop { width: min(980px, 100%); aspect-ratio: 4 / 3; min-height: 520px; position: relative; overflow: hidden; background: linear-gradient(145deg, #168b91 0%, #10767c 100%); border: 5px ridge #d9d9d9; box-shadow: 0 30px 80px rgba(0,0,0,.25); image-rendering: pixelated; }
.retro-icons { position: absolute; left: 14px; top: 15px; display: grid; gap: 18px; width: 78px; }
.retro-icon { display: grid; place-items: center; gap: 4px; width: 78px; padding: 3px; border: 1px solid transparent; background: transparent; color: white; text-shadow: 1px 1px #000; font-family: "Courier New", monospace; text-align: center; cursor: pointer; }
.retro-icon:hover, .retro-icon:focus-visible { background: rgba(0,0,128,.35); border-color: rgba(255,255,255,.45); outline: 1px dotted white; outline-offset: -2px; }
.retro-icon span { font-size: 29px; filter: saturate(.75); }
.retro-icon small { font-size: 11px; line-height: 1.1; }
.retro-window { position: absolute; left: 16%; top: 12%; width: 66%; min-width: 560px; background: #c0c0c0; border: 3px outset #efefef; box-shadow: 8px 8px 0 rgba(0,0,0,.18); }
.retro-titlebar { height: 32px; display: flex; align-items: center; gap: 8px; padding: 4px 5px; color: white; background: linear-gradient(90deg,#000080,#1084d0); font: 700 16px "Tahoma", sans-serif; }
.retro-app-icon { font-size: 16px; }
.retro-window-buttons { margin-left: auto; display: flex; gap: 3px; }
.retro-window-buttons span { display: grid; place-items: center; width: 23px; height: 22px; color: #111; background: #c0c0c0; border: 2px outset #fff; font-size: 13px; }
.retro-window-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; padding: 18px; min-height: 350px; }
.retro-photo-wrap { padding: 6px; background: white; border: 3px inset #eee; display: grid; place-items: center; cursor: pointer; }
.retro-photo-wrap:focus-visible { outline: 3px dotted #000080; outline-offset: 3px; }
.retro-photo-wrap img { width: 100%; height: 100%; object-fit: cover; filter: contrast(.93) saturate(.88); }
.retro-copy { color: white; padding: 12px 8px; font: 700 22px/1.35 "Courier New", monospace; text-shadow: 1px 1px #0c5e63; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.retro-year { font-size: clamp(30px, 4vw, 54px); margin-bottom: 8px; }
.retro-copy p { margin: 8px 0 14px; }
.retro-button { margin-top: 8px; color: #111; background: #c0c0c0; border: 3px outset #fff; padding: 9px 15px; font: 700 16px Tahoma, sans-serif; cursor: pointer; }
.retro-button:active { border-style: inset; }
.retro-taskbar { position: absolute; inset: auto 0 0; height: 42px; display: flex; align-items: center; gap: 8px; padding: 4px; background: #c0c0c0; border-top: 2px outset #fff; font: 700 14px Tahoma, sans-serif; }
.retro-start, .retro-task { height: 32px; display: flex; align-items: center; gap: 5px; padding: 3px 9px; border: 2px outset #fff; background: #c0c0c0; color: #111; }
.retro-start { font-weight: 800; cursor: pointer; }
.retro-start:hover, .retro-task:hover, .retro-start:focus-visible, .retro-task:focus-visible { filter: brightness(1.04); outline: 1px dotted #111; outline-offset: -4px; }
.retro-start:active, .retro-task:active { border-style: inset; }
.retro-task { min-width: 180px; background: #ddd; border-style: inset; }
.retro-clock { margin-left: auto; height: 32px; display: flex; align-items: center; padding: 0 10px; border: 2px inset #eee; color: #111; font-weight: 400; }

/* Glitch transition */
.transition-layer { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; overflow: hidden; background: #030403; color: #dfffda; font: 700 clamp(15px, 2vw, 24px)/1.45 "Courier New", monospace; }
.transition-layer.active { display: grid; animation: powerOn .8s ease both; }
.transition-layer::before, .transition-layer::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.transition-layer::before { background: repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 4px); }
.transition-layer::after { background: linear-gradient(90deg, rgba(255,0,0,.03), transparent 35%, rgba(0,255,200,.04)); mix-blend-mode: screen; animation: glitchWash .22s steps(2,end) infinite; }
.transition-copy { width: min(760px, 86vw); position: relative; z-index: 2; }
.transition-copy p { margin: 0 0 5px; opacity: .8; }
.transition-copy .match { color: var(--lime); opacity: 1; }
.transition-copy strong { display: block; margin-top: 20px; color: white; font: 1000 clamp(68px, 17vw, 190px)/.82 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; letter-spacing: .02em; text-shadow: 6px 0 var(--lime), -5px 0 #ff44c7; animation: glitchText .14s steps(2,end) infinite; }
.transition-copy span, .transition-copy em { display: block; margin-top: 10px; font-style: normal; }
.transition-copy em { color: var(--lime); font-size: 1.3em; }
@keyframes powerOn { from { opacity: 0; transform: scaleY(.02); } 35% { opacity: 1; transform: scaleY(.02); } to { transform: scaleY(1); } }
@keyframes glitchText { 0%,100% { transform: translate(0); } 33% { transform: translate(2px,-1px); } 66% { transform: translate(-2px,1px); } }
@keyframes glitchWash { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* Main site */
.site-shell { min-height: 100vh; background: var(--bg); }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 72px; display: flex; align-items: center; gap: 32px; padding: 12px clamp(18px, 4vw, 58px); background: rgba(7,10,7,.88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 1000; font-size: 23px; letter-spacing: -.03em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 700; color: #c9d3c5; }
.main-nav a:hover { color: var(--lime); }
.nav-buy { padding: 11px 15px; border-radius: 8px; background: var(--lime); color: #0b0d08 !important; }
.menu-toggle { display: none; margin-left: auto; padding: 10px 12px; border: 1px solid var(--line); background: transparent; border-radius: 8px; }
.hero { min-height: 760px; display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-copy { min-width: 0; padding: clamp(72px, 8vw, 130px) clamp(22px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.eyebrow { display: inline-block; color: var(--lime); font: 800 12px/1.3 "Courier New", monospace; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .section h2, .final-cta h2 { margin: 18px 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; text-transform: uppercase; letter-spacing: .01em; }
.hero h1 { font-size: clamp(76px, 10vw, 156px); line-height: .78; }
.hero h1 span { color: var(--lime); }
.hero-sub { max-width: 620px; margin: 8px 0 24px; color: #c9d1c5; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.45; }
.hero-actions, .final-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; padding: 12px 17px; background: #111711; color: white; font-weight: 900; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); border-color: #5d6c5b; }
.btn.primary { background: var(--lime); border-color: var(--lime); color: #071000; }
.btn.secondary { background: #111611; }
.btn.ghost { background: transparent; }
.btn.xbtn { background: white; color: #111; }
.ca-line { margin-top: 18px; max-width: 650px; display: flex; gap: 10px; align-items: center; padding: 11px 13px; border: 1px solid var(--line); background: #0a0f0a; border-radius: 8px; overflow: hidden; }
.ca-line span { color: var(--lime); font: 800 11px "Courier New", monospace; }
.ca-line code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #aebaaa; font-size: 12px; }
.hero-proof { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 16px; color: #8d9a88; font-size: 12px; }
.hero-proof a:hover { color: var(--lime); }
.hero-visual { position: relative; min-width: 0; min-height: 720px; display: grid; place-items: center; background: radial-gradient(circle at 65% 35%, rgba(191,255,0,.2), transparent 28%), linear-gradient(145deg, #0f150f, #050705); overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 97%, rgba(191,255,0,.11) 98%), linear-gradient(90deg, transparent 97%, rgba(191,255,0,.08) 98%); background-size: 40px 40px; mask-image: linear-gradient(to top, #000, transparent 72%); }
.hero-cat-frame { width: min(74%, 690px); aspect-ratio: 1 / 1; border: 2px solid var(--lime); border-radius: 50%; padding: 14px; box-shadow: 0 0 0 16px rgba(191,255,0,.05), 0 0 120px rgba(191,255,0,.17); position: relative; z-index: 2; overflow: hidden; }
.hero-cat-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; transform: scale(1.13); filter: contrast(1.08) saturate(.85); }
.scribble { position: absolute; z-index: 3; color: var(--lime); font-family: "Comic Sans MS", "Bradley Hand", cursive; font-weight: 900; transform: rotate(-7deg); text-shadow: 0 0 18px rgba(191,255,0,.3); }
.scribble.one { right: 5%; top: 17%; font-size: clamp(26px, 3vw, 50px); line-height: .88; }
.scribble.two { left: 7%; bottom: 20%; font-size: clamp(38px, 5vw, 72px); transform: rotate(8deg); }
.ticker-tape { position: absolute; inset: auto 0 0; background: var(--lime); color: #0a0d08; overflow: hidden; font: 1000 15px "Courier New", monospace; white-space: nowrap; padding: 7px 0; }
.ticker-tape span { display: inline-block; animation: ticker 14s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-45%); } }
.strip { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 20px; border-bottom: 1px solid var(--line); background: var(--lime); color: #0a0d08; text-align: center; font-size: clamp(17px, 2vw, 26px); }
.strip p { margin: 0; }
.strip strong { font-weight: 1000; }
.section { padding: clamp(72px, 9vw, 130px) clamp(18px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.section-head { max-width: 1380px; margin: 0 auto 36px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(44px, 6vw, 84px); line-height: .92; }
.section-head p { max-width: 430px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Meme machine */
.meme-section { background: #090d09; }
.meme-grid { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 260px minmax(340px, 1fr) 340px; gap: 18px; align-items: start; }
.template-panel, .meme-preview-panel, .meme-controls { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 16px; }
.template-panel h3, .meme-controls h3 { margin: 0 0 15px; font-size: 15px; }
.template-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; max-height: 790px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.template { position: relative; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #050805; cursor: pointer; }
.template img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.template span { display: block; padding: 7px; color: #b6c1b2; font-size: 11px; font-weight: 700; }
.template.active { border-color: var(--lime); }
.upload-label { display: block; margin: 16px 0 7px; color: var(--muted); font-size: 12px; }
#uploadTemplate { width: 100%; color: #b7c0b4; font-size: 11px; }
.canvas-wrap { aspect-ratio: 1; background: #030403; border-radius: 8px; overflow: hidden; }
#memeCanvas { width: 100%; height: 100%; display: block; }
.meme-controls { display: grid; gap: 13px; }
.meme-controls label { display: grid; gap: 6px; color: #aab5a7; font-size: 12px; font-weight: 700; }
.meme-controls input[type="text"], .meme-controls select { width: 100%; min-height: 45px; padding: 11px 12px; color: white; background: #080c08; border: 1px solid var(--line); border-radius: 8px; outline: none; }
.meme-controls input:focus, .meme-controls select:focus { border-color: var(--lime); }
.meme-control-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.meme-controls input[type="range"] { accent-color: var(--lime); }
.button-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.helper { color: #6f7d6d; line-height: 1.4; }

/* Degen Army */
.army-section { background: #060906; }
.army-grid { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 18px; align-items: stretch; }
.army-hero-card, .degen-panel, .slurp-card { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; box-shadow: var(--shadow); }
.army-hero-card { position: relative; min-height: 540px; }
.army-hero-card img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; filter: saturate(.86) contrast(1.04); }
.army-hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(3,6,3,.88) 100%); pointer-events: none; }
.army-hero-overlay { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.army-hero-overlay span { color: var(--lime); font: 800 10px "Courier New", monospace; letter-spacing: .14em; }
.army-hero-overlay strong { display: block; margin-top: 5px; font: 1000 clamp(50px, 7vw, 96px)/.9 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; }
.army-hero-overlay p { margin: 8px 0 0; color: #d4ddd0; font-size: 17px; }
.degen-panel { padding: 20px; display: flex; flex-direction: column; }
.rank-head { display: flex; align-items: center; gap: 14px; }
.rank-head img { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(191,255,0,.45); }
.rank-head span { display: block; color: var(--muted); font: 800 10px "Courier New", monospace; letter-spacing: .12em; }
.rank-head strong { display: inline-block; margin-top: 3px; color: var(--lime); font: 1000 32px Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; letter-spacing: .03em; }
.rank-head em { margin-left: 10px; color: #d9e1d6; font-style: normal; font-weight: 800; }
.rank-progress { height: 9px; margin-top: 18px; overflow: hidden; border-radius: 999px; background: #1b241b; border: 1px solid #2a3529; }
.rank-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--lime); transition: width .3s ease; }
.degen-panel > small { display: block; margin-top: 7px; color: #758272; font-size: 11px; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 20px; }
.mission { min-height: 98px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #090e09; color: white; cursor: pointer; text-align: left; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.mission:hover { transform: translateY(-2px); border-color: var(--lime); }
.mission span { color: #778474; font: 800 9px "Courier New", monospace; letter-spacing: .1em; }
.mission strong { font-size: 16px; }
.mission em { color: var(--lime); font-style: normal; font-size: 11px; font-weight: 900; }
.mission.done { border-color: rgba(191,255,0,.35); background: rgba(191,255,0,.06); }
.mission.done em::before { content: "✓ "; }
.rank-ladder { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; margin-top: 18px; }
.rank-ladder span { min-width: 0; padding: 9px 4px; border: 1px solid #222c22; border-radius: 8px; color: #657263; background: #080c08; text-align: center; font: 800 9px "Courier New", monospace; }
.rank-ladder b { display: block; margin-top: 4px; font-size: 9px; font-weight: 700; }
.rank-ladder span.active { color: #071000; border-color: var(--lime); background: var(--lime); }
.local-note { margin: auto 0 0; padding-top: 18px; color: #667264; font-size: 11px; line-height: 1.45; }
.slurp-card { max-width: 1380px; margin: 18px auto 0; min-height: 340px; display: grid; grid-template-columns: .8fr 1.2fr; }
.slurp-copy { padding: clamp(24px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 0 0, rgba(191,255,0,.08), transparent 45%); }
.slurp-copy h3 { margin: 10px 0 8px; font: 1000 clamp(44px, 6vw, 78px)/.9 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; }
.slurp-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.slurp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.slurp-game { position: relative; min-height: 340px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(#080b09, #050705); border-left: 1px solid var(--line); }
.slurp-game::before { content: ""; position: absolute; inset: 0; opacity: .22; background: linear-gradient(transparent 96%, #385238 97%), linear-gradient(90deg, transparent 96%, #385238 97%); background-size: 42px 42px; }
.candle-row { position: relative; z-index: 2; height: 140px; width: min(620px, 95%); display: flex; align-items: flex-start; justify-content: center; gap: clamp(5px, 1.4vw, 14px); }
.candle-row i { position: relative; width: clamp(12px, 2vw, 22px); height: calc(28px + var(--candle-h, 50px)); margin-top: var(--candle-top, 0px); background: #e74747; border-radius: 2px; box-shadow: 0 0 18px rgba(255,74,74,.22); transition: transform .25s ease, opacity .25s ease, filter .25s ease; }
.candle-row i::before, .candle-row i::after { content: ""; position: absolute; left: 50%; width: 2px; transform: translateX(-50%); background: #e74747; }
.candle-row i::before { top: -16px; height: 16px; }
.candle-row i::after { bottom: -16px; height: 16px; }
.candle-row i:nth-child(1){--candle-h:28px;--candle-top:9px}.candle-row i:nth-child(2){--candle-h:52px;--candle-top:1px}.candle-row i:nth-child(3){--candle-h:38px;--candle-top:18px}.candle-row i:nth-child(4){--candle-h:72px;--candle-top:8px}.candle-row i:nth-child(5){--candle-h:48px;--candle-top:29px}.candle-row i:nth-child(6){--candle-h:83px;--candle-top:19px}.candle-row i:nth-child(7){--candle-h:58px;--candle-top:44px}.candle-row i:nth-child(8){--candle-h:91px;--candle-top:38px}.candle-row i:nth-child(9){--candle-h:66px;--candle-top:68px}.candle-row i:nth-child(10){--candle-h:100px;--candle-top:55px}
.candle-row i.eaten { transform: translateY(150px) scale(.2) rotate(25deg); opacity: 0; filter: blur(2px); }
.slurp-bowl { position: relative; z-index: 3; width: 270px; height: 82px; margin-top: -2px; display: grid; place-items: center; border: 2px solid #687266; border-radius: 10px 10px 110px 110px; background: #d9ded4; color: #0d120d; font: 1000 27px Impact, sans-serif; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.slurp-bowl span { display: block; position: absolute; bottom: 12px; font: 800 10px "Courier New", monospace; letter-spacing: .12em; }
.slurp-meter { position: relative; z-index: 3; width: min(520px, 90%); height: 8px; margin-top: 22px; overflow: hidden; border-radius: 999px; background: #222822; }
.slurp-meter i { display: block; width: 0; height: 100%; background: var(--lime); transition: width .25s ease; }
.slurp-game strong, .slurp-game small { position: relative; z-index: 3; }
.slurp-game strong { margin-top: 10px; color: #eaf1e6; }
.slurp-game small { margin-top: 5px; color: #697667; }
.slurp-game.complete .slurp-bowl { animation: bowlPop .45s ease; border-color: var(--lime); box-shadow: 0 0 0 6px rgba(191,255,0,.05), 0 18px 50px rgba(0,0,0,.45); }
@keyframes bowlPop { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08) rotate(-2deg); } }

/* Lore */
.lore-section { background: #0b0e0b; }
.timeline { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.timeline article { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.timeline-year { color: var(--lime); font: 800 12px "Courier New", monospace; }
.timeline img, .timeline-glyph { width: 100%; aspect-ratio: 16/9; margin: 12px 0 16px; border-radius: 8px; object-fit: cover; background: #060806; }
.timeline-glyph { display: grid; place-items: center; color: var(--lime); font: 1000 90px Impact, sans-serif; }
.timeline h3 { margin: 0 0 8px; font-size: 20px; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }
.proof-card { max-width: 1380px; margin: 14px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px; border: 1px solid rgba(191,255,0,.35); background: rgba(191,255,0,.045); border-radius: 14px; }
.proof-card span { display: block; color: var(--lime); font: 800 10px "Courier New", monospace; letter-spacing: .12em; }
.proof-card strong { display: block; margin-top: 4px; font-size: 22px; }

/* Quiz */
.test-section { background: #060806; }
.quiz-shell { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; }
.quiz-cat, .quiz-card { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.quiz-cat { position: relative; min-height: 490px; }
.quiz-cat img { width: 100%; height: 100%; min-height: 490px; object-fit: cover; filter: contrast(1.04) saturate(.8); }
.quiz-cat span { position: absolute; inset: auto 14px 14px; padding: 9px 11px; background: rgba(0,0,0,.76); border: 1px solid var(--line); border-radius: 8px; color: var(--lime); font: 800 12px "Courier New", monospace; }
.quiz-card { padding: clamp(20px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.quiz-progress { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; color: var(--muted); font: 700 11px "Courier New", monospace; }
.quiz-progress div { height: 5px; background: #1c251c; overflow: hidden; border-radius: 10px; }
.quiz-progress i { display: block; width: 20%; height: 100%; background: var(--lime); transition: width .2s ease; }
.quiz-question { margin: 28px 0 18px; font-weight: 900; font-size: clamp(23px, 3vw, 36px); line-height: 1.15; }
.quiz-answers { display: grid; gap: 9px; }
.answer-btn { min-height: 48px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: #090e09; color: #eaf0e6; font-weight: 700; cursor: pointer; }
.answer-btn:hover { border-color: var(--lime); }
.quiz-result { text-align: center; }
.quiz-result > span { color: var(--muted); font: 800 11px "Courier New", monospace; letter-spacing: .15em; }
.quiz-result strong { display: block; margin: 10px 0; color: var(--lime); font: 1000 clamp(76px, 11vw, 136px)/1 Impact, sans-serif; }
.quiz-result p { color: #d4ddd0; font-size: 22px; }
.quiz-result .btn { margin: 5px; }

.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(70px, 9vw, 130px) clamp(18px, 6vw, 90px); background: radial-gradient(circle at 10% 50%, rgba(191,255,0,.12), transparent 25%), #090d09; border-bottom: 1px solid var(--line); }
.final-cta h2 { font-size: clamp(56px, 8vw, 112px); line-height: .9; margin: 10px 0; }
.final-cta p { margin: 0; color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px clamp(18px, 5vw, 72px); color: #768373; font-size: 11px; }
footer a:hover { color: var(--lime); }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 14px; border-radius: 8px; background: var(--lime); color: #071000; font-weight: 900; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.sr-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 1050px) {
  .retro-window { left: 12%; width: 76%; min-width: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 650px; }
  .meme-grid { grid-template-columns: 220px 1fr; }
  .meme-controls { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .template-list { max-height: none; overflow: visible; padding-right: 0; }
  .archive-screen { padding: 0; }
  .retro-desktop { width: 100%; min-height: 100vh; aspect-ratio: auto; border-width: 0; }
  .retro-icons { display: none; }
  .retro-window { left: 4%; right: 4%; top: 9%; width: auto; }
  .retro-window-body { grid-template-columns: 1fr; min-height: 0; }
  .retro-copy { font-size: 16px; }
  .retro-copy p { display: none; }
  .retro-photo-wrap { min-height: 310px; }
  .retro-task { min-width: 100px; }
  .topbar { min-height: 62px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 62px; left: 12px; right: 12px; padding: 12px; flex-direction: column; align-items: stretch; gap: 4px; background: #0b100b; border: 1px solid var(--line); border-radius: 10px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px; }
  .hero { min-height: auto; }
  .hero-copy { padding-top: 80px; padding-bottom: 65px; }
  .hero-visual { min-height: 520px; }
  .hero-cat-frame { width: 78%; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .meme-grid { grid-template-columns: 1fr; }
  .template-list { grid-template-columns: repeat(4,1fr); }
  .meme-control-row { grid-template-columns: 1fr; }
  .button-stack { grid-template-columns: 1fr; }
  .army-grid, .slurp-card { grid-template-columns: 1fr; }
  .army-hero-card, .army-hero-card img { min-height: 430px; }
  .slurp-game { border-left: 0; border-top: 1px solid var(--line); }
  .rank-ladder { grid-template-columns: repeat(3,1fr); }
  .proof-card, .final-cta { align-items: flex-start; flex-direction: column; }
  .quiz-shell { grid-template-columns: 1fr; }
  .quiz-cat { min-height: 360px; }
  .quiz-cat img { min-height: 360px; }
}
@media (max-width: 430px) {
  .retro-window-body { padding: 10px; }
  .retro-photo-wrap { min-height: 280px; }
  .hero h1 { font-size: 72px; }
  .hero-visual { min-height: 450px; }
  .template-list { grid-template-columns: repeat(2,1fr); }
  .mission-grid { grid-template-columns: 1fr; }
  .army-hero-card, .army-hero-card img { min-height: 360px; }
  .army-hero-overlay { left: 14px; right: 14px; bottom: 14px; }
  .rank-ladder { grid-template-columns: repeat(2,1fr); }
  .slurp-copy, .slurp-game { padding: 20px 14px; }
  .section { padding-left: 14px; padding-right: 14px; }
  .ca-line code { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Burn Watch */
.burn-section { background: radial-gradient(circle at 78% 12%, rgba(255,88,31,.10), transparent 28%), #070907; }
.burn-head { align-items: flex-end; }
.burn-live-wrap { min-width: 250px; display: grid; grid-template-columns: 10px 1fr; column-gap: 9px; align-items: center; padding: 12px 14px; border: 1px solid rgba(255,111,45,.25); border-radius: 10px; background: rgba(255,78,24,.04); }
.burn-live-dot { width: 9px; height: 9px; border-radius: 999px; background: #ff6a2f; box-shadow: 0 0 0 5px rgba(255,106,47,.08), 0 0 18px rgba(255,106,47,.55); animation: burnPulse 1.6s ease-in-out infinite; }
.burn-live-wrap strong { color: #ff8b4d; font: 900 11px "Courier New", monospace; letter-spacing: .08em; }
.burn-live-wrap small { grid-column: 2; margin-top: 3px; color: #778173; font-size: 10px; }
@keyframes burnPulse { 0%,100% { transform: scale(.85); opacity: .65; } 50% { transform: scale(1.15); opacity: 1; } }
.burn-shell { max-width: 1380px; margin: 0 auto; }
.burn-stats { display: grid; grid-template-columns: 1.55fr repeat(3,1fr); gap: 10px; }
.burn-stat { min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg, #0d110d, #090b09); }
.burn-stat.hero-stat { border-color: rgba(255,103,39,.32); background: radial-gradient(circle at 0 0, rgba(255,90,25,.11), transparent 58%), #0c0e0c; }
.burn-stat span { display: block; color: #7b8778; font: 800 10px "Courier New", monospace; letter-spacing: .11em; }
.burn-stat strong { display: block; margin: 8px 0 5px; color: #f2f4ee; font: 1000 clamp(29px, 3.1vw, 48px)/1 Impact, Arial Black, sans-serif; letter-spacing: .01em; }
.burn-stat.hero-stat strong { color: #ff7b3b; font-size: clamp(36px, 4.2vw, 62px); text-shadow: 0 0 24px rgba(255,91,27,.18); }
.burn-stat small { color: #687365; font-size: 10px; line-height: 1.35; }
.burn-main-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 10px; margin-top: 10px; }
.burn-furnace, .burn-feed-card { min-width: 0; min-height: 355px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #090c09; }
.burn-furnace { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; background: radial-gradient(circle at 23% 58%, rgba(255,78,20,.18), transparent 34%), linear-gradient(145deg,#0b0d0b,#050605); }
.flame-stack { position: relative; min-height: 355px; overflow: hidden; display: grid; place-items: center; }
.flame-stack::before { content: ""; position: absolute; inset: 12% 14% 0; border-radius: 52% 48% 42% 58% / 65% 56% 44% 35%; background: radial-gradient(circle at 50% 72%, #fff5bb 0 5%, #ffb21f 6% 18%, #ff4c17 19% 46%, transparent 47%), radial-gradient(circle at 35% 67%, #ffcb31 0 9%, #ff4a17 10% 37%, transparent 38%); filter: blur(1px); opacity: .86; animation: furnaceBreath 1.4s ease-in-out infinite alternate; }
.flame-stack i { position: absolute; bottom: 19%; width: 54px; height: 126px; border-radius: 52% 48% 38% 62% / 74% 72% 28% 26%; transform-origin: 50% 100%; background: linear-gradient(#ffcd34 8%, #ff5a19 60%, rgba(255,48,8,.02)); filter: drop-shadow(0 0 10px rgba(255,74,20,.35)); opacity: .8; }
.flame-stack i:nth-child(1){left:17%;transform:rotate(-18deg) scale(.86);animation:flameWiggle .9s ease-in-out infinite alternate}.flame-stack i:nth-child(2){left:32%;height:175px;transform:rotate(9deg);animation:flameWiggle 1.15s ease-in-out infinite alternate-reverse}.flame-stack i:nth-child(3){left:48%;height:150px;transform:rotate(-4deg) scale(1.05);animation:flameWiggle .8s ease-in-out infinite alternate}.flame-stack i:nth-child(4){left:62%;height:182px;transform:rotate(14deg) scale(.9);animation:flameWiggle 1s ease-in-out infinite alternate-reverse}.flame-stack i:nth-child(5){left:74%;height:118px;transform:rotate(21deg) scale(.76);animation:flameWiggle .72s ease-in-out infinite alternate}
.burn-kot-face { position: relative; z-index: 4; width: 120px; height: 120px; display: grid; place-items: center; border: 3px solid #ff9b45; border-radius: 50%; background: #090a09; color: #fff4e8; font: 1000 38px Impact, sans-serif; box-shadow: 0 0 0 10px rgba(255,89,25,.08), 0 0 54px rgba(255,80,20,.28); }
.burn-kot-face::after { content: "🔥"; position: absolute; right: -16px; bottom: -9px; font-size: 40px; filter: drop-shadow(0 4px 10px #000); }
@keyframes flameWiggle { from { margin-bottom: -7px; filter: drop-shadow(0 0 8px rgba(255,74,20,.3)); } to { margin-bottom: 8px; filter: drop-shadow(0 0 18px rgba(255,124,36,.5)); } }
@keyframes furnaceBreath { from { transform: scale(.96) rotate(-1deg); } to { transform: scale(1.03) rotate(1deg); } }
.burn-furnace-copy { position: relative; z-index: 5; align-self: center; padding: 30px 28px 30px 5px; }
.burn-furnace-copy > span, .burn-feed-head span { color: #ff7b3b; font: 900 10px "Courier New", monospace; letter-spacing: .12em; }
.burn-furnace-copy > strong { display: block; margin: 9px 0 16px; color: #f3f4ef; font: 1000 clamp(38px, 5vw, 72px)/.9 Impact, Arial Black, sans-serif; }
.burn-progress { height: 10px; overflow: hidden; border: 1px solid #33241d; border-radius: 999px; background: #17110d; }
.burn-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,#ff4f1c,#ffb224); box-shadow: 0 0 15px rgba(255,94,25,.35); transition: width .6s ease; }
.burn-furnace-copy small { display: block; margin-top: 9px; color: #7b8478; }
.burn-feed-card { padding: 20px; }
.burn-feed-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.burn-feed-head strong { display: block; margin-top: 3px; color: #ecf0e9; font-size: 15px; }
.burn-refresh { border: 1px solid #3b312a; border-radius: 7px; padding: 9px 10px; background: #12100d; color: #ff8a4a; font: 800 10px "Courier New", monospace; cursor: pointer; }
.burn-refresh:hover { border-color: #ff6b2c; }
.burn-refresh:disabled { opacity: .5; cursor: wait; }
.burn-feed { display: grid; gap: 7px; padding-top: 12px; }
.burn-loading, .burn-empty, .burn-error { padding: 22px 8px; color: #727d70; font: 700 11px "Courier New", monospace; }
.burn-error { color: #e58c6f; }
.burn-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border: 1px solid #1e261e; border-radius: 9px; background: #0b0e0b; text-decoration: none; transition: .15s ease; }
.burn-row:hover { border-color: rgba(255,107,44,.5); transform: translateX(2px); }
.burn-row-main { min-width: 0; }
.burn-row-main strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f1f3ee; font-size: 14px; }
.burn-row-main span { display: block; margin-top: 3px; color: #6e796c; font: 700 10px "Courier New", monospace; }
.burn-row-side { text-align: right; }
.burn-row-side b { display: block; color: #ff7b3b; font: 900 12px "Courier New", monospace; }
.burn-row-side small { display: block; margin-top: 3px; color: #697467; }
.burn-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 0; }
.burn-addresses { display: flex; flex-wrap: wrap; gap: 8px; }
.burn-addresses a { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; color: #8f9b8b; font: 800 10px "Courier New", monospace; }
.burn-addresses a:hover { border-color: #ff6b2c; color: #ff9a62; }
.burn-note { max-width: 1120px; margin: 13px 0 0; color: #5f6a5d; font-size: 10px; line-height: 1.55; }
.burn-shell.burn-flash { animation: burnFlash .8s ease; }
@keyframes burnFlash { 0% { filter: brightness(1); } 35% { filter: brightness(1.35) saturate(1.2); } 100% { filter: brightness(1); } }

@media (max-width: 1050px) {
  .burn-stats { grid-template-columns: repeat(2,1fr); }
  .burn-main-grid { grid-template-columns: 1fr; }
  .burn-furnace { min-height: 310px; }
}
@media (max-width: 760px) {
  .template-list { max-height: none; overflow: visible; padding-right: 0; }
  .burn-head { align-items: flex-start; }
  .burn-live-wrap { width: 100%; }
  .burn-stats { grid-template-columns: 1fr 1fr; }
  .burn-furnace { grid-template-columns: 1fr; }
  .flame-stack { min-height: 260px; }
  .burn-furnace-copy { padding: 10px 22px 28px; }
  .burn-footer-row { align-items: stretch; flex-direction: column; }
  .burn-footer-row .btn { width: 100%; }
}
@media (max-width: 430px) {
  .burn-stats { grid-template-columns: 1fr; }
  .burn-stat strong { font-size: 35px; }
  .burn-stat.hero-stat strong { font-size: 45px; }
  .burn-row { grid-template-columns: 1fr; }
  .burn-row-side { text-align: left; }
}
