/* FIX6900 — Windows Vista "Aero" desktop: glass windows over the floating islands, FIX6900
   coins raining down, a taskbar with the orb. Used by the home page and the docs. */

:root {
  --ink: #1e1e1e; --muted: #5f6b7a; --blue: #003399; --link: #0066cc; --rule: #e3e8ef;
  --green: #2bd62b; --green-d: #0a9a0a; --night: #0b1430;
  --ui: "Segoe UI", "Segoe UI Web", Tahoma, "Noto Sans", Arial, sans-serif;
  --mono: Consolas, "Lucida Console", "IBM Plex Mono", monospace;
  --glass: linear-gradient(rgba(186, 214, 238, .62), rgba(104, 146, 186, .5));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 13px/1.5 var(--ui);
  background: #0b1430 url(/art/bg.jpg) center / cover fixed no-repeat;
  padding-bottom: 54px; overflow-x: hidden;
}
@media (orientation: portrait) { body { background-image: url(/art/bg-tall.jpg); } }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #3c7fb1; outline-offset: 2px; }

/* ── raining FIX6900 coins (behind the windows) ── */
#bgfx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .8s ease; }
#bgfx.on { opacity: 1; }
#rain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ── intro / boot screen ── */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; text-align: center;
  background: radial-gradient(60% 60% at 50% 45%, rgba(40, 20, 90, .55), rgba(0, 0, 0, .92)), url(/art/bg.jpg) center / cover; color: #fff; }
