:root{color-scheme:dark;--bg:#10162f;--panel:#1a2343;--muted:#c0cbe3;--yellow:#ffdb7a;--mint:#8ce6d3;--purple:#bb9aff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 0 0,#57327066,transparent 50%),radial-gradient(ellipse at 100% 60%,#15506055,transparent 60%),var(--bg);color:#f4f3ff;font-family:Nunito,ui-rounded,system-ui,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button,select{min-height:48px}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--mint);outline-offset:4px}.skip{position:fixed;top:10px;left:10px;transform:translateY(-200%);background:var(--yellow);color:#211735;padding:12px;z-index:20}.skip:focus{transform:none}.club-header{max-width:1180px;margin:auto;padding:24px;display:flex;gap:18px;justify-content:space-between;align-items:center;border-bottom:1px solid #b5b9ff30}.wordmark{font-size:15px;font-weight:900;letter-spacing:1px;color:var(--yellow)}.club-main{max-width:1080px;margin:auto;padding:35px 24px 60px}.eyebrow{font-size:12px;font-weight:900;letter-spacing:1.5px;color:var(--mint)}h1{font-size:clamp(30px,4.2vw,51px);line-height:1.12;letter-spacing:-1.6px;margin:15px 0}h2{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.8px;margin:10px 0}p{color:var(--muted)}.game-tabs{display:flex;gap:10px;margin:30px 0;flex-wrap:wrap}.game-tabs a{border:1px solid #ffffff30;padding:13px 17px;border-radius:30px;font-weight:800;font-size:14px}.game-tabs a[aria-current=page]{background:var(--yellow);border-color:var(--yellow);color:#211735}.activity-panel{border:1px solid #a59dde55;background:linear-gradient(140deg,#242449,#152740);border-radius:28px;padding:30px;box-shadow:0 22px 65px #05081550}.activity-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.activity-heading>div{max-width:650px}.host{width:110px;height:130px;object-fit:contain}.activity-toolbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:20px 0}.activity-toolbar label{display:flex;flex-direction:column;font-size:13px;font-weight:800;gap:6px}.activity-toolbar select{border:1px solid #aab2d788;border-radius:12px;padding:10px;background:#17203d;color:white;min-width:190px}.primary,.secondary{border-radius:12px;padding:12px 20px;font-weight:900;border:1px solid transparent}.primary{background:var(--yellow);color:#211735}.secondary{background:#ffffff0b;border-color:#bdc5e755;color:#f2efff}.secondary:hover{background:#ffffff16}.statusline{font-size:14px;font-weight:800;color:var(--mint);padding:10px 0}.feedback{min-height:3.2em;margin-bottom:0;font-size:16px;color:#fff0bc;font-weight:700}.activity-actions{display:flex;flex-wrap:wrap;gap:12px}.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:720px;margin:auto}.memory-card{position:relative;aspect-ratio:4/5;background:linear-gradient(140deg,#514780,#252b55);border:2px solid #a99bd666;border-radius:18px;overflow:hidden;color:var(--yellow);font-size:38px;font-weight:900;padding:10px;display:flex;flex-direction:column;justify-content:center;align-items:center}.memory-card img{height:75%;width:100%;object-fit:contain}.memory-card small{font-size:15px;color:white}.memory-card.revealed{background:#33365f;border-color:var(--yellow)}.memory-card.matched{border-color:var(--mint);background:#1c4849}.memory-card .check{position:absolute;top:6px;right:10px;color:var(--mint);font-size:20px}.memory-grid[data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}.lab-visual{min-height:90px;display:grid;place-items:center;padding:15px;border-radius:18px;background:#0e193a;font-size:clamp(24px,5vw,42px);color:var(--yellow);text-align:center;overflow-wrap:anywhere}.lab-prompt{text-align:center;font-size:clamp(23px,3vw,32px);margin:20px 0;color:white}.lab-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.lab-answer{min-height:105px;border:2px solid #a7b6dc66;border-radius:18px;background:#34375e;color:white;font-size:26px;font-weight:900;display:flex;gap:10px;flex-direction:column;align-items:center;justify-content:center;padding:14px}.lab-answer .swatch{display:block;width:62px;height:42px;border-radius:9px;border:2px solid #fff9}.lab-answer small{font-size:16px}.lab-answer .shape{font-size:44px;line-height:1}.lab-answer.correct{border-color:var(--mint);background:#245454}.ship-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.ship-choice{padding:7px;border-radius:16px;border:2px solid #a7b6dc55;background:#172440;color:white;min-width:0}.ship-choice[aria-pressed=true]{border-color:var(--yellow)}.ship-choice svg{display:block;width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden}.ship-choice strong{display:block;font-size:13px;padding:8px 2px}.route-board{display:grid;gap:5px;max-width:470px;margin:0 auto;background:#101a34;padding:8px;border-radius:20px;touch-action:manipulation}.route-cell{aspect-ratio:1;min-height:0;border:1px solid #8293bc30;border-radius:9px;background:#203354;font-size:25px;color:#ffe8a7;padding:0;overflow:hidden;display:grid;place-items:center}.route-cell.rock{background:#34415a;color:#b6c4d9}.route-cell.exit{border:2px solid var(--mint)}.route-cell.ship{border:2px solid var(--yellow)}.route-cell svg{width:100%;height:100%;display:block}.route-cell:not(.rock):hover{background:#3b4870}.route-controls{display:grid;grid-template-columns:repeat(3,58px);gap:8px;justify-content:center;margin:20px auto}.route-controls button{border-radius:12px;background:#3d456f;border:1px solid #a2b5dd88;color:white;font-size:24px;touch-action:manipulation}.route-controls button:first-child{grid-column:2}.route-controls button:nth-child(2){grid-column:1}.route-legend{font-size:13px;text-align:center}.win-panel{padding:35px 20px;background:#183f46;border:1px solid var(--mint);border-radius:20px;text-align:center}.win-panel>span{font-size:42px}.club-note{display:flex;gap:20px;padding:30px 10px;margin-top:20px}.club-note>span{font-size:32px;color:var(--yellow)}.club-note h2{font-size:22px}.club-note p{font-size:14px}.club-note a{color:var(--mint);font-size:14px;font-weight:800}.club-footer{max-width:1080px;margin:auto;padding:25px;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;color:#becbe2;font-size:13px}[hidden]{display:none!important}@media(max-width:600px){.club-header{padding:18px;flex-wrap:wrap}.club-header>a:last-child{font-size:14px}.club-main{padding:24px 14px}.activity-panel{padding:18px 13px;border-radius:22px}.host{width:70px;height:95px}.activity-heading{gap:8px}.activity-heading p{font-size:14px}.memory-grid{gap:8px}.memory-card{padding:6px;border-radius:12px}.memory-card small{font-size:12px}.game-tabs{gap:7px}.game-tabs a{padding:11px 13px;font-size:13px}.lab-options{gap:8px}.lab-answer{padding:10px 5px;font-size:24px}.lab-answer small{font-size:13px}.ship-picker{gap:6px}.ship-choice strong{font-size:11px;line-height:1.35}.route-cell{font-size:21px}.route-board{gap:4px;padding:5px}.feedback{font-size:14px}.activity-toolbar{gap:8px}.activity-toolbar select{min-width:155px}.secondary,.primary{padding:11px 14px;font-size:14px}.club-intro p{font-size:15px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.memory-portrait{width:100%;height:calc(100% - 28px);min-height:0;display:flex;justify-content:center}.memory-portrait svg{display:block;max-width:100%;height:100%;border-radius:10px}.memory-card small{overflow-wrap:anywhere}
