:root{color-scheme:dark;--ui-color-obsidian: #080a0f;--ui-color-charcoal: #111722;--ui-color-ash: #9aa1ad;--ui-color-ash-bright: #d8deea;--ui-color-aged-bronze: #8f6f38;--ui-color-muted-gold: #f3d394;--ui-color-blood-red: #8d2f33;--ui-color-blood-red-bright: #d76661;--ui-color-parchment: #e8d4a2;--ui-color-poison: #90c58d;--ui-bg-page: radial-gradient(circle at 50% 0%, #1d2433 0%, var(--ui-color-obsidian) 58%);--ui-bg-panel: linear-gradient(180deg, rgba(27, 34, 49, .96), rgba(12, 15, 23, .98));--ui-bg-panel-soft: rgba(17, 23, 34, .92);--ui-bg-card: linear-gradient(145deg, rgba(31, 39, 56, .96), rgba(11, 14, 21, .96));--ui-bg-button: linear-gradient(180deg, #283044, #121824);--ui-bg-button-hover: linear-gradient(180deg, #363f58, #171e2e);--ui-bg-danger: linear-gradient(180deg, #5b2025, #271014);--ui-border-panel: rgba(201, 162, 77, .72);--ui-border-muted: rgba(111, 120, 148, .56);--ui-border-danger: rgba(215, 102, 97, .76);--ui-text-main: var(--ui-color-ash-bright);--ui-text-muted: #aeb6c8;--ui-text-accent: var(--ui-color-muted-gold);--ui-text-danger: #ff9a92;--ui-font-family-title: Georgia, "Songti SC", "STSong", serif;--ui-font-family-body: Georgia, "Songti SC", "STSong", serif;--ui-font-size-xs: .78rem;--ui-font-size-sm: .9rem;--ui-font-size-body: 1rem;--ui-font-size-lg: 1.12rem;--ui-font-size-xl: 1.32rem;--ui-font-size-title: clamp(1.45rem, 5.4vw, 2.3rem);--ui-line-height-safe: 1.42;--ui-space-1: .25rem;--ui-space-2: .5rem;--ui-space-3: .75rem;--ui-space-4: 1rem;--ui-space-5: 1.25rem;--ui-space-6: 1.5rem;--ui-space-8: 2rem;--ui-radius-sm: .45rem;--ui-radius-md: .7rem;--ui-radius-lg: 1rem;--ui-radius-panel: 1.25rem;--ui-radius-pill: 999px;--ui-shadow-card: 0 14px 42px rgba(0, 0, 0, .38);--ui-shadow-panel: 0 24px 80px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 231, 177, .12);--ui-shadow-glow: 0 0 28px rgba(201, 162, 77, .16);--ui-z-hud: 20;--ui-z-popover: 80;--ui-z-modal: 100;--ui-z-tooltip: 140;--ui-mobile-min-tap: 44px;--ui-mobile-chip-height: 52px;--ui-mobile-panel-width: min(92vw, 420px);--ui-mobile-dialog-height: 80vh}*,*:before,*:after{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{overflow-x:hidden}.ui-root{min-height:100vh;background:var(--ui-bg-page);color:var(--ui-text-main);font-family:var(--ui-font-family-body)}.ui-text-safe{overflow-wrap:anywhere;word-break:break-word;white-space:normal;line-height:1.35}.ui-scroll-safe{max-height:80vh;overflow:auto;overscroll-behavior:contain}.ui-viewport-safe{max-width:min(92vw,420px);max-height:80vh}.ui-panel{border:1px solid var(--ui-border-panel);border-radius:var(--ui-radius-panel);background:var(--ui-bg-panel);box-shadow:var(--ui-shadow-panel)}.ui-card{border:1px solid var(--ui-border-muted);border-radius:var(--ui-radius-lg);background:var(--ui-bg-card);box-shadow:var(--ui-shadow-card)}.ui-button{max-width:100%;min-height:var(--ui-mobile-min-tap);padding:var(--ui-space-2) clamp(1.35rem,5vw,2.6rem);display:inline-flex;align-items:center;justify-content:center;gap:var(--ui-space-2);border:0;border-radius:0;background:linear-gradient(180deg,#1c273938,#06090e80),url(/assets/ui/theme/ash/ui_button_primary.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;color:var(--ui-text-accent);font-family:var(--ui-font-family-title);font-size:var(--ui-font-size-body);font-weight:700;line-height:1.18;min-width:0;text-align:center;text-decoration:none;text-shadow:0 2px 0 rgba(0,0,0,.75);box-shadow:none;cursor:pointer}.ui-button:hover{filter:brightness(1.12)}.ui-button:disabled,.ui-button[aria-disabled=true]{cursor:not-allowed;opacity:.54}.ui-dialog,.ui-popover,.ui-tooltip{max-width:min(92vw,420px);max-height:80vh;overflow:auto;color:var(--ui-text-main);line-height:var(--ui-line-height-safe);overflow-wrap:anywhere;word-break:break-word;white-space:normal}.ui-dialog{position:fixed;left:50%;top:50%;z-index:var(--ui-z-modal);width:var(--ui-mobile-panel-width);transform:translate(-50%,-50%)}.ui-overlay{position:fixed;inset:0;z-index:calc(var(--ui-z-modal) - 1);background:#000000b8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.ash-city-canvas-react-stage{overflow:hidden}.ui-tooltip,.ui-popover{position:relative;z-index:var(--ui-z-tooltip)}.ui-stat-list{display:grid;gap:var(--ui-space-2);margin:0}.ui-stat-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--ui-space-3);align-items:baseline}.ui-stat-row--value-only{grid-template-columns:minmax(0,1fr)}.ui-mobile-stage{width:min(100vw,430px);min-height:100vh;margin:0 auto;padding:var(--ui-space-4)}.game-button-danger{background:linear-gradient(180deg,#5b202594,#271014b8),url(/assets/ui/theme/ash/ui_button_primary.png);background-size:100% 100%,100% 100%;color:var(--ui-text-danger)}.game-button-ghost{background:linear-gradient(180deg,#1016214d,#070a1094),url(/assets/ui/theme/ash/ui_button_primary.png);background-size:100% 100%,100% 100%;color:var(--ui-text-main)}.game-card,.game-panel,.game-modal-frame{padding:var(--ui-space-5)}.game-card__header,.game-panel__header{display:grid;gap:var(--ui-space-1);margin-bottom:var(--ui-space-4)}.game-card__title,.game-panel__title,.game-modal-frame__title{margin:0;color:var(--ui-text-accent);font-family:var(--ui-font-family-title);font-size:var(--ui-font-size-title);line-height:1.1}.game-card__subtitle,.game-panel__eyebrow{margin:0;color:var(--ui-text-muted);font-size:var(--ui-font-size-sm);letter-spacing:.03em}.game-card__body,.game-panel__body,.game-modal-frame__body{display:grid;gap:var(--ui-space-4)}.game-modal-frame__footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--ui-space-3);margin-top:var(--ui-space-5)}.game-tooltip,.game-popover{width:min(90vw,340px);max-height:min(44vh,420px);padding:var(--ui-space-3);font-size:var(--ui-font-size-sm)}.game-tooltip .ui-card,.game-popover .ui-card{min-width:0;max-width:100%}.game-tooltip:has(.game-item-tooltip){width:min(92vw,720px);max-height:min(76vh,780px);padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}.game-tooltip:has(.game-item-tooltip) .game-tooltip__arrow{display:none}.game-tooltip__arrow,.game-popover__arrow{fill:var(--ui-color-charcoal)}.game-scroll-area{border-radius:var(--ui-radius-md)}.game-scroll-area__viewport{max-height:inherit;padding-right:var(--ui-space-3)}.game-scroll-area__scrollbar{width:10px;padding:2px;background:#ffffff0a;border-radius:var(--ui-radius-pill)}.game-scroll-area__thumb{border-radius:var(--ui-radius-pill);background:var(--ui-border-panel)}.game-stat-list__label{color:var(--ui-text-muted)}.game-stat-list__value{margin:0;color:var(--ui-text-main);text-align:right}.game-stat-list__value--full{text-align:left}.game-stat-list__value--good{color:var(--ui-color-poison)}.game-stat-list__value--danger{color:var(--ui-text-danger)}.game-stat-list__value--gold{color:var(--ui-text-accent)}.game-item-tooltip{--game-item-tooltip-scale: 1.5;width:min(92vw,720px);min-width:min(92vw,510px);max-width:min(92vw,720px);max-height:min(76vh,780px);overflow:auto;padding:calc(18px * var(--game-item-tooltip-scale)) calc(22px * var(--game-item-tooltip-scale));border:2px solid rgba(155,123,68,.9);border-radius:14px;background:linear-gradient(180deg,#0a0f18fc,#06090ffc),radial-gradient(circle at 18% 0%,rgba(212,169,93,.16),transparent 30%);box-shadow:0 20px 44px #0000007a,inset 0 0 0 1px #d4a95d42}.game-item-tooltip[data-rarity=story]{border-color:#8fb6ffd1}.game-item-tooltip[data-rarity=common]{border-color:#b9c2dad1}.game-item-tooltip[data-rarity=good]{border-color:#90c58dd1}.game-item-tooltip[data-rarity=rare]{border-color:#6ea4ffd1}.game-item-tooltip[data-rarity=epic]{border-color:#c27cffd1}.game-item-tooltip[data-rarity=legendary]{border-color:#e0c06ad1}.game-art-frame{position:relative;overflow:hidden;border:0;background:transparent;box-shadow:var(--ui-shadow-panel);isolation:isolate;--game-art-frame-image: url(/assets/ui/theme/ash/ui_frame_panel.png);--game-art-frame-safe-x: clamp(24px, 7vw, 56px);--game-art-frame-safe-y: clamp(26px, 7vw, 58px)}.game-art-frame:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(180deg,#0c1018b8,#07090edb),var(--game-art-frame-image);background-size:100% 100%,100% 100%;background-repeat:no-repeat;pointer-events:none}.game-art-frame:after{content:"";position:absolute;inset:clamp(18px,5vw,38px);z-index:-1;border-radius:calc(var(--ui-radius-panel) * .82);background:#0a0e1694;box-shadow:inset 0 0 26px #0000006b;pointer-events:none}.game-art-frame--dialog{--game-art-frame-image: url(/assets/ui/theme/ash/ui_frame_dialog.png);--game-art-frame-safe-x: clamp(28px, 8vw, 64px);--game-art-frame-safe-y: clamp(30px, 8vw, 64px)}.game-art-frame--button{--game-art-frame-image: url(/assets/ui/theme/ash/ui_button_primary.png);--game-art-frame-safe-x: clamp(18px, 5vw, 34px);--game-art-frame-safe-y: clamp(12px, 3vw, 22px)}.game-art-frame--expeditionPoster{--game-art-frame-image: url(/assets/ui/theme/ash/ui_frame_expedition_poster.png);--game-art-frame-safe-x: clamp(32px, 9vw, 78px);--game-art-frame-safe-y: clamp(34px, 9vw, 82px)}.game-art-frame--annotatedFrame10{--game-art-frame-image: url(/assets/ui/annotated-text/annotated_frame_10.png);--game-art-frame-safe-x: clamp(26px, 8vw, 68px);--game-art-frame-safe-y: clamp(30px, 9vw, 76px)}.game-art-frame--annotatedFrame11{--game-art-frame-image: url(/assets/ui/annotated-text/annotated_frame_11.png);--game-art-frame-safe-x: clamp(30px, 10vw, 74px);--game-art-frame-safe-y: clamp(42px, 12vw, 96px)}.game-art-frame--annotatedFrame12{--game-art-frame-image: url(/assets/ui/annotated-text/annotated_frame_12.png);--game-art-frame-safe-x: clamp(24px, 8vw, 62px);--game-art-frame-safe-y: clamp(28px, 9vw, 70px)}.game-art-frame--compact{--game-art-frame-safe-x: clamp(18px, 5vw, 34px);--game-art-frame-safe-y: clamp(18px, 5vw, 34px);box-shadow:var(--ui-shadow-card)}.game-art-frame__content{min-width:0;padding:var(--game-art-frame-safe-y) var(--game-art-frame-safe-x)}.game-art-frame__header{display:grid;gap:var(--ui-space-1);margin-bottom:var(--ui-space-4)}.game-art-frame__title{margin:0;color:var(--ui-text-accent);font-family:var(--ui-font-family-title);font-size:var(--ui-font-size-title);line-height:1.08;text-shadow:0 3px 0 rgba(0,0,0,.82)}.game-art-frame__subtitle{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm);letter-spacing:.04em}.game-art-frame__body{display:grid;gap:var(--ui-space-4)}.game-item-icon{position:relative;width:64px;height:64px;display:inline-grid;flex:0 0 auto;place-items:center;overflow:hidden;border:1px solid var(--ui-border-muted);border-radius:var(--ui-radius-lg);background:radial-gradient(circle at 35% 18%,rgba(255,235,184,.22),transparent 28%),linear-gradient(145deg,#1f2738fa,#080a0ffa);box-shadow:inset 0 0 18px #000000b8,0 8px 20px #00000047}.game-item-icon--sm{width:48px;height:48px;border-radius:var(--ui-radius-md)}.game-item-icon--lg{width:84px;height:84px}.game-item-icon[data-rarity=story]{border-color:#8fb6ff}.game-item-icon[data-rarity=common]{border-color:#b9c2da}.game-item-icon[data-rarity=good]{border-color:#90c58d}.game-item-icon[data-rarity=rare]{border-color:#6ea4ff}.game-item-icon[data-rarity=epic]{border-color:#c27cff}.game-item-icon[data-rarity=legendary]{border-color:#e0c06a}.game-item-icon[data-story-key=true]{border-color:#d03a32;box-shadow:inset 0 0 0 1px #ffc69452,0 0 18px #d03a3238}.game-item-icon__image{display:block;width:100%;height:100%;padding:8%;box-sizing:border-box;object-fit:contain;object-position:center center;filter:drop-shadow(0 5px 8px rgba(0,0,0,.58))}.game-item-icon--equipment .game-item-icon__image{padding:4%}.game-item-icon__fallback{color:var(--ui-text-accent);font-family:var(--ui-font-family-title);font-weight:900;font-size:var(--ui-font-size-lg);text-shadow:0 2px 0 rgba(0,0,0,.88)}.game-item-tooltip__name[data-rarity=story],.game-item-tooltip [data-rarity=story]{color:#8fb6ff}.game-item-tooltip__name[data-rarity=common],.game-item-tooltip [data-rarity=common]{color:#b9c2da}.game-item-tooltip__name[data-rarity=good],.game-item-tooltip [data-rarity=good]{color:#90c58d}.game-item-tooltip__name[data-rarity=rare],.game-item-tooltip [data-rarity=rare]{color:#6ea4ff}.game-item-tooltip__name[data-rarity=epic],.game-item-tooltip [data-rarity=epic]{color:#c27cff}.game-item-tooltip__name[data-rarity=legendary],.game-item-tooltip [data-rarity=legendary]{color:#e0c06a}.game-item-tooltip__summary{margin:0;color:#c9b88b;font-size:calc(14px * var(--game-item-tooltip-scale));line-height:1.35;overflow-wrap:anywhere}.game-item-tooltip__detail{margin:0;color:#eef3ff;font-size:calc(17px * var(--game-item-tooltip-scale));line-height:1.45;overflow-wrap:anywhere;word-break:break-word}.game-item-tooltip__body-lines{display:grid;gap:calc(2px * var(--game-item-tooltip-scale))}.game-item-tooltip__body-line{margin:0;color:#eef3ff;font-size:calc(17px * var(--game-item-tooltip-scale));line-height:1.45;overflow-wrap:anywhere;word-break:break-word}.game-item-tooltip__body-line--gold{color:#f6d681}.game-item-tooltip__body-line--good{color:#93df92}.game-item-tooltip__body-line--danger{color:#ff8a7a}.game-item-tooltip__lore{margin:calc(8px * var(--game-item-tooltip-scale)) 0 0;padding-top:calc(8px * var(--game-item-tooltip-scale));border-top:1px solid rgba(143,120,76,.42);color:#aeb8cf;font-size:calc(14px * var(--game-item-tooltip-scale));font-style:italic;line-height:1.42;text-align:center;overflow-wrap:anywhere}.game-item-tooltip__comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(18px * var(--game-item-tooltip-scale))}.game-item-tooltip__comparison-card,.game-item-tooltip__diff{display:grid;gap:calc(6px * var(--game-item-tooltip-scale));padding:calc(10px * var(--game-item-tooltip-scale));border:1px solid rgba(143,120,76,.5);border-radius:10px;background:#070a10ad;min-width:0}.game-item-tooltip__diff{grid-column:1 / -1}.game-item-tooltip .game-card__header{margin-bottom:calc(10px * var(--game-item-tooltip-scale));padding-bottom:calc(7px * var(--game-item-tooltip-scale));border-bottom:1px solid rgba(143,120,76,.58)}.game-item-tooltip .game-card__title{font-size:calc(22px * var(--game-item-tooltip-scale));line-height:1.2;overflow-wrap:anywhere}.game-item-tooltip .game-card__subtitle{color:#c9b88b;font-size:calc(13px * var(--game-item-tooltip-scale))}.game-item-tooltip .game-card__body,.game-item-tooltip .ui-stat-row{gap:calc(8px * var(--game-item-tooltip-scale))}.game-item-tooltip .game-stat-list__label,.game-item-tooltip .game-stat-list__value{font-size:calc(13px * var(--game-item-tooltip-scale));line-height:1.35;overflow-wrap:anywhere}.workshop-root{position:relative;width:100vw;height:100dvh;display:grid;place-items:center;overflow:hidden;padding:0;background:radial-gradient(circle at 18% 0%,rgba(187,99,45,.18),transparent 30%),radial-gradient(circle at 78% 10%,rgba(197,158,83,.12),transparent 28%),linear-gradient(180deg,#141924,#07090e)}.workshop-phaser-overlay{position:fixed;inset:0;z-index:var(--ui-z-modal);overflow:hidden;background:#101218;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.ash-city-canvas-react-overlay.workshop-phaser-overlay{inset:auto;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.ash-city-canvas-react-overlay .workshop-root,.workshop-root--formal{width:100%;height:100%;min-height:0}.workshop-root--formal .workshop-shell{width:100%;height:100%;max-height:none;aspect-ratio:auto;box-sizing:border-box}.workshop-phaser-overlay--suspended{opacity:0;visibility:hidden;pointer-events:none}.workshop-shell{width:min(100vw,56.25dvh,1080px);aspect-ratio:9 / 16;max-height:100dvh;margin:0 auto;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(8px,1.4vh,20px);overflow:hidden;padding:clamp(8px,1.6vh,22px);background:radial-gradient(circle at 50% 4%,rgba(244,215,144,.08),transparent 28%),linear-gradient(180deg,#080b1138,#02030685)}.workshop-topbar .game-art-frame__body{gap:clamp(6px,1vh,12px)}.workshop-title-row,.workshop-row,.workshop-actions,.workshop-footer,.workshop-temperature-stack{display:flex;align-items:center;gap:var(--ui-space-3)}.workshop-title-row,.workshop-footer{justify-content:center;text-align:center;flex-wrap:wrap}.workshop-title-row{justify-content:space-between;text-align:left}.workshop-footer>p{flex:1 0 100%}.workshop-muted,.workshop-meta{margin:0;color:var(--ui-text-muted);font-size:var(--ui-font-size-sm)}.workshop-tabs,.workshop-chip-row,.workshop-grid-actions{display:flex;flex-wrap:wrap;gap:clamp(6px,1vh,10px)}.workshop-tabs .ui-button,.workshop-chip-row .ui-button{flex:1 1 auto}.workshop-root--formal .workshop-tabs .ui-button,.workshop-root--formal .workshop-chip-row .ui-button{background-image:linear-gradient(180deg,#1c273938,#06090e80),url(/assets/ui/theme/ash/ui_button_primary.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;box-shadow:none}.workshop-root--formal .workshop-tabs .ui-button.game-button-ghost,.workshop-root--formal .workshop-chip-row .ui-button.game-button-ghost{background-image:linear-gradient(180deg,#1016214d,#070a1094),url(/assets/ui/theme/ash/ui_button_primary.png)}.workshop-root .ui-button{white-space:nowrap;word-break:keep-all}.workshop-root .workshop-tab--disabled{opacity:.48;filter:grayscale(.55);border-color:#9aa1ad57;color:#d8deeab8}.workshop-root--fit{--ui-font-size-xs: clamp(.42rem, 1.6vw, .56rem);--ui-font-size-sm: clamp(.46rem, 1.8vw, .64rem);--ui-font-size-body: clamp(.5rem, 2vw, .7rem);--ui-font-size-lg: clamp(.58rem, 2.25vw, .82rem);--ui-font-size-xl: clamp(.68rem, 2.6vw, .96rem);--ui-font-size-title: clamp(.82rem, 3.2vw, 1.16rem);--ui-space-1: .1rem;--ui-space-2: .18rem;--ui-space-3: .3rem;--ui-space-4: .42rem;--ui-space-5: .55rem;--ui-space-6: .7rem;--ui-mobile-min-tap: 26px;--ui-mobile-chip-height: 30px}.workshop-root--fit .workshop-shell{gap:clamp(4px,.65vh,8px);padding:clamp(4px,.85vh,8px);grid-template-rows:auto minmax(0,1fr) auto}.workshop-root--fit .workshop-topbar .game-art-frame__content{padding-top:clamp(7px,1vh,12px);padding-bottom:clamp(7px,1vh,12px)}.workshop-root--fit .game-art-frame{--game-art-frame-safe-x: clamp(7px, 2.1vw, 15px);--game-art-frame-safe-y: clamp(6px, 1.1vh, 11px)}.workshop-root--fit .game-art-frame--expeditionPoster,.workshop-root--fit .game-art-frame--annotatedFrame10,.workshop-root--fit .game-art-frame--annotatedFrame11,.workshop-root--fit .game-art-frame--annotatedFrame12{--game-art-frame-safe-x: clamp(8px, 2.3vw, 17px);--game-art-frame-safe-y: clamp(7px, 1.2vh, 13px)}.workshop-root--fit .game-art-frame--compact{--game-art-frame-safe-x: clamp(7px, 2vw, 14px);--game-art-frame-safe-y: clamp(6px, 1vh, 10px)}.workshop-root--fit .game-art-frame:after{inset:clamp(8px,2vw,16px)}.workshop-root--fit .game-art-frame__header{margin-bottom:var(--ui-space-2)}.workshop-root--fit .game-art-frame__body{gap:var(--ui-space-2)}.workshop-root--fit .workshop-muted,.workshop-root--fit .workshop-meta,.workshop-root--fit .workshop-icon-meta,.workshop-root--fit .workshop-select-meta,.workshop-root--fit .workshop-option-stock{line-height:1.18}.workshop-root--fit .ui-button{min-height:28px;padding:4px 9px;font-size:var(--ui-font-size-sm)}.workshop-root--fit .workshop-tabs,.workshop-root--fit .workshop-chip-row,.workshop-root--fit .workshop-grid-actions{gap:4px}.workshop-root--fit .workshop-topbar .workshop-muted{display:none}.workshop-main-grid,.workshop-two-column{display:grid;min-height:0;gap:clamp(8px,1.4vh,18px);align-content:start;align-items:start;grid-auto-rows:max-content}.workshop-main-grid{overflow:hidden;scrollbar-width:thin}.workshop-root--fit .workshop-main-grid,.workshop-root--fit .workshop-two-column{height:100%;min-height:0;align-content:stretch;align-items:stretch}.workshop-root--fit .workshop-main-grid>.game-art-frame,.workshop-root--fit .workshop-two-column>.game-art-frame{min-height:0}.workshop-root--fit .workshop-main-grid>.game-art-frame>.game-art-frame__content,.workshop-root--fit .workshop-two-column>.game-art-frame>.game-art-frame__content{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.workshop-root--fit .workshop-main-grid>.game-art-frame>.game-art-frame__content>.game-art-frame__body,.workshop-root--fit .workshop-two-column>.game-art-frame>.game-art-frame__content>.game-art-frame__body{min-height:0;overflow:hidden}@media(min-width:700px){.workshop-two-column{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}.workshop-card-list,.workshop-material-list,.workshop-route-list,.workshop-hero-list,.workshop-transparent-list{display:grid;gap:var(--ui-space-3)}.workshop-scroll{max-height:min(58vh,760px)}.workshop-scroll,.workshop-scroll .game-scroll-area__viewport,.workshop-material-quality-list,.workshop-recipe-menu>.game-art-frame__content>.game-art-frame__body,.workshop-dropdown-panel .game-art-frame__body,.workshop-modal,.workshop-modal .game-art-frame__content,.workshop-act-list,.workshop-route-list,.workshop-hero-list,.workshop-root--blacksmith .workshop-main-grid>.game-art-frame>.game-art-frame__content>.game-art-frame__body,.workshop-root--blacksmith .workshop-material-select-compact .workshop-dropdown-panel .game-art-frame__body,.workshop-expedition-root .workshop-route-button-list{touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.workshop-shell .workshop-scroll{max-height:100%}.workshop-recipe-crafting{position:relative;display:grid;grid-template-rows:auto minmax(0,auto) minmax(0,1fr) auto;gap:var(--ui-space-3);min-height:0;overflow:hidden}.workshop-recipe-crafting.is-menu-open{overflow:visible}.workshop-recipe-crafting.is-menu-open>.game-art-frame:first-child,.workshop-recipe-crafting.is-menu-open>.game-art-frame:first-child>.game-art-frame__content,.workshop-recipe-crafting.is-menu-open>.game-art-frame:first-child>.game-art-frame__content>.game-art-frame__body{overflow:visible;position:relative;z-index:60}.workshop-recipe-slot-wrap{position:relative;display:grid;justify-items:center;gap:var(--ui-space-2)}.workshop-recipe-slot{width:min(100%,520px);min-height:clamp(70px,10vh,112px);appearance:none;display:flex;align-items:center;justify-content:center;gap:var(--ui-space-4);padding:clamp(10px,2.5vw,18px);border:0;border-radius:0;background-color:transparent;color:var(--ui-text-primary);text-align:center;box-shadow:none;cursor:pointer}.workshop-recipe-slot:focus,.workshop-output-trigger:focus,.workshop-material-tooltip-trigger:focus,.workshop-option-button:focus{outline:none}.workshop-recipe-slot:focus-visible,.workshop-output-trigger:focus-visible,.workshop-material-tooltip-trigger:focus-visible,.workshop-option-button:focus-visible{outline:none;filter:drop-shadow(0 0 12px rgba(219,171,78,.34))}.workshop-recipe-slot.is-filled{filter:drop-shadow(0 0 10px rgba(207,162,72,.18))}.workshop-recipe-menu{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:60;max-height:min(38vh,420px);overflow:hidden;background:linear-gradient(180deg,#0c1623f5,#060a11fa);box-shadow:0 20px 44px #00000094}.workshop-recipe-menu>.game-art-frame__content{max-height:min(38vh,420px);min-height:min(26vh,280px);display:grid}.workshop-recipe-menu>.game-art-frame__content>.game-art-frame__body{min-height:0;max-height:calc(min(38vh,420px) - (var(--game-art-frame-safe-y) * 2));overflow:auto;overscroll-behavior:contain;padding:2px;background:linear-gradient(180deg,#0a121ebd,#04070cdb);border-radius:calc(var(--ui-radius-panel) * .55);box-shadow:inset 0 0 26px #00000075}.workshop-recipe-tooltip-popover{position:absolute;top:clamp(74px,10vh,116px);right:clamp(28px,7vw,74px);z-index:80;width:min(300px,36vw);pointer-events:none;filter:drop-shadow(0 16px 28px rgba(0,0,0,.58))}.workshop-recipe-tooltip-popover .game-item-tooltip{--game-item-tooltip-scale: .82;width:100%;max-width:100%;box-sizing:border-box;font-size:var(--ui-font-size-sm)}.workshop-recipe-tooltip-popover .game-card__body,.workshop-recipe-tooltip-popover .game-item-tooltip__summary,.workshop-recipe-tooltip-popover .game-item-tooltip__detail,.workshop-recipe-tooltip-popover .game-item-tooltip__lore,.workshop-recipe-tooltip-popover .game-stat-list__label,.workshop-recipe-tooltip-popover .game-stat-list__value{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.workshop-recipe-tooltip-popover .game-item-tooltip__detail{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.workshop-recipe-tooltip-popover .ui-stat-row{grid-template-columns:minmax(0,1fr);gap:2px}.workshop-recipe-tooltip-popover .game-stat-list__value{text-align:left}.workshop-recipe-output-card{display:grid;justify-items:center;gap:var(--ui-space-2);width:min(100%,560px);margin:0 auto;padding:clamp(4px,1.2vw,10px) clamp(6px,1.8vw,14px);text-align:center}.workshop-output-trigger,.workshop-material-tooltip-trigger{border:0;background:transparent;color:inherit;cursor:pointer}.workshop-output-trigger{display:grid;justify-items:center;gap:var(--ui-space-1);padding:0}.workshop-output-name{color:var(--ui-text-accent);font-family:var(--ui-font-display);font-size:clamp(1rem,3.4vw,1.45rem);line-height:1.12;text-shadow:0 2px 4px rgba(0,0,0,.7)}.workshop-output-tag{color:var(--ui-color-muted-gold);font-size:clamp(.78rem,2.45vw,1.08rem);line-height:1.2}.workshop-output-effect{display:-webkit-box;max-width:30em;margin:var(--ui-space-1) 0 0;overflow:hidden;color:var(--ui-text-primary);font-size:clamp(.72rem,2.1vw,.92rem);line-height:1.38;-webkit-box-orient:vertical;-webkit-line-clamp:2}.workshop-output-quality-row{display:flex;justify-content:center;flex-wrap:wrap;gap:var(--ui-space-3);color:var(--ui-color-muted-gold);font-size:clamp(.78rem,2.35vw,1.02rem);line-height:1.25}.workshop-material-quality-list{display:grid;gap:var(--ui-space-2);min-height:0;overflow:auto;padding-right:2px;justify-items:center}.workshop-material-quality-row{display:grid;grid-template-columns:auto minmax(0,1.1fr) auto minmax(116px,.85fr) auto auto;align-items:center;gap:var(--ui-space-2);width:min(100%,620px);padding:clamp(7px,1.4vh,12px);border:0;background:linear-gradient(180deg,#090d1480,#04060ac2),url(/assets/ui/annotated-text/annotated_frame_12.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat}.workshop-material-quality-row.is-missing{filter:drop-shadow(0 0 10px rgba(145,50,43,.26))}.workshop-material-tooltip-trigger{display:inline-flex;align-items:center;justify-content:center;padding:0}.workshop-material-quality-name,.workshop-material-quality-cost,.workshop-material-quality-average{min-width:0;color:var(--ui-text-primary)}.workshop-material-quality-average{color:var(--ui-color-muted-gold);text-align:center}.workshop-material-quality-cost--missing{color:var(--ui-text-danger);text-shadow:0 0 8px rgba(255,94,82,.38)}.workshop-material-quality-step-button.ui-button{min-width:44px;min-height:44px;padding:8px 12px;font-size:clamp(1rem,3vw,1.28rem);line-height:1}.workshop-root--alchemy-v3{place-items:center;background:#080a0f}.alchemy-v3-reference-art{position:relative;width:min(100vw,calc(100dvh * 853 / 1844));height:100dvh;overflow:hidden;background-repeat:no-repeat;background-position:center;background-size:100% 100%}.workshop-root--alchemy-v3[data-v3-frame=craft-empty] .alchemy-v3-reference-art{background-image:url(/assets/ui/alchemy-v3/screen-craft-empty.png)}.workshop-root--alchemy-v3[data-v3-frame=craft-selected] .alchemy-v3-reference-art{background-image:url(/assets/ui/alchemy-v3/screen-craft-selected.png)}.workshop-root--alchemy-v3[data-v3-frame=craft-solution] .alchemy-v3-reference-art{background-image:url(/assets/ui/alchemy-v3/screen-craft-solution.png)}.workshop-root--alchemy-v3[data-v3-frame=filter-choice] .alchemy-v3-reference-art{background-image:url(/assets/ui/alchemy-v3/screen-filter-choice.png)}.workshop-root--alchemy-v3[data-v3-frame=materials] .alchemy-v3-reference-art{background-image:url(/assets/ui/alchemy-v3/screen-materials.png)}.workshop-root--alchemy-v3[data-v3-frame=material-detail] .alchemy-v3-reference-art{background-image:url(/assets/ui/alchemy-v3/screen-material-detail.png)}.workshop-root--alchemy-v3[data-v3-frame=recipes] .alchemy-v3-reference-art{background-image:url(/assets/ui/alchemy-v3/screen-recipes.png)}.workshop-root--alchemy-v3 .alchemy-v3-hidden-state-machine{position:absolute;inset:0;overflow:hidden;opacity:0;pointer-events:none}.workshop-root--alchemy-v3 .alchemy-v3-shell{position:absolute;inset:0;width:min(100vw,1080px);height:100dvh;max-height:100dvh;aspect-ratio:auto;grid-template-rows:auto minmax(0,1fr) auto;background:linear-gradient(180deg,#21140c8c,#040508d1),radial-gradient(circle at 50% 36%,rgba(211,161,68,.13),transparent 32%)}.workshop-root--alchemy-v3 .workshop-modal-root{opacity:0;pointer-events:none}.alchemy-v3-reference-layer{position:absolute;inset:0;z-index:5}.alchemy-v3-reference-preload{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.alchemy-v3-hitbox{position:absolute;display:block;padding:0;border:0;border-radius:0;background:transparent;opacity:0;cursor:pointer;touch-action:manipulation}.alchemy-v3-hitbox:focus-visible{opacity:1;outline:2px solid rgba(243,211,148,.72);outline-offset:2px}.alchemy-v3-hitbox--tab-materials{left:7%;top:8.7%;width:26%;height:3.4%}.alchemy-v3-hitbox--tab-recipes{left:38%;top:8.7%;width:25%;height:3.4%}.alchemy-v3-hitbox--tab-craft{left:66.5%;top:8.7%;width:27%;height:3.4%}.alchemy-v3-hitbox--exit{left:37%;top:88.6%;width:26%;height:4.2%}.alchemy-v3-hitbox--craft-slot{left:39%;top:26.2%;width:22%;height:10.8%}.alchemy-v3-hitbox--action-heat,.alchemy-v3-hitbox--action-cool,.alchemy-v3-hitbox--action-solution,.alchemy-v3-hitbox--action-mix,.alchemy-v3-hitbox--action-filter,.alchemy-v3-hitbox--action-collect{width:23%;height:6.7%}.alchemy-v3-hitbox--action-heat{left:11%;top:56.2%}.alchemy-v3-hitbox--action-cool{left:38.5%;top:56.2%}.alchemy-v3-hitbox--action-solution{left:66%;top:56.2%}.alchemy-v3-hitbox--action-mix{left:11%;top:65.6%}.alchemy-v3-hitbox--action-filter{left:38.5%;top:65.6%}.alchemy-v3-hitbox--action-collect{left:66%;top:65.6%}.alchemy-v3-hitbox--material-row-1{left:7%;top:42.5%;width:86%;height:10.8%}.alchemy-v3-hitbox--recipe-row-1{left:6%;top:18.2%;width:88%;height:8.1%}.alchemy-v3-hitbox--recipe-row-2{left:6%;top:27.4%;width:88%;height:8.1%}.alchemy-v3-hitbox--recipe-row-3{left:6%;top:36.6%;width:88%;height:8.1%}.alchemy-v3-hitbox--recipe-row-4{left:6%;top:45.8%;width:88%;height:8.1%}.alchemy-v3-hitbox--recipe-choose{left:33%;top:81.8%;width:34%;height:3.8%}.alchemy-v3-hitbox--modal-close{left:35%;top:81.4%;width:30%;height:3.6%}.alchemy-v3-hitbox--filter-solvent{left:15%;top:38.4%;width:70%;height:10.5%}.alchemy-v3-hitbox--filter-powder{left:15%;top:50.2%;width:70%;height:10.5%}.alchemy-v3-hitbox--filter-cancel{left:20.5%;top:62.3%;width:27%;height:4.1%}.alchemy-v3-hitbox--filter-confirm{left:52.5%;top:62.3%;width:27%;height:4.1%}.alchemy-v3-reference-icon{position:absolute;display:grid;place-items:center;pointer-events:none;filter:drop-shadow(0 4px 10px rgba(0,0,0,.58))}.alchemy-v3-reference-icon .game-item-icon{width:100%;height:100%}.alchemy-v3-reference-icon .game-item-icon__image{width:100%;height:100%;object-fit:contain}.alchemy-v3-reference-icon--craft-current{left:50%;top:32.2%;width:13%;height:7%;transform:translate(-50%,-50%)}.alchemy-v3-reference-icon--material-1{left:11.8%;top:44%;width:12%;height:6.4%}.alchemy-v3-reference-icon--material-2{left:11.8%;top:55.5%;width:12%;height:6.4%}.alchemy-v3-reference-icon--material-3{left:11.8%;top:67%;width:12%;height:6.4%}.alchemy-v3-reference-icon--material-4{left:11.8%;top:78.5%;width:12%;height:6.4%}.alchemy-v3-reference-icon--material-detail{left:50%;top:31%;width:18%;height:9.8%;transform:translate(-50%,-50%)}.alchemy-v3-reference-icon--recipe-1,.alchemy-v3-reference-icon--recipe-2,.alchemy-v3-reference-icon--recipe-3,.alchemy-v3-reference-icon--recipe-4{left:9.5%;width:12%;height:6.4%}.alchemy-v3-reference-icon--recipe-1{top:19.5%}.alchemy-v3-reference-icon--recipe-2{top:29%}.alchemy-v3-reference-icon--recipe-3{top:38.2%}.alchemy-v3-reference-icon--recipe-4{top:47.5%}.alchemy-v3-reference-icon--recipe-detail{left:13%;top:56%;width:18%;height:10%}.alchemy-v3-reference-icon--recipe-material-1{left:11%;top:70%;width:10%;height:5.4%}.alchemy-v3-reference-icon--recipe-material-2{left:11%;top:76.4%;width:10%;height:5.4%}.alchemy-v3-reference-icon--filter-solvent{left:19%;top:40.4%;width:13%;height:7%}.alchemy-v3-reference-icon--filter-powder{left:19%;top:52.2%;width:13%;height:7%}.alchemy-v3-reference-actions{position:absolute;left:10.5%;right:10.5%;top:55.8%;z-index:7;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.2% 4.8%}.alchemy-v3-reference-action{min-height:6.7dvh;border:1px solid rgba(128,103,71,.58);border-radius:7px;color:#9da3ac;font-size:clamp(12px,2.85vw,18px);line-height:1;background:linear-gradient(180deg,#2a30399e,#12161dbd);box-shadow:inset 0 1px #ffebb714,0 7px 18px #00000052}.alchemy-v3-reference-action:not(:disabled){color:#f1dfbc;border-color:#c59a4eb8;background:radial-gradient(circle at 50% 12%,rgba(234,190,95,.2),transparent 48%),linear-gradient(180deg,#2c2b23db,#12110fe6)}.alchemy-v3-reference-action.is-recommended:not(:disabled){color:#ffe3a3;border-color:#f7c75bf5;box-shadow:inset 0 1px #ffeeb538,0 0 18px #e3a84247}.alchemy-v3-reference-action:disabled{cursor:not-allowed}.alchemy-v3-reference-craft-state{position:absolute;left:9%;right:9%;top:17.2%;z-index:7;display:grid;grid-template-rows:auto auto auto;gap:1.2dvh;color:#ead7b0;text-align:center;pointer-events:none}.alchemy-v3-reference-current-copy{display:grid;gap:.45dvh;min-height:22dvh;align-content:end;padding:2dvh 5% 1.2dvh;border-radius:8px;background:radial-gradient(circle at 50% 42%,rgba(6,9,14,.36),transparent 24%),linear-gradient(180deg,#05080d4d,#05080dbd 76%,#05080de0)}.alchemy-v3-reference-current-copy strong{color:#f2d179;font-family:var(--ui-font-family-title);font-size:clamp(17px,4.5vw,28px);line-height:1.1;letter-spacing:0;text-shadow:0 0 12px rgba(216,158,61,.22)}.alchemy-v3-reference-current-copy span{color:#ece2ccd1;font-size:clamp(11px,2.7vw,17px);line-height:1.32;overflow-wrap:anywhere}.alchemy-v3-reference-status-pills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5%;padding:.75dvh 2.2%;border:1px solid rgba(115,95,70,.54);border-radius:7px;background:linear-gradient(180deg,#121821f0,#090d13f0);box-shadow:inset 0 1px #ffe8b014,0 8px 18px #0000003d}.alchemy-v3-reference-status-pills span{display:grid;gap:.2dvh;min-width:0}.alchemy-v3-reference-status-pills small{color:#d6c9b2ad;font-size:clamp(9px,2.2vw,13px)}.alchemy-v3-reference-status-pills strong{color:#d9c08e;font-size:clamp(10px,2.45vw,15px);line-height:1.1;overflow-wrap:anywhere}.alchemy-v3-reference-craft-message{margin:0;min-height:3.6dvh;padding:.75dvh 5%;border:1px solid rgba(111,87,51,.55);border-radius:6px;color:#ece2ccd1;background:#070a0fc7;font-size:clamp(11px,2.6vw,16px);line-height:1.32}.alchemy-v3-reference-craft-message.is-success{color:#d9f3bf;border-color:#a1cc6e94}.alchemy-v3-reference-craft-message.is-warning{color:#ffd7a1;border-color:#e1a758ad}.alchemy-v3-reference-materials,.alchemy-v3-reference-recipes{position:absolute;inset:16.2% 6% 13%;z-index:7;display:grid;grid-template-rows:auto minmax(0,1fr);gap:1.2dvh;color:#ead7b0;pointer-events:auto}.alchemy-v3-reference-select-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3.2%;padding:.9dvh 2.6%;border:1px solid rgba(127,96,50,.62);border-radius:7px;background:linear-gradient(180deg,#0d1119f5,#070a0ff2);box-shadow:inset 0 1px #f3d3941c,0 8px 18px #00000057}.alchemy-v3-reference-select{display:grid;gap:.35dvh;min-width:0;color:#bea56d;font-size:clamp(10px,2.5vw,15px)}.alchemy-v3-reference-select select{min-width:0;min-height:4.2dvh;border:1px solid rgba(178,133,61,.68);border-radius:6px;color:#f4dfb2;background:#090d13;font:inherit}.alchemy-v3-reference-list,.alchemy-v3-reference-recipe-list,.alchemy-v3-reference-picker-list,.alchemy-v3-reference-detail-list{display:grid;gap:1dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.alchemy-v3-reference-row,.alchemy-v3-reference-recipe-header{display:grid;grid-template-columns:14% minmax(0,1fr) auto;align-items:center;gap:3.2%;width:100%;min-height:8.8dvh;padding:1dvh 3%;border:1px solid rgba(125,98,57,.6);border-radius:7px;color:#e6d4b0;text-align:left;background:linear-gradient(180deg,#0f151ef5,#080c12f0);box-shadow:inset 0 1px #ffe8b01a,0 8px 18px #00000047}.alchemy-v3-reference-row .game-item-icon,.alchemy-v3-reference-recipe-header .game-item-icon{width:100%;height:auto;aspect-ratio:1}.alchemy-v3-reference-row-copy{display:grid;gap:.32dvh;min-width:0}.alchemy-v3-reference-row-copy strong{color:#f1d37b;font-size:clamp(12px,3vw,18px);line-height:1.1}.alchemy-v3-reference-row-copy span{color:#e7dbc3c7;font-size:clamp(10px,2.4vw,15px);line-height:1.24;overflow-wrap:anywhere}.alchemy-v3-reference-row-chevron{color:#d9b96b;font-size:clamp(20px,5vw,30px)}.alchemy-v3-reference-recipe-list{padding-right:1%}.alchemy-v3-reference-recipe{display:grid;gap:.7dvh}.alchemy-v3-reference-recipe.is-expanded .alchemy-v3-reference-recipe-header{border-color:#ecb84bf0;box-shadow:inset 0 1px #ffeeb533,0 0 20px #dc9f3638}.alchemy-v3-reference-recipe-detail{display:grid;gap:.9dvh;margin:0 2.5%;padding:1.2dvh 3%;border:1px solid rgba(118,92,54,.66);border-radius:7px;background:#05080df0}.alchemy-v3-reference-recipe-requirements{display:grid;gap:.5dvh;color:#c8b99d;font-size:clamp(10px,2.5vw,15px)}.alchemy-v3-reference-recipe-requirements .is-available{color:#a7d477}.alchemy-v3-reference-recipe-requirements .is-missing{color:#e3a65d}.alchemy-v3-reference-primary,.alchemy-v3-reference-filter-actions button{min-height:4dvh;border:1px solid rgba(230,179,82,.84);border-radius:6px;color:#ffe1a1;background:linear-gradient(180deg,#3c2d17f5,#17110cfa);box-shadow:inset 0 1px #ffefb72e,0 0 16px #dda23b2e}.alchemy-v3-reference-modal,.alchemy-v3-reference-filter{position:absolute;z-index:9;display:grid;color:#e8d8ba;border:1px solid rgba(143,111,56,.84);border-radius:10px;background:radial-gradient(circle at 50% 0%,rgba(197,151,68,.15),transparent 42%),linear-gradient(180deg,#10141dfa,#05080dfa);box-shadow:inset 0 1px #ffe8b021,0 22px 48px #00000094;pointer-events:auto}.alchemy-v3-reference-modal h2,.alchemy-v3-reference-filter h2{margin:0;color:#f0cf76;font-family:var(--ui-font-family-title);font-size:clamp(18px,4.8vw,28px);text-align:center;letter-spacing:0}.alchemy-v3-reference-modal--picker{inset:19% 8% 15%;grid-template-rows:auto minmax(0,1fr);gap:1.2dvh;padding:2dvh 4%}.alchemy-v3-reference-modal--material-detail{inset:18% 10% 15%;grid-template-rows:auto auto auto auto minmax(0,1fr);place-items:center;gap:1dvh;padding:2dvh 5%;text-align:center}.alchemy-v3-reference-modal--material-detail>.game-item-icon{width:18%;height:auto;aspect-ratio:1}.alchemy-v3-reference-modal--material-detail p{margin:0;color:#e9dec9c2;font-size:clamp(11px,2.6vw,16px);line-height:1.35}.alchemy-v3-reference-modal-close{position:absolute;right:3.2%;top:2.2%;width:9%;aspect-ratio:1;border:1px solid rgba(184,142,71,.6);border-radius:50%;color:#f1d8a8;background:#080a0ee6;font-size:clamp(18px,5vw,28px);line-height:1}.alchemy-v3-reference-picker-list{padding-right:1%}.alchemy-v3-reference-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7dvh 3%;width:100%}.alchemy-v3-reference-detail-grid span,.alchemy-v3-reference-detail-list article{display:grid;gap:.25dvh;padding:.8dvh 3%;border:1px solid rgba(115,89,52,.56);border-radius:6px;background:#080c12c7;color:#c8b99d;font-size:clamp(10px,2.45vw,15px);text-align:left}.alchemy-v3-reference-detail-grid strong,.alchemy-v3-reference-detail-list strong{color:#f0d083}.alchemy-v3-reference-filter{left:13%;right:13%;top:31%;gap:1.2dvh;padding:2dvh 4%}.alchemy-v3-reference-filter-option{display:grid;grid-template-columns:20% minmax(0,1fr);align-items:center;gap:4%;min-height:8.8dvh;padding:1dvh 4%;border:1px solid rgba(104,84,55,.72);border-radius:7px;color:#e6d4b0;text-align:left;background:#090e15e0}.alchemy-v3-reference-filter-option.is-selected{border-color:#ebb94ff2;box-shadow:0 0 16px #dca13c3d}.alchemy-v3-reference-filter-option .game-item-icon{width:100%;height:auto;aspect-ratio:1}.alchemy-v3-reference-filter-option span{display:grid;gap:.35dvh}.alchemy-v3-reference-filter-option strong{color:#f0d083}.alchemy-v3-reference-filter-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5%}.alchemy-v3-live-status{position:absolute;left:9%;right:9%;top:80.7%;z-index:6;display:grid;min-height:5.2%;place-items:center;padding:1.1% 4%;border:1px solid rgba(190,150,82,.56);border-radius:7px;color:#f1dfbc;text-align:center;font-size:clamp(13px,3.2vw,20px);line-height:1.42;background:linear-gradient(180deg,#0d1118f0,#06080ce6);box-shadow:inset 0 1px #ffe7ac29,0 8px 22px #00000073;pointer-events:none}.alchemy-v3-live-status.is-success{border-color:#bbdf8494;color:#d9f3bf}.alchemy-v3-live-status.is-warning{border-color:#e1a758ad;color:#ffd7a1}.alchemy-v3-topbar,.alchemy-v3-footer,.alchemy-v3-panel{box-sizing:border-box}.alchemy-v3-topbar{display:grid;gap:var(--ui-space-2);padding:var(--ui-space-3);border:1px solid rgba(143,111,56,.72);border-radius:var(--ui-radius-md);background:linear-gradient(180deg,#221a12eb,#090a0ef5),url(/assets/ui/theme/ash/ui_frame_panel.png);background-size:cover,100% 100%;box-shadow:inset 0 1px #f3d39429,0 10px 26px #00000052}.alchemy-v3-brand{display:flex;align-items:center;justify-content:center;gap:var(--ui-space-3);min-width:0;text-align:center}.alchemy-v3-brand-mark{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 auto;border:1px solid rgba(243,211,148,.68);border-radius:var(--ui-radius-pill);color:var(--ui-color-muted-gold);background:#080a0fd6;box-shadow:0 0 18px #f3d3942e}.alchemy-v3-kicker,.alchemy-v3-title{margin:0;overflow-wrap:anywhere;word-break:break-word}.alchemy-v3-kicker{color:var(--ui-color-parchment);font-size:var(--ui-font-size-xs);letter-spacing:0}.alchemy-v3-title{color:var(--ui-color-muted-gold);font-family:var(--ui-font-family-title);font-size:var(--ui-font-size-title);line-height:1.08;text-shadow:0 0 14px rgba(243,211,148,.18)}.alchemy-v3-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ui-space-2)}.alchemy-v3-tab,.alchemy-v3-operation,.alchemy-v3-row-card,.alchemy-v3-filter-option{min-width:0;border:1px solid rgba(143,111,56,.58);color:var(--ui-text-main);font-family:var(--ui-font-family-body);cursor:pointer;touch-action:manipulation}.alchemy-v3-tab{min-height:var(--ui-mobile-min-tap);display:flex;align-items:center;justify-content:center;gap:var(--ui-space-1);padding:var(--ui-space-2);border-radius:var(--ui-radius-sm);background:linear-gradient(180deg,#181b22eb,#08090df0);font-size:var(--ui-font-size-sm)}.alchemy-v3-tab.is-active{color:#211608;border-color:#f3d394eb;background:linear-gradient(180deg,#f3d394f5,#8f6f38f0);box-shadow:0 0 18px #f3d3943d}.alchemy-v3-stage{min-height:0;overflow:hidden;display:grid}.alchemy-v3-stage>.game-art-frame,.alchemy-v3-stage .alchemy-v3-panel{min-height:0}.alchemy-v3-stage>.game-art-frame>.game-art-frame__content,.alchemy-v3-stage .alchemy-v3-panel>.game-art-frame__content{min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr)}.alchemy-v3-stage>.game-art-frame>.game-art-frame__content>.game-art-frame__body,.alchemy-v3-stage .alchemy-v3-panel>.game-art-frame__content>.game-art-frame__body{min-height:0;overflow:hidden}.alchemy-v3-filter-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--ui-space-2)}.alchemy-v3-select-wrap{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--ui-space-1);min-height:var(--ui-mobile-min-tap);padding:0 var(--ui-space-2);border:1px solid rgba(143,111,56,.58);border-radius:var(--ui-radius-sm);background:#06080cb8;color:var(--ui-color-parchment);font-size:var(--ui-font-size-xs)}.alchemy-v3-select-wrap select{min-width:0;width:100%;border:0;color:var(--ui-text-main);background:transparent;font-family:var(--ui-font-family-body);font-size:var(--ui-font-size-sm);appearance:none}.alchemy-v3-select-wrap select:focus{outline:none}.alchemy-v3-scroll,.alchemy-v3-scroll .game-scroll-area__viewport,.alchemy-v3-modal-scroll,.alchemy-v3-modal-scroll .game-scroll-area__viewport{min-height:0;max-height:100%;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.alchemy-v3-material-list,.alchemy-v3-recipe-list,.alchemy-v3-modal-list,.alchemy-v3-trait-list{display:grid;gap:var(--ui-space-2)}.alchemy-v3-row-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--ui-space-2);width:100%;padding:var(--ui-space-2);border-radius:var(--ui-radius-sm);background:linear-gradient(180deg,#1a1d23eb,#08090df5),url(/assets/ui/annotated-text/annotated_frame_12.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;text-align:left}.alchemy-v3-row-card:hover,.alchemy-v3-row-card:focus-visible,.alchemy-v3-filter-option:hover,.alchemy-v3-filter-option:focus-visible{border-color:#f3d394db;outline:none;box-shadow:0 0 0 1px #f3d3942e,0 0 16px #f3d3941f}.alchemy-v3-row-copy{min-width:0;display:grid;gap:2px;color:var(--ui-text-muted);font-size:var(--ui-font-size-xs);line-height:var(--ui-line-height-safe)}.alchemy-v3-row-copy strong{color:var(--ui-color-parchment);font-size:var(--ui-font-size-sm);line-height:1.2}.alchemy-v3-row-meta,.alchemy-v3-row-count{color:var(--ui-color-muted-gold)}.alchemy-v3-row-count{justify-self:end;font-size:var(--ui-font-size-sm);white-space:nowrap}.alchemy-v3-recipe-layout{min-height:0;display:grid;gap:var(--ui-space-2)}.alchemy-v3-recipe-list-panel{min-height:0}.alchemy-v3-recipe-card.is-selected{border-color:#f3d394f0;box-shadow:inset 0 0 0 1px #f3d3942e,0 0 18px #f3d39424}.alchemy-v3-recipe-detail .game-art-frame__body{display:grid;gap:var(--ui-space-2);align-content:start}.alchemy-v3-recipe-output{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--ui-space-3);align-items:center}.alchemy-v3-recipe-output h3,.alchemy-v3-recipe-output p{margin:0}.alchemy-v3-recipe-output h3{color:var(--ui-color-muted-gold);font-size:var(--ui-font-size-lg)}.alchemy-v3-recipe-output p{color:var(--ui-text-muted);line-height:var(--ui-line-height-safe)}.alchemy-v3-requirements{display:flex;flex-wrap:wrap;gap:var(--ui-space-1)}.alchemy-v3-requirement{max-width:100%;padding:var(--ui-space-1) var(--ui-space-2);border:1px solid rgba(143,111,56,.48);border-radius:var(--ui-radius-pill);background:#06080ca8;color:var(--ui-text-muted);font-size:var(--ui-font-size-xs);overflow-wrap:anywhere}.alchemy-v3-requirement.is-available{color:var(--ui-color-poison);border-color:#90c58d94}.alchemy-v3-requirement.is-missing{color:var(--ui-text-danger);border-color:#d7666194}.alchemy-v3-craft-panel .game-art-frame__body{min-height:0}.alchemy-v3-craft{min-height:0;display:grid;grid-template-rows:auto auto auto auto minmax(0,auto);justify-items:center;gap:var(--ui-space-3);text-align:center}.alchemy-v3-ritual-slot{position:relative;width:min(42%,172px);aspect-ratio:1;display:grid;place-items:center;border:1px solid rgba(143,111,56,.78);border-radius:var(--ui-radius-sm);color:var(--ui-color-muted-gold);background:radial-gradient(circle at 50% 50%,rgba(243,211,148,.14),transparent 38%),linear-gradient(180deg,#14100dfa,#050609fa);box-shadow:inset 0 0 28px #0000008c,0 0 24px #f3d39414;cursor:pointer}.alchemy-v3-ritual-slot:before,.alchemy-v3-ritual-slot:after{content:"";position:absolute;pointer-events:none;border:1px solid rgba(243,211,148,.2);border-radius:50%}.alchemy-v3-ritual-slot:before{inset:16%}.alchemy-v3-ritual-slot:after{inset:28%;border-color:#8f6f3857}.alchemy-v3-ritual-slot.is-filled{border-color:#f3d394f0;box-shadow:inset 0 0 30px #00000085,0 0 28px #f3d3942e}.alchemy-v3-ritual-aura{position:absolute;inset:8%;border:1px dashed rgba(143,111,56,.42);border-radius:50%;pointer-events:none}.alchemy-v3-empty-slot{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid rgba(243,211,148,.52);border-radius:var(--ui-radius-sm);background:#080a0fb8}.alchemy-v3-current-copy{display:grid;gap:var(--ui-space-1);max-width:34em}.alchemy-v3-current-copy h3,.alchemy-v3-current-copy p,.alchemy-v3-craft-message{margin:0}.alchemy-v3-current-copy h3{color:var(--ui-color-muted-gold);font-size:var(--ui-font-size-xl);line-height:1.18}.alchemy-v3-current-copy p,.alchemy-v3-craft-message{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm);line-height:var(--ui-line-height-safe)}.alchemy-v3-status-grid{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ui-space-2)}.alchemy-v3-status-pill{min-width:0;display:grid;justify-items:center;gap:2px;padding:var(--ui-space-2) var(--ui-space-1);border:1px solid rgba(143,111,56,.5);border-radius:var(--ui-radius-sm);background:#06080cb8;color:var(--ui-text-muted);font-size:var(--ui-font-size-xs);line-height:1.15}.alchemy-v3-status-pill strong{color:var(--ui-color-parchment);font-size:var(--ui-font-size-xs)}.alchemy-v3-craft-message.is-success,.alchemy-v3-status.is-success{color:var(--ui-color-poison)}.alchemy-v3-craft-message.is-warning,.alchemy-v3-status.is-warning{color:var(--ui-text-danger)}.alchemy-v3-operation-grid{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-space-2)}.alchemy-v3-operation{min-height:var(--ui-mobile-min-tap);display:flex;align-items:center;justify-content:center;gap:var(--ui-space-1);padding:var(--ui-space-2);border-radius:var(--ui-radius-sm);background:linear-gradient(180deg,#22252df5,#08090dfa);font-size:var(--ui-font-size-sm)}.alchemy-v3-operation.is-recommended{color:#201408;border-color:#f3d394f0;background:linear-gradient(180deg,#f3d394fa,#8f6f38f0);box-shadow:0 0 18px #f3d39433}.alchemy-v3-operation:disabled{cursor:not-allowed;opacity:.48;filter:grayscale(.35)}.alchemy-v3-footer{display:flex;align-items:center;gap:var(--ui-space-2);padding:var(--ui-space-2);border:1px solid rgba(143,111,56,.46);border-radius:var(--ui-radius-md);background:#05060ad1}.alchemy-v3-status{flex:1 1 auto;min-width:0;margin:0;color:var(--ui-text-muted);font-size:var(--ui-font-size-xs);line-height:var(--ui-line-height-safe)}.alchemy-v3-modal{width:min(92vw,420px);max-height:80vh}.alchemy-v3-modal .game-art-frame__content,.alchemy-v3-modal .game-art-frame__body{min-height:0}.alchemy-v3-modal .game-art-frame__body{display:grid;gap:var(--ui-space-3);overflow:hidden}.alchemy-v3-material-hero{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--ui-space-3);align-items:center}.alchemy-v3-material-hero h3,.alchemy-v3-material-hero p{margin:0}.alchemy-v3-material-hero h3{color:var(--ui-color-muted-gold);font-size:var(--ui-font-size-lg)}.alchemy-v3-material-hero p{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm);line-height:var(--ui-line-height-safe)}.alchemy-v3-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-space-2)}.alchemy-v3-detail-grid span,.alchemy-v3-trait-card{min-width:0;padding:var(--ui-space-2);border:1px solid rgba(143,111,56,.46);border-radius:var(--ui-radius-sm);background:#06080cb8;color:var(--ui-text-muted);font-size:var(--ui-font-size-xs);line-height:var(--ui-line-height-safe)}.alchemy-v3-detail-grid strong{color:var(--ui-color-parchment)}.alchemy-v3-trait-card{display:grid;gap:2px}.alchemy-v3-trait-card strong{color:var(--ui-color-muted-gold)}.alchemy-v3-filter-options{display:grid;gap:var(--ui-space-2)}.alchemy-v3-filter-option{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--ui-space-3);padding:var(--ui-space-3);border-radius:var(--ui-radius-sm);background:#06080cbd;text-align:left}.alchemy-v3-filter-option>span{min-width:0;display:grid;gap:2px}.alchemy-v3-filter-option strong{color:var(--ui-color-parchment)}.alchemy-v3-filter-option.is-selected{border-color:#f3d394f0;background:linear-gradient(180deg,#422d14db,#0d0a08e6);box-shadow:0 0 18px #f3d3942e}.alchemy-v3-filter-note{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm);line-height:var(--ui-line-height-safe)}.alchemy-v3-empty{margin:0;color:var(--ui-text-muted);line-height:var(--ui-line-height-safe)}@media(min-width:700px){.alchemy-v3-recipe-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.alchemy-v3-operation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.workshop-recipe-craft-footer{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:clamp(12px,3vw,28px)}.workshop-recipe-gold-cost{flex:1 0 100%;color:var(--ui-text-accent);font-family:var(--ui-font-display);font-size:clamp(1rem,3.7vw,1.45rem);line-height:1.16;text-align:center;text-shadow:0 2px 5px rgba(0,0,0,.72)}.workshop-recipe-gold-cost--missing{color:var(--ui-text-danger);text-shadow:0 0 10px rgba(255,94,82,.44)}.workshop-recipe-action-button.ui-button,.workshop-recipe-return-button.ui-button{min-width:clamp(156px,34vw,260px);min-height:clamp(48px,7.6vh,72px);padding:clamp(10px,2.8vw,18px) clamp(22px,6vw,42px);font-size:clamp(1rem,3.5vw,1.48rem);line-height:1.1}.workshop-card,.workshop-material-card,.workshop-hero-card,.workshop-route-card{position:relative;display:grid;gap:var(--ui-space-2);padding:clamp(18px,4vw,34px) clamp(22px,6vw,46px);border:0;border-radius:0;background:linear-gradient(180deg,#070a1070,#070a10a8),url(/assets/ui/annotated-text/annotated_frame_12.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;box-shadow:none}.workshop-card:before,.workshop-material-card:before,.workshop-hero-card:before,.workshop-route-card:before{content:"";position:absolute;inset:clamp(12px,3vw,24px);z-index:-1;border-radius:var(--ui-radius-lg);background:#080c137a;pointer-events:none}.workshop-card.is-selected,.workshop-material-card.is-selected,.workshop-hero-card.is-selected,.workshop-route-card.is-selected{filter:brightness(1.1);box-shadow:inset 0 0 0 2px #f5df9fd1,0 0 28px #f5df9f3d}.workshop-recipe-row{width:100%;grid-template-columns:52px minmax(0,1fr);align-items:center;column-gap:var(--ui-space-3);text-align:left}.workshop-recipe-row .workshop-icon-copy{justify-items:start}.workshop-recipe-name,.workshop-recipe-formula{min-width:0;overflow-wrap:anywhere}.workshop-recipe-formula{width:100%;justify-self:start;color:var(--ui-text-good);font-size:var(--ui-font-size-sm);line-height:1.22;text-align:left}.workshop-recipe-formula.is-warning{color:#ffb0a8}.workshop-recipe-material-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px}.alchemy-v2-recipe-requirements{display:grid;gap:12px}.alchemy-v2-quality-stepper{display:grid;grid-template-columns:40px minmax(72px,auto) 40px;align-items:center;justify-items:center;gap:8px;color:#f6e6a8eb;font-size:14px;white-space:nowrap}.alchemy-v2-success-body{align-items:center;display:grid;gap:12px;justify-items:center;text-align:center}.workshop-card-header,.workshop-card-body,.workshop-stat-grid,.workshop-material-meta{display:grid;gap:var(--ui-space-2)}.workshop-card-title{margin:0;color:var(--ui-text-main);font-family:var(--ui-font-family-title);font-size:var(--ui-font-size-lg);line-height:1.16}.workshop-card-title[data-rarity=story]{color:#8fb6ff}.workshop-card-title[data-rarity=common]{color:#b9c2da}.workshop-card-title[data-rarity=good]{color:#90c58d}.workshop-card-title[data-rarity=rare]{color:#6ea4ff}.workshop-card-title[data-rarity=elite],.workshop-card-title[data-rarity=epic]{color:#c27cff}.workshop-card-title[data-rarity=legendary]{color:#e0c06a}.workshop-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-stat{min-width:0;padding:var(--ui-space-2) var(--ui-space-3);border:1px solid rgba(214,173,79,.22);border-radius:var(--ui-radius-md);background:#070a1070}.workshop-stat strong,.workshop-temp-value{color:var(--ui-text-accent)}.workshop-select-grid{display:grid;gap:clamp(8px,1.25vh,14px)}.workshop-select-field{display:grid;gap:var(--ui-space-2)}.workshop-select-field>label{color:var(--ui-text-accent);font-size:var(--ui-font-size-sm);font-weight:800}.workshop-select-trigger{width:100%;min-height:62px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--ui-space-3);padding:clamp(10px,2vw,18px) clamp(18px,5vw,34px);border:0;border-radius:0;background:linear-gradient(180deg,#18202f38,#080b1194),url(/assets/ui/annotated-text/annotated_frame_10.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;color:var(--ui-text-main);font:inherit;font-size:var(--ui-font-size-sm);text-align:left;box-shadow:none}.workshop-select-trigger.is-open,.workshop-select-trigger.is-selected{filter:brightness(1.12);box-shadow:inset 0 0 0 1px #f5df9f9e,0 0 24px #f5df9f29}.workshop-select-copy,.workshop-option-copy,.workshop-icon-copy{min-width:0;display:grid;gap:2px}.workshop-select-name,.workshop-option-name,.workshop-icon-name{color:var(--ui-text-main);font-family:var(--ui-font-family-title);font-weight:900;line-height:1.15}.workshop-select-meta,.workshop-option-stock,.workshop-icon-meta{color:var(--ui-text-muted);font-size:var(--ui-font-size-xs);line-height:1.28}.workshop-select-arrow{color:var(--ui-text-accent);font-size:var(--ui-font-size-body);transform:translateY(-1px)}.workshop-dropdown-panel{margin-top:var(--ui-space-2);max-height:min(34vh,420px)}.workshop-dropdown-panel .game-art-frame__body{gap:var(--ui-space-2);max-height:min(28vh,340px);overflow:auto}.workshop-option-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:center}.workshop-option-button{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--ui-space-3);padding:clamp(10px,2vw,16px) clamp(8px,2.5vw,18px);border:0;border-bottom:1px solid rgba(214,173,79,.16);border-radius:var(--ui-radius-md);background:transparent;color:var(--ui-text-main);text-align:left}.workshop-option-button.is-selected{background:linear-gradient(90deg,rgba(245,223,159,.14),rgba(245,223,159,.04),transparent);box-shadow:inset 3px 0 #f5df9fc7}.workshop-option-action{color:var(--ui-text-accent);font-size:var(--ui-font-size-xs);font-weight:900}.workshop-transparent-card{position:relative;min-width:0;display:grid;gap:var(--ui-space-2);width:100%;padding:clamp(12px,2.8vw,20px) clamp(8px,2.5vw,18px);border:0;border-bottom:1px solid rgba(214,173,79,.18);border-radius:var(--ui-radius-md);background:transparent;color:var(--ui-text-main);text-align:left}.workshop-transparent-card:is(button):hover,.workshop-transparent-card:is(button):focus-visible{background:linear-gradient(90deg,rgba(245,223,159,.12),rgba(245,223,159,.03),transparent);outline:1px solid rgba(245,223,159,.38)}.workshop-transparent-card.is-selected{background:linear-gradient(90deg,rgba(245,223,159,.16),rgba(245,223,159,.05),transparent);box-shadow:inset 3px 0 #f5df9fcc}.workshop-quantity-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--ui-space-2);align-items:center}.workshop-quantity-row .ui-button{min-width:0;padding-inline:var(--ui-space-3)}.workshop-preview-card .game-art-frame__body,.workshop-current-item .game-art-frame__body{justify-items:center;text-align:center}.workshop-modal-root{position:fixed;inset:0;z-index:calc(var(--ui-z-modal) + 10);display:grid;place-items:center;padding:var(--ui-space-3)}.workshop-stage-modal-root{inset:50% auto auto 50%;width:min(100vw,56.25dvh,1080px);aspect-ratio:9 / 16;max-height:100dvh;transform:translate(-50%,-50%);overflow:hidden}.workshop-modal-root .ui-overlay{z-index:0}.workshop-modal{position:relative;z-index:1;width:min(94vw,720px);max-height:min(88vh,980px);overflow:hidden}.workshop-stage-modal-root .workshop-modal{width:min(86%,680px);max-height:82%;overflow-x:hidden;overflow-y:hidden}.workshop-modal--fixed-footer{height:min(88vh,980px)}.workshop-stage-modal-root .workshop-modal--fixed-footer{height:82%}.workshop-modal .game-art-frame__content{max-height:min(88vh,980px);min-height:0;height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.workshop-stage-modal-root .workshop-modal .game-art-frame__content{max-height:min(82vh,82%)}.workshop-modal .game-art-frame__body{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}.workshop-modal-body{min-height:0;max-height:none;overflow:hidden}.workshop-modal-body.game-scroll-area,.workshop-modal-body .game-scroll-area__viewport{min-height:0;height:100%}.workshop-modal-actions{position:sticky;bottom:0;display:flex;justify-content:center;gap:var(--ui-space-3);padding-top:var(--ui-space-3);background:linear-gradient(180deg,transparent,rgba(7,9,14,.92) 42%)}.workshop-modal-footer{z-index:2;flex:0 0 auto}.workshop-temperature-panel{display:grid;gap:var(--ui-space-2);justify-items:center;padding:clamp(18px,4vw,32px);border:0;border-radius:0;background:linear-gradient(180deg,#090c126b,#05080da8),url(/assets/ui/annotated-text/annotated_frame_10.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat}.workshop-temperature-stack{flex-direction:column}.workshop-temperature-readout{display:grid;align-content:center;justify-items:center;gap:2px;min-height:0;padding:clamp(8px,1.8vw,14px);color:var(--ui-text-primary);border:1px solid rgba(229,190,112,.38);border-radius:var(--ui-radius-md);background:linear-gradient(180deg,#101c2ab8,#070b12c7);box-shadow:inset 0 0 14px #e5be7014}.workshop-temperature-readout strong{color:var(--ui-color-gold);font-size:clamp(.72rem,2.6vw,1rem);letter-spacing:.12em}.workshop-craft-controls{margin-top:var(--ui-space-3)}.workshop-disabled-note{grid-column:1 / -1;margin:0;color:var(--ui-text-muted);font-size:var(--ui-font-size-xs);text-align:center}.workshop-bottom-sticky{position:static;z-index:2;min-height:0;padding-top:0;background:transparent}.workshop-expedition-footer{display:grid;gap:var(--ui-space-3)}.workshop-result{padding:var(--ui-space-3);border:0;border-radius:0;color:#b9f2ad;background:linear-gradient(180deg,#0d261457,#08120b94),url(/assets/ui/annotated-text/annotated_frame_12.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat}.workshop-bottom-sticky .game-art-frame__body,.workshop-expedition-footer .game-art-frame__body{gap:var(--ui-space-2)}.workshop-footer{min-height:46px}.workshop-root--fit .workshop-footer{min-height:0;gap:var(--ui-space-2)}.workshop-root--fit .workshop-footer .ui-button{min-height:36px;min-width:76px;padding:7px 16px;font-size:var(--ui-font-size-body)}.workshop-root--fit .workshop-footer>p{font-size:var(--ui-font-size-xs)}.workshop-footer .ui-button{margin-inline:0}.workshop-footer .ui-button:only-child,.workshop-footer .ui-button:first-of-type:last-of-type{margin-inline:auto}.workshop-footer .ui-button:first-of-type:not(:last-of-type){margin-left:auto}.workshop-footer .ui-button:last-child:not(:only-child){margin-right:auto}.workshop-icon-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--ui-space-3)}.workshop-alchemy-signal{display:grid;gap:var(--ui-space-1);text-align:center}.workshop-alchemy-kicker{color:var(--ui-text-muted);font-size:var(--ui-font-size-xs);letter-spacing:.12em}.workshop-alchemy-primary{margin:0;color:var(--ui-text-main);font-family:var(--ui-font-family-title);font-size:clamp(1.22rem,5.4vw,2rem);line-height:1.12}.workshop-alchemy-primary.is-highlight{color:#f5df9f;text-shadow:0 0 18px rgba(245,223,159,.42),0 2px 0 rgba(0,0,0,.86)}.workshop-current-item-button{display:grid;justify-items:center;gap:var(--ui-space-2);border:0;background:transparent;color:inherit;padding:0}.workshop-current-item-tooltip{max-width:min(82vw,360px)}.workshop-current-item-tooltip-trigger{filter:drop-shadow(0 0 12px rgba(245,223,159,.18))}.workshop-grid-actions .is-recommended{border-color:#f5df9ffa;background:linear-gradient(180deg,#f5df9f42,#5b401a3d),url(/assets/ui/theme/ash/ui_button_primary.png);background-size:100% 100%,100% 100%;filter:brightness(1.16);box-shadow:inset 0 0 0 1px #f5df9fdb,0 0 26px #f5df9f3d}.workshop-modal-material-card{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:2em}.workshop-mix-preview{align-self:end;justify-self:end;color:#90c58d;font-size:var(--ui-font-size-sm);font-weight:900;line-height:1.18;text-align:right;text-shadow:0 0 8px rgba(144,197,141,.28)}.workshop-expedition-root{background:#06080d;overflow:hidden}.workshop-expedition-bg{position:absolute;inset:0;z-index:0;background-size:cover;background-position:center;filter:grayscale(.28) contrast(1.08) saturate(.82);transform:scale(1.03)}.workshop-expedition-bg:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 18%,rgba(244,215,144,.08),transparent 28%),linear-gradient(180deg,#0305096b,#030509d1)}.workshop-expedition-root .workshop-shell{position:relative;z-index:1;background:transparent}.workshop-expedition-topline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:var(--ui-space-3)}.workshop-menu-icons{display:grid;grid-template-columns:repeat(2,42px);gap:7px;justify-content:end}.workshop-menu-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(214,173,79,.74);border-radius:var(--ui-radius-md);background:#0c121cc7;color:#f6e6a8;font-size:.78rem;font-weight:900;box-shadow:inset 0 0 14px #0000008f}.workshop-menu-icon img{width:24px;height:24px;display:block;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.72))}.workshop-menu-icon span{font-size:.58rem;line-height:1}.workshop-expedition-layout{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(8px,1.4vh,18px)}.workshop-expedition-layout>.game-art-frame{min-height:0}.workshop-expedition-layout>.game-art-frame>.game-art-frame__content{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.workshop-expedition-layout>.game-art-frame>.game-art-frame__content>.game-art-frame__body{min-height:0;overflow:hidden}.workshop-act-route-panel{min-height:0;display:grid;grid-template-columns:.42fr minmax(0,1fr);gap:var(--ui-space-3)}.workshop-act-list,.workshop-route-list,.workshop-hero-list{min-height:0;overflow:auto;scrollbar-width:thin}.workshop-act-list{display:grid;gap:var(--ui-space-2);align-content:start}.workshop-act-button{min-height:44px}.workshop-hero-card{grid-template-columns:auto minmax(0,1fr);align-items:center}.workshop-hero-avatar{width:62px;height:82px;border:1px solid rgba(245,223,159,.42);border-radius:var(--ui-radius-md);object-fit:cover;object-position:center top;background:#090c12cc;box-shadow:inset 0 0 16px #0000008a}.workshop-expedition-footer{display:grid;gap:var(--ui-space-2)}.workshop-root--fit .workshop-card,.workshop-root--fit .workshop-material-card,.workshop-root--fit .workshop-hero-card,.workshop-root--fit .workshop-route-card{gap:var(--ui-space-1);padding:clamp(7px,1.8vw,13px) clamp(9px,2.5vw,17px)}.workshop-root--fit .workshop-card:before,.workshop-root--fit .workshop-material-card:before,.workshop-root--fit .workshop-hero-card:before,.workshop-root--fit .workshop-route-card:before{inset:clamp(7px,1.8vw,12px)}.workshop-root--fit .workshop-card-list,.workshop-root--fit .workshop-material-list,.workshop-root--fit .workshop-route-list,.workshop-root--fit .workshop-hero-list,.workshop-root--fit .workshop-transparent-list,.workshop-root--fit .workshop-stat-grid{gap:4px}.workshop-root--fit .workshop-stat{padding:3px 6px}.workshop-root--fit .game-item-icon{width:26px;height:26px;border-radius:7px}.workshop-root--fit .game-item-icon--sm{width:22px;height:22px}.workshop-root--fit .game-item-icon--lg{width:34px;height:34px}.workshop-root--blacksmith .workshop-main-grid{grid-template-rows:minmax(0,1.24fr) auto minmax(0,.76fr);gap:5px}.workshop-root--blacksmith .workshop-bottom-sticky .game-art-frame__content{padding-top:4px;padding-bottom:4px}.workshop-root--blacksmith .workshop-tabs{justify-content:center;flex-wrap:nowrap;gap:clamp(18px,4vw,38px);transform:translateY(-12px);margin-bottom:-10px}.workshop-root--blacksmith .workshop-tabs .ui-button{flex:0 1 clamp(150px,30vw,240px);max-width:240px;min-height:clamp(56px,7.3vh,72px);padding:clamp(12px,3vw,20px) clamp(22px,5vw,38px);font-size:clamp(1rem,3vw,1.44rem);line-height:1.08}.workshop-root--blacksmith .workshop-recipe-pagination{display:grid;grid-template-columns:minmax(0,132px) auto minmax(0,132px);align-items:center;justify-content:center;gap:8px;padding:6px 10px 4px;background:linear-gradient(180deg,#0a0e1694,#080b11b8),url(/assets/ui/annotated-text/annotated_frame_10.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat}.workshop-root--blacksmith .workshop-recipe-pagination .ui-button{min-height:30px;padding:4px 10px;font-size:var(--ui-font-size-xs)}.workshop-root--blacksmith .workshop-page-indicator{color:var(--ui-text-accent);font-size:var(--ui-font-size-xs);font-weight:800;text-align:center}.workshop-root--blacksmith .workshop-footer>p{display:none}.workshop-root--fit.workshop-root--blacksmith .workshop-recipe-action-button.ui-button,.workshop-root--fit.workshop-root--blacksmith .workshop-recipe-return-button.ui-button{min-width:clamp(176px,40vw,300px);min-height:clamp(58px,8.6vh,84px);padding:clamp(14px,3.4vw,24px) clamp(28px,7vw,52px);font-size:clamp(1.18rem,4vw,1.72rem);line-height:1.08}.workshop-root--blacksmith .workshop-recipe-output-card .game-item-icon--lg,.workshop-root--blacksmith .workshop-recipe-slot .game-item-icon--lg{width:clamp(46px,8vw,72px);height:clamp(46px,8vw,72px)}.workshop-root--blacksmith .workshop-main-grid>.game-art-frame{height:100%;min-height:0}.workshop-root--blacksmith .workshop-main-grid>.game-art-frame>.game-art-frame__content>.game-art-frame__body{overflow:auto;scrollbar-width:thin}.workshop-root--blacksmith .workshop-select-grid{gap:4px}.workshop-root--blacksmith .workshop-material-select-compact{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:6px}.workshop-root--blacksmith .workshop-select-field{gap:3px}.workshop-root--blacksmith .workshop-material-select-compact .workshop-select-field>label{font-size:calc(var(--ui-font-size-sm) * .75)}.workshop-root--blacksmith .workshop-select-trigger{min-height:38px;padding:5px 12px}.workshop-root--blacksmith .workshop-material-select-compact .workshop-select-trigger{min-height:47px;grid-template-columns:26px minmax(0,1fr) 14px;gap:6px;padding:5px 7px;font-size:calc(var(--ui-font-size-sm) * .75)}.workshop-root--blacksmith .workshop-material-select-compact .game-item-icon--sm{width:26px;height:26px}.workshop-root--blacksmith .workshop-material-select-compact .workshop-select-name,.workshop-root--blacksmith .workshop-material-select-compact .workshop-option-name{font-size:calc(var(--ui-font-size-body) * .75);line-height:1.08}.workshop-root--blacksmith .workshop-material-select-compact .workshop-select-meta,.workshop-root--blacksmith .workshop-material-select-compact .workshop-option-stock{font-size:calc(var(--ui-font-size-xs) * .75);line-height:1.12}.workshop-root--blacksmith .workshop-material-select-compact .workshop-select-arrow{font-size:calc(var(--ui-font-size-body) * .75)}.workshop-root--blacksmith .workshop-material-select-compact .workshop-dropdown-panel{max-height:min(25vh,260px)}.workshop-root--blacksmith .workshop-material-select-compact .workshop-dropdown-panel .game-art-frame__body{max-height:min(20vh,220px);overflow:auto}.workshop-root--blacksmith .workshop-material-select-compact .workshop-option-button{grid-template-columns:26px minmax(0,1fr) auto;gap:6px;padding:6px 7px;font-size:calc(var(--ui-font-size-sm) * .75)}.workshop-root--blacksmith .workshop-quantity-row{grid-template-columns:repeat(4,minmax(0,1fr)) auto auto;gap:3px}.workshop-root--blacksmith .workshop-quantity-row .ui-button{min-height:24px;padding:2px 5px;font-size:var(--ui-font-size-xs)}.workshop-root--blacksmith .workshop-dropdown-panel{max-height:min(24vh,260px)}.workshop-root--blacksmith .workshop-dropdown-panel .game-art-frame__body{max-height:min(19vh,210px)}.workshop-root--blacksmith .workshop-preview-card .game-art-frame__body{gap:3px}.workshop-root--blacksmith .workshop-preview-card .workshop-muted{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.workshop-root--blacksmith .workshop-card-list--paged{grid-template-rows:repeat(3,minmax(0,1fr));gap:8px;min-height:0}.workshop-root--blacksmith .workshop-card--recipe{min-height:0;height:clamp(148px,16vh,188px);overflow:hidden;padding:clamp(14px,2.4vw,24px) clamp(18px,4vw,34px)}.workshop-root--blacksmith .workshop-card--recipe .workshop-muted{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.workshop-root--blacksmith .workshop-card--recipe .workshop-stat-grid{gap:5px}.workshop-root--blacksmith .workshop-card--recipe .workshop-stat{padding:5px 8px;font-size:var(--ui-font-size-xs)}.workshop-root--alchemy .workshop-material-list{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:1px}.workshop-root--alchemy .workshop-material-card{min-height:clamp(108px,11vh,132px);grid-template-columns:auto minmax(0,1fr);align-items:center;padding-top:clamp(12px,1.9vh,20px);padding-bottom:clamp(12px,1.9vh,20px)}.workshop-root--alchemy .workshop-scroll{max-height:none}.workshop-root--alchemy .workshop-material-list .workshop-card-title{font-size:var(--ui-font-size-sm)}.workshop-root--alchemy .workshop-material-list .workshop-icon-meta{font-size:var(--ui-font-size-xs)}.workshop-root--alchemy .workshop-main-grid{overflow:hidden;height:100%;align-content:stretch}.workshop-root--alchemy .workshop-current-item .game-art-frame__body{gap:var(--ui-space-1)}.workshop-root--alchemy .workshop-alchemy-primary{font-size:clamp(.62rem,2.6vw,.9rem)}.workshop-root--alchemy .workshop-temperature-panel{padding:8px}.workshop-root--alchemy .workshop-craft-grid{min-height:0}.workshop-root--alchemy .workshop-craft-grid>.game-art-frame{height:100%;min-height:0}.workshop-root--alchemy .workshop-craft-grid>.game-art-frame>.game-art-frame__content{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.workshop-root--alchemy .workshop-craft-grid>.game-art-frame>.game-art-frame__content>.game-art-frame__body{min-height:0}.workshop-craft-layout{min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(7px,1.4vh,14px);align-content:stretch}.workshop-root--alchemy .workshop-current-item{align-self:stretch;min-height:0}.workshop-root--alchemy .workshop-current-item .game-art-frame__content{height:100%;display:grid;align-items:center}.workshop-root--alchemy .workshop-craft-controls{display:grid;grid-template-columns:minmax(72px,.42fr) minmax(0,1fr);gap:clamp(8px,1.7vw,14px);margin-top:var(--ui-space-2);align-items:stretch}.workshop-root--alchemy .workshop-grid-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:stretch}.workshop-root--alchemy .workshop-alchemy-action-grid .ui-button{min-height:clamp(34px,4.5vh,52px)}.workshop-root--alchemy .workshop-footer{gap:clamp(8px,1.5vh,16px);min-height:clamp(66px,8vh,88px)}.workshop-root--alchemy .workshop-footer>p{font-size:clamp(.94rem,2vw,1.05rem);line-height:1.28}.workshop-root--alchemy .workshop-footer .ui-button{min-height:clamp(54px,5.4vh,64px);min-width:clamp(92px,14vw,150px);padding:clamp(9px,1.4vh,14px) clamp(16px,2.4vw,30px);font-size:clamp(.84rem,1.9vw,1rem)}.workshop-root--alchemy .workshop-disabled-note{font-size:.42rem}.workshop-expedition-root .workshop-topbar .game-art-frame__content{padding-bottom:clamp(6px,1vh,10px)}.workshop-expedition-root .workshop-expedition-layout{grid-template-rows:minmax(0,.68fr) minmax(0,1.32fr);gap:6px}.workshop-expedition-root .workshop-act-route-panel{grid-template-columns:.36fr minmax(0,1fr);gap:5px}.workshop-expedition-root .workshop-route-button-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(6px,1.2vh,10px);align-content:start;overflow:auto}.workshop-expedition-root .workshop-route-button{min-height:clamp(42px,6.4vh,58px);padding:clamp(7px,1.4vh,11px) clamp(10px,2vw,18px);font-size:clamp(.88rem,2.2vw,1.04rem);line-height:1.14}.workshop-expedition-root .workshop-act-button{min-height:clamp(36px,5.6vh,50px);padding:clamp(6px,1.2vh,10px) clamp(8px,1.8vw,14px)}.workshop-expedition-root .workshop-expedition-footer .workshop-footer{min-height:clamp(64px,8.4vh,84px);gap:clamp(14px,2.6vw,30px)}.workshop-expedition-root .workshop-expedition-footer .workshop-footer .ui-button{min-width:clamp(150px,28vw,230px);min-height:clamp(54px,7.4vh,72px);padding:clamp(12px,2vh,18px) clamp(24px,4.6vw,42px);font-size:clamp(1rem,2.7vw,1.3rem);line-height:1.08}.workshop-expedition-root .workshop-menu-icons{grid-template-columns:repeat(4,clamp(48px,7.4vw,56px));gap:clamp(6px,1vw,10px)}.workshop-expedition-root .workshop-menu-icon{width:clamp(48px,7.4vw,56px);height:clamp(48px,7.4vw,56px);border-radius:8px}.workshop-expedition-root .workshop-menu-icon img{width:clamp(24px,3.7vw,30px);height:clamp(24px,3.7vw,30px)}.workshop-expedition-root .workshop-menu-icon span{font-size:clamp(.56rem,1.35vw,.68rem)}.workshop-expedition-root .workshop-hero-card{min-height:0;height:auto;padding:clamp(6px,1.1vh,10px) clamp(7px,1.3vw,12px)}.workshop-expedition-root .workshop-hero-avatar{width:clamp(52px,7.8vw,66px);height:clamp(68px,10vw,84px)}.workshop-expedition-root .workshop-hero-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(92px,1fr);gap:clamp(5px,1vh,9px);align-content:start;align-items:start;overflow:auto}.workshop-expedition-root .workshop-hero-card{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}.workshop-expedition-root .workshop-hero-card .workshop-icon-copy{justify-items:center}.workshop-expedition-root .workshop-hero-card .workshop-icon-meta{font-size:clamp(.46rem,1.28vw,.62rem);line-height:1.16}.workshop-expedition-root .workshop-hero-card .workshop-icon-meta:last-child{display:none}@media(max-height:760px){.workshop-shell{gap:8px;padding:8px}.workshop-muted,.workshop-meta{font-size:.78rem}.game-art-frame__header{margin-bottom:var(--ui-space-2)}.workshop-card,.workshop-material-card,.workshop-hero-card,.workshop-route-card{padding:14px 18px}}.workshop-root--formal{width:var(--ash-city-stage-width, 1080px);height:var(--ash-city-stage-height, 1920px);min-height:0;--ui-font-size-xs: 14px;--ui-font-size-sm: 16px;--ui-font-size-body: 18px;--ui-font-size-lg: 21px;--ui-font-size-xl: 26px;--ui-font-size-title: 34px;--ui-space-1: 4px;--ui-space-2: 8px;--ui-space-3: 12px;--ui-space-4: 16px;--ui-space-5: 22px;--ui-space-6: 28px;--ui-mobile-min-tap: 52px;--ui-mobile-chip-height: 60px}.workshop-root--formal .workshop-shell{width:100%;height:100%;max-height:none;aspect-ratio:auto;gap:18px;padding:24px;box-sizing:border-box}.workshop-root--formal .game-art-frame{--game-art-frame-safe-x: 30px;--game-art-frame-safe-y: 28px}.workshop-root--formal .game-art-frame--compact{--game-art-frame-safe-x: 24px;--game-art-frame-safe-y: 20px}.workshop-root--formal .game-art-frame--expeditionPoster,.workshop-root--formal .game-art-frame--annotatedFrame10,.workshop-root--formal .game-art-frame--annotatedFrame11,.workshop-root--formal .game-art-frame--annotatedFrame12{--game-art-frame-safe-x: 34px;--game-art-frame-safe-y: 30px}.workshop-root--formal .game-art-frame:after{inset:18px}.workshop-root--formal .workshop-topbar .game-art-frame__content{padding-top:18px;padding-bottom:18px}.workshop-root--formal .workshop-topbar .game-art-frame__body,.workshop-root--formal .workshop-main-grid,.workshop-root--formal .workshop-two-column,.workshop-root--formal .workshop-tabs,.workshop-root--formal .workshop-chip-row,.workshop-root--formal .workshop-grid-actions{gap:14px}.workshop-root--formal .ui-button{min-height:56px;padding:12px 28px;font-size:var(--ui-font-size-body);line-height:1.12}.workshop-root--formal .workshop-muted,.workshop-root--formal .workshop-meta,.workshop-root--formal .workshop-icon-meta,.workshop-root--formal .workshop-select-meta,.workshop-root--formal .workshop-option-stock{line-height:1.24}.workshop-root--formal .workshop-scroll{max-height:100%}.workshop-root--formal .workshop-main-grid{max-height:none}.workshop-root--formal .workshop-recipe-slot{width:520px;min-height:104px}.workshop-root--formal .workshop-recipe-menu{top:108px;right:58px;width:360px}.workshop-root--formal .workshop-recipe-menu,.workshop-root--formal .workshop-recipe-menu>.game-art-frame__content,.workshop-root--formal .workshop-recipe-menu>.game-art-frame__content>.game-art-frame__body{max-height:420px}.workshop-root--formal.workshop-root--blacksmith .workshop-tabs{gap:36px}.workshop-root--formal.workshop-root--blacksmith .workshop-tabs .ui-button{flex:0 1 240px;max-width:240px;min-height:66px;padding:14px 36px;font-size:24px}.workshop-root--formal.workshop-root--blacksmith .workshop-recipe-action-button.ui-button,.workshop-root--formal.workshop-root--blacksmith .workshop-recipe-return-button.ui-button{min-width:280px;min-height:76px;padding:16px 42px;font-size:26px}.workshop-root--formal.workshop-root--blacksmith .workshop-recipe-output-card .game-item-icon--lg,.workshop-root--formal.workshop-root--blacksmith .workshop-recipe-slot .game-item-icon--lg{width:66px;height:66px}.workshop-root--formal.workshop-root--blacksmith .workshop-material-select-compact .workshop-dropdown-panel,.workshop-root--formal.workshop-root--blacksmith .workshop-dropdown-panel{max-height:280px}.workshop-root--formal.workshop-root--blacksmith .workshop-material-select-compact .workshop-dropdown-panel .game-art-frame__body,.workshop-root--formal.workshop-root--blacksmith .workshop-dropdown-panel .game-art-frame__body{max-height:224px;overflow:auto}.workshop-root--formal.workshop-root--blacksmith .workshop-card--recipe{height:176px;padding:18px 28px}.workshop-root--formal.workshop-root--blacksmith .workshop-card-list--paged{gap:10px}.workshop-root--formal.workshop-root--alchemy .workshop-craft-layout,.workshop-root--formal.workshop-root--alchemy .workshop-craft-controls{gap:14px}.workshop-root--formal.workshop-root--alchemy .workshop-alchemy-action-grid .ui-button{min-height:50px}.workshop-root--formal.workshop-root--alchemy .workshop-footer{gap:16px;min-height:88px}.workshop-root--formal.workshop-root--alchemy .workshop-footer>p{font-size:19px}.workshop-root--formal.workshop-root--alchemy .workshop-footer .ui-button{min-width:150px;min-height:64px;padding:12px 30px;font-size:18px}.workshop-root--formal.workshop-expedition-root .workshop-topbar .game-art-frame__content{padding-top:18px;padding-bottom:18px}.workshop-root--formal.workshop-expedition-root .workshop-expedition-layout{grid-template-rows:minmax(0,620px) minmax(0,820px);gap:14px}.workshop-root--formal.workshop-expedition-root .workshop-act-route-panel{grid-template-columns:260px minmax(0,1fr);gap:14px}.workshop-root--formal.workshop-expedition-root .workshop-route-button-list{gap:12px}.workshop-root--formal.workshop-expedition-root .workshop-route-button{min-height:64px;padding:12px 20px;font-size:19px;line-height:1.16}.workshop-root--formal.workshop-expedition-root .workshop-act-button{min-height:56px;padding:10px 18px;font-size:18px}.workshop-root--formal.workshop-expedition-root .workshop-expedition-footer .workshop-footer{min-height:88px;gap:28px}.workshop-root--formal.workshop-expedition-root .workshop-expedition-footer .workshop-footer .ui-button{min-width:240px;min-height:74px;padding:16px 42px;font-size:24px;line-height:1.1}.workshop-root--formal.workshop-expedition-root .workshop-menu-icons{grid-template-columns:repeat(4,58px);gap:10px}.workshop-root--formal.workshop-expedition-root .workshop-menu-icon{width:58px;height:58px;border-radius:8px}.workshop-root--formal.workshop-expedition-root .workshop-menu-icon img{width:30px;height:30px}.workshop-root--formal.workshop-expedition-root .workshop-menu-icon span{font-size:12px}.workshop-root--formal.workshop-expedition-root .workshop-hero-list{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:172px;gap:12px}.workshop-root--formal.workshop-expedition-root .workshop-hero-card{min-height:0;height:auto;padding:12px;grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}.workshop-root--formal.workshop-expedition-root .workshop-hero-avatar{width:78px;height:98px}.workshop-root--formal.workshop-expedition-root .workshop-hero-card .workshop-icon-copy{justify-items:center}.workshop-root--formal.workshop-expedition-root .workshop-hero-card .workshop-icon-name{font-size:18px}.workshop-root--formal.workshop-expedition-root .workshop-hero-card .workshop-icon-meta{font-size:14px;line-height:1.18}.workshop-root--alchemy-v2-art{--ui-font-size-xs: .68rem;--ui-font-size-sm: .76rem;--ui-font-size-body: .84rem;--ui-font-size-lg: .94rem;--ui-font-size-xl: 1.05rem;--ui-font-size-title: 1.12rem;--ui-space-1: .16rem;--ui-space-2: .3rem;--ui-space-3: .44rem;--ui-space-4: .58rem;--ui-space-5: .76rem;--ui-mobile-min-tap: 34px;--ui-text-main: #d8deea;--ui-text-muted: #aeb6c8;--ui-text-accent: #f3d394;overflow:hidden;background:radial-gradient(circle at 50% -8%,rgba(243,211,148,.16),transparent 30%),radial-gradient(circle at 16% 42%,rgba(141,47,51,.14),transparent 30%),linear-gradient(180deg,#121722,#07090e 72%,#050609)}.workshop-root--alchemy-v2-art,.workshop-root--alchemy-v2-art *{box-sizing:border-box}.workshop-root--alchemy-v2-art .ui-text-safe,.workshop-root--alchemy-v2-art .workshop-muted,.workshop-root--alchemy-v2-art .workshop-meta,.workshop-root--alchemy-v2-art .workshop-icon-meta{overflow-wrap:anywhere;word-break:break-word;white-space:normal}.workshop-root--alchemy-v2-art .alchemy-v2-shell{gap:6px;padding:6px;background:radial-gradient(circle at 50% 0%,rgba(229,190,112,.1),transparent 34%),linear-gradient(180deg,#06080c47,#0203069e)}.workshop-root--alchemy-v2-art .game-art-frame{--game-art-frame-safe-x: 12px;--game-art-frame-safe-y: 10px;box-shadow:none}.workshop-root--alchemy-v2-art .game-art-frame:before{background-image:linear-gradient(180deg,#080a0f57,#05070ba8),var(--game-art-frame-image);background-size:100% 100%,100% 100%;background-repeat:no-repeat}.workshop-root--alchemy-v2-art .game-art-frame:after{inset:12px;border-radius:8px;background:#05070b57;box-shadow:inset 0 0 20px #00000080}.workshop-root--alchemy-v2-art .game-art-frame__content{min-width:0;min-height:0}.workshop-root--alchemy-v2-art .game-art-frame__header{justify-items:center;gap:2px;margin-bottom:6px;text-align:center}.workshop-root--alchemy-v2-art .game-art-frame__header:after{content:"";width:min(74%,280px);height:8px;margin-top:1px;background-image:url(/assets/ui/alchemy-v2/decorations/dec_header_rule.png);background-repeat:no-repeat;background-position:center;background-size:100% 100%}.workshop-root--alchemy-v2-art .game-art-frame__title{font-size:var(--ui-font-size-title);line-height:1.08;color:var(--ui-text-accent)}.workshop-root--alchemy-v2-art .game-art-frame__subtitle{color:#bfa36e;font-size:var(--ui-font-size-xs);letter-spacing:0}.workshop-root--alchemy-v2-art .game-art-frame__body{min-width:0;min-height:0;gap:6px}.workshop-root--alchemy-v2-art .alchemy-v2-topbar{--game-art-frame-image: url(/assets/ui/alchemy-v2/frames_and_panels/frm_topbar_shell.png);--game-art-frame-safe-x: 14px;--game-art-frame-safe-y: 8px}.workshop-root--alchemy-v2-art .alchemy-v2-topbar:after{display:none}.workshop-root--alchemy-v2-art .alchemy-v2-topbar .game-art-frame__content{padding-top:8px;padding-bottom:8px}.workshop-root--alchemy-v2-art .alchemy-v2-topbar .game-art-frame__header{margin-bottom:5px}.workshop-root--alchemy-v2-art .alchemy-v2-topbar .game-art-frame__header:after,.workshop-root--alchemy-v2-art .alchemy-v2-topbar .workshop-muted{display:none}.workshop-root--alchemy-v2-art .workshop-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.workshop-root--alchemy-v2-art .alchemy-v2-tab.ui-button{width:100%;min-width:0;min-height:32px;padding:4px 6px;color:#b9c2da;font-size:.74rem;line-height:1.08;background-image:url(/assets/ui/alchemy-v2/buttons/btn_tab_inactive_generic.png);background-size:100% 100%;background-repeat:no-repeat;filter:none}.workshop-root--alchemy-v2-art .alchemy-v2-tab--materials:not(.game-button-ghost){color:#22180c;background-image:url(/assets/ui/alchemy-v2/buttons/btn_tab_material_active.png)}.workshop-root--alchemy-v2-art .alchemy-v2-tab--recipes:not(.game-button-ghost){color:#22180c;background-image:url(/assets/ui/alchemy-v2/buttons/btn_tab_recipe_active.png)}.workshop-root--alchemy-v2-art .alchemy-v2-tab--craft:not(.game-button-ghost){color:#22180c;background-image:url(/assets/ui/alchemy-v2/buttons/btn_tab_make_active.png)}.workshop-root--alchemy-v2-art .alchemy-v2-material-library-panel{--game-art-frame-image: url(/assets/ui/alchemy-v2/frames_and_panels/frm_material_library.png)}.workshop-root--alchemy-v2-art .alchemy-v2-recipe-list-panel{--game-art-frame-image: url(/assets/ui/alchemy-v2/frames_and_panels/frm_recipe_list_panel.png)}.workshop-root--alchemy-v2-art .alchemy-v2-main-make-panel{--game-art-frame-image: url(/assets/ui/alchemy-v2/frames_and_panels/frm_main_make_panel.png)}.workshop-root--alchemy-v2-art .alchemy-v2-bottom-status-frame{--game-art-frame-image: url(/assets/ui/alchemy-v2/frames_and_panels/frm_bottom_status.png);--game-art-frame-safe-x: 16px;--game-art-frame-safe-y: 10px}.workshop-root--alchemy-v2-art .alchemy-v2-bottom-status-frame:after{display:none}.workshop-root--alchemy-v2-art .workshop-chip-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.workshop-root--alchemy-v2-art .alchemy-v2-filter-chip.ui-button{min-width:0;min-height:28px;padding:3px 5px;color:#d8deea;font-size:.66rem;line-height:1.08;background-image:url(/assets/ui/alchemy-v2/widgets_and_status/wgt_dropdown_collapsed_category.png);background-size:100% 100%;background-repeat:no-repeat}.workshop-root--alchemy-v2-art .alchemy-v2-filter-chip:not(.game-button-ghost){color:#24180b;filter:brightness(1.12)}.workshop-root--alchemy-v2-art .workshop-scroll,.workshop-root--alchemy-v2-art .workshop-scroll .game-scroll-area__viewport{min-height:0;height:100%}.workshop-root--alchemy-v2-art .workshop-material-list,.workshop-root--alchemy-v2-art .workshop-card-list,.workshop-root--alchemy-v2-art .workshop-transparent-list{grid-template-columns:minmax(0,1fr);gap:5px}.workshop-root--alchemy-v2-art .alchemy-v2-material-row,.workshop-root--alchemy-v2-art .alchemy-v2-recipe-row,.workshop-root--alchemy-v2-art .alchemy-v2-filter-choice-row{border:0;border-radius:0;color:var(--ui-text-main);background-size:100% 100%;background-repeat:no-repeat;box-shadow:none}.workshop-root--alchemy-v2-art .alchemy-v2-material-row{min-height:62px;padding:10px 14px;background-image:linear-gradient(180deg,#080a0f14,#04060a47),url(/assets/ui/alchemy-v2/widgets_and_status/wgt_item_slot_normal.png)}.workshop-root--alchemy-v2-art .alchemy-v2-material-row:is(button):hover,.workshop-root--alchemy-v2-art .alchemy-v2-material-row:is(button):focus-visible{background-image:linear-gradient(180deg,#f3d3941a,#04060a38),url(/assets/ui/alchemy-v2/widgets_and_status/wgt_item_slot_selected.png);outline:none;filter:brightness(1.05)}.workshop-root--alchemy-v2-art .alchemy-v2-recipe-row{min-height:64px;grid-template-columns:52px minmax(0,1fr);padding:10px 14px;background-image:linear-gradient(180deg,#080a0f14,#04060a47),url(/assets/ui/alchemy-v2/widgets_and_status/wgt_recipe_row_normal.png)}.workshop-root--alchemy-v2-art .alchemy-v2-recipe-row .workshop-icon-copy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:4px}.workshop-root--alchemy-v2-art .alchemy-v2-recipe-row:hover,.workshop-root--alchemy-v2-art .alchemy-v2-recipe-row:focus-visible{background-image:linear-gradient(180deg,#f3d3941a,#04060a38),url(/assets/ui/alchemy-v2/widgets_and_status/wgt_recipe_row_selected.png);outline:none;filter:brightness(1.05)}.workshop-root--alchemy-v2-art .workshop-recipe-formula{justify-self:start;width:100%;color:#90c58d;text-align:left}.workshop-root--alchemy-v2-art .alchemy-v2-state-section{min-height:64px;display:grid;align-content:center;padding:12px 16px;background-image:linear-gradient(180deg,#080a0f1a,#04060a59),url(/assets/ui/alchemy-v2/frames_and_panels/frm_state_section.png);background-size:100% 100%;background-repeat:no-repeat}.workshop-root--alchemy-v2-art .workshop-alchemy-kicker{color:#bfa36e;font-size:.66rem;letter-spacing:0}.workshop-root--alchemy-v2-art .workshop-alchemy-primary{color:#e8d4a2;font-size:.86rem;line-height:1.18}.workshop-root--alchemy-v2-art .alchemy-v2-current-item-panel{--game-art-frame-image: url(/assets/ui/alchemy-v2/widgets_and_status/wgt_item_slot_selected.png);--game-art-frame-safe-x: 16px;--game-art-frame-safe-y: 12px;min-height:0}.workshop-root--alchemy-v2-art .alchemy-v2-current-item-panel:after{display:none}.workshop-root--alchemy-v2-art .alchemy-v2-current-item-panel .game-art-frame__body{align-content:center;justify-items:center;text-align:center}.workshop-root--alchemy-v2-art .alchemy-v2-product-orb{position:relative;width:84px;height:84px;display:grid;place-items:center;border-radius:999px;color:#f9e9b8;background:radial-gradient(circle at 50% 45%,rgba(255,248,196,.96) 0 13%,rgba(96,196,166,.92) 14% 38%,rgba(28,76,82,.96) 39% 58%,transparent 59%),radial-gradient(circle,#f5df9f57,#0d141c1f 70%);box-shadow:inset 0 0 0 2px #f9dd96f0,inset 0 0 0 8px #322211b8,inset 0 0 22px #ffeeaa38,0 8px 18px #00000094,0 0 18px #60c4a647}.workshop-root--alchemy-v2-art .alchemy-v2-product-orb:before,.workshop-root--alchemy-v2-art .alchemy-v2-product-orb:after{content:"";position:absolute;inset:6px;border-radius:inherit;border:1px solid rgba(247,216,143,.46);pointer-events:none}.workshop-root--alchemy-v2-art .alchemy-v2-product-orb:after{inset:18px;border-color:#ffffff38;background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.56),transparent 16%)}.workshop-root--alchemy-v2-art .alchemy-v2-product-orb__core{position:relative;z-index:1;width:42px;height:42px;display:grid;place-items:center;border-radius:999px;background:radial-gradient(circle at 35% 30%,#ffffff85,#389884ad 42%,#0d2c36e0);color:#fff5c9eb;font-family:var(--ui-font-family-title);font-size:1rem;font-weight:900;text-shadow:0 2px 0 rgba(0,0,0,.82)}.workshop-root--alchemy-v2-art .alchemy-v2-product-orb--powder{background:radial-gradient(circle at 50% 45%,rgba(255,246,210,.96) 0 13%,rgba(201,171,105,.92) 14% 38%,rgba(88,62,29,.96) 39% 58%,transparent 59%),radial-gradient(circle,#f5df9f57,#0d141c1f 70%)}.workshop-root--alchemy-v2-art .alchemy-v2-product-orb--powder .alchemy-v2-product-orb__core{background:radial-gradient(circle at 35% 30%,#ffffff75,#bc8e50c2 42%,#4b2a14e6)}.workshop-root--alchemy-v2-art .alchemy-v2-product-orb--solid{background:radial-gradient(circle at 50% 45%,rgba(255,252,216,.96) 0 13%,rgba(141,178,243,.92) 14% 38%,rgba(37,57,113,.96) 39% 58%,transparent 59%),radial-gradient(circle,#f5df9f57,#0d141c1f 70%)}.workshop-root--alchemy-v2-art .alchemy-v2-product-orb--solid .alchemy-v2-product-orb__core{background:radial-gradient(circle at 35% 30%,#ffffff85,#6080dbc2 42%,#172451eb)}.workshop-root--alchemy-v2-art .alchemy-v2-action-section{min-height:112px;grid-template-columns:minmax(76px,.34fr) minmax(0,1fr);gap:6px;margin-top:0;padding:10px 12px;background-image:linear-gradient(180deg,#080a0f14,#04060a47),url(/assets/ui/alchemy-v2/frames_and_panels/frm_action_section.png);background-size:100% 100%;background-repeat:no-repeat}.workshop-root--alchemy-v2-art .workshop-temperature-readout{min-height:0;padding:6px;border:0;border-radius:0;background-image:linear-gradient(180deg,#080a0f1f,#04060a57),url(/assets/ui/alchemy-v2/frames_and_panels/frm_state_section.png);background-size:100% 100%;background-repeat:no-repeat}.workshop-root--alchemy-v2-art .workshop-temperature-readout strong{color:#f3d394;font-size:.78rem;letter-spacing:0}.workshop-root--alchemy-v2-art .workshop-grid-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.workshop-root--alchemy-v2-art .alchemy-v2-action-button.ui-button{min-width:0;min-height:34px;padding:4px 5px;color:#21170c;font-size:.68rem;line-height:1.08;background-image:url(/assets/ui/alchemy-v2/buttons/btn_primary_confirm.png);background-size:100% 100%;background-repeat:no-repeat}.workshop-root--alchemy-v2-art .alchemy-v2-action--add-solution.ui-button{background-image:url(/assets/ui/alchemy-v2/buttons/btn_primary_add_solution.png)}.workshop-root--alchemy-v2-art .alchemy-v2-action--filter.ui-button{background-image:url(/assets/ui/alchemy-v2/buttons/btn_primary_filter.png)}.workshop-root--alchemy-v2-art .alchemy-v2-action-button.ui-button:disabled{color:#d8deea85;opacity:1;filter:grayscale(.3) brightness(.72);background-image:url(/assets/ui/alchemy-v2/buttons/btn_disabled_action.png)}.workshop-root--alchemy-v2-art .alchemy-v2-action-button.is-recommended:not(:disabled){filter:brightness(1.12)}.workshop-root--alchemy-v2-art .workshop-disabled-note{grid-column:1 / -1;font-size:.62rem;line-height:1.18}.workshop-root--alchemy-v2-art .workshop-footer{min-height:50px;display:grid;grid-template-columns:minmax(0,1fr) repeat(2,minmax(70px,max-content));gap:6px;align-items:center;text-align:left}.workshop-root--alchemy-v2-art .workshop-footer>p{min-width:0;margin:0;font-size:.66rem;line-height:1.22}.workshop-root--alchemy-v2-art .workshop-footer .ui-button{min-width:70px;min-height:32px;margin-inline:0;padding:4px 8px;font-size:.68rem;line-height:1.1}.workshop-root--alchemy-v2-art .alchemy-v2-reset-button.ui-button{color:#e8d4a2;background-image:url(/assets/ui/alchemy-v2/buttons/btn_secondary_cancel.png);background-size:100% 100%}.workshop-root--alchemy-v2-art .alchemy-v2-exit-button.ui-button{color:#e8d4a2;background-image:url(/assets/ui/alchemy-v2/buttons/btn_secondary_exit.png);background-size:100% 100%}.workshop-root--alchemy-v2-art .workshop-modal-root .ui-overlay{background-color:#000000a8;background-image:url(/assets/ui/alchemy-v2/widgets_and_status/wgt_overlay_scrim_reference.png);background-repeat:repeat;background-size:120px 120px}.workshop-root--alchemy-v2-art .alchemy-v2-material-modal{--game-art-frame-image: url(/assets/ui/alchemy-v2/frames_and_panels/frm_material_details_modal.png);--game-art-frame-safe-x: 18px;--game-art-frame-safe-y: 16px;width:min(88%,420px);max-width:min(92vw,420px);max-height:min(80dvh,680px)}.workshop-root--alchemy-v2-art .alchemy-v2-filter-choice-modal{--game-art-frame-image: url(/assets/ui/alchemy-v2/frames_and_panels/frm_filter_modal.png);--game-art-frame-safe-x: 18px;--game-art-frame-safe-y: 16px;width:min(88%,420px);max-width:min(92vw,420px);max-height:min(80dvh,580px)}.workshop-root--alchemy-v2-art .alchemy-v2-material-modal:after,.workshop-root--alchemy-v2-art .alchemy-v2-filter-choice-modal:after{inset:18px;background:#05070b57}.workshop-root--alchemy-v2-art .workshop-modal .game-art-frame__content,.workshop-root--alchemy-v2-art .workshop-modal .game-art-frame__body{min-height:0;overflow:hidden}.workshop-root--alchemy-v2-art .alchemy-v2-modal-material-row{min-height:58px}.workshop-root--alchemy-v2-art .alchemy-v2-filter-choice-row{min-height:72px;padding:14px 16px;background-image:linear-gradient(180deg,#080a0f14,#04060a47),url(/assets/ui/alchemy-v2/widgets_and_status/wgt_filter_choice_row_normal.png)}.workshop-root--alchemy-v2-art .alchemy-v2-filter-choice-row:hover,.workshop-root--alchemy-v2-art .alchemy-v2-filter-choice-row:focus-visible{background-image:linear-gradient(180deg,#f3d3941a,#04060a38),url(/assets/ui/alchemy-v2/widgets_and_status/wgt_filter_choice_row_selected.png);outline:none}.alchemy-v2-recipe-tooltip,.alchemy-v2-product-tooltip{max-width:min(88vw,360px);max-height:min(78dvh,420px);padding:18px 22px;border:0;border-radius:0;color:#e8d4a2;background-image:linear-gradient(180deg,#080a0f57,#04060ab3),url(/assets/ui/alchemy-v2/frames_and_panels/frm_recipe_tooltip_panel.png);background-size:100% 100%;background-repeat:no-repeat;box-shadow:none}.alchemy-v2-recipe-tooltip .game-tooltip__arrow,.alchemy-v2-product-tooltip .game-tooltip__arrow{fill:#8f6f38}@media(max-height:760px){.workshop-root--alchemy-v2-art{--ui-font-size-xs: .62rem;--ui-font-size-sm: .7rem;--ui-font-size-body: .78rem;--ui-font-size-lg: .86rem;--ui-font-size-title: 1rem}.workshop-root--alchemy-v2-art .alchemy-v2-shell{gap:4px;padding:4px}.workshop-root--alchemy-v2-art .alchemy-v2-state-section{min-height:56px;padding:10px 14px}.workshop-root--alchemy-v2-art .alchemy-v2-action-section{min-height:104px;padding:8px 10px}.workshop-root--alchemy-v2-art .alchemy-v2-action-button.ui-button{min-height:30px}.workshop-root--alchemy-v2-art .workshop-footer{min-height:44px}}@media(min-width:700px){.workshop-root--alchemy-v2-art{--ui-font-size-xs: .82rem;--ui-font-size-sm: .94rem;--ui-font-size-body: 1.04rem;--ui-font-size-lg: 1.18rem;--ui-font-size-title: 1.36rem;--ui-mobile-min-tap: 46px}.workshop-root--alchemy-v2-art .alchemy-v2-shell{gap:12px;padding:14px}.workshop-root--alchemy-v2-art .game-art-frame{--game-art-frame-safe-x: 28px;--game-art-frame-safe-y: 24px}.workshop-root--alchemy-v2-art .alchemy-v2-topbar{--game-art-frame-safe-x: 36px;--game-art-frame-safe-y: 18px}.workshop-root--alchemy-v2-art .alchemy-v2-tab.ui-button{min-height:52px;font-size:1rem}.workshop-root--alchemy-v2-art .alchemy-v2-action-button.ui-button{min-height:54px;font-size:.98rem}.workshop-root--alchemy-v2-art .alchemy-v2-state-section{min-height:112px;padding:26px 32px}.workshop-root--alchemy-v2-art .alchemy-v2-action-section{min-height:190px;padding:26px 30px}.workshop-root--alchemy-v2-art .workshop-footer{min-height:92px;gap:14px}.workshop-root--alchemy-v2-art .workshop-footer .ui-button{min-width:132px;min-height:54px;font-size:.98rem}}.market-root{min-height:100vh;padding:max(14px,env(safe-area-inset-top)) 12px max(18px,env(safe-area-inset-bottom));background:radial-gradient(circle at 18% 0%,rgba(188,141,63,.16),transparent 32%),radial-gradient(circle at 84% 12%,rgba(122,38,34,.18),transparent 28%),linear-gradient(180deg,#151925,#0b0e14);--market-slot-min: 104px}.market-phaser-overlay{position:fixed;inset:0;z-index:var(--ui-z-modal);min-height:100dvh;overflow-x:hidden;overflow-y:auto;background:#101218;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.ash-city-canvas-react-overlay.market-phaser-overlay{inset:auto;min-height:0;overflow:hidden;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.market-root[data-market-mode=formal]{width:100%;height:100%;min-height:0;overflow:hidden;padding:0}.market-root[data-market-mode=formal] .market-shell{width:100%;max-width:none;height:100%;min-height:0;margin:0;box-sizing:border-box;grid-template-rows:auto minmax(0,1fr) auto;padding:clamp(8px,1.4vh,18px);overflow:hidden}.market-root[data-market-mode=formal] .market-list{min-height:0;overflow:auto;scrollbar-width:thin}.market-root .ui-button{min-height:var(--ui-mobile-chip-height);padding:11px 20px 13px;border:0;border-radius:999px;background-image:linear-gradient(180deg,#0c0e141f,#0a08052e),url(/assets/ui/theme/ash/ui_button_primary.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;color:#f8dfa0}.market-root .game-button-ghost{background-image:linear-gradient(180deg,#0f141ead,#07090ee0),url(/assets/ui/theme/ash/ui_button_primary.png);color:#e1e8f7}.market-shell{width:min(100%,720px);min-height:calc(100vh - 32px);margin:0 auto;display:grid;gap:var(--ui-space-4)}.market-topbar{--game-art-frame-image: url(/assets/ui/theme/ash/ui_frame_panel.png)}.market-topbar .game-art-frame__body{gap:var(--ui-space-3)}.market-title-row,.market-row,.market-listing-meta,.market-actions,.market-sheet-footer,.market-selected-row,.market-price-row{display:flex;align-items:center;gap:var(--ui-space-3)}.market-title-row,.market-price-row{justify-content:space-between}.market-sheet-footer{position:sticky;bottom:0;z-index:2;justify-content:center;padding-top:var(--ui-space-3);background:linear-gradient(180deg,transparent,rgba(10,13,20,.96) 28%)}.market-sheet-footer .ui-button:first-child:not(:last-child){margin-left:auto}.market-sheet-footer .market-sheet-return{margin-right:auto}.market-subtitle,.market-muted,.market-meta{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm)}.market-gold{flex:0 0 auto;padding:var(--ui-space-2) var(--ui-space-4);border:1px solid rgba(222,177,91,.56);border-radius:var(--ui-radius-pill);color:var(--ui-text-accent);background:#1c1810c7;font-weight:900;text-align:center}.market-tabs,.market-chip-row,.market-price-options{display:flex;flex-wrap:wrap;gap:var(--ui-space-2)}.market-tabs .ui-button,.market-chip-row .ui-button,.market-price-options .ui-button{flex:1 1 auto;font-size:var(--ui-font-size-sm)}.market-root[data-market-mode=formal] .market-tabs .ui-button,.market-root[data-market-mode=formal] .market-chip-row .ui-button,.market-root[data-market-mode=formal] .market-price-options .ui-button{background-image:linear-gradient(180deg,#0c0e141f,#0a08052e),url(/assets/ui/theme/ash/ui_button_primary.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;box-shadow:none}.market-root[data-market-mode=formal] .market-tabs .ui-button.game-button-ghost,.market-root[data-market-mode=formal] .market-chip-row .ui-button.game-button-ghost,.market-root[data-market-mode=formal] .market-price-options .ui-button.game-button-ghost{background-image:linear-gradient(180deg,#0f141ead,#07090ee0),url(/assets/ui/theme/ash/ui_button_primary.png)}.market-list{display:grid;gap:var(--ui-space-3);padding-bottom:108px}.market-listing-card{--game-art-frame-image: url(/assets/ui/theme/ash/ui_frame_panel.png)}.market-listing-card .game-art-frame__body{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--ui-space-3)}.market-listing-card__body{display:grid;min-width:0;gap:var(--ui-space-2)}.market-listing-card__title,.market-section-title{margin:0;color:var(--ui-text-main);font-family:var(--ui-font-family-title);font-size:var(--ui-font-size-lg);line-height:1.15}.market-listing-card__title[data-rarity=story],.market-inventory-card__name[data-rarity=story]{color:#8fb6ff}.market-listing-card__title[data-rarity=common],.market-inventory-card__name[data-rarity=common]{color:#b9c2da}.market-listing-card__title[data-rarity=good],.market-inventory-card__name[data-rarity=good]{color:#90c58d}.market-listing-card__title[data-rarity=rare],.market-inventory-card__name[data-rarity=rare]{color:#6ea4ff}.market-listing-card__title[data-rarity=epic],.market-inventory-card__name[data-rarity=epic]{color:#c27cff}.market-listing-card__title[data-rarity=legendary],.market-inventory-card__name[data-rarity=legendary]{color:#e0c06a}.market-listing-card__price{color:var(--ui-text-accent);font-weight:900}.market-tooltip-trigger{width:100%;min-width:0;padding:0;border:0;color:inherit;background:transparent;text-align:left;cursor:help}.market-inventory-card__main>.market-tooltip-trigger{width:auto;justify-self:center;display:inline-flex;align-items:center;justify-content:center}.market-bottom-bar{position:sticky;bottom:0;z-index:var(--ui-z-sticky);display:grid;gap:var(--ui-space-2);padding-top:var(--ui-space-2);background:linear-gradient(180deg,transparent,rgba(8,10,15,.96) 34%)}.market-bottom-bar__actions{display:grid;grid-template-columns:repeat(2,minmax(0,max-content));justify-content:center;align-items:center;gap:var(--ui-space-3)}.market-bottom-bar__actions>.ui-button:only-child{justify-self:center}.market-bottom-return{justify-self:start}.market-toast{padding:var(--ui-space-3);border:1px solid rgba(111,175,103,.42);border-radius:var(--ui-radius-md);color:#b9f2ad;background:#0d2614bd}.market-modal-root{position:fixed;inset:0;z-index:var(--ui-z-modal);display:grid;place-items:center;padding:var(--ui-space-3)}.market-modal-root--front{z-index:calc(var(--ui-z-modal) + 10)}.market-modal-root .ui-overlay{z-index:0}.market-modal{position:relative;z-index:1;width:min(94vw,700px);max-height:88vh;--game-art-frame-image: url(/assets/ui/theme/ash/ui_frame_dialog.png)}.market-modal .game-art-frame__content{max-height:88vh;overflow:auto}.market-list,.market-modal .game-art-frame__content,.market-picker-scroll,.market-picker-scroll .game-scroll-area__viewport{touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.market-modal--picker .game-art-frame__content{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.market-modal--picker .game-art-frame__header{margin-bottom:var(--ui-space-3)}.market-modal--picker .game-art-frame__body{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}.market-sheet-grid{display:grid;gap:var(--ui-space-4)}.market-selected-list,.market-inventory-grid,.market-summary-grid{display:grid;gap:var(--ui-space-3)}.market-selected-card .game-art-frame__body{gap:var(--ui-space-3)}.market-inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.market-picker-scroll{min-height:0;height:100%;max-height:min(36vh,360px);overflow:hidden}.market-picker-scroll .game-scroll-area__viewport{max-height:min(36vh,360px);padding-bottom:var(--ui-space-2)}.market-inventory-card{position:relative;min-height:154px;display:grid;align-content:start;justify-items:center;gap:7px;padding:12px 7px 10px;border-color:#8b94ae75;border-radius:var(--ui-radius-lg);background:radial-gradient(circle at 50% 16%,rgba(243,211,148,.16),transparent 34%),linear-gradient(180deg,#141a27eb,#080a0ff0);text-align:center}.market-inventory-card__main{display:grid;justify-items:center;gap:7px;min-width:0}.market-inventory-card__name{min-height:2.5em;display:flex;align-items:center;justify-content:center;font-family:var(--ui-font-family-title);font-size:var(--ui-font-size-sm);font-weight:800;text-align:center}.market-inventory-card__meta{color:var(--ui-text-muted);font-size:var(--ui-font-size-xs);text-align:center}.market-inventory-card__badge{position:static;justify-self:center;min-width:50px;padding:3px 7px;border:1px solid rgba(243,211,148,.88);border-radius:var(--ui-radius-pill);color:#2a1804;background:linear-gradient(180deg,#ffe7a5,#d6a246);font-size:var(--ui-font-size-xs);font-weight:900;text-align:center}.market-inventory-card.is-selected{border-color:#ffe297fa;box-shadow:0 0 0 2px #ffe29757,0 0 28px #f3d39447,inset 0 0 22px #f3d39438}.market-inventory-card.is-selected:after{content:"✓";position:absolute;left:7px;top:7px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#261707;background:#f3d394;font-weight:900;box-shadow:0 0 14px #f3d394b3}.market-inventory-card.is-blocked{opacity:.42}.market-picker-footer{position:relative;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--ui-space-3);margin-top:var(--ui-space-3);padding:var(--ui-space-3) 0 0;border-top:1px solid rgba(222,177,91,.28);background:#0a0d14f5;box-shadow:0 -12px 24px #07090eb8}.market-field{display:grid;gap:var(--ui-space-1)}.market-input{width:100%;min-height:58px;padding:0 var(--ui-space-3);border:1px solid var(--ui-border-panel);border-radius:var(--ui-radius-md);color:var(--ui-text-main);background:#080a0fe0;font:inherit;font-size:var(--ui-font-size-body)}.market-input:focus{outline:2px solid rgba(243,211,148,.42);outline-offset:2px}.market-danger{color:var(--ui-text-danger)}@media(min-width:620px){.market-inventory-grid{grid-template-columns:repeat(5,minmax(var(--market-slot-min),1fr))}.market-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.market-root[data-market-mode=formal]{width:var(--ash-city-stage-width, 1080px);height:var(--ash-city-stage-height, 1920px);min-height:0;overflow:hidden;padding:0;--market-slot-min: 128px;--ui-font-size-xs: 14px;--ui-font-size-sm: 16px;--ui-font-size-body: 18px;--ui-font-size-lg: 21px;--ui-font-size-xl: 26px;--ui-font-size-title: 34px;--ui-space-1: 4px;--ui-space-2: 8px;--ui-space-3: 12px;--ui-space-4: 16px;--ui-space-5: 22px;--ui-space-6: 28px;--ui-mobile-min-tap: 52px;--ui-mobile-chip-height: 60px}.market-root[data-market-mode=formal] .market-shell{width:100%;max-width:none;height:100%;min-height:0;margin:0;gap:18px;padding:24px;box-sizing:border-box;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.market-root[data-market-mode=formal] .game-art-frame{--game-art-frame-safe-x: 30px;--game-art-frame-safe-y: 28px}.market-root[data-market-mode=formal] .ui-button{min-height:56px;padding:12px 28px;font-size:var(--ui-font-size-body);line-height:1.12}.market-root[data-market-mode=formal] .market-topbar .game-art-frame__body,.market-root[data-market-mode=formal] .market-title-row,.market-root[data-market-mode=formal] .market-row,.market-root[data-market-mode=formal] .market-listing-meta,.market-root[data-market-mode=formal] .market-actions,.market-root[data-market-mode=formal] .market-sheet-footer,.market-root[data-market-mode=formal] .market-selected-row,.market-root[data-market-mode=formal] .market-price-row{gap:14px}.market-root[data-market-mode=formal] .market-list{min-height:0;overflow:auto;scrollbar-width:thin;padding-bottom:108px}.market-root[data-market-mode=formal] .market-modal-root{position:absolute;inset:0;padding:28px}.market-root[data-market-mode=formal] .market-modal{width:820px;max-height:1540px}.market-root[data-market-mode=formal] .market-modal .game-art-frame__content{max-height:1540px}.market-root[data-market-mode=formal] .market-picker-scroll,.market-root[data-market-mode=formal] .market-picker-scroll .game-scroll-area__viewport{max-height:640px}.market-root[data-market-mode=formal] .market-inventory-grid{grid-template-columns:repeat(5,minmax(var(--market-slot-min),1fr))}.market-root[data-market-mode=formal] .market-inventory-card{min-height:172px}.card-warehouse-root{background:radial-gradient(circle at 48% 10%,rgba(192,151,82,.13),transparent 28%),linear-gradient(180deg,#121720,#06070a)}.card-warehouse-shell{grid-template-rows:auto minmax(0,1fr) auto}.card-warehouse-topbar .game-art-frame__body{gap:var(--ui-space-2)}.card-warehouse-professions{display:flex;gap:var(--ui-space-2);flex-wrap:nowrap}.card-warehouse-pt{flex:0 0 auto;min-width:88px;color:#ffe39a;text-align:center;font-family:var(--ui-font-family-title);font-size:var(--ui-font-size-lg)}.card-warehouse-main-grid{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;--card-warehouse-frame-stretch: 123%}.card-warehouse-frame{position:relative;width:var(--card-warehouse-frame-stretch);min-height:0;overflow:hidden;background-size:100% 100%;background-repeat:no-repeat;background-position:center;--frame-content-left: 26.5%;--frame-content-right: 30%;--frame-content-top: 10%;--frame-content-bottom: 9%}.card-warehouse-deck-panel{justify-self:start;background-image:url(/assets/ui/card-warehouse/card_warehouse_carried_frame.png);--frame-content-left: 26.5%;--frame-content-right: 33.8%;--frame-content-top: 10%;--frame-content-bottom: 10.5%}.card-warehouse-library-panel{justify-self:end;background-image:url(/assets/ui/card-warehouse/card_warehouse_library_frame.png);--frame-content-left: 26.7%;--frame-content-right: 28.2%;--frame-content-top: 9%;--frame-content-bottom: 5.7%}.card-warehouse-panel-title{position:absolute;z-index:1;top:clamp(18px,3.4%,42px);left:var(--frame-content-left);right:var(--frame-content-right);height:34px;display:flex;align-items:center;justify-content:center;gap:8px;color:#f1d58e;font-family:var(--ui-font-family-title);font-size:var(--ui-font-size-lg);text-shadow:0 2px 0 #000}.card-warehouse-panel-title strong{color:#b8dfff;font-size:var(--ui-font-size-body)}.card-warehouse-scroll{position:absolute;z-index:1;top:var(--frame-content-top);right:var(--frame-content-right);bottom:var(--frame-content-bottom);left:var(--frame-content-left);min-height:0;padding:0 6px 0 0;display:flex;flex-direction:column;align-items:stretch;gap:clamp(5px,.75vh,9px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.card-warehouse-scrollbar{scrollbar-width:thin;scrollbar-color:rgba(204,160,84,.72) rgba(5,7,10,.72)}.card-warehouse-scrollbar::-webkit-scrollbar{width:10px}.card-warehouse-scrollbar::-webkit-scrollbar-track{background:#05070ab8;border:1px solid rgba(194,142,61,.45)}.card-warehouse-scrollbar::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#d6b16a,#8d4e2f);border-radius:0}.card-warehouse-mini-card{position:relative;width:100%;aspect-ratio:4 / 1;flex:0 0 auto;align-self:stretch;padding:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--card-rarity-color) 58%,transparent);border-radius:3px;background:#0a0d13;color:#f5e5b1;box-shadow:inset 0 0 0 1px #0000008f,0 0 8px color-mix(in srgb,var(--card-rarity-color) 18%,transparent),0 5px 12px #00000057;cursor:pointer}.card-warehouse-mini-card.is-stacked{margin-right:4px;margin-bottom:0}.card-warehouse-mini-card.is-stacked:before,.card-warehouse-mini-card.is-stacked:after{content:"";position:absolute;inset:0;border:1px solid color-mix(in srgb,var(--card-rarity-color) 45%,transparent);border-radius:inherit;background:#080a0e7a;opacity:.42;pointer-events:none}.card-warehouse-mini-card.is-stacked:before{transform:translate(3px,3px);z-index:-2}.card-warehouse-mini-card.is-stacked:after{transform:translate(6px,5px);z-index:-3}.card-warehouse-mini-card:hover:not(.is-disabled){filter:brightness(1.14);transform:translateY(-1px)}.card-warehouse-mini-card.is-disabled{cursor:not-allowed;opacity:.58}.card-warehouse-mini-card.is-placeholder{opacity:.5;cursor:default}.card-warehouse-mini-card.is-placeholder .card-warehouse-mini-card__art{background:linear-gradient(135deg,#6b7a8e3d,#12172033 42%,#05070a73),repeating-linear-gradient(90deg,rgba(255,255,255,.08) 0 1px,transparent 1px 8px)}.card-warehouse-mini-card__art,.card-warehouse-mini-card__shade{position:absolute;inset:0}.card-warehouse-mini-card__art{background-size:118% auto;background-position:center 34%;filter:contrast(1.08) saturate(.82) brightness(.82)}.card-warehouse-mini-card__shade{background:linear-gradient(90deg,#000000d1,#0003 36%,#000000b8),linear-gradient(180deg,rgba(0,0,0,.24),transparent 42%,rgba(0,0,0,.78))}.card-warehouse-mini-card__name,.card-warehouse-mini-card__cost,.card-warehouse-mini-card__qty,.card-warehouse-mini-card__lock-icon{position:absolute;left:8px;right:8px;z-index:1;text-align:center;text-shadow:0 2px 0 #000,0 0 8px rgba(0,0,0,.9);word-break:keep-all}.card-warehouse-mini-card__name{top:50%;left:50%;right:auto;width:50%;transform:translate(-50%,-50%);font-family:var(--ui-font-family-title);font-size:clamp(.58rem,1.05vw,.8rem);line-height:1.12;letter-spacing:0}.card-warehouse-mini-card__cost{top:5px;left:6px;right:auto;color:#c9e8ff;font-size:clamp(.48rem,.95vw,.62rem);line-height:1}.card-warehouse-mini-card__qty{right:6px;left:auto;bottom:4px;color:#ffe39a;font-size:clamp(.54rem,1vw,.68rem);line-height:1}.card-warehouse-mini-card__lock-icon{top:4px;right:5px;left:auto;width:10px;height:10px;display:grid;place-items:center;color:#ffe6a0;border:1px solid color-mix(in srgb,var(--card-rarity-color) 70%,#1a1210);background:#06080cb8;box-shadow:0 0 8px #000c}.card-warehouse-rule-copy{text-align:center}.card-warehouse-preview-root{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:clamp(20px,5vh,52px)}.card-warehouse-preview-backdrop{position:absolute;inset:0;border:0;padding:0;background:#020408b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);cursor:pointer}.card-warehouse-mobile-preview{position:relative;z-index:1;width:min(76vw,420px);aspect-ratio:var(--card-warehouse-mobile-card-aspect);border:0;padding:0;color:#f7e7b6;background:transparent;filter:drop-shadow(0 28px 70px rgba(0,0,0,.66));cursor:pointer}.card-warehouse-mobile-preview__frame{position:absolute;inset:0;display:block;aspect-ratio:var(--card-warehouse-mobile-card-aspect);overflow:hidden;border-radius:16px;background-image:var(--card-warehouse-mobile-card-face);background-position:center;background-size:100% 100%;box-shadow:0 0 34px color-mix(in srgb,var(--card-rarity-color) 30%,transparent),inset 0 0 0 1px #d9f5ff2e}.building-management-root{background:linear-gradient(180deg,rgba(17,23,34,.96),var(--ui-color-obsidian))}.building-management-shell{grid-template-rows:auto minmax(0,1fr) auto}.building-management-root--formal{background:linear-gradient(180deg,#111722fa,#06080cfa)}.building-management-root--formal .building-management-shell{gap:18px;padding:24px}.building-management-root--formal .building-management-layout{gap:14px}.building-management-root--formal .building-tab-button.ui-button{min-height:72px;padding:12px 16px;gap:12px}.building-management-root--formal .building-tab-art{width:58px}.building-management-root--formal .building-selected-detail{grid-template-columns:minmax(0,1fr) minmax(240px,.34fr);gap:16px}.building-management-root--formal .building-hero-card{min-height:156px}.building-management-root--formal .building-hero-art{width:284px}.building-management-root--formal .building-action-panel{gap:18px;padding:16px}.building-management-root--formal .building-action-panel .ui-button{min-height:52px}.building-management-root--formal .building-work-slot{min-height:76px;grid-template-columns:64px minmax(138px,.42fr) minmax(0,1fr)}.building-management-root .building-tab-button.ui-button{flex:1 1 calc(50% - 4px);min-height:clamp(36px,5.6vh,58px);justify-content:flex-start;gap:var(--ui-space-2);padding:var(--ui-space-2) var(--ui-space-3);white-space:normal;text-align:left}.building-tab-art{width:clamp(32px,7vw,54px);aspect-ratio:1;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;border:1px solid rgba(143,111,56,.78);border-radius:8px;background:#030408c7;box-sizing:border-box}.building-tab-art img,.building-hero-art img{width:100%;height:100%;object-fit:cover;object-position:center;filter:contrast(1.04) saturate(.94) drop-shadow(0 6px 9px rgba(0,0,0,.5))}.building-tab-copy{min-width:0;display:grid;gap:1px;line-height:1.16}.building-tab-copy strong,.building-tab-copy small{min-width:0;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.building-tab-copy small{color:var(--ui-text-muted);font-size:var(--ui-font-size-xs)}.building-management-layout{display:grid;grid-template-rows:minmax(0,1fr);gap:clamp(4px,.75vh,9px);min-height:0;overflow:hidden}.building-detail-frame{min-height:0}.building-selected-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,.34fr);grid-template-areas:"status actions" "slots slots";gap:var(--ui-space-3);min-height:0}.building-status-panel,.building-action-panel,.building-work-section{position:relative;min-width:0;border:1px solid var(--ui-border-muted);background:linear-gradient(180deg,#090c129e,#05070bc7),url(/assets/ui/theme/ash/ui_frame_panel.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;box-shadow:inset 0 0 22px #00000075;box-sizing:border-box;overflow:hidden}.building-status-panel{grid-area:status;display:grid;gap:var(--ui-space-2);padding:var(--ui-space-3)}.building-status-card{grid-template-rows:minmax(0,1fr) auto auto}.building-hero-card{display:grid;place-items:center start;min-width:0;min-height:clamp(82px,14vh,148px)}.building-hero-art{width:clamp(116px,28vw,174px);aspect-ratio:16 / 10;overflow:hidden;border:1px solid rgba(143,111,56,.8);border-radius:8px;background:radial-gradient(circle at 50% 10%,rgba(243,211,148,.12),transparent 36%),#030408c7;box-shadow:inset 0 0 18px #00000094}.building-action-panel{grid-area:actions;display:grid;grid-template-rows:repeat(2,minmax(42px,auto));align-content:center;justify-content:stretch;gap:clamp(10px,2.2vh,22px);padding:var(--ui-space-3)}.building-action-panel--single{grid-template-rows:minmax(42px,auto)}.building-action-card{background:linear-gradient(180deg,#16120c9e,#05070bd1),url(/assets/ui/theme/ash/ui_frame_panel.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat}.building-action-panel .ui-button,.building-modal-actions .ui-button{width:100%}.building-status-row,.building-section-header{display:flex;flex-wrap:wrap;gap:var(--ui-space-2);align-items:center}.building-status-row{justify-content:space-between;color:var(--ui-text-main);font-weight:700}.building-hp-label{color:var(--ui-text-accent)}.building-hp-track{width:100%;height:clamp(8px,1.1vh,14px);overflow:hidden;border:1px solid rgba(143,111,56,.76);background:#05070bdb;box-shadow:inset 0 0 8px #0000009e}.building-hp-fill{display:block;height:100%;background:linear-gradient(90deg,var(--ui-color-blood-red),var(--ui-color-muted-gold))}.building-hp-fill--p0{width:0%}.building-hp-fill--p10{width:10%}.building-hp-fill--p20{width:20%}.building-hp-fill--p30{width:30%}.building-hp-fill--p40{width:40%}.building-hp-fill--p50{width:50%}.building-hp-fill--p60{width:60%}.building-hp-fill--p70{width:70%}.building-hp-fill--p80{width:80%}.building-hp-fill--p90{width:90%}.building-hp-fill--p100{width:100%}.building-work-section{grid-area:slots;display:grid;gap:var(--ui-space-3);padding:var(--ui-space-3)}.building-section-header{justify-content:space-between}.building-section-header h3{margin:0;color:var(--ui-text-accent);font-family:var(--ui-font-family-title);font-size:var(--ui-font-size-lg);line-height:1.2}.building-slot-count{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm)}.building-work-slot-list{display:grid;gap:var(--ui-space-2);min-height:0}.building-work-slot{width:100%;min-height:clamp(54px,8.4vh,86px);display:grid;grid-template-columns:clamp(42px,9.6vw,68px) minmax(74px,.62fr) minmax(0,1fr);gap:var(--ui-space-3);align-items:center;padding:var(--ui-space-3);border:1px solid rgba(143,111,56,.78);background:linear-gradient(180deg,#121822bd,#07090ee6),url(/assets/ui/theme/ash/ui_frame_confirm.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;color:var(--ui-text-main);text-align:left;cursor:pointer;box-sizing:border-box}.building-work-slot-card{position:relative;overflow:hidden}.building-work-slot--empty{border-style:dashed;color:var(--ui-text-muted)}.building-work-slot__portrait{width:clamp(38px,8.8vw,62px);aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border:1px solid var(--ui-border-panel);background:#030408c7;box-sizing:border-box}.building-work-slot__portrait img{width:100%;height:100%;object-fit:cover}.building-work-slot__plus{color:var(--ui-text-accent);font-size:var(--ui-font-size-xl);font-weight:700;line-height:1}.building-work-slot__hero,.building-work-slot__traits{min-width:0;display:grid;gap:2px;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.building-work-slot__hero strong{color:var(--ui-text-accent)}.building-work-slot__hero span,.building-work-slot__traits{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm);line-height:1.35}.building-benefit-frame .game-art-frame__body{min-height:0}.building-benefit-frame{margin-top:var(--ui-space-3)}.building-benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-space-2)}.building-benefit-line{min-width:0;min-height:clamp(34px,4.4vh,54px);display:grid;grid-template-columns:auto minmax(4.8em,.34fr) minmax(0,1fr);gap:var(--ui-space-2);align-items:start;margin:0;padding:var(--ui-space-2);border:1px solid rgba(143,111,56,.52);background:linear-gradient(180deg,#0a0e169e,#04060ac2),url(/assets/ui/theme/ash/ui_frame_panel.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;color:var(--ui-text-main);line-height:1.35;box-sizing:border-box}.building-benefit-line__sigil{width:1.25em;height:1.25em;display:grid;place-items:center;color:var(--ui-text-accent);font-size:var(--ui-font-size-sm);line-height:1;text-shadow:0 0 10px rgba(243,211,148,.4)}.building-benefit-line strong{color:var(--ui-text-accent);font-size:var(--ui-font-size-sm)}.building-benefit-line span{min-width:0;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.building-modal-backdrop{position:fixed;inset:0;z-index:var(--ui-z-modal);display:grid;place-items:center;padding:var(--ui-space-4);background:#000000a8;box-sizing:border-box}.building-action-modal,.building-hero-picker{width:min(92vw,420px);max-height:80vh;overflow:auto}.building-cost-list,.building-hero-picker-list{display:grid;gap:var(--ui-space-2)}.building-cost-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:var(--ui-space-2);align-items:center;margin:0;padding:var(--ui-space-2);border:1px solid rgba(143,111,56,.42);background:linear-gradient(180deg,#0c101894,#05070bbd),url(/assets/ui/theme/ash/ui_frame_confirm.png);background-size:100% 100%,100% 100%;background-repeat:no-repeat;color:var(--ui-text-main);line-height:1.3}.building-cost-icon.game-item-icon{width:30px;height:30px;border-radius:7px}.building-cost-name{min-width:0;display:flex;align-items:baseline;gap:var(--ui-space-2);overflow-wrap:anywhere}.building-cost-quantity{color:var(--ui-text-main);font-weight:700}.building-cost-quantity--missing{color:var(--ui-text-danger)}.building-cost-owned{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm)}.building-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:var(--ui-space-2);width:100%}.building-management-footer{display:flex;justify-content:center;align-items:center;min-height:clamp(46px,6.2vh,70px)}.building-management-footer .ui-button{min-width:min(52vw,260px)}.building-hero-picker-card{display:grid;grid-template-columns:clamp(42px,12vw,58px) minmax(0,1fr);grid-template-areas:"portrait name" "portrait trait";gap:var(--ui-space-2);align-items:center;padding:var(--ui-space-2);border:1px solid rgba(143,111,56,.64);background:#080a0fd1;color:var(--ui-text-main);text-align:left;cursor:pointer}.building-hero-picker-card img{grid-area:portrait;width:clamp(42px,12vw,58px);aspect-ratio:1;object-fit:cover;border:1px solid var(--ui-border-panel)}.building-hero-picker-card span{grid-area:name;display:grid;gap:1px;min-width:0}.building-hero-picker-card strong{color:var(--ui-text-accent)}.building-hero-picker-card small,.building-hero-picker-card em{color:var(--ui-text-muted);font-size:var(--ui-font-size-sm);line-height:1.3}.building-hero-picker-card em{grid-area:trait;min-width:0;font-style:normal;overflow-wrap:anywhere;word-break:break-word}.building-tutorial-target{position:relative;z-index:4;box-shadow:0 0 0 3px #ffde84d1,0 0 24px #ffc06094;animation:building-tutorial-pulse .9s ease-in-out infinite alternate}.building-tutorial-layer{pointer-events:none;position:fixed;inset:0;z-index:3;background:#0000007a;display:flex;align-items:flex-end;justify-content:center;padding:0 24px 96px}.building-tutorial-card{max-width:min(720px,100%);padding:18px 24px;border:1px solid rgba(255,220,142,.68);border-radius:8px;background:#12100df0;color:#ffe7a4;font-size:clamp(18px,4vw,24px);line-height:1.45;text-align:center;text-shadow:0 2px 6px rgba(0,0,0,.8)}@keyframes building-tutorial-pulse{0%{filter:brightness(1)}to{filter:brightness(1.28)}}@media(max-width:520px){.building-selected-detail{grid-template-columns:minmax(0,1fr);grid-template-areas:"status" "actions" "slots"}.building-action-panel{grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(40px,auto))}.building-action-panel--single{grid-template-rows:minmax(40px,auto)}.building-hero-card{min-height:clamp(74px,12vh,112px)}.building-management-root .building-tab-button.ui-button{flex-basis:calc(50% - 2px);padding:4px 6px}.building-tab-art{width:30px}.building-benefit-line{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"sigil label" "sigil text"}.building-benefit-line__sigil{grid-area:sigil}.building-benefit-line strong{grid-area:label}.building-benefit-line span:last-child{grid-area:text}.building-work-slot{grid-template-columns:clamp(38px,12vw,52px) minmax(0,1fr);grid-template-areas:"portrait hero" "portrait traits"}.building-work-slot__portrait{grid-area:portrait}.building-work-slot__hero{grid-area:hero}.building-work-slot__traits{grid-area:traits}}.workshop-root--blacksmith-v2{--blacksmith-v2-buttons-sheet: url(/assets/ui/blacksmith-v2/assets/buttons/blacksmith_buttons_sheet.png);--blacksmith-v2-frames-sheet: url(/assets/ui/blacksmith-v2/assets/frames_and_panels/blacksmith_frames_panels_sheet.png);--blacksmith-v2-widgets-sheet: url(/assets/ui/blacksmith-v2/assets/widgets_and_status/blacksmith_widgets_status_sheet.png);--blacksmith-v2-decorations-sheet: url(/assets/ui/blacksmith-v2/assets/decorations/blacksmith_decorations_sheet.png);--blacksmith-v2-asset-btn-recipe: url(/assets/ui/blacksmith-v2/extracted/btn_tab_recipe_active.png);--blacksmith-v2-asset-btn-upgrade: url(/assets/ui/blacksmith-v2/extracted/btn_tab_upgrade_inactive.png);--blacksmith-v2-asset-btn-forge: url(/assets/ui/blacksmith-v2/extracted/btn_forge_active.png);--blacksmith-v2-asset-btn-forge-disabled: url(/assets/ui/blacksmith-v2/extracted/btn_forge_disabled.png);--blacksmith-v2-asset-btn-close: url(/assets/ui/blacksmith-v2/extracted/btn_close_bottom.png);--blacksmith-v2-asset-btn-return: url(/assets/ui/blacksmith-v2/extracted/btn_return_ash_city.png);--blacksmith-v2-asset-btn-upgrade-disabled: url(/assets/ui/blacksmith-v2/extracted/btn_upgrade_card_large_disabled.png);--blacksmith-v2-asset-btn-select: url(/assets/ui/blacksmith-v2/extracted/btn_select_small.png);--blacksmith-v2-asset-slot: url(/assets/ui/blacksmith-v2/extracted/slot_recipe_empty_square.png);--blacksmith-v2-asset-chevron: url(/assets/ui/blacksmith-v2/extracted/icon_dropdown_chevron_square.png);--blacksmith-v2-asset-title: url(/assets/ui/blacksmith-v2/extracted/frm_title_bar_long.png);--blacksmith-v2-asset-recipe-panel: url(/assets/ui/blacksmith-v2/extracted/frm_medium_recipe_panel.png);--blacksmith-v2-asset-header-bar: url(/assets/ui/blacksmith-v2/extracted/frm_material_select_header_bar.png);--blacksmith-v2-asset-output: url(/assets/ui/blacksmith-v2/extracted/frm_forging_result_large.png);--blacksmith-v2-asset-menu: url(/assets/ui/blacksmith-v2/extracted/frm_recipe_list_panel.png);--blacksmith-v2-asset-footer: url(/assets/ui/blacksmith-v2/extracted/frm_bottom_bar_container.png);--blacksmith-v2-asset-upgrade-panel: url(/assets/ui/blacksmith-v2/extracted/frm_upgrade_main_panel.png);--blacksmith-v2-asset-unavailable: url(/assets/ui/blacksmith-v2/extracted/frm_unavailable_message_box.png);--blacksmith-v2-asset-divider: url(/assets/ui/blacksmith-v2/extracted/frm_long_divider_line.png);--blacksmith-v2-asset-flourish: url(/assets/ui/blacksmith-v2/extracted/frm_center_flourish_node.png);--blacksmith-v2-asset-recipe-row: url(/assets/ui/blacksmith-v2/extracted/wgt_recipe_row_bg.png);--blacksmith-v2-asset-material-row: url(/assets/ui/blacksmith-v2/extracted/wgt_material_row_bg.png);--blacksmith-v2-asset-dropdown: url(/assets/ui/blacksmith-v2/extracted/wgt_material_dropdown_collapsed.png);--blacksmith-v2-asset-dropdown-panel: url(/assets/ui/blacksmith-v2/extracted/wgt_material_dropdown_expanded_panel.png);--blacksmith-v2-asset-tooltip: url(/assets/ui/blacksmith-v2/extracted/wgt_epic_tooltip_panel.png);--blacksmith-v2-asset-epic-slot: url(/assets/ui/blacksmith-v2/extracted/wgt_epic_item_slot.png);--blacksmith-v2-asset-normal-slot: url(/assets/ui/blacksmith-v2/extracted/wgt_normal_item_slot.png);--blacksmith-v2-asset-minus-disabled: url(/assets/ui/blacksmith-v2/extracted/wgt_stepper_minus_disabled.png);--blacksmith-v2-asset-plus-disabled: url(/assets/ui/blacksmith-v2/extracted/wgt_stepper_plus_disabled.png);--blacksmith-v2-asset-quality: url(/assets/ui/blacksmith-v2/extracted/wgt_quality_normal_tag.png);--blacksmith-v2-asset-anvil: url(/assets/ui/blacksmith-v2/extracted/wgt_anvil_round_emblem.png);--blacksmith-v2-asset-success: url(/assets/ui/blacksmith-v2/extracted/dec_success_banner_green.png);--blacksmith-v2-asset-neutral-banner: url(/assets/ui/blacksmith-v2/extracted/dec_neutral_banner_dark.png);--blacksmith-v2-asset-success-gem: url(/assets/ui/blacksmith-v2/extracted/dec_success_center_gem.png);--blacksmith-v2-asset-left-vine: url(/assets/ui/blacksmith-v2/extracted/dec_left_vine_flourish.png);--blacksmith-v2-asset-right-vine: url(/assets/ui/blacksmith-v2/extracted/dec_right_vine_flourish.png);--blacksmith-v2-asset-corner-tl: url(/assets/ui/blacksmith-v2/extracted/dec_corner_top_left.png);--blacksmith-v2-asset-corner-tr: url(/assets/ui/blacksmith-v2/extracted/dec_corner_top_right.png);--blacksmith-v2-asset-corner-bl: url(/assets/ui/blacksmith-v2/extracted/dec_corner_bottom_left.png);--blacksmith-v2-asset-corner-br: url(/assets/ui/blacksmith-v2/extracted/dec_corner_bottom_right.png);--blacksmith-v2-asset-small-divider: url(/assets/ui/blacksmith-v2/extracted/dec_small_title_divider.png);--blacksmith-v2-asset-vertical-border: url(/assets/ui/blacksmith-v2/extracted/dec_vertical_border_segment.png);--blacksmith-v2-asset-bottom-flourish: url(/assets/ui/blacksmith-v2/extracted/dec_bottom_center_flourish.png);--blacksmith-v2-text: var(--ui-text-main, #d8deea);--blacksmith-v2-muted: var(--ui-text-muted, #aeb6c8);--blacksmith-v2-gold: var(--ui-text-accent, #f3d394);--blacksmith-v2-danger: var(--ui-text-danger, #ff9a92);position:relative;width:100vw;height:100dvh;min-width:0;overflow:hidden;display:grid;place-items:center;box-sizing:border-box;color:var(--blacksmith-v2-text);font-family:var(--ui-font-family-body, Georgia, "Songti SC", "STSong", serif);background:radial-gradient(circle at 50% 0%,rgba(84,55,31,.42),transparent 32%),radial-gradient(circle at 50% 34%,rgba(20,30,44,.62),transparent 46%),linear-gradient(180deg,#17100d,#07090e 30%,#040509)}.workshop-root--blacksmith-v2 *,.workshop-root--blacksmith-v2 *:before,.workshop-root--blacksmith-v2 *:after{box-sizing:border-box;min-width:0;letter-spacing:0}.blacksmith-v2-shell{position:relative;width:min(100vw,56.25dvh,1080px);height:100dvh;max-height:100dvh;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:7px;padding:10px 10px calc(10px + env(safe-area-inset-bottom));overflow:hidden;isolation:isolate}.blacksmith-v2-shell:before,.blacksmith-v2-shell:after{content:"";position:absolute;z-index:-1;pointer-events:none;background-repeat:no-repeat;background-size:contain;opacity:.72}.blacksmith-v2-shell:before{left:3%;top:16%;width:18%;aspect-ratio:1 / 1;background-image:var(--blacksmith-v2-asset-corner-tl)}.blacksmith-v2-shell:after{right:3%;bottom:13%;width:18%;aspect-ratio:1 / 1;background-image:var(--blacksmith-v2-asset-corner-br)}.blacksmith-v2-topbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px;background-image:linear-gradient(180deg,#05080c1a,#05080c6b),var(--blacksmith-v2-asset-title);background-repeat:no-repeat;background-size:100% 100%;filter:drop-shadow(0 12px 20px rgba(0,0,0,.42))}.blacksmith-v2-title-block{display:grid;gap:1px}.blacksmith-v2-kicker,.blacksmith-v2-crafted-count,.blacksmith-v2-muted,.blacksmith-v2-footer-message{color:var(--blacksmith-v2-muted);font-size:.78rem;line-height:1.42}.blacksmith-v2-title{margin:0;color:var(--blacksmith-v2-gold);font-family:var(--ui-font-family-title, Georgia, "Songti SC", "STSong", serif);font-size:1.22rem;line-height:1.12;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,.82)}.blacksmith-v2-crafted-count{flex:0 1 auto;text-align:right}.blacksmith-v2-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 14px}.blacksmith-v2-tab,.blacksmith-v2-forge-button,.blacksmith-v2-close-button,.blacksmith-v2-upgrade-disabled{appearance:none;min-height:44px;border:0;color:var(--blacksmith-v2-text);font-family:var(--ui-font-family-title, Georgia, "Songti SC", "STSong", serif);font-size:.9rem;line-height:1.18;font-weight:700;text-align:center;white-space:normal;overflow-wrap:anywhere;word-break:break-word;background-color:transparent;background-repeat:no-repeat;background-size:100% 100%;cursor:pointer;touch-action:manipulation}.blacksmith-v2-tab--recipes{background-image:var(--blacksmith-v2-asset-btn-recipe)}.blacksmith-v2-tab--card_upgrade{background-image:var(--blacksmith-v2-asset-btn-upgrade)}.blacksmith-v2-tab:not(.is-active){color:#d8deeab8;filter:saturate(.78) brightness(.72)}.blacksmith-v2-tab.is-active{color:var(--blacksmith-v2-gold);filter:drop-shadow(0 0 10px rgba(213,158,66,.22))}.blacksmith-v2-stage{position:relative;min-height:0;overflow:hidden}.blacksmith-v2-recipe-layout{position:relative;height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;overflow:hidden}.blacksmith-v2-recipe-layout.is-menu-open{overflow:visible}.blacksmith-v2-panel,.blacksmith-v2-card-panel,.blacksmith-v2-craft-bar,.blacksmith-v2-footer-bar{position:relative;min-height:0;background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-panel{display:grid;gap:6px;padding:12px 14px}.blacksmith-v2-panel--recipe{z-index:35;min-height:112px;background-image:var(--blacksmith-v2-asset-recipe-panel)}.blacksmith-v2-panel--output{min-height:142px;background-image:linear-gradient(180deg,#05080c29,#05080c70),var(--blacksmith-v2-asset-output)}.blacksmith-v2-panel--materials{grid-template-rows:auto minmax(0,1fr);padding-bottom:12px;background-image:linear-gradient(180deg,#05080c1a,#05080c85),var(--blacksmith-v2-asset-menu)}.blacksmith-v2-section-title{margin:0;color:var(--blacksmith-v2-gold);font-family:var(--ui-font-family-title, Georgia, "Songti SC", "STSong", serif);font-size:.86rem;line-height:1.22;font-weight:700}.blacksmith-v2-material-header{min-height:30px;display:flex;align-items:center;padding:4px 12px;background-image:var(--blacksmith-v2-asset-header-bar);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-recipe-slot-wrap{position:relative;display:grid;align-items:center}.blacksmith-v2-recipe-slot{appearance:none;width:100%;min-height:70px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border:0;color:var(--blacksmith-v2-text);background-color:transparent;background-image:var(--blacksmith-v2-asset-dropdown);background-repeat:no-repeat;background-size:100% 100%;cursor:pointer;touch-action:manipulation}.blacksmith-v2-recipe-slot.is-filled{filter:drop-shadow(0 0 10px rgba(151,105,204,.22))}.blacksmith-v2-slot-icon{width:48px;height:48px;display:grid;place-items:center;background-image:var(--blacksmith-v2-asset-slot);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-slot-icon .game-item-icon{width:36px;height:36px}.blacksmith-v2-slot-placeholder{color:var(--blacksmith-v2-gold);font-size:.82rem}.blacksmith-v2-select-copy,.blacksmith-v2-option-copy{display:grid;gap:2px;min-width:0;text-align:left}.blacksmith-v2-select-name,.blacksmith-v2-option-name,.blacksmith-v2-output-name,.blacksmith-v2-card-title{color:var(--blacksmith-v2-text);font-weight:700;line-height:1.28}.blacksmith-v2-select-meta,.blacksmith-v2-option-stock,.blacksmith-v2-output-tag,.blacksmith-v2-output-effect,.blacksmith-v2-material-quality,.blacksmith-v2-material-cost,.blacksmith-v2-gold-cost{color:var(--blacksmith-v2-muted);font-size:.76rem;line-height:1.36}.blacksmith-v2-chevron{width:34px;height:34px;background-image:var(--blacksmith-v2-asset-chevron);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-recipe-menu{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:70;max-height:min(38dvh,340px);display:grid;gap:6px;padding:12px;overflow:auto;background-image:linear-gradient(180deg,#05080c1f,#05080c6b),var(--blacksmith-v2-asset-menu);background-repeat:no-repeat;background-size:100% 100%;filter:drop-shadow(0 18px 30px rgba(0,0,0,.62));touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.blacksmith-v2-recipe-option{appearance:none;min-height:58px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 9px;border:0;color:var(--blacksmith-v2-text);background-color:transparent;background-image:var(--blacksmith-v2-asset-recipe-row);background-repeat:no-repeat;background-size:100% 100%;cursor:pointer}.blacksmith-v2-recipe-option.is-selected{filter:drop-shadow(0 0 10px rgba(151,105,204,.22))}.blacksmith-v2-option-action{min-width:50px;min-height:26px;display:grid;place-items:center;color:var(--blacksmith-v2-gold);font-size:.72rem;background-image:var(--blacksmith-v2-asset-btn-select);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-output-card,.blacksmith-v2-output-empty{min-height:94px;display:grid;place-items:center;align-content:center;gap:5px;text-align:center}.blacksmith-v2-output-trigger,.blacksmith-v2-material-icon-button{appearance:none;border:0;color:inherit;background:transparent;cursor:pointer;touch-action:manipulation}.blacksmith-v2-output-trigger{display:grid;justify-items:center;gap:3px;padding:0}.blacksmith-v2-output-trigger .game-item-icon{width:48px;height:48px}.blacksmith-v2-output-name{color:var(--blacksmith-v2-gold);font-size:.95rem}.blacksmith-v2-output-effect{max-width:32em;margin:0;display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.blacksmith-v2-quality-tag{min-height:30px;display:inline-grid;place-items:center;padding:5px 18px;color:var(--blacksmith-v2-gold);font-size:.74rem;line-height:1.22;background-image:var(--blacksmith-v2-asset-quality);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-anvil{width:64px;height:64px;opacity:.62;background-image:var(--blacksmith-v2-asset-anvil);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-material-list{min-height:0;display:grid;align-content:start;gap:6px;overflow:auto;padding:2px 1px 2px 0;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.blacksmith-v2-empty-line{margin:18px auto;text-align:center}.blacksmith-v2-material-row{min-height:56px;display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(68px,.8fr) auto auto;align-items:center;gap:5px;padding:7px 8px;background-image:linear-gradient(180deg,#05080c14,#05080c4d),var(--blacksmith-v2-asset-material-row);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-material-row.is-missing{filter:drop-shadow(0 0 8px rgba(141,47,51,.26))}.blacksmith-v2-material-icon-button{width:36px;height:36px;display:grid;place-items:center;padding:0;background-image:var(--blacksmith-v2-asset-normal-slot);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-material-icon-button .game-item-icon{width:28px;height:28px}.blacksmith-v2-material-name{color:var(--blacksmith-v2-text);font-size:.76rem;line-height:1.32}.blacksmith-v2-material-cost{color:var(--blacksmith-v2-gold);text-align:center}.blacksmith-v2-material-cost.is-missing,.blacksmith-v2-gold-cost.is-missing{color:var(--blacksmith-v2-danger)}.blacksmith-v2-material-quality{color:var(--blacksmith-v2-gold);text-align:center}.blacksmith-v2-stepper.ui-button{width:34px;min-width:34px;min-height:34px;padding:0;display:grid;place-items:center;border:0;color:var(--blacksmith-v2-gold);font-size:1rem;background-color:transparent;background-image:var(--blacksmith-v2-asset-normal-slot);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-stepper.ui-button:disabled{color:#d8deea5c;opacity:1;filter:saturate(.65) brightness(.72)}.blacksmith-v2-stepper--minus.ui-button:disabled{background-image:var(--blacksmith-v2-asset-minus-disabled)}.blacksmith-v2-stepper--plus.ui-button:disabled{background-image:var(--blacksmith-v2-asset-plus-disabled)}.blacksmith-v2-craft-bar{min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,.38fr);align-items:center;gap:8px;padding:9px 13px;background-image:var(--blacksmith-v2-asset-footer)}.blacksmith-v2-gold-cost{color:var(--blacksmith-v2-gold)}.blacksmith-v2-forge-button{min-height:40px;color:var(--blacksmith-v2-gold);background-image:var(--blacksmith-v2-asset-btn-forge)}.blacksmith-v2-forge-button:disabled{color:#d8deea6b;background-image:var(--blacksmith-v2-asset-btn-forge-disabled);cursor:not-allowed}.blacksmith-v2-footer{display:grid;gap:5px;min-height:0}.blacksmith-v2-success{position:relative;min-height:34px;display:grid;place-items:center;padding:6px 42px;color:#bdf1b7;font-size:.76rem;line-height:1.3;text-align:center;background-image:var(--blacksmith-v2-asset-success);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-success:after{content:"";position:absolute;left:50%;top:50%;width:34px;height:34px;opacity:.42;transform:translate(-50%,-50%);background-image:var(--blacksmith-v2-asset-success-gem);background-repeat:no-repeat;background-size:contain}.blacksmith-v2-footer-bar{min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) minmax(96px,.34fr);align-items:center;gap:8px;padding:9px 13px;background-image:var(--blacksmith-v2-asset-footer)}.blacksmith-v2-footer-message{margin:0}.blacksmith-v2-close-button{min-height:40px;background-image:var(--blacksmith-v2-asset-btn-close)}.workshop-root--blacksmith-v2[data-workshop-mode=formal] .blacksmith-v2-close-button{background-image:var(--blacksmith-v2-asset-btn-return)}.blacksmith-v2-tooltip-popover{position:absolute;top:96px;right:8px;z-index:90;width:min(318px,calc(100vw - 28px));max-height:min(68dvh,560px);padding:14px;overflow:auto;background-image:linear-gradient(180deg,#05080c29,#05080c6b),var(--blacksmith-v2-asset-tooltip);background-repeat:no-repeat;background-size:100% 100%;filter:drop-shadow(0 18px 28px rgba(0,0,0,.62))}.blacksmith-v2-tooltip-close{position:sticky;top:0;margin-left:auto;margin-bottom:4px;width:28px;height:28px;display:grid;place-items:center;border:1px solid rgba(143,111,56,.68);color:var(--blacksmith-v2-gold);background:#04060acc}.blacksmith-v2-tooltip-popover .game-item-tooltip{width:100%;max-width:100%;font-size:.78rem}.blacksmith-v2-card-upgrade{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,.9fr) minmax(0,1.15fr);gap:8px;overflow:hidden}.blacksmith-v2-card-panel{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;padding:14px;overflow:hidden;background-image:var(--blacksmith-v2-asset-upgrade-panel)}.blacksmith-v2-card-list{min-height:0;display:grid;align-content:start;gap:7px;overflow:auto;touch-action:pan-y}.blacksmith-v2-card-choice.ui-button{min-height:42px;justify-content:center;white-space:normal;overflow-wrap:anywhere}.blacksmith-v2-card-choice-copy{min-width:0;display:grid;justify-items:center;gap:2px;line-height:1.1}.blacksmith-v2-card-choice-name{color:#f0dba4;font-size:.86rem;font-weight:900}.blacksmith-v2-card-choice-meta{color:#dee5efa3;font-size:.68rem}.blacksmith-v2-unavailable-box{min-height:0;display:grid;place-items:center;align-content:center;gap:10px;padding:16px;text-align:center;background-image:var(--blacksmith-v2-asset-unavailable);background-repeat:no-repeat;background-size:100% 100%}.blacksmith-v2-card-title{margin:0;color:var(--blacksmith-v2-gold);font-size:1rem}.blacksmith-v2-upgrade-disabled{width:min(100%,220px);min-height:48px;color:#d8deea75;background-image:var(--blacksmith-v2-asset-btn-upgrade-disabled);cursor:not-allowed}.blacksmith-v2-recipe-slot:focus-visible,.blacksmith-v2-recipe-option:focus-visible,.blacksmith-v2-tab:focus-visible,.blacksmith-v2-forge-button:focus-visible,.blacksmith-v2-close-button:focus-visible,.blacksmith-v2-output-trigger:focus-visible,.blacksmith-v2-material-icon-button:focus-visible,.blacksmith-v2-tooltip-close:focus-visible,.blacksmith-v2-upgrade-disabled:focus-visible{outline:2px solid rgba(243,211,148,.76);outline-offset:2px}.blacksmith-v2-recipe-option .game-item-icon,.blacksmith-v2-card-choice .game-item-icon{flex:0 0 auto}@media(max-width:399px){.blacksmith-v2-shell{gap:6px;padding:8px 8px calc(8px + env(safe-area-inset-bottom))}.blacksmith-v2-topbar{min-height:68px;padding:10px 18px}.blacksmith-v2-title{font-size:1.06rem}.blacksmith-v2-tabs{gap:6px;padding:0 10px}.blacksmith-v2-tab,.blacksmith-v2-forge-button,.blacksmith-v2-close-button{min-height:38px;font-size:.82rem}.blacksmith-v2-panel{padding:10px 11px}.blacksmith-v2-recipe-slot{min-height:62px;gap:7px}.blacksmith-v2-slot-icon{width:42px;height:42px}.blacksmith-v2-material-row{grid-template-columns:auto minmax(0,1fr) auto minmax(54px,.62fr) auto auto;gap:4px;padding-inline:6px}.blacksmith-v2-material-quality{display:block;font-size:.62rem;line-height:1.12;white-space:normal}.blacksmith-v2-stepper.ui-button{width:30px;min-width:30px;min-height:30px}.blacksmith-v2-craft-bar,.blacksmith-v2-footer-bar{min-height:52px;grid-template-columns:minmax(0,1fr) minmax(90px,.36fr)}}@media(min-width:700px){.blacksmith-v2-shell{gap:12px;padding:18px 22px calc(18px + env(safe-area-inset-bottom))}.blacksmith-v2-title{font-size:1.55rem}.blacksmith-v2-kicker,.blacksmith-v2-crafted-count,.blacksmith-v2-muted,.blacksmith-v2-footer-message{font-size:.96rem}.blacksmith-v2-tab,.blacksmith-v2-forge-button,.blacksmith-v2-close-button,.blacksmith-v2-upgrade-disabled{font-size:1.08rem}.blacksmith-v2-section-title{font-size:1.06rem}.blacksmith-v2-recipe-layout{gap:12px}.blacksmith-v2-panel{padding:18px 24px}.blacksmith-v2-recipe-slot{min-height:92px;padding:12px 20px}.blacksmith-v2-slot-icon{width:66px;height:66px}.blacksmith-v2-slot-icon .game-item-icon{width:50px;height:50px}.blacksmith-v2-output-trigger .game-item-icon{width:72px;height:72px}.blacksmith-v2-select-meta,.blacksmith-v2-option-stock,.blacksmith-v2-output-tag,.blacksmith-v2-output-effect,.blacksmith-v2-material-quality,.blacksmith-v2-material-cost,.blacksmith-v2-gold-cost,.blacksmith-v2-material-name,.blacksmith-v2-success{font-size:.92rem}.blacksmith-v2-material-row{min-height:74px;gap:10px;padding:10px 14px}.blacksmith-v2-material-icon-button,.blacksmith-v2-stepper.ui-button{width:48px;min-width:48px;height:48px;min-height:48px}.blacksmith-v2-material-icon-button .game-item-icon{width:38px;height:38px}.blacksmith-v2-craft-bar,.blacksmith-v2-footer-bar{min-height:76px;padding:13px 22px}.blacksmith-v2-card-upgrade{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);grid-template-rows:minmax(0,1fr)}}
