/* 公共细节；不改变业务数据或游戏运动。 */
.lab-home .game-shell{width:min(100% - 40px,1040px)}.story-game .game-shell,.guess-game .game-shell,.arcade-game .game-shell,.center-game .game-shell{width:min(100% - 40px,960px)}
.game-header,.topbar{gap:12px}.game-header .header-actions,.topbar .top-actions{justify-content:flex-end}.panel,.play-card,.ea-center-card{isolation:isolate}.panel,.ea-center-card{border-color:#dcd0e655;box-shadow:0 12px 32px #80627c10,0 4px 0 #e9e0eb70}.button,.btn,.eg-help button,.ea-button{min-height:44px;transition:background .18s,border-color .18s,box-shadow .18s,transform .1s}.option,.option label{transition:border-color .18s,background .18s,box-shadow .18s,transform .1s}.option.selected,.option[aria-pressed=true],.option input:checked+label{box-shadow:0 0 0 2px #ab8fc41a,0 3px 10px #8f70aa12}.button:disabled,.btn:disabled{box-shadow:none}.stage-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:start}.stage-columns>section{min-width:0}.stage-choice{padding:18px;border:1px solid #e3d7e9;border-radius:18px;background:#fffafbbf}.stage-choice>.options{margin-top:0}.stage-choice .actions{gap:8px}.stage-choice .actions button{flex:1 1 120px}.stage-scene .message,.stage-scene .scene{overflow-wrap:anywhere}.stage-scene .message{font-size:15px}.stage-scene .echo{margin-top:16px}.stage-scene .eyebrow{margin-bottom:14px}.scene-body,.stage-scene{line-height:1.85}
.eg-help{max-width:560px}.eg-help-top{position:sticky;top:-19px;z-index:2;background:#fffaf6;padding:4px 0}.eg-help>.eg-help-main,.eg-try>.eg-help-main{position:sticky;bottom:0;z-index:1;box-shadow:0 0 0 5px #fffaf6,0 5px 12px #70557f12}.eg-help button{white-space:normal}.ea-dialog,.eg-share{max-width:560px;max-height:calc(100dvh - max(28px,env(safe-area-inset-bottom)));overscroll-behavior:contain}.ea-dialog .ea-actions{position:sticky;bottom:-23px;padding:12px 0 max(12px,env(safe-area-inset-bottom));background:#fffaf5}.ea-import-row{align-items:flex-start}.ea-center-card h2{line-height:1.5}.ea-center-card .ea-button{margin:3px 6px 6px 0}.ea-center-grid>button{grid-column:1/-1}.ea-center-card details[open]{padding-bottom:8px}.ea-center-card .ea-history{background:#ffffff70;border-radius:10px;padding-inline:10px}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.play-card,.ea-center-card,.story-entry{transition:transform .24s,box-shadow .24s,border-color .24s}.play-card:hover,.ea-center-card:hover,.story-entry:hover{transform:translateY(-4px);box-shadow:0 16px 35px #80627c20,0 4px 0 #e9e0eb80}.play-card .cover>*{transition:transform .3s}.play-card:hover .mock-chat{transform:translateY(-3px) rotate(-1deg)}.play-card:hover .character{transform:translateY(-3px)}.play-card:hover .mini-player{transform:translateX(-50%) translateY(-4px)}.button:hover,.btn:hover{filter:brightness(1.035)}}
@media(max-width:760px){.lab-home .game-shell,.story-game .game-shell,.guess-game .game-shell,.arcade-game .game-shell,.center-game .game-shell{width:calc(100% - 24px)}.stage-columns{grid-template-columns:1fr;gap:15px}.stage-choice{padding:14px}.stage-scene .message{font-size:14px}.stage-choice .options{margin-bottom:12px}.ea-center-grid{grid-template-columns:1fr}.ea-dialog .ea-actions{bottom:-19px}.game-header{flex-wrap:wrap}.game-header .brand{margin-right:auto}.eg-help-top{top:-17px}.panel{padding:20px}.eg-share img{max-height:58dvh}}
@media(max-width:420px){.lab-home .game-shell,.story-game .game-shell,.guess-game .game-shell,.arcade-game .game-shell,.center-game .game-shell{width:calc(100% - 20px)}.stage-choice{padding:12px}.stage-choice .actions button{font-size:12px;padding-inline:10px}.eg-help-top{top:-15px}.panel{padding:16px}.ea-dialog h2{font-size:18px}}
@media(max-height:520px) and (orientation:landscape){.eg-help,.ea-dialog,.eg-share{max-height:calc(100dvh - 16px)}.eg-help-art{padding:8px}.eg-help h2{margin-top:10px}.eg-try-track{height:155px}.eg-try-track .eg-try-lane{padding-top:90px}}
@media(prefers-reduced-motion:reduce){.play-card,.play-card *,.ea-center-card,.story-entry,.button,.btn,.option,.option label,.play-card:hover,.ea-center-card:hover,.story-entry:hover{transform:none!important}.eg-help::backdrop,.ea-dialog::backdrop{backdrop-filter:none}}
.lab-home .play-card{display:flex;flex-direction:column}.lab-home .card-body{display:flex;flex-direction:column;flex:1}.lab-home .play-cta{margin-top:auto}.lab-home .play-grid{align-items:stretch}.lab-home .status-line{margin-top:8px}.lab-polished .dyc-modal-login__panel{max-width:560px;max-height:calc(100dvh - max(24px,env(safe-area-inset-bottom)));overflow:auto}.lab-polished .dyc-modal-login input{font-size:16px}@media(max-width:760px){.lab-home .card-body{padding:15px}.lab-home .cover{height:155px}.lab-home .card-body>p{font-size:12px}.lab-home .card-body h3{font-size:18px}}@media(max-width:420px){.lab-home .cover{height:130px}.lab-home .card-body{padding:13px 11px}.lab-home .card-body h3{font-size:16px}.lab-home .card-meta{font-size:10px}}