.intro-in { display: grid; justify-items: center; gap: 18px; padding: 24px; }
.intro-logo { width: min(340px, 66vw, 46vh); filter: drop-shadow(0 0 30px rgba(255, 196, 60, .7)); animation: introfloat 4s ease-in-out infinite; }
@keyframes introfloat { 50% { transform: translateY(-10px); } }
.intro h1 { margin: 0; font: 300 clamp(26px, 5vw, 44px)/1.1 var(--ui); letter-spacing: .01em; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
.intro h1 b { font-weight: 700; color: #6dff6d; }
.intro .vbar { width: min(320px, 70vw); }
.intro small { color: #c9d4e6; font-size: 12px; }
.intro.out { opacity: 0; transition: opacity .45s ease; pointer-events: none; }

/* ── Aero window ── */
.desk { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 18px 16px 24px;
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.win, .win-c { min-width: 0; }
.win { position: relative; border-radius: 8px 8px 6px 6px; padding: 0 7px 7px; background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(0, 0, 0, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 12px 34px rgba(0, 0, 0, .55); }
.win::before { content: ""; position: absolute; inset: 1px 1px auto; height: 26px; border-radius: 7px 7px 0 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .12) 38%, rgba(255, 255, 255, 0) 39%, rgba(255, 255, 255, .1) 70%, rgba(255, 255, 255, .22)); }
.win-t { position: relative; display: flex; align-items: center; gap: 7px; height: 31px; padding: 0 112px 0 4px; cursor: default; user-select: none; touch-action: none; }
.win-t img { width: 18px; height: 18px; flex: none; }
.win-t h2 { margin: 0; font: 400 13px var(--ui); color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 0 6px #fff, 0 0 10px #fff, 0 0 2px #fff; }
.win-b { position: absolute; top: -1px; right: 3px; display: flex; border: 1px solid rgba(0, 0, 0, .65); border-top: 0; border-radius: 0 0 5px 5px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.win-b button { width: 28px; height: 19px; border: 0; padding: 0; cursor: pointer; position: relative;
  background: linear-gradient(#e9f1f9 0, #cbd9e8 45%, #aec0d4 50%, #c6d6e6 100%); border-right: 1px solid rgba(0, 0, 0, .45); }
.win-b button:hover { background: linear-gradient(#f3fbff 0, #d6ecfa 45%, #a6d3f2 50%, #c3e5fb 100%); }
.win-b .cl { width: 44px; border-right: 0; background: linear-gradient(#f5c1af 0, #dc7a66 45%, #c4442e 50%, #d26b4f 100%); }
.win-b .cl:hover { background: linear-gradient(#ffd2c4 0, #f08a74 45%, #e0412a 50%, #f07b5c 100%); }
.win-b button::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.win-b .mn::after { width: 9px; height: 3px; background: #fff; border: 1px solid #333; top: 62%; }
.win-b .mx::after { width: 10px; height: 8px; border: 1px solid #333; border-top-width: 3px; background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px #fff; }
.win-b .cl::after { content: "✕"; color: #fff; font: 700 12px/1 var(--ui); text-shadow: 0 0 2px #000, 0 1px 1px #000; }
.win-c { background: #fff; border: 1px solid rgba(0, 0, 0, .6); border-radius: 2px; padding: 14px 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.win.min .win-c { display: none; }
.win.closed { display: none; }
.win.flash { animation: winflash .9s ease 2; }
@keyframes winflash { 50% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 0 0 4px rgba(120, 200, 255, .8), 0 12px 34px rgba(0, 0, 0, .55); } }
.win.dragging { z-index: 20; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 22px 60px rgba(0, 0, 0, .65); }
.win.max { position: fixed; inset: 10px 10px 56px; z-index: 30; transform: none !important; display: flex; flex-direction: column; }
.win.max .win-c { flex: 1; overflow: auto; }

/* ── text inside windows ── */
.win-c h1 { margin: 0 0 6px; font: 300 clamp(28px, 3.4vw, 42px)/1.12 var(--ui); color: var(--blue); }
.win-c h1 b { font-weight: 700; color: var(--green-d); }
.win-c h3 { margin: 0 0 6px; font: 400 17px var(--ui); color: var(--blue); }
.lead { margin: 0 0 12px; font-size: 15px; color: #333; max-width: 64ch; }
.sub { margin: 0 0 12px; color: var(--muted); }
.fine { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

/* ── Vista buttons, fields, progress bars ── */
.vbtn { display: inline-flex; align-items: center; gap: 6px; font: 13px var(--ui); color: #000; text-decoration: none; cursor: pointer;
  padding: 5px 16px; min-height: 26px; border: 1px solid #707070; border-radius: 3px;
  background: linear-gradient(#f2f2f2 0, #ebebeb 50%, #dddddd 51%, #cfcfcf 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75); }
.vbtn:hover { border-color: #3c7fb1; background: linear-gradient(#eaf6fd 0, #d9f0fc 50%, #bee6fd 51%, #a7d9f5 100%); }
.vbtn:active { border-color: #2c628b; background: linear-gradient(#e5f4fc 0, #c4e5f6 50%, #98d1ef 51%, #68b3db 100%); }
.vbtn.go { color: #fff; font-weight: 600; border-color: #0b6b0b; text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
  background: linear-gradient(#7ee87e 0, #3ccf3c 50%, #13a813 51%, #3fd13f 100%); }
.vbtn.go:hover { background: linear-gradient(#9cf59c 0, #55e055 50%, #1cbc1c 51%, #55e355 100%); }
.vbtn.big { font-size: 16px; padding: 9px 30px; }
.vbtn[disabled] { opacity: .55; cursor: default; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vfield { font: 13px var(--mono); padding: 6px 8px; border: 1px solid #abadb3; border-top-color: #707070; border-radius: 2px; background: #fff; min-width: 0; }
.vfield:hover, .vfield:focus { border-color: #3c7fb1; outline: none; }
.vbar { position: relative; height: 15px; border: 1px solid #8e8f8f; border-radius: 3px; overflow: hidden;
  background: linear-gradient(#f3f3f3, #d9d9d9 50%, #cbcbcb 51%, #e0e0e0); }
.vbar i { position: absolute; inset: 0 auto 0 0; width: 0; overflow: hidden; transition: width .6s ease;
  background: linear-gradient(#7ff27f 0, #2fd32f 45%, #0ea60e 50%, #36cf36 100%); }
.vbar i::after { content: ""; position: absolute; inset: 0; width: 60px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent); animation: vshine 2.2s linear infinite; }
@keyframes vshine { from { transform: translateX(-60px); } to { transform: translateX(600px); } }

/* ── main window ── */
.banner { display: block; width: 100%; border-radius: 4px; border: 1px solid #9aa9bb; margin-bottom: 14px; }
.ca { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ca span { font-weight: 600; color: var(--blue); }
.ca code { font: 12px var(--mono); background: #f4f7fb; border: 1px solid #c9d4e2; padding: 4px 8px; border-radius: 2px; overflow-wrap: anywhere; }
.tape { margin-top: 14px; overflow: hidden; background: #050c05; border: 1px solid #000; border-radius: 2px; box-shadow: inset 0 0 8px rgba(0, 255, 0, .25); }
.tape-in { display: inline-flex; gap: 26px; padding: 6px 0; white-space: nowrap; animation: tape 60s linear infinite; font: 600 13px var(--mono); color: #3dff3d; text-shadow: 0 0 6px rgba(61, 255, 61, .7); }
.tape-in span::before { content: "★ "; color: #d9ff6d; }
@keyframes tape { to { transform: translateX(-50%); } }
.simbar { margin: 0 0 12px; padding: 8px 12px; border: 1px solid #c9a200; border-radius: 3px; background: linear-gradient(#fff8c4, #ffeb8a); color: #4d3d00; font-size: 12px; }

/* ── next drop gadget (dark glass, like a Vista sidebar gadget) ── */
.gadget .win-c { background: linear-gradient(#1a2440, #070b18); color: #dfe8ff; border-color: #000; }
.gadget .label { font: 12px var(--ui); color: #93a4c8; text-transform: lowercase; }
.countdown { display: block; font: 300 54px/1 var(--ui); color: #fff; letter-spacing: .02em; text-shadow: 0 0 18px rgba(80, 255, 120, .55); margin: 4px 0 6px; }
.gadget #s-nextcoin { display: block; color: #c4d2ef; font-size: 13px; margin-bottom: 10px; }
.gadget .vbar { border-color: #000; background: linear-gradient(#2a3350, #121a30); }

/* ── stats ── */
.numbers { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 0; }
.numbers div { border: 1px solid #d5dde8; border-radius: 3px; padding: 8px 10px; background: linear-gradient(#ffffff, #f2f6fb); }
.numbers dt { font-size: 11px; color: var(--muted); }
.numbers dd { margin: 2px 0 0; font: 600 22px/1.1 var(--ui); color: var(--blue); }
.numbers dd small, .numbers > div > small { display: block; font: 400 11px var(--ui); color: var(--muted); }

/* ── the bag ── */
.now { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.now small { color: #333; }
.now .live { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: livepulse 1.6s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(43, 214, 43, .6); } 70% { box-shadow: 0 0 0 9px rgba(43, 214, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 214, 43, 0); } }
.up { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.chips { display: flex; gap: 5px; flex-wrap: wrap; }
.chip { font: 600 12px var(--ui); padding: 2px 9px; border: 1px solid #8fa8c8; border-radius: 3px; color: #10325c; background: linear-gradient(#fdfeff, #dfeaf7); }
.chip.first, .now .now-chip { border-color: #0b6b0b; color: #fff; background: linear-gradient(#7ee87e 0, #3ccf3c 50%, #13a813 51%, #3fd13f 100%); text-shadow: 0 1px 1px rgba(0, 0, 0, .4); }
.list { max-height: 460px; overflow: auto; border: 1px solid #c9d2de; border-radius: 2px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { position: sticky; top: 0; z-index: 1; text-align: left; font-weight: 400; color: #4c607a; padding: 5px 8px; border-bottom: 1px solid #d5d5d5; border-right: 1px solid #e5e5e5;
  background: linear-gradient(#ffffff, #f1f2f4 50%, #e9ebee 51%, #f5f6f7); }
.tbl td { padding: 5px 8px; border-bottom: 1px solid #f0f2f5; }
.tbl tbody tr:hover td { background: linear-gradient(#f5fafe, #e5f3fb); }
.tbl .r { text-align: right; font-family: var(--mono); }
.tbl .n { color: var(--muted); width: 34px; }
.coin { display: flex; align-items: center; gap: 8px; }
.coin img { width: 22px; height: 22px; border-radius: 50%; background: #eef2f7; }
.coin small { color: var(--muted); }
.w { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; }
.bar { flex: 0 0 90px; height: 9px; border: 1px solid #8e8f8f; border-radius: 2px; background: linear-gradient(#f3f3f3, #d9d9d9); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(#7ff27f, #0ea60e); }

/* ── airdrop log ── */
.rounds { max-height: 420px; overflow: auto; border: 1px solid #c9d2de; border-radius: 2px; }
.round { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-bottom: 1px solid #eef1f5; }
.round:hover { background: linear-gradient(#f5fafe, #e5f3fb); }
.round time { font-size: 12px; color: var(--muted); }
.round .what b { color: #10325c; }
.round .what small { display: block; color: var(--muted); font-size: 12px; }
.round .links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.round .links a { font-size: 12px; padding: 1px 8px; border: 1px solid #8fa8c8; border-radius: 3px; text-decoration: none; color: #10325c; background: linear-gradient(#fdfeff, #dfeaf7); }
.empty { margin: 0; padding: 18px 12px; color: var(--muted); text-align: center; }

/* ── check your bag ── */
.check { display: flex; gap: 6px; }
.check .vfield { flex: 1; }
.w-out { margin-top: 12px; }
.w-out ul { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid #c9d2de; border-radius: 2px; max-height: 260px; overflow: auto; }
.w-out li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-bottom: 1px solid #eef1f5; }
.carry { color: var(--muted); margin: 6px 0 0; }

/* ── how it works / rules ── */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 2px 38px; color: #333; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 700 13px var(--ui); color: #fff; background: radial-gradient(circle at 35% 30%, #8fd8ff, #1f6fbf 60%, #0b3d7a); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), 0 1px 2px rgba(0, 0, 0, .4); }
.steps b { color: #10325c; }
.rules dl { margin: 0; }
.rules dt { font-weight: 600; color: var(--blue); margin-top: 10px; }
.rules dt:first-child { margin-top: 0; }
.rules dd { margin: 2px 0 0; color: #333; }

/* ── FIX6900 FM (Windows Media Player 11 vibe) ── */
.fm .win-c { background: linear-gradient(#3a3d44 0, #17191d 45%, #050506 100%); color: #e8eef8; border-color: #000; padding: 12px; }
.fm-lcd { font: 12px var(--mono); color: #7dff9a; background: #020a04; border: 1px solid #000; border-radius: 3px; padding: 6px 8px; overflow: hidden; white-space: nowrap; box-shadow: inset 0 0 10px rgba(0, 255, 120, .15); }
.fm-lcd span { display: inline-block; padding-left: 100%; animation: tape 14s linear infinite; }
.fm-lcd.idle span { padding-left: 0; animation: none; color: #8aa59a; }
.fm-ctl { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.fm-ctl button { border: 1px solid #000; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; color: #fff; font-size: 12px;
  background: radial-gradient(circle at 50% 30%, #6c7584, #2b3038 60%, #111 100%); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35); }
.fm-ctl .play { width: 44px; height: 44px; font-size: 16px; background: radial-gradient(circle at 50% 28%, #9fe0ff, #2f86d6 55%, #0b3b73 100%); box-shadow: inset 0 1px 2px rgba(255, 255, 255, .7), 0 0 14px rgba(70, 160, 255, .45); }
.fm-ctl button[disabled] { opacity: .45; cursor: default; }
.fm-ctl input[type=range] { flex: 1; accent-color: #2f86d6; min-width: 60px; }

/* ── taskbar + start menu ── */
.taskbar { position: fixed; left: 0; right: 0; bottom: 0; height: 42px; z-index: 50; display: flex; align-items: center; gap: 6px; padding: 0 8px 0 62px;
  background: linear-gradient(rgba(70, 72, 78, .82) 0, rgba(28, 30, 34, .86) 48%, rgba(0, 0, 0, .9) 50%, rgba(10, 12, 16, .92) 100%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 -1px 0 rgba(0, 0, 0, .6); }
.orb { position: absolute; left: 6px; bottom: 2px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .8); padding: 0; cursor: pointer;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%), radial-gradient(circle, #1a2a4a 0, #050a14 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 0 14px rgba(110, 170, 255, .5); }
.orb img { width: 40px; height: 40px; display: block; margin: auto; }
.orb:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 0 22px rgba(120, 255, 160, .75); }
.tasks { display: flex; gap: 4px; flex: 1; min-width: 0; overflow: hidden; }
.tasks button { display: flex; align-items: center; gap: 6px; max-width: 160px; min-width: 0; height: 32px; padding: 0 10px; cursor: pointer; color: #fff; font: 12px var(--ui);
  border: 1px solid rgba(0, 0, 0, .8); border-radius: 3px; background: linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 50%, rgba(255, 255, 255, 0) 51%, rgba(255, 255, 255, .08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.tasks button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tasks button img { width: 16px; height: 16px; }
.tasks button:hover { background: linear-gradient(rgba(140, 200, 255, .45), rgba(80, 150, 230, .25) 50%, rgba(40, 110, 200, .2) 51%, rgba(90, 160, 240, .35)); }
.tasks button.off { opacity: .55; }
.tray { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 12px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .15); white-space: nowrap; }
.tray a { color: #cfe3ff; text-decoration: none; }
.status { display: inline-flex; align-items: center; gap: 6px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #f0b400; box-shadow: 0 0 6px #f0b400; }
.status.live i { background: var(--green); box-shadow: 0 0 6px var(--green); }
.start { position: fixed; left: 6px; bottom: 46px; z-index: 60; width: 280px; border-radius: 8px 8px 4px 4px; padding: 8px;
  background: linear-gradient(rgba(30, 38, 56, .9), rgba(8, 10, 18, .94)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, .8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 12px 40px rgba(0, 0, 0, .6); color: #fff; }
.start-h { display: flex; align-items: center; gap: 10px; padding: 4px 6px 10px; border-bottom: 1px solid rgba(255, 255, 255, .15); margin-bottom: 6px; }
.start-h img { width: 40px; height: 40px; }
.start-h b { font: 600 15px var(--ui); }
.start a { display: block; padding: 6px 10px; border-radius: 3px; color: #fff; text-decoration: none; }
.start a:hover { background: linear-gradient(rgba(140, 200, 255, .4), rgba(60, 130, 220, .3)); }

/* ── docs (one big Help window) ── */
.docs-desk { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 18px 16px 24px; }
.docs-c { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0; padding: 0 !important; }
.toc { padding: 12px 10px; border-right: 1px solid #c9d2de; background: linear-gradient(90deg, #eef4fb, #f8fbfe); }
.toc b { display: block; color: var(--blue); margin: 0 0 6px 6px; }
.toc a { display: block; padding: 4px 6px; border-radius: 3px; text-decoration: none; color: #10325c; }
.toc a:hover { background: linear-gradient(#f5fafe, #ddeefa); box-shadow: inset 0 0 0 1px #b8d6fb; }
.doc { padding: 16px 22px 26px; font-size: 14px; color: #333; max-width: 80ch; }
.doc h1 { margin: 0 0 4px; font: 300 32px/1.15 var(--ui); color: var(--blue); }
.doc h2 { margin: 26px 0 6px; font: 400 19px var(--ui); color: var(--blue); }
.doc .eyebrow { margin: 0; color: var(--muted); font-size: 12px; }
.doc li { margin: 3px 0; }
.doc .eg { border: 1px solid #c9d4e2; border-radius: 3px; background: #f4f8fd; padding: 8px 14px; }
.doc .faq dt { font-weight: 600; color: #10325c; margin-top: 10px; }
.doc .faq dd { margin: 2px 0 0; }

/* ── phones / small screens ── */
@media (max-width: 960px) {
  .desk { grid-template-columns: 1fr; }
  .col { display: contents; }            /* one column: windows in reading order, not column order */
  /* reading order on phones (inline styles are blocked by the site's CSP, so it lives here) */
  #w-main { order: 1; } #w-ca { order: 2; } #w-next { order: 3; } #w-stats { order: 4; } #wallet { order: 5; } #basket { order: 6; }
  #log { order: 7; } #w-chart { order: 8; } #w-how { order: 9; } #rules { order: 10; } #w-fm { order: 11; }
  .win-t { touch-action: auto; }
  .numbers { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .desk, .docs-desk { padding: 12px 10px 20px; gap: 14px; }
  .col { gap: 14px; }
  .win-c { padding: 12px; }
  .win-b button { width: 24px; } .win-b .cl { width: 36px; }
  .win-t { padding-right: 92px; }
  .numbers { grid-template-columns: 1fr; }
  .tbl .mc, .coin small { display: none; }
  .bar { flex-basis: 44px; }
  .round { grid-template-columns: 1fr; gap: 4px; }
  .round .links { justify-content: flex-start; }
  .tasks { display: none; }
  .countdown { font-size: 44px; }
  .docs-c { grid-template-columns: 1fr; }
  .toc { border-right: 0; border-bottom: 1px solid #c9d2de; }
}
@media (prefers-reduced-motion: reduce) {
  .tape-in, .fm-lcd span, .intro-logo, .vbar i::after, .now .live { animation: none; }
}
.win-b a.cl::after { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* the close button refuses: a quick shake (windows can't be closed) */
.win.nope { animation: nope .42s ease; }
@keyframes nope { 0%, 100% { translate: 0; } 20% { translate: -9px; } 40% { translate: 8px; } 60% { translate: -6px; } 80% { translate: 4px; } }
@media (prefers-reduced-motion: reduce) { .win.nope { animation: none; } }

/* live electricity over the FIX6900 emblem (desktop.js draws it) */
.zap { position: relative; }
.zap img { display: block; width: 100%; }
.zap canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.banner.zap { overflow: hidden; }

/* visualizer in the FM window */
.fm-viz { display: block; width: 100%; height: 46px; margin-top: 8px; background: #010402; border: 1px solid #000; border-radius: 3px; }

/* ── live chart window (full width, at the bottom) ── */
.chartwin { grid-column: 1 / -1; }
.cstats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 8px; margin-bottom: 10px; }
.cstats > div { border: 1px solid #d5dde8; border-radius: 3px; padding: 7px 10px; background: linear-gradient(#ffffff, #f2f6fb); min-width: 0; }
.cstats span { display: block; font-size: 11px; color: var(--muted); }
.cstats b { display: block; font: 600 19px/1.15 var(--ui); color: var(--blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cstats b.up { color: #0a9a0a; } .cstats b.down { color: #c62828; }
.cstats .clive { display: flex; align-items: center; gap: 7px; font: 700 13px var(--ui); color: #0a7a0a; }
.clive i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.cbox { background: #030805; border: 1px solid #000; border-radius: 3px; overflow: hidden; }
.cbar { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-bottom: 1px solid #0c2a14; flex-wrap: wrap; }
.cfile { font: 600 12px var(--mono); color: #3dff6d; margin-right: auto; text-shadow: 0 0 6px rgba(61, 255, 109, .5); }
.ctog { display: flex; gap: 4px; }
.ctog button { font: 600 11px var(--mono); color: #cfe9d4; background: linear-gradient(#26302a, #121915); border: 1px solid #000; border-radius: 3px; padding: 3px 8px; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.ctog button.on { color: #021; background: linear-gradient(#7ee87e, #2bd62b 50%, #13a813 51%, #3fd13f); }
.cwrap { position: relative; }
#chart { display: block; width: 100%; height: 340px; cursor: crosshair; }
.cempty { position: absolute; inset: 0; display: grid; place-items: center; font: 600 14px var(--mono); color: #7fbf8c; background: #030805; text-align: center; padding: 20px; }
.cfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.cfoot .btns { margin: 0; }
@media (max-width: 960px) { .cstats { grid-template-columns: repeat(3, minmax(0, 1fr)); } #chart { height: 260px; } }
@media (max-width: 640px) { .cstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cstats b { font-size: 16px; } }
.win-b a.cl { display: block; position: relative; }

/* desktop: the airdrop log stretches to the bottom of the right-hand column (and scrolls inside) */
@media (min-width: 961px) {
  .desk { align-items: stretch; }
  .col { display: flex; flex-direction: column; }
  #log { flex: 1 1 auto; display: flex; flex-direction: column; }
  #log .win-c { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
  #log .rounds { flex: 1 1 0; min-height: 220px; max-height: none; display: flex; flex-direction: column; }
  #log .rounds .empty { margin: auto; }
  #log.min { flex: 0 0 auto; }
  #rules:not(.min) { flex: 1 1 auto; display: flex; flex-direction: column; }   /* and the right column's last window stretches too, so both end level */
  #rules .win-c { flex: 1 1 auto; }
}

/* docs window: opens maximized over the desktop; the FM player docks bottom-left on top of it */
.docswin.max .win-c { padding: 0; }
.docswin .docs-c { display: grid; }
.win.fm.docked { position: fixed; left: 8px; bottom: 44px; width: min(320px, calc(100vw - 16px)); z-index: 35; transform: none !important; }
.win.fm.docked .fm-viz { height: 30px; }
@media (max-width: 960px) { .docswin.max .docs-c { grid-template-columns: 1fr; } .docswin .toc { display: none; } .win.fm.docked { bottom: 40px; } }

.docswin .docs-c { background: linear-gradient(90deg, #eef2fc 200px, #fff 200px); align-items: start; }
.docswin .toc { position: sticky; top: 0; background: none; border-right: 0; }
.docswin .doc { padding-bottom: 220px; }          /* room to read the end above the docked radio */
@media (max-width: 960px) { .docswin .docs-c { background: #fff; } }
