/* (c) Glowabouts. All rights reserved. The website's own look, and a pretend desktop. */
@font-face { font-family: "Cherry Bomb One"; src: url("/fonts/cherry-bomb-one.woff2") format("woff2"); font-display: swap; }
:root {
  --night: #0D1020; --night-page: #0F152B; --dusk: #1B264E; --mist: #9BA3C0; --moon: #EEF2FF; --aura: #3A6EFF; --ice: #7FDCFF; --wisp: #D6F5FF;
  --ink: #14112D; --butter: #FFF1C4; --cream: #FFFAE8; --gold: #FFCD6E; --peach: #FFA05C; --text: #C9D0E6; --haze: #B4BBD4; --line: rgba(155, 163, 192, 0.2);
  --card: linear-gradient(rgba(238, 242, 255, 0.045), rgba(238, 242, 255, 0.045)), rgba(8, 11, 24, 0.65);
  --round: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", Nunito, Quicksand, system-ui, sans-serif;
  --display: "Cherry Bomb One", var(--round);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text); font: 15px/1.5 var(--sans); overflow-x: hidden; background: var(--night) linear-gradient(180deg, var(--night) 0%, var(--night-page) 45%, var(--dusk) 100%); }
a { color: var(--ice); text-underline-offset: 3px; }
a:hover { color: var(--wisp); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 18px 6px; }
.home img { display: block; height: 30px; width: auto; }
h1 { margin: 0; flex: 1; text-align: center; font: 400 clamp(1.15rem, 0.9rem + 1vw, 1.7rem)/1.12 var(--display); font-synthesis: none; color: var(--moon); }
.get-btn { display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer; padding: 10px 22px; border-radius: 999px; text-decoration: none; white-space: nowrap; font: 800 clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem)/1 var(--round); font-synthesis: none; color: var(--ink); background: linear-gradient(180deg, var(--butter) 0%, var(--gold) 55%, var(--peach) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 24px rgba(255, 160, 92, 0.35), 0 0 36px rgba(255, 205, 110, 0.32); transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.2s; }
.get-btn:hover { color: var(--ink); transform: translateY(-2px) scale(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 32px rgba(255, 160, 92, 0.45), 0 0 56px rgba(255, 205, 110, 0.45); }
.get-btn:active { transform: translateY(1px) scale(0.98); }
.get-btn.small { padding: 0.7em 1.4em; font-size: 1em; }
/* Steam is the gold button; itch.io its smaller outlined sibling beside it (not in the header: the title stays centred over the desktop) */
.itch-link { display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap; font: 800 clamp(0.84rem, 0.8rem + 0.22vw, 0.96rem)/1 var(--round); font-synthesis: none; color: var(--butter); background: rgba(9, 14, 34, 0.55); border: 1px solid rgba(255, 205, 110, 0.5); transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1), border-color 0.2s, background 0.2s, color 0.2s; }
.itch-link:hover { color: var(--cream); transform: translateY(-2px); border-color: rgba(255, 205, 110, 0.9); background: rgba(52, 38, 30, 0.72); }
.itch-link:active { transform: translateY(1px); }
/* (a row of buttons, and in the card the pair in it, wrapping as one; positioned: the film's shadow would lie over the row) */
.row, .pair { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 0; }
.row { position: relative; }
.wbody .row { gap: 0.6em 0.7em; margin: 0; }
.win .itch-link { padding: 0.6em 1.2em; font-size: 0.88em; }

main { display: flex; flex-direction: column; align-items: center; padding: 0 16px; }
.picks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; padding: 2px 0 10px; }
.looks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.look { font: 700 0.92rem/1 var(--round); font-synthesis: none; color: var(--moon); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; cursor: pointer; transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1), border-color 0.2s, background-color 0.2s; }
.look:hover { border-color: var(--ice); transform: translateY(-1px); }
.look:active { transform: translateY(1px); }
.look[aria-pressed="true"] { color: var(--ink); background: linear-gradient(180deg, var(--wisp), var(--ice)); border-color: transparent; box-shadow: 0 0 22px rgba(127, 220, 255, 0.4); }

