/* Standalone workbench. The compact touch layout remains available below 800px. */
:root{--bg:#181211;--panel:#29201d;--panel2:#332522;--line:#bc87653d;--text:#f6e9dd;--muted:#c3a89b;--gold:#f3c294;--green:#e1b390;--ember:#bb4b39;--red:#ffa48c}
body.indie-edition{background:radial-gradient(ellipse at 80% 0,#742f251c,transparent 60%),#181211}
button{transition:background .15s,border-color .15s,box-shadow .15s}
kbd{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:2px 5px;border:1px solid #c4947055;border-bottom-width:2px;border-radius:4px;background:#180f0c;color:#f4cda9;font:11px ui-monospace,Consolas,monospace;line-height:1.5;white-space:nowrap}
.desktop-shortcuts{display:grid;gap:9px;margin:16px 0 25px;color:#bb9786;font-size:11px}
.desktop-shortcuts>span{display:flex;align-items:center;gap:8px}
.desktop-shortcuts kbd{min-width:46px}
.desktop-help{padding:16px 18px;background:#190f0b66;border:1px solid var(--line);border-radius:10px;margin:14px 0;color:#ddbfaa}
.desktop-help h3{font:600 16px var(--sans);margin:0 0 10px}
.desktop-help p{font-size:13px;line-height:2.4;margin:0}
.desktop-help small{display:block;color:var(--muted);font-size:12px;line-height:1.8;margin-top:10px}
.desktop-settings{margin:0 0 20px}
.desktop-fullscreen .icon{width:20px;height:20px}
.forge-tech{margin:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.forge-tech>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:48px;font-size:12px;color:#e5b999;list-style:none}
.forge-tech>summary::-webkit-details-marker{display:none}
.forge-tech>summary>span:last-child{white-space:nowrap;color:#c09d87}
.forge-tech .craft-item-note{margin:0 0 12px;padding:12px}
.forge-tech .craft-item-note .craft-type{display:none}
@media(min-width:800px){
 html{scroll-padding-top:82px;scrollbar-color:#734738 #211713;scrollbar-width:thin}
 .shell{padding:0 0 0 172px;min-height:100dvh}
 .sidebar{display:flex!important;width:172px;padding:25px 14px 16px;background:linear-gradient(#211715,#17110f);border-right:1px solid #c8896038;box-shadow:5px 0 24px #0002}
 .brand{display:block;padding:0 13px 16px}.brand-mark{width:48px;height:48px;margin-bottom:14px;border-radius:12px}.brand-name{font-size:17px;letter-spacing:2px}.brand-en{font-size:8px;letter-spacing:1.5px}.sidebar-label{font-size:10px;letter-spacing:.5px;padding:9px 13px 18px;color:#b58b74}
 .nav{gap:6px}.nav button{min-height:54px;padding:12px 13px;gap:11px;border:1px solid transparent;font-size:13px;letter-spacing:0}.nav .icon{width:20px;height:20px}.nav button.active{border-color:#d2945e6b;background:linear-gradient(110deg,#8e3e30,#4d2521);box-shadow:inset 0 1px #ffdda322,0 4px 14px #0c060433}.nav small{font-size:10px}
 .sidebar-bottom{padding:12px 12px 0}.sidebar-quote{font-size:13px;line-height:1.9;margin:8px 0}.version{font-size:9px;letter-spacing:.1px}
 .header{position:sticky;top:0;z-index:19;height:64px;padding:0 26px;background:#211714f2;backdrop-filter:blur(16px);border-color:#b67b5540}.header-crumb{display:block!important;font-size:14px;letter-spacing:.4px}.header-crumb span{font-size:12px;color:#baa092}.mobile-logo,.mobile-bottom{display:none!important}.header-tools{gap:9px}.header .icon-btn{display:grid!important;width:38px;height:38px;border:1px solid #b7826038;border-radius:8px}.currency{margin-right:12px}.currency strong{font-size:25px}.currency small{font-size:11px}
 .main{max-width:1840px;margin:auto;padding:16px 26px 28px;min-width:0}
 .shop-daybar{min-height:50px;padding:8px 14px;margin:0 0 14px;gap:18px;border-radius:9px;box-shadow:inset 3px 0 #bc6547;background:linear-gradient(100deg,#472821,#28201b)}.day-label,.day-visits{font-size:13px;gap:9px}.day-label b{font-size:20px}.shop-daybar small{font-size:11px}.shop-daybar .sleep-button{min-height:34px;font-size:12px;padding:6px 14px}
 .page-intro{margin-bottom:20px}.page-intro h1{font-size:28px}.intro-sub{font-size:13px}.eyebrow{font-size:10px}.weather{font-size:12px}
 #page[data-page=forge]>.page-intro{display:none}
 .forge-layout{--bench-height:clamp(410px,calc(100dvh - 164px),800px);display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,32%);gap:16px 20px;align-items:start}
 .forge-main{grid-column:1;grid-row:1;display:flex;height:var(--bench-height);flex-direction:column;min-width:0}
 .forge-scene{flex:1;min-height:205px;height:auto;margin:0;border-radius:13px 13px 0 0;background-position:center 52%;box-shadow:inset 0 1px #ffd6ad44,0 10px 30px #08040333}
 .forge-controls{flex:0 0 auto;margin:0;padding:14px 17px 13px;min-height:178px;border-radius:0 0 13px 13px;background:linear-gradient(125deg,#3f2b24,#2a201c)}
 .forge-buttons{gap:12px}.forge-buttons .strike-btn{min-height:58px;gap:12px}.strike-btn strong{font-size:20px;letter-spacing:1px}.perfect-btn strong{font-size:18px;letter-spacing:0}.strike-btn small{font-size:11px;letter-spacing:0}.forge-buttons .icon{width:26px;height:26px}
 .charge-row{margin-top:13px;min-height:20px;gap:10px}.charge-copy,.charge-timer{font-size:11px}.battery>i{height:10px}.sound-strip{padding-top:8px;margin-top:9px;min-height:29px;gap:12px}.sound-strip button,.sound-strip span{font-size:11px}.sound-strip kbd{font-size:10px;padding:0 4px;min-width:18px}.sound-strip>.mobile-only{display:none!important}.forge-note{display:none}
 .scene-top{left:18px;right:18px;top:16px}.scene-chip{font-size:11px;letter-spacing:.3px}.scene-caption{bottom:21px;left:24px}.scene-caption p{font-size:21px;letter-spacing:3px}.scene-caption .chapter{font-size:11px;letter-spacing:2px}.scene-item.item-art{width:clamp(210px,23vw,375px);height:clamp(210px,23vw,375px);left:48%;top:46%}.forge-scene:has(.scene-companion) .scene-item{left:38%;width:clamp(180px,22vw,350px);height:clamp(180px,22vw,350px);top:46%}.forge-scene .scene-companion{width:37%;height:93%;right:0;bottom:0}.scene-companion>span{right:16px;bottom:17px;padding:8px 13px}.scene-companion b{font-size:18px}.scene-companion small{font-size:11px}.scene-companion .portrait{height:100%}.scene-hint{font-size:11px}
 .right-stack{display:contents}.right-stack>#item-panel{grid-column:2;grid-row:1;height:var(--bench-height);max-height:none;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:linear-gradient(150deg,#352721,#251b17)}
 #item-panel>.panel-head{padding:12px 17px;flex:0 0 auto;min-height:43px}#item-panel>.panel-body{padding:14px 17px;flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#80503b transparent}#item-panel>.daily-customer{overflow:auto;padding:17px;min-height:0}
 #item-panel .item-title{align-items:flex-start}#item-panel .item-title h2{font-size:24px;line-height:1.45}#item-panel .item-desc{font-size:12px;line-height:1.8;margin:8px 0 12px}#item-panel .grade-label{font-size:11px}#item-panel .section-cap{font-size:11px;letter-spacing:0}
 #item-panel .item-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}#item-panel .stat-row{display:block;font-size:12px}#item-panel .stat-row>div{display:flex;gap:5px;align-items:baseline;margin-top:7px}#item-panel .stat-row strong{font-size:26px}#item-panel .stat-row small{font-size:10px}#item-panel .stat-meter{margin-top:9px;height:3px}
 #item-panel .affixes{margin:10px 0;gap:6px}#item-panel .tag{font-size:11px}#item-panel .tiny{font-size:11px}#item-panel .value-box{margin-top:14px;padding:13px 14px}#item-panel .value-box strong{font-size:27px}#item-panel .value-box small{font-size:11px}#item-panel .risk-line{font-size:12px;line-height:1.9;margin:12px 0}#item-panel .item-actions{gap:8px}#item-panel .item-actions .btn{min-height:43px;font-size:13px;flex-basis:100%}
 .forge-tech>summary{min-height:45px}.forge-tech .craft-type{font-size:12px;margin:8px 0}.forge-tech .craft-item-note p{font-size:12px}.forge-tech .craft-active-effects{font-size:11px}.forge-tech .text-link{font-size:12px;min-height:36px}
 #next-goal{grid-column:1;grid-row:2;margin:0}#next-goal>.goal{min-height:94px;padding:15px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;align-items:center}#next-goal .goal>.row{grid-column:1}#next-goal .goal h3{font:600 14px var(--sans);letter-spacing:0}#next-goal .goal p{grid-column:1;font-size:12px;line-height:1.7;margin:0}#next-goal .goal .text-link{grid-column:2;grid-row:1/3;margin:0;font-size:12px;min-height:42px}
 .right-stack>.next-disciple,.right-stack>.goal{grid-column:2;grid-row:2;margin:0;min-height:94px;max-height:130px;padding:12px;overflow:hidden}.next-disciple .portrait{height:78px;width:68px}.next-disciple h3{font-size:18px}.next-disciple p{font-size:12px}
 .below-forge{margin-top:20px;gap:20px;display:grid;grid-template-columns:1.15fr 1fr}.forge-companions{margin-top:20px}.forge-companions .forge-companion-list{display:flex;grid-template-columns:none}.forge-companion-list>button{flex:0 0 120px}.forge-companion-list .portrait{height:105px;width:90px}.log-entry{font-size:13px;line-height:1.8}.footnote{font-size:11px;margin-top:24px}
 .shop-commission{margin:0 0 11px;padding:8px 11px;border-radius:8px}.commission-main{gap:12px}.commission-main .tiny{font-size:11px}.customer-forge strong{font-size:14px;line-height:1.5}.customer-forge p{font-size:11px;margin-top:3px}.shop-commission .btn{font-size:12px;min-height:36px;padding:5px 12px}.shop-commission .delegate-buttons{margin-top:7px;padding-top:7px;gap:7px}.delegate-buttons .btn{min-height:32px;font-size:11px}.duty-mini{width:24px;height:24px}.counter-empty-ribbon{display:none}
 .catalog-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:18px}.catalog-grid .item-card-content{padding:16px}.item-card h3{font-size:17px}.item-card p{font-size:12px;line-height:1.8}.item-card .craft-type{font-size:12px}.item-card-visual{height:180px}.item-card-visual>.item-art{width:167px;height:167px}.toolbar{gap:16px;flex-wrap:wrap}.tabs{flex-wrap:wrap;gap:5px}.tabs button{font-size:13px;min-height:40px;padding:8px 12px}.search{font-size:14px;min-height:44px}.catalog-banner{font-size:13px}.card-bottom .btn{font-size:12px;min-height:38px}
 .disciples-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.disciple-visual{height:280px}.disciple-name h3{font-size:27px}.disciple-name p{font-size:12px}.disciple-card-body{padding:17px}.disciple-card-body>p{font-size:13px;line-height:1.8}.innate-talent>div{font-size:13px}.innate-talent p{font-size:12px;line-height:1.8}.innate-talent small{font-size:10px}.req{font-size:12px;line-height:1.8}.companion-actions>.btn{font-size:12px;min-height:42px}.recruit-price small,.outfit-current{font-size:11px}
 .modal-backdrop{padding:24px}.modal{max-height:calc(100dvh - 48px);width:min(96vw,650px);border:1px solid #c5906266;border-radius:13px;background:#2a1f1a}.modal.wide{max-width:1040px;width:min(96vw,1040px)}.modal-content{padding:32px}.modal-close{top:12px;right:12px;z-index:8;width:38px;height:38px}.modal-sub{font-size:13px;line-height:1.9}.modal-title{font-size:27px}.modal .btn{font-size:13px}.help-copy p{font-size:14px;line-height:1.95}.help-copy h3{font-size:18px}.settings-grid p{font-size:12px;line-height:1.8}.settings-grid h3{font-size:15px}.online-note{font-size:12px;line-height:1.9}
 .welcome{display:grid;grid-template-columns:.9fr 1.1fr;max-width:none}.welcome-visual{display:block;background-image:linear-gradient(0deg,#1e100e44,transparent),url('../assets/branding/itch-title-side.webp');background-position:center;background-size:cover}.welcome-quote{font-size:27px}.welcome-content{padding:26px 30px}.welcome-content .welcome-title{margin-bottom:12px}.welcome-title img{max-height:150px;width:100%;object-position:center}.letter{font-size:13px;line-height:1.9;margin:12px 0}.perk-option{padding:12px 14px}.perk-option h3{font-size:14px}.perk-option p{font-size:12px;line-height:1.6}.hell-option{font-size:12px;line-height:1.6}.welcome-content .tiny{font-size:11px}.begin-button{min-height:48px}.perk-symbol{font-size:23px}
 .character-modal.companion-modal{grid-template-columns:minmax(240px,34%) minmax(0,1fr);min-height:480px}.companion-portrait-area{min-height:480px;height:100%;padding:35px 12px;background:radial-gradient(ellipse at 50% 55%,#ab623c25,transparent 70%)}.companion-portrait-area>.portrait{width:100%;height:300px;max-width:330px}.companion-portrait-area>.outfit-portrait{height:min(550px,calc(100dvh - 148px));width:100%;max-width:350px}.companion-content{padding:32px 28px!important}.companion-content .modal-title{font-size:28px}.companion-identity{font-size:13px}.companion-tabs>button{font-size:13px;min-height:44px}.companion-tabpanel .story-quote{font-size:15px}.companion-note{font-size:12px}.wardrobe-preview{height:145px}.wardrobe-tile>strong{font-size:12px}.wardrobe-tile>small{font-size:10px}.wage-option>b{font-size:14px}.wage-summary{font-size:13px}.duty-grid small{font-size:12px}.duty-grid b{font-size:14px}.companion-bond .row{font-size:13px}
 .craft-category-tabs{grid-template-columns:repeat(9,minmax(0,1fr));gap:7px}.craft-category-tabs button{font-size:13px;padding:10px 5px;min-height:58px}.craft-category-tabs small{font-size:11px}.craft-tech-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.craft-tech-card{padding:20px}.craft-tech-card h3{font-size:19px}.craft-tech-card>p{font-size:14px;min-height:76px}.craft-tech-card dl{display:block}.craft-tech-card dl>div{font-size:13px}.craft-family p{font-size:14px}.craft-footnote{font-size:13px}.craft-tech-requirements .met{color:#e4c89b}.craft-tech-card .btn{font-size:13px}
 #toasts{bottom:28px;max-width:min(600px,calc(100vw - 210px))}.toast{font-size:13px;padding:12px 18px}
}
@media(min-width:800px) and (max-width:1100px){
 .shell{padding-left:126px}.sidebar{width:126px;padding:20px 8px 12px}.brand{padding:0 8px 14px}.brand-name{font-size:14px;letter-spacing:0}.brand-en{font-size:7px;letter-spacing:.4px}.sidebar-label{padding:8px;font-size:9px;letter-spacing:0}.nav button{padding:12px 8px;gap:8px;font-size:12px}.nav .icon{width:18px;height:18px}.nav small{display:none}.sidebar-bottom{padding:10px 8px 0}.sidebar-quote{display:none}.desktop-shortcuts{font-size:10px;gap:7px}.desktop-shortcuts kbd{min-width:38px;font-size:10px}.header,.main{padding-left:16px;padding-right:16px}.header-crumb{font-size:13px}.forge-layout{grid-template-columns:minmax(0,1fr) 290px;gap:14px}.scene-chip{font-size:10px}.scene-top{left:10px;right:10px;top:10px}.scene-caption{left:17px;bottom:16px}.scene-caption p{font-size:18px}.scene-companion b{font-size:16px}.scene-companion small{font-size:10px}.scene-companion>span{right:9px;bottom:12px;padding:7px}.forge-controls{padding:12px}.sound-strip>span{font-size:10px}.strike-btn small{display:none}.charge-timer{font-size:10px}.strike-btn strong{font-size:18px}.perfect-btn strong{font-size:16px}.forge-buttons .icon{width:22px;height:22px}.forge-scene:has(.scene-companion) .scene-item{width:210px;height:210px;left:35%}.craft-category-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.craft-tech-grid{gap:12px}.craft-tech-card{padding:15px}.craft-tech-card h3{font-size:17px}.craft-tech-card>p{font-size:13px}.craft-tech-card .btn{font-size:12px}.craft-tech-card .row{flex-wrap:wrap;gap:8px}.craft-tech-card dl>div{font-size:12px}
}
@media(min-width:800px) and (max-height:760px){
 .brand-mark{width:40px;height:40px;margin-bottom:10px}.brand{padding-bottom:10px}.sidebar-label{padding-bottom:12px}.nav button{min-height:48px}.sidebar-quote{display:none}.desktop-shortcuts{margin:12px 0 16px;gap:7px}.forge-controls{min-height:170px;padding-top:12px}.forge-buttons .strike-btn{min-height:52px}.scene-caption .chapter{font-size:10px}.scene-caption p{font-size:18px}.sound-strip{padding-top:6px;margin-top:7px}.charge-row{margin-top:10px}#item-panel .item-desc{font-size:11px;line-height:1.7;margin:5px 0 8px}#item-panel .item-title h2{font-size:22px}#item-panel .value-box{padding:10px 12px;margin-top:10px}#item-panel .risk-line{margin:8px 0;font-size:11px}#item-panel .item-stats{margin:11px 0}#item-panel .stat-row strong{font-size:24px}#item-panel .affixes{margin:7px 0}.forge-tech{margin:8px 0}.forge-tech>summary{min-height:38px}.welcome-content{padding:22px 27px}.welcome-title img{max-height:110px}.welcome-content .section-cap{margin-bottom:8px}.perk-option{padding:9px 12px}.letter{font-size:12px}.welcome-content .eyebrow{margin-bottom:5px}.welcome-content .tiny{font-size:10px}.companion-portrait-area{min-height:430px}.wardrobe-preview{height:125px}
}
@media(min-width:800px) and (max-height:620px){.header{height:54px}.main{padding-top:12px}.shop-daybar{min-height:44px;margin-bottom:10px}.shop-daybar small{font-size:10px}.forge-layout{--bench-height:max(390px,calc(100dvh - 136px))}.forge-controls{min-height:162px}.scene-caption{display:none}.nav button{min-height:44px}.desktop-shortcuts{gap:5px;margin:8px 0}.welcome-title img{max-height:85px}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px)}.modal-content{padding:25px}.welcome-content{padding:20px}.perk-option p{font-size:11px}.welcome-content .letter{margin:8px 0}.welcome-quote{font-size:24px}}
@media(max-width:799px){.desktop-shortcuts{display:none}.desktop-fullscreen{display:grid!important}.forge-tech{display:none}.desktop-help p{font-size:12px}.desktop-help small{font-size:11px}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.language-picker select{font-size:12px;padding:9px 25px 9px 10px;border:1px solid #b7826038;background:#2b1e19;color:#f3cba7;border-radius:7px;min-height:38px;max-width:108px}
.lang-en{--serif:Georgia,serif;--sans:"Segoe UI",system-ui,sans-serif}.lang-en h1,.lang-en h2,.lang-en h3{letter-spacing:0}.lang-en .brand-name{font-size:18px;letter-spacing:0}.lang-en .header-crumb{letter-spacing:0}.lang-en .nav button{letter-spacing:0}.lang-en .scene-caption p{letter-spacing:0}.lang-en .strike-btn strong{letter-spacing:0;font-size:19px}.lang-en .perfect-btn strong{font-size:17px}.lang-en #item-panel .item-title h2{font-size:22px}.lang-en .forge-tech>summary{flex-wrap:wrap;gap:0;padding:5px 0}.lang-en .forge-tech>summary>span:last-child{font-size:11px}.lang-en .craft-category-tabs button{font-size:12px;overflow-wrap:anywhere}.lang-en .craft-category-tabs small{font-size:11px}.lang-en .craft-tech-card .row{flex-wrap:wrap}.lang-en .scene-caption .chapter{font-size:11px;letter-spacing:.5px}.lang-en .disciples-grid .disciple-name h3{font-size:25px}.lang-en .welcome-quote{writing-mode:horizontal-tb;font-size:29px;line-height:1.6;letter-spacing:0;max-height:none}.lang-en .welcome-content .welcome-title{margin:8px 0 14px}.lang-en .welcome-title img{display:none}.lang-en .welcome-title:after{content:'Little Forge: Apprentices';display:block;font:normal 31px/1.2 Georgia,serif;color:#ffdfb1}.lang-en .letter{font-family:var(--sans);font-size:12px}.lang-en .welcome-content .tiny{line-height:1.6}.lang-en .perk-option h3{font-family:var(--sans)}
@media(min-width:800px) and (max-width:1100px){.lang-en .header-crumb{font-size:12px}.lang-en .header-crumb span{display:none}.lang-en .nav button{font-size:12px}.lang-en .nav small{display:none}.lang-en .strike-btn strong{font-size:17px}.lang-en .perfect-btn strong{font-size:15px}.lang-en .charge-row{flex-wrap:wrap;gap:5px}.lang-en .charge-timer{font-size:10px}.lang-en .sound-strip>span{display:none}}
@media(max-width:799px){.language-picker select{font-size:11px;padding:7px;min-height:34px;max-width:80px}.lang-en .mobile-logo{font-size:12px;max-width:90px;white-space:normal;line-height:1.3}.lang-en .currency strong{font-size:17px}.header-tools{gap:2px}}

.demo-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 12px;margin:0 0 10px;border:1px solid #d49c6770;border-radius:8px;background:#38231d;color:#f0d0aa;font-size:12px}
.demo-banner .btn{min-height:30px;padding:5px 9px;font-size:11px}
.demo-limit-dialog .btn{display:flex;justify-content:center;margin-top:12px;min-height:46px}
.demo-limit-detail{line-height:1.8;margin:18px 0;color:#ffe1b4}
@media(min-width:800px){.demo-edition .forge-layout{--bench-height:max(390px,calc(100dvh - 214px))}}
@media(max-width:799px){.demo-banner{gap:6px;font-size:10px;padding:7px}.demo-banner .btn{font-size:10px}.demo-banner span{font-size:9px}}

@media(max-width:799px){.header-tools [data-action="help"]{display:none}}

/* Give the forge the screen space; keep its actions within the same workbench. */
@media(min-width:800px){
 .header{height:54px}
 .main{padding-top:10px}
 .shop-daybar{min-height:42px;padding:5px 12px;margin-bottom:10px;gap:14px}
 .shop-daybar small{display:inline;margin:0 0 0 9px;font-size:10px;line-height:1.3}
 .day-label b{font-size:18px}
 .shop-daybar .sleep-button{min-height:30px;padding:4px 11px}
 .demo-banner{min-height:34px;padding:3px 10px;margin-bottom:8px;font-size:11px}
 .demo-banner .btn{min-height:26px;padding:3px 8px}
 .forge-layout{--bench-height:clamp(380px,calc(100dvh - 126px),980px)}
 .demo-edition .forge-layout{--bench-height:max(380px,calc(100dvh - 168px))}
 .forge-scene{container-type:size;min-height:240px}
 .forge-scene .scene-item.item-art,
 .forge-scene:has(.scene-companion) .scene-item.item-art{width:min(84cqh,55cqw,470px);height:min(84cqh,55cqw,470px);top:48%}
 .forge-scene:has(.scene-companion) .scene-item.item-art{left:38%}
 .forge-scene .scene-companion{height:100%}
 .scene-caption{bottom:14px;left:18px}
 .scene-caption p{font-size:18px}
 .scene-caption .chapter{font-size:10px;margin-bottom:3px}
 .forge-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;padding:10px 13px;min-height:0}
 .forge-controls>#customer-forge,.forge-controls>.forge-buttons,.forge-controls>.forge-status{grid-column:1/-1}
 .forge-controls>.forge-status:empty{display:none}
 .forge-controls>.forge-buttons{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
 .forge-controls>.forge-buttons .strike-btn{min-height:52px}
 .forge-controls>.forge-buttons .strike-btn>div{min-width:0}
 .forge-controls>.forge-buttons strong{line-height:1.2}
 .forge-controls>#charge-panel{grid-column:1;align-self:center}
 .forge-controls .charge-row{min-height:26px;margin:8px 0 0}
 .forge-controls>.sound-strip{grid-column:2;min-height:26px;padding:0;margin:8px 0 0;border-top:0;align-self:center}
 .forge-controls>.sound-strip>span{display:none}
 .shop-commission{padding:7px 10px;margin-bottom:9px}
 .commission-main>div{display:grid;grid-template-columns:auto auto;gap:3px 12px;align-items:baseline}
 .commission-main .tiny{grid-column:1/-1;font-size:10px;line-height:1.3}
 .commission-main strong{font-size:13px;margin:0;line-height:1.4}
 .commission-main p{font-size:11px;margin:0;line-height:1.4}
 .commission-main>.btn{min-height:38px}
}
@media(min-width:800px) and (max-width:1100px){
 .commission-main>div{grid-template-columns:1fr;gap:2px}
 .commission-main .tiny{grid-column:1}
 .charge-copy,.charge-timer{font-size:10px}
}
