.main-nav{gap:22px}
select{font:inherit;color:var(--ink);touch-action:manipulation}
.feature-links{display:flex;flex-wrap:wrap;gap:24px;margin-top:25px}
.gameplay-note,.collection-customization-note,.play-objective-link{display:flex;align-items:center;gap:25px;padding:24px 28px;border:1px solid var(--line);border-radius:20px;background:#e9eddf;margin-top:28px}
.gameplay-note>span{font-size:35px;color:var(--green)}
.gameplay-note h2{font-size:21px;margin-bottom:10px}
.gameplay-note p,.collection-customization-note p,.play-objective-link p{font-size:12px;margin-bottom:0;max-width:770px}
.collection-customization-note{margin:0 0 25px;justify-content:space-between}
.collection-customization-note strong{font-size:14px}
.collection-customization-note .text-link{flex-shrink:0}
.play-objective-link{justify-content:space-between;background:var(--white)}
.play-objective-link h2{font-size:23px;margin:10px 0}
.play-objective-link .button{flex-shrink:0}
.objective-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.objective-card{padding:25px;background:var(--white);border:1px solid var(--line);border-radius:24px;display:flex;flex-direction:column;align-items:flex-start}
.objective-card.is-ready{border-color:#849e76;box-shadow:0 10px 35px #395c4910}
.objective-card.is-claimed{background:#eef1e7}
.objective-topline{display:flex;justify-content:space-between;gap:10px;align-items:center;width:100%}
.objective-status{font-size:10px;color:var(--muted)}
.is-ready .objective-status{color:var(--green);font-weight:650}
.objective-portrait{width:100%;display:grid;place-items:center;margin:12px 0;border-radius:50%;background:radial-gradient(ellipse,#e5ecdb 0%,transparent 70%)}
.objective-portrait img{width:190px;height:190px;object-fit:contain}
.objective-portrait>span{font-size:100px;color:var(--muted)}
.objective-card h2{font-size:25px;margin-bottom:12px}
.objective-card>p{font-size:13px;margin-bottom:12px}
.objective-card>.rarity{margin-bottom:20px}
.objective-progress-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;width:100%;margin-top:auto;margin-bottom:10px}
.objective-progress{appearance:none;-webkit-appearance:none;width:100%;height:8px;border:0;border-radius:10px;background:#e1e7d9;overflow:hidden;margin-bottom:24px}
.objective-progress::-webkit-progress-bar{background:#e1e7d9;border-radius:10px}
.objective-progress::-webkit-progress-value{background:#6c8c60;border-radius:10px}
.objective-progress::-moz-progress-bar{background:#6c8c60;border-radius:10px}
.objective-card form{width:100%}
.creature-portrait,.refuge-companion{position:relative;isolation:isolate}
.creature-portrait img,.refuge-companion img{position:relative;z-index:1}
.appearance-glow:before,.appearance-starlight:before{content:"";position:absolute;inset:12%;border-radius:50%;background:radial-gradient(ellipse,#f1d99199,transparent 72%);box-shadow:0 0 25px #e4c97430;z-index:0;pointer-events:none}
.appearance-starlight:before{background:radial-gradient(ellipse,#c8b7e5b3,transparent 72%);box-shadow:0 0 28px #b699dc45}
.cosmetic-sparkles{display:none;pointer-events:none}
.appearance-starlight .cosmetic-sparkles{display:block;position:absolute;inset:12% 5% auto;text-align:center;color:#8d6fb6;word-spacing:24px;font-size:21px;z-index:2;animation:refuge-twinkle 4s ease-in-out infinite}
.appearance-form{margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}
.appearance-form label{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}
.appearance-form>div{display:flex;flex-wrap:wrap;gap:7px}
.appearance-form select{width:100%;min-height:40px;border:1px solid #cbd6c3;border-radius:8px;background:var(--white);padding:7px;font-size:11px}
.appearance-save{border:1px solid #cbd6c3;border-radius:8px;padding:7px 12px;min-height:38px;background:#e9eddf;color:var(--green);font-size:11px;width:100%}
.appearance-save:hover{background:#dce6d3}
.refuge-scene{position:relative;isolation:isolate;overflow:hidden;border:1px solid #d5dfcb;border-radius:30px;height:550px;background:linear-gradient(#e7efe5 0%,#f0f2e0 62%,#e1e8d0 100%)}
.refuge-sky{position:absolute;inset:0;z-index:-2}
.refuge-sun{position:absolute;right:13%;top:10%;width:60px;height:60px;border-radius:50%;background:#f3df9b;box-shadow:0 0 50px #f1d89670}
.refuge-cloud{position:absolute;background:#fffffb90;width:125px;height:26px;border-radius:50%;filter:blur(1px)}
.cloud-left{top:15%;left:15%;transform:rotate(-5deg)}
.cloud-right{top:24%;right:29%;width:90px}
.refuge-stars{display:none}
.refuge-island{position:absolute;left:12%;right:12%;bottom:3%;height:65%;border-radius:50%;background:radial-gradient(ellipse at 45% 25%,#dde9ba 0%,#bacf9e 60%,#a5be8f 100%);box-shadow:0 25px 45px #62794b20;z-index:-1}
.refuge-path{position:absolute;left:40%;bottom:5%;width:18%;height:43%;border-radius:50%;background:#e7dfbb65;transform:rotate(-18deg);z-index:-1}
.refuge-seat{position:absolute;width:145px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:0;border-radius:18px}
.refuge-seat:hover .seat-caption{background:#fffffff2}
.refuge-companion{width:145px;height:145px;display:grid;place-items:center}
.refuge-companion img{width:145px;height:145px;object-fit:contain;animation:refuge-bob 6s ease-in-out infinite}
.seat-2 img,.seat-5 img{animation-delay:-2s}
.seat-3 img,.seat-6 img{animation-delay:-4s}
.refuge-seat:hover img{animation-duration:2s}
.seat-caption{border-radius:99px;padding:3px 12px;background:#fffefaaf;color:#395342;font-size:11px;line-height:1.6;max-width:100%;text-align:center;transition:background .2s}
.seat-1{top:25%;left:27%}.seat-2{top:18%;left:50%}.seat-3{top:25%;left:73%}
.seat-4{top:55%;left:29%}.seat-5{top:59%;left:50%}.seat-6{top:55%;left:71%}
.empty-seat{padding-top:44px}
.empty-seat-mark{display:grid;place-items:center;width:58px;height:58px;border:1px dashed #7a976799;border-radius:50%;color:#6c8956;font-size:23px;margin-bottom:14px;background:#f6f7e545}
.refuge-scene-label{position:absolute;left:25px;top:23px;color:#657761;font-size:10px;letter-spacing:.06em}
.refuge-ornaments{position:absolute;inset:0;z-index:-1;pointer-events:none}
.ornament{position:absolute;width:27px;height:32px;border-radius:50% 50% 30% 30%;background:#6f94618c}
.ornament-one{left:17%;bottom:20%;transform:rotate(-15deg)}.ornament-two{left:39%;bottom:10%}.ornament-three{right:16%;bottom:24%;transform:rotate(14deg)}.ornament-four{right:33%;bottom:9%}.ornament-five{left:41%;top:31%;width:18px;height:22px}
.decoration-flowers .ornament{background:none}
.decoration-flowers .ornament:before{content:"✿";font-size:36px;color:#c88499;text-shadow:5px 6px #eed5a0}
.decoration-stones .ornament{background:#a5aaa1;border-radius:55% 45% 35% 40%;height:22px;box-shadow:inset -5px -4px #84908660}
.decoration-lanterns .ornament{width:22px;height:32px;background:#e6c470;border:2px solid #9b8653;border-radius:7px;box-shadow:0 0 24px #ffdfa580}
.decoration-lanterns .ornament:before{content:"";position:absolute;left:7px;top:30px;width:3px;height:23px;background:#9b8653}
.theme-coast{background:linear-gradient(#dceef0 0%,#e8f4f1 55%,#b3d6d5 100%);border-color:#c5dddb}
.theme-coast .refuge-island{background:radial-gradient(ellipse at 50% 20%,#f2e5bd,#decea6 80%);box-shadow:0 15px 0 #ffffff50,0 29px 0 #75b7bc30,0 40px 30px #41858c25}
.theme-coast .refuge-path{background:#f9eed17a}
.theme-night{background:linear-gradient(#29344a,#525374 65%,#747792);border-color:#59647b}
.theme-night .refuge-sun{background:#f0e8c7;width:48px;height:48px;box-shadow:0 0 30px #e9e2bf30}
.theme-night .refuge-cloud{background:#ffffff10}
.theme-night .refuge-stars{display:block;position:absolute;top:11%;left:26%;font-size:22px;color:#e9debe;word-spacing:25px;letter-spacing:10px}
.theme-night .refuge-island{background:radial-gradient(ellipse at 50% 20%,#8e9e89,#647866 80%);box-shadow:0 25px 45px #1d2e3b35}
.theme-night .refuge-path{background:#b4ab9560}
.theme-night .refuge-scene-label{color:#e0e1e9}
.theme-night .empty-seat-mark{border-color:#d1d9bf99;color:#e5eccd;background:#ffffff10}
.theme-night .cosmetic-sparkles{color:#e3d7ff}
.refuge-story{display:flex;justify-content:center;align-items:center;gap:12px;padding:22px 10px;text-align:center;font-size:13px}
.refuge-story>span{color:#91a77b}
.refuge-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:25px;align-items:start}
.refuge-editor{max-width:none;width:100%}
.refuge-editor>p,.refuge-unlocks>p{font-size:12px}
.refuge-settings{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.refuge-settings>.form-field:first-child{grid-column:1/-1}
.refuge-slot-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;margin-bottom:15px}
.refuge-editor select{width:100%;min-height:46px;border:1px solid #d6ddcf;border-radius:10px;background:var(--white);padding:10px 12px;font-size:13px}
.refuge-editor h3{margin-top:22px}
.refuge-unlocks{background:#e9eddf;border:1px solid #dce2d1;border-radius:22px;padding:25px}
.refuge-unlocks h2{font-size:24px}
.refuge-unlocks h3{font-size:16px;margin-top:24px;margin-bottom:8px}
.refuge-unlocks .eyebrow{font-size:8px}
.refuge-unlock{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;padding:11px 0;border-bottom:1px solid #d2dbc8;color:#75826f}
.refuge-unlock small{font-size:9px;text-align:right}
.refuge-unlock.unlocked{color:#395c49}
.refuge-unlocks>.text-link{margin-top:25px}
@keyframes refuge-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes refuge-twinkle{0%,100%{opacity:.55}50%{opacity:1}}
@media(max-width:1080px){.nav-shell{flex-wrap:wrap;padding-top:15px;padding-bottom:15px;gap:12px 22px}.main-nav{order:3;width:100%;justify-content:center;gap:32px}.nav-account{margin-left:auto}.refuge-layout{grid-template-columns:minmax(0,1fr) 280px}.objective-card{padding:20px}.objective-topline{align-items:flex-start;flex-direction:column;gap:5px}}
@media(max-width:760px){.objective-grid{grid-template-columns:1fr}.objective-card{display:block;padding:24px}.objective-topline{flex-direction:row;align-items:center}.objective-portrait img{width:160px;height:160px}.objective-card h2{font-size:24px}.objective-progress-label{margin-top:20px}.gameplay-note,.collection-customization-note,.play-objective-link{align-items:flex-start;flex-direction:column;padding:22px;gap:15px}.gameplay-note>span{display:none}.refuge-layout{grid-template-columns:1fr}.refuge-scene{height:460px}.refuge-seat,.refuge-companion,.refuge-companion img{width:110px}.refuge-companion,.refuge-companion img{height:110px}.seat-1,.seat-3{top:29%}.seat-2{top:23%}.seat-4,.seat-6{top:56%}.seat-5{top:62%}.refuge-story{font-size:12px}.empty-seat{padding-top:23px}.refuge-scene-label{font-size:9px}.main-nav{gap:24px}}
@media(max-width:480px){.main-nav{justify-content:space-between;gap:10px}.main-nav a{font-size:11px}.refuge-scene{height:365px;border-radius:22px}.refuge-seat,.refuge-companion,.refuge-companion img{width:88px}.refuge-companion,.refuge-companion img{height:88px}.seat-caption{font-size:9px;padding:2px 7px}.seat-1,.seat-4{left:23%}.seat-3,.seat-6{left:77%}.seat-4,.seat-6{top:58%}.seat-5{top:66%}.empty-seat-mark{width:42px;height:42px;font-size:19px;margin-bottom:11px}.empty-seat{padding-top:22px}.refuge-scene-label{left:17px;top:17px;font-size:8px}.refuge-sun{width:42px;height:42px}.refuge-cloud{width:90px}.refuge-stars{font-size:14px!important;word-spacing:4px!important;letter-spacing:2px!important}.ornament-one{left:10%}.ornament-three{right:10%}.refuge-settings,.refuge-slot-fields{grid-template-columns:1fr}.refuge-settings>.form-field:first-child{grid-column:auto}.appearance-starlight .cosmetic-sparkles{font-size:16px;word-spacing:10px}.play-objective-link h2{font-size:20px}.appearance-form select{font-size:10px}.collection-customization-note p{font-size:11px}}
.analytics-preferences { margin-bottom: 24px; }
.analytics-preferences label { display: flex; align-items: center; gap: 10px; }
.analytics-preferences details { margin-top: 16px; }
.analytics-preferences code { overflow-wrap: anywhere; }

.rarity.epic{color:#88449f;background:#f0e4f5}.rarity-dot.epic{background:#a66abc}
.rarity.superlegend{color:#a44972;background:#f9e5ee}.rarity-dot.superlegend{background:#cf769f}
.creature-card.epic{border-color:#d9bee5}.creature-card.superlegend{border-color:#e5b5cb;background:linear-gradient(145deg,#fffdf6,#faedf4)}
.draw-result.epic:before{background:radial-gradient(ellipse,#d6b3ec80,transparent 70%)}
.draw-result.superlegend:before{background:radial-gradient(ellipse,#edb6d080,transparent 70%)}
.progress-track{display:flex;flex-wrap:wrap;gap:3px;height:auto;min-height:24px}.progress-track>span{flex:0 0 calc(5% - 3px);height:7px}
.main-nav{gap:18px;flex-wrap:wrap}.filter-tabs{flex-wrap:wrap}
.leaderboard-list{border:1px solid var(--line);border-radius:20px;background:var(--white);overflow:hidden}
.leaderboard-row{display:flex;align-items:center;gap:22px;padding:22px;border-bottom:1px solid var(--line)}
.leaderboard-row:last-child{border-bottom:0}.leaderboard-row.is-me{background:#e9eddf}
.leaderboard-rank{font:28px Georgia,serif;min-width:65px}.leaderboard-row h2{font-size:20px;margin:0 0 7px}.leaderboard-row p{margin:0;font-size:12px}
.leaderboard-actions{margin-left:auto;display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:600px){.leaderboard-row{flex-wrap:wrap;gap:14px;padding:18px}.leaderboard-actions{margin-left:0;width:100%}.leaderboard-rank{min-width:45px}.main-nav{gap:10px}.main-nav a{font-size:10px}}
