:root { color-scheme: dark; font: 16px/1.5 system-ui, sans-serif; color: #eef4f9; background: #101b29; }
* { box-sizing: border-box; } body { margin: 0; } [hidden] { display: none !important; }
header { display: flex; justify-content: space-between; gap: 12px; padding: 20px max(20px, calc((100vw - 1120px)/2)); border-bottom: 1px solid #304257; font-size: 13px; }
a { color: #93e4ca; } main { max-width: 1160px; margin: auto; padding: 45px 20px; }
h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -2px; line-height: 1.05; margin: 12px 0 20px; } .eyebrow { color: #93e4ca; letter-spacing: 3px; font-size: 12px; }
label { display: block; margin-top: 30px; margin-bottom: 8px; } input { width: min(100%, 600px); padding: 14px; background: #18283a; color: inherit; border: 1px solid #557086; border-radius: 8px; font: inherit; }
button { font: inherit; cursor: pointer; color: inherit; background: #21364c; border: 1px solid #557086; border-radius: 8px; padding: 10px 16px; min-height: 44px; }
button:hover, button[aria-pressed="true"] { background: #93e4ca; color: #101b29; } button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #f0c97f; outline-offset: 3px; }
nav { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; } #count { color: #afbdcd; }
#cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,260px),1fr)); gap: 16px; }
article { border: 1px solid #30475d; border-radius: 14px; background: #18283a; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
article h2 { font-size: 21px; margin: 0; } article p { font-size: 14px; color: #afbdcd; margin: 0; } article button { margin-top: auto; align-self: start; } article .tag { font-size: 12px; color: #93e4ca; }
dialog { width: min(640px,calc(100% - 24px)); max-height: 85dvh; overflow: auto; border: 1px solid #557086; border-radius: 14px; padding: 24px; background: #18283a; color: inherit; } dialog::backdrop { background: #000b; } #close-exhibit { float: right; } #actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; } .big { font-size: 24px; } .dim { color: #afbdcd; font-size: 14px; }
#game { position: fixed; inset: 0; background: #101b29; z-index: 10; display: flex; flex-direction: column; } #game-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: max(8px,env(safe-area-inset-top)) 12px 8px; } #game-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #game-frame { flex: 1; width: 100%; border: 0; background: #101b29; } body.playing { overflow: hidden; }
@media(max-width:500px) { header span { display: none; } main { padding-top: 28px; } #game-exit { font-size: 13px; flex-shrink: 0; } }
#tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 6px; } label.inline { display: inline; margin: 0; }
select { font: inherit; color: inherit; background: #18283a; border: 1px solid #557086; border-radius: 8px; padding: 10px 12px; min-height: 44px; }
#continue h2 { font-size: 18px; margin: 26px 0 10px; } .row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; } .row article { min-width: 220px; max-width: 260px; }
.card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; flex-wrap: wrap; } .card-foot button { margin-top: 0; }
.rate { min-height: 40px; padding: 6px 10px; } .rate[aria-pressed="true"] { background: #f0c97f; color: #101b29; } .stats { font-size: 12px; color: #afbdcd; }
