.adoption-request-panel{inset:var(--game-statusbar-height) 0 0;z-index:390;background:#101915c9;place-items:center;padding:20px;display:grid;position:fixed}.adoption-request-panel>section{color:#4e3b31;background:#f5ead8;border:1px solid #ac8766;width:min(760px,96vw);max-height:85vh;padding:24px;overflow:auto}.adoption-request-panel header{border-bottom:1px solid #c4aa8b;justify-content:space-between;align-items:center;padding-bottom:13px;display:flex}.adoption-request-panel h2{margin:3px 0;font-size:28px;font-weight:400}.adoption-request-panel header small{color:#95614c;letter-spacing:3px}.adoption-request-panel header button{color:#704238;cursor:pointer;background:#fff8ec;border:1px solid #a98162;padding:8px 12px}.adoption-request-panel>section>p{color:#78675a;line-height:1.7}.adoption-request-panel>section>div{gap:9px;display:grid}.adoption-request-panel>section>div>button{text-align:left;color:#4e3b31;cursor:pointer;background:#fff8ec;border:1px solid #c5ab8d;grid-template-columns:1.1fr 1fr 1fr auto;align-items:center;gap:14px;padding:13px;display:grid}.adoption-request-panel button span b,.adoption-request-panel button span small{display:block}.adoption-request-panel button span small{color:#92705d;font-size:11px}.adoption-request-panel button i{color:#813d36;font-style:normal}@media (max-width:650px){.adoption-request-panel>section{padding:15px}.adoption-request-panel>section>div>button{grid-template-columns:1fr 1fr}.adoption-request-panel button i{grid-column:1/-1}}.illness-visit-scene{z-index:230;color:#3d2723;font-family:Noto Serif SC,Songti SC,serif;position:fixed;inset:0;overflow:auto}.illness-visit-bg,.illness-visit-shade{object-fit:cover;width:100%;height:100%;position:fixed;inset:0}.illness-visit-shade{background:linear-gradient(90deg,#1c110f59,#faf0de33 35%,#221412b3)}.illness-visit-scene header{z-index:2;color:#fff4e7;text-shadow:0 2px 9px #1d0d08;padding:5vh 7vw;position:relative}.illness-visit-scene header small{letter-spacing:.18em}.illness-visit-scene header h1{margin:.35rem 0;font-size:clamp(2rem,4vw,3.8rem);font-weight:500}.illness-visit-scene figure{z-index:2;justify-content:center;align-items:flex-end;width:min(42vw,520px);height:82vh;margin:0;display:flex;position:fixed;bottom:0;left:4vw}.illness-visit-scene figure>img{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 18px #14080473);width:100%;height:100%}.illness-visit-scene figcaption{color:#fff4e8;letter-spacing:.12em;background:#351c17d1;padding:10px 16px;position:absolute;bottom:5%;left:10%}.illness-visit-scene figcaption b{margin-top:4px;font-size:1.5rem;display:block}.illness-visit-scene section{z-index:3;background:#fff9ebf0;border:1px solid #885b428c;width:min(600px,48vw);margin:2vh 6vw 8vh auto;padding:28px;position:relative;box-shadow:0 22px 70px #1c0c0766}.illness-visit-opening{color:#5e3028;font-size:1.16rem;line-height:1.9}.illness-visit-hint{color:#85675e;line-height:1.7}.illness-visit-scene nav{gap:10px;margin-top:22px;display:grid}.illness-visit-scene nav button,.illness-visit-complete{color:#63362e;text-align:left;cursor:pointer;background:#fffaf0;border:1px solid #b98a70;padding:13px 16px}.illness-visit-scene nav button:hover{background:#f4e5cf;transform:translate(-3px)}.illness-visit-scene nav b,.illness-visit-scene nav span{display:block}.illness-visit-scene nav b{margin-bottom:4px;font-size:1.04rem}.illness-visit-scene nav span{color:#8b6a60}.illness-visit-lines{gap:12px;display:grid}.illness-visit-lines p{margin:0;padding:13px 15px;line-height:1.8}.illness-visit-lines .speech{background:#fffaf1;border-left:3px solid #a65d4b}.illness-visit-lines .speech b{color:#9a4e3d;display:block}.illness-visit-lines .narration{color:#765b52;font-style:italic}.illness-visit-effects{flex-wrap:wrap;gap:8px;margin:18px 0;display:flex}.illness-visit-effects span{color:#7b4639;background:#efe0c9;border-radius:999px;padding:6px 10px}.illness-visit-complete{text-align:center;color:#fff5e6;background:#783f34;border-color:#783f34;width:100%}@media (max-width:760px){.illness-visit-scene header{padding:3vh 5vw}.illness-visit-scene figure{width:100%;height:37vh;position:relative;left:auto}.illness-visit-scene figcaption{left:5%}.illness-visit-scene section{width:auto;margin:0 4vw 5vh;padding:18px}.illness-visit-shade{background:#23131094}}.imperial-children-screen{z-index:86;color:#54342d;background:#d6c4aa;position:fixed;inset:84px 0 0;overflow:auto}.imperial-children-screen>img{object-fit:cover;filter:brightness(.78)saturate(.9);width:100%;height:calc(100% - 84px);position:fixed;inset:84px 0 0;transform:scale(1.01)}.imperial-children-screen>header{z-index:1;background:#f8efdce6;border-bottom:1px solid #b9946d;justify-content:space-between;align-items:center;padding:24px 4vw;display:flex;position:relative}.imperial-children-screen h1{margin:4px 0 0;font-size:30px;font-weight:500}.imperial-children-screen header small{letter-spacing:.22em;color:#93604f}.imperial-children-screen header button{color:#663b32;background:#fff8ea;border:1px solid #9f7056;padding:10px 18px}.imperial-child-list{z-index:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:min(1080px,92vw);margin:34px auto;display:grid;position:relative}.imperial-child-list article,.imperial-child-empty{background:#fff9eded;border:1px solid #b8926d;box-shadow:0 12px 35px #28160d38}.imperial-child-list article{padding:24px}.imperial-child-title{border-bottom:1px solid #d9c1a4;grid-template-columns:1fr auto;align-items:end;padding-bottom:13px;display:grid}.imperial-child-title small{color:#995f4d;grid-column:1/3}.imperial-child-title h2{margin:5px 0 0;font-size:25px;font-weight:500}.imperial-child-title span{font-size:16px}.imperial-child-list dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;margin:18px 0 0;display:grid}.imperial-child-list dl div{border-bottom:1px dotted #ceb69b;justify-content:space-between;padding-bottom:7px;display:flex}.imperial-child-list dt{color:#8a6c5c}.imperial-child-list dd{margin:0}.imperial-child-actions{align-items:center;gap:10px;margin-top:18px;display:flex}.imperial-child-actions button,.imperial-child-actions select{color:#663b32;background:#fff8ea;border:1px solid #9f7056;padding:8px 11px}.imperial-child-actions label{color:#806457;align-items:center;gap:8px;display:flex}.imperial-child-empty{text-align:center;grid-column:1/-1;padding:70px;font-size:18px}@media (max-width:760px){.imperial-children-screen{inset:70px 0 0}.imperial-children-screen>img{height:calc(100% - 70px);inset:70px 0 0}.imperial-child-list,.imperial-child-list dl{grid-template-columns:1fr}.imperial-child-actions{flex-direction:column;align-items:stretch}.imperial-child-actions label{justify-content:space-between}}.imperial-child-archive{z-index:1;background:#fff9edf0;border:1px solid #b8926d;width:min(1080px,92vw);margin:34px auto;padding:26px 30px;position:relative;box-shadow:0 12px 35px #28160d38}.child-detail-actions{border-top:1px solid #c4ad91;gap:9px;margin-top:18px;padding-top:16px;display:grid}.child-detail-actions button,.child-detail-actions select{color:#663b32;background:#fff8ea;border:1px solid #9f7056;padding:9px 11px}.child-detail-actions button{cursor:pointer}.child-detail-actions label{color:#806457;justify-content:space-between;align-items:center;gap:10px;display:flex}.child-upbringing-hint{color:#8b6a59;line-height:1.55}@media (max-width:760px){.imperial-child-archive{width:calc(100% - 28px);margin:18px auto;padding:20px 16px}}.pregnancy-naming-scene{z-index:360;background-position:50%;background-size:cover;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.pregnancy-naming-scene:before{content:"";background:#1e17118f;position:absolute;inset:0}.pregnancy-naming-scene>section{color:#554237;background:#f6ead8;border:1px solid #b39170;width:min(680px,100vw - 48px);max-height:calc(100dvh - 60px);padding:30px 34px;position:relative;overflow-y:auto;box-shadow:0 18px 65px #1d120b88}.pregnancy-naming-scene header{text-align:center;border-bottom:1px solid #c9b293;padding-bottom:18px}.pregnancy-naming-scene header small{color:#9b5f52;letter-spacing:5px}.pregnancy-naming-scene header h2{color:#71352f;margin:7px 0 4px;font-size:30px;font-weight:400}.pregnancy-naming-scene header p{color:#857161;margin:0;font-size:13px}.pregnancy-name-list{gap:14px;margin-top:20px;display:grid}.pregnancy-name-list label{background:#fff7eb;border:1px solid #ccb596;padding:15px 17px;display:block}.pregnancy-name-list label>span{color:#8e5b4e;margin-bottom:9px;font-size:13px;display:block}.pregnancy-name-list label>div{grid-template-columns:42px 1fr auto;align-items:center;gap:8px;display:grid}.pregnancy-name-list b{color:#fff2df;background:#8f4e47;place-items:center;height:40px;font-size:19px;font-weight:400;display:grid}.pregnancy-name-list input{color:#513d31;background:#fffdf8;border:1px solid #b99b7c;outline:none;min-width:0;height:40px;padding:0 12px;font:18px serif}.pregnancy-name-list input:focus{border-color:#8f4e47}.pregnancy-name-list button,.pregnancy-naming-scene footer button{color:#783d36;cursor:pointer;background:#f3e2cc;border:1px solid #9c715d;height:40px;padding:0 16px}.pregnancy-name-error{color:#a33f38;text-align:center;margin:14px 0 0}.pregnancy-naming-scene footer{justify-content:center;margin-top:22px;display:flex}.pregnancy-naming-scene footer button{color:#fff2df;background:#743b36;min-width:150px;font-size:15px}@media (max-width:560px){.pregnancy-naming-scene{padding:10px}.pregnancy-naming-scene>section{width:calc(100vw - 20px);padding:22px 16px}.pregnancy-name-list label>div{grid-template-columns:38px 1fr}.pregnancy-name-list label button{grid-column:1/-1}}.pre-event-wardrobe{z-index:335;color:#51372e;background:50%/cover no-repeat;position:fixed;inset:0;overflow:auto}.pre-event-wardrobe main{background:#fff9eef0;border-left:4px solid #985b55;width:min(720px,100vw - 32px);margin:24px 0 24px clamp(16px,5vw,72px);padding:18px 22px;box-shadow:0 18px 45px #311e172e}.pre-event-wardrobe h1{margin:2px 0;font-size:34px;font-weight:500}.pre-event-wardrobe header p{color:#80665b;margin:4px 0 12px}.pre-event-current{border:1px solid #c99c7d;gap:14px;padding:9px 12px;display:flex}.pre-event-wardrobe blockquote{background:#f3e5d8;border-left:3px solid #9b5b70;margin:10px 0;padding:10px 13px}.pre-event-warning{color:#84483d;background:#efe1c8;padding:8px 11px}.pre-event-presets{flex-wrap:wrap;gap:7px;margin:10px 0;display:flex}.pre-event-presets span{display:flex}.pre-event-presets button,.pre-event-items button,.pre-event-confirm{color:#713d32;cursor:pointer;background:#fffaf0;border:1px solid #b77d5c}.pre-event-presets button{padding:6px 8px}.pre-event-presets button:disabled{opacity:.4;cursor:not-allowed}.pre-event-items{grid-template-columns:1fr 1fr;gap:8px;max-height:44vh;display:grid;overflow:auto}.pre-event-items button{text-align:left;grid-template-columns:68px 1fr auto;align-items:center;gap:10px;padding:7px;display:grid}.pre-event-items button.active{background:#ead7c8;border-color:#8f4b42}.pre-event-items img{object-fit:cover;width:68px;height:60px}.pre-event-items span,.pre-event-items b,.pre-event-items small{display:block}.pre-event-items small{color:#8c6b5d}.pre-event-items em{font-style:normal}.pre-event-confirm{color:#fff;background:#8b493d;width:100%;margin-top:12px;padding:12px;font-size:17px}@media (max-width:700px){.pre-event-wardrobe main{margin:12px auto;padding:14px}.pre-event-items{grid-template-columns:1fr}.pre-event-wardrobe h1{font-size:28px}}.rank-report-mask{z-index:1300;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#101b17d9;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.rank-report{color:#382f28;background:linear-gradient(145deg,#f7efdf,#e8dbc4);border:1px solid #b49b74;width:min(680px,96vw);max-height:88vh;padding:28px 34px;overflow:auto;box-shadow:0 28px 80px #05080799}.rank-report>header{text-align:center;border-bottom:1px solid #baa88b;padding-bottom:16px}.rank-report header small{color:#8d4038;letter-spacing:6px}.rank-report header h2{letter-spacing:8px;margin:7px 0;font-size:34px;font-weight:400}.rank-report header p{color:#897864;margin:0;font-size:12px}.rank-report-list{padding:12px 0}.rank-report-list article{border-bottom:1px solid #cbbba1;grid-template-columns:43px 1fr;align-items:center;gap:14px;padding:12px 4px;display:grid}.rank-report-list article>span{color:#e7d5b5;background:#314b40;border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.rank-report-list article.down>span{background:#824039}.rank-report-list article.still>span{background:#8a7d68}.rank-report-list h3,.rank-report-list p{margin:0}.rank-report-list h3{font-size:18px;font-weight:500}.rank-report-list h3 small{color:#8d4038;margin-left:16px;font-size:13px;font-weight:400}.rank-report-list p{color:#756858;margin-top:4px;font-size:13px}.rank-report footer{text-align:center;padding-top:10px}.rank-report footer p{color:#806f5d;font-size:12px}.rank-report footer button{color:#f2e5cf;letter-spacing:3px;cursor:pointer;background:#22372f;border:0;padding:12px 26px}@media (max-width:560px){.rank-report{padding:22px 18px}.rank-report header h2{font-size:28px}.rank-report-list article{grid-template-columns:36px 1fr}.rank-report-list article>span{width:32px;height:32px}.rank-report-list h3 small{margin:3px 0 0;display:block}}.daily-action-page{background:radial-gradient(circle at 8% 10%,#f8dbd0aa,#0000 31%),linear-gradient(145deg,#fff2e8dd,#ead7c6cc);min-height:650px;margin:0 -30px -30px;padding:34px 38px}.daily-heading{justify-content:space-between;align-items:end;margin-bottom:24px;display:flex}.daily-heading small{color:#9a655d;letter-spacing:3px}.daily-heading h1{color:#72332f;letter-spacing:4px;margin:6px 0 0;font-size:38px;font-weight:400}.daily-heading>span{color:#76594c;background:#ead2c4;border:1px solid #d2ad97;padding:9px 16px}.daily-heading span b{color:#a2443a;margin-left:8px;font-size:24px;font-weight:400}.daily-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.daily-card-grid>button{color:#69302e;text-align:left;cursor:pointer;background:#fff6e9;border:1px solid #c99d80;height:180px;padding:15px;transition:all .2s;position:relative;overflow:hidden;box-shadow:inset 0 0 0 4px #fff9efaa,0 6px 18px #69452e1f}.daily-card-grid>button:after{content:"";pointer-events:none;border:1px solid #ddbca4aa;position:absolute;inset:5px}.daily-card-grid>button:hover{border-color:#a74e45;transform:translateY(-3px);box-shadow:inset 0 0 0 4px #fff9ef,0 11px 25px #69452e2a}.action-art{opacity:.98;background-image:url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/daily-actions-sprite-v1.png)!important;background-repeat:no-repeat!important;background-size:300% 300%!important;border:0!important;border-radius:0!important;width:auto!important;height:auto!important;margin:0!important;position:absolute!important;inset:50px 0 0!important}.daily-card-grid button>div{z-index:2;position:relative}.daily-card-grid b,.daily-card-grid span{display:block}.daily-card-grid b{letter-spacing:3px;text-shadow:0 1px #fff;font-size:25px;font-weight:500}.daily-card-grid span{white-space:nowrap;color:#6c5147;background:#fff8edc9;padding:4px 6px;font-size:12px;position:absolute;top:128px;left:0}.daily-card-grid button>em{z-index:3;color:#fff;background:#c78e69;border-radius:50%;place-items:center;width:29px;height:29px;font-size:24px;font-style:normal;display:grid;position:absolute;bottom:12px;right:13px}.daily-card-grid button.featured{border:2px solid #b84d43}.daily-card-grid button.featured:before{content:"荐";z-index:4;color:#fff0da;background:#a73e38;padding:8px 5px;font-size:12px;position:absolute;top:0;right:15px}.daily-tip{text-align:center;color:#90695b;letter-spacing:2px;margin:22px 0 0;font-size:12px}.palace-map-screen{isolation:isolate;background:#d9cba9;height:calc(100vh - 146px);min-height:650px;margin:0 -30px -30px;position:relative;overflow:hidden}.palace-map-screen>img{z-index:-1;object-fit:cover;filter:saturate(.82)contrast(.94);width:100%;height:100%;position:absolute;inset:0}.palace-map-screen:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#f8ead6aa 0,#f8ead611 20%,#2a241400 70%,#24190d66 100%);position:absolute;inset:0}.palace-map-screen>header{color:#642e2b;text-shadow:0 1px #fff;align-items:end;gap:28px;display:flex;position:absolute;top:24px;left:28px}.palace-map-screen header small{letter-spacing:3px}.palace-map-screen header h1{letter-spacing:7px;margin:4px 0 0;font-size:36px;font-weight:400}.palace-map-screen header>span{background:#fff3dfdd;border:1px solid #b99069;padding:7px 12px}.palace-map-screen header span b{color:#9d3e36}.map-back{z-index:3;color:#fff0d9;letter-spacing:2px;cursor:pointer;background:#7c4238e8;border:1px solid #805044;padding:9px 18px;position:absolute;top:22px;right:22px}.map-hotspot{z-index:2;cursor:pointer;color:#6d2f2b;filter:drop-shadow(0 3px 3px #3c291866);background:0 0;border:0;justify-items:center;display:grid;position:absolute;transform:translate(-50%,-50%)}.map-hotspot i{color:#863c34;background:#f7e7d5;border:2px solid #a65b4b;border-radius:50% 50% 50% 8px;place-items:center;width:42px;height:42px;font-style:normal;display:grid;transform:rotate(-45deg)}.map-hotspot i:first-letter{transform:rotate(45deg)}.map-hotspot b{white-space:nowrap;letter-spacing:2px;background:#fff4e7ed;border:1px solid #b98268;margin-top:4px;padding:5px 12px;font-size:15px}.map-hotspot small{color:#fff0df;background:#5d332de8;width:150px;padding:6px;display:none;position:absolute;top:75px}.map-hotspot:hover{z-index:5;transform:translate(-50%,-50%)scale(1.08)}.map-hotspot:hover small{display:block}.map-footnote{color:#71443a;white-space:nowrap;background:#fff4e5df;border:1px solid #b48b68;margin:0;padding:8px 18px;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.palace-map-screen>img,.palace-map-screen:after{transition:opacity .75s,background .75s}.palace-map-screen--night{background:#101b2a}.palace-map-screen--night>img{filter:none}.palace-map-screen--night:after{background:linear-gradient(#050c1908,#02081229);box-shadow:inset 0 0 70px #00051047}.palace-map-screen--night>header{z-index:3;color:#f3dfc6;text-shadow:0 2px 7px #000}.palace-map-screen--night>header>span{background:#1a222be0;border-color:#806f59}.palace-map-screen--night header span b{color:#efc978}.palace-map-screen--night .map-hotspot{filter:drop-shadow(0 3px 5px #000000bf)}.palace-map-screen--night .map-hotspot.available i{box-shadow:0 0 15px #ffc2657a}.palace-map-screen--night .map-footnote{color:#ead9c2;background:#181f27e6;border-color:#77644f}@media (max-width:1100px){.daily-action-page{margin:0 -18px -18px;padding:26px 22px}.daily-card-grid{gap:11px}.daily-card-grid>button{height:165px}.daily-card-grid span{top:115px}.palace-map-screen{margin:0 -18px -18px}.map-hotspot b{font-size:12px}}@media (max-width:760px){.daily-heading{display:block}.daily-heading>span{margin-top:12px;display:inline-block}.daily-card-grid{grid-template-columns:repeat(2,1fr)}.daily-action-page{margin:0 -14px -16px;padding:22px 14px}.daily-heading h1{font-size:31px}.palace-map-screen{height:72vh;min-height:560px;margin:0 -14px -16px}.palace-map-screen>header{top:14px;left:14px}.palace-map-screen header h1{font-size:28px}.palace-map-screen header>span{display:none}.map-back{top:12px;right:12px}.map-hotspot i{width:34px;height:34px}.map-hotspot b{letter-spacing:0;padding:3px 7px}}.action-art{opacity:1!important;background-size:300%!important;inset:0!important}.daily-card-grid button>div{z-index:2;background:linear-gradient(#fff8edee 0,#fff8ed88 27%,#0000 54%,#fff8ede8 100%);padding:14px;inset:0;position:absolute!important}.daily-card-grid span{top:auto!important;bottom:13px!important;left:14px!important}.game-shell .profile{padding:20px 24px}.game-shell .profile .portrait{width:178px;height:216px;margin-bottom:11px}.game-shell .profile h2{margin-top:2px;font-size:27px}.game-shell .profile .tags{margin:8px 0}.game-shell .profile .resources{margin:11px 0;padding:9px 0}.compact-meters .meter{grid-template-columns:34px 1fr 24px;margin:5px 0}.compact-meters .meter>div{height:4px}.talent-divider{color:#91785b;letter-spacing:4px;text-align:left;border-top:1px solid #c9b99c;margin:9px 0 4px;padding-top:7px;font-size:10px}.game-shell .profile .whisper{margin-top:11px;padding:9px}.game-shell .profile .whisper p{margin:3px;line-height:1.5}@media (max-width:900px){.game-shell .profile .portrait{width:138px;height:172px}.compact-meters{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:0 18px;display:grid}.compact-meters .talent-divider{grid-column:1/-1}}@media (max-width:560px){.game-shell .profile{padding:14px}.game-shell .profile .portrait{width:102px;height:130px}.compact-meters{grid-template-columns:1fr 1fr;gap:0 10px;display:grid}}.npc-directory{max-width:920px}.directory-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.directory-roster>button{text-align:left;color:#493d33;cursor:pointer;background:#efe5d4;border:1px solid #bca98a;grid-template-columns:48px 1fr auto;align-items:center;gap:13px;min-height:92px;padding:13px 15px;display:grid}.directory-roster>button:hover{background:#f8eee0;border-color:#8e3f38;transform:translateY(-1px)}.directory-roster .avatar{margin:0}.directory-roster b,.directory-roster small,.directory-roster p{margin:0;display:block}.directory-roster b{font-size:17px;font-weight:500}.directory-roster b em{color:#8a3833;margin-right:9px;font-style:normal}.directory-roster small{color:#847464;margin-top:3px}.directory-roster p{color:#8a594f;margin-top:5px;font-size:11px}.directory-roster>button>i{color:#a06b56;white-space:nowrap;font-size:11px;font-style:normal}.npc-profile-page{background:linear-gradient(135deg,#f8eee3ee,#e6d4c3e8);min-height:640px;margin:0 -30px -30px;padding:26px 34px}.npc-profile-page>header{border-bottom:1px solid #bda78a;align-items:center;gap:25px;padding-bottom:14px;display:flex}.npc-profile-page>header button{color:#763932;cursor:pointer;background:#fff4e5;border:1px solid #9b735d;padding:8px 14px}.npc-profile-page header small{color:#9a6e59;letter-spacing:3px}.npc-profile-page header h1{color:#6f302d;margin:3px 0 0;font-size:29px;font-weight:400}.npc-profile-tabs{justify-content:center;gap:3px;margin:16px 0;display:flex}.npc-profile-tabs>*{color:#8a5149;background:#f8eee3;border:1px solid #b78c77;padding:9px 23px;font-weight:400}.npc-profile-tabs b{color:#fff3e2;background:#a9695e}.npc-profile-page>section{background:#f7eddfdd;border:1px solid #bda387;grid-template-columns:minmax(420px,1fr) minmax(230px,.62fr);gap:24px;padding:22px;display:grid}.npc-profile-info dl{grid-template-columns:1fr 1fr;gap:7px 20px;margin:0 0 14px;display:grid}.npc-profile-info dl>div{border-bottom:1px dotted #c4ad91;grid-template-columns:50px 1fr;padding:5px;display:grid}.npc-profile-info dt{color:#98715d}.npc-profile-info dd{color:#4f4035;margin:0}.npc-profile-nature{color:#fff3e3;background:#9c5d56;padding:12px 15px}.npc-profile-nature small,.npc-profile-nature b{display:block}.npc-profile-nature small{letter-spacing:3px;opacity:.75}.npc-profile-nature b{margin:3px 0;font-size:21px}.npc-profile-nature p{opacity:.82;margin:0;font-size:11px}.npc-profile-stats{grid-template-columns:1fr 1fr;gap:8px 20px;margin-top:16px;display:grid}.npc-profile-stats>div{grid-template-columns:38px 1fr 26px;align-items:center;gap:8px;font-size:12px;display:grid}.npc-profile-stats i{background:#d8c8af;height:5px}.npc-profile-stats i em{background:linear-gradient(90deg,#73302d,#bc795d);height:100%;display:block}.npc-profile-stats b{color:#735d4f;font-weight:400}.npc-profile-page figure{background:#e7d8c4;border:1px solid #b79b7a;min-height:430px;margin:0;position:relative;overflow:hidden}.npc-profile-page figure img{object-fit:cover;object-position:center 15%;width:100%;height:100%}.npc-profile-page figcaption{color:#fff3df;letter-spacing:3px;background:linear-gradient(#0000,#251912cc);padding:18px;font-size:25px;position:absolute;inset:auto 0 0}.npc-profile-page figcaption small{letter-spacing:2px;margin-top:4px;font-size:11px;display:block}@media (max-width:900px){.directory-roster{grid-template-columns:1fr}.npc-profile-page{margin:0 -14px -16px;padding:20px 14px}.npc-profile-page>section{grid-template-columns:1fr}.npc-profile-page figure{grid-row:1;min-height:360px}.npc-profile-tabs{justify-content:start;overflow:auto}.npc-profile-tabs>*{padding:8px 17px}}@media (max-width:560px){.directory-roster>button{grid-template-columns:42px 1fr}.directory-roster>button>i{display:none}.npc-profile-page>header{display:block}.npc-profile-page>header div{margin-top:12px}.npc-profile-info dl,.npc-profile-stats{grid-template-columns:1fr}.npc-profile-page>section{padding:12px}.npc-profile-page figure{min-height:310px}}.game-shell,.game-shell *{scrollbar-width:thin;scrollbar-color:#a47c6b #f3e7d5}.game-shell ::-webkit-scrollbar{width:12px;height:12px}.game-shell ::-webkit-scrollbar-track{background:#f3e7d5;border-left:1px solid #d6bea2}.game-shell ::-webkit-scrollbar-thumb{background:#a47c6b;border:3px solid #f3e7d5;border-radius:7px}.game-shell ::-webkit-scrollbar-thumb:hover{background:#8d6254}.game-shell ::-webkit-scrollbar-corner{background:#f3e7d5}.child-archive-panel{color:#4f4035;width:100%}.child-archive-panel>header{border-bottom:1px solid #c4ad91;padding-bottom:14px}.child-archive-panel>header small{color:#9a6e59;letter-spacing:3px}.child-archive-panel>header h2{color:#6f302d;margin:4px 0;font-size:26px;font-weight:400}.child-archive-panel>header p{color:#806f61;margin:0;font-size:12px}.child-archive-list{flex-direction:column;gap:7px;margin-top:16px;display:flex}.child-archive-columns,.child-archive-list>button{grid-template-columns:minmax(120px,1.35fr) 70px minmax(100px,1fr) minmax(90px,1fr) 56px;align-items:center;gap:12px;display:grid}.child-archive-columns{color:#9a6e59;padding:0 16px 5px;font-size:12px}.child-archive-columns i{display:block}.child-archive-list>button{color:#59473a;text-align:left;cursor:pointer;background:#fbf3e7cc;border:1px solid #c4ad91;min-height:58px;padding:10px 16px;transition:border-color .15s,background .15s,transform .15s;box-shadow:0 4px 12px #6049340b}.child-archive-list>button:hover{background:#fff8ed;border-color:#9c5d56;transform:translate(2px)}.child-archive-list>button strong{color:#763932;font-size:18px;font-weight:500}.child-archive-list>button span{color:#6f5b4c}.child-archive-list>button i{color:#9b5a4e;text-align:right;font-size:12px;font-style:normal}.child-archive-empty{text-align:center;color:#8a7868;background:#f8eee3a8;border:1px dashed #bda78a;padding:60px 20px}.player-child-archive{padding:26px 8px}.child-detail-backdrop{z-index:460;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#20181480;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.child-detail-dialog{background:#f8eee1;border:1px solid #9c755d;flex-direction:column;width:min(860px,100vw - 48px);height:min(560px,100dvh - 70px);display:flex;overflow:hidden;box-shadow:0 22px 70px #24150f66}.child-detail-dialog>header{background:#efe1cf;border-bottom:1px solid #c4ad91;flex:none;justify-content:space-between;align-items:center;padding:17px 22px;display:flex}.child-detail-dialog>header small{color:#9a6e59;letter-spacing:2px}.child-detail-dialog>header h3{color:#70332f;margin:2px 0 0;font-size:27px;font-weight:400}.child-detail-dialog>header button{color:#82443c;cursor:pointer;background:#fff6e9;border:1px solid #b78c77;padding:8px 14px;font-size:14px}.child-detail-body{flex:1;grid-template-columns:minmax(280px,.85fr) minmax(330px,1.15fr);min-height:0;display:grid}.child-detail-profile{border-right:1px solid #c4ad91;padding:20px 22px;overflow-y:auto}.child-archive-relation{color:#fff4e6;background:#9c5d56;margin:0 0 14px;padding:8px 10px;font-size:12px;font-weight:400;display:block}.child-detail-profile dl{grid-template-columns:1fr 1fr;gap:5px 16px;margin:0;display:grid}.child-detail-profile dl>div{border-bottom:1px dotted #cbb99f;grid-template-columns:68px 1fr;padding:7px 0;display:grid}.child-detail-profile dt{color:#98715d}.child-detail-profile dd{text-align:right;margin:0}.child-growth-history{flex-direction:column;min-height:0;margin:0;padding:20px 22px;display:flex}.child-growth-history h4{color:#7c3d36;flex:none;margin:0 0 10px;font-size:17px;font-weight:500}.child-growth-scroll{scrollbar-gutter:stable;flex:1;min-height:0;padding-right:8px;overflow-y:auto}.child-growth-scroll article{border-top:1px dotted #c8b399;padding:12px 2px}.child-growth-scroll article:first-child{border-top:0}.child-growth-scroll small{color:#9a6e59}.child-growth-scroll p{margin:5px 0;font-size:13px;line-height:1.7}.child-growth-scroll span{color:#7c5547;font-size:11px}.child-growth-empty{color:#8a7868;text-align:center;margin:0;padding:30px 0;font-size:12px}.npc-profile-page>section.children-view{align-items:stretch;height:clamp(520px,100dvh - 250px,680px);min-height:520px;overflow:hidden}.children-view>.child-archive-panel{flex-direction:column;min-height:0;display:flex;overflow:hidden}.children-view .child-archive-list{scrollbar-gutter:stable;flex:1;min-height:0;padding-right:8px;overflow-y:auto}.children-view>figure{align-self:stretch;height:100%;min-height:0}@media (max-width:900px){.npc-profile-page>section.children-view{height:auto;min-height:0;overflow:visible}.children-view .child-archive-list{max-height:560px;overflow-y:auto}.children-view>figure{height:360px;min-height:360px}.child-detail-body{grid-template-columns:1fr 1fr}.child-detail-profile dl{grid-template-columns:1fr}}@media (max-width:640px){.child-archive-columns{display:none}.child-archive-list>button{grid-template-columns:1fr auto auto;gap:6px 12px}.child-archive-list>button strong{grid-column:1/3}.child-archive-list>button span:nth-of-type(2){display:none}.child-archive-list>button i{grid-area:1/3/3}.child-detail-backdrop{padding:10px}.child-detail-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px)}.child-detail-body{grid-template-columns:1fr;overflow-y:auto}.child-detail-profile{border-bottom:1px solid #c4ad91;border-right:0;overflow:visible}.child-growth-history{min-height:320px}.child-growth-scroll{overflow-y:auto}}.child-detail-dialog>header button{width:38px;height:38px;padding:0;font-size:24px;line-height:1}.child-detail-dismiss-layer{cursor:default;background:0 0;border:0;position:absolute;inset:0}.child-detail-dialog{z-index:1;position:relative}.showcase-frame img,.portrait-choices img,.appointment-person img,.profile .portrait img,.npc-profile-page figure img,.slot-grid img{object-fit:contain!important;object-position:center bottom!important}.showcase-frame,.profile .portrait,.npc-profile-page figure{overflow:hidden}.showcase-frame img,.profile .portrait img,.npc-profile-page figure img{filter:drop-shadow(0 12px 12px #492b2224)}.portrait-choices img{background:linear-gradient(#faf2e38f,#deccb05c)}.flower-rating{justify-content:flex-start;align-items:center;gap:2px;min-width:0;display:flex}.flower-rating i{color:#cdbfa9;font-size:13px;font-style:normal;line-height:1;background:0 0!important;width:auto!important;height:auto!important;display:inline!important}.flower-rating i.lit{color:#a84e49;text-shadow:0 1px #fff4e6}@media (min-width:901px){.game-shell .game-layout{width:100%;max-width:none;height:calc(100vh - 76px);grid-template-columns:340px minmax(0,1fr)!important;gap:12px!important;margin:0!important;padding:12px!important}.game-shell .profile{width:340px;height:calc(100vh - 100px);max-height:none;margin:0;overflow:hidden;padding:13px 17px!important}.game-shell .profile .portrait{width:224px!important;height:270px!important;margin-bottom:6px!important}.game-shell .profile h2{margin-top:0;font-size:24px!important}.game-shell .profile>p{margin:1px;font-size:11px}.game-shell .profile .tags{margin:5px 0}.game-shell .profile .resources{margin:6px 0;padding:6px 0}.compact-meters{grid-template-columns:1fr 1fr;column-gap:13px;display:grid}.compact-meters .meter{grid-template-columns:31px minmax(34px,1fr) 20px;gap:4px;margin:4px 0;font-size:10px}.flower-rating{justify-content:flex-start;align-items:center;gap:2px;min-width:0;display:flex}.flower-rating i{color:#cdbfa9;font-size:13px;font-style:normal;line-height:1;background:0 0!important;width:auto!important;height:auto!important;display:inline!important}.flower-rating i.lit{color:#a84e49;text-shadow:0 1px #fff4e6}.compact-meters .talent-divider{grid-column:1/-1;margin:5px 0 2px;padding-top:4px}.game-shell .profile .whisper{margin-top:7px;padding:6px}.game-shell .profile .whisper p{margin:2px;font-size:10px;line-height:1.35}.game-shell .stage{width:100%;height:calc(100vh - 100px);max-height:none;position:relative;overflow:hidden;min-height:0!important;padding:14px 126px 14px 18px!important}.game-shell .stage>nav{z-index:8;background:#f4ebdcdb;border:1px solid #b9a98f;flex-direction:column;gap:0;width:101px;display:flex;position:absolute;top:14px;right:12px;box-shadow:0 8px 22px #3d2c211f}.game-shell .stage>nav button{text-align:center;white-space:nowrap;border-bottom:1px solid #c8b9a2;width:100%;padding:11px 6px}.game-shell .stage>nav button:last-child{border-bottom:0}.game-shell .stage>nav button.active{border-bottom:1px solid #c8b9a2;border-left:3px solid var(--red);background:#fff7ebe6}.daily-action-page{width:100%;height:100%;min-height:0;margin:0;padding:15px 18px 10px;overflow:hidden}.daily-heading{margin-bottom:10px}.daily-heading h1{margin-top:2px;font-size:29px}.daily-heading>span{padding:6px 11px}.daily-heading span b{font-size:19px}.daily-card-grid{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;height:calc(100% - 87px)}.daily-card-grid>button{width:100%;height:auto;min-height:0;padding:9px}.daily-card-grid button>div{padding:9px}.daily-card-grid b{font-size:clamp(17px,1.5vw,23px)}.daily-card-grid span{font-size:10px;bottom:8px!important;left:9px!important}.daily-card-grid button>em{width:25px;height:25px;bottom:7px;right:8px}.daily-tip{display:none}.palace-home,.npc-directory,.npc-profile-page,.relations,.records{max-height:100%;overflow-y:auto}.npc-profile-page{flex-direction:column;height:100%;min-height:0;margin:0;padding:4px 8px 8px;display:flex;overflow:hidden}.npc-profile-page>header{flex:none;gap:12px;padding-bottom:6px}.npc-profile-page header h1{margin-top:1px;font-size:22px}.npc-profile-tabs{flex:none;margin:6px 0}.npc-profile-tabs>*{padding:6px 20px}.npc-profile-tabs button{font:inherit;cursor:pointer}.npc-profile-tabs .active{color:#fff3e2;background:#a9695e}.npc-profile-page>section{flex:auto;grid-template-columns:minmax(400px,1.2fr) minmax(240px,.7fr);gap:12px;min-height:0;padding:12px;overflow:hidden}.npc-profile-info dl{gap:2px 12px;margin-bottom:7px}.npc-profile-info dl>div{padding:3px 5px}.npc-profile-nature{padding:8px 12px}.npc-profile-nature b{font-size:18px}.npc-profile-stats{gap:6px 14px;margin-top:8px}.npc-profile-stats>div{grid-template-columns:34px minmax(95px,1fr) 24px;gap:6px;font-size:11px}.npc-profile-stats .flower-rating i{font-size:17px}.npc-profile-page figure{height:100%;min-height:0}.npc-history-panel{flex-direction:column;min-width:0;height:100%;display:flex;overflow:hidden}.npc-history-panel>header{border-bottom:1px solid #c6b299;flex:none;padding:2px 3px 8px}.npc-history-panel header small{color:#9b6958;letter-spacing:4px}.npc-history-panel h2{color:#6f302d;margin:3px 0;font-size:23px;font-weight:400}.npc-history-panel header p{color:#8a796b;margin:0;font-size:10px}.npc-history-list{scrollbar-width:thin;scrollbar-color:#9f7963 #e6d7c2;flex:auto;min-height:0;padding:6px 5px 0 0;overflow-y:auto}.npc-history-list article{border-bottom:1px dotted #c8b49a;grid-template-columns:135px 1fr;gap:12px;padding:9px 8px;display:grid}.npc-history-list article.important{background:#9b463d17;border-left:3px solid #a14840}.npc-history-list time{color:#96745f;font-size:10px}.npc-history-list article>div{align-items:flex-start;gap:8px;display:flex}.npc-history-list i{color:#8b4841;border:1px solid #b9967c;flex:none;padding:2px 5px;font-size:9px;font-style:normal}.npc-history-list p{color:#55473d;margin:0;font-size:12px;line-height:1.55}.npc-history-empty{text-align:center;color:#9b8975;place-content:center;height:100%;display:grid}.npc-history-empty b{color:#775548;font-weight:400}.npc-history-empty p{font-size:11px}.npc-relations-panel,.npc-interaction-panel{flex-direction:column;min-width:0;height:100%;display:flex;overflow:hidden}.npc-relations-panel>header,.npc-interaction-panel>header{border-bottom:1px solid #c6b299;padding:2px 3px 8px}.npc-relations-panel header small,.npc-interaction-panel header small{color:#9b6958;letter-spacing:4px}.npc-relations-panel h2,.npc-interaction-panel h2{color:#6f302d;margin:3px 0;font-size:23px;font-weight:400}.npc-relations-panel header p,.npc-interaction-panel header p{color:#8a796b;margin:0;font-size:10px}.player-relation-card,.interaction-current{color:#fff1df;background:#9b5d56;grid-template-columns:1fr auto auto;align-items:center;gap:16px;margin:10px 0;padding:10px 13px;display:grid}.player-relation-card b,.interaction-current b{font-size:18px;font-weight:400}.player-relation-card strong,.interaction-current strong{font-size:23px;font-weight:400}.npc-relation-list{flex:1;min-height:0;overflow-y:auto}.npc-relation-list article{border-bottom:1px dotted #c8b49a;justify-content:space-between;align-items:center;padding:9px 11px;display:flex}.npc-relation-list b,.npc-relation-list small{display:block}.npc-relation-list b{color:#57483d;font-weight:400}.npc-relation-list small{color:#9b826f;margin-top:2px}.npc-relation-list article>span{color:#7e7164}.npc-relation-list .positive{color:#4d7659}.npc-relation-list .negative{color:#a14640}.interaction-options{grid-template-columns:1fr 1fr;gap:9px;display:grid}.interaction-options button{color:#58463b;text-align:left;cursor:pointer;background:#fff6e8bf;border:1px solid #bea083;min-height:105px;padding:13px;position:relative}.interaction-options button:hover{background:#fff4e5;border-color:#9b4d46}.interaction-options button.danger{background:#a1464014;border-color:#a85d55}.interaction-options b,.interaction-options span,.interaction-options i{display:block}.interaction-options b{color:#7d3934;font-size:17px;font-weight:400}.interaction-options span{color:#817064;margin-top:7px;font-size:10px;line-height:1.5}.interaction-options i{color:#a3785e;font-size:9px;font-style:normal;position:absolute;bottom:7px;right:9px}}@media (min-width:901px) and (max-height:760px){.game-shell .profile .portrait{width:170px!important;height:200px!important}.game-shell .profile h2{font-size:21px!important}.game-shell .profile .whisper{display:none}}.interaction-options.visit-entry{grid-template-columns:1fr}.interaction-options.visit-entry button{background:linear-gradient(135deg,#fff8ebeb,#efdac5bf);min-height:160px;padding:24px}.interaction-options.visit-entry b{font-size:25px}.visit-scene{z-index:180;color:#603832;background:#cbb8a4;position:fixed;inset:0;overflow:hidden}.visit-background{filter:saturate(.8)sepia(.08);background:linear-gradient(#3823231f,#291b196b),url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/palace-chamber.png) 50%/cover no-repeat;position:absolute;inset:0;transform:scale(1.02)}.visit-header{z-index:4;background:linear-gradient(#f8ede0fa,#f8ede0db);border-bottom:1px solid #b88e74;grid-template-columns:180px 1fr 220px;align-items:center;height:86px;padding:0 4%;display:grid;position:absolute;top:0;left:0;right:0;box-shadow:0 6px 22px #341f1b2e}.visit-header button{color:#713e38;cursor:pointer;background:#fffaf1b3;border:1px solid #a87562;justify-self:start;padding:9px 16px}.visit-header div{text-align:center}.visit-header small{color:#a17462;letter-spacing:.3em}.visit-header h2{margin:3px 0 0;font-size:25px;font-weight:400}.visit-header>span{color:#8b4b43;justify-self:end}.visit-person{z-index:2;object-fit:contain;object-position:bottom center;filter:drop-shadow(0 18px 20px #301b1757);max-width:54vw;height:min(78vh,760px);position:absolute;bottom:132px;left:50%;transform:translate(-50%)}.visit-dialogue{z-index:3;background:#faf1e6f0;border:1px solid #b88e74;grid-template-columns:minmax(320px,1fr) minmax(520px,1.45fr);gap:22px;padding:20px 24px;display:grid;position:absolute;bottom:3%;left:4%;right:4%;box-shadow:0 10px 35px #301b1747}.visit-attitude small{color:#a6655a;letter-spacing:.25em}.visit-attitude p{margin:8px 0 0;font-size:17px;line-height:1.8}.visit-attitude>button{color:#f7ead7;cursor:pointer;background:#263c32;border:1px solid #a56f59;margin-top:10px;padding:9px 17px;font-family:inherit}.visit-choices{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.visit-choices button{color:#683b35;cursor:pointer;background:#fffaf2cc;border:1px solid #c19b80;padding:12px 8px}.visit-choices button:hover{background:#fff8ef;border-color:#984f48}.visit-choices button:disabled{opacity:.5;cursor:default}.visit-choices button.danger{background:#97423c1a}.visit-choices b,.visit-choices span{display:block}.visit-choices b{font-size:15px;font-weight:400}.visit-choices span{color:#9a7666;margin-top:5px;font-size:9px;line-height:1.4}@media (max-width:900px){.visit-header{grid-template-columns:auto 1fr auto;padding:0 14px}.visit-header>span{font-size:11px}.visit-person{max-width:90vw;height:65vh;bottom:220px}.visit-dialogue{grid-template-columns:1fr;gap:10px}.visit-choices{grid-template-columns:repeat(2,1fr)}}.emperor-glimpse{background:#f7ecdac7;border:1px solid #976c527a;grid-template-columns:112px 1fr;width:310px;height:142px;display:grid;position:absolute;bottom:7%;left:5.5%;overflow:hidden;box-shadow:0 8px 24px #39261e1a}.emperor-glimpse img{object-fit:cover;object-position:top center;width:112px;height:142px}.emperor-glimpse div{padding:12px 11px}.emperor-glimpse small{color:#a17965;letter-spacing:.2em}.emperor-glimpse h3{color:#4d382f;margin:3px 0;font-size:20px;font-weight:400}.emperor-glimpse b{color:#8f413b;font-size:12px;font-weight:400}.emperor-glimpse p{color:#7d6a5d;margin:5px 0 0;font-size:9px;line-height:1.45}@media (max-width:900px){.emperor-glimpse{width:100%;margin-top:12px;position:relative;bottom:auto;left:auto}}.visit-scene>.visit-choices{z-index:4;flex-direction:column;justify-content:center;gap:10px;width:min(245px,22vw);display:flex;position:absolute;top:19%;bottom:25%;left:3.5%}.visit-scene>.visit-choices button{color:#683b35;text-align:left;cursor:pointer;background:#faf0e3eb;border:1px solid #b98f74;min-height:86px;padding:13px 12px;box-shadow:0 5px 15px #37211c1f}.visit-scene>.visit-choices button:hover{border-color:#984f48;transform:translate(3px)}.visit-scene>.visit-choices button.danger{background:#eed8c9f0}.visit-scene>.visit-choices b,.visit-scene>.visit-choices span{display:block}.visit-scene>.visit-choices b{font-size:17px;font-weight:400}.visit-scene>.visit-choices span{color:#987564;margin-top:5px;font-size:10px;line-height:1.4}.visit-scene>.visit-dialogue{min-height:112px;display:block;left:27%;right:4%}@media (max-width:900px){.visit-scene>.visit-choices{width:180px;top:105px;bottom:auto;left:12px}.visit-scene>.visit-choices button{min-height:62px;padding:8px}.visit-scene>.visit-dialogue{left:12px;right:12px}}.time-slot-progress{justify-content:center;gap:.35rem;margin-top:.25rem;display:flex}.time-slot-progress i{color:#efe7cd8c;border:1px solid #cab4803d;padding:.08rem .35rem;font-size:.68rem;font-style:normal;font-weight:400}.time-slot-progress i.passed{opacity:.38}.time-slot-progress i.current{color:#f3e7bd;background:#c8a85f29;border-color:#c8a85f}.emperor-page{grid-template-columns:minmax(280px,.82fr) minmax(430px,1.18fr);gap:20px;height:calc(100vh - 145px);min-height:560px;padding:18px 0 6px;display:grid}.emperor-page-portrait{background:#dfd1b9;border:1px solid #b59c78;position:relative;overflow:hidden}.emperor-page-portrait:after{content:"";pointer-events:none;border:1px solid #f3e6cc88;position:absolute;inset:9px}.emperor-page-portrait img{object-fit:cover;object-position:center 10%;width:100%;height:100%;display:block}.emperor-page-portrait>div{color:#efe4d1;background:linear-gradient(#0000,#18221eea);padding:70px 28px 24px;position:absolute;bottom:0;left:0;right:0}.emperor-page-portrait small{letter-spacing:5px;color:#cbae79}.emperor-page-portrait h1{margin:6px 0;font-size:37px;font-weight:400}.emperor-page-portrait b{border:1px solid #cfb58488;padding:4px 9px;font-weight:400}.emperor-page-info{background:#eee4d2cc;border:1px solid #b9a584;align-self:stretch;padding:30px}.emperor-page-info header{border-bottom:1px solid #b9aa90;padding-bottom:15px}.emperor-page-info header small,.emperor-page-info article small{letter-spacing:4px;color:#9b644f}.emperor-page-info h2{margin:7px 0;font-size:27px;font-weight:400}.emperor-page-info dl{grid-template-columns:1fr 1fr;margin:22px 0;display:grid}.emperor-page-info dl div{border-bottom:1px dotted #bca98e;justify-content:space-between;padding:11px;display:flex}.emperor-page-info dt{color:#817161}.emperor-page-info dd{color:#76342f;margin:0}.emperor-page-info article,.emperor-rules{background:#dfd1b9aa;margin:14px 0;padding:15px 18px}.emperor-page-info article p,.emperor-rules p{margin:7px 0 0;font-size:13px;line-height:1.8}.emperor-page-info>button{color:#eadbc3;letter-spacing:4px;cursor:pointer;background:#23372f;border:0;width:100%;padding:14px}.imperial-spot{border-color:#9b634a!important}.imperial-spot.available{box-shadow:0 0 0 3px #e6c17d88,0 8px 24px #291b1399}.imperial-spot.available i{color:#f5d59a!important;background:#813a31!important}.emperor-scene{z-index:35;color:#f4e7d1;background:#1a0f0b;position:fixed;inset:0;overflow:hidden}.emperor-scene-bg{background:linear-gradient(90deg,#160c08bb 0,#0000 40%,#130b0888),url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/emperor-palace-interior.png) 50%/cover no-repeat;position:absolute;inset:0}.emperor-scene header{z-index:4;background:#241712e8;border-bottom:1px solid #b99760;align-items:center;height:78px;padding:0 28px;display:flex;position:absolute;top:0;left:0;right:0}.emperor-scene header button{color:#ead8bc;cursor:pointer;background:#2d1d16;border:1px solid #a98863;padding:9px 16px}.emperor-scene header div{margin-left:18px}.emperor-scene header small{color:#bfa375;letter-spacing:4px}.emperor-scene header h2{margin:2px 0;font-weight:400}.emperor-scene header span{color:#e0c08c;margin-left:auto}.emperor-scene>aside{z-index:5;gap:9px;width:218px;display:grid;position:absolute;top:104px;left:24px}.emperor-scene>aside button{color:#68332d;text-align:left;cursor:pointer;background:#efe2cce8;border:1px solid #bd9d70;padding:14px 13px;box-shadow:0 7px 20px #0004}.emperor-scene>aside b,.emperor-scene>aside span{display:block}.emperor-scene>aside b{font-size:18px;font-weight:400}.emperor-scene>aside span{color:#786958;margin-top:5px;font-size:10px;line-height:1.5}.emperor-scene>img{z-index:2;object-fit:contain;object-position:bottom;filter:drop-shadow(0 15px 22px #0008);max-width:54%;height:88%;position:absolute;bottom:-5%;right:8%}.emperor-scene>section{z-index:6;color:#5f352d;background:#f1e6d5ed;border:1px solid #b9996e;min-height:128px;padding:22px 28px;position:absolute;bottom:22px;left:260px;right:24px}.emperor-scene>section small{letter-spacing:4px;color:#a16752}.emperor-scene>section p{max-width:72%;margin:10px 0 0;font-size:17px;line-height:1.9}@media (max-width:900px){.emperor-page{grid-template-columns:1fr;height:auto}.emperor-page-portrait{height:390px}.emperor-scene>aside{width:180px}.emperor-scene>section{left:220px}.emperor-scene>section p{max-width:100%}}@media (max-width:600px){.emperor-page{min-height:0}.emperor-page-info{padding:18px}.emperor-page-info dl{grid-template-columns:1fr}.emperor-scene header{padding:0 10px}.emperor-scene header span{display:none}.emperor-scene>aside{width:150px;top:86px;left:8px}.emperor-scene>aside button{padding:9px}.emperor-scene>aside b{font-size:14px}.emperor-scene>img{max-width:75%;height:72%;right:-15%}.emperor-scene>section{min-height:118px;padding:14px 16px;bottom:8px;left:8px;right:8px}.emperor-scene>section p{font-size:14px}}.emperor-scene{inset:var(--game-statusbar-height) 0 0}.emperor-scene>img{mix-blend-mode:normal;filter:drop-shadow(0 15px 22px #0008)}.emperor-scene>aside button:disabled{opacity:.5;cursor:default}.emperor-scene>section>button{color:#f6ead8;cursor:pointer;background:#263c32;border:1px solid #a47d5b;margin-top:10px;padding:9px 18px;font-family:inherit}.emperor-scene.at-court .emperor-scene-bg{background:linear-gradient(90deg,#2c1b127a,#fff7e014 48%,#28171061),url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/palace-map-v1.png) 50% 58%/cover no-repeat}.emperor-scene.at-qianyuan .emperor-scene-bg{background:linear-gradient(90deg,#160c08bb 0,#0000 40%,#130b0888),url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/emperor-palace-interior.png) 50%/cover no-repeat}.emperor-scene>.dialogue-portrait{z-index:2;object-fit:contain;object-position:bottom;filter:drop-shadow(0 15px 22px #0008);max-width:62%;height:76%;position:absolute;bottom:-2%}.emperor-scene>.dialogue-portrait.is-emperor{right:8%}.emperor-scene>.dialogue-portrait.is-player{left:50%;right:auto;transform:translate(-50%)}.emperor-scene>.emperor-dialogue-box{cursor:pointer}.emperor-scene>.emperor-dialogue-box small{font-size:15px;display:block}.emperor-scene>.emperor-dialogue-box button{float:right}.emperor-scene:has(.emperor-dialogue-box button)>aside{display:none}@media (max-width:600px){.emperor-scene header{height:66px}.emperor-scene>aside{grid-template-columns:repeat(2,minmax(0,1fr));width:auto;top:76px;left:8px;right:8px}.emperor-scene>aside button{min-height:58px}.emperor-scene>.dialogue-portrait{max-width:96vw;height:64vh;bottom:12vh;left:50%;right:auto;transform:translate(-50%)}.emperor-scene>.emperor-dialogue-box{background:#f8eddbf0;min-height:126px;padding:14px 16px;bottom:8px;left:8px;right:8px}.emperor-scene>.emperor-dialogue-box p{margin:8px 0 0;padding-right:0;font-size:16px;line-height:1.65}}.emperor-dialogue-copy{white-space:pre-line}.emperor-effect-line{border-top:1px solid #915b4c47;padding-top:8px;color:#a45d51!important;font-size:14px!important}.imperial-night-scene{z-index:260;color:#542b28;background:#171310;position:fixed;inset:0;overflow:hidden}.imperial-night-bg{filter:saturate(.7)brightness(.7);background:linear-gradient(#0b08072e,#1208089e),url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/palace-chamber.png) 50%/cover no-repeat;position:absolute;inset:0}.imperial-night-scene>header{z-index:4;background:#f6ecdae6;border-bottom:1px solid #b78a72;justify-content:space-between;align-items:center;padding:18px 36px;display:flex;position:absolute;top:0;left:0;right:0}.imperial-night-scene header small{letter-spacing:.18em;color:#9b6055}.imperial-night-scene header h2{margin:4px 0 0;font:30px serif}.imperial-night-scene header span{color:#8b3e38}.imperial-night-scene>img{z-index:2;object-fit:contain;object-position:bottom;filter:drop-shadow(0 14px 24px #0000008c);max-width:72vw;height:72vh;position:absolute;bottom:0;left:50%;right:auto;transform:translate(-50%)}.imperial-night-scene>aside{z-index:5;grid-template-columns:repeat(2,minmax(150px,210px));gap:10px;display:grid;position:absolute;top:19%;left:50%;transform:translate(-50%)}.imperial-night-scene>aside button{color:#733831;cursor:pointer;background:#faf0e0e6;border:1px solid #a76754a6;padding:15px 20px;font:18px serif}.night-opening,.night-result{z-index:6;cursor:pointer;background:#faf0e0f0;border:1px solid #c69c82;padding:22px 28px;position:absolute;bottom:3%;left:18%;right:18%;box-shadow:0 8px 35px #0000004d}.night-opening small,.night-result small{letter-spacing:.2em;color:#a66258}.night-opening p,.night-result p{white-space:pre-line;margin:10px 0;font-size:18px;line-height:1.8}.night-result button{float:right;color:#fff;background:#27443b;border:0;padding:11px 24px;font:16px serif}@media (max-width:900px){.night-opening,.night-result{left:3%;right:3%}}@media (max-width:600px){.imperial-night-scene>header{padding:10px 14px}.imperial-night-scene header h2{font-size:21px}.imperial-night-scene>img{opacity:1;max-width:96vw;height:62vh;bottom:13vh}.imperial-night-scene>aside{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;top:12%;left:8px;right:8px;transform:none}.imperial-night-scene>aside button{padding:11px 8px;font-size:15px}.night-opening,.night-result{min-height:116px;padding:15px 16px;bottom:8px;left:8px;right:8px}.night-opening p,.night-result p{margin:8px 0;font-size:16px;line-height:1.65}}.night-messenger{z-index:3;object-fit:contain;object-position:bottom;filter:drop-shadow(0 12px 10px #24181255);max-width:38vw;height:62vh;position:absolute;bottom:18%;left:8%}.harem-map-screen{z-index:70;color:#532823;background:#d7c7ae;position:fixed;inset:84px 0 0;overflow:hidden}.harem-map-screen>img{object-fit:cover;filter:saturate(.8)brightness(.9);width:100%;height:100%;position:absolute;inset:0}.harem-map-screen:after{content:"";pointer-events:none;background:linear-gradient(#fff9ed38,#26171129);position:absolute;inset:0}.harem-map-screen>header{z-index:2;background:#fff7eae0;border-left:4px solid #8c3d36;padding:14px 20px;position:absolute;top:2.5%;left:2.5%}.harem-map-screen h1{margin:3px 0 0;font-size:32px;font-weight:500}.harem-map-screen header span{white-space:nowrap;background:#fff7eae0;padding:12px;position:absolute;top:0;left:calc(100% + 14px)}.harem-back{z-index:3;color:#fff;background:#8d4a43;border:0;padding:12px 22px;position:absolute;top:3%;right:2.5%}.harem-compounds{z-index:2;grid-template-columns:1fr 1fr;gap:3% 7%;display:grid;position:absolute;inset:15% 4% 5%}.harem-compounds section{flex-direction:column;justify-content:center;align-items:center;min-height:0;display:flex}.harem-compounds h2{background:#fff7eae6;border:1px solid #b78e69;margin:0 0 8px;padding:5px 22px;font-size:19px}.harem-compounds section>div{grid-template-columns:repeat(3,minmax(100px,1fr));gap:7px;width:100%;max-width:560px;display:grid}.harem-compounds button{color:#563028;background:#fff9ede6;border:1px solid #af8864;min-height:58px;padding:7px;position:relative}.harem-compounds button.main-hall{background:#fae8caf0;border:2px solid #9c4a3e;grid-row:span 2;min-height:123px}.harem-compounds button b,.harem-compounds button span{display:block}.harem-compounds button span{color:#806a5d;margin-top:4px;font-size:12px}.harem-compounds button.empty{opacity:.78}.harem-compounds button.imperial{box-shadow:0 0 0 3px #d8ad55,0 0 18px #fff3b2}.harem-compounds button em{color:#fff;background:#8a302a;padding:2px 5px;font-size:10px;position:absolute;top:4px;right:4px}.harem-map-screen>p{z-index:3;background:#fff7eae6;margin:0;padding:7px 18px;position:absolute;bottom:1%;left:50%;transform:translate(-50%)}.harem-map-screen>img,.harem-map-screen:after{transition:opacity .75s,background .75s}.harem-map-screen--night{background:#101b2a}.harem-map-screen--night>img{filter:none}.harem-map-screen--night:after{background:linear-gradient(#050c1905,#02081224)}.harem-map-screen--night>header{color:#f3dfc6;background:#181f27e6;border-left-color:#c89062}.harem-map-screen--night header span{background:#181f27eb}.harem-map-screen--night .harem-compounds button.imperial{box-shadow:0 0 0 3px #b88a42,0 0 18px #ffcb69a6}.period-end-mask{z-index:110;background:#19120e9e;place-items:center;display:grid;position:fixed;inset:0}.period-end-card{text-align:center;background:#f5ead7;border:1px solid #b48661;width:min(520px,86vw);padding:38px 42px;box-shadow:0 20px 70px #1d120d}.period-end-card small{letter-spacing:.34em;color:#9b574d}.period-end-card h2{margin:12px 0 22px;font-size:32px;font-weight:500}.period-end-card p{border-block:1px solid #d4bda0;padding:20px 4px;font-size:19px;line-height:1.9}.period-end-card button{color:#fff;background:#264638;border:0;margin-top:18px;padding:13px 28px;font-size:16px}@media (max-width:900px){.harem-map-screen{inset:70px 0 0}.harem-compounds{gap:2%;inset:17% 2% 4%}.harem-compounds section>div{gap:4px}.harem-compounds button{min-height:48px;padding:3px}.harem-compounds button.main-hall{min-height:100px}.harem-compounds h2{margin-bottom:3px;font-size:15px}.harem-map-screen>p{display:none}}.garden-screen{inset:var(--game-statusbar-height) 0 0;z-index:80;color:#5e322c;background:#d7c6ad;position:fixed;overflow:hidden}.garden-bg{object-fit:cover;object-position:center;width:100%;height:100%;position:absolute;inset:0}.garden-screen:after{content:"";pointer-events:none;background:linear-gradient(90deg,#fff6eac7 0 27%,#0000 48%),linear-gradient(#0000 56%,#291b1738);position:absolute;inset:0}.garden-roster{z-index:3;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#fff9efdc;border:1px solid #c89579;width:min(410px,32vw);height:calc(100% - 40px);margin:20px 0 20px 28px;padding:25px;position:relative;overflow:auto;box-shadow:0 16px 42px #412c2345}.garden-roster h2{margin:0;font-size:27px;font-weight:500}.garden-roster>p{color:#947568;margin:6px 0 20px;font-size:13px}.garden-roster>div{gap:10px;display:grid}.garden-roster button{text-align:left;color:#63382f;cursor:pointer;background:#fffaf2e6;border:1px solid #ca9e86;grid-template-columns:78px 1fr;min-height:106px;padding:8px;display:grid}.garden-roster button:disabled{opacity:.55;cursor:default}.garden-roster img{object-fit:cover;object-position:top;background:#eadcc9;width:78px;height:90px}.garden-roster button span{flex-direction:column;padding:8px 10px;display:flex}.garden-roster button small{color:#a36f61}.garden-roster button b{margin:7px 0;font-size:18px;font-weight:500}.garden-roster button em{color:#9a4036;margin-top:auto;font-style:normal}.garden-empty{text-align:center;background:#fff8edaa;border:1px dashed #ba8c76;padding:35px 15px}.garden-roster img.garden-emperor-portrait{object-fit:contain;background:0 0}.garden-actions{z-index:4;gap:10px;width:min(330px,30vw);display:grid;position:absolute;bottom:28px;right:28px}.garden-actions button{text-align:left;color:#6f392f;cursor:pointer;background:#fff8eede;border:1px solid #c38d75;padding:15px 18px;box-shadow:0 8px 24px #4a302832}.garden-actions button:disabled{opacity:.55}.garden-actions b,.garden-actions span{display:block}.garden-actions b{font-size:20px;font-weight:500}.garden-actions span{color:#967366;margin-top:4px;font-size:12px}@media (max-width:900px){.garden-roster{width:46vw}.garden-actions{width:40vw}}.garden-encounter-choices{z-index:4;text-align:center;background:#fff8eedb;border:1px solid #c38d75;width:min(720px,88vw);margin:clamp(6rem,14vh,9rem) auto 1rem;padding:1rem;position:relative;box-shadow:0 10px 30px #4a302832}.garden-encounter-choices h2{margin:.1rem 0 .65rem;font-weight:500}.garden-encounter-choices button{color:#71382f;cursor:pointer;background:#fffaf2;border:1px solid #b77a65;margin:.3rem;padding:.65rem 1rem}.dowager-scene{inset:var(--game-statusbar-height) 0 0;z-index:72;color:#4b2825;background:#251814;position:fixed;overflow:hidden}.dowager-scene-bg{background:linear-gradient(90deg,#20131026,#20131005),url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/dowager-palace-interior.png) 50%/cover no-repeat;position:absolute;inset:0}.dowager-scene>header{z-index:4;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f9efddeb;border-bottom:1px solid #a77a5e;grid-template-columns:250px 1fr 250px;align-items:center;height:90px;padding:0 28px;display:grid;position:absolute;inset:0 0 auto}.dowager-scene header button,.dowager-scene section button{color:#733d37;cursor:pointer;background:#fff8ebeb;border:1px solid #a66c57;padding:12px 18px;font-family:inherit}.dowager-scene header div{text-align:center}.dowager-scene header small{letter-spacing:.35em;color:#976a57}.dowager-scene header h2{margin:5px 0 0;font-size:25px;font-weight:500}.dowager-scene header>span{color:#8f493f;justify-self:end;font-size:17px}.dowager-scene>aside{z-index:4;gap:12px;width:270px;display:grid;position:absolute;top:126px;left:24px}.dowager-scene>aside button{text-align:left;color:#6e3732;cursor:pointer;background:#fcf3e2e8;border:1px solid #9d664db8;min-height:92px;padding:17px 20px;font-family:inherit;box-shadow:0 8px 25px #23110d1f}.dowager-scene>aside button:hover{background:#fff8e9;transform:translate(5px)}.dowager-scene>aside button:disabled{opacity:.48;cursor:default;transform:none}.dowager-scene>aside b{margin-bottom:8px;font-size:22px;font-weight:500;display:block}.dowager-scene>aside span{color:#936f61;font-size:13px}.dowager-scene>img{z-index:2;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 24px #180c0973);max-width:56vw;height:calc(100% - 100px);position:absolute;bottom:0;left:50%;transform:translate(-42%)}.dowager-scene>section{z-index:5;background:#fcf3e2f0;border:1px solid #9e6952b8;min-height:128px;padding:23px 30px;position:absolute;bottom:24px;left:310px;right:28px;box-shadow:0 10px 36px #1a0d0a47}.dowager-scene>section small{letter-spacing:.28em;color:#a26052}.dowager-scene>section p{margin:12px 130px 0 0;font-size:19px;line-height:1.8}.dowager-scene>section button{position:absolute;bottom:24px;right:24px}@media (max-width:900px){.dowager-scene>header{grid-template-columns:150px 1fr 150px;padding:0 12px}.dowager-scene>aside{width:220px;left:12px}.dowager-scene>aside button{min-height:78px;padding:12px 15px}.dowager-scene>img{max-width:70vw;left:58%}.dowager-scene>section{bottom:12px;left:245px;right:12px}}@media (max-width:600px){.dowager-scene>header{grid-template-columns:88px minmax(0,1fr);height:72px;padding:0 8px}.dowager-scene header button{padding:9px 10px}.dowager-scene header h2{font-size:18px}.dowager-scene header small{font-size:10px}.dowager-scene header>span{display:none}.dowager-scene>aside{top:84px}}.dowager-reception-scene{inset:var(--game-statusbar-height) 0 0;z-index:73;color:#4b2825;background:#251814;position:fixed;overflow:hidden}.dowager-reception-bg{background:linear-gradient(90deg,#2013102e,#20131008),url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/dowager-palace-interior.png) 50%/cover no-repeat;position:absolute;inset:0}.dowager-reception-back{z-index:4;color:#733d37;font:inherit;cursor:pointer;background:#fff8ebf0;border:1px solid #a66c57;padding:11px 18px;position:absolute;top:20px;left:22px}.dowager-reception-scene>img{z-index:2;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 24px #180c096b);max-width:72vw;height:88%;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.dowager-reception-scene>section{z-index:5;background:#fcf3e2f2;border:1px solid #9e6952b8;min-height:130px;padding:20px 190px 20px 28px;position:absolute;bottom:24px;left:8%;right:8%;box-shadow:0 10px 36px #1a0d0a47}.dowager-reception-scene section small{letter-spacing:.22em;color:#a26052}.dowager-reception-scene section h2{margin:5px 0;font-weight:500}.dowager-reception-scene section p{margin:8px 0 0;font-size:19px}.dowager-reception-scene section button{color:#fff8eb;font:inherit;cursor:pointer;background:#8e4b43;border:1px solid #a66c57;padding:12px 22px;position:absolute;bottom:24px;right:24px}@media (max-width:600px){.dowager-reception-back{top:12px;left:12px}.dowager-reception-scene>img{max-width:100vw;height:76%}.dowager-reception-scene>section{padding:16px 18px 72px;bottom:10px;left:10px;right:10px}.dowager-reception-scene section button{bottom:14px;left:18px;right:18px}}.servant-system{color:#65443a;padding:24px}.servant-system>header{border-bottom:1px solid #cbb79b;grid-template-columns:100px 1fr 80px;align-items:center;padding-bottom:14px;display:grid}.servant-system>header button,.servant-actions button,.servant-targets button,.servant-result button{color:#734039;font:inherit;cursor:pointer;background:#fff8ed;border:1px solid #b78d72;padding:9px 13px}.servant-system>header div{text-align:center}.servant-system h1{margin:3px 0;font-weight:400}.servant-system>header small{letter-spacing:.25em;color:#a27767}.servant-system>header span{text-align:right}.servant-body{grid-template-columns:290px 1fr;gap:18px;height:600px;margin-top:18px;display:grid}.servant-list{border-right:1px solid #cfbda2;padding-right:12px;overflow:auto}.servant-list h3{color:#9b7060;font-size:14px}.servant-list button{text-align:left;color:#654038;background:#fff9ed;border:1px solid #d2b99b;grid-template-columns:56px 1fr;align-items:center;gap:10px;width:100%;margin:7px 0;padding:6px;display:grid}.servant-list button.active{background:#f4e0ce;border-color:#934b43}.servant-list img{object-fit:contain;object-position:bottom;width:56px;height:66px}.servant-list b,.servant-list small{display:block}.servant-detail{background:#fff8ecaa;border:1px solid #d3bda0;grid-template-columns:minmax(260px,43%) 1fr;display:grid;position:relative;overflow:hidden}.servant-detail figure{background:#e8dcc7;justify-content:center;align-items:end;margin:0;display:flex}.servant-detail figure img{object-fit:contain;object-position:bottom;width:100%;height:100%}.servant-detail article{padding:35px}.servant-detail h2{margin:5px 0 18px;font-size:36px;font-weight:400}.servant-detail p{line-height:2}.servant-stats,.servant-actions,.servant-targets{gap:8px;margin-top:20px;display:grid}.servant-stats{grid-template-columns:repeat(3,1fr)}.servant-stats span{background:#eadcc7;padding:10px}.servant-actions{grid-template-columns:repeat(2,1fr)}.servant-targets{max-height:260px;overflow:auto}.servant-result{background:#f4e4d1;border-left:3px solid #9c5148;margin-top:24px;padding:18px}.servant-empty{color:#99786b;margin:auto}@media (max-width:760px){.servant-system{padding:12px}.servant-body{grid-template-columns:120px 1fr;height:calc(100vh - 190px)}.servant-detail{display:block}.servant-detail figure{height:46%}.servant-detail article{padding:16px}.servant-detail h2{font-size:26px}.servant-list button{text-align:center;grid-template-columns:1fr}.servant-list img{margin:auto}.servant-actions{grid-template-columns:1fr}.servant-system>header{grid-template-columns:70px 1fr 45px}}.servant-overlay,.reception-scene{z-index:190;background:#e6d8c4f2;position:fixed;inset:86px 0 0;overflow:auto}.servant-overlay>.servant-system{background:#f7eddd;min-height:100%}.reception-scene{background:linear-gradient(#2c211b66,#2c211b88),url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/palace-chamber.png) 50%/cover;place-items:center;display:grid}.reception-card{background:#fff5e8e8;border:1px solid #ba8b70;grid-template-columns:320px minmax(300px,520px);width:min(900px,92vw);height:min(620px,80vh);display:grid}.reception-card>img{object-fit:contain;object-position:bottom;background:#e9ddc8;width:100%;height:100%}.reception-card section{padding:48px}.reception-card h2{font-size:38px;font-weight:400}.reception-card p{font-size:19px;line-height:2}.reception-card em{color:#8b5c51;border-left:3px solid #a35c50;padding:12px;display:block}.reception-card button{color:#fff1df;font:inherit;background:#274137;border:1px solid #9e654f;margin-top:24px;padding:11px 24px}@media (max-width:760px){.reception-card{grid-template-columns:1fr;height:82vh}.reception-card>img{height:48vh}.reception-card section{padding:18px}.servant-overlay,.reception-scene{inset:84px 0 0}}.servant-skill-description{background:#fff8e280;border-left:2px solid #8f4f3799;margin:.8rem 0;padding:.7rem .85rem;font-size:.88rem}.servant-experience>div{justify-content:space-between;font-size:.84rem;display:flex}.servant-experience>i{background:#41372a26;height:6px;margin:.4rem 0;display:block;overflow:hidden}.servant-experience>i>em{background:linear-gradient(90deg,#8c543c,#c4975f);height:100%;display:block}.servant-experience small{opacity:.68}.record-v2{background:#faf1dab8;min-height:65vh;padding:clamp(16px,3vw,38px)}.record-v2 header small,.rival-record-v2 header small{letter-spacing:.18em;opacity:.55}.record-v2 nav,.record-v2-subtabs,.rival-record-tabs{flex-wrap:wrap;gap:8px;margin:1rem 0;display:flex}.record-v2 button,.rival-record-v2 button{background:#fffaeb8c;border:1px solid #784d3359;padding:.55rem 1rem}.record-v2 button.active,.rival-record-v2 button.active{color:#fff;background:#7e4436}.record-v2-list,.rival-record-list{gap:10px;display:grid}.record-v2-list article,.rival-record-list article{background:#fffcf08c;border-left:2px solid #9a6a48;padding:12px 16px}.record-v2-list time,.rival-record-list time{opacity:.6;font-size:.75rem}.record-v2-list h3{margin:.3rem 0}.rival-status-v2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.rival-status-v2 article{background:#fffaeb8c;padding:12px}.rival-status-v2 h3{color:#864b3c;margin:0 0 .4rem;font-size:.85rem}.rival-status-v2 p{margin:0}@media (max-width:600px){.rival-status-v2{grid-template-columns:1fr}.record-v2{padding:14px}}.record-v2{box-sizing:border-box;flex-direction:column;height:calc(100vh - 110px);min-height:0;padding:16px 20px;display:flex;overflow:hidden}.record-v2>header h1{margin:.15rem 0;font-size:1.6rem}.record-v2 nav,.record-v2-subtabs{margin:.45rem 0}.record-v2-list{flex:1;align-content:start;gap:6px;min-height:0;padding-right:6px;overflow-y:auto}.record-v2-list article{padding:8px 12px}.record-v2-list h3{margin:.15rem 0;font-size:1rem}.record-v2-list p{margin:.15rem 0;font-size:.92rem;line-height:1.45}.servant-system{padding:12px 18px}.servant-system>header{padding-bottom:8px}.servant-body{gap:12px;height:calc(100vh - 155px);min-height:500px;margin-top:10px}.servant-detail{min-height:0}.servant-detail article{min-height:0;padding:18px 24px;overflow-y:auto}.servant-detail h2{margin:2px 0 8px;font-size:30px}.servant-detail p{margin:.3rem 0;line-height:1.55}.servant-stats,.servant-actions,.servant-targets{margin-top:10px}.servant-stats span{padding:7px 9px}.servant-skill-description{margin:.45rem 0;padding:.5rem .7rem}.servant-experience{margin-top:.4rem}@media (min-width:901px) and (max-height:800px){.record-v2{height:100%;padding:10px 16px}.record-v2>header h1{font-size:1.35rem}.record-v2 nav,.record-v2-subtabs{margin:.3rem 0}.record-v2 button{padding:.4rem .8rem}.servant-system{box-sizing:border-box;height:100%;padding:8px 14px;overflow:hidden}.servant-system>header{box-sizing:border-box;height:52px;padding-bottom:6px}.servant-system h1{font-size:1.55rem;line-height:1.1}.servant-body{gap:10px;height:calc(100% - 60px);min-height:0;margin-top:8px}.servant-list button{grid-template-columns:48px 1fr;margin:5px 0;padding:4px}.servant-list img{width:48px;height:54px}.servant-detail article{padding:12px 18px}.servant-detail h2{margin:0 0 5px;font-size:26px}.servant-detail p{margin:.2rem 0;line-height:1.4}.servant-stats,.servant-actions,.servant-targets{gap:6px;margin-top:7px}.servant-stats span{padding:5px 7px}.servant-skill-description{margin:.3rem 0;padding:.4rem .6rem}.servant-experience{margin-top:.25rem}}@media (max-width:760px){.record-v2{height:calc(100vh - 92px);padding:12px}.servant-system{padding:10px}.servant-body{height:calc(100vh - 160px);min-height:0;margin-top:8px}.servant-detail article{padding:12px}}.npc-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.npc-status-grid article{background:#fffaeb8c;padding:12px}.npc-status-grid b{color:#864b3c;margin:0 0 .4rem;font-size:.85rem;display:block}.npc-status-grid p{margin:0}.record-secret-meta{opacity:.68;gap:1rem;margin-top:.5rem;font-size:.78rem;display:flex}@media (max-width:600px){.npc-status-grid{grid-template-columns:1fr}}.medical-screen{z-index:155;color:#5f2926;background:#e9ddc8;position:fixed;inset:84px 0 0;overflow:hidden}.medical-bg{object-fit:cover;filter:brightness(.8);width:100%;height:100%;position:absolute;inset:0}.medical-screen:after{content:"";pointer-events:none;background:linear-gradient(90deg,#22191361,#f8eedb14,#2219134d);position:absolute;inset:0}.medical-header{z-index:2;background:#f9f0dee6;border-bottom:1px solid #ad765f;justify-content:space-between;align-items:center;padding:24px 5vw;display:flex;position:relative}.medical-header button,.medical-home button,.medical-visitors nav button{color:#71342e;background:#fff8eaf0;border:1px solid #b98972;padding:12px 18px}.medical-header h1{margin:4px 0 0;font:42px serif}.medical-wash{z-index:1;pointer-events:none;background:linear-gradient(90deg,#fff9edf0 0 43%,#fff9ed7a 67%,#4a2d1914);position:absolute;inset:0}.medical-physician{z-index:1;object-fit:contain;object-position:bottom;max-width:54vw;height:min(82vh,860px);position:absolute;bottom:0;right:3vw}.medical-main{z-index:2;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#a56d59 #f9f0de8c;flex:auto;width:min(610px,52vw);min-height:0;margin:0;padding:6px clamp(20px,4vw,56px) 24px;position:relative;overflow:hidden auto}.medical-identity{background:#fff7e7e0;border-left:4px solid #9d6247;padding:10px 16px}.medical-identity>b{font-size:21px}.medical-identity p{margin:4px 0 0;font-size:14px}.medical-identity>div{flex-wrap:wrap;gap:7px;margin-top:8px;display:flex}.medical-identity span{color:#76503e;background:#fffcf4d1;border:1px solid #d0b28e;padding:3px 8px;font-size:13px}.medical-home{background:#fffaefeb;border:1px solid #a3784fb3;grid-template-columns:1fr;gap:7px;margin-top:12px;padding:14px 16px 16px;display:grid}.medical-home button{text-align:left;min-height:68px;padding:8px 11px}.medical-home b{margin-bottom:4px;font:20px serif;display:block}.medical-home span{color:#9a7464}.medical-illness-card{color:#5f3028;background:#fff6ece6;border:1px solid #802f2647;gap:3px;margin-top:10px;padding:10px 14px;display:grid}.medical-illness-card small{letter-spacing:.16em;color:#946358}.medical-illness-card b{margin:0;font-size:1.08rem}.medical-home button:disabled{opacity:.5}.medical-visitors{z-index:2;width:min(980px,92vw);margin:4vh auto;position:relative}.medical-visitors article{background:#f9f0deeb;grid-template-columns:190px 1fr 180px;align-items:center;gap:24px;padding:20px;display:grid}.medical-visitors article img{object-fit:contain;width:190px;height:250px}.medical-visitors nav{gap:10px;display:grid}.medical-empty{text-align:center;background:#f9f0deeb;padding:60px;font-size:20px}.medical-screen--pharmacy .medical-header{padding:14px 3vw}.medical-screen--pharmacy .medical-header h1{font-size:34px}.medical-pharmacy{z-index:2;scrollbar-color:#a56d59 transparent;background:#f9f0deeb;width:min(1120px,92vw);max-height:calc(100vh - 215px);margin:20px auto;padding:18px;position:relative;overflow:auto;box-shadow:0 18px 50px #2f1e1a55}.medical-pharmacy-group+.medical-pharmacy-group{border-top:1px solid #915b4659;margin-top:18px;padding-top:16px}.medical-pharmacy-group>header{justify-content:space-between;align-items:end;gap:24px;margin-bottom:10px;display:flex}.medical-pharmacy-group>header h2{margin:2px 0 0;font:26px serif}.medical-pharmacy-group>header small{color:#9b604f;letter-spacing:.14em}.medical-pharmacy-group>header p{color:#856a60;text-align:right;max-width:520px;margin:0;font-size:14px;line-height:1.55}.medical-drug-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.medical-drug-card{background:#fffaf0f0;border:1px solid #b5846b94;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:14px 15px;display:grid}.medical-drug-card small{color:#9c6b5c}.medical-drug-card h3{color:#6a302b;margin:3px 0 5px;font:22px serif}.medical-drug-card p{color:#74564d;margin:0;font-size:14px;line-height:1.5}.medical-drug-card>button{color:#71342e;white-space:nowrap;background:#fff8ea;border:1px solid #b98972;min-width:118px;padding:10px 12px}.medical-drug-card>button:disabled{opacity:.48}.medical-pharmacy-group--restricted .medical-drug-card{background:#f6ead9f0;border-color:#83483c7a}@media (max-width:1050px){.medical-drug-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.medical-drug-card{grid-template-columns:1fr}.medical-drug-card>button{width:100%}}@media (max-width:700px){.medical-screen{inset:82px 0 0}.medical-header{padding:12px}.medical-header h1{font-size:28px}.medical-home{grid-template-columns:1fr;gap:8px;padding:12px}.medical-home button{min-height:75px}.medical-home b{font-size:21px}.medical-visitors article{grid-template-columns:110px 1fr;gap:10px;padding:12px}.medical-visitors article img{width:110px;height:170px}.medical-visitors nav{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.medical-visitors nav button{padding:10px 4px}.medical-screen--pharmacy .medical-header{padding:10px 12px}.medical-screen--pharmacy .medical-header h1{font-size:26px}.medical-pharmacy{width:94vw;max-height:calc(100vh - 175px);margin:10px auto;padding:10px}.medical-pharmacy-group>header{display:block}.medical-pharmacy-group>header p{text-align:left;margin-top:5px}.medical-drug-grid{grid-template-columns:1fr}.medical-drug-card{grid-template-columns:minmax(0,1fr) auto;padding:11px}.medical-drug-card>button{width:auto;min-width:104px}}.medical-screen:not(.medical-screen--dialogue){flex-direction:column;display:flex}.medical-screen:not(.medical-screen--dialogue) .medical-header{flex:none;justify-content:flex-start;gap:16px;padding:14px clamp(20px,4vw,56px) 8px}.medical-screen:not(.medical-screen--dialogue) .medical-header h1{font-size:clamp(30px,3.5vw,48px);font-weight:500;line-height:1.05}.medical-visitors,.medical-pharmacy{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#a56d59 #f9f0de8c;flex:auto;min-height:0;max-height:none;margin:18px auto 24px;overflow:hidden auto}.medical-visitors{background:#f9f0dee0;align-content:start;gap:12px;width:min(980px,92vw);padding:18px;display:grid;box-shadow:0 18px 50px #2f1e1a55}.medical-visitors article{min-height:290px}.medical-pharmacy{width:min(1120px,92vw)}@media (max-width:700px){.medical-screen:not(.medical-screen--dialogue) .medical-header{padding:10px 12px}.medical-visitors,.medical-pharmacy{margin:10px auto 14px}.medical-main{width:auto;padding:1vh 16px 20px}.medical-wash{background:linear-gradient(#fff9eded 0 54%,#fff9ed5c)}.medical-physician{opacity:.4;max-width:110vw;height:58vh;right:-17vw}.medical-home{padding:12px}.medical-visitors{width:94vw;padding:10px}.medical-visitors article{min-height:0}}.dialogue-scene{z-index:400;isolation:isolate;color:#4f302b;background:#241914;position:fixed;inset:0;overflow:hidden}.dialogue-scene__background{z-index:0;background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0;transform:scale(1.01)}.dialogue-scene__veil{z-index:1;pointer-events:none;background:linear-gradient(#1b12100f 0 48%,#160e0c47 78%,#110b0980),linear-gradient(90deg,#160d0c1f,#0000 36%,#160d0c17);position:absolute;inset:0}.dialogue-scene__portrait{z-index:2;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 20px 18px #1e110e57);pointer-events:none;-webkit-user-select:none;user-select:none;width:auto;max-width:min(58vw,680px);height:66vh;position:absolute;bottom:20vh;left:55%;transform:translate(-50%);box-shadow:none!important;background:0 0!important;border:0!important}.dialogue-scene__box{z-index:3;text-align:left;color:#4f302b;cursor:pointer;-webkit-backdrop-filter:blur(7px)saturate(.86);backdrop-filter:blur(7px)saturate(.86);background:linear-gradient(110deg,#faefdad6,#ebd6b8c2 52%,#f8ebd3d6);border:1px solid #9a6f4dad;border-radius:2px;min-height:clamp(132px,22vh,220px);max-height:25vh;padding:clamp(30px,4vh,44px) clamp(24px,4vw,58px) clamp(20px,3vh,34px);font-family:inherit;position:absolute;bottom:clamp(10px,2vh,24px);left:6%;right:6%;overflow:visible;box-shadow:0 12px 36px #190e0b4d,inset 0 0 0 4px #fffbef2e}.dialogue-scene__box:before,.dialogue-scene__box:after{content:"";pointer-events:none;opacity:.68;width:70px;height:26px;position:absolute}.dialogue-scene__box:before{border-top:1px solid #a87f54;border-left:1px solid #a87f54;top:12px;left:12px}.dialogue-scene__box:after{border-bottom:1px solid #a87f54;border-right:1px solid #a87f54;bottom:12px;right:12px}.dialogue-scene__name{text-align:center;letter-spacing:.1em;color:#f8ead0;background:linear-gradient(135deg,#69312d,#8e4840 60%,#6d332f);border:1px solid #c69a60;justify-content:center;align-items:center;width:max-content;min-width:0;max-width:70%;height:clamp(40px,4.5vh,52px);padding:0 clamp(18px,2vw,28px);font-size:clamp(17px,1.5vw,22px);font-weight:500;display:flex;position:absolute;top:0;left:clamp(20px,3vw,44px);transform:translateY(-50%);box-shadow:0 5px 14px #25110e3d}.dialogue-scene__chapter{letter-spacing:.32em;color:#9c6f59;font-size:clamp(10px,.9vw,13px);position:absolute;top:18px;right:clamp(30px,5vw,74px)}.dialogue-scene__box p{letter-spacing:.025em;text-wrap:pretty;max-width:94%;margin:0;padding:0 54px 0 0;font-size:clamp(18px,1.45vw,22px);line-height:1.7}.dialogue-scene__box strong{letter-spacing:.1em;color:#9a433b;margin-top:clamp(8px,1.4vh,16px);font-size:clamp(14px,1.15vw,18px);font-weight:500;display:block}.dialogue-scene__box em{letter-spacing:.12em;color:#8b4a42;opacity:.82;align-items:center;gap:6px;font-size:clamp(11px,.9vw,13px);font-style:normal;display:flex;position:absolute;bottom:clamp(12px,1.8vh,22px);right:clamp(20px,2.5vw,38px)}.dialogue-scene__box em i{font-size:24px;font-style:normal;line-height:.7;animation:1.1s ease-in-out infinite dialogue-next}.dialogue-scene.is-narration .dialogue-scene__box{padding-top:clamp(30px,4.2vh,48px)}.dialogue-scene.is-narration .dialogue-scene__box p{color:#5b4438;font-style:normal}.dialogue-scene--garden,.dialogue-scene--medical{inset:0}.servant-system .dialogue-scene{z-index:400;position:fixed;inset:0}@keyframes dialogue-next{50%{opacity:.55;transform:translate(4px)}}@media (max-width:900px){.dialogue-scene__portrait{max-width:80vw;height:60vh;bottom:25vh;left:54%}.dialogue-scene__box{min-height:clamp(148px,25vh,215px);max-height:28vh;padding:34px clamp(20px,3.5vw,32px) 26px;bottom:clamp(8px,1.5vh,16px);left:5%;right:5%}.dialogue-scene__box p{max-width:100%;padding-right:38px;font-size:clamp(17px,2.4vw,20px);line-height:1.65}.dialogue-scene__name{height:44px;padding:0 20px;font-size:19px;left:22px}}@media (max-width:520px){.dialogue-scene__portrait{max-width:92vw;height:56dvh;bottom:29dvh;left:53%}.dialogue-scene__box{left:4%;right:4%;bottom:max(7px,env(safe-area-inset-bottom));border-radius:0;min-height:clamp(158px,27dvh,230px);max-height:30dvh;padding:34px 18px 28px}.dialogue-scene__name{height:40px;padding:0 16px;font-size:17px;left:16px}.dialogue-scene__chapter{white-space:nowrap;text-overflow:ellipsis;max-width:44%;font-size:9px;top:15px;right:20px;overflow:hidden}.dialogue-scene__box p{letter-spacing:.02em;padding:0 22px 0 0;font-size:16px;line-height:1.65}.dialogue-scene__box strong{font-size:13px}.dialogue-scene__box em{font-size:11px;bottom:14px;right:18px}}@media (min-width:1200px){.dialogue-scene__portrait{height:min(72vh,760px);left:57%}.dialogue-scene__box{left:max(5vw,70px);right:max(5vw,70px)}}.rival-visit-choice-scene{z-index:460;position:fixed;inset:0}.rival-visit-choices{z-index:470;gap:.55rem;width:min(34rem,90vw);display:grid;position:fixed;bottom:25vh;right:5vw}.rival-visit-choices button{color:#542c28;text-align:left;background:#f7eddaf0;border:1px solid #a77a5f;padding:.7rem 1rem;box-shadow:0 5px 18px #32150f33}.rival-visit-choices b,.rival-visit-choices span{display:block}.rival-visit-choices span{color:#76564a;margin-top:.2rem;font-size:.86rem}@media (max-width:600px){.rival-visit-choices{gap:.35rem;width:90vw;bottom:29vh;right:5vw}.rival-visit-choices button{padding:.5rem .7rem}}.music-bureau{z-index:175;color:#3c241c;background-position:50%;background-size:cover;position:fixed;inset:0;overflow:auto}.music-bureau__veil{background:linear-gradient(90deg,#f7eedcf5 0 48%,#f7eedc73 72%,#1e14102e);position:absolute;inset:0}.music-bureau header{z-index:2;align-items:center;gap:22px;padding:clamp(18px,3vw,38px);display:flex;position:relative}.music-bureau header button,.music-bureau__register button{color:#713b31;background:#f6ebd7;border:1px solid #9b674e;padding:10px 16px}.music-bureau h1{margin:2px 0;font-size:clamp(34px,5vw,62px)}.music-bureau__master{object-fit:contain;object-position:bottom;z-index:1;max-width:48vw;height:min(76vh,760px);position:absolute;bottom:0;right:7vw}.music-bureau main{z-index:2;width:min(720px,58vw);padding:0 clamp(22px,5vw,72px) 50px;position:relative}.music-bureau__intro{background:#f9f1e1d1;border-left:4px solid #9b5647;padding:14px 20px}.music-bureau__intro b{font-size:24px}.music-bureau__actions{grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0;display:grid}.music-bureau__actions button{color:#62372e;text-align:left;background:#fbf3e4eb;border:1px solid #b88d70;min-height:108px;padding:18px}.music-bureau__actions b,.music-bureau__actions span{display:block}.music-bureau__actions b{margin-bottom:10px;font-size:20px}.music-bureau__actions button:disabled{opacity:.45}.music-bureau aside{background:#f7edd8e6;border:1px solid #c9aa82;padding:18px 22px}.music-bureau__register{gap:10px;display:flex}@media (max-width:700px){.music-bureau__veil{background:linear-gradient(#f9f1e2eb 0 56%,#f9f1e24d)}.music-bureau__master{opacity:.5;max-width:88vw;height:48vh;right:-4vw}.music-bureau main{width:auto;padding:0 16px 30px}.music-bureau__actions{grid-template-columns:1fr}.music-bureau__actions button{min-height:78px}.music-bureau header{padding:16px}.music-bureau h1{font-size:36px}}.music-bureau__visitors{gap:10px;display:grid}.music-bureau__visitors article{border-top:1px solid #9b674e4d;grid-template-columns:1fr repeat(3,auto);align-items:center;gap:7px;padding-top:10px;display:grid}.music-bureau__visitors small{grid-column:1}.music-bureau__visitors button{color:#62372e;background:#f8edd9;border:1px solid #b88d70;padding:7px 9px}.court-event-choice-scene{z-index:245;color:#f7edda;background-position:50%;background-size:cover;flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.court-event-choice-mask{background:linear-gradient(#0c16122e,#0c1612b8);position:absolute;inset:0}.court-event-choice-scene header,.court-event-choice-list{z-index:1;position:relative}.court-event-choice-scene header{text-align:center;text-shadow:0 2px 8px #000}.court-event-choice-scene header small{letter-spacing:.28em}.court-event-choice-scene header h2{margin:.4rem;font:500 clamp(28px,4vw,48px) serif}.court-event-choice-list{gap:12px;width:min(720px,88vw);display:grid}.court-event-choice-list button{color:#f8efdf;text-align:left;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#18342ad1;border:1px solid #debc80b8;padding:14px 18px}.court-event-choice-list b,.court-event-choice-list span{display:block}.court-event-choice-list span{opacity:.78;margin-top:5px;line-height:1.5}@media (max-width:600px){.court-event-choice-list{width:90vw}.court-event-choice-list button{padding:11px 14px}.court-event-choice-scene header h2{font-size:28px}}.unified-dialogue-choices{z-index:1205;pointer-events:auto;gap:8px;width:min(88vw,760px);max-height:42vh;padding:10px;display:grid;position:fixed;bottom:24vh;left:50%;overflow-y:auto;transform:translate(-50%)}.unified-dialogue-choices button{pointer-events:auto;cursor:pointer;color:#f7edda;text-align:left;background:#1e342be6;border:1px solid #cbaa70b8;padding:10px 14px;position:relative;box-shadow:0 5px 18px #00000038}.unified-dialogue-choices b,.unified-dialogue-choices span{display:block}.unified-dialogue-choices span{opacity:.82;margin-top:3px;font-size:.86rem}@media (max-width:600px){.unified-dialogue-choices{width:94vw;max-height:40vh;bottom:28vh}.unified-dialogue-choices button{padding:8px 11px}}.player-intrigue-scene{z-index:210;color:#f2dfc6;background:linear-gradient(#211715d9,#211715ef),url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/palace-chamber.png) 50%/cover;padding:24px;position:fixed;inset:0;overflow:auto}.player-intrigue-scene header,.player-intrigue-scene footer{justify-content:space-between;align-items:center;max-width:1100px;margin:auto;display:flex}.player-intrigue-scene header{border-bottom:1px solid #a97b58;padding-bottom:16px}.player-intrigue-scene h2{margin:4px 0;font-size:30px;font-weight:400}.player-intrigue-scene header button,.player-intrigue-scene footer button{color:#f7ead6;background:#6f3732;border:1px solid #b98b61;padding:12px 22px}.player-intrigue-scene main{gap:18px;max-width:1100px;margin:18px auto 100px;display:grid}.player-intrigue-scene section{color:#56342e;background:#f3e6d4ed;border:1px solid #bd9871;padding:18px}.player-intrigue-scene h3{margin:0 0 12px;font-weight:400}.intrigue-card-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.intrigue-card-grid button{text-align:left;color:#603b34;background:#fff8ec;border:1px solid #c6a47c;padding:14px}.intrigue-card-grid button.selected{color:#f8ecd9;background:#26483d;border-color:#c7a66e}.intrigue-card-grid b,.intrigue-card-grid span{display:block}.intrigue-card-grid span{opacity:.78;margin-top:5px;font-size:13px}.intrigue-personality-notes{border-top:1px solid #d3b994;flex-wrap:wrap;gap:7px;margin-top:12px;padding-top:11px;display:flex}.intrigue-personality-notes>b{color:#8a5547;width:100%;font-size:13px;font-weight:400}.intrigue-personality-notes>span{color:#684039;background:#f8eddc;border:1px solid #c9a982;padding:5px 8px;font-size:12px}.player-intrigue-scene footer{background:#211715f2;border-top:1px solid #a97b58;max-width:none;padding:14px max(24px,50vw - 550px);position:fixed;bottom:0;left:0;right:0}.player-intrigue-scene footer button:disabled{opacity:.45}@media (max-width:600px){.player-intrigue-scene{padding:14px}.player-intrigue-scene main{margin-bottom:110px}.intrigue-card-grid{grid-template-columns:1fr 1fr}.player-intrigue-scene footer{padding:12px 14px}}.imperial-kitchen-screen{z-index:230;color:#4b3425;background:#d9c7a9 url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/imperial-kitchen-v1.png) 50%/cover;position:fixed;inset:0;overflow:auto}.imperial-kitchen-screen:before{content:"";-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none;background:#efe0c3cc;position:fixed;inset:0}.kitchen-top,.imperial-kitchen-screen main{position:relative}.kitchen-top{color:#f5dca4;background:#2a1b11f0;border-bottom:2px solid #a87837;align-items:center;gap:18px;min-height:68px;padding:10px 2.5%;display:flex}.kitchen-top h1{margin:0 16px 0 0;font:700 28px serif}.kitchen-top nav{flex:1;gap:8px;display:flex}.kitchen-top button{color:#f2d8a2;background:#5438208c;border:1px solid #8f6739;padding:10px 18px;font-family:serif}.kitchen-top button.active{color:#24170f;background:#b1813f}.imperial-kitchen-screen main{grid-template-columns:minmax(0,3fr) minmax(300px,2fr);gap:12px;min-height:calc(100vh - 68px);padding:12px;display:grid}.kitchen-main,.kitchen-official{background:#f8edd6eb;border:2px solid #8d6337;padding:20px;box-shadow:0 4px 18px #4b2c1c40}.kitchen-heading{text-align:center;border-bottom:1px solid #b99360;margin-bottom:16px}.kitchen-heading h2{margin:0;font:700 26px serif}.kitchen-section h3,.gift-foods h3,.kitchen-main>h3{color:#7b3d2e;font-family:serif}.food-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.food-grid article{background:#fffaebbf;border:1px solid #c7a879;grid-template-columns:50px 1fr auto;align-items:center;gap:10px;padding:12px;display:grid}.food-grid article>i{color:#8c5b25;background:#eee0bd;border:2px double #ad8149;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.food-grid h4,.food-grid p{margin:0 0 5px}.food-grid footer{text-align:right;gap:5px;display:grid}.food-grid button,.gift-foods button,.inquiry-list button,.ask-cards button,.record-tabs button{color:#5b3520;background:#f4e5c7;border:1px solid #b38a54;padding:8px 12px}.food-grid button:disabled,.gift-foods button:disabled,.inquiry-list button:disabled{opacity:.42}.kitchen-official{background:#55351ed4 url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/imperial-kitchen-v1.png) 50%/cover;height:calc(100vh - 104px);padding:0;position:sticky;top:80px;overflow:hidden}.kitchen-official:before{content:"";background:linear-gradient(#0000 40%,#23140cf0);position:absolute;inset:0}.kitchen-official img{object-fit:contain;object-position:center bottom;max-width:100%;height:80%;position:absolute;bottom:14%;left:50%;transform:translate(-50%)}.kitchen-official>div{z-index:2;background:#f4e1beeb;border:1px solid #bd9862;padding:14px;position:absolute;bottom:3%;left:5%;right:5%}.kitchen-official h2,.kitchen-official p{margin:4px 0}.rival-gift-grid{grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;display:grid}.rival-gift-grid button{color:#503622;background:#efe0c3;border:1px solid #b99a6f;gap:4px;padding:8px;display:grid}.rival-gift-grid button.selected{outline:3px solid #a8702d}.rival-gift-grid img{object-fit:contain;background:#d8cfb8;width:100%;height:120px}.rival-gift-grid em{color:#8b4b30;font-style:normal}.gift-foods,.inquiry-list,.ask-cards{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.gift-foods button,.inquiry-list button,.ask-cards button{gap:4px;min-width:150px;display:grid}.record-tabs{gap:8px;margin-bottom:12px;display:flex}.record-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.record-grid article,.gift-records article{background:#fff8e8aa;border:1px solid #c5a476;padding:14px}.gift-records{gap:8px;display:grid}.gift-records article{grid-template-columns:auto auto 1fr;gap:12px;display:grid}.kitchen-favorite-mask{z-index:360;background:#1f130cd1;place-items:center;display:grid;position:fixed;inset:0}.kitchen-favorite-mask section{text-align:center;background:#efe0c3;border:2px solid #a67536;width:min(850px,92vw);max-height:90vh;padding:28px;overflow:auto}.kitchen-favorite-mask section>div{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.kitchen-favorite-mask button{color:#533a29;background:#fff8e9;border:1px solid #bd9661;gap:6px;padding:14px;display:grid}@media (max-width:800px){.kitchen-top{flex-wrap:wrap}.kitchen-top nav{order:3;width:100%;overflow:auto}.kitchen-top nav button{white-space:nowrap}.imperial-kitchen-screen main{display:block}.kitchen-main{padding:12px}.kitchen-official{height:420px;margin-top:12px;position:relative;top:auto}.food-grid{grid-template-columns:1fr}.rival-gift-grid{grid-template-columns:repeat(2,1fr)}.record-grid{grid-template-columns:1fr}.kitchen-favorite-mask section>div{grid-template-columns:1fr 1fr}.gift-records article{grid-template-columns:1fr}}.food-grid article>.food-thumbnail{border-radius:4px;width:50px;height:50px}.kitchen-top{gap:10px;padding-inline:1.5%}.kitchen-top h1{white-space:nowrap;margin-right:10px}.kitchen-top nav{min-width:0}.kitchen-top>span,.kitchen-top>button{white-space:nowrap;flex:none}.kitchen-top button{padding-inline:14px}.selection-scene{z-index:1250;color:#54372f;background:#2b1e18;padding:clamp(22px,4vw,54px);position:fixed;inset:0;overflow:auto}.selection-scene__background{z-index:-2;background:url(https://qinlingmeow-game.oss-cn-hongkong.aliyuncs.com/selection-hall.png) 50%/cover no-repeat;position:fixed;inset:0}.selection-scene__veil{z-index:-1;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:linear-gradient(#25171247,#231712ad),#f4e2c31f;position:fixed;inset:0}.selection-scene>header,.selection-scene>footer,.selection-candidates{width:min(1180px,94vw);margin-inline:auto}.selection-scene>header{text-align:center;background:#faefd8e6;border:1px solid #b98a62;padding:20px 26px}.selection-scene>header small{letter-spacing:.25em;color:#9a5546}.selection-scene>header h1{margin:.25rem 0;font-weight:400}.selection-scene>header p{margin:.25rem 0}.selection-candidates{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.selection-candidates article{background:#faf0dceb;border:2px solid #0000;grid-template-columns:150px 1fr;min-height:220px;display:grid}.selection-candidates article.recommended{border-color:#9d4c42}.selection-candidates article.opposed{filter:saturate(.75);border-color:#5d685e}.selection-candidates img{object-fit:contain;object-position:bottom;background:#e5d5bd;width:100%;height:100%;max-height:250px}.selection-candidates article>div{padding:16px}.selection-candidates h2{margin:.25rem 0;font-weight:400}.selection-candidates p{margin:.35rem 0;font-size:.9rem}.selection-candidates article>div>div{gap:8px;margin-top:12px;display:flex}.selection-candidates button,.selection-scene>footer button{color:#743e37;background:#fff6e8;border:1px solid #a87357;padding:8px 12px}.selection-candidates button:disabled{opacity:.35}.selection-scene>footer{color:#fff2dc;background:#2a3e34f2;border:1px solid #c69b68;justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding:14px 18px;display:flex;position:sticky;bottom:10px}.selection-scene>footer button{padding:11px 18px}@media (max-width:760px){.selection-scene{padding:12px}.selection-candidates{grid-template-columns:1fr}.selection-candidates article{grid-template-columns:110px 1fr;min-height:190px}.selection-scene>footer{display:grid}.selection-scene>footer button{width:100%}}.selection-scene{z-index:210}.selection-questions,.selection-opinions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.selection-candidates .selection-questions button{padding:5px 8px;font-size:.78rem}.selection-reveals{background:#fff9e994;min-height:58px;padding:7px 9px;line-height:1.55}.library-scene{z-index:176;color:#3f2d22;background-position:50%;background-size:cover;position:fixed;inset:0;overflow:auto}.library-scene__wash{pointer-events:none;background:linear-gradient(90deg,#fff9edf0 0 43%,#fff9ed7a 67%,#4a2d1914);position:fixed;inset:0}.library-scene header{z-index:2;align-items:center;gap:16px;padding:14px clamp(20px,4vw,56px) 8px;display:flex;position:relative}.library-scene header button{color:#6d3f2c;background:#fff7e8f0;border:1px solid #a77b54;padding:7px 13px}.library-scene h1{margin:0;font-size:clamp(30px,3.5vw,48px);font-weight:500;line-height:1.05}.library-scene__keeper{z-index:1;object-fit:contain;object-position:bottom;max-width:54vw;height:min(86vh,900px);position:absolute;bottom:0;right:3vw}.library-scene main{z-index:2;width:min(610px,52vw);padding:6px clamp(20px,4vw,56px) 24px;position:relative}.library-scene__identity{background:#fff7e7e0;border-left:4px solid #9d6247;padding:10px 16px}.library-scene__identity b{font-size:21px}.library-scene__identity p{margin:4px 0 0;font-size:14px}.library-scene__identity>div{flex-wrap:wrap;gap:7px;margin-top:8px;display:flex}.library-scene__identity span{color:#76503e;background:#fffcf4d1;border:1px solid #d0b28e;padding:3px 8px;font-size:13px}.library-scene__visitor{background:#fffaefe6;border:1px solid #d0b28e;grid-template-columns:58px 1fr;gap:10px;margin-top:10px;padding:8px 11px;display:grid}.library-scene__visitor img{object-fit:cover;object-position:top;border:1px solid #c7a47e;width:58px;height:70px}.library-scene__visitor small,.library-scene__visitor b{display:block}.library-scene__visitor small{color:#9a694e}.library-scene__visitor-name{align-items:center;gap:8px;margin:3px 0 5px;display:flex}.library-scene__visitor-name span{color:#8c503c;background:#f4e6d2;border:1px solid #c99c75;flex:none;padding:1px 7px;font-size:12px;line-height:1.45}.library-scene__visitor-name b{font-size:17px;line-height:1.35}.library-scene__visitor p,.library-scene__visitor q{margin:3px 0;font-size:13px;line-height:1.45}.library-scene__visitor q{color:#7d4e3b;display:block}.library-scene__visitor q:before,.library-scene__visitor q:after{content:none}.library-scene__visitor nav{border-top:1px solid #dec7aa;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px;padding-top:8px;display:grid}.library-scene__visitor nav button{color:#704532;white-space:normal;background:#fffaeff5;border:1px solid #c7a47e;min-width:0;padding:6px 5px;font-size:12px;line-height:1.25}.library-scene__visitor nav button:hover{background:#f3e2ca;border-color:#8f553e}.library-scene__tabs{gap:7px;margin-top:11px;display:flex}.library-scene__tabs button{color:#704532;background:#fff8ebe0;border:1px solid #b9906f;padding:7px 14px}.library-scene__tabs button.active{color:#fff7e8;background:#8c503c}.library-scene__shelf{background:#fffaefeb;border:1px solid #a3784fb3;margin-top:12px;padding:14px 16px 16px}.library-scene__shelf>small{color:#9a694e}.library-scene__shelf h2{margin:4px 0;font-size:23px;font-weight:500}.library-scene__shelf>p{margin:4px 0;font-size:14px;line-height:1.45}.library-scene__shelf>div{gap:7px;margin-top:10px;display:grid}.library-scene__shelf button{color:#513326;text-align:left;background:#fffbf2f2;border:1px solid #c7a47e;grid-template-columns:42px 1fr auto;align-items:center;gap:2px 10px;min-height:68px;padding:8px 11px;display:grid}.library-scene__shelf button:hover{border-color:#8f553e;transform:translateY(-1px)}.library-scene__shelf button i{color:#8b503b;border:1px solid #b58a67;border-radius:50%;grid-row:1/3;place-items:center;width:36px;height:36px;font-size:13px;font-style:normal;display:grid}.library-scene__shelf button b{font-size:17px}.library-scene__shelf button span{color:#745b4d;font-size:13px;line-height:1.3}.library-scene__shelf button em{color:#984e37;grid-area:1/3/3;font-style:normal}.library-scene__notes{background:#fffaefeb;border:1px solid #a3784fb3;margin-top:22px;padding:24px}.library-scene__notes>small{color:#9a694e}.library-scene__notes h2{margin:9px 0 16px;font-size:28px;font-weight:500}.library-scene__notes>div{gap:9px;max-height:48vh;display:grid;overflow:auto}.library-scene__notes article{border-bottom:1px solid #ddc8ae;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:11px 4px;display:grid}.library-scene__notes article i{color:#8b503b;font-style:normal}.library-scene__notes article b{font-size:18px}.library-scene__notes article p{color:#745b4d;margin:4px 0;font-size:14px}.library-scene__notes article em{color:#93624c;font-style:normal}.library-scene button{cursor:pointer}@media (max-width:720px){.library-scene__wash{background:linear-gradient(#fff9eded 0 54%,#fff9ed5c)}.library-scene header{padding:16px}.library-scene h1{font-size:38px}.library-scene main{width:auto;padding:1vh 16px 28px}.library-scene__keeper{opacity:.4;max-width:110vw;height:58vh;right:-17vw}.library-scene__visitor nav{grid-template-columns:repeat(2,minmax(0,1fr))}.library-scene__shelf{padding:16px}.library-scene__shelf button{grid-template-columns:44px 1fr}.library-scene__shelf button em{grid-area:auto/2}}.buddhist-hall{z-index:176;color:#51382d;background:50%/cover no-repeat;position:fixed;inset:0;overflow:auto}.buddhist-hall__shade{pointer-events:none;background:linear-gradient(90deg,#fff9ebf0 0 43%,#fff9eb7a 67%,#4a2d1914);position:absolute;inset:0}.buddhist-hall>header{z-index:2;align-items:center;gap:16px;padding:14px clamp(20px,4vw,56px) 8px;display:flex;position:relative}.buddhist-hall>header button,.buddhist-hall__actions button,.buddhist-hall__prayers button{color:#75442f;cursor:pointer;background:#fffaf0eb;border:1px solid #b77a57}.buddhist-hall>header button{white-space:nowrap;padding:7px 13px}.buddhist-hall>header h1{margin:0;font-size:clamp(30px,3.5vw,48px);font-weight:500;line-height:1.05}.buddhist-hall>header small{color:#9b705e}.buddhist-hall__matron{z-index:1;object-fit:contain;object-position:bottom;filter:drop-shadow(0 12px 18px #41231433);pointer-events:none;max-width:48vw;height:min(78vh,820px);position:absolute;bottom:0;right:3vw}.buddhist-hall>main{z-index:2;width:min(610px,52vw);padding:6px clamp(20px,4vw,56px) 24px;position:relative}.buddhist-hall__identity{background:#fff9ede0;border-left:4px solid #9a5a3e;padding:10px 16px}.buddhist-hall__identity>b{font-size:21px}.buddhist-hall__identity p{margin:4px 0 0;font-size:14px;line-height:1.45}.buddhist-hall__identity div{flex-wrap:wrap;gap:7px;margin-top:8px;display:flex}.buddhist-hall__identity span{background:#fffcf4d1;border:1px solid #d3ab8c;padding:3px 8px;font-size:13px}.buddhist-hall__actions{grid-template-columns:1fr 1fr;gap:7px;margin-top:11px;display:grid}.buddhist-hall__actions button{text-align:left;min-height:68px;padding:8px 11px;position:relative}.buddhist-hall__actions b,.buddhist-hall__actions span{display:block}.buddhist-hall__actions b{margin-bottom:3px;font-size:17px}.buddhist-hall__actions span{color:#8b6654;padding-right:32px;font-size:13px;line-height:1.3}.buddhist-hall__actions em{color:#a34f35;font-style:normal;position:absolute;top:10px;right:11px}.buddhist-hall button:disabled{cursor:not-allowed;opacity:.5}.buddhist-hall__prayers{background:#fffaefeb;border:1px solid #a3784fb3;margin-top:12px;padding:14px 16px}.buddhist-hall__prayers small{color:#9a694e;margin-bottom:8px;display:block}.buddhist-hall__prayers div{grid-template-columns:1fr 1fr;gap:7px;display:grid}.buddhist-hall__prayers button{padding:7px 10px}@media (max-width:720px){.buddhist-hall__shade{background:linear-gradient(#fff9eded 0 54%,#fff9ed5c)}.buddhist-hall>header{padding:16px}.buddhist-hall>header h1{font-size:38px}.buddhist-hall>main{width:auto;padding:1vh 16px 28px}.buddhist-hall__matron{opacity:.38;max-width:105vw;height:54vh;right:-17vw}.buddhist-hall__actions{grid-template-columns:1fr 1fr}}@media (max-width:560px){.buddhist-hall__actions,.buddhist-hall__prayers div{grid-template-columns:1fr}.buddhist-hall__actions button{min-height:62px}}:root{--ui-vh:100dvh;--ui-pad:clamp(12px, 2vw, 28px);--ui-gap:clamp(10px, 1.35vw, 18px);--ui-control:44px;--ui-copy:clamp(14px, .38vw + 11px, 17px);--ui-small:clamp(11px, .25vw + 9px, 13px);--ui-heading:clamp(24px, 1.4vw + 14px, 38px);--ui-panel:min(1180px, calc(100vw - 2 * var(--ui-pad)))}html{-moz-text-size-adjust:100%;text-size-adjust:100%;font-size:16px}html,body{max-width:100%;min-height:100%}body{overflow-x:hidden}button,input,select,textarea{font:inherit}button,[role=button]{touch-action:manipulation}img,video,canvas{max-width:100%}.slot-panel,.records,.npc-history-list,.rival-interaction-panel,.selection-candidates,.library-scene__shelf,.library-scene__notes,.yeting-panel,.family-scene,.gongzheng-scene,.shangfu-scene{scrollbar-width:thin;scrollbar-color:#7542339e #f4e9d675;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.game-shell,.start-shell,.prologue-screen,.checkpoint-screen{min-height:var(--ui-vh)}.event-mask,.slot-mask,.kitchen-favorite-mask{padding:var(--ui-pad)}.event-card,.slot-panel,.kitchen-favorite-mask>section{max-height:calc(var(--ui-vh) - 2 * var(--ui-pad));overflow-y:auto}.event-card button,.slot-panel button,.visit-choices button,.selection-scene button,.library-scene button,.yeting-scene button,.family-scene button,.gongzheng-scene button,.shangfu-scene button,.buddhist-hall-scene button,.medical-scene button,.kitchen-scene button{min-height:var(--ui-control)}:root{--game-statusbar-height:64px}.topbar{gap:16px;height:64px;min-height:64px;padding:7px 26px}.topbar>div{min-width:0}.topbar .tools{flex-wrap:wrap;justify-content:flex-end}.topbar .date{white-space:nowrap;flex-direction:row;flex:auto;justify-content:center;align-items:center;gap:clamp(9px,1.3vw,20px)!important}.topbar .date>b{font-size:14px;font-weight:500}.topbar .date>span{color:#d8cbb6;font-size:13px}.topbar .date>span+span:before{content:"·";color:#9d8b72;margin-right:clamp(9px,1.3vw,20px)}.topbar .time-slot-progress{align-items:center;gap:4px;display:flex}.topbar .time-slot-progress i{text-align:center;min-width:34px;padding:3px 5px}@media (min-width:901px){.game-shell .game-layout{height:calc(100dvh - 64px)}.game-shell .profile,.game-shell .stage{height:calc(100dvh - 88px);max-height:calc(100dvh - 88px)}.game-shell .stage{overflow-y:auto}:is(.game-shell .stage:has(.daily-action-page),.game-shell .stage:has(.palace-map-screen),.game-shell .stage:has(.npc-profile-page)){overflow:hidden}.emperor-page{align-items:stretch;height:auto;min-height:100%;padding:0 0 10px}.emperor-page-portrait{align-self:start;height:min(720px,100dvh - 100px);min-height:560px;position:sticky;top:0}.emperor-page-info{height:max-content;padding:clamp(20px,2vw,30px)}.emperor-page-info>button{min-height:48px;position:sticky;bottom:0;box-shadow:0 -8px 18px #eee4d2eb}}@media (min-width:901px) and (max-height:800px){.emperor-page{gap:14px;height:100%;min-height:0;padding-bottom:0;overflow:hidden}.emperor-page-portrait{height:100%;min-height:0;position:relative}.emperor-page-info{height:100%;min-height:0;padding:12px 18px;overflow:hidden}.emperor-page-info header{padding-bottom:7px}.emperor-page-info h2{margin:2px 0;font-size:23px}.emperor-page-info dl{margin:7px 0}.emperor-page-info dl div{padding:5px 8px}.emperor-page-info article,.emperor-rules{margin:6px 0;padding:8px 12px}.emperor-page-info article p,.emperor-rules p{margin-top:2px;line-height:1.45}.emperor-page-info>button{min-height:42px;box-shadow:none;padding:8px;position:static}}.dowager-scene{height:calc(var(--ui-vh) - var(--game-statusbar-height));min-height:0}.dowager-scene>header{height:clamp(72px,9vh,90px)}.dowager-scene>aside{width:clamp(230px,20vw,285px);padding-right:4px;top:clamp(96px,13vh,126px);bottom:clamp(170px,22vh,220px);overflow-y:auto}.dowager-scene>aside button{min-height:72px;padding:13px 17px}.dowager-scene>aside b{margin-bottom:5px;font-size:clamp(17px,1.3vw,21px)}.dowager-scene>aside span{font-size:var(--ui-small);line-height:1.55}.dowager-scene>section{min-height:120px;max-height:min(31vh,250px);left:clamp(265px,22vw,325px);overflow-y:auto}.dowager-scene>section p{font-size:var(--ui-copy)}.dowager-reception-scene{height:calc(var(--ui-vh) - var(--game-statusbar-height))}.dowager-reception-scene>section{max-height:36vh;overflow-y:auto}@media (max-width:1100px){:root{--ui-pad:clamp(10px, 1.8vw, 20px)}.game-shell .game-layout{grid-template-columns:minmax(250px,30vw) minmax(0,1fr)!important}.game-shell .profile{width:auto;min-width:0}.game-shell .stage{min-width:0}.place-grid,.slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dowager-scene>header{grid-template-columns:150px 1fr 150px}.dowager-scene>aside{width:225px;left:14px}.dowager-scene>section{left:252px;right:14px}.topbar{padding-inline:14px}.topbar .date{gap:8px!important}.topbar .time-slot-progress i{min-width:28px;font-size:11px}}@media (max-width:760px){:root{--game-statusbar-height:64px;--ui-pad:12px;--ui-gap:10px;--ui-control:46px;--ui-copy:15px}.topbar{min-height:64px;padding:7px 9px}.topbar .mini-seal{padding:7px}.topbar small{letter-spacing:1px}.topbar .date>span:first-of-type,.topbar .date>span+span:before,.topbar .time-slot-progress{display:none}.game-shell{min-height:var(--ui-vh)}.game-shell .game-layout{height:auto!important;min-height:calc(var(--ui-vh) - 64px)!important;padding:0!important;display:block!important}.game-shell .profile{width:100%;height:auto;max-height:none;margin:0;overflow:visible}.game-shell .stage{width:100%;height:auto;max-height:none;overflow:visible;min-height:calc(var(--ui-vh) - 64px)!important;padding:12px!important}.game-shell .stage>nav,.library-scene__tabs{white-space:nowrap;scrollbar-width:none;scroll-snap-type:x proximity;flex-direction:row;width:100%;display:flex;position:static;overflow-x:auto}.game-shell .stage>nav::-webkit-scrollbar{display:none}.library-scene__tabs::-webkit-scrollbar{display:none}.game-shell .stage>nav button,.library-scene__tabs button{scroll-snap-align:start;flex:none;min-height:44px}.place-grid,.home-option-grid,.slot-grid{grid-template-columns:1fr}.creation .stat-set button{min-width:34px;padding:0;width:34px!important;height:34px!important}.event-mask,.slot-mask,.kitchen-favorite-mask{align-items:end;padding:8px}.event-card,.slot-panel,.kitchen-favorite-mask>section{width:100%;max-height:calc(var(--ui-vh) - 16px);padding:18px 15px}.dowager-scene{background:#251814;grid-template-rows:64px minmax(210px,42vh) auto minmax(104px,auto);display:grid;overflow-y:auto}.dowager-scene-bg{position:fixed}.dowager-scene>header{grid-row:1;grid-template-columns:84px minmax(0,1fr);height:64px;padding:0 8px;position:sticky;top:0}.dowager-scene header button{min-height:42px;padding:8px 9px}.dowager-scene header h2{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dowager-scene>img{object-fit:contain;object-position:center bottom;grid-row:2;width:100%;max-width:none;height:100%;position:relative;bottom:auto;left:auto;transform:none}.dowager-scene>aside{grid-row:3;grid-template-columns:1fr 1fr;gap:8px;width:auto;padding:10px 10px 0;display:grid;position:relative;top:auto;bottom:auto;left:auto;overflow:visible}.dowager-scene>aside button{min-height:68px;padding:10px 12px}.dowager-scene>aside button:hover{transform:none}.dowager-scene>aside b{font-size:16px}.dowager-scene>aside span{font-size:11px}.dowager-scene>section{grid-row:4;min-height:104px;max-height:34vh;margin:10px;padding:15px 16px;position:relative;bottom:auto;left:auto;right:auto;overflow-y:auto}.dowager-scene>section p{margin:7px 0 0;line-height:1.7}.dowager-scene>section button{width:100%;margin-top:10px;position:static}.dowager-reception-scene{overflow-y:auto}.dowager-reception-scene>img{max-width:100vw;height:min(70vh,560px)}.dowager-reception-scene>section{max-height:42vh;padding:15px 15px 68px;bottom:8px;left:8px;right:8px}}@media (max-width:430px){.topbar .date{display:none}.topbar{justify-content:space-between}.game-shell .profile{grid-template-columns:88px minmax(0,1fr)!important;padding:12px!important}.game-shell .portrait{width:84px!important;height:112px!important}.dowager-scene{grid-template-rows:60px minmax(180px,36vh) auto minmax(100px,auto)}.dowager-scene>header{height:60px}.dowager-scene header small{display:none}.dowager-scene>aside{grid-template-columns:1fr}.dowager-scene>aside button{min-height:58px}.dowager-scene>aside span{display:block}.slot-grid>button{min-width:0}}@media (max-height:620px) and (orientation:landscape){.dowager-scene{grid-template-rows:58px 1fr auto;grid-template-columns:minmax(180px,30vw) minmax(0,1fr)}.dowager-scene>header{grid-column:1/-1;height:58px}.dowager-scene>img{grid-area:2/1/4;min-height:0}.dowager-scene>aside{grid-area:2/2;grid-template-columns:1fr 1fr;overflow-y:auto}.dowager-scene>section{grid-area:3/2;max-height:35vh}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (hover:hover){button:hover{filter:brightness(1.025)}}button:focus-visible{outline-offset:2px;outline:2px solid #b36d51}input:focus-visible{outline-offset:2px;outline:2px solid #b36d51}select:focus-visible{outline-offset:2px;outline:2px solid #b36d51}textarea:focus-visible{outline-offset:2px;outline:2px solid #b36d51}[tabindex]:focus-visible{outline-offset:2px;outline:2px solid #b36d51}:is(.library-scene,.buddhist-hall,.shangfu-scene,.gongzheng-scene,.yeting-scene,.family-scene,.palace-gate-scene,.music-bureau,.warehouse-screen,.imperial-kitchen-screen,.imperial-children-screen){overflow:hidden!important}:is(.library-scene,.buddhist-hall,.shangfu-scene,.gongzheng-scene,.yeting-scene,.family-scene,.palace-gate-scene,.music-bureau)>main{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:calc(100% - 92px);overflow:hidden auto}.warehouse-screen>main{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;max-height:calc(100% - 176px);overflow:hidden auto}.imperial-kitchen-screen main{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;max-height:calc(100% - 68px);overflow:hidden auto}.imperial-children-screen{flex-direction:column;display:flex}.imperial-children-screen>header{flex:none}.imperial-child-archive{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-height:0;overflow:hidden auto}:is(.library-scene,.buddhist-hall,.shangfu-scene,.gongzheng-scene,.yeting-scene,.family-scene,.palace-gate-scene,.music-bureau,.warehouse-screen,.imperial-kitchen-screen,.imperial-children-screen) :is(main,.imperial-child-archive){scrollbar-width:thin;scrollbar-color:#a47c6b #f3e7d5d1}:is(.library-scene,.buddhist-hall,.shangfu-scene,.gongzheng-scene,.yeting-scene,.family-scene,.palace-gate-scene,.music-bureau,.warehouse-screen,.imperial-kitchen-screen,.imperial-children-screen) :is(main,.imperial-child-archive)::-webkit-scrollbar{width:10px}:is(.library-scene,.buddhist-hall,.shangfu-scene,.gongzheng-scene,.yeting-scene,.family-scene,.palace-gate-scene,.music-bureau,.warehouse-screen,.imperial-kitchen-screen,.imperial-children-screen) :is(main,.imperial-child-archive)::-webkit-scrollbar-track{background:#f3e7d5d1;border-left:1px solid #d6bea2}:is(.library-scene,.buddhist-hall,.shangfu-scene,.gongzheng-scene,.yeting-scene,.family-scene,.palace-gate-scene,.music-bureau,.warehouse-screen,.imperial-kitchen-screen,.imperial-children-screen) :is(main,.imperial-child-archive)::-webkit-scrollbar-thumb{background:#a47c6b;border:2px solid #f3e7d5d1;border-radius:6px}@media (max-width:760px){:is(.library-scene,.buddhist-hall,.shangfu-scene,.gongzheng-scene,.yeting-scene,.family-scene,.palace-gate-scene,.music-bureau)>main{max-height:calc(100% - 76px)}.warehouse-screen>main{max-height:calc(100% - 190px)}.imperial-kitchen-screen main{max-height:calc(100% - 116px)}}
