:root{--animal-primary:#19c8b9;--animal-primary-bg:#e6f9f6;--animal-text:#794f27;--animal-text-body:#725d42;--animal-text-secondary:#9f927d;--animal-bg:#f8f8f0;--animal-bg-content:#f7f3df;--animal-border:#ded4b6;--animal-focus-yellow:#fc0;--mint:#277c6b;--paper:#fffdf3;--gold:#f4cf74;--coral:#cc7259;--host-top:0px;--host-bottom:0px;--ease:cubic-bezier(.4,0,.2,1)}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{font:500 14px Nunito,'Noto Sans SC','Microsoft YaHei',sans-serif;color:var(--animal-text-body);background:var(--animal-bg-content)}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;border-radius:50px;min-height:42px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid var(--animal-focus-yellow);outline-offset:2px}button:disabled{opacity:.45;cursor:default}button:active:not(:disabled){transform:translateY(2px)}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:900;color:var(--animal-text)}img{max-width:100%;-webkit-user-drag:none}button img{pointer-events:none}.icon{width:22px;height:22px;vertical-align:middle;object-fit:contain;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:1px solid var(--animal-border);font-weight:800;background:var(--paper);min-height:44px}.btn .icon{margin-right:7px}.primary{color:var(--paper);background:var(--mint);border-color:var(--mint);box-shadow:0 4px 0 #195648}.small{font-size:11px;min-height:34px;padding:6px 12px}.muted{color:var(--animal-text-secondary)}.eyebrow{text-transform:uppercase;font-size:9px;letter-spacing:2px;color:var(--mint);font-weight:900}.ribbon{display:inline-block;background:var(--mint);color:var(--paper);padding:6px 20px;clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%);font-size:10px;letter-spacing:2px}.boot{padding:30px}#app{height:100%;position:relative;isolation:isolate}.shell{position:relative;height:100%;max-width:620px;margin:auto;overflow:hidden;background:var(--animal-bg-content);border-left:1px solid var(--animal-border);border-right:1px solid var(--animal-border)}.world{position:absolute;top:0;right:0;bottom:0;left:0;background: url('assets/training-room.webp') center 48%/cover no-repeat}.world:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(255,253,243,.95),rgba(255,253,243,.2) 25%,transparent 45%,rgba(247,243,223,.1) 65%,rgba(247,243,223,.98) 83%)}.topbar{position:absolute;top:calc(16px + var(--host-top));left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;z-index:3}.brand h1{font-size:23px;letter-spacing:-1px;margin-top:3px}.toptools{display:flex;align-items:center}.iconbtn{width:39px;min-height:39px;background:rgba(255,253,243,.92);border:1px solid var(--animal-border);margin-left:7px}.date{font-size:12px;font-weight:900;background:var(--paper);border-radius:14px;padding:8px 10px;text-align:center}.date small{display:block;font-size:8px;color:var(--animal-text-secondary);font-weight:500;margin-top:2px}.vitals{position:absolute;top:calc(92px + var(--host-top));left:20px;right:20px;z-index:3;display:flex;padding:11px 13px;border-radius:20px;border:1px solid rgba(222,212,182,.8);background:rgba(255,253,243,.94)}.power{min-width:43%;border-right:1px dashed var(--animal-border);padding-right:9px}.power>span{font-size:10px;color:var(--mint);font-weight:800}.power strong{font-size:34px;line-height:1.1;display:block;letter-spacing:-1px;color:var(--animal-text)}.power small{font-size:9px;color:var(--animal-text-secondary)}.meters{flex:1;padding-left:13px;display:flex;flex-direction:column;justify-content:center}.meter{font-size:10px;font-weight:800;margin:4px 0}.meter>span{float:right}.track{margin-top:4px;height:5px;background:#e9e4ce;border-radius:10px;overflow:hidden}.track i{display:block;height:100%;background:var(--mint);border-radius:10px}.meter:last-child .track i{background:var(--coral)}.schedule-peek{position:absolute;z-index:3;left:20px;right:20px;top:calc(193px + var(--host-top));display:flex;align-items:center;justify-content:space-between;font-size:11px;padding:9px 12px;background:rgba(255,253,243,.94);border:1px solid var(--animal-border);border-radius:16px;min-height:48px}.schedule-peek strong{display:block;color:var(--mint);font-size:12px}.schedule-peek small{display:block;margin-top:4px;font-size:9px}.record-pill{font-size:18px;font-weight:900;color:var(--animal-text);white-space:nowrap;margin-left:9px}.actor{position:absolute;z-index:2;height:38%;max-height:380px;width:65%;object-fit:contain;bottom:27%;left:18%;filter:drop-shadow(0 8px 5px rgba(97,67,32,.16));animation:breathe 5s ease-in-out infinite}.bubble{position:absolute;z-index:3;left:50%;bottom:64%;transform:translateX(-50%);padding:9px 14px;background:var(--paper);border-radius:20px;border:1px solid var(--animal-border);font-size:11px;max-width:82%;white-space:nowrap}.bubble:after{content:'';position:absolute;bottom:-7px;left:48%;width:12px;height:12px;border-right:1px solid var(--animal-border);border-bottom:1px solid var(--animal-border);background:var(--paper);transform:rotate(45deg)}.scene-label{position:absolute;left:20px;bottom:calc(271px + var(--host-bottom));font-size:9px;padding:6px 10px;background:rgba(255,253,243,.9);border-radius:50px;z-index:3}.bench{position:absolute;z-index:4;bottom:calc(51px + var(--host-bottom));left:14px;right:14px;background:rgba(255,253,243,.97);border-radius:25px;border:1px solid var(--animal-border);padding:14px}.bench-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.bench-head h2{font-size:16px}.slot-label{font-size:10px;font-weight:800;background:#f7edce;color:var(--animal-text);padding:6px 9px;border-radius:50px}.actions{display:flex;flex-wrap:wrap;margin:-4px}.action{width:calc(50% - 8px);margin:4px;padding:10px;border:1px solid var(--animal-border);border-radius:17px;background:var(--paper);text-align:left;min-height:66px;display:flex;align-items:center}.action>.icon{width:27px;height:27px;margin-right:8px;padding:3px;background:#e8edda;border-radius:9px}.action strong{display:block;font-size:12px;color:var(--animal-text)}.action small{display:block;font-size:9px;margin-top:5px;line-height:1.4}.action.risk{background:#fff2df;border-color:#e8bd8a}.bench-note{font-size:9px;margin-top:10px;line-height:1.5;color:var(--animal-text-secondary)}.nav{position:absolute;bottom:calc(9px + var(--host-bottom));left:16px;right:16px;display:flex;justify-content:space-between;z-index:5}.nav button{display:flex;align-items:center;justify-content:center;min-height:35px;font-size:10px;font-weight:800;padding:5px 10px;background:rgba(255,253,243,.86);border:1px solid rgba(222,212,182,.6)}.nav .icon{width:16px;height:16px;margin-right:5px}.readybench{text-align:center;padding:18px 14px}.readybench h2{font-size:19px;margin-bottom:7px}.readybench p{font-size:11px;line-height:1.7;margin:7px 0 12px}.readybench .btn{width:100%}.title-screen .actor{height:46%;bottom:23%;left:17%}.title-copy{position:absolute;z-index:3;top:calc(9% + var(--host-top));left:0;right:0;text-align:center}.title-copy h1{font-size:39px;line-height:1.25;letter-spacing:-2px;margin:13px 0 9px}.title-copy p{font-size:12px;line-height:1.8}.title-bottom{position:absolute;z-index:4;bottom:calc(5% + var(--host-bottom));left:28px;right:28px;text-align:center}.title-bottom .btn{display:flex;width:100%;margin-top:10px}.title-note{font-size:9px;line-height:1.6;margin-top:16px}.title-formula{position:absolute;z-index:3;bottom:28%;left:20px;right:20px;display:flex;justify-content:space-between;pointer-events:none}.formula-chip{background:rgba(255,253,243,.94);border:1px solid var(--animal-border);border-radius:18px;padding:12px;font-weight:900;transform:rotate(-6deg);font-size:12px}.formula-chip:last-child{transform:rotate(6deg);background:#fff0d0}.formula-chip strong{display:block;font-size:23px;color:var(--mint);margin-top:5px}.footer-tag{position:absolute;bottom:3px;left:0;right:0;text-align:center;font-size:8px;color:var(--animal-text-secondary)}.shade{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:rgba(65,54,36,.5);display:flex;align-items:center;justify-content:center;padding:16px;padding-top:calc(16px + var(--host-top));padding-bottom:calc(16px + var(--host-bottom));backdrop-filter:blur(5px)}.sheet{width:100%;max-width:500px;max-height:100%;display:flex;flex-direction:column;background:var(--paper);border-radius:29px 25px 30px 23px;border:2px solid var(--animal-border);overflow:hidden;animation:pop .2s var(--ease)}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:17px 20px 12px;border-bottom:1px dashed var(--animal-border);flex-shrink:0}.sheet-head h2{font-size:19px}.sheet-head .iconbtn{margin:0}.sheet-body{padding:18px 20px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.sheet-body>p{font-size:12px;line-height:1.8;margin-bottom:13px}.choices .btn{display:flex;flex-direction:column;width:100%;align-items:flex-start;border-radius:17px;margin-top:10px;text-align:left;padding:12px 14px}.choices small{font-size:10px;font-weight:500;margin-top:5px;line-height:1.5}.sheet-footer{padding:12px 20px 18px;flex-shrink:0}.sheet-footer .btn{width:100%}.event-art{display:block;width:100%;height:155px;object-fit:cover;border-radius:16px;margin-bottom:13px}.note-box{padding:12px 14px;border:1px solid var(--animal-border);background:#f6f0dc;border-radius:16px;font-size:11px;line-height:1.8;margin:10px 0}.rate-list{display:flex;justify-content:space-between;text-align:center;margin:15px 0}.rate-list>div{flex:1}.rate-list b{display:block;color:var(--mint);font-size:14px}.rate-list small{font-size:9px}.big-number{text-align:center;font-size:67px;color:var(--coral);font-weight:900;margin:12px 0}.mathline{text-align:center;font-size:20px;font-weight:900;margin-bottom:14px}.list-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px dashed var(--animal-border);font-size:12px}.list-row strong{color:var(--animal-text)}.list-row small{display:block;font-size:9px;margin-top:5px;color:var(--animal-text-secondary)}.list-row.active{color:var(--mint)}.list-row .rank{width:25px;color:var(--coral);font-weight:900}.list-row .grow{flex:1}.list-row .score{font-size:17px;font-weight:900}.list-row.done{opacity:.65}.battle-screen{position:absolute;top:0;right:0;bottom:0;left:0;z-index:8;background:var(--animal-bg-content);display:flex;flex-direction:column;padding:calc(16px + var(--host-top)) 17px calc(15px + var(--host-bottom));max-width:620px;margin:auto}.battle-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.battle-top h2{font-size:20px}.battle-top p{font-size:10px;margin-top:5px}.battle-score{font-size:29px;font-weight:900;color:var(--mint)}.battle-art{position:relative;flex:1;min-height:100px;overflow:hidden;border-radius:24px;background:#e2dfc9}.battle-art>img{width:100%;height:100%;object-fit:cover;position:absolute;top:0;right:0;bottom:0;left:0;animation:slowpan 9s ease-in-out infinite alternate}.battle-art .battle-badge{position:absolute;left:14px;top:14px;padding:8px 12px;background:var(--paper);border-radius:50px;font-size:10px;font-weight:900}.matchup{display:flex;align-items:center;justify-content:space-between;background:var(--paper);border:1px solid var(--animal-border);border-radius:18px;padding:13px;margin:12px 0}.matchup>div{flex:1;text-align:center}.matchup strong{display:block;font-size:23px;color:var(--animal-text)}.matchup small{display:block;font-size:9px;margin-top:4px}.versus{font-size:11px!important;color:var(--coral)!important}.battle-note{font-size:11px;line-height:1.8;margin:0 0 9px}.tactics{display:flex;margin:0 -4px 10px}.tactics button{flex:1;background:var(--paper);border:1px solid var(--animal-border);margin:0 4px;border-radius:15px;font-size:12px;font-weight:800;min-height:56px}.tactics small{display:block;font-size:8px;font-weight:500;margin-top:5px}.tactics .selected{background:var(--animal-primary-bg);border:2px solid var(--mint);color:var(--mint)}.battle-screen>.btn{width:100%;flex-shrink:0}.report-copy{padding:15px 4px;min-height:94px}.report-copy h2{font-size:22px;color:var(--mint);margin-bottom:8px}.report-copy p{font-size:12px;line-height:1.8}.report-tools{display:flex;margin:0 -4px}.report-tools>.btn{flex:1;margin:0 4px}.progress{height:4px;background:#e6dfc7;border-radius:8px;overflow:hidden;margin-top:8px}.progress i{display:block;height:100%;width:0;background:var(--mint)}#cinema{position:fixed;z-index:40;top:0;right:0;bottom:0;left:0;background:var(--animal-bg-content)}#cinema[hidden]{display:none}.cinema-wrap{max-width:780px;height:100%;margin:auto;display:flex;flex-direction:column;padding:calc(17px + var(--host-top)) 17px calc(16px + var(--host-bottom))}.cinema-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;flex-shrink:0}.cinema-head h2{font-size:19px;margin-top:5px}.cinema-tools{display:flex}.cinema-tools .btn{margin-left:5px}.cinema-frame{position:relative;flex:1;min-height:120px;overflow:hidden;background:#d4ccaf;border:5px solid var(--paper);border-radius:24px}.cinema-frame img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;animation:slowpan 6s ease-in-out infinite alternate}.cinema-ordinal{position:absolute;top:13px;left:13px;padding:7px 11px;background:var(--paper);border-radius:50px;font-size:10px;font-weight:900}.cinema-caption{margin-top:12px;background:var(--paper);border:1px solid var(--animal-border);border-radius:19px;padding:15px;min-height:110px;flex-shrink:0}.cinema-caption strong{font-size:17px;color:var(--animal-text)}.cinema-caption p{font-size:13px;line-height:1.8;margin-top:7px}.cinema-bottom{margin-top:12px;flex-shrink:0}.cinema-bottom .btn{width:100%}.cinema-hint{text-align:center;font-size:9px;margin-top:9px;color:var(--animal-text-secondary)}.result-screen{height:100%;overflow-y:auto;padding:calc(24px + var(--host-top)) 22px calc(18px + var(--host-bottom));max-width:620px;margin:auto;background:var(--animal-bg-content);text-align:center}.result-screen h1{font-size:29px;margin:9px 0}.result-screen .sub{font-size:12px;line-height:1.7}.result-art{width:100%;height:30vh;object-fit:cover;border:5px solid var(--paper);border-radius:23px;margin:17px 0 12px}.result-stats{display:flex;border:1px solid var(--animal-border);background:var(--paper);border-radius:20px;padding:14px 4px;margin-bottom:13px}.result-stats>div{flex:1}.result-stats strong{display:block;font-size:23px;color:var(--mint)}.result-stats small{font-size:9px;display:block;margin-top:5px}.result-actions{display:flex;flex-wrap:wrap;margin:-4px}.result-actions .btn{width:calc(50% - 8px);margin:4px;font-size:11px}.result-actions .primary{width:calc(100% - 8px);margin-top:10px}.result-screen .note-box{text-align:left}.album-item{padding:14px;border:1px solid var(--animal-border);border-radius:17px;margin:10px 0;font-size:12px}.album-item small{display:block;font-size:10px;line-height:1.7;margin-top:6px}.album-item .btn{margin-top:8px}.toggle{display:flex;justify-content:space-between;align-items:center;margin:14px 0;font-size:12px}.toggle button{border:1px solid var(--animal-border);padding:5px 13px;background:var(--animal-primary-bg)}#toast{position:fixed;bottom:30%;left:50%;transform:translate(-50%,10px);max-width:86%;z-index:80;background:var(--paper);color:var(--mint);border:1px solid var(--animal-border);border-radius:20px;padding:12px 19px;font-size:12px;opacity:0;pointer-events:none;transition:.2s var(--ease);font-weight:800}#toast.on{opacity:1;transform:translate(-50%,0)}.save-status{font-size:8px;color:var(--animal-text-secondary);position:absolute;bottom:1px;right:12px;z-index:5}.reduced *,body.hidden *{animation-play-state:paused!important}.reduced .cinema-frame img,.reduced .battle-art>img{animation:none}.danger{color:var(--coral)}
@keyframes breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes slowpan{0%{transform:scale(1.01)}100%{transform:scale(1.06) translateX(-1%)}}@keyframes pop{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:800px){body{background-image:radial-gradient(#c8cfb6 1px,transparent 1px);background-size:19px 19px}.shell,.battle-screen{max-width:500px}.title-copy h1{font-size:43px}.world{background-position:center 50%}}
@media(max-height:700px){.topbar{top:calc(10px + var(--host-top));left:14px;right:14px}.brand h1{font-size:20px}.eyebrow{font-size:7px;letter-spacing:1px}.date{font-size:10px;padding:6px 8px}.iconbtn{width:34px;min-height:34px}.vitals{top:calc(72px + var(--host-top));left:14px;right:14px;padding:8px 10px}.power strong{font-size:28px}.power>span,.power small{font-size:8px}.meter{font-size:9px;margin:3px 0}.schedule-peek{top:calc(154px + var(--host-top));left:14px;right:14px;padding:7px 9px;min-height:41px}.schedule-peek strong{font-size:10px}.schedule-peek small{font-size:8px}.record-pill{font-size:15px}.actor{height:34%;bottom:31%;left:20%;width:60%}.bubble{bottom:61%;font-size:9px;padding:7px 11px}.bench{bottom:calc(45px + var(--host-bottom));left:10px;right:10px;padding:10px;border-radius:20px}.bench-head{margin-bottom:7px}.bench-head h2{font-size:14px}.slot-label{font-size:8px;padding:5px 7px}.action{padding:8px;min-height:55px}.action>.icon{width:23px;height:23px;margin-right:6px}.action strong{font-size:10px}.action small{font-size:8px;margin-top:3px}.bench-note{font-size:8px;margin-top:6px}.scene-label{bottom:calc(233px + var(--host-bottom));left:14px;font-size:8px}.nav{bottom:calc(7px + var(--host-bottom));left:10px;right:10px}.nav button{min-height:31px;padding:4px 8px;font-size:9px}.nav .icon{width:14px;height:14px}.readybench h2{font-size:17px}.readybench p{font-size:10px;margin:6px 0 9px}.readybench .btn{min-height:40px}.title-copy{top:calc(7% + var(--host-top))}.title-copy h1{font-size:32px;margin:9px 0}.title-copy p{font-size:10px}.title-screen .actor{height:43%;bottom:25%}.title-bottom{bottom:calc(5% + var(--host-bottom));left:22px;right:22px}.title-bottom .btn{min-height:40px;margin-top:7px;padding:9px}.title-note{font-size:8px;margin-top:9px}.title-formula{bottom:30%;left:15px;right:15px}.formula-chip{padding:9px;font-size:9px}.formula-chip strong{font-size:19px}.sheet-head{padding:12px 15px 9px}.sheet-head h2{font-size:17px}.sheet-body{padding:13px 15px}.sheet-body>p{font-size:11px;margin-bottom:9px}.event-art{height:110px}.choices .btn{padding:9px 11px;margin-top:8px;min-height:49px;font-size:12px}.choices small{font-size:9px}.big-number{font-size:50px;margin:8px 0}.mathline{font-size:17px}.note-box{padding:9px 11px;font-size:10px}.sheet-footer{padding:9px 15px 13px}.cinema-wrap{padding:calc(11px + var(--host-top)) 12px calc(12px + var(--host-bottom))}.cinema-head{margin-bottom:9px}.cinema-head h2{font-size:15px}.cinema-tools .btn{font-size:9px;min-height:31px;padding:5px 9px}.cinema-caption{min-height:92px;padding:11px;margin-top:9px}.cinema-caption strong{font-size:15px}.cinema-caption p{font-size:11px;margin-top:5px}.cinema-bottom{margin-top:9px}.cinema-bottom .btn{min-height:39px;font-size:12px}.cinema-hint{font-size:8px;margin-top:6px}.battle-screen{padding:calc(12px + var(--host-top)) 12px calc(12px + var(--host-bottom))}.battle-top{margin-bottom:9px}.battle-top h2{font-size:17px}.battle-score{font-size:25px}.matchup{padding:9px;margin:9px 0}.matchup strong{font-size:20px}.battle-note{font-size:10px;margin-bottom:7px}.tactics button{min-height:49px;font-size:11px}.battle-screen>.btn{min-height:40px;font-size:12px}.report-copy{min-height:86px;padding:12px 3px}.report-copy h2{font-size:19px}.report-copy p{font-size:11px}.result-screen{padding:calc(15px + var(--host-top)) 15px calc(15px + var(--host-bottom))}.result-screen h1{font-size:24px}.result-screen .sub{font-size:10px}.result-art{height:25vh;margin:11px 0 9px}.result-stats{padding:10px 3px;margin-bottom:10px}.result-stats strong{font-size:20px}.result-actions .btn{min-height:38px;padding:8px 9px;font-size:10px}}
@media(max-width:350px){.brand h1{font-size:18px}.toptools .iconbtn{margin-left:4px}.vitals{left:10px;right:10px}.schedule-peek{left:10px;right:10px}.power{min-width:42%}.action{padding:7px}.action>.icon{width:21px;height:21px;margin-right:5px}.action small{font-size:7px}.title-copy h1{font-size:30px}.cinema-head h2{font-size:13px}.cinema-tools .btn{padding:5px 7px;font-size:8px}.nav button{padding:4px 6px}.sheet-head h2{font-size:16px}}
.cinema-frame.overview{display:flex;flex-wrap:wrap}.cinema-frame.overview>div{position:relative;width:50%;height:50%;border:2px solid var(--paper);overflow:hidden}.cinema-frame.overview img{position:absolute;top:0;right:0;bottom:0;left:0;animation:none}.cinema-frame.overview span{position:absolute;left:5px;bottom:6px;font-size:9px;background:var(--paper);padding:4px 7px;border-radius:12px}.sheet .choices .btn:last-child{margin-bottom:3px}
.paused *{animation-play-state:paused!important}button:focus{outline:3px solid var(--animal-focus-yellow);outline-offset:2px}button:focus:not(:focus-visible){outline:none}
@media(max-height:600px){.shell:not(.title-screen) .vitals{top:calc(66px + var(--host-top))}.shell:not(.title-screen) .schedule-peek{top:calc(154px + var(--host-top));min-height:39px}.shell:not(.title-screen) .actor{height:calc(100% - 404px - var(--host-top) - var(--host-bottom));bottom:calc(206px + var(--host-bottom));max-height:none}.shell:not(.title-screen) .bubble{display:none}.shell:not(.title-screen) .action{min-height:48px}.shell:not(.title-screen) .bench-note{display:none}.shell:not(.title-screen) .scene-label{bottom:calc(207px + var(--host-bottom))}.shell:not(.title-screen) .power strong{font-size:25px}.shell:not(.title-screen) .power small{font-size:7px}.shell:not(.title-screen) .vitals{padding:7px 10px}}
@media(max-height:650px){.result-screen .result-art{height:20vh;margin:8px 0}.result-screen .note-box{font-size:9px;line-height:1.55;padding:8px 10px;margin:7px 0}.result-screen h1{margin:6px 0}.result-screen .result-actions .btn{min-height:35px;padding:7px 9px}.result-screen .title-note{margin-top:8px}.result-screen .result-stats{padding:8px 3px;margin-bottom:7px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.series-card{position:relative;margin:12px 0 0;text-align:left;font-family:inherit;color:#79512f}
.series-link{display:flex;align-items:center;min-height:48px;padding:10px 13px;border:1px solid #c9d7bd;border-radius:17px;background:#edf3df;color:#366f60;text-decoration:none;box-shadow:0 2px 0 #cfdbc4}
.series-link:focus{outline:3px solid #efb94e;outline-offset:2px}.series-link:hover{background:#e4eed3}
.series-tag{font-size:9px;white-space:nowrap;padding:4px 7px;border-radius:8px;background:#d4e5c8;margin-right:9px}
.series-copy{flex:1;min-width:0}.series-copy strong{display:block;font-size:12px;line-height:1.5}.series-copy small{display:block;font-size:10px;line-height:1.55;color:#78836b;margin-top:3px}
.series-arrow{font-size:20px;margin-left:10px}.series-thumb{width:48px;height:48px;border-radius:12px;object-fit:cover;margin-right:12px;flex-shrink:0}
.series-status:empty{display:none}.series-status{display:block;margin:7px 4px 0;font-size:10px;line-height:1.5;color:#86613b}
.series-ending{margin-top:16px}.series-ending .series-link{min-height:68px}
.title-screen{display:flex;flex-direction:column;padding:calc(20px + var(--host-top)) 22px calc(14px + var(--host-bottom))}
.title-screen .title-copy{position:relative;top:auto;left:auto;right:auto;z-index:2;flex-shrink:0}
.title-screen .title-copy h1{margin:6px 0 2px;font-size:0;line-height:0}
.title-screen .title-logo{display:block;width:260px;height:152px;max-width:100%;object-fit:contain;margin:auto}
.title-screen .title-copy p{margin-top:4px;font-size:11px;line-height:1.6;color:#704b28;font-weight:700;text-shadow:0 1px 2px #fff,0 0 5px #fff}
.title-screen .actor{position:relative;left:auto;bottom:auto;align-self:center;width:100%;height:0;min-height:0;flex:1;z-index:1;object-fit:contain;object-position:center;max-height:none}
.title-screen .title-formula{position:relative;bottom:auto;left:auto;right:auto;flex-shrink:0;z-index:2;margin:3px 0 8px}
.title-screen .formula-chip{padding:7px 12px;font-size:10px}.title-screen .formula-chip strong{font-size:21px}
.title-screen .title-bottom{position:relative;left:auto;right:auto;bottom:auto;flex-shrink:0;z-index:2}
.title-screen .title-bottom>.btn{margin-top:5px;min-height:44px;padding:10px}
.title-screen .title-note{margin-top:9px;font-size:8px;line-height:1.5}
.title-screen .series-start{margin-top:9px}.title-screen .series-link{min-height:42px;padding:7px 11px}
.title-screen .ribbon{font-size:10px}
@media(max-height:700px){.title-screen{padding:calc(12px + var(--host-top)) 16px calc(10px + var(--host-bottom))}.title-screen .title-logo{width:215px;height:102px}.title-screen .title-copy p{font-size:9px;line-height:1.5}.title-screen .formula-chip{padding:5px 9px;font-size:8px}.title-screen .formula-chip strong{font-size:17px}.title-screen .title-bottom>.btn{min-height:38px;padding:8px;font-size:12px}.title-screen .title-note{font-size:7px;margin-top:7px}.title-screen .ribbon{font-size:8px}.title-screen .series-link{min-height:38px}.series-copy strong{font-size:11px}.series-copy small{font-size:9px}}

.sound-entry{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 14px;border:1px solid #d5d8be;border-radius:24px;background:#f9f6e8;color:#537264;font:700 12px 'Microsoft YaHei',sans-serif;cursor:pointer;vertical-align:middle;margin:8px 0;flex-shrink:0}
.sound-entry svg,.friend-primary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sound-entry svg ellipse{fill:currentColor;stroke:none}
.friend-invite{box-sizing:border-box;text-align:left;margin:14px 0;padding:16px;border:1px solid #cbd8b9;border-radius:22px;background:#eef2de;color:#79512e}.friend-eyebrow{font-size:10px;letter-spacing:1px;color:#267e6c;font-weight:800}.friend-invite h2{font-size:19px;line-height:1.5;margin:5px 0}.friend-invite p{font-size:12px;line-height:1.75;margin:4px 0 12px;color:#7c7257}
.friend-primary{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;min-height:50px;padding:11px 16px;background:#287e70;color:#fff9e8;border:1px solid #236e60;box-shadow:0 4px 0 #195b4f;border-radius:24px;font:800 14px 'Microsoft YaHei',sans-serif;cursor:pointer;text-align:center}.friend-primary:active{transform:translateY(2px);box-shadow:0 2px 0 #195b4f}.friend-primary small{display:block;font-size:10px;line-height:1.6;font-weight:400;opacity:.9;margin-top:2px}.friend-primary:disabled{opacity:.6;cursor:wait}
.sound-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1600;box-sizing:border-box;padding:calc(12px + var(--host-top,0px)) 12px calc(12px + var(--host-bottom,0px));display:flex;align-items:center;justify-content:center;background:rgba(46,39,26,.66)}
.sound-dialog{box-sizing:border-box;width:420px;max-width:100%;max-height:100%;overflow:auto;overscroll-behavior:contain;background:#fffaf0;border:3px solid #dfd5b4;border-radius:27px;padding:19px;color:#79512e;font:14px 'Microsoft YaHei',sans-serif;box-shadow:0 18px 64px #201a1640}.sound-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.sound-dialog h2{font-size:23px;margin:0;line-height:1.5}.sound-close{min-width:40px;min-height:40px;background:#f4edd9;border:1px solid #dfd5b4;border-radius:50%;font-size:26px;color:#79512e;cursor:pointer}.sound-intro{font-size:13px;line-height:1.8;margin:11px 0;color:#7d7056}.sound-help{font-size:11px;line-height:1.8;color:#908365;margin:10px 0}.sound-setting{border-top:1px dashed #ddd2b0;padding:17px 0 10px}.sound-setting>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.sound-setting label{font-weight:800}.sound-setting button{font:700 12px 'Microsoft YaHei',sans-serif;min-height:36px;padding:6px 13px;border-radius:20px;border:1px solid #d7cfb5;color:#8d7b61;background:#f3eedf}.sound-setting button[aria-checked=true]{background:#deebcf;color:#267766;border-color:#bad1b1}.sound-range{display:flex;align-items:center;gap:12px;margin-top:12px}.sound-range input{accent-color:#287e70;width:100%;min-height:32px;min-width:0}.sound-range output{font-size:12px;min-width:36px;text-align:right}.sound-dialog>.sound-entry{width:100%;margin-bottom:0}.sound-dialog :focus-visible,.friend-invite :focus-visible{outline:3px solid #efb94e;outline-offset:3px}
.friend-share-record{display:flex;align-items:center;flex-direction:column;padding:10px;border-radius:17px;background:#eef2de;margin-top:12px}.friend-share-record img{display:block;width:100%;height:150px;object-fit:cover;object-position:center 35%;border-radius:10px}.friend-share-record strong{font-size:20px;margin:10px 0 4px}.friend-share-record span{font-size:11px;color:#708269}.friend-share-actions{display:flex;gap:8px;flex-wrap:wrap}.friend-share-actions>.friend-primary{flex:1;min-width:130px;font-size:12px;min-height:43px}.sound-dialog textarea{box-sizing:border-box;width:100%;height:78px;resize:none;border:1px solid #dcd4b9;background:#f9f5e6;border-radius:11px;margin-top:15px;padding:9px;color:#75674d;font:11px/1.6 'Microsoft YaHei',sans-serif}
@media(max-height:650px){.sound-dialog{padding:13px;border-radius:22px}.sound-dialog h2{font-size:20px}.sound-setting{padding:10px 0 4px}.sound-intro{font-size:12px;margin:7px 0}.sound-help{font-size:10px;margin:6px 0}.friend-share-record img{height:94px}.friend-share-record strong{font-size:17px}.friend-invite{padding:12px;margin:10px 0}.friend-invite h2{font-size:17px}.friend-invite p{font-size:11px;margin-bottom:8px}.friend-primary{min-height:45px;font-size:13px}.sound-dialog textarea{height:66px;margin-top:10px}}
@media(max-width:650px) and (max-height:650px){.splash{height:var(--app-height,100vh);min-height:0;box-sizing:border-box;padding:calc(10px + var(--host-top,0px)) 14px calc(10px + var(--host-bottom,0px))}.splash-card{height:100%;max-height:100%;border-width:4px}.splash-art{height:104px;min-height:0;flex:0 1 104px}.splash-copy{padding:10px 14px;min-height:0;flex:1;justify-content:flex-start;overflow-y:auto;overscroll-behavior:contain}.splash-copy h1{font-size:21px;line-height:1.2;margin:7px 0}.splash-copy .lead{font-size:10px;line-height:1.55;margin-bottom:5px}.splash-copy .btn{min-height:36px;margin-top:5px;font-size:11px;padding:7px 10px}.splash-copy>.sound-entry{min-height:32px;padding:5px;margin:6px 0;font-size:11px}.splash-copy>.series-card{margin-top:5px}.splash-copy .series-link{min-height:38px;padding:6px 10px}.splash-copy .series-copy strong{font-size:11px}.splash-copy .series-copy small{font-size:8px}.splash-copy .footnote{font-size:7px;line-height:1.5;margin-top:6px}}