/* The demo is a small taste: a quiet line by the looks (and in About and under the film) opens a card on what else the app does */
.taste { border: 0; padding: 4px 2px; background: none; color: var(--haze); font: 600 0.86rem/1.35 var(--round); font-synthesis: none; text-align: center; cursor: pointer; }
.taste .go { color: var(--ice); text-decoration: underline; text-decoration-color: rgba(127, 220, 255, 0.45); text-underline-offset: 3px; }
.taste .go::after { content: "\00a0\203a" / ""; }
.taste:hover .go { color: var(--wisp); text-decoration-color: currentColor; }
.win .taste { padding: 0; font: inherit; }
.wbody .note { color: var(--haze); }
#taste { width: min(31rem, 100% - 32px); max-height: calc(100% - 32px); padding: 0; overflow: auto; overscroll-behavior: contain; color: var(--text); border: 1px solid rgba(127, 220, 255, 0.3); border-radius: 18px; background: radial-gradient(ellipse at 50% -10%, rgba(58, 110, 255, 0.24), transparent 62%), #0F152B; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 44px rgba(58, 110, 255, 0.22); }
#taste[open] { animation: rise 0.3s cubic-bezier(0.3, 1.4, 0.5, 1); }
#taste::backdrop { background: rgba(5, 7, 15, 0.5); }
#taste .card { padding: 22px 24px 20px; }
#taste .why { margin: 0 0 4px; font: 700 0.86rem/1.3 var(--round); font-synthesis: none; color: var(--gold); }
#taste h2 { margin: 0 0 10px; font: 400 clamp(1.3rem, 1.1rem + 0.6vw, 1.55rem)/1.15 var(--display); font-synthesis: none; color: var(--moon); }
#taste ul { margin: 0 0 18px; padding-left: 1.2em; }
#taste li { margin-bottom: 0.45em; }
#taste li::marker { color: var(--ice); }
.keep { border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; background: var(--card); color: var(--moon); font: 700 clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem)/1 var(--round); font-synthesis: none; cursor: pointer; transition: border-color 0.2s; }
.keep:hover { border-color: var(--ice); }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(0.98); } }

#stage {
  --w: max(640px, min(100vw - 32px, (100vh - 176px) * 16 / 9));
  --corner: 8px;
  position: relative; flex: none; width: var(--w); height: calc(var(--w) * 9 / 16); container-type: size; overflow: hidden;
  border-radius: 14px; background: #05070F; box-shadow: 0 0 0 1px rgba(127, 220, 255, 0.28), 0 16px 44px rgba(0, 0, 0, 0.5), 0 0 44px rgba(58, 110, 255, 0.2);
  user-select: none; -webkit-user-select: none; touch-action: none; cursor: default;
}
#w, #g { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
#veil { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #05070F; opacity: 0; pointer-events: none; transition: opacity 0.22s ease; }
#veil.on { opacity: 1; }

