:root { --rosewater: #f5e0dc; --flamingo: #f2cdcd; --pink: #f5c2e7; --mauve: #cba6f7; --red: #f38ba8; --maroon: #eba0ac; --peach: #fab387; --yellow: #f9e2af; --green: #a6e3a1; --teal: #94e2d5; --sky: #89dceb; --sapphire: #74c7ec; --blue: #89b4fa; --lavender: #b4befe; --text: #cdd6f4; --subtext: #bac2de; --overlay: #6c7086; --surface: #313244; --base: #1e1e2e; --mantle: #181825; --crust: #11111b; } * { box-sizing: border-box; } [hidden] { display: none !important; } body { margin: 0; background: var(--base); color: var(--text); font-family: system-ui, sans-serif; } main { max-width: 1160px; margin: 0 auto; padding: 1rem; text-align: center; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 2rem; align-items: start; } .game-panel { position: sticky; top: 1rem; z-index: 2; background: var(--base); border: 1px solid var(--surface); border-radius: 16px; padding: 1rem; } .game-panel h1 { font-size: 1.5rem; } .game-panel #countdown { font-size: clamp(1.8rem, 3.5vw, 2.7rem); } .game-panel #history-global-summary { font-size: 0.85rem; color: var(--subtext); } .section-browser { min-width: 0; } #section-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; } #section-nav button { flex: 1 0 auto; min-height: 44px; } #section-nav button[aria-expanded="true"] { background: var(--mauve); color: var(--crust); border-color: var(--mauve); } #section-hint { color: var(--subtext); margin-top: 2rem; } [data-panel] { overflow-x: auto; padding: 1rem; } [data-panel] h2 { margin-top: 0; } form { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; } form input { min-width: 0; max-width: 100%; } h1 { letter-spacing: 0.3em; } a { color: var(--sapphire); } section { margin: 1.5rem 0; } #countdown { font-family: ui-monospace, monospace; font-size: clamp(2rem, 9vw, 4rem); font-weight: bold; background: none !important; border: none !important; } #zone-label { text-transform: uppercase; letter-spacing: 0.2em; } #zone-bar { position: relative; display: flex; height: 14px; margin: 0.75rem auto; border: 1px solid var(--overlay); border-radius: 4px; overflow: hidden; } #zone-bar span { flex: 1 1 0; } #zone-marker { position: absolute; top: -6px; width: 3px; height: 26px; background: var(--mauve); box-shadow: 0 0 4px var(--crust); transition: left 0.2s linear; } #the-button { width: 200px; height: 200px; border-radius: 50%; font-size: 1.6rem; font-weight: bold; cursor: pointer; border: 6px solid var(--mantle); box-shadow: 0 8px 0 var(--crust); transition: transform 0.05s; } #the-button:active:not(:disabled) { transform: translateY(6px); box-shadow: 0 2px 0 var(--crust); } #the-button:disabled { cursor: not-allowed; opacity: 0.5; } .zone-green { background: var(--green); color: var(--crust); } .zone-blue { background: var(--blue); color: var(--crust); } .zone-yellow { background: var(--yellow); color: var(--crust); } .zone-red { background: var(--red); color: var(--crust); } .zone-black { background: var(--mantle); color: var(--text); border-color: var(--overlay) !important; } .zone-white { background: var(--text); color: var(--crust); } #countdown.zone-green { color: var(--green); } #countdown.zone-blue { color: var(--blue); } #countdown.zone-yellow { color: var(--yellow); } #countdown.zone-red { color: var(--red); } #countdown.zone-black { color: var(--black); } #countdown.zone-white { color: var(--white); } .swatch { display: inline-block; padding: 0 0.4em; margin: 0 0.15em; border: 1px solid var(--overlay); border-radius: 3px; } table { margin: 0.5rem auto; border-collapse: collapse; min-width: 60%; } th, td { padding: 0.3rem 0.6rem; border-bottom: 1px solid var(--surface); } #leaderboard-section { padding: 1rem; background: var(--mantle); border: 1px solid var(--surface); border-radius: 12px; } #leaderboard-section > p { color: var(--subtext); font-size: 0.9rem; } #leaderboard-status:empty { display: none; } .leaderboard-scroll { overflow-x: auto; } #leaderboard { width: 100%; } #leaderboard th { color: var(--lavender); } #leaderboard th:nth-child(2), #leaderboard td:nth-child(2) { text-align: left; overflow-wrap: anywhere; } #leaderboard td:not(:nth-child(2)) { font-variant-numeric: tabular-nums; } #leaderboard tbody tr:first-child { color: var(--yellow); } #leaderboard tbody tr:hover { background: var(--surface); } input, button { font-size: 1rem; padding: 0.4rem 0.8rem; } input { border: 1px solid var(--overlay); border-radius: 4px; background: var(--mantle); color: var(--text); } input::placeholder { color: var(--overlay); } button:not(#the-button) { border: 1px solid var(--overlay); border-radius: 4px; background: var(--surface); color: var(--text); cursor: pointer; } button:not(#the-button):hover { background: var(--overlay); } button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; } .share-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; margin: 0.5rem 0 1rem; } .share-link { display: inline-block; padding: 0.45rem 0.8rem; border: 1px solid var(--overlay); border-radius: 4px; color: var(--text); text-decoration: none; } .share-link:hover, .share-link:focus-visible { background: var(--surface); } .share-link[aria-disabled="true"] { opacity: 0.5; pointer-events: none; } #mastodon-instance { max-width: 100%; } #share-controls label { display: block; } .error { color: var(--red); } #rules { text-align: left; font-size: 0.9rem; color: var(--subtext); } @media (max-width: 760px) { main { display: block; padding: 0.5rem; } .game-panel { top: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 0.5rem; padding: 0.5rem; border-radius: 0 0 12px 12px; box-shadow: 0 6px 16px var(--crust); } .game-panel h1 { grid-column: 1 / -1; margin: 0; font-size: 1rem; } .game-panel section { margin: 0; } .game-panel #countdown { font-size: clamp(1.4rem, 6vw, 2.5rem); } #zone-label { font-size: 0.7rem; letter-spacing: 0.1em; } #zone-bar { margin: 0.35rem auto; } .game-panel #history-global-summary { margin: 0.25rem 0; font-size: 0.7rem; } #the-button { width: 84px; height: 84px; font-size: 1rem; border-width: 4px; } #button-section { align-self: center; } #press-result { max-width: 110px; margin: 0.4rem 0 0; font-size: 0.7rem; } #press-result:empty { display: none; } .section-browser { margin-top: 1rem; } }