/* Moonrise beta: night-first surfaces, individual portraits, workshop and boss formations. */
:root{--danger:#b66a7c;color-scheme:light}
:root[data-theme="dark"]{--paper:#17141f;--panel:#211c2b;--ink:#f0e7f5;--muted:#b1a4bd;--purple:#d0abe8;--purple-dark:#e2c5f4;--lilac:#34253f;--pink:#49303e;--mint:#26372f;--green:#b4d1ac;--gold:#e4c185;--line:#3a3045;--shadow:0 8px 28px #06030c24;--danger:#e6a1b1;color-scheme:dark}
html{background:var(--paper)}body{transition:background-color .2s,color .2s}button,select,input{color:inherit}select{min-height:40px;max-width:100%;padding:8px 28px 8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);font:inherit}option{background:var(--panel);color:var(--ink)}.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}
.sheep-art{position:relative;background:none!important;clip-path:none!important;overflow:visible;isolation:isolate}
.sheep-art>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;pointer-events:none}
.sheep-art>.sheep-portrait{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.sheep-portrait .hat-front{filter:drop-shadow(0 1px 1px #2b16262b)}
.sheep-art .outfit-hat{position:absolute;left:var(--hat-x);top:var(--hat-y);width:var(--hat-width);height:var(--hat-height);transform:translate(calc(-1 * var(--hat-anchor-x)),calc(-1 * var(--hat-anchor-y))) rotate(var(--hat-angle));transform-origin:var(--hat-anchor-x) var(--hat-anchor-y);z-index:5;pointer-events:none;filter:drop-shadow(0 3px 2px #2b162650)}
.outfit-hat>img{display:block;width:100%;height:100%;object-fit:contain}
.scene-sheep .sheep-art{width:100%;height:100%}.sheep-card .card-art{padding-top:12px;padding-bottom:6px}.sheep-card .sheep-art{width:100%;height:100%;max-width:100%;margin:auto}.detail-hero .sheep-art{height:192px;width:192px}.market-art .crown-demo{width:134px;margin-top:18px}.team-slot,.party-mini,.select-sheep,.slot-choice{overflow:visible}.avatar .sheep-art{width:38px;height:38px}.wallet{font-variant-numeric:tabular-nums}.wallet span[data-wallet-wool],.wallet span[data-wallet-moon]{white-space:nowrap}.scene-description p{max-width:440px}.scene-name{z-index:10}
[data-theme="dark"] .sidebar{background:#1c1725}
[data-theme="dark"] .topbar{background:#1b1624e8}
[data-theme="dark"] :is(.brand-small,.sidebar-label,.side-bottom .eyebrow,.side-bottom p,.topbar-location,.page-head .eyebrow,.save-status,.page-footer,.section-title .eyebrow,.slot-num,.swap-icon,.detail-flavor,.modal-head .eyebrow,.reveal-modal .eyebrow,.claim-info strong,.welcome-strip p,.market-intro p){color:var(--muted)}
[data-theme="dark"] .topbar-location span:last-child{color:var(--ink)}
[data-theme="dark"] :is(.brand-symbol,.avatar,.nav-item.active,.nav-count,.mobile-nav button.active){background:#3b2948;color:#e1c5f2}
[data-theme="dark"] .nav-item{color:#baacc6}[data-theme="dark"] .nav-item:hover{background:#2c2337;color:#f2e5fb}
[data-theme="dark"] :is(.side-ritual,.wallet,.search-field,.filter,.detail-stats,.slot-choice,.select-sheep,.reset-input,.reveal-card,.battle-log){background:#251f30;color:var(--ink)}
[data-theme="dark"] .filter.active{background:#473054;border-color:#79568f;color:#f0d9ff}
[data-theme="dark"] .thin-progress{background:#3c3047}[data-theme="dark"] .thin-progress span{background:#c6a0df}
[data-theme="dark"] .btn.primary{background:#a379bd;border-color:#b791d0;color:#180d22}
[data-theme="dark"] .btn.primary:hover:not(:disabled){background:#bc96d4}
[data-theme="dark"] .btn.white{background:#2e2539;color:var(--ink);border-color:#554162}
[data-theme="dark"] .btn.gold,[data-theme="dark"] .badge.gold{background:#463722;color:#f4d79b}
[data-theme="dark"] .btn.danger{background:#4d2938;color:#fac3d0}
[data-theme="dark"] .badge.neutral{background:#312938;color:#cbbad7}
[data-theme="dark"] .pill{background:#2e243cdd;color:#dfc9ee}
[data-theme="dark"] .currency-symbol.wool{color:#e2bf91}[data-theme="dark"] .currency-symbol.moon{color:#d1a8eb}
[data-theme="dark"] .error-banner{background:#47341f;color:#f0ce95}
[data-theme="dark"] .scene-season,[data-theme="dark"] .scene-button,[data-theme="dark"] .scene-name{background:#271d36e8;color:#f0e2fa;border:1px solid #b893cb55}
[data-theme="dark"] .claim-wool-icon{background:#3c3026;color:#e0bd8e}
[data-theme="dark"] .claim-sub strong,[data-theme="dark"] .party-power strong{color:#c0d5b4}
[data-theme="dark"] .party-mini{background:linear-gradient(145deg,#2b2335,#241d30)}
[data-theme="dark"] .level-tag{background:#21182bd9;color:#d5bee5}
[data-theme="dark"] .building-icon{background:#2d392e;color:#b6cf9f}
[data-theme="dark"] .building:nth-child(2) .building-icon{background:#3e3024;color:#d4b080}
[data-theme="dark"] .building:nth-child(3) .building-icon{background:#3a2948;color:#d2b2ea}
[data-theme="dark"] .building:nth-child(4) .building-icon{background:#472c3c;color:#e4afc4}
[data-theme="dark"] .welcome-strip,[data-theme="dark"] .market-intro{background:#302138;border-color:#50345e}
[data-theme="dark"] .welcome-strip .btn{background:#43304f;color:#ebd3fa}
[data-theme="dark"] .sheep-card .card-art{background:radial-gradient(ellipse at 50% 85%,var(--accent),transparent 80%),#26212f}
[data-theme="dark"] .sheep-card.locked .card-art{background:radial-gradient(ellipse at 50% 85%,var(--accent),transparent 90%),#251f2c}
[data-theme="dark"] .sheep-card.locked .sheep-art{filter:grayscale(.25);opacity:.65}
[data-theme="dark"] .team-indicator{background:#22182eea;color:#d4bbdf}
[data-theme="dark"] .team-slot{background:#2b2235}
[data-theme="dark"] .chapter-banner .badge{background:#281c36df;color:#edd9fc}
[data-theme="dark"] .stage-node{background:#2d2636;color:#ac9bb8}
[data-theme="dark"] .stage-node.cleared{background:#2c3a2d;border-color:#445d42;color:#c0d9ae}
[data-theme="dark"] .stage-node.boss{background:#493827;border-color:#6a4f31;color:#efd29b}
[data-theme="dark"] .stage-node.current{background:#a379bd;border-color:#c6a0df;color:#190e23}
[data-theme="dark"] .stage-node.boss.current{background:#d4b078;border-color:#e0c693;color:#241a10}
[data-theme="dark"] .expedition-panel .detail-row strong{color:#e3c6f1}
[data-theme="dark"] .expedition-tip{background:#3a3027;color:#e4caa0}
[data-theme="dark"] .market-art{background:#2e233a}
[data-theme="dark"] .market-art .badge{background:#261b33ea;color:#e0c2f2}
[data-theme="dark"] .market-fineprint,[data-theme="dark"] .skill-box,[data-theme="dark"] .settings-note{background:#31243c;color:#dbbfe9}
[data-theme="dark"] .achievement-icon{background:#423421;color:#e4c185}
[data-theme="dark"] .achievement-card.claimed{background:#242a23}
[data-theme="dark"] .modal-backdrop{background:#08050fc9}
[data-theme="dark"] .modal-close{background:#36273fdf;color:#e2c7f1}
[data-theme="dark"] .detail-hero{background:radial-gradient(ellipse at 50% 100%,var(--accent),transparent 85%),#282031}
[data-theme="dark"] .toggle{background:#574761}[data-theme="dark"] .toggle.on{background:#a379bd}
[data-theme="dark"] .reveal-modal{background:radial-gradient(ellipse at top,#493052,transparent 75%),var(--paper)}
[data-theme="dark"] .reveal-card.legendary{background:#3d3020;border-color:#c8a86a}
[data-theme="dark"] .reveal-card.epic{background:#382442;border-color:#a980bf}
[data-theme="dark"] .reveal-card .new-tag{background:#563c66;color:#f1d9ff}
[data-theme="dark"] .toast{background:#2c2237f5;color:#ead5f7;border-color:#5a416b}
[data-theme="dark"] .toast.error{border-color:#885369;color:#f7bacb}
[data-theme="dark"] .tab-guard{background:#3a2647;color:#e5c8f6;border-color:#654775}
[data-theme="dark"] .mobile-nav{background:#211a2cf5}
[data-theme="dark"] .mobile-nav button{color:#baa8c7}
[data-theme="dark"] .outcome-icon{background:#433324!important;color:#edcb8e!important}
[data-theme="dark"] .battle-unit .unit-name,[data-theme="dark"] .unit-hp-text,[data-theme="dark"] .battle-round{background:#251a33eb;color:#f4defe;text-shadow:none}
[data-theme="dark"] .unit-shield{color:#f1ddff;text-shadow:0 1px 3px #22132e}
.adventure-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}.adventure-modes .btn{min-width:0;padding:10px 6px;font-size:11px}.adventure-mode-help{font-size:10px;line-height:1.65;color:var(--muted);margin-top:10px}.continuous-status{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;background:var(--lilac);color:var(--purple);padding:12px 16px;border-radius:10px;max-width:520px;margin:15px auto 0;font-size:12px}.continuous-status .text-button{margin-left:10px}.continuous-status.stopped{background:var(--mint);color:var(--green)}
.battle-controls{flex-wrap:wrap;justify-content:flex-end}.battle-controls :is([data-battle-continuous],[data-battle-repeat]){display:flex;gap:5px;align-items:center}.battle-controls :is([data-battle-continuous],[data-battle-repeat]) .icon{width:13px;height:13px}.battle-top{gap:14px}.battle-arena:has(.boss-formation){height:425px;padding:35px 10px 15px}.battle-team.enemies.boss-formation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;justify-items:center;gap:4px;width:45%}.boss-formation .battle-unit{width:100%;min-width:0;max-width:95px}.boss-formation .boss-unit{grid-column:1/-1;width:180px;max-width:70%;margin:0 auto 4px}.boss-unit .unit-art{filter:drop-shadow(0 10px 12px #5b245b40)}.boss-formation .boss-unit .unit-health{height:10px;max-width:150px;background:#47233d99}.boss-unit .unit-name{max-width:170px;font-size:11px}.enemy-sprite{display:block;width:100%;height:100%;background:none!important}.enemy-sprite img{display:block;width:100%;height:100%;object-fit:contain}.battle-arena.briar{background-image:url('assets/briar.webp')}.battle-arena.frostbell{background-image:url('assets/frostbell.webp')}.battle-arena.eclipse{background-image:url('assets/eclipse.webp')}.enemy-crown{top:2%;left:45%;color:#f3cf85}.boss-unit .enemy-crown{display:none}.battle-report li:nth-child(even){background:#a685bf08}.battle-report summary{font-size:12px}
.equipment-wearer{padding:22px;display:grid;grid-template-columns:1.05fr 1.3fr;gap:28px;margin-bottom:25px}.wearer-summary{display:flex;align-items:center;gap:15px;min-width:0}.wearer-summary>.sheep-art{width:130px;height:130px;flex-shrink:0}.wearer-summary>div{min-width:0}.wearer-summary .eyebrow{font-size:8px;color:var(--muted);margin-bottom:9px}.wearer-summary select{font-size:17px;font-family:Georgia,serif;width:100%;letter-spacing:-.02em}.wearer-summary p{font-size:10px;color:var(--muted);margin-top:10px}.gear-summary-stats{display:flex;gap:13px;flex-wrap:wrap;margin-top:10px;color:var(--muted);font-size:11px}.gear-summary-stats span{display:flex;align-items:center;gap:4px}.gear-summary-stats .icon{width:14px;height:14px;color:var(--purple)}.loadout .section-title{margin-bottom:12px}.loadout h3{font-size:18px;display:flex;gap:7px;align-items:center}.loadout h3 .icon{width:16px;color:var(--purple)}.loadout-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.loadout-slot{min-width:0;min-height:120px;background:var(--lilac);border:1px dashed var(--line);border-radius:12px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.loadout-slot.filled{border-style:solid;background:var(--paper)}.loadout-slot>.icon{width:24px;height:24px;color:var(--purple);margin:14px 0}.loadout-slot strong{font-size:10px;font-weight:700;text-align:center;line-height:1.4}.loadout-slot small{font-size:8px;color:var(--muted)}.loadout-slot .gear-art{width:64px;height:64px}.compact-loadout{margin-top:23px;padding-top:19px;border-top:1px solid var(--line)}.compact-loadout .loadout-slot{min-height:108px}.gear-art{display:block;aspect-ratio:1;pointer-events:none}.gear-art>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.equipment-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.equipment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.equipment-card{min-width:0;overflow:hidden;display:flex;flex-direction:column}.equipment-art-button{width:100%;height:155px;position:relative;background:radial-gradient(ellipse at center,#bea1d52b,transparent 70%),var(--lilac);display:grid;place-items:center}.equipment-art-button .gear-art{width:138px;height:138px}.gear-refinement{position:absolute;bottom:10px;right:12px;font-size:10px;color:var(--purple);font-weight:700;display:flex;align-items:center;gap:4px}.gear-refinement .icon{width:12px;height:12px}.equipment-art-button .rarity-label{left:15px;top:14px}.equipment-copy{padding:18px;display:flex;flex:1;flex-direction:column}.equipment-copy h3{font-size:22px;line-height:1.2}.gear-bonuses{display:flex;gap:7px 12px;flex-wrap:wrap;font-size:10px;margin-top:12px;color:var(--green);font-weight:700}.gear-bonuses span{display:inline-flex;align-items:center;gap:4px}.gear-bonuses .icon{width:13px;height:13px}.equipment-copy h4{font-size:11px;color:var(--purple);margin:16px 0 6px;line-height:1.4}.equipment-copy p{font-size:11px;color:var(--muted);line-height:1.7;flex:1}.gear-owner{font-size:9px;color:var(--muted);margin:17px 0 12px;line-height:1.5}.gear-owner .icon{width:12px;height:12px}.equipment-copy .btn{white-space:normal;font-size:11px}.equipment-fineprint{margin-top:22px;max-width:780px}.gear-locked .equipment-art-button .gear-art{opacity:.5;filter:grayscale(.6)}.gear-detail-art{height:185px;display:grid;place-items:center;background:radial-gradient(ellipse,#bc8cdd22,transparent 70%);margin:-12px 0 15px}.gear-detail-art .gear-art{height:185px;width:185px}.gear-bonuses.large{margin-bottom:20px;font-size:13px}.gear-bonuses.large .icon{width:17px;height:17px}.gear-label{display:block;font-size:11px;color:var(--muted);margin:20px 0 8px}#gear-detail-sheep{width:100%}.select-gear .gear-art{width:95px;height:95px;margin:auto}.select-gear p{font-size:11px}.music-player{background:var(--lilac);border:1px solid var(--line);border-radius:12px;padding:17px;margin:18px 0}.music-player .eyebrow{font-size:8px;color:var(--muted);margin-bottom:9px}.music-player>strong{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.music-player>.subtle-note{font-size:10px;margin-top:6px}.setting-row select{font-size:11px;min-width:160px}.setting-row input[type="range"]{accent-color:var(--purple);max-width:42%}.settings-actions{flex-wrap:wrap}.setting-row label{color:var(--ink)}.setting-row>div{min-width:0}.setting-row p{max-width:330px}.equipment-card button:focus-visible{outline-offset:-4px}
@media(min-width:1500px){.equipment-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1180px){.equipment-wearer{grid-template-columns:1fr;gap:20px}.wearer-summary>.sheep-art{width:112px;height:112px}.equipment-grid{gap:14px}.equipment-copy{padding:14px}.equipment-copy h3{font-size:20px}.equipment-art-button{height:145px}.equipment-art-button .gear-art{height:126px;width:126px}.topbar-location{max-width:230px}}
@media(max-width:900px){.equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-btn{width:29px;height:31px}.wallets{gap:6px}.wallet .wallet-add{display:none}.battle-top h2{font-size:22px}.battle-controls .btn{font-size:10px}}
@media(max-width:700px){.mobile-nav{gap:2px;padding-left:5px;padding-right:5px}.mobile-nav button{flex:1;min-width:0;font-size:7px;max-width:80px}.mobile-nav button .icon{width:19px;height:19px}.equipment-wearer{padding:16px;gap:18px}.wearer-summary{gap:9px}.wearer-summary>.sheep-art{width:95px;height:95px}.wearer-summary select{font-size:16px}.wearer-summary p{font-size:9px}.gear-summary-stats{gap:8px;font-size:10px}.loadout-slots{gap:7px}.loadout-slot{min-height:115px;padding:8px 4px}.loadout-slot .gear-art{width:58px;height:58px}.equipment-toolbar{gap:10px}.equipment-toolbar .filters{flex-wrap:wrap;gap:6px}.equipment-toolbar .filter{font-size:9px;padding:7px 9px}.equipment-grid{gap:12px}.equipment-copy{padding:12px}.equipment-copy h3{font-size:19px}.equipment-art-button{height:133px}.equipment-art-button .gear-art{width:116px;height:116px}.equipment-copy p{font-size:10px}.equipment-copy h4{font-size:10px}.gear-bonuses{font-size:9px;gap:5px}.gear-bonuses .icon{width:11px;height:11px}.gear-owner{font-size:8px}.equipment-copy .btn{padding:9px 7px;font-size:10px}.equipment-art-button .rarity-label{font-size:7px;left:9px;top:10px}.gear-refinement{right:9px;bottom:8px;font-size:8px}.equipment-fineprint{font-size:10px}.topbar .appearance-btn{width:27px}.wallet{gap:3px;font-size:10px;padding:5px 6px}.wallet .currency-symbol{width:15px;height:15px}.topbar{gap:5px}.wallets{gap:4px}.mobile-brand{font-size:20px}.scene-description p{max-width:235px;font-size:8px}.battle-top{align-items:flex-start;padding-top:15px}.battle-top h2{font-size:19px}.battle-controls{gap:5px;max-width:205px}.battle-controls .btn{font-size:8px;padding:6px;min-height:27px}.battle-controls .icon{width:11px;height:11px}.battle-arena:has(.boss-formation){height:375px;padding:35px 5px 12px}.boss-formation .boss-unit{width:140px;max-width:96%}.boss-formation .battle-unit{min-width:0;margin-bottom:0}.boss-formation .unit-name{font-size:6px;max-width:100%;padding:3px 1px}.boss-formation .boss-unit .unit-name{font-size:9px}.boss-formation .unit-hp-text{font-size:6px;padding:2px}.boss-formation .boss-unit .unit-hp-text{font-size:8px}.boss-formation .unit-health{max-width:100%}.battle-team.enemies.boss-formation{width:47%;gap:2px}.battle-team:not(.enemies){width:45%}.battle-team:not(.enemies) .battle-unit{min-width:0;width:48%}.continuous-status{font-size:10px;gap:5px;padding:10px}.continuous-status .text-button{font-size:10px}.battle-bottom p{font-size:9px}.setting-row select{min-width:125px;font-size:10px}.setting-row input[type="range"]{max-width:39%}.music-player{padding:13px}.music-player .btn{font-size:9px}.setting-row{gap:14px}.setting-row>div{max-width:65%}.setting-row p{font-size:10px}}
@media(max-width:370px){.mobile-brand{font-size:0;gap:0}.mobile-brand>.icon{width:23px;height:23px}.wallet{font-size:10px}.topbar .appearance-btn{width:25px}.equipment-grid{gap:9px}.equipment-copy{padding:10px}.equipment-copy h3{font-size:18px}.equipment-art-button{height:120px}.equipment-art-button .gear-art{width:105px;height:105px}.gear-bonuses{font-size:8px}.equipment-copy h4{font-size:9px}.loadout-slot strong{font-size:9px}.loadout-slot small{font-size:7px}.wearer-summary>.sheep-art{height:80px;width:80px}.wearer-summary select{font-size:14px}.wearer-summary .eyebrow{font-size:7px}.scene-description p{max-width:165px}.mobile-nav button{font-size:6px}.mobile-nav button .icon{width:18px;height:18px}.battle-top h2{font-size:17px}.setting-row select{min-width:110px}.setting-row>div{max-width:60%}}
.boss-preview{margin-top:18px;border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--lilac)}.boss-preview .eyebrow{font-size:7px;color:var(--purple)}.boss-preview-line{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:3px;align-items:end;margin-top:8px}.boss-preview-line>div{text-align:center;min-width:0;position:relative}.boss-preview-line .enemy-sprite{aspect-ratio:1}.boss-preview-line small{font-size:7px;display:block;color:var(--muted);margin-top:3px}.boss-preview-line .enemy-crown{display:none}.boss-preview p{font-size:9px;color:var(--muted);line-height:1.7;margin-top:10px}.unit-role{font-size:7px;font-weight:700;margin:0 auto 4px;color:#fff6ff;text-shadow:0 1px 3px #24102e,0 1px 6px #24102e}.boss-unit .unit-role{color:#ffe6a8}.boss-formation .unit-role{font-size:6px}.expedition-panel{max-height:calc(100dvh - 125px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}@media(max-width:1180px){.expedition-panel{max-height:none;overflow:visible}.boss-preview{max-width:430px}.boss-preview-line .enemy-sprite{max-height:95px}.boss-preview-line .enemy-sprite img{max-height:95px}}@media(max-width:700px){.boss-preview{max-width:none}.boss-preview-line .enemy-sprite{max-height:80px}.boss-preview-line .enemy-sprite img{max-height:80px}.battle-unit .unit-role{font-size:6px}.boss-formation .unit-role{font-size:5px}.boss-preview p{font-size:9px}.expedition-panel .expedition-tip{display:none}}
@media(max-width:450px){.mobile-brand{font-size:0;gap:0}.mobile-brand>.icon{width:25px;height:25px}.wallet [data-long="true"]{font-size:8px;letter-spacing:-.2px}.wallets{margin-left:auto}.topbar .appearance-btn{width:30px}.topbar .sound-btn{width:30px}}
.boss-unit.enraged .unit-art{filter:drop-shadow(0 0 13px #ef7b805c) drop-shadow(0 5px 15px #d5588066)}.boss-unit.enraged .unit-role{color:#ffd0a7}.boss-unit.enraged .unit-health span{background:linear-gradient(90deg,#de859e,#ebaf81)}
.journey-cycle-bar{padding:20px 24px;margin-bottom:25px;display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:center}.journey-cycle-bar h2{font-size:28px;margin:7px 0 4px}.journey-cycle-bar .eyebrow{color:var(--purple);font-size:8px}.journey-cycle-bar p{font-size:10px;color:var(--muted)}.reverse{transform:rotate(180deg)}.gear-summary-stats span,.unit-hp-text{white-space:nowrap}.unit-hp-text{max-width:100%;overflow:hidden;text-overflow:ellipsis}.gear-bonuses span{overflow-wrap:anywhere}.journey-cycle-bar>.btn{white-space:normal;max-width:170px}.building-level{white-space:nowrap}@media(max-width:700px){.journey-cycle-bar{padding:16px 12px;gap:9px}.journey-cycle-bar h2{font-size:22px}.journey-cycle-bar .eyebrow{font-size:6px;letter-spacing:1px}.journey-cycle-bar p{font-size:8px}.journey-cycle-bar>.btn{font-size:8px;padding:8px;max-width:85px;gap:3px}.journey-cycle-bar .btn .icon{width:12px;height:12px}.journey-cycle-bar>div{min-width:0}.building-level{font-size:9px}}

/* Moonrise Menagerie: slot cosmetics, rare tiers, and the expanded Night Market. */
.role-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}.role-filters .filter{display:flex;align-items:center;gap:5px}.role-filters .icon{width:13px;height:13px}.collection-toolbar{flex-wrap:wrap;align-items:flex-start}.collection-toolbar .filters{flex-wrap:wrap;gap:6px}.collection-order-note{font-size:10px;color:var(--muted);margin-bottom:18px}
.active-boost-strip{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 23px;padding:12px 16px;background:var(--lilac);border:1px solid var(--line);border-radius:12px;color:var(--purple)}.active-boost-strip>span{display:flex;align-items:center;gap:7px;padding:3px 8px;font-size:10px}.active-boost-strip [data-boost-ends]{font-variant-numeric:tabular-nums;color:var(--muted)}.active-boost-strip .icon{width:15px;height:15px}
.moon-gift-card{display:flex;align-items:center;gap:22px;padding:24px 28px;margin:0 0 23px;background:linear-gradient(120deg,var(--lilac),var(--paper))}.gift-orb{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--paper);color:var(--purple)}.gift-orb .icon{width:38px;height:38px;stroke-width:1.2}.moon-gift-card>div{flex:1;min-width:0}.moon-gift-card h2{font-size:25px;margin:8px 0}.moon-gift-card p{font-size:11px;color:var(--muted);line-height:1.7;max-width:540px}.gift-status{display:inline-block;margin-top:9px;font-size:10px;color:var(--purple)}.moon-gift-card>.btn{flex-shrink:0}.market-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}.market-tabs .filter{padding:10px 15px;font-size:11px}.market-section-title{margin:27px 0 18px;align-items:flex-end;gap:15px}.market-section-title p,.hat-party .section-title p{font-size:11px;line-height:1.7;color:var(--muted);max-width:650px;margin-top:8px}.market-section-title h2,.hat-party h2{font-size:26px}.market-help{display:flex;align-items:flex-start;gap:14px;padding:19px 22px;margin-bottom:22px}.market-help>.icon{width:23px;height:23px;flex-shrink:0;color:var(--purple)}.market-help p{color:var(--muted);font-size:11px;line-height:1.8}.boost-duration{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--purple);margin:-4px 0 17px}.boost-duration .icon{width:13px;height:13px}
.hats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.hat-market-card .market-art{height:136px}.hat-item-art{display:block;width:180px;max-width:92%;height:135px;margin:auto}.hat-item-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 4px #160d241a)}.hat-market-card .market-card-copy{padding:17px}.hat-market-card .market-card-copy h3{font-size:22px;line-height:1.15}.hat-market-card .market-card-copy p{min-height:62px;font-size:10px;line-height:1.6}.hat-market-card .btn{font-size:10px;min-height:40px;white-space:normal}.hat-party{padding:24px;margin-bottom:23px}.hat-party-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.hat-party-slot{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;border:1px solid var(--line);padding:16px 12px;border-radius:12px;background:var(--paper)}.hat-party-slot>.sheep-art{width:160px;max-width:100%;height:160px;margin:12px auto 7px}.hat-party-slot h3{font-size:22px}.hat-party-slot p{font-size:10px;color:var(--muted);margin:7px 0 12px}.hat-party-slot .text-button,.hat-party-slot .subtle-note{font-size:10px}
.hat-slot-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:25px 0 10px}.hat-slot-choice{display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:16px 8px;min-width:0;color:var(--ink)}.hat-slot-choice:hover,.hat-slot-choice.selected{background:var(--lilac);border-color:var(--purple)}.hat-slot-choice .sheep-art{width:180px;max-width:100%;height:180px;margin:10px auto}.hat-slot-choice strong{font-size:14px}.hat-slot-choice small{color:var(--muted);font-size:10px;line-height:1.6;margin-top:8px}
.bundle-card{overflow:hidden;border-color:color-mix(in srgb,var(--rarity-color) 35%,var(--line))}.bundle-art{position:relative;display:grid;place-items:center;min-height:235px;padding:28px 15px 9px;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--rarity-color) 20%,transparent),var(--lilac))}.bundle-art>.badge{position:absolute;left:15px;top:14px;font-size:9px}.bundle-art .sheep-art{width:190px;height:190px;max-width:100%}.bundle-card .market-card-copy p{font-size:11px;line-height:1.8;min-height:72px}.bundle-card .market-card-copy strong{font-weight:700;color:var(--ink)}.bundle-price{font-size:16px;margin-bottom:18px;color:var(--purple)}.bundle-detail-art{display:grid;place-items:center;margin:12px 0}.bundle-detail-art .sheep-art{width:235px;height:235px}.bundle-preview{display:flex;align-items:center;justify-content:space-around;gap:15px;margin:20px 0;padding:18px;background:var(--lilac);border-radius:12px}.bundle-preview>div{display:flex;flex-direction:column;gap:7px;text-align:center}.bundle-preview span,.bundle-preview small{font-size:10px;color:var(--muted)}.bundle-preview strong{font-size:19px;color:var(--purple)}.bundle-receipt-stars{text-align:center;font-size:29px;color:#c79d58;margin:5px 0 28px}.reveal-card.celestial{border-color:#f1d9a0;box-shadow:0 0 20px #f1d9a01c}.reveal-card.eldritch{border-color:#d891eb;box-shadow:0 0 24px #b567cf38;background:radial-gradient(ellipse at top,#9562bd44,var(--paper))}
@media(max-width:1100px){.hats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.moon-gift-card{flex-wrap:wrap}.moon-gift-card>.btn{margin-left:88px}.bundle-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bundle-art{min-height:190px}.bundle-art .sheep-art{width:165px;height:165px}}
@media(max-width:700px){.moon-gift-card{padding:19px;gap:13px}.gift-orb{width:46px;height:46px}.gift-orb .icon{width:28px;height:28px}.moon-gift-card h2{font-size:22px}.moon-gift-card .eyebrow{font-size:7px}.moon-gift-card p{font-size:10px}.moon-gift-card>.btn{margin-left:0;width:100%}.market-tabs{gap:6px}.market-tabs .filter{font-size:10px;padding:9px 11px}.market-section-title{align-items:flex-start;flex-direction:column}.market-section-title h2,.hat-party h2{font-size:24px}.bundle-grid{grid-template-columns:1fr}.bundle-art{min-height:205px}.bundle-art .sheep-art{width:190px;height:190px}.hats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.hat-market-card .market-card-copy{padding:13px}.hat-market-card .market-card-copy h3{font-size:19px}.hat-market-card .market-card-copy p{font-size:9px;min-height:75px}.hat-market-card .market-art{height:115px}.hat-market-card .market-art .badge{font-size:7px;left:9px;top:9px}.hat-item-art{height:112px}.hat-party{padding:16px}.hat-party-grid{gap:7px}.hat-party-slot{padding:12px 5px}.hat-party-slot>.sheep-art{height:105px;width:105px}.hat-party-slot .eyebrow{font-size:7px}.hat-party-slot h3{font-size:18px}.hat-party-slot p{font-size:8px;min-height:24px}.hat-party-slot .text-button,.hat-party-slot .subtle-note{font-size:8px}.hat-slot-choices{gap:7px}.hat-slot-choice{padding:12px 5px}.hat-slot-choice .sheep-art{height:115px;width:115px}.hat-slot-choice strong{font-size:11px}.hat-slot-choice small{font-size:8px}.active-boost-strip{padding:9px;gap:4px}.active-boost-strip>span{font-size:9px;padding:2px 4px}.role-filters .filter{font-size:9px;padding:7px 9px}.collection-toolbar .filters .filter{font-size:9px;padding:7px 9px}}
.bundle-refresh-controls{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex-shrink:0}.bundle-refresh-controls>small{font-size:9px;color:var(--muted)}.bundle-odds{padding:15px 19px;margin:0 0 20px}.bundle-odds summary{cursor:pointer;color:var(--purple);font-size:12px;font-weight:600}.bundle-odds>p{font-size:11px;line-height:1.8;color:var(--muted);margin:15px 0}.bundle-price-table{width:100%;border-collapse:collapse;font-size:11px}.bundle-price-table th,.bundle-price-table td{padding:11px 8px;text-align:left;border-bottom:1px solid var(--line)}.bundle-price-table thead th{font-weight:500;color:var(--muted);font-size:10px}.bundle-price-table tbody th{font-weight:500}.bundle-price-table td:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.bundle-price-table th:last-child{text-align:right}.bundle-price-table .rarity-dot{display:inline-block;margin-right:7px}@media(max-width:700px){.bundle-refresh-controls{align-items:flex-start;width:100%}.bundle-refresh-controls>.btn{width:100%;justify-content:center}.bundle-odds{padding:14px}.bundle-price-table{font-size:10px}.bundle-price-table th,.bundle-price-table td{padding:10px 4px}.bundle-price-table thead th{font-size:9px}}
.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"location wallets" "links links";height:auto;min-height:108px;padding-top:12px;padding-bottom:12px;gap:10px 20px}.topbar-location,.mobile-brand{grid-area:location}.wallets{grid-area:wallets}.header-links{grid-area:links;display:flex;gap:10px;min-width:0}.header-links a{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 14px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--ink);background:var(--paper);transition:background .18s,border-color .18s}.header-links a:hover{background:var(--lilac);border-color:#b28bd2}.header-links .support-link{border-color:#b780ae70}.header-links .icon{width:19px;height:19px;flex-shrink:0;color:var(--purple)}.header-links strong,.header-links small{display:block}.header-links strong{font-size:11px;line-height:1.4}.header-links small{font-size:10px;color:var(--muted);line-height:1.4}.global-gift-banner{display:flex;align-items:center;gap:14px;margin:18px 34px 0;padding:14px 18px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.global-gift-banner.gift-ready{background:linear-gradient(105deg,var(--lilac),var(--paper));border-color:#b695d5;box-shadow:0 3px 20px #8b5ba914}.gift-banner-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--lilac);color:var(--purple);flex-shrink:0}.global-gift-banner>div{flex:1;min-width:0}.global-gift-banner strong,.global-gift-banner [data-moon-gift-status]{display:block}.global-gift-banner strong{font-size:13px}.global-gift-banner [data-moon-gift-status]{font-size:11px;color:var(--muted);line-height:1.6}.global-gift-banner .btn{flex-shrink:0}.market-browser{margin:10px 0 34px}.market-browser .section-title{margin-bottom:16px}.market-browser .section-title p{font-size:12px;color:var(--muted);margin-top:8px}.market-browser .market-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;overflow:visible;padding:0;margin:0}.market-browser .market-tabs .filter{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;min-width:0;white-space:normal;text-align:left;padding:20px 18px;border-radius:15px;min-height:158px;border:2px solid var(--line);background:var(--paper);color:var(--ink)}.market-browser .market-tabs .filter>.icon{height:26px;width:26px;color:var(--purple)}.market-browser .filter strong{font-size:14px;line-height:1.35}.market-browser .filter small{font-size:11px;line-height:1.5;color:var(--muted)}.market-browser .market-tabs .filter.active{border-color:#b18ad0;background:var(--lilac);box-shadow:0 4px 20px #9772b51a}.category-state{font-size:9px;text-transform:uppercase;letter-spacing:.9px;font-weight:700;margin-top:auto;padding-top:6px;color:var(--muted)}.market-browser .active .category-state{color:var(--purple)}.ticket-pull-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:18px 0}.ticket-pull-row h3{font-size:13px}.ticket-pull-row p{font-size:11px;color:var(--muted);margin-top:5px}.ticket-reward{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--purple);background:var(--lilac);padding:8px 11px;border-radius:9px}.daily-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 34px;margin-bottom:30px;background:linear-gradient(105deg,#21172aee,#30213bd9),url('assets/moonfall.webp') center/cover;color:#f5e9ff;overflow:hidden}.daily-hero .eyebrow{color:#d5b3ee}.daily-hero h2{font:normal 32px/1.2 Georgia,serif;margin:10px 0}.daily-hero p{font-size:13px;line-height:1.7;color:#d8c7e6}.daily-hero-tags{display:flex;flex-wrap:wrap;gap:9px 16px;margin-top:20px}.daily-hero-tags>span{display:flex;align-items:center;gap:7px;font-size:10px;color:#e5d7ef}.daily-grand-prize{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;min-width:150px}.daily-grand-prize .gear-art{width:92px;height:92px;filter:drop-shadow(0 0 16px #e3bd7750)}.daily-grand-prize strong{font-size:12px;color:#f3d795}.daily-grand-prize>span:last-child{font-size:10px;color:#eadbc2;max-width:150px;line-height:1.5}.daily-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:25px;align-items:start;margin-bottom:24px}.daily-ladder{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.daily-step{appearance:none;font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:13px 5px;min-width:0;min-height:118px;border:1px solid var(--line);border-radius:13px;background:var(--paper);color:var(--muted);cursor:pointer}.daily-step-number{font:normal 23px/1 Georgia,serif;color:var(--ink)}.daily-step .icon{height:18px;width:18px}.daily-step strong{font-size:10px;font-weight:600;line-height:1.3}.daily-step small{font-size:8px;line-height:1.4}.daily-step.selected{outline:2px solid #aa82c8;outline-offset:1px;background:var(--lilac)}.daily-step.available{border-color:#b18ad0;color:var(--purple)}.daily-step.cleared{background:var(--mint);color:#52795f}.daily-step.cleared .daily-step-number{color:#52795f}.daily-step:hover{border-color:#aa82c8}.daily-preview{padding:24px}.daily-preview h2{font:normal 23px/1.3 Georgia,serif;margin:9px 0 16px}.daily-preview>p{font-size:11px;color:var(--muted);line-height:1.7}.daily-preview h3{font-size:12px;margin-top:19px}.daily-preview .reward-row{flex-wrap:wrap;justify-content:flex-start;gap:9px;margin:12px 0}.daily-enemies{display:flex;align-items:flex-end;justify-content:center;gap:6px;margin:15px 0 18px}.daily-enemies>div{position:relative;flex:1;min-width:0;text-align:center}.daily-enemies .enemy-sprite{display:block;height:76px;width:100%}.daily-enemies .enemy-sprite img{width:100%;height:100%;object-fit:contain}.daily-enemies .trial-boss{flex:1.5}.daily-enemies .trial-boss .enemy-sprite{height:108px}.daily-enemies small{display:block;font-size:8px;line-height:1.4;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.daily-enemies .enemy-crown{display:none}.daily-preview-stats{display:flex;justify-content:space-between;gap:12px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:16px}.daily-preview-stats span{font-size:10px;color:var(--muted)}.daily-preview-stats strong{display:block;font-size:14px;font-weight:500;color:var(--ink);margin-top:6px}.daily-complete{display:flex;gap:8px;color:var(--purple)!important;padding:12px;background:var(--lilac);border-radius:9px;margin-top:12px}.trial-loot-odds{padding:19px 24px;margin-bottom:32px}.trial-loot-odds summary{font-size:13px;font-weight:600;cursor:pointer;color:var(--purple)}.table-scroll{overflow-x:auto}.trial-loot-odds table{width:100%;border-collapse:collapse;font-size:12px;margin-top:15px}.trial-loot-odds caption{text-align:left;color:var(--muted);font-size:11px;line-height:1.6;margin-bottom:12px}.trial-loot-odds th,.trial-loot-odds td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:right}.trial-loot-odds th:first-child{text-align:left}.trial-loot-drop{appearance:none;font:inherit;display:flex;align-items:center;gap:17px;border:1px solid #b18ad0;border-radius:15px;background:var(--lilac);padding:15px 20px;margin:20px auto;max-width:450px;width:100%;text-align:left;color:var(--ink);cursor:pointer}.trial-loot-drop.legendary{border-color:#d1b074;background:linear-gradient(110deg,var(--paper),#e3bd771b)}.trial-loot-drop .gear-art{width:82px;height:82px;flex-shrink:0}.trial-loot-drop>span:last-child{display:flex;flex-direction:column;gap:7px}.trial-loot-drop strong{font:normal 22px/1.2 Georgia,serif}.trial-loot-drop small{font-size:9px;letter-spacing:.6px;color:var(--purple)}.trial-loot-drop>span>span{font-size:10px;color:var(--muted)}.daily-outcome .reward-row{flex-wrap:wrap;gap:10px}.daily-outcome .outcome-actions{flex-wrap:wrap}
@media(max-width:1180px){.market-browser .market-tabs{gap:10px}.market-browser .market-tabs .filter{padding:17px 13px}.daily-layout{grid-template-columns:1fr}.daily-preview{display:block}.daily-enemies{max-width:400px;margin-left:auto;margin-right:auto}.daily-hero{padding:25px}.global-gift-banner{margin-left:24px;margin-right:24px}}
@media(max-width:700px){.topbar{height:auto;min-height:116px;padding:12px 16px;gap:10px}.header-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.header-links a{gap:7px;padding:9px 10px}.header-links strong{font-size:10px}.header-links small{font-size:9px}.header-links .icon{width:17px;height:17px}.global-gift-banner{margin:14px 16px 0;padding:12px;gap:10px}.gift-banner-icon{width:32px;height:36px}.global-gift-banner strong{font-size:11px}.global-gift-banner [data-moon-gift-status]{font-size:10px}.global-gift-banner .btn{font-size:10px;padding:9px 10px}.market-browser .market-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.market-browser .market-tabs .filter{min-height:142px;padding:17px}.market-browser .filter strong{font-size:13px}.daily-hero{padding:23px 20px;gap:12px}.daily-hero h2{font-size:25px}.daily-grand-prize{min-width:90px}.daily-grand-prize .gear-art{width:68px;height:68px}.daily-grand-prize>span:last-child{max-width:100px;font-size:9px}.daily-hero-tags{gap:10px;margin-top:15px}.daily-layout{gap:24px}.daily-ladder{gap:7px}.daily-step{min-height:112px}.daily-step strong{font-size:9px}.daily-step small{font-size:7px}.daily-preview{padding:20px}.trial-loot-odds{padding:17px}.daily-hero .eyebrow{font-size:8px}.daily-hero p{font-size:11px}.daily-layout>.section-title{flex-wrap:wrap}.mobile-nav button{max-width:none}.ticket-pull-row{align-items:flex-start}.trial-loot-drop{padding:12px}.trial-loot-drop strong{font-size:19px}}
@media(max-width:390px){.global-gift-banner{flex-wrap:wrap}.global-gift-banner>.btn{margin-left:auto}.daily-hero{flex-wrap:wrap}.daily-grand-prize{flex-direction:row;text-align:left;min-width:0;gap:9px}.daily-grand-prize .gear-art{width:44px;height:44px}.daily-ladder{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.daily-step{padding:10px 3px;min-height:104px}.daily-step-number{font-size:20px}.daily-step strong{font-size:8px}.daily-step small{font-size:7px}.daily-layout .section-title h2{font-size:21px}.header-links a{padding:8px}.header-links small{font-size:8px}.header-links .icon{width:15px;height:15px}}
/* Clear rarity badges, balanced market trades, and the daily chest wheel. */
.rarity-label,.detail-hero .rarity-label,.equipment-card .rarity-label{font-size:11px;line-height:1.25;font-weight:850;letter-spacing:.07em;padding:7px 10px;border:1px solid var(--rarity-color,#95bfa3);border-radius:8px;color:var(--rarity-color,#95bfa3);background:#211a2eee;box-shadow:0 2px 9px #160f1c28;text-shadow:none;max-width:calc(100% - 62px)}
.bundle-art>.badge{font-size:11px;font-weight:800;letter-spacing:.035em;padding:7px 10px;background:#211a2ef2;color:var(--rarity-color);border:1px solid var(--rarity-color);max-width:calc(100% - 30px);white-space:normal}
.exchange-warning{font-size:12px;line-height:1.8;padding:16px 20px;margin:0 0 22px;border:1px solid var(--line);border-left:3px solid var(--purple);border-radius:10px;background:var(--paper);color:var(--muted)}
.rarity-chip{display:inline-flex;align-items:center;font-size:11px!important;line-height:1.4;font-weight:850;letter-spacing:.04em;padding:5px 9px;border:1px solid var(--rarity-color);border-radius:7px;color:var(--rarity-color)!important;background:#211a2ef2!important}.reveal-single .rarity-chip{font-size:13px!important}.trial-loot-drop small{font-size:11px;font-weight:800}
.speed-choices{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.battle-speed-setting{gap:18px}.speed-choices .btn{min-width:44px}
.daily-chest-reveal{margin:22px auto 18px;padding:20px 12px 16px;background:var(--lilac);border:1px solid var(--line);border-radius:18px;max-width:440px}
.daily-chest-reveal>.eyebrow{color:var(--muted);font-size:9px;letter-spacing:.15em}
.daily-wheel-frame{position:relative;width:min(260px,66vw);aspect-ratio:1;margin:24px auto 18px}
.daily-wheel-rotor{width:100%;height:100%;border:6px solid #f4e7cf;border-radius:50%;box-shadow:0 0 0 2px #b9955f,0 8px 20px #0a061833;position:relative;will-change:transform}
.daily-wheel-pointer{position:absolute;top:-12px;left:50%;transform:translateX(-50%);width:26px;height:31px;background:#fff4ce;clip-path:polygon(0 0,100% 0,50% 100%);z-index:3;filter:drop-shadow(0 2px 2px #0006)}
.daily-wheel-symbol{position:absolute;left:calc(50% - 12px);top:calc(50% - 12px);width:24px;height:24px;display:grid;place-items:center;color:#211a2e;transform:rotate(var(--angle)) translateY(clamp(-100px,-25vw,-72px)) rotate(var(--counter-angle))}.daily-wheel-symbol .icon{width:23px;height:23px;stroke-width:2.4}
.daily-wheel-hub{position:absolute;inset:28%;display:grid;place-items:center;background:#292132;border:4px solid #f4e7cf;border-radius:50%;box-shadow:0 2px 9px #24193255;pointer-events:none}.daily-wheel-hub img{width:96%;height:96%;object-fit:contain}
.daily-wheel-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 14px;font-size:11px}.daily-wheel-legend>span{display:flex;align-items:center;gap:5px}.daily-wheel-legend i{width:9px;height:9px;border-radius:50%;flex-shrink:0}.daily-wheel-legend strong{font-weight:800}
.daily-wheel-status{font-size:12px;line-height:1.6;min-height:20px;color:var(--ink);margin:14px 0 8px!important}.daily-currency-drop{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--mint);margin:16px 0}.daily-currency-drop>.icon{width:26px;height:26px}.daily-currency-drop strong{font-size:15px}.daily-currency-drop span{flex-basis:100%;font-size:11px;color:var(--muted)}
.daily-total-label{font-family:inherit;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-top:20px}.daily-outcome [hidden]{display:none!important}.trial-loot-odds table{min-width:610px}.trial-loot-odds .table-scroll{overflow-x:auto}
@media(max-width:700px){.rarity-label,.equipment-card .rarity-label{font-size:10px;padding:6px 8px;left:9px;top:10px}.detail-hero .rarity-label{font-size:12px;left:18px;top:20px}.bundle-art>.badge{font-size:10px}.battle-speed-setting{align-items:flex-start;flex-direction:column}.speed-choices{justify-content:flex-start}.daily-chest-reveal{padding:16px 8px}.daily-outcome .outcome-actions{flex-wrap:wrap}.daily-outcome .outcome-actions .btn{flex:1 1 155px}}

/* Mobile controls and clear battle information. */
.pasture-intro .page-head{flex-wrap:wrap;align-items:flex-start;gap:14px}.pasture-intro .page-head>div:first-child{flex:1 1 280px;min-width:0}.pasture-intro .page-aside{flex:1 1 100%;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0}.pasture-notes-link{min-height:42px;flex-shrink:0;gap:7px;background:var(--lilac);border-color:var(--purple)}.pasture-notes-link>.icon{width:16px;height:16px}.pasture-notes-link .pasture-notes-badge{font-size:9px;padding:4px 6px;white-space:nowrap;color:var(--purple);background:var(--paper);border:1px solid var(--line)}.pasture-notes-badge[hidden]{display:none}

/* Field notes: one growing chapter per goal, with a permanent tier history. */
.notes-journal-summary{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:28px;padding:25px;margin-bottom:20px;background:linear-gradient(120deg,var(--lilac),var(--panel));align-items:center}
.notes-journal-summary .eyebrow{color:var(--purple);font-size:9px;letter-spacing:1.6px;line-height:1.7}
.notes-journal-summary h2{font-size:29px;margin:8px 0 10px}
.notes-journal-summary p{font-size:12px;line-height:1.8;color:var(--muted);max-width:520px}
.notes-journal-total{border-left:1px solid var(--line);padding-left:24px;display:flex;flex-direction:column;gap:8px;font-size:11px;color:var(--muted)}
.notes-journal-total>strong{font-size:36px;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums}
.notes-journal-total strong span{font-size:17px;font-weight:400;color:var(--muted)}
.notes-journal-total small{font-size:10px}
.notes-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}
.notes-category{display:flex;align-items:center;gap:10px;min-width:0;min-height:58px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--muted);text-align:left;font:inherit;cursor:pointer}
.notes-category>.icon{width:19px;height:19px;flex-shrink:0;color:var(--purple)}
.notes-category span{min-width:0}.notes-category strong,.notes-category small{display:block;line-height:1.5}
.notes-category strong{font-size:11px;color:var(--ink)}.notes-category small{font-size:9px;color:var(--muted);margin-top:2px}
.notes-category:hover,.notes-category.active{background:var(--lilac);border-color:var(--purple)}
.notes-category.active{box-shadow:inset 0 0 0 1px var(--purple)}
.notes-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:20px 0 12px}
.notes-status-filters{display:flex;gap:6px;flex-wrap:wrap}
.notes-status-filters .filter{display:flex;align-items:center;gap:6px;min-height:39px;margin:0;font-size:11px;padding:8px 12px}
.notes-status-filters .filter span{font-variant-numeric:tabular-nums;opacity:.75}
.notes-collect-all{min-height:40px}
.notes-results{margin:0 0 15px;font-size:10px;line-height:1.6}
.notes-chain-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.notes-chain{min-width:0;padding:21px;overflow:hidden;scroll-margin-top:170px}
.notes-chain:focus{outline:2px solid var(--purple);outline-offset:3px}
.notes-chain.notes-ready{border-color:var(--purple);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--purple) 25%,transparent)}
.notes-chain-heading{display:flex;align-items:center;gap:12px;min-width:0}
.notes-chain-heading>div{flex:1;min-width:0}
.notes-chain-heading .eyebrow{color:var(--muted);font-size:8px;letter-spacing:1.3px;line-height:1.6}
.notes-chain-heading h3{font-family:Georgia,serif;font-size:21px;line-height:1.25;margin-top:4px;overflow-wrap:anywhere}
.notes-chain-heading .badge{flex-shrink:0;font-size:9px;padding:6px 8px;white-space:nowrap}
.notes-chain .achievement-icon{width:36px;height:39px;border-radius:11px}
.notes-goal{font-size:11px;color:var(--muted);line-height:1.8;margin:15px 0;min-height:40px}
.notes-tier-progress{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;font-size:11px;font-variant-numeric:tabular-nums}
.notes-tier-progress>span{font-size:10px;color:var(--muted);text-align:right}
.notes-ready .notes-tier-progress>span{color:var(--purple);font-weight:700}
.notes-tier-reward{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:17px}
.notes-tier-reward>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.notes-tier-reward small{font-size:9px;color:var(--muted)}
.notes-tier-reward>div>span{display:flex;flex-wrap:wrap;gap:10px;font-size:11px}
.notes-tier-reward>.btn{min-height:40px;white-space:normal;text-align:center}
 .notes-tier-stars{display:flex;flex-wrap:wrap;gap:2px;margin:12px 0 6px;max-width:100%}
.notes-tier-star{display:grid;place-items:center;width:24px;min-width:24px;height:34px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;font:inherit}
.notes-tier-star>.icon{width:17px;height:17px;fill:none;stroke:currentColor}
.notes-tier-star.earned{color:var(--gold)}.notes-tier-star.earned>.icon{fill:var(--gold);stroke:var(--gold)}
.notes-tier-star.current{color:var(--purple);background:var(--lilac);box-shadow:inset 0 -2px var(--purple)}
.notes-tier-star.empty{opacity:.55}.notes-tier-star:hover,.notes-tier-star:focus-visible{opacity:1;outline:2px solid var(--purple);outline-offset:1px;background:var(--lilac)}
.notes-star-hint{font-size:9px;line-height:1.7;color:var(--muted);margin-top:13px}
.notes-tier-preview{padding:20px;background:var(--lilac);border:1px solid var(--line);border-radius:14px;display:grid;gap:15px}
.notes-tier-preview>.badge{justify-self:start}.notes-tier-preview>strong{font-size:22px;font-variant-numeric:tabular-nums}.notes-tier-preview .reward-row{justify-content:flex-start;flex-wrap:wrap;gap:14px;margin:0}
.notes-finished{background:var(--mint)}
.notes-empty{padding:35px 24px;text-align:center}
.notes-empty>.icon{color:var(--purple);width:32px;height:32px;margin-bottom:12px}
.notes-empty h2{font-size:27px}.notes-empty p{font-size:12px;color:var(--muted);line-height:1.8;margin:12px auto 20px;max-width:360px}
.notes-category:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
@media(max-width:1100px){.notes-chain-grid{grid-template-columns:1fr}}
@media(max-width:700px){
 .notes-journal-summary{grid-template-columns:1fr;gap:17px;padding:20px;margin-bottom:15px}
 .notes-journal-summary h2{font-size:25px}.notes-journal-summary p{font-size:11px}
 .notes-journal-total{border-left:0;border-top:1px solid var(--line);padding:14px 0 0;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:14px;row-gap:6px}
 .notes-journal-total>strong{grid-row:1/3;font-size:31px}.notes-journal-total>span{font-size:10px}.notes-journal-total>.thin-progress{grid-column:2}.notes-journal-total>small{grid-column:2;font-size:9px}
 .notes-categories{gap:6px}.notes-category{padding:9px 5px;min-height:68px;flex-direction:column;justify-content:center;gap:4px;text-align:center}
 .notes-category>.icon{width:16px;height:16px}.notes-category strong{font-size:10px;line-height:1.4}.notes-category small{font-size:8px}
 .notes-toolbar{gap:10px;margin-top:16px}.notes-status-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%}
 .notes-status-filters .filter{font-size:10px;padding:8px 5px;gap:4px;justify-content:center;min-width:0}
 .notes-collect-all{width:100%}.notes-chain{padding:18px}.notes-chain-heading{gap:9px}.notes-chain-heading h3{font-size:20px}
 .notes-chain-heading .badge{font-size:8px;padding:5px 6px}.notes-chain .achievement-icon{width:30px;height:34px}
 .notes-tier-reward{gap:12px}.notes-tier-reward>.btn{flex:1 1 auto;max-width:100%}.notes-goal{min-height:0}
}
.topbar .settings-button{display:inline-flex!important;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--lilac);flex-shrink:0;color:var(--purple)}.topbar .settings-button .icon{width:21px;height:21px}.quick-audio-control{position:relative}.audio-buttons{display:flex;align-items:center}.topbar .audio-buttons .sound-btn{display:inline-flex!important}.topbar .audio-menu-button{width:22px;min-width:22px;padding:2px}.topbar .audio-menu-button .icon{width:13px}.quick-audio-panel{position:absolute;right:0;top:calc(100% + 12px);width:330px;max-width:calc(100vw - 28px);padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 42px #0007;text-align:left;max-height:75dvh;overflow:auto;z-index:35}.quick-audio-panel[hidden]{display:none}.quick-audio-panel>.between{margin-bottom:12px}.quick-audio-panel .setting-row{display:block;padding:13px 0}.quick-audio-panel .setting-row>div{width:100%}.quick-audio-panel .setting-row input[type="range"]{width:100%;margin:10px 0 0;accent-color:var(--purple)}.quick-audio-panel .setting-row p{font-size:10px}.quick-audio-panel .setting-row label{font-size:12px}.quick-audio-panel .setting-row p [data-volume-label]{font-weight:800;color:var(--purple)}
.equipment-group-heading{grid-column:1/-1;font-size:23px;padding-top:12px;border-top:1px solid var(--line);margin:8px 0}.gear-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.gear-picker-card{border:1px solid var(--line);border-radius:15px;padding:16px;background:var(--lilac);display:flex;flex-direction:column;gap:10px;min-width:0}.gear-picker-card>.gear-art{width:100px;height:100px;align-self:center}.gear-picker-card h3{font-family:inherit;font-size:14px;line-height:1.4}.gear-picker-card .gear-bonuses{margin:0;flex-direction:column;align-items:flex-start;gap:5px}.gear-picker-card .gear-bonuses>span{font-size:10px}.gear-picker-card>.btn{margin-top:auto}.gear-picker-ability{border-top:1px solid var(--line);padding-top:10px;font-size:11px;line-height:1.65}.gear-picker-ability summary{cursor:pointer;font-weight:750;color:var(--purple)}.gear-picker-ability p{margin-top:9px;color:var(--muted)}
.party-first-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.party-first-slot{min-width:0}.party-first-slot>.eyebrow{display:block;color:var(--muted);margin:0 0 8px}.party-first-slot .sheep-card{width:100%;margin-bottom:10px}.flock-divider{border:0;border-top:1px solid var(--line);margin:30px 0}.party-first-section .section-title{gap:12px}.bundle-owned-result{display:flex;flex-direction:column;gap:6px;padding:13px;border:1px solid var(--line);background:var(--lilac);border-radius:10px;margin:12px 0;font-size:12px;line-height:1.6}.bundle-owned-result>span{color:var(--muted);font-size:11px}.paid-wish-label{margin:18px 0 8px;color:var(--muted);font-size:11px;line-height:1.6}.ticket-pull-row p{max-width:330px;line-height:1.7}
.daily-quick-start{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:18px 22px;margin-bottom:22px}.daily-quick-start>div{flex:1;min-width:140px}.daily-quick-start strong,.daily-quick-start span{display:block}.daily-quick-start strong{font-size:14px}.daily-quick-start span{font-size:11px;color:var(--muted);margin-top:6px}.daily-outcome.revealed .daily-chest-reveal{display:none}.daily-outcome.revealed .daily-currency-drop{margin-top:14px}.daily-outcome.revealed .trial-loot-drop{margin:14px auto}.daily-outcome.revealed .outcome-actions{margin-top:16px}.daily-outcome.revealed .daily-total-label{margin-top:14px}
.unit-inspect{display:block;width:100%;padding:0;border:0;background:none;color:inherit;cursor:pointer;font:inherit;text-align:center;min-width:0}.unit-inspect:focus-visible{outline:2px solid #b7dfff;outline-offset:3px;border-radius:10px}.battle-unit{position:relative;min-width:0}.battle-unit.has-shield .unit-art::after{content:"";position:absolute;inset:3%;border:2px solid #a8eaff;border-radius:50%;box-shadow:0 0 14px #75d8ff9c,inset 0 0 20px #87dbff66;background:radial-gradient(circle at 30% 20%,#e9fcff22,transparent 65%);pointer-events:none;z-index:5}.unit-shield{height:auto;min-height:22px;display:block!important;position:relative;color:#b5edff!important;text-shadow:0 1px 3px #141022}.shield-bar-track{display:block;height:6px;background:#1b2e46;border:1px solid #8ad5fa;border-radius:6px;overflow:hidden;margin:3px 0}.shield-bar-track>span{display:block;height:100%;background:linear-gradient(90deg,#729ef4,#b0f1ff)}.shield-number{display:flex;gap:3px;justify-content:center;align-items:center;font-size:10px;font-weight:800}.shield-number .icon{width:12px;height:12px}.unit-effects{display:flex;flex-wrap:wrap;justify-content:center;gap:3px;min-height:20px;position:relative;z-index:6}.battle-status-chip{display:inline-flex;align-items:center;justify-content:center;gap:3px;max-width:100%;padding:4px 5px;border:1px solid #be9dd7;border-radius:6px;background:#241a32eb;color:#f0e4fa;font:inherit;font-size:9px;font-weight:700;line-height:1.1;cursor:pointer;white-space:nowrap}.battle-status-chip .icon{width:11px;height:11px;flex-shrink:0}.battle-status-chip.status-shield{border-color:#83ddff;color:#bcefff}.battle-status-chip.status-dot,.battle-status-chip.status-slow{border-color:#eca4b4;color:#ffd5df}.battle-status-chip.status-regen{border-color:#9ed6b2;color:#c4f4d1}.unit-skill-count{display:inline-block;font-size:9px;line-height:1.4;padding:3px 5px;margin-top:2px;border-radius:5px;background:#241a32d9;color:#eadcf3}.battle-arena{height:470px;overflow:visible}.battle-arena:has(.boss-formation){height:540px}.battle-team{align-items:flex-end}.battle-team .battle-unit:first-child{margin-bottom:0}.battle-round{z-index:7;pointer-events:none}.awake-battle-note{display:block;font:inherit;font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px;min-height:36px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--lilac);cursor:pointer}.awake-battle-note[aria-checked="true"]{color:var(--purple);border-color:var(--purple)}.battle-bottom{gap:10px;flex-wrap:wrap}.battle-bottom>p{flex:1;min-width:160px}.battle-log{min-height:55px}
.battle-inspector-backdrop{position:fixed;inset:0;z-index:100;background:#100b18c9;backdrop-filter:blur(7px);padding:20px;display:grid;grid-template-columns:minmax(0,1fr);place-items:center}.battle-inspector{position:relative;width:590px;max-width:100%;min-width:0;max-height:calc(100dvh - 40px);overflow:auto;background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:26px;color:var(--ink);box-shadow:0 20px 70px #0008;text-align:left}.battle-inspector-close{position:absolute;right:12px;top:12px;z-index:3}.battle-inspector-hero{display:flex;align-items:center;gap:14px;padding-right:26px;margin-bottom:16px}.battle-inspector-hero>.sheep-art,.battle-inspector-hero>.enemy-sprite{width:105px;height:105px;flex-shrink:0}.battle-inspector-hero .enemy-sprite img{width:100%;height:100%;object-fit:contain}.battle-inspector-hero h2{font-size:27px;margin:7px 0}.battle-inspector-hero p{font-size:11px;line-height:1.6;color:var(--muted)}.battle-live-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0}.battle-live-stats>div{border:1px solid var(--line);border-radius:9px;background:var(--lilac);padding:11px}.battle-live-stats span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.battle-live-stats strong{font-size:13px;overflow-wrap:anywhere}.skill-timing{display:block;font-size:11px;color:var(--purple);margin-top:12px}.battle-effect-info{margin-top:9px;border:1px solid var(--line);border-radius:9px;padding:12px;font-size:12px;line-height:1.7}.battle-effect-info summary{cursor:pointer;font-weight:700}.battle-effect-info summary .icon{width:15px;height:15px;vertical-align:middle}.battle-effect-info p{margin-top:8px;color:var(--muted)}.battle-gear-list{list-style:none;padding:0;margin:12px 0;display:grid;gap:10px}.battle-gear-list strong,.battle-gear-list span{display:block;font-size:11px;line-height:1.7}.battle-gear-list span{color:var(--muted);margin-top:4px}
@media(max-width:700px){.topbar{grid-template-columns:minmax(22px,1fr) auto;gap:9px 6px;padding:10px 12px;min-height:100px}.wallets{gap:5px;min-width:0}.wallet{padding:6px 7px;gap:4px;min-width:0}.wallet .currency-symbol{width:14px;height:14px}.wallet-add{display:none}.topbar .settings-button{width:34px;height:34px}.quick-audio-panel{position:fixed;top:58px;right:10px;width:330px;max-height:calc(100dvh - 150px)}.quick-audio-panel .setting-row{display:block}.quick-audio-panel .setting-row input[type="range"]{width:100%;max-width:100%}.topbar .audio-buttons .sound-btn{width:28px;height:32px}.topbar .audio-menu-button{width:17px;min-width:17px}.equipment-toolbar{align-items:flex-start;gap:12px}.equipment-toolbar .filters{gap:7px}.equipment-toolbar .filter{min-height:36px;font-size:10px;padding:8px 11px}.equipment-group-heading{font-size:21px}.gear-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gear-picker-card{padding:12px}.gear-picker-card>.gear-art{width:80px;height:80px}.gear-picker-card h3{font-size:12px}.gear-picker-card .gear-bonuses>span{font-size:9px}.gear-picker-ability{font-size:10px}.party-first-grid{gap:8px}.party-first-slot .card-art{height:auto;aspect-ratio:1}.party-first-slot .sheep-card-info{padding:9px 7px}.party-first-slot .sheep-card-info h3{font-size:15px;line-height:1.3}.party-first-slot .sheep-card-subtitle{display:none}.party-first-slot .sheep-card-stats{font-size:8px;gap:4px;flex-wrap:wrap}.party-first-slot .rarity-label{font-size:8px;letter-spacing:0;padding:4px 5px;left:4px;top:4px;max-width:calc(100% - 8px)}.party-first-slot .team-indicator{display:none}.party-first-slot .btn{font-size:9px;padding:7px 4px;gap:3px}.party-first-slot .btn .icon{width:11px;height:11px}.daily-quick-start{padding:16px;gap:10px}.daily-quick-start>div{flex-basis:100%}.daily-quick-start>.btn.primary{flex:1}.daily-quick-start>.btn{font-size:11px;min-height:41px}.daily-outcome.revealed h2{font-size:25px;line-height:1.2;margin:10px 0}.daily-outcome.revealed>p{font-size:11px;line-height:1.65}.daily-outcome.revealed .daily-currency-drop{padding:13px}.daily-outcome.revealed .reward-row{margin:10px 0}.daily-outcome.revealed .outcome-actions{gap:8px}.daily-outcome.revealed .outcome-actions .btn{min-height:42px}.battle-arena{height:475px;padding:35px 4px 12px;align-items:center}.battle-arena:has(.boss-formation){height:520px;padding-top:35px}.battle-team{width:45%;gap:10px 2px;align-items:flex-start}.battle-team:not(.enemies) .battle-unit,.battle-team .battle-unit{width:48%;min-width:0}.battle-unit .unit-name{font-size:9px;line-height:1.3;padding:4px 2px;min-height:20px}.battle-unit .unit-role{font-size:8px}.battle-unit .unit-health{height:8px;margin-top:3px}.battle-unit .unit-hp-text{font-size:8px;line-height:1.5}.unit-effects{gap:2px;min-height:19px}.battle-status-chip{font-size:7px;padding:3px;gap:2px}.battle-status-chip .icon{width:10px;height:10px}.unit-skill-count{font-size:7px;padding:3px}.shield-number{font-size:8px}.unit-shield{min-height:17px}.shield-bar-track{height:5px;margin:2px 0}.battle-team.enemies.boss-formation{width:47%;gap:10px 2px;align-items:start}.battle-team.enemies.boss-formation .boss-unit{width:78%;max-width:155px}.battle-team.enemies.boss-formation .battle-unit:not(.boss-unit){width:100%;min-width:0}.battle-log{padding:15px;font-size:10px;min-height:55px}.battle-bottom{padding:13px 16px;font-size:9px}.battle-inspector-backdrop{padding:12px}.battle-inspector{padding:22px 17px;max-height:calc(100dvh - 24px)}.battle-inspector-hero{gap:9px;padding-right:10px}.battle-inspector-hero>.sheep-art,.battle-inspector-hero>.enemy-sprite{width:80px;height:80px}.battle-inspector-hero h2{font-size:23px}.battle-live-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.topbar .appearance-btn{display:none}.topbar{padding-left:10px;padding-right:10px}.wallet{font-size:10px;padding:6px}.mobile-brand{max-width:24px}.party-first-slot .sheep-card-info h3{font-size:13px}.party-first-slot .sheep-card-stats .amount{font-size:7px}.daily-quick-start>.btn{font-size:10px}.battle-arena{height:485px}.battle-status-chip span{font-size:7px}.battle-inspector-hero h2{font-size:21px}}

/* Pasture income and the shared daily boop budget. */
.claim-production{min-width:0}.claim-production>div:last-child{min-width:0}.production-help{display:inline-flex;align-items:center;gap:5px;min-height:34px;margin-top:3px;font-size:11px;line-height:1.4;text-align:left;touch-action:manipulation}.production-help .icon{width:13px;height:13px;flex-shrink:0}.production-help:focus-visible{outline:2px solid var(--purple);outline-offset:2px;border-radius:4px}
.production-total{padding:18px;margin:0 0 23px;border:1px solid var(--line);border-radius:13px;background:var(--lilac)}.production-total>span{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.production-total>strong{display:block;color:var(--purple);font-size:30px;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.production-total small{font-size:13px;font-weight:500}.production-sources{padding-left:19px;margin:13px 0;display:grid;gap:11px}.production-sources li{font-size:12px;line-height:1.8;color:var(--muted)}.production-sources strong{color:var(--ink)}.production-note{font-size:11px;line-height:1.8;color:var(--muted);margin-top:14px}.production-calculation{margin:22px 0;border:1px solid var(--line);border-radius:12px;padding:0 16px;background:var(--panel)}.production-calculation summary{font-size:12px;line-height:1.5;padding:15px 0;cursor:pointer;color:var(--purple);min-height:48px}.production-calculation dl{margin:0}.production-calculation dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(65px,auto);gap:16px;align-items:start;padding:11px 0;border-top:1px solid var(--line)}.production-calculation dt{min-width:0}.production-calculation dt strong{display:block;font-size:11px;font-weight:600}.production-calculation dt small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:4px}.production-calculation dd{margin:0;max-width:190px;text-align:right;color:var(--purple);font-size:12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.production-calculation>.production-note{padding-bottom:15px}
.boop-explanation{padding:18px;margin:24px 0 18px;border:1px solid var(--line);border-radius:13px;background:var(--mint)}.boop-explanation h3{display:flex;align-items:center;gap:9px;font-size:22px}.boop-explanation>strong{display:block;color:var(--green);font-size:17px;line-height:1.5;overflow-wrap:anywhere;margin:12px 0 7px}.boop-explanation p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:9px}.boop-explanation p strong{color:var(--ink)}
@media(max-width:700px){.claim-production{width:100%}.claim-production .claim-sub{line-height:1.7}.production-help{min-height:44px;padding:5px 0;font-size:11px}.production-total>strong{font-size:25px}.production-sources{gap:9px}.production-sources li{font-size:11px}.production-calculation{padding:0 12px}.production-calculation dl>div{gap:10px}.production-calculation dd{max-width:110px}.boop-explanation{padding:15px}.boop-explanation h3{font-size:21px}}

/* Detailed boost prices and allowances stay readable on narrow screens. */
@media(max-width:600px){.market-grid.boost-market-grid{grid-template-columns:minmax(0,1fr)}.boost-market-grid .market-art{height:110px}.boost-market-grid .market-card-copy .subtle-note{line-height:1.65}}

/* Sorting and power comparisons stay readable in both the workshop and picker. */
.equipment-toolbar{flex-wrap:wrap}.equipment-sort-control{display:flex;align-items:center;gap:10px;max-width:100%;margin:12px 0;color:var(--ink)}.equipment-sort-control>span{flex-shrink:0;font-weight:700}.equipment-sort-control select{max-width:100%;min-width:0;width:230px;min-height:44px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:10px 12px;font:inherit}.daily-preview-stats{flex-wrap:wrap;gap:16px}.power-help{font-size:11px;line-height:1.6;margin-top:12px}
@media(max-width:600px){.equipment-sort-control{width:100%;font-size:12px}.equipment-sort-control select{flex:1;width:auto}.daily-preview-stats>span{flex:1 1 42%;min-width:0}.daily-preview-stats strong{overflow-wrap:anywhere}}

.daily-layout>*{min-width:0}.daily-preview{min-width:0}
@media(max-width:800px){.daily-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.daily-layout .section-title{flex-wrap:wrap;gap:12px}.daily-layout .section-title>h2{min-width:0}.daily-preview .btn{max-width:100%}}
