/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.grid{display:grid}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--ink:#07100f;--ink-2:#0d1917;--ink-3:#142522;--paper:#e7dfcb;--paper-soft:#cfc5ae;--jade:#60bda8;--jade-dark:#2f7769;--gold:#cda65c;--gold-soft:#eed59a;--red:#b44f44;--line:#dccfae29;--panel:#091412f0}*{box-sizing:border-box}html{background:var(--ink);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:var(--ink);color:var(--paper);margin:0;font-family:Noto Serif TC,Songti TC,PMingLiU,Georgia,serif}button,input{font:inherit}button{color:inherit}button:focus-visible{outline:2px solid var(--gold-soft);outline-offset:3px}button:disabled{cursor:not-allowed}.title-screen{background:#07100f url(/shanhai-hero.webp) 50%/cover no-repeat;place-items:center;min-height:100dvh;padding:28px;animation:18s ease-in-out infinite alternate titleWorldDrift;display:grid;position:relative;overflow:hidden}.title-screen:before{content:"";background:radial-gradient(circle at 62% 43%,#0000 0 18%,#02080838 48%),linear-gradient(90deg,#030a093d,#030a09b8 50%,#030a09e0);position:absolute;inset:0}.title-veil{opacity:.23;pointer-events:none;mix-blend-mode:overlay;background-image:repeating-linear-gradient(0deg,#0000 0 3px,#ffffff05 3px 4px);position:absolute;inset:0}.title-card{z-index:1;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(145deg,#081311e6,#050c0cc7);border:1px solid #ddc58957;width:min(820px,100%);max-height:calc(100dvh - 32px);margin-left:min(36vw,540px);padding:clamp(26px,4vw,48px);position:relative;overflow-y:auto;box-shadow:0 28px 100px #0000008c,inset 0 0 60px #75ac950a}.title-card:before,.title-card:after{content:"";border-color:#cda65c8c;width:60px;height:60px;position:absolute}.title-card:before{border-top:1px solid;border-left:1px solid;inset:10px auto auto 10px}.title-card:after{border-bottom:1px solid;border-right:1px solid;inset:auto 10px 10px auto}.title-eyebrow{color:var(--gold-soft);letter-spacing:.28em;justify-content:center;align-items:center;gap:12px;font-size:12px;display:flex}.title-eyebrow span{background:linear-gradient(90deg, transparent, var(--gold));width:44px;height:1px}.title-eyebrow span:last-child{transform:rotate(180deg)}.feature-pills{flex-wrap:wrap;justify-content:center;gap:6px;margin:14px 0 20px;display:flex}.feature-pills span{color:#bedbd2;letter-spacing:.05em;background:#2966582e;border:1px solid #60bda847;border-radius:99px;padding:5px 10px;font-size:11px}.title-chapter{text-align:center;color:#b5c8c1;letter-spacing:.36em;margin:0 0 2px;font-size:14px}.title-card h1{text-align:center;color:#f2e4bf;letter-spacing:.18em;text-shadow:0 3px 24px #dcb25d33;margin:0;font-size:clamp(46px,6vw,76px);font-weight:500}.title-lead{text-align:center;color:#c4c9bf;max-width:600px;margin:8px auto 24px;font-size:14px;line-height:1.85}.origin-grid{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.origin-card{text-align:left;cursor:pointer;background:#ffffff06;border:1px solid #ddd3b621;flex-direction:column;align-items:flex-start;gap:9px;min-height:156px;padding:15px;transition:all .18s;display:flex;position:relative}.origin-card:hover{background:#488f7d14;border-color:#60bda875;transform:translateY(-2px)}.origin-card.selected{border-color:var(--gold);background:linear-gradient(145deg,#508a7724,#c1913d12);box-shadow:inset 0 0 0 1px #cda65c24}.origin-seal{width:32px;height:32px;color:var(--gold-soft);background:#020a098c;border:1px solid #cda65c8f;place-items:center;font-size:18px;display:grid}.origin-copy{flex-direction:column;gap:2px;display:flex}.origin-copy strong{color:#f1e8d3;letter-spacing:.08em;font-size:15px}.origin-copy small{color:var(--jade);font-size:11px}.origin-copy em{color:#aeb7af;margin-top:5px;font-size:11px;font-style:normal;line-height:1.55}.origin-check{color:#869a92;font-size:10px;position:absolute;top:15px;right:13px}.origin-card.selected .origin-check{color:var(--gold-soft)}.title-actions{align-items:stretch;gap:10px;margin-top:18px;display:flex}.primary-action,.secondary-action{cursor:pointer;border:0;min-height:50px}.primary-action{color:#10201d;letter-spacing:.12em;background:linear-gradient(90deg,#d2b36e,#ecd99d);flex:1;justify-content:space-between;align-items:center;padding:0 20px;font-weight:700;display:flex;box-shadow:0 10px 28px #00000040}.primary-action:hover{filter:brightness(1.06)}.primary-action b{font-size:20px}.secondary-action{color:#e5d6b5;background:#081311bd;border:1px solid #cda65c73;min-width:130px;padding:0 18px}.save-note{text-align:center;color:#839089;letter-spacing:.06em;margin:12px 0 0;font-size:10px}.title-notice{text-align:center;color:var(--gold-soft);margin-top:12px;font-size:12px}.game-shell{background:#07100f;min-height:100dvh;overflow:hidden}.game-header{border-bottom:1px solid var(--line);z-index:30;background:#060f0efa;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);align-items:center;height:70px;padding:0 20px;display:grid;position:relative}.brand{cursor:pointer;text-align:left;background:0 0;border:0;justify-self:start;align-items:center;gap:11px;display:flex}.brand-seal{width:38px;height:38px;color:var(--gold-soft);border:1px solid #cda65ca6;place-items:center;font-size:18px;display:grid;transform:rotate(3deg)}.brand>span:last-child{flex-direction:column;display:flex}.brand b{color:#eadfc7;letter-spacing:.16em;font-size:17px}.brand small{color:#6f827b;letter-spacing:.14em;font:8px/1.4 Arial,sans-serif}.chapter-indicator{text-align:center;grid-template-columns:auto auto auto;align-items:baseline;gap:10px;display:grid}.chapter-indicator small{color:var(--gold);font-size:11px}.chapter-indicator b{color:#e0d7c2;letter-spacing:.12em;font-size:14px}.chapter-indicator span{color:#778981;font-size:10px}.resource-strip{justify-self:end;align-items:center;gap:12px;display:flex}.resource-strip>span{color:#d7ccb2;align-items:center;gap:6px;font-size:12px;display:flex}.resource-strip i{width:24px;height:24px;color:var(--gold);border:1px solid #cda65c47;border-radius:50%;place-items:center;font-size:10px;font-style:normal;display:grid}.resource-strip button{border:1px solid var(--line);color:#a8b3ad;cursor:pointer;background:#ffffff08;width:36px;height:36px}.game-body{grid-template-columns:232px minmax(500px,1fr) 340px;height:calc(100dvh - 70px);display:grid}.map-panel{border-right:1px solid var(--line);background:linear-gradient(#0b1715,#07110f);min-height:0;padding:21px 15px;overflow-y:auto}.panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;padding:0 7px 15px;display:flex}.panel-heading span{color:#d5cbb6;letter-spacing:.15em;font-size:13px}.panel-heading small{color:#6d8178;font-size:9px}.location-list{padding-top:15px}.location-card{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;width:100%;min-height:61px;padding:7px 5px;display:flex;position:relative}.location-card:hover:not(:disabled){background:#60bda80e}.location-card:disabled{opacity:.52}.location-marker{color:#8ba59b;z-index:1;background:#0e1c19;border:1px solid #8a9f9547;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:11px;display:grid}.location-card.active .location-marker{border-color:var(--gold);color:var(--gold-soft);background:#1a2c26;box-shadow:0 0 20px #cda65c1f}.location-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.location-copy b{color:#cbd1c9;letter-spacing:.04em;font-size:12px}.location-copy small{color:#667970;white-space:nowrap;text-overflow:ellipsis;font-size:9px;overflow:hidden}.location-card.active .location-copy b{color:#f0e5cc}.map-line{color:#79978b2e;font-size:22px;line-height:1;position:absolute;top:43px;left:21px}.here-tag{color:var(--gold);border:1px solid #cda65c4d;margin-left:auto;padding:3px 5px;font-size:8px}.map-legend{border-top:1px solid var(--line);color:#6c7d75;justify-content:center;gap:18px;margin-top:16px;padding-top:14px;font-size:9px;display:flex}.map-legend span{align-items:center;gap:5px;display:flex}.map-legend i{border-radius:50%;width:5px;height:5px}.safe-dot{background:var(--jade)}.danger-dot{background:var(--red)}.stage-panel{background:#081210;min-width:0;min-height:0;overflow:auto}.world-view{min-height:100%;display:flex;position:relative;overflow:hidden}.world-art{filter:saturate(.78)contrast(1.04)brightness(.72);background:url(/shanhai-hero.webp) 50%/cover no-repeat;position:absolute;inset:0;transform:scale(1.015)}.world-gradient{background:linear-gradient(90deg,#040b0a2e,#040b0a6b 45%,#040b0ad1),linear-gradient(#0000 48%,#040b0af0);position:absolute;inset:0}.world-content{z-index:2;width:min(690px,100% - 48px);margin:auto 34px 30px auto;position:relative}.location-title{align-items:center;gap:15px;display:flex}.location-title>span{color:#edd9a1;background:#07110fa6;border:1px solid #e1c584b3;place-items:center;width:48px;height:48px;font-size:20px;display:grid}.location-title small{color:var(--jade);letter-spacing:.16em;font-size:10px}.location-title h1{color:#eee4cd;letter-spacing:.16em;margin:2px 0 0;font-size:clamp(28px,4vw,48px);font-weight:500}.location-description{color:#b0bab3;max-width:590px;margin:9px 0 18px 64px;font-size:13px;line-height:1.65}.quest-card{border:1px solid #d7c49938;border-left:2px solid var(--gold);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#06100ec7;gap:14px;padding:16px 18px;display:flex;box-shadow:0 18px 35px #0000003d}.quest-knot{color:#e3a197;background:#5a161240;border:1px solid #b44f44a6;flex:none;place-items:center;width:38px;height:38px;display:grid}.quest-card small{color:var(--gold);letter-spacing:.16em;font-size:9px}.quest-card h2{color:#ece2cc;margin:4px 0;font-size:15px;font-weight:500;line-height:1.45}.quest-card p{color:#899a91;margin:0;font-size:10px;line-height:1.55}.action-row{grid-template-columns:minmax(250px,1.6fr) 1fr 1fr;gap:8px;margin-top:10px;display:grid}.action-row button{cursor:pointer;border:1px solid #dbcdab2e;min-height:66px}.explore-button{text-align:left;background:linear-gradient(90deg,#326f5fd1,#214b42d1);grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:10px 14px;display:grid}.action-icon{color:#ecdfbd;border:1px solid #e5d9b56b;place-items:center;width:34px;height:34px;display:grid}.explore-button>span:nth-child(2),.rest-button,.herb-button{flex-direction:column;display:flex}.explore-button b,.rest-button b,.herb-button b{color:#e8dfcb;font-size:12px}.explore-button small,.rest-button small,.herb-button small{color:#9db6ad;margin-top:3px;font-size:9px}.explore-button strong{color:#cfe6dc;font-size:18px}.explore-button:disabled{opacity:.48}.rest-button,.herb-button{text-align:left;background:#081311c7;justify-content:center;align-items:flex-start;gap:2px;padding:10px 12px}.rest-button>span,.herb-button>span{color:var(--gold);font-size:14px}.herb-button:disabled{opacity:.44}.world-footer{color:#74867e;justify-content:space-between;margin-top:11px;font-size:9px;display:flex}.world-footer span:first-child{align-items:center;gap:6px;display:flex}.world-footer i{background:var(--red);width:6px;height:6px;box-shadow:0 0 8px var(--red);border-radius:50%}.info-panel{border-left:1px solid var(--line);background:var(--panel);flex-direction:column;min-height:0;display:flex}.character-card{border-bottom:1px solid var(--line);flex:none;grid-template-columns:48px 1fr;gap:6px 12px;padding:15px 17px 12px;display:grid}.avatar-ring{width:46px;height:46px;color:var(--gold-soft);background:radial-gradient(circle,#1d322c,#0b1714 70%);border:1px solid #cda65c66;border-radius:50%;grid-row:1/3;place-items:center;font-size:19px;display:grid}.character-copy{min-width:0}.character-copy small{color:var(--jade);font-size:9px}.character-copy h2{color:#e7deca;letter-spacing:.1em;margin:2px 0 0;font-size:16px;font-weight:500}.hp-label{color:#9eaaa3;grid-column:1/3;justify-content:space-between;margin-top:4px;font-size:9px;display:flex}.hp-label b{color:#d5cab5;font-weight:500}.meter{background:#ffffff0a;border:1px solid #ffffff14;width:100%;height:5px;overflow:hidden}.meter i{height:100%;transition:width .25s;display:block}.hp-meter{grid-column:1/3}.hp-meter i{background:linear-gradient(90deg,#783a36,#bc5a4f)}.qi-row{color:#8d9c95;grid-column:1/3;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-top:4px;font-size:9px;display:grid}.qi-row>div{gap:3px;display:flex}.qi-row i{background:#4f9a8a26;flex:1;height:5px}.qi-row i.filled{background:var(--jade);box-shadow:0 0 5px #60bda861}.qi-row b{color:#b4cfc7}.mini-stats{grid-column:1/3;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:3px;display:grid}.mini-stats>span{border:1px solid #ffffff0e;justify-content:space-between;padding:5px 7px;display:flex}.mini-stats small{color:#74847c;font-size:8px}.mini-stats b{color:#cfc5ae;font-size:10px}.mini-stats .negative{color:#d9756a}.tab-strip{border-bottom:1px solid var(--line);flex:none;grid-template-columns:repeat(5,1fr);display:grid}.tab-strip button{color:#75877e;cursor:pointer;background:#0b1715;border:0;border-right:1px solid #ffffff0b;min-height:40px;font-size:10px}.tab-strip button.active{color:var(--gold-soft);box-shadow:inset 0 -2px var(--gold);background:#12211e}.tab-content{flex:1;min-height:0;overflow-y:auto}.side-section{padding:14px}.side-title{justify-content:space-between;align-items:baseline;margin-bottom:10px;display:flex}.side-title.second{border-top:1px solid var(--line);margin-top:18px;padding-top:13px}.side-title span{color:#d7cdb8;letter-spacing:.12em;font-size:12px}.side-title small{color:#677b72;font-size:8px}.section-help{color:#788a81;margin:-3px 0 11px;font-size:9px;line-height:1.55}.journal-list{flex-direction:column;display:flex}.journal-item{border-bottom:1px solid #ffffff0b;grid-template-columns:8px 1fr;gap:8px;padding:8px 2px;display:grid;position:relative}.journal-item i{background:#6a8177;border-radius:50%;width:5px;height:5px;margin-top:5px}.journal-item p{color:#9aa79f;margin:0;font-size:9px;line-height:1.55}.journal-item.tone-good i{background:var(--jade)}.journal-item.tone-gold i{background:var(--gold)}.journal-item.tone-danger i{background:var(--red)}.bounty-list{flex-direction:column;gap:7px;display:flex}.bounty-item{background:#ffffff05;border:1px solid #ffffff12;padding:9px}.bounty-item>div:first-child{align-items:center;gap:8px;display:flex}.bounty-seal{color:#d98176;border:1px solid #b44f4473;place-items:center;width:28px;height:28px;font-size:11px;display:grid}.bounty-item p{flex-direction:column;margin:0;display:flex}.bounty-item p b{color:#cfc6b3;font-size:10px}.bounty-item p small{color:#71837a;margin-top:2px;font-size:8px}.bounty-progress{background:#ffffff0f;height:3px;margin:8px 0 6px}.bounty-progress i{background:var(--gold);height:100%;display:block}.bounty-item footer{color:#788981;justify-content:space-between;align-items:center;font-size:8px;display:flex}.bounty-item footer button{min-width:48px;min-height:26px;color:var(--gold-soft);cursor:pointer;background:#cda65c14;border:1px solid #cda65c47;font-size:8px}.bounty-item footer button:disabled{opacity:.35}.bounty-item.claimed{opacity:.6}.martial-list{flex-direction:column;gap:6px;display:flex}.martial-item{text-align:left;cursor:pointer;background:#ffffff05;border:1px solid #ffffff12;grid-template-columns:36px 1fr auto;align-items:center;gap:8px;min-height:54px;padding:7px;display:grid}.martial-item:hover{border-color:#60bda84d}.martial-item.equipped{background:#cda65c0d;border-color:#cda65c52}.martial-seal{width:34px;height:34px;color:var(--jade);border:1px solid #60bda859;place-items:center;display:grid}.martial-item>span:nth-child(2){flex-direction:column;display:flex}.martial-item b{color:#cfc7b5;font-size:10px}.martial-item small{color:#6f8178;margin-top:2px;font-size:8px}.martial-item em{color:#7c8e84;font-size:8px;font-style:normal}.martial-item.equipped em{color:var(--gold)}.skill-library-note{background:#3c7f6e0f;border:1px solid #60bda81f;flex-direction:column;gap:3px;margin-top:12px;padding:10px;display:flex}.skill-library-note b{color:#b9d2ca;font-size:10px}.skill-library-note span{color:#8ca69c;font-size:9px}.skill-library-note small{color:#687b72;font-size:8px;line-height:1.5}.bond-list{flex-direction:column;gap:6px;display:flex}.bond-card{text-align:left;cursor:pointer;background:#ffffff05;border:1px solid #ffffff12;grid-template-columns:36px 1fr auto;align-items:center;gap:8px;min-height:57px;padding:7px 7px 10px;display:grid;position:relative}.bond-card:hover{border-color:#cda65c4d}.bond-card.locked{opacity:.58}.bond-seal{width:34px;height:34px;color:var(--gold-soft);background:#cda65c0a;border:1px solid #cda65c4d;place-items:center;display:grid}.bond-copy{flex-direction:column;min-width:0;display:flex}.bond-copy b{color:#d3c9b5;font-size:10px}.bond-copy small{color:#718279;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:8px;overflow:hidden}.bond-value{flex-direction:column;align-items:center;min-width:30px;display:flex}.bond-value b{color:#d7ba78;font-size:12px}.bond-value small{color:#6c7c74;font-size:7px}.bond-card>i{background:#ffffff0d;height:2px;position:absolute;bottom:5px;left:50px;right:7px}.bond-card>i em{background:linear-gradient(90deg,var(--jade),var(--gold));height:100%;display:block}.relationship-note,.postgame-card{background:#cda65c0b;border:1px solid #cda65c29;align-items:center;gap:9px;margin-top:12px;padding:10px;display:flex}.relationship-note>span,.postgame-card>span{width:32px;height:32px;color:var(--gold);border:1px solid #cda65c59;flex:none;place-items:center;display:grid}.relationship-note p,.postgame-card p{flex-direction:column;margin:0;display:flex}.relationship-note b,.postgame-card b{color:#cfc5b0;font-size:9px}.relationship-note small,.postgame-card small{color:#77887f;margin-top:2px;font-size:8px;line-height:1.45}.inventory-grid{grid-template-columns:repeat(2,1fr);gap:7px;display:grid}.inventory-grid>*{text-align:left;background:#ffffff05;border:1px solid #ffffff12;flex-direction:column;align-items:flex-start;min-height:105px;padding:10px;display:flex}.inventory-grid button{cursor:pointer}.inventory-grid b{color:#cfc7b5;margin-top:7px;font-size:10px}.inventory-grid small{color:#6d7e76;font-size:8px}.inventory-grid em{color:var(--gold);align-self:flex-end;margin-top:auto;font-size:9px;font-style:normal}.item-icon{width:30px;height:30px;color:var(--jade);border:1px solid #60bda84d;place-items:center;display:grid}.item-icon.ore{color:#aab4ae;border-color:#aab4ae40}.item-icon.sand{color:var(--gold);border-color:#cda65c4d}.coming-system{border:1px dashed #cda65c33;margin-top:10px;padding:10px}.coming-system span{color:var(--gold);font-size:9px}.coming-system p{color:#76887f;margin:3px 0 7px;font-size:8px}.coming-system b{color:#aa9d82;font-size:9px}.chronicle-grid{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.chronicle-grid span{border:1px solid #ffffff0f;flex-direction:column;padding:8px;display:flex}.chronicle-grid small{color:#6f8178;font-size:8px}.chronicle-grid b{color:#cfc6b3;margin-top:2px;font-size:10px;font-weight:500}.campaign-list{flex-direction:column;margin-top:12px;display:flex}.campaign-list article{opacity:.53;border-bottom:1px solid #ffffff0b;grid-template-columns:24px 1fr auto;align-items:center;gap:7px;padding:7px 1px;display:grid}.campaign-list article.current{opacity:1}.campaign-list article>span{color:#667b71;font:9px Arial,sans-serif}.campaign-list p{flex-direction:column;margin:0;display:flex}.campaign-list b{color:#c7beaa;font-size:9px}.campaign-list small{color:#64776e;font-size:7px}.campaign-list em{color:#897b5d;font-size:7px;font-style:normal}.fate-list{border-top:1px solid var(--line);margin-top:13px;padding-top:10px}.fate-list h3{color:#b8aa8f;margin:0 0 6px;font-size:10px}.fate-list p{color:#77877f;margin:4px 0;font-size:8px;line-height:1.5}.combat-view{background:linear-gradient(#14211f,#08110f 55%);flex-direction:column;min-height:100%;display:flex;position:relative;overflow:hidden}.combat-sky{filter:grayscale(.55)brightness(.28)contrast(1.15);opacity:.65;background:url(/shanhai-hero.webp) 50%/cover;position:absolute;inset:0}.combat-sky:after{content:"";background:radial-gradient(circle at 50% 35%,#71272333,#0000 36%),linear-gradient(#0000 28%,#07100f 92%);position:absolute;inset:0}.combat-heading{z-index:2;background:#040b0aa1;border-bottom:1px solid #ffffff14;justify-content:center;align-items:center;gap:12px;padding:13px;display:flex;position:relative}.combat-heading span,.combat-heading b{color:#cba965;font-size:9px}.combat-heading p{color:#bfc6bf;letter-spacing:.08em;margin:0;font-size:11px}.combat-heading b{color:#789087;font-weight:400}.enemy-stage{z-index:2;flex:1;place-items:center;min-height:280px;padding:18px;display:grid;position:relative}.enemy-aura{filter:blur(4px);background:radial-gradient(circle,#a940332e,#14201d0d 58%,#0000 70%);border-radius:50%;width:260px;height:260px;position:absolute}.enemy-glyph{color:#d39b88;background:#1515129e;border:1px solid #b8554859;border-radius:50%;place-items:center;width:100px;height:100px;font-size:38px;display:grid;position:absolute;top:28px;box-shadow:0 0 60px #8b322826}.enemy-card{text-align:center;width:min(370px,76%);margin-top:112px}.enemy-card>small{color:#b9756c;letter-spacing:.15em;font-size:9px}.enemy-card h1{color:#eadfca;letter-spacing:.12em;margin:3px 0;font-size:28px;font-weight:500}.enemy-card>p{color:#84928b;max-width:340px;margin:0 auto 10px;font-size:9px;line-height:1.5}.enemy-hp-label{color:#87958e;justify-content:space-between;font-size:8px;display:flex}.enemy-hp-label b{color:#cabba7}.enemy-meter{height:7px;margin-top:4px}.enemy-meter i{background:linear-gradient(90deg,#772f2e,#c35f51)}.status-row{justify-content:center;gap:5px;margin-top:7px;display:flex}.status-row span{color:#83928a;background:#040b0a99;border:1px solid #ffffff14;padding:3px 6px;font-size:8px}.status-row .fire-status{color:#e08369;border-color:#e0836940}.status-row .frost-status{color:#8dc9d5;border-color:#8dc9d540}.intent-card{text-align:left;background:#08110fd1;border:1px solid #cda65c3d;flex-direction:column;width:130px;padding:10px;display:flex;position:absolute;top:24px;right:22px}.intent-card small{color:#75877e;font-size:7px}.intent-card b{color:#dfd3bb;margin-top:3px;font-size:11px}.intent-card span{color:#7e8f86;margin-top:2px;font-size:8px}.intent-card em{color:#d28774;margin-top:7px;font-size:8px;font-style:normal}.combat-console{z-index:3;border-top:1px solid var(--line);background:#050d0cf0;padding:11px 14px 14px;position:relative}.combat-log{flex-direction:column;gap:2px;min-height:24px;margin-bottom:8px;display:flex}.combat-log p{color:#65776f;margin:0;font-size:8px}.combat-log p.latest{color:#aebbb4;font-size:9px}.skill-bar{grid-template-columns:repeat(5,minmax(90px,1fr));gap:7px;display:grid}.combat-skill,.end-turn{text-align:left;cursor:pointer;background:linear-gradient(145deg,#1f3630b8,#0a1714db);border:1px solid #ffffff17;flex-direction:column;align-items:flex-start;min-height:105px;padding:10px;display:flex;position:relative}.combat-skill:hover:not(:disabled){border-color:#60bda86b;transform:translateY(-2px)}.combat-skill:disabled{opacity:.43}.skill-key{color:#667a71;font:8px Arial,sans-serif;position:absolute;top:6px;right:7px}.skill-cost{color:var(--gold-soft);align-items:baseline;gap:2px;font-size:15px;display:flex}.skill-cost i{color:#897e66;font-size:7px;font-style:normal}.combat-skill b{color:#d8ceba;margin-top:5px;font-size:10px}.combat-skill small{color:#71827a;margin-top:3px;font-size:7px;line-height:1.35}.combat-skill em{color:#7c9289;margin-top:auto;font-size:7px;font-style:normal}.end-turn{background:#cda65c0f;border-color:#cda65c42;justify-content:center;align-items:center}.end-turn span{color:#7f8e87;font-size:8px}.end-turn b{color:#dbcba8;margin-top:4px;font-size:11px}.end-turn small{color:#6f7f77;margin-top:3px;font-size:7px}.combat-hint{align-items:center;gap:8px;margin-top:8px;display:flex}.combat-hint span{color:var(--jade);border:1px solid #60bda83d;padding:3px 5px;font-size:7px}.combat-hint p{color:#74847c;margin:0;font-size:8px}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#020807cc;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.story-modal{text-align:center;background:linear-gradient(145deg,#101f1c,#081310);border:1px solid #cda65c66;width:min(590px,100%);max-height:calc(100dvh - 40px);padding:28px clamp(20px,5vw,42px);position:relative;overflow-y:auto;box-shadow:0 30px 100px #000000a8}.story-modal:before{content:"";pointer-events:none;border:1px solid #cda65c1a;position:absolute;inset:8px}.modal-seal{width:42px;height:42px;color:var(--gold-soft);border:1px solid #cda65c8c;place-items:center;margin:0 auto 9px;font-size:19px;display:grid}.modal-eyebrow{color:var(--jade);letter-spacing:.2em;margin:0;font-size:9px}.story-modal h2{color:#ede2c9;letter-spacing:.1em;margin:7px 0;font-size:22px;font-weight:500}.modal-divider{justify-content:center;align-items:center;gap:8px;margin:10px 0;display:flex}.modal-divider i{background:linear-gradient(90deg,#0000,#cda65c66);width:60px;height:1px}.modal-divider i:last-child{transform:rotate(180deg)}.modal-divider span{color:var(--gold);font-size:7px}.modal-text{color:#9faba4;text-align:left;margin:0 auto 18px;font-size:11px;line-height:1.9}.choice-list{flex-direction:column;gap:7px;display:flex}.choice-button{text-align:left;cursor:pointer;background:#ffffff06;border:1px solid #ffffff17;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;min-height:60px;padding:9px 12px;display:grid}.choice-button:hover{background:#60bda80f;border-color:#60bda873}.choice-button.good{border-left:2px solid var(--jade)}.choice-button.danger{border-left:2px solid var(--red)}.choice-button>span{color:#677a71;font:9px Arial,sans-serif}.choice-button p{flex-direction:column;margin:0;display:flex}.choice-button b{color:#d7cebb;font-size:11px;font-weight:500}.choice-button small{color:#73857c;margin-top:3px;font-size:8px}.choice-button strong{color:#9caea5}.danger-link{color:#9f5c55;cursor:pointer;background:0 0;border:0;margin-top:14px;font-size:8px;text-decoration:underline}.toast{z-index:120;color:var(--gold-soft);background:#081210f0;border:1px solid #cda65c59;padding:9px 15px;font-size:10px;position:fixed;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #00000073}.mobile-nav{display:none}@media (width<=1180px){.game-body{grid-template-columns:190px minmax(440px,1fr) 300px}.world-content{width:calc(100% - 34px);margin-right:17px}.action-row{grid-template-columns:1.4fr 1fr}.herb-button{grid-column:2}.rest-button{grid-area:1/2/3}.herb-button{display:none}.skill-bar{grid-template-columns:repeat(3,1fr)}.combat-skill,.end-turn{min-height:88px}}@media (width<=860px){.title-screen{place-items:center;padding:14px}.title-screen:before{background:linear-gradient(#030a098c,#030a09ed)}.title-card{width:min(620px,100%);max-height:calc(100dvh - 28px);margin:0;padding:24px 18px;overflow-y:auto}.title-card h1{font-size:45px}.feature-pills span{font-size:9px}.origin-grid{grid-template-columns:1fr}.origin-card{grid-template-columns:38px 1fr auto;align-items:center;min-height:92px;display:grid}.origin-copy em{display:none}.origin-check{position:static}.title-actions{background:linear-gradient(#0000,#081310 26%);padding-top:12px;position:sticky;bottom:0}.game-shell{padding-bottom:60px;overflow:auto}.game-header{grid-template-columns:1fr auto;height:56px;padding:0 12px;position:sticky;top:0}.brand-seal{width:32px;height:32px}.brand b{font-size:14px}.brand small,.chapter-indicator{display:none}.resource-strip{gap:8px}.game-body{flex-direction:column;height:auto;display:flex}.stage-panel{order:0;min-height:570px;overflow:visible}.world-view,.combat-view{min-height:570px}.map-panel{border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);order:1;padding:12px;overflow:auto hidden}.panel-heading,.map-legend{display:none}.location-list{gap:6px;padding:0;display:flex}.location-card{border:1px solid #ffffff0f;flex:0 0 150px;min-height:54px;padding:6px}.map-line{display:none}.location-marker{width:31px;height:31px}.here-tag{display:none}.info-panel{border:0;order:2;min-height:520px}.character-card{grid-template-columns:40px 1fr}.avatar-ring{width:38px;height:38px}.tab-strip{display:none}.tab-content{overflow:visible}.world-content{width:calc(100% - 28px);margin:auto 14px 18px}.location-description{margin-left:0}.quest-card{padding:13px}.action-row{grid-template-columns:1fr 112px}.rest-button{grid-area:auto}.herb-button,.combat-heading b{display:none}.enemy-stage{min-height:320px}.intent-card{width:112px;top:18px;right:12px}.enemy-card{width:82%}.combat-console{padding:9px}.skill-bar{padding-bottom:4px;display:flex;overflow-x:auto}.combat-skill,.end-turn{flex:0 0 145px;min-height:112px}.mobile-nav{z-index:60;border-top:1px solid var(--line);height:60px;padding-bottom:env(safe-area-inset-bottom);background:#060f0efa;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:#74867d;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:56px;display:flex}.mobile-nav button span{font-size:14px}.mobile-nav button small{font-size:8px}.mobile-nav button.active{color:var(--gold-soft);box-shadow:inset 0 2px var(--gold)}.side-section{padding:16px}.tab-content{min-height:420px}}@media (width<=520px){.title-card h1{letter-spacing:.13em;font-size:37px}.title-lead{font-size:12px}.title-actions{flex-direction:column}.secondary-action{min-height:46px}.feature-pills{gap:4px}.feature-pills span{padding:4px 7px}.resource-strip>span:nth-child(2){display:none}.stage-panel,.world-view,.combat-view{min-height:610px}.world-content{margin-bottom:12px}.location-title>span{width:40px;height:40px}.location-title h1{font-size:30px}.quest-knot{display:none}.quest-card{padding:12px}.quest-card h2{font-size:13px}.action-row{grid-template-columns:1fr}.action-row button{min-height:58px}.rest-button{grid-template-columns:26px 1fr;align-items:center;display:grid}.rest-button small{grid-column:2}.world-footer span:last-child{display:none}.enemy-glyph{width:80px;height:80px;font-size:30px}.enemy-card{margin-top:90px}.enemy-card h1{font-size:23px}.intent-card{top:12px;right:8px}.combat-heading{justify-content:flex-start;padding-left:10px}.combat-log{display:none}.story-modal{padding:24px 16px}.story-modal h2{font-size:19px}.modal-text{font-size:10px}.choice-button{min-height:64px}.bond-list{gap:7px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.choice-button{opacity:1!important}}.ending-record{background:#60bda80d;border:1px solid #60bda82e;align-items:center;gap:9px;margin-top:7px;padding:9px;display:flex}.ending-record>span{width:30px;height:30px;color:var(--jade);border:1px solid #60bda859;place-items:center;display:grid}.ending-record p{flex-direction:column;margin:0;display:flex}.ending-record b{color:#c9d9d2;font-size:9px}.ending-record small{color:#70887e;margin-top:2px;font-size:8px}button{isolation:isolate;-webkit-tap-highlight-color:transparent;position:relative}button:not(:disabled){transition:transform .18s,border-color .18s,background-color .18s,filter .18s,box-shadow .18s}button:not(:disabled):active{transform:translateY(1px)scale(.985)}.title-card{animation:.9s cubic-bezier(.2,.8,.2,1) both titleCardIn}.title-card h1{animation:1.2s cubic-bezier(.18,.75,.22,1) .15s both titleInkIn}.title-sword-light{z-index:1;filter:blur(.3px);transform-origin:0;pointer-events:none;background:linear-gradient(90deg,#0000,#daf6ede6,#cda65cd9,#0000);width:82vmax;height:2px;animation:1.25s cubic-bezier(.12,.76,.18,1) .38s both titleSlash;position:absolute;top:44%;left:-18vmax;transform:rotate(-17deg)scaleX(0);box-shadow:0 0 18px #60bda86b}.ink-motes{pointer-events:none;position:absolute;inset:0;overflow:hidden}.ink-motes i{filter:blur(.2px);background:#d2bf8e6b;border-radius:60% 40% 55% 45%;width:5px;height:5px;animation:8s linear infinite moteDrift;position:absolute}.ink-motes i:first-child{animation-delay:-1s;top:78%;left:8%}.ink-motes i:nth-child(2){animation-delay:-5s;top:44%;left:17%}.ink-motes i:nth-child(3){animation-delay:-3s;top:88%;left:34%}.ink-motes i:nth-child(4){animation-delay:-7s;top:66%;left:48%}.ink-motes i:nth-child(5){animation-delay:-2s;top:82%;left:61%}.ink-motes i:nth-child(6){animation-delay:-6s;top:52%;left:73%}.ink-motes i:nth-child(7){animation-delay:-4s;top:90%;left:86%}.ink-motes i:nth-child(8){animation-delay:-8s;top:30%;left:91%}.ink-motes i:nth-child(9){animation-delay:-.5s;top:24%;left:42%}.save-slot-heading{color:#d5cbb6;justify-content:space-between;align-items:baseline;margin:16px 1px 7px;display:flex}.save-slot-heading span{letter-spacing:.14em;font-size:11px}.save-slot-heading small{color:#778981;font-size:9px}.save-slot-grid{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.save-slot-card{text-align:left;cursor:pointer;background:#ffffff06;border:1px solid #ffffff14;flex-direction:column;align-items:flex-start;min-height:82px;padding:9px 10px;display:flex;overflow:hidden}.save-slot-card:after{content:"";background:radial-gradient(circle,#60bda826,#0000 65%);height:80%;transition:all .25s;position:absolute;inset:auto -30% -65% 30%}.save-slot-card:hover{border-color:#60bda86b;transform:translateY(-2px)}.save-slot-card.selected{background:#cda65c0e;border-color:#cda65c94;box-shadow:inset 0 0 20px #cda65c0a}.save-slot-card.selected:after{transform:translate(-18%,-18%)}.slot-number{color:var(--gold);letter-spacing:.1em;font:8px Arial,sans-serif}.save-slot-card b{color:#ded4be;margin-top:5px;font-size:10px}.save-slot-card small{color:#7c8e85;margin-top:2px;font-size:8px}.save-slot-card em{color:#667970;margin-top:auto;font-size:7px;font-style:normal}.save-slot-card.empty{opacity:.72}.scene-wipe{z-index:90;pointer-events:none;animation:1s both wipeLayer;position:fixed;inset:70px 0 0;overflow:hidden}.scene-wipe:before,.scene-wipe:after{content:"";transform-origin:0;background:#07100f;animation:.82s cubic-bezier(.64,0,.22,1) both inkCurtain;position:absolute;inset:0}.scene-wipe:after{background:linear-gradient(90deg,#0000,#60bda829,#cda65c59,#0000);animation:.9s ease-out 80ms both swordWipe}.scene-wipe i{z-index:2;border:1px solid #cda65c8c;width:46px;height:46px;animation:.75s both wipeSeal;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(45deg)}.tab-content{animation:.36s ease-out both panelInkIn}.location-card.active .location-marker{animation:2.4s ease-in-out infinite markerPulse}.location-card.active:after{content:"";background:linear-gradient(var(--gold),transparent);width:1px;height:23px;animation:1.5s linear infinite routeFlow;position:absolute;top:43px;left:21px}.parallax-cloud{pointer-events:none;filter:blur(28px);opacity:.16;background:radial-gradient(#c6dcd3a6,#0000 67%);border-radius:50%;width:75%;height:34%;position:absolute}.cloud-back{animation:22s ease-in-out infinite alternate cloudDrift;top:12%;left:-20%}.cloud-front{opacity:.1;animation:17s ease-in-out -8s infinite alternate-reverse cloudDrift;top:36%;right:-28%}.actor-stage{z-index:1;pointer-events:none;position:absolute;inset:8% 0 0;overflow:hidden}.actor{transform-origin:50% 100%;justify-content:center;width:clamp(180px,25vw,350px);height:78%;animation:.75s cubic-bezier(.16,.78,.2,1) both actorEnter,4.6s ease-in-out .8s infinite actorBreathe;display:flex;position:absolute;bottom:-9%}.actor img{object-fit:contain;object-position:bottom;filter:drop-shadow(0 16px 18px #00000080);width:100%;height:100%}.actor-shadow{z-index:-1;filter:blur(8px);background:#0000007a;border-radius:50%;width:54%;height:7%;animation:4.6s ease-in-out .8s infinite shadowBreathe;position:absolute;bottom:5%}.protagonist-actor{left:1.5%}.companion-actor{animation:.82s cubic-bezier(.16,.78,.2,1) .12s both companionEnter,5.2s ease-in-out 1s infinite reverse actorBreathe;left:24%}.actor-name{color:#d8c79f;white-space:nowrap;opacity:.86;background:#050d0cc7;border:1px solid #cda65c52;padding:4px 9px;font-size:9px;font-style:normal;position:absolute;bottom:10%;left:50%;transform:translate(-50%)}.world-content{animation:.6s ease-out .18s both worldCopyIn}.ink-interaction{overflow:hidden}.ink-interaction:after{content:"";opacity:0;background:#e6d8b347;border-radius:50%;width:20px;height:20px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(0)}.ink-interaction:active:after{animation:.48s ease-out inkRipple}.action-row button:hover:not(:disabled){border-color:#cda65c61;transform:translateY(-2px);box-shadow:0 10px 24px #0000002e}.avatar-ring{position:relative;overflow:hidden}.avatar-ring img{object-fit:contain;object-position:top;width:145%;height:145%;animation:4.5s ease-in-out infinite portraitIdle;position:absolute;top:8%;left:50%;transform:translate(-50%)}.avatar-ring span{z-index:2;background:#0b1714;border:1px solid #cda65c80;border-radius:50%;place-items:center;width:18px;height:18px;font-size:9px;display:grid;position:absolute;bottom:-2px;right:-2px}.meter i,.bounty-progress i,.bond-card>i em,.faction-meter i{transition:width .45s cubic-bezier(.2,.8,.2,1)}.open-system-button{text-align:left;cursor:pointer;background:linear-gradient(100deg,#306f5f1f,#cda65c0a);border:1px solid #60bda833;grid-template-columns:36px 1fr auto;align-items:center;gap:9px;width:100%;min-height:60px;margin-top:11px;padding:9px;display:grid;overflow:hidden}.open-system-button:hover{border-color:#cda65c66;transform:translateY(-2px)}.open-system-button>span{width:34px;height:34px;color:var(--gold);border:1px solid #cda65c66;place-items:center;display:grid}.open-system-button p{flex-direction:column;margin:0;display:flex}.open-system-button b{color:#d9cfb9;font-size:10px}.open-system-button small{color:#70847a;margin-top:2px;font-size:8px}.open-system-button strong{color:var(--gold)}.open-system-button.compact{min-height:54px;margin-top:10px}.bond-card{cursor:default;min-height:0;padding:0 7px 8px;display:block}.bond-main{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:42px 1fr auto;align-items:center;gap:8px;width:100%;min-height:58px;padding:6px 0;display:grid}.bond-seal{width:40px;height:40px;position:relative;overflow:hidden}.bond-seal img{object-fit:contain;object-position:top center;width:145%;height:145%;transition:transform .25s;transform:translateY(6%)}.bond-main:hover .bond-seal img{transform:translateY(2%)scale(1.04)}.bond-card>i{bottom:30px;left:50px;right:7px}.bond-actions{justify-content:flex-end;align-items:center;gap:5px;min-height:24px;padding-top:4px;display:flex}.bond-actions>span{color:#6f8379;margin-right:auto;font-size:8px}.bond-actions button{color:#7e9187;cursor:pointer;background:#ffffff06;border:1px solid #ffffff14;min-height:24px;padding:3px 7px;font-size:7px}.bond-actions button.active{color:var(--gold);border-color:#cda65c57}.bond-actions button:disabled{opacity:.35}.postgame-progress{grid-template-columns:repeat(3,1fr);gap:5px;margin-top:7px;display:grid}.postgame-progress span{border:1px solid #ffffff0e;flex-direction:column;align-items:center;padding:7px 4px;display:flex}.postgame-progress b{color:#d0c4ab;font-size:10px}.postgame-progress small{color:#6e8178;font-size:7px}.turn-order{z-index:10;background:#050e0cc7;border:1px solid #cda65c2e;align-items:center;gap:5px;padding:4px 7px;display:flex;position:absolute;top:46px;left:50%;transform:translate(-50%);box-shadow:0 8px 26px #00000047}.turn-order>span{background:#0c1916;border:1px solid #ffffff14;place-items:center;width:42px;height:36px;display:grid;position:relative;overflow:hidden}.turn-order img{object-fit:contain;object-position:top;width:150%;height:150%;transform:translateY(14%)}.turn-order em{color:#c87e72;font-size:16px;font-style:normal}.turn-order b{color:#83968c;text-align:center;background:#040a09cc;font-size:6px;position:absolute;bottom:0;left:0;right:0}.turn-order .active{border-color:var(--gold);box-shadow:0 0 12px #cda65c29}.turn-order i{color:#6c7e76;font-size:8px;font-style:normal}.battle-grid{z-index:-1;transform-origin:bottom;opacity:.34;grid-template-columns:repeat(6,1fr);height:42%;display:grid;position:absolute;bottom:8%;left:9%;right:9%;transform:perspective(360px)rotateX(58deg)}.battle-grid i{background:linear-gradient(135deg,#60bda809,#0000);border:1px solid #60bda833;box-shadow:inset 0 0 12px #60bda806}.combat-actor{z-index:1;transform-origin:50% 100%;width:31%;height:72%;position:absolute;bottom:3%}.combat-actor img{object-fit:contain;object-position:bottom;filter:drop-shadow(0 18px 18px #0000009e);width:100%;height:100%}.combat-actor>span{filter:blur(7px);background:#00000085;border-radius:50%;height:6%;position:absolute;bottom:2%;left:20%;right:20%}.player-combat-actor{animation:3.4s ease-in-out infinite battleIdle;left:6%}.enemy-portrait-actor{animation:3.8s ease-in-out -.9s infinite reverse battleIdle;right:7%}.enemy-glyph{z-index:1;top:18%;right:24%}.enemy-aura{top:8%;right:10%}.enemy-card{z-index:3;text-align:left;background:linear-gradient(90deg,#040c0ae0,#040c0a8c);border-left:1px solid #cda65c42;width:min(330px,42%);margin:0;padding:9px 12px;position:absolute;bottom:2%;right:20%}.enemy-card h1{font-size:22px}.enemy-card>p{margin:0 0 8px}.status-row{justify-content:flex-start}.intent-card{z-index:6;width:145px;animation:.45s ease-out .25s both intentIn;top:22%;right:2.5%}.mobile-combat-hud{display:none}.combat-fx{z-index:20;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.combat-fx b{z-index:4;color:#f0e1b9;letter-spacing:.12em;background:#050c0bb8;border:1px solid #ecddb94d;margin-top:-18%;padding:6px 13px;font-size:13px;animation:.82s ease-out both fxLabel}.combat-fx strong{z-index:4;color:#fff1c7;text-shadow:0 2px 16px #d54c38bf;font:700 30px Georgia,serif;animation:.9s ease-out both damageFloat;position:absolute;top:32%;right:27%}.fx-ring{border:2px solid #60bda8ad;border-radius:50%;width:170px;height:170px;animation:.65s ease-out both fxRing;position:absolute}.fx-slash{filter:drop-shadow(0 0 8px #c7efe0e6);background:linear-gradient(90deg,#0000,#ecf9ef 35%,#d3b56f 55%,#0000);width:54%;height:4px;animation:.48s cubic-bezier(.1,.82,.2,1) both fxSlash;position:absolute;transform:rotate(-18deg)}.fx-sparks{border-radius:50%;width:12px;height:12px;animation:.7s ease-out both fxSparks;position:absolute;box-shadow:48px -32px #e6d099,-42px 19px #7bd4c0,70px 22px #fff0c2,-68px -25px #b6efe2,15px 55px #eaa070,-10px -58px #a8dae5}.fx-frost .fx-ring{border-color:#96e8f4;box-shadow:0 0 50px #5ccee64d,inset 0 0 35px #5ccee633}.fx-frost .fx-slash{background:linear-gradient(90deg,#0000,#d9fbff,#0000);transform:rotate(-8deg)}.fx-flame .fx-ring{border-color:#e47a58;box-shadow:0 0 60px #e55b3652,inset 0 0 35px #e55b3638}.fx-flame .fx-slash{background:linear-gradient(90deg,#0000,#ffef9b,#eb6b43,#0000)}.fx-heal .fx-ring{border-color:#77d9a7;box-shadow:0 0 55px #53c98947}.fx-heal .fx-slash{display:none}.fx-wind .fx-ring{border-style:dashed;animation-duration:.8s}.fx-duality .fx-ring,.fx-resonance .fx-ring{border-color:#d3b565;box-shadow:0 0 65px #60bda84d,inset 0 0 40px #cda65c3d}.fx-resonance:before{content:"陰陽逆脈";color:#fff0bd;letter-spacing:.25em;text-shadow:0 0 25px #cda65c73;font-size:34px;animation:.8s ease-out both resonanceBurst;position:absolute}.fx-scene-sword .player-combat-actor,.fx-scene-flame .player-combat-actor,.fx-scene-frost .player-combat-actor,.fx-scene-duality .player-combat-actor,.fx-scene-resonance .player-combat-actor{animation:.72s cubic-bezier(.16,.82,.2,1) both playerLunge}.fx-scene-sword .enemy-portrait-actor,.fx-scene-flame .enemy-portrait-actor,.fx-scene-frost .enemy-portrait-actor,.fx-scene-duality .enemy-portrait-actor,.fx-scene-resonance .enemy-portrait-actor,.fx-scene-sword .enemy-glyph,.fx-scene-flame .enemy-glyph,.fx-scene-frost .enemy-glyph,.fx-scene-duality .enemy-glyph,.fx-scene-resonance .enemy-glyph{animation:.68s ease-out .22s both enemyHit}.fx-scene-enemy .enemy-portrait-actor,.fx-scene-enemy .enemy-glyph{animation:.7s ease-out both enemyLunge}.fx-scene-enemy .player-combat-actor{animation:.65s ease-out .22s both playerHit}.combat-skill{overflow:hidden}.combat-skill:before{content:"";background:radial-gradient(circle,#60bda833,#0000 66%);border-radius:50%;height:95%;transition:transform .24s;position:absolute;inset:auto -20% -85% 20%}.combat-skill:hover:not(:disabled):before{transform:translate(-10%,-22%)scale(1.2)}.combat-skill.accent-red:hover,.combat-skill.accent-gold:hover{border-color:#e07e5b73}.combat-skill.accent-blue:hover,.combat-skill.accent-cyan:hover{border-color:#7acde180}.combat-skill.accent-violet:hover{border-color:#a882d985}.system-backdrop{z-index:130;background:#020707e6;animation:.24s ease-out both backdropIn}.system-overlay{background:linear-gradient(145deg,#0f1e1b,#07110f);border:1px solid #cda65c59;flex-direction:column;width:min(1080px,100vw - 32px);max-height:calc(100dvh - 32px);animation:.48s cubic-bezier(.18,.8,.2,1) both systemOpen;display:flex;overflow:hidden;box-shadow:0 32px 110px #000000b8}.system-header{border-bottom:1px solid var(--line);background:linear-gradient(90deg,#60bda80f,#0000);flex:none;justify-content:space-between;align-items:center;gap:20px;min-height:96px;padding:14px 20px;display:flex}.system-header>div:first-child{align-items:center;gap:13px;display:flex}.system-header .modal-seal{margin:0}.system-header p{flex-direction:column;margin:0;display:flex}.system-header small{color:var(--jade);letter-spacing:.18em;font-size:9px}.system-header h2{color:#e9dec6;letter-spacing:.12em;margin:2px 0;font-size:24px;font-weight:500}.system-header em{color:#74877e;font-size:9px;font-style:normal}.system-resources{align-items:center;gap:8px;display:flex}.system-resources span{color:#809088;border:1px solid #ffffff12;padding:8px 10px;font-size:9px}.system-resources b{color:var(--gold-soft);font-size:12px}.system-resources button{color:#c9b98f;cursor:pointer;background:#ffffff06;border:1px solid #cda65c4d;width:38px;height:38px;font-size:20px}.system-subnav{border-bottom:1px solid var(--line);background:#091512;flex:none;grid-template-columns:repeat(6,1fr);display:grid}.system-subnav button{color:#71847a;cursor:pointer;background:0 0;border:0;border-right:1px solid #ffffff0d;justify-content:center;align-items:center;gap:6px;min-height:58px;display:flex}.system-subnav button span{border:1px solid #ffffff1a;place-items:center;width:25px;height:25px;display:grid}.system-subnav button b{font-size:9px;font-weight:500}.system-subnav button.active{color:var(--gold-soft);box-shadow:inset 0 -2px var(--gold);background:#cda65c0e}.system-subnav button.active span{border-color:#cda65c73}.tree-viewport{overscroll-behavior:contain;flex:1;min-height:0;padding:22px;overflow:auto}.skill-branch{grid-template-columns:repeat(4,minmax(175px,1fr));gap:18px 20px;display:grid}.skill-node{min-height:188px;animation:nodeIn .45s var(--node-delay) ease-out both;background:linear-gradient(145deg,#ffffff06,#ffffff03);border:1px solid #ffffff13;flex-direction:column;padding:12px;display:flex;position:relative}.skill-node.available{border-color:#60bda845;box-shadow:inset 0 0 24px #60bda806}.skill-node.learned{background:linear-gradient(145deg,#cda65c11,#60bda809);border-color:#cda65c57}.skill-node.locked{opacity:.58;filter:saturate(.7)}.skill-node header{grid-template-columns:27px 1fr auto;align-items:center;gap:7px;display:grid}.skill-node header>span{color:#a99160;border:1px solid #cda65c45;place-items:center;width:26px;height:26px;font:8px Arial,sans-serif;display:grid}.skill-node header p{flex-direction:column;margin:0;display:flex}.skill-node header b{color:#d9cfb9;font-size:11px}.skill-node header small{color:#708279;font-size:8px}.skill-node header em{color:#6f8078;font-size:7px;font-style:normal}.skill-node>p{color:#899890;margin:12px 0;font-size:9px;line-height:1.65}.skill-node footer{margin-top:auto}.skill-node footer button{color:#b9d3ca;cursor:pointer;background:#60bda80e;border:1px solid #60bda833;width:100%;min-height:34px;font-size:8px}.skill-node footer button.equipped{color:var(--gold-soft);background:#cda65c12;border-color:#cda65c59}.skill-node footer button:disabled{opacity:.55}.node-line{background:linear-gradient(90deg,#cda65c47,#0000);width:20px;height:1px;position:absolute;top:50%;right:-21px}.skill-node:nth-child(4n) .node-line,.skill-node:last-child .node-line{display:none}.system-footer{border-top:1px solid var(--line);color:#71827a;flex:none;justify-content:space-between;gap:20px;padding:10px 20px;font-size:8px;display:flex}.system-footer b{color:#9b8e71;font-weight:500}.faction-grid{grid-template-columns:repeat(3,1fr);gap:11px;min-height:0;padding:18px;display:grid;overflow:auto}.faction-card{min-height:190px;animation:nodeIn .45s var(--node-delay) ease-out both;background:#ffffff05;border:1px solid #ffffff13;padding:13px}.faction-card header{grid-template-columns:38px 1fr auto;align-items:center;gap:8px;display:grid}.faction-card header>span{width:36px;height:36px;color:var(--gold);border:1px solid #cda65c57;place-items:center;display:grid}.faction-card header p{flex-direction:column;margin:0;display:flex}.faction-card header b{color:#d9cfb9;font-size:12px}.faction-card header small,.faction-card header em{color:#75877e;font-size:8px;font-style:normal}.faction-card blockquote{color:#99a69f;margin:13px 0;font-size:9px;line-height:1.55}.faction-card>p{color:#778a81;margin:8px 0;font-size:8px}.faction-meter{background:#ffffff0d;height:4px}.faction-meter i{background:linear-gradient(90deg,var(--jade),var(--gold));height:100%;display:block}.faction-card footer{color:#71837a;border-top:1px solid #ffffff0d;justify-content:space-between;padding-top:9px;font-size:8px;display:flex}.faction-card footer b{color:#a9966d;font-weight:500}.modal-backdrop{animation:.25s ease-out both backdropIn}.story-modal{animation:.48s cubic-bezier(.18,.8,.2,1) both modalInkIn}.story-modal.has-dialogue-portrait{width:100%;min-height:0;max-height:none;box-shadow:none;text-align:left;isolation:isolate;background:0 0;border:0;padding:0;animation:.3s ease-out both dialogueStageIn;position:fixed;inset:0;overflow:hidden}.story-modal.has-dialogue-portrait:before{z-index:0;background:radial-gradient(circle at 50% 30%,#0000 0 22%,#0208072e 58%,#01050594),repeating-linear-gradient(112deg,#0000 0 74px,#e5d09b05 75px 76px);border:0;inset:0}.dialogue-figure{z-index:1;bottom:max(0px,env(safe-area-inset-bottom));pointer-events:none;transform-origin:50% 100%;will-change:transform,filter,opacity;width:clamp(330px,33vw,590px);height:min(89dvh,940px);transition:filter .22s,opacity .22s,transform .22s;position:absolute}.dialogue-figure.left{left:max(-3vw,calc(env(safe-area-inset-left) - 42px));animation:.42s cubic-bezier(.18,.82,.2,1) both figureEnterLeft}.dialogue-figure.right{right:max(-3vw,calc(env(safe-area-inset-right) - 42px));animation:.42s cubic-bezier(.18,.82,.2,1) both figureEnterRight}.dialogue-figure img{z-index:2;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 28px 28px #0000009e);width:100%;height:100%;animation:5.2s ease-in-out .48s infinite dialogueFigureBreathe;position:relative}.dialogue-figure.active{opacity:1;filter:brightness(1.08)saturate(1.04);transform:translateY(-7px)scale(1)}.dialogue-figure.listening{opacity:.79;filter:brightness(.54)saturate(.62);transform:translateY(6px)scale(.972)}.dialogue-figure.listening img{animation-play-state:paused}.dialogue-figure-aura{z-index:0;aspect-ratio:1;opacity:.12;background:radial-gradient(circle,#60bda821,#0000 62%);border:1px solid #cda65c2e;border-radius:50%;width:78%;transition:opacity .22s;position:absolute;bottom:13%;left:50%;transform:translate(-50%);box-shadow:0 0 85px #60bda81f,inset 0 0 52px #cda65c0d}.dialogue-figure.active .dialogue-figure-aura{opacity:1;animation:5.2s ease-in-out infinite dialogueAura}.dialogue-figure-shadow{z-index:0;filter:blur(15px);background:#000000a3;border-radius:50%;height:5%;position:absolute;bottom:1.5%;left:13%;right:13%}.dialogue-figure-fallback{z-index:2;background:radial-gradient(circle at 50% 24%,#6884774d,#081311eb 52%,#050b0a);border:1px solid #cda65c3d;border-radius:48% 48% 16% 16%/30% 30% 10% 10%;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:9% 12% 0;box-shadow:0 28px 40px #0000007a}.dialogue-figure-fallback b{color:#d8c28f;border:1px solid #cda65c5c;border-radius:50%;place-items:center;width:84px;height:84px;font-size:38px;font-weight:400;display:grid}.dialogue-figure-fallback small{color:#a9bcb3;letter-spacing:.18em;margin-top:14px;font-size:14px}.has-dialogue-portrait .dialogue-copy{z-index:5;left:50%;bottom:max(4.5dvh,calc(env(safe-area-inset-bottom) + 18px));-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);scrollbar-width:thin;scrollbar-color:#cda65c73 transparent;background:linear-gradient(145deg,#0f1f1bf7,#050e0cf6);border:1px solid #ddc18185;width:min(58vw,860px);max-height:min(51dvh,500px);padding:clamp(22px,2.4vw,34px) clamp(24px,3vw,42px);animation:.42s cubic-bezier(.18,.82,.2,1) .1s both dialogueScrollIn;position:absolute;overflow-y:auto;transform:translate(-50%);box-shadow:0 26px 90px #000000ad,inset 0 0 52px #6fb2970b,0 0 0 7px #050d0b94}.has-dialogue-portrait .dialogue-copy:before,.has-dialogue-portrait .dialogue-copy:after{content:"";pointer-events:none;border-color:#ebd09194;width:34px;height:34px;position:absolute}.has-dialogue-portrait .dialogue-copy:before{border-top:1px solid;border-left:1px solid;top:8px;left:8px}.has-dialogue-portrait .dialogue-copy:after{border-bottom:1px solid;border-right:1px solid;bottom:8px;right:8px}.has-dialogue-portrait .modal-seal{width:42px;height:42px;margin:0;position:absolute;top:clamp(18px,2.2vw,30px);right:clamp(20px,2.8vw,38px)}.has-dialogue-portrait .modal-eyebrow{color:#77bda9;font-size:10px}.has-dialogue-portrait h2{max-width:calc(100% - 66px);margin:7px 0 0;font-size:clamp(19px,1.55vw,26px)}.has-dialogue-portrait .modal-divider{justify-content:flex-start;margin:9px 0}.has-dialogue-portrait .modal-text{color:#c3cbc3;text-shadow:0 1px 5px #000000d1;margin:0 0 14px;font-size:clamp(13px,1vw,17px);line-height:1.75}.has-dialogue-portrait .choice-list{gap:7px;max-height:216px;padding-right:3px;overflow-y:auto}.has-dialogue-portrait .choice-button{background:linear-gradient(90deg,#ffffff09,#ffffff05);min-height:54px}.choice-button{overflow:hidden}.choice-button:after{content:"";background:linear-gradient(90deg,#0000,#60bda81f,#0000);width:18%;transition:left .45s;position:absolute;inset:0 auto 0 -22%;transform:skew(-18deg)}.choice-button:hover:after{left:112%}.choice-button:hover strong{transform:translate(3px)}.choice-button strong{transition:transform .18s}.cinematic-backdrop{-webkit-backdrop-filter:blur(2px)saturate(.82);backdrop-filter:blur(2px)saturate(.82);background:linear-gradient(#0107065c,#010605a8)}.letterbox{z-index:155;pointer-events:none;background:#010303;height:5.2vh;animation:.45s ease-out both letterboxIn;position:fixed;left:0;right:0}.letterbox.top{top:0}.letterbox.bottom{bottom:0}.cinematic-backdrop .story-modal{z-index:145}.settings-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:14px;display:flex}.settings-actions>button:first-child{color:#b7cec5;cursor:pointer;background:#60bda80f;border:1px solid #60bda840;min-height:36px;padding:7px 12px;font-size:9px}.settings-actions .danger-link{margin:0}.toast{animation:.3s cubic-bezier(.18,.8,.2,1) both toastIn}.speaker-name{color:#d8ccb1;align-items:center;gap:8px;margin:0 0 10px;animation:.42s ease-out .12s both speakerLand;display:flex}.speaker-name span{color:var(--jade);letter-spacing:.16em;border:1px solid #60bda84d;padding:2px 5px;font-size:7px}.speaker-name b{letter-spacing:.15em;font-size:12px;font-weight:500}.speaker-name i{background:linear-gradient(90deg,#cda65c61,#0000);flex:1;height:1px}.has-dialogue-portrait[data-speaker-side=right] .speaker-name{flex-direction:row-reverse}.has-dialogue-portrait[data-speaker-side=right] .speaker-name i{background:linear-gradient(270deg,#cda65c61,#0000)}.has-dialogue-portrait .modal-eyebrow{animation:.42s ease-out .12s both dialogueLineIn}.has-dialogue-portrait h2{animation:.46s ease-out .17s both dialogueLineIn}.has-dialogue-portrait .modal-divider{animation:.46s ease-out .21s both dialogueLineIn}.has-dialogue-portrait .modal-text{animation:.68s cubic-bezier(.2,.75,.2,1) .22s both dialogueReveal}.choice-button{opacity:0;animation:choiceRise .42s var(--choice-delay,.26s) cubic-bezier(.2,.8,.2,1) forwards}.impact-stage{animation:.62s ease-out both battleStageImpact}.impact-stage:after{content:"";z-index:30;pointer-events:none;opacity:0;background:radial-gradient(circle at 62% 44%,#fff5d380,#0000 26%);animation:.5s ease-out .16s both impactFlash;position:absolute;inset:0}.impact-stage.impact-heal:after,.impact-stage.impact-guard:after,.impact-stage.impact-self:after{background:radial-gradient(circle at 28% 48%,#75e5b161,#0000 29%)}.impact-stage.impact-enemy:after{background:radial-gradient(circle at 27% 47%,#ea6f5575,#0000 28%)}.fx-scene-wind.fx-target-enemy .player-combat-actor{animation:.72s cubic-bezier(.16,.82,.2,1) both playerLunge}.fx-scene-wind.fx-target-enemy .enemy-portrait-actor,.fx-scene-wind.fx-target-enemy .enemy-glyph{animation:.68s ease-out .22s both enemyHit}.fx-scene-wind.fx-target-self .player-combat-actor,.fx-scene-heal .player-combat-actor,.fx-scene-guard .enemy-portrait-actor,.fx-scene-guard .enemy-glyph{animation:.76s ease-out both healingRise}.fx-guard .fx-slash{display:none}.fx-guard .fx-ring{border-color:#e4c579;box-shadow:0 0 54px #cda65c40,inset 0 0 32px #cda65c29}@media (width<=980px) and (width>=861px){.game-shell{padding-bottom:0;overflow:auto}.game-body{flex-direction:column;height:auto;display:flex}.stage-panel{order:0;min-height:640px;overflow:visible}.world-view,.combat-view{min-height:640px}.map-panel{border:0;border-block:1px solid var(--line);order:1;padding:12px;overflow:auto hidden}.panel-heading,.map-legend{display:none}.location-list{gap:6px;padding:0;display:flex}.location-card{border:1px solid #ffffff0f;flex:0 0 150px;min-height:54px;padding:6px}.map-line{display:none}.info-panel{border:0;order:2;min-height:540px}.world-content{width:calc(100% - 34px)}.skill-bar{grid-template-columns:repeat(5,minmax(90px,1fr))}}@media (width<=860px){.title-card{animation-duration:.55s}.save-slot-grid{gap:5px}.save-slot-card{min-height:72px;padding:7px}.save-slot-card em{display:none}.scene-wipe{inset:56px 0 60px}.game-shell[data-tab]:not([data-tab=journey])[data-screen=world] .stage-panel,.game-shell[data-tab]:not([data-tab=journey])[data-screen=world] .map-panel,.game-shell[data-tab]:not([data-tab=journey])[data-screen=world] .character-card{display:none}.game-shell[data-tab]:not([data-tab=journey])[data-screen=world] .info-panel,.game-shell[data-tab]:not([data-tab=journey])[data-screen=world] .tab-content{min-height:calc(100dvh - 116px)}.actor-stage{inset:10% 0 0}.actor{width:230px;height:66%;bottom:-5%}.protagonist-actor{left:-7%}.companion-actor{left:19%}.actor-name{display:none}.world-content{z-index:3}.world-gradient{background:linear-gradient(#040b0a4d,#040b0a6b 28%,#040b0af5)}.character-card{grid-template-columns:40px 1fr}.avatar-ring img{width:150%;height:150%}.side-section{font-size:12px}.section-help,.journal-item p,.quest-card p{font-size:11px}.martial-item b,.bond-copy b,.bounty-item p b{font-size:12px}.martial-item small,.bond-copy small,.bounty-item p small{font-size:10px}.bounty-item footer button,.bond-actions button{min-width:52px;min-height:40px;font-size:9px}.turn-order{top:45px}.combat-actor{width:40%;height:58%;bottom:12%}.player-combat-actor{left:-4%}.enemy-portrait-actor{right:-2%}.enemy-card{width:auto;bottom:2%;left:8%;right:8%}.enemy-card>p{display:none}.intent-card{z-index:12;top:76px}.mobile-combat-hud{z-index:12;background:#050d0cd1;border:1px solid #60bda838;flex-direction:column;gap:3px;padding:7px;display:flex;position:absolute;top:76px;left:8px}.mobile-combat-hud span{color:#80938a;font-size:8px}.mobile-combat-hud b{color:#d5cbb6}.skill-bar .end-turn{z-index:6;position:sticky;right:0;box-shadow:-12px 0 18px #050d0ce0}.toast{bottom:calc(72px + env(safe-area-inset-bottom))}.system-backdrop{place-items:stretch stretch;padding:0}.system-overlay{inset:56px 0 calc(60px + env(safe-area-inset-bottom));border-inline:0;width:auto;max-height:none;position:fixed}.system-header{min-height:76px;padding:10px 12px}.system-header h2{font-size:18px}.system-header em,.system-resources span{display:none}.system-subnav{grid-template-columns:repeat(6,minmax(80px,1fr));overflow-x:auto}.system-subnav button{min-height:48px}.system-subnav button b{white-space:nowrap}.tree-viewport{padding:12px}.skill-branch{grid-template-columns:repeat(2,minmax(160px,1fr));gap:10px}.skill-node{min-height:175px}.node-line{display:none}.faction-grid{grid-template-columns:repeat(2,1fr);padding:10px}.system-footer{display:none}.story-modal.has-dialogue-portrait{width:100%;min-height:0;max-height:none;padding:0;position:fixed;inset:0}.dialogue-figure{width:clamp(210px,36vw,330px);height:min(89dvh,660px)}.dialogue-figure.left{left:max(-6vw,calc(env(safe-area-inset-left) - 36px))}.dialogue-figure.right{right:max(-6vw,calc(env(safe-area-inset-right) - 36px))}.has-dialogue-portrait .dialogue-copy{width:min(66vw,620px);max-height:57dvh;bottom:max(3dvh,calc(env(safe-area-inset-bottom) + 10px));padding:18px 22px}.has-dialogue-portrait .modal-seal{margin:0;top:18px;right:20px}.has-dialogue-portrait .modal-divider{justify-content:flex-start}.has-dialogue-portrait .modal-text{text-shadow:0 1px 5px #020706;font-size:12px}.letterbox{height:4vh}}@media (width<=520px){.save-slot-card b{font-size:9px}.save-slot-card small{font-size:7px}.save-slot-heading{margin-top:12px}.origin-grid{gap:6px}.origin-card{min-height:76px}.feature-pills{margin-bottom:12px}.actor{width:205px;height:60%}.protagonist-actor{left:-18%}.companion-actor{left:12%}.world-content{background:linear-gradient(#0000,#040b0a40)}.turn-order{transform-origin:top;transform:translate(-50%)scale(.88)}.combat-actor{width:47%;height:50%;bottom:18%}.enemy-card{bottom:3%}.combat-fx strong{top:30%;right:18%}.fx-resonance:before{font-size:23px}.skill-branch,.faction-grid{grid-template-columns:1fr}.system-subnav{justify-content:start}.system-subnav button{min-width:86px}.system-header .modal-seal{width:34px;height:34px;font-size:15px}.system-header h2{font-size:16px}.system-resources button{width:34px;height:34px}.postgame-progress small{font-size:6px}.bond-actions>span{font-size:7px}}@keyframes titleCardIn{0%{opacity:0;filter:blur(8px);transform:translateY(24px)scale(.985)}to{opacity:1;filter:none;transform:none}}@keyframes titleWorldDrift{0%{background-position:47%}to{background-position:53% 47%}}@keyframes titleInkIn{0%{opacity:0;letter-spacing:.42em;filter:blur(9px)}to{opacity:1;letter-spacing:.18em;filter:none}}@keyframes titleSlash{0%{opacity:0;transform:rotate(-17deg)scaleX(0)}12%{opacity:1}62%{opacity:1;transform:rotate(-17deg)scaleX(1)}to{opacity:0;transform:rotate(-17deg)translate(35%)scaleX(1)}}@keyframes moteDrift{0%{opacity:0;transform:translateY(12vh)rotate(0)}15%{opacity:.55}85%{opacity:.25}to{opacity:0;transform:translate(8vw,-34vh)rotate(260deg)}}@keyframes wipeLayer{0%,82%{visibility:visible}to{visibility:hidden}}@keyframes inkCurtain{0%{transform:scaleX(1)}28%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes swordWipe{0%{opacity:0;transform:translate(-120%)}38%{opacity:1}to{opacity:0;transform:translate(120%)}}@keyframes wipeSeal{0%{opacity:0;transform:translate(-50%,-50%)rotate(45deg)scale(.4)}25%{opacity:1;transform:translate(-50%,-50%)rotate(45deg)scale(1)}68%{opacity:1}to{opacity:0;transform:translate(-50%,-50%)rotate(135deg)scale(.82)}}@keyframes panelInkIn{0%{opacity:0;filter:blur(3px);transform:translateY(8px)}to{opacity:1;filter:none;transform:none}}@keyframes markerPulse{0%,to{box-shadow:0 0 10px #cda65c14}50%{box-shadow:0 0 24px #cda65c4d}}@keyframes routeFlow{0%{opacity:0;transform:translateY(-12px)}40%{opacity:1}to{opacity:0;transform:translateY(14px)}}@keyframes cloudDrift{0%{transform:translate(-3%)scale(1)}to{transform:translate(18%,5%)scale(1.16)}}@keyframes actorEnter{0%{opacity:0;filter:blur(7px);transform:translate(-45px)translateY(12px)scale(.94)}to{opacity:1;filter:none;transform:none}}@keyframes companionEnter{0%{opacity:0;filter:blur(7px);transform:translate(45px)translateY(12px)scale(.94)}to{opacity:1;filter:none;transform:none}}@keyframes actorBreathe{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-5px)scale(1.008)}}@keyframes shadowBreathe{0%,to{opacity:.6;transform:scaleX(1)}50%{opacity:.48;transform:scaleX(.94)}}@keyframes worldCopyIn{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:none}}@keyframes inkRipple{0%{opacity:.5;transform:translate(-50%,-50%)scale(0)}to{opacity:0;transform:translate(-50%,-50%)scale(18)}}@keyframes portraitIdle{0%,to{transform:translate(-50%)translateY(0)scale(1)}50%{transform:translate(-50%)translateY(-1px)scale(1.015)}}@keyframes battleIdle{0%,to{transform:translateY(0)rotate(.2deg)}50%{transform:translateY(-5px)rotate(-.3deg)}}@keyframes intentIn{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:none}}@keyframes fxRing{0%{opacity:0;transform:scale(.18)rotate(-35deg)}45%{opacity:1}to{opacity:0;transform:scale(2.3)rotate(90deg)}}@keyframes fxSlash{0%{opacity:0;transform:translate(-80%)rotate(-18deg)scaleX(.15)}28%{opacity:1}to{opacity:0;transform:translate(70%)rotate(-18deg)scaleX(1.25)}}@keyframes fxSparks{0%{opacity:0;transform:scale(.25)rotate(0)}35%{opacity:1}to{opacity:0;transform:scale(2.9)rotate(120deg)}}@keyframes fxLabel{0%{opacity:0;transform:translateY(14px)scale(.85)}28%,65%{opacity:1;transform:none}to{opacity:0;transform:translateY(-8px)}}@keyframes damageFloat{0%{opacity:0;transform:translateY(18px)scale(.7)}25%{opacity:1;transform:translateY(0)scale(1.15)}to{opacity:0;transform:translateY(-34px)scale(.95)}}@keyframes resonanceBurst{0%{opacity:0;filter:blur(8px);transform:scale(2)}35%{opacity:1;filter:none;transform:scale(1)}to{opacity:0;transform:scale(.88)}}@keyframes playerLunge{0%{transform:translate(0)}28%{transform:translate(-8%)}50%{transform:translate(95%)scale(1.04)}72%{transform:translate(86%)}to{transform:translate(0)}}@keyframes enemyHit{0%,30%{filter:none;transform:translate(0)}42%{filter:brightness(2);transform:translate(9px)}52%{transform:translate(-8px)}63%{transform:translate(5px)}to{filter:none;transform:none}}@keyframes enemyLunge{0%{transform:translate(0)}40%{transform:translate(-88%)scale(1.03)}62%{transform:translate(-82%)}to{transform:translate(0)}}@keyframes playerHit{0%,30%{filter:none;transform:translate(0)}44%{filter:brightness(1.8)sepia(.5);transform:translate(-10px)}58%{transform:translate(7px)}to{filter:none;transform:none}}@keyframes backdropIn{0%{opacity:0}to{opacity:1}}@keyframes systemOpen{0%{opacity:0;filter:blur(5px);transform:translateY(20px)scale(.98)}to{opacity:1;filter:none;transform:none}}@keyframes nodeIn{0%{opacity:0;transform:translateY(11px)}to{opacity:1;transform:none}}@keyframes modalInkIn{0%{opacity:0;filter:blur(6px);transform:translateY(16px)scale(.98)}to{opacity:1;filter:none;transform:none}}@keyframes dialogueStageIn{0%{opacity:0}to{opacity:1}}@keyframes figureEnterLeft{0%{opacity:0;transform:translate(-54px)translateY(10px)scale(.97)}to{opacity:1}}@keyframes figureEnterRight{0%{opacity:0;transform:translate(54px)translateY(10px)scale(.97)}to{opacity:1}}@keyframes dialogueScrollIn{0%{opacity:0;filter:blur(5px);transform:translate(-50%,18px)scale(.985)}to{opacity:1;filter:none;transform:translate(-50%)}}@keyframes dialogueFigureBreathe{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-3px)scale(1.006)}}@keyframes dialogueAura{50%{opacity:.72;transform:translate(-50%)scale(1.045)rotate(2deg)}}@keyframes portraitEnter{0%{opacity:0;filter:blur(5px);transform:translate(-36px)scale(.97)}to{opacity:1;filter:none;transform:none}}@keyframes portraitBreathe{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-4px)scale(1.006)}}@keyframes letterboxIn{0%{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,12px)scale(.96)}to{opacity:1;transform:translate(-50%)scale(1)}}@keyframes speakerLand{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:none}}@keyframes dialogueLineIn{0%{opacity:0;filter:blur(3px);transform:translate(14px)}to{opacity:1;filter:none;transform:none}}@keyframes dialogueReveal{0%{opacity:0;clip-path:inset(0 100% 0 0);transform:translateY(6px)}to{opacity:1;clip-path:inset(0);transform:none}}@keyframes choiceRise{0%{opacity:0;transform:translateY(11px)}to{opacity:1;transform:none}}@keyframes portraitHalo{50%{opacity:.72;transform:translate(-50%)scale(1.045)rotate(3deg)}}@keyframes portraitLight{0%,68%{opacity:0;transform:translate(-110%)}78%{opacity:.65}to{opacity:0;transform:translate(110%)}}@keyframes battleStageImpact{0%,31%,to{transform:translate(0)}36%{transform:translate(-3px,1px)}43%{transform:translate(4px,-1px)}50%{transform:translate(-2px)}59%{transform:translate(2px,1px)}}@keyframes impactFlash{0%,28%{opacity:0}38%{opacity:.75}to{opacity:0}}@keyframes healingRise{0%,to{transform:translateY(0)}36%{filter:brightness(1.32);transform:translateY(-8px)scale(1.025)}72%{filter:brightness(1.08);transform:translateY(-3px)}}.companion-combat-actor{z-index:0;opacity:.84;width:25%;height:61%;animation:4.1s ease-in-out -.6s infinite reverse battleIdle;bottom:5%;left:27%}.companion-combat-actor img{filter:drop-shadow(0 15px 16px #0000008f)saturate(.9)}.companion-combat-actor>em{color:#a9c9bf;white-space:nowrap;background:#050d0cc2;border:1px solid #60bda847;padding:3px 7px;font-size:7px;font-style:normal;position:absolute;bottom:3%;left:50%;transform:translate(-50%)}.turn-order .assist-ready{border-color:#60bda894;box-shadow:0 0 14px #60bda82e}.turn-order .intent-broken{filter:grayscale(.55);border-color:#cda65c80}.turn-order .intent-broken:after{content:"";background:#d5ba74;height:1px;position:absolute;top:50%;left:3px;right:3px;transform:rotate(-12deg)}.enemy-trait{text-align:left;background:#cda65c09;border:1px solid #cda65c1f;grid-template-columns:auto auto 1fr;align-items:center;gap:5px;min-height:27px;margin:0 0 7px;padding:4px 6px;display:grid}.enemy-trait>span{color:#897b60;letter-spacing:.12em;font-size:6px}.enemy-trait b{color:#c2b18a;font-size:8px;font-weight:500}.enemy-trait small{color:#6f7e77;white-space:nowrap;text-overflow:ellipsis;font-size:7px;overflow:hidden}.enemy-poise-label{color:#7f8f87;justify-content:space-between;margin-top:5px;font-size:7px;display:flex}.enemy-poise-label b{color:#aa9b7a;font-weight:500}.poise-meter{height:4px;margin-top:3px}.poise-meter i{background:linear-gradient(90deg,#b4985c,#dfc47d)}.poise-meter.broken{box-shadow:0 0 12px #cda65c59}.poise-meter.broken i{background:linear-gradient(90deg,#0000,#e0c77e,#0000);animation:.8s ease-in-out infinite brokenPulse;width:100%!important}.intent-card.interrupted{background:#2c2312c7;border-color:#cda65c75}.intent-card.interrupted b,.intent-card.interrupted em{color:#e1c87f}.stance-row{grid-template-columns:auto repeat(3,minmax(120px,1fr)) auto;align-items:stretch;gap:5px;min-height:46px;margin:0 0 7px;display:grid}.stance-row>span{color:#a9956d;letter-spacing:.14em;border:1px solid #cda65c2e;place-items:center;padding:0 8px;font-size:8px;display:grid}.stance-row button{text-align:left;cursor:pointer;background:#ffffff05;border:1px solid #ffffff12;flex-direction:column;justify-content:center;min-height:42px;padding:5px 8px;display:flex}.stance-row button b{color:#9eada5;font-size:8px;font-weight:500}.stance-row button small{color:#61736a;margin-top:2px;font-size:6px}.stance-row button.active{box-shadow:inset 0 -2px var(--jade);background:#60bda812;border-color:#60bda861}.stance-row button.active b{color:#c7ddd5}.stance-row button:disabled:not(.active){opacity:.42}.stance-row>em{color:#6f8178;white-space:nowrap;align-self:center;font-size:7px;font-style:normal}.skill-bar{grid-template-columns:repeat(6,minmax(88px,1fr))}.companion-assist{background:linear-gradient(145deg,#265b4c80,#0c1b17db);border-color:#60bda847}.companion-assist:not(:disabled){box-shadow:inset 0 0 24px #60bda80d}.companion-assist:not(:disabled):hover{border-color:#cda65c73}.assist-mini{background:#0c1b17;border:1px solid #60bda857;border-radius:50%;width:27px;height:27px;position:absolute;top:5px;right:6px;overflow:hidden}.assist-mini img{object-fit:contain;object-position:top;width:150%;height:150%;transform:translate(-16%,8%)}.fx-source-player.fx-scene-sword .player-combat-actor,.fx-source-player.fx-scene-flame .player-combat-actor,.fx-source-player.fx-scene-frost .player-combat-actor,.fx-source-player.fx-scene-duality .player-combat-actor,.fx-source-player.fx-scene-resonance .player-combat-actor{animation:.72s cubic-bezier(.16,.82,.2,1) both playerLunge,3.4s ease-in-out .72s infinite battleIdle}.fx-source-companion .player-combat-actor{animation:3.4s ease-in-out infinite battleIdle}.fx-source-companion .companion-combat-actor{z-index:5;opacity:1;animation:.78s cubic-bezier(.16,.82,.2,1) both companionLunge,4.1s ease-in-out .78s infinite reverse battleIdle}.loadout-list{flex-direction:column;gap:6px;margin-bottom:9px;display:flex}.quest-lead{color:#e0c37e;background:#493415b8;border:1px solid #cda65c75;border-radius:50%;flex:none;place-items:center;width:21px;height:21px;font-size:8px;animation:2.4s ease-in-out infinite markerPulse;display:grid;box-shadow:0 0 13px #cda65c1f}.world-quest-list{flex-direction:column;gap:6px;display:flex}.world-quest-list article{background:linear-gradient(90deg,#cda65c0b,#0000);border:1px solid #cda65c21;grid-template-columns:36px 1fr;align-items:center;gap:8px;min-height:64px;padding:7px;display:grid}.world-quest-list article>span{color:#ccb476;border:1px solid #cda65c5c;place-items:center;width:34px;height:34px;font-size:11px;display:grid}.world-quest-list p{flex-direction:column;min-width:0;margin:0;display:flex}.world-quest-list b{color:#d4cab5;font-size:10px;font-weight:500}.world-quest-list small{color:#7a8d83;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:8px;overflow:hidden}.world-quest-list em{color:#9b8a64;margin-top:3px;font-size:7px;font-style:normal}.loadout-list article{background:linear-gradient(90deg,#cda65c09,#0000);border:1px solid #fff1;grid-template-columns:38px 1fr;align-items:center;gap:8px;min-height:58px;padding:7px;display:grid}.loadout-list article>span{color:#c1a96f;border:1px solid #cda65c57;place-items:center;width:36px;height:36px;display:grid}.loadout-list p{grid-template-columns:1fr auto;min-width:0;margin:0;display:grid}.loadout-list small{color:#6f8178;font-size:7px}.loadout-list b{color:#d0c6b1;font-size:10px;font-weight:500}.loadout-list em{color:#71837a;white-space:nowrap;text-overflow:ellipsis;grid-column:1/3;margin-top:2px;font-size:7px;font-style:normal;overflow:hidden}.equipment-open{margin:0 0 9px}.equipment-subnav{grid-template-columns:repeat(3,1fr)}.equipment-summary{border-bottom:1px solid var(--line);background:#cda65c06;flex:none;align-items:center;gap:10px;padding:8px 18px;display:flex}.equipment-summary>span{color:#9e8a61;letter-spacing:.14em;font-size:7px}.equipment-summary p{color:#87988f;margin:0;font-size:8px}.gear-grid{flex:1;grid-template-columns:repeat(3,1fr);gap:11px;min-height:0;padding:18px;display:grid;overflow:auto}.gear-card{min-height:246px;animation:nodeIn .45s var(--node-delay) ease-out both;background:linear-gradient(145deg,#ffffff07,#ffffff03);border:1px solid #ffffff12;flex-direction:column;padding:12px;display:flex}.gear-card.owned{border-color:#60bda833}.gear-card.equipped{border-color:#cda65c7a;box-shadow:inset 0 0 34px #cda65c0d}.gear-card.locked{opacity:.58;filter:saturate(.55)}.gear-card header{grid-template-columns:38px 1fr auto;align-items:center;gap:8px;display:grid}.gear-card header>span{color:#c7ab69;border:1px solid #cda65c4d;place-items:center;width:36px;height:36px;font-size:13px;display:grid}.gear-card header p{flex-direction:column;margin:0;display:flex}.gear-card header small{color:#708279;font-size:7px}.gear-card header b{color:#d9ceb7;margin-top:2px;font-size:11px;font-weight:500}.gear-card header em{color:#8e805f;font-size:7px;font-style:normal}.gear-card blockquote{color:#7f9087;min-height:56px;margin:12px 0 9px;font-size:8px;line-height:1.65}.gear-effect{background:#cda65c06;border:1px solid #cda65c1a;flex-direction:column;padding:8px;display:flex}.gear-effect span{color:#75694f;letter-spacing:.13em;font-size:6px}.gear-effect b{color:#b7a57d;margin-top:3px;font-size:9px;font-weight:500}.gear-effect small{color:#669b8b;margin-top:2px;font-size:7px}.gear-card footer{grid-template-columns:1fr 1.35fr;gap:5px;margin-top:auto;padding-top:10px;display:grid}.gear-card footer button{color:#a9c5bb;cursor:pointer;background:#60bda80d;border:1px solid #60bda838;min-height:34px;font-size:7px}.gear-card footer .forge-action{color:#bba87d;background:#cda65c0b;border-color:#cda65c38}.gear-card footer button:disabled{opacity:.36;cursor:default}.rarity-仙品 header>span{color:#c9a9e3;border-color:#b280e673;box-shadow:0 0 20px #b280e629}.rarity-絕品 header>span{color:#e0c37f;border-color:#cda65c8c}@media (width<=1180px){.skill-bar{grid-template-columns:repeat(3,minmax(100px,1fr))}}@media (width<=980px){.stance-row{grid-template-columns:auto repeat(3,minmax(104px,1fr))}.stance-row>em{display:none}.gear-grid{grid-template-columns:repeat(2,1fr);padding:12px}}@media (width<=860px){.game-shell[data-tab]:not([data-tab=journey]) .stage-panel,.game-shell[data-tab]:not([data-tab=journey]) .map-panel,.game-shell[data-tab]:not([data-tab=journey]) .character-card{display:none!important}.game-shell[data-tab]:not([data-tab=journey]) .info-panel{min-height:calc(100dvh - 116px)}.companion-combat-actor{opacity:.74;width:35%;height:48%;bottom:17%;left:20%}.companion-combat-actor>em,.enemy-trait small{display:none}.enemy-trait{grid-template-columns:auto 1fr;width:max-content;max-width:100%}.stance-row{display:flex;overflow-x:auto}.stance-row>span{flex:0 0 48px}.stance-row button{flex:0 0 132px;min-height:46px}.stance-row button b{font-size:10px}.stance-row button small{font-size:8px}.skill-bar{display:flex}.companion-assist{flex:0 0 155px}.combat-skill small,.combat-skill em{font-size:9px}.gear-card footer button{min-height:44px;font-size:9px}.gear-card header small,.gear-card header em,.gear-effect span{font-size:8px}.gear-effect b{font-size:10px}.equipment-summary{white-space:nowrap;overflow-x:auto}}@media (width<=520px){.companion-combat-actor{width:43%;height:43%;bottom:21%;left:13%}.enemy-trait{margin-bottom:4px}.enemy-poise-label{margin-top:3px}.gear-grid{grid-template-columns:1fr}.gear-card{min-height:224px}.equipment-subnav button{min-width:0}.stance-row button{flex-basis:150px}}@keyframes companionLunge{0%{filter:none;transform:translate(0)}28%{transform:translate(-10%)}52%{filter:brightness(1.2);transform:translate(115%)scale(1.06)}72%{transform:translate(100%)}to{filter:none;transform:translate(0)}}@keyframes brokenPulse{0%,to{opacity:.45;transform:scaleX(.6)}50%{opacity:1;transform:scaleX(1)}}.field-stage{overflow:hidden}.field-stage>section[aria-label$=自由探索場景]{border:0;height:100%;min-height:100%}.landscape-gate{display:none}@media (width>=1181px) and (hover:hover){.game-body[data-location=village]{grid-template-columns:64px minmax(0,1fr) 68px}.game-body[data-location=village] .map-panel,.game-body[data-location=village] .info-panel{z-index:42;transition:width .24s cubic-bezier(.2,.76,.2,1),box-shadow .24s;position:relative;overflow-x:hidden;box-shadow:0 0 #0000}.game-body[data-location=village] .map-panel{width:64px;padding:13px 8px}.game-body[data-location=village] .map-panel:hover,.game-body[data-location=village] .map-panel:focus-within{width:232px;box-shadow:18px 0 42px #0000006b}.game-body[data-location=village] .panel-heading,.game-body[data-location=village] .map-legend,.game-body[data-location=village] .location-copy,.game-body[data-location=village] .here-tag,.game-body[data-location=village] .quest-lead{opacity:0;pointer-events:none;transition:opacity .14s}.game-body[data-location=village] .map-panel:hover .panel-heading,.game-body[data-location=village] .map-panel:hover .map-legend,.game-body[data-location=village] .map-panel:hover .location-copy,.game-body[data-location=village] .map-panel:hover .here-tag,.game-body[data-location=village] .map-panel:hover .quest-lead,.game-body[data-location=village] .map-panel:focus-within .panel-heading,.game-body[data-location=village] .map-panel:focus-within .map-legend,.game-body[data-location=village] .map-panel:focus-within .location-copy,.game-body[data-location=village] .map-panel:focus-within .here-tag,.game-body[data-location=village] .map-panel:focus-within .quest-lead{opacity:1;pointer-events:auto}.game-body[data-location=village] .location-card{gap:11px;width:200px}.game-body[data-location=village] .map-line{left:21px}.game-body[data-location=village] .info-panel{justify-self:end;width:68px}.game-body[data-location=village] .info-panel:hover,.game-body[data-location=village] .info-panel:focus-within{width:340px;box-shadow:-18px 0 42px #0000006b}.game-body[data-location=village] .info-panel>*{flex:none;width:340px}.game-body[data-location=village] .info-panel .tab-content{flex:auto}}@media (width<=900px) and (orientation:portrait){.landscape-gate{z-index:500;color:#eadfca;text-align:center;background:radial-gradient(circle at 50% 42%,#17332c,#06100e 68%);place-content:center;justify-items:center;gap:8px;display:grid;position:fixed;inset:0}.landscape-gate span{width:72px;height:72px;color:var(--gold-soft);border:1px solid #cda65c73;border-radius:18px;place-items:center;font-size:34px;animation:1.8s ease-in-out infinite rotatePhone;display:grid}.landscape-gate b{letter-spacing:.18em;margin-top:8px;font-size:18px}.landscape-gate small{color:#84978e;font-size:10px}}@media (hover:none) and (orientation:landscape) and (height<=600px){.game-shell[data-screen=world]{height:100dvh;min-height:0;padding:0 calc(52px + env(safe-area-inset-right)) 0 env(safe-area-inset-left);overflow:hidden}.game-shell[data-screen=world] .game-header{display:none}.game-shell[data-screen=world] .game-body{height:100dvh;min-height:0;display:block}.game-shell[data-screen=world] .map-panel{display:none!important}.game-shell[data-screen=world][data-tab=journey] .info-panel{display:none}.game-shell[data-screen=world] .stage-panel{height:100dvh;min-height:0;overflow:hidden}.game-shell[data-screen=world] .field-stage>section[aria-label$=自由探索場景]{height:100dvh;min-height:0}.game-shell[data-screen=world] .mobile-nav{z-index:65;width:calc(52px + env(safe-area-inset-right));border-top:0;border-left:1px solid var(--line);height:100dvh;padding:0 env(safe-area-inset-right) 0 0;background:#050d0cf5;grid-template-rows:repeat(5,1fr);grid-template-columns:1fr;display:grid;position:fixed;inset:0 0 0 auto}.game-shell[data-screen=world] .mobile-nav button{min-height:0}.game-shell[data-screen=world] .mobile-nav button span{font-size:12px}.game-shell[data-screen=world] .mobile-nav button small{font-size:7px}.game-shell[data-screen=world][data-tab]:not([data-tab=journey]) .info-panel{border:0;height:100dvh;overflow:auto;min-height:0!important;display:flex!important}.game-shell[data-screen=world][data-tab]:not([data-tab=journey]) .tab-content{overflow:auto;min-height:0!important}.game-shell[data-screen=world] .character-card{display:none!important}.game-shell[data-screen=world] .toast{bottom:12px;left:auto;right:64px;transform:none}.game-shell[data-screen=combat]{height:100dvh;min-height:0;padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left);overflow:hidden}.game-shell[data-screen=combat] .game-header,.game-shell[data-screen=combat] .map-panel,.game-shell[data-screen=combat] .info-panel,.game-shell[data-screen=combat] .mobile-nav{display:none!important}.game-shell[data-screen=combat] .game-body,.game-shell[data-screen=combat] .stage-panel{height:100dvh;min-height:0;display:block;overflow:hidden}.game-shell[data-screen=combat] .combat-view{height:100dvh;min-height:0}.game-shell[data-screen=combat] .combat-heading{flex:0 0 32px;padding:4px 10px}.game-shell[data-screen=combat] .enemy-stage{min-height:0;padding:2px 10px}.game-shell[data-screen=combat] .turn-order{transform-origin:top;top:34px;transform:translate(-50%)scale(.78)}.game-shell[data-screen=combat] .combat-actor{height:62%;bottom:4%}.game-shell[data-screen=combat] .enemy-card{padding:6px 9px;bottom:0}.game-shell[data-screen=combat] .enemy-card h1{font-size:17px}.game-shell[data-screen=combat] .enemy-card>p,.game-shell[data-screen=combat] .combat-log,.game-shell[data-screen=combat] .combat-hint{display:none}.game-shell[data-screen=combat] .intent-card{width:120px;padding:7px;top:38px;right:8px}.game-shell[data-screen=combat] .mobile-combat-hud{top:38px}.game-shell[data-screen=combat] .combat-console{min-height:0;padding:5px 8px max(7px,env(safe-area-inset-bottom));flex:0 0 clamp(136px,44dvh,158px);overflow:hidden}.game-shell[data-screen=combat] .stance-row{min-height:38px;margin-bottom:4px}.game-shell[data-screen=combat] .stance-row button{min-height:44px;padding:3px 6px}.game-shell[data-screen=combat] .skill-bar{gap:5px;padding-bottom:3px;display:flex;overflow-x:auto}.game-shell[data-screen=combat] .combat-skill,.game-shell[data-screen=combat] .end-turn{flex:0 0 132px;min-height:clamp(88px,29dvh,100px);padding:7px}.game-shell[data-screen=combat] .combat-skill small,.game-shell[data-screen=combat] .combat-skill em{font-size:7px}.modal-backdrop{padding:max(4px,env(safe-area-inset-top)) max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left))}.story-modal{max-height:calc(100dvh - 8px);padding:12px 18px}.story-modal.has-dialogue-portrait{width:100%;height:100dvh;min-height:0;max-height:none;padding:0;position:fixed;inset:0}.dialogue-figure{bottom:max(0px,env(safe-area-inset-bottom));width:clamp(150px,32vw,310px);height:min(94dvh,470px)}.dialogue-figure.left{left:max(-5vw,calc(env(safe-area-inset-left) - 28px))}.dialogue-figure.right{right:max(-5vw,calc(env(safe-area-inset-right) - 28px))}.has-dialogue-portrait .dialogue-copy{left:50%;bottom:max(6px,calc(env(safe-area-inset-bottom) + 6px));width:min(68vw,640px);max-height:76dvh;padding:11px 16px;overflow-y:auto}.has-dialogue-portrait .modal-seal{width:32px;height:32px;margin:0;font-size:15px;top:12px;right:14px}.speaker-name{margin-bottom:5px}.speaker-name span{padding:1px 4px}.speaker-name b{font-size:10px}.story-modal h2{margin:4px 0;font-size:17px}.modal-divider{margin:5px 0}.has-dialogue-portrait .modal-eyebrow{font-size:8px}.has-dialogue-portrait .modal-text{margin-bottom:7px;font-size:10px;line-height:1.55}.choice-list{gap:4px}.has-dialogue-portrait .choice-list{max-height:150px}.choice-button{min-height:48px;padding:6px 9px}.choice-button b{font-size:10px}.choice-button small{font-size:7px}.letterbox{height:2.5vh}.system-backdrop{place-items:stretch stretch;padding:4px}.system-overlay{width:auto;height:calc(100dvh - 8px);max-height:none}.system-header{min-height:56px;padding:6px 12px}.system-header h2{font-size:17px}.system-header em,.system-resources span{display:none}.system-subnav button{min-height:40px}.tree-viewport,.gear-grid,.faction-grid{padding:8px}.system-footer{display:none}}@media (hover:none) and (orientation:landscape) and (height<=360px){.game-shell[data-screen=combat] .intent-card{width:104px}.game-shell[data-screen=combat] .intent-card span{display:none}.game-shell[data-screen=combat] .combat-actor{height:54%}.game-shell[data-screen=combat] .enemy-card{width:190px;padding:4px 7px;left:auto;right:6%}.game-shell[data-screen=combat] .enemy-card h1{font-size:14px}.game-shell[data-screen=combat] .enemy-trait,.game-shell[data-screen=combat] .status-row{display:none}.dialogue-figure{width:clamp(142px,31vw,250px);height:92dvh}.has-dialogue-portrait .dialogue-copy{width:min(70vw,520px);max-height:78dvh;padding:9px 13px}.has-dialogue-portrait .modal-seal{width:27px;height:27px;font-size:13px;top:10px;right:11px}.has-dialogue-portrait h2{max-width:calc(100% - 38px);font-size:14px}.has-dialogue-portrait .modal-divider{margin:3px 0}.has-dialogue-portrait .modal-text{margin-bottom:5px;font-size:9.5px;line-height:1.45}.has-dialogue-portrait .choice-button{min-height:48px}}@keyframes rotatePhone{0%,25%{transform:rotate(0)}58%,to{transform:rotate(90deg)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