#icons, #wins { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.ico { position: absolute; color: #fff; }
.ico .art { display: block; width: 100%; height: 100%; }
.ico span { position: absolute; left: -0.9cqh; top: 100%; width: max-content; min-width: 5.2cqh; margin-top: 0.15em; text-align: center; white-space: nowrap; font-size: max(8px, 1.3cqh); line-height: 1.15; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
.ico.held { opacity: 0.72; }

.win { position: absolute; display: flex; flex-direction: column; overflow: hidden; pointer-events: auto; border-radius: var(--corner); background: #151A2E; color: var(--text); font-size: max(10px, 1.55cqh); line-height: 1.4; box-shadow: 0 0 0 1px rgba(238, 242, 255, 0.1), 0 0.8cqh 2.4cqh rgba(0, 0, 0, 0.4); }
.win.front { box-shadow: 0 0 0 1px rgba(127, 220, 255, 0.35), 0 0.8cqh 2.4cqh rgba(0, 0, 0, 0.45); }
.tbar { flex: none; display: flex; align-items: center; height: 2.5em; padding-left: 0.9em; background: #1D2440; touch-action: none; }
.tbar b { flex: 1; min-width: 0; font-weight: 600; color: var(--moon); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbar button { flex: none; width: 3em; height: 100%; padding: 0; border: 0; background: none; color: var(--haze); font: inherit; font-size: 1.1em; cursor: pointer; }
.tbar button:hover { background: rgba(238, 242, 255, 0.12); color: #fff; }
.tbar .c:hover { background: #C4314B; }
.wbody { flex: 1; min-height: 0; overflow: auto; padding: 0.7em 1em; scrollbar-width: thin; }
.wbody p { margin: 0 0 0.6em; }
.wbody ul { margin: 0 0 0.7em; padding-left: 1.2em; }
.wbody li { margin-bottom: 0.35em; }
.wbody b { color: var(--moon); font-weight: 600; }
.wbody textarea { display: block; width: 100%; resize: none; font: inherit; color: var(--moon); background: rgba(8, 11, 24, 0.65); border: 1px solid var(--line); border-radius: 0.5em; padding: 0.4em 0.6em; user-select: text; -webkit-user-select: text; touch-action: auto; }
.wbody.center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8em; text-align: center; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; }
.photos i { display: block; border-radius: 0.4em; min-height: 3em; }
.p1 { background: radial-gradient(circle at 70% 26%, #FFE28B 0 9%, transparent 10%), linear-gradient(170deg, transparent 58%, #18234A 59%), linear-gradient(190deg, #2A3A78, #E58AA6 88%); }
.p2 { background: radial-gradient(circle at 30% 30%, #EEF2FF 0 8%, transparent 9%), linear-gradient(195deg, transparent 62%, #0C3A4A 63%), linear-gradient(#0D1438, #1E6A8A); }
.p3 { background: radial-gradient(circle at 50% 110%, #FFCD6E 0 34%, transparent 35%), linear-gradient(#27204F, #E0746A); }

#bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 4.44%; display: flex; align-items: center; justify-content: center; background: #151A2E; box-shadow: 0 -1px 0 rgba(238, 242, 255, 0.1); z-index: 200; font-size: max(10px, 1.45cqh); }
#start, #tasks button { flex: none; height: 84%; aspect-ratio: 1; padding: 12%; border: 0; border-radius: 18%; background: none; cursor: pointer; }
#start { position: absolute; left: 0.8%; top: 8%; }
#start img, #tasks .art { display: block; width: 100%; height: 100%; }
#tasks { height: 100%; display: flex; align-items: center; justify-content: center; gap: 0.3em; }
#tasks button { position: relative; }
#tasks button:hover, #start:hover { background: rgba(238, 242, 255, 0.12); }
#tasks button.on { background: rgba(127, 220, 255, 0.16); }
#tasks button.on::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 3%; height: 7%; border-radius: 9px; background: var(--ice); }
#clock { position: absolute; right: 1.2%; top: 0; height: 100%; display: flex; align-items: center; color: var(--moon); }

#menu { position: absolute; z-index: 300; min-width: 22cqh; padding: 0.35em; border-radius: var(--corner); background: #1D2440; box-shadow: 0 0 0 1px rgba(238, 242, 255, 0.14), 0 0.8cqh 2.4cqh rgba(0, 0, 0, 0.5); font-size: max(10px, 1.5cqh); }
#menu button { display: block; width: 100%; padding: 0.45em 0.9em; border: 0; border-radius: 0.4em; background: none; color: var(--moon); font: inherit; text-align: left; cursor: pointer; }
#menu button:hover { background: rgba(127, 220, 255, 0.18); }

#load { position: absolute; z-index: 400; left: 0; top: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqh; color: var(--moon); font: 700 max(13px, 2.1cqh)/1.2 var(--round); font-synthesis: none; background: radial-gradient(ellipse at 50% 42%, #1B264E, #0D1020 70%); transition: opacity 0.45s ease; }
#load.gone { opacity: 0; pointer-events: none; }
#load p { margin: 0; }
.orb { width: 9cqh; height: 9cqh; border-radius: 50%; background: radial-gradient(circle at 42% 38%, #FFFFFF, var(--wisp) 42%, var(--ice) 70%, rgba(58, 110, 255, 0) 100%); box-shadow: 0 0 5cqh rgba(127, 220, 255, 0.6); animation: float 2.8s ease-in-out infinite; }
.track { width: 24cqh; height: 0.7cqh; min-height: 4px; border-radius: 99px; overflow: hidden; background: rgba(238, 242, 255, 0.12); }
#fill { width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ice), var(--wisp)); transform: scaleX(0.05); transform-origin: left; transition: transform 0.35s ease; }
@keyframes float { 50% { transform: translateY(-1.4cqh) scale(1.05); box-shadow: 0 0 7cqh rgba(127, 220, 255, 0.75); } }

.under { margin: 8px 0 0; font-size: 0.86rem; color: var(--haze); text-align: center; }
.alt { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px; text-align: center; }
.alt p { margin: 0; max-width: 40em; }
.alt video { display: block; width: min(100%, 960px); aspect-ratio: 16 / 9; border-radius: 14px; background: #05070F; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5); }
.end { margin-top: auto; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 8px 16px 10px; font-size: 0.82rem; color: var(--mist); }

/* (where one line wouldn't fit beside the looks, its two halves stack, no taller than a look's button: the desktop stays where it was) */
@media (max-width: 1180px) {
  .picks .taste { padding: 0 2px; font-size: 0.8rem; line-height: 1.2; }
  .picks .taste .go { display: block; }
}
@media (max-width: 720px) {
  .top { flex-wrap: wrap; justify-content: center; }
  h1 { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
