
:root{--paper:#f2eddf;--paper-light:#faf7ef;--ink:#35382e;--green:#294f43;--green-light:#e3e8dc;--brass:#aa8a50;--line:#d9d1bf;--muted:#7b7b6e;--rose:#995d50;--serif:"Songti SC","STSong","Noto Serif CJK SC","SimSun",serif;--sans:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;--sidebar:105px;--header:105px;--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;width:100%}body{font-family:var(--sans);color:var(--ink);background:#233c32;font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #c4a460;outline-offset:5px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:2px}button{border:0}a{color:var(--green)}svg.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}h1,h2,h3,h4,p{margin:0}p{line-height:1.9}strong{font-weight:600}::selection{background:#c4d1b8;color:#263f31}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#bdb7a8;border-radius:5px}button{transition:background .2s,color .2s,transform .25s,box-shadow .25s}button:hover{filter:brightness(1.035)}.world{position:fixed;inset:0;overflow:hidden;z-index:0;pointer-events:none}.world-background{position:absolute;inset:-14px;background-image:url('assets/background-lakeside.webp');background-size:cover;background-position:center;transform:translate3d(var(--px,0px),var(--py,0px),0) scale(1.015);transition:filter 1.3s,transform .7s ease-out}.world-light{position:absolute;inset:0;background:linear-gradient(110deg,transparent 50%,#ffdfaa0b 80%);mix-blend-mode:screen}.world-shade{position:absolute;inset:0;background:linear-gradient(90deg,#111e1ccc 0%,#16211e6b 25%,transparent 47%,#19291c08 65%,#16291c52),linear-gradient(180deg,#12271db3 0%,transparent 24%,transparent 56%,#14271dab 100%)}.world-dust{position:absolute;inset:0;overflow:hidden}.dust-particle{position:absolute;width:3px;height:3px;border-radius:50%;background:#ffefc2;box-shadow:0 0 7px #ffdf95aa;opacity:0;animation:drift 16s infinite ease-in-out}.rain-lines{display:none;position:absolute;inset:0;background:repeating-linear-gradient(103deg,transparent 0,transparent 49px,#bed6d41c 50px,transparent 51px);animation:rain 2s linear infinite;opacity:.55}.scene-rain .world-background{filter:brightness(.64) saturate(.68) hue-rotate(10deg)}.scene-rain .rain-lines{display:block}.scene-night .world-background{filter:brightness(.37) saturate(.64) hue-rotate(9deg)}.scene-night .world-light{background:radial-gradient(ellipse at 17% 59%,#e1a8415c,transparent 38%);mix-blend-mode:screen}.scene-night .world-shade{background:linear-gradient(90deg,#0c192ac2,transparent 55%),linear-gradient(180deg,#101b3296,transparent 40%,#111c2dcc)}.no-motion *, .no-motion *::before, .no-motion *::after{animation:none!important;scroll-behavior:auto!important}.no-motion .world-background{transform:scale(1.015)!important}.skip-link{position:fixed;left:12px;top:-60px;padding:12px;background:var(--paper);z-index:500}.skip-link:focus{top:10px}.app-header{height:var(--header);position:fixed;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:0 42px 0 32px;color:#f1eddd;z-index:25;gap:20px}.brand{display:flex;align-items:center;gap:15px;background:none;text-align:left;color:inherit;padding:0}.brand-seal{height:58px;width:58px;border:1px solid #d4c49b99;border-radius:50%;display:grid;place-items:center;position:relative}.brand-seal::after{content:"";position:absolute;inset:5px;border:1px solid #d4c49b55;border-radius:50%}.brand-seal .icon{width:36px;height:36px}.brand-main{font-family:var(--serif);font-size:27px;letter-spacing:3px;line-height:1.15}.brand-main em{font-size:24px;letter-spacing:0;font-family:Georgia,serif;font-weight:400;display:inline-block;transform:rotate(-8deg);margin-left:7px;color:#d3dabe}.brand-sub{font-family:Georgia,serif;font-size:9px;letter-spacing:3.5px;margin-top:10px;opacity:.8}.header-actions{display:flex;align-items:center;gap:13px}.resource{display:flex;align-items:center;gap:11px;border:1px solid #d3c69f6b;border-radius:30px;padding:7px 15px;background:#1f302563;color:#ece4cd;font-variant-numeric:tabular-nums}.resource .icon{width:20px;height:20px;color:#dfc588}.resource small{font-size:10px;opacity:.7}.top-icon{width:36px;height:36px;display:grid;place-items:center;color:inherit;background:transparent;position:relative;border:1px solid transparent;border-radius:50%}.top-icon:hover{background:#dcd4b520;border-color:#d4c69e66}.top-icon .icon{width:22px;height:22px}.unread-dot{width:6px;height:6px;border-radius:50%;background:#d9b977;position:absolute;right:5px;top:5px;box-shadow:0 0 0 2px #374537}.header-separator{height:22px;width:1px;background:#e9dcc044;margin:0 2px}.demo-label{font-size:10px;letter-spacing:1px;opacity:.72;border-left:1px solid #e2dacb55;padding-left:13px;line-height:1.7}.sidebar{position:fixed;left:0;top:var(--header);bottom:0;width:var(--sidebar);z-index:25;display:flex;flex-direction:column;align-items:center;padding:30px 0 25px;gap:19px;color:#e8e2cd;background:linear-gradient(90deg,#2031274d,transparent)}.sidebar::before{content:"";position:absolute;right:0;top:15px;bottom:70px;width:1px;background:linear-gradient(transparent,#e1d2a750 20%,#e1d2a740 75%,transparent)}.nav-item{width:78px;min-height:66px;position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;background:none;color:inherit;opacity:.73;letter-spacing:2px;font-size:11px;padding:8px 0}.nav-item .icon{width:28px;height:28px}.nav-item.active{opacity:1;color:#f9edcf}.nav-item.active::before{content:"";position:absolute;inset:0 3px;background:radial-gradient(ellipse,#f2db9235,transparent 72%);border-top:1px solid #cab48088;border-bottom:1px solid #cab48088}.nav-item.active::after{content:"◆";position:absolute;right:-17px;top:29px;font-size:8px;color:#dbc993}.nav-item:hover{opacity:1;transform:translateX(2px)}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:15px;align-items:center}.sidebar-label{font:10px Georgia,serif;letter-spacing:1px;writing-mode:vertical-rl;opacity:.5}.main{position:relative;z-index:5;margin-left:var(--sidebar);min-height:100svh}.hall{height:100svh;min-height:660px;position:relative;color:#efe7d4;overflow:hidden}.hall-intro{position:absolute;top:22.5%;left:4%;max-width:285px}.eyebrow{font-family:Georgia,serif;font-size:10px;letter-spacing:3.5px;text-transform:uppercase;color:var(--muted)}.hall-intro .eyebrow{color:#e7d7b5;display:flex;align-items:center;gap:12px;line-height:1.6}.hall-intro .eyebrow::before{content:"";width:30px;height:1px;background:#d7be87}.hall-intro h1{font-size:clamp(32px,3.3vw,55px);font-family:var(--serif);font-weight:500;letter-spacing:7px;margin-top:22px;line-height:1.5;text-shadow:0 2px 18px #111b13}.hall-intro h1 span{font-size:.43em;display:block;font-weight:400;letter-spacing:4px;line-height:1.8;margin-top:13px}.hall-intro .intro-desc{font-size:12px;color:#e2dbc6b8;line-height:2.2;margin-top:19px;letter-spacing:1px}.ornament-line{height:14px;margin:20px 0;display:flex;align-items:center;gap:10px;color:#c5b27e;font-size:8px}.ornament-line::before,.ornament-line::after{content:"";width:55px;height:1px;background:linear-gradient(90deg,transparent,#c9b887aa)}.ornament-line::after{transform:rotate(180deg)}.hall-meta{position:absolute;bottom:164px;left:4%;width:290px}.next-class{width:100%;padding:19px 20px 17px;background:linear-gradient(115deg,#203e32e8,#273d30c9);border:1px solid #c4b48278;border-radius:2px;box-shadow:0 8px 35px #14251c22;text-align:left;color:#ebe2cd;backdrop-filter:blur(12px);position:relative}.next-class::before{content:"";position:absolute;inset:4px;border:1px solid #a7996655;pointer-events:none}.next-class:hover{transform:translateY(-3px);box-shadow:0 12px 35px #14251c44}.next-class .mini-label{font-size:10px;letter-spacing:2px;color:#dac699;display:flex;align-items:center;gap:8px;margin-bottom:13px}.next-class .mini-label .icon{width:15px;height:15px}.next-class h3{font:18px var(--serif);letter-spacing:1px;line-height:1.6}.next-class .class-time{margin-top:9px;color:#d0cfb8;font-size:10px;display:flex;align-items:center;gap:8px}.next-class .corner-arrow{position:absolute;right:15px;bottom:16px;width:17px}.notice-line{display:flex;gap:10px;align-items:center;color:#ebdfc3;background:transparent;padding:15px 1px 0;font-size:11px;line-height:1.5;text-align:left;width:100%}.notice-line .icon{height:17px;width:17px;color:#d7c28a}.notice-line span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.character-stage{position:absolute;left:47%;bottom:143px;transform:translateX(-50%);height:calc(100% - 255px);width:38%;max-width:520px;z-index:4;pointer-events:none;display:flex;justify-content:center;align-items:flex-end;isolation:isolate}.character-stage::before{content:"";position:absolute;bottom:-8px;left:20%;right:20%;height:25px;background:radial-gradient(ellipse,#22281665,transparent 72%);filter:blur(5px);z-index:-1}.character-sprite{object-fit:contain;height:100%;width:auto;max-width:100%;object-position:bottom;filter:drop-shadow(0 6px 7px #39372b36);transform-origin:50% 97%;animation:breath 6s ease-in-out infinite;pointer-events:auto;cursor:pointer;transition:filter .6s}.skin-fern{filter:sepia(.12) hue-rotate(326deg) saturate(.85)!important}.skin-night{filter:hue-rotate(26deg) saturate(.7) brightness(.83)!important}.no-character .character-stage{display:none}.ticket-stack{position:absolute;right:3.1%;top:20.8%;width:28%;max-width:422px;display:flex;flex-direction:column;gap:14px;z-index:8}.ticket-heading{display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px;color:#efe7d1cf;margin:0 10px 5px}.ticket-heading span:last-child{font:9px Georgia,serif;letter-spacing:2px}.ticket{position:relative;display:block;aspect-ratio:3.2/1;width:100%;padding:0;background:transparent;filter:drop-shadow(0 7px 10px #14251b3d);text-align:left;transform-origin:90% 50%}.ticket:hover{transform:translateX(-7px) rotate(-.5deg);filter:drop-shadow(0 10px 15px #14251b55)}.ticket-img{position:absolute;inset:0;width:100%;height:100%}.ticket-copy{position:absolute;left:10%;top:20%;bottom:19%;display:flex;flex-direction:column;justify-content:center;width:64%;color:#344f3c}.ticket:first-of-type .ticket-copy{color:#f0e5c9}.ticket-title{font-family:var(--serif);font-size:clamp(19px,1.85vw,28px);letter-spacing:6px;font-weight:600;line-height:1.45}.ticket-en{font:8px Georgia,serif;letter-spacing:2px;margin-top:6px;opacity:.8;white-space:nowrap}.ticket-stub{position:absolute;right:5.5%;width:12%;top:18%;bottom:15%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#f6e9c5;text-shadow:0 1px 5px #15221599;gap:8px}.ticket-stub small{font:9px Georgia,serif;letter-spacing:1px}.ticket-stub .icon{width:19px;height:19px}.ticket:nth-of-type(2) .ticket-stub{color:#965b47;text-shadow:none}.ticket:nth-of-type(4) .ticket-stub{color:#496147;text-shadow:none}.ticket-badge{position:absolute;right:11%;top:5%;min-width:19px;height:19px;line-height:19px;border-radius:50%;background:#9f5945;color:#fff1d3;text-align:center;font-size:10px;border:1px solid #e6cfa7}.ticket-footnote{font-size:10px;color:#e7dcc1ca;display:flex;gap:6px;align-items:center;justify-content:center;letter-spacing:1px;margin-top:3px}.ticket-footnote .icon{width:12px;height:12px}.dialogue{position:absolute;left:4%;right:3.5%;bottom:35px;height:93px;display:flex;align-items:center;gap:24px;padding:15px 25px;background:linear-gradient(90deg,#213b30e8,#1d3329d6);border:1px solid #c8b8838c;z-index:10;box-shadow:0 6px 22px #2331202e;backdrop-filter:blur(8px)}.dialogue::before{content:"";position:absolute;inset:5px;border:1px solid #c8b88336;pointer-events:none}.speaker{min-width:100px;font:16px var(--serif);letter-spacing:3px;line-height:1.7;color:#e8d6a7;text-align:center;border-right:1px solid #d0be7d55;padding-right:23px}.speaker small{display:block;font:7px Georgia,serif;letter-spacing:2px;margin-top:5px;color:#c8c7ad}.dialogue-text{flex:1;font-family:var(--serif);font-size:17px;letter-spacing:1.5px;line-height:1.7}.dialogue-text small{display:block;font:10px/1.7 Georgia,serif;letter-spacing:.8px;color:#c8cbb6;margin-top:4px}.dialogue-next{background:none;color:#d7c493;display:grid;place-items:center;padding:10px}.dialogue-next .icon{width:17px;height:17px}.page-floor{padding:calc(var(--header) + 13px) 40px 38px 32px;min-height:100svh}.paper-page{max-width:1280px;margin:0 auto;background:var(--paper);border:1px solid #d8c6a8;box-shadow:0 20px 70px #17271d44;min-height:calc(100svh - 159px);padding:32px 38px 36px;position:relative}.paper-page::before{content:"";position:absolute;inset:7px;border:1px solid #c5b59155;pointer-events:none;z-index:0}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding-bottom:25px;border-bottom:1px solid var(--line);position:relative}.page-title{font-family:var(--serif);font-size:32px;letter-spacing:3px;color:#304a39;font-weight:600;margin:8px 0}.page-title small{font-size:14px;font-weight:400;letter-spacing:2px;margin-left:15px;color:#807859}.page-subtitle{color:var(--muted);font-size:12px;line-height:1.9}.page-heading .eyebrow{font-size:9px;color:#9c8554}.page-mark{display:flex;flex-direction:column;align-items:center;gap:8px;color:#aa956b}.page-mark .icon{width:49px;height:49px;stroke-width:.8}.page-mark span{font:9px Georgia,serif;letter-spacing:3px}.tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);padding-top:6px;margin-bottom:24px;overflow:auto;position:relative}.tab{white-space:nowrap;padding:18px 1px 13px;background:none;color:var(--muted);font-size:13px;position:relative}.tab.active{color:var(--green);font-weight:600}.tab.active::after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--green)}.tab .count{font-size:10px;margin-left:6px;opacity:.6}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:23px}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:10px}.search-field{position:relative;min-width:260px}.search-field .icon{position:absolute;left:12px;top:11px;width:18px;height:18px;color:#81917b}.search-field input{width:100%;height:41px;padding:10px 14px 10px 40px;border:1px solid var(--line);background:#fbf8ef;color:var(--ink);border-radius:2px}.search-field input::placeholder{color:#929287;font-size:12px}.select-field{border:1px solid var(--line);background:#faf7ef;padding:10px 12px;color:#68715e;font-size:12px;min-height:41px;max-width:100%}.small-note{font-size:11px;color:var(--muted);line-height:1.8}.pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;background:#e4e8d8;color:#506247;font-size:10px;border:1px solid #d4ddc7;border-radius:2px;white-space:nowrap;line-height:1.4}.pill.ochre{color:#8b7140;background:#eee5d0;border-color:#ded1b0}.pill.rose{color:#936052;background:#efe0d7;border-color:#e4c8b9}.pill.slate{color:#536a72;background:#e1e6e4;border-color:#c9d4d1}.pill.outline{background:transparent;border-color:var(--line);color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 17px;font-size:12px;letter-spacing:1px;background:var(--green);color:#f6f0de;border:1px solid var(--green);border-radius:2px;min-height:40px}.btn:hover{box-shadow:0 3px 8px #294f4320;transform:translateY(-1px)}.btn.secondary{background:transparent;border-color:#b8b798;color:#40593e}.btn.subtle{background:#e6e6d8;color:#4e5c42;border-color:#d5d7c3}.btn.danger{background:transparent;color:#955a4f;border-color:#c7a89b}.btn .icon{width:16px;height:16px}.btn.small{min-height:31px;padding:6px 12px;font-size:11px}.icon-btn{width:34px;height:34px;display:inline-grid;place-items:center;border:1px solid var(--line);background:transparent;color:#748167;border-radius:50%;flex-shrink:0}.icon-btn .icon{width:17px;height:17px}.icon-btn:hover,.icon-btn.saved{color:var(--green);background:#e1e5d5}.text-btn{padding:5px 0;background:transparent;color:var(--green);font-size:12px;display:inline-flex;align-items:center;gap:7px}.text-btn .icon{width:16px;height:16px}.empty-state{text-align:center;padding:65px 20px;color:#7c816e;border:1px dashed #c9c9b4;background:#f5f2e8}.empty-state>.icon{width:42px;height:42px;stroke-width:1;opacity:.65;margin-bottom:13px}.empty-state h3{font:19px var(--serif);margin-bottom:10px;color:#4c6146}.empty-state p{font-size:12px;max-width:400px;margin:0 auto 20px}.demo-strip{display:flex;align-items:flex-start;gap:9px;padding:11px 14px;background:#e5e8dc;color:#65765a;border:1px solid #d6ddca;font-size:11px;line-height:1.9;margin-top:22px}.demo-strip .icon{width:16px;height:16px;margin-top:2px;flex-shrink:0}.schedule-wrap{border:1px solid var(--line);overflow:auto;background:#f8f5ec}.schedule-grid{min-width:760px;display:grid;grid-template-columns:64px repeat(5,1fr)}.schedule-head{padding:12px;text-align:center;background:#e9eadc;border-right:1px solid #d8dcc9;font-size:12px;color:#617151}.schedule-head.today{color:#f6eddb;background:#45664c}.schedule-head small{display:block;margin-top:5px;font-size:10px;opacity:.65}.schedule-time{min-height:115px;border-top:1px solid var(--line);display:grid;place-items:center;background:#eeece0;font:11px Georgia,serif;color:#8f8b76}.schedule-cell{border-top:1px solid var(--line);border-right:1px solid var(--line);padding:9px;min-height:115px;position:relative}.schedule-cell.today{background:#e4e9d82b}.course-block{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;height:100%;min-height:90px;padding:11px 10px;background:#dde4d2;border-left:3px solid #6a845e;border-radius:1px;color:#405239}.course-block strong{font-size:12px;font-weight:500;line-height:1.65}.course-block small{font-size:9px;opacity:.73}.course-block.ochre{background:#ece2cb;border-color:#aa8d52;color:#76613c}.course-block.slate{background:#dfe5e3;border-color:#7a949a;color:#4e676b}.course-block.rose{background:#ebdfd4;border-color:#b19074;color:#80674e}.course-block:hover{transform:translateY(-2px);box-shadow:0 4px 7px #5b604214}.course-grid,.resource-grid,.task-grid,.team-grid,.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.course-card,.resource-card,.task-card,.team-card,.shop-card{border:1px solid var(--line);background:var(--paper-light);position:relative;display:flex;flex-direction:column;min-width:0}.course-card{padding:22px;gap:15px}.course-card h3,.task-card h3,.team-card h3{font-family:var(--serif);font-size:19px;color:#3c533a;line-height:1.7}.course-card p,.task-card p,.team-card p{font-size:12px;color:var(--muted)}.card-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:15px;margin-top:auto;gap:10px}.card-footer small{font-size:10px;color:var(--muted)}.resource-cover{height:135px;background:linear-gradient(145deg,#d7dfc7,#e8e8d8);position:relative;overflow:hidden;display:grid;place-items:center;color:#5f7754}.resource-cover::before{content:"";position:absolute;inset:10px;border:1px solid #8ba17755}.resource-cover::after{content:"";width:130px;height:130px;border:1px solid #8ba17744;border-radius:50%;position:absolute;right:-20px;bottom:-65px}.resource-cover .icon{width:59px;height:59px;stroke-width:.7}.resource-cover.humanities{background:linear-gradient(145deg,#ded2b8,#eee5d2);color:#8a744f}.resource-cover.astronomy{background:linear-gradient(145deg,#d5dfe0,#e9ece4);color:#697e82}.resource-cover.guide{background:linear-gradient(145deg,#e0d2c5,#eee5da);color:#8b7768}.resource-cover .cover-code{position:absolute;bottom:18px;left:21px;font:8px Georgia,serif;letter-spacing:2px}.resource-card-body{padding:21px;display:flex;flex-direction:column;flex:1;gap:13px}.resource-card h3{font:18px/1.65 var(--serif);color:#405438}.resource-card p{font-size:11px;color:var(--muted);line-height:1.9}.resource-card .fav{position:absolute;top:17px;right:16px;background:#f4f1e899;z-index:1}.card-meta{display:flex;align-items:center;gap:8px;color:#98927f;font-size:9px}.card-meta span+span::before{content:"·";margin-right:8px}.task-card{padding:23px;gap:13px;border-top:3px solid #8ea078}.task-rewards{display:flex;align-items:center;gap:14px;font-size:11px;color:#8b7544}.task-rewards span{display:flex;align-items:center;gap:5px}.task-rewards .icon{width:15px;height:15px}.task-card .card-footer{margin-top:9px}.progress-steps{display:flex;justify-content:space-between;gap:3px;margin:20px 0 25px;position:relative}.progress-step{flex:1;text-align:center;font-size:10px;color:#a5a48d;position:relative;padding-top:24px}.progress-step::before{content:"";position:absolute;top:5px;left:calc(50% - 4px);width:8px;height:8px;border-radius:50%;background:#d6d6c4;z-index:2}.progress-step::after{content:"";position:absolute;left:-50%;right:50%;height:1px;top:9px;background:#d6d6c4}.progress-step:first-child::after{display:none}.progress-step.done{color:#537448}.progress-step.done::before,.progress-step.done::after{background:#7d986a}.progress-step.current{color:#294f43;font-weight:600}.progress-step.current::before{box-shadow:0 0 0 4px #75916b33;background:var(--green)}.two-columns{display:grid;grid-template-columns:1.5fr 1fr;gap:28px}.section-caption{font:18px var(--serif);letter-spacing:1px;color:#44583c;margin:25px 0 16px}.section-caption:first-child{margin-top:0}.details-list{display:grid;grid-template-columns:90px 1fr;gap:12px;font-size:12px;line-height:1.8}.details-list dt{color:var(--muted)}.details-list dd{margin:0;color:#47543e}.plain-list{list-style:none;margin:10px 0;padding:0;display:flex;flex-direction:column;gap:12px}.plain-list li{font-size:12px;line-height:1.85;padding-left:18px;position:relative;color:#636b57}.plain-list li::before{content:"◇";position:absolute;left:0;color:#9d976f;font-size:10px}.record-item{display:flex;align-items:center;gap:15px;padding:16px;background:#f8f5ec;border:1px solid var(--line);margin-bottom:10px;text-align:left;width:100%}.record-item>.icon{width:25px;height:25px;color:#7a8b69}.record-item .record-text{flex:1;min-width:0}.record-item h4{font:15px/1.7 var(--serif);color:#40523a}.record-item p{font-size:10px;color:var(--muted);margin-top:4px}.record-item .arrow{width:15px;height:15px}.record-item:hover{background:#eceee0}.form-label{font-size:12px;color:#4f6245;margin:18px 0 9px;display:block}.textarea{width:100%;padding:14px;border:1px solid #cbcbb8;background:#fffdf7;color:#3f5037;line-height:1.9;min-height:120px;resize:vertical;border-radius:2px;font-size:12px}.input{width:100%;padding:11px 13px;min-height:43px;border:1px solid var(--line);background:#fffdf7;color:var(--ink);border-radius:2px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:17px;flex-wrap:wrap}.team-card{padding:24px;gap:16px}.team-head{display:flex;align-items:center;gap:13px}.team-emblem{height:52px;width:52px;display:grid;place-items:center;border:1px solid #bec5ab;border-radius:50%;color:#738563;background:#e7eadb}.team-emblem .icon{width:30px;height:30px}.avatars{display:flex;align-items:center;padding-left:5px}.avatar{width:31px;height:31px;border-radius:50%;border:2px solid #f9f6ed;background:#dedfc9;color:#707d5b;display:grid;place-items:center;font:11px var(--serif);margin-left:-5px}.avatar.self{background:#416344;color:#f3e8cd}.avatar.empty{background:transparent;border:1px dashed #b9c2a4;margin-left:4px;color:#82936e;font-size:16px}.team-members{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:var(--muted)}.profile-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:33px;margin-top:27px}.profile-portrait{height:400px;background:radial-gradient(ellipse at 50% 40%,#dae1cc,#bfcbb255,#e6e6d42c);border:1px solid #cbd0b6;position:relative;display:flex;justify-content:center;align-items:flex-end;overflow:hidden}.profile-portrait::before{content:"";position:absolute;inset:10px;border:1px solid #bac4a16b}.profile-portrait img{height:93%;width:auto;z-index:1}.profile-stamp{position:absolute;left:21px;top:23px;font:9px Georgia,serif;letter-spacing:2px;color:#7e8a6b;writing-mode:vertical-lr}.profile-name{font:29px var(--serif);letter-spacing:3px;color:#3f593d;margin-top:12px}.profile-title{color:#99854b;font-size:11px;letter-spacing:2px;display:flex;align-items:center;gap:6px;margin-top:15px}.profile-title .icon{height:16px;width:16px}.profile-numbers{display:flex;gap:35px;margin:26px 0}.stat-label{font-size:10px;color:var(--muted);letter-spacing:1px;margin-top:8px}.stat-value{font:27px Georgia,serif;color:#486140}.xp-track{height:5px;border-radius:5px;background:#dce0cc;margin:11px 0 9px;overflow:hidden}.xp-fill{height:100%;background:linear-gradient(90deg,#638755,#b8b776)}.profile-entry-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:25px}.profile-entry{padding:17px 14px;border:1px solid #d3d4bb;background:#f8f5eb;text-align:left;display:flex;align-items:center;gap:12px}.profile-entry .icon{color:#768667;width:25px;height:25px}.profile-entry strong{font:15px var(--serif)}.profile-entry small{display:block;color:var(--muted);font-size:9px;margin-top:7px}.wardrobe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.wardrobe-card{background:#f8f4e9;border:1px solid var(--line);padding:16px;text-align:center;position:relative}.wardrobe-card.selected{outline:1px solid #6f8b5e;outline-offset:3px}.wardrobe-card img{height:250px;max-width:100%;object-fit:contain}.wardrobe-card h3{font:17px var(--serif);margin:12px 0}.wardrobe-card p{font-size:10px;color:var(--muted);margin:8px 0 15px}.shop-card{padding:22px;gap:16px}.shop-art{height:100px;display:grid;place-items:center;background:#e5e8d9;border:1px solid #d5dcc8;color:#798c67}.shop-art .icon{width:45px;height:45px;stroke-width:1}.shop-card h3{font:18px var(--serif);color:#45603e}.shop-card p{font-size:11px;color:var(--muted)}.wallet-summary{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#e5e9da;border:1px solid #c9d3ba;padding:25px 30px;margin:25px 0}.wallet-amount{font:40px Georgia,serif;color:#45603b;margin-top:9px}.wallet-amount small{font:12px var(--sans);margin-left:12px;color:#778262}.ledger{width:100%;border-collapse:collapse;font-size:12px}.ledger th{text-align:left;color:#848871;font-size:10px;font-weight:500;background:#e8e9dc;padding:13px}.ledger td{border-bottom:1px solid var(--line);padding:17px 13px}.ledger .positive{color:#56754b}.ledger .negative{color:#a47059}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);border:1px solid var(--line)}.calendar-day{min-height:80px;border-right:1px solid var(--line);border-top:1px solid var(--line);padding:12px;font:13px Georgia,serif}.calendar-day.today{background:#dfe6d2;color:#45683a;box-shadow:inset 0 0 0 1px #829469}.calendar-day.dim{opacity:.4}.calendar-day small{font:9px var(--sans);display:block;margin-top:10px;color:#738666}.calendar-weekday{text-align:center;padding:10px;background:#e7e9db;font-size:10px;color:#80866b}.chat-layout{display:grid;grid-template-columns:220px 1fr;height:440px;border:1px solid var(--line);margin-top:16px}.chat-rooms{background:#e9ecdf;border-right:1px solid var(--line);overflow:auto;padding:10px}.room-group{font-size:9px;color:#8b957a;letter-spacing:1px;padding:13px 10px 7px}.chat-room{display:flex;align-items:center;gap:10px;padding:11px 10px;width:100%;text-align:left;background:transparent;color:#617552;font-size:11px;border-radius:2px;margin-bottom:3px}.chat-room.active{background:#f8f7ed;box-shadow:0 2px 6px #68705712;color:#355737}.chat-room .icon{width:18px;height:18px}.chat-main{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fbf8f0}.chat-title{padding:15px 18px;border-bottom:1px solid var(--line);font:16px var(--serif);color:#48673b}.chat-title small{font:9px var(--sans);color:#9b9987;margin-left:10px}.chat-history{padding:20px 22px;overflow:auto;flex:1;display:flex;flex-direction:column;gap:15px;align-items:flex-start;min-height:0}.chat-system{align-self:center;font-size:10px;color:#939b83;text-align:center;line-height:1.9;max-width:350px}.chat-bubble{font-size:12px;line-height:1.8;max-width:85%;background:#e8ecdd;color:#40543a;padding:10px 14px;align-self:flex-end;border-radius:8px 1px 8px 8px;word-break:break-word;white-space:pre-wrap}.chat-bubble small{display:block;font-size:9px;color:#81906e;margin-bottom:5px}.chat-compose{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:12px}.chat-compose input{min-width:0;flex:1;font-size:12px;border:0;background:transparent;padding:7px;color:var(--ink);outline-offset:0}.source-box{border-left:2px solid #95a878;background:#ebeedf;padding:12px 16px;margin:18px 0;font-size:11px;line-height:1.9;color:#788562}.reader-body{font-family:var(--serif);font-size:15px;line-height:2.2;color:#526047}.reader-body h3{font-size:20px;letter-spacing:1px;margin:27px 0 13px;color:#3e5839}.reader-body p{line-height:2.15;margin-bottom:16px}.librarian-intro{display:flex;align-items:center;gap:16px;margin:15px 0 22px;padding:20px;border:1px solid #cbd5bd;background:#e7ebde}.librarian-intro .icon{width:36px;height:36px;color:#7b9169}.librarian-intro h3{font:19px var(--serif);color:#47633d}.librarian-intro p{font-size:11px;color:#7a856d;margin-top:5px}.suggestion-row{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.suggestion{font-size:11px;border:1px solid #cbd4bc;background:transparent;color:#718261;padding:8px 10px;border-radius:20px}.qa-message{margin:15px 0;padding:15px 18px;border:1px solid var(--line);background:#f8f6ed}.qa-message.user{background:#e9edde;border-color:#d4ddc6}.qa-message .speaker-label{font-size:9px;letter-spacing:1px;color:#839171;margin-bottom:10px}.qa-message p{font-size:12px;color:#516347;white-space:pre-wrap}.qa-message .source-link{font-size:10px;color:#698554;display:inline-flex;align-items:center;gap:5px;margin:12px 12px 0 0;border-bottom:1px solid #bbcbaa}.notice-detail{font-size:13px;line-height:2.2;margin:23px 0;color:#5d6c51}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 0;border-bottom:1px solid var(--line)}.setting-row strong{font-size:13px;color:#566748}.setting-row p{font-size:10px;color:#8f9680;margin-top:7px}.toggle{width:42px;height:24px;background:#cbd1be;border:1px solid #bfc9ad;border-radius:30px;padding:3px;position:relative;flex-shrink:0}.toggle::after{content:"";display:block;height:16px;width:16px;border-radius:50%;background:#f8f7e9;box-shadow:0 1px 3px #6376532e;transition:transform .2s}.toggle.on{background:#69835a;border-color:#5f7b50}.toggle.on::after{transform:translateX(17px)}.scene-options{display:flex;gap:10px}.scene-option{padding:11px 15px;border:1px solid #cfd6bf;background:#f6f3e9;color:#738366;font-size:12px;display:flex;align-items:center;gap:9px}.scene-option .icon{width:18px;height:18px}.scene-option.active{background:#e1e8d5;color:#4e6a3b;border-color:#8ba075}.layer-diagram{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.layer-preview{height:180px;border:1px solid var(--line);position:relative;background:repeating-conic-gradient(#e9e9df 0% 25%,#f9f8f2 0% 50%) 0/18px 18px;display:flex;align-items:center;justify-content:center;overflow:hidden}.layer-preview.bg img{height:100%;width:100%;object-fit:cover}.layer-preview.character img{height:92%;max-width:95%;object-fit:contain}.layer-caption{font-size:11px;color:#768267;padding:10px 0}.room-preview{height:220px;background-image:linear-gradient(90deg,#263b2733,#dfe7b522),url('assets/background-lakeside.webp');background-position:center;background-size:cover;position:relative;margin:20px 0;border:1px solid #b3bd99}.room-preview.moss{filter:hue-rotate(12deg) saturate(.75)}.room-title{position:absolute;bottom:20px;left:23px;background:#203c30cc;border:1px solid #d1bc8477;color:#f0e6c6;padding:12px 22px;font:20px var(--serif);letter-spacing:3px}.room-title small{display:block;font:9px Georgia,serif;letter-spacing:2px;margin-top:8px}.admin-note{background:#eee1cb;border:1px solid #dacaad;color:#8b7148;font-size:11px;padding:14px 17px;line-height:1.9;margin:21px 0}.review-card{padding:23px;background:#f8f5ec;border:1px solid var(--line);margin:15px 0}.review-card h3{font:19px var(--serif);color:#48623e;margin-bottom:10px}.evidence{background:#eaece0;border:1px solid #d4dbc7;padding:13px;font-size:12px;color:#657754;white-space:pre-wrap;line-height:1.9;margin:15px 0;max-height:170px;overflow:auto;word-break:break-word}.title-card{padding:20px;display:flex;align-items:center;gap:18px;border:1px solid var(--line);background:#f8f4e9;margin-bottom:12px}.title-card>.icon{width:31px;height:31px;color:#9b8553}.title-card div{flex:1}.title-card h3{font:17px var(--serif);color:#5a673e}.title-card p{font-size:10px;color:#93967e;margin-top:6px}.search-section{font-size:11px;color:#8a9578;border-bottom:1px solid var(--line);padding:14px 0 10px;margin:15px 0}dialog{padding:0;border:1px solid #c8bd9e;background:var(--paper);width:min(850px,calc(100vw - 40px));max-height:86svh;color:var(--ink);box-shadow:0 25px 100px #091c125c;overscroll-behavior:contain}dialog::backdrop{background:#14281fa1;backdrop-filter:blur(6px)}.modal-shell{padding:29px 34px 33px;position:relative}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:19px;border-bottom:1px solid var(--line)}.modal-header h2{font:25px/1.6 var(--serif);letter-spacing:2px;color:#3b5737;margin-top:4px}.modal-header .eyebrow{font-size:8px;color:#9c8655}.modal-header .icon-btn{margin-top:2px}.modal-body{padding-top:17px}.modal-body .tabs{padding-top:0;margin-top:-8px}.modal-footer-note{font-size:10px;color:#929880;border-top:1px solid var(--line);padding-top:16px;margin-top:25px;line-height:1.8}.modal-shell.compact{padding:25px}.modal-shell.compact .modal-header h2{font-size:22px}.toasts{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:150;width:max-content;max-width:calc(100vw - 36px);pointer-events:none}.toast{background:#263d2feF;color:#f6eed6;box-shadow:0 10px 30px #18351b3b;border:1px solid #c0b080aa;padding:14px 24px;margin:8px 0;font-size:12px;line-height:1.7;animation:toast-in .25s ease-out;backdrop-filter:blur(10px);border-radius:2px}.toast.error{background:#644d3df2;border-color:#b39574}.return-ui{display:none;position:fixed;right:32px;bottom:27px;padding:12px 18px;border:1px solid #d8c49499;background:#1f3428c9;color:#ece2c4;z-index:90;font-size:11px;gap:16px;align-items:center;backdrop-filter:blur(8px)}.return-ui span{font:9px Georgia,serif;opacity:.6}.immersive .app-header,.immersive .sidebar,.immersive .hall-intro,.immersive .hall-meta,.immersive .ticket-stack,.immersive .dialogue{opacity:0;pointer-events:none}.immersive .return-ui{display:flex}.immersive .character-stage{bottom:35px;height:calc(100% - 150px);left:50%}.body-interior .world-shade{background:#17312280}.body-interior .app-header{background:linear-gradient(180deg,#203d2cc4,#203d2c00)}.noscript{position:relative;margin:150px auto;padding:30px;max-width:500px;background:var(--paper)}.fade-enter{animation:page-in .4s var(--ease)}.light-divider{height:1px;background:var(--line);margin:22px 0}.hidden{display:none!important}.nowrap{white-space:nowrap}
@keyframes breath{0%,100%{transform:translateY(0) rotate(-.07deg) scaleY(1)}50%{transform:translateY(-2px) rotate(.09deg) scaleY(1.003)}}@keyframes drift{0%{transform:translate3d(-10px,20px,0);opacity:0}20%{opacity:.55}80%{opacity:.15}100%{transform:translate3d(45px,-80px,0);opacity:0}}@keyframes rain{0%{transform:translateY(-10px)}100%{transform:translateY(35px)}}@keyframes page-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1700px){.hall-intro{left:5%;max-width:340px}.hall-meta{left:5%;width:320px}.hall-intro h1{font-size:56px}.ticket-stack{gap:19px;right:5%;top:20%}.character-stage{max-width:560px}.dialogue{left:5%;right:5%;height:98px;bottom:38px}.hall-meta{bottom:174px}.character-stage{bottom:153px;height:calc(100% - 260px)}.paper-page{max-width:1390px}.page-floor{padding-left:46px;padding-right:46px}}
@media(max-height:750px) and (min-width:1000px){:root{--header:88px}.app-header{padding-top:0}.sidebar{gap:10px;padding-top:20px}.nav-item{min-height:58px}.hall-intro{top:23%}.hall-intro h1{font-size:35px}.hall-intro .intro-desc{display:none}.hall-meta{bottom:142px;width:245px}.next-class{padding:16px}.next-class h3{font-size:16px}.dialogue{height:80px;bottom:24px}.character-stage{height:calc(100% - 190px);bottom:107px}.ticket-stack{gap:10px;top:21%}.ticket-en{font-size:7px}.ticket-title{font-size:21px}.page-floor{padding-top:100px}.sidebar-label{display:none}}
@media(max-width:1180px){:root{--sidebar:86px;--header:93px}.brand-main{font-size:23px}.brand-main em{font-size:20px}.brand-seal{height:49px;width:49px}.app-header{padding:0 25px}.header-actions{gap:7px}.demo-label{display:none}.resource{padding:7px 11px}.sidebar{gap:18px}.nav-item{width:63px}.nav-item.active::after{right:-13px}.hall-intro{left:4%;max-width:220px}.hall-intro h1{font-size:37px;letter-spacing:4px}.hall-intro h1 span{letter-spacing:2px}.hall-intro .intro-desc{font-size:11px}.hall-meta{width:235px}.next-class h3{font-size:16px}.next-class .class-time{font-size:9px}.character-stage{left:48%;width:34%;bottom:145px;height:calc(100% - 240px)}.ticket-stack{width:29%;right:3%}.ticket-title{font-size:21px;letter-spacing:4px}.ticket-en{font-size:6px;letter-spacing:1px}.ticket-stub small{font-size:8px}.ticket-stack{gap:13px;top:24%}.dialogue-text{font-size:15px}.dialogue-text small{font-size:9px}.page-floor{padding-left:22px;padding-right:22px}.paper-page{padding:27px}.resource-grid,.task-grid,.team-grid,.course-grid{gap:14px}.resource-card-body,.task-card,.team-card,.course-card{padding:18px}.profile-layout{grid-template-columns:240px 1fr;gap:25px}}
@media(max-width:940px){.header-actions .resource small{display:none}.resource{gap:6px}.brand-main{font-size:20px;letter-spacing:1px}.brand-sub{font-size:8px;letter-spacing:2px}.brand-main em{font-size:19px}.hall-intro h1{font-size:32px}.hall-intro{max-width:190px}.hall-meta{width:210px}.next-class{padding:15px}.next-class h3{font-size:15px}.character-stage{left:49%;width:36%;height:64%;bottom:143px}.ticket-stack{top:28%;width:28%}.ticket-title{font-size:19px;letter-spacing:3px}.ticket-en{display:none}.ticket-heading{font-size:9px;letter-spacing:1px}.ticket-heading span:last-child{display:none}.ticket-copy{top:16%}.ticket-footnote{font-size:8px;letter-spacing:0}.speaker{font-size:14px;min-width:81px;padding-right:16px}.dialogue{gap:16px;padding:15px 20px}.resource-grid,.task-grid,.team-grid,.course-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-page{padding:24px}.page-title{font-size:28px}.profile-layout{grid-template-columns:210px minmax(0,1fr)}.profile-portrait{height:350px}.profile-numbers{gap:24px}.profile-entry-grid{gap:8px}.profile-entry{padding:13px 10px}.profile-entry .icon{width:19px;height:19px}.profile-entry strong{font-size:13px}.wardrobe-card img{height:215px}.layer-preview{height:145px}}
@media(max-width:700px){:root{--sidebar:0px;--header:83px}.app-header{height:82px;padding:0 19px;gap:10px}.brand-seal{width:38px;height:38px}.brand-seal .icon{height:26px;width:26px}.brand{gap:9px}.brand-main{font-size:18px;letter-spacing:1px}.brand-main em{font-size:17px;margin-left:2px}.brand-sub{font-size:6px;letter-spacing:1.9px;margin-top:7px}.header-actions{gap:3px}.header-actions .resource,.header-separator,.top-immersive,.top-sound{display:none}.top-icon{height:31px;width:31px}.top-icon .icon{height:20px;width:20px}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;flex-direction:row;width:100%;height:calc(69px + env(safe-area-inset-bottom,0px));padding:0 8px env(safe-area-inset-bottom,0px);gap:0;justify-content:space-around;background:#203d30f5;border-top:1px solid #c6b78866;backdrop-filter:blur(14px);box-shadow:0 -5px 25px #142b1829}.sidebar::before,.sidebar-bottom{display:none}.nav-item{width:20%;min-height:57px;font-size:10px;gap:5px;letter-spacing:1px;justify-content:center}.nav-item .icon{height:23px;width:23px}.nav-item.active::before{inset:0 14px;border-bottom:none;border-top:2px solid #cab48088}.nav-item.active::after{display:none}.hall{min-height:760px;height:100svh;padding-bottom:69px}.world-background{background-position:61% center}.world-shade{background:linear-gradient(90deg,#2035285c,transparent 80%),linear-gradient(180deg,#142819bd 0%,transparent 25%,transparent 49%,#1b312a91 78%,#172c23e6)}.hall-intro{top:15%;left:7%;max-width:180px}.hall-intro .eyebrow{font-size:7px;letter-spacing:2px}.hall-intro .eyebrow::before{width:20px}.hall-intro h1{font-size:29px;letter-spacing:4px;margin-top:15px}.hall-intro h1 span{font-size:13px;letter-spacing:1.5px;margin-top:10px}.hall-intro .intro-desc,.ornament-line{display:none}.character-stage{left:27%;bottom:255px;height:43%;width:47%;max-width:280px}.ticket-stack{right:5%;top:35%;width:43%;max-width:260px;gap:11px}.ticket-heading{font-size:8px;margin-bottom:1px;color:#f2e7ca}.ticket{aspect-ratio:3.15/1}.ticket-title{font-size:19px;letter-spacing:4px}.ticket-copy{left:10%;top:15%;bottom:15%}.ticket-stub{right:5.5%;gap:3px}.ticket-stub small{font-size:7px}.ticket-stub .icon{width:14px;height:14px}.ticket-footnote{display:none}.ticket-badge{width:15px;height:15px;min-width:15px;line-height:15px;font-size:8px}.hall-meta{left:6%;right:6%;width:auto;bottom:172px}.next-class{padding:13px 17px;background:#284738e8;display:grid;grid-template-columns:1fr auto;gap:4px 10px}.next-class .mini-label{font-size:8px;margin-bottom:3px;grid-column:1/3;gap:5px}.next-class .mini-label .icon{width:12px;height:12px}.next-class h3{font-size:16px;grid-column:1/2}.next-class .class-time{font-size:8px;grid-column:2/3;display:flex;align-items:center;margin-top:2px;padding-right:10px;max-width:122px;line-height:1.5}.next-class .corner-arrow{width:13px;right:12px;bottom:16px}.notice-line{display:none}.dialogue{left:6%;right:6%;height:64px;bottom:92px;padding:12px 14px;gap:11px;border-color:#bcaf7b66}.speaker{min-width:58px;font-size:11px;letter-spacing:1px;padding-right:10px}.speaker small{font-size:5px;letter-spacing:1px}.dialogue-text{font-size:12px;letter-spacing:.4px;line-height:1.7}.dialogue-text small{display:none}.dialogue-next{padding:4px}.dialogue-next .icon{width:12px;height:12px}.page-floor{padding:90px 12px 90px;min-height:100svh}.paper-page{padding:23px 18px;min-height:calc(100svh - 185px)}.paper-page::before{inset:5px}.page-heading{gap:10px;align-items:center;padding-bottom:20px}.page-title{font-size:26px;letter-spacing:2px}.page-title small{font-size:11px;margin-left:8px;letter-spacing:1px}.page-heading .eyebrow{font-size:7px;letter-spacing:2px}.page-subtitle{font-size:10px;max-width:250px}.page-mark .icon{width:33px;height:33px}.page-mark span{display:none}.tabs{gap:21px;margin-bottom:20px}.tab{font-size:11px;padding-top:15px}.toolbar{gap:12px;margin-bottom:20px}.toolbar-left{gap:7px}.search-field{min-width:0;width:100%}.toolbar>.search-field{flex:1}.search-field input{font-size:12px}.select-field{font-size:10px;padding:10px 8px;max-width:125px}.toolbar-right{gap:7px}.small-note{font-size:10px}.course-grid,.resource-grid,.task-grid,.team-grid,.shop-grid{grid-template-columns:1fr;gap:16px}.resource-card{display:grid;grid-template-columns:95px 1fr;min-height:172px}.resource-cover{height:100%}.resource-cover .icon{width:39px;height:39px}.resource-cover .cover-code{writing-mode:vertical-lr;left:12px;bottom:15px;font-size:7px;letter-spacing:1px}.resource-card .fav{right:auto;left:53px;top:13px;width:26px;height:26px}.resource-card .fav .icon{width:13px;height:13px}.resource-card-body{padding:18px 15px;gap:9px}.resource-card h3{font-size:16px}.resource-card p{font-size:10px;line-height:1.8}.card-meta{font-size:8px;gap:5px}.card-meta span+span::before{margin-right:5px}.card-footer{padding-top:10px}.card-footer small{font-size:9px}.resource-card .card-footer{gap:5px}.btn{font-size:11px;padding:10px 12px;letter-spacing:.5px}.btn.small{font-size:10px;padding:5px 8px}.two-columns{grid-template-columns:1fr;gap:22px}.profile-layout{grid-template-columns:1fr;gap:18px}.profile-portrait{height:250px}.profile-portrait img{height:98%}.profile-name{font-size:26px;margin-top:3px}.profile-title{margin-top:10px}.profile-numbers{margin:23px 0;justify-content:space-between;gap:20px}.profile-entry-grid{margin-top:23px}.profile-entry{padding:16px 10px;gap:10px}.profile-entry .icon{width:23px;height:23px}.profile-entry strong{font-size:14px}.profile-entry small{font-size:8px}.wardrobe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.wardrobe-card{padding:12px}.wardrobe-card img{height:200px}.wardrobe-card h3{font-size:15px}.wardrobe-card p{font-size:9px}.wallet-summary{padding:20px;gap:16px}.wallet-amount{font-size:32px}.wallet-amount small{font-size:10px;margin-left:8px}.ledger{font-size:10px}.ledger th{font-size:9px}.ledger th,.ledger td{padding:12px 7px}.ledger td small{font-size:8px}.calendar-day{min-height:60px;padding:8px;font-size:11px}.calendar-day small{font-size:7px}.calendar-weekday{font-size:9px}.chat-layout{grid-template-columns:1fr;height:auto}.chat-rooms{border-right:0;border-bottom:1px solid var(--line);max-height:140px;display:flex;gap:6px;overflow:auto;align-items:center;padding:9px}.room-group{display:none}.chat-room{width:auto;min-width:135px;font-size:10px;border:1px solid #d3dcc8;height:38px;padding:8px}.chat-main{height:355px}.chat-title{font-size:14px}.chat-title small{font-size:8px;display:block;margin-left:0;margin-top:6px}.chat-history{padding:16px}.chat-bubble{font-size:11px;max-width:94%}.chat-compose{padding:9px}.chat-compose .btn{padding:8px 10px;min-height:35px}.chat-compose input{font-size:11px}.setting-row{gap:13px}.setting-row strong{font-size:11px}.setting-row p{font-size:9px;line-height:1.8;max-width:215px}.scene-options{gap:6px;flex-wrap:wrap}.scene-option{padding:10px 11px;font-size:11px;gap:7px}.layer-preview{height:130px}.layer-caption{font-size:9px;line-height:1.8}.layer-diagram{gap:10px}.room-preview{height:185px}.room-title{font-size:17px}.demo-strip{font-size:10px;padding:11px;margin-top:18px}.modal-shell{padding:23px 19px 26px}.modal-header{gap:10px;padding-bottom:17px}.modal-header h2{font-size:21px;letter-spacing:1px}.modal-header .eyebrow{font-size:7px}.modal-body{padding-top:15px}.details-list{grid-template-columns:74px 1fr;gap:10px;font-size:11px}.reader-body{font-size:14px}.reader-body h3{font-size:18px}.progress-step{font-size:9px}.progress-steps{margin:18px 0 24px}dialog{width:calc(100vw - 22px);max-height:85svh}.toasts{bottom:90px}.toast{font-size:11px;padding:12px 17px}.title-card{padding:16px;gap:12px}.title-card h3{font-size:15px}.title-card p{font-size:9px}.title-card>.icon{width:24px;height:24px}.immersive .sidebar{opacity:0;pointer-events:none}.immersive .character-stage{bottom:90px;left:47%;height:70%;width:85%}.return-ui{bottom:30px;right:20px}.room-preview{background-position:68% center}.body-interior .world-background{filter:brightness(.75)} }
@media(max-width:380px){.brand-main{font-size:16px}.brand-main em{font-size:15px}.brand-sub{letter-spacing:1.4px}.brand-seal{width:34px;height:34px}.app-header{padding:0 14px}.top-icon{width:29px}.hall-intro h1{font-size:26px}.ticket-title{font-size:17px;letter-spacing:3px}.next-class h3{font-size:14px}.next-class .class-time{max-width:102px;font-size:7px}.page-floor{padding-left:8px;padding-right:8px}.paper-page{padding:21px 15px}.wardrobe-card img{height:168px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.world-background{transform:scale(1.015)!important}}



/* Client layout v2: one viewport; independent backdrop, portrait and DOM UI. */
:root{--header:94px;--sidebar:104px;--window-gap:26px;--footer-h:46px}
html,body{height:100%;height:100dvh;min-height:0!important;overflow:hidden!important;overscroll-behavior:none}
body{position:fixed;inset:0;width:100%;touch-action:manipulation}
*{scrollbar-width:none}*::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
#app{position:fixed;inset:0;overflow:hidden}
.main{position:absolute;top:0;right:0;bottom:0;left:var(--sidebar);margin:0;min-height:0!important;overflow:hidden}
.world-shade{background:linear-gradient(90deg,#15281cbb 0%,#192a1d59 21%,transparent 43%,transparent 68%,#172b254d),linear-gradient(180deg,#11221ab3 0%,transparent 24%,transparent 65%,#142719d9 100%)}
.app-header{height:var(--header);padding:0 34px 0 27px;gap:15px;background:linear-gradient(180deg,#19291d59,transparent);}
.brand-main{font-size:25px;letter-spacing:2px}.brand-main em{font-size:23px}.brand-sub{font-size:8px;letter-spacing:3.5px}
.brand-seal{width:56px;height:56px;border-color:#d4c49ba6;box-shadow:0 0 0 5px #26372722}
.header-actions{gap:11px}.resource{border-radius:3px;padding:8px 15px;background:linear-gradient(100deg,#182a1fcc,#253b2ca6);clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 50%,calc(100% - 9px) 100%,9px 100%,0 50%);border-color:#cfb984a6}
.demo-label{display:none}.top-icon{border-radius:2px}.top-icon:hover{border-color:#cab8878c}.header-separator{margin:0 7px}
.sidebar{top:var(--header);width:var(--sidebar);padding:35px 0 21px;gap:19px;background:linear-gradient(90deg,#152a206b,transparent)}
.sidebar::before{right:0;top:14px;bottom:65px;background:linear-gradient(transparent,#d0b88270,transparent)}
.nav-item{width:73px;min-height:75px;padding:7px 0 6px;gap:9px;font-size:11px;opacity:.83}
.nav-item:before{content:"";position:absolute;top:0;left:13px;right:13px;height:48px;border:1px solid #bdac7a59;border-radius:48% 48% 2px 2px;transition:.25s;background:#1c332933}
.nav-item .icon{position:relative;margin-top:5px;width:29px;height:29px;color:#e9dab2}
.nav-item span{position:relative}
.nav-item.active:before{inset:0 9px auto;height:49px;border:1px solid #dac088b3;border-radius:48% 48% 2px 2px;background:radial-gradient(ellipse,#e8d39338,#7f916017);box-shadow:0 0 22px #dfc79722}
.nav-item.active:after{right:-14px;top:24px;color:#ead2a0}.nav-item:hover{transform:translateY(-2px);opacity:1}
.sidebar-label{font-size:8px;letter-spacing:2px;opacity:.65}.sidebar-bottom{gap:17px}
.hall{position:absolute;inset:0;min-height:0!important;height:100%!important;padding:0;isolation:isolate}
.hall-intro{left:3.8%;top:calc(var(--header) + 42px);max-width:220px;z-index:6;pointer-events:none}
.hall-intro .eyebrow{font-size:8px;letter-spacing:2.8px}.hall-intro .eyebrow:before{width:24px}
.hall-intro h1{font-size:31px;letter-spacing:5px;margin-top:14px;line-height:1.5}
.hall-intro h1 span{font-size:12px;letter-spacing:1.8px;margin-top:9px;line-height:1.8;color:#ece3cc}
.hall-intro .intro-desc{display:none}.hall-intro .ornament-line{margin:17px 0 0;opacity:.7}
.character-stage{left:44%;bottom:79px;height:min(73.5%,690px);width:58%;max-width:795px;z-index:4;align-items:flex-end;overflow:visible;transform:translateX(-50%)}
.character-stage::before{display:none}
.character-sprite{width:auto;height:100%;max-width:100%;object-fit:contain;object-position:center bottom;transform-origin:50% 100%;filter:drop-shadow(0 7px 10px #19291c30);animation:client-breath 7s ease-in-out infinite;mask-image:linear-gradient(to bottom,#000 97%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 97%,transparent 100%)}
.ticket-stack{top:calc(var(--header) + 22px);right:3.3%;width:28%;max-width:418px;gap:13px;z-index:8}
.ticket-heading{font-size:9px;letter-spacing:2px;margin:0 9px 4px;color:#ecdfbf}.ticket-heading span:last-child{font-size:8px;letter-spacing:1.6px}
.ticket{aspect-ratio:3.2/1;filter:drop-shadow(0 6px 8px #132a1b40)}.ticket:hover{transform:translateX(-6px);filter:drop-shadow(0 9px 13px #10281d70)}
.ticket-title{font-size:clamp(20px,1.9vw,31px);letter-spacing:5px}.ticket-copy{top:18%;left:10%;bottom:19%;width:64%}.ticket-en{font-size:8px;letter-spacing:1.8px;margin-top:5px}
.ticket-stub{right:5.6%;gap:6px}.ticket-stub .icon{width:18px;height:18px}.ticket-footnote{margin-top:3px;font-size:9px;letter-spacing:1.3px}
.hall-meta{left:3.8%;bottom:35px;width:23%;max-width:277px;z-index:9}
.next-class{padding:17px 18px 16px;border-color:#bca46ca6;background:linear-gradient(115deg,#1f3728f2,#233b2eeb);box-shadow:0 4px 20px #12281950}
.next-class .mini-label{font-size:9px;letter-spacing:1.5px;margin-bottom:9px}.next-class h3{font-size:17px;letter-spacing:1px}.next-class .class-time{font-size:9px;margin-top:9px;gap:7px;padding-right:9px}
.notice-line{font-size:9px;padding-top:13px;gap:7px}.notice-line span{max-width:228px}.notice-line .icon{width:14px;height:14px}
.dialogue{left:25.4%;right:3.3%;height:96px;bottom:35px;padding:18px 25px;gap:21px;background:linear-gradient(105deg,#182e21f0,#203729df);border:1px solid #baa36da8;backdrop-filter:blur(12px);box-shadow:0 8px 35px #10251d60}
.dialogue:before{inset:5px;border-color:#c6b07a4f}.dialogue:after{content:"✧";position:absolute;left:-8px;top:calc(50% - 12px);font:24px Georgia;color:#ddc490;text-shadow:0 0 8px #314530;background:transparent}
.speaker{font-size:15px;min-width:89px;letter-spacing:2px;padding-right:18px}.speaker small{font-size:7px;letter-spacing:1.7px}.dialogue-text{font-size:16px;letter-spacing:1px;line-height:1.65}.dialogue-text small{font-size:9px;letter-spacing:.45px;line-height:1.7}.dialogue-next .icon{width:17px}
.client-status{position:absolute;left:4%;right:3.4%;bottom:9px;display:flex;align-items:center;justify-content:space-between;z-index:12;color:#e8e0c09c;font:8px Georgia,var(--sans);letter-spacing:1.6px;pointer-events:none}
.client-status b{display:inline-block;width:4px;height:4px;background:#cfcd91;border-radius:50%;margin-right:7px;box-shadow:0 0 5px #d2d5a166}
.client-version{font-size:8px;letter-spacing:1px}.client-fullscreen{display:grid}
.immersive .client-status{opacity:0}.immersive .character-stage{left:47%;bottom:0;height:84%;width:70%;max-width:920px}.immersive .character-sprite{mask-image:linear-gradient(#000 98%,transparent);-webkit-mask-image:linear-gradient(#000 98%,transparent)}
/* Interior pages are fixed-size client windows. Long documents turn by controls. */
.page-floor{position:absolute;inset:calc(var(--header) + 9px) 30px 26px 27px;min-height:0!important;height:auto;padding:0!important;display:flex;overflow:hidden}
.paper-page{display:flex;flex-direction:column;min-height:0!important;max-height:100%;height:100%;width:100%;max-width:1450px;padding:24px 29px 0;overflow:hidden;border-color:#bfab83;box-shadow:0 18px 65px #12251d55;background:linear-gradient(125deg,#f6f1e5,#ede8db);}
.paper-page:before{inset:6px;border-color:#bca57155}.paper-page>*{position:relative;z-index:1}
.page-heading{flex:0 0 auto;padding-bottom:17px;align-items:center}.page-title{font-size:29px;margin:6px 0}.page-subtitle{font-size:11px}.page-heading .eyebrow{font-size:8px;letter-spacing:2.8px}
.page-mark{flex-direction:row;gap:15px}.page-mark>.icon{height:34px;width:34px}.page-mark>span{display:none}.client-close{width:31px;height:31px;display:grid;place-items:center;line-height:1;font:24px Georgia;color:#827452;background:transparent;border:1px solid #b5a27b66;cursor:pointer}.client-close:hover{background:#c7ba9850;color:#345140}
.paper-page>.tabs,.modal-shell>.tabs{flex:0 0 auto;flex-wrap:wrap;overflow:hidden;gap:20px;margin:0 0 15px;padding-top:0}.tab{padding:14px 0 10px;font-size:12px}.tabs .count{font-size:9px}.paper-page>.toolbar{flex:0 0 auto;margin:0 0 15px;min-height:32px}
.client-viewport{min-height:0;min-width:0;flex:1 1 0;overflow:hidden!important;position:relative;overscroll-behavior:none;scroll-behavior:auto!important;overflow-anchor:none}
.client-document{display:flow-root;min-width:0;padding:1px 2px 15px;position:relative}
.client-pager{height:var(--footer-h);min-height:var(--footer-h);flex:0 0 var(--footer-h);display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #cabc9d91;background:linear-gradient(90deg,transparent,#e3dccb65,transparent);margin-top:9px;font-size:10px;color:#867958;z-index:4}
.client-pager .pager-label{display:flex;align-items:center;gap:7px;font:9px Georgia,var(--sans);letter-spacing:1.3px}.client-pager .pager-label:before{content:"✧";font-size:15px;color:#a48953}
.pager-controls{display:flex;gap:10px;align-items:center}.pager-button{background:transparent;border:1px solid #b7a47b75;min-width:33px;height:27px;color:#425842;display:grid;place-items:center;padding:0 8px;font-size:16px}.pager-button:hover{background:#ded6c48c}.pager-button:disabled{opacity:.3}.pager-count{font:11px Georgia,serif;letter-spacing:2px;min-width:54px;text-align:center;color:#6a664f}
.pager-help{font-size:9px;color:#928772;letter-spacing:.6px}.client-pager .pager-help{margin-left:auto;margin-right:10px}
.schedule-wrap{overflow:hidden}.schedule-grid{min-width:0;grid-template-columns:55px repeat(5,minmax(0,1fr))}.schedule-cell{min-height:110px}.course-block{padding:9px 8px}.course-block strong{font-size:12px}.schedule-head{padding:9px 5px}.schedule-time{font-size:11px}
.resource-cover{height:135px}.resource-card-body{padding:16px;gap:10px}.resource-card h3{font-size:17px}.course-card,.task-card,.team-card{padding:18px}.course-card h3,.task-card h3,.team-card h3{font-size:17px}.profile-portrait{height:330px}.profile-portrait img{height:100%;width:100%;object-fit:contain;object-position:center bottom}.profile-layout{grid-template-columns:34% 1fr;gap:28px}.profile-numbers{margin:22px 0}.profile-entry-grid{margin-top:20px}.wardrobe-card img{width:100%;object-fit:contain;height:230px}.layer-preview.character img{max-width:100%;width:auto;object-fit:contain}.layer-preview{height:170px}
.calendar-day{min-height:65px}.body-interior .world-background{filter:brightness(.72) saturate(.9)}
/* Modal windows receive the same paginated document viewport. */
dialog{padding:0!important;width:min(900px,calc(100vw - 54px));height:min(730px,calc(100dvh - 70px));max-height:calc(100dvh - 70px)!important;overflow:hidden!important;background:var(--paper);border:1px solid #bba476;box-shadow:0 20px 90px #0c221c70}
dialog::backdrop{background:#0b211d8a;backdrop-filter:blur(5px)}
#modalContent{height:100%;overflow:hidden}.modal-shell,.modal-shell.compact{height:100%;max-height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:23px 28px 0}.modal-header{flex:0 0 auto;padding-bottom:17px;margin-bottom:12px}.modal-header h2{font-size:23px}.modal-shell .client-document>.modal-body{padding:0 2px 13px}.modal-body>.tabs{margin-top:0}
.modal-shell>.client-viewport{flex:1 1 0}.modal-shell .client-pager{margin-top:8px}.chat-layout{height:395px;min-height:0;grid-template-columns:200px minmax(0,1fr)}.chat-rooms{overflow:hidden!important;position:relative}.chat-history{overflow:hidden!important;position:relative}.chat-title{padding:13px 17px}.chat-compose{padding:10px}.chat-bubble{overflow-wrap:anywhere;word-break:break-word}
.client-mini-pager{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:4px 10px;flex:0 0 auto;font:9px Georgia;color:#837857;background:#e5dfd0}.client-mini-pager button{border:1px solid #b7a47b75;background:transparent;color:#516249;padding:2px 9px}.chat-rooms-wrap{display:flex;flex-direction:column;min-height:0;overflow:hidden;border-right:1px solid var(--line)}.chat-rooms-wrap>.chat-rooms{flex:1;min-height:0;border:0}.chat-rooms-wrap .client-mini-pager{justify-content:center;padding:5px 3px}.evidence{overflow:hidden!important;white-space:pre-wrap;overflow-wrap:anywhere;max-height:none!important}.reader-body p{line-height:2.05}.toasts{bottom:19px;z-index:100}.toast{box-shadow:0 8px 30px #12241b50}
@keyframes client-breath{0%,100%{transform:translateY(0) scaleY(1)}50%{transform:translateY(-2px) scaleY(1.003)}}
@media(min-width:1550px){.character-stage{height:75%;left:44%;max-width:890px}.hall-intro{top:calc(var(--header) + 50px)}.ticket-stack{top:calc(var(--header) + 29px);width:27.7%;max-width:488px;gap:16px}.ticket-title{font-size:32px}.ticket-en{font-size:9px}.dialogue{height:104px}.dialogue-text{font-size:18px}.hall-meta{max-width:320px}.next-class h3{font-size:19px}.next-class .class-time{font-size:10px}}
@media(max-width:1190px) and (min-width:701px){:root{--header:81px;--sidebar:87px}.app-header{padding:0 25px 0 20px}.brand-main{font-size:21px}.brand-main em{font-size:19px}.brand-sub{font-size:7px}.brand-seal{width:47px;height:47px}.resource small{display:none}.header-actions{gap:7px}.resource{padding:6px 12px}.sidebar{gap:15px;padding-top:27px}.nav-item{width:66px;height:68px;min-height:68px}.nav-item.active:after{right:-8px}.hall-intro{left:3%;top:calc(var(--header) + 30px);max-width:188px}.hall-intro h1{font-size:27px}.hall-intro h1 span{font-size:10px}.hall-intro .eyebrow{font-size:7px}.character-stage{width:61%;height:72%;left:42%;bottom:77px}.ticket-stack{top:calc(var(--header) + 20px);width:29%;right:2.5%;gap:12px}.ticket-heading{font-size:8px}.ticket-heading span:last-child{display:none}.ticket-title{font-size:22px;letter-spacing:4px}.ticket-en{display:block;font-size:6px;letter-spacing:1.2px}.ticket-footnote{font-size:8px;letter-spacing:.5px}.hall-meta{left:3%;width:24%}.next-class{padding:13px 14px}.next-class h3{font-size:14px}.next-class .class-time{font-size:8px;flex-wrap:wrap;gap:4px}.next-class .mini-label{font-size:8px;letter-spacing:.5px}.notice-line{font-size:8px;gap:5px}.notice-line span{max-width:160px}.dialogue{left:29%;right:2.5%;padding:15px 18px;height:87px;gap:13px}.speaker{font-size:13px;min-width:75px;padding-right:13px}.dialogue-text{font-size:14px;letter-spacing:.5px}.dialogue-text small{font-size:8px}.page-floor{inset:calc(var(--header) + 8px) 23px 23px 21px}.paper-page{padding:20px 24px 0}.page-heading{padding-bottom:13px}.page-title{font-size:26px}.page-subtitle{font-size:10px}.tab{font-size:11px}.paper-page>.tabs{gap:18px;margin-bottom:12px}.profile-layout{grid-template-columns:32% 1fr;gap:22px}.profile-portrait{height:325px}}
@media(max-height:740px) and (min-width:701px){:root{--header:76px;--footer-h:39px}.app-header{height:76px}.brand-seal{height:46px;width:46px}.brand-main{font-size:23px}.brand-sub{font-size:7px;margin-top:7px}.sidebar{padding-top:18px;gap:10px}.nav-item{min-height:64px;height:64px;padding-top:4px;gap:7px}.nav-item:before{height:43px}.nav-item.active:before{height:43px}.nav-item .icon{width:25px;height:25px}.nav-item.active:after{top:21px}.sidebar-label{display:none}.hall-intro{top:calc(var(--header) + 27px)}.hall-intro h1{font-size:27px}.hall-intro .ornament-line{display:none}.character-stage{height:75%;bottom:64px;width:59%}.ticket-stack{top:calc(var(--header) + 17px);width:26%;gap:10px;max-width:calc((100dvh - 225px) * .78)}.ticket-heading{font-size:8px;margin-bottom:0}.ticket-heading span:last-child{font-size:6px}.ticket-title{font-size:22px}.ticket-en{font-size:6px}.ticket-footnote{font-size:8px;margin-top:0}.hall-meta{bottom:27px;width:25%;max-width:260px}.next-class{padding:12px 14px}.next-class h3{font-size:15px}.next-class .mini-label{font-size:8px;margin-bottom:7px}.next-class .class-time{font-size:8px;margin-top:6px}.notice-line{font-size:8px;padding-top:8px}.dialogue{left:calc(3.8% + min(25%,260px) + 12px);bottom:27px;height:78px;padding:12px 20px}.speaker{font-size:13px}.dialogue-text{font-size:14px}.dialogue-text small{font-size:8px}.client-status{bottom:7px;font-size:7px}.page-floor{inset:calc(var(--header) + 5px) 25px 17px 24px}.paper-page{padding:17px 24px 0}.page-heading{padding-bottom:11px}.page-title{font-size:25px;margin:4px 0}.page-subtitle{font-size:10px}.tab{padding-top:11px;padding-bottom:9px}.paper-page>.tabs{margin-bottom:10px}.paper-page>.toolbar{margin-bottom:11px}.schedule-cell{min-height:82px}.schedule-head{padding:7px 5px;font-size:10px}.course-block{padding:7px}.course-block strong{font-size:11px}.calendar-day{min-height:46px;padding:9px}.calendar-day small{font-size:8px}.profile-portrait{height:280px}.resource-cover{height:112px}.modal-shell,.modal-shell.compact{padding:18px 24px 0}.modal-header{padding-bottom:12px;margin-bottom:11px}.modal-header h2{font-size:22px}.chat-layout{height:320px}}
@media(max-width:700px){:root{--header:75px;--sidebar:0px;--footer-h:39px}.app-header{height:75px;padding:0 15px;gap:7px}.brand-main{font-size:17px;letter-spacing:.6px}.brand-main em{font-size:15px}.brand-sub{font-size:5.6px;letter-spacing:1.5px;margin-top:6px}.brand-seal{width:35px;height:35px}.brand{gap:8px}.header-actions{gap:0}.top-icon{height:29px;width:29px}.client-fullscreen{display:none}.sidebar{top:auto;left:0;right:0;bottom:0;width:100%;height:calc(65px + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);gap:0;background:linear-gradient(180deg,#203a2cec,#182f24fa);border-color:#bfac7a8c}.nav-item{width:20%;min-height:56px;height:56px;padding:7px 0 5px;font-size:10px;gap:4px}.nav-item:before{display:none}.nav-item.active:before{display:block;inset:0 12px auto;height:55px;border:0;border-top:1px solid #c6b27a99;border-radius:0}.nav-item .icon{width:22px;height:22px;margin-top:0}.hall{height:calc(100% - 65px - env(safe-area-inset-bottom))!important}.hall-intro{top:95px;left:6%;max-width:180px}.hall-intro .eyebrow{font-size:6px;letter-spacing:1.6px}.hall-intro h1{font-size:25px;margin-top:11px;letter-spacing:4px}.hall-intro h1 span{font-size:10px;margin-top:5px;letter-spacing:.8px}.hall-intro .ornament-line{display:none}.character-stage{left:32%;bottom:156px;height:47%;width:84%;max-width:500px;z-index:4}.character-sprite{max-width:none;width:auto;height:100%}.ticket-stack{top:24%;right:4%;width:44%;max-width:250px;gap:12px}.ticket-heading{font-size:7px;letter-spacing:1px;margin-bottom:0}.ticket-heading span:last-child{display:none}.ticket-title{font-size:19px;letter-spacing:3px}.ticket-copy{top:17%;left:10%}.ticket-en{display:none}.ticket-stub{gap:3px}.ticket-stub small{font-size:6px}.ticket-stub .icon{width:13px;height:13px}.ticket-footnote{display:none}.hall-meta{left:5%;right:5%;bottom:89px;width:auto;max-width:none}.next-class{padding:10px 14px;display:grid;grid-template-columns:1fr auto;gap:3px 10px;background:#1f3c2bec}.next-class .mini-label{font-size:7px;grid-column:1/3;margin-bottom:2px;letter-spacing:1px}.next-class h3{font-size:14px;grid-column:1/2}.next-class .class-time{font-size:7px;grid-column:2/3;max-width:112px;line-height:1.6;padding-right:8px}.next-class .corner-arrow{width:12px;bottom:12px}.notice-line{display:none}.dialogue{left:5%;right:5%;bottom:18px;height:61px;padding:11px 14px;gap:10px}.speaker{font-size:11px;min-width:54px;padding-right:10px;letter-spacing:1px}.speaker small{font-size:5px;letter-spacing:.7px}.dialogue-text{font-size:12px;letter-spacing:.4px}.dialogue-text small{display:none}.dialogue-next{padding:3px}.dialogue-next .icon{width:12px;height:12px}.client-status{bottom:4px;font-size:5px;left:6%;right:6%;letter-spacing:.8px}.client-version{font-size:5px;letter-spacing:.5px}.page-floor{inset:81px 11px calc(75px + env(safe-area-inset-bottom)) 11px}.paper-page{padding:16px 17px 0}.page-heading{padding-bottom:11px;gap:8px}.page-title{font-size:24px;margin:4px 0;letter-spacing:2px}.page-title small{font-size:10px;margin-left:7px;letter-spacing:.6px}.page-subtitle{font-size:9px;max-width:238px}.page-heading .eyebrow{font-size:6px;letter-spacing:1.3px}.page-mark{gap:5px}.page-mark>.icon{display:none}.client-close{width:26px;height:26px;font-size:21px}.paper-page>.tabs,.modal-shell>.tabs{gap:14px;row-gap:0;margin-bottom:10px}.tab{font-size:10px;padding:12px 0 8px}.tab .count{font-size:8px;margin-left:3px}.paper-page>.toolbar{gap:9px;margin-bottom:11px}.client-pager{margin-top:6px;gap:4px}.pager-help{display:none}.client-pager .pager-label{font-size:7px;letter-spacing:1px}.pager-controls{gap:6px}.pager-button{min-width:28px;height:25px;font-size:15px;padding:0 6px}.pager-count{font-size:10px;min-width:48px}.schedule-grid{grid-template-columns:33px repeat(5,minmax(0,1fr))}.schedule-head{font-size:8px;padding:8px 1px}.schedule-head small{font-size:7px}.schedule-time{font-size:8px}.schedule-cell{padding:4px 2px;min-height:110px}.course-block{padding:6px 3px}.course-block strong{font-size:9px;line-height:1.5;word-break:break-all}.course-block small{font-size:6px;line-height:1.6;white-space:normal}.calendar-day{min-height:48px;font-size:10px;padding:7px 4px}.calendar-day small{font-size:6px}.profile-layout{grid-template-columns:1fr;gap:18px}.profile-portrait{height:230px}.profile-name{font-size:25px}.resource-card{min-height:166px;grid-template-columns:84px minmax(0,1fr)}.resource-cover{height:100%}.resource-card-body{padding:13px;gap:8px}.resource-card h3{font-size:16px}.resource-card p{font-size:10px}.resource-card .fav{left:48px;top:10px}.card-meta{font-size:7px}.wardrobe-card img{height:170px}.layer-preview{height:120px}.dialogue:after{font-size:17px;left:-5px;top:calc(50% - 10px)}dialog{width:calc(100vw - 22px);height:calc(100dvh - 95px);max-height:calc(100dvh - 95px)!important}.modal-shell,.modal-shell.compact{padding:17px 17px 0}.modal-header{padding-bottom:12px;margin-bottom:12px}.modal-header h2{font-size:21px;letter-spacing:1px}.modal-header .eyebrow{font-size:6px;letter-spacing:1.8px}.modal-body>.tabs{gap:18px}.chat-layout{height:480px;grid-template-columns:1fr;grid-template-rows:117px minmax(0,1fr)}.chat-rooms-wrap{border-right:0;border-bottom:1px solid var(--line)}.chat-rooms{max-height:none!important;display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:5px;padding:8px}.chat-room{width:auto;min-width:0;height:33px;font-size:9px;padding:6px}.chat-main{height:auto;min-height:0}.chat-title{font-size:13px}.chat-title small{font-size:8px}.chat-history{padding:12px}.toasts{bottom:82px}.immersive .character-stage{left:45%;bottom:0;height:68%;width:110%;max-width:none}.immersive .hall{height:100%!important}}
@media(max-height:660px) and (max-width:700px){.hall-intro{top:81px}.hall-intro h1{font-size:20px}.hall-intro h1 span{font-size:9px}.ticket-stack{top:28%;gap:8px;width:41%}.ticket-title{font-size:16px}.ticket-heading{display:none}.character-stage{bottom:142px;height:45%;left:31%;width:80%}.hall-meta{bottom:78px}.dialogue{bottom:14px;height:55px}.next-class h3{font-size:12px}.next-class .class-time{font-size:6px}.next-class{padding:8px 10px}.page-subtitle{display:none}}
@media(prefers-reduced-motion:reduce){.character-sprite{animation:none!important}.client-viewport{scroll-behavior:auto!important}}

.client-grid-hidden{display:none!important}



/* 未名学院1898 · Design IV. Actual DOM UI, separate backdrop and transparent portrait.
   Fixed-viewport layout; native client pagination stays in client.js. No font assets. */
:root{--header:110px;--sidebar:120px;--gilt:#c1a575;--cream:#ede1c8;--client-ink:#252f27}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-header{height:var(--header);padding:10px 26px 9px 22px;background:linear-gradient(180deg,#2c2c20a1 0%,#282d2021 82%,transparent);gap:18px;color:var(--cream)}
.client-brand{display:flex;align-items:center;gap:18px;flex-shrink:0}.seal-button{padding:0;background:none;color:var(--gilt);width:94px;height:94px;flex:0 0 auto}
.level-seal{display:grid;place-items:center;position:relative;width:100%;height:100%;background:radial-gradient(circle,#28352bcc 0%,#28352bcc 49%,transparent 60%)}
.level-seal>svg{position:absolute;inset:0;width:100%;height:100%}.level-number{font:38px Georgia,serif;line-height:1;color:#f5e5bc;margin-top:-3px;text-shadow:0 1px 10px #0004}
.level-seal>small{position:absolute;bottom:19%;font:7px Georgia,serif;letter-spacing:2px;color:#c6b28a}
.brand{flex-direction:column;align-items:flex-start;justify-content:center;gap:0;white-space:nowrap;text-shadow:0 2px 12px #0c1b19a6}.brand-main{font-size:27px;letter-spacing:2px;font-weight:600;display:block;line-height:1.25}
.brand-year{font-family:Georgia,serif;font-size:.86em;letter-spacing:1px;margin-left:8px;font-weight:400}.brand-sub{font:10px Georgia,serif;letter-spacing:2.5px;margin-top:10px;color:#d1bb90;opacity:1}
.header-actions{gap:14px;align-self:flex-start;padding-top:15px}.resource-cluster{display:flex;gap:12px}.resource{min-width:133px;height:37px;border-radius:23px;clip-path:none;padding:5px 12px 5px 7px;gap:10px;background:linear-gradient(110deg,#393e2fce,#202d25d9);border:1px solid #c1a36b;box-shadow:inset 0 0 0 3px #26382d,inset 0 0 0 4px #ae93523d,0 2px 10px #17211938;color:#f3e6d0;font:20px Georgia,serif}
.resource .icon{width:23px;height:23px;stroke-width:1.6;color:#ddbd78;filter:drop-shadow(0 1px 3px #0008)}.resource small{font:8px var(--serif);letter-spacing:1px;color:#e4d2ac;margin-left:auto;opacity:.7}
.resource-gem{width:16px;height:24px;display:block;clip-path:polygon(45% 0,100% 29%,75% 77%,37% 100%,0 60%,12% 25%);transform:rotate(15deg);background:linear-gradient(117deg,#fcf6d9 0 25%,#9fc4bb 26% 42%,#e0eddd 43% 55%,#648e80 56% 70%,#b4c7aa 71% 100%);box-shadow:inset 0 0 3px #fff;flex-shrink:0}
.gem-rose{background:linear-gradient(117deg,#fff0d8 0 25%,#ddacaa 26% 42%,#fbe7dd 43% 55%,#b47d7b 56% 70%,#e4bfb5 71% 100%)}
.header-separator{height:26px;background:linear-gradient(transparent,#d1b88088,transparent);margin:4px 1px}.top-icon{width:32px;height:37px;border-radius:3px;color:#e6d8bc}.top-icon .icon{width:25px;height:25px;stroke-width:1.3}.top-notice .icon{fill:#e2d1af;stroke-width:1.15;fill-opacity:.85}.top-icon:hover{background:#ddc69017;border-color:#c9ae7b55}.unread-dot{background:#bc6558;box-shadow:0 0 0 2px #5c594055,0 0 8px #d5836988;width:6px;height:6px;right:1px;top:2px}.client-fullscreen .icon{width:20px;height:20px}.top-search .icon{width:22px;height:22px}
.sidebar{top:calc(var(--header) + 18px);bottom:145px;gap:0;padding:9px 0 8px;justify-content:space-between;background:linear-gradient(90deg,#1f2f255c,transparent);width:var(--sidebar)}.sidebar:before{display:none}
.nav-item{width:90px;height:91px;min-height:0;padding:0;gap:4px;flex:0 1 91px;opacity:.9;font-family:var(--serif);font-size:16px;letter-spacing:2px;color:#e9dcc0;justify-content:flex-start}
.nav-item:before,.nav-item.active:before,.nav-item:after,.nav-item.active:after{display:none}
.nav-medallion{display:grid;place-items:center;position:relative;width:64px;height:64px;border-radius:50%;border:1px solid #bea7748c;background:radial-gradient(circle,#25352bb3,#27372b40);box-shadow:0 0 0 4px #333b2a0d;transition:.25s;flex-shrink:0}
.nav-medallion:before{content:'';position:absolute;inset:4px;border:1px solid #b0996a2c;border-radius:50%}.nav-medallion:after{content:'◆';font-size:5px;position:absolute;top:-5px;left:calc(50% - 2px);color:#c1ac7b;text-shadow:0 0 5px #c6a361}
.nav-item .icon{width:31px;height:33px;margin:0;color:#e8dbbd;stroke-width:1.4}.nav-label{text-shadow:0 2px 6px #13291b;line-height:1.4;flex-shrink:0}
.nav-item.active .nav-medallion{border-color:#debf7f;background:radial-gradient(ellipse at center,#967f414d,#26392ad4);box-shadow:0 0 20px #caae6140,inset 0 0 17px #f8d17b0f}.nav-item.active .nav-medallion:before{border-color:#d3bb8066}.nav-item.active .nav-label{color:#ffecc0}.nav-item:hover .nav-medallion{box-shadow:0 0 16px #caae6140;border-color:#ddc99d}.nav-item:hover{transform:translateY(-2px)}
.client-calendar{position:fixed;left:24px;bottom:26px;z-index:25;width:78px;height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#e7d8b7;background:#293428b5;border:1px solid #b69d6b;border-radius:50%;font:20px Georgia,serif;box-shadow:inset 0 0 0 4px #26382d4d}.client-calendar:before{position:absolute;content:'';inset:5px;border:1px solid #a9967038;border-radius:50%}.client-calendar small{font:11px var(--serif);color:#d4c293;letter-spacing:2px}.client-calendar i{position:absolute;width:5px;height:5px;border:1px solid #ad9361;transform:rotate(45deg);bottom:-3px;background:#343f2c}
.world-background{filter:saturate(.78) brightness(.89) sepia(.08)}.world-light{background:linear-gradient(115deg,#f0cc7012,transparent 37%,#d3c78208 60%,transparent);mix-blend-mode:screen}
.world-shade{background:linear-gradient(90deg,#2a2c20a6 0%,#2a2c201c 25%,transparent 48%,#1d281d08 65%,#222c2180),linear-gradient(180deg,#252c1f64 0%,transparent 28%,transparent 55%,#27302661 79%,#202b20ab 100%)}
.hall{padding:0;overflow:hidden;isolation:isolate}.hall-intro,.hall-meta,.ticket-heading,.ticket-footnote{display:none}
.character-stage{left:41.7%;bottom:15%;width:68%;max-width:none;height:72.5%;display:flex;align-items:flex-end;justify-content:center;transform:translateX(-50%);overflow:visible;z-index:4}
.character-sprite{height:100%;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 5px 11px #312e2033) saturate(.87);mask-image:linear-gradient(to bottom,#000 94%,#000c 97%,transparent);-webkit-mask-image:linear-gradient(to bottom,#000 94%,#000c 97%,transparent);transform-origin:center bottom}
.ticket-stack{top:12.2%;right:1.5%;width:30.5%;max-width:560px;height:53.8%;display:flex;gap:clamp(12px,1.7vh,20px);z-index:8}
.ticket{display:block;position:relative;flex:1 1 0;min-height:0;width:100%;aspect-ratio:auto!important;padding:0;isolation:isolate;filter:drop-shadow(0 4px 7px #202c2499);background:none;text-align:left;color:#393a2d;transform:none;transition:transform .24s,filter .24s}
.ticket:hover{transform:translateX(-5px);filter:drop-shadow(0 5px 10px #d9bd6a50)}.ticket:active{transform:translateX(-3px) scale(.989)}.ticket:focus-visible{outline:2px solid #f0d093;outline-offset:6px}.ticket-frame{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible}
.ticket-copy{position:absolute;left:23.4%;top:18%;bottom:18%;width:51.5%;display:flex;flex-direction:column;justify-content:center;color:#36372b}
.ticket-title{font-family:var(--serif);font-size:clamp(21px,2.2vw,39px);line-height:1.25;letter-spacing:.15em;font-weight:600;white-space:nowrap;color:inherit;text-shadow:0 .5px 0 #fff5}
.ticket-en{font:clamp(6px,.60vw,11px) Georgia,serif;letter-spacing:.10em;line-height:1.3;margin-top:9px;color:#514e38;white-space:nowrap;display:block!important}
.ticket-stub{position:absolute;right:4%;width:14.7%;top:0;bottom:0;height:auto;gap:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#efe4c9}
.ticket-stub .icon{position:absolute;right:-4px;width:10px;height:13px;opacity:.65}.ticket-verb{font-family:var(--serif);font-size:clamp(15px,1.38vw,24px);letter-spacing:2px}.ticket-stub small{font:clamp(5px,.42vw,8px) Georgia,serif;letter-spacing:.14em;opacity:.65}.ticket-badge{top:5%;right:21%;background:#925848;border:1px solid #ddc195;color:#fff0d7}
.ticket-engraving{position:absolute;left:5%;top:17%;width:15%;height:66%;display:grid;place-items:center;color:#596b53;opacity:.72}.ticket-engraving>.icon{width:80%;height:80%;stroke-width:.7}.ticket-engraving i{border:1px solid currentColor;position:absolute;inset:6% -4%;border-radius:50%;opacity:.24}.ticket-engraving.engraving-1{color:#775043}.engraving-2 i{inset:10% -4%;border-radius:0;transform:rotate(35deg)}.engraving-3 .icon{stroke-width:.9}
.dialogue{left:11.5%;right:19.5%;bottom:30px;height:91px;padding:17px 42px;gap:20px;border:none;background:none;box-shadow:none;backdrop-filter:none;z-index:10;color:#eee2c8;isolation:isolate}
.dialogue:before,.dialogue:after{display:none}.dialogue-frame{position:absolute;inset:0;width:100%;height:100%;z-index:-1;filter:drop-shadow(0 3px 8px #17251ca6)}
.dialogue-flower{display:block;width:30px;height:30px;flex:0 0 30px;filter:drop-shadow(0 0 5px #d1c2922e)}.dialogue-flower svg{height:100%;width:100%}
.dialogue-text{font-family:var(--serif);font-size:clamp(15px,1.25vw,22px);letter-spacing:.06em;line-height:1.55;color:#f1e4ca;flex:1;min-width:0}.dialogue-text small{display:block!important;font:clamp(9px,.8vw,14px) Georgia,serif;letter-spacing:.04em;line-height:1.5;color:#d7c8a6;margin-top:7px;opacity:.9}
.dialogue-next{width:33px;height:37px;padding:2px;margin:0 0 0 auto;display:grid;place-items:center;flex:0 0 33px;color:#eee3ad;filter:drop-shadow(0 0 7px #ded69488);background:transparent}.dialogue-next svg{width:31px;height:29px}.dialogue-next:hover{filter:drop-shadow(0 0 11px #e6cd89);transform:translateY(-2px)}
.scene-weather{position:absolute;right:1.7%;bottom:31px;height:75px;width:15%;min-width:154px;max-width:258px;display:flex;align-items:center;justify-content:center;gap:13px;padding:10px 12px;color:#d9c69d;border:1px solid #bfa4748c;background:linear-gradient(100deg,#2e3528c9,#222e26c9);box-shadow:inset 0 0 0 3px #29362c,inset 0 0 0 4px #bca06a55;z-index:10;text-align:left}
.scene-weather .cat-icon{width:32px;height:46px;color:#cfb78c;flex:0 0 32px}.scene-weather>span{display:flex;flex-direction:column;gap:9px;white-space:nowrap}.scene-weather small{font:11px var(--serif);letter-spacing:1px;opacity:.75}.scene-weather strong{font:14px var(--serif);font-weight:400;letter-spacing:1.5px;color:#ecdfbb}.scene-weather>.icon{height:20px;width:17px;opacity:.65;border:1px solid #ab97658c;border-radius:50%;padding:3px;margin-left:auto}
.client-status{left:11.9%;right:1.6%;bottom:9px;font-size:7px;color:#cbbb9285;letter-spacing:1px}.client-version{font-size:7px}.client-status b{width:3px;height:3px;background:#b5bb89;margin-right:4px}
.immersive .scene-weather,.immersive .client-calendar{opacity:0;pointer-events:none}.immersive .character-stage{left:43%;bottom:0;height:88%;width:85%;max-width:none}.body-interior .client-calendar{opacity:.65}.body-interior .world-shade{background:#1b2c2499}.body-interior .brand-main{font-size:26px}
/* Comfortable fixed-window UI; long content still uses manual pages. */
.page-floor{inset:calc(var(--header) + 5px) 25px 26px 16px}.paper-page{background:linear-gradient(125deg,#f6f0e2,#ebe5d6);border-color:#b7a37e}.page-title{font-family:var(--serif)}
@media(min-width:1700px){:root{--sidebar:145px;--header:120px}.app-header{padding-left:27px;padding-right:32px}.seal-button{width:106px;height:106px}.level-number{font-size:43px}.brand-main{font-size:31px}.brand-sub{font-size:11px}.header-actions{padding-top:19px;gap:17px}.resource{height:41px;min-width:155px;font-size:22px}.resource small{font-size:9px}.sidebar{bottom:168px;top:150px}.nav-item{height:104px;flex-basis:104px;font-size:18px;gap:8px}.nav-medallion{width:76px;height:76px}.nav-item .icon{width:35px;height:37px}.client-calendar{left:32px;bottom:32px;width:84px;height:84px;font-size:23px}.ticket-stack{right:1.5%;top:12.2%;gap:20px;width:30.5%;height:53.8%}.character-stage{height:72.5%;bottom:15%;left:41.7%;width:68%;max-width:none}.dialogue{bottom:35px;height:100px;left:11.5%;right:19.5%;padding:19px 49px}.dialogue-flower{width:36px;height:36px;flex-basis:36px}.scene-weather{bottom:36px;height:82px;max-width:none;width:15%}.scene-weather small{font-size:12px}.scene-weather strong{font-size:16px}.client-status{bottom:12px}}
@media(max-width:1200px){:root{--header:94px;--sidebar:95px}.app-header{padding:8px 17px 8px 16px}.client-brand{gap:12px}.seal-button{width:79px;height:79px}.level-number{font-size:32px}.level-seal>small{font-size:6px}.brand-main,.body-interior .brand-main{font-size:23px;letter-spacing:1px}.brand-sub{font-size:8px;letter-spacing:2px;margin-top:8px}.header-actions{gap:10px;padding-top:14px}.resource-cluster{gap:8px}.resource{min-width:98px;height:33px;font-size:17px;gap:7px;padding-right:11px}.resource small{font-size:7px;letter-spacing:0}.resource .icon{width:20px;height:20px}.resource-gem{height:22px;width:14px}.top-icon{width:27px;height:32px}.top-icon .icon{width:22px;height:22px}.header-separator{margin:3px 0}.sidebar{top:107px;bottom:135px}.nav-item{width:79px;height:85px;flex-basis:85px;font-size:14px}.nav-medallion{width:58px;height:58px}.nav-item .icon{width:28px;height:30px}.client-calendar{width:67px;height:67px;left:16px;bottom:25px;font-size:18px}.client-calendar small{font-size:9px}.dialogue{height:82px;bottom:27px;padding:14px 29px;gap:12px;right:20%}.dialogue-flower{width:25px;height:25px;flex-basis:25px}.dialogue-text{font-size:15px;letter-spacing:0}.dialogue-text small{font-size:9px;letter-spacing:0}.dialogue-next{width:27px;flex-basis:27px}.scene-weather{min-width:0;width:16.4%;height:68px;bottom:28px;gap:9px;padding:9px 12px}.scene-weather .cat-icon{width:25px;height:38px;flex-basis:25px}.scene-weather small{font-size:9px}.scene-weather strong{font-size:12px;letter-spacing:.5px}.scene-weather>.icon{width:14px;height:16px;padding:2px}.ticket-title{font-size:clamp(18px,2.2vw,28px);letter-spacing:.08em}.ticket-copy{width:52%}.ticket-en{font-size:6px;letter-spacing:.07em;margin-top:8px}.ticket-verb{font-size:16px;letter-spacing:1px}.ticket-stub small{font-size:5px}.ticket-stub .icon{width:8px;right:-3px}.page-floor{left:10px;right:20px}}
@media(max-height:750px) and (min-width:701px){:root{--header:88px}.app-header{height:88px;padding-top:6px;padding-bottom:6px}.seal-button{height:74px;width:74px}.level-number{font-size:31px}.level-seal>small{font-size:6px}.brand-main,.body-interior .brand-main{font-size:25px}.brand-sub{font-size:8px}.header-actions{padding-top:11px}.sidebar{top:105px;bottom:115px;padding:0}.nav-item{height:76px;flex-basis:76px;font-size:14px;gap:3px}.nav-medallion{width:52px;height:52px}.nav-item .icon{height:27px;width:27px}.client-calendar{width:65px;height:65px;left:calc(var(--sidebar)/2 - 32px);bottom:25px;font-size:18px}.client-calendar small{font-size:9px}.ticket-stack{top:14%;height:53%;gap:12px}.ticket-en{margin-top:6px}.character-stage{top:auto;bottom:16%;height:71%;width:68%;left:41.7%}.dialogue{bottom:25px;height:75px;padding:12px 29px;gap:14px}.dialogue-text{font-size:16px}.dialogue-text small{font-size:10px;margin-top:5px}.dialogue-flower{width:26px;height:26px;flex-basis:26px}.scene-weather{bottom:26px;height:64px;gap:8px}.scene-weather .cat-icon{height:38px;width:26px;flex-basis:26px}.scene-weather small{font-size:9px}.scene-weather strong{font-size:12px}.page-floor{top:99px}}
@media(max-width:980px) and (min-width:701px){.resource{min-width:74px;gap:7px}.resource small{display:none}.header-actions{gap:8px}.top-search{display:none}.brand-main,.body-interior .brand-main{font-size:21px}.brand-sub{letter-spacing:1.5px}.dialogue{left:6%;right:22%;padding:13px 23px}.dialogue-flower{display:none}.scene-weather{width:18.3%;right:1.5%;padding:8px}.scene-weather>.icon{display:none}.ticket-copy{left:23%;width:52%}.ticket-title{font-size:19px;letter-spacing:1px}.ticket-en{font-size:5px}.ticket-verb{font-size:13px}.ticket-stub{gap:5px}.ticket-stub small{display:none}.character-stage{left:42%;height:65%;bottom:17%;width:77%}}
/* Portrait handsets retain a single screen: no faux desktop scroll page. */
@media(max-width:700px){:root{--header:86px;--sidebar:0px}.main{left:0;bottom:70px}.app-header{height:86px;padding:10px 13px;align-items:center;gap:6px}.client-brand{gap:8px}.seal-button{width:57px;height:57px}.level-number{font-size:24px;margin-top:-3px}.level-seal>small{font-size:4px;letter-spacing:1px;bottom:18%}.brand-main,.body-interior .brand-main{font-size:20px;letter-spacing:1px}.brand-year{margin-left:5px;font-size:16px}.brand-sub{font-size:6px;letter-spacing:2px;margin-top:7px}.header-actions{padding:0;align-self:center;gap:5px}.resource-cluster,.header-separator,.top-search,.top-notice,.client-fullscreen{display:none!important}.top-icon{width:27px;height:32px}.top-icon .icon{width:22px;height:22px}.sidebar{left:0;right:0;top:auto;bottom:0;height:70px;width:100%;padding:6px 5px;gap:0;flex-direction:row;align-items:center;justify-content:space-around;background:#26352df5;border-top:1px solid #b59d6a55;backdrop-filter:blur(10px);box-shadow:0 -4px 20px #19271d4d}.nav-item{flex:1;height:56px;min-height:0;min-width:0;font-size:10px;padding:0;gap:1px;justify-content:center;letter-spacing:1px}.nav-medallion{height:34px;width:34px}.nav-medallion:before{inset:3px}.nav-medallion:after{display:none}.nav-item .icon{width:20px;height:21px}.nav-item.active .nav-medallion{box-shadow:0 0 12px #caae6140}.client-calendar{left:19px;bottom:86px;width:53px;height:53px;font-size:13px;gap:6px}.client-calendar small{font-size:7px;letter-spacing:1px}.hall{height:100%!important;min-height:0!important;overflow:hidden}.world-background{background-position:54% center;filter:saturate(.79) brightness(.82)}.world-shade{background:linear-gradient(180deg,#1f302ae0,transparent 23%,#1e2d2308 70%,#1f3125c9),linear-gradient(90deg,#27342666,transparent 68%)}.ticket-stack{top:17%;right:3%;width:43%;height:35%;gap:9px;max-width:none}.ticket-title{font-size:17px;letter-spacing:1px}.ticket-copy{left:15%;width:63%;top:14%;bottom:14%;padding:0}.ticket-engraving{opacity:.17;width:15%;left:3%}.ticket-engraving i{display:none}.ticket-en{font-size:4px;margin-top:4px;letter-spacing:0}.ticket-stub{right:4%;width:14%;gap:3px}.ticket-verb{font-size:10px;letter-spacing:0}.ticket-stub small,.ticket-stub .icon{display:none}.character-stage{left:39%;bottom:24%;height:48%;width:100%;max-width:none;z-index:4}.character-sprite{max-width:120%;height:100%;filter:drop-shadow(0 5px 8px #20302433) saturate(.87)}.dialogue{left:4%;right:4%;bottom:85px;height:81px;padding:16px 19px;gap:10px}.dialogue-flower{display:none}.dialogue-text{font-size:13px;letter-spacing:.1px;line-height:1.6}.dialogue-text small{display:block!important;font-size:8px;line-height:1.4;margin-top:5px;letter-spacing:.1px}.dialogue-next{width:24px;height:30px;flex-basis:24px}.dialogue-next svg{height:23px;width:25px}.scene-weather{right:4.5%;bottom:15px;min-width:140px;width:42%;height:52px;padding:7px 12px;gap:9px}.scene-weather .cat-icon{width:24px;height:33px;flex-basis:24px}.scene-weather>span{gap:5px}.scene-weather small{font-size:8px}.scene-weather strong{font-size:11px}.scene-weather>.icon{height:17px;width:15px}.client-status{left:4.5%;right:4.5%;bottom:0px;font-size:5px;letter-spacing:0}.client-status b{width:2px;height:2px;margin-right:3px}.client-version{font-size:5px}.page-floor{inset:88px 10px 8px;min-height:0!important}.paper-page{padding:18px 17px 0}.body-interior .client-calendar{display:none}.body-interior .main{bottom:70px}.immersive .main{bottom:0}.immersive .character-stage{bottom:0;height:66%;left:48%;width:130%}.immersive .client-calendar,.immersive .scene-weather{opacity:0;pointer-events:none}}
@media(max-width:380px){.brand-main,.body-interior .brand-main{font-size:18px}.brand-year{font-size:15px;margin-left:4px}.seal-button{width:53px;height:53px}.header-actions{gap:2px}.app-header{padding-left:10px;padding-right:10px}.ticket-title{font-size:15px}.ticket-verb{font-size:9px}.dialogue-text{font-size:12px}}
@media(max-height:690px) and (max-width:700px){.ticket-stack{top:18%;height:33%;gap:7px}.character-stage{height:48%;bottom:24%}.dialogue{height:66px;bottom:80px;padding-top:12px;padding-bottom:12px}.dialogue-text{font-size:12px}.dialogue-text small{font-size:7px}.scene-weather{height:46px;bottom:19px}.scene-weather .cat-icon{height:29px}.client-calendar{height:48px;width:48px;bottom:90px;font-size:12px}.client-calendar small{font-size:6px}}
@media(prefers-reduced-motion:reduce){.ticket,.nav-medallion,.dialogue-next{transition:none}}
/* Override legacy individual-ticket colors: all four use dark ink / cream labels. */
.ticket-v4 .ticket-copy,.ticket-v4:first-of-type .ticket-copy{color:#35362a!important}
.ticket-v4 .ticket-stub,.ticket-v4:nth-of-type(2) .ticket-stub,.ticket-v4:nth-of-type(4) .ticket-stub{color:#eee1c1!important;text-shadow:0 1px 3px #15221577}
@media(max-width:700px){.ticket-stack{left:4%;right:4%;top:12%;width:92%;height:18%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}.ticket{min-width:0}.ticket-en{font-size:4.4px}.ticket-copy{left:17%;width:59%}.character-stage{left:50%;height:44%;bottom:23%;width:106%}.dialogue-text small{font-size:9px}.ticket-stub{right:4%;width:15%}.ticket-verb{font-size:10px}.ticket-engraving{opacity:.4}.ticket-title{font-size:17px}}
@media(max-height:690px) and (max-width:700px){.ticket-stack{top:16%;height:18%;gap:7px}.character-stage{height:41%;bottom:24%}.ticket-title{font-size:16px}.ticket-en{font-size:4px}.dialogue-text small{font-size:8px}}



/* Ticket art refinement only. Do not change scene, character, navigation,
   business rules, storage keys, client pagination, or fixed-viewport layout. */
.ticket-engraved {
  filter:drop-shadow(0 2px 1px #62503755) drop-shadow(0 6px 7px #18241970);
  transition:transform 180ms ease,filter 180ms ease;
}
.ticket-engraved .ticket-art {
  display:block;position:absolute;inset:0;width:100%;height:100%;
  object-fit:fill;z-index:-1;pointer-events:none;user-select:none;
}
.ticket-engraved .ticket-copy {
  left:20.4%;width:38.7%;top:19%;bottom:20%;padding:0;
  justify-content:center;gap:0;text-shadow:none;
}
.ticket-engraved .ticket-title {
  font-family:var(--serif);font-size:clamp(18px,1.92vw,35px);
  font-weight:700;line-height:1.22;letter-spacing:.05em;
  color:#24291f;text-shadow:none;
}
.ticket-engraved .ticket-en {
  display:block!important;font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(6px,.60vw,11px);line-height:1.15;
  letter-spacing:.075em;margin-top:9px;color:#6b6750;opacity:.92;
  white-space:nowrap;
}
.ticket-engraved .ticket-stub {
  left:78.4%;right:4.7%;width:auto;top:0;bottom:0;
  padding-bottom:1%;gap:0;justify-content:center;
}
.ticket-engraved .ticket-verb {
  font-family:var(--serif);font-size:clamp(14px,1.35vw,24px);
  font-weight:400;letter-spacing:.06em;line-height:1.3;
  color:#f1e8d0;text-shadow:0 1px 1px #07160b70;
}
.ticket-engraved .ticket-stub small,.ticket-engraved .ticket-stub>.icon,
.ticket-engraved .ticket-engraving {display:none!important}
.ticket-engraved .ticket-badge {right:21.5%;top:5%;box-shadow:0 1px 4px #26190e66}
@media(hover:hover) and (pointer:fine) {
 .ticket-engraved:hover {
  transform:translateX(-5px) rotate(-.16deg);
  filter:brightness(1.035) drop-shadow(0 2px 1px #62503766) drop-shadow(1px 7px 9px #15201780);
 }
 .ticket-engraved:hover .ticket-verb {color:#fff3cb}
}
.ticket-engraved:active {transform:translateX(-2px) scale(.988)}
.ticket-engraved:focus-visible {outline:2px solid #eed6a0;outline-offset:5px}
@media(max-width:1180px) and (min-width:701px) {
 .ticket-engraved .ticket-title {font-size:clamp(16px,1.88vw,24px)}
 .ticket-engraved .ticket-en {font-size:clamp(5px,.59vw,7px);margin-top:6px}
 .ticket-engraved .ticket-verb {font-size:clamp(12px,1.34vw,16px)}
}
@media(max-height:750px) and (min-width:701px) {
 .ticket-engraved .ticket-en {margin-top:6px}
}
@media(max-width:700px) {
 /* Preserve the existing two-column mobile arrangement without stretching its art. */
 .ticket-stack {height:auto;grid-template-rows:repeat(2,auto)}
 .ticket-engraved {aspect-ratio:469/116!important;min-height:0}
 .ticket-engraved .ticket-copy {left:20.4%;width:39%;top:17%;bottom:17%}
 .ticket-engraved .ticket-title {font-size:clamp(11px,3.35vw,22px);line-height:1.15;letter-spacing:.02em}
 .ticket-engraved .ticket-en {font-size:clamp(3.5px,1.05vw,6.8px);margin-top:3px;letter-spacing:.025em}
 .ticket-engraved .ticket-stub {left:78.4%;right:4.7%;top:0;bottom:0;width:auto}
 .ticket-engraved .ticket-verb {font-size:clamp(9px,2.6vw,17px);letter-spacing:.015em}
 .ticket-engraved .ticket-badge {height:13px;min-width:13px;line-height:11px;font-size:7px;top:2%}
}
@media(prefers-reduced-motion:reduce) {
 .ticket-engraved {transition:none}
 .ticket-engraved:hover,.ticket-engraved:active {transform:none}
}



/* Approved picture IV → real, independent image UI assets. No scene or portrait
   changes; labels, values, focus, selected/disabled states remain live DOM. */
.ui-art{display:block;user-select:none;pointer-events:none;object-fit:contain;flex-shrink:0}
/* Source filigree rather than a geometric vector approximation. */
.seal-button{width:124px;height:124px;isolation:isolate;transition:filter .2s}
.client-brand{gap:18px}
.level-seal{background:none}
.level-art{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 2px 4px #10180c55)}
.level-number{position:relative;font-size:43px;margin:0 0 0 -2px;transform:translateY(2px);font-weight:400;text-shadow:0 1px 2px #171e11}
.seal-button:hover{filter:brightness(1.13)}
/* The coin, crystal and jewel are part of the original three separate frames. */
.header-actions{gap:clamp(7px,.9vw,16px);padding-top:13px}
.resource-cluster{gap:9px}
.resource{position:relative;isolation:isolate;width:clamp(104px,10.1vw,176px);min-width:0;height:clamp(36px,3.1vw,54px);padding:0;border:0;background:none;border-radius:0;box-shadow:none;clip-path:none;overflow:visible;filter:drop-shadow(0 2px 3px #121e1140);font:23px Georgia,serif;transition:filter .2s,transform .2s}
.resource-frame{position:absolute;inset:0;width:100%;height:100%;z-index:-1;object-fit:fill}
.resource>span{position:absolute;left:36%;right:12%;top:50%;transform:translateY(-50%);text-align:center;color:#f6edd9;line-height:1;text-shadow:0 1px 2px #111}
.resource small{display:none}
.resource:hover{filter:brightness(1.13) drop-shadow(0 2px 7px #d0b57822);transform:translateY(-1px)}
.header-separator{margin:0;width:1px}
.top-icon{position:relative;width:40px;height:44px;display:grid;place-items:center;padding:3px;border:0;background:none;border-radius:0;transition:filter .2s,transform .2s}
.header-art-icon{width:35px;height:36px;filter:drop-shadow(0 1px 2px #29271970)}
.top-notice .header-art-icon{width:30px;height:37px}
.top-preferences .header-art-icon{width:34px;height:37px}
.top-icon:hover{background:none;filter:brightness(1.17) drop-shadow(0 0 5px #ead3a345);transform:translateY(-1px)}
.unread-dot{top:0;right:0;width:8px;height:8px;box-shadow:0 0 0 3px #d1775852,0 0 10px #e1887377}
/* These extra accessibility/utility controls are not in the concept picture.
   They retain their semantics with the same source-image circular frame. */
.top-search,.client-fullscreen{width:31px;height:34px;background:url('assets/ui-nav-ring.webp') center/100% 100% no-repeat}
.top-search:hover,.client-fullscreen:hover{background:url('assets/ui-nav-ring.webp') center/100% 100% no-repeat}
.top-search .icon,.client-fullscreen .icon{width:17px;height:17px;color:#dbc7a4;stroke-width:1.8}
/* Same circular badges, filled engravings and tall active badge as the image. */
.sidebar{width:166px;top:clamp(155px,17.5vh,180px);bottom:147px;padding:0;gap:6px;background:none;justify-content:space-between}
.nav-item{width:128px;height:96px;flex:0 0 96px;position:relative;isolation:isolate;display:block;padding:0;opacity:1;font-size:18px;letter-spacing:1px;transition:filter .2s,transform .2s}
.nav-item.active{height:130px;flex-basis:130px}
.nav-item .nav-medallion{position:absolute;left:50%;top:0;transform:translateX(-50%);width:80px;height:80px;border:0;border-radius:0;background:none!important;box-shadow:none!important}
.nav-medallion:before,.nav-medallion:after{display:none!important}
.nav-ring-art{position:absolute;inset:0;width:100%;height:100%}
.nav-glyph-art{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:43px;height:43px;max-width:58%;max-height:58%;filter:drop-shadow(0 1px 1px #090e0866)}
.nav-item[data-id="academic"] .nav-glyph-art{width:42px;height:38px}
.nav-item[data-id="profile"] .nav-glyph-art{width:40px;height:43px}
.nav-active-art{position:absolute;width:110px;height:134px;left:50%;top:-1px;transform:translateX(-50%);opacity:0;filter:drop-shadow(0 0 8px #b38a5133);z-index:-1}
.nav-item .nav-label{position:absolute;left:0;right:0;top:80px;line-height:1.4;color:#eee2c4;text-shadow:0 1px 3px #121f15;white-space:nowrap}
.nav-item.active .nav-active-art{opacity:1}
.nav-item.active .nav-ring-art{opacity:0}
.nav-item.active .nav-medallion{top:12px}
.nav-item.active .nav-label{top:82px;font-size:21px;color:#fff0ca}
.nav-item.active .nav-glyph-art{width:44px;height:47px;max-height:61%;max-width:61%}
.nav-item:hover{filter:brightness(1.13);transform:translateY(-2px)}
.nav-item:focus-visible,.top-icon:focus-visible,.seal-button:focus-visible,.client-calendar:focus-visible{outline:2px solid #ffe3a8;outline-offset:4px}
.body-interior .sidebar{width:var(--sidebar)}
.body-interior .nav-item{width:110px}
/* Date numeral and weekday stay real; no baked-in September 17. */
.client-calendar{left:28px;bottom:18px;width:108px;height:108px;background:none;border:0;border-radius:0;box-shadow:none;isolation:isolate;gap:11px;font-size:23px}
.client-calendar:before,.client-calendar>i{display:none}
.calendar-art{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.client-calendar>span,.client-calendar>small{position:relative;z-index:1}
.client-calendar small{font-size:13px;letter-spacing:1px}
/* Original elaborate border, daisy, butterfly and cat scene plaque. */
.dialogue{height:101px;bottom:25px;padding:17px 36px;gap:21px}
.dialogue-frame{object-fit:fill;filter:drop-shadow(0 3px 5px #14201a50)}
.dialogue-flower{width:40px;height:43px;flex-basis:40px;filter:drop-shadow(0 0 5px #e4ca8b29)}
.flower-art{width:100%;height:100%;object-fit:contain}
.dialogue-next{flex-basis:42px;width:42px;height:42px;padding:5px;filter:drop-shadow(0 0 7px #e1c98655)}
.butterfly-art{width:100%;height:100%}
.scene-weather{padding:0;border:0;background:none;box-shadow:none;isolation:isolate}
.weather-frame{position:absolute;inset:0;width:100%;height:100%;z-index:-1;object-fit:fill;filter:drop-shadow(0 2px 3px #17231b33)}
.scene-weather>span{position:absolute;left:30%;right:22%;top:50%;transform:translateY(-50%);gap:8px}
.scene-weather small{font-size:11px;letter-spacing:.5px}
.scene-weather strong{font-size:14px;letter-spacing:.7px}
.scene-weather:hover{filter:brightness(1.12)}
/* Shared actions in client windows are skinned from blank derivatives of the
   very same resource plaque and circular frame. Not a fake screenshot UI. */
.btn{position:relative;isolation:isolate;overflow:visible;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#f2e2c0!important;min-height:34px;padding-left:20px;padding-right:20px;text-shadow:0 1px 1px #12211555}
.btn:before{content:'';position:absolute;inset:-1px;z-index:-1;pointer-events:none;border:10px solid transparent;border-image:url('assets/ui-action-frame.webp') 12 27 fill /10px 20px /0 stretch}
.btn.secondary{color:#eeddbb!important}
.btn.secondary:before{filter:brightness(1.17) saturate(.7)}
.btn.danger{color:#f4c0aa!important}
.btn:hover{filter:brightness(1.12)}
.btn.small{min-height:29px;padding-left:16px;padding-right:16px}
.icon-btn,.client-close,.pager-button{border:0!important;background:url('assets/ui-nav-ring.webp') center/100% 100% no-repeat!important;border-radius:0;box-shadow:none!important;color:#e4cea6!important;min-width:30px;isolation:isolate}
.icon-btn .icon{color:inherit}
.pager-button{width:31px;height:31px;padding:0;font:24px Georgia,serif}
.client-close{font-size:22px;width:34px;height:34px}
.icon-btn:hover,.client-close:hover,.pager-button:hover{filter:brightness(1.2)}
.tabs>button{position:relative;isolation:isolate;padding-left:15px;padding-right:15px}
.tabs>button:before{content:'';position:absolute;inset:4px 0;z-index:-1;border:8px solid transparent;border-image:url('assets/ui-panel-frame.webp') 12 15 fill /8px 12px /0 stretch;opacity:0;transition:opacity .15s}
.tabs>button.active,.tabs>button[aria-selected="true"]{color:#eddfc1!important;border-bottom-color:transparent!important}
.tabs>button.active:before,.tabs>button[aria-selected="true"]:before{opacity:1}
.tabs>button:hover:not(.active):before{opacity:.09}
.tabs>button.active .count{background:#b49b6350;color:#f1e5c8}
.return-ui{background:url('assets/ui-action-frame.webp') center/100% 100% no-repeat;border:0;border-radius:0;color:#f2e2c0;padding:18px 34px}
@media(min-width:1700px){.seal-button{width:134px;height:134px}.level-number{font-size:46px}.sidebar{width:180px;top:18vh;bottom:168px}.nav-item{height:112px;flex-basis:112px}.nav-item.active{height:143px;flex-basis:143px}.nav-medallion{width:88px;height:88px}.nav-active-art{width:118px;height:143px}.client-calendar{left:31px;bottom:27px;width:116px;height:116px}.dialogue{height:109px;bottom:31px}.header-art-icon{width:37px;height:39px}}
@media(max-width:1200px){.seal-button{width:102px;height:102px}.level-number{font-size:36px}.client-brand{gap:13px}.header-actions{gap:8px;padding-top:12px}.resource-cluster{gap:6px}.resource{width:clamp(91px,9.9vw,119px);height:37px;font-size:18px}.top-icon{width:32px;height:35px}.header-art-icon{width:28px;height:29px}.top-notice .header-art-icon{width:24px;height:31px}.top-preferences .header-art-icon{width:29px;height:31px}.top-search,.client-fullscreen{width:26px;height:28px}.sidebar{width:126px;top:135px;bottom:125px}.nav-item{width:104px;height:89px;flex-basis:89px;font-size:15px}.nav-item.active{height:115px;flex-basis:115px}.nav-item .nav-medallion{width:68px;height:68px}.nav-active-art{width:93px;height:115px}.nav-item .nav-label{top:65px}.nav-item.active .nav-medallion{top:12px}.nav-item.active .nav-label{top:74px;font-size:18px}.nav-glyph-art{max-width:53%;max-height:53%}.client-calendar{left:18px;bottom:22px;width:86px;height:86px;font-size:19px}.client-calendar small{font-size:10px}.dialogue{height:91px;padding:16px 28px;gap:14px}.dialogue-flower{width:31px;height:36px;flex-basis:31px}.scene-weather small{font-size:9px}.scene-weather strong{font-size:12px}.scene-weather>span{gap:7px}.dialogue-next{flex-basis:30px;width:30px;height:37px}.body-interior .nav-item{width:94px}}
@media(max-height:780px) and (min-width:701px){.seal-button{width:92px;height:92px}.level-number{font-size:33px}.sidebar{top:111px;bottom:122px;width:128px}.nav-item{height:77px;flex-basis:77px;font-size:14px}.nav-item.active{height:100px;flex-basis:100px}.nav-item .nav-medallion{width:59px;height:59px}.nav-active-art{width:83px;height:102px}.nav-item .nav-label{top:56px}.nav-item.active .nav-medallion{top:10px}.nav-item.active .nav-label{top:65px;font-size:17px}.nav-item.active .nav-glyph-art{width:34px;height:37px}.client-calendar{width:83px;height:83px;left:22px;bottom:21px;font-size:18px;gap:8px}.client-calendar small{font-size:10px}.dialogue{height:83px;bottom:22px;padding-top:14px;padding-bottom:14px}.dialogue-flower{width:30px;height:34px;flex-basis:30px}.body-interior .nav-item{width:98px}}
@media(max-width:980px) and (min-width:701px){.brand-main,.body-interior .brand-main{font-size:20px}.resource{width:89px;height:33px;font-size:17px}.header-actions{gap:7px}.top-search{display:none!important}.top-icon{width:30px}.header-separator{display:none}.dialogue-flower{display:none}.scene-weather strong{font-size:11px}.client-brand{gap:9px}}
@media(max-height:620px) and (min-width:701px){.sidebar{top:99px;bottom:99px;width:112px;gap:1px}.nav-item{height:58px;flex-basis:58px;font-size:11px}.nav-item.active{height:77px;flex-basis:77px}.nav-item .nav-medallion{width:44px;height:44px}.nav-item .nav-label{top:43px}.nav-active-art{width:64px;height:79px}.nav-item.active .nav-medallion{top:7px}.nav-item.active .nav-label{top:50px;font-size:12px}.nav-item.active .nav-glyph-art{width:25px;height:28px}.client-calendar{left:25px;width:61px;height:61px;font-size:14px;gap:6px}.client-calendar small{font-size:8px}.dialogue{height:76px}.seal-button{height:80px;width:80px}.level-number{font-size:30px}}
@media(max-width:700px){.app-header{padding:8px 12px}.client-brand{gap:9px}.seal-button{width:66px;height:66px}.level-number{font-size:26px;transform:translateY(1px)}.brand-main,.body-interior .brand-main{font-size:20px}.brand-year{font-size:17px}.brand-sub{font-size:6px;letter-spacing:1.7px}.header-actions{gap:6px;padding:0}.top-icon{width:27px;height:31px;padding:0}.header-art-icon{width:27px;height:27px}.top-preferences .header-art-icon{width:26px;height:28px}.sidebar,.body-interior .sidebar{top:auto;bottom:0;width:100%;height:70px;gap:0;padding:5px 3px;flex-direction:row;justify-content:space-around;background:#24302afa;border-top:1px solid #b59d6a55}.nav-item,.nav-item.active,.body-interior .nav-item{flex:1 1 0;height:58px;width:auto;min-width:0;font-size:10px;letter-spacing:1px}.nav-item .nav-medallion,.nav-item.active .nav-medallion{top:0;width:38px;height:38px}.nav-item .nav-label,.nav-item.active .nav-label{top:39px;font-size:10px;line-height:1.4}.nav-active-art{display:none}.nav-item.active .nav-ring-art{opacity:1;filter:brightness(1.45) drop-shadow(0 0 6px #c5a67180)}.nav-item.active .nav-glyph-art{width:22px;height:24px}.nav-glyph-art{max-height:55%;max-width:55%}.client-calendar{left:15px;bottom:85px;height:57px;width:57px;font-size:13px;gap:6px}.client-calendar small{font-size:7px;letter-spacing:0}.dialogue{height:81px;bottom:85px;padding:15px 22px;gap:9px}.dialogue-flower{display:none}.dialogue-next{flex-basis:25px;width:25px;height:30px;padding:3px}.scene-weather>span{left:30%;right:20%;gap:5px}.scene-weather small{font-size:8px}.scene-weather strong{font-size:11px}.scene-weather{height:52px}.dialogue-text small{font-size:9px}.btn{padding-left:15px;padding-right:15px}.tabs>button{padding-left:10px;padding-right:10px}}
@media(max-width:380px){.seal-button{width:58px;height:58px}.level-number{font-size:23px}.client-brand{gap:7px}.brand-main,.body-interior .brand-main{font-size:18px}.brand-year{font-size:15px}.app-header{padding-left:9px;padding-right:9px}.header-actions{gap:4px}.dialogue-text{font-size:12px}.dialogue-text small{font-size:8px}}
@media(max-height:690px) and (max-width:700px){.dialogue{height:66px;bottom:80px;padding:12px 18px}.scene-weather{height:46px}.client-calendar{width:51px;height:51px;bottom:88px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.seal-button,.resource,.top-icon,.nav-item{transition:none}.resource:hover,.top-icon:hover,.nav-item:hover{transform:none}}



/* Only the hall is viewport-locked. Interior routes use native document scrolling. */
html.scrollable-page,html.scrollable-page body{height:auto;min-height:100%!important;overflow-x:clip!important;overflow-y:visible!important;overscroll-behavior-y:auto}
html.scrollable-page{overflow-y:auto!important;scrollbar-gutter:stable;scroll-padding-top:calc(var(--header) + 16px);scroll-padding-bottom:70px}
body.body-interior{position:relative;inset:auto;touch-action:manipulation}
.body-interior #app{position:relative;inset:auto;overflow:visible;min-height:100dvh}
.body-interior .main{position:relative;inset:auto;margin-left:var(--sidebar);min-height:100dvh!important;overflow:visible}
.body-interior .page-floor{position:relative;inset:auto;display:block;height:auto;min-height:100dvh!important;padding:calc(var(--header) + 12px) 25px 30px 16px!important;overflow:visible}
.body-interior .paper-page{display:block;height:auto;max-height:none;min-height:calc(100dvh - var(--header) - 42px)!important;overflow:visible;padding-bottom:12px}
.paper-page>.client-viewport{display:block;overflow:visible!important;height:auto;max-height:none;overscroll-behavior:auto}
.paper-page>.client-pager{position:sticky;bottom:12px;z-index:12;background:var(--paper);box-shadow:0 -5px 12px var(--paper);margin-top:12px}
.body-interior .app-header{background:linear-gradient(180deg,#20352bfa,#20352bef)}
.body-interior .schedule-wrap{overflow-x:auto;overscroll-behavior-x:contain}
.body-interior .schedule-grid{min-width:660px}
.body-interior .client-document :is(button,input,textarea,select,[tabindex]){scroll-margin-top:calc(var(--header) + 18px);scroll-margin-bottom:75px}
html.scrollable-page,html.scrollable-page *,dialog *{scrollbar-width:thin}
html.scrollable-page::-webkit-scrollbar,html.scrollable-page *::-webkit-scrollbar,dialog *::-webkit-scrollbar{display:block!important;width:6px!important;height:6px!important}
/* Modal scrolling is independent; native dialog focus and all artwork are retained. */
html.scrollable-page:has(dialog[open]){overflow-y:hidden!important}
.modal-shell>.client-viewport,.chat-history,.chat-rooms{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.client-viewport:focus-visible,.chat-history:focus-visible,.chat-rooms:focus-visible{outline:2px solid var(--brass);outline-offset:-2px}
@media(max-width:700px){
 html.scrollable-page{scroll-padding-bottom:calc(140px + env(safe-area-inset-bottom,0px))}
 .body-interior .main{margin-left:0;bottom:auto}
 .body-interior .page-floor{padding:calc(var(--header) + 8px) 10px calc(90px + env(safe-area-inset-bottom,0px))!important}
 .body-interior .paper-page{padding:18px 17px 12px;min-height:calc(100dvh - var(--header) - 98px)!important}
 .paper-page>.client-pager{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 .body-interior .sidebar{height:calc(70px + env(safe-area-inset-bottom,0px));padding-bottom:calc(5px + env(safe-area-inset-bottom,0px))}
 .body-interior .client-document :is(button,input,textarea,select,[tabindex]){scroll-margin-bottom:calc(145px + env(safe-area-inset-bottom,0px))}
 .paper-page>.client-pager .pager-help{display:none}
 .body-interior .toolbar-left,.body-interior .toolbar-right{flex-wrap:wrap;min-width:0}
 .body-interior .search-field{min-width:0;max-width:100%}
}
/* Account entry and cloud administration reuse the established paper palette. */
.account-entry{background:#294b3c;color:#f6e8c8;border:1px solid #b59e68;padding:7px 11px;border-radius:3px;white-space:nowrap}
#accountDialog{width:min(460px,calc(100vw - 28px));height:auto!important;max-height:calc(100dvh - 40px)!important;overflow:auto!important;padding:0!important}
.auth-panel{position:relative;padding:30px;color:var(--ink);background:var(--paper);}
.auth-panel h2{font-family:var(--serif);margin:14px 0 20px;font-size:26px}.auth-panel label{display:block;margin:16px 0 8px;font-size:12px}.auth-panel input,.auth-panel textarea{display:block;width:100%;min-width:0;margin-top:8px;padding:12px;border:1px solid var(--line);background:#fffaf0;color:var(--ink)}
.auth-panel button{padding:10px 14px;background:#294f43;color:#f8efdc;border-radius:3px}.auth-panel form>button{width:100%;margin:20px 0 8px}.auth-panel .auth-close{position:absolute;right:12px;top:10px;background:transparent;color:var(--ink);font-size:24px}.auth-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.auth-actions button{font-size:12px}.auth-panel #authStatus{font-size:12px;margin-top:15px;overflow-wrap:anywhere;color:#80583d}
.cloud-banner{padding:12px 16px;margin:15px 0;background:#e1e7d7;border:1px solid #c4ceb6;font-size:12px;line-height:1.8}.admin-member{border-bottom:1px solid var(--line);padding:16px 0;display:flex;flex-wrap:wrap;align-items:center;gap:12px}.admin-member>span{flex:1;min-width:160px}.admin-form{display:grid;gap:10px}.admin-form label{display:grid;gap:5px;font-size:12px}.admin-form input,.admin-form textarea,.admin-form select{width:100%;min-width:0;padding:10px;background:#fffbf1;border:1px solid var(--line)}.admin-form textarea{min-height:110px}.admin-stack{display:grid;gap:18px}.audit-line{font-size:11px;line-height:1.8;padding:8px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
@media(max-width:700px){.account-entry{font-size:11px;padding:6px}.auth-panel{padding:24px}.header-actions{gap:3px}}
@media(max-width:380px){.top-preferences{display:none!important}}

/* Keep all engraved ticket artwork and internal styling intact; reveal Boya Tower. */
@media(min-width:701px) {
 .hall .ticket-stack {
  right:.5%;
  transform:scale(.84);
  transform-origin:top right;
 }
}
