:root{--paper:#f8f6f0;--panel:#fffefb;--ink:#3c3549;--muted:#8a8490;--purple:#78578e;--purple-dark:#624477;--lilac:#f0e8f4;--pink:#f2d8df;--mint:#e8eee3;--green:#5e785a;--gold:#b48a48;--line:#e9e4de;--shadow:0 5px 24px #54415c06;--radius:17px;font-family:"Avenir Next","Trebuchet MS",system-ui,sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ae88b6;outline-offset:4px}button svg{pointer-events:none}a{color:inherit}button{border:0}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3,.serif{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.04em}h1{font-size:35px;line-height:1.14}h2{font-size:24px}h3{font-size:20px}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase}.page{animation:page-in .35s ease}.hidden{display:none!important}.flex{display:flex;align-items:center}.between{display:flex;align-items:center;justify-content:space-between;gap:14px}.wrap{flex-wrap:wrap}.gap8{gap:8px}.gap12{gap:12px}.gap16{gap:16px}.mt16{margin-top:16px}.mt24{margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;border-radius:10px;font-weight:700;font-size:12px;transition:background .18s,transform .18s,box-shadow .18s;line-height:1.4;background:var(--lilac);color:var(--purple-dark);white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 12px #5d3d7b12}.btn.primary{background:var(--purple);color:white;border:1px solid #735083}.btn.primary:hover:not(:disabled){background:var(--purple-dark)}.btn.white{background:#fffdf7;color:var(--ink);border:1px solid var(--line)}.btn.ghost{background:transparent;color:var(--muted);border:1px solid var(--line)}.btn.mint{background:var(--mint);color:var(--green)}.btn.gold{background:#f7edda;color:#8b6831}.btn.danger{background:#f8e5e5;color:#a35d63}.btn.sm{min-height:33px;padding:7px 11px;font-size:11px}.btn.wide{width:100%}.btn.circle{width:38px;min-height:38px;padding:8px;border-radius:50%}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:transparent;color:var(--muted)}.icon-btn:hover{background:var(--lilac);color:var(--purple)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;padding:5px 8px;border-radius:6px;background:var(--lilac);color:var(--purple);letter-spacing:.2px;line-height:1.2}.badge.green{background:var(--mint);color:var(--green)}.badge.gold{background:#f7edda;color:var(--gold)}.badge.neutral{background:#f1eee8;color:var(--muted)}.dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#8da78d}.pill{padding:6px 10px;border-radius:20px;font-size:11px;background:#fff9;display:inline-flex;align-items:center;gap:6px}.separator{height:1px;background:var(--line);margin:20px 0}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow)}.card-pad{padding:21px}.text-button{padding:3px 0;background:transparent;color:var(--purple);font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:5px}.text-button svg{width:14px;height:14px}.subtle-note{font-size:11px;color:var(--muted);line-height:1.6}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty h3{margin:10px 0;color:var(--ink)}
.boot-screen{display:grid;place-content:center;min-height:100dvh;text-align:center;gap:12px}.boot-screen h1{font-size:42px}.boot-moon{font-size:65px;color:var(--purple)}.boot-screen p{color:var(--muted)}.boot-dots{display:flex;justify-content:center;gap:7px;margin-top:10px}.boot-dots i{height:5px;width:5px;background:var(--purple);border-radius:100%;animation:pulse 1.2s infinite}.boot-dots i:nth-child(2){animation-delay:.2s}.boot-dots i:nth-child(3){animation-delay:.4s}
.sidebar{width:218px;position:fixed;inset:0 auto 0 0;background:#f3f0e9;border-right:1px solid var(--line);z-index:30;display:flex;flex-direction:column;padding:33px 18px 18px}.brand{display:flex;gap:10px;align-items:center;padding:0 9px;text-decoration:none}.brand-symbol{display:flex;align-items:center;justify-content:center;width:37px;height:39px;background:#e9dfed;border-radius:13px;color:var(--purple);transform:rotate(-7deg)}.brand-symbol svg{width:28px;height:28px;transform:rotate(7deg)}.brand-title{font-family:Georgia,serif;font-size:26px;letter-spacing:-1.2px;line-height:1}.brand-small{font-size:8px;letter-spacing:2px;color:#9a8f9e;margin-top:7px;text-transform:uppercase}.sidebar-label{font-size:8px;color:#a7a0a7;letter-spacing:1.8px;font-weight:800;padding:0 14px;margin:45px 0 14px}.side-nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:12px;min-height:46px;padding:11px 14px;border-radius:10px;background:transparent;text-align:left;color:#938b94;font-size:12px;font-weight:600}.nav-item:hover{background:#ece7eb;color:var(--ink)}.nav-item.active{background:#e9dfed;color:var(--purple-dark)}.nav-item .icon{width:18px;height:18px}.nav-item.active .icon{stroke-width:2}.nav-count{margin-left:auto;font-size:9px;background:#d6c5df;padding:3px 6px;border-radius:5px;color:var(--purple-dark)}.nav-item .new-dot{margin-left:auto;background:#bca0ca;width:5px;height:5px;border-radius:100%}.sidebar .side-spacer{flex:1;min-height:25px}.side-ritual{background:#faf8f3;border:1px solid #e7e0d9;border-radius:12px;padding:14px 12px}.side-ritual .ritual-title{font-family:Georgia,serif;font-size:15px;display:flex;gap:7px;align-items:center}.side-ritual p{font-size:10px;color:var(--muted);margin-top:7px}.thin-progress{height:4px;background:#eae3e9;border-radius:5px;overflow:hidden}.thin-progress span{height:100%;display:block;background:#ad8fba;border-radius:5px;transition:width .4s}.side-ritual .thin-progress{margin-top:12px}.side-bottom{border-top:1px solid var(--line);padding:18px 5px 0;margin-top:20px;display:flex;align-items:center;justify-content:space-between}.side-bottom .eyebrow{font-size:8px;letter-spacing:1px;color:#a49aa6}.side-bottom p{font-size:9px;color:#b2a8b0;margin-top:5px}.app-main{margin-left:218px;min-height:100dvh}.topbar{height:79px;background:#fffdf8b8;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:20;backdrop-filter:blur(15px)}.topbar-location{font-size:11px;color:#9b939f;display:flex;align-items:center;gap:9px}.topbar-location span:last-child{color:#5b5261}.topbar-location svg{width:13px;height:13px}.wallets{display:flex;align-items:center;gap:12px}.wallet{height:36px;display:flex;align-items:center;gap:8px;background:#fffefb;border:1px solid var(--line);border-radius:9px;padding:7px 10px;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}.wallet .currency-symbol{width:21px;height:21px}.wallet .wallet-add{color:#b4a9bd;font-weight:500;margin-left:3px}.currency-symbol{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;vertical-align:middle}.currency-symbol svg{width:100%;height:100%;fill:none;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.currency-symbol.wool{color:#b49375}.currency-symbol.moon{color:#9a7ab0}.amount{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-variant-numeric:tabular-nums}.avatar{height:33px;width:33px;background:#e9dfed;border-radius:50%;overflow:hidden;position:relative}.avatar .sheep-art{width:40px;position:absolute;left:-3px;top:-1px}.topbar-split{height:23px;width:1px;background:var(--line);margin:0 2px}.main-content{max-width:1510px;margin:0 auto;padding:31px 34px 26px}.page-head{margin-bottom:24px}.page-head .eyebrow{color:#a494a8;margin-bottom:8px}.page-head p{font-size:12px;color:var(--muted);margin-top:9px}.page-head .page-aside{display:flex;align-items:center;gap:9px;align-self:flex-end;margin-bottom:2px}.mobile-brand{display:none}.mobile-nav{display:none}.save-status{font-size:9px;color:#aaa1aa;display:flex;align-items:center;gap:5px}.save-status .dot{width:4px;height:4px}.page-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:27px;font-size:9px;color:#aaa2ab;padding:0 4px}.page-footer .icon{width:11px;height:11px}.error-banner{background:#fff0d8;color:#866231;padding:11px 16px;font-size:12px;border-bottom:1px solid #ead7b7;display:flex;align-items:center;gap:10px}
.pasture-scene{position:relative;height:306px;overflow:hidden;border-radius:18px;background:#d5bce2 url('assets/pasture.webp') center 58%/cover no-repeat;box-shadow:inset 0 0 0 1px #a48c9d33;isolation:isolate}.pasture-scene:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#5f465c2b,transparent 48%);z-index:0;pointer-events:none}.pasture-scene.theme-violet{filter:saturate(1.18)}.pasture-scene.theme-moonlit{background-image:url('assets/summon-grove.webp')}.scene-weather{position:absolute;top:17px;left:19px;z-index:3;color:#fffef8;font-size:9px;letter-spacing:1.9px;font-weight:700;display:flex;align-items:center;gap:7px;text-shadow:0 1px 5px #5a416d77}.scene-weather svg{width:13px;height:13px}.scene-season{position:absolute;right:17px;top:14px;background:#fff8ebc9;color:#78677b;backdrop-filter:blur(5px);border:1px solid #fff9;font-size:9px;letter-spacing:.6px;border-radius:20px;padding:6px 9px;z-index:3}.scene-description{position:absolute;bottom:17px;left:19px;z-index:2;color:#fffef7;text-shadow:0 1px 5px #55495b77}.scene-description .serif{font-size:19px;letter-spacing:-.02em}.scene-description p{font-size:9px;color:#fffcedda;margin-top:3px}.scene-button{position:absolute;bottom:17px;right:17px;z-index:5;border-radius:8px;background:#fffaf0dc;color:#6f5c76;font-weight:700;font-size:10px;min-height:31px;padding:7px 10px;display:flex;align-items:center;gap:6px}.scene-button svg{width:13px;height:13px}.scene-sheep{position:absolute;z-index:2;bottom:19%;width:136px;height:136px;background:transparent;padding:0;transition:left 1.5s ease;filter:drop-shadow(0 8px 4px #64526027)}.scene-sheep:nth-of-type(1){left:22%;animation:amble 7s ease-in-out infinite}.scene-sheep:nth-of-type(2){left:45%;bottom:13%;width:154px;height:154px;animation:amble 8s ease-in-out infinite;animation-delay:-3s}.scene-sheep:nth-of-type(3){left:69%;bottom:23%;width:126px;height:126px;animation:amble 6s ease-in-out infinite;animation-delay:-4s}.scene-sheep:active{transform:scale(.9)}.scene-sheep:hover .scene-name{opacity:1;transform:translateY(0)}.scene-name{position:absolute;bottom:-14px;left:50%;transform:translate(-50%,4px);padding:4px 8px;border-radius:20px;background:#fff7e8eb;color:#786277;font-size:9px;white-space:nowrap;opacity:0;transition:.2s}.firefly{position:absolute;height:3px;width:3px;border-radius:100%;background:#fff8be;box-shadow:0 0 7px 3px #fff7bc55;z-index:1;animation:firefly 5s infinite ease-in-out;pointer-events:none}.firefly:nth-child(4n){animation-duration:7s}.claim-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border:1px solid var(--line);border-top:0;border-radius:0 0 15px 15px;background:var(--panel);margin:0 9px}.claim-wool-icon{height:43px;width:43px;background:#f4ece1;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#b49375}.claim-wool-icon .currency-symbol{height:27px;width:27px}.claim-heading{font-family:Georgia,serif;font-size:19px;letter-spacing:-.5px}.claim-heading .claim-number{font-family:"Avenir Next","Trebuchet MS",system-ui,sans-serif;letter-spacing:-.6px;font-size:22px;font-weight:700}.claim-sub{font-size:10px;color:var(--muted);margin-top:5px}.claim-sub strong{color:#7d9471;font-weight:700}.claim-meta{display:flex;align-items:center;gap:20px}.claim-info{font-size:10px;color:var(--muted);text-align:right}.claim-info strong{display:block;color:#79707f;font-size:11px;margin-bottom:4px}.claim-bar .btn{min-width:140px}.dashboard-grid{display:grid;grid-template-columns:1fr .94fr;gap:20px;margin-top:24px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-title h2{font-size:23px}.section-title .eyebrow{color:#b2a2b6;font-size:9px;letter-spacing:1.2px}.party-preview{display:flex;gap:11px;justify-content:space-between}.party-mini{flex:1;min-width:0;position:relative;border:1px solid #ece6ed;background:linear-gradient(145deg,#faf8f9,#f2eef4);border-radius:12px;padding:9px 6px 11px;text-align:center;transition:.2s}.party-mini:hover{border-color:#bba5c6;transform:translateY(-2px)}.party-mini .sheep-art{width:103px;max-width:100%;margin:auto}.party-mini .sheep-name{font-size:12px;font-weight:700;margin-top:0}.party-mini .sheep-role{font-size:8px;color:var(--muted);margin-top:5px;display:flex;gap:4px;justify-content:center;align-items:center}.party-mini .sheep-role svg{width:10px;height:10px}.level-tag{position:absolute;top:8px;left:8px;font-size:8px;color:#938198;background:#fff9;padding:3px 5px;border-radius:5px;font-weight:700}.party-card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.party-power{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.party-power strong{color:#685272}.party-power svg{width:13px;height:13px}.adventure-preview{height:155px;border-radius:11px;position:relative;overflow:hidden;background:#cac5c9 url('assets/whisperwood.webp') center 65%/cover;display:flex;align-items:flex-end;isolation:isolate}.adventure-preview:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#40374acc,#54445e0a 100%);z-index:-1}.adventure-preview .preview-content{padding:17px;width:100%;color:#fff9f3}.adventure-preview .eyebrow{font-size:8px;letter-spacing:1.6px;color:#efe3ec}.adventure-preview h3{margin-top:6px;font-size:23px}.adventure-preview .preview-stage{font-size:9px;color:#eadfe9;margin-top:4px}.adventure-card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.tiny-rewards{font-size:10px;color:var(--muted);display:flex;gap:11px;align-items:center}.tiny-rewards .currency-symbol{width:14px;height:14px}.buildings-section{margin-top:26px}.buildings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.building{padding:17px 16px}.building-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.building-icon{width:35px;height:35px;border-radius:10px;background:#edf0e6;color:#82906a;display:flex;align-items:center;justify-content:center}.building:nth-child(2) .building-icon{background:#f3e9dd;color:#b3966f}.building:nth-child(3) .building-icon{background:#f1e9f4;color:#a185b2}.building:nth-child(4) .building-icon{background:#f5e7e9;color:#b58c9b}.building .building-level{font-size:9px;color:var(--muted)}.building h3{font-size:17px;letter-spacing:-.4px}.building p{font-size:9px;color:var(--muted);margin-top:7px;min-height:31px;line-height:1.6}.building .building-effect{font-size:10px;color:var(--green);margin-top:9px;margin-bottom:14px}.building .btn{width:100%;font-size:10px;min-height:33px}.daily-section{margin-top:26px}.quest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.quest-card{padding:15px;display:flex;flex-direction:column}.quest-card .quest-icon{color:#b79cc5;margin-bottom:10px}.quest-card h3{font-family:inherit;font-weight:700;font-size:11px;letter-spacing:0}.quest-card p{font-size:9px;color:var(--muted);margin-top:5px;flex:1}.quest-card .quest-progress{display:flex;align-items:center;gap:9px;margin-top:14px;font-size:9px;color:var(--muted)}.quest-card .thin-progress{flex:1}.quest-card .between{margin-top:11px}.quest-card .btn{font-size:9px}.welcome-strip{padding:15px 18px;border:1px solid #e6d9eb;background:#f1e8f3;border-radius:12px;margin-top:19px;display:flex;align-items:center;justify-content:space-between;gap:14px}.welcome-strip .icon{color:#a381b0;width:25px;height:25px}.welcome-strip h3{font-size:17px}.welcome-strip p{font-size:10px;color:#9b859e;margin-top:4px}.welcome-strip .btn{font-size:10px;background:#fff9}
.sheep-art{display:block;aspect-ratio:1;background-image:url('assets/flock-atlas.webp');background-size:400% 300%;background-repeat:no-repeat;background-position:var(--sprite-x) var(--sprite-y);pointer-events:none}.collection-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.search-field{display:flex;align-items:center;gap:9px;background:#fffefb;border:1px solid var(--line);padding:0 13px;border-radius:9px;height:39px;min-width:220px;color:#aaa0ac}.search-field input{border:0;outline:0;background:transparent;width:100%;min-width:0;font-size:11px;color:var(--ink)}.search-field .icon{width:15px;height:15px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filter{padding:9px 12px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:10px;background:#fffdf9}.filter.active{background:var(--lilac);color:var(--purple);border-color:#d9c8e1}.collection-summary{display:flex;gap:25px;margin-bottom:24px;align-items:center;padding:17px 22px}.collection-summary strong{font-size:22px;font-weight:600;letter-spacing:-.8px}.collection-summary span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.collection-summary>div+div{border-left:1px solid var(--line);padding-left:25px}.collection-summary .thin-progress{max-width:260px;margin-left:auto;width:28%}.flock-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.sheep-card{position:relative;overflow:hidden;text-align:center;padding:0;background:var(--panel);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);transition:.2s}.sheep-card:hover{transform:translateY(-4px);border-color:#c6aed2;box-shadow:0 10px 25px #71557e12}.sheep-card .card-art{height:170px;background:radial-gradient(ellipse at 50% 75%,var(--accent,#e6e8df),transparent 80%),#faf8f4;padding:10px 23px 0;position:relative}.sheep-card .sheep-art{height:100%;max-width:100%;margin:auto;aspect-ratio:1}.sheep-card .card-art:after{content:'';height:1px;background:#eae3e555;position:absolute;bottom:0;left:20px;right:20px}.rarity-label{position:absolute;top:12px;left:12px;font-size:8px;letter-spacing:1px;text-transform:uppercase;color:var(--rarity-color,#8b917b);z-index:1;font-weight:800}.team-indicator{position:absolute;top:10px;right:10px;background:#fffc;color:#938399;border:1px solid #e5ddeb;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:100%;z-index:2}.team-indicator svg{width:11px;height:11px}.team-indicator.in-team{background:var(--purple);color:white;border-color:transparent}.sheep-card-info{padding:12px 15px 15px}.sheep-card-info h3{font-size:21px}.sheep-card-subtitle{font-size:9px;color:var(--muted);margin-top:4px}.sheep-card-stats{margin-top:12px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:var(--muted)}.sheep-card-stats .amount{gap:3px}.sheep-card-stats svg{width:11px;height:11px;color:#b498c3}.stars{color:#bc9d5a;font-size:10px;letter-spacing:1px}.sheep-card.locked .sheep-art{filter:grayscale(.9) brightness(.58);opacity:.28}.sheep-card.locked .card-art{background:#eeeae9}.sheep-card.locked .sheep-card-info{opacity:.65}.lock-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff9;pointer-events:none}.lock-overlay svg{width:26px;height:26px;filter:drop-shadow(0 2px 2px #76677b66)}.team-editor{padding:22px;margin-bottom:24px;display:flex;gap:22px;align-items:center}.team-editor-copy{min-width:150px;flex:1}.team-editor-copy p{font-size:11px;color:var(--muted);margin-top:7px}.team-editor-slots{display:flex;gap:12px;flex:2.4}.team-slot{min-width:0;flex:1;border:1px dashed #d7cbdc;border-radius:10px;position:relative;display:flex;align-items:center;gap:6px;padding:9px;background:#f8f3f9;text-align:left;min-height:74px}.team-slot .sheep-art{width:65px;flex-shrink:0}.team-slot h3{font-family:inherit;font-size:11px;font-weight:700;letter-spacing:0}.team-slot p{font-size:9px;color:var(--muted);margin-top:5px}.team-slot .slot-num{font-size:7px;color:#aa9caf;position:absolute;top:5px;left:6px}.team-slot .swap-icon{width:13px;height:13px;color:#baa7c6;margin-left:auto}.team-slot:hover{border-color:var(--purple)}
.journey-overview{display:grid;grid-template-columns:1fr 300px;gap:22px;align-items:start}.journey-chapters{display:grid;gap:19px}.chapter-card{overflow:hidden}.chapter-banner{height:125px;background-size:cover;background-position:center 42%;position:relative;display:flex;align-items:flex-end;padding:18px 23px;isolation:isolate;color:white}.chapter-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#433448ad,transparent);z-index:-1}.chapter-banner .eyebrow{font-size:8px;color:#f4e9ed}.chapter-banner h2{font-size:26px;margin-top:5px}.chapter-banner p{font-size:10px;color:#f2e8ef;margin-top:5px}.chapter-banner .badge{position:absolute;top:17px;right:17px;background:#fff9;color:#665170}.chapter-stages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:22px}.stage-node{min-height:64px;border-radius:12px;border:1px solid var(--line);background:#f6f3ee;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;color:#c3bac7;font-size:10px;position:relative;transition:.2s}.stage-node .icon{width:17px;height:17px}.stage-node.cleared{background:#edf0e6;color:#819074;border-color:#dce4d3}.stage-node.current{background:var(--purple);color:white;border-color:var(--purple);box-shadow:0 3px 12px #74508733}.stage-node.current:after{content:'';position:absolute;inset:-4px;border:1px dashed #bba3c8;border-radius:16px;pointer-events:none}.stage-node.selected:not(.current){border:2px solid var(--purple)}.stage-node.boss{background:#f7eddd;color:#bf9d69}.stage-node.boss.current{background:#bd965b;border-color:#bd965b;color:white}.stage-node.boss.cleared{background:#f4ecd9;color:#a38954}.stage-node:hover:not(:disabled){transform:translateY(-3px)}.expedition-panel{position:sticky;top:100px;padding:23px}.expedition-panel .eyebrow{font-size:9px;color:#b09cba}.expedition-panel h2{margin-top:10px;font-size:26px}.expedition-panel .stage-copy{font-size:11px;color:var(--muted);margin-top:8px}.expedition-panel .detail-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);padding:11px 0;border-bottom:1px solid var(--line)}.expedition-panel .detail-row strong{color:#7d6587;font-size:12px}.expedition-party{display:flex;gap:5px;margin-top:14px}.expedition-party .sheep-art{flex:1;max-width:85px}.expedition-tip{background:#f4f0e6;border-radius:9px;padding:12px;font-size:10px;color:#a08e72;line-height:1.6;margin-top:18px}.expedition-panel .btn{margin-top:20px}.expedition-panel .reward-row{display:flex;gap:14px;margin-top:12px;font-size:12px}.chapter-card.chapter-locked .chapter-banner{filter:grayscale(.7)}.journey-complete{padding:30px;text-align:center;background:var(--lilac);margin-bottom:23px}.journey-complete h2{font-size:32px}.journey-complete p{margin-top:10px;font-size:12px}
.summon-layout{display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:22px;align-items:start}.summon-scene{min-height:445px;border-radius:18px;background:#bfabc7 url('assets/summon-grove.webp') center/cover;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:25px;isolation:isolate}.summon-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#46344bba,transparent 65%);z-index:-1}.summon-scene h2{font-size:37px;color:#fff7e9}.summon-scene p{font-size:11px;color:#f4e5ee;margin-top:10px;text-align:center;max-width:290px}.summon-scene .eyebrow{position:absolute;top:22px;left:23px;color:#f9f0e1;font-size:9px}.summon-scene .summon-star{position:absolute;top:27%;left:50%;transform:translateX(-50%);font-size:62px;color:#fff5cc;text-shadow:0 0 24px #fff5a8;animation:pulse 4s ease-in-out infinite;pointer-events:none}.summon-controls{padding:22px;margin-top:17px}.summon-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.summon-buttons .btn{min-height:50px;flex-direction:column;gap:3px;font-size:12px}.summon-buttons .btn .amount{font-size:10px;font-weight:500;opacity:.8}.summon-buttons .btn .currency-symbol{height:13px;width:13px}.free-pull-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding-bottom:19px;margin-bottom:19px;border-bottom:1px solid var(--line)}.free-pull-row h3{font-size:17px}.free-pull-row p{font-size:10px;color:var(--muted);margin-top:5px}.pity-track{display:flex;gap:12px;align-items:center;padding:16px 0 0}.pity-track .icon{color:#b8a0c2}.pity-track>div{flex:1}.pity-track p{font-size:10px;color:var(--muted);margin-bottom:7px}.pity-track p strong{color:var(--purple)}.summon-side .card{padding:21px;margin-bottom:17px}.summon-side h3{font-size:19px}.odds-list{list-style:none;padding:0;margin:15px 0 0}.odds-list li{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:12px 0;color:var(--muted)}.rarity-dot{width:6px;height:6px;border-radius:100%;margin-right:6px;display:inline-block;vertical-align:middle}.wishlist-preview{display:flex;align-items:center;gap:8px;margin-top:12px}.wishlist-preview .sheep-art{width:74px}.wishlist-preview h4{font-size:12px;margin:0}.wishlist-preview p{font-size:9px;color:var(--muted);margin-top:5px}.wishlist-help{font-size:10px;color:var(--muted);margin-top:10px;line-height:1.6}.summon-recent{margin-top:24px}.mini-collection{display:flex;gap:10px;flex-wrap:wrap}.mini-collection>button{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:8px;width:88px;text-align:center}.mini-collection .sheep-art{width:100%}.mini-collection p{font-size:9px;margin-top:4px}
.market-intro{padding:23px 25px;background:#ede4f1;border-color:#e1d4e8;display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}.market-intro h2{font-size:27px}.market-intro p{font-size:11px;color:#9e85ab;margin-top:7px;max-width:440px}.market-intro .market-moon{height:70px;width:70px;color:#b39ac2;transform:rotate(-15deg);flex-shrink:0}.market-intro .market-moon svg{width:100%;height:100%;stroke-width:.8}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.market-card{overflow:hidden;display:flex;flex-direction:column}.market-art{height:145px;display:flex;align-items:center;justify-content:center;background:#eee5f3;position:relative;overflow:hidden}.market-art>svg{height:68px;width:68px;color:#b49ac4;stroke-width:1}.market-art .sheep-art{width:138px}.market-art .market-preview{position:absolute;inset:0;background-position:center;background-size:cover}.market-art .badge{position:absolute;top:11px;left:11px;background:#fffc;color:var(--purple);z-index:1}.market-card-copy{padding:19px;flex:1;display:flex;flex-direction:column}.market-card-copy h3{font-size:22px}.market-card-copy p{font-size:10px;color:var(--muted);margin-top:8px;flex:1;min-height:34px}.market-card-copy .btn{margin-top:17px}.market-fineprint{padding:16px 20px;margin-top:23px;border:1px dashed #e3d9e8;background:#f6f1f7;display:flex;align-items:flex-start;gap:11px;border-radius:11px;color:#a18aa7;font-size:10px;line-height:1.7}.market-fineprint svg{flex-shrink:0}
.notes-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:26px}.notes-stat{padding:20px}.notes-stat .icon{color:#b49bc1;margin-bottom:13px}.notes-stat strong{display:block;font-size:27px;font-weight:600;letter-spacing:-1px}.notes-stat span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.achievement-card{padding:18px;display:flex;gap:14px;align-items:center}.achievement-icon{width:43px;height:43px;border-radius:12px;background:#f3ead8;display:flex;align-items:center;justify-content:center;color:#b69c6c;flex-shrink:0}.achievement-info{flex:1;min-width:0}.achievement-info h3{font-family:inherit;font-size:12px;font-weight:700;letter-spacing:0}.achievement-info p{font-size:10px;color:var(--muted);margin-top:6px}.achievement-info .thin-progress{margin-top:11px}.achievement-reward{display:flex;flex-direction:column;gap:7px;align-items:flex-end;font-size:10px}.achievement-card.claimed{background:#f7f6ee;opacity:.65}
#modal-root:empty{display:none}.modal-backdrop{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;background:#3e304368;backdrop-filter:blur(7px);padding:24px;animation:fade-in .15s}.modal{width:100%;max-width:560px;max-height:90dvh;overflow:auto;border-radius:22px;background:var(--paper);box-shadow:0 20px 80px #32243f44;position:relative;padding:31px;animation:modal-in .22s ease}.modal.wide{max-width:980px}.modal-close{position:absolute;right:13px;top:13px;z-index:10;background:#fff9;border:1px solid #eee5ef}.modal-head{padding-right:25px;margin-bottom:22px}.modal-head .eyebrow{color:#ad95ba;margin-bottom:8px}.modal-head h2{font-size:32px}.modal-head p{font-size:12px;color:var(--muted);margin-top:9px}.detail-hero{height:205px;margin:-31px -31px 0;background:radial-gradient(ellipse at 50% 100%,var(--accent,#e6e8df),transparent 85%),#f1ecf2;display:flex;align-items:center;justify-content:center;position:relative}.detail-hero .sheep-art{height:204px;width:204px}.detail-hero .rarity-label{left:25px;top:26px;font-size:10px}.detail-heading{text-align:center;margin:20px 0}.detail-heading h2{font-size:33px}.detail-heading p{font-size:11px;color:var(--muted);margin-top:6px}.detail-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fffdf8}.detail-stats>div{text-align:center;padding:12px 4px}.detail-stats>div+div{border-left:1px solid var(--line)}.detail-stats span{display:block;font-size:8px;color:var(--muted);margin-bottom:6px;letter-spacing:.7px;text-transform:uppercase}.detail-stats strong{font-size:15px;font-weight:700}.skill-box{padding:16px;background:#eee7f2;border-radius:12px;margin:17px 0;color:#8e709e}.skill-box h3{font-family:inherit;font-size:12px;letter-spacing:0;font-weight:700;display:flex;align-items:center;gap:7px}.skill-box p{font-size:11px;margin-top:9px}.detail-flavor{text-align:center;font-family:Georgia,serif;font-style:italic;font-size:12px;color:#9b8a9d;margin:17px 8px;line-height:1.7}.detail-copy{text-align:center;font-size:11px;color:var(--muted);margin:14px 0}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.detail-actions .btn{font-size:11px;white-space:normal}.detail-actions .btn .amount{font-size:10px}.duplicate-bar{margin-top:13px;font-size:10px;color:var(--muted)}.duplicate-bar .between{margin-bottom:6px}.slot-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.slot-choice{border:1px solid var(--line);background:#fffdf8;border-radius:12px;padding:10px;text-align:center}.slot-choice:hover{border-color:var(--purple);background:var(--lilac)}.slot-choice .sheep-art{width:95px;max-width:100%;margin:auto}.slot-choice p{font-size:10px;font-weight:700;margin-top:4px}.slot-choice small{font-size:8px;color:var(--muted);display:block;margin-top:5px}.select-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.select-sheep{padding:10px;background:#fffdf8;border-radius:10px;border:1px solid var(--line);font-size:10px}.select-sheep .sheep-art{max-width:100%;width:112px;margin:auto}.select-sheep p{margin-top:4px;font-weight:700}.select-sheep small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.select-sheep:hover{border-color:var(--purple);background:var(--lilac)}
.setting-row{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:20px 0}.setting-row label{font-size:12px;font-weight:700;display:block}.setting-row p{font-size:10px;color:var(--muted);margin-top:5px}.toggle{width:41px;height:24px;background:#d8d0dc;border-radius:30px;padding:3px;display:flex;align-items:center;transition:.2s}.toggle span{height:18px;width:18px;border-radius:50%;background:white;box-shadow:0 1px 4px #3b294b22;transition:.2s}.toggle.on{background:var(--purple)}.toggle.on span{transform:translateX(17px)}input[type=range]{accent-color:var(--purple);width:130px}.settings-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.settings-note{padding:14px;background:#eee8f2;color:#9d84a7;border-radius:10px;font-size:10px;line-height:1.7}.reset-input{width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fffdfa;color:var(--ink);margin-top:16px}.guide-step{display:flex;gap:13px;margin:18px 0}.guide-num{width:27px;height:27px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--lilac);color:var(--purple);font-size:10px;flex-shrink:0}.guide-step h3{font-size:16px}.guide-step p{font-size:11px;color:var(--muted);margin-top:5px}.offline-art{width:145px;margin:0 auto 10px}.offline-title{text-align:center}.offline-title h2{font-size:33px}.offline-title p{font-size:12px;color:var(--muted);margin-top:11px}.offline-reward{font-size:30px;display:flex;gap:10px;align-items:center;justify-content:center;margin:25px 0;color:var(--purple);font-weight:700}.offline-reward .currency-symbol{height:30px;width:30px}
.reveal-modal{padding:35px;text-align:center;background:radial-gradient(ellipse at top,#ede0f6,transparent 70%),var(--paper)}.reveal-modal .eyebrow{color:#ab8ab8}.reveal-modal h2{font-size:33px;margin-top:8px}.reveal-modal .reveal-sub{font-size:11px;color:var(--muted);margin-top:9px}.reveal-single{padding:13px 0}.reveal-single .sheep-art{width:250px;max-width:100%;margin:auto;animation:reveal .65s cubic-bezier(.17,.89,.32,1.28)}.reveal-single h3{font-size:33px;margin-top:2px}.reveal-single p{font-size:11px;color:var(--muted);margin-top:6px}.reveal-stars{color:#d4b36e;font-size:19px;letter-spacing:5px;margin:10px}.reveal-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:24px 0}.reveal-card{border-radius:12px;padding:7px;background:#fffaf8;border:1px solid #e7dce9;position:relative;animation:reveal .5s both;animation-delay:calc(var(--i)*65ms)}.reveal-card .sheep-art{width:100%}.reveal-card h3{font-size:14px}.reveal-card p{font-size:8px;color:var(--muted);margin-top:4px}.reveal-card .new-tag{position:absolute;top:5px;left:5px;border-radius:4px;padding:2px 4px;background:#e9dfef;color:var(--purple);font-size:7px;font-weight:800}.reveal-card.legendary{background:#fbf2dc;border-color:#d9bd7d}.reveal-card.epic{background:#efe6f3;border-color:#cbb0d9}.reveal-modal .btn{margin-top:18px}.reveal-modal .summon-results-footer{font-size:10px;color:var(--muted);margin-top:13px}
.battle-modal{padding:0;background:var(--paper);overflow:hidden}.battle-top{padding:17px 23px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.battle-top h2{font-size:21px}.battle-top p{font-size:9px;color:var(--muted);margin-top:4px}.battle-controls{display:flex;align-items:center;gap:9px}.battle-arena{height:355px;position:relative;background-image:linear-gradient(0deg,#dfcfd828,#dfcfd828),url('assets/pasture.webp');background-size:cover;background-position:center 67%;display:flex;align-items:center;justify-content:space-around;overflow:hidden}.battle-arena.whisperwood{background-image:url('assets/whisperwood.webp')}.battle-arena.moonfall{background-image:url('assets/moonfall.webp')}.battle-round{position:absolute;top:17px;left:50%;transform:translateX(-50%);padding:6px 13px;background:#fffaf0d9;color:#8a7093;font-size:9px;border-radius:20px;font-weight:700;z-index:4}.battle-team{display:flex;align-items:flex-end;gap:3px;position:relative;z-index:1;width:43%;justify-content:center}.battle-team.enemies{flex-direction:row-reverse}.battle-unit{width:30%;position:relative;text-align:center;transition:opacity .3s,filter .3s;max-width:140px}.battle-unit .unit-art{width:100%;height:auto;aspect-ratio:1;position:relative;filter:drop-shadow(0 6px 4px #52406322)}.battle-unit .unit-art .sheep-art{width:100%;height:100%}.battle-unit .unit-name{font-size:9px;color:#5d4a64;text-shadow:0 1px #fff9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;margin-top:6px}.unit-health{height:6px;border:1px solid #fff9;background:#baaaaa70;border-radius:6px;overflow:hidden;margin:5px auto;max-width:90px;box-shadow:0 1px 3px #60406a16}.unit-health span{height:100%;display:block;background:#91af7e;transition:width .2s}.enemies .unit-health span{background:#d899a4}.unit-hp-text{font-size:7px;color:#7e667e}.unit-shield{font-size:8px;color:#aa89c0;display:flex;justify-content:center;gap:3px;align-items:center;height:13px}.unit-shield svg{height:9px;width:9px}.battle-unit.defeated{opacity:.3;filter:grayscale(1)}.battle-unit.attacking{animation:attack .28s ease}.battle-unit.hit{animation:hit .3s ease}.battle-unit.healing{filter:drop-shadow(0 0 10px #a3cc7b)}.battle-vs{font-family:Georgia,serif;font-style:italic;font-size:22px;color:#fff9;position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);text-shadow:0 1px 5px #54425b}.damage-float{position:absolute;top:0;left:50%;transform:translateX(-50%);font-size:22px;font-weight:800;color:#fff1ed;text-shadow:0 2px 3px #b35470;animation:damage-up .75s ease-out forwards;z-index:8;pointer-events:none}.damage-float.heal{color:#efffd7;text-shadow:0 2px 3px #6f9460}.battle-log{padding:17px 24px;height:75px;overflow:hidden;border-bottom:1px solid var(--line);background:#fffdf9;display:flex;align-items:center;justify-content:center;text-align:center;color:#9a859f;font-size:11px;line-height:1.7}.battle-bottom{display:flex;justify-content:space-between;align-items:center;padding:18px 23px;gap:15px}.battle-bottom p{font-size:10px;color:var(--muted)}.battle-bottom .thin-progress{width:130px}.battle-outcome{text-align:center;padding:31px}.battle-outcome h2{font-size:35px;margin-top:12px}.battle-outcome p{font-size:12px;color:var(--muted);margin-top:10px;max-width:460px;margin-left:auto;margin-right:auto}.battle-outcome .outcome-icon{display:inline-flex;align-items:center;justify-content:center;background:#efe8d7;color:#c6a968;width:60px;height:60px;border-radius:50%}.battle-outcome .outcome-icon svg{width:30px;height:30px}.battle-outcome .reward-row{display:flex;justify-content:center;gap:22px;font-size:20px;margin-top:22px;font-weight:700}.battle-outcome .outcome-actions{margin-top:25px;display:flex;justify-content:center;gap:10px}.battle-outcome .btn{min-width:140px}.battle-result-art{height:100px;display:flex;justify-content:center;margin-top:12px}.battle-result-art .sheep-art{height:100px;width:100px}.enemy-art{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.enemy-art svg{width:100%;height:100%;overflow:visible}
#toast-root{position:fixed;z-index:150;bottom:24px;left:calc(50% + 109px);transform:translateX(-50%);display:grid;gap:9px;max-width:calc(100vw - 30px);pointer-events:none}.toast{display:flex;align-items:center;gap:10px;padding:13px 19px;border:1px solid #e5d9ea;border-radius:12px;background:#fffdf8f5;box-shadow:0 5px 30px #6b527128;font-size:12px;color:#7d638b;animation:toast-in .25s ease;backdrop-filter:blur(7px);text-align:center}.toast svg{height:16px;width:16px;flex-shrink:0}.toast.error{border-color:#ecd3d7;color:#b17680}.toast.leaving{opacity:0;transform:translateY(7px);transition:.3s}.boop-float{position:absolute;z-index:15;pointer-events:none;color:#fffbe8;text-shadow:0 1px 4px #5f486c;font-size:18px;font-weight:700;animation:damage-up .9s ease-out forwards}
@keyframes page-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes modal-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,100%{opacity:.45;transform:scale(.9)}50%{opacity:1;transform:scale(1.05)}}@keyframes amble{0%,100%{transform:translate(0,0) rotate(-2deg)}33%{transform:translate(12px,-2px) rotate(1deg)}66%{transform:translate(-5px,1px) rotate(-1deg)}}@keyframes firefly{0%,100%{opacity:.1;transform:translateY(0)}50%{opacity:.8;transform:translate(8px,-13px)}}@keyframes reveal{from{opacity:0;transform:translateY(15px) scale(.75)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes attack{0%,100%{transform:translateX(0)}50%{transform:translateX(15px) scale(1.04)}}@keyframes hit{0%,100%{filter:brightness(1);transform:translateX(0)}40%{filter:brightness(1.7);transform:translateX(4px)}}@keyframes damage-up{from{opacity:1;transform:translate(-50%,0)}to{opacity:0;transform:translate(-50%,-60px)}}
@media(min-width:1600px){.main-content{padding-left:50px;padding-right:50px}.pasture-scene{height:360px}.scene-sheep{width:155px;height:155px}.scene-sheep:nth-of-type(2){width:175px;height:175px}.scene-sheep:nth-of-type(3){width:145px;height:145px}.party-mini .sheep-art{width:120px}}
@media(max-width:1180px){.sidebar{width:190px;padding-left:12px;padding-right:12px}.brand-title{font-size:23px}.brand-small{font-size:7px}.app-main{margin-left:190px}.main-content{padding:27px 24px}.topbar{padding:0 24px}.wallets{gap:8px}.dashboard-grid{gap:15px}.card-pad{padding:17px}.buildings-grid{gap:10px}.building{padding:14px 11px}.flock-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.team-editor{flex-direction:column;align-items:stretch;gap:14px}.team-editor-copy{display:flex;align-items:center;justify-content:space-between;gap:12px}.team-editor-copy p{margin:0}.team-editor-slots{flex:none}.journey-overview{grid-template-columns:1fr 260px;gap:16px}.summon-layout{grid-template-columns:minmax(0,1fr) 240px;gap:15px}.summon-scene{min-height:400px}.market-grid{gap:14px}.claim-info{display:none}#toast-root{left:calc(50% + 95px)}.quest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.party-mini .sheep-art{width:88px}.stage-node{min-height:58px}}
@media(max-width:960px){.sidebar{width:169px;padding:28px 10px 15px}.brand{padding:0 5px;gap:7px}.brand-symbol{width:30px;height:33px;border-radius:11px}.brand-title{font-size:21px}.brand-small{font-size:6px;letter-spacing:1.6px}.app-main{margin-left:169px}.nav-item{gap:9px;padding:10px;font-size:11px}.main-content{padding:25px 20px}.topbar{padding:0 20px;height:71px}.topbar-location{font-size:10px}.wallet{font-size:11px;padding:6px 7px}.topbar .guide-btn{display:none}.page-head h1{font-size:30px}.pasture-scene{height:280px}.scene-sheep{width:110px;height:110px}.scene-sheep:nth-of-type(2){width:125px;height:125px}.scene-sheep:nth-of-type(3){width:105px;height:105px}.scene-sheep:nth-of-type(1){left:18%}.scene-sheep:nth-of-type(2){left:43%}.scene-sheep:nth-of-type(3){left:69%}.dashboard-grid{grid-template-columns:1fr}.party-mini .sheep-art{width:115px}.adventure-preview{height:160px}.buildings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.building p{min-height:0}.flock-grid{gap:13px}.sheep-card .card-art{height:140px;padding:11px 10px 0}.sheep-card-info{padding:10px}.sheep-card-info h3{font-size:19px}.journey-overview{grid-template-columns:1fr}.expedition-panel{position:static;order:-1}.expedition-panel .expedition-party{display:none}.expedition-panel .detail-row{display:inline-flex;gap:15px;padding:10px 15px 10px 0;margin-right:12px;border:0}.expedition-panel .expedition-tip{display:none}.expedition-panel .reward-row{display:inline-flex;margin-right:15px}.expedition-panel .btn{margin-top:10px;width:auto;padding:10px 25px}.summon-layout{grid-template-columns:1fr}.summon-side{display:grid;grid-template-columns:1fr 1fr;gap:15px}.summon-side .card{margin-bottom:0}.summon-scene{min-height:400px}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notes-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.achievement-grid{grid-template-columns:1fr}#toast-root{left:calc(50% + 84.5px)}.claim-bar{padding:16px}.claim-heading{font-size:17px}.claim-heading .claim-number{font-size:21px}.claim-bar .btn{min-width:120px}}
@media(max-width:700px){:root{font-size:13px}.sidebar{display:none}.app-main{margin-left:0;padding-bottom:76px}.topbar{height:66px;padding:0 16px;gap:8px}.topbar-location{display:none}.mobile-brand{display:flex;align-items:center;gap:7px;font-family:Georgia,serif;font-size:21px;letter-spacing:-1px}.mobile-brand .icon{color:var(--purple);height:23px;width:23px}.wallets{gap:6px}.wallet{font-size:11px;border-radius:8px;padding:5px 7px;gap:4px;height:32px}.wallet .currency-symbol{height:17px;width:17px}.wallet .wallet-add{margin-left:1px;font-size:12px}.topbar-split,.avatar{display:none}.topbar .sound-btn{width:30px;padding:5px}.topbar .icon-btn .icon{width:17px;height:17px}.main-content{padding:23px 17px 20px}.page-head{margin-bottom:20px;align-items:start}.page-head .eyebrow{font-size:8px;letter-spacing:1.5px}.page-head h1{font-size:29px}.page-head p{font-size:11px;max-width:270px;margin-top:8px}.page-head .page-aside{margin-top:7px;align-self:flex-start;gap:5px}.page-head .page-aside .btn{font-size:10px;padding:7px 9px;min-height:32px}.page-head .page-aside .badge{font-size:8px;padding:5px 7px}.page-head .page-aside .small{display:none}.pasture-scene{height:275px;border-radius:14px;background-position:center 54%}.scene-weather{top:13px;left:13px;font-size:8px;letter-spacing:1.1px}.scene-season{top:11px;right:11px;font-size:8px;padding:5px 7px}.scene-description{left:13px;bottom:14px}.scene-description .serif{font-size:16px}.scene-description p{font-size:8px}.scene-button{bottom:14px;right:11px;font-size:8px;min-height:28px;padding:6px 7px}.scene-sheep{width:103px;height:103px;bottom:24%}.scene-sheep:nth-of-type(1){left:8%}.scene-sheep:nth-of-type(2){left:34%;width:116px;height:116px;bottom:18%}.scene-sheep:nth-of-type(3){left:65%;width:93px;height:93px;bottom:27%}.claim-bar{margin:0 5px;padding:15px 12px;gap:9px}.claim-wool-icon{width:34px;height:37px;border-radius:9px}.claim-wool-icon .currency-symbol{width:24px;height:24px}.claim-bar .gap12{gap:8px}.claim-heading{font-size:14px}.claim-heading .claim-number{font-size:19px}.claim-sub{font-size:8px;margin-top:5px}.claim-bar .btn{font-size:10px;padding:8px 11px;min-width:99px;min-height:38px;gap:5px}.claim-bar .btn .icon{width:14px;height:14px}.dashboard-grid{margin-top:20px;gap:16px}.card-pad{padding:17px}.section-title h2{font-size:22px}.party-mini .sheep-art{width:105px}.party-mini{padding:9px 5px 11px}.party-preview{gap:9px}.party-mini .sheep-name{font-size:11px}.party-mini .sheep-role{font-size:8px}.welcome-strip{padding:13px 12px;margin-top:15px;gap:10px}.welcome-strip h3{font-size:15px}.welcome-strip p{font-size:9px}.welcome-strip>.flex{gap:9px}.welcome-strip .icon{width:22px;height:22px;flex-shrink:0}.welcome-strip .btn{font-size:9px;padding:7px 9px;min-height:34px}.buildings-section,.daily-section{margin-top:22px}.buildings-grid{gap:11px}.building{padding:15px}.building h3{font-size:17px}.building p{font-size:9px;min-height:29px}.building .building-effect{font-size:9px}.building .btn{min-height:35px}.quest-grid{gap:11px}.quest-card{padding:14px}.quest-card p{min-height:28px}.page-footer{flex-direction:column;gap:8px;font-size:8px;margin-top:22px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:calc(66px + env(safe-area-inset-bottom));padding:7px 8px calc(7px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-around;background:#fffcf5f5;backdrop-filter:blur(14px);z-index:40;border-top:1px solid var(--line)}.mobile-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:55px;height:50px;background:transparent;color:#a398a8;font-size:8px;border-radius:10px}.mobile-nav button .icon{width:20px;height:20px}.mobile-nav button.active{background:#efe5f2;color:var(--purple)}.mobile-nav .nav-count{position:absolute;right:5px;top:0;font-size:6px;padding:2px 4px;margin:0}.collection-summary{padding:15px 16px;gap:19px;margin-bottom:18px}.collection-summary>div+div{padding-left:19px}.collection-summary strong{font-size:20px}.collection-summary span{font-size:8px}.collection-summary .thin-progress{display:none}.collection-toolbar{gap:10px;align-items:stretch}.search-field{width:100%;height:39px}.filters{gap:6px}.filter{font-size:9px;padding:8px 11px}.flock-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.sheep-card .card-art{height:151px;padding:13px 12px 0}.sheep-card-info{padding:11px 13px 13px}.sheep-card-info h3{font-size:21px}.sheep-card-subtitle{font-size:8px}.sheep-card-stats{font-size:8px}.rarity-label{font-size:7px;left:10px;top:10px}.team-editor{padding:15px;margin-bottom:19px;gap:13px}.team-editor-copy h3{font-size:19px}.team-editor-copy p{font-size:9px}.team-editor-slots{gap:7px}.team-slot{padding:10px 5px 8px;flex-direction:column;gap:3px;text-align:center}.team-slot .sheep-art{width:72px;max-width:100%}.team-slot h3{font-size:10px}.team-slot p{font-size:8px;margin-top:3px}.team-slot .swap-icon{display:none}.team-slot .slot-num{font-size:6px}.chapter-stages{padding:17px;gap:10px}.stage-node{min-height:57px;font-size:9px}.chapter-banner{padding:17px 20px;height:120px}.chapter-banner h2{font-size:24px}.chapter-banner p{font-size:9px}.expedition-panel{padding:20px}.expedition-panel h2{font-size:25px}.expedition-panel .stage-copy{font-size:10px}.expedition-panel .detail-row{font-size:10px}.expedition-panel .btn{width:100%;margin-top:16px}.expedition-panel .reward-row{display:flex}.summon-scene{min-height:380px;padding:24px 18px}.summon-scene h2{font-size:33px}.summon-scene p{font-size:11px}.summon-controls{padding:18px;margin-top:14px}.free-pull-row .btn{font-size:10px;padding:8px 11px}.free-pull-row h3{font-size:17px}.free-pull-row p{font-size:9px}.summon-side{gap:12px}.summon-side .card{padding:16px}.summon-side h3{font-size:18px}.odds-list li{font-size:10px}.wishlist-help{font-size:9px}.wishlist-preview{flex-direction:column;text-align:center}.wishlist-preview .sheep-art{width:80px}.wishlist-preview p{font-size:8px}.summon-buttons .btn{font-size:12px}.market-intro{padding:20px}.market-intro h2{font-size:25px}.market-intro p{font-size:10px}.market-intro .market-moon{width:49px;height:49px}.market-grid{gap:13px}.market-art{height:125px}.market-art .sheep-art{width:120px}.market-card-copy{padding:15px}.market-card-copy h3{font-size:20px}.market-card-copy p{font-size:9px;min-height:44px}.market-card-copy .btn{font-size:10px;min-height:38px;padding:8px}.market-art>svg{height:54px;width:54px}.market-art .badge{font-size:7px;left:8px;top:8px}.notes-stats{gap:11px}.notes-stat{padding:17px}.notes-stat strong{font-size:25px}.achievement-card{padding:15px;gap:11px}.achievement-icon{width:37px;height:37px}.achievement-info h3{font-size:11px}.achievement-info p{font-size:9px}.achievement-reward{font-size:9px}.modal-backdrop{padding:14px}.modal{padding:25px 22px;border-radius:18px;max-height:91dvh}.modal-head h2{font-size:29px}.detail-hero{margin:-25px -22px 0}.detail-heading h2{font-size:31px}.detail-stats strong{font-size:13px}.detail-stats span{font-size:7px}.detail-actions{gap:8px}.detail-actions .btn{font-size:10px;padding:9px 10px}.reveal-modal{padding:28px 20px}.reveal-modal h2{font-size:29px}.reveal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reveal-card{padding:8px}.reveal-card .sheep-art{width:100px;margin:auto;max-width:100%}.reveal-card h3{font-size:18px}.reveal-card p{font-size:9px}.reveal-single .sheep-art{width:230px}.battle-modal{padding:0}.battle-arena{height:310px;align-items:center}.battle-team{width:44%;gap:0;flex-wrap:wrap;align-items:center}.battle-unit{width:48%;min-width:68px;max-width:98px}.battle-team .battle-unit:first-child{margin-bottom:13px}.battle-team.enemies{flex-direction:row-reverse}.battle-unit .unit-name{font-size:8px}.unit-hp-text{font-size:6px}.battle-top{padding:15px}.battle-top h2{font-size:18px}.battle-top p{font-size:8px}.battle-controls{gap:5px}.battle-controls .btn{font-size:9px;padding:6px 8px;min-height:30px}.battle-round{font-size:8px;top:12px}.battle-vs{font-size:17px}.battle-log{height:78px;padding:12px 17px;font-size:10px}.battle-bottom{padding:16px;gap:12px}.battle-bottom p{font-size:9px;max-width:200px}.battle-bottom .thin-progress{width:80px}.battle-outcome{padding:26px 18px}.battle-outcome h2{font-size:32px}.battle-outcome p{font-size:11px}.battle-outcome .outcome-actions .btn{min-width:0;font-size:10px}.battle-result-art .sheep-art{height:86px;width:86px}.battle-result-art{height:86px}.battle-outcome .reward-row{font-size:18px}.damage-float{font-size:19px}#toast-root{left:50%;bottom:calc(80px + env(safe-area-inset-bottom));max-width:calc(100vw - 26px);width:max-content}.toast{font-size:11px;padding:12px 15px}.setting-row{gap:12px}.select-grid{grid-template-columns:repeat(3,1fr)}.select-sheep{padding:7px}.select-sheep .sheep-art{width:85px}.select-sheep p{font-size:9px}.select-sheep small{font-size:8px}}
@media(max-width:370px){.mobile-brand{font-size:18px;gap:3px}.mobile-brand .icon{height:19px;width:19px}.wallet{font-size:10px;padding:5px}.wallets{gap:4px}.topbar{padding:0 11px}.main-content{padding-left:13px;padding-right:13px}.pasture-scene{height:250px}.scene-sheep:nth-of-type(1){left:4%}.scene-sheep:nth-of-type(2){left:32%}.scene-sheep:nth-of-type(3){left:63%}.page-head h1{font-size:26px}.claim-wool-icon{display:none}.sheep-card .card-art{height:138px}.scene-description p{max-width:140px}.building{padding:13px}.market-card-copy{padding:12px}}
.brand-title,.brand-small{display:block}.dashboard-grid>*{min-width:0}.sheep-art{clip-path:inset(0 1.5%)}.pasture-scene{background-image:url('assets/pasture-panorama.webp');background-position:center}.enemy-sprite{display:block;width:100%;height:100%;aspect-ratio:1;background-image:url('assets/enemy-atlas.webp');background-size:300% 200%;background-repeat:no-repeat;background-position:var(--enemy-x) var(--enemy-y)}.enemy-crown{position:absolute;top:-3%;left:42%;color:#d6b466;filter:drop-shadow(0 1px 2px #75537655)}.enemy-crown .icon{width:27px;height:27px}.outfit-hat{display:block;position:absolute;top:-2%;left:34%;width:42%;transform:rotate(-8deg);pointer-events:none;filter:drop-shadow(0 2px 1px #86574244)}.outfit-hat svg{width:100%;height:auto}.battle-report{margin:25px auto 0;text-align:left;border-top:1px solid var(--line);max-width:670px;padding-top:17px;font-size:10px;color:var(--muted)}.battle-report summary{cursor:pointer;text-align:center;color:var(--purple)}.battle-report ol{max-height:210px;overflow:auto;padding-left:22px;line-height:1.8;margin-top:15px}.battle-report li{padding:4px}.theme-violet:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#a58bc43d,#dbb6ef1a);mix-blend-mode:color;pointer-events:none;z-index:1}.pasture-scene.theme-moonlit{background-image:url('assets/moonfall.webp')}.guide-num .icon{width:14px;height:14px}.market-moon{display:inline-flex;align-items:center;justify-content:center}.market-art .market-moon svg{height:78px;width:78px;color:#b49ac4;stroke-width:1}.reduce-motion *,.reduce-motion *:before,.reduce-motion *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.reduce-motion .firefly{display:none}.battle-unit .unit-name{font-size:10px;background:#fff9eee6;border-radius:5px;padding:3px 5px;max-width:112px;margin:4px auto;color:#68516d;text-shadow:none}.unit-health{height:8px;max-width:110px}.unit-hp-text{display:inline-block;background:#fff9eec9;color:#725d77;border-radius:4px;padding:2px 4px;font-size:9px}.battle-unit.defeated .unit-hp-text{opacity:.6}.tab-guard{background:#eee4f2;color:#886a99;border-bottom:1px solid #dac8e2;padding:11px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.tab-guard .btn{flex-shrink:0}.settings-note+.settings-actions{margin-top:12px}
@media(min-width:1181px){.quest-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.quest-card .between{flex-wrap:wrap;gap:8px}.quest-card .tiny-rewards{font-size:9px;gap:8px}.quest-card .btn{margin-left:auto}}
@media(max-width:1180px){.quest-card:last-child{grid-column:1 / -1}}
@media(max-width:370px){.topbar .sound-btn{display:none}.mobile-brand{flex-shrink:0}}
.quest-card .between{flex-wrap:wrap;gap:8px}.quest-card .btn{margin-left:auto}.market-card-copy .btn{white-space:normal;text-align:center}
@media(max-width:700px){.pasture-scene{background-image:url('assets/pasture.webp');background-position:center 22%}.pasture-scene.theme-moonlit{background-image:url('assets/moonfall.webp')}.battle-unit .unit-name{font-size:8px;padding:3px;max-width:90px}.unit-health{height:6px;max-width:80px}.unit-hp-text{font-size:7px}.tab-guard{padding:10px 15px;font-size:10px}.tab-guard .btn{font-size:9px;min-height:30px;padding:6px 9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}.scene-sheep{animation:none}.firefly{display:none}}
