.casual-mini h1{font-size:26px;margin:12px 0}.casual-mini .notice{min-height:64px;display:flex;align-items:center;font-size:14px}.block-board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;padding:10px;background:var(--theme-soft)}.block-board .block-cell{min-height:0;height:34px;padding:0;border-radius:4px;background:var(--theme-surface);border:1px solid var(--theme-line);box-shadow:none;touch-action:manipulation}.block-board .block-cell.filled,.shape-grid .filled{background:var(--theme-accent);box-shadow:inset 0 -3px rgba(0,0,0,.133)}.block-board .block-cell.preview{background:var(--theme-deep);outline:2px dashed #263248;outline-offset:-3px}.block-board .block-cell:focus-visible{outline:3px solid var(--theme-deep);outline-offset:0}.block-hand{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.block-hand button{height:96px;padding:8px;display:flex;align-items:center;justify-content:center}.block-hand button.selected{outline:3px solid var(--theme-accent);outline-offset:1px}.shape-grid{display:grid;grid-template-columns:repeat(3,19px);gap:3px}.shape-grid i{width:19px;height:19px;border-radius:3px}.meeting-room,.report-desk{padding:12px;border:2px solid var(--theme-line);border-radius:16px;background:var(--theme-soft)}.meeting-boss{text-align:center;padding:10px 0 18px;font-size:14px}.escape-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:12px}.escape-board button,.empty-seat{height:68px;min-width:0;padding:3px;border-radius:10px}.escape-board button{display:grid;grid-template-columns:1fr 16px;align-content:center;box-shadow:0 3px rgba(38,50,72,.125)}.escape-board button span{font-size:23px}.escape-board button b{font-size:21px}.escape-board button small{grid-column:1 / 3;font-size:10px}.escape-board .empty-seat{border:1px dashed var(--theme-line);background:rgba(255,255,255,.208)}.escape-board .self{border:2px solid var(--theme-accent);background:var(--theme-surface)}.escape-board .hint{outline:3px dashed var(--theme-deep);outline-offset:1px}.report-stacks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}.report-stacks button{min-width:0;min-height:110px;padding:6px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-shadow:0 5px 0 var(--theme-line)}.report-stacks button span{font-size:30px}.report-stacks button b{font-size:13px}.report-stacks button small{font-size:11px}.report-tray{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.report-tray span{display:flex;align-items:center;justify-content:center;height:44px;border:1px dashed var(--theme-accent);border-radius:8px;background:var(--theme-surface);font-size:23px}.casual-mini .mini-result{text-align:center}.mini-result p{text-align:left;line-height:1.8}@media (max-width:350px){.block-board{padding:6px;gap:2px}.block-board .block-cell{height:29px}.escape-board{gap:4px}.escape-board button,.empty-seat{height:60px}.escape-board button span{font-size:20px}.escape-board button b{font-size:17px}.meeting-room,.report-desk{padding:8px}.report-tray span{font-size:20px}}:root{--bg: #EEF5FF;--surface: #FFFDF8;--surface-soft: #F7F2E8;--primary: #FF7A1A;--primary-dark: #D95712;--primary-light: #FFE0B9;--blue: #4E8DFF;--blue-dark: #2C5DA8;--green: #35C46A;--red: #FF5C5C;--yellow: #FFC94A;--text: #263248;--text-secondary: #677287;--line: rgba(38, 50, 72, .1);--radius-page: 20px;--radius-card: 16px;--radius-button: 16px;--radius-icon: 14px;--radius-modal: 24px;--shadow-card: 0 6px 20px rgba(40, 60, 90, .1);--shadow-soft: 0 2px 8px rgba(40, 60, 90, .08);--font-page-title: 28px;--font-section-title: 22px;--font-card-title: 18px;--font-body: 15px;--font-helper: 13px;--font-button: 17px}.game[data-work-theme="0"]{--theme-accent: #a9531b;--theme-deep: #7a3c13;--theme-soft: #f1e3db;--theme-canvas: #f7f0ea;--theme-surface: #fcfaf8;--theme-line: #e7cfbf}.game[data-work-theme="1"]{--theme-accent: #345d9b;--theme-deep: #254370;--theme-soft: #dfe5ef;--theme-canvas: #edf0f6;--theme-surface: #f9fafc;--theme-line: #c6d2e3}.game[data-work-theme="2"]{--theme-accent: #76563d;--theme-deep: #553e2c;--theme-soft: #e9e4e0;--theme-canvas: #f3f0ee;--theme-surface: #fbfaf9;--theme-line: #d9d0c9}.game[data-work-theme="3"]{--theme-accent: #3d517d;--theme-deep: #2c3a5a;--theme-soft: #e0e3ea;--theme-canvas: #eeeff3;--theme-surface: #f9fafb;--theme-line: #c9cedb}.game[data-work-theme="4"]{--theme-accent: #ab3932;--theme-deep: #7b2924;--theme-soft: #f2dfde;--theme-canvas: #f7eded;--theme-surface: #fcf9f9;--theme-line: #e7c8c6}.game[data-work-theme="5"]{--theme-accent: #526057;--theme-deep: #3b453f;--theme-soft: #e3e6e4;--theme-canvas: #eff1f0;--theme-surface: #fafafa;--theme-line: #cfd2d0}.game[data-work-theme="6"]{--theme-accent: #246b88;--theme-deep: #1a4d62;--theme-soft: #dce7ec;--theme-canvas: #ebf2f4;--theme-surface: #f8fbfb;--theme-line: #c2d6de}.game[data-work-theme="7"]{--theme-accent: #08737b;--theme-deep: #065359;--theme-soft: #d7e9ea;--theme-canvas: #e9f2f3;--theme-surface: #f8fbfb;--theme-line: #bad8da}.game[data-work-theme="8"]{--theme-accent: #7443a2;--theme-deep: #543075;--theme-soft: #e9e1f0;--theme-canvas: #f2eef7;--theme-surface: #fbf9fc;--theme-line: #d8cae5}.game[data-work-theme="9"]{--theme-accent: #256747;--theme-deep: #1b4a33;--theme-soft: #dce7e2;--theme-canvas: #ebf1ee;--theme-surface: #f8faf9;--theme-line: #c2d4cb}.game[data-work-theme="10"]{--theme-accent: #4d6481;--theme-deep: #37485d;--theme-soft: #e3e6eb;--theme-canvas: #eff1f4;--theme-surface: #fafafb;--theme-line: #cdd4dc}.game[data-work-theme="11"]{--theme-accent: #82439a;--theme-deep: #5e306f;--theme-soft: #ebe1ef;--theme-canvas: #f4eef6;--theme-surface: #fbf9fc;--theme-line: #dccae3}.game[data-work-theme="12"]{--theme-accent: #2f7462;--theme-deep: #225447;--theme-soft: #dee9e6;--theme-canvas: #ecf2f1;--theme-surface: #f9fbfa;--theme-line: #c5d8d3}.game[data-work-theme="13"]{--theme-accent: #87601d;--theme-deep: #614515;--theme-soft: #ece6db;--theme-canvas: #f4f1eb;--theme-surface: #fbfaf8;--theme-line: #ddd2c0}.game[data-work-theme="14"]{--theme-accent: #873e53;--theme-deep: #612d3c;--theme-soft: #ece0e3;--theme-canvas: #f4eef0;--theme-surface: #fbf9fa;--theme-line: #ddc9cf}.game[data-work-theme="15"]{--theme-accent: #246b99;--theme-deep: #1a4d6e;--theme-soft: #dce7ef;--theme-canvas: #ebf2f6;--theme-surface: #f8fbfc;--theme-line: #c2d6e2}.game[data-work-theme="16"]{--theme-accent: #5751a4;--theme-deep: #3f3a76;--theme-soft: #e4e3f0;--theme-canvas: #f0eff7;--theme-surface: #fafafc;--theme-line: #d0cee6}.game[data-work-theme="17"]{--theme-accent: #654296;--theme-deep: #49306c;--theme-soft: #e6e1ee;--theme-canvas: #f1eef6;--theme-surface: #faf9fc;--theme-line: #d4cae2}.game[data-work-theme="18"]{--theme-accent: #876017;--theme-deep: #614511;--theme-soft: #ece6da;--theme-canvas: #f4f1ea;--theme-surface: #fbfaf8;--theme-line: #ddd2be}.game[data-work-theme="19"]{--theme-accent: #176f7b;--theme-deep: #115059;--theme-soft: #dae8ea;--theme-canvas: #eaf2f3;--theme-surface: #f8fbfb;--theme-line: #bed7da}*{box-sizing:border-box}body{margin:0;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;background:#c9dcec;background-image:linear-gradient(90deg,rgba(203,220,236,.9),rgba(226,237,246,.45),rgba(203,220,236,.9)),repeating-linear-gradient(90deg,transparent 0,transparent 230px,#a4bdd4 230px,#a4bdd4 243px);-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:var(--radius-button);background:var(--surface);color:var(--text);min-height:44px;padding:10px 13px;font-weight:700;transition:transform .09s,background .15s;touch-action:manipulation}button:active:not(:disabled){transform:translateY(2px) scale(.98)}button:focus,input:focus,textarea:focus,select:focus{outline:3px solid #4e8dff;outline-offset:3px}button:disabled{cursor:default;background:#dce1e6!important;color:#737d8a!important;box-shadow:none!important;border-color:#d3d9e0!important}button small{display:block;font-size:11px;margin-top:4px;font-weight:500}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.2;margin-bottom:10px;letter-spacing:-.8px}h2{font-size:20px;margin-bottom:12px}h3{font-size:17px;margin-bottom:8px}p{font-size:14px;line-height:1.7;margin-bottom:14px}small{font-size:12px}strong,b{font-weight:750}small,.muted{color:var(--text-secondary)}.game{max-width:430px;min-height:100vh;margin:0 auto;background:linear-gradient(#d7eaff 0,#e8f1f9 320px,#f4f0e6 650px);box-shadow:0 0 90px rgba(92,120,149,.17);padding-bottom:100px;overflow:hidden;position:relative}.game header{display:flex;align-items:center;justify-content:space-between;padding:19px 18px 12px;padding-top:calc(19px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)))}.brand{font-size:25px;letter-spacing:-1.5px;border:0;background:none;padding:0;color:#56341f;text-shadow:1px 2px #fff8e5}.brand small{font-size:10px;display:block;letter-spacing:2px;color:#78634a;margin:3px auto 0;background:#fff3d0;width:145px;padding:4px;border-radius:8px}.header-actions{display:flex}.header-actions button{padding:0;width:35px;min-height:35px;border-radius:50%;font-size:19px;background:rgba(255,253,248,.79);margin-left:6px}.wallet{display:flex;justify-content:space-between;align-items:center;margin:7px 17px 0;padding:16px 18px;border:2px solid #ffffffbc;border-radius:22px;background:var(--surface);box-shadow:var(--shadow-card)}.wallet>div:first-child{flex:1;min-width:0}.wallet strong{display:block;font-size:33px;letter-spacing:-1px;color:var(--primary-dark);margin:4px 0;overflow-wrap:break-word}.wallet span{display:inline-block;font-size:12px;padding:4px 12px;background:#f4ead6;border-radius:20px;color:#73634c;font-weight:700}.worktime{border-left:1px solid var(--line);padding-left:12px;text-align:center}.worktime b{display:block;font-size:13px;margin-top:8px}.morale{width:90px;padding-left:13px;border-left:1px solid var(--line)}.morale b{display:block;font-size:25px;margin-top:6px}progress{display:block;width:100%;height:9px;border:0;border-radius:20px;overflow:hidden;background:#e6e3dc;margin:9px 0 13px}progress::-webkit-progress-bar{background:#e6e3dc}progress::-webkit-progress-value{background:#5398f2;border-radius:20px}progress::-moz-progress-bar{background:#5398f2}.morale progress{margin-bottom:0}main{padding:22px 17px 15px;animation:page-in .18s ease-out}.hero{height:213px;position:relative;margin:-9px -17px 0;overflow:hidden}.office-window{position:absolute;left:32px;right:32px;top:12px;height:155px;display:flex;border:7px solid #a8bfd6;border-top-width:5px;background:linear-gradient(#c4e3ff,#e9f5fc);box-shadow:0 10px #dde7ef}.office-window i{flex:1;border-right:5px solid #abc1d5;position:relative}.office-window i:before{content:"";position:absolute;bottom:0;left:15%;width:36%;height:60%;background:#b5cce4;box-shadow:23px 14px #c5d8eb}.office-window i:last-child{border:0}.horse{display:block;width:290px;height:218px;margin:0 auto;position:relative}.hero .horse{width:285px;height:214px;z-index:1;margin-top:2px}.horse.small{width:100%;height:130px}.horse.low{transform:translateY(20px) rotate(-9deg)}.horse.tired{transform:rotate(-3deg)}.role-chip{position:absolute;top:13px;left:15px;z-index:2;font-size:11px;border-radius:20px;padding:6px 10px;background:rgba(255,253,248,.867);border:1px solid #fff}.desk{position:absolute;bottom:0;height:20px;background:#d2ab7f;border-top:7px solid #eccba0;width:100%;box-shadow:0 5px #c19a6e;display:flex;justify-content:space-between;padding:0 29px}.desk span{font-size:30px;position:relative;top:-39px}.boss-message{position:absolute;right:15px;top:48px;font-size:12px;z-index:3;border:2px solid white;box-shadow:var(--shadow-card);padding:9px;max-width:166px}.boss-message small{font-size:9px}.primary{background:linear-gradient(#ff9e38,#ff7a1a);border:1px solid #eb7419;color:#fff;box-shadow:inset 0 2px #ffd28c,0 3px #cf5f12;text-shadow:0 1px 1px #b84f1766}.primary:disabled{text-shadow:none}.wide{width:100%;margin-bottom:13px}.work{display:block;width:88%;margin:-4px auto 16px;position:relative;z-index:3;min-height:64px;border-radius:40px;font-size:23px;box-shadow:inset 0 3px #ffe0a8,0 5px #ce641e,0 9px 14px rgba(167,96,38,.19);border:3px solid #ffd08a}.work small{display:inline;font-size:12px;margin-left:5px}.tutorial{font-size:12px;color:#79512b;text-align:center;background:#fff3d2;padding:10px;border-radius:10px;margin-bottom:14px}.section-heading,.row{display:flex;align-items:center}.between,.section-heading{justify-content:space-between}.section-heading h2{font-size:18px;margin:4px 0 14px}.section-heading h1{margin-bottom:16px}.text{min-height:35px;border:0;background:none;padding:4px;color:var(--blue-dark);font-size:12px}.card{background:var(--surface);border:1px solid #fff;border-radius:var(--radius-card);padding:17px;margin-bottom:12px;box-shadow:var(--shadow-soft)}.building{display:flex;align-items:center;padding:12px 10px;min-height:90px}.icon-tile{display:inline-flex;justify-content:center;align-items:center;background:#e5eff7;width:49px;height:54px;border-radius:12px;font-size:29px;flex-shrink:0}.building-info{padding:0 9px;flex:1;min-width:0}.building-info b{font-size:15px}.level{font-size:10px;border-radius:7px;background:#e6efff;color:#3264ac;padding:3px 5px;margin-left:5px;white-space:nowrap}.building-info small{display:block;margin:5px 0;font-size:10px;line-height:1.4}.building-info strong{display:block;font-size:12px;color:var(--primary-dark)}.purchase{padding:8px 6px;min-width:80px;font-size:13px;border-radius:11px}.purchase small{color:inherit}.ghost{background:rgba(255,253,248,.576);border:1px solid #cfd7df;box-shadow:none}.ghost.wide{margin-top:8px}.footnote{font-size:11px;color:#8390a0;text-align:center;margin:13px 0}.segments{display:flex;padding:4px;background:#fffdf8;border-radius:15px;margin:17px 0}.segments button{flex:1;border:0;background:none;border-radius:12px;min-height:39px;font-size:13px;padding:5px}.segments .active,nav .active{background:#fff0bd;color:#773c14}.bulk{display:flex;align-items:center;font-size:11px;margin:15px 0;justify-content:space-between}.bulk button{min-height:32px;padding:4px 12px;font-size:12px;border-radius:8px}.selected{border:2px solid var(--blue)!important;background:#eef6ff!important;color:var(--blue-dark)}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px}.two>.card{margin-bottom:0}.two{margin-bottom:14px}.upgrade{padding:13px;display:flex;flex-direction:column;align-items:flex-start;min-height:215px}.upgrade h3{margin-top:12px;font-size:15px}.upgrade p{font-size:12px;flex:1;color:var(--text-secondary)}.upgrade button{font-size:13px;margin-bottom:0}.empty{text-align:center;padding:35px 15px;background:rgba(255,253,248,.61);border:1px dashed #c5d4e3;border-radius:18px;color:var(--text-secondary);margin:20px 0}.empty>span{font-size:32px;display:block;margin-bottom:15px}.empty h3{font-size:16px}.empty p{font-size:13px;margin-bottom:0}.pill{display:inline-block;border-radius:12px;background:#e3edff;color:#3262a5;padding:7px 10px;font-size:12px;font-weight:700}.mini-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;margin:15px 0 25px}.mini-links .card{padding:12px 5px;text-align:center;box-shadow:none}.mini-links span{font-size:28px;display:block;margin-bottom:10px}.mini-links b{font-size:12px;display:block}.mini-links small{font-size:9px;line-height:1.4}.branch{padding:14px 10px;background:#dff0ff;border:1px solid #cce5f9;border-radius:16px;margin-bottom:12px}.branch>b{font-size:14px;display:block;margin-bottom:12px}.branch-1{background:#e0f4e6;border-color:#cbe9d4}.branch-2{background:#fff0d5;border-color:#f3e0b9}.branch-3{background:#e9e5ff;border-color:#dcd5f8}.skill-nodes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:5px}.skill-nodes button{font-size:10px;line-height:1.4;min-height:79px;padding:5px 3px;border-radius:11px;background:rgba(255,255,255,.59)}.skill-nodes span{display:block;font-size:20px;margin-bottom:6px}.skill-nodes .owned{color:#288b4e;background:#fffbed}.skill-detail{margin-top:16px}.gallery .card{padding:9px;text-align:center}.gallery b{font-size:14px}.portrait{height:120px;border-radius:12px;background:#c8e3fa;overflow:hidden;margin-bottom:10px}.portrait-1{background:#d6dced}.portrait-2{background:#d1eee5}.portrait-3{background:#fae6b9}.portrait .horse{height:135px;transform:scale(1.18)}.unknown{display:block;font-size:60px;padding-top:20px;color:#9eb1c2}.loss{background:#fff0ed}.loss h2{color:#cc6156;font-size:19px}.keep{background:#e8f2ff}.keep h2{color:#397bd2;font-size:19px}.loss p,.keep p{font-size:12px;margin:8px 0}.big{display:block;font-size:35px;color:var(--primary-dark);margin:7px 0}.big small{font-size:13px}.spotlight{text-align:center;background:#fff5d9}.notice{background:#fff1c9;border:1px solid #f5dfa3;color:#89621e;padding:14px;border-radius:14px;font-size:13px;text-align:center;margin:15px 0}.danger{background:#ffdfd9;color:#bf332b;border-color:#ffb1a5}.danger-button{background:#fff0ed;color:#bf463a;border-color:#f1b6aa}.achievement{padding:15px 10px;font-size:13px;min-height:112px;text-align:center;opacity:.65}.achievement>span{display:block;font-size:25px;margin-bottom:8px}.achievement b,.achievement small{display:block}.achievement small{font-size:10px;margin-top:5px}.achievement.earned{opacity:1;background:#fff8de}.row small{display:block;font-size:11px;margin-top:5px;line-height:1.5}.row>div:first-child{padding-right:10px}.check{display:flex;align-items:center;margin-bottom:15px;font-size:14px}.check input{width:19px;height:19px;margin-right:10px}.card>label{font-size:13px;display:block;margin-bottom:15px}input[type=range]{display:block;width:100%;margin-top:14px;accent-color:var(--primary)}textarea{width:100%;height:140px;resize:vertical;background:#f4f7fb;border:1px solid #cbd7e1;border-radius:12px;padding:12px;margin-bottom:14px;font-size:12px;word-break:break-all}.diagnosis{text-align:center;border:5px solid #f4e3c5}.eyebrow{font-size:10px;color:#8292a6;letter-spacing:2px}.diagnosis h1{margin-top:14px}.diagnosis>p{color:#77766b;margin-bottom:8px}.diagnosis-name{font-size:33px;color:var(--primary-dark)}.diagnosis-stats{background:#f7f1e6;padding:12px;border-radius:12px;margin:20px 0;text-align:left}.diagnosis-stats .row{padding:7px 0;font-size:13px}.diagnosis-stats b{color:var(--primary-dark)}.chips{display:flex;flex-wrap:wrap}.chips>*{margin:0 6px 8px 0}.chips button{font-size:12px;min-height:36px;padding:7px 10px}.share-image{width:100%;display:block;margin-bottom:15px}.ending{text-align:center;padding:22px 10px;min-height:560px}.ending h1{margin:18px 0}.ending h2{margin:25px 0;font-size:21px}.sky{background:linear-gradient(#caeaff,#fffef5);border-radius:20px}.back{margin-bottom:17px}.buffs{display:flex;flex-wrap:wrap;padding:10px 18px 0}.buffs span{font-size:10px;background:#fff2c5;border-radius:8px;margin:0 5px 5px 0;padding:5px 8px}.start{text-align:center;padding-top:45px}.start h1{font-size:32px;margin-top:14px;line-height:1.5}.start small{font-size:10px;display:block;margin-top:22px}.start .horse{margin:25px auto}.start p{color:var(--text-secondary)}nav{position:fixed;bottom:0;width:100%;max-width:430px;z-index:10;background:var(--surface);display:flex;padding:9px 10px 12px;padding-bottom:calc(12px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));border-radius:24px 24px 0 0;box-shadow:0 -4px 22px rgba(91,105,129,.08);border-top:2px solid #fff}nav button{flex:1;font-size:12px;background:none;border:0;padding:5px 3px;min-height:54px;color:#909397}nav span{display:block;font-size:23px;line-height:1.3;margin-bottom:3px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(32,48,76,.5);z-index:100;display:flex;align-items:center;justify-content:center;padding:22px}.modal{background:var(--surface);padding:27px 23px;border-radius:24px;max-width:370px;width:100%;box-shadow:0 15px 80px rgba(24,44,73,.24);text-align:center;max-height:90vh;overflow-y:auto}.modal-icon{font-size:38px;display:block;margin-bottom:17px}.modal h2{font-size:23px}.modal p{color:var(--text-secondary)}.modal button{margin-top:8px}.modal .two{margin:12px 0 0}.toast{position:fixed;bottom:110px;left:50%;transform:translate(-50%);width:85%;max-width:365px;padding:13px 17px;background:rgba(38,50,72,.93);color:#fff;border-radius:13px;z-index:120;font-size:13px;text-align:center;box-shadow:var(--shadow-card);pointer-events:none}.floating-zone{position:absolute;top:115px;left:0;right:0;z-index:5;pointer-events:none}.floating-zone span{position:absolute;color:#e56b14;font-weight:900;font-size:22px;text-shadow:0 2px white;animation:float .8s ease-out forwards}.debug{padding:12px;margin:15px;border:1px dashed #b07b58;border-radius:10px;font-size:11px;background:#fff6e8}.debug summary{cursor:pointer;padding:10px}.debug select{max-width:180px}.mini h1{text-align:center;margin-top:20px}.mini>.muted{text-align:center}.mini .card{font-size:13px}.excel-window{background:#fff;border:2px solid #3e9872;border-radius:13px;overflow:hidden;box-shadow:var(--shadow-card)}.excel-title{background:#258359;color:#fff;padding:13px;font-size:13px;font-weight:700}.toolbar{background:#f1f4f5;padding:12px 8px;font-size:10px;color:#606c73}.excel-window table{border-collapse:collapse;width:100%;font-size:12px;table-layout:fixed}.excel-window td,.excel-window th{border:1px solid #dce2e5;padding:12px 4px;text-align:center}.excel-window th{background:#e2f2e5}.excel-window td:nth-child(2){width:50%}.fish-page{height:287px;text-align:center;padding:54px 10px;background:#eff8ff}.fish-page span{font-size:60px}.fish-page h2{margin-top:15px}.green{background:#42b86f;color:#fff;border-color:#229850;box-shadow:0 3px #218750}.meeting-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:7px;padding:10px;border-radius:15px;background:#3c4659;margin-bottom:15px}.meeting-grid>div{background:linear-gradient(#cee1f3,#edf3f8);border-radius:9px;height:112px;position:relative;display:flex;align-items:center;justify-content:center}.meeting-grid span{font-size:43px}.meeting-grid label{position:absolute;bottom:4px;left:5px;background:rgba(255,255,255,.79);padding:3px 6px;border-radius:5px;font-size:10px}.responses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:7px;margin-bottom:15px}.responses button{font-size:11px;padding:9px 4px;background:#edf5ff}.responses small{font-size:8px;line-height:1.6}.report p{background:#f7f4eb;padding:13px;border-radius:10px;line-height:1.9}.mini>.horse{height:120px;width:160px;margin-top:20px}button.card:hover:not(:disabled){border-color:#a9c5e3}.skill-detail{animation:page-in .18s ease}.row.between>button{flex-shrink:0;font-size:12px}a{color:var(--blue-dark)}@keyframes float{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-65px)}}@keyframes page-in{0%{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 360px){main{padding-left:12px;padding-right:12px}.wallet{margin-left:12px;margin-right:12px;padding:13px}.wallet strong{font-size:28px}.brand{font-size:22px}.header-actions button{width:30px;min-height:32px}.building-info b{font-size:13px}.icon-tile{width:42px}.purchase{min-width:71px}.skill-nodes button{font-size:9px}.work{font-size:20px}.work small{font-size:10px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}.floating-zone{display:none}}@supports (min-height: 100dvh){.game{min-height:100dvh}}.pagination{margin:15px 0 20px}.pagination button{font-size:12px}.purchased{animation:purchase-flash .15s ease-out}.working .horse{animation:work-press .09s ease-out}@keyframes purchase-flash{0%{background:#ffdda8}to{background:#fffdf8}}@keyframes work-press{50%{transform:translateY(4px)}}.playing header,.playing .wallet,.playing .buffs{display:none}.playing main{padding-top:14px}.mini h1{margin-top:12px}.playing .mini>.horse{display:none}.playing .mini>.muted{margin-bottom:12px}.playing .mini .two .card{padding:12px}.playing .mini .big{font-size:28px;margin-bottom:0}.playing .meeting-grid>div{height:85px}.playing .meeting-grid{margin-bottom:10px}.playing .notice{margin:10px 0;padding:11px}.playing .responses{margin-bottom:10px}body{background:#d8e5ec;background-image:radial-gradient(ellipse at 50% 20%,#f4f1e6 0,transparent 65%),linear-gradient(135deg,#c6dce8,#e3e8e2)}.game{background:linear-gradient(180deg,#e0edf7 0,#edf2f3 340px,#f6f1e8 720px);box-shadow:0 0 80px rgba(51,77,99,.1)}.game header{padding:19px 17px 13px}.brand{font-size:24px;letter-spacing:-1px;color:#4b3527;text-align:left}.brand small{background:none;margin:4px 0 0;padding:0;letter-spacing:2px;color:#7b817d;font-size:10px;width:auto;text-align:left}.header-actions button{width:44px;min-height:44px;margin-left:3px;border:1px solid #ffffffb3;background:rgba(255,253,248,.65);box-shadow:0 3px 6px rgba(104,122,133,.063);border-radius:15px;color:#687987;display:flex;align-items:center;justify-content:center}.ui-icon{display:inline-block;width:26px;height:26px;flex-shrink:0;vertical-align:middle}.header-actions .ui-icon{width:21px;height:21px}.wallet{border:1px solid #fff;background:linear-gradient(120deg,#fffefa,#fff9ed);border-radius:20px;box-shadow:0 5px 16px rgba(100,113,123,.05),inset 0 -2px rgba(233,223,204,.4);padding:15px 18px}.wallet strong{font-size:34px;color:#a96329;font-variant-numeric:tabular-nums;letter-spacing:-1.2px}.wallet span{background:#f3ead7;color:#8b744d;font-size:11px;padding:4px 9px}.worktime{border-color:#e5dbc8;color:#6c7780}.worktime b{font-size:12px;color:#435666}.hero{height:auto;aspect-ratio:1.5;margin:-7px 0 0;border-radius:19px;box-shadow:0 5px 13px rgba(100,113,123,.08);border:1px solid #fff4dd;background:#bcd4df}.office-art{display:block;width:100%;height:auto;object-fit:cover}.role-chip{top:11px;left:11px;background:rgba(255,252,240,.93);border-color:#fffdf5;color:#72573b;font-weight:700;box-shadow:0 2px 5px rgba(113,96,75,.08);font-size:10px;padding:5px 8px}.role-chip .ui-icon{width:14px;height:14px;margin-right:3px}.scene-caption{position:absolute;bottom:10px;left:11px;background:rgba(54,79,96,.72);color:#fff8e9;font-size:9px;letter-spacing:1px;padding:5px 9px;border-radius:6px}.boss-message{top:45px;right:10px;background:#fff9e9;max-width:145px}.work{margin-top:15px;margin-bottom:17px;font-size:21px;border-radius:18px;min-height:65px;background:linear-gradient(#ffa347,#f78329);border:2px solid #ffd39a;box-shadow:inset 0 2px #ffe9c6,0 4px #c77530,0 7px 12px rgba(165,102,39,.125);text-shadow:0 1px #ab5a2020}.work .ui-icon{width:27px;height:27px;margin-right:5px}.work small{font-size:11px}.tutorial{background:none;color:#8a7b62;padding:2px 0 11px;font-size:11px;margin-bottom:8px}.section-heading h2{font-size:17px;letter-spacing:.2px;color:#51493c}.card{border:1px solid #e9e1d3;background:linear-gradient(135deg,#fffefb,#fffcf6);border-radius:16px;box-shadow:0 3px rgba(215,205,188,.208),0 5px 12px rgba(104,91,70,.063)}.building{padding:12px 11px;min-height:96px;margin-bottom:11px}.icon-tile{width:47px;height:51px;background:linear-gradient(145deg,#eaf2f5,#d9e7ec);border:1px solid #cfdee2;box-shadow:inset 0 2px rgba(255,255,255,.7);color:#628395;border-radius:13px}.icon-tile .ui-icon{width:29px;height:29px}.building:nth-of-type(3n) .icon-tile{background:linear-gradient(145deg,#f5efdf,#e9dec7);border-color:#e2d5bd;color:#9c7c48}.building:nth-of-type(3n+1) .icon-tile{background:linear-gradient(145deg,#e9efe7,#d8e5d5);border-color:#d0decc;color:#748969}.building-info b{font-size:14px;color:#50493e}.building-info small{font-size:10px;color:#8a8c86}.building-info strong{color:#b27a39;font-size:11px}.level{font-size:9px;background:#edf0e9;color:#7c8a75;padding:3px 4px;margin-left:4px}.purchase{min-width:76px;background:linear-gradient(#ffd58e,#ffc367);border-color:#efbd76;color:#85511f;box-shadow:inset 0 1px #ffedcd,0 2px #e1b06d;font-size:12px}button:disabled{background:#ecebe6!important;color:#96988f!important;border-color:#e0dfd8!important}.segments{border:1px solid #e6dfd4;box-shadow:0 2px 5px rgba(91,80,57,.035)}.segments .active{background:#f6e5c4;color:#926332;box-shadow:inset 0 1px #fffcf3}.horse.illustrated{width:220px;height:260px;transform:none}.horse.illustrated img{display:block;width:100%;height:100%;object-fit:contain}.start{padding-top:25px}.start h1{color:#513d2b;font-size:31px;line-height:1.45;letter-spacing:1px}.start .eyebrow{background:#e7d6b5;color:#8c693b;letter-spacing:5px;padding:7px 15px;border-radius:5px}.start .horse.illustrated{height:280px;width:250px;margin:-14px auto -4px;filter:drop-shadow(0 10px 7px #8c6d4020)}.start p{color:#7b7b6d;font-size:13px;letter-spacing:1px}.start .primary{border-radius:16px;min-height:55px}.start>small{font-size:10px}.portrait{overflow:hidden;background:radial-gradient(ellipse at 50% 80%,#fff9e9,#e3eaf0);border:1px solid #e8e0d0;border-radius:12px;height:136px}.portrait-1{background:radial-gradient(ellipse,#fff7e6,#f1dfc2)}.portrait-2{background:radial-gradient(ellipse,#f7faec,#dce8d4)}.portrait-3{background:radial-gradient(ellipse,#fff5e7,#e7def1)}.portrait .horse.illustrated{height:235px;width:100%;margin:-7px auto 0}.gallery .card{padding:9px 9px 14px}.gallery b{color:#685239}nav{background:rgba(255,253,247,.96);border-top:1px solid #e7dfd0;box-shadow:0 -5px 20px rgba(87,102,116,.04);padding-top:8px}nav button{border-radius:13px;margin:0 2px;min-height:57px;font-size:10px;color:#8c918c;display:flex;align-items:center;justify-content:center;flex-direction:column}nav .ui-icon{width:24px;height:24px;margin-bottom:4px}nav .active{background:#f8e9cc;color:#a66a2d;box-shadow:inset 0 1px #fff5de}@media (max-width:350px){.game header{padding-left:13px;padding-right:13px}.brand{font-size:21px}.header-actions button{width:39px;min-height:44px;margin-left:2px}.wallet{margin-left:13px;margin-right:13px;padding:13px}.wallet strong{font-size:29px}main{padding-left:13px;padding-right:13px}.work{font-size:19px}.work small{font-size:10px}.building{padding:10px 8px}.icon-tile{width:39px;height:45px}.building-info{padding:0 7px}.building-info b{font-size:12px}.purchase{min-width:66px;font-size:11px}.level{margin-left:2px;font-size:8px}.start h1{font-size:28px}}@supports not (aspect-ratio:1.5){.hero{height:auto}}.work small{color:#fff8e9}.mini-links .ui-icon{width:32px;height:32px;color:#819587}.working .office-art{animation:office-tap .12s ease-out}@keyframes office-tap{50%{transform:scale(1.012)}}@media (prefers-reduced-motion:reduce){.working .office-art{animation:none}}nav button{position:relative}.nav-dot{position:absolute;top:6px;left:calc(50% + 8px);width:9px;height:9px;border:2px solid #fffdf7;border-radius:50%;background:#e74b42;box-shadow:0 1px 3px rgba(167,44,41,.15);pointer-events:none}.utility-overlay{z-index:90;padding:18px}.utility-dialog{width:100%;max-width:410px;max-height:85vh;max-height:85dvh;overflow-y:auto;overscroll-behavior:contain;background:#f6f2e9;border:1px solid #fff8eb;border-radius:24px;box-shadow:0 18px 70px rgba(38,55,71,.27);outline:none}.utility-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:8px 14px 8px 20px;background:#fffaf0;border-bottom:1px solid #e8dfce;color:#8b714d;font-size:13px;font-weight:700}.utility-toolbar button{width:44px;height:44px;padding:0;border:0;background:transparent;font-size:28px;color:#7f776b}.utility-content{padding:20px 17px 24px}.utility-content h1{font-size:25px}.utility-content .card:last-child{margin-bottom:0}@media (max-width:350px){.utility-overlay{padding:10px}.utility-content{padding:16px 12px}.utility-content h1{font-size:23px}}.utility-dialog{scrollbar-width:none;-ms-overflow-style:none}.utility-dialog::-webkit-scrollbar{display:none;width:0;height:0}.layered-hero{height:calc(100vh - 480px);min-height:270px;max-height:350px;aspect-ratio:auto;margin-top:-7px;border-radius:22px;isolation:isolate}.office-layers{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}.scene-background{position:absolute;width:100%;height:100%;object-fit:cover;left:0;top:0}.scene-character{position:absolute;width:64%;height:0;padding-bottom:64%;left:11%;bottom:26%;overflow:hidden;z-index:1}.typing-strip{display:block;position:absolute;left:0;top:0;width:400%;height:100%;max-width:none;animation:horse-type 1.4s steps(4,end) infinite;will-change:transform}.scene-workstation{position:absolute;width:106%;height:auto;left:-3%;bottom:0;z-index:2}.typing-fast .typing-strip{animation-duration:.36s}.typing-paused .typing-strip{animation-play-state:paused}@keyframes horse-type{to{transform:translate(-100%)}}.layered-hero .role-chip{z-index:4}.layered-hero .scene-caption{bottom:auto;top:13px;left:auto;right:10px;z-index:4;font-size:9px;background:rgba(255,252,240,.91);color:#8b7759;letter-spacing:0}.layered-hero .floating-zone{top:50%;z-index:6}.layered-hero .boss-message{z-index:7;top:47px}.work-control{position:relative;z-index:8;text-align:center;margin-top:-27px;margin-bottom:14px;pointer-events:none}.money-button.primary.work{display:flex;flex-direction:column;align-items:center;justify-content:center;width:112px;height:112px;min-height:112px;padding:8px;margin:0 auto;border-radius:50%;border:4px solid #ffebbc;background:radial-gradient(circle at 35% 20%,#ffbd60,#f79832 60%,#ec7d20);box-shadow:inset 0 2px #fff4d4,inset 0 -4px #de7c25,0 5px #be6a29,0 9px 18px rgba(180,116,54,.19);pointer-events:auto;transition:transform .09s,box-shadow .09s;font-size:13px;line-height:1.2;letter-spacing:1px}.money-stack{width:62px;height:52px;filter:drop-shadow(0 2px 1px #97612740);margin-top:-5px;margin-bottom:1px}.money-button.primary.work:active{transform:translateY(4px) scale(.95);box-shadow:inset 0 2px #fff0c3,0 1px #be6a29,0 4px 8px rgba(180,116,54,.19)}.boosted .money-stack{transform:rotate(-5deg) scale(1.04)}.work-reward{font-size:12px;font-weight:700;color:#aa743c;margin-top:13px}.work-reward span{font-size:10px;font-weight:400;color:#9b9486;margin-left:4px}.work-control+.tutorial{margin-bottom:0;padding-bottom:2px;font-size:10px}@media (max-height:750px){.layered-hero{min-height:230px}.money-button.primary.work{width:100px;height:100px;min-height:100px}.work-control{margin-bottom:10px}.money-stack{width:55px;height:47px}}@media (prefers-reduced-motion:reduce){.typing-strip{animation:none!important;will-change:auto}.boosted .money-stack{transform:none}}.scene-workstation{bottom:-10%}@media (max-height:750px){.layered-hero{min-height:250px}.scene-character{width:60%;padding-bottom:60%;left:12%;bottom:23%}.scene-workstation{bottom:-15%}}.mute-setting{display:flex;align-items:center;justify-content:space-between;padding:12px 0 16px;margin-bottom:12px;border-bottom:1px solid #e9e1d3}.mute-setting b{font-size:14px}.mute-setting small{display:block;font-size:10px;margin-top:5px}.mute-switch{min-width:76px;margin-left:10px;border-radius:24px;background:#e9efdf;color:#64804e;border-color:#d6dfc9;font-size:12px}.mute-switch.is-muted{background:#ede9e1;color:#847865;border-color:#d9d1c3}.game.office-page{background:#f1e4cc;isolation:isolate}.page-office-background{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-1;pointer-events:none}.office-page>header,.office-page>.wallet,.office-page>main,.office-page>.buffs{position:relative}.office-page .layered-hero{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.office-page .office-layers{overflow:visible}.office-page .wallet{background:rgba(255,253,245,.93);box-shadow:0 5px 20px rgba(119,94,54,.125)}.office-page .brand small{color:#665139;text-shadow:0 1px 3px #fff8df}.office-page .work-reward{display:table;margin:13px auto 0;padding:6px 12px;border-radius:20px;background:rgba(255,249,232,.93);color:#8c572c;box-shadow:0 2px 9px rgba(114,89,52,.063)}.office-page .work-reward span{color:#897350}.office-page .tutorial,.office-page .footnote{width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;padding:6px 10px;background:rgba(255,250,233,.91);border-radius:12px;color:#7f6444}.office-page .work-control{margin-bottom:8px}.office-page .footnote{margin-top:6px;margin-bottom:0;font-size:10px;padding:4px 10px}.office-page .layered-hero,.office-page .work-control{top:36px}@media (max-height:750px){.office-page .layered-hero,.office-page .work-control{top:24px}}.office-page .work-control+.tutorial{margin-top:40px}@media (max-height:750px){.office-page .work-control+.tutorial{margin-top:28px}}.office-page .work-control{top:62px}.office-page .work-control+.tutorial{margin-top:66px}@media (max-height:750px){.office-page .work-control{top:44px}.office-page .work-control+.tutorial{margin-top:48px}}@supports selector(:focus-visible){button:focus:not(:focus-visible){outline:none}button:focus-visible{outline:3px solid #4e8dff;outline-offset:3px}}.gallery .portrait{height:205px;padding:6px;display:flex;align-items:center;justify-content:center}.evolution-portrait{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 3px 3px #73552c16)}.game[data-work-theme]{--primary:var(--theme-accent);--primary-dark:var(--theme-deep);--primary-light:var(--theme-soft);--blue:var(--theme-accent);--blue-dark:var(--theme-deep);--bg:var(--theme-canvas);--surface:var(--theme-surface);--surface-soft:var(--theme-soft);--line:var(--theme-line);background:linear-gradient(var(--theme-canvas),var(--theme-surface));color:var(--text)}.game .brand{color:var(--theme-deep);text-shadow:1px 2px var(--theme-surface),-1px -1px var(--theme-surface)}.game .brand small,.game.office-page .brand small{color:var(--theme-deep);text-shadow:0 1px 3px var(--theme-surface)}.game .header-actions button,.game nav,.game .wallet,.game.office-page .wallet,.game .card,.game .modal,.game .utility-dialog{background:var(--theme-surface);border-color:var(--theme-line)}.game .wallet strong,.game .building-info strong,.game .gallery b,.game .section-heading h2{color:var(--theme-deep)}.game .header-actions button,.game nav button{color:var(--theme-deep)}.game nav .active,.game .segments .active,.game .wallet span,.game .pill,.game .level{background:var(--theme-soft);color:var(--theme-deep)}.game .primary,.game .purchase{background:linear-gradient(var(--theme-accent),var(--theme-deep));border-color:var(--theme-deep);color:#fff;box-shadow:inset 0 1px rgba(255,255,255,.25),0 3px 0 var(--theme-deep);text-shadow:none}.game .money-button.primary.work{background:radial-gradient(circle at 35% 20%,var(--theme-accent),var(--theme-deep));border-color:var(--theme-soft);box-shadow:inset 0 2px rgba(255,255,255,.314),inset 0 -4px 0 var(--theme-deep),0 5px 0 var(--theme-deep),0 9px 18px rgba(38,50,72,.19)}.game .money-button.primary.work:active{box-shadow:inset 0 2px rgba(255,255,255,.314),0 1px var(--theme-deep),0 4px 8px rgba(38,50,72,.19)}.game .role-chip,.game .layered-hero .scene-caption,.game.office-page .work-reward,.game.office-page .tutorial,.game.office-page .footnote{background:var(--theme-surface);color:var(--theme-deep);border-color:var(--theme-line)}.game .work-reward span,.game .worktime{color:var(--text-secondary);border-color:var(--theme-line)}.game .utility-toolbar{background:var(--theme-soft);color:var(--theme-deep);border-color:var(--theme-line)}.game .utility-toolbar button{color:var(--theme-deep)}.game .segments,.game .mute-setting{border-color:var(--theme-line)}.game .building .icon-tile{background:linear-gradient(var(--theme-surface),var(--theme-soft));color:var(--theme-accent);border-color:var(--theme-line)}.game progress::-webkit-progress-value{background:var(--theme-accent)}.game progress::-moz-progress-bar{background:var(--theme-accent)}.game button:focus,.game input:focus,.game textarea:focus,.game select:focus{outline-color:var(--theme-accent)}.game .work-dock{display:grid;grid-template-columns:1fr 1fr 112px 1fr 1fr;align-items:end;gap:2px;padding:10px 8px calc(12px + env(safe-area-inset-bottom,0px));overflow:visible}.work-dock .dock-menu{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:64px;padding:6px 0;border-radius:14px}.work-dock .dock-menu svg{width:27px;height:27px}.work-dock .dock-work{height:72px;position:relative;display:flex;align-items:flex-end;justify-content:center;padding-bottom:4px}.work-dock .money-button.primary.work{flex:none;width:108px;height:108px;min-height:108px;margin:0;position:relative;font-size:13px}.work-dock .money-button span{font-size:13px;line-height:1.2;white-space:nowrap;margin:0;letter-spacing:0}.office-page>main{padding-bottom:150px}.office-page .tutorial{position:fixed;bottom:calc(127px + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 30px);z-index:9;margin:0;text-align:center;font-size:10px}.game .sheet-overlay{align-items:flex-end;padding:0;z-index:90}.game .work-sheet{display:flex;flex-direction:column;width:100%;max-width:430px;height:82vh;height:82dvh;max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px);overflow:hidden;border-radius:26px 26px 0 0;border:2px solid var(--theme-line);border-bottom:0;animation:sheet-rise .24s ease-out;box-shadow:0 -10px 50px rgba(38,50,72,.25)}.work-sheet .utility-toolbar{flex:none;justify-content:center;padding:20px 16px 12px;font-size:17px;position:relative}.work-sheet .utility-toolbar:before{content:"";position:absolute;width:42px;height:4px;top:7px;border-radius:4px;background:var(--theme-accent);opacity:.3}.work-sheet .utility-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 16px 24px}.sheet-footer{flex:none;background:var(--theme-soft);border-top:1px solid var(--theme-line);padding:6px 16px calc(8px + env(safe-area-inset-bottom,0px));text-align:center}.sheet-footer button{width:100%;min-height:52px;background:transparent;border:0;color:var(--theme-deep);font-size:16px}.sheet-footer button span{font-size:29px;vertical-align:-2px;margin-right:5px}@keyframes sheet-rise{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (max-width:350px){.game .work-dock{grid-template-columns:1fr 1fr 96px 1fr 1fr;padding-left:4px;padding-right:4px}.work-dock .money-button.primary.work{width:96px;height:96px;min-height:96px}.work-dock .money-stack{width:52px;height:44px}}@media (prefers-reduced-motion:reduce){.game .work-sheet{animation:none}}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gallery-grid .card{min-width:0;padding:5px 5px 10px;margin:0}.gallery-grid .portrait{height:132px;padding:3px}.gallery-grid b{display:block;font-size:11px;line-height:1.5;margin-top:6px}.evolution-overlay{z-index:95}.evolution-dialog{max-width:360px;padding-top:16px}.evolution-preview{height:160px;display:flex;justify-content:center;align-items:center}.evolution-preview img{max-width:100%;height:100%;object-fit:contain}.evolution-info{padding:8px 20px 20px}.evolution-info h2{text-align:center;margin-top:8px}.evolution-info .wide{margin-top:8px}.diagnosis-overlay{z-index:98;padding:16px}.diagnosis-dialog{display:flex;flex-direction:column;max-width:398px;overflow:hidden}.diagnosis-dialog .utility-content{min-height:0;overflow-y:auto;overscroll-behavior:contain}.diagnosis-dialog .sheet-footer{flex:none}.game.playing{position:fixed;top:0;bottom:0;left:50%;right:auto;transform:translate(-50%);z-index:20;width:100%;max-width:430px;min-height:0;height:100vh;height:100dvh;margin:0;padding:0;overflow:hidden}.game.playing>main{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:calc(14px + env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) calc(20px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));animation:none}.playing .mini{width:100%;min-width:0;margin:0 auto}.playing .mini>.row:first-child{position:sticky;top:0;z-index:5;background:var(--theme-canvas);padding:5px 0 9px}.playing>.debug{display:none}@media (max-width:350px){.gallery-grid{gap:6px}.gallery-grid .portrait{height:110px}.gallery-grid b{font-size:10px}.evolution-info{padding:8px 14px 16px}}.gallery .unknown{padding-top:0}@media (max-width:350px){.gallery .portrait{height:175px;padding:4px}.gallery b{font-size:12px}}.work-dock .money-button small{font-size:10px;line-height:1.2;letter-spacing:0;margin:2px 0 0;max-width:88px;white-space:nowrap}.game{--game-top-clearance:44px}@supports (padding-top:max(1px,2px)){.game{--game-top-clearance:max(44px,var(--safe-area-inset-top,env(safe-area-inset-top,0px)))}}.game header{padding-top:calc(35px + var(--game-top-clearance))}.game.playing>main{padding-top:calc(14px + var(--game-top-clearance))}.game.office-page>header{padding-bottom:5px}.office-page>.wallet{margin-top:3px}.office-page .layered-hero{top:16px}@media (max-height:750px){.office-page .layered-hero{top:8px}}
