.adventure-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}.adventure-card{border:1px solid #8b9bdd40;background:#141c36;border-radius:20px;overflow:hidden;min-width:0}.adventure-card a{color:#fff;text-decoration:none;display:block;height:100%}.adventure-card h2{margin:0;font-size:22px;overflow-wrap:anywhere}.adventure-cover{display:block;width:100%;height:170px;object-fit:cover;border-radius:14px}.adventure-card .adventure-cover{border-radius:0}.adventure-cover-fallback{object-fit:contain;background:radial-gradient(ellipse,#384570,#10182e);padding:20px}.adventure-card a>div{padding:18px}.adventure-card p{color:#bcc8e8;overflow-wrap:anywhere}.adventure-card span{display:inline-block;padding:6px 10px;border-radius:9px;background:#7861f533}.adventure-card strong{display:block;margin-top:16px}.adventure-summary{list-style:none;display:grid;gap:12px;min-height:48px;cursor:pointer}.adventure-summary::-webkit-details-marker{display:none}.adventure-summary h2{margin:0}.community-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.community-actions button{min-height:46px}.community-actions button[aria-pressed=true]{background:#6245af;color:#fff}.game-introduction{display:grid;gap:14px}.game-introduction>.adventure-cover{max-width:420px;height:200px}.public-policy{border-left:3px solid #a589ff;padding:8px 14px;line-height:1.6}.stage-list{display:grid;gap:14px}.journey-player-bar{flex-wrap:wrap}.player-creator{font-size:13px}.adventure-toolbar{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.adventure-toolbar select{min-height:46px;font:inherit;max-width:100%}.adventure-card a:focus-visible,.adventure-summary:focus-visible{outline:3px solid #c2a4ff;outline-offset:3px}
.card-community{border-top:1px solid #8b9bdd40;padding:10px 16px}.card-community summary{min-height:46px;display:flex;align-items:center;cursor:pointer;color:#ddd0ff}.card-community .community-actions{margin-bottom:6px}.game-update.update-available{background:#237c57!important;color:#fff!important;border-color:#50d29a!important}

.community-public-games{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}.adventure-card>a{height:auto}
.adventure-grid,.library-grid,.community-public-games{align-items:start}
.library-grid:has(>.adventure-card){grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}
.adventure-main-link>.adventure-cover{height:auto;aspect-ratio:16/10;object-fit:contain;background:radial-gradient(ellipse,#384570,#10182e)}
.adventure-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 14px 16px}
.adventure-card .adventure-stage-link{display:flex;flex-direction:column;height:auto;min-width:0;overflow:hidden;border:1px solid #8b9bdd40;border-radius:12px;background:#080f26;transition:border-color .18s,background .18s}
.adventure-stage-link:hover{border-color:#c2a4ff;background:#222543}
.stage-thumbnail{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px}
.adventure-stage-link .stage-thumbnail{border-radius:0}
.adventure-card .adventure-stage-link span{display:block;padding:10px;background:transparent;border-radius:0;min-height:72px}
.adventure-stage-link small{display:block;color:#b5b5dc;font-size:11px;line-height:1.5}
.adventure-card .adventure-stage-link strong{display:block;margin:3px 0 0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.stage-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:start;margin-top:22px}
.stage-list>.journey-stage{border:1px solid #8b9bdd40;background:#101a34;border-radius:16px;padding:14px;min-width:0;scroll-margin-top:18px}
.stage-list .journey-stage h2{font-size:20px;line-height:1.35;overflow-wrap:anywhere}
.stage-list .community-actions{gap:8px}
.stage-list .community-actions a{max-width:100%;overflow-wrap:anywhere}
.adventure-stage-link:focus-visible{outline:3px solid #c2a4ff;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.adventure-stage-link{transition:none}}
.owned-stage-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr));gap:10px}.owned-stage-previews small{display:block;padding:8px;font-size:12px}.owned-stage-previews>span{border:1px solid #8b9bdd40;border-radius:12px;overflow:hidden}.owned-stage-previews .stage-thumbnail{border-radius:0}.adventure-stages .journey-stage>.stage-thumbnail{max-width:480px}
.stage-launch-actions{display:grid;gap:10px;margin-top:20px}.stage-launch-actions>a,.stage-launch-actions>button{display:flex;align-items:center;justify-content:center;gap:14px;min-height:56px;width:100%;box-sizing:border-box;border-radius:16px;font-size:17px;line-height:1.35;text-decoration:none;text-align:center}.stage-launch-actions .stage-play{min-height:64px;background:linear-gradient(110deg,#8664f5,#a54cda);box-shadow:0 8px 24px #753cd826}.stage-launch-actions .stage-download,.stage-launch-actions .stage-iphone{background:#1d294d;border:1px solid #6479b46b;color:#fff}.stage-launch-actions small{display:block;font-size:12px;color:#c3cee8;font-weight:400;margin-top:3px}.stage-creator{color:#c3c9df;font-size:15px}.journey-stage>.stage-invite{border:0;background:transparent;min-height:44px;color:#d7c5ff;font-size:14px;margin-top:12px}.stage-launch-actions :focus-visible{outline:3px solid #d5bcff;outline-offset:3px}
.adventure-stage-tile{display:flex;flex-direction:column;min-width:0}.adventure-stage-tile .stage-caption{padding:10px;flex:1}.adventure-stage-tile .stage-launch-actions{padding:0 8px 10px;margin-top:0;gap:8px}.adventure-card .adventure-stage-tile .stage-launch-actions span{padding:0;min-height:0;background:none}.adventure-stage-tile .stage-launch-actions>a{font-size:13px;gap:5px;min-height:48px;border-radius:12px;padding:8px 4px}.adventure-stage-tile .stage-launch-actions .stage-download{background:#e8f4a3;color:#27361f;border-color:transparent;font-weight:750}.adventure-stage-tile .stage-launch-actions .stage-iphone{font-weight:600}
.stage-direct-link{display:flex;flex-direction:column;flex:1;color:inherit;text-decoration:none}.adventure-card .adventure-stage-tile .stage-direct-action{padding:12px 0 0;min-height:32px;font-size:13px;color:#e8f4a3;font-weight:700}.stage-alternate{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 8px 6px;font-size:12px;color:#d7c5ff;text-decoration:underline}.stage-direct-link:focus-visible,.stage-alternate:focus-visible{outline:3px solid #c2a4ff;outline-offset:-3px}
.adventure-card .stage-direct-link{display:flex;height:auto}.adventure-card .stage-alternate{display:flex;height:auto;text-decoration:underline}
