/* One compact row of unframed characters. Details stay in the existing dialog. */
.top-cast-section{margin-bottom:44px}.top-cast-section .section-top{margin-bottom:8px;align-items:center}.top-cast-section .section-top h2{font-size:28px}.top-cast-section .section-top p{font-size:11px;margin-top:7px}.cast-rail-controls{display:flex;gap:6px;align-items:center;direction:ltr;flex:none}.cast-rail-controls button{height:32px;min-width:32px;border:1px solid #b6a4f725;border-radius:6px;background:#b6a4f705;color:#b0a3d6;font:14px Thmanyah;line-height:1;padding:7px 9px}.cast-rail-controls [data-action="rail-toggle"]{font-size:9px;min-width:101px;direction:rtl}.cast-gallery{display:flex;flex-wrap:nowrap;gap:5px;direction:ltr;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-inline:contain;padding:14px 7px 12px;mask-image:linear-gradient(90deg,transparent,#000 8px,#000 calc(100% - 8px),transparent);touch-action:pan-x pan-y}.cast-gallery::-webkit-scrollbar{display:none}.cast-gallery .cast-character{flex:0 0 108px;width:108px;min-width:0;padding:5px 2px;background:none;border:0;border-radius:0;box-shadow:none;text-align:center;direction:rtl;transition:transform .2s;color:var(--cast-color)}.cast-gallery .cast-character:hover{border:0;background:none;transform:translateY(-3px)}.cast-gallery .cast-character:after{display:none}.cast-gallery .cast-label{justify-content:center;gap:7px;font-size:8px;direction:ltr}.cast-gallery .cast-label small{font-size:9px;opacity:.6}.cast-gallery .cast-character>div{height:135px;padding-top:2px}.cast-gallery .cast-character h3{font-size:13px;margin:3px 0 0;line-height:1.5}.cast-gallery .cast-character p,.cast-gallery .cast-energy,.cast-gallery .cast-mood{display:none}.cast-gallery .top-character{filter:drop-shadow(0 5px 7px #0002)}.strength-legend{padding-top:3px;font-size:9px;max-width:500px;margin:auto}.strength-legend .power-line{height:2px;max-width:180px}.cast-rail-hint{font-size:9px;line-height:1.8;color:#687790;margin-top:7px;text-align:center}.playing header{height:72px}.playing .game-main{padding-top:20px}.game-top{margin-bottom:15px;align-items:center}.game-top h1{font-size:24px}.game-top .kicker{font-size:9px}.game-flow{padding:11px 18px;margin-bottom:16px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none}.game-flow>span{font-size:10px}.scoreboard{gap:14px;margin-bottom:18px}.team-score{padding:13px 17px;gap:11px;min-height:99px}.team-score h2{font-size:20px}.team-score>strong{font-size:34px}.team-avatar.cast-avatar{width:47px;height:57px}.cast-avatar .top-character{height:69px;width:56px;transform:translate(4px,-5px)}.attempt-dots{margin-top:6px}.attempt-dots span{font-size:8px}.question-banner{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid #b6a4f72b;background:linear-gradient(120deg,#252239,#181e2b);border-radius:12px;padding:22px 26px;margin-bottom:18px;position:relative;overflow:hidden}.question-banner:before{content:'';position:absolute;right:0;top:21px;bottom:21px;width:3px;background:var(--purple)}.question-banner .kicker{font-size:9px;margin-bottom:6px}.question-banner h2{font-size:30px;line-height:1.5}.question-banner .question-mark{font-size:48px;color:#b6a4f733;line-height:1}.game-layout{gap:18px;align-items:start;grid-template-columns:minmax(0,1fr) 295px}.ranking-panel{padding:20px;background:linear-gradient(135deg,#191e2c,#141924)}.ranking-panel .question-head{display:none}.rank-board-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 1px 16px;color:#8b98b0;font-size:11px}.rank-board-head strong{font-size:10px;font-weight:400;color:var(--purple);background:#b6a4f708;border:1px solid #b6a4f720;padding:4px 9px;border-radius:5px}.ranking-grid{gap:10px}.rank-card{min-height:65px;padding:9px 12px;display:grid;grid-template-columns:22px 33px minmax(0,1fr) auto;gap:8px;align-items:center}.rank-card .rank-number{font-size:16px;width:auto}.rank-card .rank-character-icon{display:block;width:32px;height:40px;margin:0}.rank-card strong{font-size:14px;line-height:1.6;min-width:0;overflow-wrap:anywhere}.rank-card small{font-size:9px;flex-basis:auto;grid-column:auto;margin:0;text-align:left}.rank-card .hidden-dots{font-size:15px;letter-spacing:3px}.board-note{margin-top:16px;font-size:9px}.turn-panel{padding:20px;margin-bottom:15px}.turn-top{margin-bottom:13px}.turn-panel h2{font-size:22px;margin-bottom:13px}.turn-panel input{font-size:14px}.turn-panel .feedback{font-size:10px;line-height:1.9;margin-top:10px}.turn-panel .notice{font-size:9px;margin:12px 0 0}.turn-controls{margin-top:10px;gap:7px}.turn-controls .btn{font-size:9px}.team-standing{padding:17px;margin-bottom:15px}.standing-row{padding-top:14px}.standing-row>span{font-size:11px}.standing-row strong{font-size:22px}.round-log{padding:0;overflow:hidden}.log-head{padding:14px 17px;margin:0;border:0;list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.log-head::-webkit-details-marker{display:none}.log-head h3{font-size:12px;font-weight:400}.log-head>span{font-size:9px;color:#75829b;display:flex;gap:12px;align-items:center}.log-head>span:after{content:'+';font:15px monospace;color:var(--purple)}.round-log[open] .log-head>span:after{content:'−'}.round-log[open] .log-head{border-bottom:1px solid var(--line)}.log-contents{padding:0 17px 16px}.log-actions{display:flex;justify-content:space-between;align-items:center;padding-top:9px;font-size:8px;color:#64738d}.log-actions .link{font-size:9px}.empty-log{padding:12px 0 0;font-size:9px}.log-item{margin-top:12px}.game-bottom{padding:18px 0 26px}.game-actions{display:flex;gap:7px}.playing footer{font-size:9px;padding-block:17px}.playing .game-top .game-actions .btn{font-size:9px;padding:8px 11px;min-height:35px}.playing header .brand{font-size:28px}.playing header .brand i{transform:scale(.85)}.playing header nav .link{font-size:10px}.playing header .online-dot{display:none}.playing .game-top h1{font-size:22px}
@media(max-width:1000px){.cast-gallery .cast-character{flex-basis:101px;width:101px}.cast-gallery .cast-character>div{height:127px}.game-layout{grid-template-columns:minmax(0,1fr) 265px;gap:15px}.ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rank-card{grid-template-columns:17px 25px minmax(0,1fr) auto;gap:6px;padding:8px;min-height:63px}.rank-card strong{font-size:12px}.rank-card .rank-character-icon{width:25px;height:33px}.rank-card .rank-number{font-size:14px}.rank-card small{font-size:8px}.question-banner{padding:20px 23px}.question-banner h2{font-size:26px}}
@media(max-width:740px){.top-cast-section{margin-bottom:31px}.top-cast-section .section-top{gap:11px;margin-bottom:1px;align-items:start}.top-cast-section .section-top h2{font-size:23px}.top-cast-section .section-top p{font-size:9px;margin-top:5px;max-width:200px}.top-cast-section .kicker{font-size:8px;margin-bottom:9px}.cast-rail-controls{gap:4px;flex-wrap:wrap;justify-content:center;width:104px;padding-top:1px}.cast-rail-controls button{height:29px;min-width:29px;padding:5px 7px;font-size:13px}.cast-rail-controls [data-action="rail-toggle"]{font-size:8px;order:3;min-width:100%;height:25px;padding:5px}.cast-gallery{margin-inline:-9px;padding:13px 8px 8px;gap:3px}.cast-gallery .cast-character{width:93px;flex-basis:93px;padding:3px 0}.cast-gallery .cast-character>div{height:116px}.cast-gallery .cast-character h3{font-size:11px;margin-top:0}.cast-gallery .cast-label{font-size:7px;gap:5px}.cast-gallery .cast-label small{font-size:8px}.cast-rail-hint{font-size:8px;margin-top:7px}.strength-legend{font-size:8px;gap:9px;max-width:300px;padding-top:5px}.strength-legend .power-line{max-width:100px}.playing .wrap{padding-inline:16px}.playing header{height:62px}.playing header .brand{font-size:26px;gap:7px}.playing header .brand span{font-size:9px;padding-right:9px}.playing header .brand .mini-ten{font-size:15px}.playing header nav .share-nav{font-size:8px;padding:6px 8px}.playing .game-main{padding-top:14px}.game-top{gap:9px;margin-bottom:10px}.playing .game-top h1{font-size:17px;letter-spacing:0;line-height:1.4}.game-top .kicker{font-size:8px;margin-bottom:4px}.game-top .game-actions{flex-direction:row;min-width:0;gap:5px}.playing .game-top .game-actions .btn{font-size:8px;padding:7px 8px;min-height:31px;white-space:nowrap}.game-top .game-actions [data-action="qr"]{display:none}.game-flow{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:5px;padding:8px 0 10px;margin-bottom:11px;overflow:hidden}.game-flow>span{font-size:7px;gap:4px;white-space:nowrap}.game-flow>span b{font-size:8px;padding:2px 3px}.game-flow>span small{font-size:7px}.game-flow>i{display:none}.scoreboard{gap:9px;margin-bottom:11px}.team-score{padding:10px;gap:7px;min-height:84px;display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center}.team-score .team-avatar.cast-avatar{width:26px;height:34px}.team-score .cast-avatar .top-character{height:42px;width:33px;transform:translate(3px,-4px)}.team-score>div:nth-child(2){min-width:0}.team-score h2{font-size:12px;line-height:1.65}.team-score small{font-size:7px}.team-score>strong{display:block;font-size:24px;width:auto;padding:0;margin:0;gap:0;grid-column:auto}.team-score>strong small{font-size:7px;margin-top:3px;display:block}.attempt-dots{gap:3px;align-items:center;margin-top:6px}.attempt-dots i{width:7px;height:3px}.attempt-dots span{font-size:6px;line-height:1.6;margin-right:2px;white-space:normal;display:block;flex-basis:100%}.question-banner{padding:15px 17px;gap:12px;border-radius:10px;margin-bottom:11px}.question-banner:before{top:15px;bottom:15px;width:2px}.question-banner .kicker{font-size:8px;margin-bottom:5px}.question-banner h2{font-size:22px;line-height:1.55}.question-banner .question-mark{font-size:34px}.game-layout{display:flex;gap:11px;flex-direction:column}.game-layout>aside{display:contents}.ranking-panel{order:1;width:100%;padding:14px 11px;border-radius:10px}.turn-panel{order:0;align-self:stretch;margin:0;padding:13px 14px;border-radius:10px}.turn-panel .turn-top{margin-bottom:10px}.turn-top .online-dot{font-size:9px;max-width:230px}.turn-top .timer{font-size:22px}.turn-panel h2{display:none}.turn-panel .sub{font-size:10px;margin-bottom:12px}.turn-panel #guessForm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.turn-panel input{min-height:43px;margin:0;padding:10px 11px;font-size:13px}.turn-panel #guessForm .btn{font-size:10px;padding:10px 13px;min-height:43px;gap:5px;width:auto}.turn-controls{gap:7px;margin-top:9px}.turn-controls .btn{font-size:9px;min-height:30px;padding:6px 9px}.turn-panel .notice{font-size:8px;line-height:1.8;margin:9px 0 0;padding:8px 10px}.turn-panel .feedback{font-size:9px;line-height:1.8;margin-top:9px}.turn-panel .feedback:empty{display:none}.turn-panel>.btn[data-action="next"]{font-size:11px;min-height:43px}.rank-board-head{font-size:10px;padding-bottom:11px}.rank-board-head strong{font-size:8px;padding:3px 7px}.ranking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rank-card{display:grid;grid-template-columns:15px 23px minmax(0,1fr) auto;gap:5px;min-height:54px;padding:7px 8px;border-radius:3px 8px 8px 3px;flex-wrap:initial}.rank-card .rank-number{font-size:12px;width:auto}.rank-card .rank-character-icon{display:block;width:23px;height:29px;margin:0}.rank-card strong{font-size:11px;line-height:1.6;flex:initial}.rank-card small{font-size:7px;flex-basis:auto;text-align:left;margin:0;grid-column:auto;white-space:nowrap}.rank-card .hidden-dots{font-size:13px;letter-spacing:2px}.rank-star{font-size:35px;bottom:-9px}.board-note{font-size:8px;line-height:1.8;margin-top:11px}.team-standing{order:2;width:100%;padding:14px 16px;margin:0;border-radius:10px}.standing-row{padding-top:11px}.team-standing .kicker{font-size:7px}.standing-row>span{font-size:10px}.standing-row strong{font-size:20px}.standing-row small{font-size:7px}.round-log{order:3;width:100%;border-radius:10px}.log-head{padding:12px 15px}.log-head h3{font-size:11px}.log-head>span{font-size:8px}.log-contents{padding-inline:15px}.log-item{margin-top:11px}.log-item i{width:27px;height:27px;font-size:13px}.log-item b{font-size:10px}.log-item small{font-size:8px}.game-bottom{padding:13px 0 20px;font-size:7px;gap:8px}.playing footer{font-size:8px;gap:6px;padding:15px 0}.playing .rank-hit-effect.hit-low{padding:12px}.playing .game-main .question-banner+.game-layout{margin-top:0}}
@media(max-width:370px){.cast-gallery .cast-character{width:87px;flex-basis:87px}.cast-gallery .cast-character>div{height:109px}.top-cast-section .section-top h2{font-size:21px}.cast-rail-controls{width:91px}.playing .wrap{padding-inline:13px}.team-score{grid-template-columns:22px minmax(0,1fr) auto;padding:8px;gap:5px}.team-score h2{font-size:11px}.team-score>strong{font-size:21px}.team-score .team-avatar.cast-avatar{width:22px}.team-score .cast-avatar .top-character{width:29px;height:38px}.question-banner h2{font-size:20px}.rank-card{grid-template-columns:13px 20px minmax(0,1fr) auto;gap:4px;padding:6px;min-height:52px}.rank-card .rank-character-icon{width:20px;height:25px}.rank-card strong{font-size:10px}.rank-card small{font-size:6px}.game-flow>span{font-size:6px;gap:3px}.game-flow>span b{font-size:7px}.turn-panel #guessForm .btn{font-size:9px;padding-inline:10px}.turn-panel input{font-size:12px}}@media(prefers-reduced-motion:reduce){.cast-gallery{scroll-behavior:auto}}

@media(max-width:740px){.hero h1{font-size:clamp(43px,12.8vw,56px);letter-spacing:-1.7px}.turn-panel .notice{display:none}.turn-panel .turn-top{margin-bottom:8px}.turn-panel .timer{font-size:20px}.turn-panel .feedback{margin-top:8px}.rank-card{min-height:50px}.ranking-panel .board-note{font-size:8px}.top-cast-section .section-top h2{font-size:22px}}

@media(max-width:740px){.turn-panel input{font-size:16px}}
