/* The lobby key art shares the arena backdrop with the game and adds a looping canvas clash. */
.gateway-art--clash{height:min(73vh,590px);min-height:350px;display:block;isolation:isolate;filter:none;overflow:visible}
.gateway-art--clash .gateway-clash-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;transform:none!important;filter:drop-shadow(0 20px 26px #061019b9);-webkit-mask-image:radial-gradient(ellipse 75% 72% at 50% 54%,#000 50%,#000d 75%,transparent 100%);mask-image:radial-gradient(ellipse 75% 72% at 50% 54%,#000 50%,#000d 75%,transparent 100%);animation:lobby-key-art 7s ease-in-out infinite alternate}
.gateway-art--clash .gateway-vfx{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;mix-blend-mode:screen;opacity:.72}
.gateway-art--clash .gateway-art-caption{position:absolute;left:50%;top:auto;bottom:5px;transform:translateX(-50%);z-index:3;white-space:nowrap;padding:6px 20px;border:1px solid #e5b56f;background:#13271fd9;color:#ffe6a6;font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-size:17px;letter-spacing:2px;text-shadow:1px 2px #10221b;box-shadow:0 5px 18px #0008}
@keyframes lobby-key-art{0%{transform:translateY(4px) scale(.986)}100%{transform:translateY(-6px) scale(1.012)}}
.gateway-quicklinks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0 18px}
.gateway-quicklinks button{display:flex;align-items:center;gap:9px;min-height:59px;padding:8px 10px;text-align:left;background:linear-gradient(110deg,#d6914b,#a84a2b);color:#fff2d5;border:2px solid #f5cf84;clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);box-shadow:inset 0 0 0 2px #7b4227;cursor:pointer}
.gateway-quicklinks button[data-sound]{background:linear-gradient(110deg,#69958a,#356b75);border-color:#b9e1cc;box-shadow:inset 0 0 0 2px #285353}
.gateway-quicklinks button:hover{filter:brightness(1.14);transform:translateY(-2px)}
.gateway-quicklinks b{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid #ffe0a1;border-radius:8px 2px 8px 2px;background:#713a22;color:#ffe9b6;font-family:'Ma Shan Zheng',serif;font-size:22px}
.gateway-quicklinks button[data-sound] b{background:#24545b;border-color:#cdf4eb}
.gateway-quicklinks span{display:grid;gap:1px;min-width:0}.gateway-quicklinks strong{font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-size:17px;white-space:nowrap}.gateway-quicklinks small{font-size:11px;white-space:nowrap;color:#ffedc7}.gateway-quicklinks button[data-sound] small{color:#e0f3ec}.gateway-quicklinks i{margin-left:auto;font-size:18px;font-style:normal}
/* Manuals are full viewport destinations, with their own header and scrollable page. */
.manual-screen{position:fixed;inset:0;z-index:80;width:100vw;height:100dvh;overflow:hidden;background:#15251d}
.manual-screen .manual-page{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;overflow-y:auto;overflow-x:hidden;border:0;border-radius:0;clip-path:none;box-shadow:none;color:#f6ebcf;background:linear-gradient(105deg,#14251ff7,#27372ce8 60%,#142822f7),url('/src/assets/arena-shinobi-v3.webp') center/cover fixed}
.manual-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:69px;padding:10px clamp(16px,4vw,60px);border-bottom:3px solid #d8ae68;background:linear-gradient(100deg,#18291feb,#334432ef,#18291feb);backdrop-filter:blur(12px)}
.manual-header button{padding:9px 17px;border:2px solid #f5ca7c;background:#ab4c2a;color:#fff1c9;font-weight:900;font-size:16px;cursor:pointer;clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}
.manual-header button:hover{background:#d56d32}.manual-header span{font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-size:21px;color:#ffe2a7;letter-spacing:2px}
.manual-content{width:min(1180px,100%);margin:0 auto;padding:32px clamp(20px,4vw,54px) 70px}
.manual-page .eyebrow{font-size:13px}.manual-page h2{font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-size:clamp(34px,4vw,52px);color:#ffe0a0;margin:9px 0 26px}
.manual-page .rules-grid{gap:22px}.manual-page .rules-grid>div{padding:13px 16px;background:#1d3028df;border:1px solid #73886b;border-left:5px solid #e49d55}
.manual-page .rules-grid h3{font-size:20px;margin:5px 0 8px}.manual-page .rules-grid p{font-size:15px;line-height:1.7;color:#e8e7cf}
.manual-page .combo-howto{margin:25px 0}.manual-page .skill-codex{margin-top:28px}.manual-page .skill-codex h3{font-size:22px}.manual-page .skill-codex.combo-codex>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.manual-page .skill-codex.combo-codex span{font-size:17px}.manual-page .skill-codex.combo-codex span small{font-size:13px}
.manual-page .skill-codex.combo-codex .combo-card-link{font-size:17px;min-height:76px}.manual-page .skill-codex.combo-codex .combo-card-link small{font-size:13px}
.manual-page .skill-codex .codex-card{min-height:58px}.manual-page .skill-codex .codex-card>span{font-size:16px}.manual-page .skill-codex .codex-card small{font-size:12px}.manual-page .rules-go{max-width:420px;margin:32px 0 0;font-size:17px}
.team-screen .manual-content{width:min(1100px,100%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px;padding-top:min(9vh,80px)}
.team-screen .manual-content>.eyebrow,.team-screen .manual-content>h2,.team-screen .manual-content>.detail-back-button{grid-column:1/-1}
.team-screen .manual-content>h2{margin-bottom:14px}.team-screen .team-credit{display:flex;flex-direction:column;justify-content:space-between;min-height:200px;margin:0;padding:22px;border:2px solid #ba995f;background:linear-gradient(150deg,#415338dd,#20342ddb);box-shadow:0 12px 28px #0005;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)}
.team-screen .team-credit small{font-size:17px;line-height:1.5;color:#f1d7aa}.team-screen .team-credit strong{font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-size:33px;color:#fff1ca}
.team-screen .detail-back-button{max-width:350px;margin-top:16px;font-size:18px}
.detail-backdrop{z-index:100}
@media(min-width:851px) and (max-height:800px){.gateway-header{padding-top:10px;padding-bottom:10px}.gateway-main{padding-top:8px;padding-bottom:10px}.gateway-panel{padding:15px 22px}.gateway-panel h1{font-size:34px;margin:6px 0 4px}.gateway-panel p{margin-bottom:10px}.gateway-quicklinks{margin:9px 0 10px}.gateway-actions--modes{gap:8px}.gateway-actions--modes .gateway-card{padding:9px 12px}.gateway-art--clash{height:min(76vh,560px)}.leaderboard-panel{margin-top:8px;padding:6px}.leaderboard-modes{margin:5px 0}.leaderboard-modes button{min-height:27px;padding:3px 8px}.leaderboard-table{margin-top:5px}}
@media(max-width:850px){.manual-page .rules-grid{grid-template-columns:1fr}.team-screen .manual-content{grid-template-columns:1fr}.team-screen .team-credit{min-height:120px}.manual-page .skill-codex.combo-codex>div{grid-template-columns:1fr}.manual-page .skill-codex>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(orientation:landscape) and (max-width:850px){.team-screen .manual-content{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:14px}.team-screen .manual-content>h2{margin-bottom:3px}.team-screen .team-credit{min-height:126px;padding:12px}.team-screen .team-credit strong{font-size:23px}.team-screen .team-credit small{font-size:12px}.team-screen .detail-back-button{margin-top:2px}}
@media(orientation:landscape) and (max-height:650px){.gateway-art--clash{height:calc(100vh - 52px);min-height:0}.gateway-art--clash .gateway-art-caption{bottom:1px;padding:2px 10px;font-size:11px}.gateway-quicklinks{gap:6px;margin:8px 0}.gateway-quicklinks button{min-height:39px;padding:4px 7px;gap:6px}.gateway-quicklinks b{width:25px;height:25px;font-size:16px}.gateway-quicklinks strong{font-size:12px}.gateway-quicklinks small{font-size:8px}.gateway-quicklinks i{font-size:12px}.manual-header{min-height:47px;padding:4px 16px}.manual-header button{font-size:12px;padding:5px 10px}.manual-header span{font-size:15px}.manual-content{padding-top:15px}.manual-page h2{font-size:28px;margin:4px 0 14px}.team-screen .manual-content{padding-top:20px}.team-screen .team-credit{min-height:110px}.team-screen .team-credit strong{font-size:23px}.team-screen .team-credit small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.gateway-art--clash .gateway-clash-image{animation:none}.gateway-art--clash .gateway-vfx{display:none}}

.feedback-entry{display:flex;align-items:center;gap:14px;padding:10px 16px;margin:10px 0;color:#f6ddb1;text-decoration:none;border:1px solid #a39163;background:#122b37e8}.feedback-entry b{background:#24555a;padding:3px 8px}.feedback-entry span{margin-left:auto;font-size:12px;color:#b0d3cc}.fixed-mobile-stage .feedback-entry{padding:5px 10px;margin:5px 0;font-size:16px}.fixed-mobile-stage .feedback-entry span{font-size:13px}
