.mobile-only{display:none!important}
.strike-btn,.perfect-btn{min-height:48px}
.item-art-patina{background:linear-gradient(115deg,#73533228,transparent 55%)}
button,a,input,select,label{touch-action:manipulation}
@media(max-width:760px){
 html{scroll-padding-top:68px;scroll-padding-bottom:88px}
 body{-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none}
 .shell{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 .header{position:sticky;top:0;z-index:28;height:58px;padding:0 12px;background:#1d1b19f5;backdrop-filter:blur(12px)}
 .mobile-logo{font-family:var(--sans);font-size:14px;letter-spacing:0;font-weight:600;white-space:nowrap}.mobile-logo small{display:none}
 .header-tools{gap:2px}.header-tools>.icon-btn:first-of-type{display:flex}.header-tools>.icon-btn:nth-of-type(2){display:none}
 .header .icon-btn{width:44px;height:44px;flex-shrink:0;border-color:transparent}.header .icon-btn .icon{width:19px;height:19px}
 .currency{gap:4px;margin-right:3px}.currency strong{font-size:19px}.currency>.icon{width:15px;height:15px}
 .main{padding:12px 12px 18px}.page-intro{margin:1px 0 15px;gap:12px;align-items:center}.page-intro .eyebrow,.page-intro .intro-sub,.page-intro .weather{display:none}.page-intro h1{font-size:22px;letter-spacing:0}
 #page[data-page=forge]>.page-intro{display:none}
 .forge-layout{gap:12px}.forge-scene{height:clamp(190px,30svh,270px);border-radius:12px 12px 0 0}
 .scene-top{top:12px;left:12px;right:12px}.scene-chip{font-size:9px;padding:6px 8px}.scene-chip .icon{width:13px;height:13px}
 .scene-caption,.scene-hint{display:none}.scene-item.item-art{top:46%;width:208px;height:208px}.scene-item.fracture-art{top:48%;width:208px;height:208px}
 .forge-controls{padding:12px;border-radius:0 0 12px 12px;margin-top:-12px}
 .mobile-forge-summary{padding:0 0 10px;margin:0 0 10px}.mobile-forge-summary>.row{gap:9px}.mobile-forge-summary h3{font-family:var(--sans);font-size:16px;letter-spacing:0}.quick-name>.tiny{font-size:10px}
 .mobile-forge-summary .btn{min-height:44px;padding:8px 10px;font-size:12px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:5px}
 .quick-stats{gap:6px;margin:10px 0 6px}.quick-stats>div{padding:5px 7px;border-radius:6px;background:#00000019;gap:4px}.quick-stats>div>span{display:flex;gap:3px;align-items:center;font-size:10px;white-space:nowrap}.quick-stats .icon{width:12px;height:12px;color:#b8b792}.quick-stats strong{font-family:var(--sans);font-size:17px;font-weight:600}
 .quick-risk{font-size:10px;line-height:1.5;color:#b5aca6}
 .forge-buttons{gap:9px;grid-template-columns:1.15fr 1fr}.forge-buttons .strike-btn{min-height:64px;gap:10px;border-radius:9px;touch-action:manipulation}.strike-btn>.icon{width:30px;height:30px}.strike-btn strong{font-family:var(--sans);font-size:20px;letter-spacing:1px}.perfect-btn strong{font-size:18px}.forge-buttons .strike-btn small{display:none}
 .charge-row{margin-top:10px;min-height:20px;gap:6px;align-items:center}.charge-copy{font-size:10px;flex-shrink:0}.charge-timer{font-size:9px;text-align:right}.battery>i{width:17px;height:9px}
 .sound-strip{margin-top:8px;padding-top:5px;gap:2px}.sound-strip>span{display:none}.sound-strip button,.sound-strip .mobile-only{display:flex!important;min-height:44px;align-items:center;justify-content:center;gap:5px;font-size:11px;padding:4px 5px;border-radius:7px;flex:1}.sound-strip button:first-child{flex:1.65;white-space:nowrap}.sound-strip .icon{width:17px;height:17px}
 #next-goal .goal{display:flex;align-items:center;gap:8px;padding:10px 11px;border-radius:9px}.goal .row{flex:1;gap:7px;min-width:0}.goal .row>.icon{width:17px;height:17px;flex-shrink:0}.goal h3{font-size:12px;line-height:1.6;letter-spacing:0}.goal p{display:none}#next-goal .goal .text-link{margin:0;min-height:40px;flex-shrink:0;width:auto;font-size:11px;gap:6px}
 .right-stack>.next-disciple,.right-stack>.goal,.below-forge{display:none}#page>.footnote{display:none}
 .mobile-bottom{padding:5px 6px calc(5px + env(safe-area-inset-bottom));gap:2px;background:#201d1bf5}.mobile-bottom button{min-height:52px;font-size:10px;gap:4px;border-radius:9px}.mobile-bottom .icon{width:23px;height:23px}.mobile-bottom button.active{background:#dfbe8420;color:#edc88b}
 .tabs{overflow-x:auto;scrollbar-width:none;padding-bottom:4px;gap:4px;flex-wrap:nowrap}.tabs::-webkit-scrollbar{display:none}.tabs button{min-height:42px;min-width:48px;flex-shrink:0;border-radius:7px;font-size:11px;padding:8px 10px}
 .toolbar{gap:10px}.search{min-height:44px;font-size:13px;border-radius:8px}.catalog-banner{font-size:11px;padding:11px;line-height:1.7}.catalog-grid{gap:9px}.item-card{border-radius:10px}.item-card-content{padding:10px}.item-card h3{font-family:var(--sans);font-size:14px;line-height:1.6}.item-card-content>p{display:none}.card-bottom{flex-wrap:wrap;gap:8px}.card-bottom .btn{min-height:42px;flex:1;min-width:70px;font-size:11px;padding:8px 6px}.card-bottom .price{font-size:13px}
 .summary-note{font-size:11px;padding:12px;line-height:1.7}.summary-note .icon{flex-shrink:0}.disciple-card-body>p{display:none}.disciple-actions .btn,.disciple-card-body>.btn{min-height:44px;font-size:11px}.req{font-size:10px;line-height:1.7}.disciple-visual{height:180px}.disciple-name h3{font-size:20px}.disciple-name p{font-size:10px}.disciple-card{border-radius:10px}.disciple-card-body{padding:10px}
 .path-card .btn{min-height:44px;line-height:1.6;font-size:11px;white-space:normal}.path-card p{font-size:11px}.hammer-description{padding:18px}.hammer-description>p{font-size:12px;line-height:1.9}.hammer-showcase{min-height:210px}.hammer-showcase>.item-art{width:180px;height:180px}.hammer-description h2{font-size:22px}.stats-strip{gap:8px}.stat-tile{padding:13px}.stat-tile small{font-size:10px}.room-content .btn,.milestone .btn{min-height:44px;font-size:11px}
 .modal-backdrop{padding:12px}.modal{width:100%;max-height:calc(100dvh - 24px);border-radius:13px}.modal-close{min-width:44px;min-height:44px;right:7px;top:7px}.modal .btn{min-height:44px}.modal-content{padding:24px 18px}.settings-grid h3{font-size:13px}.settings-grid p{font-size:11px}.settings-grid>.row{gap:10px}.sound-volume{min-height:44px;width:35%;max-width:120px}.settings-grid .audio-credit{font-size:10px}.character-modal .modal-content{padding:20px}.story-text{font-size:15px;line-height:2.1}
 #toasts{max-width:calc(100vw - 28px);bottom:calc(82px + env(safe-area-inset-bottom));gap:6px}.toast{font-size:12px;padding:10px 14px}
 .impact-label{top:12%}.impact-label strong{font-family:var(--sans);letter-spacing:1px}
}
@media(max-width:370px){
 .header{padding:0 8px}.mobile-logo{font-size:13px}.header .icon-btn{width:44px}.currency strong{font-size:17px}.currency{margin-right:0}.main{padding-left:9px;padding-right:9px}.quick-name h3{font-size:14px}.mobile-forge-summary .btn{font-size:11px;padding:7px 8px}.quick-stats>div{padding:5px;gap:2px}.quick-stats strong{font-size:15px}.quick-stats .icon{display:none}.quick-risk{font-size:9px}.charge-timer{font-size:8px}.charge-copy{font-size:9px}.battery>i{width:14px}.sound-strip button{font-size:10px}.sound-strip .icon{width:15px;height:15px}.forge-buttons .strike-btn{gap:7px}.strike-btn strong{font-size:18px}.perfect-btn strong{font-size:16px}.scene-item.item-art,.scene-item.fracture-art{width:190px;height:190px}.goal h3{font-size:11px}.goal .text-link{font-size:10px}
}
@media(max-width:760px) and (max-height:650px){
 .header{height:52px}.main{padding-top:8px}.forge-scene{height:150px}.scene-item.item-art,.scene-item.fracture-art{width:154px;height:154px}.scene-top{top:8px;left:8px;right:8px}.scene-chip{font-size:8px;padding:4px 6px}.forge-controls{padding:10px}.mobile-forge-summary{padding-bottom:7px;margin-bottom:8px}.mobile-forge-summary .btn{min-height:40px}.quick-stats{margin:6px 0 5px}.quick-stats>div{padding-top:3px;padding-bottom:3px}.forge-buttons .strike-btn{min-height:56px}.charge-row{margin-top:7px}.sound-strip{display:none}#next-goal{display:none}.impact-label.perfect strong{font-size:20px}.impact-label span{margin-top:4px}
}
@media(min-width:761px) and (max-width:960px) and (max-height:500px){
 .sidebar,.header-crumb,.page-intro,.below-forge,.right-stack,#next-goal,#item-panel,.forge-note,.scene-caption,.scene-hint{display:none!important}.shell{padding:0 0 55px}.header{height:49px;padding:0 12px;position:sticky;top:0;z-index:28;background:#1d1b19f5}.mobile-logo{display:block;font-size:14px;letter-spacing:0}.mobile-logo small{display:none}.header .icon-btn{width:42px;height:44px}.main{padding:10px 12px}.forge-main{display:contents}.forge-layout{display:grid;grid-template-columns:1fr 1fr;gap:0}.forge-scene{grid-column:1;height:242px;border-radius:10px 0 0 10px}.forge-controls{grid-column:2;margin:0;padding:12px;border-radius:0 10px 10px 0}.mobile-forge-summary{display:block;padding-bottom:8px;margin-bottom:9px}.mobile-forge-summary>.row{gap:8px}.quick-name{min-width:0;flex:1}.quick-name h3{font-size:15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.quick-stats{margin:10px 0 6px}.quick-stats strong{font-size:20px}.quick-stats .icon{width:12px;height:12px}.quick-stats>div>span{display:flex;align-items:center;gap:3px}.quick-risk{font-size:9px}.forge-buttons{grid-template-columns:1fr 1fr}.forge-buttons .strike-btn{min-height:56px;gap:8px}.strike-btn strong{font-size:17px}.perfect-btn strong{font-size:16px}.strike-btn small{display:none}.charge-row{margin-top:10px}.sound-strip{display:none}.scene-item.item-art,.scene-item.fracture-art{width:205px;height:205px;top:46%}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#201d1bf5;padding:4px 8px calc(4px + env(safe-area-inset-bottom));gap:4px}.mobile-bottom button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;font-size:11px;border-radius:8px}.mobile-bottom .icon{width:19px;height:19px}.mobile-bottom button.active{color:#edc88b;background:#dfbe8420}#toasts{left:50%;bottom:62px}.mobile-forge-summary .btn{min-height:42px;font-size:11px;white-space:nowrap}.footnote{display:none}
}
@media(min-width:761px) and (max-width:960px) and (max-height:500px){
 .quick-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.quick-stats>div{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:4px 5px;background:#0002;border-radius:5px}.quick-stats>div>span{font-size:10px;white-space:nowrap}.quick-stats strong{font-family:var(--sans);font-size:17px}.quick-stats .icon{display:none}.forge-controls{align-self:start;min-height:242px}.mobile-forge-summary{border-bottom:1px solid var(--line)}
}
