.person-rewrite-notice .button{margin:.25rem}.person-rewrite-modal{width:min(1000px,96vw)}.rewrite-tabs{display:flex;gap:.45rem;flex-wrap:wrap;margin:1rem 0}.rewrite-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.rewrite-fields label,.rewrite-relationships label,.person-rewrite-modal label{display:flex;flex-direction:column;gap:.4rem;min-width:0}.person-rewrite-modal textarea{width:100%;resize:vertical}.rewrite-relationships article,.rewrite-comparison article{padding:1rem;border:1px solid var(--line,#75634a);border-radius:12px;margin:.8rem 0;display:grid;gap:.75rem}.rewrite-comparison article{grid-template-columns:1fr 1fr}.rewrite-comparison strong{grid-column:1/-1}.rewrite-comparison p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:14rem;overflow:auto}.rewrite-image-preview{max-width:100%;height:260px;object-fit:contain;display:block;margin:auto}.rewrite-art-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin:1rem 0}.rewrite-art-grid button{min-width:0;overflow:hidden}.rewrite-art-grid img{height:125px;object-fit:contain;width:100%}.rewrite-art-grid span{display:block;overflow-wrap:anywhere}.person-rewrite-modal select{max-width:100%}@media(max-width:600px){.rewrite-fields,.rewrite-comparison article{grid-template-columns:1fr}.rewrite-art-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rewrite-art-grid img{height:90px}}.person-equipment{min-width:0;width:100%;text-align:left}.person-equipment>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.person-equipment h3{font-size:17px;margin:12px 0}.person-equipment>header>span{color:var(--muted);font-size:12px}.person-equipment__item{border:1px solid #bca78066;border-radius:6px;margin:8px 0;background:#fffcf366;overflow:hidden}.person-equipment .person-equipment__summary{display:flex;width:100%;min-height:64px;justify-content:flex-start;align-items:center;gap:10px;padding:9px;text-align:left;white-space:normal}.person-equipment__summary>.relic-illustration,.person-equipment__summary>svg,.person-equipment__summary>img{width:48px;height:48px;flex:0 0 48px;object-fit:contain}.person-equipment__summary>span:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}.person-equipment__summary strong,.person-equipment__summary small{display:block}.person-equipment__summary small{font-size:12px;color:var(--muted);margin-top:4px}.person-equipment__summary>span:last-child{flex:0 0 auto;font-size:12px}.person-equipment__detail{padding:0 12px 12px}.person-equipment__available{border-top:1px solid #bca78055;margin-top:15px;padding-top:4px}.person-equipment__available select{width:100%;min-height:44px}.person-equipment__available .item-details{margin:12px 0}.person-equipment__available .item-details__art{max-width:180px;margin:auto}.story-battle-report{margin:1rem 0;border:1px solid #9f875b;border-radius:.6rem;background:linear-gradient(140deg,#29243d,#171b25);color:#eee4d1;overflow:hidden}.story-battle-report>details{padding:.85rem}.story-battle-report>details+details{border-top:1px solid #9f875b66}.story-battle-report summary{font-weight:600;cursor:pointer;color:#ecd39b}.story-battle-report p{line-height:1.7}.story-battle-report__table{overflow-x:auto}.story-battle-report table{width:100%;border-collapse:collapse;font-size:.88rem}.story-battle-report caption{text-align:left;padding:.5rem 0;color:#c6bba8}.story-battle-report th,.story-battle-report td{padding:.6rem;text-align:left;border-bottom:1px solid #9f875b44;min-width:5rem}.story-battle-report__action{padding:.8rem 0;border-bottom:1px solid #9f875b44;overflow-wrap:anywhere}.story-battle-report__action small{color:#c6bba8}.story-battle-report li{margin:.35rem 0}.story-battle-report button{margin-top:.8rem;padding:.5rem;border:1px solid #9f875b;color:inherit;background:transparent;border-radius:.3rem}.story-inline-card{margin:1rem auto;padding:1rem;max-width:42rem;border:1px solid #9f875b77;border-radius:.65rem;background:linear-gradient(140deg,#29243d,#171b25);color:#eee4d1;overflow-wrap:anywhere;white-space:normal}.story-inline-card header{display:flex;gap:.6rem;justify-content:space-between;align-items:baseline;flex-wrap:wrap;margin-bottom:.7rem;color:#ecd39b}.story-inline-card small{color:#c6bba8;font-size:.78rem}.story-inline-card__person{display:flex;gap:.8rem;align-items:center;margin-bottom:.65rem}.story-inline-card__person .conversation-avatar{width:2.8rem;height:2.8rem;flex:0 0 2.8rem;overflow:hidden;border-radius:50%}.story-inline-card__resources{display:flex;flex-wrap:wrap;gap:.45rem .9rem;margin:.5rem 0;font-size:.86rem}.story-inline-card__resources span{padding:.35rem .55rem;background:#ffffff09;border-radius:.3rem}.story-inline-card__units{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.8rem}.story-inline-card summary{cursor:pointer;color:#ecd39b;font-size:.88rem}.story-inline-card li{line-height:1.6;font-size:.86rem}.story-inline-card p{margin:.5rem 0;line-height:1.7}.story-inline-card__ring{display:inline-block;margin:.5rem .5rem 0 0;font-size:.85rem}@media(max-width:520px){.story-inline-card{padding:.8rem;margin:.8rem 0}.story-inline-card header{display:block}.story-inline-card header small{display:block;margin-top:.25rem}}.story-action-choices{margin-top:24px;padding-top:18px;border-top:1px solid #b99a5b55;min-width:0}.story-action-choices__heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-bottom:12px}.story-action-choices__heading h3{margin:0;color:#6b5130;font:19px var(--serif,serif)}.story-action-choices__heading>span{font-size:11px;color:#897452;line-height:1.6}.story-action-choices__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.story-action-choice{appearance:none;display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0;min-height:84px;padding:15px 14px;border:1px solid #c9b68e;border-radius:10px;background:linear-gradient(125deg,#fffdf7,#f6efdf);box-shadow:inset 0 0 0 3px #fffdf680;color:#594a34;text-align:left;font:14px/1.8 var(--serif,serif);cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}.story-action-choice__number{flex:none;width:25px;color:#ac8950;font:20px/1.4 Georgia,serif}.story-action-choice__text{flex:1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}.story-action-choice__mark{flex:none;color:#a28a5f;font:17px/1.5 sans-serif}.story-action-choice:not(:disabled):not([aria-pressed=true]):hover{background:#fff8e5;border-color:#a97d3c;box-shadow:0 3px 12px #90703a18,inset 0 0 0 3px #fffdf680}.story-action-choice:focus-visible{outline:2px solid #8b652b;outline-offset:3px}.story-action-choice[aria-pressed=true]{border-color:#9b7135;background:#efe0bb;box-shadow:inset 0 0 0 1px #bb945b}.story-action-choice[aria-pressed=true] .story-action-choice__number,.story-action-choice[aria-pressed=true] .story-action-choice__mark{color:#80571f}.story-action-choice:disabled{cursor:default;opacity:.55}@media(max-width:600px){.story-action-choices{margin-top:18px;padding-top:14px}.story-action-choices__heading{gap:4px;margin-bottom:10px}.story-action-choices__heading h3{font-size:17px}.story-action-choices__grid{grid-template-columns:minmax(0,1fr);gap:8px}.story-action-choice{min-height:62px;padding:11px 12px;gap:9px;font-size:14px}.story-action-choice__number{font-size:18px;width:23px}}@media(prefers-reduced-motion:reduce){.story-action-choice{transition:none}}@media(max-width:600px){.story-message--narrator .story-action-choices{margin-left:-43px}}.soul-evolution{display:grid;gap:1rem;min-width:0;max-width:100%}.soul-evolution textarea{width:100%;box-sizing:border-box;resize:vertical}.soul-evolution article{padding:1rem;border:1px solid var(--border,#5b4f3c);border-radius:12px;min-width:0}.soul-evolution .field-actions{flex-wrap:wrap}.evolution-material{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.6rem 0}.evolution-material input{max-width:5rem;min-height:44px}.evolution-guides{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem}.soul-evolution summary{cursor:pointer;min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}.soul-evolution p,.soul-evolution li{overflow-wrap:anywhere}.evolution-preview-art{display:block;width:min(100%,240px);height:auto;aspect-ratio:1;margin:.75rem auto;border-radius:16px}.begonia-tree{--begonia-leaf:#315b49;--begonia-line:#c8d5bd;margin-block:1rem;color:var(--ink,#493b2c)}.begonia-tree__heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;border-bottom:1px solid var(--begonia-line);padding-bottom:1rem}.begonia-tree__heading small,.begonia-tree__detail>small{color:var(--begonia-leaf);letter-spacing:.08em}.begonia-tree h3,.begonia-tree h4{margin:.35rem 0;font-weight:600}.begonia-tree__heading p,.begonia-tree__paths header p{margin:.4rem 0;color:#756e5c;font-size:.9rem}.begonia-tree__heading>span{white-space:nowrap;color:var(--begonia-leaf);padding:.4rem .7rem;border:1px solid var(--begonia-line);border-radius:20px;font-size:.85rem}.begonia-tree__layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:1.3rem;margin-top:1rem}.begonia-tree__paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;align-items:start}.begonia-tree__paths>section{min-width:0}.begonia-tree__paths h4{color:var(--begonia-leaf)}.begonia-tree__paths ol{list-style:none;padding:0;margin:1rem 0;display:grid;gap:1.2rem}.begonia-tree__paths li{position:relative;min-width:0}.begonia-tree__paths li+li:before{content:"";height:1.2rem;position:absolute;left:50%;top:-1.2rem;border-left:1px solid var(--begonia-line)}.begonia-tree__paths button{display:flex;gap:.6rem;align-items:center;width:100%;min-height:92px;text-align:left;background:#f7f5eb;border:1px solid var(--begonia-line);border-radius:8px;padding:.65rem;cursor:pointer;color:inherit}.begonia-tree__paths button[aria-pressed=true]{border-color:var(--begonia-leaf);box-shadow:0 0 0 2px #315b4925;background:#eef2e7}.begonia-tree__paths button:focus-visible{outline:3px solid #b99044;outline-offset:3px}.begonia-tree__paths button[data-learned=true]{background:#e8efdf}.begonia-tree__paths button .portrait-art{width:54px;height:54px;flex-shrink:0;border-radius:7px}.begonia-tree__paths button span{min-width:0;display:grid;gap:.2rem}.begonia-tree__paths small,.begonia-tree__paths em{font-size:.73rem;font-style:normal;color:#746f5b}.begonia-tree__paths b{font-size:.98rem;font-weight:600}.begonia-tree__detail{min-width:0;background:#f4f3e9;border:1px solid var(--begonia-line);padding:1rem;border-radius:10px;align-self:start;line-height:1.7}.begonia-tree__detail>.portrait-art{width:112px;height:112px;display:block;margin-bottom:.8rem;border-radius:12px}.begonia-tree__summary{border-block:1px solid var(--begonia-line);padding-block:.7rem;color:var(--begonia-leaf)}.begonia-tree__note{font-size:.75rem;color:#817a68;margin-bottom:0}@media(max-width:1000px){.begonia-tree__layout{grid-template-columns:1fr}.begonia-tree__detail>.portrait-art{float:left;width:90px;height:90px;margin-right:1rem}.begonia-tree__detail:after{content:"";display:block;clear:both}}@media(max-width:600px){.begonia-tree__heading{display:block}.begonia-tree__heading>span{display:inline-block;margin-top:.5rem}.begonia-tree__paths{gap:.35rem}.begonia-tree__paths header p{display:none}.begonia-tree__paths button{display:grid;justify-items:center;text-align:center;padding:.5rem .2rem;min-height:124px}.begonia-tree__paths button .portrait-art{width:56px;height:56px}.begonia-tree__paths b{font-size:.85rem}.begonia-tree__paths em{font-size:.66rem}.begonia-tree__detail{padding:.85rem}}.begonia-tree[data-spirit="preset:royal-swan"]{--begonia-leaf:#366a91;--begonia-line:#c4d3dd}.conversation-rooms{padding:var(--space-3,1rem);min-width:0;max-width:100%;overflow-wrap:anywhere}.conversation-rooms__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr));gap:.5rem;margin:1rem 0}.conversation-rooms__list button{display:grid;text-align:left;gap:.25rem;padding:.75rem;min-width:0;white-space:normal;border:1px solid var(--line,#d4c6ac);border-radius:.6rem;background:var(--panel,#f5eddc);color:inherit}.conversation-rooms__list button[aria-pressed=true]{outline:2px solid var(--accent,#82623b)}.conversation-rooms__list button span{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.conversation-rooms__messages{max-height:50vh;overflow-y:auto;display:flex;flex-direction:column;gap:.6rem;padding:.5rem 0;overscroll-behavior:contain}.conversation-rooms__message{align-self:flex-start;max-width:92%;background:var(--panel,#f5eddc);padding:.7rem 1rem;border:1px solid var(--line,#d4c6ac);border-radius:.8rem;white-space:pre-wrap}.conversation-rooms__message p{margin:.3rem 0}.conversation-rooms__message--self{align-self:flex-end}.conversation-rooms__message{display:flex;gap:.6rem;align-items:flex-start;background:transparent;border:0;padding:.25rem 0}.conversation-rooms__message>div{min-width:0;background:var(--panel,#f5eddc);border:1px solid var(--line,#d4c6ac);border-radius:.8rem;padding:.6rem .8rem}.conversation-rooms__message .conversation-avatar{width:2.5rem;height:2.5rem;flex:0 0 2.5rem;overflow:hidden;border-radius:50%}.conversation-rooms__message--self{flex-direction:row-reverse}.communication-launcher{position:fixed;left:22px;bottom:18px;z-index:80;display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 18px;border:1px solid #c7b17d;border-radius:12px;background:#394f45;color:#fff7e6;box-shadow:0 5px 20px #243b3430;font:15px var(--serif);cursor:pointer}.communication-launcher>.ui-icon{width:22px;height:22px;flex:none}.communication-launcher>small{position:absolute;right:-7px;top:-7px;min-width:21px;padding:2px 5px;border:2px solid #faf6eb;border-radius:12px;background:#a55e49;color:#fff;text-align:center;font:11px/16px sans-serif}.modal-backdrop>.modal.communication-dialog{width:min(1180px,calc(100vw - 48px));max-width:1180px;height:min(820px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #c5b792;border-radius:14px;background:#fbf9f2;box-shadow:0 25px 90px #182e3559;color:#4c473b}.communication-dialog:before,.communication-dialog:after{display:none}.communication-dialog>header{flex:none;display:flex;align-items:center;justify-content:space-between;min-height:76px;margin:0;padding:16px 26px;border-bottom:1px solid #c4b69155;background:#fbf9f2}.modal.communication-dialog>header h2{font:500 27px/1.3 var(--serif);margin:0;color:#394f45}.communication-dialog>header>.icon-button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid transparent;border-radius:9px;color:#687263;background:transparent;line-height:1}.communication-dialog>header>.icon-button:hover{background:#eee9da;border-color:#c6b990}.communication-dialog>header>.icon-button>.ui-icon{display:block;width:20px;height:20px}.communication-dialog>.modal__body{padding:0!important;overflow:hidden;flex:1;min-height:0;display:flex}.communication-layout{width:100%;height:100%;min-height:0;display:grid;grid-template-columns:280px minmax(0,1fr)}.communication-sidebar{display:flex;flex-direction:column;min-height:0;min-width:0;border-right:1px solid #c4b69155;background:#f0eee3;padding:18px 12px}.communication-search{display:flex;align-items:center;gap:8px;margin:0 5px 14px;padding:0 11px;border:1px solid #c4b69166;border-radius:8px;background:#faf8f1}.communication-search>.ui-icon{width:18px;height:18px;flex:none;color:#92947f}.communication-dialog .communication-search>input{background:transparent;border:0!important;box-shadow:none!important;width:100%;min-width:0;height:44px;padding:8px 0;font-size:14px;color:#55513f}.communication-pinned{border-bottom:1px solid #b5af962e;padding-bottom:12px;flex:none}.communication-pinned>button,.communication-contacts>.conversation-contact{display:flex;align-items:center;gap:11px;min-height:76px;width:100%;padding:11px 10px;border:0;border-radius:8px;background:none;box-shadow:none;text-align:left;color:#4d4e40;cursor:pointer}.communication-pinned>button:hover,.communication-pinned>button[aria-pressed=true],.communication-contacts>.conversation-contact:hover,.communication-contacts>.conversation-contact[aria-pressed=true]{background:#e0e5d7;box-shadow:inset 3px 0 #69816a}.communication-pinned>button>span:nth-child(2){display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.communication-pinned strong,.communication-contact__text strong{font-size:15px}.communication-pinned small{font-size:12px;color:#858772;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.communication-tile{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #a5b29a66;border-radius:12px;background:#728c73;color:#fff}.communication-tile>.ui-icon{display:block;width:23px;height:23px}.communication-tile--merchant{background:#ede3cc;border-color:#c8b88f;color:#927449}.communication-count{flex:none;min-width:20px;padding:2px 5px;border-radius:10px;background:#a66c55;color:#fff;font:11px/16px sans-serif;text-align:center}.communication-list-label{padding:16px 10px 7px;font-size:12px;color:#96937e;flex:none}.communication-contacts{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.communication-contacts .conversation-avatar{display:grid;place-items:center;width:44px;height:48px;flex:0 0 44px;border-radius:12px}.communication-contacts .conversation-contact__text{min-width:0;flex:1;gap:4px}.communication-contacts .conversation-contact__text strong{font-size:15px;line-height:1.45;overflow-wrap:anywhere}.communication-contacts .conversation-contact__text small{font-size:11px;color:#70836b}.communication-contacts .conversation-contact__text>span{font-size:12px;line-height:1.5}.communication-contacts>.muted{padding:15px 10px;font-size:13px;line-height:1.8}.communication-content{position:relative;min-width:0;min-height:0;height:100%;overflow:hidden;background:#fcfaf4}.communication-welcome{height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#95937f}.communication-welcome>.ui-icon{width:46px;height:46px;color:#a4ad96;stroke-width:1}.communication-welcome h3{font:500 23px var(--serif);color:#6e7966;margin:20px 0 9px}.communication-welcome p{font-size:14px;line-height:1.8;max-width:320px;margin:0}.communication-view{height:100%;min-height:0;display:flex;flex-direction:column}.communication-view[hidden]{display:none!important}.communication-view__head,.communication-dialog .conversation-thread__head{display:flex;align-items:center;gap:12px;flex:none;min-height:76px;padding:14px 24px;border-bottom:1px solid #c4b69144;background:#fcfaf4;margin:0}.communication-view__head>div{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.communication-view__head strong{font:500 20px var(--serif);color:#485a47}.communication-view__head small{font-size:12px;color:#92907c}.communication-view__head>.button:last-child{margin-left:auto}.communication-dialog .button{min-height:44px;font-size:14px;padding:9px 14px;white-space:normal}.communication-dialog .conversation-back{display:none}.communication-dialog .conversation-thread{height:100%;min-height:0;padding:0;display:flex;flex-direction:column;position:relative}.communication-dialog .conversation-person{flex:1;min-width:0;gap:12px}.communication-dialog .conversation-person .conversation-avatar{width:44px;height:48px;flex:0 0 44px;border-radius:12px}.communication-dialog .conversation-person>span:last-child{min-width:0;gap:5px}.communication-dialog .conversation-person strong{font:500 20px var(--serif);overflow-wrap:anywhere}.communication-dialog .conversation-person small{font-size:12px;line-height:1.5}.communication-dialog .conversation-person:after{content:"人物互动";margin-left:auto;font-size:12px;color:#839078;white-space:nowrap}.communication-dialog .conversation-interactions{position:absolute;right:0;top:76px;bottom:0;z-index:5;width:min(360px,100%);max-height:none;overflow:auto;padding:16px 20px;background:#f8f5ea;border-left:1px solid #c4b69177;box-shadow:-8px 0 25px #404a3c12}.communication-interactions>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.communication-dialog .story-chat__history{flex:1;min-height:0;max-height:none;padding:24px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.communication-dialog .story-chat__history article{padding:8px 0;border:0}.communication-dialog .private-messages{gap:16px}.communication-dialog .private-message__bubble{font-size:16px;line-height:1.8;padding:12px 16px;max-width:min(78%,620px);box-shadow:none}.communication-dialog .private-message__avatar{width:40px;height:40px;flex-basis:40px}.communication-dialog .story-composer{flex:none;margin:0;padding:16px 24px max(16px,env(safe-area-inset-bottom));border-top:1px solid #c4b69144;background:#f4f1e7}.communication-dialog .story-composer>label{font-size:12px;color:#8c8c76}.communication-dialog .story-composer>textarea{min-height:76px;max-height:160px;font-size:15px;line-height:1.7;padding:11px 13px;background:#fffdf7;border:1px solid #c5b99688;border-radius:9px;resize:vertical}.communication-dialog .story-composer__actions{display:flex;justify-content:flex-end;gap:9px;align-items:center}.communication-dialog .story-composer__actions small{font-size:12px}.communication-dialog .story-chat__error{margin:8px 24px;font-size:13px}.communication-dialog .conversation-pending{border-radius:0;margin:0;padding:10px 20px;font-size:13px}.communication-dialog .story-chat__empty{padding:32px 18px;font-size:14px}.communication-dialog .story-pending-turn{font-size:14px}.communication-dialog .story-chat__memory-action{font-size:12px}.communication-dialog .party-chat.panel{flex:1;min-height:0;max-width:none;display:flex;flex-direction:column;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:none}.communication-dialog .party-chat.panel:before,.communication-dialog .party-chat.panel:after,.communication-dialog .party-chat>.panel__head{display:none}.communication-dialog .party-chat__head{flex:none;padding:13px 24px;border-bottom:1px solid #c4b69144;font-size:14px}.communication-dialog .party-chat__head>span{font-size:12px;float:right}.communication-dialog .party-chat__head p{font-size:13px}.communication-dialog .party-chat__roster{margin-top:10px;font-size:13px;max-height:170px;overflow:auto}.communication-dialog .party-chat__roster>summary{cursor:pointer;min-height:34px;color:#718568}.communication-dialog .party-chat__members{padding-top:8px}.communication-dialog .party-chat__history{flex:1;min-height:0;max-height:none;padding:20px 24px;overscroll-behavior:contain}.communication-dialog .party-chat__bubble{font-size:16px;line-height:1.8}.communication-dialog .party-chat__bubble strong{font-size:14px}.communication-dialog .party-chat>form{flex:none;margin:0;display:flex;flex-direction:column;gap:8px;padding:16px 24px max(16px,env(safe-area-inset-bottom));background:#f4f1e7;border-top:1px solid #c4b69144}.communication-dialog .party-chat>form>label{font-size:12px;color:#8c8c76}.communication-dialog .party-chat>form>textarea{font-size:15px;line-height:1.7;min-height:76px;max-height:160px;padding:11px 13px;border:1px solid #c5b99688;border-radius:9px;background:#fffdf7}.communication-dialog .party-chat>form>.button{align-self:flex-end}.communication-dialog .party-chat>p{padding-inline:24px;font-size:13px}.commercial-messages{height:100%;min-height:0;display:flex;flex-direction:column}.commercial-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;border-bottom:1px solid #c4b69133;flex:none}.commercial-filter>label{display:flex;flex-direction:row;white-space:nowrap;align-items:center;gap:10px;margin:0;font-size:12px;color:#858574}.commercial-filter select{width:auto;min-width:0;padding:8px 10px;border:1px solid #c4b69177;border-radius:6px;min-height:40px;max-width:200px;background:#fffdf7;font-size:14px}.commercial-filter>span{font-size:12px;color:#a16d51}.commercial-history{flex:1;min-height:0;overflow:auto;padding:20px 24px;overscroll-behavior:contain;scrollbar-width:thin}.commercial-letter{padding:19px 21px;border:1px solid #c7bd9c66;border-radius:10px;background:#fffdf7;margin-bottom:18px;overflow-wrap:anywhere}.commercial-letter>header{display:flex;align-items:center;gap:11px;margin-bottom:13px}.commercial-letter>header>div{display:flex;flex-direction:column;min-width:0;gap:6px;flex:1}.commercial-letter>header strong{font-size:15px}.commercial-letter small{font-size:12px;line-height:1.6;color:#95917b}.commercial-letter__unread{font-size:11px;color:#a1664a;flex:none}.commercial-letter p{font-size:15px;line-height:1.85;margin:12px 0;white-space:pre-wrap}.commercial-letter .commercial-current{font-size:12px;color:#8b907b}.commercial-invitation{display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;padding:13px 15px;background:#eaf0e3;border-radius:7px;margin:14px 0}.commercial-invitation>span{font-size:13px;color:#708266}.commercial-invitation>strong{font-size:14px;color:#496247}.commercial-invitation>.button{margin-left:auto;flex:none}.commercial-catalog{border-top:1px solid #c4b69144;padding-top:6px;margin:12px 0}.commercial-catalog>summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:14px;color:#7d765a}.commercial-catalog>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #c4b69133}.commercial-catalog>div>span{display:flex;flex-direction:column;gap:5px;min-width:0}.commercial-catalog strong{font-size:14px;font-weight:500}.commercial-catalog b{font-size:13px;color:#8e744a;flex:none}.commercial-letter>blockquote{margin:14px 0;padding:9px 13px;border-left:2px solid #a9b696;background:#f0f2e9}.commercial-letter>blockquote p{font-size:14px;margin:0 0 4px}.commercial-letter>footer{display:flex;justify-content:flex-end;gap:7px}.commercial-letter>footer .button{font-size:12px}.commercial-reply{flex:none;padding:14px 24px max(14px,env(safe-area-inset-bottom));border-top:1px solid #c4b69144;background:#f4f1e7;display:flex;flex-wrap:wrap;gap:8px}.commercial-reply>div{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}.commercial-reply label{font-size:12px;color:#7e8872}.commercial-reply textarea{width:100%;padding:10px 12px;min-height:70px;max-height:140px;font-size:15px;background:#fffdf7;border:1px solid #c4b69177;border-radius:8px;resize:vertical}.commercial-reply>.button{margin-left:auto}.communication-settings label{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:14px}.communication-settings label:has(input[type=checkbox]){flex-direction:row;align-items:center}.commercial-settings__flags{display:grid;grid-template-columns:1fr 1fr}.communication-settings details{padding:12px 0;border-block:1px solid #c4b69144;margin-bottom:16px}.communication-settings details>summary{cursor:pointer;min-height:36px}.communication-settings input:not([type=checkbox]),.communication-settings select{min-height:44px;font-size:14px}.communication-dialog .action-feedback{margin:8px 24px}@media(max-width:800px){.modal-backdrop:has(>.communication-dialog){padding:0}.communication-launcher{left:12px;bottom:12px;padding:9px 13px;font-size:13px;min-height:46px}.modal-backdrop>.modal.communication-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}.communication-dialog>header{min-height:64px;padding:10px 14px}.modal.communication-dialog>header h2{font-size:23px}.communication-layout{display:block}.communication-sidebar{height:100%;padding:16px 12px;border:0}.communication-layout--selected>.communication-sidebar{display:none}.communication-layout:not(.communication-layout--selected)>.communication-content{display:none}.communication-dialog .conversation-back{display:inline-flex;flex:none;min-width:44px;padding:7px 0;font-size:13px}.communication-view__head,.communication-dialog .conversation-thread__head{padding:9px 15px;min-height:76px;gap:10px;flex-wrap:nowrap}.communication-view__head strong,.communication-dialog .conversation-person strong{font-size:18px}.communication-view__head small{font-size:11px}.communication-dialog .conversation-person{gap:9px}.communication-dialog .conversation-person .conversation-avatar{width:36px;height:40px;flex-basis:36px}.communication-dialog .conversation-person:after{content:"⋯";font-size:22px;margin-left:auto}.communication-dialog .conversation-person small{font-size:11px}.communication-dialog .story-chat__history{padding:16px 13px}.communication-dialog .private-message__bubble{font-size:15px;max-width:calc(100% - 48px);padding:10px 12px}.communication-dialog .private-message__avatar{width:34px;height:34px;flex-basis:34px}.communication-dialog .story-composer,.communication-dialog .party-chat>form{padding:12px 14px max(12px,env(safe-area-inset-bottom))}.communication-dialog .story-composer>textarea,.communication-dialog .party-chat>form>textarea{min-height:70px;max-height:120px;resize:none}.communication-dialog .party-chat__head{padding:12px 15px}.communication-dialog .party-chat__head>span{float:none;display:block;margin-top:4px}.communication-dialog .party-chat__history{padding:16px 14px}.communication-dialog .party-chat__bubble{font-size:15px}.commercial-filter{padding:10px 15px}.commercial-filter>label{gap:6px}.commercial-filter select{max-width:170px}.commercial-history{padding:15px 12px}.commercial-letter{padding:14px;margin-bottom:13px}.commercial-letter p{font-size:14px}.commercial-invitation{padding:12px;gap:8px}.commercial-invitation>.button{width:100%;margin-left:0}.commercial-catalog>div{align-items:flex-start}.commercial-catalog b{font-size:12px;max-width:105px;text-align:right;flex-shrink:0}.commercial-reply{padding:10px 14px max(10px,env(safe-area-inset-bottom))}.commercial-settings__flags{grid-template-columns:1fr}.communication-dialog .conversation-interactions{top:76px;width:100%}.communication-dialog .story-composer__actions{flex-wrap:wrap}}@media(max-height:560px){.communication-dialog>header{min-height:54px;padding-block:5px}.communication-dialog .conversation-thread__head,.communication-view__head{min-height:58px;padding-block:6px}.communication-dialog .story-composer>textarea,.communication-dialog .party-chat>form>textarea{min-height:48px;max-height:80px}.communication-dialog .story-composer,.communication-dialog .party-chat>form{padding-block:8px}}.communication-search:focus-within{outline:2px solid #9d9c72;outline-offset:1px}.story-chat{min-width:0;max-width:960px;margin:0 auto 1.2rem}.story-chat .panel__head>span{font-size:.85rem;color:var(--muted,#b9afa0)}.story-chat__history{max-height:65vh;overflow:auto;overflow-wrap:anywhere;padding:.4rem}.story-chat__history article{padding:1rem 0;border-bottom:1px solid #aa926433}.story-chat__input{white-space:pre-wrap;color:#d5c69e}.story-chat__input b{display:block;margin-bottom:.5rem}.story-chat__prose{white-space:pre-wrap;line-height:1.95}.story-chat form{display:grid;gap:.7rem;margin-top:1rem}.story-chat textarea{width:100%;box-sizing:border-box;resize:vertical;line-height:1.7}.story-chat__settings{margin-top:1.3rem}.story-chat__settings label{display:block;margin:1rem 0}.story-chat__settings span{margin-left:1rem}.story-chat [role=alert]{white-space:pre-wrap;color:#f3b5aa}.story-chat details p{overflow-wrap:anywhere}.story-chat summary{cursor:pointer}@media(max-width:700px){.story-chat{padding:.8rem}.story-chat__history{max-height:58vh}.story-chat .panel__head{flex-wrap:wrap}}.story-chat fieldset{border:0;padding:0;min-width:0}.story-prompt-editor__catalog{max-height:18rem;overflow:auto}.story-prompt-editor__layout{padding-left:1.5rem}.story-prompt-editor__layout>li{margin:.8rem 0;padding:.5rem;border-bottom:1px solid #aa926433}.story-prompt-editor pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:24rem;overflow:auto;font-size:.85rem}.story-prompt-editor select{max-width:100%}.story-prompt-editor input[type=number]{max-width:8rem}.story-prompt-editor label input[type=checkbox]{margin-right:.5rem}.story-chat__preview{max-height:28rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}.story-action-results{margin:.8rem 0;padding:.7rem;border:1px solid #aa926433;border-radius:.5rem}.story-action-results ol{margin:.5rem 0;padding-left:1.5rem}.story-action-results li+li{margin-top:.8rem}.story-action-results li>p{margin:.35rem 0;white-space:pre-wrap}.story-action-results li>details{font-size:.9rem;color:var(--muted,#b9afa0)}.story-chat__navigation{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}.story-chat__navigation>span{font-size:.75rem;color:var(--muted)}.story-chat--communications{max-width:1100px}.conversation-layout{display:grid;grid-template-columns:minmax(150px,32%) minmax(0,1fr);border:1px solid #b9ac8c66;border-radius:12px;overflow:hidden;background:#fffdf8;color:#443e33;min-height:420px}.conversation-list{background:#eeeadd;border-right:1px solid #b9ac8c66;max-height:75vh;overflow:auto;padding:.5rem}.conversation-list__head{display:flex;justify-content:space-between;gap:.5rem;padding:.7rem .4rem;flex-wrap:wrap}.conversation-list__head small{color:#797260}.conversation-contact{display:flex;width:100%;align-items:center;gap:.6rem;border:0;border-radius:8px;padding:.75rem .5rem;background:transparent;color:inherit;text-align:left;cursor:pointer}.conversation-contact:hover,.conversation-contact[aria-pressed=true]{background:#fffdf8;box-shadow:inset 3px 0 #758269}.conversation-avatar{display:block;width:44px;height:44px;flex:0 0 44px;overflow:hidden;border-radius:12px;border:1px solid #b9ac8c66;background:#f1ead7}.conversation-avatar>*,.conversation-avatar img{width:100%;height:100%;object-fit:cover}.conversation-contact__text{display:flex;flex-direction:column;min-width:0;gap:.2rem}.conversation-contact__text>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#777063;font-size:.75rem}.conversation-contact__text small{font-size:.65rem;color:#697a61}.conversation-contact__text strong{font-size:.9rem}.conversation-unread{width:7px;height:7px;flex:0 0 7px;background:#b16851;border-radius:50%}.conversation-thread{min-width:0;padding:1rem}.conversation-thread[hidden]{display:none}.conversation-thread__head{display:flex;align-items:center;gap:.5rem;border-bottom:1px solid #b9ac8c44;padding-bottom:.8rem}.conversation-person{display:flex;align-items:center;gap:.6rem;border:0;background:none;color:inherit;text-align:left;cursor:pointer}.conversation-person>span:last-child{display:flex;flex-direction:column;gap:.2rem}.conversation-person small{color:#797260;font-size:.7rem}.conversation-back{display:none}.conversation-welcome{align-self:center;padding:2rem;text-align:center;color:#777063}.conversation-welcome>span{font-size:3rem;color:#a99b78}.conversation-thread .story-chat__input{color:#384633;background:#e7eedf;border-radius:12px 12px 2px;margin-left:12%;padding:.75rem 1rem}.conversation-thread .story-chat__prose{background:#f5f1e7;border-radius:12px 12px 12px 2px;padding:.9rem 1rem;margin-right:5%;font-size:.95rem}.conversation-thread .story-chat__history{max-height:55vh;padding:0}.conversation-thread .story-chat__history article{border:0;padding:.7rem 0}.conversation-thread form{padding-top:.7rem;border-top:1px solid #b9ac8c44}.conversation-thread form label{font-size:.75rem;color:#777063}.conversation-thread textarea{border:1px solid #b9ac8c88;border-radius:9px;background:#fffdf8;color:#443e33;padding:.75rem}.conversation-pending{padding:.6rem;background:#ece6d5;border-radius:8px;margin:.5rem 0;display:flex;justify-content:space-between;align-items:center;gap:.5rem;font-size:.85rem}@media(max-width:700px){.conversation-layout{display:block;min-height:360px}.conversation-list{border:0;max-height:65vh}.conversation-layout--selected .conversation-list{display:none}.conversation-back{display:inline-flex}.conversation-welcome{display:none}.conversation-thread{padding:.65rem}.conversation-thread .story-chat__prose{margin-right:0}.conversation-thread .story-chat__input{margin-left:6%}.story-chat--communications .panel__head{gap:.5rem}.story-chat__navigation{justify-content:flex-start}.conversation-thread__head{flex-wrap:wrap}.conversation-avatar{width:38px;height:38px;flex-basis:38px}}.conversation-tools{margin-top:1rem}.conversation-tools>summary{color:#797260;font-size:.8rem;padding:.4rem 0}.conversation-tools>summary[hidden]{display:none}@media(max-width:700px){.play-scene .story-chat.story-chat--communications,.story-chat.story-chat--communications{padding:.8rem}.conversation-thread .story-chat__prose{font-size:.9rem;line-height:1.85;padding:.7rem}}.party-chat__head{border-bottom:1px solid #a58b5733;padding-bottom:1rem}.party-chat__head>span{float:right;color:var(--muted);font-size:.85rem}.party-chat__head>p{font-size:.85rem;color:var(--muted)}.party-chat__members{display:flex;gap:.7rem;flex-wrap:wrap}.party-chat__members>button{display:flex;align-items:center;gap:.5rem;background:#faf8f1;border:1px solid #d8cfb7;border-radius:10px;padding:.5rem;color:#514a39;max-width:100%}.party-chat__members small{display:block;font-size:.7rem;max-width:14em;overflow-wrap:anywhere}.party-chat__history{max-height:60vh;overflow:auto;padding:.8rem .3rem}.party-chat__history section{padding:.8rem 0;border-bottom:1px solid #a58b5722}.party-chat__bubble{border:1px solid #ded6c2;border-radius:12px;background:#f5f2e9;padding:.75rem 1rem;max-width:calc(100% - 64px);overflow-wrap:anywhere;color:#4c493d}.party-chat__bubble p{white-space:pre-wrap;line-height:1.8;margin:.4rem 0}.party-chat__bubble strong{font-size:.85rem}.party-chat__bubble small{font-size:.7rem;color:#727b64}.party-chat__bubble--self{margin-left:auto;background:#e8eee1;border-color:#c7d0bc}.party-chat__reply{display:flex;gap:.6rem;align-items:flex-start;margin:1rem 0}.party-chat__reply>.conversation-avatar{padding:0;overflow:hidden;border:0;background:transparent;cursor:pointer}.party-chat__history details{font-size:.8rem;color:#797260;margin:.5rem 0}.party-chat__icon{display:grid;place-items:center;background:#718069;color:#fff;border-radius:10px;font-weight:700}@media(max-width:700px){.party-chat__head>span{float:none;display:block;margin-top:.4rem}.party-chat__members{gap:.4rem}.party-chat__members>button{padding:.4rem}.party-chat__bubble{max-width:calc(100% - 52px);padding:.65rem}.party-chat__history{max-height:55vh}}.modal.person-interactions-dialog{background:#fbf8ef!important}.person-interactions{min-width:0;overflow-wrap:anywhere}.person-interactions .field-actions{display:flex;flex-wrap:wrap;gap:8px}.person-interactions details{padding-block:6px}.person-interactions ol{padding-left:22px}.party-proposal{margin:1rem auto;padding:1rem;border:1px solid #b5bc9d;border-radius:12px;background:#f1f4e9;color:#424b39;max-width:38rem;overflow-wrap:anywhere}.party-proposal header{display:flex;justify-content:space-between;gap:.6rem;flex-wrap:wrap}.party-proposal header span{font-size:.8rem;color:#637651}.party-proposal p,.party-proposal li{font-size:.85rem;line-height:1.7}.party-proposal ul{padding-left:1.2rem}.party-proposal .muted{font-size:.75rem}.private-messages{display:flex;flex-direction:column;gap:12px;min-width:0}.private-message{display:flex;gap:10px;align-items:flex-start;min-width:0}.private-message--self{flex-direction:row-reverse}.private-message__avatar{width:44px;height:44px;flex:0 0 44px;padding:0;border:1px solid #d5c7ac;border-radius:50%;overflow:hidden;background:#fff8e8;cursor:pointer}.private-message__avatar>img,.private-message__avatar>svg{width:100%;height:100%;object-fit:contain}.private-message__bubble{width:fit-content;max-width:min(75%,640px);background:#fff9ec;border:1px solid #ded0b6;border-radius:4px 14px 14px;padding:10px 14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.private-message--self .private-message__bubble{background:#e4eed7;border-radius:14px 4px 14px 14px}.private-message__system{font-size:12px;color:#75684e;text-align:center}.private-message__system[open]{text-align:left}.private-message__legacy{padding:10px;border:1px dashed #cfc0a4}.private-message__legacy>div{padding-top:12px}.result-recovery{display:flex;align-items:center;gap:20px;margin:14px 0;padding:16px 20px;border:1px solid #c9b382;border-radius:10px;background:#fff9eb;color:#57442a;overflow-wrap:anywhere}.result-recovery__body{flex:1;min-width:0}.result-recovery__body>strong{font-size:17px}.result-recovery__body p{margin:7px 0 0;line-height:1.7}.result-recovery__body small{display:block;margin-top:7px;color:#806c4e}.result-recovery__actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;max-width:450px}.result-recovery__actions>.button{min-height:44px}.result-recovery__actions details{font-size:13px}.result-recovery__actions summary{cursor:pointer;padding:10px}.result-recovery__actions details .button{margin-top:8px}@media(max-width:650px){.result-recovery{align-items:stretch;flex-direction:column;gap:14px;padding:14px}.result-recovery__actions{max-width:none}.result-recovery__actions>.button{flex:1;min-width:125px}.result-recovery__actions details{width:100%}}.modal-backdrop:has(>.result-recovery-dialog){z-index:160}.modal.result-recovery-dialog{width:min(650px,calc(100vw - 24px));max-width:650px}.result-recovery-dialog .result-recovery{margin:0;border:0;padding:0;background:transparent;display:block}.result-recovery-dialog .result-recovery__actions{max-width:none;margin-top:18px}.result-recovery-dialog>.modal__body{padding:18px 24px 24px}fieldset.battle-preference-fields{border:0;margin:0;padding:0;min-width:0;display:grid;gap:12px}.battle-preference-fields label{display:grid;gap:6px;min-width:0}.battle-preference-fields select,.battle-preference-fields input{width:100%;box-sizing:border-box;min-width:0}.battle-preference-fields details>label{margin-top:12px}.battle-quick-settings{position:relative;text-align:left}.battle-quick-settings>summary{cursor:pointer;list-style:none;padding:8px 10px;border:1px solid #b89b61;border-radius:5px;white-space:nowrap}.battle-quick-settings__panel{position:absolute;z-index:80;right:0;top:100%;width:360px;max-width:calc(100vw - 32px);max-height:72vh;overflow:auto;box-sizing:border-box;padding:18px;background:#faf6eb;color:#4a3522;border:1px solid #b89b61;border-radius:6px;box-shadow:0 12px 35px #30241555}.battle-background{flex-wrap:wrap}.battle-quick-settings__panel h3{margin-top:0}.battle-quick-settings__panel .field-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}@media(max-width:600px){.battle-quick-settings__panel{position:fixed;left:12px;right:12px;top:80px;width:auto;max-width:none;max-height:calc(100dvh - 110px)}}.party-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:1rem;margin-top:1rem}.party-status-grid article{border:1px solid #d8c9a9;border-radius:.6rem;padding:1rem;background:#faf7ee}.party-status-identity{display:flex;align-items:center;text-align:left;gap:.8rem;width:100%;border:0;background:none;padding:0;margin-bottom:1rem}.party-status-identity>span{width:64px;height:64px;flex:none;overflow:hidden;border-radius:50%}.party-status-identity img{width:100%;height:100%;object-fit:cover}.party-status-identity div{display:grid;gap:.3rem}.party-status-identity small{font-size:.85rem;color:#7e7057}.party-status-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.7rem}.party-status-dialog .modal__body{max-width:100%}.summon-orders{margin-block:.6rem;padding:.7rem 1rem;border:1px solid #d8c9a9;border-radius:.5rem;background:#faf7ee}.summon-orders h3,.summon-orders p{margin:.25rem 0}.summon-orders article{padding-block:.5rem}.summon-orders label{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.summon-orders select{max-width:100%}.modal.realm-scroll-dialog{width:min(1180px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);display:flex;flex-direction:column;padding:0;overflow:hidden;background:#e8d9b9;border:1px solid #9c8054;box-shadow:0 18px 70px #130c0780}.modal.realm-scroll-dialog>header{flex-shrink:0;padding:9px 18px 5px;border-bottom:0;min-height:44px}.modal.realm-scroll-dialog>header>h2{font-size:13px;color:#735e3f;letter-spacing:.1em}.modal.realm-scroll-dialog>header>.icon-button{min-width:44px;min-height:44px}.modal.realm-scroll-dialog>.modal__body{min-height:0;overflow-y:auto;overflow-x:hidden;padding:4px 18px 18px;overscroll-behavior-y:contain;scrollbar-gutter:stable}.modal.realm-scroll-dialog>footer{flex-shrink:0;padding:8px 18px}.modal.realm-scroll-dialog>footer:not([data-has-actions]):has(.modal__action-host:empty){display:none}.resident-realm{min-width:0;width:100%;color:#3c332b}.resident-realm *{box-sizing:border-box}.resident-realm :is(input,select,textarea,button){max-width:100%;min-width:0}.resident-realm :is(button,select){min-height:44px}.resident-realm button:focus-visible{outline:2px solid #8b4534;outline-offset:2px}.resident-realm textarea{width:100%;resize:vertical;min-height:96px}.resident-scroll{--realm-sky:#e4e9df;--realm-ground:#cec6a5;--realm-leaf:#7b9271;--realm-accent:#8e734e;--realm-building:#f1e9d5;position:relative;min-width:0;width:100%;padding:24px 26px 18px;border:1px solid #a88755;border-radius:4px;background:radial-gradient(ellipse at 72% 42%,#fffaf0c9,transparent 65%),repeating-linear-gradient(91deg,#8f642d03 0 1px,transparent 1px 5px),linear-gradient(90deg,#d6bd87 0,#f6ead0 18px,#f9efda 48%,#f1e1bd calc(100% - 18px),#ccb079);box-shadow:inset 0 0 28px #81582319,0 12px 36px #30200e17;isolation:isolate}.resident-scroll:before,.resident-scroll:after{content:"";position:absolute;z-index:1;top:10px;bottom:10px;width:11px;border:1px solid #826237;border-radius:5px;background:linear-gradient(90deg,#6e4b2c,#bc9a5c 28%,#ddc48c 48%,#8a6639 90%);box-shadow:2px 1px 5px #3b26152b;pointer-events:none}.resident-scroll:before{left:-6px}.resident-scroll:after{right:-6px;transform:scaleX(-1)}.resident-scroll__heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;padding-bottom:16px;border-bottom:1px solid #a7834c55}.resident-scroll__heading>div{margin-right:auto;min-width:0}.resident-scroll__eyebrow{display:block;color:#82673f;font-size:11px;letter-spacing:.17em;line-height:1.8}.resident-scroll__heading h2{margin:2px 0 0;font:700 30px/1.35 "Noto Serif SC",Songti SC,serif;letter-spacing:.14em;overflow-wrap:anywhere}.resident-scroll__heading>p{margin:0;color:#716046;font-size:12px;line-height:1.8}.resident-scroll__heading>p>b{font-size:19px;color:#7b4030}.resident-scroll__heading>p>span{display:block}.resident-scroll__realm-choice{display:flex;align-items:center;gap:12px;margin:0 0 12px}.resident-scroll__realm-choice select{flex:1}.resident-scroll__reason{padding:10px 12px;margin:12px 0 0;border-left:3px solid #9a7352;background:#fff9eb99;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.resident-scroll__rooms{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;min-width:0;padding:16px 0}.resident-scroll__room{position:relative;display:flex;flex-direction:column;min-width:0;min-height:113px;padding:5px 5px 7px;border:1px solid #af946a66;border-radius:2px;background:#fff8e877;color:#69533d;font:inherit;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.resident-scroll__room.is-common{order:-1}.resident-scroll__room:hover{border-color:#986f47;background:#fff8e6}.resident-scroll__room[aria-pressed=true]{border-color:#9a4b39;background:#fff8e9;box-shadow:inset 0 -3px #9a4b39,0 3px 8px #72532a16}.resident-scroll__room>strong{display:block;width:100%;margin-top:5px;font-size:12px;line-height:1.5;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resident-scroll__room>small{display:block;width:100%;margin-top:3px;font-size:10px;line-height:1.5;text-align:center;color:#8d785a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resident-scroll__room-art{position:relative;display:block;width:100%;height:56px;overflow:hidden;border:1px solid #90744833;background:linear-gradient(var(--realm-sky) 0 69%,var(--realm-ground) 70%);color:#826c4d}.resident-scroll__room-art i{position:absolute;bottom:12px;left:26%;width:48%;height:26px;border:2px solid var(--realm-accent);background:var(--realm-building)}.resident-scroll__room-art i:first-child{bottom:35px;left:19%;width:62%;height:7px;transform:skew(-22deg);background:var(--realm-accent);border:0}.resident-scroll__room-art i:nth-child(2){left:41%;bottom:12px;width:18%;height:20px;background:var(--realm-accent)}.resident-scroll__room-art i:nth-child(3){left:10%;bottom:12px;width:8px;height:34px;border:0;border-radius:70% 0;background:var(--realm-leaf)}.resident-scroll__room-art>b{position:absolute;right:2px;bottom:2px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border-radius:50%;font:10px/1 sans-serif;color:#fff9eb;background:#765b3c}.resident-scroll__room.is-outside .resident-scroll__room-art{display:grid;place-items:center;font-size:26px;background:#ece2cd}[data-theme=palace]{--realm-sky:#e8dcca;--realm-ground:#c4ad8b;--realm-leaf:#9a8270;--realm-accent:#a55a46;--realm-building:#f2ddad}[data-theme=waterside]{--realm-sky:#d9e8e7;--realm-ground:#a5c5c8;--realm-leaf:#6a9893;--realm-accent:#667e80;--realm-building:#e9e7d5}[data-theme=bamboo]{--realm-sky:#e0e9d8;--realm-ground:#c0caaa;--realm-leaf:#6d8d60;--realm-accent:#627450;--realm-building:#e5e5c4}[data-theme=library]{--realm-sky:#e7dbc8;--realm-ground:#c5ab84;--realm-leaf:#8f8970;--realm-accent:#89674b;--realm-building:#ede0c0}[data-theme=seaside]{--realm-sky:#d5e9ee;--realm-ground:#bed8da;--realm-leaf:#6ba3a0;--realm-accent:#7d9ba0;--realm-building:#eee4c9}[data-theme=snow]{--realm-sky:#e3eaf0;--realm-ground:#e8eceb;--realm-leaf:#9cabb1;--realm-accent:#8194a4;--realm-building:#f5f3ed}[data-theme=stars]{--realm-sky:#a9adc6;--realm-ground:#c1bdcf;--realm-leaf:#8785a4;--realm-accent:#6c6b8d;--realm-building:#e3dfed}.resident-scroll__content{min-width:0}.resident-scroll__region-heading{display:flex;align-items:baseline;gap:8px 18px;flex-wrap:wrap;padding:2px 0 13px;border-bottom:1px solid #b49c7044}.resident-scroll__region-heading h3{margin:0;font:600 17px/1.6 "Noto Serif SC",Songti SC,serif;color:#6e5536}.resident-scroll__region-heading p{flex:1;min-width:180px;margin:0;font-size:12px;line-height:1.8;color:#8b785b;overflow-wrap:anywhere}.resident-scroll__people{display:flex;gap:8px;padding:12px 0;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.resident-scroll__people>button{display:grid;grid-template-columns:38px auto;column-gap:8px;align-items:center;flex:0 0 auto;max-width:200px;padding:6px 12px 6px 6px;border:1px solid #b69a6b77;border-radius:4px;background:#fff8e9a6;font-family:inherit;font-size:12px;line-height:1.5;text-align:left;color:#705839}.resident-scroll__people>button[aria-pressed=true]{border-color:#9a4b39;box-shadow:inset 0 -2px #9a4b39}.resident-scroll__people>button>.npc-portrait-art{grid-row:1/3;width:38px;height:38px;object-fit:cover}.resident-scroll__people>button>small{grid-column:2;color:#9e8763}.resident-scroll__people>button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resident-scroll__resident{min-width:0}.resident-scroll__stage{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(250px,.9fr);align-items:center;gap:26px;min-width:0;padding:15px 8px 24px}.resident-scroll__figure{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;height:465px;max-height:60vh;border-bottom:1px solid #a88f6455;background:radial-gradient(ellipse at 50% 75%,#fff9edaa,transparent 65%),linear-gradient(transparent 0 68%,#fff7e744 69%),linear-gradient(var(--realm-sky),var(--realm-ground));isolation:isolate;overflow:hidden}.resident-scroll__figure:before{content:"";position:absolute;z-index:-1;left:8%;right:8%;bottom:12%;height:42%;border:2px solid var(--realm-accent);border-bottom:0;border-radius:50% 50% 0 0;opacity:.22}.resident-scroll__figure:after{content:"";position:absolute;z-index:-1;inset:6% 8% 12%;background:repeating-linear-gradient(90deg,transparent 0 28px,var(--realm-leaf) 29px 31px,transparent 33px 44px);opacity:.1;pointer-events:none}.resident-scroll[data-theme=library] .resident-scroll__figure:after{background:repeating-linear-gradient(0deg,transparent 0 40px,var(--realm-accent) 41px 44px,transparent 45px 50px),repeating-linear-gradient(90deg,var(--realm-accent) 0 7px,transparent 8px 14px);opacity:.12}.resident-scroll[data-theme=stars] .resident-scroll__figure:after{background:radial-gradient(circle at 15% 20%,#fff 0 2px,transparent 3px),radial-gradient(circle at 75% 35%,#fff 0 1px,transparent 2px),radial-gradient(circle at 50% 10%,#fff 0 2px,transparent 3px);opacity:.7}.resident-scroll[data-theme=snow] .resident-scroll__figure:after{background:radial-gradient(circle,#fff 0 2px,transparent 3px) 0 0/28px 40px;opacity:.45}.resident-scroll[data-theme=seaside] .resident-scroll__figure:before,.resident-scroll[data-theme=waterside] .resident-scroll__figure:before{height:15%;bottom:8%;border:0;background:repeating-linear-gradient(0deg,transparent 0 9px,var(--realm-accent) 10px 11px);border-radius:50%;opacity:.2}.resident-scroll__figure>:is(img,svg,.npc-portrait-art){display:block;width:100%;height:100%;max-width:100%;object-fit:contain}.resident-scroll__art-caption{position:absolute;bottom:7px;left:10px;color:#7e6a50;font-size:10px;letter-spacing:.1em;background:#fff6e1c9;padding:3px 6px}.resident-scroll__fixture{position:absolute;right:8px;bottom:8px;width:92px;margin:0;padding:5px;border:1px solid #a58c6266;border-radius:3px;background:#fff9edee;box-shadow:0 4px 12px #5d472a12;color:#8c6f48}.resident-scroll__fixture svg{display:block;width:100%;height:116px}.fixture-structure{opacity:.45}.fixture-person{color:#74685a}.resident-scroll__fixture figcaption{text-align:center;font-size:10px;line-height:1.7;color:#775d3e}.resident-scroll__fixture figcaption small{display:block;font-size:9px;color:#a18a68}.resident-scroll__identity{min-width:0;align-self:center}.resident-scroll__identity>h3{margin:4px 0 14px;font:700 32px/1.4 "Noto Serif SC",Songti SC,serif;letter-spacing:.12em;overflow-wrap:anywhere}.resident-scroll__ring{margin:8px 0 16px;color:#826339;font-size:13px;line-height:1.8}.resident-scroll__ring>span{display:block}.resident-scroll__facts{display:flex;flex-wrap:wrap;gap:16px 25px;margin:12px 0 16px;padding:13px 0;border-block:1px solid #b49c7050}.resident-scroll__facts dt{font-size:11px;color:#897353}.resident-scroll__facts dd{margin:4px 0 0;font:25px/1.2 Georgia,serif;color:#7c4637}.resident-scroll__facts dd small{font:11px sans-serif;color:#96805c}.resident-scroll__equipment{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.resident-scroll__equipment>span{padding:4px 7px;border:1px solid #b39a7566;border-radius:3px;color:#7d6647;background:#fff8e877;font-size:11px;line-height:1.5}.resident-scroll__illustration-note{margin:6px 0 14px;font-size:10px;line-height:1.7;color:#9c8663}.resident-scroll__identity>.meter{margin:16px 0}.resident-scroll__primary{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 12px}.resident-scroll__identity .resident-deployment{padding-top:8px;border-top:1px solid #b59a7044}.resident-deployment>.field-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px}.resident-deployment .field-actions>div{min-width:0;max-width:100%}.resident-deployment p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.resident-scroll__manual{border-top:1px solid #aa8b5b55;margin-top:8px}.resident-scroll__manual>summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 2px;color:#765a35;font-size:13px;font-weight:600;cursor:pointer;list-style:none}.resident-scroll__manual>summary:before{content:"＋";font-size:17px;font-weight:400}.resident-scroll__manual[open]>summary:before{content:"−"}.resident-scroll__manual>summary>span{font-size:11px;font-weight:400;color:#a08c6d}.resident-scroll__manual-content{display:grid;gap:12px;min-width:0;padding:4px 0 16px}.resident-scroll__manual-content>details{min-width:0;padding:0 14px;border:1px solid #b8a07955;border-radius:3px;background:#fffaf066}.resident-scroll__manual-content>details>summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:13px;color:#72593b}.resident-scroll__manual-content>details[open]{padding-bottom:16px}.resident-scroll__manual-content label,.resident-scroll__manual-content section>label{display:block;margin:12px 0;font-size:12px;line-height:1.8}.resident-scroll__manual-content label>:is(input:not([type=checkbox]),select,textarea){display:block;width:100%;margin-top:5px}.resident-scroll__manual-content .field-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:9px;margin:12px 0}.resident-scroll__manual-content fieldset{display:flex;flex-wrap:wrap;gap:10px 18px;margin:16px 0;padding:12px;min-width:0;border:1px solid #b8a07966}.resident-scroll__manual-content .toggle-row{display:flex;align-items:center;gap:7px;margin:0;min-height:44px}.resident-scroll__manual-content .toggle-row>span>small{display:block;color:#947e5c}.resident-scroll__manual-content :is(p,legend){font-size:12px;line-height:1.8;overflow-wrap:anywhere}.resident-scroll__nearby{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0;border-top:1px solid #b8a07944}.resident-scroll__nearby>b{font-size:12px}.resident-scroll__empty{min-width:0;text-align:center;padding:30px 0 10px}.resident-scroll__empty>span{display:grid;place-items:center;width:82px;height:112px;margin:0 auto 18px;border:1px solid #b2986b66;color:#a28b66;background:#fff9ed44;font:44px serif}.resident-scroll__empty>h3{font:20px/1.6 "Noto Serif SC",Songti SC,serif;color:#745936}.resident-scroll__empty>p{max-width:440px;margin:10px auto 20px;color:#8e7a5c;font-size:13px;line-height:1.9}.resident-scroll__empty>.resident-scroll__manual{text-align:left;margin-top:30px}.resident-scroll__footer{margin-top:8px;padding-top:12px;border-top:1px solid #aa8b5b44;text-align:center;color:#9c8767;font:11px/1.8 "Noto Serif SC",Songti SC,serif;letter-spacing:.08em}@media(max-width:900px){.resident-scroll{padding:20px 18px 16px}.resident-scroll__rooms{display:flex;gap:6px;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:14px 2px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin}.resident-scroll__room{flex:0 0 79px;scroll-snap-align:start}.resident-scroll__stage{gap:18px;padding-inline:0;grid-template-columns:minmax(0,1fr) minmax(210px,.95fr)}.resident-scroll__figure{height:420px}.resident-scroll__identity>h3{font-size:27px}}@media(max-width:620px){.modal.realm-scroll-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.modal.realm-scroll-dialog>header{padding:4px 8px 0}.modal.realm-scroll-dialog>.modal__body{padding:2px 10px 10px;scrollbar-gutter:auto}.resident-scroll{padding:16px 12px 12px}.resident-scroll:before,.resident-scroll:after{width:8px;top:8px;bottom:8px}.resident-scroll:before{left:-4px}.resident-scroll:after{right:-4px}.resident-scroll__heading{gap:10px;padding-bottom:12px}.resident-scroll__heading h2{font-size:24px}.resident-scroll__heading>p{font-size:10px}.resident-scroll__heading>.button{width:100%}.resident-scroll__eyebrow{font-size:10px;letter-spacing:.1em}.resident-scroll__room{flex-basis:76px;min-height:112px}.resident-scroll__room>strong{font-size:11px}.resident-scroll__room>small{font-size:9px}.resident-scroll__region-heading{gap:3px;padding-bottom:10px}.resident-scroll__region-heading h3{font-size:16px}.resident-scroll__region-heading p{flex-basis:100%;min-width:0;font-size:11px}.resident-scroll__stage{display:flex;flex-direction:column;gap:15px;padding:10px 0 18px}.resident-scroll__figure{width:100%;height:370px;max-height:49vh}.resident-scroll__fixture{width:79px;right:5px;bottom:5px}.resident-scroll__fixture svg{height:96px}.resident-scroll__identity{width:100%}.resident-scroll__identity>h3{font-size:28px;margin-bottom:10px}.resident-scroll__facts{gap:22px;margin:12px 0}.resident-scroll__ring>span{display:inline;margin-left:12px}.resident-scroll__primary{margin-top:14px}.resident-scroll__primary>.button{flex:1}.resident-scroll__manual>summary{gap:8px}.resident-scroll__manual>summary>span{font-size:10px}.resident-scroll__manual-content>details{padding-inline:10px}.resident-scroll__manual-content fieldset{display:grid;grid-template-columns:1fr}.resident-scroll__empty{padding-top:18px}.resident-scroll__footer{font-size:10px;letter-spacing:0}}@media(prefers-reduced-motion:reduce){.resident-scroll__room{transition:none}}.resident-scroll__room-fixtures{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;width:100%;min-height:0}.resident-scroll__room-fixtures:empty{display:none}.resident-scroll__room-fixtures>em{max-width:100%;margin-top:3px;padding:1px 2px;font-size:9px;font-style:normal;line-height:1.4;color:#8b5e42;background:#e8d9ba88;overflow-wrap:anywhere}.resident-scroll__action-scope{display:block;min-width:0;width:100%;margin:0;padding:0;border:0}.resident-scroll__restrictions{margin:7px 0;font-size:11px;line-height:1.8;color:#875e46;overflow-wrap:anywhere}.person-portrait-link{display:block;width:100%;border:0;padding:0;background:transparent;color:inherit;cursor:pointer;border-radius:8px}.person-portrait-link:focus-visible{outline:3px solid var(--gold,#b99450);outline-offset:4px}.person-portrait-link:hover{filter:brightness(1.03)}.resident-scroll__stage{align-items:start}.resident-scroll__figure>.person-portrait-link{display:flex;align-items:center;justify-content:center;flex:1;height:100%;min-height:0;overflow:hidden;border-radius:0}.resident-scroll__figure>.person-portrait-link>:is(img,svg,.npc-portrait-art){display:block;width:100%;height:100%;min-width:0;max-width:100%;max-height:100%;margin:0;object-fit:contain;object-position:center}.calculation-status{position:fixed;z-index:210;top:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 32px);padding:12px 18px;border:1px solid #c9ad70;border-radius:10px;background:#fffaf0;box-shadow:0 4px 20px #44321b24;color:#513d27;pointer-events:none}.calculation-status strong{font-size:15px}.calculation-status p{margin:4px 0 0;font-size:13px;line-height:1.5}.calculation-status .loading-ring{width:22px;height:22px;flex-shrink:0}@media(max-width:650px){.calculation-status{top:calc(env(safe-area-inset-top) + 8px);padding:9px 12px;gap:9px}.calculation-status strong{font-size:14px}.calculation-status p{font-size:12px}}:root{font-family:Noto Sans SC,Microsoft YaHei,sans-serif;font-synthesis:none;color:#3d352c;background:#e9e9d9;--ink: #3d352c;--muted: #716955;--gold: #876329;--gold-deep: #654921;--violet: #89659c;--blue: #517b96;--panel: rgba(255,251,241,.96);--panel-solid: #fffaf0;--line: rgba(144,122,75,.25);--line-gold: rgba(165,130,67,.5);--danger: #ab444c;--life: #5d9b71;--soul: #6a94b3;--shadow: 0 12px 36px rgba(63,58,38,.14);color-scheme:light}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;overflow-x:hidden;background:#e9e9d9}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:"Noto Serif SC",serif;letter-spacing:.04em}p{line-height:1.75}.app-shell{position:relative;min-height:100vh;isolation:isolate;padding:88px 32px 32px}.app-shell--battle{padding:0;overflow:hidden}.topbar{position:fixed;z-index:20;top:0;left:0;right:0;height:66px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;background:#fffcf2f0;box-shadow:0 3px 14px #60533312;border-bottom:1px solid var(--line-gold);backdrop-filter:blur(12px)}.brand{display:flex;gap:11px;align-items:center;border:0;background:transparent;cursor:pointer;text-align:left}.brand__sigil{width:37px;height:37px;display:grid;place-items:center;color:var(--gold);transform:none;border:0;box-shadow:none}.brand__sigil:first-letter{transform:rotate(-45deg)}.brand>span:last-child{display:grid}.brand strong{font-family:"Noto Serif SC",serif;letter-spacing:.14em}.brand small{color:var(--muted);font-size:10px;letter-spacing:.25em}.topbar__status{display:flex;align-items:center;gap:16px;font-size:12px;color:var(--muted)}.status-dot:before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#dddecb}.status-dot--on:before{background:#accdac;box-shadow:0 0 10px #4c432c8c}.page-stage{width:min(1440px,100%);margin:0 auto}.page-stage--battle{width:100%;height:100vh}.button{min-height:42px;border:1px solid transparent;padding:10px 18px;cursor:pointer;font-weight:600;letter-spacing:.05em;border-radius:5px;transition:background .18s,box-shadow .18s,transform .18s}.button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.1)}.button:disabled{opacity:.42;cursor:not-allowed}.button--primary{background:linear-gradient(115deg,#dbbb71,#f2dca2 48%,#ddbc78);color:#48351e;border:1px solid #ac8543;box-shadow:inset 0 0 0 2px #fff3c777,0 4px 12px #7a60351e}.button--secondary{border-color:#a997736b;background:linear-gradient(#fffdf4,#eee4cb);border:1px solid #bbaa80;color:#615039}.button--ghost{border-color:var(--line);background:#fffaf080;border:1px solid #bfae864d;color:#665a43}.button--danger{color:#863a38;background:#fff0e8;border-color:#be7b71}a.button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.icon-button{width:36px;height:36px;border:0;border-radius:50%;cursor:pointer;font-size:24px;background:#dfd4b860;color:#695a3c}.panel{position:relative;padding:24px;overflow:hidden;background:linear-gradient(135deg,#fffdf5,#f8f1df);border:1px solid var(--line-gold);border-radius:10px;box-shadow:inset 0 0 0 4px #fffaf0,inset 0 0 0 5px #b79d6140,var(--shadow);backdrop-filter:none}.panel:after{content:"";position:absolute;left:20px;right:20px;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(231,211,164,.65),transparent)}.panel__head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:22px}.panel__head h2{margin:3px 0 0;font-size:clamp(20px,2vw,29px)}.panel__head small,.eyebrow{color:var(--gold);font-size:11px;letter-spacing:.22em;text-transform:uppercase}.muted{color:var(--muted)}.danger-text{color:var(--danger)}.hero{min-height:480px;position:relative;display:flex;align-items:center;padding:clamp(36px,6vw,82px);border:1px solid var(--line-gold);border-radius:26px;overflow:hidden;background:radial-gradient(circle at 77% 48%,rgba(221,222,203,.35),transparent 30%),linear-gradient(125deg,#faf5e6f5,#faf5e6e8);box-shadow:var(--shadow)}.hero:before{content:"";position:absolute;inset:14px;border:1px solid rgba(167,132,70,.25);border-radius:17px;pointer-events:none}.hero__copy{width:min(680px,68%);position:relative;z-index:2}.hero h1{margin:18px 0 22px;font-size:clamp(42px,5.2vw,76px);line-height:1.18;font-weight:600}.hero h1 em{color:var(--gold);font-style:normal;text-shadow:0 0 30px rgba(161,122,59,.14)}.hero__copy>p{max-width:590px;color:#6e6858}.hero__actions,.field-actions,.stack-actions{display:flex;flex-wrap:wrap;gap:10px}.hero__halo{position:absolute;width:min(42vw,480px);right:5%;top:50%;transform:translateY(-50%);opacity:.36}.hero__halo svg{overflow:visible;fill:none;stroke:#a78446;stroke-width:.7;filter:drop-shadow(0 0 12px rgba(76,67,44,.44));animation:halo-spin 36s linear infinite}@keyframes halo-spin{to{transform:rotate(360deg)}}.hero__crest{position:absolute;right:5.5%;bottom:11%;display:grid;text-align:center;color:var(--gold)}.hero__crest strong{font-family:serif;font-size:48px;line-height:1}.hero__crest span,.hero__crest small{font-size:10px;letter-spacing:.3em}.home-grid,.content-grid,.region-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin-top:18px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}.feature-grid article{padding:26px;border-left:1px solid var(--line-gold);background:#faf5e68c}.feature-grid article>b{color:var(--gold-deep);font-size:12px;letter-spacing:.2em}.feature-grid h2{margin:12px 0 6px}.feature-grid p{color:var(--muted);font-size:13px}.stat-row,.inventory-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat-tile{min-width:0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#a9926108;display:grid;gap:4px}.stat-tile small,.stat-tile span{color:var(--muted);font-size:11px}.stat-tile strong{font-family:"Noto Serif SC",serif;font-size:20px;overflow-wrap:anywhere}.resource-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.meter{width:100%;min-width:92px;margin:10px 0}.meter__label{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted)}.meter__track{margin-top:5px;border-radius:8px;overflow:hidden;background:#ddd9c7;height:7px}.meter__fill{display:block;height:100%;background:var(--gold);transition:width .35s;box-shadow:inset 0 1px #ffffff70}.meter__fill--life{background:var(--life)}.meter__fill--soul{background:var(--soul)}.avatar{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;border:1px solid var(--line-gold);border-radius:50%;font-family:"Noto Serif SC",serif;background:radial-gradient(circle at 35% 30%,#fff7d8,#acbf9a);color:#574b31;box-shadow:inset 0 0 0 3px #fff5da,0 3px 10px #4a603626}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.avatar--large{width:94px;height:94px;font-size:32px}.empty-state{min-height:55vh;display:grid;place-items:center;align-content:center;text-align:center}.empty-state__glyph{color:var(--gold);font-size:62px;text-shadow:0 0 25px var(--violet)}.empty-state p{color:var(--muted);max-width:540px}.wizard-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;max-width:1080px;margin:30px auto}.wizard-steps{display:grid;align-content:start;gap:10px;padding-top:26px}.wizard-steps>span{margin:0 0 16px 14px;color:var(--gold);font-family:"Noto Serif SC",serif;letter-spacing:.2em}.wizard-steps button{display:flex;align-items:center;gap:12px;padding:13px;border:0;border-radius:11px;text-align:left;color:var(--muted);background:transparent;cursor:pointer}.wizard-steps button b{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%}.wizard-steps button.is-active{color:var(--ink);background:#dddecb29}.wizard-steps button.is-active b,.wizard-steps button.is-done b{border-color:var(--gold);color:var(--gold)}.wizard-card{min-height:640px;padding:clamp(26px,4vw,52px)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:grid;align-content:start;gap:7px;color:#3d352c;font-size:12px}input:not([type=radio]):not([type=checkbox]):not([type=range]),select,textarea{width:100%;padding:11px 12px;background:#fffdf7;border:1px solid #bdad88;border-radius:5px;color:var(--ink)}textarea{min-height:86px;resize:vertical}.span-2{grid-column:1 / -1}.avatar-control{display:grid;grid-template-columns:110px 1fr;gap:20px;align-items:center;padding:16px;border:1px dashed var(--line);border-radius:14px}.avatar-preview{width:100px;height:100px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line-gold);border-radius:50%;background:#faf5e6;font-size:36px}.avatar-preview img{width:100%;height:100%;object-fit:cover}.avatar-control small{color:var(--muted)}.inline-field{grid-template-columns:120px 220px;align-items:center}.soul-choice-grid{display:grid;gap:16px;margin-top:24px}.soul-choice{padding:19px;border:1px solid var(--line);border-radius:13px;background:#faf5e614}.soul-choice p{color:var(--muted);margin:7px 0 0}.creation-summary{display:grid;grid-template-columns:150px 1fr;gap:32px;align-items:center;padding:28px;border:1px solid var(--line-gold);border-radius:16px;background:radial-gradient(circle at 10% 50%,rgba(221,222,203,.25),transparent 30%)}.creation-summary__sigil{width:136px;height:136px;display:grid;place-items:center;border:1px solid var(--gold);border-radius:50%;font:52px "Noto Serif SC",serif;color:var(--gold);box-shadow:0 0 40px #4c432c2b,inset 0 0 25px #a17a3b12}.creation-summary dl{margin:0}.creation-summary dl div,.diagnostics div{display:grid;grid-template-columns:130px 1fr;gap:15px;padding:9px 0;border-bottom:1px solid var(--line)}dt{color:var(--muted)}dd{margin:0}.wizard-actions{display:flex;justify-content:space-between;margin-top:30px}.config-import{padding:14px;border:1px dashed var(--line-gold);border-radius:12px}.file-button{display:inline-grid;width:auto;min-height:42px;place-items:center;padding:10px 18px;border:1px solid rgba(169,151,115,.42);border-radius:9px;color:var(--ink);background:#dddecb29;cursor:pointer;font-weight:600}.file-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.config-actions{margin-top:18px}.character-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px}.character-portrait{min-height:calc(100vh - 190px);text-align:center}.character-portrait>.avatar{margin:28px auto 16px;width:150px;height:150px;font-size:50px}.character-portrait h1{margin-bottom:4px;font-size:34px}.character-portrait>p{color:var(--muted)}.character-portrait blockquote{margin:24px 0 0;padding:14px;color:var(--muted);border-left:2px solid var(--gold-deep);text-align:left;line-height:1.7}.level-seal{margin:22px auto;width:92px;height:92px;display:grid;place-items:center;align-content:center;border:1px solid var(--line-gold);border-radius:50%;background:radial-gradient(circle,rgba(221,222,203,.22),transparent 70%)}.level-seal strong{color:var(--gold);font:34px "Noto Serif SC",serif}.level-seal span{color:var(--muted);font-size:10px}.character-content{min-width:0}.tabs{display:flex;gap:2px;overflow-x:auto;margin-bottom:16px;border-bottom:1px solid var(--line)}.tabs button{padding:12px 16px;white-space:nowrap;border:0;border-bottom:2px solid transparent;color:var(--muted);background:transparent;cursor:pointer}.tabs button.is-active{color:var(--gold);border-bottom-color:var(--gold)}.tabs--compact{margin:-10px 0 16px}.attribute-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.attribute-grid>div{display:grid;place-items:center;padding:24px 12px;border:1px solid var(--line);border-radius:14px;background:radial-gradient(circle at top,rgba(221,222,203,.16),transparent 70%)}.attribute-grid strong{color:var(--gold);font:36px "Noto Serif SC",serif}.attribute-grid small{color:var(--muted)}.soul-display{display:grid;gap:16px}.ring-row,.ring-stack{display:flex;gap:10px;flex-wrap:wrap}.record-list{display:grid;gap:8px}.record-list article,.save-list article{display:flex;justify-content:space-between;gap:15px;padding:13px 15px;border:1px solid var(--line);border-radius:10px}.record-list span,.save-list span{color:var(--muted);font-size:12px}.title-poem{padding:30px;color:var(--gold);text-align:center;font:22px "Noto Serif SC",serif;letter-spacing:.1em}.page-heading{padding:22px 4px 28px}.page-heading h1{margin:10px 0;font-size:clamp(34px,4vw,55px)}.page-heading p{color:var(--muted)}.region-card--verdant{min-height:330px;background:radial-gradient(circle at 85% 15%,rgba(250,245,230,.24),transparent 35%),linear-gradient(145deg,#faf5e6e6,#faf5e6e6)}.expedition-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}.expedition-map{min-height:calc(100vh - 190px)}.expedition-side{display:grid;align-content:start;gap:18px}.route-map{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;align-items:center;margin-top:32px;overflow-x:auto}.route-layer{min-width:150px;display:grid;gap:13px;align-content:center}.route-layer>span{color:var(--gold-deep);font:30px "Noto Serif SC",serif;text-align:center}.route-node{min-height:94px;display:grid;gap:4px;place-content:center;border:1px solid var(--line);border-radius:50%;color:var(--ink);background:radial-gradient(circle,#dddecb40,#faf5e6e6);cursor:pointer}.route-node small{color:var(--muted);font-size:9px}.route-node:disabled{opacity:.36;cursor:not-allowed}.route-node.is-current,.route-node:enabled{border-color:var(--gold-deep);box-shadow:0 0 25px #4c432c1c}.route-node--completed{color:#306d4d}.adventure-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin-bottom:18px}.adventure-toolbar label{min-width:min(360px,100%)}.journey-callout{margin-bottom:18px;border-color:#a7844673}.world-map-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:9px;max-height:520px;overflow-y:auto;padding-right:5px}.world-node{min-height:92px;display:grid;align-content:center;gap:5px;padding:13px;border:1px solid var(--line);border-radius:12px;text-align:left;color:var(--ink);background:#faf5e61a;cursor:pointer}.world-node:hover:not(:disabled),.world-node.is-current{border-color:var(--gold);background:#e7d3a417}.world-node:disabled{opacity:.42;cursor:not-allowed}.world-node span,.world-node small{color:var(--muted);font-size:10px}.dungeon-grid,.venue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.compact-heading{padding-bottom:12px}.risk-sheet{display:grid;gap:16px}.risk-band{justify-self:start;padding:6px 12px;border:1px solid var(--line-gold);border-radius:999px;color:var(--gold)}.remains-card{align-items:center}.remains-card>span{display:grid;gap:4px}.battle-callout{border-color:#b1575959}.postcombat-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px;width:100%;padding:9px 0;border-bottom:1px solid var(--line)}.postcombat-row b{flex:1;min-width:100px}.choice-list{display:grid;gap:8px}.choice-list button{display:grid;gap:4px;padding:12px;text-align:left;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:#dddecb1a;cursor:pointer}.choice-list button:hover{border-color:var(--gold)}.choice-list span,.choice-list small{color:var(--muted)}.inventory-summary{grid-template-columns:repeat(4,1fr);margin-bottom:18px}.inventory-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px}.inventory-layout aside{display:grid;align-content:start;gap:18px}.item-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.item-card{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:11px}.item-card__icon,.canon-card__avatar{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line-gold);border-radius:10px;color:var(--gold);background:#e7d3a414}.item-card div:nth-child(2),.canon-card div:nth-child(2){display:grid;min-width:0}.item-card span,.canon-card span,.canon-card small{color:var(--muted);font-size:11px}.equipment-slots{display:grid;gap:8px}.equipment-slots div{display:flex;justify-content:space-between;padding:13px;border:1px dashed var(--line);border-radius:10px}.equipment-slots span{color:var(--muted)}.card-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.shop-grid{display:grid;gap:8px;margin-top:14px}.shop-grid article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border:1px solid var(--line);border-radius:10px}.shop-grid article>span{display:grid;gap:3px}.shop-grid small{color:var(--muted)}.mode-switch{display:flex;gap:8px;margin-bottom:17px}.mode-switch button{border:1px solid var(--line);border-radius:30px;padding:9px 15px;color:var(--muted);background:#a9926108;cursor:pointer}.mode-switch button.is-active{color:#a43d43;border-color:var(--gold);background:var(--gold)}.search{width:min(340px,40vw)}.canon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:560px;overflow-y:auto}.canon-card{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;min-width:0;padding:12px;border:1px solid var(--line);border-radius:11px}.canon-card b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.endgame-grid{display:flex;flex-wrap:wrap;gap:9px}.activity-summary{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.system-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.system-grid>.panel{min-height:300px}.toggle-row{grid-template-columns:20px 1fr;align-items:center;margin-bottom:18px}.toggle-row input{width:auto;accent-color:var(--gold)}.field-actions{grid-column:1 / -1;align-items:center}.diagnostic-message{padding:12px;border-left:2px solid var(--gold);background:#a9926108}.save-list{display:grid;gap:7px;max-height:180px;overflow-y:auto;margin-top:18px}.save-list article>span{display:grid;gap:3px;color:var(--ink)}.save-list small{color:var(--muted)}.history-list{display:grid;gap:6px;max-height:180px;overflow:auto;margin-top:18px}.history-list p{margin:0;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.blueprint-row{display:grid;gap:6px;margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:10px}.blueprint-row>span{color:var(--muted);font-size:12px}.performance-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.performance-grid button{display:grid;gap:4px;padding:15px;text-align:left;border:1px solid var(--line);border-radius:11px;color:var(--muted);background:#a9926105;cursor:pointer}.performance-grid button.is-active{color:var(--ink);border-color:var(--gold);background:#e7d3a417}.performance-grid span{font-size:11px}.diagnostics{margin:0}.import-area{min-height:270px;font-family:monospace}.vault-box{margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:10px}.vault-box summary{margin-bottom:12px;cursor:pointer;color:var(--gold)}.modal-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:24px;background:#2831247a;backdrop-filter:blur(7px)}.modal{width:min(680px,100%);max-height:88svh;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(135deg,#fffdf6,#f6efdd);color:var(--ink);border:1px solid #ac8d4e;box-shadow:inset 0 0 0 5px #fff9ec,inset 0 0 0 6px #c5b07d80,0 24px 80px #28352345;border-radius:12px}.modal>header,.modal>footer{display:flex;flex:none;align-items:center;justify-content:space-between;gap:9px;padding:17px 22px;border-bottom:1px solid var(--line)}.modal>header h2{margin:0}.modal>footer{justify-content:flex-end;flex-wrap:wrap;border:0;border-top:1px solid var(--line)}.modal__body{padding:22px;min-height:0;overflow:auto}.toasts{position:fixed;z-index:150;top:78px;right:20px;width:min(380px,calc(100vw - 40px));display:grid;gap:8px}.toast{padding:13px 15px;border:1px solid var(--line);border-radius:10px;text-align:left;color:var(--ink);background:#faf5e6;box-shadow:var(--shadow);cursor:pointer}.toast--success{border-color:#668b6b80}.toast--danger{border-color:#b157598c}.toast--info{border-color:#a9977380}.loading-panel{min-height:70vh;display:grid;place-items:center;align-content:center;color:var(--muted)}.loading-ring{width:54px;height:54px;border:2px solid rgba(167,132,70,.25);border-top-color:var(--gold);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.busy-line{position:fixed;z-index:200;top:0;left:0;width:38%;height:2px;background:linear-gradient(90deg,transparent,var(--gold),transparent);animation:busy 1.1s ease-in-out infinite}@keyframes busy{0%{transform:translate(-100%)}to{transform:translate(360%)}}.battle-workspace{position:relative;height:100vh;min-height:620px;overflow:hidden;background:radial-gradient(ellipse at 50% 48%,rgba(250,245,230,.4),transparent 38%),linear-gradient(#faf5e6 0 12%,#faf5e6 70%,#faf5e6)}.battle-workspace:after{content:"";position:absolute;inset:12% 0 164px;pointer-events:none;background:linear-gradient(rgba(221,222,203,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(221,222,203,.06) 1px,transparent 1px);background-size:70px 70px;transform:perspective(500px) rotateX(62deg) scale(1.3);transform-origin:bottom;mask-image:linear-gradient(transparent,#000)}.battle-top{position:absolute;z-index:8;top:0;left:0;right:0;min-height:84px;display:flex;align-items:center;gap:18px;padding:12px 20px;background:linear-gradient(#faf5e6f5,#faf5e68c);border-bottom:1px solid var(--line)}.initiative{display:flex;flex:1;justify-content:center;gap:8px;overflow-x:auto}.turn-avatar{position:relative;opacity:.46}.turn-avatar .avatar{width:38px;height:38px}.turn-avatar>span{position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;display:grid;place-items:center;border-radius:50%;background:#faf5e6;font-size:9px}.turn-avatar.is-current{opacity:1;transform:scale(1.12)}.turn-avatar.is-current .avatar{border-color:var(--gold);box-shadow:0 0 18px #a17a3b47}.round-seal{display:grid;text-align:center;font-size:9px;color:var(--muted);letter-spacing:.12em}.round-seal strong{color:var(--gold);font-size:23px}.battlefield{position:absolute;z-index:3;inset:84px 0 210px;display:flex;align-items:center;justify-content:center;gap:clamp(22px,5vw,88px);padding:30px min(330px,19vw) 30px 30px}.battlefield__aura{position:absolute;width:500px;height:190px;border:1px solid rgba(169,151,115,.25);border-radius:50%;box-shadow:0 0 80px #4c432c1c,inset 0 0 70px #4c432c17;transform:rotateX(68deg)}.fighter{position:relative;z-index:3;width:170px;min-height:225px;padding:18px;border:1px solid var(--line);border-radius:90px 90px 18px 18px;color:var(--ink);background:linear-gradient(#faf5e6c7,#faf5e6e6);cursor:pointer;box-shadow:0 18px 50px #4c432c36}.fighter .avatar{margin:0 auto 12px}.fighter>b,.fighter>span{display:block}.fighter>span{color:var(--muted);font-size:10px}.fighter--enemy{border-color:#b1575947}.fighter.is-targeted{border-color:#b15759;box-shadow:0 0 0 4px #4c432c12,0 0 32px #4c432c21;transform:translateY(-6px)}.fighter.is-acting:after{content:"行动";position:absolute;top:-9px;left:50%;transform:translate(-50%);padding:3px 10px;border-radius:12px;color:#a43d43;background:var(--gold);font-size:9px}.action-deck{position:absolute;z-index:10;left:0;right:0;bottom:0;height:210px;display:grid;grid-template-columns:190px minmax(0,1fr) auto;gap:14px;padding:12px 22px;background:#faf5e6ed;border-top:1px solid var(--line-gold);backdrop-filter:blur(20px)}.actor-panel{display:flex;gap:10px;align-items:center}.actor-panel>div{display:grid}.actor-panel span{color:var(--gold);font-size:10px}.action-zone{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}.action-filters{display:flex;align-items:center;justify-content:space-between;gap:10px}.action-filters>div{display:flex;gap:4px;overflow-x:auto}.action-filters button{padding:5px 9px;white-space:nowrap;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:transparent;cursor:pointer;font-size:10px}.action-filters button.is-active{color:#a43d43;border-color:var(--gold);background:var(--gold)}.action-filters input{width:120px;padding:6px 8px;font-size:10px}.action-scroll{display:flex;gap:9px;align-items:stretch;overflow-x:auto}.skill-button{min-width:145px;display:grid;align-content:center;gap:5px;padding:12px;border:1px solid rgba(169,151,115,.25);border-radius:11px;text-align:left;background:linear-gradient(145deg,#faf5e640,#faf5e6e6);cursor:pointer}.skill-button:hover:not(:disabled){border-color:var(--gold)}.skill-button:disabled{opacity:.38;cursor:not-allowed}.skill-button small{color:var(--violet)}.skill-button span{color:var(--muted);font-size:10px}.turn-wait{margin:auto;color:var(--muted)}.ring-stack{width:92px;align-content:center;justify-content:center;overflow-y:auto}.ring-stack .soul-ring{width:40px;height:40px}.battle-log{position:absolute;z-index:12;top:84px;bottom:210px;right:0;width:min(320px,32vw);padding:16px;overflow-y:auto;border-left:1px solid var(--line);background:#faf5e6e0;backdrop-filter:blur(18px);transform:translate(101%);transition:transform .25s}.battle-log.is-open{transform:none}.battle-log header{display:flex;justify-content:space-between;align-items:center}.battle-log article{display:grid;grid-template-columns:35px 1fr;gap:9px;padding:9px 0;border-bottom:1px solid var(--line)}.battle-log article span{color:var(--gold-deep);font-size:9px}.battle-log article p{margin:0;color:#3d352c;font-size:11px;line-height:1.6}.battle-empty{height:100vh;display:grid;place-items:center;align-content:center}.action-preview dl{display:grid;grid-template-columns:1fr 1fr;gap:10px}.action-preview dl div{padding:12px;border:1px solid var(--line);border-radius:9px}.action-preview dd{margin-top:5px}.action-preview pre{max-height:230px;overflow:auto;padding:13px;border-radius:9px;color:#3d352c;background:#faf5e6;font-size:10px;white-space:pre-wrap}.battle-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.effect-summary{display:grid;gap:8px;margin-top:14px}.effect-summary article{display:grid;gap:4px;padding:11px;border:1px solid var(--line);border-radius:9px}.effect-summary span{color:var(--muted);font-size:12px}html[data-performance=smooth] .hero__halo svg{animation:none}html[data-performance=smooth] .panel,html[data-performance=smooth] .topbar,html[data-performance=smooth] .battle-log,html[data-performance=smooth] .action-deck{backdrop-filter:none}html[data-performance=reduced] *{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}html[data-performance=reduced] .battlefield__aura{display:none}@media(prefers-reduced-motion:reduce){*{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}@media(max-width:980px){.app-shell{padding-inline:18px}.home-grid,.content-grid,.region-grid,.system-grid{grid-template-columns:1fr}.character-layout{grid-template-columns:270px minmax(0,1fr)}.expedition-layout,.inventory-layout{grid-template-columns:1fr}.world-map-grid{grid-template-columns:repeat(3,minmax(140px,1fr))}.expedition-side{grid-template-columns:1fr 1fr}.canon-grid{grid-template-columns:repeat(2,1fr)}.battlefield{padding-right:min(300px,30vw)}.action-deck{grid-template-columns:145px minmax(0,1fr)}.ring-stack{display:none}}@media(max-width:720px){.app-shell{padding:70px 12px 94px}.topbar{padding:0 14px}.topbar__status>span:not(:last-child){display:none}.hero{min-height:520px;align-items:flex-end;padding:28px 24px}.hero__copy{width:100%}.hero h1{font-size:40px}.hero__halo{width:310px;top:26%;right:-35px}.hero__crest{inset:32px auto auto 30px}.feature-grid,.stat-row,.inventory-summary,.attribute-grid,.item-grid{grid-template-columns:1fr 1fr}.wizard-layout,.character-layout{grid-template-columns:1fr}.wizard-steps{grid-template-columns:repeat(3,1fr);padding:0}.wizard-steps>span{grid-column:1/-1}.wizard-steps button{display:grid;justify-items:center;padding:8px;text-align:center;font-size:10px}.character-portrait{min-height:auto}.form-grid,.creation-summary{grid-template-columns:1fr}.span-2{grid-column:auto}.creation-summary__sigil{margin:auto}.expedition-side,.canon-grid{grid-template-columns:1fr}.search{width:100%}.panel__head{flex-direction:column}.battle-top{padding:8px;gap:6px}.battle-top .button{padding:8px;min-height:36px;font-size:10px}.initiative{justify-content:start}.dungeon-grid,.venue-grid{grid-template-columns:1fr}.world-map-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.battlefield{inset:74px 0 250px;padding:20px;gap:14px;overflow-x:auto;justify-content:start}.fighter{min-width:145px;width:145px;min-height:205px}.action-deck{height:250px;grid-template-columns:1fr;padding:10px}.actor-panel{display:none}.battle-log{top:74px;bottom:250px;width:86vw}.action-preview dl,.battle-options{grid-template-columns:1fr}.action-filters{align-items:stretch;flex-direction:column}.action-filters input{width:100%}}.model-task{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0;padding:.8rem 1.2rem;color:#855f2a;background:#faf5e6f5;border:1px solid rgba(167,132,70,.5);border-radius:.5rem}.model-task button{color:inherit;border:0;border-bottom:1px solid currentColor;padding:.3rem;background:none;cursor:pointer}.economy-quote{display:grid;gap:16px}.economy-quote__total{display:grid;gap:8px;padding:24px;background:#e7d3a414;border-left:2px solid var(--gold)}.economy-quote__total strong{font-size:1.6rem;color:var(--gold)}.economy-quote__reason{padding:16px;border-left:2px solid #a78446;color:#a43d43;background:#faf5e61a}.research-material-picker{display:grid;max-height:45vh;overflow:auto;gap:12px;padding:12px 2px}.research-material-picker label{display:grid;grid-template-columns:minmax(0,1fr) 84px;align-items:center;gap:12px;margin:0}.research-material-picker label span{display:grid;gap:5px}.research-material-picker small{color:var(--muted)}.journey-recovery{max-width:940px;margin:2rem auto;padding:2rem 1rem 6rem;text-align:center}.journey-recovery__sigil{font-size:5rem;color:var(--gold);text-shadow:0 0 65px rgba(76,67,44,.21)}.journey-recovery>small{letter-spacing:.25em;color:var(--gold)}.journey-recovery>h1{font:clamp(2rem,4vw,3.5rem) var(--font-display,serif);margin:1.2rem 0}.journey-recovery>p{max-width:660px;margin:1.2rem auto;line-height:1.9}.journey-recovery__choices{margin:2rem 0;text-align:left;display:grid;gap:1rem}.journey-recovery__choices article{padding:1.3rem 1.5rem;border:1px solid rgba(167,132,70,.27);background:linear-gradient(100deg,#faf5e6b8,#faf5e68c);display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.journey-recovery__choices article small{color:var(--gold)}.journey-recovery__choices article h2{font-size:1.3rem;margin:.6rem 0}.journey-recovery__choices article p{font-size:.85rem;line-height:1.7;margin:0}@media(max-width:640px){.journey-recovery{padding-inline:0}.journey-recovery__choices article{align-items:stretch;flex-direction:column;gap:.8rem}}.portrait-art{display:block;max-width:100%;aspect-ratio:1;height:auto;min-height:0;flex:none;overflow:hidden}.ability-form{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin:.65rem 0;color:var(--muted,#6e6858)}.ability-form>span{border:1px solid rgba(167,132,70,.33);background:#e7d3a414;padding:.2rem .6rem;border-radius:4px;color:#855f2a;font-size:.82rem;letter-spacing:.05em}.ability-form small{font-size:.8rem;line-height:1.6}.defense-sources{margin-top:1rem;padding:.85rem 0;border-top:1px solid rgba(169,151,115,.25);min-width:0}.defense-sources summary{cursor:pointer;color:#855f2a;line-height:1.6}.defense-sources summary span{color:#6e6858;margin-left:.5rem;font-size:.8rem}.defense-sources ul{list-style:none;padding:0;margin:.7rem 0 0;display:grid;gap:.65rem}.defense-sources li{display:grid;gap:.25rem;padding:.65rem .8rem;background:#faf5e666;border-left:2px solid rgba(167,132,70,.47);overflow-wrap:anywhere}.defense-sources b{font-size:.85rem;line-height:1.7;font-weight:500;color:#3d352c}.defense-sources small{color:#6e6858;line-height:1.6}.scene-backdrop{position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#f4f6e480,#f0efd9c7),url(/media/8cb29597b3b9a63033c42080.webp) center/cover}.brand__sigil .ui-icon{width:32px;height:32px;color:#879353}input::placeholder,textarea::placeholder{color:#89816b;opacity:1}summary{cursor:pointer}.companion-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.companion-card{display:flex;gap:14px;padding:16px;border:1px solid #cbbd98;border-radius:8px}.companion-card>.npc-portrait-art{width:72px;height:92px;flex-shrink:0;object-fit:cover}.companion-card h3{margin:0}.companion-card small{display:block;margin-top:8px}.update-notices{max-width:850px;margin:auto;line-height:1.8}.update-notices article,.update-notices section{padding:16px 0;border-bottom:1px solid #cbbd98}.update-notices li{margin-bottom:12px}.update-notices ul{padding-left:24px}.companion-slots{display:flex;flex-wrap:wrap;gap:8px}.companion-slots span{padding:8px 12px;border:1px solid #cbbd98;border-radius:6px}.companion-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.companion-card>div{min-width:0}.connection-notice{flex-wrap:wrap}.connection-notice>span{flex:1 1 220px;overflow-wrap:anywhere}.connection-notice .button{min-width:44px;min-height:44px}.app-shell--home .connection-notice{margin-top:76px}.loot-distribution-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #b99a60;border-radius:10px;background:#fff8e8;flex:none}.loot-distribution-notice p{margin:5px 0 0}.loot-distribution-dialog{width:min(900px,100%)}.loot-reaction-notice{padding:14px 18px;border:1px solid #cfbf9e;border-radius:10px;background:#fffaf0;flex:none}.loot-reaction-notice h3{margin:0 0 10px}.loot-reaction-message{display:flex;align-items:flex-start;gap:12px;margin:12px 0}.loot-reaction-message>div{min-width:0}.loot-reaction-message p{overflow-wrap:anywhere;white-space:pre-wrap;margin:5px 0 0;padding:9px 13px;border:1px solid #ded6c2;border-radius:2px 12px 12px;background:#f5f2e9}.loot-reaction-portrait{flex:none;width:42px;height:42px;border-radius:50%;overflow:hidden}.loot-reaction-portrait>*{width:100%;height:100%}.loot-distribution-form fieldset{margin:16px 0;padding:14px;border:1px solid #cfbf9e;border-radius:8px;min-width:0}.loot-distribution-form legend{font-weight:600;padding:0 6px}.loot-recipient-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.loot-recipient-grid label{display:grid;gap:5px;min-width:0}.loot-recipient-grid input{width:100%;min-width:0;box-sizing:border-box}.loot-item-recipient{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:14px 0;flex-wrap:wrap}.loot-item-recipient select{min-width:150px;max-width:100%}.loot-distribution-form [role=alert]{color:#a43d38}@media(max-width:600px){.loot-distribution-notice{align-items:stretch;flex-direction:column}.loot-distribution-notice .button{width:100%}.loot-item-recipient{display:grid}.loot-recipient-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.bound-figure{display:block;overflow:hidden;max-width:100%;object-fit:contain}.bound-avatar{position:relative;display:inline-flex;width:100%;height:100%}.bound-collar-mark{position:absolute;bottom:0;right:0;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;color:#d7a5ff;background:#29202e;border:2px solid currentColor;font-size:12px;box-shadow:0 0 0 1px #322235}.bound-collar-mark[data-color=白]{color:#f0f3f8}.bound-collar-mark[data-color=黄]{color:#edda26}.bound-collar-mark[data-color=黑]{color:#aaa2b5;background:#19151f}.bound-collar-mark[data-color=红]{color:#e13050}.bound-collar-mark[data-color=金]{color:#e9d9a3}.resident-ring-detail{border:1px solid var(--line,#6f5a41);border-radius:10px;padding:14px;margin:12px 0}.resident-ring-detail__figure{height:360px;background:radial-gradient(ellipse,#3c3441,transparent 72%)}.resident-ring-detail .field-actions{flex-wrap:wrap}.resident-realm__figure{height:280px;max-width:260px;margin:auto}.ability-ring-resident{height:96px;width:100%;display:block;position:relative}.ability-ring-resident>.bound-figure{height:100%;width:100%}.bound-chain-status{display:flex;flex-direction:column;gap:4px;margin:10px 0 14px;color:var(--muted,#89785f);font-size:13px}.bound-chain-status strong{color:var(--ink,#513d22);font-weight:500}.bound-chain-status small{font-size:12px}.battle-intel .bound-chain-status{text-align:center}.bound-chains{pointer-events:none}.resident-ring-detail__figure{display:flex;align-items:center;justify-content:center;height:500px;max-width:700px;min-width:0;margin-inline:auto;overflow:hidden}.resident-ring-detail__figure>.person-portrait-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}.resident-ring-detail__figure>.person-portrait-link>:is(img,svg,.npc-portrait-art){display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center}@media(max-width:720px){.resident-ring-detail__figure{height:420px}}.atlas__person{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;padding:10px 0;border-bottom:1px solid rgba(169,151,115,.25)}.atlas__person>span:nth-child(2){display:grid;gap:6px;flex:1}.atlas__person small{color:#6e6858;font-size:11px}.atlas__person>span:last-child{color:#855f2a}.atlas__person:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.atlas__person:hover b{color:#855f2a}:root{--serif: "Noto Serif SC", "Songti SC", "SimSun", serif}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.text-link{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:14px 0;text-align:left;color:var(--gold);background:none;border:0;border-bottom:1px solid var(--line-gold);cursor:pointer;font-size:12px}.app-shell--home{padding:0}.app-shell--home .page-stage{width:100%}.app-shell--home .topbar{background:linear-gradient(rgba(250,245,230,.85),transparent);border:0;backdrop-filter:none}.brand__sigil{transform:none;border:0;box-shadow:none;font-size:28px}.brand strong{font-size:16px}.topbar{height:66px}.button{border-radius:3px}.traveler-orbit{position:absolute;z-index:-1;width:85%;height:27%;top:43%;left:7%;border:1px solid rgba(167,132,70,.47);border-radius:50%;transform:rotate(-22deg);box-shadow:0 0 20px #a17a3b12,inset 0 0 20px #a17a3b0a}.journal-name{display:flex;gap:14px;align-items:baseline;justify-content:space-between;margin-top:15px}.journal-name h2{font:32px var(--serif);margin:0}.journal-name>span{font-size:13px;color:var(--gold)}html[data-performance=cinematic] .traveler-orbit,html[data-performance=standard] .traveler-orbit{animation:orbit-breathe 6s ease-in-out infinite}@keyframes scene-stars{to{transform:translateY(-60px);opacity:.3}}@keyframes orbit-breathe{50%{transform:rotate(-15deg) scale(1.05);opacity:.5}}.app-shell--adventure{padding-inline:22px}.app-shell--adventure .page-stage{width:100%;max-width:1800px}.atlas{display:grid;grid-template-columns:minmax(0,1fr) 315px;height:calc(100svh - 175px);min-height:500px;max-height:940px;border:1px solid rgba(169,151,115,.25);background:#faf5e6;margin-bottom:28px}.atlas__canvas{position:relative;overflow:hidden;min-width:0;border-radius:10px 10px 0 0;box-shadow:var(--shadow);background:#d2dcbc}.atlas__terrain{width:100%;height:100%;display:block;touch-action:none;user-select:none;cursor:grab}.atlas__terrain:active{cursor:grabbing}.atlas-route{stroke:#a7844699;stroke-width:1.5;pointer-events:none}.atlas-route.is-locked{stroke:#a997736b;stroke-dasharray:4 5}.atlas-route.is-planned{stroke:#a78446;stroke-width:3;filter:drop-shadow(0 0 3px rgba(161,122,59,.55))}.atlas-pin{cursor:pointer;outline:none}.atlas-pin>path{stroke:#a78446;stroke-width:1;fill:#194347;vector-effect:non-scaling-stroke}.atlas-pin>circle:not(.atlas-pin__hit):not(.atlas-player-halo){fill:#f3e4b0}.atlas-pin.is-locked>path{fill:#364552;stroke:#a99773}.atlas-pin.is-locked>circle:not(.atlas-pin__hit):not(.atlas-player-halo){fill:#bbc6c9}.atlas-pin.is-selected>path,.atlas-pin:focus-visible>path{stroke:#a99773;fill:#d7b664;stroke-width:2;filter:drop-shadow(0 0 4px rgba(161,122,59,.55))}.atlas-pin>text{fill:#faf3d3;paint-order:stroke;stroke:#a99773;stroke-width:3px;stroke-linejoin:round;vector-effect:non-scaling-stroke;font-family:var(--serif);font-weight:700;pointer-events:none}.atlas-pin .atlas-player-halo{fill:#cfeced22!important;stroke:#668b6b;stroke-width:1.5;vector-effect:non-scaling-stroke}.atlas__heading{position:absolute;pointer-events:none;top:28px;left:30px;text-shadow:0 2px 12px rgba(76,67,44,.55);padding:12px 18px;border-radius:8px;background:#fffaf0e8;border:1px solid #bba67870;box-shadow:0 4px 16px #5563401c}.atlas__heading h1{font:30px var(--serif);margin:4px 0;color:#5e593b}.atlas__heading p{font-size:11px;letter-spacing:.15em;color:#3d352c}.atlas__search{position:absolute;right:20px;top:20px;width:180px}.atlas__search input{border-color:#a9977345;background:#faf5e6db;border-radius:3px;font-size:12px}.atlas-search-results{position:absolute;z-index:6;background:#faf5e6f5;width:240px;right:0;max-height:300px;overflow:auto;border:1px solid var(--line-gold)}.atlas-search-results button{width:100%;display:grid;gap:4px;text-align:left;padding:12px;border:0;border-bottom:1px solid var(--line);background:none;cursor:pointer}.atlas-search-results button:hover{background:#e7d3a421}.atlas-search-results small{color:var(--muted)}.atlas__tools{position:absolute;bottom:60px;left:22px;display:grid;gap:6px}.atlas__tools button{width:36px;height:36px;color:#855f2a;font-size:22px;border:1px solid rgba(167,132,70,.4);background:#faf5e6e6;cursor:pointer}.atlas__tools button:hover{background:#faf5e6}.atlas__legend{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;gap:18px;padding:12px 20px;font-size:10px;pointer-events:none;background:#fff9e9e8;color:#655d45}.atlas__legend i{display:inline-block;width:6px;height:6px;background:#accdac;border-radius:50%;margin-right:3px}.atlas__drag-hint{margin-left:auto;opacity:.6}.atlas__details{overflow:auto;padding:30px 25px 25px;background:linear-gradient(160deg,#faf5e6,#faf5e6 70%);border-left:1px solid rgba(167,132,70,.25)}.atlas__details>.eyebrow{font-size:10px;letter-spacing:.1em}.atlas__details h2{font:30px/1.35 var(--serif);margin:15px 0}.atlas__details>p{font-size:12px;color:#6e6858;line-height:1.9}.atlas-place-status{display:flex;justify-content:space-between;font-size:11px;padding:13px 0;border-bottom:1px solid var(--line);color:#306d4d}.atlas__details h3{font:16px var(--serif);color:#855f2a;margin:24px 0 14px}.atlas__people>div{display:flex;align-items:center;gap:12px;margin:14px 0}.atlas__people>div>span:last-child{display:grid;gap:5px;min-width:0}.atlas__people b{font-size:13px;font-weight:500}.atlas__people small{font-size:10px;color:var(--muted)}.atlas__people p{font-size:12px}.person-medallion{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid rgba(167,132,70,.4);border-radius:50%;font:18px var(--serif);color:var(--gold);background:#faf5e6}.atlas__services>span{display:block;margin:9px 0;font-size:11px;color:#6e6858}.atlas__departure{margin-top:24px;padding-top:18px;border-top:1px solid var(--line-gold)}.atlas__departure label{font-size:11px}.atlas__departure select{padding:9px;background:#faf5e6;border-radius:3px}.atlas__departure .button{width:100%;margin-top:10px;font-size:12px}.atlas__departure p{font-size:11px}.atlas-travel-cost{display:flex;justify-content:space-between;color:var(--gold);margin:17px 0 0}.atlas-guidance{color:#6e6858}.app-shell--character{background:transparent}.app-shell--character .page-stage{max-width:1800px}.ring-inspect{display:grid;justify-items:center;gap:10px;margin:6px 12px 6px 0}.ring-inspect>span{font-size:11px;color:var(--muted)}.ring-details{display:grid;grid-template-columns:40% 1fr;gap:25px;align-items:center}.ring-details__art{display:grid;place-items:center;min-height:260px}.ring-details article{padding:18px 0;border-top:1px solid var(--line)}.ring-details h3{font:22px var(--serif);margin:12px 0}.ring-details p{font-size:12px;color:#6e6858}html[data-performance=smooth] .traveler-orbit,html[data-performance=reduced] .traveler-orbit{box-shadow:none}@media(min-width:1700px){.atlas{grid-template-columns:minmax(0,1fr) 360px}}@media(max-width:1100px){.atlas{grid-template-columns:minmax(0,1fr) 280px}.atlas__details{padding:24px 20px}.atlas__heading h1{font-size:30px}.atlas__search{width:150px}}@media(max-width:760px){.app-shell--home{padding:0}.has-traveler{flex-direction:column}.app-shell--adventure{padding-inline:12px}.atlas{grid-template-columns:1fr;height:auto;max-height:none;min-height:0}.atlas__canvas{height:58svh;min-height:350px}.atlas__details{max-height:none;border-left:0;border-top:1px solid var(--line-gold)}.atlas__heading{left:20px;top:20px}.atlas__heading h1{font-size:26px}.atlas__search{top:auto;bottom:52px;right:15px;width:160px}.atlas__legend{gap:12px;padding-inline:12px;font-size:9px}.atlas__drag-hint{display:none}.atlas__details h2{font-size:28px}.atlas__people{display:flex;flex-wrap:wrap;gap:0 24px}.atlas__people h3{width:100%}.atlas__services{display:flex;flex-wrap:wrap;gap:0 20px}.atlas__services h3{width:100%}.atlas__departure{max-width:500px}}@media(max-width:600px){.ring-details{grid-template-columns:1fr}.ring-details__art{min-height:130px}.ring-details__art .soul-ring{width:130px;height:130px}}.atlas-place-symbol path{fill:#233e43;stroke:#a78446;stroke-width:1.25;stroke-linejoin:round}.atlas-pin.is-selected .atlas-place-symbol path{fill:#3c5550;stroke:#a78446}.atlas__services button{display:block;width:100%;padding:11px 0;text-align:left;color:#3d352c;background:none;border:0;border-bottom:1px solid rgba(169,151,115,.25);cursor:pointer;font:12px var(--sans)}.atlas__services button:hover{color:#855f2a}.atlas-pin text{fill:#4b5137;stroke:#fff9e8;stroke-width:3px;paint-order:stroke;font-weight:600}.atlas-pin.is-selected text,.atlas-pin.is-player text{fill:#77531c;stroke:#fff9e8}.atlas-place-symbol{fill:#fff5d2;stroke:#708552;stroke-width:1.4}.soul-ring-palette{--ring-color:#f0f3f8;--ring-edge:#ffffff;--ring-shadow:#bbc3cf;--ring-outline:#929cac;--ring-glow:#d2deef;--ring-glyph:#e8eef7;color:var(--ring-color)}.soul-ring-palette[data-tier=百年]{--ring-color:#edda26;--ring-edge:#fffba0;--ring-shadow:#d5c013;--ring-outline:#b3a126;--ring-glow:#f0df36;--ring-glyph:#fff9a8}.soul-ring-palette[data-tier=千年]{--ring-color:#9346e4;--ring-edge:#dcb6ff;--ring-shadow:#6525a5;--ring-outline:#69359c;--ring-glow:#a052ff;--ring-glyph:#e0b9ff}.soul-ring-palette[data-tier=万年]{--ring-color:#19151f;--ring-edge:#aaa2b5;--ring-shadow:#09080d;--ring-outline:#8d859a;--ring-glow:#908498;--ring-glyph:#8b7c96}.soul-ring-palette[data-tier=十万年]{--ring-color:#d91536;--ring-edge:#ff91a5;--ring-shadow:#930d2c;--ring-outline:#960f30;--ring-glow:#ed3051;--ring-glyph:#ff8399}.soul-ring-palette[data-tier=百万年]{--ring-color:#d79b32;--ring-edge:#fff2ce;--ring-shadow:#995916;--ring-outline:#985917;--ring-glow:#e9ae4b;--ring-glyph:#ffe6ac}.soul-ring-palette[data-color=淡金]{--ring-color:#e9d9a3;--ring-edge:#fffbed;--ring-shadow:#ac9867;--ring-outline:#c7b887;--ring-glow:#f5e9c5;--ring-glyph:#fff6db}.soul-ring{width:48px;height:48px;position:relative;display:grid;place-items:center;flex-shrink:0;isolation:isolate;container:soul-ring / inline-size}.soul-ring-art{display:block;width:100%;height:100%;overflow:visible;pointer-events:none;filter:drop-shadow(0 0 2px color-mix(in srgb,var(--ring-glow) 30%,transparent))}.soul-ring>.soul-ring-art{position:absolute;inset:0}.soul-ring>span{position:relative;z-index:1;font-size:9px;line-height:1;white-space:nowrap;color:var(--ink);letter-spacing:-.03em}.soul-ring .ring-sigil__sparks{display:none}.ring-sigil__runes,.ring-sigil__rims,.ring-sigil__crowns,.ring-sigil__corona{transform-box:view-box;transform-origin:center}.ring-sigil__sparks{opacity:.55}.ring-sigil__band{opacity:1}.ring-sigil__contour,.soul-ring-palette[data-tier=万年] .ring-sigil__runes{opacity:.65}@container soul-ring (max-width:64px){.ring-sigil__detail{display:none}}.soul-ring.is-active{animation:ring-pulse .65s ease-in-out 2}@keyframes ring-pulse{50%{transform:scale(1.08)}}.ring-inspection__halo{position:relative;display:grid;place-items:center;width:100%;max-width:230px;height:220px;flex-shrink:0;justify-self:center;isolation:isolate;perspective:700px;background:transparent}.ring-inspection__plane{position:absolute;width:215px;max-width:100%;aspect-ratio:1;transform:rotateX(32deg) rotate(-12deg);container:soul-ring / inline-size}.ring-inspection__plane .soul-ring-art{filter:drop-shadow(0 0 3px color-mix(in srgb,var(--ring-glow) 28%,transparent))}.ring-inspection__halo>span{position:absolute;bottom:2px;z-index:1;font:600 21px var(--serif);letter-spacing:.16em;color:var(--ink)}.relic-card>.ring-inspection__halo{height:calc(100% - 22px);flex:none}.relic-card .ring-inspection__plane{width:calc(100% - 24px);max-width:120px}.relic-card .ring-inspection__halo>span{bottom:0;font-size:10px;letter-spacing:0}.relic-inspection__hero>.ring-inspection__halo{order:2}.ring-details__art .soul-ring{width:230px;height:230px;max-width:100%;perspective:700px;background:transparent}.ring-details__art .soul-ring>.soul-ring-art{transform:rotateX(32deg) rotate(-12deg);filter:drop-shadow(0 0 3px color-mix(in srgb,var(--ring-glow) 28%,transparent))}.ring-details__art .soul-ring>span{align-self:end;margin-bottom:0;font:600 19px var(--serif);letter-spacing:.14em;color:var(--ink)}.ring-details__art .ring-sigil__sparks{display:initial}html:is([data-performance=standard],[data-performance=cinematic]) :is(.ring-inspection__halo,.ring-details__art) .ring-sigil__runes{animation:soul-sigil-turn 50s linear infinite}html[data-performance=cinematic] :is(.ring-inspection__halo,.ring-details__art) .ring-sigil__rims{animation:soul-sigil-turn 80s linear infinite reverse}html[data-performance=cinematic] :is(.ring-inspection__halo,.ring-details__art) .ring-sigil__sparks{animation:soul-sigil-spark 4s ease-in-out infinite alternate}html:is([data-performance=smooth],[data-performance=reduced]) .soul-ring-art{filter:none}@keyframes soul-sigil-turn{to{transform:rotate(360deg)}}@keyframes soul-sigil-spark{0%{opacity:.2}to{opacity:1}}@media(prefers-reduced-motion:reduce){.soul-ring,.soul-ring-art *{animation:none!important}}@media(max-width:600px){.ring-details__art .soul-ring{width:190px;height:190px}.ring-inspection .ring-inspection__halo{height:200px}.ring-inspection__plane{width:185px}.ring-inspection__halo>span{font-size:19px}}.ring-design-advisor{display:grid;gap:12px;margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:8px;min-width:0;font-size:15px;line-height:1.65}.ring-design-advisor label{display:grid;gap:8px;min-width:0}.ring-design-advisor textarea{width:100%;max-width:100%;min-height:112px;font-size:16px}.ring-design-advisor button,.soul-editor__section select,.ring-design-advisor select{min-height:44px;font-size:16px}.ring-design-advisor :is(p,.ability-effects span,.ability-costs,.ability-context dd,.ability-details p),.soul-editor__section .ring-plan-overview p,.soul-editor__section [aria-label=当前魂技设计预览] :is(p,.ability-effects span,.ability-costs,.ability-context dd){font-size:15px;line-height:1.65}.ring-design-proposal{min-width:0;padding:16px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.ring-plan-overview{font-size:15px;line-height:1.65;overflow-wrap:anywhere}.modal--ring-designer .ability-details{font-size:15px}.ring-inspection{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;align-items:center}.ring-inspection h3{font:600 28px var(--serif);margin:12px 0}.ring-inspection label{display:grid;gap:8px}.ring-qualification{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;margin:22px 0}.ring-qualification>div{border-bottom:1px solid #b4bcc735;padding:14px 0}.ring-qualification dt{font-size:12px;margin-bottom:7px;color:var(--muted)}.ring-qualification dd{margin:0;line-height:1.8;color:var(--ink)}@media(max-width:620px){.ring-inspection{grid-template-columns:1fr;gap:0}.ring-inspection__halo{height:150px}.ring-qualification{gap:0 16px}.ring-qualification dd{font-size:14px}}.modal--ring-item{width:min(1120px,100%)}.opening-ring-years{padding:16px;margin:12px 0;border:1px solid var(--border-color,#d7c3a1);border-radius:8px;background:var(--panel-bg,#fffaf0)}.opening-ring-years input{font-size:16px;min-height:44px;width:min(100%,280px)}.opening-ring-years button,.ring-design-advisor button,.ring-adopted-design button{min-height:44px;white-space:normal}.opening-ring-years p,.ring-design-advisor .ability-context dd span,.ring-adopted-design p{font-size:15px;line-height:1.65;overflow-wrap:anywhere}.ring-exchange-editor.soul-editor__section select{font-size:16px;min-height:44px;max-width:100%}.opening-ring-years .field-actions{display:flex;flex-wrap:wrap;gap:8px}.background-ring .ability-details :is(.ability-effects span,.ability-context dd span,.ability-costs),.ring-adopted-design .ability-details :is(.ability-effects span,.ability-context dd span,.ability-costs){font-size:15px;line-height:1.65}.opening-ring-years select,.opening-ring-years textarea{font-size:16px;min-height:44px;max-width:100%;width:100%}.ring-exchange-editor [aria-label=当前魂技设计预览] .ability-context dd span{font-size:15px;line-height:1.65}.ring-manual-editor,.effect-catalogue,.ring-manual-editor fieldset{min-width:0;margin-block:1rem}.ring-manual-editor input:not([type=checkbox]),.ring-manual-editor textarea,.ring-manual-editor select,.effect-catalogue input,.effect-catalogue select{max-width:100%;box-sizing:border-box}.effect-catalogue__list{max-height:28rem;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:.6rem}.effect-catalogue__list article{padding:.75rem;border:1px solid var(--border-color,#bca66f55);border-radius:.5rem;overflow-wrap:anywhere}.effect-attribute-options{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-block:.6rem}.effect-attribute-options label{display:flex;align-items:center;gap:.3rem}.ability-range{margin-block:.65rem;padding:.65rem;border-left:3px solid var(--accent,#b59756);background:#b597560a}.ability-range p{margin:.3rem 0 0}.ring-design-advisor label.opening-workshop__check{display:flex;align-items:center;gap:.5rem}.ring-design-advisor label.opening-workshop__check input{width:auto;margin:0;flex:none}.ability-details{margin:18px 0 24px}.ability-details h4{font:600 16px/1.6 var(--serif);margin:0 0 10px;color:var(--gold)}.ability-details p{font-size:13px;color:var(--muted);margin-bottom:12px}.ability-costs{display:flex;flex-wrap:wrap;gap:10px 20px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.ability-costs b{color:var(--ink);font-weight:500;margin-left:5px}.ability-effects{list-style:none;padding:0;margin:10px 0}.ability-effects li{padding:9px 0}.ability-effects b{font-size:13px;font-weight:500;display:block;margin-bottom:5px}.ability-effects b em{font-size:10px;color:var(--gold);font-style:normal}.ability-effects span{font-size:12px;color:var(--muted);line-height:1.7;display:block}.ability-limits{display:grid;gap:6px;font-size:12px;color:var(--gold)}.ability-passives{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.ability-passives>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.ability-passives dt{color:var(--muted)}.ability-passives dd{margin:0;color:var(--gold)}@keyframes relic-orbit{50%{transform:rotate(18deg);transform-origin:120px 120px;opacity:.4}}.inventory-services{display:grid;gap:28px}.supply-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:16px}.supply-catalog article{display:grid;grid-template-columns:78px 1fr;align-content:start;gap:12px;padding:15px;border:1px solid var(--line);min-width:0}.supply-catalog h3{font:16px/1.6 var(--serif);margin:8px 0}.supply-catalog p{margin:4px 0;font-size:12px;color:var(--muted)}.supply-catalog .card-actions,.supply-catalog article>.button{grid-column:1/-1}.supply-catalog .button{padding:9px 11px;font-size:12px;flex:1}.research-workbench>.panel__head{margin-bottom:16px}.research-workbench>label{max-width:780px}.record-list article>span:first-child{min-width:0}.record-list article>span>b{display:block;font-size:14px;line-height:1.6;color:var(--ink)}.record-list article>span>small{display:block;font-size:12px;line-height:1.7;margin-top:4px;color:var(--muted)}@media(max-width:720px){.supply-catalog{grid-template-columns:1fr}}.material-facts{display:grid;gap:5px;line-height:1.65;overflow-wrap:anywhere}.material-facts small{display:block;color:var(--muted)}.ability-section-label{display:block;color:var(--muted);font-size:12px;letter-spacing:.12em;margin:22px 0 10px}.ability-outcomes .ability-effects{padding:0;list-style:none}.ability-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:14px 0}.ability-context>div{border-top:1px solid var(--line);padding:14px 0}.ability-context dt{font-size:12px;color:var(--muted);margin-bottom:8px}.ability-context dd{margin:0}.ability-context dd p{margin:0 0 8px;line-height:1.65}.ability-context dd strong{font-size:14px;font-weight:500}.ability-context dd span{display:block;color:var(--muted);font-size:12px;line-height:1.65}@media(max-width:540px){.ability-context{grid-template-columns:1fr}}.prompt-preview{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-height:600px;overflow:auto;font:13px/1.8 system-ui,sans-serif;padding:16px;background:#faf5e6;border-radius:10px}.model-log-list details{margin:12px 0}@keyframes choice-arrive{0%{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:none}}@keyframes choice-reveal{0%{opacity:0;transform:scale(.93)}to{opacity:1;transform:none}}.choice-availability{flex:none;margin:8px 0 12px;padding:10px 14px;border-left:2px solid #a78446;background:#faf5e6d9;color:#3d352c;font-size:13px;text-align:left}.choice-availability summary{cursor:pointer;color:#855f2a;line-height:1.6}.choice-availability summary span{margin-left:12px;font-size:12px;color:#6e6858}.choice-availability>div{max-height:160px;overflow:auto;line-height:1.75}.choice-availability p{margin:8px 0}.sound-settings{max-width:920px}.sound-sliders{display:grid;gap:28px;margin:32px 0}.sound-sliders label{display:grid;gap:12px}.sound-sliders label>span{display:flex;justify-content:space-between;gap:16px;color:var(--ink)}.sound-sliders output{color:var(--gold);font-variant-numeric:tabular-nums}.sound-sliders input{width:100%;padding:0;min-height:28px;accent-color:var(--gold);cursor:pointer}.sound-audition{border-top:1px solid var(--line);padding-top:24px}.sound-tracks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 24px}.sound-tracks button{min-height:130px;display:grid;justify-items:center;gap:8px;padding:20px 12px;background:linear-gradient(145deg,#faf5e6cc,#faf5e6cc);border:1px solid rgba(169,151,115,.25);border-radius:10px;color:var(--ink);cursor:pointer}.sound-tracks button>span{font-size:28px;color:var(--gold)}.sound-tracks button>small{color:var(--muted)}.sound-tracks button[aria-pressed=true]{border-color:var(--gold);box-shadow:inset 0 0 26px #a17a3b0d}.sound-tracks button[aria-pressed=true] b:before{content:"✓ ";color:var(--gold)}.sound-credits{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;font-size:12px;line-height:1.8;color:var(--muted)}.sound-credits summary{cursor:pointer;color:var(--ink)}.sound-credits a{color:var(--gold)}@media(max-width:600px){.sound-tracks{grid-template-columns:1fr}.sound-tracks button{min-height:76px;grid-template-columns:40px 1fr;justify-items:start;gap:4px 14px;padding:14px}.sound-tracks button>span{grid-row:span 2;align-self:center}.sound-settings{padding:20px!important}}.ui-icon{width:1.2em;height:1.2em;flex-shrink:0;vertical-align:-.2em}.button>.ui-icon{margin-right:.45em}.icon-button{display:inline-grid;place-items:center;min-width:40px;min-height:40px;flex-shrink:0}.sound-tracks .ui-icon{width:32px;height:32px}.choice-reroll{display:inline-flex;align-items:center;justify-content:center;gap:10px}.modal>header{gap:18px;align-items:center}.modal>header h2{min-width:0}.modal__body{overscroll-behavior:contain;min-height:0}.modal>footer{gap:12px;flex-wrap:wrap}.modal-backdrop{animation:veil-in .16s ease-out}@keyframes veil-in{0%{opacity:.6}to{opacity:1}}.button,button[aria-pressed],.icon-button,.settings-tabs button{transition:background-color .18s,border-color .18s,box-shadow .18s,opacity .18s,transform .15s}.button:not(:disabled):active,.icon-button:not(:disabled):active{transform:translateY(1px) scale(.98)}:is(button,a,input,select,textarea,summary,[role=button]):focus-visible{outline:2px solid #a78446;outline-offset:4px}button:disabled{cursor:not-allowed}.button:disabled{opacity:.48;box-shadow:none}.button,.modal h2,.modal h3,.empty-state h2{overflow-wrap:anywhere}.button{white-space:normal;line-height:1.5}.choice-card.is-selected{box-shadow:inset 0 0 36px #a17a3b12,0 8px 28px #4c432c2e}.growth-feedback{display:flex;align-items:center;gap:20px;position:relative;max-width:920px;margin:20px auto;padding:18px 24px;border:1px solid rgba(167,132,70,.47);background:linear-gradient(110deg,#faf5e6e6,#faf5e6ed);border-radius:8px;color:#855f2a;animation:reward-arrive .8s ease-out}.growth-feedback__seal{border:1px solid rgba(167,132,70,.47);border-radius:50%;width:58px;height:58px;display:grid;place-items:center;font:30px var(--serif)}.growth-feedback>div{display:grid;gap:4px}.growth-feedback small{letter-spacing:.2em;font-size:10px}.growth-feedback strong{font:28px var(--serif)}.growth-feedback p{font-size:12px;margin:0;color:var(--muted)}.growth-feedback>.button{margin-left:auto}.choice-reward .ring-inspection__halo{width:230px;height:220px;min-height:0;margin:0 auto;animation:ring-gather .85s ease-out}.choice-reward__skills{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:800px;margin:12px auto}.choice-reward__skills>p{padding:10px 16px;border:1px solid rgba(167,132,70,.33);background:#faf5e6a6;overflow-wrap:anywhere}.choice-reward__skills>p>span{color:#306d4d}.choice-reward h3{overflow-wrap:anywhere}.choice-reward>.muted{font-size:13px;line-height:1.8}.craft-reward{display:grid;justify-items:center;text-align:center;gap:10px;padding:20px 0 30px;animation:reward-arrive .8s ease-out}.craft-reward>.relic-art{max-width:240px;max-height:230px}.craft-reward h2{font:30px var(--serif);margin:8px 0;color:var(--gold)}.craft-reward>strong{color:var(--gold);font-size:24px}.craft-reward>p{font-size:13px;color:var(--muted)}.combat-strike.is-heal{stroke:#668b6b}.combat-strike.is-shield{stroke:#a99773}.combat-number.is-shield{fill:#a4dfff}.combat-number.is-miss{fill:#d8e0e7;font-size:15px;letter-spacing:.08em}.combat-impact__ring{fill:none;stroke:#a78446;stroke-width:2;animation:impact-ring .65s ease-out both;pointer-events:none}.combat-impact__ring.is-heal{stroke:#668b6b}.combat-impact__ring.is-shield{stroke:#a99773}.combat-impact__fall{fill:#f3cfb7;stroke:#a99773;paint-order:stroke;stroke-width:5px;font-size:18px;font-weight:700}.combat-turn-message[data-outcome]{border:1px solid rgba(167,132,70,.4);background:linear-gradient(100deg,#faf5e630,#faf5e6c9);padding:18px}.combat-turn-message[data-outcome]>strong{font:28px var(--serif);color:#855f2a}.combat-turn-message[data-outcome=败北],.combat-turn-message[data-outcome=认输]{border-color:#b1575954}.combat-turn-message[data-outcome=败北]>strong,.combat-turn-message[data-outcome=认输]>strong{color:#a43d43}@keyframes reward-arrive{0%{opacity:.3;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes ring-gather{0%{opacity:.3;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}@keyframes impact-ring{0%{opacity:.9;transform:scale(.8)}to{opacity:0;transform:scale(1.4)}}@media(max-width:600px){.growth-feedback{gap:12px;margin:12px;padding:14px}.growth-feedback__seal{width:42px;height:42px;flex-shrink:0;font-size:24px}.growth-feedback strong{font-size:23px}.choice-reward .ring-inspection__halo{width:180px;height:165px}.choice-reward__skills{display:grid;gap:8px}.choice-reward__skills>p{margin:0}.craft-reward h2{font-size:24px}}html:is([data-performance=smooth],[data-performance=reduced]) :is(.combat-impact__ring,.growth-feedback,.craft-reward,.choice-reward .ring-inspection__halo){animation:none}@media(prefers-reduced-motion:reduce){.combat-impact__ring{animation:none;opacity:.65}.growth-feedback,.craft-reward,.choice-reward .ring-inspection__halo{animation:none}:is(.button,button[aria-pressed],.icon-button,.settings-tabs button){transition:none}.button:not(:disabled):active{transform:none}}.topbar__tools,.combat-header__tools{display:flex;align-items:center;gap:18px}.quick-sound-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:40px;padding:8px 12px;border:1px solid rgba(167,132,70,.3);border-radius:8px;background:#faf5e6;color:var(--gold);font-size:12px;cursor:pointer;flex-shrink:0}.quick-sound-button:hover{border-color:var(--gold);background:#faf5e6}.quick-sound-button small{color:var(--muted);min-width:28px}.quick-sound-modal{width:min(440px,100%)}.quick-sound-modal .sound-sliders{gap:20px;margin:26px 0}.quick-sound-switch-row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line)}.quick-sound-switch-row>span{display:grid;gap:6px}.quick-sound-switch-row small{color:var(--muted);font-size:12px}.quick-sound-switch{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 12px;border:1px solid rgba(169,151,115,.4);border-radius:24px;background:#faf5e6;color:#6e6858;cursor:pointer}.quick-sound-switch i{display:block;width:22px;height:22px;border-radius:50%;background:currentColor}.quick-sound-switch[aria-checked=true]{flex-direction:row-reverse;border-color:var(--gold);background:#e7d3a4;color:#6e6858}.quick-sound-result{min-height:24px;margin:18px 0 0;font-size:13px;color:var(--gold)}@media(max-width:720px){.topbar__tools{gap:10px}.topbar__tools .topbar__status{display:none}.quick-sound-button{padding:8px;gap:5px}.combat-header__tools{gap:8px}.combat-header__tools .quick-sound-button>span,.combat-header__tools .quick-sound-button>small{display:none}.combat-header__tools .combat-log-toggle{white-space:nowrap;margin-left:0}}@media(max-width:380px){.combat-header{flex-wrap:wrap}.combat-header__tools{margin-left:auto;margin-bottom:8px}}@media(max-width:480px){.app-shell .topbar{height:auto;flex-wrap:wrap;gap:8px}.app-shell .topbar__tools{flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0;max-width:100%}.app-shell .topbar__tools>.text-link{min-height:40px}}[data-grade=waste]{--grade-color:#dce3ee;--grade-ink:#62665b}[data-grade=common]{--grade-color:#80d7a0;--grade-ink:#37734b}[data-grade=rare]{--grade-color:#7bbaff;--grade-ink:#356c9a}[data-grade=top]{--grade-color:#c39aff;--grade-ink:#81569e}[data-grade=divine]{--grade-color:#f3cf78;--grade-ink:#916719}.grade-badge{display:inline-flex;align-items:center;gap:6px;color:var(--grade-ink);font-size:12px;font-weight:600;line-height:1.65;letter-spacing:.06em;white-space:nowrap}.grade-badge>span{font-size:8px}.grade-name[data-grade],[data-grade]>.grade-name{color:var(--grade-ink)}.relic-card[data-grade]{border-color:color-mix(in srgb,var(--grade-color) 55%,transparent);background:radial-gradient(ellipse at 50% 10%,color-mix(in srgb,var(--grade-color) 12%,transparent),transparent 65%),#fffaf0}.relic-card[data-grade] .relic-card__name,.relic-loadout__name[data-grade],.relic-inspection__hero[data-grade] h2,.supply-catalog article[data-grade] h3,.stored-catalog article[data-grade] h3{color:var(--grade-ink)}.relic-card[data-grade].is-selected{border-color:var(--grade-ink);box-shadow:inset 0 0 0 1px var(--grade-color),0 0 22px color-mix(in srgb,var(--grade-color) 15%,transparent)}[data-grade] .relic-art{filter:drop-shadow(0 0 12px color-mix(in srgb,var(--grade-color) 20%,transparent))}.choice-card[data-grade]{--choice-accent:var(--grade-color);border-color:var(--grade-ink);box-shadow:inset 0 0 0 4px #fff9eb,inset 0 0 0 5px color-mix(in srgb,var(--grade-color) 45%,transparent),0 16px 28px #72603526}.choice-card[data-grade]:before,.choice-card[data-grade] h3{border-color:color-mix(in srgb,var(--grade-color) 40%,transparent)}.choice-card[data-grade] h3,.choice-card[data-grade] .choice-card__ordinal{color:var(--grade-ink)}.choice-card[data-grade] .choice-card__crown{background:linear-gradient(145deg,var(--grade-color),color-mix(in srgb,var(--grade-color) 50%,#a58e59))}.choice-card[data-grade].is-selected{outline:2px solid var(--grade-color);outline-offset:5px;box-shadow:inset 0 0 0 4px #fff9eb,inset 0 0 0 5px var(--grade-color),0 0 32px color-mix(in srgb,var(--grade-color) 30%,transparent)}.choice-card__grade{display:flex;justify-content:center;margin:0 0 8px}.choice-reward[data-grade] h3{color:var(--grade-ink)}.archive-item summary[data-grade]{color:var(--grade-ink)}.generated-art{display:block;aspect-ratio:1;object-fit:contain;border-radius:12px;background:#eee9d7;border:1px solid #cbb780;box-shadow:0 4px 15px #07120d26;flex-shrink:0;overflow:hidden}.generated-art--small{width:54px;height:54px}.generated-art--soul{width:112px;height:112px;float:left;margin:4px 20px 12px 0}.ability-art-heading{display:flex;align-items:center;gap:14px}.choice-card__art .generated-art--choice{margin:auto;width:min(100%,180px);height:auto;max-height:100%;border-radius:32px 32px 12px 12px;box-shadow:0 6px 18px #8e744323;border:1px solid #bcab7d}.choice-card__art{overflow:visible}.choice-reward .generated-art--reward{width:180px;height:180px;margin:0 auto 24px}.combat-action-list>button{position:relative}.combat-action-list>button:has(.generated-art--action){padding-right:46px}.generated-art--action{position:absolute;right:8px;top:8px;width:30px;height:30px;margin:0;border-radius:8px}.item-details__art .relic-art{width:90px;height:90px;margin:0 0 16px}.relic-art.generated-art{padding:0;max-width:100%}@media(max-width:600px){.generated-art--small{width:44px;height:44px}.choice-card__art .generated-art--choice{width:88px;height:88px}}.choice-card.is-multi .generated-art--choice{width:64px;height:64px;border-radius:12px}.choice-card.is-four .generated-art--choice{width:48px;height:48px}.app-shell--battle{overflow:visible}.page-stage--battle{height:auto;min-height:100svh}.combat-scene{min-height:100svh;padding:0 24px 24px;isolation:isolate;background:linear-gradient(#fbf7eec9,#fff5dc08 35%,#fff8eac4 82%),url(/media/87285b6d3b4939a49ed56436.webp) center/cover;color:var(--ink)}.combat-scene--arena{background-image:linear-gradient(#fbf7eec9,#fff5dc08 35%,#fff8eac4 82%),url(/media/1d108dfc18077b6cae4543dc.webp)}.combat-header{min-height:80px;display:flex;align-items:center;gap:24px;border-bottom:1px solid rgba(167,132,70,.27)}.combat-header .button{font-size:12px;padding:10px}.combat-title small{color:#855f2a;letter-spacing:.22em;font-size:9px}.combat-title h1{font:25px var(--serif);margin:8px 0 0}.combat-round{display:flex;align-items:baseline;gap:9px;margin-left:auto}.combat-round span{color:#6e6858;font-size:12px}.combat-round strong{color:#855f2a;font:42px var(--serif)}.combat-log-toggle{margin-left:30px;color:#855f2a;padding:12px 4px;border:0;border-bottom:1px solid rgba(167,132,70,.33);background:none;cursor:pointer}.combat-order{display:flex;gap:10px;padding:14px 0;overflow-x:auto}.combat-order button{display:flex;align-items:center;gap:12px;padding:9px 13px;flex-shrink:0;border:1px solid rgba(169,151,115,.25);background:#faf5e6a8;color:#6e6858;cursor:pointer}.combat-order button>span{font:18px var(--serif);color:#6e6858}.combat-order button>b{font-size:12px;font-weight:500}.combat-order button>i{font-size:10px;font-style:normal}.combat-order button.is-current{color:#855f2a;border-color:#a7844699;background:#e7d3a438}.combat-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.combat-main{min-width:0}.combat-stage{position:relative;background:#fcfff012;border:1px solid #9c9d6870;border-radius:8px}.combat-stage__top{display:flex;position:relative;z-index:2;align-items:center;justify-content:space-between;padding:14px 20px 0;font-size:11px;color:#306d4d}.combat-stage__top button{color:#855f2a;border:1px solid rgba(102,139,107,.27);background:#faf5e6d9;padding:7px 12px;cursor:pointer}.combat-stage__viewport{overflow:auto;scrollbar-width:thin}.combat-board{display:block;width:100%;min-height:320px;max-height:calc(100svh - 380px);touch-action:pan-x pan-y}.combat-board.is-zoomed{width:175%;max-height:none;min-height:unset}.combat-board__boundary{stroke-width:1;fill:#f9ffe50c;stroke:#9ca977}.combat-board__grid{stroke-width:1;pointer-events:none;stroke:#768b5638}.combat-unit{cursor:pointer;outline:none;transition:transform .55s cubic-bezier(.2,.6,.3,1)}.combat-unit__base{stroke-width:2;fill:#55704450;stroke:#8a8c5d}.combat-unit__disc{stroke:#668b6b;stroke-width:2}.is-enemy .combat-unit__base,.is-enemy .combat-unit__disc{stroke:#b15759}.combat-unit__halo{fill:none;stroke:transparent;stroke-width:2}.combat-unit.is-acting .combat-unit__halo{stroke:#a78446;stroke-dasharray:6 5}.combat-unit.is-selected .combat-unit__halo,.combat-unit:focus-visible .combat-unit__halo{stroke:#a78446;stroke-dasharray:none;stroke-width:3}.combat-unit.is-affected .combat-unit__base{fill:#e7b25644;stroke:#a78446;stroke-width:3}.combat-unit.in-field .combat-unit__base{fill:#a896ff66;stroke:#a99773}.combat-unit.is-inactive{opacity:.45}.combat-unit__glyph{font:28px var(--serif);fill:#fff8d6}.combat-unit__name{font:700 17px var(--serif);fill:#3d4b31;stroke:#fffbe6;stroke-width:3;paint-order:stroke}.combat-unit__zone{font-size:11px;fill:#3d4b31;stroke:#fffbe6;stroke-width:3;paint-order:stroke}.combat-unit__track{fill:#ede3c0;stroke:#8f9870;stroke-width:.5}.combat-unit__hp{fill:#528254}.is-enemy .combat-unit__hp{fill:#b56460}.combat-unit__sp{fill:#658baa}.combat-unit__numbers,.combat-unit__status{font-size:11px;fill:#3d4b31;stroke:#fffbe6;stroke-width:3;paint-order:stroke}.combat-aim circle,.combat-aim path,.combat-aim rect,.combat-aim polyline,.combat-move>*{vector-effect:non-scaling-stroke}.combat-aim__reach{fill:none;stroke:#a7844678;stroke-dasharray:5 5}.combat-aim__area{fill:#e2c87133;stroke:#a78446;stroke-width:1.5}.combat-aim__ray{fill:none;stroke:#a7844699;stroke-dasharray:4 5}.combat-aim__point{fill:#fff0b644;stroke:#a78446;stroke-width:2}.combat-aim__chain{fill:none;stroke:#668b6b;stroke-width:3;stroke-dasharray:8 4}.combat-move{fill:#b4fff133;stroke:#668b6b;stroke-width:2;stroke-dasharray:4 5;pointer-events:none}.combat-strike{fill:none;stroke:#a78446;stroke-width:4;pointer-events:none;stroke-dasharray:1200;animation:combat-strike .65s ease-out both;filter:drop-shadow(0 0 5px rgba(161,122,59,.55))}.combat-number{stroke-width:3;paint-order:stroke;font:700 28px var(--serif);pointer-events:none;animation:combat-number .9s ease-out both;fill:#ac4942;stroke:#fffbe6}.combat-number.is-heal{fill:#326c45}.combat-fields{padding:8px 16px;display:flex;gap:8px;flex-wrap:wrap;background:#faf5e6a6}.combat-fields button{color:#744e8e;border:1px solid rgba(169,151,115,.33);background:#faf5e678;cursor:pointer;padding:8px;font-size:11px}.combat-fields button.is-active{border-color:#a99773}.combat-fields p{width:100%;margin:4px 0;color:#744e8e;font-size:11px}.combat-roster{display:flex;overflow:auto;gap:8px;padding:12px 0}.combat-roster button{display:flex;align-items:center;gap:18px;padding:10px 12px;background:#faf5e6ba;border:1px solid rgba(102,139,107,.25);cursor:pointer;flex-shrink:0}.combat-roster button>span{font-size:12px;color:#306d4d}.combat-roster button>b{font-size:12px;color:#306d4d}.combat-roster small{font-size:10px;color:#306d4d;font-weight:400}.combat-roster button.is-selected{border-color:#a78446ba}.combat-turn-message{min-height:58px;display:grid;grid-template-columns:1fr auto;align-content:center;gap:7px 12px;border-left:2px solid rgba(167,132,70,.53);background:linear-gradient(90deg,rgba(250,245,230,.86),transparent);padding:12px 16px}.combat-turn-message strong{font:16px var(--serif);color:#855f2a}.combat-turn-message>span{grid-row:2;color:#6e6858;font-size:11px;line-height:1.8;max-height:42px;overflow:hidden}.combat-turn-message>button{grid-column:2;grid-row:1/3;align-self:center;font-size:12px;cursor:pointer}.combat-turn-message>button:not(.button){border:0;border-bottom:1px solid rgba(169,151,115,.29);background:none;padding:10px 0;color:#306d4d}.combat-sidebar{min-width:0;border-top:1px solid rgba(167,132,70,.6);max-height:calc(100svh - 340px);min-height:390px;background:#fffaeef5;box-shadow:var(--shadow);border:1px solid #bda679;border-radius:8px}.combat-inspect{padding:28px 24px}.combat-inspect>small,.combat-plan header>small{color:#855f2a;font-size:10px;letter-spacing:.12em}.combat-inspect h2{font:28px var(--serif);color:#855f2a;margin:17px 0 28px}.combat-inspect .meter{margin-bottom:22px}.combat-inspect .meter__track{height:4px}.combat-inspect .meter__label{font-size:11px}.combat-inspect>p{font-size:12px;color:#306d4d}.combat-condition{border-top:1px solid rgba(102,139,107,.25);margin-top:20px;padding-top:8px}.combat-condition p{display:flex;justify-content:space-between;gap:10px;color:#306d4d;font-size:12px}.combat-condition small{color:#6e6858}.combat-soul-rings{display:flex;flex-wrap:wrap;margin-top:22px;gap:2px}.combat-plan{display:flex;height:100%;flex-direction:column}.combat-plan header{position:relative;padding:22px 24px 14px}.combat-plan header .icon-button{position:absolute;right:12px;top:12px}.combat-plan h2{font:26px var(--serif);margin:12px 0 0}.combat-plan__body{overflow:auto;flex:1;padding:0 24px 18px;scrollbar-width:thin}.combat-plan__body>label{display:grid;gap:8px;font-size:11px;margin:16px 0}.combat-plan select,.combat-plan input:not([type=checkbox]){font-size:12px;padding:10px;background:#faf5e6;border-radius:2px;width:100%;min-width:0}.combat-plan p{font-size:11px;line-height:1.9;color:#6e6858}.combat-cost{display:flex;gap:30px;margin:10px 0 20px;padding-bottom:15px;border-bottom:1px solid rgba(167,132,70,.25)}.combat-cost>div{display:grid;gap:8px}.combat-cost dt{font-size:10px;color:#6e6858}.combat-cost dd{font:21px var(--serif);color:#855f2a;margin:0}.combat-branches{display:flex;flex-wrap:wrap;gap:8px}.combat-branches button{padding:8px;font-size:11px;border:1px solid rgba(169,151,115,.33);background:#faf5e6;color:#3d352c;cursor:pointer}.combat-branches button.is-active{border-color:#a78446;color:#855f2a}.combat-point-fields{display:flex;gap:10px}.combat-point-fields>label{font-size:11px;min-width:0;display:grid;gap:6px}.combat-movement,.combat-effects{border-top:1px solid rgba(169,151,115,.25);margin-top:16px;padding-top:15px}.combat-movement>summary,.combat-effects>summary{cursor:pointer;font-size:12px;color:#855f2a}.combat-movement label{font-size:11px;margin-top:12px}.combat-movement>span{font-size:11px;color:#306d4d}.combat-movement .toggle-row{padding:8px 0}.combat-target-preview{border-left:2px solid rgba(169,151,115,.27);padding-left:10px;margin-top:18px}.combat-target-preview>span{font-size:10px;color:#6e6858}.combat-target-preview p{color:#855f2a}.combat-plan .combat-plan__reason{color:#a43d43}.combat-effects article{font-size:12px;padding-top:16px}.combat-effects article>b{font-weight:500;color:#306d4d}.combat-plan footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 18px;border-top:1px solid rgba(167,132,70,.27);background:#faf5e6}.combat-plan footer .button{font-size:12px;min-width:84px}.combat-actions{display:grid;grid-template-columns:165px minmax(0,1fr);gap:24px;border-top:1px solid rgba(167,132,70,.4);padding-top:18px;margin-top:22px}.combat-actions__actor{display:flex;align-items:center;gap:14px;padding-bottom:18px}.combat-actions__actor>span{color:#6e6858;font-size:10px;line-height:2}.combat-actions__actor b{display:block;font:17px var(--serif);color:#855f2a;margin-top:7px}.combat-filters{display:flex;align-items:center;gap:12px;justify-content:space-between}.combat-filters>div{display:flex;overflow:auto}.combat-filters button{white-space:nowrap;border:0;border-bottom:2px solid transparent;background:none;color:#6e6858;font-size:11px;padding:8px 13px;cursor:pointer}.combat-filters button.is-active{color:#855f2a;border-bottom-color:#a78446}.combat-filters input{width:140px;padding:7px 10px;font-size:11px;background:#faf5e6;border-radius:2px}.combat-action-list{display:flex;gap:10px;overflow-x:auto;padding:13px 0 5px;scrollbar-width:thin}.combat-action-list>button{width:151px;min-height:92px;flex-shrink:0;display:grid;align-content:start;gap:9px;text-align:left;padding:13px 15px;background:linear-gradient(145deg,#faf5e6d9,#faf5e6c9);color:#3d352c;border:1px solid rgba(102,139,107,.27);border-radius:2px;cursor:pointer}.combat-action-list>button.is-selected{border-color:#a78446;background:linear-gradient(145deg,#faf5e67d,#faf5e6d9)}.combat-action-list>button>small{color:#6e6858;font-size:9px}.combat-action-list>button>b{font:16px var(--serif)}.combat-action-list>button>span{font-size:10px;color:#6e6858;line-height:1.6}.combat-action-list>button:disabled{opacity:.45;cursor:default}.combat-action-list>p{font-size:12px;color:#6e6858;padding:15px}.combat-log{position:fixed;top:20px;right:20px;bottom:20px;width:min(420px,calc(100vw - 30px));z-index:40;display:flex;flex-direction:column;background:#fffaeefc;border:1px solid #b89a57;box-shadow:-15px 0 50px #3e492e33;border-radius:10px}.combat-log>header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid rgba(167,132,70,.4)}.combat-log h2{font:28px var(--serif);margin:0}.combat-log>div{overflow:auto;padding:0 24px 24px}.combat-log article{padding:20px 0;border-bottom:1px solid rgba(169,151,115,.25)}.combat-log article>small{color:#855f2a;font-size:10px}.combat-log p{color:#6e6858;font-size:12px;line-height:1.9}@keyframes combat-strike{0%{stroke-dashoffset:1200;opacity:.1}45%{opacity:1}to{stroke-dashoffset:0;opacity:0}}@keyframes combat-number{0%{transform:translateY(0);opacity:0}25%{opacity:1}to{transform:translateY(-28px);opacity:0}}html[data-performance=cinematic] .combat-unit.is-acting .combat-unit__halo{filter:drop-shadow(0 0 7px rgba(161,122,59,.55));animation:combat-halo 2s linear infinite}@keyframes combat-halo{to{stroke-dashoffset:-66}}html[data-performance=smooth] .combat-strike,html[data-performance=reduced] .combat-strike{filter:none;animation:none;display:none}html[data-performance=smooth] .combat-unit{transition:transform .18s}html[data-performance=reduced] .combat-unit{transition:none}html[data-performance=reduced] .combat-number{animation:none}@media(min-width:1700px){.combat-scene{padding-inline:45px}.combat-layout{grid-template-columns:minmax(0,1fr) 350px;gap:35px}.combat-sidebar{max-height:calc(100svh - 390px)}.combat-board{max-height:calc(100svh - 410px)}.combat-plan__body{padding-inline:28px}.combat-inspect{padding:34px}.combat-actions{grid-template-columns:190px minmax(0,1fr)}.combat-action-list>button{width:174px;min-height:108px}}@media(max-width:1000px){.combat-scene{padding-inline:14px}.combat-layout{grid-template-columns:minmax(0,1fr) 260px;gap:14px}.combat-actions{grid-template-columns:120px minmax(0,1fr);gap:15px}.combat-actions__actor .avatar{display:none}.combat-plan__body{padding-inline:18px}.combat-inspect{padding:24px 18px}.combat-board{min-height:300px}}@media(max-width:720px){.combat-scene{padding:0 12px 24px;background-position:center top}.combat-header{min-height:78px;gap:10px}.combat-title h1{font-size:20px}.combat-title small{font-size:7px}.combat-round{gap:5px}.combat-round strong{font-size:32px}.combat-round span{font-size:10px}.combat-log-toggle{margin-left:0;font-size:11px}.combat-header .button{padding-left:0}.combat-order{gap:6px}.combat-order button{padding:8px;gap:8px}.combat-order button>b{font-size:11px}.combat-layout{grid-template-columns:1fr;gap:14px}.combat-stage__top{padding:12px 12px 0;font-size:10px}.combat-board{min-height:220px;max-height:none}.combat-board.is-zoomed{width:190%}.combat-roster button{min-height:44px}.combat-sidebar{max-height:none;min-height:0}.combat-inspect{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding:20px}.combat-inspect>small,.combat-inspect>h2{grid-column:1/-1}.combat-inspect h2{font-size:24px;margin:10px 0 20px}.combat-inspect .meter{margin-bottom:10px}.combat-condition,.combat-soul-rings{grid-column:1/-1;margin-top:12px}.combat-plan{max-height:none}.combat-plan__body{overflow:visible;padding-inline:20px}.combat-plan footer{position:sticky;bottom:0;z-index:4}.combat-plan header{padding:20px}.combat-actions{grid-template-columns:1fr;gap:0;margin-top:20px}.combat-actions__actor{display:none}.combat-filters{display:block}.combat-filters input{width:100%;margin-top:10px}.combat-filters button{padding:10px}.combat-action-list>button{width:140px;min-height:100px}.combat-turn-message>span{max-height:65px}.combat-turn-message strong{font-size:14px}.combat-turn-message>.button{font-size:11px;padding:10px}.combat-log{top:10px;right:10px;bottom:10px}.combat-point-fields input{min-height:44px}}@media(prefers-reduced-motion:reduce){.combat-strike,.combat-number,.combat-unit__halo{animation:none!important}.combat-unit{transition:none!important}}@media(min-width:721px){.combat-layout{height:calc(100svh - 360px);min-height:345px}.combat-main{display:flex;flex-direction:column;min-height:0}.combat-stage{display:flex;flex-direction:column;flex:1;min-height:0}.combat-stage__viewport{flex:1;min-height:0}.combat-board{height:100%;min-height:0;max-height:none}.combat-board.is-zoomed{height:155%;min-height:300px}.combat-sidebar{height:100%;min-height:0;max-height:none;overflow:hidden}.combat-inspect{height:100%;overflow:auto}.combat-roster{flex-shrink:0;padding:9px 0}.combat-turn-message{flex-shrink:0;min-height:56px;padding:9px 14px}.combat-actions{margin-top:18px;padding-top:12px}}@media(max-width:720px){.combat-board{height:310px;min-height:310px}.combat-board.is-zoomed{height:450px}}.app-shell.app-shell--battle{padding:0}.combat-plan__field-link{display:none}.combat-plan__verdict{flex-shrink:0;padding:8px 22px;border-top:1px solid rgba(102,139,107,.25);background:#faf5e6}.combat-plan__verdict p{margin:4px 0;color:#855f2a;font-size:11px;line-height:1.7}.combat-plan__verdict .combat-plan__reason,.combat-plan__verdict .danger-text{color:#a43d43}.combat-cost{gap:24px;padding:8px 0 14px;margin:0 0 10px}.combat-cost>div{display:flex;align-items:baseline;gap:10px}.combat-cost dd{font-size:18px}@media(max-width:720px){.combat-scene{display:flex;flex-direction:column}.combat-header{order:0}.combat-order{order:1}.combat-layout{display:contents}.combat-main{order:2}.combat-actions{order:3;margin-bottom:20px}.combat-sidebar{order:4}.combat-plan__field-link{display:block;width:100%;background:#faf5e6;color:#855f2a;border:1px solid rgba(102,139,107,.27);padding:13px;margin-bottom:16px;cursor:pointer}.play-scene--battle .combat-return-plan{width:calc(100% - 6px)}.combat-scene--planning .combat-actions{margin-bottom:12px}}.combat-unit,.combat-unit>*{pointer-events:none}.combat-unit>.combat-unit__hit{pointer-events:all}.combat-unit.is-grouped>.combat-unit__hit{pointer-events:none}.combat-marker-group{cursor:pointer;outline:none}.combat-marker-group__hit{fill:transparent;pointer-events:all}.combat-marker-group__badge{pointer-events:none}.combat-marker-group__badge circle{fill:#122037;stroke:#a78446;stroke-width:2;pointer-events:all}.combat-marker-group__badge text{fill:#fff0c9;font:700 19px var(--serif)}.combat-marker-group__badge .combat-marker-group__hint{font-size:12px;font-family:inherit;fill:#3d4b31;stroke:#fffbe6;stroke-width:3;paint-order:stroke}.combat-marker-group:focus-visible .combat-marker-group__badge circle{stroke:#a99773;stroke-width:4}.combat-group-choices{display:grid;gap:10px}.combat-group-choices button{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:12px 16px;text-align:left;color:var(--ink);background:#faf5e6;border:1px solid rgba(167,132,70,.33);border-radius:8px;cursor:pointer}.combat-group-choices button:disabled{opacity:.5;cursor:default}.combat-group-choices button:focus-visible{outline:2px solid #a78446;outline-offset:2px}.combat-group-choices button span{display:grid;gap:5px}.combat-group-choices small{color:var(--muted)}.combat-unit.is-grouped .combat-unit__name,.combat-unit.is-grouped .combat-unit__zone,.combat-unit.is-grouped .combat-unit__numbers,.combat-unit.is-grouped .combat-unit__status{display:none}.combat-log{width:min(520px,calc(100vw - 30px))}.combat-log .combat-judgment{margin-top:14px;border:1px solid rgba(167,132,70,.27);border-radius:6px;background:#faf5e699}.combat-judgment>summary{padding:12px 14px;color:#855f2a;cursor:pointer;font-size:13px}.combat-judgment>summary:focus-visible{outline:2px solid #a78446;outline-offset:2px}.combat-judgment>div{padding:0 14px 14px}.combat-judgment section+section{margin-top:16px;border-top:1px solid rgba(167,132,70,.25);padding-top:12px}.combat-judgment h3{color:#855f2a;font-size:13px;margin:0 0 8px}.combat-judgment ul{list-style:none;padding:0;margin:0}.combat-judgment li{color:#6e6858;font-size:12px;line-height:1.85;margin:6px 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.battle-unit-portrait{display:block;position:relative;isolation:isolate;width:100%;height:100%;overflow:hidden}.battle-unit-portrait>.portrait-art,.battle-unit-portrait>.avatar{width:100%;height:100%;margin:0;border:0;border-radius:0}.battle-unit-portrait>.battle-unit-portrait__avatar{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;margin:0;transform:none}.battle-unit-portrait>.battle-unit-portrait__fallback{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center top;margin:0;transform:none}.app-shell.app-shell--play{padding:0 20px 16px;min-height:100svh;overflow:visible}.app-shell--play .topbar{height:66px;min-height:66px;position:relative;padding:0 6px;border-bottom:1px solid rgba(167,132,70,.25);margin-bottom:16px}.app-shell--play .topbar__tools{gap:20px}.app-shell--play .page-stage{width:100%;max-width:none;height:auto}.play-scene{display:grid;grid-template-columns:154px minmax(0,1fr) 252px;gap:22px;align-items:start;max-width:2200px;margin:auto}.play-cast,.play-hero{height:calc(100svh - 102px);overflow:auto;scrollbar-width:thin;background:linear-gradient(125deg,#fffdf2f5,#f2ead6f5);border:1px solid #ad9259;border-radius:10px;box-shadow:inset 0 0 0 4px #fff9ea,inset 0 0 0 5px #ccb98770,0 8px 20px #5363401c}.play-cast{padding:20px 10px}.play-cast header{padding:0 8px 14px;border-bottom:1px solid rgba(167,132,70,.25)}.play-cast h2,.play-services h2{font:20px var(--serif);margin:7px 0 10px;color:#855f2a}.play-cast small,.play-services>small{font-size:11px;color:#855f2a;letter-spacing:.07em}.play-cast__list{display:flex;flex-direction:column;gap:22px;padding:22px 0}.play-cast__list>p{padding:0 10px;font-size:12px;line-height:1.9}.play-person{display:flex;flex-direction:column;align-items:center;gap:5px;background:none;border:0;cursor:pointer;color:#3d352c;width:100%;padding:0 5px}.play-person:hover .play-person__art{border-color:#a78446;box-shadow:0 0 24px #a17a3b1a}.play-person__art{width:83px;height:83px;border:1px solid rgba(167,132,70,.55);border-radius:50%;overflow:hidden;background:#faf5e6;transition:.2s}.play-person__art>*,.play-person__art img{width:100%;height:100%;object-fit:cover}.play-person b{font:17px var(--serif)}.play-person small{font-size:10px;line-height:1.7;letter-spacing:0;color:#6e6858}.play-center{min-width:0}.play-hero{padding:20px 18px}.play-hero__identity{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;border-bottom:1px solid rgba(167,132,70,.25);color:#855f2a;text-align:left;padding:0 0 20px;cursor:pointer}.play-hero__identity .avatar{width:48px;height:48px;flex-shrink:0}.play-hero__identity strong{font:24px var(--serif);display:block;margin:4px 0}.play-hero__identity small{font-size:11px;color:#6e6858}.play-hero__identity>span:last-child{margin-left:auto;color:#855f2a}.play-hero__vitals{padding:20px 0 14px}.play-hero__vitals .meter{margin-bottom:14px}.play-hero__vitals .meter__label{font-size:12px}.play-hero__vitals .meter__track{height:5px}.play-hero__vitals .text-link{font-size:12px;margin-top:0}.play-hero__links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.play-hero__links button{min-height:44px;border:1px solid rgba(167,132,70,.25);color:#855f2a;cursor:pointer;text-align:left;display:flex;align-items:center;border-radius:5px;background:linear-gradient(#fffdf5,#f0e6ce);gap:6px;padding:10px 8px;justify-content:flex-start;font-size:12px}.play-hero__links button:hover{background:#faf5e68c;border-color:#a78446}.play-hero__links span{color:#855f2a}.play-services{border-top:1px solid rgba(167,132,70,.25);margin-top:25px;padding-top:20px}.play-services>.button{display:block;width:100%;margin-top:10px;min-height:42px;padding:10px 5px}.play-services p{font-size:11px;line-height:1.9;margin:8px 0 16px}.play-model-task{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;background:#faf5e6;border:1px solid rgba(167,132,70,.38);margin-bottom:10px}.play-model-task .button{padding:4px 12px}.play-scene .atlas{display:block;min-height:0;margin:0}.play-scene .atlas__canvas{height:calc(100svh - 300px);min-height:380px;border:1px solid rgba(167,132,70,.25)}.play-scene .atlas__terrain{height:100%;min-height:0}.play-scene .atlas__heading{top:22px;left:24px}.play-scene .atlas__heading h1{font-size:34px}.play-scene .atlas__heading p{display:none}.play-scene .atlas__details{padding:18px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px;min-height:0;border:1px solid rgba(167,132,70,.25);background:#faf5e6d9}.play-scene .atlas__details h2{font-size:24px;margin:0}.play-scene .atlas__details>p{display:none}.play-scene .atlas-place-status{margin:0;font-size:12px}.play-scene .atlas__departure{margin:0;padding:0;border:0;grid-column:2;grid-row:1/6;max-width:260px}.play-scene .atlas__departure label{display:flex;align-items:center;gap:10px;font-size:12px}.play-scene .atlas__departure select{min-height:36px;padding:6px}.play-scene .atlas__departure .button{padding:10px 16px}.play-scene .atlas__services{padding:0;border:0;margin:5px 0;grid-column:1}.play-scene .atlas__services .button{font-size:13px;width:auto}.play-scene .atlas__details .text-link{font-size:12px;margin:5px 0}.play-scene .atlas-travel-cost{font-size:12px;margin:6px 0}.dungeon-scene{background:#fffaf0;border:1px solid #ae955f;border-radius:10px;overflow:hidden;box-shadow:var(--shadow)}.dungeon-heading{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(167,132,70,.25)}.dungeon-heading h1{font:30px var(--serif);margin:6px 0 0;color:#855f2a}.dungeon-heading small,.dungeon-room small{font-size:11px;color:#855f2a}.dungeon-heading .button{font-size:12px}.dungeon-map{height:clamp(310px,calc(100svh - 400px),760px);overflow:auto;scrollbar-width:thin;background:radial-gradient(ellipse at center,#fffaf0aa,#e1d6b675),repeating-linear-gradient(15deg,#9b8b5710 0 1px,transparent 1px 6px),#f4e8cb}.dungeon-map__surface{position:relative;min-width:280px}.dungeon-map__surface>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.dungeon-map path{fill:none;stroke:#668b6b63;stroke-width:2;stroke-dasharray:5 7;vector-effect:non-scaling-stroke}.dungeon-map path.is-open{stroke:#a78446;stroke-width:3;stroke-dasharray:5 6}.dungeon-map path.is-travelled{stroke:#668b6b;stroke-dasharray:none}.dungeon-node{position:absolute;transform:translate(-50%,-50%);width:90px;display:flex;align-items:center;flex-direction:column;background:none;border:0;color:#306d4d;gap:3px;padding:5px;cursor:default;opacity:.75}.dungeon-node i{font:26px Georgia;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;font-style:normal;background:#fffaf0;box-shadow:0 0 0 4px #ddcea980;border:1px solid #ab956b;color:#807457}.dungeon-node b{font:15px var(--serif)}.dungeon-node small{font-size:10px}.dungeon-node.is-open{color:#855f2a;opacity:1;cursor:pointer}.dungeon-node.is-open i{background:linear-gradient(#fff9df,#e2c986);border:2px solid #a88434;box-shadow:0 3px 12px #987d3833;color:#715220}.dungeon-node.is-open:hover i{background:#faf5e6;transform:scale(1.12)}.dungeon-node.is-current{color:#855f2a;opacity:1}.dungeon-node.is-current i{outline-offset:4px;background:#78956d;color:#fffdf0;outline:2px solid #a2833c}.dungeon-node.is-complete{color:#306d4d;opacity:1}.dungeon-entry{position:absolute;left:0;width:100%;text-align:center;color:#306d4d;font-size:12px}.dungeon-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:10px;background:#faf5e675;font-size:11px;color:#306d4d;border-block:1px solid rgba(167,132,70,.25)}.dungeon-room{padding:16px 24px}.dungeon-room__title{display:flex;justify-content:space-between;align-items:center;gap:12px}.dungeon-room h2{font:22px var(--serif);margin:5px 0 12px;color:#855f2a}.dungeon-room p{font-size:12px;line-height:1.8;color:#306d4d}.dungeon-room .button{padding:10px 14px;font-size:12px}.dungeon-loot>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-top:1px solid rgba(167,132,70,.25);padding:10px 0}.dungeon-loot b{font-size:14px}.dungeon-loot span{font-size:11px;color:#6e6858}.dungeon-actions{border-top:1px solid rgba(167,132,70,.25);margin-top:14px;padding-top:14px;display:flex;justify-content:space-between;align-items:center;gap:12px}.dungeon-actions>span{font-size:12px;color:#306d4d}.dungeon-actions>.button{flex-shrink:0}.modal.play-detail{width:min(1500px,96vw);max-width:min(1500px,96vw);max-height:94svh}.play-detail>.modal__body{padding:0 20px 24px}.play-detail .archive-scene,.play-detail .relic-archive,.play-detail .world-page{padding:20px 0;min-height:0}.play-detail .archive-heading,.play-detail .relic-heading,.play-detail .world-heading{padding:16px 0;margin-bottom:24px}.play-detail h1{font-size:34px}.play-actor-detail{display:flex;flex-wrap:wrap;gap:20px;align-items:center}.play-actor-detail>.npc-portrait-art,.play-actor-detail>img,.play-actor-detail>figure{width:120px;height:140px;object-fit:cover}.play-actor-detail p{flex:1;min-width:180px}@media(min-width:1700px){.play-scene{grid-template-columns:180px minmax(0,1fr) 282px;gap:28px}.play-cast{padding:24px 16px}.play-person__art{width:98px;height:98px}.play-hero{padding:24px}.play-scene .atlas__canvas{height:calc(100svh - 294px)}}@media(max-width:1100px){.app-shell.app-shell--play{padding:0 12px 12px}.play-scene{grid-template-columns:100px minmax(0,1fr) 204px;gap:12px}.play-cast{padding:14px 5px}.play-cast h2{font-size:16px}.play-person__art{width:66px;height:66px}.play-person b{font-size:14px}.play-person small{font-size:9px}.play-hero{padding:14px 12px}.play-hero__identity strong{font-size:20px}.play-scene .atlas__details{display:block}.play-scene .atlas__departure{max-width:none}.play-scene .atlas__canvas{height:55svh;min-height:320px}}@media(max-width:760px){.app-shell--play .topbar{height:auto;min-height:58px;margin-bottom:10px}.app-shell--play .topbar__status{display:none}.app-shell--play .topbar__tools{gap:12px}.play-scene{grid-template-columns:minmax(0,1fr)}.play-cast{height:auto;max-height:155px;padding:12px;order:0}.play-cast header{display:none}.play-cast__list{flex-direction:row;padding:0;overflow:auto;gap:18px}.play-person{min-width:78px;width:78px}.play-person__art{width:56px;height:56px}.play-person small{max-height:28px;overflow:hidden}.play-cast__list>p{margin:0}.play-center{order:1}.play-hero{height:auto;order:2;display:grid;grid-template-columns:1fr 1fr;gap:14px}.play-hero__identity{grid-column:1/-1;padding-bottom:10px}.play-hero__vitals{padding:0}.play-hero__links{gap:6px}.play-services{grid-column:1/-1;margin-top:0}.play-services>.button{min-height:44px}.play-scene .atlas__canvas{height:58svh;min-height:320px}.play-scene .atlas__heading{top:16px;left:14px}.play-scene .atlas__heading h1{font-size:24px}.play-scene .atlas__search{max-width:140px;top:18px;right:14px}.play-scene .atlas__details{padding:15px}.dungeon-map{height:430px}.dungeon-heading{padding:16px}.dungeon-heading h1{font-size:25px}.dungeon-room{padding:14px}.dungeon-actions{align-items:flex-start}.dungeon-actions>span{max-width:52%}.modal.play-detail{width:98vw;max-width:98vw}.play-detail>.modal__body{padding:0 12px 18px}}.play-detail .soul-archive{min-height:0;grid-template-rows:auto auto;align-content:start;padding:0}.play-detail .soul-archive__heading{padding:0 0 18px}.play-detail .archive-tabs{align-content:start;padding-top:20px}.play-detail .archive-profile{align-items:start}.play-detail .archive-profile__resources{align-self:start}.play-detail .relic-archive__heading{padding-top:0}.app-shell--play .topbar__tools>.text-link{width:auto;flex:none;padding:10px 4px}.app-shell--play .topbar__status{white-space:nowrap;flex:none}.play-hero__identity strong{overflow-wrap:anywhere}.play-hero__vitals{padding:8px 0 12px}.play-hero__vitals .text-link{padding:8px 0}.play-services{margin-top:16px;padding-top:12px}@media(min-width:761px)and (max-height:850px){.play-hero{padding:14px}.play-hero__identity{padding-bottom:10px}.play-hero__identity strong{font-size:20px}.play-hero__vitals .meter{margin:8px 0}.play-hero__links{gap:6px}.play-hero__links button{min-height:36px;padding:6px;font-size:11px}.play-services h2{font-size:17px;margin:4px 0}.play-services>.button{min-height:34px;padding:7px 4px;margin-top:7px;font-size:12px}.play-services p{font-size:10px;line-height:1.5;margin:6px 0}.play-services>small{font-size:10px}}@media(min-width:1101px)and (min-height:650px){.dungeon-scene{height:calc(100svh - 102px);display:flex;flex-direction:column}.dungeon-heading{padding:12px 20px;flex:none}.dungeon-heading h1{font-size:26px;margin-top:4px}.dungeon-map{height:auto;min-height:170px;flex:1}.dungeon-legend{padding:8px;flex:none}.dungeon-room{padding:12px 20px;flex:none;max-height:42%;overflow:auto;scrollbar-width:thin}.dungeon-room h2{font-size:20px;margin:4px 0 8px}.dungeon-room .button{padding:8px 12px}.dungeon-loot>div{padding:8px 0}.dungeon-actions{margin-top:8px;padding-top:8px}}@media(max-width:760px){.modal-backdrop{padding:8px}.modal.play-detail{width:100%;max-width:100%}}[data-bloodline=white]{--bloodline-color:#e2e8f0;--bloodline-ink:#67675b}[data-bloodline=green]{--bloodline-color:#73dca5;--bloodline-ink:#37724a}[data-bloodline=blue]{--bloodline-color:#70b8f4;--bloodline-ink:#3c7196}[data-bloodline=purple]{--bloodline-color:#bb91ed;--bloodline-ink:#80579b}[data-bloodline=gold]{--bloodline-color:#efce78;--bloodline-ink:#906619}.play-person[data-bloodline]{border:0;padding:8px 0;border-radius:8px}.play-actor-detail>.portrait-art{width:120px;height:120px;flex:0 0 120px;border:1px solid var(--bloodline-color,var(--line));border-radius:12px}.play-person[data-bloodline] b,.play-person[data-bloodline] small,.play-actor-detail[data-bloodline]>p:first-of-type{color:var(--bloodline-ink,var(--ink))}.play-person[data-bloodline] .play-person__art{border-color:var(--bloodline-color);box-shadow:0 0 0 2px #ac97644d}.play-hero__links .ui-icon{width:18px;height:18px;flex:0 0 18px;color:#a38749}.play-hero__links button>span{margin-left:0;text-align:left;line-height:1.6}.play-person:hover{background:#d3c29226}.dungeon-node i .ui-icon{width:24px;height:24px}.dungeon-legend>span{display:inline-flex;align-items:center;gap:4px}.dungeon-legend .ui-icon{width:14px;height:14px}.battle-background,.battle-result-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 18px;margin:12px 0;border:1px solid rgba(167,132,70,.3);border-radius:12px;background:#fcf8eceb;color:#715936}.battle-background .button,.battle-result-actions .button{min-height:44px}.battle-result-actions{justify-content:flex-start}.battle-result-actions .record-list p{overflow-wrap:anywhere}.self-status-actions{margin:10px 0;padding:10px 0;border-top:1px solid #aa8d4a40;overflow-wrap:anywhere}.self-status-actions .button{min-height:44px;margin:6px 6px 0 0;max-width:100%}.self-status-actions__labels{display:flex;flex-wrap:wrap;gap:6px;font-size:13px}.self-status-actions__labels span{padding:3px 6px;background:#e1d3b855;border-radius:4px}.self-status-actions details{margin-top:8px}.self-status-actions select{max-width:100%;min-height:44px}.self-status-actions summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.expedition-scene{margin:-24px -30px 0;padding:36px 42px 120px;background:radial-gradient(ellipse at 60% 8%,rgba(250,245,230,.27),transparent 64%),#faf5e6;min-height:calc(100svh - 66px)}.expedition-scene--forest{background:linear-gradient(100deg,#faf5e6ed,#faf5e6cc),url(/media/87285b6d3b4939a49ed56436.webp) center/cover fixed}.expedition-scene__heading{display:flex;align-items:center;justify-content:space-between;gap:30px;max-width:1640px;margin:0 auto 30px;border-bottom:1px solid rgba(167,132,70,.31);padding-bottom:22px}.expedition-scene__heading h1{font:600 clamp(32px,3vw,50px)/1.4 var(--serif);margin:10px 0}.expedition-scene__heading p{color:#6e6858;margin:5px 0}.expedition-vitals{display:grid;grid-template-columns:1fr 1fr;gap:14px;font-size:13px;color:#306d4d}.expedition-vitals b{display:block;font-size:20px;color:#3d352c;margin-top:4px}.expedition-vitals button{grid-column:1/-1}.expedition-scene__body{display:grid;grid-template-columns:minmax(280px,30%) minmax(0,1fr);gap:44px;max-width:1640px;margin:auto;align-items:start}.expedition-path{background:#faf5e6c9;border:1px solid rgba(102,139,107,.25)}.expedition-path header{padding:20px 24px;border-bottom:1px solid rgba(102,139,107,.25)}.expedition-path h2{font:600 25px var(--serif);margin:0 0 6px}.expedition-path p{font-size:13px;color:#306d4d;margin:5px 0}.expedition-path__scroll{max-height:clamp(220px,calc(100svh - 470px),510px);overflow:auto;scrollbar-width:thin;scrollbar-color:#a78446 #a99773}.expedition-path__surface{position:relative;min-height:340px;margin:15px 12px 8px}.expedition-path__surface>svg{position:absolute;width:100%;height:100%;overflow:visible;pointer-events:none}.expedition-path line{stroke:#668b6b66;stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:5 5}.expedition-path line.is-open{stroke:#a78446;stroke-width:2;stroke-dasharray:none}.expedition-point{position:absolute;transform:translate(-50%,-28px);width:80px;min-height:84px;padding:0;background:transparent;border:0;color:#6e6858;display:flex;flex-direction:column;align-items:center;gap:3px}.expedition-point i{font-style:normal;font-size:22px;display:grid;place-items:center;width:46px;height:46px;background:#faf5e6;border:1px solid #668b6b;border-radius:50%;box-shadow:0 0 0 6px #4c432c8c}.expedition-point span{font-size:14px;white-space:nowrap}.expedition-point small{font-size:10px}.expedition-point:disabled{opacity:.65}.expedition-point.is-complete{color:#306d4d}.expedition-point.is-open{color:#855f2a;cursor:pointer}.expedition-point.is-open i{border-color:#a78446;box-shadow:0 0 0 5px #a17a3b1c,0 0 23px #a17a3b26;background:#faf5e6}.expedition-point.is-current{opacity:1;color:#855f2a}.expedition-point.is-current i{outline:1px solid #a78446;outline-offset:4px}.expedition-path footer{padding:17px 20px;border-top:1px solid rgba(102,139,107,.25)}.expedition-path footer button{width:100%}.expedition-path footer p{line-height:1.7;font-size:12px}.expedition-room{min-width:0;padding-top:14px}.expedition-room>h2{font:600 clamp(28px,2.6vw,42px)/1.5 var(--serif);margin:12px 0 20px}.expedition-room__prose{max-width:850px;color:#3d352c;font-size:17px;line-height:2;margin:0 0 25px}.expedition-room__callout{border-left:2px solid #a78446;padding:15px 24px;background:linear-gradient(90deg,rgba(231,211,164,.19),transparent);margin:20px 0}.expedition-room__callout h3{font-size:23px;margin:0 0 8px}.expedition-room__callout p{color:#6e6858;line-height:1.8}.expedition-beasts{display:grid;gap:18px;margin:26px 0}.expedition-beasts article{border:1px solid rgba(169,151,115,.25);background:#faf5e6cc;padding:22px 24px}.expedition-beasts h3{font:600 25px var(--serif);margin:8px 0}.expedition-beasts p{line-height:1.9;color:#6e6858;margin:8px 0 18px}.expedition-room__depart{border-top:1px solid rgba(167,132,70,.33);margin:30px 0;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.expedition-room__depart p{color:#6e6858;font-size:13px}.expedition-losses{line-height:2;color:#a43d43;padding-left:22px}@media(min-width:1650px){.expedition-scene{padding-top:42px}.expedition-path__scroll{max-height:650px}.expedition-scene__body{gap:64px}.expedition-room{padding:20px 0}.expedition-beasts article{padding:28px}}@media(max-width:900px){.expedition-scene{margin:-20px -18px 0;padding:26px 20px 110px}.expedition-scene__body{grid-template-columns:minmax(220px,35%) minmax(0,1fr);gap:22px}.expedition-vitals{gap:10px;font-size:11px}.expedition-vitals b{font-size:16px}.expedition-room__depart{display:block}.expedition-path header{padding:16px}.expedition-point{width:66px}.expedition-beasts article{padding:18px}}@media(max-width:620px){.expedition-scene{margin:-16px -12px 0;padding:22px 16px 100px}.expedition-scene__heading{display:block}.expedition-vitals{margin-top:20px}.expedition-scene__body{display:flex;flex-direction:column;gap:25px}.expedition-path{width:100%;order:2}.expedition-room{width:100%;order:1}.expedition-path__scroll{max-height:350px}.expedition-room__prose{font-size:15px}.expedition-room__depart button{width:100%}.expedition-beasts .field-actions button{flex:1}}.expedition-beasts article{display:grid;grid-template-columns:142px minmax(0,1fr);gap:8px 24px;align-items:center}.expedition-beast-portrait{width:142px;filter:drop-shadow(0 4px 16px rgba(76,67,44,.07))}.expedition-beasts article>.field-actions{grid-column:2}.expedition-beast-detail{width:260px;margin:0 auto 20px;filter:drop-shadow(0 8px 24px rgba(76,67,44,.11))}@media(max-width:600px){.expedition-beasts article{grid-template-columns:82px minmax(0,1fr);gap:12px}.expedition-beast-portrait{width:82px}.expedition-beasts article>.field-actions{grid-column:1/-1}.expedition-beast-detail{width:200px}}.app-shell--creation .page-stage{max-width:1820px}.soul-editor__identity{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.soul-editor__identity label{display:block}.soul-editor__identity input,.soul-editor__identity textarea{margin-top:8px}.soul-editor__section{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.soul-editor__section h3,.soul-editor__section summary{font:18px var(--serif);color:#855f2a;margin:0 0 12px}.soul-editor__section summary{cursor:pointer}.soul-editor__section p{color:#6e6858;font-size:11px;line-height:1.8}.soul-editor__section h4{font-weight:400;color:#855f2a}.soul-editor__section.exchange-builder{min-width:0}.soul-editor__section.exchange-builder>summary{min-height:48px;padding:8px 0}.soul-editor__section.exchange-builder :is(button,select,input[type=number]){min-height:48px;max-width:100%}.soul-editor__section.exchange-builder label:has(>input[type=checkbox]){min-height:48px;cursor:pointer}.soul-editor__section.exchange-builder fieldset{min-width:0;max-width:100%}.soul-editor__chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.soul-editor__chips button{background:#faf5e6;border:1px solid rgba(169,151,115,.25);color:#3d352c;padding:8px 10px;cursor:pointer;font-size:12px}.soul-editor__adder,.soul-editor__trait-adder{display:flex;gap:9px}.soul-editor__adder select,.soul-editor__trait-adder select{flex:1;min-width:0}.soul-editor__adder .button,.soul-editor__trait-adder .button{flex-shrink:0}.soul-editor__directions{display:grid;gap:8px;margin-bottom:12px;min-width:0}.soul-editor__directions article{display:flex;align-items:flex-start;gap:10px;padding:9px 11px;border:1px solid rgba(169,151,115,.25);border-radius:6px}.soul-editor__directions article>div{flex:1;min-width:0;overflow-wrap:anywhere}.soul-editor__directions p{margin:3px 0 0;font-size:12px;line-height:1.7}.soul-editor__directions .button{flex-shrink:0}.soul-editor__base{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.soul-editor__base select{margin-top:8px}.soul-editor__entries>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:12px}.soul-editor__entries button{border:0;color:#6e6858;background:none;cursor:pointer;font-size:11px}.soul-editor__verdict{margin-top:25px;background:#faf5e645;border-left:2px solid #a78446;padding:15px;font-size:12px;line-height:1.8}.soul-editor__verdict>span{color:#855f2a}.soul-editor__verdict ul{padding-left:18px;color:#6e6858}.soul-editor__verdict p{color:#306d4d;margin:7px 0 0}@media(max-width:720px){.app-shell.app-shell--creation{padding:86px 16px 114px}.soul-editor__identity{grid-template-columns:1fr}.soul-editor__base{gap:8px}.soul-editor__base select{font-size:12px;padding:9px 6px}.soul-editor__trait-adder{flex-wrap:wrap}.soul-editor__trait-adder select{min-width:125px}}.soul-editor__investment{padding:12px 0 18px}.soul-editor__investment-heading{display:flex;align-items:center;gap:14px}.soul-editor__investment-heading label{flex:1;color:#855f2a;font-size:14px}.soul-editor__investment-heading label small{display:block;color:#6e6858;margin-top:5px;font-size:10px}.soul-editor__investment-heading b{color:var(--gold);font:24px var(--serif)}.soul-editor__investment-heading b span{color:#6e6858;font:12px var(--sans)}.soul-editor__investment-control{display:flex;gap:14px;align-items:center;margin-top:12px}.soul-editor__investment-control input{flex:1;min-width:0}.soul-editor__investment-control button{width:34px;height:34px;flex-shrink:0;border:1px solid rgba(167,132,70,.4);background:#e7d3a412;color:#855f2a;font-size:18px;cursor:pointer}.soul-editor__investment-control button:disabled{opacity:.35;cursor:default}.soul-editor__investment-note{display:block;color:#6e6858;font-size:10px;margin:9px 48px 0}.opening-summary{padding:16px 0;border-bottom:1px solid rgba(169,151,115,.25)}.opening-summary li{color:#855f2a;margin:8px 0}.lasting-talents{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.lasting-talents article{border-top:1px solid rgba(167,132,70,.4);padding:16px 0}.lasting-talents h3{font:24px var(--serif);color:#855f2a}.boon-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0}.boon-sources button{display:grid;justify-items:center;gap:5px;background:#faf7ec;border:1px solid #d8c8a6;padding:8px 4px;color:#6e5330;cursor:pointer;border-radius:6px}.boon-sources .portrait-art{width:100%;height:auto;max-width:110px;aspect-ratio:1}.boon-sources strong{font-size:12px}.boon-sources button.is-selected{border:2px solid #a97f39;background:#f0e5cc}.boon-sources button:focus-visible{outline:3px solid #84601f;outline-offset:2px}@media(max-width:720px){.boon-sources{grid-template-columns:repeat(2,minmax(0,1fr))}}.background-cards,.background-ring-candidates{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}.background-cards button,.background-ring-candidates article{padding:18px;text-align:left;border:1px solid #806749;border-radius:12px;background:#1b1c26;color:#eee5d5;min-width:0}.background-cards button[aria-pressed=true],.background-ring-candidates article[aria-current=true]{border-color:#d7b878;box-shadow:0 0 0 1px #d7b878}.background-ring{margin-block:24px}.background-ring pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.background-attributes{display:flex;gap:12px;flex-wrap:wrap}.background-attributes label{width:80px}.world-section-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin:30px 0 22px}.world-section-heading h2,.world-history h2{font:29px var(--serif);margin:9px 0}.world-section-heading>span{color:#855f2a;font-size:13px}.world-notice{color:#855f2a;padding:15px 20px;border-left:2px solid #a78446;background:#e7d3a40d;line-height:1.8}.world-person-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.world-person-card{color:inherit;text-align:left;cursor:pointer;display:flex;align-items:center;min-width:0;gap:12px;position:relative;padding:20px 22px 20px 10px;border:1px solid rgba(169,151,115,.25);background:linear-gradient(125deg,#faf5e630,#faf5e670 50%,#faf5e6);transition:border-color .2s,background .2s}.world-person-card:hover{border-color:#a7844678;background-color:#faf5e638}.world-person-card:focus-visible{outline:2px solid var(--gold)}.world-person-card__seal{width:95px;flex-shrink:0}.world-person-card__seal svg{width:100%}.world-person-card__text{min-width:0;display:grid;gap:9px}.world-person-card__text>b{font:25px var(--serif);color:#3d352c}.world-person-card__text>span{font-size:12px;color:#855f2a;line-height:1.6}.world-person-card small{color:#6e6858;font-size:10px;line-height:1.6}.world-person-card__arrow{color:#855f2a;margin-left:auto;font-size:17px}.person-dossier{display:grid;grid-template-columns:180px minmax(0,1fr);gap:25px}.person-dossier__art{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:24px}.person-dossier__art svg{width:100%}.person-dossier__art>span{color:#6e6858;letter-spacing:.2em;font-size:11px}.person-dossier h3{font:32px var(--serif);margin:15px 0}.person-dossier p{line-height:1.9}.person-dossier dl>div{display:grid;grid-template-columns:75px minmax(0,1fr);gap:14px;border-bottom:1px solid rgba(169,151,115,.25);padding:14px 0;font-size:13px;line-height:1.8}.person-dossier dt{color:#6e6858}.person-dossier dd{margin:0;overflow-wrap:anywhere}.world-venue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.world-venue{padding:25px 28px;background:linear-gradient(125deg,#faf5e633,#faf5e6a8);border-top:1px solid rgba(167,132,70,.26)}.world-venue h3{font:25px var(--serif);margin:13px 0}.world-venue p{font-size:13px;line-height:1.9;color:#6e6858}.world-venue__rewards{color:#855f2a!important}.world-venue footer{border-top:1px solid rgba(169,151,115,.25);margin-top:18px;padding-top:17px;display:flex;justify-content:space-between;align-items:center;gap:16px}.world-venue footer small{color:#6e6858}.world-history{margin-top:38px}.world-history>button{display:flex;gap:25px;width:100%;padding:20px 8px;border:0;border-bottom:1px solid rgba(169,151,115,.25);color:#3d352c;background:none;text-align:left;cursor:pointer}.world-history>button>span:first-child{flex:1}.world-history small{display:block;color:#6e6858;margin-top:7px}.world-history b{font-weight:400;color:#855f2a}.world-history>button>span:last-child{color:#6e6858;font-size:11px}.world-trial{display:grid;grid-template-columns:1.8fr 1fr;gap:45px;padding:25px 35px 40px;background:radial-gradient(ellipse at 10% 0%,rgba(250,245,230,.19),transparent 65%),#faf5e68f;border-top:1px solid rgba(177,87,89,.44)}.world-trial h2{font:40px var(--serif)}.world-trial p{font-size:14px;line-height:2;color:#6e6858}.trial-stages{display:flex;margin:32px 0;gap:12px}.trial-stages>div{flex:1;display:grid;gap:12px;text-align:center;padding:16px 5px;border-bottom:1px solid rgba(177,87,89,.27)}.trial-stages b{font:33px var(--serif);color:#a43d43}.trial-stages span{font-size:14px;color:#6e6858}.trial-stages .is-complete b{color:#a43d43}.trial-stages .is-complete{border-bottom-color:#a78446}.world-trial__road{border-left:1px solid rgba(177,87,89,.29);padding:25px 0 0 30px}.world-trial__road h3{font:28px var(--serif)}.world-trial__road .button{margin:14px 10px 0 0}.world-endgame-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}.world-endgame-grid>article{display:grid;grid-template-columns:105px minmax(0,1fr);gap:20px;padding:30px 25px 30px 5px;border:1px solid rgba(167,132,70,.25);background:radial-gradient(at 10% 20%,rgba(221,222,203,.13),transparent 60%),#faf5e69c}.world-endgame-grid>article.is-victorious{border-color:#a7844687}.world-endgame-grid h3{font:30px var(--serif);margin:12px 0}.world-endgame-grid p{color:#855f2a;font-size:16px;line-height:1.7}.world-endgame-grid small{color:#6e6858}.world-endgame-grid ul{padding-left:16px;font-size:14px;color:#6e6858;line-height:1.9}.endgame-insignia{align-self:center}.endgame-insignia svg{width:100%}.destination-guidance{border-top:1px solid var(--line-gold);margin-top:20px;padding-top:10px}.destination-guidance>div{display:flex;gap:14px;justify-content:space-between;align-items:center;font-size:13px;line-height:1.7;padding:10px 0}@media(min-width:1700px){.world-person-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.world-venue-grid{gap:25px}.world-venue{padding:30px 36px}}@media(max-width:1000px){.world-person-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.world-endgame-grid{grid-template-columns:1fr}.world-trial{gap:25px;padding-inline:20px}.world-section-heading{align-items:flex-start;flex-wrap:wrap}.world-section-heading .field-actions{flex-wrap:wrap}}@media(max-width:600px){.world-person-grid,.world-venue-grid{grid-template-columns:1fr}.world-person-card{padding:14px}.world-person-card__seal{width:76px}.world-person-card__text>b{font-size:24px}.world-section-heading h2{font-size:25px}.world-section-heading .field-actions,.world-section-heading .search{width:100%}.world-section-heading .field-actions>.button{font-size:12px}.world-venue{padding:22px 18px}.world-history>button{gap:14px;font-size:12px}.world-history>button>span:last-child{font-size:10px}.world-trial{grid-template-columns:1fr;padding:18px;gap:20px}.world-trial h2{font-size:34px}.world-trial__road{border-left:0;border-top:1px solid rgba(177,87,89,.29);padding:25px 0 0}.trial-stages{gap:4px}.world-endgame-grid>article{grid-template-columns:72px minmax(0,1fr);padding:24px 12px 24px 0;gap:10px}.world-endgame-grid h3{font-size:27px}.person-dossier{grid-template-columns:1fr;gap:8px}.person-dossier__art{width:140px;margin:auto;padding:0}.person-dossier h3{margin:10px 0}.person-dossier dl>div{grid-template-columns:64px minmax(0,1fr);font-size:12px}.destination-guidance>div{flex-wrap:wrap}.world-endgame-grid .field-actions{gap:8px}.world-endgame-grid .button{font-size:14px;min-height:44px;padding:10px}}html[data-performance=reduced] .world-person-card{transition:none}.character-combat-archive{margin-top:26px;border-top:1px solid rgba(167,132,70,.25);padding-top:20px}.character-combat-archive__body>p{color:#6e6858;font-size:13px;line-height:1.8}.archive-resources{display:flex;gap:26px;flex-wrap:wrap;font-size:13px;margin:18px 0}.archive-resources b{color:#855f2a;margin-left:8px}.character-combat-archive__body h4{font-family:var(--serif);font-size:21px;color:#855f2a;margin:28px 0 14px}.character-combat-archive__body h4 small{font-family:inherit;color:#6e6858;font-size:12px;margin-left:12px}.archive-ring{margin:18px 0}.archive-ability,.archive-item{border:1px solid rgba(169,151,115,.27);border-radius:7px;margin:9px 0;background:#faf5e699}.archive-ability>summary,.archive-item>summary{cursor:pointer;padding:13px 16px;font-size:14px;color:#3d352c;line-height:1.6}.archive-ability>summary small,.archive-item>summary small{float:right;font-size:11px;color:#6e6858;margin-left:12px}.archive-ability[open]>summary,.archive-item[open]>summary{border-bottom:1px solid rgba(169,151,115,.27);color:#855f2a}.archive-ability>.ability-details,.archive-item>.ability-passives,.archive-item>p{margin:16px}.archive-item>.archive-ability{margin:12px}.archive-ability .ability-details{border:0;padding:0}.archive-ability summary:focus-visible,.archive-item summary:focus-visible{outline:2px solid #a78446;outline-offset:2px}@media(max-width:600px){.archive-ability>summary,.archive-item>summary{padding:12px;font-size:13px}.archive-ability>summary small,.archive-item>summary small{float:none;display:block;margin:3px 0 0 14px}.archive-resources{gap:12px}.character-combat-archive__body h4{font-size:19px}}.world-person-card__seal .npc-portrait-art{border-radius:50%;background:radial-gradient(circle,#faf5e6,#faf5e6)}.person-dossier__art .npc-portrait-art{width:100%;max-width:270px}.endgame-insignia .npc-portrait-art{border-radius:4px;filter:drop-shadow(0 12px 22px rgba(76,67,44,.26))}:root{--ivory-paper:linear-gradient(120deg,#fffef8f5,#f6f2e9f5);--ornate-frame:url(/art/fantasy-v4/frame-floral.svg);--fantasy-ink:#49331e}.play-scene--dungeon .dungeon-floor{z-index:1;background:#fff8e3d4;padding:4px 6px;border-radius:4px;color:#62563d}.play-scene--dungeon .dungeon-node{height:114px;padding:3px;line-height:1.1}.fantasy-panel,.play-scene--dungeon .play-cast,.play-scene--dungeon .play-hero,.play-scene--dungeon .dungeon-scene{background:var(--ivory-paper);border:18px solid transparent;border-image:var(--ornate-frame) 22.5%/28px stretch;border-radius:2px;box-shadow:0 7px 28px #3647242c;color:var(--fantasy-ink)}.fantasy-panel:before{content:"";position:absolute;top:-17px;left:calc(50% - 60px);width:120px;height:30px;background:url(/art/fantasy-v4/crest.svg) center/contain no-repeat;pointer-events:none}.play-scene--dungeon .dungeon-node:disabled{opacity:1}.play-scene--dungeon .dungeon-node i path{stroke-dasharray:none;stroke-width:1.7;stroke:currentColor;vector-effect:none;fill:none}.play-scene--dungeon .play-hero__links{gap:4px}.play-scene--dungeon .play-hero__links button{height:44px;min-height:44px;box-sizing:border-box;padding:0 9px;flex-shrink:0}.play-scene--dungeon .play-hero__vitals .meter{margin:8px 0}.play-scene--dungeon .play-hero__vitals{padding-top:8px}.play-scene--battle .combat-action-list>button{flex-direction:column;text-align:center}.play-scene--battle .combat-action-list>button:has(.generated-art--action){padding:3px}.play-scene--battle .battle-intel:before,.play-scene--battle .battle-recent-log:before{top:0;height:18px}.play-scene--battle .combat-unit:not(.is-grouped)>.combat-unit__figure{pointer-events:visiblePainted}.play-scene--battle .combat-layout>.battle-intel,.play-scene--battle .battle-recent-log{position:relative}.fantasy-panel h2,.fantasy-panel h3{font-family:var(--serif);font-weight:500;color:var(--fantasy-ink)}.fantasy-panel .button,.atelier-heading nav,.play-scene--dungeon .button,.play-scene--dungeon .play-hero__links button,.play-cargo>button{border:12px solid transparent;border-image:var(--ornate-frame) 22.5%/12px stretch;border-radius:0;background:linear-gradient(120deg,#fffdf8,#f0ebe0);color:#59412b;box-shadow:0 2px 5px #7a632717;min-height:46px;padding:0 12px;font:17px var(--serif)}.fantasy-panel .button--primary,.play-scene--dungeon .button--primary{background:linear-gradient(115deg,#b78c39,#e8c879 50%,#b1883c);color:#fffef0;text-shadow:0 1px 2px #73531e}.fantasy-panel button:focus-visible,.play-scene--dungeon button:focus-visible{outline:3px solid #987026;outline-offset:3px}.fantasy-section-title{display:flex;align-items:center;gap:10px;border-bottom:1px solid #b79d6859;padding:0 0 14px;margin-bottom:16px}.fantasy-section-title>.ui-icon{width:24px;height:28px;color:#a0834e}.fantasy-section-title h2{font:24px var(--serif);margin:0}.fantasy-section-title select{width:75px;margin-left:auto;padding:5px;font-size:13px}.app-shell--play:has(.play-scene--dungeon) .scene-backdrop,.app-shell--play:has(.play-scene--battle) .scene-backdrop{background:linear-gradient(#26332336,#203a1500 30%),url(/media/87285b6d3b4939a49ed56436.webp) center/cover}.app-shell--play:has(.play-scene--dungeon) .topbar,.app-shell--play:has(.play-scene--battle) .topbar{background:#fffcefdb;backdrop-filter:blur(12px);border:0;border-radius:0 0 16px 16px;height:54px;min-height:54px;margin-bottom:18px;padding-inline:18px}.play-scene--dungeon{grid-template-columns:minmax(180px,18fr) minmax(0,60fr) minmax(220px,22fr);gap:18px}.play-scene--dungeon .play-cast,.play-scene--dungeon .play-hero{height:calc(100svh - 90px);padding:10px 8px;scrollbar-width:thin}.play-scene--dungeon .play-cast{display:flex;flex-direction:column}.play-scene--dungeon .play-cast header{text-align:center;padding:0 0 12px}.play-scene--dungeon .play-cast h2{font-size:24px;color:#49331e}.play-scene--dungeon .play-cast header small{display:none}.play-room-art{height:clamp(220px,36vh,430px);flex-shrink:0;margin-top:10px;position:relative;border:1px solid #b39860;outline:3px solid #e8d9b9;outline-offset:2px;border-radius:5px;overflow:hidden}.play-room-art img{width:100%;height:100%;object-fit:cover;object-position:40% center}.play-room-art span{position:absolute;bottom:0;inset-inline:0;padding:25px 5px 12px;text-align:center;font:14px var(--serif);color:#fffef4;background:linear-gradient(transparent,#243514aa)}.play-scene--dungeon .play-cast__list{padding:20px 0 4px;gap:14px}.play-scene--dungeon .play-person{display:grid;grid-template-columns:60px 1fr;column-gap:12px;text-align:left;align-items:center;padding:6px}.play-scene--dungeon .play-person__art{width:60px;height:70px;border-radius:4px;grid-row:1/3}.play-scene--dungeon .play-person b{font-size:17px}.play-scene--dungeon .play-person small{font-size:12px}.play-cast__verse{margin:auto 0 18px;text-align:center;font:16px/2 var(--serif);color:#928573;padding-top:20px}.play-scene--dungeon .play-hero__identity{gap:12px;padding:0 0 16px}.play-scene--dungeon .play-hero__identity strong{font-size:27px;color:#49331e}.play-hero__portrait{width:90px;height:90px;overflow:hidden;flex:none;border:1px solid #b39153;border-radius:50% 50% 42% 42%;background:linear-gradient(#d6e0cc,#faf3df)}.play-scene--dungeon .play-hero__identity>span:last-child{display:none}.play-scene--dungeon .play-hero__identity small{font-size:13px}.play-scene--dungeon .play-hero__vitals{padding-top:16px}.play-scene--dungeon .play-hero__vitals .meter{margin:12px 0}.play-scene--dungeon .play-hero__vitals .meter__label{font:15px var(--serif)}.play-scene--dungeon .play-hero__vitals .meter__track{height:9px;border:1px solid #98846c66;box-shadow:inset 0 1px 2px #4639232c}.play-scene--dungeon .play-hero__links{grid-template-columns:1fr;gap:7px}.play-scene--dungeon .play-hero__links button{justify-content:flex-start;gap:14px;min-height:45px;font-size:16px}.play-scene--dungeon .play-hero__links button:after{content:"›";margin-left:auto;font-size:23px}.play-scene--dungeon .play-hero__links .ui-icon{width:25px;height:25px}.play-scene--dungeon .play-services{margin-top:12px;padding-top:10px}.play-scene--dungeon .play-services h2,.play-scene--dungeon .play-services>small{display:none}.play-scene--dungeon .play-services p{margin:0;font-size:11px;line-height:1.7}.play-cargo{margin-top:15px;padding-top:12px;border-top:1px solid #cdbb966b}.play-cargo h2{font:22px var(--serif);text-align:center;margin:0 0 12px}.play-cargo>div{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.play-cargo>div>span{position:relative;border:1px solid #c0ad8688;border-radius:4px;background:#efe9dc}.play-cargo .material-illustration,.play-cargo .relic-art{width:100%;height:auto;aspect-ratio:1;object-fit:contain;margin:0}.play-cargo b{position:absolute;right:2px;bottom:0;font:14px var(--serif)}.play-cargo>p{font:13px var(--serif);text-align:center;color:#8d816f}.play-cargo>button{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:9px;font-size:15px}.play-cargo .ui-icon{width:18px}.play-scene--dungeon .dungeon-scene{height:calc(100svh - 90px);display:flex;flex-direction:column;overflow:hidden;border-width:12px;border-image-width:18px;padding:0;background:#fffaf0f2}.play-scene--dungeon .dungeon-heading{padding:8px 16px 14px;flex:none}.play-scene--dungeon .dungeon-heading h1{font:30px var(--serif);color:#46311e;letter-spacing:.02em}.dungeon-heading h1>span{font-size:17px;display:block;margin-top:5px;font-weight:400;color:#7d735f}.play-scene--dungeon .dungeon-heading small{font-size:12px}.play-scene--dungeon .dungeon-heading .button{font-size:14px}.play-scene--dungeon .dungeon-map{height:auto;flex:1;min-height:260px;background:url(/media/360e345857442916ad4ba71b.webp) center/100% 100%;border:1px solid #b89e6459;box-shadow:inset 0 0 22px #e2d4b338}.dungeon-floor{position:absolute;left:14px;transform:translateY(-50%);font:17px var(--serif);color:#5e5847;pointer-events:none}.dungeon-floor b{font-weight:400}.play-scene--dungeon .dungeon-map path{stroke:#aaa08b;stroke-width:2.3;stroke-dasharray:8 7}.play-scene--dungeon .dungeon-map path.is-open{stroke:#a87c2d;stroke-width:3.2}.play-scene--dungeon .dungeon-map path.is-travelled{stroke:#ad8e50;stroke-dasharray:none}.play-scene--dungeon .dungeon-node{width:104px;color:#817e72;opacity:.95;gap:6px}.play-scene--dungeon .dungeon-node i{width:62px;height:62px;border:2px solid #b9b19b;background:#f6f2e4bf;box-shadow:0 0 0 5px #f5ecdd96,inset 0 0 0 3px #fffcf499;position:relative}.play-scene--dungeon .dungeon-node i:before,.play-scene--dungeon .dungeon-node i:after{content:"";position:absolute;width:6px;height:6px;transform:rotate(45deg);background:currentColor;left:calc(50% - 3px);top:-7px}.play-scene--dungeon .dungeon-node i:after{top:auto;bottom:-7px}.play-scene--dungeon .dungeon-node i .ui-icon{width:34px;height:34px;stroke-width:1.8}.play-scene--dungeon .dungeon-node b{font-size:19px}.play-scene--dungeon .dungeon-node small{font-size:11px}.play-scene--dungeon .dungeon-node.is-open,.play-scene--dungeon .dungeon-node.is-current{color:#79591e}.play-scene--dungeon .dungeon-node.is-open i,.play-scene--dungeon .dungeon-node.is-current i{background:radial-gradient(#fffcde 40%,#efcd78);border-color:#b98d3f;box-shadow:0 0 0 4px #fff9d6b0,0 0 20px #ffca51b3,inset 0 0 0 3px #fffdf3;color:#896020;outline:0}.play-scene--dungeon .dungeon-node.is-current:before{content:"▼";position:absolute;top:-24px;font-size:22px;color:#a37724;text-shadow:0 1px #fff}.play-scene--dungeon .dungeon-node.is-complete i{background:#a59673;color:#fffdf6}.play-scene--dungeon .dungeon-entry{font:13px var(--serif);color:#8f7851}.play-scene--dungeon .dungeon-legend{font-size:12px;gap:14px;background:#fffdf3da;padding:12px 8px}.play-scene--dungeon .dungeon-legend .ui-icon{width:20px;height:20px}.play-scene--dungeon .dungeon-room{padding:15px 18px 6px;max-height:32%;flex:none;overflow:auto}.play-scene--dungeon .dungeon-room__title{justify-content:flex-start;gap:14px;margin-bottom:10px}.dungeon-room__title>.ui-icon{width:48px;height:48px;padding:8px;border:1px solid #d8be82;border-radius:50%;background:#f4e6c3;color:#9c7431}.play-scene--dungeon .dungeon-room__title>.button{margin-left:auto}.play-scene--dungeon .dungeon-room h2{font:23px var(--serif);color:#49331e;margin:4px 0}.play-scene--dungeon .dungeon-room>.button{width:100%;min-height:46px;font-size:17px}.play-scene--dungeon .dungeon-room p{font-size:14px;color:#817563}.play-scene--dungeon .dungeon-actions{padding-top:10px}.play-scene--dungeon .dungeon-actions>span{font:13px/1.8 var(--serif);color:#827560}.play-scene--dungeon .dungeon-actions>.button{font-size:17px;padding-inline:16px}.modal.play-detail--workshop{width:98vw;max-width:1920px;height:96svh;max-height:96svh;background:transparent;border:0;box-shadow:0 10px 70px #27301988;border-radius:8px;overflow:hidden}.play-detail--workshop>header{position:absolute;right:16px;top:16px;padding:0;border:0;z-index:3}.play-detail--workshop>header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.play-detail--workshop>header button{width:42px;height:42px;background:#fffaf0e8;border:1px solid #ae9054;border-radius:50%}.play-detail--workshop>.modal__body{padding:0;overflow:auto;max-height:none}.atelier-page{min-height:96svh;padding:30px 35px 40px;background:url(/media/9abd120da59ab49a7c260568.webp) center/cover;color:#49331e}.atelier-heading{display:grid;grid-template-columns:27% 50% 1fr;align-items:center;margin-bottom:26px;padding-right:50px;height:100px}.atelier-heading h1{font:68px/1.05 var(--serif);color:#fffdef;text-shadow:0 2px 8px #3e4726;margin:0;letter-spacing:.14em}.atelier-heading small{font:14px var(--serif);color:#fffce5;letter-spacing:.08em;text-shadow:0 2px 4px #232919}.atelier-heading nav{display:flex;min-height:55px;align-items:stretch;padding:0}.atelier-heading nav button{flex:1;background:none;border:0;color:#59412b;font:21px var(--serif);cursor:pointer}.atelier-heading nav button.is-active{color:#fdf9eb;background:linear-gradient(110deg,#9c7737,#d9bb78)}.atelier-heading nav button:hover{background-color:#d8c59b3d}.atelier-grid{display:grid;grid-template-columns:minmax(210px,24fr) minmax(330px,49fr) minmax(235px,27fr);gap:18px;align-items:stretch}.atelier-grid .fantasy-panel{padding:8px 12px 16px;min-width:0;position:relative}.atelier-materials{display:flex;flex-direction:column}.atelier-search{font-size:13px!important;padding:10px!important;min-height:38px!important;background:#fffcf7b8!important}.atelier-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:15px;max-height:59vh;overflow:auto;align-content:start;padding:4px;scrollbar-width:thin}.atelier-material-grid>button{position:relative;aspect-ratio:.87;background:linear-gradient(135deg,#e1deceb3,#f9f6ef);border:1px solid #b8a581;border-radius:5px;cursor:pointer;color:#46331f;padding:4px;min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:hidden}.atelier-material-grid>button:after{content:"";position:absolute;inset:3px;border:1px solid #fffaf0a1;border-radius:3px;pointer-events:none}.atelier-material-grid>button.is-selected{border:2px solid #b68a30;box-shadow:0 0 0 2px #f4dc93,0 0 16px #a88a294a;background:#fff9e8}.atelier-material-grid .material-illustration,.atelier-material-grid .relic-art{width:100%;height:78%;min-height:0;object-fit:contain;margin:0;filter:drop-shadow(0 3px 2px #6d573226)}.atelier-material-grid b{position:absolute;right:6px;bottom:20px;font:15px var(--serif);text-shadow:0 1px 2px #fff}.atelier-material-grid i{position:absolute;top:3px;left:3px;padding:2px 5px;background:#a9853fe6;color:#fff;font-size:10px;font-style:normal}.atelier-material-name{font-size:11px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.atelier-materials footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding-top:15px;font:13px var(--serif);color:#84745a}.atelier-materials footer .button{font-size:14px}.atelier-canvas{display:flex;flex-direction:column;align-items:stretch}.atelier-categories{display:flex;gap:6px;background:#eee8db70;border:1px solid #cbb58a66;border-radius:6px;padding:4px}.atelier-categories>button{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;border:0;padding:12px 4px;background:none;font:19px var(--serif);color:#55402a;cursor:pointer}.atelier-categories .ui-icon{width:27px;height:27px}.atelier-categories>button.is-active{background:linear-gradient(110deg,#ad8846,#dbc38d);color:#fffbed;box-shadow:inset 0 0 0 1px #fff9d89c}.atelier-display{position:relative;height:clamp(200px,27vh,320px);display:grid;place-items:center;margin:12px 0 0;background:radial-gradient(ellipse,#decfa33b,transparent 66%)}.atelier-display:before{content:"";position:absolute;border:1px solid #c5a26132;outline:1px solid #c5a26126;outline-offset:10px;border-radius:50%;width:66%;aspect-ratio:1;max-height:100%;pointer-events:none}.atelier-display>.material-illustration,.atelier-display>.relic-art{width:92%;height:100%;min-height:0;object-fit:contain;position:relative;margin:0;filter:drop-shadow(0 12px 9px #65532524)}.atelier-display>.ui-icon{width:140px;height:140px;color:#c7b387}.atelier-material-title{font:25px var(--serif);text-align:center;margin:8px 0 10px!important}.atelier-attributes{display:flex;gap:10px;justify-content:center;min-height:30px}.atelier-attributes span{padding:4px 22px;border:1px solid #b7976166;background:#f0e7d7c4;border-radius:20px;font:15px var(--serif)}.atelier-selected-heading{display:flex;justify-content:space-between;font:13px var(--serif);color:#7b6b50;margin:16px 0 8px}.atelier-selected-heading button{background:none;border:0;color:#906b2a;text-decoration:underline;cursor:pointer}.atelier-selected{display:flex;gap:12px;min-height:62px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid #b9a57554}.atelier-selected>button{width:66px;height:62px;padding:2px;position:relative;border:1px solid #bdaa845e;background:#fffdf575;border-radius:4px;cursor:pointer}.atelier-selected img,.atelier-selected .relic-art{width:100%;height:100%;object-fit:contain;margin:0}.atelier-selected b{position:absolute;bottom:2px;right:4px;font:15px var(--serif)}.atelier-selected p{font:14px var(--serif);color:#9e9078;margin:auto}.atelier-intent{font:16px var(--serif);margin:14px 0 0!important;display:grid;gap:8px}.atelier-intent textarea{font:15px/1.6 var(--serif)!important;min-height:60px!important;height:60px;resize:vertical;padding:10px!important;background:#fffcf6cc!important}.atelier-quote{font-size:12px;line-height:1.65;color:#827258;margin:9px 0;overflow-wrap:anywhere}.atelier-quote p{margin:3px 0}.atelier-quote summary{cursor:pointer;color:#846127}.atelier-canvas>.button{width:min(330px,100%);align-self:center;min-height:52px;font-size:23px;letter-spacing:.1em}.atelier-canvas>.workbench-save-state{font-size:10px;text-align:center;color:#9c907a;margin:8px 0 0}.atelier-closeup{height:clamp(195px,28vh,340px);background:linear-gradient(#f0e4c880,#a5b9983b),url(/media/9abd120da59ab49a7c260568.webp) left bottom/500%;border:1px solid #b8a07787;border-radius:4px;display:grid;place-items:center;overflow:hidden}.atelier-closeup .material-illustration,.atelier-closeup .relic-art{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 9px 6px #604c3940);margin:0}.atelier-inspection>h3{font:23px var(--serif);text-align:center;margin:18px 0}.atelier-inspection>.material-facts{display:flex;flex-direction:column;gap:12px;line-height:1.75}.atelier-inspection .material-facts small{font:14px/1.7 var(--serif);border-bottom:1px solid #c4b18738;padding-bottom:8px;color:#6c5840}.atelier-quantity{margin-top:20px;display:grid;gap:12px}.atelier-quantity label{display:flex;align-items:center;justify-content:space-between;font:15px var(--serif)}.atelier-quantity input{width:80px;min-height:38px;padding:7px;font-size:16px}.atelier-note{font:16px var(--serif);color:#a49072;letter-spacing:.13em;text-align:center;margin:30px 0 0}.atelier-workbench>.choice-resume{background:#fff9eaf0;margin-top:15px}.play-scene--battle{display:block}.play-scene--battle .play-center{width:100%}.play-scene--battle .combat-scene{padding:0 0 8px;min-height:0;height:calc(100svh - 86px);display:grid;grid-template-rows:60px 64px minmax(0,1fr) 160px;gap:0;background:none;border:0;position:relative}.play-scene--battle .combat-header{min-height:0;border:0;padding-inline:10px}.play-scene--battle .combat-title small{color:#fffae2;text-shadow:0 1px 3px #253919}.play-scene--battle .combat-title h1{font:32px var(--serif);color:#fffdef;text-shadow:0 2px 6px #2d4322;margin:2px 0}.play-scene--battle .combat-round{color:#4a3624;background:#fff8e8eb;border-radius:6px;padding:4px 24px;gap:9px}.play-scene--battle .combat-round strong{font-size:32px}.play-scene--battle .combat-header__tools{background:#fffcf0df;border-radius:6px}.play-scene--battle .combat-log-toggle{margin:0 12px;padding:9px}.play-scene--battle .combat-header .quick-sound-button{display:none}.play-scene--battle .combat-order{padding:3px 0 10px;justify-content:flex-start;gap:6px}.play-scene--battle .combat-order button{padding:3px 14px 3px 4px;background:#fffcf0e8;border-radius:30px;border:1px solid #b49c6b;gap:8px;max-width:220px}.play-scene--battle .combat-order button.is-current{background:#f9e5b9;border-color:#ab7b2f;box-shadow:0 0 12px #f9d98e}.play-scene--battle .combat-order button>b{font-size:13px}.combat-order__portrait{width:43px;height:43px;border-radius:50%;border:1px solid #b19b6c;overflow:hidden;flex:none;display:block;background:#fffbed}.combat-order__portrait>.portrait-art,.combat-order__portrait>.avatar{width:100%;height:100%;margin:0}.play-scene--battle .combat-layout{grid-template-columns:minmax(200px,18fr) minmax(0,60fr) minmax(235px,22fr);gap:20px;height:100%;min-height:0}.play-scene--battle .combat-main{min-height:0;display:flex;flex-direction:column}.play-scene--battle .combat-stage{flex:1;min-height:0;border:0;background:none;display:flex;flex-direction:column}.play-scene--battle .combat-stage__top{padding:7px 5px;flex:none;color:#344720;font-size:12px;text-shadow:0 1px #fffbd1}.play-scene--battle .combat-stage__viewport{min-height:0;flex:1;overflow:auto}.play-scene--battle .combat-board{height:100%;min-height:0;max-height:none;overflow:visible}.play-scene--battle .combat-board.is-zoomed{width:175%;height:175%}.play-scene--battle .combat-board__boundary{fill:#3f612e0a;stroke:#eeefd593;stroke-width:1.4}.play-scene--battle .combat-board__grid{stroke:#edf5b384;stroke-width:1}.play-scene--battle .combat-aim__area{fill:#f68e3459;stroke:#fff0a3;stroke-width:2.5;filter:drop-shadow(0 0 5px #ffb44ac9)}.play-scene--battle .combat-unit__base{fill:#395e507a;stroke:#b1f1e3;stroke-width:2}.play-scene--battle .is-enemy .combat-unit__base{fill:#954c357a;stroke:#f2a87c}.play-scene--battle .combat-unit.has-figure .combat-unit__halo{transform:translateY(30px) scale(1.25,.44);stroke-width:4}.combat-unit__figure{filter:drop-shadow(2px 5px 4px #3438245c)}.combat-unit.has-figure.is-acting .combat-unit__figure{filter:drop-shadow(0 0 5px #fff3bf88)}.combat-unit.has-figure.is-inactive .combat-unit__figure{filter:grayscale(.8)}.play-scene--battle .combat-roster{padding:4px 0;min-height:33px;flex:none;gap:5px}.play-scene--battle .combat-roster button{padding:4px 8px;border-radius:4px;background:#fff8e7ce}.play-scene--battle .combat-turn-message{flex:none;min-height:52px;padding:7px 12px;background:#fff9ebdf;border:1px solid #ac905866;border-radius:5px}.play-scene--battle .combat-turn-message strong{font-size:16px}.play-scene--battle .combat-turn-message>span{font-size:12px;max-height:none}.play-scene--battle .combat-return-plan{padding:4px;margin:3px;font-size:12px}.play-scene--battle .combat-layout>.battle-intel{height:100%;overflow:auto}.battle-intel{padding:5px 8px 12px;min-width:0;scrollbar-width:thin}.battle-intel>h2{font:23px var(--serif);margin:0 0 12px;border-bottom:1px solid #b2996759;padding-bottom:10px}.battle-intel__art{height:clamp(160px,24vh,265px);border:1px solid #b4996680;border-radius:5px;overflow:hidden;background:radial-gradient(ellipse,#fffcebee,#e1dbc17a),url(/media/87285b6d3b4939a49ed56436.webp) center/cover;display:grid;place-items:center}.battle-intel__art>img{width:100%;height:100%;object-fit:contain}.battle-intel__art>.portrait-art,.battle-intel__art>.avatar{height:100%;width:100%;margin:0;border:0;border-radius:0}.battle-intel__name{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:14px 0 8px}.battle-intel__name h3{font:25px var(--serif);margin:0;overflow-wrap:anywhere}.battle-bloodline{font:13px var(--serif);background:var(--bloodline-color,#ddd4ba);color:#443725;border:1px solid var(--bloodline-ink,#ab9365);padding:4px 10px;border-radius:6px;white-space:nowrap}.battle-age{font:22px var(--serif);color:#866935;margin:12px 0}.battle-age small{font:12px var(--serif);color:#8b806b;display:block}.battle-intel .meter{margin:12px 0}.battle-intel .meter__label{font:15px var(--serif)}.battle-intel .meter__track{height:9px;border:1px solid #8c775e55}.battle-intel>p{font:14px/1.7 var(--serif)}.battle-intel__statuses{display:flex;gap:6px;flex-wrap:wrap;font:12px var(--serif);color:#847159;margin:12px 0}.battle-intel__statuses>span{padding:4px;background:#e9e1cf80;border-radius:3px}.battle-intel>.button{width:100%;font-size:15px}.play-scene--battle .combat-sidebar{height:100%;max-height:none;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:13px;background:none;border:0;box-shadow:none;border-radius:0;scrollbar-width:thin}.combat-sidebar>.battle-intel{flex:none;display:grid;grid-template-columns:82px 1fr;gap:6px 10px;padding:4px 8px 8px}.combat-sidebar .battle-intel>h2{grid-column:1/-1;margin:0 0 3px;font-size:21px}.combat-sidebar .battle-intel__art{grid-row:2/4;width:82px;height:82px}.combat-sidebar .battle-intel__name{margin:0}.combat-sidebar .battle-intel__name h3{font-size:21px}.combat-sidebar .battle-intel .meter{grid-column:1/-1;margin:4px 0}.combat-sidebar .battle-intel__statuses{grid-column:1/-1;margin:5px 0}.combat-sidebar .battle-intel>.button{grid-column:1/-1;min-height:38px;font-size:14px}.combat-sidebar .battle-intel>p{grid-column:1/-1;margin:0}.battle-recent-log{padding:5px 9px 10px;flex:1;min-height:160px;overflow:auto;scrollbar-width:thin}.battle-recent-log header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #b69f7755;padding-bottom:9px}.battle-recent-log h2{margin:0;font:21px var(--serif)}.battle-recent-log header button{font-size:12px;background:none;border:0;color:#917132;cursor:pointer}.battle-recent-log article{padding:10px 0;border-bottom:1px solid #cab78e4d}.battle-recent-log article>small{color:#997c43;font-size:11px}.battle-recent-log p{font:14px/1.8 var(--serif);margin:5px 0;color:#5c4932}.battle-recent-log details{font-size:12px}.battle-recent-log .battle-judgment{padding:4px}.play-scene--battle .combat-soul-rings{margin:0;display:flex;gap:6px;flex:none}.play-scene--battle .combat-plan{background:var(--ivory-paper);height:100%;max-height:none;display:flex;flex-direction:column;border:12px solid transparent;border-image:var(--ornate-frame) 22.5%/12px stretch}.play-scene--battle .combat-plan header{padding:8px 8px 12px}.play-scene--battle .combat-plan header h2{font-size:24px;color:#49331e}.play-scene--battle .combat-plan__body{min-height:0;overflow:auto;padding:12px;flex:1}.play-scene--battle .combat-plan footer{padding:10px 4px;flex:none}.play-scene--battle .combat-plan__verdict{padding:8px;font-size:12px}.play-scene--battle .combat-actions{margin:10px 0 0;padding:8px 0 0;border:0;display:block;min-height:0;overflow:hidden;align-self:stretch;width:64%;justify-self:center}.play-scene--battle .combat-actions__actor{display:none}.play-scene--battle .combat-filters{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:nowrap;background:#fff9e9d6;border-radius:6px;padding:0 5px}.play-scene--battle .combat-filters>div{display:flex;overflow:auto}.play-scene--battle .combat-filters button{font-size:11px;padding:6px 9px;white-space:nowrap}.play-scene--battle .combat-filters input{font-size:11px;padding:5px 9px;min-height:25px;width:110px;flex:none}.play-scene--battle .combat-action-list{display:flex;flex-wrap:nowrap;overflow:auto;max-height:none;padding:9px 4px;gap:10px}.play-scene--battle .combat-action-list>button{position:relative;min-width:112px;width:112px;flex:0 0 112px;height:106px;min-height:0;display:flex;align-items:center;justify-content:flex-start;padding:3px;border:10px solid transparent;border-image:var(--ornate-frame) 22.5%/10px stretch;background:var(--ivory-paper);border-radius:2px;gap:2px}.play-scene--battle .combat-action-list>button.is-selected{box-shadow:0 0 14px #ffe7a1;outline:2px solid #e0bd60;outline-offset:-3px;background:#fff9e1}.play-scene--battle .combat-action-list>button>.portrait-art{position:static;width:34px;height:34px;flex:none;margin:0;border-radius:5px}.play-scene--battle .combat-action-list>button>.ui-icon{position:static;width:34px;height:34px;flex:none;margin:0;color:#a17c3e}.play-scene--battle .combat-action-list>button>small{display:none}.play-scene--battle .combat-action-list>button>b{font:14px var(--serif);max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.play-scene--battle .combat-action-list>button>span{font-size:10px;line-height:11px;max-height:11px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.play-scene--battle .combat-action-list>p{background:#fff8e8db;border-radius:5px;font:16px var(--serif);margin:0;width:100%;text-align:center;padding:22px}@media(min-width:1700px){.play-scene--dungeon{gap:22px}.play-scene--dungeon .play-cast,.play-scene--dungeon .play-hero{padding:14px}.play-scene--battle .combat-layout{gap:24px}.battle-intel__art{height:29vh}.play-scene--dungeon .dungeon-heading h1{font-size:36px}.atelier-grid{gap:24px}.atelier-page{padding:30px 50px 45px}.atelier-material-grid{gap:12px}.atelier-display{height:30vh}.atelier-material-title{font-size:29px}.atelier-inspection .material-facts small{font-size:16px}}@media(max-width:1150px){.play-scene--dungeon{grid-template-columns:160px minmax(0,1fr) 210px;gap:10px}.play-scene--dungeon .play-hero__portrait{width:66px;height:66px}.play-scene--dungeon .play-hero__identity strong{font-size:22px}.play-scene--dungeon .play-person{display:flex;text-align:center}.play-scene--dungeon .play-hero__links button{font-size:14px}.dungeon-floor{font-size:13px;left:6px}.play-scene--dungeon .dungeon-node i{width:48px;height:48px}.play-scene--dungeon .dungeon-node b{font-size:16px}.play-scene--battle .combat-layout{grid-template-columns:190px minmax(0,1fr) 220px;gap:10px}.battle-intel__name h3{font-size:20px}.battle-intel{padding-inline:2px}.atelier-page{padding:20px 18px}.atelier-grid{grid-template-columns:22fr 48fr 30fr;gap:10px}.atelier-grid .fantasy-panel{padding:4px}.atelier-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.atelier-heading h1{font-size:55px}.atelier-heading nav button{font-size:17px}}@media(max-width:800px){.app-shell--play:has(.play-scene--dungeon) .topbar,.app-shell--play:has(.play-scene--battle) .topbar{height:auto;min-height:54px}.play-scene--dungeon{grid-template-columns:minmax(0,1fr)}.play-scene--dungeon .play-cast{height:auto;max-height:none;display:block;padding:5px}.play-scene--dungeon .play-cast header,.play-scene--dungeon .play-room-art,.play-cast__verse{display:none}.play-scene--dungeon .play-cast__list{display:flex;flex-direction:row;padding:0}.play-scene--dungeon .play-person{min-width:90px;display:flex}.play-scene--dungeon .play-hero{height:auto}.play-scene--dungeon .play-hero__links{grid-template-columns:1fr 1fr}.play-scene--dungeon .play-hero__identity,.play-cargo{grid-column:1/-1}.play-cargo>div{max-width:300px}.play-scene--dungeon .dungeon-scene{height:auto;min-height:650px}.play-scene--dungeon .dungeon-map{height:480px;flex:none}.play-scene--dungeon .dungeon-room{max-height:none}.play-scene--dungeon .dungeon-heading{padding:8px}.play-scene--dungeon .dungeon-heading h1{font-size:25px}.dungeon-heading h1>span{font-size:14px}.play-scene--dungeon .dungeon-heading .button{font-size:12px;padding:0}.play-scene--dungeon .dungeon-node{width:80px}.play-scene--dungeon .dungeon-legend{font-size:11px;gap:8px}.play-scene--dungeon .dungeon-room__title>.ui-icon{display:none}.play-scene--dungeon .dungeon-room{padding:12px 5px}.play-scene--dungeon .dungeon-actions>.button{font-size:15px;min-width:112px}.play-scene--dungeon .dungeon-actions>span{max-width:none}.play-scene--battle .combat-scene{height:auto;min-height:100svh;display:flex;flex-direction:column}.play-scene--battle .combat-header{min-height:70px;gap:8px}.play-scene--battle .combat-title h1{font-size:25px}.play-scene--battle .combat-round{padding:3px 10px}.play-scene--battle .combat-layout{display:flex;flex-direction:column;height:auto}.play-scene--battle .combat-layout>.battle-intel{order:1;max-height:360px}.play-scene--battle .combat-main{order:0}.play-scene--battle .combat-stage{height:420px;flex:none}.play-scene--battle .combat-sidebar{order:2;max-height:none}.play-scene--battle .combat-actions{order:2;width:100%;position:sticky;bottom:0;background:#f8f0dcf5;padding:5px 0;z-index:5}.play-scene--battle .combat-order{justify-content:flex-start}.play-scene--battle .combat-layout>.battle-intel{display:grid;grid-template-columns:120px 1fr;gap:8px 16px}.play-scene--battle .combat-layout>.battle-intel>h2{grid-column:1/-1}.play-scene--battle .combat-layout>.battle-intel .battle-intel__art{grid-row:2/6;height:150px}.battle-recent-log{max-height:360px}.play-scene--battle .combat-plan{height:auto;min-height:400px}.play-scene--battle .combat-plan__body{max-height:400px}.play-scene--battle .combat-action-list>button{min-width:96px;width:96px;flex-basis:96px}.atelier-page{padding:16px 10px 30px}.atelier-heading{height:105px;display:flex;gap:15px;align-items:flex-end;padding:0;margin-bottom:18px}.atelier-heading h1{font-size:43px}.atelier-heading small{display:none}.atelier-heading nav{flex:1;min-height:43px}.atelier-heading nav button{font-size:14px}.atelier-grid{grid-template-columns:minmax(0,1fr)}.atelier-materials{max-height:260px}.atelier-material-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:140px;margin-top:6px}.atelier-materials footer{padding-top:5px}.fantasy-section-title{margin-bottom:8px;padding-bottom:8px}.atelier-materials .fantasy-section-title h2{font-size:21px}.atelier-materials .atelier-search{display:none}.atelier-material-grid>button{aspect-ratio:1}.atelier-display{height:250px}.atelier-inspection{display:grid;grid-template-columns:110px 1fr;gap:12px}.atelier-inspection .fantasy-section-title{grid-column:1/-1}.atelier-closeup{height:160px;grid-row:2/5}.atelier-inspection>.material-facts{grid-column:2;font-size:12px}.atelier-inspection>h3{margin:0;font-size:20px}.atelier-inspection .atelier-quantity{grid-column:1/-1}.atelier-note{grid-column:1/-1;margin:5px 0}.modal.play-detail--workshop{width:100%;max-width:100%;height:98svh;max-height:98svh}.play-detail--workshop>header{right:8px;top:8px}}@media(min-width:801px){.play-scene--battle .combat-layout>.battle-intel,.play-scene--battle .combat-sidebar{height:calc(100% + 160px)}.play-scene--battle .combat-actions{width:calc(60% - 25px);justify-self:start;margin-left:calc(18% + 12px)}}@media(prefers-reduced-motion:reduce){.combat-unit__figure,.play-scene--dungeon .dungeon-node i{transition:none;animation:none}}@media(min-width:801px){.play-detail--workshop>.modal__body{height:100%;overflow:auto!important}.atelier-page{min-height:0;height:100%;padding:20px 30px 18px;display:flex;flex-direction:column;overflow:auto}.atelier-heading{height:76px;margin-bottom:18px}.atelier-heading h1{font-size:62px}.atelier-workbench{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto}.atelier-grid{height:auto;flex:1;min-height:560px;grid-template-rows:minmax(0,1fr)}.atelier-workbench>.choice-resume{flex:none}.atelier-grid .fantasy-panel{padding:6px 10px 10px;overflow:auto;scrollbar-width:thin}.atelier-grid .fantasy-panel:before{top:0;height:18px}.atelier-material-grid{max-height:none;min-height:0;flex:1}.atelier-materials footer{flex:none;padding-top:8px}.atelier-canvas{min-height:0;overflow:auto!important;overscroll-behavior:contain}.atelier-canvas>*{flex-shrink:0}.atelier-categories>button{padding:8px 3px;font-size:17px}.atelier-display{flex:1 1 180px;min-height:100px;max-height:240px;height:180px;margin-top:6px;overflow:hidden}.atelier-material-title{font-size:23px;margin:5px 0!important}.atelier-attributes{min-height:25px;gap:6px;flex-wrap:wrap}.atelier-attributes span{padding:3px 15px;font-size:14px}.atelier-selected-heading{margin:9px 0 5px}.atelier-selected{height:54px;min-height:54px;flex-wrap:nowrap;overflow:auto;padding-bottom:5px}.atelier-selected>button{height:48px;width:52px;flex:none}.atelier-intent{margin-top:9px!important;gap:5px;font-size:15px}.atelier-intent textarea{height:48px;min-height:48px!important;padding:6px 9px!important;resize:none}.atelier-quote{margin:5px 0;max-height:86px;overflow:auto;font-size:11px}.atelier-canvas>.button{min-height:46px;font-size:22px}.atelier-canvas>.workbench-save-state{margin-top:4px}.atelier-closeup{min-height:160px;height:25vh}.atelier-inspection .material-facts small{font-size:13px}.atelier-inspection>h3{font-size:22px;margin:10px 0}.atelier-quantity{margin-top:10px}.atelier-note{margin-top:15px;font-size:14px}.play-scene--battle .combat-action-list>button{justify-content:flex-start}.play-scene--battle .combat-action-list>button>b{font-size:13px;line-height:15px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:30px}}:root{--ornate-frame:url(/art/fantasy-v4/frame-floral.svg);--interior-paper:linear-gradient(115deg,#fffef9f5,#f4f0e8f5);--fantasy-ink:#4d3420;--interior-line:#bb9b655c}.app-shell{--text:#493623;--muted:#857866;--gold:#9e793e;--panel:#fffdf4ed;--line-gold:#b59a6866}.modal,.panel,.world-list,.settings-tabs,.settings-preview{background:var(--interior-paper);border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/27px stretch;color:var(--fantasy-ink);border-radius:10px;box-shadow:0 8px 30px #38301924}.modal{width:min(1400px,96vw);max-height:94svh}.modal>header{padding:14px 20px;border-bottom:1px solid var(--interior-line)}.modal>header h2{font:500 clamp(25px,2.6vw,40px)/1.2 var(--serif);color:var(--fantasy-ink)}.modal>.modal__body{padding:20px;min-height:0}.modal>footer{background:#faf7f0e8;border-top:1px solid var(--interior-line);padding:12px 20px;gap:12px}.modal .icon-button{background:none;color:#71522f;font-size:26px}.button,.file-button{font-family:var(--serif);border:1px solid #b2986c;border-radius:4px;box-shadow:inset 0 0 0 3px #fff8e888,0 2px 3px #856d4130;padding:10px 22px;min-height:43px;position:relative;transition:box-shadow .16s,filter .16s}.button--primary{background:linear-gradient(115deg,#9c712e,#d9b971 50%,#ac843c);color:#fffdf3;text-shadow:0 1px 1px #725321}.button--secondary,.button--ghost,.file-button{background:linear-gradient(115deg,#fffdf8,#ece6dc);color:#654728}.button:hover:not(:disabled){filter:brightness(1.055);box-shadow:inset 0 0 0 3px #fff8e8aa,0 0 12px #d1a53f64}.button:disabled{opacity:.48}.button--danger{background:#87584b;color:#fff}.text-link{color:#805f2e}.panel h2{font:500 25px var(--serif)}input,select,textarea{color:#4d3420;border-color:#baa47e;background:#fffdf8d9}input:focus,select:focus,textarea:focus{outline:2px solid #bb985b;outline-offset:1px}h1,h2,h3{font-family:var(--serif)}.modal.play-detail{position:relative;width:min(1620px,97vw);max-width:min(1620px,97vw);height:min(920px,95svh);max-height:95svh;padding:0}.play-detail>header{position:absolute;inset:0 0 auto;z-index:4;border:0;padding:10px;background:transparent;pointer-events:none}.play-detail>header h2{display:none}.play-detail>header>.icon-button{pointer-events:auto;margin-left:auto;width:42px;height:42px}.play-detail>.modal__body{height:100%;padding:16px;overflow:hidden}.play-detail:has(.world-scene){background:var(--interior-paper)}.relic-archive{height:100%;display:flex;flex-direction:column;min-height:0;padding:0;background:transparent;border:0;color:var(--fantasy-ink)}.relic-archive__heading{padding:0 25px 10px;display:flex;align-items:center;justify-content:space-between;min-height:82px;gap:20px;border-bottom:1px solid var(--interior-line)}.relic-archive__heading h1{font:500 45px/1.2 var(--serif);margin:0}.relic-archive__heading .eyebrow,.relic-archive__heading p{display:none}.relic-wallet{display:flex;align-items:baseline;gap:12px;padding-right:28px}.relic-wallet strong{font-size:21px}.relic-wallet small{color:#8b7c68}.relic-archive__body{display:flex;flex-direction:column;flex:1;min-height:0;gap:9px}.relic-navigation{display:flex;flex-direction:row;position:static;width:100%;flex-shrink:0;gap:0;border:0;padding:0 20px;min-height:45px;background:transparent;flex-wrap:wrap}.relic-navigation>button{border:0;border-bottom:2px solid transparent;padding:8px 18px;font:17px var(--serif);background:none;color:#77634a;display:flex;gap:6px;align-items:center}.relic-navigation>button.is-active{color:#fff;background:linear-gradient(115deg,#ac8443,#d5b777);border-radius:3px}.relic-navigation__number{display:none}.relic-navigation small{font-size:11px}.relic-archive__content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto}.relic-library{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,5fr) minmax(275px,3fr);gap:14px}.relic-library:has(.relic-loadout){grid-template-columns:minmax(175px,2fr) minmax(0,5fr) minmax(275px,3fr)}.relic-loadout,.relic-collection,.relic-inspection{background:#fffdf7a3;border:1px solid var(--interior-line);border-radius:7px;min-height:0;padding:15px;overflow:auto}.relic-loadout{display:flex;flex-direction:column;gap:14px}.relic-loadout h2{font:24px var(--serif);margin:0 0 4px}.relic-loadout>section{display:flex;align-items:center;gap:10px}.relic-loadout__item{width:90px;height:100px;min-width:65px;flex-shrink:0;border:1px solid #bda778;border-radius:7px;background:#eee9df;box-shadow:inset 0 0 0 3px #fff8e7;padding:4px;cursor:pointer}.relic-loadout__item .relic-art{width:100%;height:100%;margin:0}.relic-loadout>section>div{display:grid;gap:6px}.relic-loadout b{font-size:14px;line-height:1.5}.relic-loadout small{font-size:13px;color:#8a7657}.relic-loadout .button{padding:3px 7px;min-height:26px;font-size:12px}.relic-loadout h3{font:20px var(--serif);margin:5px 0 0}.relic-loadout .defense-sources{font-size:13px}.relic-loadout__note{margin-top:auto;color:#938572;font:14px/1.8 var(--serif)}.empty-equipment{font:48px var(--serif);color:#c6b99e}.relic-collection{display:flex;flex-direction:column;gap:8px;padding:12px;overflow:hidden}.relic-collection__tools{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px}.relic-collection__tools h2{font:22px var(--serif);margin:0}.relic-collection__tools h2 small{font-size:12px;padding-left:8px}.relic-collection__tools label{max-width:190px}.relic-collection__tools input{width:100%;font-size:13px;padding:8px}.relic-filters{display:flex;flex-wrap:wrap;gap:4px;min-height:34px;margin:0}.relic-filters button{padding:4px 10px;border:1px solid #c8bba366;border-radius:20px;background:#f5f1e8;font:14px var(--serif);color:#665138}.relic-filters button.is-active{background:#bc9958;color:#fffdf7}.relic-grid{height:0;display:grid;grid-auto-rows:max-content;grid-template-columns:repeat(5,minmax(0,1fr));align-content:start;gap:9px;flex:1;min-height:0;overflow:auto;padding:5px}.relic-card,.relic-empty-cell{min-width:0;min-height:0;width:100%;aspect-ratio:1;position:relative;border:1px solid #bda77d;border-radius:8px;background:linear-gradient(135deg,#efede4,#e8e4d9);box-shadow:inset 0 0 0 3px #fffaf0;overflow:hidden;padding:4px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;cursor:pointer;color:#553e26}.relic-card:before{display:none}.relic-card .relic-art{width:100%;height:calc(100% - 29px);margin:0;flex:none;object-fit:contain}.relic-card__name{font-size:11px;line-height:1.25;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:2px 0 0}.relic-card>small,.relic-card>.material-facts{display:none}.relic-card__quantity{position:absolute;bottom:18px;right:5px;font:14px var(--serif);color:#503925;background:#fff5dbb0;padding:0 3px}.relic-card__equipped{position:absolute;top:4px;left:4px;font-size:10px;color:#fff;background:#9a804c;padding:2px 4px}.relic-card.is-selected{border-color:#cd9d38;box-shadow:0 0 8px #e0bd68,inset 0 0 0 3px #ffe19a}.relic-empty-cell{cursor:default;color:#cec6b6;font-size:40px;justify-content:center}.relic-inspection{height:100%;display:flex;flex-direction:column;gap:10px;overflow:auto}.relic-inspection__hero{display:flex;flex-direction:column;align-items:center;min-height:0;padding:0;background:transparent;border:0}.relic-inspection__hero>.relic-art{width:100%;height:clamp(170px,29vh,300px);margin:0;order:2}.relic-inspection__hero>h2{font:27px var(--serif);margin:0 0 12px;text-align:center;order:0}.relic-inspection__hero>.eyebrow{order:1;margin-bottom:8px}.relic-inspection .item-details__art{display:none}.relic-inspection .item-details{font:15px/1.75 var(--serif)}.relic-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px;position:sticky;bottom:-15px;background:#fcf9f0f5;padding:12px 0}.relic-actions .button{padding:7px 12px;font-size:15px}.relic-facts{font:14px/1.6 var(--serif)}.relic-inspection .ability-details{font-size:14px}.archive-empty{margin:auto;padding:18px;text-align:center;line-height:1.8}.archive-empty>.relic-art{width:100px;height:100px;margin:auto}.relic-stored{padding:20px}.stored-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.stored-catalog article{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--interior-line)}.stored-catalog .relic-art{width:80px;height:80px;flex-shrink:0}.modal--candidate-scene{width:100vw;height:100svh;max-height:none;max-width:none;border:0;border-radius:0;background:linear-gradient(#f8f2dd16,#f8f2dd16),url(/media/9abd120da59ab49a7c260568.webp) center/cover;display:flex;flex-direction:column;padding:24px 5vw 18px;box-sizing:border-box}.modal--candidate-scene.choice-theme-soul{background-image:linear-gradient(#f8f2dd16,#f8f2dd16),url(/media/8cb29597b3b9a63033c42080.webp)}.modal--candidate-scene>header{border:0;flex-shrink:0;padding:0 3vw;justify-content:center;min-height:55px}.modal--candidate-scene>header h2{font:500 clamp(30px,3.5vw,58px) var(--serif);text-shadow:0 1px 9px #fff;color:#432f19;text-align:center}.modal--candidate-scene>header>.icon-button{position:absolute;right:26px;top:20px}.modal--candidate-scene>.modal__body{padding:0;overflow:hidden;flex:1;min-height:0}.modal--candidate-scene>footer{border:0;background:transparent;padding:10px 0 0;justify-content:center;gap:30px;flex-shrink:0}.modal--candidate-scene>footer>.button{font-size:22px;min-width:220px;padding:12px 35px;box-shadow:0 3px 9px #5039203a,inset 0 0 0 3px #fff1c9a8}.choice-scene{height:100%;display:flex;flex-direction:column;color:#4b331b}.choice-scene__context{text-align:center;padding:5px 0 8px;flex:none}.choice-scene__context>p{font:21px var(--serif);margin:0 0 5px;text-shadow:0 0 8px #fff;background:#fff9ec8c;display:inline-block;padding:3px 20px}.choice-scene__context>div{justify-content:center;display:flex;align-items:center;gap:10px}.choice-scene__context .button{padding:4px 10px;min-height:26px;font-size:12px}.choice-reroll-count{font-size:13px;background:#fffbedcc;padding:3px 9px}.choice-scene__status{background:#fff9e2ce;text-align:center;flex:none}.choice-scene__overview{flex:1;min-height:0;display:flex;position:relative;gap:20px;padding:8px 0 15px}.choice-scene__overview[hidden]{display:none}.choice-guide{width:24%;position:relative;flex-shrink:0;pointer-events:none}.choice-guide img{position:absolute;height:120%;max-width:none;width:auto;right:-20%;bottom:-28%;filter:drop-shadow(0 0 8px #fff)}.choice-scene__rail{flex:1;min-width:0;display:flex;align-items:stretch;justify-content:center;gap:24px;overflow:visible;height:100%;padding:0 4px}.choice-slot{flex:1;max-width:380px;min-width:0;position:relative;display:flex;flex-direction:column}.choice-card{height:100%;min-height:0;flex:1;background:var(--interior-paper);border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/27px stretch;border-radius:12px;box-shadow:0 5px 16px #533e2347;display:flex;flex-direction:column;padding:8px 7px;position:relative;transform:none;color:#50351f}.choice-card:before,.choice-card:after,.choice-card__crown,.choice-card__ordinal,.choice-card__effect-badge{display:none}.choice-card.is-selected{filter:drop-shadow(0 0 7px #ffd26b);box-shadow:0 0 18px #ffe18b,0 5px 16px #533e2347;background:linear-gradient(130deg,#fffaf0,#fffdf5)}.choice-card__select{position:absolute;inset:0;opacity:0;z-index:1;cursor:pointer;border:0}.choice-card button:not(.choice-card__select){position:relative;z-index:2}.choice-card__art{width:100%;height:43%;flex-shrink:0;padding:0;margin:0;border-radius:7px;overflow:hidden;position:relative;background:#f1eadb}.choice-card__art>.generated-art{width:100%;height:100%;margin:0;border:0;max-width:none;border-radius:0}.choice-card__body{flex:1;min-height:0;display:flex;flex-direction:column;text-align:center;padding:6px 4px;pointer-events:none}.choice-card__body h3{order:-1;font:500 clamp(21px,1.8vw,31px)/1.25 var(--serif);margin:4px 0 7px;color:#4b2e17}.choice-card__category{font:13px var(--serif);background:#eee4d1;border:1px solid #c2ac80;border-radius:15px;padding:2px 10px;align-self:center;color:#755332;margin-bottom:5px}.choice-card__facts{flex:1;min-height:0;overflow:auto;font:15px/1.65 var(--serif);pointer-events:auto;position:relative;z-index:2;scrollbar-width:thin}.choice-card__flavor{font-size:13px;line-height:1.6;margin:4px 0;color:#86745e}.choice-card__effect{font-size:16px;margin:5px 0;color:#4c321c}.choice-card__facts section{margin:0;padding:0;border:0}.choice-card__facts h4{font-size:16px}.choice-card__target,.choice-card__cost,.choice-card__passive,.choice-card__summary{font-size:12px;line-height:1.6;margin:3px 0;color:#766145}.choice-card__details{background:none;border:0;border-top:1px solid var(--interior-line);font:16px var(--serif);padding:9px 5px;color:#644525;margin:0}.choice-reroll{border:1px solid #bda477;border-radius:24px;background:linear-gradient(115deg,#fff9ed,#ede0c5);font:17px var(--serif);padding:8px;margin:0;display:flex;align-items:center;justify-content:center;gap:10px;color:#82602b}.choice-reroll svg{width:20px;height:20px}.choice-card__chosen{position:absolute;left:calc(50% - 22px);top:-29px;border-radius:50%;background:#c5a253;color:#fff;min-width:44px;height:38px;display:grid;place-items:center;font-size:12px;box-shadow:0 0 0 3px #fff8e6,0 0 12px #e4b44f;opacity:0}.choice-card.is-selected .choice-card__chosen{opacity:1}.choice-reroll-reason{font-size:11px;background:#fff9e9c9;text-align:center}.choice-scene__decision{font:15px var(--serif);background:#fff9eae8;padding:6px 15px;border-radius:6px;max-width:400px}.choice-scene__decision small{display:block;font-size:11px;margin-top:3px}.choice-scene__pager{display:none}.choice-scene__details{max-width:1000px;align-self:center;width:100%;overflow:auto;background:var(--interior-paper);padding:25px;border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/26px stretch}.choice-reward{height:100%;width:min(850px,90%);margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fffbf0ea;border:16px solid transparent;border-image:var(--ornate-frame) 22.5%/26px stretch}.choice-reward>.generated-art{width:340px;height:340px;max-height:48vh}.choice-reward h3{font:38px var(--serif);margin:14px}.choice-reward__skills{font:18px var(--serif);text-align:center}.choice-scene__empty{margin:auto;background:var(--interior-paper);padding:30px}.menu-page{width:min(1580px,95vw);max-width:none;margin:auto;padding:32px 0;min-height:calc(100svh - 48px);box-sizing:border-box}.app-shell--menu:has(.saves-page) .scene-backdrop,.app-shell--menu:has(.settings-page) .scene-backdrop{background:linear-gradient(#41341d20,#47382412),url(/media/f5aee570387dcf1925f9d412.webp) center/cover}.menu-page__top{position:absolute;bottom:25px;left:3vw;z-index:2;display:flex;gap:12px}.menu-page .page-heading{padding:0 10px 20px;margin:0;border:0;background:none}.menu-page .page-heading h1{font:500 clamp(45px,4.5vw,72px) var(--serif);color:#fffdf1;text-shadow:0 2px 5px #3b2d22aa;margin:0}.menu-page .page-heading .eyebrow{font:15px var(--serif);color:#fffceb;text-shadow:0 1px 5px #463627}.diagnostic-message{color:#6c5436;background:#fff8e3dc;border:1px solid #bda6775e;border-radius:4px;padding:8px 13px;font-size:13px}.save-browser{display:grid;grid-template-columns:minmax(260px,3fr) minmax(0,7fr);gap:28px;min-height:620px;max-height:calc(100svh - 225px)}.world-list{padding:18px 10px;overflow:auto;display:flex;flex-direction:column;gap:12px}.world-list h2{font:30px var(--serif);margin:4px 12px}.world-choice{display:grid;grid-template-columns:110px 1fr;gap:4px 13px;align-items:center;text-align:left;background:#f2eee6;border:1px solid #c6b899;padding:10px;border-radius:6px;color:#544029;min-height:115px}.world-choice img{grid-row:1/4;width:110px;height:85px;object-fit:cover;border-radius:4px}.world-choice strong{font:23px var(--serif)}.world-choice span,.world-choice small{font:12px/1.5 var(--serif)}.world-choice.is-active{border-color:#c6a158;box-shadow:0 0 0 2px #e9d09a,0 0 10px #d9b76c62;background:#fff8e8}.world-list>.button{margin-top:auto}.save-browser>div{overflow:auto}.save-browser .panel{padding:12px 20px;margin:0 0 16px}.save-browser .panel h2{font-size:33px}.save-position-grid{display:flex;flex-direction:column;gap:12px}.save-position{display:grid;grid-template-columns:145px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:5px 18px;padding:12px;border:1px solid #c1ae8c66;border-radius:7px;background:#f5f2eccc;min-height:105px;align-items:center}.save-position>img{grid-row:1/3;width:145px;height:85px;border-radius:5px;object-fit:cover}.save-position>img.is-empty{opacity:.3;filter:grayscale(1)}.save-position>small{font:25px var(--serif);grid-column:2}.save-position>h3{font:13px var(--serif);grid-column:2;margin:0}.save-position>p{font:12px var(--serif);grid-column:2;margin:0}.save-position>.field-actions{grid-column:3;grid-row:1/4;display:flex;gap:6px;align-items:center}.save-position .button{font-size:14px;padding:7px 14px;min-height:35px}.save-position--auto{order:9;border-top:2px solid #b59a6866;margin-top:12px}.save-position:not(.save-position--auto) img{grid-row:1/4}.settings-layout{display:grid;grid-template-columns:200px minmax(0,1fr) minmax(270px,.5fr);gap:0;max-height:calc(100svh - 235px);min-height:550px;background:var(--interior-paper);border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/28px stretch;border-radius:10px}.settings-tabs{border:0;border-right:1px solid var(--interior-line);background:transparent;box-shadow:none;padding:18px 10px;display:flex;flex-direction:column;gap:10px}.settings-tabs button{padding:18px 10px;font:21px var(--serif);background:none;border:1px solid transparent;text-align:left;border-radius:4px;color:#70573b}.settings-tabs button.is-active{border-color:#c7a65b;background:linear-gradient(110deg,#ead4a3,#fffaf0);box-shadow:0 0 6px #d1af6580}.settings-content{min-height:0;overflow:auto;padding:15px 22px;border-right:1px solid var(--interior-line)}.settings-content>.panel{border:0;box-shadow:none;background:none;padding:12px 0;margin:0 0 14px}.settings-content .panel__heading{border-bottom:1px solid var(--interior-line);padding-bottom:10px}.settings-content .form-grid{gap:18px}.settings-content label{font:16px/1.6 var(--serif)}.settings-content input,.settings-content select{font:16px var(--serif);padding:9px}.settings-content .muted{font-size:12px;line-height:1.7}.settings-content .button{font-size:14px;padding:8px 15px}.settings-content .toggle-row{font-size:14px;padding:8px 0}.settings-preview{border:0;background:none;box-shadow:none;display:flex;flex-direction:column;padding:20px;min-height:0;gap:15px}.settings-preview h2{font:25px var(--serif);margin:0}.settings-preview label{font-size:13px;display:grid;gap:6px}.settings-preview pre{font:15px/1.85 var(--serif);white-space:pre-wrap;word-break:break-word;overflow:auto;flex:1;min-height:0;background:#fffef8d1;border:1px solid #bba88670;padding:15px;border-radius:6px;margin:0}.settings-preview p{font:14px/1.9 var(--serif);color:#94816a}.settings-savebar{position:relative;display:flex;justify-content:flex-end;gap:24px;align-items:center;order:9;background:#fffaf0eb;border:1px solid #c5b08970;border-radius:6px;padding:10px 22px;margin:14px 0 0}.settings-page{display:flex;flex-direction:column}.settings-savebar p{font-size:12px;margin:2px 0}.settings-savebar strong{font-size:14px}.settings-savebar>.button{font-size:20px;min-width:190px}.prompt-workbench{display:grid;grid-template-columns:150px 1fr;gap:18px}.prompt-workbench nav{display:flex;flex-direction:column;gap:5px}.prompt-workbench nav button{padding:8px;font-size:13px;background:#f2ecdf;border:1px solid #c8b78e70;text-align:left}.prompt-editor{min-height:420px!important;font:14px/1.75 var(--serif)!important}.prompt-preview{white-space:pre-wrap;word-break:break-word;overflow:auto;font-size:12px}.model-log-list details{padding:12px 0;border-bottom:1px solid var(--interior-line)}@media(min-width:1800px){.relic-loadout__item{width:110px;height:120px}.choice-slot{max-width:410px}.relic-card__name{font-size:13px}.relic-card__quantity{font-size:16px}}@media(max-width:1200px){.relic-library:has(.relic-loadout){grid-template-columns:160px minmax(0,1fr) 260px}.relic-loadout>section{flex-direction:column;align-items:flex-start}.relic-loadout__item{width:85px;height:85px}.relic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-layout{grid-template-columns:150px minmax(0,1fr) 245px}.settings-tabs button{font-size:17px}.choice-guide{width:16%}.choice-scene__rail{gap:12px}.choice-card__body h3{font-size:23px}.choice-scene__decision{display:none}.save-position{grid-template-columns:100px 1fr}.save-position>img{width:100px;height:80px}.save-position>.field-actions{grid-column:1/-1;grid-row:auto;justify-content:flex-end}.save-browser{max-height:none}.menu-page{padding-bottom:80px}.menu-page__top{position:static;order:10;margin-top:18px}}@media(max-width:800px){.play-detail{height:96svh;width:98vw;max-height:96svh}.play-detail>.modal__body{padding:10px}.relic-archive__heading{padding:8px 30px 8px 6px;min-height:65px}.relic-archive__heading h1{font-size:31px}.relic-wallet{padding:0;display:block;font-size:12px}.relic-wallet strong{font-size:16px}.relic-wallet small{display:none}.relic-navigation{padding:0;flex-wrap:nowrap;overflow:auto;min-height:43px}.relic-navigation>button{white-space:nowrap;padding:8px;font-size:14px}.relic-library,.relic-library:has(.relic-loadout){display:flex;flex-direction:column}.relic-loadout{flex-direction:row;flex-wrap:wrap;overflow:visible;flex:none;padding:8px;gap:8px}.relic-loadout h2,.relic-loadout h3,.relic-loadout__note,.relic-loadout .defense-sources{display:none}.relic-loadout>section{flex:1;flex-direction:row;gap:5px}.relic-loadout__item{width:48px;height:55px;min-width:48px}.relic-loadout b,.relic-loadout small{font-size:10px}.relic-collection{min-height:380px;flex:1}.relic-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.relic-card__name{font-size:10px}.relic-inspection{min-height:0}.relic-inspection__hero>.relic-art{height:230px}.relic-library>.relic-inspection{display:none}.relic-library>.modal-backdrop .relic-inspection{display:flex}.stored-catalog{grid-template-columns:1fr}.modal--candidate-scene{padding:18px 14px 12px}.modal--candidate-scene>header h2{font-size:29px}.modal--candidate-scene>header>.icon-button{right:8px;top:8px}.choice-guide{display:none}.choice-scene__context>p{font-size:14px;padding:3px 6px}.choice-scene__rail{overflow-x:auto;scroll-snap-type:x mandatory;justify-content:flex-start;gap:20px;padding:8px 5%;width:100%}.choice-slot{flex:0 0 100%;max-width:none;scroll-snap-align:center}.choice-card{padding:8px;height:100%}.choice-card__art{height:42%}.choice-card__body h3{font-size:27px}.choice-scene__overview{padding:0 0 43px;min-height:0;overflow:hidden}.choice-scene__pager{display:flex;align-items:center;justify-content:center;gap:18px;position:absolute;bottom:0;inset-inline:0;height:35px;background:#fff7e6bd}.choice-scene__pager .button{padding:2px 16px;min-height:27px}.modal--candidate-scene>footer{gap:10px}.modal--candidate-scene>footer>.button{font-size:15px;padding:9px 15px;min-width:0;flex:1}.choice-reward>.generated-art{width:250px;height:250px}.choice-reward h3{font-size:27px}.settings-layout{display:flex;flex-direction:column;max-height:none;min-height:0}.settings-tabs{display:flex;flex-direction:row;overflow:auto;white-space:nowrap;border-right:0;border-bottom:1px solid var(--interior-line);padding:5px;gap:3px;flex-shrink:0}.settings-tabs button{padding:9px;font-size:15px}.settings-content{overflow:visible;padding:9px;border:0}.settings-preview{border-top:1px solid var(--interior-line);padding:14px}.settings-preview pre{max-height:160px;min-height:120px}.settings-savebar{position:sticky;bottom:0;z-index:5;padding:10px;gap:10px}.settings-savebar>.button{font-size:17px;min-width:110px}.menu-page .page-heading h1{font-size:40px}.save-browser{display:flex;flex-direction:column;min-height:0;max-height:none;gap:12px}.world-list{max-height:310px}.world-list h2{font-size:24px}.world-choice{min-height:90px}.world-choice img{height:70px}.save-browser .panel{padding:10px}.save-position{padding:8px;gap:5px 10px}.save-position>small{font-size:21px}.save-position .button{padding:7px 10px}.settings-content .form-grid,.prompt-workbench{grid-template-columns:1fr}.prompt-workbench nav{max-height:180px;overflow:auto}.menu-page{padding-top:16px}.modal:not(.modal--candidate-scene)>.modal__body{padding:12px}}.prompt-workbench{grid-template-columns:210px minmax(0,1fr)}.prompt-workbench nav{max-height:65svh;overflow:auto;align-self:start}.prompt-workbench nav button.is-active{background:#ead4a3;border-color:#b68d45}.prompt-workbench nav button small{display:block;color:#76532d}.prompt-workbench>div{min-width:0}@media(max-width:800px){.prompt-workbench{grid-template-columns:minmax(0,1fr)}.prompt-workbench nav{max-height:180px}}.writer-prompt-editor{min-width:0;border:0;margin:0;padding:0}.writer-prompt-editor h3{margin-top:0}.writer-prompt-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:7px}.writer-prompt-list li{min-width:0;padding:6px;border:1px solid #c8b78e;background:#f8f2e7;border-radius:5px}.writer-prompt-row{display:flex;align-items:center;gap:6px;min-width:0}.writer-prompt-expanded{border-top:1px solid #c8b78e;margin-top:6px;padding:12px;min-width:0}.writer-prompt-expanded .writer-prompt-content{margin-top:0}.writer-prompt-list li.is-selected{border-color:#b68d45;background:#f0dfbb}.writer-prompt-list li.is-dragging{opacity:.55}.writer-prompt-list li.is-drop-target{outline:2px solid #9d7030;outline-offset:2px}.writer-prompt-row button{min-height:40px;border:0;background:transparent;color:#634b2e}.writer-prompt-handle{cursor:grab;touch-action:none;user-select:none;flex:0 0 36px;font-size:24px}.writer-prompt-handle:active{cursor:grabbing}.writer-prompt-select{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere}.writer-prompt-select span{color:#947348}.writer-prompt-actions{display:flex;flex-shrink:0}.writer-prompt-actions button{min-width:32px;padding:4px}.writer-prompt-content{margin-top:18px;min-width:0}.writer-prompt-content h4{margin:0 0 10px}.writer-prompt-list .prompt-enabled{width:18px;height:18px;flex:0 0 18px;padding:0;margin:0 3px}.writer-prompt-select small{display:block;font-size:11px;line-height:1.5;color:#826a49}.prompt-filters{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.prompt-source{border-left:3px solid #bea16c;padding:5px 12px;margin:12px 0;background:#f2e9d9;color:#70573b;font-size:13px;overflow-wrap:anywhere}.prompt-source p{margin:4px 0}.writer-prompt-content .form-grid textarea{min-height:85px;font-size:14px}.writer-prompt-content textarea{font:15px/1.8 var(--serif);min-height:260px;width:100%}@media(max-width:600px){.writer-prompt-list li{padding:4px}.writer-prompt-row{gap:2px}.writer-prompt-expanded{padding:8px 4px}.writer-prompt-handle{flex-basis:30px}.writer-prompt-actions button{min-width:28px}.writer-prompt-select{font-size:13px}}.choice-card__free-replace{pointer-events:auto;position:relative;z-index:3;min-height:44px;white-space:normal;max-width:100%}.stored-catalog article>div{flex:1;min-width:0}.stored-catalog article>.button{flex-shrink:0;white-space:nowrap}@media(max-width:600px){.relic-stored{padding:12px}.stored-catalog article{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:12px}.stored-catalog .relic-art{width:64px;height:64px;grid-column:1;grid-row:1}.stored-catalog article>div{grid-column:2;grid-row:1}.stored-catalog article>.button{grid-column:1/-1;justify-self:end;min-width:80px}.stored-catalog article p{overflow-wrap:anywhere}}.soul-archive{height:100%;display:flex;flex-direction:column;padding:0;background:none;border:0;color:#4d3420;min-height:0}.soul-archive__heading{height:65px;flex-shrink:0;text-align:center;padding:4px 35px 10px;border-bottom:1px solid var(--interior-line)}.soul-archive__heading .eyebrow,.soul-archive__heading>p{display:none}.soul-archive__heading h1{font:500 37px var(--serif);margin:0}.archive-tabs{display:flex;justify-content:center;gap:3px;padding:12px 0;min-height:62px;flex-shrink:0;border:0}.archive-tabs button{padding:9px 23px;border:1px solid #c5b3976b;background:#eee9e0;font:18px var(--serif);color:#684e30;border-radius:4px}.archive-tabs button>span{display:none}.archive-tabs button.is-active{background:linear-gradient(115deg,#ae8640,#d6b575);color:#fff;box-shadow:inset 0 0 0 3px #f9e9c34f}.archive-layout{display:grid;grid-template-columns:minmax(225px,28fr) minmax(0,72fr);gap:18px;flex:1;min-height:0}.archive-player{border:1px solid #b7a07870;background:#fffdf59e;border-radius:6px;display:flex;flex-direction:column;gap:8px;padding:12px;min-height:0;overflow:auto}.archive-player__art{height:0;min-height:240px;flex:1;position:relative;background:linear-gradient(#d9e9df20,#edf1e645),url(/media/8cb29597b3b9a63033c42080.webp) 37% center/cover;border:1px solid #c7b78c;overflow:hidden;border-radius:5px}.archive-player__art>img{width:100%;height:100%;object-fit:cover;object-position:center 15%;filter:drop-shadow(0 0 5px #fff9e2)}.archive-player h2{display:flex;justify-content:space-between;align-items:center;font:26px var(--serif);margin:10px 2px}.archive-player h2 small{font-size:18px}.archive-player>.meter{margin:4px 0}.archive-player>.meter .meter__label{font:15px var(--serif)}.archive-player>p{font:14px/1.8 var(--serif);color:#8a775e;margin:8px 0;text-align:center}.archive-main{min-height:0;overflow:auto;min-width:0}.archive-content{padding:0;border:0}.archive-content>.panel{padding:15px;min-height:0}.archive-profile{display:grid;grid-template-columns:1fr 1fr;gap:18px;min-height:100%;padding:0}.archive-profile__identity,.archive-profile__resources{border:1px solid var(--interior-line);padding:22px;background:#fffcf494;border-radius:6px;min-width:0}.archive-level{display:none}.archive-profile__identity h2{font:34px var(--serif);margin:20px 0 10px}.archive-profile__identity p{font:16px/1.8 var(--serif)}.archive-profile__identity dl{display:grid;gap:18px;font:16px var(--serif);margin-top:30px}.archive-profile__identity dt{color:#8b775a;font-size:13px;margin-bottom:6px}.archive-profile__identity dd{margin:0}.archive-profile__resources h3{font-size:28px}.archive-profile__resources .meter{margin:25px 0}.archive-profile__counts{display:flex;justify-content:space-around;text-align:center;border-top:1px solid var(--interior-line);margin:20px 0;padding-top:20px}.archive-profile__counts span{font-size:13px;display:grid;gap:6px}.archive-profile__counts b{font:25px var(--serif)}.soul-gallery{display:grid;grid-template-columns:minmax(0,56fr) minmax(250px,44fr);grid-template-rows:auto minmax(0,1fr);gap:12px;height:100%;min-height:550px}.soul-gallery>nav{grid-column:1/-1;display:flex;gap:8px}.soul-gallery nav button{border:1px solid #c5ac7977;background:#ede7da;padding:7px 16px;font:16px var(--serif);color:#755434;border-radius:4px}.soul-gallery nav button.is-active{background:#c4a262;color:#fff}.soul-gallery__spirit,.soul-gallery__ability{background:#fffcf7ba;border:1px solid var(--interior-line);border-radius:6px;padding:16px;min-height:0;display:flex;flex-direction:column;align-items:center}.soul-gallery__spirit{position:relative;overflow:hidden}.soul-gallery__spirit h2{font:29px var(--serif);margin:5px 0 8px;text-align:center}.soul-gallery__spirit>p{font:14px/1.7 var(--serif);text-align:center;max-height:72px;overflow:auto;margin:0}.soul-gallery__illustration{width:100%;height:0;min-height:240px;flex:1;object-fit:contain;filter:drop-shadow(0 0 15px #e0bd7426)}.soul-gallery__rings{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-height:210px;overflow:auto;padding:10px 0;width:100%}.soul-gallery__rings>button{background:none;border:1px solid transparent;border-radius:7px;padding:6px 8px;font:14px var(--serif);color:#6d5133;display:flex;flex-direction:column;align-items:center;gap:6px}.soul-gallery__rings>button[aria-pressed=true]{border-color:#caa04d;background:#f9edcc8c;box-shadow:0 0 10px #e3c377}.soul-gallery__rings .soul-ring{width:100px;height:100px}.soul-gallery__rings .soul-ring span{font-size:10px}.soul-gallery__spirit>.field-actions{margin-top:8px}.soul-gallery__spirit>.field-actions .button{font-size:13px;min-height:30px;padding:6px 13px}.soul-gallery__ability{overflow:auto;align-items:stretch}.soul-gallery__ability>h3{font:25px var(--serif);text-align:center;border-bottom:1px solid var(--interior-line);margin:0 0 12px;padding-bottom:12px}.soul-gallery__skill-art{width:min(220px,100%);height:210px;min-height:140px;flex-shrink:0;align-self:center;border:5px double #c4aa7e;border-radius:50%;overflow:hidden}.soul-gallery__ability>h2{font:27px var(--serif);text-align:center;margin:13px 0}.soul-gallery__ability>p{font:16px/1.8 var(--serif)}.soul-gallery__ability .ability-details{font:14px/1.7 var(--serif)}.soul-gallery__ability nav{display:flex;flex-wrap:wrap;gap:5px}.soul-gallery__ability nav button{font-size:13px;padding:5px 8px}.archive-content:has(.soul-gallery){height:100%}.archive-content .record-list>article{padding:14px;gap:14px;background:#fffcf59c;border:1px solid var(--interior-line);border-radius:7px}.archive-content .record-list .generated-art{width:90px;height:90px;border-radius:7px;margin:0}.archive-content .record-list b{font:21px var(--serif)}.archive-content .record-list small{font-size:13px}.archive-content .record-list>article>.button{margin-left:auto}.lasting-talents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lasting-talents article{padding:24px;border:1px solid var(--interior-line);background:#f6eedf}.lasting-talents h3{font-size:24px}.lasting-talents p{font:16px/1.8 var(--serif)}.modal--person{width:min(1500px,96vw);height:min(850px,94svh);max-height:94svh;padding:0;position:relative;overflow:hidden}.modal--person>header{position:absolute;inset:0 0 auto;z-index:3;border:0;pointer-events:none}.modal--person>header h2{display:none}.modal--person>header .icon-button{margin-left:auto;pointer-events:auto}.modal--person>.modal__body{padding:0!important;flex:1;min-height:0;overflow:hidden}.illustrated-person{display:grid;grid-template-columns:52fr 48fr;height:100%;gap:12px}.illustrated-person__portrait{min-width:0;position:relative;overflow:hidden;background:url(/media/8cb29597b3b9a63033c42080.webp) center/cover;border-radius:6px}.illustrated-person__portrait>.npc-portrait-art{display:block;width:100%;height:100%;max-height:none;margin:0;object-fit:cover;border-radius:0}.illustrated-person__body{display:flex;flex-direction:column;padding:35px 30px 20px;min-height:0}.illustrated-person__body header{text-align:center;flex-shrink:0}.illustrated-person__body h1{font:500 clamp(40px,4.5vw,72px) var(--serif);margin:5px 0 10px;color:#4c2f18}.illustrated-person__body header p{font:23px var(--serif);letter-spacing:.22em;margin:10px 0 24px}.illustrated-person__body>nav{display:flex;gap:5px;flex-shrink:0}.illustrated-person__body>nav button{flex:1;font:23px var(--serif);padding:12px;border:1px solid #b79a64;background:#eee7d9;border-radius:6px;color:#715330}.illustrated-person__body>nav button.is-active{background:linear-gradient(115deg,#ac8036,#d9ba76);color:#fff}.illustrated-person__content{flex:1;min-height:0;overflow:auto;padding:20px 6px;font:17px/1.9 var(--serif)}.illustrated-person__content dl{border:1px solid #c9b99a88;padding:18px;margin:0 0 20px;background:#fffcf466;border-radius:6px}.illustrated-person__content dl>div{display:flex;gap:20px;padding:7px 0;border-bottom:1px solid #c8b89c3d}.illustrated-person__content dt{width:52px;flex:none;color:#8b775c}.illustrated-person__content dd{margin:0}.illustrated-person__content h3{font:23px var(--serif);text-align:center}.illustrated-person__skills{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.illustrated-person__skills span{padding:6px 16px;border:1px solid #c7b083;border-radius:26px;background:#f7efdd}.illustrated-person__body>footer{display:flex;gap:12px;justify-content:center;padding-top:16px}.illustrated-person__body>footer .button{font:21px var(--serif);min-width:160px}.modal--person>footer{margin-left:52%;padding:10px;font-size:14px}.modal--beast .play-actor-detail>.portrait-art{width:50%;height:400px;background:url(/media/87285b6d3b4939a49ed56436.webp) center/cover}.app-shell--creation .page-stage{max-width:1800px;padding:15px 30px}.awakening{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;background:none;border:0;padding:0;box-shadow:none;position:relative;min-height:calc(100svh - 120px)}.awakening__heading{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;margin:0;padding:0 0 18px;border:0;min-height:100px}.awakening__heading h1{font:500 clamp(40px,4.2vw,67px) var(--serif);color:#fffdf1;text-shadow:0 2px 6px #4d3b25;margin:5px 0}.awakening__heading .eyebrow{font-size:10px;color:#fff}.awakening__heading>p{font:15px/1.8 var(--serif);max-width:220px;color:#fffdf1;text-shadow:0 1px 5px #463224;margin:0}.awakening__sidebar{display:flex;flex-direction:column;min-height:0;gap:14px}.awakening__steps{position:absolute;top:22px;left:30%;right:15%;display:flex;gap:0;background:#fff9eee8;border:1px solid #c2a67766;border-radius:40px;padding:5px;z-index:1}.awakening__steps>button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;padding:6px;background:none;border:0;color:#8c816f;min-width:0}.awakening__steps>button>span{width:33px;height:33px;border:2px solid #9b9486;border-radius:50%;display:grid;place-items:center;font:22px var(--serif)}.awakening__steps>button strong{font:16px var(--serif)}.awakening__steps>button small{display:none}.awakening__steps>button[aria-current=step]{color:#8a5f20;background:#f3e2bda8;border-radius:30px}.awakening__steps>button[aria-current=step]>span{background:#b8934c;color:#fff;border-color:#fce8b5;outline:1px solid #b3904f}.awakening-budget{background:var(--interior-paper);border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/25px stretch;padding:20px 12px;flex:1;min-height:420px}.awakening-budget>.eyebrow{display:none}.awakening-budget h2{font:28px var(--serif);text-align:center;margin:8px 0 18px}.awakening-budget__number{display:flex;align-items:center;justify-content:center;gap:7px;color:#503514}.awakening-budget__number strong{font:74px var(--serif)}.awakening-budget__number>span{font:19px/1.5 var(--serif)}.awakening-budget__number.is-over{color:#a2433d}.awakening-budget dl{font:16px var(--serif);display:grid;gap:17px;margin:30px 0}.awakening-budget dl>div{display:flex;justify-content:space-between;border-bottom:1px solid #c8b99965;padding-bottom:10px}.awakening-budget dd{margin:0}.awakening-budget>p{font:13px/1.8 var(--serif);color:#8f7a5d}.awakening-save{padding:10px;background:#fffbedc9;border-radius:5px;font-size:12px;color:#8b724d}.awakening-save small{display:block;font-size:10px;line-height:1.6;margin-top:6px}.awakening__body{min-width:0;display:flex;flex-direction:column;gap:12px;min-height:0}.awakening__actions{margin-top:auto;display:flex;gap:20px;justify-content:space-between;align-items:center;padding:12px 0;flex-shrink:0}.awakening__actions>.button{font:21px var(--serif);min-width:200px;padding:12px 22px}.awakening__actions>span{font:13px var(--serif);color:#775e40;background:#fff9e9b3;padding:6px 14px;border-radius:20px}.awakening-souls{display:flex;flex-direction:column;min-height:0;flex:1}.awakening-souls__tabs{display:flex;justify-content:space-between;gap:14px;margin-bottom:10px;align-items:center}.awakening-souls__tabs>div{display:flex;gap:8px}.awakening-souls__tabs button{background:#fff9eddf;border:1px solid #bda573;padding:8px 14px;border-radius:5px;color:#6c4b28;display:flex;gap:8px;align-items:center;font:16px var(--serif)}.awakening-souls__tabs button[aria-selected=true]{background:#c5a466;color:#fff}.awakening-souls__tabs button small{font-size:11px}.awakening-souls__tabs label{display:flex;gap:9px;align-items:center;font-size:13px;color:#674b2e;background:#fff9eddd;padding:4px 10px;border-radius:4px}.awakening-souls__tabs select{padding:6px}.awakening-hint{font-size:12px;background:#fff8e7e0;padding:8px;margin:0 0 8px}.awakening-workbench{display:grid;grid-template-columns:minmax(0,6fr) minmax(295px,4fr);gap:18px;flex:1;min-height:0}.awakening-workbench__editor,.awakening-advisor{background:var(--interior-paper);border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/25px stretch;padding:14px;min-height:0;max-height:calc(100svh - 300px);overflow:auto;scrollbar-width:thin}.awakening-workbench__editor>header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--interior-line);padding-bottom:10px}.awakening-workbench__editor>header .eyebrow{display:none}.awakening-workbench__editor h2{font:24px var(--serif);margin:4px 0}.awakening-workbench__editor>header p{font-size:12px;margin:4px 0}.awakening-templates{border:0;padding:10px 0;margin:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.awakening-templates label{font-size:12px;display:flex;gap:6px;align-items:center}.awakening-templates select{font-size:13px;max-width:190px;padding:5px}.awakening-templates .button,.awakening-templates .file-button{min-height:29px;padding:5px 9px;font-size:12px}.awakening-spirit-art{height:270px;float:left;width:48%;margin:8px 18px 12px 0;border:1px solid #c7b186;border-radius:7px;background:linear-gradient(130deg,#efddc43c,#e4eddf62);overflow:hidden}.awakening-spirit-art .portrait-art{height:100%;width:100%}.soul-editor{border:0;padding:0;min-width:0}.soul-editor__identity{display:grid;gap:8px;grid-template-columns:1fr;margin:8px 0 12px}.soul-editor__identity>label{font:14px var(--serif);display:grid;gap:5px}.soul-editor__identity input,.soul-editor__identity textarea{padding:7px;font:14px/1.5 var(--serif);width:100%;min-height:36px}.soul-editor__identity textarea{height:70px;resize:vertical}.soul-editor__section{clear:both;border-top:1px solid var(--interior-line);padding:14px 0;font:14px/1.7 var(--serif)}.soul-editor__section h3{font:20px var(--serif);margin:0 0 8px}.soul-editor__section>p{font-size:12px;color:#877458;margin:0 0 8px}.soul-editor__chips{display:flex;flex-wrap:wrap;gap:7px}.soul-editor__chips button{padding:5px 10px;border:1px solid #b99e7066;background:#f2e9d8;color:#77552d;border-radius:20px}.soul-editor__section select{font-size:13px}.soul-editor__investment-heading{display:flex;align-items:center;gap:12px}.soul-editor__investment-heading label{margin-right:auto}.soul-editor__investment-heading small,.soul-editor__investment-note{font-size:11px;color:#8d785c}.soul-editor__investment-control{display:flex;gap:10px;align-items:center}.soul-editor__investment-control input{flex:1;accent-color:#caa453}.soul-editor__investment-control button{width:25px;height:25px;border:1px solid #c1ae81;background:#fff8e8;border-radius:4px}.soul-editor__base{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.soul-editor__base label{display:grid;gap:5px}.soul-editor__verdict{padding:13px;border:1px solid #c4ad8066;background:#f6efdccc;font:13px/1.75 var(--serif)}.awakening-advisor>header{display:flex;gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--interior-line)}.awakening-advisor__seal{width:65px;height:72px;border:1px solid #bba57c;border-radius:50%;overflow:hidden;flex:none;position:relative}.awakening-advisor__seal img{width:210%;max-width:none;position:absolute;left:-44%;top:-12%}.awakening-advisor>header .eyebrow{display:none}.awakening-advisor>header h2{font:23px var(--serif);margin:0}.awakening-advisor>p{font:15px/1.8 var(--serif)}.awakening-advisor__offline{background:#f5ebd799;border:1px solid #bfa37466;border-radius:7px;padding:15px;font:14px/1.8 var(--serif)}.awakening-advisor__offline .button{font-size:14px;min-height:32px;padding:6px 12px}.awakening-advisor blockquote{background:#fffdf5;border:1px solid #c8b89966;padding:15px;border-radius:12px;font:16px/1.9 var(--serif);margin:14px 0}.awakening-advisor__input{display:grid;gap:8px;margin:14px 0;font:17px var(--serif)}.awakening-advisor__input textarea{height:115px;min-height:90px;resize:vertical;padding:12px;font:15px/1.8 var(--serif)}.awakening-advisor__actions{display:flex;gap:10px}.awakening-advisor__actions .button{font-size:16px;padding:9px 14px}.awakening-advisor__history{font:13px/1.7 var(--serif);margin:14px 0}.awakening-proposal{padding:16px;background:#fffbed;border:1px solid #c2a66d;border-radius:7px;font:14px/1.7 var(--serif)}.awakening-proposal h3{font-size:25px;margin:6px 0}.awakening-proposal dl{display:grid;gap:8px}.awakening-proposal dl>div{display:flex;gap:14px}.awakening-proposal dd{margin:0}.awakening-error{background:#ffeddfeb;color:#9f473a;padding:12px;font-size:14px;border-radius:6px}.awakening-origin{display:grid;grid-template-columns:32fr 68fr;gap:20px;max-height:calc(100svh - 255px);min-height:530px}.awakening-portrait{position:relative;overflow:hidden;margin:0;background:url(/media/8cb29597b3b9a63033c42080.webp) center/cover;border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/26px stretch;border-radius:6px}.awakening-portrait>img{width:100%;height:100%;object-fit:cover;object-position:center 15%}.awakening-portrait figcaption{position:absolute;bottom:0;inset-inline:0;background:linear-gradient(transparent,#fffae8ee);padding:60px 16px 20px;text-align:center}.awakening-portrait figcaption strong{font:32px var(--serif);display:block}.awakening-portrait figcaption small{font-size:12px}.traveler-orbit{display:none}.awakening-origin>div{overflow:auto;background:var(--interior-paper);border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/26px stretch;padding:18px;font:15px/1.7 var(--serif)}.awakening-origin fieldset{border:0;border-bottom:1px solid var(--interior-line);padding:12px 0;margin:0 0 18px}.awakening-origin legend{font:25px var(--serif)}.awakening-origin .form-grid{gap:15px}.awakening-origin input,.awakening-origin textarea,.awakening-origin select{font:15px var(--serif);padding:8px}.awakening-identities{display:grid;grid-template-columns:1fr 1fr;gap:12px}.awakening-identities label{background:#f5eddd;border:1px solid #c4b28e8a;padding:13px;display:flex;gap:10px;border-radius:6px}.awakening-identities label.is-selected{background:#f8eac8;border-color:#bc954b}.awakening-identities strong{font-size:18px}.awakening-identities p,.awakening-identities small{font-size:12px;line-height:1.6}.awakening-identities label>div>span{font-size:12px;float:right}.awakening-attributes>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.awakening-attributes label{display:grid;grid-template-columns:40px 1fr 20px;align-items:center;gap:7px}.awakening-attributes label small{grid-column:2/-1;font-size:11px}.awakening-avatar{padding:12px 0}.awakening-import{display:grid;gap:8px;font-size:14px}.awakening-import small{font-size:11px}.awakening-confirm{overflow:auto;max-height:calc(100svh - 255px);background:var(--interior-paper);border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/26px stretch;padding:16px}.awakening-confirm__portrait{display:flex;gap:22px;align-items:center}.awakening-confirm__portrait>img{width:190px;height:230px;object-fit:cover;object-position:center 12%;border-radius:6px}.awakening-confirm__portrait h2{font:40px var(--serif)}.awakening-confirm__facts,.awakening-confirm__attributes{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:20px 0}.awakening-confirm__facts>div,.awakening-confirm__attributes>div{padding:15px;border:1px solid var(--interior-line);background:#f5ecd9;display:grid;gap:8px}.awakening-confirm__facts small{font-size:12px}.awakening-confirm__attributes{grid-template-columns:repeat(6,1fr)}.awakening-confirm__attributes dd{font:25px var(--serif);margin:0}.awakening-confirm__souls{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}.awakening-confirm__souls article{border:1px solid #c3ad80;padding:18px;border-radius:5px}.awakening-readiness{background:#f8ebda;padding:14px;margin:14px 0}.awakening-readiness.is-ready{background:#e6efdd}.awakening-export{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:1200px){.archive-tabs button{padding:8px 14px;font-size:16px}.archive-layout{grid-template-columns:24fr 76fr}.archive-profile{grid-template-columns:1fr}.soul-gallery{grid-template-columns:1fr 1fr}.soul-gallery__spirit h2{font-size:24px}.soul-gallery__rings .soul-ring{width:75px;height:75px}.awakening{grid-template-columns:180px 1fr;gap:12px}.awakening__steps{left:32%;right:0}.awakening__heading>p{display:none}.awakening-workbench{grid-template-columns:1fr 280px;gap:12px}.awakening-budget{padding:12px 8px}.awakening-budget__number strong{font-size:60px}.awakening-spirit-art{height:210px}.awakening-advisor{padding:10px}.awakening-advisor>header h2{font-size:19px}.awakening__actions>.button{min-width:160px;font-size:17px}.awakening__actions>span{display:none}.illustrated-person__body{padding:25px 18px}.illustrated-person__body>footer .button{font-size:17px;min-width:120px}}@media(max-width:800px){.archive-layout{display:flex;flex-direction:column;overflow:auto;gap:10px}.archive-player{flex-direction:row;flex-wrap:wrap;overflow:visible;flex:none;padding:8px;position:relative;gap:7px}.archive-player__art{min-height:0;width:80px;height:100px;min-width:80px;flex:0 0 80px;grid-row:1/4}.archive-player h2{font-size:22px;flex:1;min-width:100px;align-self:flex-start;margin:5px 0}.archive-player h2 small{font-size:14px}.archive-player>.meter{width:calc(50% - 10px);margin:0}.archive-player>p{display:none}.archive-main{overflow:visible}.archive-tabs{overflow:auto;justify-content:flex-start;min-height:48px;padding:7px 0}.archive-tabs button{white-space:nowrap;font-size:14px;padding:7px 11px}.soul-archive__heading{height:45px;padding:0 30px 6px}.soul-archive__heading h1{font-size:29px}.archive-profile{display:flex;flex-direction:column;gap:12px}.archive-profile__identity,.archive-profile__resources{padding:16px}.soul-gallery{display:flex;flex-direction:column;min-height:0}.soul-gallery>nav{overflow:auto;flex:none}.soul-gallery__illustration{height:280px;flex:none;min-height:0}.soul-gallery__rings{max-height:200px}.soul-gallery__ability{overflow:visible}.soul-gallery__skill-art{height:180px;width:180px}.archive-content .record-list b{font-size:17px}.archive-content .record-list .generated-art{width:65px;height:65px}.lasting-talents{grid-template-columns:1fr}.modal--person{height:95svh}.illustrated-person{display:flex;flex-direction:column;overflow:auto;gap:0}.illustrated-person__portrait{height:40vh;flex-shrink:0}.illustrated-person__body{min-height:450px;overflow:visible;padding:15px}.illustrated-person__body h1{font-size:40px}.illustrated-person__body header p{font-size:18px;margin:8px 0 16px}.illustrated-person__body>nav button{font-size:19px;padding:9px}.illustrated-person__content{min-height:250px;overflow:visible;font-size:15px;padding:14px 0}.illustrated-person__body>footer{position:sticky;bottom:0;background:#fff9eee8;padding:10px 0}.modal--person>footer{margin:0;display:flex;flex-wrap:wrap}.app-shell--creation .page-stage{padding:8px}.awakening{display:flex;flex-direction:column;gap:10px}.awakening__heading{min-height:80px;padding:0 0 45px}.awakening__heading h1{font-size:36px}.awakening__heading .eyebrow{font-size:8px}.awakening__steps{top:70px;left:0;right:0;padding:3px}.awakening__steps>button{gap:3px;padding:4px}.awakening__steps>button>span{width:23px;height:23px;font-size:16px}.awakening__steps>button strong{font-size:12px}.awakening__sidebar{margin-top:14px}.awakening-budget{min-height:0;display:flex;align-items:center;gap:14px;padding:5px 10px;border-width:10px;flex-wrap:wrap}.awakening-budget h2{font-size:20px;margin:0}.awakening-budget__number strong{font-size:37px}.awakening-budget__number>span{font-size:12px}.awakening-budget dl{display:flex;flex-wrap:wrap;gap:6px;margin:0;flex:1;min-width:130px}.awakening-budget dl>div{gap:4px;padding:0;border:0;font-size:11px}.awakening-budget>p,.awakening-save{display:none}.awakening-workbench{display:flex;flex-direction:column;gap:14px}.awakening-workbench__editor,.awakening-advisor{max-height:none;overflow:visible;min-height:0}.awakening-souls__tabs{flex-wrap:wrap}.awakening-souls__tabs>div{width:100%;overflow:auto}.awakening-souls__tabs button{font-size:13px;padding:7px}.awakening-spirit-art{width:44%;height:210px;margin-right:12px}.awakening__actions{position:sticky;bottom:0;background:#fffbf0ed;padding:10px;z-index:5;gap:10px}.awakening__actions>.button{font-size:14px;min-width:0;padding:10px;flex:1}.awakening-origin{display:flex;flex-direction:column;max-height:none;min-height:0}.awakening-portrait{height:310px}.awakening-origin>div{overflow:visible;padding:12px}.awakening-identities{grid-template-columns:1fr}.awakening-attributes>div{grid-template-columns:1fr}.awakening-confirm{max-height:none;padding:10px;overflow:visible}.awakening-confirm__portrait{align-items:flex-start;gap:12px}.awakening-confirm__portrait>img{width:100px;height:170px}.awakening-confirm__portrait h2{font-size:28px;margin:10px 0}.awakening-confirm__portrait blockquote{margin:0;font-size:12px}.awakening-confirm__facts{grid-template-columns:1fr 1fr}.awakening-confirm__attributes{grid-template-columns:repeat(3,1fr)}.awakening-confirm__souls{grid-template-columns:1fr}}.illustrated-person__portrait>.npc-portrait-art--figure{object-fit:contain;object-position:center bottom;padding:18px 12px 0;filter:drop-shadow(0 8px 16px #27372245)}@media(max-width:800px){.illustrated-person__body{flex:0 0 auto;min-width:0;min-height:0}.illustrated-person__content{flex:none;min-height:0;overflow-wrap:anywhere}.illustrated-person__body>nav button{min-width:0;font-size:17px}.illustrated-person__body>footer{position:static;flex-wrap:wrap;gap:6px}.illustrated-person__body>footer .button{flex:1 1 85px;min-width:0;font-size:14px;padding:10px 6px}}.archive-player__art>img{object-fit:contain;object-position:center bottom}.awakening-choice-tabs{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}.creation-situations{min-height:0;overflow:auto;flex:1;background:var(--interior-paper);border:1px solid var(--interior-line);border-radius:8px;padding:20px;scrollbar-width:thin}.creation-situations__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.creation-situations__cards article{border:1px solid var(--interior-line);padding:16px;border-radius:6px;background:#fffaf0}.creation-situations__cards article.is-selected{border-color:#aa8745;box-shadow:inset 0 0 0 1px #aa8745}.creation-situations__cards h4{font-size:18px;margin:0 0 12px}.creation-situations__cards p{line-height:1.7;font-size:14px}.creation-situations__cards label{display:grid;gap:5px;margin:12px 0}.creation-situations__cards input,.creation-situations__cards select{width:100%;min-width:0}.awakening-budget{overflow:auto;scrollbar-width:thin}@media(max-width:720px){.creation-situations{overflow:visible;flex:none;padding:12px}.creation-situations__cards{grid-template-columns:1fr}.awakening-budget{overflow:visible}}.opening-directions{border:1px solid var(--interior-line);border-radius:6px;padding:10px 12px;margin:12px 0}.opening-directions>section{padding:8px 0;border-bottom:1px solid var(--interior-line)}.opening-directions p{font-size:13px;line-height:1.65;margin:6px 0}.opening-directions .button{margin:6px 6px 0 0}.opening-talents{padding:20px;background:var(--interior-paper);border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/26px stretch;max-height:calc(100svh - 270px);overflow:auto;min-height:490px}.opening-talents>header{display:flex;gap:20px;align-items:center;border-bottom:1px solid var(--interior-line);padding-bottom:12px}.opening-talents>header>.eyebrow{display:none}.opening-talents>header h2{font:42px var(--serif);margin:0;white-space:nowrap}.opening-talents>header p{font:14px/1.8 var(--serif);color:#95866e;max-width:340px}.opening-talents__layout{display:block;margin-top:18px}.opening-talents__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.opening-talents__list>button{position:relative;padding:0 0 12px;border:6px solid transparent;border-image:var(--ornate-frame) 22.5%/14px stretch;background:#fffaf0;overflow:hidden;color:#53361c;cursor:pointer}.opening-talents__list>button>.portrait-art{width:100%;height:125px;display:block}.opening-talents__list>button:nth-child(n+4)>.portrait-art{height:175px}.opening-talents__list small{display:none}.opening-talents__list strong{font:23px var(--serif);display:block;margin:5px 0}.opening-talents__list p{display:none}.opening-talents__list span{font-size:12px;display:flex;justify-content:space-between;gap:5px;padding:0 12px}.opening-talents__list b{font-weight:400;color:#8f806b}.opening-talents__list>.is-active{background:#ffedbf;outline:1px solid #c79d51;box-shadow:0 0 12px #dbb75b78}.opening-talents__list>.is-selected b{color:#5c743f}.opening-talents__list>.is-selected:after{content:"✓";position:absolute;right:12px;top:10px;background:#b48a42;color:#fff;border:3px solid #fff4cf;box-shadow:0 0 0 1px #b48a42;border-radius:50%;height:28px;width:28px;display:grid;place-items:center;font-size:19px}.opening-talents__detail{position:relative;margin-top:18px;border-top:1px solid var(--interior-line);padding:18px 10px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 22px;font:14px/1.8 var(--serif)}.opening-talents__detail>.eyebrow,.opening-talents__detail-art{display:none}.opening-talents__detail h2{font:28px var(--serif);margin:0;grid-column:1/-1}.opening-talents__detail p{margin:0}.opening-talents__detail label{display:grid;gap:5px}.opening-talents__detail select{padding:9px}.opening-talents__detail small{font-size:12px}.opening-talents__source{grid-column:2;grid-row:2/5}.opening-talents__detail>.button{grid-column:1;justify-self:start;margin:8px 0 0}.opening-talents__condition{font-size:12px;color:#8b7758}.awakening:has(.opening-talents) .awakening__sidebar{position:relative;padding-top:250px}.awakening:has(.opening-talents) .awakening__sidebar:before{content:"";position:absolute;inset:-20px -20px auto -50px;height:360px;background:url(/media/36f1cff173988600f643c4d6.webp) center top/360px auto no-repeat;pointer-events:none;z-index:0}.awakening:has(.opening-talents) .awakening-budget{position:relative;min-height:250px;flex:0}.awakening:has(.opening-talents) .awakening-budget dl{gap:10px;margin:10px 0}.awakening:has(.opening-talents) .awakening-budget>p{display:none}.play-scene--world .play-cast,.play-scene--world .play-hero{background:var(--interior-paper);border:14px solid transparent;border-image:var(--ornate-frame) 22.5%/26px stretch;box-shadow:0 5px 18px #47523322;padding:14px}.play-scene--world .play-cast>header{padding:10px 0;border-bottom:1px solid var(--interior-line)}.play-scene--world .play-cast h2{font:26px var(--serif)}.play-scene--world .play-cast__list{padding:10px 0}.play-scene--world .play-cast__list>button{background:#fffaf0b8;border:1px solid #c3ab7870;border-radius:7px;padding:10px}.play-scene--world .play-hero__identity{padding:0 0 14px;border-bottom:1px solid var(--interior-line)}.play-scene--world .play-hero__portrait{width:85px;height:85px;border:3px double #bca578;border-radius:50%;overflow:hidden;position:relative;display:block}.play-scene--world .play-hero__identity strong{font:26px var(--serif)}.play-scene--world .play-hero__links{gap:7px;margin:14px 0}.play-scene--world .play-hero__links button{background:#fdf8ed;border:1px solid #bdac8b;border-radius:5px;padding:10px;font:16px var(--serif)}.play-scene--world .play-services{border-top:1px solid var(--interior-line);padding-top:15px}.play-scene--world .play-services h2{font:24px var(--serif)}.relic-art,.generated-art{box-shadow:none}.relic-card>.relic-art,.relic-inspection__hero>.relic-art{border:0;border-radius:0;background:transparent;box-shadow:none}.play-detail:has(.relic-archive){background:linear-gradient(110deg,#fffff8ec,#faf5eae8),url(/media/8cb29597b3b9a63033c42080.webp) center/cover}.modal-backdrop:has(.play-detail){background:linear-gradient(#332c2715,#332c272a),url(/media/8cb29597b3b9a63033c42080.webp) center/cover}.relic-archive__heading h1{font-size:48px}.relic-loadout,.relic-collection,.relic-inspection{background:#fffdf570}.relic-card__name{font-size:13px}.relic-card>.relic-art{height:calc(100% - 22px)}.relic-card__quantity{bottom:18px}.relic-inspection__hero>.relic-art{height:32vh}.relic-inspection .item-details,.relic-inspection .muted,.relic-inspection .relic-facts{font:16px/1.8 var(--serif)}.relic-library,.relic-grid{gap:12px}.world-scene{padding:12px 22px;min-height:0;overflow:auto;height:100%;background:transparent}.world-masthead{padding:12px 0 15px;border-bottom:1px solid var(--interior-line);margin:0;display:flex;justify-content:space-between}.world-masthead h1{font:42px var(--serif);margin:3px 0}.world-masthead p{font:14px var(--serif);margin:8px 0}.world-masthead .eyebrow,.world-masthead__level{display:none}.world-tabs{display:flex;gap:8px;margin:12px 0 20px}.world-tabs button{font:18px var(--serif);padding:9px 22px;border:1px solid #c1aa7c;background:#fff9ed;color:#7a5e35;border-radius:4px}.world-tabs button[aria-current=page]{background:#c3a15f;color:#fff}.world-person-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.world-person-card{background:#fffaf0;border:1px solid #c1ad82;padding:10px;border-radius:7px}.world-person-card__seal{width:90px;height:110px;flex-shrink:0}.world-person-card__text b{font:22px var(--serif)}.world-person-card__text small{font-size:12px}.world-person-card__arrow{display:none}.world-scene .world-section-heading h2{font:25px var(--serif);margin:6px 0}.world-venues{margin-top:18px}.world-venue-grid{gap:15px}.world-venue{background:#fffaf0;border:1px solid #c1ad82;padding:20px;border-radius:6px}.world-venue h3{font:25px var(--serif);margin:8px 0}.world-venue p{font:14px/1.8 var(--serif)}@media(max-width:1100px){.world-person-grid{grid-template-columns:repeat(3,1fr)}.opening-talents__list strong{font-size:20px}.opening-talents__list>button:nth-child(n+4)>.portrait-art{height:140px}.opening-talents__list>button>.portrait-art{height:100px}}@media(max-width:800px){.opening-talents{max-height:none;min-height:0;padding:12px}.opening-talents>header{display:block}.opening-talents>header h2{font-size:32px}.opening-talents__list{grid-template-columns:repeat(2,1fr);gap:10px}.opening-talents__list>button>.portrait-art,.opening-talents__list>button:nth-child(n+4)>.portrait-art{height:100px}.opening-talents__list strong{font-size:17px}.opening-talents__list span{font-size:10px;padding:0 5px}.opening-talents__detail{display:block;padding:12px 0}.opening-talents__detail p{margin:10px 0}.awakening:has(.opening-talents) .awakening__sidebar{padding:0}.awakening:has(.opening-talents) .awakening__sidebar:before{display:none}.awakening:has(.opening-talents) .awakening-budget{min-height:0}.world-person-grid{grid-template-columns:repeat(2,1fr)}.world-scene{padding:10px}.world-masthead h1{font-size:30px}.world-tabs{gap:4px}.world-tabs button{padding:8px;font-size:14px}.world-person-card{padding:7px}.world-person-card__seal{width:65px;height:75px}.world-person-card__text b{font-size:17px}.world-person-card__text small{font-size:10px}.relic-card__name{font-size:11px}}@media(min-width:801px){.save-browser .save-position{grid-template-rows:28px 20px 20px;row-gap:2px;padding-block:8px;min-height:96px}.save-browser .save-position>h3,.save-browser .save-position>p{font:14px/20px var(--serif);margin:0}.save-browser .save-position>small{line-height:28px;margin:0}}.awakening__actions>.button,.modal--candidate-scene>footer>.button,.illustrated-person__body>footer .button,.settings-savebar>.button,.choice-reroll{border:0;border-radius:0;box-shadow:none;clip-path:polygon(20px 0,calc(100% - 20px) 0,100% 50%,calc(100% - 20px) 100%,20px 100%,0 50%);padding-inline:32px}.awakening__actions>.button:after,.modal--candidate-scene>footer>.button:after,.illustrated-person__body>footer .button:after,.settings-savebar>.button:after,.choice-reroll:after{content:"";position:absolute;inset:0;background:url(/art/fantasy-v4/button-floral.svg) center/100% 100%;pointer-events:none}.relic-inspection__hero{flex:none}.relic-inspection__hero>.relic-art{flex:none}.relic-inspection>.item-details{flex:none}.relic-inspection .relic-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}.relic-inspection .relic-facts>div{display:block}.relic-inspection .relic-facts dd{margin:3px 0 0}.relic-inspection .ability-details .portrait-art{display:none}.npc-portrait-art{background:transparent}.play-cast .portrait-art{border-radius:8px}.relic-inspection .item-details{display:flex;flex-direction:column;gap:5px}.relic-inspection .item-details>.relic-facts{order:2}.relic-inspection .item-details>p{margin:5px 0}.relic-inspection .ability-details{margin:4px 0;padding:8px 0}.relic-inspection__hero>.relic-art{height:28vh;max-height:260px}.relic-inspection .ability-heading{margin:0}.relic-inspection .ability-effects{margin:8px 0}.relic-inspection .ability-section-label{margin:7px 0}.saves-page .page-heading{min-height:100px}.saves-page>.page-feedback{margin:0;min-height:28px;padding:7px 12px}.save-position{min-height:95px}.save-position>h3,.save-position>p{margin:0;line-height:1.5}.save-position>small{margin:0;line-height:1.3}.save-browser .panel>h2{margin:5px 0 15px}.save-browser .panel>.eyebrow{margin:0}.app-shell.app-shell--creation{padding:66px 18px 0;height:100svh;overflow:hidden}.app-shell--creation .page-stage{width:100%;max-width:1800px;height:calc(100svh - 66px);padding:10px 18px 14px;overflow:auto;overscroll-behavior:contain}.awakening{height:100%;min-height:0;grid-template-rows:96px minmax(0,1fr);gap:12px 20px}.awakening__heading{min-height:0;height:96px;padding:0 0 10px}.awakening__heading h1{font-size:57px;line-height:1.2;margin:0}.awakening__heading .eyebrow{display:none}.awakening__steps{top:22px;left:29%;right:17%}.awakening__steps>button>div{white-space:nowrap}.awakening__sidebar{overflow:auto}.awakening-budget{min-height:0;padding:15px 12px;flex:1}.awakening-budget h2{font-size:29px;margin:4px 0 13px}.awakening-budget dl{margin:24px 0;gap:13px}.awakening-budget dl>div{padding-bottom:8px}.awakening-save{flex:none}.awakening__body{overflow:auto;overscroll-behavior:contain}.awakening__body>section,.awakening__body>.awakening-souls,.awakening-origin,.awakening-confirm{min-height:0;max-height:none;flex:none;overflow:visible}.awakening__actions{margin:0;min-height:66px;padding:7px 0}.awakening-workbench__editor,.awakening-advisor{max-height:none;overflow:visible}.soul-editor__introduction{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px;align-items:stretch;margin:10px 0 18px}.awakening-spirit-art{float:none;width:100%;height:auto;min-height:285px;margin:0;display:flex;align-items:center;justify-content:center}.awakening-spirit-art .portrait-art{height:100%;max-height:340px;min-height:285px}.soul-editor__identity{margin:0;grid-template-columns:1fr;gap:9px}.soul-editor__identity textarea{height:67px;margin:0}.soul-editor__identity input{margin:0}.soul-editor__section{clear:none}.awakening:has(.opening-talents) .awakening__sidebar{position:static;padding-top:0;overflow:hidden;gap:0}.awakening:has(.opening-talents) .awakening__sidebar:before{content:none}.awakening-guide{height:235px;flex-shrink:0;position:relative;overflow:hidden;margin:-10px -15px -20px}.awakening-guide img{width:310px;max-width:none;position:absolute;left:50%;transform:translate(-50%);top:-18px}.awakening:has(.opening-talents) .awakening-budget{min-height:0;flex:1;overflow:auto;padding:12px}.awakening:has(.opening-talents) .awakening-budget dl{gap:6px;margin:12px 0}.awakening:has(.opening-talents) .awakening-budget dl>div{padding:4px 0;font-size:14px}.awakening:has(.opening-talents) .awakening-budget__number strong{font-size:56px}.awakening:has(.opening-talents) .awakening-save{display:none}.opening-talents{min-height:0;max-height:none;flex:1;padding:20px}.opening-talents>header h2{font-size:43px}.opening-talents__list>button>.portrait-art{height:105px}.opening-talents__list>button:nth-child(n+4)>.portrait-art{height:158px}.opening-talents__list strong{font-size:23px}.opening-talents__detail{padding:12px 5px;margin-top:14px}.modal.modal--candidate-scene{position:fixed;inset:0;margin:0;width:100vw;height:100svh;max-width:none;max-height:100svh;transform:none;border:0;padding:24px 5vw 18px;overflow:hidden}.modal--candidate-scene>footer{min-height:65px;flex-shrink:0}.modal--candidate-scene>footer .choice-confirmation-hint{font-size:12px}.modal--candidate-scene .choice-card__description{font:15px/1.7 var(--serif);color:#877456}.modal--candidate-scene .choice-card__facts{font-size:16px}.app-shell.app-shell--system,.app-shell.app-shell--saves{padding:66px 0 0;height:100svh;overflow:hidden}.play-scene--world{grid-template-columns:235px minmax(0,1fr) 300px;gap:18px;max-height:calc(100svh - 98px);min-height:0}.play-scene--world .play-center{min-height:0;overflow:auto;height:100%}.play-scene--world .play-cast,.play-scene--world .play-hero{min-height:0;max-height:100%;overflow:auto}.play-scene--world .play-hero__identity{gap:9px}.play-scene--world .play-hero__identity strong{font-size:26px;white-space:nowrap}.play-scene--world .play-hero__portrait{flex-shrink:0;width:75px;height:75px}.play-scene--world .play-hero__links button{min-height:42px;white-space:nowrap;font-size:15px;padding:8px 6px}.play-scene--world .play-cast>header h2{font-size:27px;white-space:nowrap}.play-scene--world .play-cast__list>button{padding:12px;gap:6px}.play-scene--world .play-cast__list>button strong{font-size:18px}.app-shell--system .page-stage,.app-shell--saves .page-stage{width:100%;max-width:none;padding:0 3vw}.app-shell--system .scene-backdrop,.app-shell--saves .scene-backdrop{background:linear-gradient(#4b381818,#3d2d1328),url(/media/f5aee570387dcf1925f9d412.webp) center/cover;opacity:1}.app-shell--system .scene-backdrop:after,.app-shell--saves .scene-backdrop:after{opacity:.15}.menu-page{width:100%;max-width:1580px;height:calc(100svh - 67px);min-height:0;display:flex;flex-direction:column;padding:20px 0 12px;gap:12px;margin:auto}.menu-page .page-heading{flex:none;min-height:105px;padding:5px 8px 12px}.menu-page .page-heading h1{font-size:64px}.menu-page__top{position:absolute;bottom:16px;left:3.5vw;z-index:5;gap:8px}.menu-page__top .button{font-size:17px;min-height:44px;padding:8px 18px}.settings-layout{width:100%;grid-template-columns:185px minmax(0,1fr) 350px;min-height:0;max-height:none;flex:1;overflow:hidden;padding:10px}.settings-tabs{min-width:0;overflow:auto;box-shadow:none;border:0;background:none;padding:12px 8px}.settings-tabs button{font-size:21px;padding:17px 12px}.settings-content{min-width:0;overflow:auto;padding:12px 20px;scrollbar-width:thin}.settings-content .panel{box-shadow:none;background:transparent;border:0;padding:10px 0 15px}.settings-content .panel h2{font-size:27px}.settings-content .panel .eyebrow{display:none}.settings-preview{min-width:0;padding:14px 20px;display:flex;flex-direction:column;overflow:auto;box-shadow:none}.settings-preview h2{font-size:25px;margin:8px 0 15px}.settings-preview label{font-size:13px;display:grid;gap:7px}.settings-preview pre{white-space:pre-wrap;flex:1;min-height:160px;overflow:auto;font:15px/1.9 var(--serif);padding:16px;margin:14px 0;background:#fffdf6;border:1px solid #d1c2a5;border-radius:5px}.settings-preview p{font:13px var(--serif);color:#9a8769;text-align:center}.settings-preview .button{flex:none;font-size:18px}.settings-savebar{order:9;flex:none;padding:4px 10px 0 44%;min-height:60px;display:flex;align-items:center;justify-content:flex-end;gap:24px;background:transparent;border:0}.settings-savebar>div{font-size:13px;background:#fff9e9d9;padding:6px 14px;border-radius:4px}.settings-savebar p{margin:0;max-width:380px}.settings-savebar>.button{font-size:22px;min-width:190px;min-height:48px}.save-browser{flex:1;min-height:0;max-height:none;gap:25px;padding-bottom:65px;grid-template-columns:minmax(260px,3fr) minmax(0,7fr)}.save-browser>.world-list{min-height:0;overflow:auto;padding:18px}.save-browser>div:not(.world-list){min-height:0;overflow:auto}.world-list h2{font-size:30px}.save-position{grid-template-columns:120px minmax(0,1fr) auto;min-height:95px;padding:10px 14px;gap:5px 16px}.save-position>img{width:120px;height:80px}.save-position>small{font-size:24px}.save-position .button{font-size:16px;padding:8px 18px}.save-position-grid{gap:10px}.save-browser .panel{padding:15px}.save-browser .panel>h2{font-size:31px}.save-browser .panel p{font:14px/1.8 var(--serif)}.world-choice{width:100%;grid-template-columns:100px minmax(0,1fr);min-height:100px;gap:4px 10px}.world-choice img{width:100px;height:80px}.world-choice strong{font-size:21px}.world-choice span{font-size:13px}.archive-main .ability-details .ability-effects li>b,.archive-main .ability-details .ability-effects li>span{font:16px/1.8 var(--serif)}.archive-main .ability-section-label{font-size:13px}@media(max-width:1200px){.settings-layout{grid-template-columns:150px minmax(0,1fr) 280px}.settings-content{padding:10px 14px}.settings-preview{padding:12px}.settings-tabs button{font-size:17px}.menu-page .page-heading h1{font-size:53px}.save-position{grid-template-columns:90px 1fr auto}.save-position>img{width:90px;height:70px}.save-position>small{font-size:20px}.world-choice{grid-template-columns:75px 1fr}.world-choice img{width:75px;height:70px}}@media(max-width:800px){.app-shell--system .page-stage,.app-shell--saves .page-stage{padding:0 10px}.menu-page{height:auto;min-height:calc(100svh - 70px);padding:15px 0 95px}.menu-page .page-heading{min-height:80px}.menu-page .page-heading h1{font-size:42px}.settings-layout{display:flex;flex-direction:column;overflow:visible;padding:4px;flex:none}.settings-tabs{display:flex;overflow:auto;white-space:nowrap;padding:5px;flex-shrink:0}.settings-tabs button{font-size:15px;padding:9px}.settings-content{overflow:visible;padding:10px}.settings-preview{overflow:visible;padding:12px;border-top:1px solid var(--interior-line)}.settings-preview pre{min-height:150px;max-height:220px}.settings-savebar{position:sticky;bottom:60px;background:#fffaf0ed;padding:9px;z-index:7;min-height:54px;gap:10px}.settings-savebar .button{font-size:18px;min-width:135px;min-height:42px}.menu-page__top{position:fixed;inset:auto 0 0;justify-content:center;min-height:55px;background:#fffaf0ed;padding:6px;z-index:8}.menu-page__top .button{font-size:14px;min-height:38px;padding:7px 12px}.save-browser{display:flex;flex-direction:column;overflow:visible;padding:0;max-height:none;flex:none}.world-list{max-height:280px}.save-browser>div:not(.world-list){overflow:visible}.save-position{grid-template-columns:75px 1fr;gap:5px 12px}.save-position>.field-actions{grid-column:2;grid-row:auto;justify-content:flex-start}.save-position>.field-actions .button{padding:5px 10px;min-height:32px;font-size:13px}.save-position>img{width:75px;height:70px}.save-position>small{font-size:20px}}@media(max-width:1200px)and (min-width:801px){.play-scene--world{grid-template-columns:155px minmax(0,1fr) 245px;gap:12px}.play-scene--world .play-cast>header h2{font-size:23px}.play-scene--world .play-hero__identity strong{font-size:23px}.play-scene--world .play-hero__portrait{width:55px;height:55px}.play-scene--world .play-hero__links button{font-size:13px}.awakening__steps{left:30%;right:0}.awakening__heading>p{display:none}.awakening__heading h1{font-size:45px}.soul-editor__introduction{grid-template-columns:1fr}.awakening-spirit-art{height:230px;min-height:230px}.awakening-spirit-art .portrait-art{min-height:230px;max-height:230px}.soul-editor__identity{grid-template-columns:1fr 1fr}.awakening-guide{height:180px}}@media(max-width:800px){.app-shell.app-shell--system,.app-shell.app-shell--saves,.app-shell.app-shell--creation{height:auto;min-height:100svh;overflow:visible;padding:65px 8px 0}.app-shell--creation .page-stage{height:auto;padding:8px 0;width:100%;overflow:visible;overscroll-behavior:auto}.play-scene--world{display:flex;flex-direction:column;max-height:none;gap:12px}.play-scene--world .play-center{height:auto;overflow:visible;width:100%}.play-scene--world .play-cast{max-height:165px;height:auto;overflow:auto;width:100%;padding:8px}.play-scene--world .play-cast>header{display:none}.play-scene--world .play-cast__list{display:flex;flex-direction:row;gap:8px;overflow:auto}.play-scene--world .play-cast__list>button{padding:6px;flex:none;width:112px;gap:3px}.play-scene--world .play-cast__list>button strong{font-size:14px}.play-scene--world .play-hero{height:auto;max-height:none;width:100%;overflow:visible}.play-scene--world .play-hero__links button{font-size:13px}.play-scene--world .play-hero__identity strong{font-size:25px}.awakening{display:flex;height:auto;min-height:0;gap:10px}.awakening__heading{height:105px;flex:none;padding:0 0 46px}.awakening__heading h1{font-size:37px}.awakening__steps{top:67px;left:0;right:0}.awakening__steps>button strong{font-size:11px}.awakening__steps>button>span{width:22px;height:22px;font-size:15px}.awakening__sidebar{overflow:visible;margin-top:0}.awakening-budget{padding:8px;flex:none}.awakening-budget h2{font-size:19px;margin:0}.awakening-budget__number strong{font-size:39px}.awakening-budget dl{margin:0;gap:4px}.awakening-budget dl>div{padding:0;gap:4px}.awakening__body{overflow:visible}.awakening__body>section,.awakening-origin,.awakening-confirm{overflow:visible;max-height:none;flex:none}.awakening-workbench{display:flex}.awakening-workbench__editor,.awakening-advisor{max-height:none;overflow:visible}.soul-editor__introduction{grid-template-columns:1fr;gap:10px}.awakening-spirit-art{height:260px;min-height:260px}.awakening-spirit-art .portrait-art{height:260px;min-height:260px;max-height:260px}.soul-editor__identity{grid-template-columns:1fr 1fr}.awakening__actions{position:sticky;bottom:0;margin:0;min-height:60px;padding:8px 0;background:#fff9efed;z-index:8}.awakening__actions>.button{font-size:14px;padding:10px 18px;min-width:0;flex:1}.awakening__actions>span{display:none}.awakening:has(.opening-talents) .awakening__sidebar{overflow:visible}.awakening-guide{display:none}.awakening:has(.opening-talents) .awakening-budget{display:flex;overflow:visible;padding:6px;gap:12px}.awakening:has(.opening-talents) .awakening-budget dl{display:none}.awakening:has(.opening-talents) .awakening-budget__number strong{font-size:37px}.opening-talents{max-height:none;min-height:0;padding:10px}.opening-talents>header h2{font-size:31px}.opening-talents__list{grid-template-columns:repeat(2,minmax(0,1fr))}.opening-talents__list>button>.portrait-art,.opening-talents__list>button:nth-child(n+4)>.portrait-art{height:105px}.opening-talents__list strong{font-size:17px}.opening-talents__detail{display:block;font-size:14px}.opening-talents__detail h2{font-size:26px}.modal.modal--candidate-scene{padding:14px 10px 8px}.modal--candidate-scene>footer>.button{padding:10px 18px;font-size:14px}.modal--candidate-scene>footer{min-height:56px}.modal--candidate-scene .choice-card__facts{font-size:14px}.relic-inspection{height:auto;overflow:visible}.relic-inspection__hero>.relic-art{height:230px}.relic-inspection .relic-facts{grid-template-columns:1fr 1fr}.save-position{min-height:98px}.save-browser .panel>h2{font-size:23px}.save-position>small{font-size:19px}.settings-preview{min-height:290px}.settings-savebar>.button{padding:10px 22px}.world-scene .world-venue-grid{grid-template-columns:1fr}}.choice-card__select{position:relative;inset:auto;opacity:1;z-index:2;order:-1;flex:none;min-height:44px;width:100%;padding:8px 12px;margin-bottom:8px;border:1px solid #bd9d63;border-radius:5px;background:#fff8e7;color:#68471e;font:16px var(--serif)}.choice-card__select[aria-pressed=true]{background:#e9d39b;border-color:#95702f}.choice-card__select:focus-visible{outline:3px solid #b08036;outline-offset:2px}.choice-naming-notice{margin:6px auto 12px;max-width:900px;padding:10px 16px;border:1px solid #d2bc8e;background:#fff5db;color:#644722;font-size:15px;line-height:1.6}@media(min-width:721px){.choice-scene__rail[data-count="1"]{align-items:flex-start!important;height:auto!important;padding:12px 18px 24px!important}.choice-scene__rail[data-count="1"]>.choice-slot{max-width:880px!important;flex:1}.choice-scene__rail[data-count="1"] .choice-card{display:grid!important;grid-template-columns:minmax(210px,.8fr) minmax(260px,1.2fr);grid-template-rows:auto 1fr auto auto;column-gap:28px;padding:22px 26px!important;min-height:400px!important;flex:none}.choice-scene__rail[data-count="1"] .choice-card__ordinal{grid-column:1/-1}.choice-scene__rail[data-count="1"] .choice-card__select{grid-column:1/-1;grid-row:1}.choice-scene__rail[data-count="1"] .choice-card__art{grid-column:1;grid-row:2/5;width:100%!important;height:320px!important;min-height:0!important;align-self:center}.choice-scene__rail[data-count="1"] .choice-card__body{grid-column:2;grid-row:2;text-align:left;padding:0!important}.choice-scene__rail[data-count="1"] .choice-card__details,.choice-scene__rail[data-count="1"] .choice-reroll{grid-column:2;position:relative!important;inset:auto!important;width:100%}.choice-scene__rail[data-count="1"] .choice-card__details{grid-row:3;margin-top:16px!important}.choice-scene__rail[data-count="1"] .choice-reroll{grid-row:4}.choice-scene__rail[data-count="1"] .choice-card__chosen{position:absolute}.choice-scene__rail[data-count="2"]>.choice-slot{max-width:510px!important}.choice-scene__rail[data-count="3"]>.choice-slot{max-width:430px!important}.choice-scene__rail[data-count="4"]{gap:12px!important}.choice-scene__rail .choice-card__target,.choice-scene__rail .choice-card__cost,.choice-scene__rail .choice-card__summary{font-size:15px!important}}.app-shell--play:has(.combat-scene--arena) .scene-backdrop{background:linear-gradient(#f5e5bd24,#e7dcc014),url(/media/1d108dfc18077b6cae4543dc.webp) center/cover!important}.play-scene--battle .combat-action-list>button{height:128px;min-height:128px}.play-scene--battle .combat-action-list>button>span{min-height:15px;max-height:30px;line-height:15px;white-space:normal}.relic-card__quantity{top:8px!important;right:8px!important;bottom:auto!important;border-radius:4px;padding:2px 5px;background:#fffaf0eb;font-size:12px!important;line-height:16px}.relic-art,.choice-card[data-grade] .choice-card__art .generated-art{mix-blend-mode:multiply}.choice-card__art{background:transparent!important}.choice-card:not([data-grade]) .choice-card__art{width:clamp(150px,24vh,235px)!important;max-width:100%;align-self:center;aspect-ratio:1!important}.battle-intel__statuses>span{display:block;margin:5px 0}.battle-intel__statuses>span>small{display:block;font-size:12px;color:#766047}@media(max-width:720px){.choice-scene__overview{flex-direction:column!important;gap:8px!important;padding:0!important;overflow:hidden!important}.choice-scene__rail{width:100%!important;height:auto!important;min-height:0;flex:1 1 auto!important;overflow:auto!important;padding:6px 6px 12px!important;gap:16px!important}.choice-scene__rail>.choice-slot{flex:0 0 100%!important;width:100%;max-width:100%;min-width:0}.choice-scene__overview>.choice-scene__pager{position:static!important;flex:0 0 38px!important;width:100%;justify-content:center;background:#fff9ed!important}.choice-slot>.choice-card{min-height:0!important;padding:12px 14px 20px!important}.choice-card__body h3{font-size:25px!important}.choice-card__details{position:static!important;min-height:38px!important}.choice-reroll{min-height:42px!important;padding:7px 18px!important;white-space:nowrap;font-size:16px!important}.relic-archive__heading{display:block!important;padding-right:35px!important;min-height:0!important}.relic-archive__heading h1{font-size:30px!important;white-space:nowrap!important}.relic-wallet{font-size:13px!important;display:block!important;margin:5px 0}.relic-wallet strong{font-size:17px!important}.relic-card__name{min-height:2.8em;padding:0 3px}.relic-collection__heading{flex-wrap:wrap}.relic-collection__heading input{max-width:100%}}.combat-scene--arena .battle-intel__art{background:radial-gradient(ellipse,#fffcebee,#e1dbc17a),url(/media/1d108dfc18077b6cae4543dc.webp) center/cover}.combat-unit.is-grouped .combat-unit__name,.combat-unit.is-grouped .combat-unit__zone,.combat-unit.is-grouped .combat-unit__numbers{display:block!important}.combat-unit__tether{stroke:#fff5d5;stroke-width:2;stroke-dasharray:4 4;pointer-events:none}input[type=radio],input[type=checkbox]{width:18px;height:18px;min-width:18px;max-width:18px;flex:0 0 18px;padding:0;margin:0;accent-color:#927039}input.game-range[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;min-width:0;height:32px;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:linear-gradient(to right,#b38b40 0 var(--range-fill),#d8d1c2 var(--range-fill) 100%) center/100% 6px no-repeat;cursor:pointer;accent-color:#b38b40}input.game-range::-webkit-slider-runnable-track{height:6px;background:transparent;border:0;border-radius:3px}input.game-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;margin-top:-7px;background:#b38b40;border:2px solid #fff9ed;border-radius:50%;box-shadow:0 0 0 1px #9b7a40}input.game-range::-moz-range-track{height:6px;background:transparent;border:0}input.game-range::-moz-range-thumb{width:16px;height:16px;background:#b38b40;border:2px solid #fff9ed;border-radius:50%}input.game-range:focus-visible{outline:2px solid #7e683d;outline-offset:3px}input.game-range:disabled{opacity:.5;cursor:not-allowed}.soul-editor__investment-control{display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;align-items:center;gap:12px}.soul-editor__investment-control>button{display:grid!important;place-items:center;width:36px!important;height:36px!important;min-height:36px;padding:0!important;line-height:1!important;border:1px solid #bba377;border-radius:6px;background:#fffaf0;color:#775225}.soul-editor__investment-control>button .ui-icon{width:18px;height:18px;margin:0;flex:none}.soul-editor__investment-control>button:disabled{opacity:.4}.awakening-identities>label{display:grid!important;grid-template-columns:54px minmax(0,1fr) 18px;gap:14px;align-items:center;position:relative}.awakening-identities>label>input{grid-column:3;grid-row:1;align-self:start;margin-top:4px}.origin-emblem{grid-column:1;grid-row:1;display:grid;place-items:center;width:54px;height:62px;color:#987230;background:linear-gradient(150deg,#fffaf0,#ecdfbf);border:1px solid #ceb782;border-radius:12px 12px 20px 20px}.origin-emblem .ui-icon{width:31px;height:31px}.awakening-identities>label>div{grid-column:2;grid-row:1}.growth-feedback{position:fixed!important;z-index:120;top:78px;left:50%;transform:translate(-50%);width:min(540px,calc(100vw - 32px));margin:0!important;padding:12px 18px!important;box-shadow:0 8px 30px #3d321d3d;pointer-events:auto}.growth-feedback strong{font-size:23px!important}.growth-feedback p{display:none}.growth-feedback__seal{width:42px!important;height:42px!important;font-size:23px!important}.avatar-preview{position:relative}.avatar-preview.is-cropping img{position:absolute;max-width:none;object-fit:fill}@media(max-width:720px){.awakening-identities>label{grid-template-columns:42px minmax(0,1fr) 18px;gap:9px}.origin-emblem{width:42px;height:50px}.origin-emblem .ui-icon{width:27px;height:27px}.growth-feedback{top:68px}}.appearance-modal{width:min(1080px,96vw)!important;min-height:0!important}.appearance-editor{color:#4a3824}.appearance-tabs{display:flex;gap:12px}.appearance-editor>p{font-size:14px}.appearance-workspace{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:24px}.appearance-preview-pane{display:flex;flex-direction:column;gap:12px}.appearance-preview{height:360px;display:grid;place-items:center;overflow:hidden;position:relative;border:1px solid #d2bc94;background:linear-gradient(145deg,#f5efdf,#e3e9df);border-radius:12px}.appearance-preview>img{width:100%;height:100%;object-fit:contain}.appearance-preview--avatar{width:240px;height:240px;max-width:100%;aspect-ratio:1;align-self:center;border-radius:50%}.appearance-preview--avatar.is-cropping>img{position:absolute;max-width:none;object-fit:fill}.appearance-upload input{padding:8px;font-size:13px}.appearance-library__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.appearance-library__grid button{display:flex;flex-direction:column;align-items:center;background:#f6f1e5;border:1px solid #cabb9e;border-radius:8px;padding:6px;color:#4a3824;min-width:0}.appearance-library__grid button:hover{border-color:#997139;background:#fff8e4}.appearance-library__grid img{height:110px;width:100%;object-fit:contain}.appearance-library__grid strong{font-size:14px}.appearance-library__grid small{font-size:12px;color:#776246}.appearance-library footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.appearance-launch{position:static;align-self:stretch;min-height:44px}.archive-player{position:relative}.awakening-portrait figcaption .button{margin-top:12px;pointer-events:auto;font-size:16px}.awakening-portrait.is-custom>img{object-fit:contain!important}.choice-card__facts{overflow:visible!important;max-height:none!important;min-height:0!important;flex:none!important}.choice-card__body{overflow:visible!important;min-height:0!important;flex:none!important}.choice-card__art{height:clamp(150px,24vh,235px)!important;min-height:150px!important;flex:none!important;aspect-ratio:auto!important}.choice-card{height:auto!important;min-height:100%;display:flex!important;flex-direction:column!important;padding-bottom:26px!important}.choice-slot{height:auto!important;display:flex;flex-direction:column}.choice-card__details{margin-top:auto!important}.choice-card__flavor-toggle{position:relative;z-index:3;margin:8px 0;font-size:14px;line-height:1.6}.choice-card__flavor-toggle summary{cursor:pointer;color:#745936}.choice-card__flavor-toggle p{margin:6px 0}.choice-card__effect{font-size:16px!important;color:#443221!important;line-height:1.55!important}.choice-card__target,.choice-card__cost,.choice-card__summary{font-size:13px!important;color:#6d583d!important;line-height:1.5!important}.choice-card__category{font-size:13px!important}.choice-scene__rail{align-items:stretch!important;overflow-y:auto!important;padding-bottom:14px!important}.choice-card__art .generated-art{width:100%!important;height:100%!important}.choice-card__art svg{max-width:100%;height:100%}.choice-reward{min-height:0!important;padding:20px!important}.choice-reward .generated-art--reward{height:min(32vh,290px)!important;width:100%;max-width:360px;margin:auto}.choice-scene__status:empty{display:none}.combat-actions__choices{min-width:0}.combat-tactics{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.combat-tactics button{display:flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px;color:#5d4629;background:#faf4e8;border:1px solid #c6b18c;border-radius:6px;font-size:14px}.combat-tactics button.is-selected{background:#e9d7ad;border-color:#aa813a}.combat-tactics button:disabled{opacity:.45}.combat-tactics .ui-icon{width:18px;height:18px}.combat-action-paging{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#665036}.combat-action-paging button{min-height:28px;padding:3px 12px;border:1px solid #c6b18c;background:#fff8e9;color:#735730;border-radius:5px}.combat-action-list{scroll-snap-type:x mandatory}.combat-action-list>button{scroll-snap-align:start}.combat-action-list>button b{font-size:15px!important}.combat-action-list>button small,.combat-action-list>button span{font-size:12px!important}.battle-intel__statuses>span{font-size:13px;line-height:1.6;color:#614b30}.combat-unit__name{paint-order:stroke;stroke:#fdf9eb;stroke-width:4px;fill:#392b1a!important;font-size:14px!important}.combat-unit__zone{paint-order:stroke;stroke:#fdf9eb;stroke-width:3px;fill:#59472e!important}.combat-group-roster{display:flex;flex-wrap:wrap;gap:6px;position:absolute;left:12px;bottom:12px;z-index:5;max-width:calc(100% - 24px)}.combat-group-roster button{background:#fff8e8eb;color:#573e20;border:1px solid #b49b68;border-radius:6px;padding:7px 10px;font-size:13px}.combat-stage{position:relative}.settings-layout:not(:has(.settings-preview)){grid-template-columns:190px minmax(0,1fr)}.settings-savebar{position:relative!important;inset:auto!important;width:auto!important;margin:8px 0 16px!important;order:0}.settings-page{padding-bottom:24px!important}.settings-layout{max-height:none!important;min-height:0!important}.settings-content{max-height:calc(100svh - 325px);min-height:240px;overflow:auto}.settings-preview pre{font-size:13px}.modal:not(.modal--opening):not(.play-detail):not(.modal--candidate-scene):not(.modal--person):not(.modal--beast):not(.appearance-modal):not(.play-map-dialog):not(.play-custody-dialog):not(.communication-dialog){min-height:0;max-width:min(900px,96vw)}.modal__body>.muted,.modal__body>p{font-size:15px;line-height:1.7}.muted{color:#79694f}.record-list>article{gap:14px}.record-list>article>.generated-art{width:72px;height:72px;flex:0 0 72px}.lasting-talents article{display:flex;align-items:center;gap:16px}.lasting-talents .portrait-art{width:90px;height:90px;flex:none}.atlas__services{position:sticky;bottom:0;z-index:3;padding:10px 0;background:#f7f3e8f5}.atlas__details{display:flex;flex-direction:column}.atlas__details .atlas__services{order:-1;margin-bottom:12px}.play-room-art{position:relative}.play-room-art__symbol{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:90px;height:90px;border:1px solid #d5b567;background:#fcf5dddc;border-radius:50%;display:grid;place-items:center;color:#9a6827;box-shadow:0 0 30px #fff4c1}.play-room-art__symbol .ui-icon{width:52px;height:52px}.play-room-art[data-room=宝箱] img{filter:sepia(.18) brightness(.8)}.play-room-art[data-room=火堆] img{filter:sepia(.28) brightness(.7)}.relic-card__name{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;display:block!important;font-size:14px!important;line-height:1.4;min-height:2.8em}.relic-card{height:auto!important;min-height:180px!important}.relic-empty-cell{max-height:180px}.relic-grid:empty{display:none!important}.empty-equipment{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;font-size:32px!important;line-height:1!important;overflow:hidden}.relic-loadout__item{overflow:hidden;min-width:0}.archive-empty{min-height:0!important;padding:24px!important}.archive-empty .relic-illustration{height:110px!important}.relic-inspection__hero{min-height:0!important}.relic-inspection__hero>.relic-illustration{height:220px!important}.material-facts--compact{font-size:12px!important}.opening-talents__detail{position:sticky;top:12px;align-self:start}.opening-talents__detail-art{height:120px!important}.opening-talents__detail p{font-size:14px;line-height:1.6}.opening-talents__detail>.button{position:sticky;bottom:0;z-index:2}@media(max-width:900px){.appearance-workspace{grid-template-columns:1fr 1fr}.appearance-library__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-layout:not(:has(.settings-preview)){grid-template-columns:150px minmax(0,1fr)}.combat-tactics button{padding:5px 8px;font-size:13px}}@media(max-width:720px){.appearance-workspace{grid-template-columns:1fr}.appearance-preview{height:280px}.appearance-preview--avatar{height:220px;width:220px}.appearance-library__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.appearance-tabs{gap:5px}.appearance-tabs .button{padding:8px;font-size:14px}.settings-layout:not(:has(.settings-preview)){display:flex;flex-direction:column}.settings-content{max-height:none!important;min-height:0;overflow:visible!important}.settings-savebar{position:sticky!important;top:0!important;z-index:8;background:#fffaf0!important;border:1px solid #d2be94}.settings-page .page-heading h1{font-size:32px}.play-scene:not(.play-scene--battle){display:flex!important;flex-direction:column!important}.play-hero{order:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px;padding:12px!important;max-height:none!important;overflow:visible!important}.play-hero__identity{grid-column:1}.play-hero__vitals{grid-column:2}.play-hero__links,.play-services,.play-cargo{grid-column:1/-1}.play-hero__portrait,.play-hero .avatar{width:54px!important;height:54px!important}.play-hero__identity strong{font-size:18px!important}.play-hero__links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}.play-hero__links button{padding:8px!important;font-size:13px!important;min-height:44px!important}.play-services{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.play-services>small,.play-services>h2,.play-services>.muted{display:none}.play-services .button{font-size:13px!important;min-height:44px!important;padding:7px!important;flex:1 1 130px}.play-center{order:1!important}.play-cast{order:2!important}.play-cast__list{display:flex!important;overflow-x:auto}.play-person{min-width:110px}.relic-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible!important;max-height:none!important}.relic-card{min-height:140px!important}.relic-card__name{font-size:12px!important}.relic-card>.relic-illustration{height:90px!important}.relic-loadout{overflow:hidden}.choice-card__art{height:185px!important;min-height:0!important}.choice-scene__rail{max-height:none!important}.choice-card__effect{font-size:14px!important}.choice-scene__pager{position:sticky;bottom:0;z-index:4;background:#fcf7e9ed}.opening-talents__layout{display:flex!important;flex-direction:column-reverse!important}.opening-talents__detail{position:static}.opening-talents__list{grid-template-columns:repeat(2,minmax(0,1fr))}.opening-talents__detail-art{display:none}.combat-actions{padding:10px!important}.combat-actions__actor{display:none}.combat-tactics{gap:5px}.combat-tactics button{flex:1 1 75px;justify-content:center}.combat-tactics .ui-icon{width:16px;height:16px}.combat-group-roster{bottom:5px;left:5px;gap:3px}.combat-group-roster button{font-size:11px;padding:5px}.modal__body{overscroll-behavior:contain}.record-list>article>.generated-art{width:52px;height:52px;flex-basis:52px}}@media(min-width:721px){.opening-talents__layout{display:grid!important;grid-template-columns:minmax(0,1fr) 270px!important;gap:18px}.opening-talents__detail{max-height:calc(100svh - 320px);overflow:auto;padding:16px!important;border:1px solid #ceb990;background:#fffcf4;border-radius:8px}.opening-talents__list{grid-template-columns:repeat(3,minmax(0,1fr))!important}.opening-talents__list>button>.portrait-art{height:120px!important}.opening-talents__list>button>strong{font-size:20px!important}.opening-talents__list>button>span{font-size:12px!important}.opening-talents__detail-art{display:none!important}}.play-room-art__painting{position:absolute;inset:0;background:url(/media/e0009b3f44dd4e857682890f.webp) left center/200% 100% no-repeat}.play-room-art[data-room=宝箱] .play-room-art__painting{background-position:right center}.play-room-art:has(.play-room-art__painting) .play-room-art__symbol{width:45px;height:45px;left:auto;right:10px;top:10px;transform:none;background:#fff5dcd9}.play-room-art:has(.play-room-art__painting) .play-room-art__symbol .ui-icon{width:26px;height:26px}.play-scene .play-hero__portrait{position:relative}.combat-log p{font-size:15px!important;line-height:1.75!important;color:#53442d!important}.combat-log small{font-size:13px!important;color:#78603d!important}.combat-log summary{font-size:15px!important}.combat-log .combat-judgment li,.combat-log .combat-judgment h3{font-size:14px!important;color:#5c482d!important}.battle-recent-log p{font-size:14px!important;line-height:1.65!important}.opening-talents__detail{display:block!important}.opening-talents__detail>p,.opening-talents__detail>label,.opening-talents__source{margin-top:12px!important}.opening-talents__detail>.button{width:100%;margin-top:16px!important}@media(min-width:721px){.opening-talents__detail{max-height:calc(100svh - 435px);min-height:240px}.opening-talents__detail>.button{background:#ad873f;box-shadow:0 0 0 6px #fffcf4}}.appearance-preview{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);flex-shrink:0}.appearance-preview>img{min-width:0;min-height:0}.modal.appearance-modal{background:#fcf9f1}.spirit-upload{object-fit:contain!important}.awakening-spirit-art{position:relative}.awakening-spirit-art .soul-image-launch{position:absolute;bottom:12px;left:50%;transform:translate(-50%);white-space:nowrap;min-height:36px;padding:8px 16px;font-size:14px;z-index:2}.awakening-spirit-art .soul-image-launch:hover:not(:disabled){transform:translate(-50%) translateY(-1px)}.soul-image-preview>.portrait-art{width:100%;height:100%;min-height:0;min-width:0}.soul-image-filters{display:grid;grid-template-columns:1fr 1.5fr;gap:10px}.soul-image-filters select,.soul-image-filters input{width:100%;min-width:0}.soul-image-grid .portrait-art{height:100px;width:100%}.soul-image-grid button[aria-pressed=true]{border:2px solid #b4893d;background:#fff1c9;box-shadow:0 0 0 2px #ebd7a7}.soul-image-editor .appearance-upload input{width:100%;min-width:0}.soul-image-editor .appearance-preview-pane>small{font-size:13px;line-height:1.6}@media(max-width:720px){.soul-image-filters{grid-template-columns:1fr}.soul-image-grid .portrait-art{height:82px}}@media(min-width:721px){.opening-talents__layout{grid-template-columns:minmax(0,1fr) minmax(340px,.8fr)!important}.opening-talents__list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.opening-talents__detail .boon-sources{grid-template-columns:repeat(3,minmax(0,1fr))}.opening-talents__detail .boon-sources strong{font-size:13px}.opening-talents__detail .boon-sources .portrait-art{max-width:100px}}.inventory-ring-art{position:relative;display:grid;place-items:center;width:100%;height:220px;min-width:0;flex:none}.inventory-ring-art>.ring-inspection__halo{width:100%;height:100%;min-width:0}.relic-card>.inventory-ring-art{height:125px}.relic-card .inventory-ring-art__source{width:32px;height:32px;right:8px;bottom:18px}.inventory-ring-art__source{position:absolute;width:48px;height:48px;right:8px;bottom:8px;border:1px solid #c8a154;border-radius:50%;background:#faf6eb}.relic-inspection__hero>.inventory-ring-art{height:220px;width:100%;order:2}.relic-inspection__hero .inventory-ring-art__source{width:64px;height:64px;right:calc(50% - 85px)}.modal.companion-modal{background:#fcf9f1}@media(max-width:720px){.play-scene--world .play-hero__links{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0}.play-scene--world .play-hero__links button{min-width:0;white-space:normal;overflow-wrap:anywhere}.play-scene--world .play-hero__links .play-shortcut-label{min-width:0}}.appearance-preview--avatar.is-cropping{touch-action:none;cursor:grab;border-radius:0}.appearance-preview--avatar.is-cropping:active{cursor:grabbing}.appearance-preview--avatar.is-cropping>img{pointer-events:none;user-select:none}.awakening-portrait{display:flex;flex-direction:column;background:var(--interior-paper);min-height:0}.awakening-portrait>img{object-fit:contain!important;object-position:center;width:100%;height:0;flex:1;min-height:160px}.awakening-portrait figcaption{position:static;background:none;padding:12px;flex:none}.awakening-confirm__portrait>img{object-fit:contain!important}.awakening-guide{height:auto!important}.awakening-guide img{height:auto!important;max-height:260px;object-fit:contain!important}.opening-talents__list{grid-template-columns:1fr!important;align-content:start}.opening-talents__list>button{display:grid!important;grid-template-columns:96px minmax(0,1fr);gap:4px 12px;text-align:left;align-content:start;min-height:120px;height:auto!important;padding:10px!important}.opening-talents__list>button>.portrait-art{grid-column:1;grid-row:1/5;width:96px!important;height:96px!important;aspect-ratio:1;align-self:center}.opening-talents__list>button>:not(.portrait-art){grid-column:2;margin:0;min-width:0;overflow-wrap:anywhere}.opening-talents__list>button>strong{font-size:18px!important}.opening-talents__list>button>p{display:block!important;font-size:12px;line-height:1.5}.opening-talents__detail{max-height:none!important;overflow:visible!important;position:static!important}@media(max-width:1100px){.opening-talents__layout{display:flex!important;flex-direction:column!important}.awakening-origin{max-height:none}.awakening-portrait{min-height:420px}}@media(max-width:720px){.awakening-portrait{height:430px;min-height:0}.opening-talents__list>button{grid-template-columns:80px minmax(0,1fr)}.opening-talents__list>button>.portrait-art{width:80px!important;height:80px!important}}.opening-talents__detail>.button{position:static!important;box-shadow:none!important}.model-library-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.model-console .form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.model-purpose-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.model-purpose-layout>nav{display:flex;flex-direction:column;gap:5px}.model-purpose-layout>nav button{text-align:left;background:#fff8e9;border:1px solid #d4c3a2;border-radius:5px;padding:10px;color:#58442b}.model-purpose-layout>nav button[aria-pressed=true]{background:#ecdfbb;border-color:#ad873f}.model-purpose-layout>nav small{display:block;font-size:11px}.model-console pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.model-console textarea{width:100%}.model-console label{display:block;margin:10px 0}.model-console input[type=checkbox]{width:auto;margin-right:8px}@media(max-width:900px){.model-purpose-layout{grid-template-columns:1fr}.model-purpose-layout>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.model-console .form-grid{grid-template-columns:1fr}}.model-name-field{min-width:0}.model-name-field .field-actions{gap:6px}.model-name-field select{max-width:100%}@media(min-width:801px)and (max-height:650px){.app-shell--creation .creation-detailed{height:auto}.app-shell--creation .creation-detailed>.awakening{flex:none;height:auto;grid-template-rows:96px auto;align-items:start}.app-shell--creation .awakening__body{overflow:visible}.app-shell.app-shell--system,.app-shell.app-shell--saves{height:auto;min-height:100svh;overflow:visible}.app-shell--system .menu-page,.app-shell--saves .menu-page{height:auto;min-height:calc(100svh - 67px)}.app-shell--system .menu-page__top,.app-shell--saves .menu-page__top{position:static;flex:none}.settings-layout{flex:none;overflow:visible;align-items:start}.settings-content{min-height:0;max-height:none;overflow:visible}.settings-tabs{overflow:visible}.save-browser{flex:none;overflow:visible;padding-bottom:0}.save-browser>.world-list,.save-browser>div:not(.world-list){overflow:visible}}@media(max-width:800px),(hover:none)and (pointer:coarse){.soul-editor__investment-control{grid-template-columns:44px minmax(0,1fr) 44px!important}.soul-editor__investment-control>button{width:44px!important;height:44px!important;min-height:44px!important}.modal>header>.icon-button{min-width:44px;min-height:44px}.saves-page .button,.saves-page .save-position>.field-actions .button{min-width:44px;min-height:44px}}@media(max-width:800px){.archive-player__art{order:1}.archive-player h2{order:2}.archive-player>.appearance-launch{order:3;flex:0 0 100%;width:100%;margin:0}.archive-player>.meter{order:4}}.modal.modal--master{width:min(1140px,calc(100vw - 32px));max-width:1140px;max-height:calc(100svh - 32px);padding:0;overflow:hidden;border:1px solid #cfbc8d;border-radius:12px;background:#263b2c;box-shadow:0 28px 100px #07170bcc;position:relative}.modal--master>header{position:absolute;inset:0 0 auto;z-index:5;margin:0;padding:12px 18px;justify-content:flex-end;border:0;background:transparent;pointer-events:none}.modal--master>header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.modal--master>header .icon-button{pointer-events:auto;color:#fff8e1;background:#203829c9;border:1px solid #e3d2a475;border-radius:50%}.modal--master>.modal__body{padding:0!important;overflow:auto;max-height:calc(100svh - 32px)}.master-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;height:min(740px,calc(100svh - 34px));min-height:560px;color:#33392b;overflow:hidden}.master-stage__forest{position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.72) saturate(.7)}.master-stage:before{content:"";position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,#10231985,transparent 65%),linear-gradient(0deg,#15291cec,transparent 50%);pointer-events:none}.master-stage__figure{position:absolute;right:2%;top:36px;height:calc(100% + 80px);width:55%;object-fit:contain;object-position:center top;z-index:-1;filter:brightness(.88) drop-shadow(0 12px 24px #07170b66);transition:filter .25s}.master-stage__figure.is-speaking{filter:brightness(1) drop-shadow(0 12px 24px #07170b66)}.master-stage__chapter{position:absolute;left:32px;top:25px;display:grid;gap:3px;color:#fbf0cc;text-shadow:0 2px 10px #142518}.master-stage__chapter span{font-size:13px;letter-spacing:.3em}.master-stage__chapter small{font-family:var(--font-display,serif);font-size:25px;letter-spacing:.15em}.master-stage__upper{flex:1;display:flex;align-items:center;padding:92px 32px 20px;min-height:0}.master-gifts{width:53%;max-width:510px;display:grid;gap:12px}.master-gift{display:flex;align-items:center;text-align:left;gap:15px;padding:16px 18px;border:1px solid #d9c78fc9;border-radius:7px;color:#fdf3d7;background:linear-gradient(110deg,#182e26f5,#2c443de6);box-shadow:0 5px 18px #1022184d;cursor:pointer;transition:background .2s,transform .2s;font:inherit}.master-gift:hover:not(:disabled),.master-gift:focus-visible{background:#425849;transform:translate(4px);outline:2px solid #eddaa1;outline-offset:3px}.master-gift>span:nth-child(2){flex:1;min-width:0}.master-gift strong{display:block;font-size:19px;line-height:1.5;font-weight:500}.master-gift small{display:block;color:#d8d6b7;font-size:12px;line-height:1.7;margin-top:4px}.master-gift:disabled{cursor:wait;opacity:.65}.master-gift__halo{width:36px;height:43px;flex:0 0 36px;border:2px solid #efc65c;border-radius:50%;box-shadow:0 0 12px #f5d57699,inset 0 0 8px #f5d57688;transform:rotate(-25deg)}.master-gift__halo.is-white{border-color:#eee;box-shadow:0 0 12px #fff8,inset 0 0 8px #fff7}.master-gift-caption{max-width:44%;padding:20px 22px;color:#fff4d6;background:#193329d9;border:1px solid #e3d2a454;border-radius:6px;line-height:1.8}.master-gift-caption>span{display:block;color:#e4c47d;font-size:14px;letter-spacing:.15em}.master-gift-caption strong{font-size:23px;font-weight:500}.master-gift-caption p{font-size:13px;margin:8px 0}.master-gift-caption small{font-size:12px;color:#e0dac4}.master-dialogue{position:relative;margin:10px 24px 22px;padding:25px 30px 16px;min-height:190px;border:1px solid #d4bd89;border-radius:6px;background:linear-gradient(120deg,#fffcf2fa,#eeebdcf5);box-shadow:0 6px 26px #0c211755}.master-dialogue:before{content:"";position:absolute;inset:6px;border:1px solid #bca57555;border-radius:3px;pointer-events:none}.master-dialogue__speaker{position:absolute;top:-20px;left:25px;min-width:118px;padding:7px 24px;background:#344a37;border:1px solid #d8bd7d;border-radius:3px;color:#fff5d7;text-align:center;font-size:18px;letter-spacing:.15em}.master-dialogue__speaker.is-narrator{background:#5a624a}.master-dialogue__line{position:relative;margin:4px 0 18px;min-height:64px;font-size:21px;line-height:1.8;letter-spacing:.03em}.master-dialogue__line.is-narrator{color:#64624e;font-size:19px}.master-dialogue__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative}.master-dialogue__actions>div{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.master-dialogue__actions .button{min-height:42px;font-size:14px;padding:9px 18px}.master-dialogue__obtained{font-size:13px;color:#72602d;margin:0 0 10px}.master-dialogue__error{font-size:14px;color:#9d3530;margin:0 0 10px}@media(max-width:640px){.modal.modal--master{width:calc(100vw - 12px);max-height:calc(100svh - 12px);border-radius:8px}.modal--master>.modal__body{max-height:calc(100svh - 12px)}.master-stage{height:calc(100svh - 14px);min-height:650px}.master-stage__chapter{left:19px;top:19px}.master-stage__chapter small{font-size:21px}.master-stage__figure{right:-6%;top:55px;width:90%;height:calc(100% + 30px)}.master-stage__upper{padding:85px 18px 25px;align-items:flex-end}.master-gifts{width:100%;max-width:none;gap:9px}.master-stage--choices .master-stage__figure,.master-stage--quick-choices .master-stage__figure{top:22px;height:620px;width:83%;right:-2%}.master-gift{padding:10px 12px;gap:12px;background:#203a30ed}.master-gift strong{font-size:16px}.master-gift small{font-size:11px;margin-top:2px}.master-gift__halo{width:27px;height:34px;flex-basis:27px}.master-dialogue{margin:8px 10px 12px;padding:23px 16px 13px;min-height:200px}.master-dialogue__speaker{left:16px;min-width:100px;font-size:16px;padding:6px 18px;top:-18px}.master-dialogue__line{font-size:18px;line-height:1.75;min-height:88px;margin-bottom:13px}.master-dialogue__line.is-narrator{font-size:17px}.master-dialogue__actions{align-items:flex-end;gap:6px}.master-dialogue__actions>div{gap:6px}.master-dialogue__actions .button{font-size:12px;padding:9px 10px;min-height:42px}.master-dialogue__actions>.button{white-space:nowrap;padding:8px 2px}.master-gift-caption{max-width:75%;padding:12px 15px}.master-gift-caption strong{font-size:18px}}@media(prefers-reduced-motion:reduce){.master-stage__figure,.master-gift{transition:none}.master-gift:hover:not(:disabled){transform:none}}.modal-backdrop:has(>.modal--opening){padding:0}.modal.modal--opening{position:relative;width:min(1160px,calc(100vw - 24px));max-width:1160px;height:min(800px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden;background:#262a2c;border:1px solid #d9c7a1;border-radius:12px;box-shadow:0 25px 100px #16151477}.modal--opening>header{position:absolute;inset:12px 14px auto auto;margin:0;padding:0;border:0;z-index:4}.modal--opening>header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.modal--opening>header .icon-button{color:#fff6e3;background:#252b2dcc;border:1px solid #e3d3a777;width:44px;height:44px}.modal--opening>.modal__body{height:100%;max-height:none;padding:0!important;overflow:hidden}.opening-stage{height:100%;min-height:0;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;color:#3f392e;outline:none}.opening-stage__background,.opening-stage__shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}.opening-stage__shade{z-index:-2;background:linear-gradient(180deg,#17202b38,transparent 35%,#101a2577)}.opening-stage__chapter{position:absolute;top:26px;left:32px;z-index:1;color:#fff9e9;text-shadow:0 2px 7px #19242d}.opening-stage__chapter>span{font-size:12px;letter-spacing:.2em}.opening-stage__chapter h2{font:500 29px/1.5 var(--serif);margin:5px 0}.opening-stage__figure{position:absolute;right:1%;top:8%;height:90%;width:58%;object-fit:contain;object-position:center top;z-index:-1;filter:drop-shadow(0 6px 20px #13202a55)}.opening-stage__upper{position:absolute;inset:105px 40% 265px 28px;overflow:auto;scrollbar-width:thin;display:flex;align-items:center}.opening-stage__upper>*{width:100%;max-width:none}.opening-stage__dialogue{position:relative;flex:none;margin:0 26px 24px;padding:24px 26px 14px;border:1px solid #cbb17a;border-radius:7px;background:linear-gradient(120deg,#fffdf4f8,#f2ecddf5);box-shadow:0 10px 28px #17212955}.opening-stage__speaker{position:absolute;top:-21px;left:24px;min-width:115px;max-width:calc(100% - 48px);padding:8px 23px;border:1px solid #d3ba81;border-radius:4px;background:#34494a;color:#fff6df;font:500 18px/1.5 var(--serif);overflow-wrap:anywhere}.opening-stage__line{display:block;width:100%;min-height:94px;max-height:29dvh;overflow:auto;margin:0 0 10px;padding:6px 0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer;font:19px/1.8 var(--serif);overflow-wrap:anywhere}.opening-stage__line:disabled{opacity:1;cursor:default}.opening-stage__actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.opening-stage__actions>div{display:flex;gap:8px;flex-wrap:wrap}.opening-stage__actions .button{min-height:44px;white-space:normal}.opening-stage__error{font-size:13px;color:#a74332;margin:0 0 8px}@media(max-width:640px){.modal.modal--opening{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}.modal--opening>header{top:10px;right:10px}.opening-stage__chapter{top:22px;left:20px;right:62px}.opening-stage__chapter h2{font-size:24px}.opening-stage__figure{top:13%;right:-10%;width:100%;height:72%;object-position:center top}.opening-stage__dialogue{margin:0 10px max(12px,env(safe-area-inset-bottom));padding:20px 17px 12px}.opening-stage__speaker{font-size:16px;left:17px;padding:7px 17px;top:-19px;max-width:calc(100% - 34px)}.opening-stage__line{font-size:16px;line-height:1.8;min-height:110px;max-height:26dvh}.opening-stage__actions{gap:6px}.opening-stage__actions .button{font-size:13px;padding:8px 11px}.opening-stage__upper{inset:105px 14px 285px;align-items:flex-end}.opening-stage__upper .master-gifts{gap:6px}.opening-stage__upper .master-gift{padding:8px 12px}.opening-stage__upper .master-gift small{display:none}.opening-stage__upper .master-gift-caption{max-width:85%;font-size:13px}}@media(max-height:620px){.opening-stage__chapter{top:14px}.opening-stage__chapter h2{font-size:22px}.opening-stage__dialogue{margin-bottom:10px;padding-top:18px}.opening-stage__line{min-height:55px;font-size:15px}.opening-stage__upper{top:75px;bottom:190px}.opening-stage__figure{top:5%;height:98%}}.opening-stage__assembly{position:absolute;right:0;top:7%;width:70%;height:83%;z-index:-1}.opening-stage__device{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1;pointer-events:none}.opening-stage__contained{position:absolute;left:27%;top:10%;height:74%;width:46%;object-fit:contain;object-position:center bottom;z-index:0}.opening-stage__assembly.is-open .opening-stage__contained{top:4%;height:80%}@media(max-width:640px){.opening-stage__assembly{top:12%;right:-13%;width:126%;height:65%}.opening-stage__assembly.is-open{top:12%}}@media(max-height:620px){.opening-stage__assembly{top:4%;height:83%}}.play-cast__sheet,.play-hero__sheet{display:contents}.play-scene--world .play-cast__sheet>header{padding:10px 0;border-bottom:1px solid var(--interior-line)}.play-scene--world .play-cast__sheet>header h2{font-size:27px;white-space:nowrap}.app-shell.app-shell--play:has(.play-scene--dungeon){padding:56px 24px 37px}.app-shell--play:has(.play-scene--dungeon)>.topbar{position:absolute;top:0;left:auto;right:25px;width:auto;min-height:38px;height:38px;margin:0;padding:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none;z-index:12}.app-shell--play:has(.play-scene--dungeon)>.topbar .brand>span:last-child,.app-shell--play:has(.play-scene--dungeon)>.topbar .topbar__status{display:none}.app-shell--play:has(.play-scene--dungeon)>.topbar .brand{padding:2px 10px;width:40px;min-width:0;color:#fff9df;filter:drop-shadow(0 1px 3px #223518)}.app-shell--play:has(.play-scene--dungeon)>.topbar .topbar__tools{gap:20px}.app-shell--play:has(.play-scene--dungeon)>.topbar .text-link{color:#fff8dc;text-shadow:0 1px 5px #1a2c13;font-size:13px;padding:5px}.app-shell--play:has(.play-scene--dungeon)>.topbar .quick-sound__trigger{min-height:28px;padding:3px 10px;background:#fff9e5cc}.app-shell--play:has(.play-scene--dungeon)>.scene-backdrop{background:linear-gradient(#52663812,#52663812),url(/media/87285b6d3b4939a49ed56436.webp) center/cover;filter:brightness(1.08)}.play-scene.play-scene--dungeon{--dungeon-paper:linear-gradient(115deg,#fffef9ef,#f7f3ebf0),url(/media/360e345857442916ad4ba71b.webp) center/cover;--dungeon-border:#b89c67;grid-template-columns:minmax(195px,18fr) minmax(0,60fr) minmax(244px,21fr);gap:14px;max-width:2040px;height:calc(100svh - 93px);min-height:650px;align-items:stretch}.play-scene.play-scene--dungeon .play-cast,.play-scene.play-scene--dungeon .play-hero,.play-scene.play-scene--dungeon .dungeon-scene{padding:0;border:0;border-image:none;background:none;box-shadow:none;height:100%;max-height:none;min-height:0;overflow:visible;border-radius:0}.play-scene.play-scene--dungeon .play-center{height:100%;min-height:0}.play-scene--dungeon .play-cast__sheet,.play-scene--dungeon .play-hero__sheet,.play-scene--dungeon .play-cargo,.dungeon-atlas .dungeon-chart,.dungeon-atlas .dungeon-room{position:relative;display:block;background:var(--dungeon-paper);border:12px solid transparent;border-image:var(--ornate-frame) 22.5%/23px stretch;box-shadow:0 4px 16px #31452125;color:#45321e;min-width:0}.play-scene--dungeon .play-cast__sheet:before,.play-scene--dungeon .play-hero__sheet:before,.play-scene--dungeon .play-cargo:before,.dungeon-atlas .dungeon-room:before{content:"";position:absolute;top:-21px;left:calc(50% - 48px);width:96px;height:28px;background:url(/art/fantasy-v4/crest.svg) center/contain no-repeat;pointer-events:none;z-index:2}.play-scene--dungeon .play-cast{display:flex;flex-direction:column;gap:14px}.dungeon-location-title{height:104px;flex:none;text-align:center;margin-top:-12px;position:relative;color:#fffce6;text-shadow:0 2px 7px #2238209c}.dungeon-location-title h1{margin:0;font:500 clamp(32px,3.55vw,60px)/1.05 var(--serif);letter-spacing:.03em;white-space:nowrap}.dungeon-location-title p{margin:5px 0 0;border-top:1px solid #dcc394bd;padding-top:5px;font:clamp(12px,1.14vw,18px) var(--serif);letter-spacing:.12em;color:#efe0b9}.play-scene--dungeon .play-cast__sheet{display:flex;flex-direction:column;flex:1;min-height:0;padding:5px 9px 12px}.play-scene--dungeon .play-cast__sheet>header{display:block;text-align:center;flex:none;padding:0 0 9px;border:0}.play-scene--dungeon .play-cast__sheet>header h2{font:500 clamp(20px,1.55vw,27px)/1.3 var(--serif);margin:0;color:#4e3923}.play-scene--dungeon .play-room-art{height:auto;flex:1;min-height:180px;max-height:54%;margin:8px 1px 5px;border:1px solid #b9a16b;outline:1px solid #e5d5b3;outline-offset:3px;border-radius:8px}.play-scene--dungeon .play-room-art__symbol,.play-scene--dungeon .play-room-art>span{display:none}.play-scene--dungeon .play-room-art>img{filter:brightness(1.13);object-position:46% center}.play-scene--dungeon .play-cast__list{flex:0 1 auto;min-height:0;max-height:32%;overflow:auto;margin:12px 0 0;padding:0;gap:7px}.play-scene--dungeon .play-cast__list>p{font:500 23px var(--serif);text-align:center;color:#4d3724;margin:7px 0 0}.play-scene--dungeon .play-person{grid-template-columns:54px minmax(0,1fr);column-gap:9px;padding:4px 1px;min-height:63px}.play-scene--dungeon .play-person__art{width:50px;height:59px;grid-row:1/3;border-radius:5px}.play-scene--dungeon .play-person b{font:clamp(14px,1.05vw,19px) var(--serif);overflow-wrap:anywhere;line-height:1.4}.play-scene--dungeon .play-person small{font-size:11px;line-height:1.4}.play-scene--dungeon .play-cast__verse{margin:auto 0 0;padding-top:27px;position:relative;font:clamp(14px,1.1vw,19px)/1.8 var(--serif);color:#837764}.play-scene--dungeon .play-cast__verse:before{content:"";position:absolute;top:4px;left:15%;width:70%;height:22px;background:url(/art/fantasy-v4/crest.svg) center/contain no-repeat}.play-scene--dungeon .dungeon-atlas{display:flex;flex-direction:column;gap:12px}.dungeon-atlas .dungeon-chart{display:flex;flex-direction:column;min-height:0;flex:1;padding:0;border-width:9px;border-image-width:20px;overflow:hidden}.play-scene--dungeon .dungeon-atlas .dungeon-heading{height:67px;min-height:67px;display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:6px 17px 9px;border:0;z-index:1;background:var(--dungeon-paper)}.dungeon-atlas .dungeon-heading h1{font:600 clamp(23px,2.15vw,39px)/1.25 var(--serif);margin:0;letter-spacing:.02em;white-space:nowrap;flex:1;text-align:left}.dungeon-atlas .dungeon-heading>.dungeon-symbol{width:35px;height:38px;color:#9f8250;flex:none}.dungeon-atlas .dungeon-heading p{margin:0 0 0 auto;font:clamp(10px,.83vw,15px)/1.6 var(--serif);color:#8a8172;max-width:205px;flex:0 1 auto}.play-scene--dungeon .dungeon-atlas .dungeon-map{position:relative;margin:0 5px;min-height:0;height:auto;flex:1;overflow:auto;scrollbar-width:thin;scrollbar-color:#bea77855 transparent;background:linear-gradient(#fffbee29,#fffbee29),url(/media/eb0afe8c7f310f14efe0a87b.webp) center/100% 100%;border:0;box-shadow:none}.dungeon-atlas .dungeon-map__surface{position:relative;min-width:300px}.dungeon-atlas .dungeon-map .dungeon-floor{left:12px;z-index:1;transform:translateY(-50%);padding:0;background:none;border-radius:0;text-shadow:0 1px 5px #fffcec,0 0 12px #fffef2}.dungeon-atlas .dungeon-floor b{font:clamp(16px,1.5vw,25px)/1.3 var(--serif);display:block;color:#494236}.dungeon-atlas .dungeon-floor span{display:block;font:clamp(10px,.98vw,16px)/1.65 var(--serif);color:#6e675a}.dungeon-atlas .dungeon-map__surface>.dungeon-routes{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.dungeon-atlas .dungeon-routes path{fill:none;stroke:#aaa497;stroke-width:2.7;stroke-dasharray:8 8;stroke-linecap:round;vector-effect:non-scaling-stroke}.dungeon-atlas .dungeon-routes path.is-open{stroke:#997236;stroke-width:3.4;stroke-dasharray:8 8}.dungeon-atlas .dungeon-routes path.is-travelled{stroke:#a48953;stroke-width:3;stroke-dasharray:8 8}.dungeon-atlas .dungeon-map__surface>.dungeon-compass{position:absolute;inset:20px 12px auto auto;width:74px;height:74px;color:#9a885c;opacity:.64;pointer-events:none}.dungeon-atlas .dungeon-map .dungeon-compass path,.dungeon-atlas .dungeon-map .dungeon-compass circle{stroke:currentColor;stroke-width:1;stroke-dasharray:none;fill:none;vector-effect:none}.dungeon-atlas .dungeon-map .dungeon-compass path:first-of-type{fill:#a2926828}.dungeon-atlas .dungeon-symbol{width:38px;height:40px;display:block;color:inherit;flex:none}.dungeon-atlas .dungeon-symbol path,.dungeon-symbol path{fill:currentColor!important;stroke:none!important;stroke-dasharray:none!important;stroke-width:0!important;vector-effect:none}.dungeon-symbol--painted{mix-blend-mode:multiply;overflow:hidden}.dungeon-atlas .dungeon-node:not(.is-current):not(.is-open) .dungeon-symbol--painted{filter:grayscale(1);opacity:.68}.dungeon-atlas .dungeon-legend .dungeon-symbol--painted{filter:grayscale(.8);opacity:.8}.play-scene--dungeon .dungeon-shortcut-symbol{width:31px;height:31px;flex:0 0 31px;color:#8c7248;filter:drop-shadow(0 1px 0 #fff7db)}.play-scene--dungeon .dungeon-atlas .dungeon-node{width:72px;height:72px;min-height:0;padding:0;border:0;border-radius:50%;background:none;box-shadow:none;overflow:visible;display:block;transform:translate(-50%,-50%);color:#7e786d;opacity:1;z-index:2}.dungeon-atlas .dungeon-node i{display:grid;place-items:center;position:relative;box-sizing:border-box;width:72px;height:72px;border-radius:50%;border:0;background:radial-gradient(#fffdf2c7,#f3ebdacf);box-shadow:none;color:inherit}.dungeon-atlas .dungeon-node i:before{content:"";position:absolute;inset:-7px;width:calc(100% + 14px);height:calc(100% + 14px);background:url(/art/fantasy-v4/dungeon-node-ring.svg) center/contain no-repeat;transform:none;pointer-events:none}.dungeon-atlas .dungeon-node i:after{display:none}.dungeon-atlas .dungeon-node:not(.is-current):not(.is-open) i:before{filter:grayscale(1);opacity:.53}.dungeon-atlas .dungeon-node i>.dungeon-symbol{width:49px;height:49px}.dungeon-atlas .dungeon-node b{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);white-space:nowrap;font:500 clamp(17px,1.28vw,22px)/1.15 var(--serif);color:inherit;text-shadow:0 1px 4px #fffbed,0 0 10px #fffef4}.dungeon-atlas .dungeon-node small{position:absolute;top:calc(100% + 34px);left:50%;transform:translate(-50%);white-space:nowrap;font:10px var(--serif);color:#856b3d;text-shadow:0 1px #fff}.dungeon-atlas .dungeon-node:disabled{opacity:1;cursor:default}.play-scene--dungeon .dungeon-atlas .dungeon-node.is-current,.play-scene--dungeon .dungeon-atlas .dungeon-node.is-open{color:#896527}.dungeon-atlas .dungeon-node.is-open{cursor:pointer}.dungeon-atlas .dungeon-node.is-open i,.dungeon-atlas .dungeon-node.is-current i{background:radial-gradient(#fffdf1 40%,#ffe4a1 90%);color:#8d682b;box-shadow:0 0 5px 2px #fff9d8,0 0 24px 6px #ffd66b9c,inset 0 0 8px 3px #fff9dc}.dungeon-atlas .dungeon-node.is-open:hover i{box-shadow:0 0 6px 3px #fff9d8,0 0 30px 9px #ffce59aa;transform:scale(1.07)}.dungeon-atlas .dungeon-node.is-current:before{content:"";position:absolute;top:-29px;left:27px;width:18px;height:17px;background:#95722c;clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 1px 2px #fff);z-index:3}.dungeon-atlas .dungeon-node.is-complete:not(.is-current) i{background:linear-gradient(#a79c85,#7f796c);border-color:#baa77f;color:#fffdf3;box-shadow:0 0 0 3px #fffcf2,0 0 0 5px #e8d8b2}.dungeon-atlas .dungeon-entry{position:absolute;width:100%;text-align:center;font:11px var(--serif);color:#8b7b5b;pointer-events:none}.play-scene--dungeon .dungeon-atlas .dungeon-legend{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;flex:none;gap:8px 15px;min-height:48px;padding:10px 5px 6px;background:transparent;border-top:1px solid #cab79255;font:15px var(--serif);color:#75654d}.dungeon-atlas .dungeon-legend>span{display:inline-flex;gap:5px;align-items:center;white-space:nowrap}.dungeon-atlas .dungeon-legend .dungeon-symbol{width:23px;height:24px;color:#7d715d}.dungeon-atlas .dungeon-legend i{width:16px;height:16px;display:block;border:2px solid #b4ac9e;border-radius:50%;box-shadow:0 0 0 2px #ece2d1;box-sizing:border-box}.dungeon-atlas .dungeon-legend .legend-open{border-color:#cfa247;box-shadow:0 0 0 2px #fff8df,0 0 7px #e2ae34}.dungeon-atlas .dungeon-legend .legend-current{border-color:#b9913c;background:#e0ae48;box-shadow:0 0 0 2px #fff8dc,0 0 8px #eabc48}.play-scene--dungeon .dungeon-atlas .dungeon-room{height:172px;min-height:172px;max-height:none;flex:none;padding:4px 13px;overflow:visible;display:grid;grid-template-columns:minmax(0,43fr) minmax(0,57fr);gap:18px;align-items:center;border-width:10px;border-image-width:22px}.dungeon-room__story{min-width:0;position:relative;height:100%;padding-left:91px;display:flex;flex-direction:column;justify-content:center}.dungeon-atlas .dungeon-room__title{margin:0 0 7px;padding:0;display:flex;gap:8px;align-items:center}.dungeon-atlas .dungeon-room__title h2{font:500 clamp(19px,1.45vw,26px)/1.4 var(--serif);margin:0;white-space:nowrap;color:#503720}.dungeon-atlas .dungeon-story-detail{width:24px;height:24px;padding:2px;background:transparent;border:0;color:#9d855b;cursor:pointer}.dungeon-atlas .dungeon-story-detail .ui-icon{width:19px;height:19px}.dungeon-room__vignette{position:absolute;left:-7px;bottom:-1px;width:100px;height:105px;background:url(/media/87285b6d3b4939a49ed56436.webp) 45% center/cover;border-radius:50% 8% 0 0;mask-image:linear-gradient(90deg,#000 65%,transparent),linear-gradient(0deg,#000 70%,transparent);mask-composite:intersect;opacity:.84}.dungeon-room__vignette.is-camp,.dungeon-room__vignette.is-chest{background-image:url(/media/e0009b3f44dd4e857682890f.webp);background-size:auto 100%;background-position:left center}.dungeon-room__vignette.is-chest{background-position:right center}.dungeon-atlas .dungeon-room__story>p{font:clamp(12px,.98vw,17px)/1.8 var(--serif);color:#80725f;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.dungeon-room__controls{min-width:0;display:flex;flex-direction:column;gap:9px;justify-content:center}.dungeon-atlas .dungeon-room .dungeon-actions{padding:0;margin:0;border:0;display:block}.dungeon-atlas .dungeon-room .button{width:100%;min-height:51px;height:auto;margin:0;padding:0 12px;display:flex;align-items:center;gap:15px;background:linear-gradient(110deg,#fffcf6,#f1ece2);border:9px solid transparent;border-image:var(--ornate-frame) 22.5%/15px stretch;border-radius:0;box-shadow:0 2px 4px #79654220;font:clamp(16px,1.26vw,23px)/1.3 var(--serif);color:#5c4229}.dungeon-atlas .dungeon-room .button--primary{color:#634722;background:linear-gradient(115deg,#ddb46b,#fff3cd 55%,#e5c285);box-shadow:0 0 0 1px #d1ae68,0 2px 5px #77633422}.dungeon-atlas .dungeon-room .button:disabled{opacity:.62;filter:saturate(.45);cursor:default}.dungeon-atlas .dungeon-room .button>.dungeon-symbol{width:32px;height:33px}.dungeon-atlas .dungeon-room .button>.ui-icon:last-child{width:21px;height:21px;margin-left:auto;flex:none}.dungeon-atlas .dungeon-room .button>span{flex:1;text-align:left}.dungeon-atlas .dungeon-room .dungeon-room-hint{font:15px/1.8 var(--serif);color:#7e725f;margin:0}.dungeon-atlas .dungeon-room--loot{height:auto;min-height:160px;max-height:34%;overflow:auto;align-items:start}.dungeon-atlas .dungeon-room--loot .dungeon-room__controls{padding-block:6px}.play-scene--dungeon .dungeon-atlas .dungeon-room:has(.field-actions){height:auto;min-height:172px;max-height:38%;overflow:auto}.dungeon-atlas .dungeon-room .field-actions{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:6px 0}.dungeon-atlas .dungeon-room .field-actions>p{margin:0;font:14px/1.6 var(--serif)}.dungeon-atlas .dungeon-loot>div{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:3px 0 9px}.dungeon-atlas .dungeon-loot b{font-size:15px}.dungeon-atlas .dungeon-loot span{font-size:12px}.dungeon-atlas .dungeon-loot .button{width:auto;flex:1;min-width:95px;min-height:36px;font-size:14px;padding:0 5px}.expedition-risk-warning{border:1px solid #bd794b;border-left:4px solid #a14c2d;background:#fff1da;color:#723e24;padding:12px 15px;border-radius:5px}.expedition-risk-warning strong{font-size:17px;color:#853d22}.expedition-risk-warning p{margin:6px 0 0;line-height:1.65;color:#723e24}.expedition-risk-references{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.expedition-risk-references section{padding:12px;border:1px solid #cbb997;border-radius:5px;background:#fbf8ef;min-width:0}.expedition-risk-references section.is-boss{border-color:#bd794b;background:#fff3e3}.expedition-risk-references h3{margin:0 0 6px;font-size:17px}.expedition-risk-references strong{font:500 24px/1.4 var(--serif);color:#78451f;overflow-wrap:anywhere}.expedition-risk-references p,.risk-sheet .expedition-risk-footnote{font-size:14px;line-height:1.65;margin:6px 0 0;color:#71614d}.dungeon-atlas .dungeon-next-risk{flex:none;margin:0 8px 5px;padding:6px 10px}.dungeon-atlas .dungeon-next-risk strong{font-size:14px}.dungeon-atlas .dungeon-next-risk p{font-size:13px;line-height:1.5;margin-top:3px}@media(max-width:540px){.expedition-risk-references{grid-template-columns:1fr}.expedition-risk-warning strong{font-size:16px}}.play-scene.play-scene--dungeon .play-hero{display:flex;flex-direction:column;gap:13px}.play-scene--dungeon .play-hero__sheet{padding:14px 10px 12px;display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.play-scene--dungeon .play-hero__identity{flex:none;gap:14px;padding:3px 0 14px;border:0}.play-scene--dungeon .play-hero__identity .play-hero__portrait,.play-scene--dungeon .play-hero__identity>.avatar{width:clamp(73px,6.6vw,115px);height:clamp(73px,6.6vw,115px);border:2px solid #b8a373;border-radius:50%;outline:3px double #d6c59a;outline-offset:4px;background:linear-gradient(135deg,#f6f1df,#dbe4d0)}.play-scene--dungeon .play-hero__identity>span:nth-child(2){min-width:0}.play-scene--dungeon .play-hero__identity strong{font:500 clamp(21px,1.7vw,31px)/1.25 var(--serif);color:#49331c;overflow-wrap:anywhere;word-break:normal;white-space:normal;margin:4px 0}.play-scene--dungeon .play-hero__identity small{font:clamp(12px,1.12vw,18px)/1.5 var(--serif);color:#71624c}.play-scene--dungeon .play-hero__identity small:last-child{font-size:12px;color:#998870}.play-scene--dungeon .play-hero__vitals{padding:7px 2px 5px;flex:none}.play-scene--dungeon .play-hero__vitals .meter{margin:12px 0 18px}.play-scene--dungeon .play-hero__vitals .meter__label{font:clamp(14px,1.12vw,20px)/1.3 var(--serif);color:#59432e;margin-bottom:5px}.play-scene--dungeon .play-hero__vitals .meter__track{height:10px;border:1px solid #aca19088;box-shadow:inset 0 1px 3px #4a3e2c24;background:#d7d0c7;border-radius:10px}.play-scene--dungeon .meter__fill--life{background:linear-gradient(#f58f82,#d56357);box-shadow:inset 0 0 0 1px #a9534980}.play-scene--dungeon .meter__fill--soul{background:linear-gradient(#91d7fb,#3d96e4);box-shadow:inset 0 0 0 1px #538bae88}.play-scene--dungeon .play-hero__vitals .text-link{display:none}.play-scene--dungeon .play-hero__links{display:grid;grid-template-columns:1fr;gap:9px;margin-top:auto;padding:4px 0 0;flex:none}.play-scene--dungeon .play-hero__links button{min-height:48px;height:48px;padding:0 9px;gap:17px;font:clamp(17px,1.37vw,24px)/1.2 var(--serif);border:8px solid transparent;border-image:var(--ornate-frame) 22.5%/13px stretch;background:linear-gradient(105deg,#fffdf8,#ede7dc);box-shadow:0 2px 3px #6b57391a;white-space:nowrap}.play-scene--dungeon .play-hero__links button>.ui-icon{width:27px;height:27px;flex:0 0 27px;color:#9a8258}.play-scene--dungeon .play-hero__links button>span{color:#523a22}.play-scene--dungeon .play-cargo{margin:0;padding:7px 10px 3px;height:clamp(190px,29.1vh,295px);min-height:190px;flex:none;border-top-width:12px}.play-scene--dungeon .play-cargo h2{font:500 clamp(21px,1.5vw,27px)/1.2 var(--serif);margin:3px 0 17px;color:#49331e}.play-scene--dungeon .play-cargo>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-height:30px}.play-scene--dungeon .play-cargo>div>span{background:#e8e2d9;border:1px solid #bdb0a0;border-radius:6px;min-width:0;overflow:hidden;aspect-ratio:1;position:relative}.play-scene--dungeon .play-cargo .material-illustration,.play-scene--dungeon .play-cargo .relic-art{width:100%;height:100%;margin:0;aspect-ratio:1}.play-scene--dungeon .play-cargo b{right:4px;bottom:1px;font:18px var(--serif);color:#544128;text-shadow:0 1px 3px #fff}.play-scene--dungeon .play-cargo>button{height:43px;min-height:43px;margin-top:12px;font:18px var(--serif);padding:0 9px;border-width:9px;border-image-width:14px}.play-scene--dungeon .play-cargo>p:not(.play-cargo__verse){font:14px/1.6 var(--serif);margin:0 0 12px;color:#8b7c66}.play-scene--dungeon .play-cargo .play-cargo__verse{font:14px var(--serif);color:#938672;margin:14px 0 0;letter-spacing:.15em}@media(min-width:1001px)and (max-height:800px){.play-scene--dungeon .dungeon-atlas .dungeon-node,.dungeon-atlas .dungeon-node i{width:60px;height:60px}.dungeon-atlas .dungeon-node i>.dungeon-symbol{width:43px;height:43px}.dungeon-atlas .dungeon-node b{font-size:17px;top:calc(100% + 6px)}.dungeon-atlas .dungeon-node small{top:calc(100% + 28px)}.dungeon-atlas .dungeon-node.is-current:before{left:21px}.app-shell.app-shell--play:has(.play-scene--dungeon){padding-top:37px;padding-bottom:14px}.play-scene.play-scene--dungeon{height:calc(100svh - 51px);min-height:610px;gap:11px}.dungeon-location-title{height:78px}.dungeon-location-title h1{font-size:38px}.dungeon-location-title p{font-size:12px}.play-scene--dungeon .dungeon-atlas .dungeon-heading{height:56px;min-height:56px;padding-inline:10px}.dungeon-atlas .dungeon-heading h1{font-size:25px}.dungeon-atlas .dungeon-heading p{display:none}.play-scene--dungeon .dungeon-atlas .dungeon-room{height:136px;min-height:136px;gap:10px;padding:2px 9px}.dungeon-room__story{padding-left:65px}.dungeon-room__vignette{width:73px;height:85px}.dungeon-atlas .dungeon-room__title h2{font-size:18px}.dungeon-atlas .dungeon-room .button{min-height:44px;font-size:16px;gap:8px}.dungeon-atlas .dungeon-room .button>.dungeon-symbol{width:26px;height:28px}.play-scene--dungeon .play-hero__sheet{padding:9px 8px}.play-scene--dungeon .play-hero__identity{padding-bottom:3px}.play-scene--dungeon .play-hero__identity .play-hero__portrait{width:68px;height:68px}.play-scene--dungeon .play-hero__identity strong{font-size:22px}.play-scene--dungeon .play-hero__links{gap:6px}.play-scene--dungeon .play-hero__links button{height:41px;min-height:41px;font-size:18px}.play-scene--dungeon .play-hero__vitals .meter{margin:6px 0 11px}.play-scene--dungeon .play-cargo{height:183px;min-height:183px;padding-top:3px}.play-scene--dungeon .play-cargo h2{font-size:21px;margin-bottom:10px}.play-scene--dungeon .play-cargo>button{height:37px;min-height:37px;margin-top:8px}.play-scene--dungeon .play-cargo .play-cargo__verse{display:none}}@media(max-width:1000px){.play-scene--dungeon .dungeon-shortcut-symbol{width:19px;height:19px;flex-basis:19px}.play-scene--dungeon .play-room-art{display:block}.play-scene--dungeon .dungeon-atlas .dungeon-map{background-size:auto,auto 100%}.app-shell.app-shell--play:has(.play-scene--dungeon){padding:46px 12px 18px}.play-scene.play-scene--dungeon{display:flex!important;flex-direction:column!important;min-height:0;height:auto;gap:12px}.play-scene.play-scene--dungeon .play-cast{order:2!important;height:auto;max-height:none;min-height:0;display:block}.dungeon-location-title{height:auto;margin:12px 0}.dungeon-location-title h1{font-size:35px}.dungeon-location-title p{font-size:13px}.play-scene--dungeon .play-cast__sheet{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:8px}.play-scene--dungeon .play-cast__sheet>header{grid-column:1/-1;padding:0}.play-scene--dungeon .play-room-art{height:130px;min-height:130px;max-height:130px;margin:0}.play-scene--dungeon .play-cast__list{max-height:145px;margin:0;display:block!important;overflow:auto}.play-scene--dungeon .play-cast__verse{display:none}.play-scene.play-scene--dungeon .play-center{order:1!important;height:auto;width:100%}.play-scene.play-scene--dungeon .dungeon-scene{height:auto;min-height:0}.dungeon-atlas .dungeon-chart{height:590px;min-height:590px;flex:none}.play-scene--dungeon .dungeon-atlas .dungeon-heading{height:59px;min-height:59px;padding:8px 6px;gap:8px}.dungeon-atlas .dungeon-heading h1{font-size:25px}.dungeon-atlas .dungeon-heading p{display:none}.dungeon-atlas .dungeon-heading>.dungeon-symbol{width:25px;height:29px}.play-scene--dungeon .dungeon-atlas .dungeon-map{min-height:0}.dungeon-atlas .dungeon-floor span{display:none}.dungeon-atlas .dungeon-map .dungeon-floor{left:6px}.dungeon-atlas .dungeon-floor b{font-size:14px}.dungeon-atlas .dungeon-map__surface>.dungeon-compass{width:45px;height:45px;right:5px;top:8px}.play-scene--dungeon .dungeon-atlas .dungeon-node,.dungeon-atlas .dungeon-node i{width:57px;height:57px}.dungeon-atlas .dungeon-node i>.dungeon-symbol{width:34px;height:36px}.dungeon-atlas .dungeon-node b{font-size:17px;top:calc(100% + 6px)}.dungeon-atlas .dungeon-node small{top:calc(100% + 29px)}.dungeon-atlas .dungeon-node.is-current:before{left:20px}.play-scene--dungeon .dungeon-atlas .dungeon-legend{gap:7px 10px;font-size:12px;min-height:54px;padding:9px 2px}.dungeon-atlas .dungeon-legend .dungeon-symbol{width:18px;height:19px}.play-scene--dungeon .dungeon-atlas .dungeon-room{height:auto;min-height:150px;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);padding:8px;gap:10px}.dungeon-room__story{padding:0}.dungeon-room__vignette{display:none}.dungeon-atlas .dungeon-room__title h2{font-size:18px}.dungeon-atlas .dungeon-room .button{font-size:16px;min-height:46px;gap:7px;padding:0 6px}.dungeon-atlas .dungeon-room .button>.dungeon-symbol{width:25px;height:28px}.dungeon-atlas .dungeon-room .button>.ui-icon:last-child{width:14px}.play-scene.play-scene--dungeon .play-hero{order:0!important;display:block!important;height:auto;padding:0!important}.play-scene--dungeon .play-hero__sheet{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px;padding:7px 10px}.play-scene--dungeon .play-hero__identity{grid-column:1;gap:10px;padding:0}.play-scene--dungeon .play-hero__identity .play-hero__portrait,.play-scene--dungeon .play-hero__identity>.avatar{width:49px!important;height:49px!important;outline-offset:1px}.play-scene--dungeon .play-hero__identity strong{font-size:19px!important}.play-scene--dungeon .play-hero__identity small{font-size:12px}.play-scene--dungeon .play-hero__identity small:last-child{display:none}.play-scene--dungeon .play-hero__vitals{grid-column:2;padding:0}.play-scene--dungeon .play-hero__vitals .meter{margin:4px 0 7px}.play-scene--dungeon .play-hero__vitals .meter__label{font-size:13px}.play-scene--dungeon .play-hero__vitals .meter__track{height:7px}.play-scene--dungeon .play-hero__links{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:5px 0 0;padding:0}.play-scene--dungeon .play-hero__links button{font-size:13px!important;min-height:36px!important;height:36px;padding:0 3px!important;gap:3px;border-width:5px;border-image-width:8px;justify-content:center}.play-scene--dungeon .play-hero__links button:after{display:none}.play-scene--dungeon .play-hero__links button>.ui-icon{width:17px;height:17px;flex-basis:17px}.play-scene--dungeon .play-cargo{height:auto;min-height:0;margin-top:9px;padding:4px 8px;display:flex;gap:10px;align-items:center}.play-scene--dungeon .play-cargo:before,.play-scene--dungeon .play-cargo .play-cargo__verse,.play-scene--dungeon .play-cargo>p:not(.play-cargo__verse){display:none}.play-scene--dungeon .play-cargo h2{font-size:17px;margin:0;white-space:nowrap}.play-scene--dungeon .play-cargo>div{display:flex;min-height:0;gap:5px;flex:1;overflow:hidden}.play-scene--dungeon .play-cargo>div>span{width:37px;height:37px;flex:none}.play-scene--dungeon .play-cargo b{font-size:11px}.play-scene--dungeon .play-cargo>button{font-size:13px;height:35px;min-height:35px;width:auto;margin:0;padding:0 5px;white-space:nowrap}}@media(max-width:540px){.app-shell.app-shell--play:has(.play-scene--dungeon){padding-inline:7px}.dungeon-atlas .dungeon-chart{height:575px;min-height:575px;border-width:7px;border-image-width:15px}.play-scene--dungeon .dungeon-atlas .dungeon-heading{gap:5px;height:53px;min-height:53px}.dungeon-atlas .dungeon-heading h1{font-size:20px}.dungeon-atlas .dungeon-heading>.dungeon-symbol{width:21px;height:25px}.dungeon-atlas .dungeon-map .dungeon-floor{left:2px}.dungeon-atlas .dungeon-floor b{font-size:12px;writing-mode:vertical-rl;letter-spacing:2px}.play-scene--dungeon .dungeon-atlas .dungeon-node,.dungeon-atlas .dungeon-node i{width:50px;height:50px}.dungeon-atlas .dungeon-node i>.dungeon-symbol{width:29px;height:32px}.dungeon-atlas .dungeon-node.is-current:before{left:17px;width:16px}.dungeon-atlas .dungeon-node b{font-size:16px}.play-scene--dungeon .dungeon-atlas .dungeon-room{display:flex;flex-direction:column;align-items:stretch;gap:10px}.dungeon-room__story{height:auto}.dungeon-atlas .dungeon-room__title{margin-bottom:5px}.dungeon-atlas .dungeon-room__story>p{font-size:13px;-webkit-line-clamp:2}.dungeon-atlas .dungeon-room .button{min-height:49px;font-size:17px}.dungeon-room__controls{gap:7px}.play-scene--dungeon .play-hero__links button>.ui-icon{display:none}.play-scene--dungeon .play-cargo h2{font-size:15px}.play-scene--dungeon .play-cargo>div>span{width:29px;height:29px}}.competition-scene{--arena-ink:#523c25;--arena-muted:#78664d;--arena-line:#d6c7ad;color:var(--arena-ink);margin:-8px -12px 0;padding:12px 18px 16px;height:calc(100dvh - 76px);min-height:560px;display:flex;flex-direction:column;background:linear-gradient(#fff8e525,#e9e0c855),url(/media/1d108dfc18077b6cae4543dc.webp) center/cover fixed;font-family:var(--serif)}.competition-masthead{display:flex;flex:none;justify-content:space-between;align-items:center;gap:16px;padding:0 6px 12px;text-shadow:0 1px 8px #fff,0 0 3px #fff}.competition-masthead h1{font-size:clamp(28px,2vw,36px);line-height:1.2;margin:3px 0}.competition-masthead p{margin:7px 0 0;font-size:16px}.competition-masthead nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.competition-scene button{font-family:inherit;color:inherit;cursor:pointer}.competition-masthead nav button,.competition-chart__tools button,.competition-compact-links button,.competition-chart__rounds button{background:#fffaf0f2;border:1px solid #b79b64;padding:8px 12px;display:inline-flex;align-items:center;gap:7px;border-radius:4px;font-size:15px}.competition-scene button:focus-visible{outline:3px solid #ad7f2c;outline-offset:2px}.competition-masthead nav svg{width:18px;height:18px}.competition-body{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:stretch;flex:1;min-height:0}.competition-scene.has-sides .competition-body{grid-template-columns:220px minmax(0,1fr) 235px}.competition-sidebar,.competition-chart,.competition-action,.competition-lobby{background:#fcf9f1fc;border:1px solid #bda370;box-shadow:0 0 0 3px #fff9e9a6,inset 0 0 0 4px #ebdfca80,0 10px 30px #44352225;border-radius:9px}.competition-sidebar{padding:18px 16px;min-width:0;min-height:0;overflow:auto;scrollbar-width:thin}.competition-sidebar h2{font-size:25px;margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid var(--arena-line)}.competition-sidebar p{font-size:15px;line-height:1.65}.competition-status{display:inline-block;color:#806531;border:1px solid #cab387;border-radius:20px;padding:3px 12px;font-size:14px;background:#f2ebdb}.competition-avatar{display:block;flex-shrink:0;width:34px;height:34px;overflow:hidden;border-radius:50%;border:1px solid #c6a96e;background:#f0e6d5;position:relative}.competition-avatar>.avatar,.competition-avatar>.npc-portrait-art,.competition-avatar>.portrait-art,.competition-avatar>img{width:100%;height:100%;min-width:0;min-height:0;margin:0;border-radius:inherit;display:block;object-fit:cover}.competition-avatar .avatar{font-size:18px}.competition-silhouette{display:grid;place-items:center;width:100%;height:100%;color:#a99a84}.competition-silhouette svg{width:22px;height:22px}.competition-opponents__pair button{border:0;background:transparent;width:100%;display:flex;align-items:center;flex-direction:column;gap:8px;padding:16px 0}.competition-opponents__pair .competition-avatar{width:82px;height:82px}.competition-opponents__pair strong{font-size:21px;line-height:1.4}.competition-opponents__pair small{font-size:14px;color:var(--arena-muted);line-height:1.5}.competition-opponents__pair span:not(.competition-avatar){font-size:15px}.competition-vs{display:block;text-align:center;color:#a08043;font:italic 24px Georgia}.competition-note{color:var(--arena-muted);border-top:1px solid var(--arena-line);padding-top:14px;margin-top:22px}.competition-link{border:0;background:transparent;color:#846331!important;padding:6px;font-size:15px;text-decoration:underline;text-underline-offset:4px}.competition-chart{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:#faf7ef}.competition-chart__tools{flex:none;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--arena-line);background:linear-gradient(120deg,#fdfbf5,#efe5d1)}.competition-chart__tools>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.competition-chart__tools b{font-size:21px;white-space:nowrap}.competition-chart__tools span{font-size:13px;color:var(--arena-muted);margin-left:10px}.competition-chart__tools button{font-size:14px;padding:6px 9px}.competition-chart__tools button svg{width:17px;height:17px}.competition-chart__tools output{font-size:13px;min-width:34px;text-align:center}.competition-chart__viewport{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;cursor:grab;background:radial-gradient(ellipse at 50% 35%,#e8d6ad35,transparent 60%),#faf7ef;scrollbar-width:thin;scrollbar-color:#baa06b #f5eddb}.competition-chart__canvas{position:relative;transform-origin:top left}.competition-chart__scroll-area{position:relative;margin-inline:auto}.competition-chart__heading-rail{position:sticky;top:0;height:0;z-index:2;pointer-events:none}.competition-chart__heading-rail>div{position:relative;transform-origin:top left;background:#faf7ef;box-shadow:0 1px #d8c7a780}.competition-chart__canvas>svg{position:absolute;inset:0;pointer-events:none;overflow:visible}.competition-chart__canvas>svg path{fill:none;stroke:#c8c1b3;stroke-width:2;stroke-dasharray:5 5}.competition-chart__canvas>svg path.is-resolved{stroke:#a59679;stroke-dasharray:none;stroke-width:2.5}.competition-chart__canvas>svg path.is-related{stroke:#b79754;stroke-width:3}.competition-chart__canvas>svg path.is-player{stroke:#c18c28;stroke-width:4;stroke-dasharray:none}.competition-chart__heading{position:absolute;top:6px;width:var(--match-width);text-align:center;margin:0;font-size:22px;line-height:30px;font-weight:500;color:#806235;padding:8px 0;border-bottom:1px solid #d1bd95}.competition-chart__trophy{position:absolute;width:var(--match-width);display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.competition-chart__trophy svg{width:48px;height:48px;color:#b99248;filter:drop-shadow(0 3px 4px #b99c6440)}.competition-chart__trophy span{font-size:16px;color:#9b814f;letter-spacing:3px}.competition-chart__trophy strong{font-size:25px;font-weight:500}.competition-chart__caption{position:absolute;width:308px;text-align:center;font-size:16px;line-height:1.8;color:#89734c}.competition-chart__legend{flex:none;padding:10px 14px;display:flex;justify-content:center;gap:20px;flex-wrap:wrap;border-top:1px solid var(--arena-line);color:#796348;font-size:14px;background:#f6f0e4}.competition-match{position:absolute;box-sizing:border-box;border:1px solid #c6b698;border-radius:8px;background:#fffdf8;box-shadow:0 3px 9px #765d3420;overflow:hidden}.competition-match.is-current{border-color:#b88729;box-shadow:0 0 0 2px #d3ae60,0 0 15px #d9b05930}.competition-match.is-selected{outline:2px solid #b49456;outline-offset:4px}.competition-match__label{height:var(--match-label);box-sizing:border-box;width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;padding:0 10px;background:#eee6d6;font-size:14px!important;line-height:20px;color:#76603b!important;white-space:nowrap;box-shadow:inset 0 -1px #ddd1ba}.competition-match.is-current .competition-match__label{background:#b38b45;color:#fff!important}.competition-match__person{position:relative;display:flex;align-items:center;gap:10px;text-align:left;padding:10px 12px;border:0;background:transparent;width:100%;height:var(--match-row);box-sizing:border-box;line-height:normal!important;opacity:1!important}.competition-match__person+.competition-match__person{box-shadow:inset 0 1px #e6decd}.competition-match__person>span:nth-child(2){min-width:0;flex:1}.competition-match__person b{display:flex;align-items:center;gap:4px;font-size:18px;line-height:24px;height:24px;font-weight:500;white-space:nowrap}.competition-match__person small{font-size:14px;line-height:20px;height:20px;color:#786649;display:block;margin-top:2px;white-space:nowrap}.competition-match__person em{flex:none;font-size:12px;line-height:18px;font-style:normal;color:#865f12;background:#f0dfb2;width:18px;text-align:center;border-radius:3px}.competition-match__person i{flex:0 0 16px;width:16px;font-style:normal;font-size:14px;color:#87662b;text-align:right}.competition-match__person.is-winner{background:#f8efdb}.competition-match__person.is-loser b{color:#968c7c}.competition-match__person:disabled{cursor:default;background:#f2eee6;color:#8b8173}.competition-match__person:hover:not(:disabled){background:#f0e4c9}.competition-hero__identity{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;text-align:left;margin-bottom:18px}.competition-hero__identity .competition-avatar{width:66px;height:66px}.competition-hero__identity strong{font-size:23px;display:block}.competition-hero__identity small{display:block;font-size:15px;margin-top:6px}.competition-hero nav{display:grid;gap:8px;margin-top:20px}.competition-hero nav button{display:flex;align-items:center;gap:10px;border:1px solid #cab58e;background:linear-gradient(110deg,#fffdf7,#f0e8d9);padding:10px 12px;font-size:18px;border-radius:3px}.competition-hero nav button svg{width:20px;height:20px;color:#9a7a41}.competition-hero nav button span{margin-left:auto}.competition-prize-summary{margin-top:25px;padding-top:20px;border-top:1px solid var(--arena-line);text-align:center}.competition-prize-summary>svg{width:38px;height:38px;color:#a68442}.competition-prize-summary h3{font-size:20px;margin:7px 0}.competition-prize-summary button{border:0;border-bottom:1px solid #bda775;background:none;padding:5px;font-size:16px}.competition-compact-links{display:flex;gap:8px;justify-content:center;margin:13px 0 0}.competition-action{flex:none;margin-top:12px;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fffbf3}.competition-action>div{display:flex;align-items:center;gap:12px}.competition-action>div:first-child{display:block;min-width:0}.competition-action small{display:block;color:#938064;font-size:14px}.competition-action strong{display:block;font-size:20px;margin-top:5px;font-weight:500;line-height:1.5}.competition-action .button{font-size:19px;min-height:48px;white-space:nowrap}.competition-action .button svg{height:20px;width:20px}.competition-lobby{min-height:570px;display:grid;place-items:center;text-align:center;background:linear-gradient(100deg,#fffcf1f7,#fffcf1ab),url(/media/1d108dfc18077b6cae4543dc.webp) center/cover;padding:40px}.competition-lobby>div{max-width:650px}.competition-lobby svg{width:90px;height:90px;color:#ae893e}.competition-lobby h2{font-size:32px}.competition-lobby p{line-height:1.9;font-size:19px}.competition-lobby .button{margin:20px 7px}.competition-history{display:grid;gap:12px}.competition-history button{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #cab992;border-radius:5px;background:#fcf8ef;color:#634d2d;text-align:left}.competition-history small{display:block;margin-top:6px}.competition-dossier{text-align:center}.competition-dossier>.competition-avatar{width:150px;height:150px;margin:12px auto}.competition-dossier p{line-height:1.8}.competition-result__values{display:flex;gap:24px;margin:24px 0}.competition-result__values span{display:flex;flex-direction:column;gap:5px}.competition-result__values b{font-size:27px;color:#a47b32}.competition-prize-pool{border-top:1px solid #d6c8ae;margin-top:18px;padding-top:6px}.competition-prize-pool li{margin:7px 0}.competition-prize-pool h3{font-size:22px}.competition-reward-totals{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0}.competition-reward-totals>div{min-width:90px;padding:10px 16px;border:1px solid #d8c6a2;border-radius:6px;background:#fffaf0}.competition-reward-totals dt{font-size:14px;color:#78664d}.competition-reward-totals dd{margin:4px 0 0;font-size:24px;color:#725522}.competition-prize-item{padding:12px 14px;margin:12px 0;border:1px solid #d8c6a2;border-radius:6px;background:#fffcf6;overflow-wrap:anywhere}.competition-prize-item h4,.competition-prize-materials h4{font-size:18px;margin:3px 0 10px}.competition-prize-item h4 small,.competition-prize-materials h4 small{font-size:14px;color:#78664d;font-weight:400}.competition-prize-meta{color:#78664d;font-size:14px}.competition-prize-attributes{display:flex;gap:10px 24px;flex-wrap:wrap}.competition-prize-attributes>div{display:flex;gap:10px}.competition-prize-attributes dd{margin:0;font-weight:600}.competition-prize-ability{margin-top:12px}.competition-prize-ability ul{padding-left:22px}.competition-prize-materials ul{list-style:none;margin:0;padding:0}.competition-prize-materials li{display:flex;gap:12px;justify-content:space-between;border-bottom:1px solid #e7ddc9;padding:8px 0;overflow-wrap:anywhere}.competition-prize-materials li strong{flex:none}.competition-reward-details p{line-height:1.65}.competition-reward-dialog{width:min(900px,100%)}.competition-match .competition-avatar{box-sizing:border-box;width:44px;height:44px}.competition-avatar>.battle-unit-portrait{width:100%;height:100%;border:0;border-radius:50%;margin:0}.competition-match__person b>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.competition-match__person i:empty{display:none}.competition-action>.competition-compact-links{flex:1 0 100%;margin:0;padding:0 0 10px;border-bottom:1px solid #dfd2b9}.competition-chart__rounds{flex:none}.competition-chart__rounds button{white-space:nowrap}.competition-chart__tools button[aria-pressed=true]{background:#ead8b1;border-color:#a8823f}@media(max-width:1599px){.competition-scene.has-sides .competition-body{grid-template-columns:190px minmax(0,1fr) 210px}.competition-sidebar{padding:14px 12px}.competition-chart__tools span{display:none}.competition-scene{padding:10px 14px 14px}.competition-masthead{padding-bottom:10px}.competition-masthead h1{font-size:30px}}@media(max-width:1000px){.competition-scene.has-sides .competition-body{display:flex;flex-direction:column;overflow:auto}.competition-scene.has-sides .competition-chart{flex:none;height:440px;order:-1}.competition-sidebar{flex:none}.competition-opponents__pair{display:flex;gap:12px}.competition-opponents__pair>div{flex:1;min-width:0}.competition-vs{display:none}.competition-action strong{font-size:17px}.competition-action{padding:12px}.competition-masthead nav button{font-size:13px}}@media(max-width:699px){.competition-scene{margin:0 -10px;padding:10px;height:calc(100dvh - 76px);min-height:680px;background-attachment:scroll}.competition-masthead{display:block}.competition-masthead nav{justify-content:flex-start;margin-top:8px}.competition-masthead h1{font-size:28px}.competition-masthead p{font-size:14px;margin-top:4px}.competition-chart__tools{padding:8px;display:block}.competition-chart__tools>div{justify-content:center;margin:4px 0}.competition-chart__tools b{font-size:20px}.competition-chart__tools button{font-size:12px;padding:6px}.competition-chart__rounds{display:flex;gap:5px;padding:8px;background:#eee4d1;justify-content:center}.competition-chart__rounds button{font-size:13px;padding:6px 11px}.competition-chart__legend{gap:8px;font-size:12px}.competition-chart__legend span:last-child{display:none}.competition-compact-links{gap:5px;flex-wrap:wrap}.competition-compact-links button{font-size:13px;padding:7px 9px}.competition-action{display:block;margin-top:10px;background:#fffaf0}.competition-action strong{font-size:16px;margin:2px 0 8px}.competition-action>div:last-child{display:flex;flex-wrap:wrap}.competition-action .button{flex:1;font-size:17px}.competition-hero nav{grid-template-columns:1fr 1fr}.competition-prize-summary{margin-top:16px}.competition-lobby{min-height:430px;padding:25px 18px}.competition-lobby h2{font-size:25px}.competition-lobby p{font-size:16px}}.world-scene--slaughter{max-width:1600px;margin:auto;padding:24px;color:var(--ink);background:linear-gradient(#fffaf0db,#f4e8d2e8);border:1px solid #b6a078;border-radius:10px}.world-scene--slaughter .world-masthead{margin:0 0 20px}.world-scene--slaughter .world-masthead h1{font-size:clamp(30px,4vw,48px)}.world-scene--slaughter .world-masthead p{font-size:16px;line-height:1.7}.world-scene--slaughter .world-trial{grid-template-columns:minmax(0,1fr) 300px;gap:32px;padding:24px;background:#fffaf0bd;border:1px solid #cbb68e;border-radius:8px}.world-trial h3{font:25px var(--serif);margin:12px 0}.world-trial .trial-stages{gap:8px;margin:24px 0}.trial-stages>div{background:#f2eadb;border:1px solid #d1c1a1;border-radius:6px;min-width:0}.trial-stages .is-current{background:#fff0cb;border-color:#ad8130;box-shadow:0 0 0 2px #e2c47f80}.trial-stages .is-complete{background:#ecf1df;border-color:#9ea67c}.trial-stages .is-failed{background:#f9e3e0;border-color:#b75a54}.trial-stages span{font-size:14px;line-height:1.5}.trial-next{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:18px 0;border-block:1px solid #d4c29d}.trial-next>strong{font:24px var(--serif)}.world-trial .button{min-height:44px;font-size:16px}.world-trial .trial-status-note{font-size:15px}.trial-earnings,.trial-history{margin-top:24px;padding-top:14px;border-top:1px solid #d4c29d}.world-trial .trial-experience{margin:6px 0 12px;font-size:16px}.trial-experience b{font:32px var(--serif);color:#825f27}.trial-earnings ul{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}.trial-earnings li{display:flex;justify-content:space-between;gap:16px;padding:10px 12px;background:#f6efdf;border:1px solid #dacbac;border-radius:5px;font-size:16px;line-height:1.6}.trial-history details{border:1px solid #d4c29d;border-radius:5px;margin:10px 0;background:#fffaf0}.trial-history summary{padding:14px;cursor:pointer;font-size:16px;line-height:1.6}.trial-history summary b{margin:0 15px;color:#7e5f2b}.trial-history summary span{color:#736752}.trial-history details>p,.trial-history details>ul{margin:10px 20px;font-size:15px;line-height:1.8}.trial-player{display:flex;align-items:center;gap:16px;margin-bottom:24px}.trial-player>.battle-unit-portrait{width:78px;height:78px;border:1px solid #baa371;border-radius:50%;flex:none}.trial-player h3{font-size:25px;overflow-wrap:anywhere}.trial-player p{margin:4px 0}.trial-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.world-trial__road .trial-shortcuts .button{margin:0}.trial-road{border-top:1px solid #d4c29d;padding-top:20px}.world-endgame-grid .button{min-height:44px;font-size:14px;line-height:1.5}.world-endgame-grid small{font-size:14px;line-height:1.6}.world-scene--endgame .world-masthead{padding:0 0 10px}.world-scene--endgame .world-masthead h1{font-size:32px;margin:0}.world-scene--endgame .world-masthead p{margin:4px 0 0}.world-scene--endgame .world-tabs{margin:10px 0;flex-wrap:wrap}.world-scene--endgame .world-tabs button{font-size:16px;padding:8px 16px;min-height:44px}.world-scene--endgame .world-section-heading{margin:14px 0 8px;gap:12px}.world-scene--endgame .endgame-introduction{font-size:14px;line-height:1.7;margin:8px 0 12px}.world-endgame-grid{gap:16px;margin-top:12px;align-items:start}.world-endgame-grid>article{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:8px;min-width:0}.endgame-card-heading{display:flex;align-items:center;gap:16px;min-width:0}.endgame-card-heading .endgame-insignia{width:88px;height:88px;flex:none;align-self:center;border:1px solid #b9a071;border-radius:50%;overflow:hidden;background:#fbf5e8}.endgame-insignia>.battle-unit-portrait{width:100%;height:100%}.endgame-identity{min-width:0}.world-endgame-grid .endgame-identity h3{font-size:25px;line-height:1.3;margin:3px 0 5px;overflow-wrap:anywhere}.world-endgame-grid .endgame-identity p{font-size:15px;margin:0 0 2px;line-height:1.5}.world-endgame-grid .endgame-identity .eyebrow{font-size:13px}.world-endgame-grid .endgame-requirements{margin:0;padding-left:18px;font-size:14px;line-height:1.6}.world-endgame-grid .field-actions{margin:0;gap:8px;flex-wrap:wrap}.world-endgame-grid .field-actions>.button{padding:9px 14px;min-height:44px;font-size:14px}.endgame-record-summary{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:14px;line-height:1.6;color:#65543b}.endgame-history{border-top:1px solid #ddcfb5;padding-top:4px;font-size:14px}.endgame-history summary{cursor:pointer;min-height:44px;line-height:44px;color:#785722}.endgame-history ol{list-style:none;margin:0;padding:0;max-height:220px;overflow:auto}.endgame-history li{display:flex;gap:12px;justify-content:space-between;padding:8px 0;border-top:1px solid #e7dcc7;line-height:1.6;flex-wrap:wrap}.endgame-record-summary .is-win,.endgame-history .is-win{color:#396c47}.endgame-record-summary .is-loss,.endgame-history .is-loss{color:#974c3c}@media(max-width:600px){.world-scene--endgame .world-masthead h1{font-size:28px}.world-scene--endgame .world-tabs button{font-size:14px;padding:8px}.world-endgame-grid>article{padding:14px;gap:10px}.endgame-card-heading{gap:12px}.endgame-card-heading .endgame-insignia{width:70px;height:70px}.world-endgame-grid .endgame-identity h3{font-size:22px}.world-endgame-grid .field-actions>.button{padding:9px 11px}}.play-hero__portrait{aspect-ratio:1;flex-shrink:0;overflow:hidden}.play-hero__portrait>.battle-unit-portrait{width:100%;height:100%}.play-scene--battle .combat-order{justify-content:flex-start;min-width:0;scroll-padding-inline:8px;scrollbar-width:thin;padding:5px 4px 12px}.play-scene--battle .combat-order>button:first-child{margin-left:auto}.play-scene--battle .combat-order>button:last-child{margin-right:auto}.play-scene--battle .combat-order button{min-height:50px}.play-scene--battle .combat-order button>b{font-size:14px}.play-scene--battle .combat-scene{grid-template-rows:60px 76px minmax(360px,1fr) 230px;height:calc(100svh - 90px);min-height:830px}.play-scene--battle .combat-stage__viewport{overflow:hidden;isolation:isolate}.play-scene--battle .combat-stage__viewport:has(.is-zoomed){overflow:auto}.play-scene--battle .combat-board{overflow:hidden}.play-scene--battle .combat-unit{transition:none}.combat-marker-group__badge rect{fill:#fff8e9;stroke:#a78446;stroke-width:2;pointer-events:all}.combat-marker-group__badge text{fill:#5c4020;font:700 17px var(--serif);pointer-events:all}.combat-marker-group:focus-visible .combat-marker-group__badge rect{stroke:#83551f;stroke-width:4}.combat-group-choices button small{font-size:14px;line-height:1.5}.play-scene--battle .combat-roster{max-width:100%;scrollbar-width:thin}.play-scene--battle .combat-roster button{min-height:44px}.play-scene--battle .combat-roster button>span{font-size:14px}@media(max-width:1000px){.world-scene--slaughter .world-trial{grid-template-columns:minmax(0,1fr) 250px;gap:20px;padding:18px}.world-trial__road{padding-left:18px}.play-scene--battle .combat-scene{display:flex;flex-direction:column;height:auto;min-height:0;gap:12px}.play-scene--battle .combat-order{flex:none;min-height:72px;margin:0}.play-scene--battle .combat-layout{display:contents;height:auto;min-height:0}.play-scene--battle .combat-main{order:2;min-height:0}.play-scene--battle .combat-stage{flex:none;height:460px;min-height:460px}.play-scene--battle .combat-layout>.battle-intel{order:4;height:auto;max-height:none;overflow:hidden}.play-scene--battle .combat-sidebar{order:5;height:auto;max-height:none;overflow:visible}.play-scene--battle .combat-sidebar:has(.combat-plan){order:3}.play-scene--battle .combat-actions{order:3;width:100%;margin:0;position:static;min-height:0;max-height:none}.play-scene--battle .combat-board{height:100%;min-height:0}.play-scene--battle .combat-header{order:0;min-height:70px;flex:none;flex-wrap:wrap}.play-scene--battle .combat-order{order:1}.play-scene--battle .combat-turn-message>span{font-size:14px;line-height:1.6}}@media(max-width:600px){.world-scene--slaughter{padding:12px}.world-scene--slaughter .world-masthead{display:block}.world-scene--slaughter .world-masthead__level{display:none}.world-scene--slaughter .world-trial{grid-template-columns:1fr;padding:14px}.world-trial__road{padding:20px 0 0}.trial-stages>div{padding:12px 3px;gap:6px}.trial-stages b{font-size:26px}.trial-stages span{font-size:14px}.world-trial .trial-stages{gap:4px}.trial-earnings ul{grid-template-columns:1fr}.trial-next .button{width:100%}.trial-next>strong{font-size:22px}.trial-history summary span{display:block;margin-left:18px}.play-scene--battle .combat-stage{height:420px;min-height:420px}.play-scene--battle .combat-stage__top{font-size:14px;gap:12px}.play-scene--battle .combat-stage__top button{min-height:44px;flex:none;font-size:14px}.play-scene--battle .combat-order>button:first-child{margin-left:0}.play-scene--battle .combat-order>button:last-child{margin-right:0}.play-scene--battle .combat-layout>.battle-intel{display:block}.play-scene--battle .combat-layout>.battle-intel .battle-intel__art{height:240px}}.ability-archive{display:flex;flex-direction:column;gap:12px;color:#513a25;min-width:0}.soul-archive--abilities .archive-player{display:none}.soul-archive--abilities .archive-layout{grid-template-columns:minmax(0,1fr)}.soul-archive--abilities .archive-content{padding:0;min-height:0}.ability-tabs,.ability-souls,.ability-pagination{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ability-tabs button,.ability-souls button,.ability-pagination button,.battle-console button{border:1px solid #c4a76d;background:#fffbf1;color:#604626;border-radius:5px;cursor:pointer;font-family:inherit}.ability-tabs button,.ability-souls button{min-height:44px;padding:8px 18px;font-size:16px}.ability-tabs a{margin-left:auto;color:#715023;padding:10px}.ability-tabs button[aria-pressed=true],.ability-souls button[aria-pressed=true]{background:#b99551;color:#fffef7}.ability-souls small{margin-left:12px;font-size:12px}.ability-soul-summary{display:flex;align-items:center;gap:18px;border:1px solid #d2bc9777;padding:10px 16px;border-radius:6px;background:#fffdf4b8}.ability-soul-summary>.spirit-illustration{width:100px;height:108px;flex:none}.ability-soul-summary>div{min-width:0}.ability-soul-summary h2{font-size:25px;margin:0 0 6px}.ability-soul-summary h2 .grade-badge{font-size:13px}.ability-soul-summary p{margin:0 0 8px;font-size:14px}.ability-soul-summary .button{min-height:38px;padding:7px 12px;font-size:14px}.ability-rings{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px}.ability-rings button{border:1px solid #c9b38c;background:#fffaf0;display:flex;align-items:center;flex-direction:column;padding:6px 3px;gap:4px;color:#5c4028;cursor:pointer;border-radius:5px;min-width:0}.ability-rings button[aria-pressed=true]{border-color:#a27324;box-shadow:inset 0 0 0 2px #e0bc6b;background:#f6e7c5}.ability-rings button:disabled{opacity:.55;cursor:default}.ability-rings .soul-ring{width:46px;height:46px;flex:none}.ability-rings b{font-size:14px}.ability-rings small{font-size:12px}.ability-empty-ring{width:46px;height:46px;border:1px dashed #a9926c;border-radius:50%;display:grid;place-items:center;color:#a18d70}.ability-workspace{display:grid;grid-template-columns:minmax(250px,4fr) minmax(0,6fr);gap:14px;min-width:0}.ability-library,.ability-inspector{border:1px solid #cdb994;background:#fffdf5c9;border-radius:6px;padding:14px;min-width:0}.ability-library>header{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-bottom:12px}.ability-library h3{font-size:19px;margin:0}.ability-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ability-skill-grid>button{min-width:0;border:1px solid #d0b991;background:#fffaf0;border-radius:5px;padding:10px;display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;color:#49331f;cursor:pointer}.ability-skill-grid>button[aria-pressed=true]{border-color:#a77629;box-shadow:inset 0 0 0 2px #dcbb6e;background:#f9edd0}.ability-skill-grid .portrait-art{width:64px;height:64px;flex:none}.ability-skill-grid b{font-size:17px;line-height:1.4;overflow-wrap:anywhere}.ability-skill-grid small{display:block;font-size:12px;line-height:1.5;margin-top:4px}.ability-inspector>header{display:flex;gap:12px;align-items:center;border-bottom:1px solid #d8c9ad;padding-bottom:12px;margin-bottom:10px}.ability-inspector>header>.portrait-art{width:76px;height:76px;flex:none}.ability-inspector h2{font-size:24px;margin:5px 0;overflow-wrap:anywhere}.ability-inspector>header small{font-size:13px}.ability-inspector .ability-details{font-size:15px}.ability-pagination{justify-content:space-between;margin-top:12px;font-size:13px}.ability-pagination button{min-height:44px;padding:7px 12px}.ability-other-filters{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.ability-other-filters p{font-size:14px;margin:0}.ability-other-filters label{font-size:14px;display:flex;align-items:center;gap:10px}.ability-other-filters select{width:auto;min-width:130px;min-height:44px}.play-scene--battle .combat-scene{grid-template-rows:44px 56px minmax(290px,1fr) auto;height:calc(100svh - 90px);min-height:790px;gap:8px}.play-scene--battle .combat-layout>.battle-intel,.play-scene--battle .combat-sidebar{height:100%;max-height:100%}.play-scene--battle .combat-header{padding:0 8px}.play-scene--battle .combat-order{min-height:0;margin:0}.play-scene--battle .combat-order>button{min-height:44px}.battle-console{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;min-width:0;border:1px solid #bba275;border-radius:8px;padding:9px 12px;background:linear-gradient(120deg,#fffdf3f5,#f4ecdcf5);box-shadow:0 5px 22px #44321b14;color:#553c25;z-index:2}.battle-console>header{grid-column:1/-1;display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:0}.battle-console__tabs{display:flex;gap:4px;overflow:auto;min-width:0}.battle-console__tabs button{white-space:nowrap;padding:6px 12px;min-height:36px;font-size:15px}.battle-console__tabs button[aria-pressed=true]{background:#b38e49;color:#fff}.battle-console__search{min-width:180px;width:245px;flex:none}.battle-console__search input{font-size:14px;min-height:38px;padding:6px 10px}.battle-console__souls{display:flex;align-items:center;gap:5px;min-width:0}.battle-console__souls button{padding:4px 10px;font-size:14px;min-height:38px}.battle-console__souls button[aria-pressed=true]{background:#eee0bc;border-color:#987128}.battle-console__souls small{display:block;font-size:11px;color:#756344}.battle-console__souls>span{display:none}.battle-console__rings{display:flex;align-items:center;gap:6px;justify-content:flex-end;min-width:0}.battle-console__rings>button{min-width:36px;min-height:36px;padding:0;position:relative;background:#fff9ed;font-size:13px}.battle-console__rings>button[aria-pressed=true]{background:#ecd4a0;outline:1px solid #96712d}.battle-console__rings>button:disabled{opacity:.35;cursor:default}.battle-console__rings .soul-ring{height:32px;width:32px;pointer-events:none;margin:auto}.battle-console__rings .soul-ring__caption{display:none}.battle-console__rings b{position:absolute;inset:0;display:grid;place-items:center;font-size:14px;color:#392713;pointer-events:none;text-shadow:0 0 3px white,0 0 3px white;background:#fff9e966;border-radius:50%}.battle-console__empty-ring{height:32px;width:32px;display:block}.battle-console__rings>span{font-size:11px;max-width:150px;line-height:1.4}.battle-console__rings .is-preview-source{box-shadow:0 0 0 2px #e7b757,0 0 12px #dfb455}.battle-console__rings .is-last-source{border-bottom:3px solid #b48b35}.battle-console__rings .is-cast-source{animation:source-ring-pulse .65s ease-in-out infinite alternate;outline:2px solid #c7881a}@keyframes source-ring-pulse{to{box-shadow:0 0 16px #ffbb37;background:#fff3b8}}.battle-console__grid{grid-column:1/-1;display:grid;gap:7px;min-width:0}.battle-console__grid article{min-width:0;border:1px solid #ccb386;border-radius:6px;background:#fffdf5;display:flex;flex-direction:column;overflow:hidden}.battle-console__grid article.is-selected{border-color:#9c6b20;box-shadow:inset 0 0 0 2px #dec17a;background:#faedce}.battle-console__choose{display:flex;gap:9px;min-height:72px;width:100%;padding:8px 8px 4px;text-align:left;border:0!important;background:transparent!important;align-items:center}.battle-console__choose>.portrait-art,.battle-console__choose>.ui-icon{width:40px;height:40px;flex:none;position:static}.battle-console__choose>span{min-width:0;display:flex;flex-direction:column;gap:3px}.battle-console__choose b{font-size:15px;line-height:1.25;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.battle-console__choose small{display:block!important;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.battle-console__choose em{font-style:normal;font-size:12px;line-height:1.3;color:#796343;overflow-wrap:anywhere}.battle-console__choose:disabled{cursor:default;opacity:.58}.battle-console__grid article>footer{display:flex;gap:5px;align-items:center;padding:0 8px 3px;min-height:28px}.battle-console__grid article>footer>button{border:0;background:transparent;padding:4px 8px;font-size:12px;min-height:26px}.battle-console__grid article>footer>button[aria-pressed=true]{color:#ab741d;background:#f4e2b3}.battle-console__grid article>footer small{margin-left:auto;font-size:11px}.battle-console__pager{grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;align-items:center}.battle-console__pager button{padding:4px 12px;min-height:32px;font-size:13px}.battle-console__pager span{font-size:12px;text-align:center}.battle-console button:disabled{cursor:default}.battle-console__pager button:disabled{opacity:.4}.battle-console__last-cast,.battle-console__empty{grid-column:1/-1;font-size:13px;margin:0;line-height:1.5}.battle-console__last-cast{padding:4px 8px;border-top:1px solid #d9c6a3;color:#75521c}.battle-console__kind{display:flex;align-items:center;gap:12px;font-size:14px;grid-column:1/-1}.battle-console__kind select{min-height:38px;width:180px;padding:5px 10px}.cast-rank-panel{padding:10px;border:1px solid #cbae6e;background:#faf0d6;border-radius:6px;margin-bottom:12px}.cast-rank-panel p{font-size:13px;margin:0 0 6px}.cast-rank-panel strong{display:block;font-size:17px;margin-bottom:10px}.cast-rank-panel select{min-height:44px}.cast-rank-panel small{display:block;font-size:12px;line-height:1.6;margin-top:6px}.battle-cast-label{color:#78551d;font-size:13px!important;line-height:1.6}@media(min-width:1600px){.play-scene--battle .combat-scene{min-height:810px}.battle-console__choose{min-height:80px}.battle-console__choose b{font-size:16px}.battle-console__choose small{font-size:13px}.battle-console__choose>.portrait-art{width:48px;height:48px}}@media(max-width:1100px){.battle-console__souls,.battle-console__rings{grid-column:1/-1;justify-content:flex-start}.battle-console__rings>span{max-width:none}.battle-console__search{width:200px}.ability-workspace{grid-template-columns:minmax(210px,4fr) minmax(0,6fr)}}@media(max-width:800px){.ability-rings{grid-template-columns:repeat(3,minmax(0,1fr))}.ability-rings button{display:grid;grid-template-columns:38px 1fr;gap:3px;text-align:left;align-items:center;padding:7px}.ability-rings .soul-ring,.ability-empty-ring{width:36px;height:36px;grid-row:1/4}.ability-rings small{font-size:11px}.ability-rings b{font-size:12px}.ability-workspace{grid-template-columns:1fr}.ability-soul-summary{gap:10px;padding:10px}.ability-soul-summary>.spirit-illustration{width:70px;height:100px}.ability-soul-summary h2{font-size:21px}.ability-soul-summary .field-actions{gap:6px}.ability-tabs a{width:100%;margin:0;padding:2px}.ability-tabs button{flex:1}.ability-inspector .ability-details{font-size:14px}}@media(max-width:720px){.play-scene--battle .combat-scene{display:flex;height:auto;min-height:0;gap:10px}.play-scene--battle .combat-layout{display:contents}.play-scene--battle .combat-layout>.battle-intel,.play-scene--battle .combat-sidebar{height:auto;max-height:none}.battle-console{order:3;width:100%;grid-template-columns:1fr;padding:8px;gap:8px}.battle-console>header{display:flex;flex-wrap:wrap}.battle-console__tabs{width:100%}.battle-console__tabs button{min-height:44px;font-size:14px;padding:7px 10px}.battle-console__search{width:100%;min-width:0}.battle-console__search input{min-height:44px}.battle-console__souls{flex-wrap:wrap}.battle-console__souls button{min-height:44px;flex:1}.battle-console__rings{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:100%}.battle-console__rings>button{min-height:44px}.battle-console__rings>span{grid-column:1/-1;font-size:12px}.battle-console__choose{min-height:100px;flex-direction:column;align-items:flex-start}.battle-console__choose>span{width:100%}.battle-console__choose>.portrait-art{width:38px;height:38px}.battle-console__choose b{font-size:15px}.battle-console__choose small{font-size:12px}.battle-console__grid article>footer{padding:0 4px 3px;flex-wrap:wrap}.battle-console__grid article>footer>button{min-height:44px;padding:8px 10px}.battle-console__pager button{min-height:44px;padding:7px 10px}.battle-console__pager span,.battle-console__last-cast{font-size:12px}.play-scene--battle .combat-sidebar:has(.combat-plan){order:3}.play-scene--battle .combat-plan{min-height:0;height:auto;max-height:none}.play-scene--battle .combat-plan__body{max-height:none}.play-scene--battle .combat-plan footer{position:sticky;bottom:0;background:#fff9ec;z-index:2}.ability-library,.ability-inspector{padding:10px}.ability-skill-grid>button{padding:9px}.ability-inspector>header>.portrait-art{width:60px;height:60px}.ability-inspector h2{font-size:22px}}.battle-console__rings .soul-ring>span{display:none}.play-scene--battle .combat-order>button{flex-shrink:0;max-width:300px;white-space:nowrap}.play-scene--battle .combat-order>button>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.play-scene--battle .combat-order>button>i{flex:none;white-space:nowrap}.play-scene--battle .combat-plan header{padding:2px 8px 6px;flex:none}.play-scene--battle .combat-plan header h2{font-size:22px;line-height:1.3;margin:8px 38px 4px 0}.play-scene--battle .combat-plan__body{padding:6px 8px;scrollbar-gutter:stable}.play-scene--battle .combat-plan .combat-cost{margin:0 0 8px;padding:4px 0 8px;flex-wrap:wrap;gap:8px 16px}.play-scene--battle .combat-plan .combat-cost>div{flex:0 0 auto;gap:8px}.play-scene--battle .combat-plan .combat-cost dt,.play-scene--battle .combat-plan .combat-cost dd{white-space:nowrap}.play-scene--battle .combat-plan .cast-rank-panel{padding:8px;margin-bottom:8px}.play-scene--battle .combat-plan .cast-rank-panel p{font-size:12px;line-height:1.5;margin:0 0 6px}.play-scene--battle .combat-plan .cast-rank-panel strong{font-size:16px;margin-bottom:6px}.play-scene--battle .combat-plan .cast-rank-panel select{font-size:13px;padding:8px;min-height:44px}.play-scene--battle .combat-plan .cast-rank-panel small{font-size:12px;line-height:1.5;margin-top:6px}.play-scene--battle .combat-plan footer{padding:6px 4px}.play-scene--battle .combat-plan__verdict{padding:4px 8px}@media(min-width:1001px){.battle-console{padding:6px 10px;gap:5px 10px}.battle-console__tabs button{min-height:34px;padding:4px 10px}.battle-console__search input{height:36px;min-height:36px}.battle-console__choose{min-height:56px;padding:4px 8px 2px;gap:8px}.battle-console__choose b{font-size:15px;line-height:1.2}.battle-console__choose>span{gap:2px}.battle-console__choose small,.battle-console__choose em{font-size:12px;line-height:1.25}.battle-console__choose>.portrait-art,.battle-console__choose>.ui-icon{width:36px;height:36px}.battle-console__grid article>footer{min-height:24px;padding:0 6px 2px}.battle-console__grid article>footer>button{min-height:24px;padding:3px 8px}.battle-console__pager button{min-height:28px;padding:3px 10px}.battle-console__last-cast{padding:2px 6px}.play-scene--battle .combat-layout>.battle-intel .battle-intel__art{height:clamp(120px,17vh,195px)}.play-scene--battle .battle-intel__name h3{font-size:21px}.play-scene--battle .battle-intel__name{margin:8px 0}.play-scene--battle .combat-sidebar>.battle-intel{grid-template-columns:60px 1fr;gap:4px 10px;border-width:12px;padding:4px 8px 6px}.play-scene--battle .combat-sidebar>.battle-intel .battle-intel__art{height:60px;width:60px}.play-scene--battle .combat-sidebar .battle-intel>h2{font-size:20px;padding-bottom:6px}.play-scene--battle .combat-sidebar .battle-intel .meter{margin:2px 0}.play-scene--battle .combat-sidebar .battle-intel>.button{min-height:36px;border-width:7px}.play-scene--battle .combat-sidebar>.battle-recent-log{min-height:120px;flex:1;overflow:auto}}.battle-console__stale{grid-column:1/-1;display:flex;align-items:center;gap:12px;font-size:13px}.battle-console__stale button{min-height:36px;padding:5px 10px}@media(prefers-reduced-motion:reduce){.battle-console__rings .is-cast-source{animation:none;box-shadow:0 0 10px #e9ba49}}.creation-materials{min-width:0;max-height:360px;overflow:auto}.creation-material-row{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:12px;align-items:center;margin:8px 0}.creation-material-row span{min-width:0;overflow-wrap:anywhere}.creation-material-row small{display:block}.creation-material-row input{min-width:0;min-height:44px;width:100%}.personal-field-abilities select,.personal-field-abilities input[type=number],.combat-plan select{min-height:44px}.combat-branches>span{display:flex;align-items:center;gap:8px;min-width:0}.combat-branches button{min-height:44px;flex:1}.combat-branches label{display:inline-flex;align-items:center;gap:6px;min-height:44px;white-space:nowrap;cursor:pointer;font-size:12px}.combat-branches input[type=checkbox]{width:20px;height:20px;margin:0;flex:none}@media(max-width:720px){.combat-branches{display:grid;grid-template-columns:minmax(0,1fr)}}.modal.play-detail--workshop>.modal__body{overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-block:56px 24px}.atelier-submit{display:grid;justify-items:center;gap:6px;padding-block:8px}.atelier-submit>.button{width:min(330px,100%);min-height:48px;font-size:21px}.atelier-submit>small{font-size:12px;color:#79694f;text-align:center}.atelier-materials>.atelier-quantity{flex:none;margin-block:12px;gap:8px}.atelier-material-facts{line-height:1.7;overflow-wrap:anywhere}.atelier-material-facts summary{cursor:pointer;padding-block:10px;color:#785829}.atelier-material-facts .material-facts{display:flex;flex-direction:column;gap:10px}.inventory-detail-modal .relic-inspection{height:auto;overflow:visible}.inventory-detail-modal .relic-actions{position:static}@media(min-width:801px)and (max-height:500px){.relic-library{flex:none;min-height:400px}.relic-library .relic-collection{min-height:400px}}@media(max-width:800px),(max-height:500px){.modal.play-detail--workshop{height:96dvh;max-height:96dvh}.modal.play-detail--workshop>.modal__body{padding:0}.atelier-page{height:auto;min-height:100%;overflow:visible;padding:52px 10px max(20px,env(safe-area-inset-bottom))}.atelier-heading{display:flex;flex-wrap:wrap;height:auto;min-height:0;gap:12px;padding:0;margin-bottom:16px}.atelier-heading h1{font-size:36px}.atelier-heading small{display:none}.atelier-heading nav{flex:1;min-width:210px;min-height:44px}.atelier-heading nav button{font-size:16px;min-height:44px}.atelier-workbench{display:block;height:auto;overflow:visible}.atelier-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;min-height:0;gap:12px}.atelier-grid .fantasy-panel{height:auto;max-height:none;padding:10px;overflow:visible}.atelier-grid .atelier-canvas{overflow:visible!important}.atelier-materials .atelier-search{display:block}.atelier-material-grid{flex:none;grid-template-columns:repeat(4,minmax(0,1fr));max-height:180px;margin-top:8px}.atelier-material-grid>button{width:100%;height:92px;min-height:0;aspect-ratio:auto}.atelier-materials>.atelier-quantity{grid-template-columns:minmax(0,1fr) auto;align-items:center}.atelier-quantity label{gap:8px;white-space:nowrap}.atelier-quantity input{width:64px;min-width:0;flex:0 1 64px;min-height:44px}.atelier-quantity .button{padding:8px 12px;font-size:15px}.atelier-materials footer{padding-top:0}.atelier-categories{flex-wrap:wrap}.atelier-categories>button{flex-basis:calc(50% - 6px);font-size:17px;min-height:44px}.atelier-display{flex:none;height:112px;min-height:0;max-height:112px;margin-top:8px}.atelier-material-title{font-size:20px;overflow-wrap:anywhere}.atelier-attributes{flex-wrap:wrap;gap:5px}.atelier-attributes span{padding:3px 10px;font-size:13px}.atelier-selected-heading{align-items:center;margin-block:8px 4px;gap:6px}.atelier-selected-heading button{min-height:44px}.atelier-selected{height:auto;min-height:48px;flex-wrap:wrap}.atelier-intent textarea{font-size:16px!important;resize:vertical;scroll-margin-block:60px 100px}.atelier-quote{max-height:none;overflow:visible;font-size:14px}.atelier-submit{position:sticky;bottom:0;z-index:3;background:#fcf9f0f5;padding-bottom:max(8px,env(safe-area-inset-bottom))}.atelier-inspection{display:block}.atelier-inspection .atelier-closeup,.atelier-inspection .atelier-note{display:none}.atelier-inspection>h3{font-size:18px;margin:6px 0}}@media(max-width:800px){.relic-library,.relic-library:has(.relic-loadout){flex:none;min-height:auto}.relic-library .relic-collection{flex:none;min-height:0;overflow:visible}.relic-library .relic-grid{height:auto;flex:none;overflow:visible;max-height:none}.relic-collection__tools{flex-wrap:wrap}.relic-collection__tools label{flex:1;min-width:130px}.relic-loadout .button{min-height:40px}}.preset-soul-preview,.research-preset-preview{display:flow-root;margin:8px 0 14px}.preset-soul-preview>.portrait-art,.research-preset-preview>.portrait-art{float:left;width:110px;height:130px;object-fit:contain;margin:0 14px 8px 0}.research-preset-preview h3,.preset-soul-preview h3{font-size:20px}.atelier-categories{flex-wrap:wrap}.research-design-advisor{margin:12px 0;padding:14px;border:1px solid #bb9a5c;border-radius:6px;background:#fffaf0;overflow-wrap:anywhere}.research-design-advisor h3{margin:0 0 8px}.research-design-advisor>label{display:grid;gap:6px}.research-design-advisor textarea{width:100%;min-height:100px;resize:vertical;font-size:16px}.research-design-advisor .field-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.research-design-advisor .button{min-height:44px}.research-design-advisor article{border-top:1px solid #cbb58a;margin-top:12px;padding-top:8px}.play-scene--story .play-center{height:calc(100dvh - 108px);display:flex;flex-direction:column;overflow:visible;gap:10px}.play-center>.story-chat--tavern{height:auto;flex:1;min-height:0}.story-chat--tavern{height:min(780px,calc(100dvh - 108px));min-height:400px;max-width:none;width:100%;margin:0;padding:22px 26px;display:flex;flex-direction:column;overflow:hidden}.story-chat--tavern>.panel__head{flex:none;margin:0 0 12px;padding:0 0 14px;border-bottom:1px solid #ba9c5b40;gap:12px}.story-chat--tavern>.panel__head h2{font-size:26px;margin:0}.story-chat--tavern .story-chat__navigation>span{font-size:12px;line-height:1.6;text-align:right}.story-thread{display:flex;flex-direction:column;flex:1;min-height:0}.story-history-frame{position:relative;display:flex;flex-direction:column;flex:1;min-height:0}.story-chat--tavern .story-chat__history{flex:1;min-height:0;max-height:none;padding:4px 6px 18px;scrollbar-width:thin;overscroll-behavior:contain}.story-chat--tavern .story-chat__history article{padding:18px 0;border-bottom:1px solid #ae93572b}.story-chat__empty{height:100%;min-height:100px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#8c7958;gap:10px;padding:20px}.story-chat__empty>span{font:48px Georgia;color:#b99852;opacity:.7}.story-chat__empty>p{margin:0;font-size:14px;line-height:1.8}.story-message{display:flex;align-items:flex-start;gap:14px;min-width:0}.story-message+.story-message{margin-top:24px}.story-message>.avatar,.story-message__emblem{width:44px;height:44px;flex:0 0 44px;border:1px solid #bb9b5b66;border-radius:10px;background:#eee5d3;overflow:hidden}.story-message>.avatar img{object-fit:cover}.story-message__emblem{display:grid;place-items:center;font:28px Georgia;color:#9d7e3e;background:linear-gradient(140deg,#fbf7e9,#ede1c5)}.story-message>div{min-width:0;flex:1}.story-message header{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:8px;color:#654d2f}.story-message header strong{font-size:15px}.story-message header small{font-size:11px;color:#9a8b72}.story-chat--tavern .story-chat__input{margin:0;padding:10px 14px;background:#e9e3d378;border:1px solid #bba67a30;border-radius:0 10px 10px;color:#65553d;line-height:1.8;font-size:14px}.story-chat--tavern .story-chat__prose{color:#4d463a;font-size:15px;line-height:1.95}.story-chat__memory-action{margin-left:58px;font-size:11px;padding:5px 8px}.story-pending-turn{padding:10px 0 0 58px;font-size:13px;line-height:1.8}.story-chat--tavern .story-pending-turn>.button,.story-chat__regenerate{min-height:44px}.story-chat form.story-composer{flex:none;margin:0;padding-top:12px;border-top:1px solid #bba67a55;gap:8px;display:flex;flex-direction:column}.story-composer>label{font-size:12px;color:#8b795c}.story-chat .story-composer>textarea{min-height:72px;max-height:180px;resize:none;padding:10px 14px;background:#fffdf8cc;border:1px solid #c6b28a;border-radius:10px;color:#4e4436;font-size:14px;line-height:1.65}.story-composer__actions{display:flex;gap:10px;align-items:center}.story-composer__actions>.button{padding:9px 15px;font-size:14px;min-height:38px;white-space:nowrap}.story-composer__actions>.button--ghost{padding:8px;color:#8a7550}.story-composer__actions>small{flex:1;color:#94866f;font-size:11px;line-height:1.5}.story-composer>.muted{font-size:11px;margin:0}.story-chat__error{max-height:100px;overflow:auto;flex:none;color:#a94d36!important;font-size:12px;margin:8px 0}.story-settings-dialog{width:min(900px,96vw)}.story-chat.story-chat__tools{max-width:none;margin:0;padding:0;background:transparent;border:0;box-shadow:none}.story-chat__tools:before,.story-chat__tools:after{display:none}.story-chat__tools>.button{margin:4px}.story-chat__tools>details{margin-top:16px}.play-world-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px}.play-world-tools>button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:58px;padding:10px 6px;border:1px solid #b59451;border-radius:8px;background:linear-gradient(125deg,#fdf9ea,#eadbb8);color:#79592c;font:16px var(--serif);cursor:pointer;box-shadow:inset 0 0 0 3px #fff8e44d}.play-world-tools>button:hover{background:#f8edcf;box-shadow:0 3px 12px #86662d20}.play-world-tools .ui-icon{width:22px;height:22px}.modal.play-map-dialog{width:min(1420px,96vw);max-height:94dvh;height:90dvh}.play-map-dialog>.modal__body{padding:0;display:flex;flex-direction:column;flex:1}.play-map-dialog .atlas{min-height:0;margin:0;flex:1;display:flex;flex-direction:column}.play-map-dialog .atlas__canvas{flex:1;height:auto;min-height:260px}.play-map-dialog .atlas__terrain{height:100%;min-height:0}.play-map-dialog .atlas__details{display:block;min-height:0;flex:none;max-height:26dvh;overflow:auto;padding:16px 24px}.play-map-dialog .atlas__heading h1{font-size:30px}.play-map-dialog .atlas__heading p{display:none}.play-map-dialog .atlas__details h2{font-size:24px}.play-map-dialog .atlas__details>p{display:none}.modal.play-practice-dialog{width:min(680px,96vw);max-width:min(680px,96vw)}.play-practice-dialog .panel{padding:0;border:0;box-shadow:none;background:none;margin:0}.play-practice-dialog .panel:before,.play-practice-dialog .panel:after{display:none}.play-practice-dialog summary{display:none}.play-practice-dialog p{font-size:14px;line-height:1.8}.play-practice-dialog label{display:block;margin:18px 0 12px}.play-practice-dialog input{margin-top:6px}@media(max-width:800px){.play-scene--story .play-center{height:calc(100dvh - 158px);min-height:390px;order:0;width:100%}.play-scene--story .play-hero{order:1}.play-scene--story .play-cast{order:2}.play-scene--story .play-center>.story-chat--tavern{min-height:0;padding:16px}.story-chat--tavern>.panel__head h2{font-size:22px}.story-chat--tavern .story-chat__navigation>span{font-size:10px}.story-chat--tavern>.panel__head{margin-bottom:8px;padding-bottom:10px}.story-composer__actions>.button{font-size:13px;padding:8px 10px}.story-composer__actions>small{font-size:10px}.story-message{gap:9px}.story-message>.avatar,.story-message__emblem{width:34px;height:34px;flex-basis:34px;border-radius:8px}.story-chat--tavern .story-chat__prose{font-size:14px}.story-chat__memory-action{margin-left:43px}.story-pending-turn{padding-left:43px}.play-world-tools{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0;min-width:0}.play-world-tools>button{min-height:52px;min-width:58px;flex-direction:column;gap:3px;padding:6px 10px;font-size:12px;box-shadow:0 4px 16px #614e2d30;background:#faf3e0}.play-world-tools .ui-icon{width:18px;height:18px}.modal.play-map-dialog{width:100%;max-height:95dvh;height:92dvh}.play-map-dialog>.modal__body{padding:0}.play-map-dialog .atlas__canvas{min-height:240px}.play-map-dialog .atlas__heading{top:14px;left:14px}.play-map-dialog .atlas__heading h1{font-size:24px}.play-map-dialog .atlas__search{right:12px;top:15px;width:140px}.play-map-dialog .atlas__details{padding:14px;max-height:32dvh}.play-map-dialog .atlas__details h2{font-size:22px}}@media(max-width:720px){.play-scene.play-scene--story .play-center{order:0!important}.play-scene.play-scene--story .play-hero{order:1!important}.play-scene.play-scene--story .play-cast{order:2!important}}@media(max-width:420px){.story-chat--tavern>.panel__head{align-items:flex-start;flex-direction:column;gap:4px}.story-chat--tavern .story-chat__navigation>span{text-align:left}.play-scene--story .play-center>.story-chat--tavern{padding:14px 12px}.story-composer__actions{gap:4px}.story-composer__actions>small{font-size:9px}.story-chat .story-composer>textarea{padding:8px 10px;font-size:13px}}.play-scene--story .play-cast,.play-scene--story .play-hero{max-height:calc(100dvh - 108px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.play-scene--story .adventure-page{display:contents}.story-chat__messages{min-height:100%;overflow-anchor:none}.story-chat__history{overflow-anchor:none}.story-chat__latest{position:absolute;bottom:12px;left:12px;right:12px;width:max-content;z-index:2;margin:0 auto;font-size:12px;padding:8px 14px;min-height:44px;max-width:calc(100% - 24px);box-shadow:0 3px 12px #55452f24}.party-chat__history{overflow-anchor:none}.story-composer__actions>small{flex:1}.modal.play-activity-dialog{width:min(1480px,97vw);max-width:min(1480px,97vw);height:94dvh;max-height:94dvh}.play-activity-dialog>.modal__body{padding:14px;min-height:0;overflow:auto;overscroll-behavior:contain}.play-activity-dialog .combat-scene,.play-activity-dialog .dungeon-scene{max-width:none;margin:0;min-height:0}.play-activity-dialog .dungeon-map{height:clamp(360px,62dvh,820px)}.modal.play-activity-dialog{display:flex;flex-direction:column}.play-activity-dialog>header{flex-shrink:0}.play-activity-dialog>.modal__body{flex:1}.play-activity-dialog .competition-scene,.play-activity-dialog .world-scene{min-height:0;max-width:none;margin:0;padding:12px}.modal.play-competition-dialog{width:min(1480px,100%);max-width:100%;box-sizing:border-box}.play-competition-dialog>.modal__body{display:flex;flex-direction:column}.play-competition-dialog .competition-scene{flex:1;height:auto}.play-activity-dialog .competition-lobby{min-height:0;padding:28px 16px}.play-activity-dialog .competition-masthead h1,.play-activity-dialog .world-masthead h1{font-size:clamp(26px,3vw,40px)}.competition-venue-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px;text-align:left}.competition-venue-list>article{padding:18px;border:1px solid #cbb78c;border-radius:12px;background:#fffaf0}.competition-venue-list h3{font-size:20px;margin:0 0 8px}.competition-venue-list p{margin:8px 0}@media(max-width:650px){.competition-venue-list{grid-template-columns:1fr}.play-activity-dialog .competition-scene,.play-activity-dialog .world-scene{padding:4px}}.companion-card__portrait{display:block;width:72px;height:72px;flex:0 0 72px;border-radius:10px;overflow:hidden;background:transparent}.companion-card__portrait>.npc-portrait-art,.companion-card__portrait>.portrait-art,.companion-card__portrait>.relic-illustration{width:100%;height:100%;min-width:0;max-width:100%;object-fit:cover}.companion-card>div{flex:1;min-width:0;overflow-wrap:anywhere}@media(max-width:800px){.play-scene.play-scene--story{display:flex!important;flex-direction:column!important}.play-scene--story .play-cast,.play-scene--story .play-hero{max-height:none;overflow:visible}.play-activity-dialog>.modal__body{padding:6px}.play-activity-dialog>header h2{font-size:24px}}.play-scene.play-scene--story{display:grid;grid-template-columns:154px minmax(0,1fr) 252px;height:auto;min-height:0;align-items:start}.app-shell--play:has(.play-scene--story) .page-stage{min-height:0;height:auto}@media(max-width:1100px)and (min-width:801px){.play-scene.play-scene--story{grid-template-columns:120px minmax(0,1fr) 210px;gap:12px}}@media(max-width:800px){.play-scene.play-scene--story{display:flex!important;flex-direction:column!important}.play-scene--story .play-center{order:0!important}.play-scene--story .play-hero{order:1!important}.play-scene--story .play-cast{order:2!important}}.play-scene--story .play-cast__list{padding:0;gap:18px}.play-scene--story .play-cast{overflow-x:hidden}.play-scene.play-scene--story .play-cast__sheet>header h2{font-size:20px;line-height:1.45;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}.play-scene.play-scene--story .play-cast__list>.play-person{width:100%;min-width:0;height:auto;min-height:0;padding:2px 0;background:transparent;border:0;border-radius:0;box-shadow:none}.play-scene--story .play-person__art{width:min(82px,100%);height:auto;aspect-ratio:1;flex:none}.play-scene--story .play-person b{font-size:16px;line-height:1.5}.play-scene--story .play-person small{display:none}.play-scene--story .play-hero{min-width:0;overflow-x:hidden}.play-scene--story .play-hero__links{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}.play-scene--story .play-hero__links button{min-width:0;min-height:44px;padding:8px 6px;white-space:normal;gap:5px;line-height:1.45}.play-scene--story .play-shortcut-label{min-width:0;white-space:normal;overflow-wrap:anywhere}.play-scene--story .play-hero__links .ui-icon{width:16px;height:16px;flex:0 0 16px}@media(max-width:1100px)and (min-width:801px){.play-scene--story .play-hero__links{grid-template-columns:minmax(0,1fr)}}@media(max-width:800px){.play-scene.play-scene--story .play-cast__list>.play-person{width:82px;min-width:82px;flex:0 0 82px}.play-scene--story .play-person__art{width:62px}.play-scene--story .play-cast__list{padding:4px 0;overflow-x:auto}}.play-scene--story .play-hero__identity strong{white-space:normal;overflow-wrap:anywhere}.creation-items-modal label{display:grid;gap:.4rem;min-width:0;margin:.7rem 0}.creation-items-modal input,.creation-items-modal select,.creation-items-modal textarea{max-width:100%;min-width:0}.creation-items-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem}.creation-items-modal .creation-items-checkbox{display:flex;align-items:center;gap:.5rem}.creation-items-checkbox input{width:auto}.creation-items-modal h3,.creation-items-modal h4,[data-testid=creation-items-summary]{overflow-wrap:anywhere}@media(max-width:600px){.creation-items-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:800px){.play-scene--story .play-hero{grid-template-columns:repeat(2,minmax(0,1fr))}.play-scene--story .play-hero__vitals,.play-scene--story .play-services{min-width:0}}.play-scene.play-scene--story .play-center{height:auto;min-height:calc(100dvh - 108px)}.play-scene--story .play-center>.story-chat--tavern{flex:1 0 auto;height:clamp(480px,calc(100dvh - 260px),980px);min-height:480px}@media(max-width:800px){.play-scene.play-scene--story .play-center{min-height:calc(100dvh - 158px)}}.play-scene--opening{visibility:hidden}.opening-recall{font-size:14px;margin:0 0 16px}.opening-recall>summary{cursor:pointer;min-height:44px;line-height:44px}@media(max-width:800px),(hover:none)and (pointer:coarse){.story-chat--tavern .story-composer__actions>.button,.communication-dialog .story-composer__actions>.button,.communication-dialog .party-chat>form>.button{min-height:44px}}.worn-restraints{margin:1rem 0;padding:1rem;border:1px solid var(--border,#d7c9ab);border-radius:12px;background:#fffcf4e0;min-width:0}.worn-restraints>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}.worn-restraints h2{font-size:1.15rem;margin:0}.worn-restraints>header>span{font-size:.85rem;color:var(--muted,#756a55)}.worn-restraints__item+.worn-restraints__item{border-top:1px solid var(--border,#d7c9ab)}.worn-restraints__summary{display:flex;align-items:center;gap:.8rem;width:100%;min-height:72px;padding:.65rem 0;text-align:left;border:0;background:transparent;color:inherit;cursor:pointer}.worn-restraints__summary>.relic-art{width:58px;height:58px;flex:0 0 58px}.worn-restraints__summary>span:first-of-type{display:grid;gap:.25rem;min-width:0;flex:1}.worn-restraints__summary b,.worn-restraints__summary small,.worn-restraints__detail p{overflow-wrap:anywhere}.worn-restraints__summary small{color:var(--muted,#756a55)}.worn-restraints__detail{padding:.5rem 0 1rem;min-width:0}.worn-restraints__actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:end}.worn-restraints__actions>p,.worn-restraints__actions>details{flex-basis:100%}.worn-restraints select,.worn-restraints input{min-height:44px;max-width:100%}.worn-restraints button.button{min-height:44px}@media(max-width:600px){.worn-restraints{padding:.8rem}.worn-restraints__summary{gap:.6rem}.worn-restraints__actions>label{width:100%}}.play-custody-dialog input:not([type=checkbox]),.play-custody-dialog select{min-height:44px;max-width:100%;min-width:0}.play-custody-dialog label{min-width:0}.play-world-tools .play-world-tools__map{grid-column:1/-1;min-height:46px}.play-world-tools>button{position:relative;min-width:0;min-height:54px;font-size:15px;white-space:nowrap}.play-tool-badge{position:absolute;right:7px;top:5px;min-width:17px;height:17px;border-radius:9px;padding:1px 4px;background:#53685a;color:#fff9eb;font:10px/15px sans-serif}.play-hero__links>button:last-child:nth-child(odd){grid-column:1/-1}.play-hero__identity>span:nth-child(2){min-width:0}.play-hero__identity strong{font-size:clamp(20px,2vw,27px);word-break:normal;overflow-wrap:break-word}.play-mobile-tools{display:none}.modal-backdrop>.modal.play-custody-dialog{width:min(1120px,calc(100vw - 48px));max-width:1120px;height:min(820px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:24px 28px;background:#fcfaf3}.play-custody-dialog>header{margin:0;padding:0 0 16px;border-bottom:1px solid #b69b6540}.play-custody-dialog>header h2{font-size:27px}.play-custody-dialog>.modal__body{flex:1;min-height:0;padding:0;overflow:hidden}.captivity{height:100%;min-height:0;display:grid;grid-template-columns:212px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:26px}.captivity__nav{grid-column:1/-1;display:flex;gap:24px;padding:0 0 2px;border-bottom:1px solid #b69b6533}.captivity__nav>button{position:relative;display:flex;align-items:center;gap:7px;min-height:55px;padding:10px 4px;border:0;border-bottom:3px solid transparent;background:none;color:#86775f;font:16px var(--serif);cursor:pointer}.captivity__nav>button[aria-current]{border-bottom-color:#7b6234;color:#3f5144;font-weight:600}.captivity__badge{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:12px;background:#53685a;color:#fff;font:11px sans-serif;padding:0 5px}.captivity__roster{min-height:0;overflow:auto;padding:22px 18px 22px 0;border-right:1px solid #b69b6526}.captivity__roster>header{display:flex;justify-content:space-between;color:#8c7e64;font-size:12px;padding:0 5px 14px}.captivity__person{display:flex;gap:10px;align-items:center;width:100%;min-height:77px;padding:12px 10px;margin-bottom:8px;text-align:left;border:1px solid transparent;border-radius:9px;background:none;color:#5b503f;cursor:pointer}.captivity__person[aria-pressed=true]{border-color:#c9b17d;background:#ede5d2}.captivity__person>.portrait-art{width:42px;height:48px;flex:0 0 42px}.captivity__person>span{min-width:0;display:flex;flex:1;flex-direction:column;gap:7px}.captivity__person strong{font-size:15px;overflow-wrap:anywhere}.captivity__person small{font-size:11px;color:#8c7d61}.captivity__person em{font-style:normal;font-size:10px;color:#6c7d63}.captivity__workspace{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 6px 24px 0;scrollbar-width:thin}.captivity:not(:has(.captivity__roster)) .captivity__workspace{grid-column:1/-1}.captivity__view[hidden],.captivity__workspace section[hidden]{display:none}.captivity__section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.captivity__section-head small{font-size:11px;letter-spacing:.1em;color:#947d54}.captivity__section-head h3{font:500 29px/1.5 var(--serif);margin:5px 0 3px}.captivity__section-head p{margin:0!important;color:#8c7f69;font-size:12px!important}.captivity__state{flex:none;border:1px solid #c2b38e;border-radius:20px;padding:5px 12px;background:#f1ecdf;color:#79623e;font-size:11px}.captivity__condition{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1fr);gap:22px;padding:16px 18px;background:#f2eee4;border-radius:9px;margin-bottom:20px}.captivity__vitals{display:flex;flex-direction:column;gap:12px}.captivity__condition p{font-size:12px!important;margin:3px 0!important}.captivity__subnav{display:flex;gap:20px;border-bottom:1px solid #b69b6540;margin:22px 0 20px}.captivity__subnav button{border:0;border-bottom:2px solid transparent;background:none;min-height:44px;padding:8px 3px;color:#8c7f69;font-size:14px;cursor:pointer}.captivity__subnav button[aria-current]{border-color:#53705c;color:#3f5947;font-weight:600}.captivity .panel{padding:0;background:none;border:0;box-shadow:none;margin:0}.captivity .panel:before,.captivity .panel:after{display:none}.captivity .panel__head{display:none}.captivity h3{font-size:20px}.captivity h4{font-size:16px;margin:0 0 12px}.captivity p{font-size:13px;line-height:1.8;margin:9px 0;overflow-wrap:anywhere}.captivity label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#8b7b61;margin:12px 0;min-width:0}.captivity label:has(input[type=checkbox]){flex-direction:row;align-items:center}.captivity input:not([type=checkbox]),.captivity select,.captivity textarea{width:100%;min-width:0;min-height:44px;background:#fffdf8;border:1px solid #d5c7a9;border-radius:6px;padding:9px 11px;color:#544733;font-size:14px}.captivity input[type=checkbox]{flex:none;width:16px;height:16px}.captivity fieldset{border:1px solid #d5c7a955;border-radius:7px;padding:12px 16px;margin:15px 0}.captivity fieldset legend{font-size:12px;color:#8a7958}.captivity .button{min-height:44px;font-size:13px;padding:9px 14px;white-space:normal}.captivity .field-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}.captivity__task{padding:17px 19px;border:1px solid #c6b48477;border-radius:9px;margin:16px 0;background:#f6f1e6}.captivity__drawer,.captivity__workspace details{border:0;border-top:1px solid #b69b6533;padding:15px 0;margin:0}.captivity__workspace summary{cursor:pointer;min-height:30px;font-size:14px;color:#68583d}.captivity__workspace article{padding:16px 0;border-bottom:1px solid #b69b6526;margin:0}.captivity__empty{color:#968970;padding:16px 4px}.captivity__welcome{height:100%;min-height:320px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#8b7b5e;padding:30px}.captivity__welcome>span{font-size:45px;color:#bfaa79}.captivity__welcome h3{font:24px var(--serif)}.captivity__welcome p{max-width:340px}.captivity__notice{color:#3e6a4a;background:#e9efe5;border-radius:5px;padding:10px 12px}.captivity .worn-restraints{padding:0;border:0;background:none}.captivity .worn-restraints>header h2{font-size:16px}.captivity .worn-restraints__summary{background:#f7f3e9;border-radius:8px;padding:12px}.captivity .worn-restraints__detail{padding:15px;background:#fffdf8;border:1px solid #d5c7a94d;border-radius:8px;margin-top:8px}.captivity .worn-restraints__actions{padding:0}.captivity .worn-restraints__summary small{font-size:12px}.captivity__rooms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.captivity__room{border:1px solid #d5c7a9!important;border-radius:8px;padding:15px!important;background:#fffdf8}.captivity__room h4{font-size:15px}.captivity__facility-title{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:14px 0}.captivity__facility-title strong{font:20px var(--serif)}.captivity__facility-title small{color:#8a7958;font-size:12px}@media(max-width:800px){.play-mobile-tools{display:block;grid-column:1/-1;min-width:0;width:100%;align-self:stretch;order:-2}.play-mobile-tools .play-world-tools{display:flex;width:100%;max-width:none;gap:5px;margin:0 0 8px}.play-mobile-tools .play-world-tools>button{flex:1;min-width:44px;min-height:48px;padding:6px 5px;box-shadow:none;font-size:12px}.play-mobile-tools .play-tool-badge{right:1px;top:1px;min-width:14px;height:14px;font-size:8px;line-height:12px}.play-scene--story .play-center{height:calc(100dvh - 170px)}.modal-backdrop>.modal.play-custody-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:16px;border-radius:0}.play-custody-dialog>header{padding-bottom:10px}.play-custody-dialog>header h2{font-size:23px}.captivity{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:0}.captivity__nav{gap:0;justify-content:space-between}.captivity__nav>button{font-size:14px;min-height:48px;padding:10px 9px}.captivity__roster{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;padding:12px 0;border-right:0;border-bottom:1px solid #b69b6533}.captivity__roster>header{display:none}.captivity__person{width:auto;flex:0 0 auto;min-height:57px;padding:8px 10px;margin:0;gap:7px}.captivity__person>.portrait-art{width:30px;height:35px;flex-basis:30px}.captivity__person strong{font-size:13px}.captivity__person small{font-size:10px}.captivity__person em{display:none}.captivity__person>span{gap:3px}.captivity__workspace{padding:18px 0 22px}.captivity:not(:has(.captivity__roster)){grid-template-rows:auto minmax(0,1fr)}.captivity__section-head{gap:8px;margin-bottom:14px}.captivity__section-head h3{font-size:25px}.captivity__condition{grid-template-columns:1fr;gap:13px;padding:13px}.captivity__vitals{gap:9px}.captivity__subnav{margin:17px 0 14px;justify-content:space-between;gap:0}.captivity__subnav button{padding:8px 14px}.captivity__task{padding:14px}.captivity__rooms{grid-template-columns:1fr}.captivity__welcome{min-height:250px;padding:20px}.captivity .button{padding:9px 12px}.captivity__state{padding:4px 9px;font-size:10px}}.play-scene.play-scene--story .play-hero__identity strong{font-size:25px;overflow-wrap:break-word;word-break:normal;line-height:1.35}.captivity__task .field-actions>select{width:auto;min-width:96px}.captivity__section-head h3{font-size:29px}.captivity__condition:empty{display:none}@media(max-width:800px){.modal-backdrop:has(>.play-custody-dialog){padding:0}.play-scene.play-scene--story .play-center{height:calc(100dvh - 170px);min-height:390px}.captivity__section-head h3{font-size:25px}}.captivity__artifact{display:flex;gap:22px;align-items:center;margin:0 0 20px;padding:18px;background:#f2eee4;border-radius:10px}.captivity__artifact>.portrait-art{width:115px;height:150px;flex:0 0 115px}.captivity__artifact h4{font:22px var(--serif);margin-bottom:15px}.captivity__artifact p{color:#8b7a5d}.captivity>p[role=status]{grid-column:1/-1}.captivity>p[role=alert]{grid-column:1/-1}.creation-quick{width:100%;max-width:1120px;margin:0 auto;padding:20px 14px 36px;display:grid;gap:22px;overflow-wrap:anywhere}.creation-quick-heading{text-align:center;padding:12px 0}.creation-quick-heading h1{font:500 clamp(30px,4vw,48px) var(--serif);margin:12px 0}.creation-quick-heading p{max-width:640px;margin:0 auto;color:var(--muted);line-height:1.8}.creation-quick .background-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.creation-quick .background-cards button{min-width:0;padding:16px;text-align:left}.creation-quick .background-cards button strong{font-size:18px}.creation-quick .background-cards button p{font-size:13px;line-height:1.7;margin:7px 0;min-height:44px}.creation-quick .background-cards button small{display:none}.creation-quick fieldset{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0}.creation-quick-ready{background:linear-gradient(135deg,#fffdf6,#f7f0df);border:1px solid #cbb98c;border-radius:12px;padding:26px;box-shadow:0 8px 28px #4936140a}.creation-quick-identity{display:grid;grid-template-columns:110px minmax(0,1fr);gap:26px;align-items:center;max-width:710px;margin:auto}.creation-quick-identity>img{width:110px;height:148px;object-fit:contain}.creation-quick-identity h2{font:500 26px var(--serif);margin:7px 0 18px}.creation-quick-identity label{display:grid;gap:8px;max-width:360px}.creation-quick input{max-width:100%;min-width:0}.creation-quick-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;padding:22px 0;border-top:1px solid #cbb98c66;border-bottom:1px solid #cbb98c66;margin:24px 0}.creation-quick-facts>div{min-width:0}.creation-quick-facts dt{font-size:12px;color:var(--muted);margin-bottom:6px}.creation-quick-facts dd{margin:0;font-size:16px;line-height:1.7}.creation-quick-notice{padding:12px 16px;background:#ede2c955;border-left:3px solid #baa275;line-height:1.8}.creation-quick-launch{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:22px}.creation-quick-launch>.button{min-width:200px}.creation-quick-launch>span{font-size:12px;color:var(--muted)}.creation-quick-option-buttons,.creation-item-tabs,.creation-item-host-actions{display:flex;gap:10px;flex-wrap:wrap}.creation-quick-options p{color:var(--muted);font-size:14px}.creation-item-tabs{margin:20px 0}.creation-item-tabs .button{min-width:0;overflow-wrap:anywhere}.creation-item-host{line-height:1.8}.creation-item-host h3{font:500 24px var(--serif);margin:22px 0 8px}.creation-item-host textarea{min-height:120px}.creation-item-proposal{padding:18px;margin-top:22px;border:1px solid #cbb98c;background:#fffbed;border-radius:8px}.creation-item-proposal article{padding:12px 0;border-bottom:1px solid #cbb98c55}.creation-item-proposal .button{margin-top:14px;margin-right:10px}.creation-item-details{margin:14px 0;padding:12px;border:1px solid #cbb98c66;border-radius:6px}.creation-item-details>summary{cursor:pointer;font-weight:600}.awakening>.button[data-testid=creation-advanced-close]{grid-column:1/-1;justify-self:start}.background-ring>summary{cursor:pointer;font-size:18px;line-height:1.6;padding:14px 0}.background-ring>summary small{font-size:13px;color:var(--muted)}@media(max-width:650px){.creation-quick{padding:6px 0 24px;gap:14px}.creation-quick .background-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.creation-quick .background-cards button{padding:12px}.creation-quick .background-cards button strong{font-size:15px}.creation-quick .background-cards button p{font-size:12px;min-height:0}.creation-quick-ready{padding:18px 14px}.creation-quick-identity{grid-template-columns:62px minmax(0,1fr);gap:12px}.creation-quick-identity>img{width:62px;height:100px}.creation-quick-identity h2{font-size:20px}.creation-quick-facts{gap:15px}.creation-quick-facts dd{font-size:14px}.creation-quick-launch{flex-wrap:wrap}.creation-quick-launch>.button{width:100%}.creation-quick-option-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.creation-quick-option-buttons>.button{min-width:0;font-size:13px;padding:10px}.creation-items-modal{max-width:calc(100vw - 16px)}.creation-item-tabs .button{font-size:13px}.creation-item-host h3{font-size:22px}}.creation-quick{min-width:0;box-sizing:border-box}.creation-quick .background-cards button{background:#fbf7ec;color:#4b3a25;border:1px solid #cfbe98}.creation-quick .background-cards button p{color:#75654d}.creation-quick .background-cards button[aria-pressed=true]{background:#efe2bf;border-color:#a88c4d;box-shadow:inset 0 0 0 1px #a88c4d}.creation-quick-story{font-size:14px;line-height:1.8;color:#75654d;margin:20px 0 0}@media(max-width:650px){.creation-quick .background-cards button{min-height:58px;display:flex;align-items:center}.creation-quick .background-cards button p{display:none}.creation-quick-heading p{font-size:13px;padding:0 12px}}.creation-detailed{display:flex;flex-direction:column;height:100%;min-height:0;gap:12px}.creation-detailed>.button{align-self:flex-start}.creation-detailed>.awakening{flex:1;min-height:0}@media(max-width:800px){.creation-detailed{height:auto}}.subject-figure-chooser{min-width:0;margin:18px 0;padding:14px;border:1px solid #cbb98c88;border-radius:8px}.subject-figure-chooser>summary{cursor:pointer;line-height:1.7;font-weight:600}.subject-figure-chooser__preview{display:flex;align-items:center;gap:20px;padding:18px 0}.subject-figure-chooser__preview>img{width:100px;height:150px;object-fit:contain}.subject-figure-chooser__preview p{color:var(--muted)}.subject-figure-chooser__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;max-height:360px;overflow:auto;padding:2px}.subject-figure-chooser__grid>button{min-width:0;min-height:44px;padding:8px;border:1px solid #cfbe98;border-radius:6px;background:#fbf7ec;color:#4b3a25;cursor:pointer}.subject-figure-chooser__grid>button[aria-pressed=true]{border-color:#9d7736;background:#efe2bf;box-shadow:inset 0 0 0 1px #a88c4d}.subject-figure-chooser__grid img{display:block;width:100%;height:130px;object-fit:contain}.subject-figure-chooser__grid span{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.subject-figure-chooser__grid>button:disabled{cursor:default;opacity:.65}.awakening__body>.subject-figure-chooser{flex:0 0 auto;max-height:min(420px,50vh);overflow:auto}@media(max-width:650px){.subject-figure-chooser__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-figure-chooser__preview{gap:12px}}.opening-actions{padding:1rem;border:1px solid #cbb98c;border-radius:1rem;background:#fffdf6f5;color:#4b3a25;margin:0 0 1rem}.opening-actions p{margin:.35rem 0}.opening-actions__buttons{display:flex;flex-wrap:wrap;gap:.6rem}.opening-actors__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.opening-actors__cards .field-actions{flex-wrap:wrap}.opening-actors__cards fieldset{display:flex;flex-direction:column;gap:.6rem}.opening-canon-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.opening-canon-list article{padding:.8rem;border:1px solid rgba(217,184,111,.25);border-radius:.7rem}.opening-actor-editor{width:min(1100px,96vw)}.opening-actor-editor .background-attributes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.opening-actor-editor input,.opening-actor-editor textarea{max-width:100%}@media(max-width:650px){.opening-actors__cards,.opening-canon-list{grid-template-columns:1fr}.opening-actions__buttons>.button{flex:1 1 44%}.opening-actor-editor .background-attributes{grid-template-columns:repeat(2,minmax(0,1fr))}}.opening-canon-picker .field-actions{display:flex;flex-wrap:wrap;gap:.5rem}.opening-canon-picker .button{min-height:44px;white-space:normal}.opening-canon-picker>footer{flex-shrink:0;display:flex;flex-wrap:wrap}.opening-canon-picker>footer>.button{min-width:0;overflow-wrap:anywhere}@media(max-width:650px){.opening-canon-picker .field-actions>.button{flex:1 1 100%}.opening-canon-picker>footer>.button{flex:1 1 100%}}.opening-workshop{display:grid;gap:1rem;min-width:0}.opening-workshop p{overflow-wrap:anywhere}.opening-workshop__editor{scroll-margin-top:1rem;min-width:0}.opening-workshop label{display:grid;gap:.35rem;min-width:0}.opening-workshop input,.opening-workshop select,.opening-workshop textarea{max-width:100%;min-width:0;width:100%;box-sizing:border-box}.opening-workshop input:not([type=checkbox]):not([type=radio]),.opening-workshop select{min-height:44px}.opening-workshop textarea{min-height:5rem;resize:vertical}.opening-workshop fieldset{min-width:0;border:1px solid #b89c6450;border-radius:.7rem;padding:.85rem}.opening-workshop__tabs,.opening-workshop__actions{display:flex;flex-wrap:wrap;gap:.5rem}.opening-workshop__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.75rem;margin:.75rem 0}.opening-workshop label.opening-workshop__check{display:flex;align-items:center;gap:.5rem}.opening-workshop__check input{width:auto;flex:none}.opening-workshop__branch{margin:1rem 0}.opening-workshop__node,.opening-workshop__saved,.opening-workshop__proposal{padding:.8rem;margin:.75rem 0;border:1px solid #b89c6438;border-radius:.65rem;background:#10182138}.opening-workshop__node-head{display:flex;justify-content:space-between;gap:.5rem;align-items:center;flex-wrap:wrap}.opening-workshop__advanced{margin:.75rem 0}.opening-workshop__advanced summary{cursor:pointer;margin-bottom:.65rem}.opening-workshop__advanced textarea{font:12px/1.5 monospace;min-height:8rem}.opening-workshop__preview{display:flex;gap:1rem;align-items:flex-start;padding:1rem;border:1px solid #d5b46766;border-radius:.85rem;background:#b89c6410}.opening-workshop__preview .relic-art{width:100px;height:100px;flex:none}.opening-workshop__preview h3{margin-top:0}.opening-workshop__total{border-top:1px solid #b89c6440;padding-top:.8rem}@media(max-width:540px){.opening-workshop>.panel{padding:.65rem}.opening-workshop__node{padding:.55rem}.opening-workshop__preview{gap:.6rem;padding:.7rem}.opening-workshop__preview .relic-art{width:64px;height:64px}.opening-workshop__tabs .button{flex:1 1 40%}.opening-workshop__actions .button{max-width:100%}.opening-workshop fieldset{padding:.5rem}}.app-shell--creation .creation-detailed{height:auto;min-height:100%;gap:12px}.app-shell--creation .creation-detailed>.awakening{flex:none;height:auto;min-height:520px;grid-template-rows:96px auto;align-items:start}.app-shell--creation .creation-detailed .awakening__body{overflow:visible;overscroll-behavior:auto}.app-shell--creation .creation-detailed .awakening__sidebar{align-self:start;max-height:none;overflow:visible}.app-shell--creation .creation-detailed .awakening-budget{flex:none;overflow:visible}.app-shell--creation .creation-detailed .awakening__actions{position:sticky;bottom:0;background:#fff9eff5;z-index:8}.creation-detailed>.opening-actions{margin:0;padding:12px 16px}.opening-actors--compact{display:grid;gap:8px;min-width:0}.opening-actors__summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.opening-actor-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 14px;border:1px solid #cbb98c;border-radius:9px;background:#fffaf0f5;min-width:0}.opening-actor-summary>div{flex:1 1 170px;min-width:0}.opening-actor-summary strong,.opening-actor-summary span{display:block;overflow-wrap:anywhere}.opening-actor-summary strong{font-size:16px}.opening-actor-summary span{font-size:14px;line-height:1.7;color:#75654d}.opening-actors--compact>.button{justify-self:start}.opening-actors__summary .button{min-height:44px;white-space:normal;font-size:14px}.opening-actors-settings{width:min(1100px,96vw)}.model-task-status,.creation-calculation{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;border:1px solid #a18bc0;border-radius:9px;background:#f6f0ff;color:#4f396d;min-width:0}.model-task-status>div{flex:1 1 180px;min-width:0}.model-task-status strong{font-size:16px}.model-task-status p{font-size:14px;line-height:1.6;margin:4px 0;overflow-wrap:anywhere}.model-task-status small{font-size:14px}.page-stage>.model-task-status{position:sticky;top:0;z-index:24;margin-bottom:12px;box-shadow:0 3px 14px #4f396d1a}.model-task-status .loading-ring,.creation-calculation .loading-ring{width:22px;height:22px;flex:none}.model-task-status .button,.creation-calculation .button{min-height:44px;min-width:44px}.creation-calculation{margin:12px 0;border-color:#9cb4c9;background:#f1f7fc;color:#35546e;font-size:15px}.creation-calculation>span:not(.loading-ring){flex:1 1 180px}:is(.creation-detailed,.opening-actor-editor) :is(.soul-editor__section>p,.soul-editor__investment-note,.soul-editor__investment-heading small,.awakening-save small,.awakening-hint,.soul-editor__verdict,.soul-trait-description,.background-ring small){font-size:14px;line-height:1.75}.creation-detailed :is(input,select,textarea),.opening-actor-editor :is(input,select,textarea){font-size:16px}.creation-detailed :is(button,select,input:not([type=checkbox]):not([type=radio]):not([type=range])),.opening-actor-editor :is(button,select,input:not([type=checkbox]):not([type=radio]):not([type=range])){min-height:44px}.creation-detailed .awakening-budget__number{flex-wrap:wrap;gap:6px}.creation-detailed .awakening-budget__number strong{font-size:clamp(30px,3.2vw,48px)}.creation-detailed .awakening-workbench{align-items:start}.creation-detailed .awakening-workbench__editor,.creation-detailed .awakening-advisor{min-width:0}.background-history-actor{margin-block:16px}.background-history-actor>header{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.background-history-actor h3{margin:4px 0;font-size:20px}.background-history-actor p{font-size:15px;line-height:1.75}.background-history-actor .button{min-height:44px}@media(max-width:800px){.opening-actors__summary{grid-template-columns:1fr}.opening-actor-summary{padding:10px}.opening-actor-summary>div{flex-basis:100%}.app-shell--creation .creation-detailed>.awakening{display:flex;min-height:0;height:auto;gap:12px}.app-shell--creation .creation-detailed .awakening__sidebar{align-self:stretch;max-height:none}.app-shell--creation .creation-detailed .awakening-budget{overflow:visible}:is(.creation-detailed,.opening-actor-editor) .soul-editor__identity{grid-template-columns:1fr}:is(.creation-detailed,.opening-actor-editor) .soul-editor__base{grid-template-columns:1fr}.model-task-status>.button{width:100%}.model-task-status{padding:10px}}.opening-actors-settings .button{min-height:44px;font-size:14px}.opening-actors-settings fieldset label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px}.opening-actors-settings input[type=checkbox]{width:20px;height:20px;flex:none}:is(.creation-detailed,.opening-actor-editor) .soul-editor__investment-control{grid-template-columns:44px minmax(0,1fr) 44px}:is(.creation-detailed,.opening-actor-editor) .soul-editor__investment-control>button{width:44px;min-width:44px;height:44px}:is(.creation-detailed,.opening-actor-editor) .icon-button{min-width:44px}.awakening-souls>.creation-calculation,.awakening-souls>.awakening-error{position:sticky;top:0;z-index:22}.awakening-souls>.awakening-error{background:#fff4e9;border:1px solid #ca8552;padding:12px;border-radius:8px}.awakening-souls--scoped .awakening-workbench{grid-template-columns:minmax(0,1fr)}.opening-acquisition{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0;font-size:16px}.opening-acquisition select{font-size:16px;min-height:44px}@media(max-width:720px){.awakening-souls__tabs [role=tab]{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:100px}.awakening-souls__tabs [role=tab] small,.awakening-souls__tabs [role=tab] span{white-space:normal;word-break:normal;overflow-wrap:anywhere}.awakening-souls__tabs [role=tablist]{overflow-x:auto}}.modal__action-host{display:contents}.modal>footer:not([data-has-actions]):has(>.modal__action-host:empty){display:none}.modal>footer{background:#fcf8ee;max-height:40dvh;overflow:auto;overscroll-behavior:contain}.modal-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:10px 0;background:#fcf8ee;position:sticky;bottom:0;z-index:6;flex:none}.modal-actions--docked{position:static;padding:0;flex:1;min-width:0}.modal-actions[inert]{opacity:.55;pointer-events:none}.modal-actions>strong,.modal-actions>small,.modal-actions>span{margin-right:auto;min-width:0;overflow-wrap:anywhere}.modal-actions>.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;white-space:normal}.modal-actions .dungeon-symbol{width:24px;height:24px;flex:0 0 24px}.modal-actions .ui-icon{width:20px;height:20px;flex:0 0 20px}.modal__body{scrollbar-width:auto;scrollbar-gutter:stable;scroll-padding-block:16px}.play-hero .play-world-tools{position:sticky;top:0;z-index:7;background:#faf5e7;padding:8px 0}.play-world-tools .play-world-tools__recover{grid-column:1/-1;min-height:62px;background:linear-gradient(120deg,#e6edcf,#f9f5df);border:2px solid #7a9156;color:#375c3d;white-space:normal;text-align:left}.play-world-tools__recover>span{display:grid;gap:3px}.play-world-tools__recover small{font:12px/1.5 var(--serif);color:inherit}.play-world-tools__recover:disabled{cursor:default;opacity:.7}.play-world-tools__recover:focus-visible{outline:3px solid #55783e;outline-offset:2px}.play-competition-dialog>.modal__body{overflow:hidden}.play-competition-dialog .competition-scene{height:100%;min-height:0;overflow:hidden}.play-competition-dialog .competition-body{overflow:auto;overscroll-behavior:contain}.play-competition-dialog .competition-action,.play-competition-dialog .competition-masthead{flex:none}.play-competition-dialog .competition-lobby{overflow:auto;min-height:0}.competition-action .competition-compact-links{flex-basis:100%;order:3;margin:0}.play-battle-dialog .combat-header{position:sticky;top:-14px;z-index:8;background:#fcf8ee}.play-expedition-dialog>.modal__body{display:flex;overflow:hidden}.play-expedition-dialog .play-activity-dialog__scene{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.play-expedition-dialog .dungeon-atlas{display:flex;flex-direction:column;flex:1;min-height:0;height:auto;overflow:hidden}.play-expedition-dialog .dungeon-chart{display:flex;flex-direction:column;flex:1;min-height:0}.play-expedition-dialog .dungeon-heading{flex:none;padding:10px 14px;gap:12px}.play-expedition-dialog .dungeon-heading h1{font-size:23px}.play-expedition-dialog .dungeon-heading>p{display:none}.play-expedition-dialog .dungeon-heading>.dungeon-symbol{width:40px;height:40px;flex:none}.play-expedition-dialog .dungeon-map{height:auto;min-height:100px;flex:1}.play-expedition-dialog .dungeon-legend{flex:none;max-height:40px;overflow:auto;padding:6px}.play-expedition-dialog .dungeon-room{height:auto;min-height:0;max-height:36%;flex:0 1 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:10px 14px;overflow:hidden}.play-expedition-dialog .dungeon-room__story{height:auto;min-height:0;padding-left:0}.play-expedition-dialog .dungeon-room__vignette{display:none}.play-expedition-dialog .dungeon-room__title h2{white-space:normal;font-size:20px}.play-expedition-dialog .dungeon-room__controls{min-height:0;justify-content:flex-start;overflow:auto}.play-expedition-dialog .dungeon-loot{overflow:auto;min-height:0}.play-expedition-dialog .dungeon-room__controls:empty{display:none}.play-map-dialog .atlas__canvas{min-height:120px}.play-map-dialog .atlas__details{max-height:25dvh;scrollbar-width:auto}.modal-actions .atlas__services{display:contents}.modal-actions .atlas-action-mode{display:flex;align-items:center;gap:8px;font-size:14px;margin:0}.atlas-action-mode select{min-height:44px;width:auto;max-width:150px}.modal-actions .atlas__services>.button{width:auto;margin:0}.creation-quick>.creation-quick-launch{position:sticky;top:0;z-index:9;padding:12px 16px;border:1px solid #cbb98c;border-radius:8px;background:#fcf8eef5;box-shadow:0 4px 12px #49361415}.communication-content .conversation-rooms{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:0}.conversation-rooms>.communication-view__head{flex:none;margin:0;padding:8px 16px}.conversation-rooms__setup{flex:0 1 auto;min-height:0;max-height:40%;overflow:auto;overscroll-behavior:contain}.conversation-rooms__setup>.field-actions,.conversation-rooms__setup>h3,.conversation-rooms__setup>.muted{margin:0;padding:8px 16px}.conversation-rooms__setup>p{margin:0;padding:6px 16px;font-size:13px}.conversation-rooms__list{flex:none;max-height:100px;overflow:auto;margin:0;padding:8px 16px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.conversation-rooms__list button{padding:6px 10px}.conversation-rooms__messages{flex:1;min-height:0;max-height:none;overflow:auto;padding:10px 16px;scrollbar-width:auto}.conversation-rooms__composer{flex:none;display:flex;align-items:flex-end;gap:10px;padding:10px 16px;border-top:1px solid var(--line);background:#f4f1e7}.conversation-rooms__composer>label{flex:1;min-width:0;display:grid;gap:4px;font-size:12px}.conversation-rooms__composer textarea{min-height:60px;max-height:120px;resize:vertical}.conversation-rooms__composer>p{font-size:12px;max-width:150px}@media(max-width:800px){.play-mobile-tools{position:sticky;top:0;z-index:12;background:#faf5e7;padding-top:4px}.play-mobile-tools .play-world-tools{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.play-mobile-tools .play-world-tools .play-world-tools__recover{flex-direction:row;justify-content:center;min-height:46px;font-size:15px;padding:6px 10px}.play-mobile-tools .play-world-tools__recover>span{display:flex;align-items:center;gap:12px}.play-world-tools .play-world-tools__map{grid-column:auto}.modal>footer{padding:10px 12px}.modal-actions{gap:6px}.modal-actions>.button{flex:1 1 auto;padding:8px 12px}.modal-actions>strong,.modal-actions>small,.modal-actions>span{font-size:13px}.play-expedition-dialog .dungeon-room{grid-template-columns:minmax(0,1fr)}.play-expedition-dialog .dungeon-room__story>p{display:none}.play-expedition-dialog .dungeon-room__title{margin:0}.play-expedition-dialog .dungeon-heading h1{font-size:18px}.play-expedition-dialog .dungeon-room__title h2{font-size:17px}.play-expedition-dialog .dungeon-legend{display:none}.play-competition-dialog .competition-masthead{padding-bottom:6px}.play-competition-dialog .competition-masthead h1{font-size:24px}.play-competition-dialog .competition-action{padding:8px;margin-top:6px}.play-competition-dialog .competition-action strong{font-size:14px;line-height:1.4}.play-competition-dialog .competition-chart__legend{display:none}.creation-quick>.creation-quick-launch{top:0;padding:8px 12px;gap:6px}}.workspace-page{width:100%;min-height:calc(100dvh - 100px);display:flex;flex-direction:column;background:#f8f5edee;color:#55432c;border:1px solid #d7c49c;border-radius:12px}.workspace-page__navigation{display:flex;align-items:center;gap:1rem;padding:12px 20px;border-bottom:1px solid #d7c49c}.workspace-page__navigation span{margin-left:auto;color:#8b7655}.workspace-page__content{flex:1;min-width:0}.workspace-page__actions{position:sticky;bottom:0;z-index:4;background:#fbf8eff5;box-shadow:0 -4px 16px #503d1c16;padding:12px 20px}.workspace-page__actions:empty{display:none}.workspace-page__actions .modal-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.workspace-page .atelier-page{min-height:0;height:auto;padding:24px;background:transparent}.workspace-page .atelier-grid{height:auto;min-height:0;align-items:start}.workspace-page .atelier-grid>section,.workspace-page .atelier-grid>aside{max-height:none;overflow:visible}.workspace-page .relic-archive{height:auto;max-height:none;min-height:0}.workspace-page .relic-archive__body,.workspace-page .relic-archive__content{max-height:none;overflow:visible}.quantity-picker>div{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.quantity-picker input{width:72px;min-width:0;text-align:center}.quantity-picker .button{padding:8px 12px;min-width:38px;white-space:nowrap}.quantity-picker small{display:block;max-width:25rem}.trade-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #d7c49c66}.trade-rows{max-height:55dvh;overflow:auto}.trade-row>span{min-width:0;overflow-wrap:anywhere}.story-outcome-changes{padding:.9rem 1rem;background:#eee6d94a;border:1px solid #d9ccb5;border-radius:8px;margin:12px 0}.story-outcome-changes li{margin:.35rem 0}.story-chat__messages>article:has(>.story-battle-report){padding:12px 0}.growth-allocation>p{margin:0 0 12px;font-size:14px}.growth-allocation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.growth-allocation-grid>div{display:grid;justify-items:center;gap:6px;padding:12px 8px;border:1px solid #ccb995;border-radius:6px;background:#faf6ed}.growth-allocation-grid>div.is-drafted{border-color:#aa8036;background:#f4e8cb}.growth-allocation-grid strong{font:24px var(--serif);min-height:30px}.growth-allocation-grid small{font-size:12px;color:#806c4e}.growth-allocation-controls{display:flex;align-items:center;gap:8px}.growth-allocation-controls .button{min-width:44px;min-height:44px;padding:6px;font-size:20px}.growth-allocation-controls output{min-width:30px;text-align:center;font-weight:700}.growth-allocation-footer{position:sticky;bottom:0;z-index:2;padding:12px 0 0;background:#ebe1cef5}.growth-allocation-footer p{margin:0 0 10px;font-size:14px;line-height:1.8}.growth-allocation-footer>div{display:flex;justify-content:flex-end;gap:10px}.growth-allocation-footer .button{min-height:44px}@media(max-width:600px){.growth-allocation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.growth-allocation-controls{gap:4px}.growth-allocation-grid>div{padding:10px 4px}.growth-allocation-footer>div .button{flex:1;padding:10px 8px}}@media(max-width:800px){.workspace-page{min-height:calc(100dvh - 80px);border-radius:0}.workspace-page__navigation,.workspace-page__actions{padding:10px}.workspace-page__navigation span{font-size:.8rem}.workspace-page .atelier-page{padding:12px}.trade-row{align-items:flex-start;flex-direction:column;gap:8px}.quantity-picker input{width:64px}.workspace-page__actions .button{flex:1}.workspace-page .atelier-grid{display:flex;flex-direction:column}.workspace-page .atelier-grid>*{width:100%;min-width:0}}.workshop-flow{padding:0 0 20px}.workshop-paths{display:flex;gap:20px;align-items:center;margin:12px 0 20px}.workshop-flow__columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:24px;margin-top:20px}.workshop-design-panel,.workshop-material-panel{min-width:0;border:1px solid #d8c8a7;background:#fffdf6d9;padding:24px;border-radius:8px}.workshop-flow textarea{width:100%;min-height:110px;resize:vertical}.workshop-flow .research-design-advisor{padding:0;border:0}.workshop-flow .research-design-advisor label,.workshop-advanced label{display:block;margin:14px 0}.workshop-flow label input[type=checkbox]{width:auto;margin-right:10px}.workshop-flow label select{width:100%;margin-top:8px}.workshop-value-match,.workshop-confirmed,.workshop-advanced{margin-top:24px;padding-top:20px;border-top:1px solid #dfd3bd}.workshop-ingredient-list{padding:0;list-style:none}.workshop-ingredient-list li{display:grid;gap:7px;padding:12px 0;border-bottom:1px solid #dfd3bd}.workshop-flow .atelier-categories{width:100%;flex-wrap:wrap;display:flex}.workshop-flow .atelier-categories button{flex:1;min-width:80px}.workshop-flow .field-actions{flex-wrap:wrap}.workshop-flow .research-value-progress{padding:10px;background:#ece5d5}.workshop-flow .research-possibilities{overflow-wrap:anywhere}@media(max-width:800px){.workshop-flow__columns{display:flex;flex-direction:column;gap:16px}.workshop-design-panel,.workshop-material-panel{padding:16px}.workshop-flow .atelier-categories button{min-width:calc(33% - 8px)}.workshop-flow .research-design-advisor .field-actions .button{width:100%}}.archive-main>.opening-recall{margin:0 0 12px}.soul-archive--profile .archive-profile{grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);align-items:start;min-height:0}.soul-archive--profile .archive-profile__identity,.soul-archive--profile .archive-profile__resources{padding:20px;min-height:0}.soul-archive--profile .archive-profile__identity h2{font-size:32px;margin:12px 0}.soul-archive--profile .archive-profile__identity dl{grid-template-columns:1fr 1fr;gap:12px}.soul-archive--profile .archive-profile__identity dt{font-size:12px}.soul-archive--profile .archive-profile__resources .meter{margin:14px 0}.soul-archive--profile .archive-level{display:none}.growth-points-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:#e9d6a1;border:1px solid #ad8740;border-radius:6px;color:#624519;margin:8px 0 14px;font-size:14px}.growth-points-badge{display:inline-grid;place-items:center;min-width:23px;height:23px;border-radius:50%;background:#8a5c20;color:#fff;margin-left:6px}.intimate-panel .intimate-row .generated-art{width:58px;height:58px;flex:none}.intimate-panel .intimate-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.archive-main>.archive-content:empty{display:none}@media(max-width:1100px){.soul-archive--profile .archive-profile{grid-template-columns:1fr}}@media(max-width:800px){.soul-archive--profile .archive-profile__identity dl{grid-template-columns:1fr 1fr}.growth-points-notice{flex-wrap:wrap}.intimate-panel .form-grid{grid-template-columns:1fr}}.character-equipment-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.character-equipment-slots>button{display:grid;gap:8px;justify-items:center;padding:16px;border:1px solid #d0bc94;background:#f8f2e5;border-radius:6px;color:#634b2b;min-height:145px}.character-equipment-slots .portrait-art{width:64px;height:64px}.character-equipment-slots>button:disabled{opacity:.7}.character-equipment-slots strong{font-size:14px}.archive-tabs .growth-points-badge{font:12px sans-serif}.inspection-identity{display:flex;gap:8px 20px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #cfbb96;margin-bottom:16px}.inspection-identity span{font-size:14px}.inspection-attributes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.inspection-attributes>div{display:grid;text-align:center;gap:5px;border:1px solid #baa17a;border-radius:6px;background:linear-gradient(#f9f4e8,#e8deca);padding:12px 4px}.inspection-attributes strong{font:700 28px var(--serif)}.inspection-attributes small{font-size:11px;color:#867254}.inspection-derived{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.inspection-derived>div{display:flex;justify-content:space-between;gap:6px;padding:8px;border-bottom:1px solid #d5c7ac}.inspection-derived dt{font-size:13px;color:#7c684a}.inspection-derived dd{margin:0;font-weight:700}.inspection-effects-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #bda47a}.inspection-effects-heading h2{font:24px var(--serif);margin:14px 0}.inspection-effects-heading h2 small{font:14px sans-serif}.inspection-effects-heading label{display:flex;align-items:center;gap:8px;font-size:12px}.inspection-effects-heading select{max-width:160px;padding:6px}.inspection-effect-group h3{font:18px var(--serif);margin:20px 0 8px;color:#85622b}.inspection-effect-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.inspection-effect-group article{border:1px solid #cabb9f;border-left:4px solid #64835f;border-radius:5px;background:#fcf9ef;padding:12px;min-width:0}.inspection-effect-group article.is-negative{border-left-color:#a55c55}.inspection-effect-group article header{display:flex;align-items:start;justify-content:space-between;gap:12px}.inspection-effect-group article header>span{font-size:12px;white-space:nowrap;color:#7f683f}.inspection-effect-group ul{padding-left:18px;margin:8px 0;font-size:14px;line-height:1.7}.inspection-source{font-size:12px;color:#7a705c;margin:6px 0;overflow-wrap:anywhere}.inspection-effect-group article>small{font-size:12px;color:#897758}.inspection-allocation{padding:12px;background:#ebe1ce}.inspection-background{margin-top:20px}.illustrated-person__content .inspection-attributes strong{font-size:27px}.illustrated-person__content .inspection-effects-heading h2{font-size:23px}.illustrated-person__content .inspection-effect-group article p{font-size:12px}.illustrated-person__body:has(.character-inspection)>header{padding-bottom:8px}.archive-main .character-inspection{padding-bottom:20px}.soul-archive--profile .archive-layout{grid-template-columns:minmax(230px,25fr) minmax(0,75fr)}@media(max-width:900px){.inspection-effect-group>div{grid-template-columns:1fr}.inspection-derived{grid-template-columns:repeat(2,minmax(0,1fr))}.inspection-effect-group article header{flex-wrap:wrap}.inspection-attributes{gap:5px}.inspection-attributes>div{padding:8px 2px}.inspection-attributes strong{font-size:23px}.inspection-attributes span{font-size:13px}.inspection-attributes small{font-size:10px}.inspection-effects-heading{flex-wrap:wrap;padding-bottom:8px}.soul-archive--profile .archive-layout{grid-template-columns:1fr}.soul-archive--profile .archive-player{display:none}}.inspection-effects-heading label{white-space:nowrap}.inspection-resources{display:grid;grid-template-columns:auto 1fr 1fr;align-items:center;gap:12px;margin:0 0 14px}.inspection-resources .meter{margin:0}.inspection-resources>small{grid-column:1/-1;color:#857358}.inspection-resources--self{display:none}.illustrated-person--inspect{grid-template-columns:minmax(230px,30fr) minmax(0,70fr)}.illustrated-person--inspect .illustrated-person__body{padding:24px 24px 16px;min-width:0}.illustrated-person--inspect .illustrated-person__body h1{font-size:38px;margin:0 0 5px}.illustrated-person--inspect .illustrated-person__body header p{font-size:19px;margin:5px 0 14px}.illustrated-person--inspect .illustrated-person__body>nav button{font-size:18px;padding:10px;white-space:nowrap}.illustrated-person--inspect .inspection-derived{border:0;padding:0;background:none}.illustrated-person--inspect .inspection-derived dt{width:auto}.illustrated-person--inspect .inspection-derived>div{padding:8px;gap:6px}.illustrated-person--inspect .inspection-effect-group h3{text-align:left;font-size:18px}@media(max-width:900px){.inspection-resources--self{display:grid}.inspection-resources{grid-template-columns:1fr 1fr;gap:10px}.inspection-resources>strong,.inspection-resources>small{grid-column:1/-1}.illustrated-person--inspect .illustrated-person__portrait{height:140px;flex:none;background-position:center 35%}.illustrated-person--inspect .illustrated-person__portrait>.npc-portrait-art{object-position:center 8%;object-fit:cover;padding:0}.illustrated-person--inspect .illustrated-person__body{padding:12px;min-height:0}.illustrated-person--inspect .illustrated-person__body h1{font-size:29px}.illustrated-person--inspect .illustrated-person__body header p{font-size:15px;margin:3px 0 12px}.illustrated-person--inspect .illustrated-person__body>nav{overflow:auto}.illustrated-person--inspect .illustrated-person__body>nav button{font-size:14px;padding:9px 7px;flex:1 0 auto}.illustrated-person--inspect .illustrated-person__content{padding-top:12px}.inspection-resources .meter__label{font-size:12px}}.person-identity-stats{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;font-size:14px;color:#79582c}.person-identity-stats>*{padding:4px 9px;background:#e9dfca;border-radius:4px}.person-interaction-primary{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 14px}.person-membership{padding:10px 12px;background:#e8eedf;border:1px solid #b5c3a4;border-radius:5px;font-size:14px!important}.person-interaction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.person-interaction-grid>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;text-align:left;min-height:86px;padding:16px;border:1px solid #c8b189;border-radius:6px;background:#fbf7ec;color:#654626;cursor:pointer}.person-interaction-grid strong{font-size:17px}.person-interaction-grid span{font-size:13px;color:#8b795f}.person-interaction-grid>button:hover{background:#eee2c7;border-color:#aa823d}.person-interaction-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;margin-bottom:16px;border-bottom:1px solid #c8b189}.person-interaction-page-heading h3{margin:0!important;font-size:21px!important}.person-interactions label{display:grid;gap:8px}.person-interactions>h3{display:none}.person-ability-page>section,.person-growth-page>section,.person-cooperation-page>section,.person-history-record{padding:14px;border:1px solid #d4c5a7;border-radius:6px;background:#fbf8ef;margin:12px 0}.person-history-record h4{font-size:17px;margin:0 0 10px}.person-ability-page h3{text-align:left;font-size:20px}.person-hire-entry{margin-top:16px}.person-hire-entry>p{font-size:13px!important}.illustrated-person--inspect .ability-soul-summary .spirit-illustration{max-height:160px}.illustrated-person--inspect .ability-rings{grid-template-columns:repeat(5,minmax(0,1fr))}.illustrated-person--inspect .ability-workspace{grid-template-columns:1fr}.illustrated-person--inspect .ability-inspector{min-width:0}.illustrated-person--inspect .ability-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.person-interaction-grid{gap:8px}.person-interaction-grid>button{padding:12px;min-height:82px}.person-interaction-grid strong{font-size:15px}.person-interaction-grid span{font-size:12px}.person-interaction-page-heading{align-items:flex-start;flex-direction:column}.illustrated-person--inspect .ability-rings{grid-template-columns:repeat(3,minmax(0,1fr))}.illustrated-person--inspect .ability-skill-grid{grid-template-columns:1fr}.person-identity-stats{font-size:12px}}.action-section{margin:12px 0}.action-section>.action-section__toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;text-align:left;padding:13px 16px;background:#f5eddd;border:1px solid #c2a97e;border-radius:5px;clip-path:none;box-shadow:none}.action-section__toggle>span{font-size:16px;min-width:0}.action-section__toggle>small{font-size:12px;white-space:nowrap;color:#8c6f40}.action-section__toggle>span>span{display:block;font-size:12px;color:#8a775b}.action-section__content{padding:16px 2px}.action-section__content[hidden]{display:none!important}.person-growth-page .action-section{margin:8px 0}.person-history-record>p{font-size:14px}@media(max-width:600px){.world-person-grid{grid-template-columns:minmax(0,1fr)}.world-person-card{gap:14px;min-height:112px;padding:14px}.world-person-card__seal{width:68px;flex:0 0 68px}.world-person-card__text{gap:7px}.world-person-card__text b{font-size:22px}.world-person-card__text small,.world-person-card__text>span{font-size:13px}}
