:root { --orange: #FF5E00; --black: #050505; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--orange); color: #000; font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: 12px 10px 20px; touch-action: manipulation; }
.top { width: min(960px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.top a.back { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: #000; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.top a.back:hover { color: #fff; }
.sticker { display: inline-block; padding: 5px 10px; background: #000; color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 0 0 3px #fff; }
.langs { display: inline-flex; gap: 2px; background: #0c0c0c; border: 2px solid #2a2a2a; border-radius: 999px; padding: 3px; }
.langs button { padding: 4px 10px; border-radius: 999px; border: 0; background: none; color: #9a938d; font: inherit; font-weight: 700; letter-spacing: .1em; font-size: 12px; cursor: pointer; }
.langs button.on { background: var(--orange); color: #000; }
.device { position: relative; width: min(960px, 100%); border-radius: 26px; background: linear-gradient(180deg, #262626 0%, #141414 38%, #070707 100%); border: 3px solid #0b0b0b; box-shadow: 0 0 0 3px rgba(255, 150, 80, .55), 0 22px 46px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -5px 0 rgba(0, 0, 0, .75); padding: 14px; }
.screen { position: relative; width: 100%; background: #000; border-radius: 14px; overflow: hidden; border: 3px solid #000; box-shadow: inset 0 0 0 2px #1a1a1a, inset 0 0 40px rgba(0, 0, 0, .8); }
canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; background: #1b1d19; touch-action: none; }
.ov { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px; color: #fff; background: rgba(0, 0, 0, .8); overflow-y: auto; }
.ov.on { display: flex; }
.ov h1, .ov h2 { font-family: "Press Start 2P", monospace; text-transform: uppercase; color: var(--orange); margin: 0 0 8px; line-height: 1.5; text-shadow: 3px 3px 0 #000; }
.ov h1 { font-size: clamp(13px, 3vw, 26px); } .ov h2 { font-size: clamp(12px, 2.4vw, 20px); }
.ov p { margin: 3px 0; font-size: clamp(13px, 1.8vw, 17px); color: #d8d2cc; font-weight: 600; letter-spacing: .04em; }
.ov .big { font-family: "Press Start 2P", monospace; font-size: clamp(16px, 3vw, 30px); color: #fff; margin: 8px 0; }
.ov .muted { color: #8C8580; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.portrait { width: clamp(64px, 12vw, 112px); height: auto; image-rendering: pixelated; border: 3px solid #0b0b0b; border-radius: 10px; box-shadow: 0 0 0 2px var(--orange), 0 10px 24px rgba(0, 0, 0, .6); margin-bottom: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; margin: 10px 4px 0; padding: 9px 26px 11px; border-radius: 999px; border: 0; cursor: pointer; background: linear-gradient(180deg, #FF9A55 0%, var(--orange) 50%, #D64D00 100%); color: #1B0A00; font-family: "Press Start 2P", monospace; font-size: clamp(9px, 1.5vw, 13px); text-transform: uppercase; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35), inset 0 -5px 0 rgba(0, 0, 0, .3), 0 10px 20px rgba(0, 0, 0, .35), 0 0 0 3px #0b0b0b; transition: transform .12s; }
.btn:hover { transform: translateY(-2px); } .btn:active { transform: translateY(1px); }
.btn.ghost { background: linear-gradient(180deg, #303030 0%, #121212 45%, #030303 100%); color: var(--orange); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), inset 0 -5px 0 rgba(0, 0, 0, .85), 0 10px 20px rgba(0, 0, 0, .38), 0 0 0 3px rgba(255, 150, 80, .55); }
.btn.sm { padding: 6px 14px 7px; font-size: 8px; margin-top: 6px; }
.row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; width: 100%; }
.tile { flex: 0 1 150px; background: linear-gradient(180deg, #2a2a2a, #111); border: 3px solid #0b0b0b; border-radius: 12px; padding: 8px 8px 10px; cursor: pointer; text-align: center; box-shadow: 0 0 0 2px rgba(255, 150, 80, .35), 0 8px 18px rgba(0, 0, 0, .5); color: #fff; transition: transform .12s; position: relative; }
.tile:hover { transform: translateY(-2px); }
.tile.on { box-shadow: 0 0 0 3px var(--orange), 0 10px 22px rgba(0, 0, 0, .6); }
.tile.locked { opacity: .45; cursor: default; }
.tile .ic { display: block; width: 40px; height: 40px; margin: 0 auto 6px; image-rendering: pixelated; object-fit: contain; }
.tile b { display: block; font-family: "Press Start 2P", monospace; font-size: 8px; color: var(--orange); line-height: 1.5; }
.tile span { display: block; font-size: 12px; color: #d8d2cc; font-weight: 600; margin-top: 4px; line-height: 1.25; }
.tile i { display: block; font-style: normal; font-size: 10px; color: #8C8580; margin-top: 4px; text-transform: uppercase; letter-spacing: .1em; }
.opts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.opts button { border: 2px solid #333; background: #0c0c0c; color: #b3aba5; border-radius: 999px; padding: 5px 12px; font: inherit; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.opts button.on { background: var(--orange); color: #000; border-color: var(--orange); }
.opts button[disabled] { opacity: .4; cursor: default; }
.cards { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; width: 100%; }
.card { flex: 1 1 150px; max-width: 220px; background: linear-gradient(180deg, #2a2a2a, #111); border: 3px solid #0b0b0b; border-radius: 14px; padding: 12px 10px 14px; cursor: pointer; text-align: center; box-shadow: 0 0 0 2px rgba(255, 150, 80, .45), 0 10px 24px rgba(0, 0, 0, .5); color: #fff; transition: transform .12s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--orange), 0 14px 28px rgba(0, 0, 0, .6); }
.card.evo { background: linear-gradient(180deg, #4a2a00, #1a0d00); box-shadow: 0 0 0 3px var(--orange), 0 0 24px rgba(255, 94, 0, .5); }
.card .ic { display: block; width: 48px; height: 48px; margin: 0 auto 8px; image-rendering: pixelated; object-fit: contain; }
.card b { display: block; font-family: "Press Start 2P", monospace; font-size: 9px; color: var(--orange); line-height: 1.5; min-height: 28px; }
.card span { display: block; font-size: 14px; color: #d8d2cc; font-weight: 600; margin-top: 6px; line-height: 1.3; }
.card i { display: block; font-style: normal; font-size: 11px; color: #8C8580; margin-top: 6px; text-transform: uppercase; letter-spacing: .1em; }
.goals { width: min(520px, 100%); margin-top: 8px; text-align: left; }
.goal { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px solid #222; font-size: 13px; }
.goal b { font-family: "Press Start 2P", monospace; font-size: 7px; color: var(--orange); min-width: 110px; line-height: 1.4; }
.goal .bar { flex: 1; height: 6px; background: #222; border-radius: 3px; overflow: hidden; }
.goal .bar i { display: block; height: 100%; background: var(--orange); }
.goal .pct { color: #8C8580; font-size: 11px; min-width: 36px; text-align: right; }
.build { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.build img { width: 24px; height: 24px; image-rendering: pixelated; object-fit: contain; background: #111; border: 2px solid #333; border-radius: 6px; padding: 2px; }
.build img.e { border-color: var(--orange); }
.booklist { width: min(560px, 100%); margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; text-align: left; }
.page { background: #111; border: 2px solid #2a2a2a; border-radius: 10px; padding: 8px 10px; font-size: 12px; color: #b3aba5; }
.page.done { border-color: var(--orange); color: #fff; }
.page b { display: block; font-family: "Press Start 2P", monospace; font-size: 7px; color: var(--orange); line-height: 1.5; }
.page.done b::after { content: " \2713"; }
.page small { display: block; color: #8C8580; font-size: 10px; margin-top: 2px; text-transform: uppercase; letter-spacing: .08em; }
.banner { position: absolute; left: 0; right: 0; top: 22%; text-align: center; pointer-events: none; font-family: "Press Start 2P", monospace; color: var(--orange); font-size: clamp(11px, 2.4vw, 20px); text-shadow: 3px 3px 0 #000, 0 0 16px rgba(0, 0, 0, .8); opacity: 0; transition: opacity .25s; text-transform: uppercase; }
.banner.on { opacity: 1; }
.banner small { display: block; font-size: 55%; color: #fff; margin-top: 6px; }
.hint { width: min(960px, 100%); margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: #2a1200; }
.hint button { border: 0; background: none; font: inherit; font-weight: 800; cursor: pointer; color: #000; text-transform: uppercase; letter-spacing: .1em; }
.hint button:hover { color: #fff; }
/* title: one row of tiles, one row of buttons, so Start stays in view */
.picks { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; width: 100%; margin-top: 6px; }
.picks .row { width: auto; margin-top: 0; flex-wrap: nowrap; }
.picks .tile { flex: 0 1 128px; }
.tbtns { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 2px; }
.tbtns .btn { margin: 8px 0 0; padding-left: 18px; padding-right: 18px; }
#ov-title .portrait { width: clamp(52px, 8vw, 96px); margin-bottom: 4px; }
@media (max-height: 820px) { #ov-title .tile span { display: none; } #ov-title .tile { padding: 6px 6px 8px; } #ov-title .tile .ic { width: 32px; height: 32px; margin-bottom: 4px; } }
/* accounts + leaderboard */
.ov.form { justify-content: flex-start; padding-top: 18px; background: rgba(5, 5, 5, .96); }
.abox { width: min(440px, 100%); }
.acc-line { max-width: 520px; margin-top: 6px; }
.af { width: 100%; text-align: left; margin-top: 6px; }
.af label { display: block; font-size: 13px; color: #d8d2cc; font-weight: 700; letter-spacing: .04em; margin: 8px 0; }
.af input[type=text], .af input[type=email], .af input[type=password] { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border-radius: 10px; border: 2px solid #333; background: #0c0c0c; color: #fff; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.af input:focus { outline: none; border-color: var(--orange); }
.af .chk { display: flex; gap: 9px; align-items: flex-start; font-weight: 600; line-height: 1.35; cursor: pointer; }
.af .chk input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange); }
.af .btn { width: 100%; margin-top: 6px; }
.af.busy { opacity: .6; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { font-size: 12px !important; color: #9a938d !important; line-height: 1.4; font-weight: 600; }
.fine.nltext { font-size: 14px !important; color: #d8d2cc !important; text-align: left; }
.fine a, .chk a { color: var(--orange); }
.amsg { min-height: 1.2em; color: #FF9A55 !important; font-size: 13px !important; }
.afoot { margin-top: 12px !important; font-size: 12px !important; }
.lnk { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--orange); text-decoration: underline; cursor: pointer; }
.lnk:hover { color: #fff; }
.atabs { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin: 4px 0 6px; }
.atabs button { border: 2px solid #333; background: #0c0c0c; color: #b3aba5; border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.atabs button.on { background: var(--orange); color: #000; border-color: var(--orange); }
.abtns { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.abtns .btn { flex: 1 1 160px; }
.bdgs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 6px 0; }
.bdg { display: inline-block; padding: 3px 8px; border-radius: 999px; background: #1d1007; border: 2px solid var(--orange); color: #FFB37A; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-left: 6px; vertical-align: middle; }
.bdgs .bdg { margin-left: 0; }
.pbest { list-style: none; padding: 0; margin: 8px 0; text-align: left; }
.pbest li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #222; font-size: 13px; color: #d8d2cc; font-weight: 700; }
.pbest b { font-family: "Press Start 2P", monospace; font-size: 7px; color: var(--orange); line-height: 1.6; }
.nlst { font-size: 13px !important; }
.rank { color: #FFB37A !important; font-weight: 800 !important; }
.blist { width: min(520px, 100%); text-align: left; }
.blist ol { list-style: none; margin: 4px 0; padding: 0; }
.blist li { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-bottom: 1px solid #222; font-size: 14px; color: #d8d2cc; font-weight: 700; }
.blist li.you { background: #2a1405; border-radius: 8px; }
.blist li i { font-style: normal; font-family: "Press Start 2P", monospace; font-size: 8px; color: #8C8580; min-width: 26px; text-align: right; }
.blist li b { flex: 1; color: #fff; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blist li span { font-family: "Press Start 2P", monospace; font-size: 9px; color: var(--orange); }
.blist li .bdg { font-size: 9px; padding: 1px 5px; }
@media (max-width: 600px) {
  body { padding: 8px 6px 14px; } .device { padding: 8px; border-radius: 18px; } .screen { border-radius: 10px; } .top a.back span.t { display: none; }
  .ov { padding: 8px; justify-content: flex-start; padding-top: 14px; }
  .tile { flex-basis: 100px; padding: 6px; } .tile .ic { width: 30px; height: 30px; } .tile span { display: none; }
  .cards { flex-direction: column; align-items: stretch; } .card { max-width: none; display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px 10px; } .card .ic { margin: 0; width: 36px; height: 36px; flex: none; } .card b { min-height: 0; } .card span { font-size: 12px; margin-top: 2px; } .card i { margin-top: 2px; }
  .booklist { grid-template-columns: 1fr; }
  .picks .tile { flex-basis: 100px; } .tbtns .btn { padding-left: 14px; padding-right: 14px; }
}

.ov.wait { pointer-events: none; opacity: .6; }
.hint .legal a { color: #2a1200; text-decoration: none; } .hint .legal a:hover { color: #fff; }
