/* The redesign prototype: a layer over app.css (loaded after it), so the game underneath is untouched and this file can
   be dropped to get the current look back. Same screens, same buttons, same game: a calmer top of the map with more
   room for the map itself, cards that read at a glance, and a drill screen where the question is the loudest thing. */
:root {
  --bg: #060a15; --node: rgba(14, 21, 42, .9); --glass: rgba(10, 16, 33, .86); --line: rgba(150, 185, 255, .13);
  --line-2: rgba(150, 185, 255, .26); --amber: #ffc875; --text: #e9eeff; --muted: #94a0c2; --faint: #5d6889;
}
body { font-family: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
button:focus-visible, a:focus-visible, .node:focus-visible, .tile.click:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ------------------------------------------------------------- buttons */
.ghost, .small { border-radius: 99rem; background: rgba(150, 185, 255, .04); }
.small { border-radius: 99rem; }
.go { border-radius: 99rem; padding: 1.15rem 2.4rem; letter-spacing: -.005em;
      background: linear-gradient(100deg, #6ff0da, #9db8ff); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 .9rem 2.8rem -.9rem rgba(94, 234, 212, .75); }
.go:hover { transform: translateY(-.15rem); filter: brightness(1.08); }
kbd { padding: .1rem .55rem; border-radius: .5rem; background: rgba(6, 18, 26, .14); opacity: .7; font-size: calc(1.05rem * var(--f)); }

/* ------------------------------------------------------------- home: the top
   Two short rows where there were four: the courses and the everyday extras on one line, the greeting and your numbers
   on the next. The map gets the height back. */
#home { padding: 1.6rem 2.6rem 0; }
.homehead { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; flex-wrap: nowrap; }
.hrow { display: flex; align-items: center; gap: 1rem 2.4rem; min-width: 0; }
.hrow .hello { flex: 1 1 0; min-width: 0; } .hrow .headright { flex: none; max-width: 100%; }
.trackpick { flex: none; margin: 0; padding: .35rem; border-radius: 99rem; background: rgba(10, 16, 33, .82); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.trackpick::-webkit-scrollbar { display: none; }
.trackpick button { padding: .55rem 1.35rem; border-radius: 99rem; white-space: nowrap; font-weight: 550; }
.trackpick button.on { background: linear-gradient(100deg, rgba(94, 234, 212, .2), rgba(157, 184, 255, .16)); color: #dffcf6; box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .4); }
.tools { margin: 0; }
.tools .lbl { display: none; }
.tools button { padding: .45rem 1rem; border-radius: 99rem; }
.tools button + button::before { content: none; }
.tools button:hover { background: var(--cyan-soft); }
.tools .readbtn { box-shadow: inset 0 0 0 1px currentColor; opacity: .9; margin-left: .4rem; }
.hello h1 { margin: 0; font-weight: 300; font-size: calc(2.9rem * var(--f)); letter-spacing: -.025em; line-height: 1.15; min-width: 0; }
.hello h1.two { font-size: calc(2.1rem * var(--f)); }
.hello h1 em { background: none; -webkit-background-clip: border-box; color: var(--amber); text-shadow: 0 0 2.4rem rgba(255, 200, 117, .35); }
.tiles { gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }
.tile { display: flex; align-items: baseline; gap: .7rem; min-width: 0; padding: .65rem 1.3rem; border-radius: 99rem; background: rgba(10, 16, 33, .82); backdrop-filter: none; white-space: nowrap; }
.tile b { display: inline; font-size: calc(1.55rem * var(--f)); font-weight: 650; font-variant-numeric: tabular-nums; }
.tile span { font-size: calc(1.15rem * var(--f)); }
.tile.off b, .tile.upd b { padding: 0; font-size: calc(1.3rem * var(--f)); }
.tile.click { border-color: rgba(251, 191, 36, .28); }
.tile.click:hover { border-color: rgba(251, 191, 36, .6); background: rgba(251, 191, 36, .07); }
a.tile { text-decoration: none; } #hwFree span { display: none; }

/* ------------------------------------------------------------- home: the map */
.map { margin-top: 1.6rem; }
.cols { gap: 3rem 2.2rem; }
.col { gap: .7rem; }
.colhead { margin-bottom: .5rem; padding-bottom: .9rem; position: relative; }
.colhead .n { color: var(--cyan); opacity: .75; font-weight: 600; letter-spacing: .18em; font-size: calc(1rem * var(--f)); }
.colhead .t { color: var(--text); font-weight: 550; font-size: calc(1.45rem * var(--f)); min-height: 3.7rem; margin-top: .2rem; }
.colhead .chbar { position: absolute; left: 0; right: 0; bottom: 0; height: .3rem; border-radius: .3rem; background: rgba(150, 185, 255, .1); overflow: hidden; }
.colhead .chbar i { display: block; height: 100%; border-radius: .3rem; background: linear-gradient(90deg, var(--cyan), #a3e635); transition: width .9s var(--ease); }
.colhead .chn { position: absolute; right: 0; top: .1rem; font-size: calc(1rem * var(--f)); color: var(--faint); font-variant-numeric: tabular-nums; }
.node { grid-template-columns: 3rem 1fr; gap: .9rem; padding: .7rem 1rem .7rem .7rem; border-radius: 1.2rem; backdrop-filter: none; background: var(--node); }
.node:hover { transform: none; border-color: var(--line-2); background: rgba(22, 32, 62, .95); }
.node .ring { width: 3rem; height: 3rem; }
.node .t { font-size: calc(1.28rem * var(--f)); line-height: 1.22; color: var(--text); }
.node.fresh .t { color: #b6c0dc; }
.node.on { background: linear-gradient(120deg, rgba(94, 234, 212, .2), rgba(157, 184, 255, .12)); box-shadow: 0 0 0 1px var(--cyan), 0 0 2.6rem -.8rem rgba(94, 234, 212, .7); }
.node.on .t { color: #fff; }
.node.feeds { background: rgba(94, 234, 212, .05); }
.edges path { stroke: rgba(150, 185, 255, .1); }
.maptip { border-radius: 1.2rem; border-color: var(--line-2); box-shadow: 0 1.6rem 4rem -1.2rem rgba(0, 0, 0, .8); padding: 1.1rem 1.3rem; }

/* ------------------------------------------------------------- home: the bar at the bottom */
.dock { padding: 1rem 1rem 1rem 2.2rem; border-radius: 99rem; background: rgba(9, 14, 30, .94); border-color: var(--line-2); backdrop-filter: none;
        box-shadow: 0 2.4rem 6rem -1.6rem rgba(0, 0, 0, .9), 0 0 0 .6rem rgba(6, 10, 21, .35); }
body.chill .dock, .dock.tight, .dock.tighter { border-radius: 2.4rem; }
.dock .what b { font-weight: 600; }
.dockrow .acts { gap: .6rem; }
.dockrow .acts .ghost { border-color: transparent; background: transparent; color: var(--muted); padding: .9rem 1.2rem; }
.dockrow .acts .ghost:hover { color: var(--text); background: rgba(150, 185, 255, .08); }
.dockrow .acts .go { margin-left: .6rem; }
.go.empty { filter: none; background: rgba(150, 185, 255, .1); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.go.suggest { filter: none; }
.legal { background: transparent; }

/* ------------------------------------------------------------- drilling: the top row */
#drill, #progress, #bounty { padding: 1.4rem 2.2rem 1.8rem; }
.drillhead { gap: 1.2rem; margin-bottom: 1.2rem; }
.drillhead .ghost { padding: .75rem 1.3rem; color: var(--muted); }
.drillhead .ghost:hover { color: var(--text); }
.crumb { font-weight: 550; }
.crumb .sec { padding: .25rem .8rem; border-radius: .7rem; background: var(--cyan-soft); font-variant-numeric: tabular-nums; }
.tierpill { letter-spacing: .04em; }
.score { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- drilling: the three columns */
.drillbody { gap: 1.4rem; }
.glass { border-radius: 1.6rem; backdrop-filter: none; background: var(--glass); }
.side h4 { color: var(--cyan); opacity: .75; letter-spacing: .18em; font-weight: 600; }
.meter { border-radius: .9rem; }
.meter.current { background: linear-gradient(100deg, rgba(94, 234, 212, .16), rgba(157, 184, 255, .08)); box-shadow: inset .25rem 0 0 var(--cyan); }
.meter .bar { height: .35rem; }

.qcol { gap: 1.3rem; }
.card { border-radius: 1.3rem; background: rgba(12, 18, 37, .9); padding: 1.2rem 1.5rem; }
.card .cardtitle { letter-spacing: .01em; }
.why { border-radius: .9rem; border-left-width: .25rem; }
/* the question itself: the biggest, brightest words on the screen */
.prompt { font-size: calc(2.05rem * var(--f)); line-height: 1.55; letter-spacing: -.008em; color: #fff; padding: .4rem 0 .2rem; text-wrap: pretty; }
.verdict { font-size: calc(2.1rem * var(--f)); font-weight: 650; letter-spacing: -.015em; }
.feedback:not(:empty) { border-radius: 1.3rem; background: rgba(12, 18, 37, .9); padding: 1.4rem 1.6rem; }
.feedback h5 { color: var(--cyan); opacity: .75; letter-spacing: .18em; font-weight: 600; }
.actions .label { text-transform: uppercase; letter-spacing: .12em; font-size: calc(1rem * var(--f)); }
#after .go { padding: 1.1rem 2.2rem; }

/* the answers to pick from */
.choices { gap: 1rem; }
.choice { border-radius: 1.3rem; padding: 1.3rem 1.6rem; gap: 1.4rem; background: rgba(12, 18, 37, .92); transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.choice:hover:not(:disabled) { transform: translateY(-.15rem); border-color: rgba(94, 234, 212, .6); background: rgba(94, 234, 212, .06); box-shadow: 0 1rem 2.6rem -1.2rem rgba(94, 234, 212, .5); }
.choice .letter { border-radius: 50%; width: 3.2rem; height: 3.2rem; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.choice:hover:not(:disabled) .letter { box-shadow: inset 0 0 0 1px var(--cyan); color: var(--cyan); }
.choice.right { box-shadow: 0 0 2.6rem -1rem rgba(74, 222, 128, .6); } .choice.right .letter, .choice.wrong .letter { box-shadow: none; }

/* progress and bounty pages share the calmer panels */
.pg-tabs { border-radius: 99rem; } .pg-tabs button { border-radius: 99rem; }

@media (max-width: 1180px) {
  .hrow { flex-wrap: wrap; } .hrow .headright { margin-left: 0; align-items: flex-start; } .hrow .hello { flex-basis: 100%; }
  .tools, .tiles { justify-content: flex-start; }
}
@media (max-width: 760px) {
  #home { padding: 1.2rem 1.4rem 0; }
  .hello h1 { font-size: calc(2.2rem * var(--f)); }
  .tile span { display: none; } .tile.click span { display: inline; }
  .dock { border-radius: 2rem; padding: 1rem 1.2rem; }
}

/* the Ocean tab fades the top's right side away, as before (the header is two rows here) */
#home .hrow > .headright { transition: opacity .35s var(--ease); }
body.chill #home .hrow > .headright { opacity: 0 !important; visibility: hidden; pointer-events: none; transition: opacity 2.6s .3s var(--ease), visibility 0s 2.9s; }
/* the bar stays a sensible width, so the footer fits beside it */
.dock #whatsub { max-width: 38rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
