:root{font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:#314735;background:#f4f3eb;font-synthesis:none;--ink:#314735;--muted:#8e987e;--green:#4d6d45;--line:#e0e4d2;--paper:#fffdf5;--orange:#bd875c}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;transition:background .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,canvas:focus-visible{outline:3px solid #caa65d;outline-offset:3px}h1,h2,h3,h4,p{margin:0}svg{display:block}.icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex-shrink:0}.app{max-width:1480px;margin:auto;padding:0 38px 28px}.topbar{height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;gap:11px;align-items:center;flex-shrink:0}.brand-logo{background:#4c6844;color:#f1e9c4;width:36px;height:40px;display:grid;place-items:center;border-radius:9px 9px 3px 3px}.brand h1{font-size:19px;font-weight:750;letter-spacing:2px}.brand small{display:block;letter-spacing:2px;font-size:8px;margin-top:5px;color:#99a088}.nav{display:flex;align-items:center;gap:27px;height:100%;margin-right:auto;margin-left:30px}.nav button{height:100%;border:0;border-bottom:2px solid transparent;background:none;font-size:12px;color:#8f9981;padding:0 2px}.nav button.active{color:#4d6844;border-color:#4d6844;font-weight:600}.nav .icon{height:15px;width:15px;margin-right:5px}.resources{display:flex;gap:10px}.res{font-size:12px;padding:9px 12px;background:#eceee0;border:1px solid #dfe3d0;border-radius:7px;display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}.res.energy{background:#f4ead0;border-color:#e8dcb9;color:#a48748}.res.wood{color:#9a8359}.res.gems{color:#839683}.tiny{font-size:10px;color:var(--muted)}.intro{display:flex;align-items:center;justify-content:space-between;padding:24px 0 19px;gap:20px}.eyebrow{letter-spacing:2.3px;font-size:9px;color:#9b9f83;margin-bottom:9px}.intro h2{font-size:27px;font-weight:650;letter-spacing:.3px}.intro p{font-size:12px;color:#939c84;margin-top:9px}.intro-actions{display:flex;align-items:center;gap:13px}.primary,.secondary,.ghost{border:1px solid #4c6943;background:#4c6943;color:#fffdf0;border-radius:7px;padding:11px 17px;font-size:12px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary:hover{background:#395b34}.secondary{background:#fafaf1;color:#677e57;border-color:#d5ddc6}.secondary:hover{background:#edf1e1}.ghost{background:none;border-color:transparent;color:#8a977a;padding:6px;font-size:11px}.ghost:hover{background:#edf0e2}.primary .icon,.secondary .icon,.ghost .icon{width:15px;height:15px}.main-layout{display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:20px;align-items:start}.left-column{min-width:0}.card{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}.world-card{position:relative;box-shadow:0 6px 30px #35432206}.world-top{height:55px;display:flex;align-items:center;justify-content:space-between;padding:0 19px;background:#f8faed}.world-name{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:600}.world-name .badge{font-size:8px;font-weight:500;background:#e9eddc;padding:4px 7px;border-radius:4px;color:#849571}.weather{display:flex;align-items:center;gap:5px}.weather span{font-size:9px;color:#a0aa8f;margin-right:6px}.weather button{border:0;background:transparent;border-radius:5px;padding:5px;color:#99a587}.weather button.active{background:#e4ebd1;color:#678151}.weather .icon{width:15px;height:15px}.map-wrap{position:relative;background:#d9e3b9;overflow:hidden;line-height:0}.map-wrap canvas{width:100%;height:auto;aspect-ratio:900/500;display:block;touch-action:none;image-rendering:pixelated;outline-offset:-3px}.map-overlay{position:absolute;left:17px;top:14px;pointer-events:none}.location-chip{font-size:9px;line-height:1.5;background:#fffdefd9;backdrop-filter:blur(5px);padding:8px 10px;border-radius:5px;color:#7f906b;border:1px solid #fff7;letter-spacing:.5px}.map-caption{position:absolute;bottom:15px;left:17px;font-size:9px;line-height:1.7;color:#71845e;background:#f8fae9d9;padding:6px 10px;border-radius:5px;pointer-events:none}.map-caption kbd{font:9px monospace;background:#fdfdf1;border:1px solid #d4ddbf;border-radius:3px;padding:1px 3px;margin:0 2px}.dpad{display:none;position:absolute;right:12px;bottom:12px;grid-template-columns:30px 30px 30px;grid-template-rows:30px 30px;gap:2px;line-height:1}.dpad button{border:1px solid #fdfdf1aa;background:#f8fae9d9;border-radius:5px;color:#789062;touch-action:none}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-column:1;grid-row:2}.dpad button:nth-child(3){grid-column:2;grid-row:2}.dpad button:nth-child(4){grid-column:3;grid-row:2}.combat-bar{display:flex;align-items:center;gap:17px;padding:16px 18px;border-top:1px solid #e1e6cf;background:#fffdf4}.boss-mini{width:39px;height:39px;flex-shrink:0;background:#e9edd8;border:1px solid #dde4c9;border-radius:8px;display:grid;place-items:center}.boss-mini .icon{color:#8e9d70;width:23px;height:23px}.boss-status{flex:1;min-width:110px}.boss-status h3{font-size:12px;margin-bottom:7px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:8px}.boss-status small{font-size:9px;color:#ab9d7d;font-weight:400}.bar{height:5px;background:#ebe8d7;border-radius:6px;overflow:hidden}.bar span{display:block;height:100%;background:#c6956a;border-radius:6px;transition:width .35s}.boss-status p{font-size:9px;color:#a59e83;margin-top:7px}.attack-button{background:#a5774e;border-color:#a5774e;min-width:116px;flex-direction:column;gap:4px;padding:9px 13px}.attack-button:hover{background:#91603d}.attack-button small{font-size:9px;font-weight:400;color:#f3e3c5}.loop-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:15px 0;background:#ecefe0;border:1px solid #e0e6d0;border-radius:8px;padding:13px 3px}.loop-step{position:relative;padding:0 13px;color:#95a183}.loop-step:not(:last-child)::after{content:'›';position:absolute;right:-3px;top:7px;font-size:15px;color:#b9c3a8}.loop-step b{font-size:10px;display:flex;align-items:center;gap:6px;font-weight:500}.loop-step p{font-size:9px;color:#a4ae93;margin-top:5px}.loop-step .icon{width:13px;height:13px}.loop-step.active b{color:#537745;font-weight:650}.loop-step.active p{color:#7d9268}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px}.section-heading h3{font-size:14px;font-weight:600;display:flex;gap:8px;align-items:center}.section-heading h3 small{font-size:10px;font-weight:400;color:#a1aa91}.section-heading>div{display:flex;gap:10px}.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.task-card{padding:15px;position:relative;display:flex;flex-direction:column;min-height:157px}.task-top{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#99a486;margin-bottom:13px}.task-tag{background:#f0ecd9;color:#ad9865;border-radius:4px;padding:3px 5px}.task-card h4{font-size:12px;font-weight:500;line-height:1.8;flex:1;overflow-wrap:anywhere}.task-card.done h4{text-decoration:line-through;color:#a0a88f}.task-card footer{display:flex;justify-content:space-between;align-items:center;margin-top:17px;gap:8px}.task-card footer span{font-size:10px;color:#a18a51;display:flex;align-items:center;gap:4px}.task-card footer .icon{width:12px;height:12px}.task-card .complete{padding:5px 8px;font-size:9px;border:1px solid #d6dfc5;border-radius:5px;background:#f0f4e6;color:#70885a}.task-remove{opacity:0;border:0;background:none;padding:0;color:#a7af98;font-size:12px}.task-card:hover .task-remove,.task-remove:focus-visible{opacity:1}.aside{display:flex;flex-direction:column;gap:15px}.hero-card{padding:18px 18px 15px}.panel-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600}.panel-heading small{font-size:9px;font-weight:400;color:#98a386}.paperdoll{display:grid;grid-template-columns:53px 1fr 53px;grid-template-rows:repeat(3,58px);gap:10px 4px;margin:16px 0 12px;position:relative}.hero-stage{grid-column:2;grid-row:1/span 3;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.hero-stage::before{content:'';position:absolute;width:132px;height:132px;border:1px solid #e5e9d5;border-radius:50%;background:radial-gradient(#eef2df,transparent 70%)}.hero-stage svg{width:108px;height:135px;position:relative;image-rendering:pixelated;z-index:1;filter:drop-shadow(0 7px 2px #788a6522)}.hero-stage p{font-size:10px;color:#8b9c73;margin-top:8px}.slot{border:1px dashed #d7dfc6;background:#f5f7ec;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px;position:relative;color:#9aa88a;min-width:0}.slot.equipped{border:1px solid #d4dcc2;background:#edf2df}.slot.rare{border-color:#a9c3b0;background:#e8efe1}.slot:hover{border-color:#8ca573;background:#e5edd7}.slot svg{width:31px;height:31px;image-rendering:pixelated}.slot small{font-size:8px;line-height:1.6}.slot.empty .icon{opacity:.5;width:18px;height:18px;margin:5px}.hero-name{display:flex;align-items:center;justify-content:center;gap:7px;font-size:16px;font-weight:600}.level{font-size:9px;font-weight:500;background:#eef1e0;color:#91a175;border:1px solid #e0e6d1;border-radius:4px;padding:2px 5px}.hp-line{display:flex;justify-content:space-between;font-size:9px;color:#99a889;margin-top:14px;margin-bottom:6px}.hero-card .bar span{background:#8ea578}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 15px;border-top:1px dashed #e0e5d3;padding-top:15px;margin-top:16px}.stat{display:flex;justify-content:space-between;font-size:10px;color:#94a084}.stat b{color:#647e54;font-size:12px;font-weight:600}.stat span{display:flex;gap:5px;align-items:center}.stat .icon{width:13px;height:13px}.hero-card>.secondary{width:100%;margin-top:15px;padding:9px}.resonance{display:flex;align-items:center;gap:5px;font-size:9px;color:#a38b58;border-top:1px dashed #e0e5d3;margin-top:14px;padding-top:12px}.resonance .icon{width:12px;height:12px}.next-card{padding:17px;background:#edf0e2}.next-card h3{font-size:11px;display:flex;align-items:center;gap:6px}.next-card p{font-size:11px;line-height:1.9;color:#91a07e;margin:10px 0}.next-card button{width:100%;padding:8px;font-size:10px}.log-card{padding:17px}.log-card h3{font-size:11px;margin-bottom:12px}.log-entry{font-size:10px;line-height:1.9;color:#8f9b7e;border-left:2px solid #dfe7ce;padding-left:10px;margin-bottom:12px;overflow-wrap:anywhere}.log-entry:first-of-type{color:#728b5f;border-color:#a8bd8e}.page-footer{font-size:9px;color:#a8af9a;display:flex;justify-content:space-between;align-items:center;padding:23px 0 0}.page-footer .ghost{font-size:9px}.storage-error{background:#fff0d4;color:#886332;padding:10px;font-size:12px}.empty{grid-column:1/-1;text-align:center;font-size:12px;color:#9aa78b;padding:30px;line-height:2}.modal-overlay{position:fixed;inset:0;background:#263d2c70;backdrop-filter:blur(5px);z-index:80;display:flex;align-items:center;justify-content:center;padding:25px}.modal{background:#fcfbf2;border:1px solid #e3e7d4;border-radius:16px;width:490px;max-height:91dvh;overflow:auto;box-shadow:0 20px 100px #233b2c40;padding:28px;position:relative}.modal.wide{width:880px}.modal-close{position:absolute;right:17px;top:16px;padding:5px;border:0;background:none;color:#9daa8e}.modal h2{font-size:22px;font-weight:600;padding-right:25px}.modal-desc{font-size:11px;line-height:1.9;color:#96a283;margin:10px 0 22px}.field{display:block;font-size:11px;color:#7b8f6a;margin-top:17px}.field>span{display:block;margin-bottom:8px}.field input,.field textarea,.field select{width:100%;padding:11px;background:#f3f5e8;border:1px solid #dce3cd;border-radius:7px;color:#3b5836;resize:vertical}.field textarea{min-height:90px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.hint{font-size:10px;line-height:1.9;color:#9aa88a;margin-top:14px}.bag-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:17px}.bag-tabs button{font-size:10px;padding:7px 12px;border:1px solid #dce3cc;background:#f7f8ee;border-radius:6px;color:#899c74}.bag-tabs button.active{background:#dde8ce;border-color:#a3b88c;color:#5c7848}.bag-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gear-card{border:1px solid #e0e5d1;border-radius:9px;padding:15px;background:#fffef6;position:relative;min-width:0}.gear-card.rare{border-color:#b6cabb;background:#f6f9ef}.gear-card.equipped{box-shadow:inset 0 0 0 1px #9db58a}.gear-card header{display:flex;gap:10px;align-items:center;margin-bottom:13px}.gear-card .gear-art{width:44px;height:44px;background:#ecf0df;border:1px solid #dce5cd;border-radius:8px;flex-shrink:0;padding:3px}.gear-art svg{width:100%;height:100%;image-rendering:pixelated}.gear-card h3{font-size:11px;font-weight:600;line-height:1.7}.gear-card small{font-size:9px;color:#9aa98b}.affix{font-size:10px;color:#82996a;display:flex;justify-content:space-between;line-height:2}.affix b{font-weight:500}.inscription{border-top:1px dashed #e0e5d2;margin-top:9px;padding-top:9px;font-size:9px;line-height:1.8;color:#ad9265;overflow-wrap:anywhere}.gear-actions{display:flex;gap:6px;margin-top:13px}.gear-actions button{font-size:10px;padding:7px 8px;flex:1}.gear-card .equipped-badge{font-size:8px;position:absolute;right:10px;top:7px;color:#81986b}.equipment-detail{display:grid;grid-template-columns:94px 1fr;gap:20px;margin:22px 0}.equipment-detail .gear-art{width:94px;height:94px;padding:12px;background:#eaf0dc;border:1px solid #d8e3c8;border-radius:11px}.compare{font-size:10px;color:#a19b7b;margin:5px 0 13px;line-height:1.8}.build-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.building-option{padding:15px;background:#fffdf5;border:1px solid #e1e6d2;border-radius:9px;display:flex;flex-direction:column}.building-option svg{width:100%;height:95px;image-rendering:pixelated}.building-option h3{font-size:12px;margin:10px 0}.building-option p{font-size:10px;color:#98a384;line-height:1.9;flex:1}.building-option strong{display:block;font-size:10px;color:#76925f;margin-top:9px;font-weight:500}.building-option button{margin-top:12px;padding:8px;font-size:10px}.building-option .price{font-size:10px;color:#aa9265;margin-top:12px}.memory-card{padding:16px;border:1px solid #e0e5ce;border-radius:9px;margin:12px 0;background:#fffef5}.memory-card blockquote{margin:0 0 10px;font-size:14px;line-height:1.9;color:#697e58}.memory-card p{font-size:10px;color:#9eaa8d}.memory-card button{font-size:10px;margin-top:14px;padding:8px 12px}.victory{text-align:center}.victory h2{padding:0;margin-top:12px;font-size:26px}.victory .loot-icon{width:90px;height:90px;margin:20px auto 12px;padding:8px;background:#e7eed6;border:1px solid #c8d7b6;border-radius:12px;image-rendering:pixelated}.victory .loot-icon svg{width:100%;height:100%}.loot-resources{display:flex;justify-content:center;gap:15px;margin:20px 0;font-size:13px;color:#a18b57}.victory .primary{width:100%;margin-top:17px}.victory p{font-size:12px;color:#93a27e;line-height:1.8}.focus-time{text-align:center;font-size:66px;letter-spacing:5px;font-variant-numeric:tabular-nums;color:#6c8559;margin:30px 0}.focus-options{display:flex;gap:8px;justify-content:center}.focus-options button{border:1px solid #d8e3c5;background:#f1f5e5;padding:9px 15px;border-radius:6px;color:#879d70}.focus-options button.active{background:#dce8c9;border-color:#9bb67c}.focus-dock{position:fixed;bottom:20px;right:24px;padding:12px 18px;background:#4b6943;color:#fbfbe8;border:1px solid #819d6c;border-radius:25px;font-size:11px;z-index:25}.profile-layout{display:grid;grid-template-columns:110px 1fr;gap:23px}.profile-preview{background:linear-gradient(#e4eacd 80%,#c7d5a7 80%);border:1px solid #d4dfbf;border-radius:10px;display:grid;place-items:center;height:170px}.profile-preview svg{width:95px;height:135px;image-rendering:pixelated}.swatches{display:flex;gap:8px;margin:8px 0 15px}.swatches button{width:25px;height:25px;border:3px solid #fffdf4;border-radius:50%;box-shadow:0 0 0 1px #d9e2c7;padding:0}.swatches button.active{box-shadow:0 0 0 2px #7b995f}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;background:#3e5d38;color:#fffbea;padding:13px 22px;border:1px solid #728e5d;border-radius:9px;font-size:12px;box-shadow:0 8px 30px #30442530;transition:all .25s;pointer-events:none;z-index:100;max-width:90vw;line-height:1.7}.toast.visible{transform:translate(-50%,0);opacity:1}.pulse{animation:pulse .6s ease}.combat-busy .attack-button{pointer-events:none;opacity:.7}.demo-note{font-size:9px;color:#acaf91;text-align:center;padding-top:9px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes pulse{50%{box-shadow:0 0 0 5px #d0b87655}}
@media(min-width:1500px){.app{padding:0 45px 30px}.main-layout{grid-template-columns:minmax(0,1fr) 310px;gap:24px}.paperdoll{grid-template-columns:57px 1fr 57px;grid-template-rows:repeat(3,61px)}}
@media(max-width:1100px){.app{padding:0 22px 24px}.nav{gap:15px;margin-left:10px}.nav .icon{display:none}.resources{gap:5px}.res{padding:8px}.main-layout{grid-template-columns:minmax(0,1fr) 260px;gap:15px}.hero-card{padding:16px 14px}.task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.loop-step{padding:0 9px}.loop-step p{font-size:8px}.intro h2{font-size:24px}.map-caption{font-size:8px;bottom:9px;left:10px}.combat-bar{padding:13px 12px;gap:10px}.boss-mini{display:none}.paperdoll{grid-template-columns:47px 1fr 47px}.hero-stage svg{width:92px}.hero-stage::before{width:110px;height:110px}}
@media(max-width:800px){.nav{gap:13px}.nav button{font-size:11px}.brand h1{font-size:16px}.brand small{font-size:7px;letter-spacing:1px}.brand-logo{width:30px;height:34px}.topbar{gap:10px}.intro-actions>.ghost{display:none}.main-layout{grid-template-columns:minmax(0,1fr) 230px;gap:12px}.hero-card{padding:14px 12px}.hero-stage svg{width:80px}.hero-stage::before{width:87px;height:87px}.paperdoll{grid-template-columns:43px 1fr 43px;gap:8px 2px;grid-template-rows:repeat(3,53px)}.slot svg{width:27px;height:27px}.intro h2{font-size:22px}.loop-step p{display:none}.map-caption{display:none}.world-top{padding:0 12px}.weather span{display:none}.task-grid{gap:9px}.task-card{padding:12px}.bag-grid,.build-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{gap:10px}.stat{font-size:9px}}
@media(max-width:650px){.app{padding:0 14px 80px}.topbar{height:65px}.nav{position:fixed;bottom:0;left:0;right:0;margin:0;height:58px;background:#f8f8eeed;backdrop-filter:blur(10px);border-top:1px solid #dfe5d0;z-index:40;justify-content:space-around;gap:0}.nav button{height:100%;padding:7px 12px;font-size:9px;display:flex;flex-direction:column;justify-content:center;gap:5px;align-items:center;border-bottom:0}.nav button.active{background:#edf2df}.nav .icon{display:block;width:17px;height:17px;margin:0}.resources{gap:5px}.res{font-size:11px;padding:7px 8px}.res .icon{width:14px;height:14px}.brand{gap:7px}.brand h1{font-size:15px;letter-spacing:1px}.brand small{font-size:6px}.brand-logo{width:28px;height:31px}.intro{padding:19px 0 17px;gap:10px}.intro h2{font-size:21px}.intro p{font-size:10px;line-height:1.8;max-width:240px}.intro-actions .secondary{padding:9px;font-size:10px;white-space:nowrap}.eyebrow{font-size:8px}.main-layout{display:flex;flex-direction:column}.left-column{width:100%}.map-wrap{overflow-x:auto}.map-wrap canvas{min-width:590px;width:100%;height:auto}.map-overlay{left:10px;top:10px}.location-chip{font-size:8px;padding:6px 8px}.world-top{height:47px}.world-name{font-size:11px}.world-name .badge{font-size:7px}.dpad{display:grid;position:sticky;float:right;right:12px;bottom:10px;margin-top:-74px;z-index:5}.combat-bar{gap:10px;padding:13px}.boss-status h3{font-size:11px}.boss-status p{font-size:8px}.attack-button{min-width:100px;padding:8px 10px;font-size:11px}.loop-strip{padding:12px 2px}.loop-step b{font-size:9px;gap:4px}.loop-step p{display:block;font-size:8px}.loop-step .icon{width:11px;height:11px}.section-heading{margin-top:21px}.section-heading h3{font-size:13px}.section-heading .ghost{font-size:9px}.task-grid{grid-template-columns:1fr 1fr}.task-card{min-height:150px}.task-remove{opacity:1}.aside{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.hero-card{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:0 22px;padding:18px}.hero-card .panel-heading{grid-column:1 / -1}.hero-card .paperdoll{grid-column:1;grid-row:2 / span 6;margin-bottom:0;grid-template-columns:44px 1fr 44px}.hero-card .hero-name{grid-column:2;margin-top:20px;font-size:14px}.hero-card .hp-line,.hero-card>.bar,.hero-card .stats-grid,.hero-card .resonance,.hero-card>.secondary{grid-column:2}.hero-stage svg{width:75px}.hero-stage::before{width:75px;height:75px}.hero-card .hp-line{margin-top:12px}.hero-card .stats-grid{margin-top:13px;padding-top:12px;gap:10px}.stat{font-size:8px}.stat b{font-size:10px}.hero-card .resonance{font-size:8px;margin-top:11px;padding-top:9px}.hero-card>.secondary{font-size:9px;padding:7px;margin-top:10px}.next-card,.log-card{padding:14px}.next-card p{font-size:10px}.log-entry{font-size:9px}.page-footer{font-size:8px;gap:8px}.modal-overlay{padding:13px}.modal{padding:23px 20px;max-height:90dvh}.modal h2{font-size:20px}.bag-grid,.build-grid{gap:9px}.gear-card{padding:11px}.gear-card header{gap:7px}.gear-card .gear-art{width:33px;height:33px}.gear-card h3{font-size:10px}.gear-card .affix{font-size:9px}.gear-actions{flex-wrap:wrap}.gear-actions button{font-size:9px;padding:7px}.bag-tabs{gap:5px}.bag-tabs button{font-size:9px;padding:6px 9px}.building-option{padding:11px}.building-option h3{font-size:11px}.focus-dock{bottom:70px;font-size:10px}.toast{bottom:70px;font-size:11px}.profile-layout{grid-template-columns:90px 1fr;gap:15px}.profile-preview{height:155px}.profile-preview svg{width:80px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

@media(max-width:650px){.dpad{position:absolute;right:12px;bottom:100px;float:none;margin:0}.map-wrap{scrollbar-width:none}.map-wrap::-webkit-scrollbar{display:none}}
