/* v352: Than hồng · Rồng của bạn · Tủ đồ của rồng. Uses --hl-* tokens with --hlp-* theme fallbacks (light/dark/obsidian). */
:root{--ember-flame:#e2622a;--ember-heart:#b3264a;--ember-heart-soft:#fde8ec}
html[data-ember-flame=blue]{--ember-flame:#3d8fe0}
html[data-ember-flame=gold]{--ember-flame:#e9a514}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]){--ember-heart:#ff9db4;--ember-heart-soft:#4a2230}
.ember-ico-v352{width:18px;height:18px;vertical-align:-3px;flex:none}
.ember-ico-v352.lg{width:28px;height:28px}
/* dragon + accessory overlay */
.ember-dragon-v352{position:relative;display:inline-block;line-height:0;vertical-align:middle}
.ember-acc-v352{position:absolute;left:calc(var(--x)*100%);top:calc(var(--y)*100%);width:calc(var(--w)*100%);transform:translate(-50%,-50%);pointer-events:none;line-height:0;z-index:1}
.ember-acc-v352 svg{width:100%;height:auto;display:block;filter:drop-shadow(0 1px 0 #0003)}
.ember-home-acc-v352{position:absolute;pointer-events:none;z-index:2}
.ember-home-acc-v352 .ember-acc-v352{position:absolute}
/* skins, aura, glow: one filter chain so effects compose */
html[data-ember-skin=jade]{--ember-skin-f:hue-rotate(110deg) saturate(.85)}
html[data-ember-skin=night]{--ember-skin-f:hue-rotate(215deg) saturate(.7) brightness(.85)}
html:is([data-ember-tier="4"],[data-ember-tier="5"]){--ember-aura-f:drop-shadow(0 0 4px var(--ember-flame))}
html[data-ember-tier="5"]{--ember-aura-f:drop-shadow(0 0 3px var(--ember-flame)) drop-shadow(0 0 9px color-mix(in srgb,var(--ember-flame) 55%,transparent))}
html:is([data-ember-skin],[data-ember-tier="4"],[data-ember-tier="5"]) .dragon-image-v334{filter:var(--ember-skin-f,saturate(1)) var(--ember-aura-f,saturate(1))}
.ember-skin-prev-v352[data-skin=jade] .dragon-image-v334{filter:hue-rotate(110deg) saturate(.85)!important}
.ember-skin-prev-v352[data-skin=night] .dragon-image-v334{filter:hue-rotate(215deg) saturate(.7) brightness(.85)!important}
/* flame colour on the in-session ring */
html[data-ember-flame] #runningQuickV256[data-ring-v350=on]::before{background:conic-gradient(var(--ember-flame) var(--ring-v350,0%),color-mix(in srgb,var(--ember-flame) 18%,transparent) 0)}
/* sleepy + wave */
html[data-ember-sleepy=on] #runningQuickV256[data-pet-state=idle] .dragon-image-v334{opacity:.82;transform:rotate(-6deg) translateY(2px)}
@keyframes ember-wave-v352{0%,100%{transform:rotate(0)}25%{transform:rotate(-8deg)}50%{transform:rotate(6deg)}75%{transform:rotate(-4deg)}}
#runningQuickV256[data-ember-wave=on] .dragon-image-v334{animation:ember-wave-v352 .6s ease-in-out 3!important}
.ember-buddy-v352{display:inline-block;vertical-align:middle;margin-left:6px;line-height:0}
.ember-buddy-v352 img{width:22px!important;height:22px!important;animation:none!important}
/* toast */
.ember-toast-v352{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:var(--hl-z-toast,200);display:flex;align-items:center;gap:10px;max-width:min(92vw,420px);padding:10px 14px;border-radius:var(--hl-radius-md,14px);background:var(--hlp-surface,#fff);color:var(--hlp-ink,#2b2118);border:1px solid var(--hlp-border,var(--hl-border,#ebe5de));box-shadow:0 8px 24px #0002;transform:translate(-50%,16px);opacity:0;pointer-events:none;transition:opacity var(--hl-dur,180ms) var(--hl-ease,ease),transform var(--hl-dur,180ms) var(--hl-ease,ease)}
.ember-toast-v352.show{opacity:1;transform:translate(-50%,0)}
.ember-toast-v352 b{display:block;font-size:var(--hl-fs-md,15px)}.ember-toast-v352 small{display:block;font-size:var(--hl-fs-xs,11px);color:var(--hlp-muted,var(--hl-text-2,#5b6470))}
.ember-toast-v352 .ember-ico-v352{width:26px;height:26px}
/* reward screen line */
.ember-rw-v352{display:flex!important;align-items:center;justify-content:space-between;gap:10px}
.ember-rw-main-v352{display:flex;align-items:center;gap:10px;min-width:0}
.ember-rw-main-v352 b{display:block;font-size:var(--hl-fs-md,15px)}
.ember-rw-main-v352 small,.ember-rw-side-v352{font-size:var(--hl-fs-xs,11px);color:var(--hlp-muted,var(--hl-text-2,#5b6470))}
.ember-rw-side-v352{text-align:right;line-height:1.35;white-space:nowrap}.ember-rw-side-v352 b{color:var(--hlp-ink,inherit)}
.ember-feedlink-v352{border:0;background:none;padding:0;font:inherit;font-weight:800;color:var(--hl-fire,#b93a0a);cursor:pointer;min-height:24px;text-decoration:underline;text-underline-offset:2px}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) .ember-feedlink-v352{color:#ffb199}
/* sheets */
dialog.ember-sheet-v352{width:100vw;max-width:520px;height:100dvh;max-height:100dvh;margin:0 auto;padding:0 0 calc(20px + env(safe-area-inset-bottom,0px));border:0;border-radius:0;background:var(--hlp-bg,#f6f1ea);color:var(--hlp-ink,#2b2118);overflow:auto;overscroll-behavior:contain}
dialog.ember-sheet-v352::backdrop{background:#0006}
@media (min-width:560px){dialog.ember-sheet-v352{height:auto;max-height:92dvh;margin:4vh auto;border-radius:var(--hl-radius-lg,20px)}}
.ember-top-v352{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:12px 16px 8px;background:var(--hlp-bg,#f6f1ea)}
.ember-top-v352 h2{margin:0;flex:1;font-size:var(--hl-fs-xl,22px)}
.ember-x-v352{width:var(--hl-tap,44px);height:var(--hl-tap,44px);border-radius:50%;border:1px solid var(--hlp-border,var(--hl-border,#e6dccf));background:var(--hlp-surface,#fff);color:inherit;font-size:22px;line-height:1;cursor:pointer;flex:none}
.ember-bal-v352{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:var(--hl-radius-pill,999px);background:var(--hl-fire-soft,#fff1e8);color:var(--hl-fire,#b93a0a);font-weight:800;font-variant-numeric:tabular-nums}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) .ember-bal-v352{background:#4a2a1c;color:#ffcfb8}
.ember-ro-v352{margin:4px 16px;padding:10px 12px;border-radius:var(--hl-radius-md,14px);background:var(--hlp-soft,#f1ebe3);font-size:var(--hl-fs-sm,13px)}
.ember-card-v352{margin:10px 16px;padding:14px;border-radius:16px;background:var(--hlp-surface,#fff);border:1px solid var(--hlp-border,var(--hl-border,#e6dccf))}
.ember-hero-v352{position:relative;text-align:center;padding-top:18px;background:radial-gradient(circle at 50% 30%,color-mix(in srgb,var(--ember-flame) 16%,var(--hlp-surface,#fff)),var(--hlp-surface,#fff) 70%)}
.ember-hero-v352 .ember-dragon-v352 .dragon-image-v334{width:150px!important;height:150px!important}
#emberDragonV352[data-tier="0"] .ember-hero-v352 .ember-dragon-v352{transform:scale(.82);opacity:.9}
@keyframes ember-fed-v352{0%,100%{transform:translateY(0)}40%{transform:translateY(-10px) scale(1.04)}}
.ember-hero-v352 .ember-dragon-v352.fed{animation:ember-fed-v352 .5s var(--hl-ease,ease) 2}
#emberDragonV352[data-sleepy=on] .ember-hero-v352 .dragon-image-v334{opacity:.85;transform:rotate(-5deg)}
.ember-zz-v352{position:absolute;top:18px;right:28%;margin:0;font-weight:800;color:var(--hlp-muted,#6b6157);font-size:18px}
.ember-zz-v352 span{font-size:14px;margin-left:2px}
.ember-hero-v352 h3{margin:6px 0 2px;font-size:var(--hl-fs-xl,22px)}
.ember-hero-v352 p{margin:0;font-size:var(--hl-fs-sm,13px);color:var(--hlp-muted,var(--hl-text-2,#5b6470))}
.ember-dim-v352{color:var(--hlp-muted,var(--hl-text-2,#5b6470));font-size:var(--hl-fs-xs,11px);font-weight:600}
.ember-sleepy-v352{margin-top:6px!important;font-weight:700}
.ember-tag-v352{display:inline-block;vertical-align:middle;padding:2px 8px;border-radius:999px;background:var(--ember-flame);color:#fff;font-size:var(--hl-fs-xs,11px)}
.ember-heart-v352{display:inline-block;margin-top:10px;padding:4px 10px;border-radius:999px;background:var(--ember-heart-soft);color:var(--ember-heart);font-weight:800;font-size:12px}
.ember-bar-v352{height:9px;border-radius:999px;background:var(--hlp-soft,#f1ebe3);overflow:hidden;margin:10px 0 4px}
.ember-bar-v352 i{display:block;height:100%;background:linear-gradient(90deg,var(--ember-flame),#ff9b4a);border-radius:inherit}
.ember-meta-v352{display:flex;justify-content:space-between;font-size:12px;color:var(--hlp-muted,var(--hl-text-2,#5b6470))}
.ember-btn-v352{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;margin-top:12px;border:0;border-radius:var(--hl-radius-md,14px);background:var(--hl-fire,#b93a0a);color:#fff;font:inherit;font-weight:800;font-size:var(--hl-fs-md,15px);cursor:pointer}
.ember-btn-v352:disabled{background:var(--hlp-soft,#f1ebe3);color:var(--hlp-muted,#6b6157);cursor:default}
.ember-btn-v352.ghost{width:calc(100% - 32px);margin:4px 16px 8px;background:var(--hlp-surface,#fff);color:var(--hlp-ink,#2b2118);border:1px solid var(--hlp-border,var(--hl-border,#e6dccf))}
.ember-btn-v352:focus-visible,.ember-price-v352:focus-visible,.ember-tabs-v352 button:focus-visible,.ember-x-v352:focus-visible,.home-bar-v353:focus-visible{outline:3px solid var(--hlp-accent,#287ab1);outline-offset:2px}
.ember-hint-v352{margin:8px 0 0;font-size:var(--hl-fs-xs,11px);color:var(--hlp-muted,var(--hl-text-2,#5b6470));line-height:1.45}
.ember-days-v352{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:10px;font-size:11px;color:var(--hlp-muted,#6b6157)}
.ember-days-v352 span{display:grid;gap:2px;justify-items:center}
.ember-days-v352 i{display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:10px;background:var(--hlp-soft,#f1ebe3);font-style:normal}
.ember-days-v352 .on i{background:var(--ember-heart-soft);color:var(--ember-heart)}
.ember-name-v352{display:grid;gap:8px}.ember-name-v352>span{display:flex;gap:8px}
.ember-name-v352 input{flex:1;min-width:0;min-height:var(--hl-tap,44px);padding:0 12px;border-radius:12px;border:1px solid var(--hlp-border,#e6dccf);background:var(--hlp-soft,#fff);color:inherit;font:inherit}
.ember-ladder-v352{list-style:none;margin:6px 0 0;padding:0}
.ember-ladder-v352 li{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid var(--hlp-border,#efe6da);font-size:13px}
.ember-ladder-v352 b{display:block;font-size:14px}.ember-ladder-v352 small{color:var(--hlp-muted,#6b6157)}
.ember-ladder-v352 li.lock{opacity:.6}.ember-ladder-v352 li.cur b{color:var(--hl-fire,#b93a0a)}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) .ember-ladder-v352 li.cur b{color:#ffb199}
.ember-lv-v352{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:12px;background:var(--hlp-soft,#f1ebe3)}
.ember-ladder-v352 li:is(.done,.cur) .ember-lv-v352{background:var(--ember-heart-soft);color:var(--ember-heart)}
.ember-row-v352{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.ember-earn-v352{list-style:none;margin:8px 0 0;padding:0;font-size:13px}
.ember-earn-v352 li{display:flex;justify-content:space-between;gap:10px;padding:5px 0}.ember-earn-v352 span{color:var(--hlp-muted,#6b6157);white-space:nowrap}
.ember-hist-v352{list-style:none;margin:10px 0 0;padding:0;font-size:13px}
.ember-hist-v352 li{display:flex;justify-content:space-between;padding:6px 0;border-top:1px solid var(--hlp-border,#efe6da)}
.ember-hist-v352 b{color:var(--hl-ok,#2f855a);font-variant-numeric:tabular-nums}.ember-hist-v352 b.neg{color:var(--hlp-muted,#6b6157)}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) .ember-hist-v352 b{color:#8dd8a8}
.ember-tabs-v352{display:flex;gap:6px;padding:4px 16px 0;overflow-x:auto;scrollbar-width:none}
.ember-tabs-v352 button{flex:none;min-height:40px;padding:0 14px;border-radius:999px;font:inherit;font-size:13px;font-weight:700;background:var(--hlp-surface,#fff);color:var(--hlp-ink,inherit);border:1px solid var(--hlp-border,#e6dccf);cursor:pointer}
.ember-tabs-v352 button[aria-selected=true]{background:var(--hl-fire,#b93a0a);color:#fff;border-color:transparent}
.ember-grid-v352{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 16px}
.ember-item-v352{border-radius:16px;background:var(--hlp-surface,#fff);border:1px solid var(--hlp-border,#e6dccf);padding:10px;text-align:center;display:flex;flex-direction:column;align-items:center}
.ember-item-v352.eq{border:2px solid var(--hl-fire,#b93a0a);padding:9px}
.ember-prev-v352{width:100%;height:96px;border-radius:12px;background:var(--hlp-soft,#f6efe6);display:grid;place-items:center;overflow:hidden}
.ember-prev-v352 .dragon-image-v334{width:84px!important;height:84px!important;animation:none!important}
.ember-pet-prev-v352{width:72px;height:64px}
.ember-swatch-v352{display:flex;gap:6px;width:80%;height:60px;padding:10px;border-radius:10px;box-shadow:inset 0 0 0 1px #0001}
.ember-swatch-v352 i{flex:1;border-radius:6px;box-shadow:0 1px 3px #0002}
.ember-item-v352 b{display:block;margin-top:8px;font-size:13px}
.ember-item-v352 small{display:block;font-size:11px;color:var(--hlp-muted,#6b6157);margin:2px 0 8px;flex:1}
.ember-price-v352{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:0 12px;border:0;border-radius:999px;font:inherit;font-weight:800;font-size:13px;background:var(--hl-fire,#b93a0a);color:#fff;cursor:pointer}
.ember-price-v352 .ember-ico-v352{width:16px;height:16px}
.ember-price-v352.armed{background:#8a2a06}
.ember-price-v352.own{background:var(--hlp-soft,#f1ebe3);color:var(--hlp-ink,#2b2118)}
.ember-price-v352.eq{background:var(--hl-ok,#2f855a)}
.ember-price-v352.lock{background:var(--hlp-soft,#f1ebe3);color:var(--hlp-muted,#6b6157);cursor:default;font-weight:700}
.ember-note-v352{margin:4px 16px 16px;font-size:12px;color:var(--hlp-muted,#6b6157);line-height:1.5}
@media (prefers-reduced-motion:reduce){#runningQuickV256[data-ember-wave=on] .dragon-image-v334,.ember-hero-v352 .ember-dragon-v352.fed{animation:none!important}.ember-toast-v352{transition:none}}
html[data-reward-motion=off] :is(#runningQuickV256[data-ember-wave=on] .dragon-image-v334,.ember-hero-v352 .ember-dragon-v352.fed){animation:none!important}
/* v353 · one Home bar: level/XP + than hồng; tap → compact sheet */
.home-bar-v353 #homeXpTextV321{display:none}
@media (min-width:430px){.home-bar-v353 #homeXpTextV321{display:inline}}
.home-bar-v353 .home-ember-v353{display:inline-flex;align-items:center;gap:4px;flex:none;padding-left:9px;margin-left:1px;border-left:1px solid var(--hlp-border,var(--hl-border,#e6dccf));font-size:13px!important;line-height:1}
.home-bar-v353 .home-ember-v353[hidden]{display:none}
.home-ember-v353 .ember-ico-v352{width:17px;height:17px}
.home-ember-v353 b{color:var(--hl-fire,#b93a0a);font-weight:800;font-variant-numeric:tabular-nums}
.home-ember-dot-v353{width:7px;height:7px;border-radius:50%;background:var(--hl-danger,#d6332a);box-shadow:0 0 0 2px var(--hlp-surface,#fff);margin-left:-1px;align-self:flex-start;margin-top:1px}
.home-bar-v353 .home-bar-chev-v353{flex:none;opacity:.6}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) .home-ember-v353 b{color:#ffb199}
dialog.ember-sheet-v352.st-sheet-v353{height:fit-content;max-height:88dvh;margin:auto auto 0;border-radius:var(--hl-radius-lg,20px) var(--hl-radius-lg,20px) 0 0;padding-top:4px}
dialog.st-sheet-v353::backdrop{background:rgba(20,14,10,.42)}
@media (min-width:560px){dialog.ember-sheet-v352.st-sheet-v353{margin:auto;border-radius:var(--hl-radius-lg,20px)}}
.st-sheet-v353 .st-card-v353{margin:8px 16px;padding:12px 14px}
.st-head-v353{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.st-head-v353>div{display:grid;gap:2px;min-width:0}
.st-head-v353 b{font-size:var(--hl-fs-md,15px)}
.st-head-v353 small,.st-dragon-v353 small{color:var(--hlp-muted,var(--hl-text-2,#5b6470));font-size:12px}
.st-rank-v353{flex:0 0 36px;display:grid;place-items:center;color:#a87925}
.st-rank-v353 .rank-symbol-v325{width:34px;height:34px}
.st-xp-v353>i{background:linear-gradient(90deg,#c28a2a,#efc763)}
.st-line-v353{margin:8px 0 0;font-size:13px;color:var(--hlp-muted,var(--hl-text-2,#5b6470))}
.st-line-v353 b{color:var(--hlp-ink,#2b2118)}
.st-sheet-v353 .ember-btn-v352{min-height:46px;margin-top:10px}
.st-sheet-v353 .ember-btn-v352.ghost{width:100%;margin:10px 0 0}
.st-bal-v353{display:inline-flex;align-items:center;gap:6px;font-size:20px;color:var(--hl-fire,#b93a0a);font-variant-numeric:tabular-nums}
.st-bal-v353 .ember-ico-v352{width:22px;height:22px}
.st-bal-v353 span{font-size:13px;color:var(--hlp-muted,var(--hl-text-2,#5b6470));font-weight:600}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) .st-bal-v353{color:#ffb199}
.st-dragon-v353{display:flex;align-items:center;gap:10px;margin-top:10px}
.st-dragon-v353>div{display:grid;gap:2px;min-width:0}
.st-dragon-v353 .ember-dragon-v352 .dragon-image-v334{width:52px!important;height:52px!important}
.st-sheet-v353 .ember-ro-v352{margin:10px 0 0}
.st-links-v353{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.st-links-v353 .ember-btn-v352.ghost{margin-top:8px}
.home-bar-v353:active{transform:scale(.99)}
@media (prefers-reduced-motion:reduce){.home-bar-v353:active{transform:none}}
html[data-reward-motion=off] .home-bar-v353:active{transform:none}

/* v402: wardrobe preview, equipped slots and compact inventory */
.wardrobe-hero-v402{display:grid;grid-template-columns:118px minmax(0,1fr);gap:8px 12px;margin:8px 16px;padding:12px;border:1px solid var(--hlp-border,#e6dccf);border-radius:18px;background:var(--hlp-surface,#fff)}
.wardrobe-model-v402{display:grid;place-items:center;min-height:118px;border-radius:14px;background:var(--hlp-soft,#f6efe6)}
.wardrobe-model-v402 .dragon-image-v334{width:112px!important;height:112px!important;image-rendering:pixelated;animation:none!important}
.wardrobe-info-v402{align-self:center;min-width:0}.wardrobe-info-v402>b{font-size:16px}.wardrobe-info-v402 p{font-size:12px;line-height:1.5;color:var(--hlp-muted,#6b6157)}
.wardrobe-info-v402 button,.wardrobe-slots-v402 button{border:0;background:var(--hlp-soft,#f1ebe3);color:var(--hlp-ink,#2b2118);border-radius:10px;min-height:44px;padding:6px 10px;font:inherit;font-size:12px}
.wardrobe-slots-v402{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.wardrobe-slots-v402>div{display:grid;align-content:start;gap:4px;padding:8px;border-radius:10px;background:var(--hlp-soft,#f6efe6)}
.wardrobe-slots-v402 small{font-size:11px;color:var(--hlp-muted,#6b6157)}.wardrobe-slots-v402 b{font-size:12px;overflow-wrap:anywhere}
.wardrobe-slots-v402 button{padding:0;text-align:left;color:var(--hl-fire,#b93a0a)}
.wardrobe-filters-v402{display:flex;gap:6px;padding:8px 16px 0}.wardrobe-filters-v402 button{flex:1;min-height:44px;border:1px solid var(--hlp-border,#e6dccf);border-radius:12px;background:var(--hlp-surface,#fff);color:var(--hlp-ink,#2b2118);font:inherit;font-size:12px;font-weight:600}
.wardrobe-filters-v402 button[aria-pressed=true]{background:var(--hl-fire-soft,#fff1e8);color:var(--hl-fire,#b93a0a);border-color:currentColor}
#emberShopV352 .ember-grid-v352{align-items:stretch;gap:8px}
#emberShopV352 .ember-item-v352{padding:8px;border-radius:14px;min-width:0}
#emberShopV352 .ember-item-v352.eq{padding:7px}
#emberShopV352 .ember-prev-v352{height:96px;min-height:96px;border:0;padding:0;color:inherit;cursor:pointer}
#emberShopV352 .ember-prev-v352 .dragon-image-v334{width:100px!important;height:100px!important;image-rendering:pixelated}
#emberShopV352 .ember-item-v352>b{margin-top:6px}
#emberShopV352 .ember-price-v352{min-height:44px;font-size:12px;max-width:100%;padding:6px 9px;flex-wrap:wrap}
#emberShopV352 .ember-price-v352.lock{color:var(--hlp-ink,#51483f)}
#emberShopV352 button:focus-visible{outline:3px solid var(--hlp-accent,#287ab1);outline-offset:2px}
#emberShopV352 button:active{transform:scale(.97)}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) .wardrobe-filters-v402 button[aria-pressed=true]{background:#4a2a1c;color:#ffcfb8}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) .wardrobe-slots-v402 button{color:#ffcfb8}
@media(max-width:360px){.wardrobe-hero-v402{grid-template-columns:96px minmax(0,1fr)}.wardrobe-model-v402 .dragon-image-v334{width:96px!important;height:96px!important}#emberShopV352 .ember-top-v352{gap:6px;padding-inline:12px}#emberShopV352 .ember-top-v352 h2{font-size:18px}#emberShopV352 .ember-bal-v352{padding:6px 8px}}
@media(prefers-reduced-motion:reduce){#emberShopV352 button:active{transform:none}}
html[data-reward-motion=off] #emberShopV352 button:active{transform:none}

/* v403 · collectible wardrobe */
#emberShopV352 .wardrobe-hero-v402{scroll-margin-top:72px}
#emberShopV352{background:var(--hlp-bg,#faf7f2)}
#emberShopV352 .ember-top-v352{padding-bottom:12px}
#emberShopV352 .wardrobe-hero-v402{position:relative;grid-template-columns:minmax(140px,1.1fr) minmax(0,1fr);gap:8px 12px;padding:14px;margin-top:4px;overflow:hidden;border-color:color-mix(in srgb,var(--ember-flame) 22%,var(--hlp-border,#e6dccf));background:radial-gradient(ellipse at 24% 40%,#fff0d9 0,transparent 65%),var(--hlp-surface,#fff);box-shadow:0 8px 24px #6d3a1610}
#emberShopV352 .wardrobe-model-v402{position:relative;min-height:194px;padding-top:24px;background:none;isolation:isolate;overflow:visible}
#emberShopV352 .wardrobe-model-v402>.ember-dragon-v352{z-index:2;transform:translateY(-5px)}
#emberShopV352 .wardrobe-model-v402 .dragon-image-v334{width:160px!important;height:160px!important;filter:drop-shadow(0 7px 3px #71341424)}
.wardrobe-halo-v403{position:absolute;inset:6% 0 10%;border:1px solid #e7b86a66;border-radius:50%;background:radial-gradient(circle,#ffdc9940,transparent 68%);z-index:-1}
.wardrobe-halo-v403:before,.wardrobe-halo-v403:after{content:'✦';position:absolute;top:16%;left:9%;color:#d69a43;font-size:12px;animation:wardrobe-twinkle-v403 3s ease-in-out infinite}
.wardrobe-halo-v403:after{left:auto;right:5%;top:55%;font-size:8px;animation-delay:-1.5s}
.wardrobe-podium-v403{position:absolute;bottom:2px;left:8%;right:8%;height:24px;border-radius:50%;background:linear-gradient(#f9dfb5,#d5ac75);border:1px solid #c2996660;box-shadow:0 6px 0 #ca9c6560,0 12px 14px #a6773c18;z-index:-1}
.wardrobe-eyebrow-v403{display:block;font-size:9px;font-weight:800;letter-spacing:1.5px;color:var(--hlp-muted,#806b58);margin-bottom:8px}
#emberShopV352 .wardrobe-info-v402>b{display:block;font-size:19px;line-height:1.25}
#emberShopV352 .wardrobe-info-v402 p{font-size:12px;margin:8px 0;line-height:1.4}
.wardrobe-count-v403{display:inline-block;font-size:11px;line-height:1.4;padding:6px 8px;border:1px solid #d6ad6b55;border-radius:9px;background:var(--hlp-surface,#fffcf6);color:var(--hlp-muted,#78634c)}
.wardrobe-trial-actions-v403{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
#emberShopV352 .wardrobe-trial-actions-v403 .ember-price-v352{border-radius:10px;min-height:38px}
#emberShopV352 .wardrobe-trial-actions-v403>button[data-ember=resetpreview]{min-height:38px;background:transparent;text-decoration:underline;color:var(--hlp-muted,#6b6157);padding:4px}
#emberShopV352 .wardrobe-slots-v402{gap:6px;margin-top:4px}
#emberShopV352 .wardrobe-slots-v402>div{position:relative;background:var(--hlp-surface,#fffaf2);border:1px solid var(--hlp-border,#eadfce);padding:8px;gap:3px}
#emberShopV352 .wardrobe-slots-v402 small{font-size:10px;font-weight:700}
#emberShopV352 .wardrobe-slots-v402 b{font-size:11px;line-height:1.35}
#emberShopV352 .wardrobe-slots-v402 button{min-height:32px;font-size:11px}
#emberShopV352 .ember-tabs-v352{gap:5px;padding-top:6px;padding-bottom:2px}
#emberShopV352 .ember-tabs-v352 button{flex:1;min-width:0;padding:0 7px;min-height:42px;font-size:12px}
.wardrobe-collections-v403{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding:10px 16px 5px;scrollbar-width:thin}
.wardrobe-collections-v403>button{flex:0 0 126px;scroll-snap-align:start;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px;padding:9px 10px;min-height:58px;border-radius:12px;border:1px solid var(--hlp-border,#e6dccf);color:var(--hlp-ink,#2b2118);background:var(--hlp-surface,#fff);font:inherit;text-align:left;cursor:pointer;--set-color:#b65b2d}
.wardrobe-collections-v403 span{font-size:12px;font-weight:700;grid-column:1/-1}
.wardrobe-collections-v403 b{font-size:10px;color:var(--hlp-muted,#6b6157);font-variant-numeric:tabular-nums}
.wardrobe-collections-v403 i{display:block;height:4px;width:54px;border-radius:4px;background:var(--hlp-soft,#eee5da);overflow:hidden}
.wardrobe-collections-v403 em{display:block;height:100%;background:var(--set-color);border-radius:inherit}
.wardrobe-collections-v403 button[aria-pressed=true]{border-color:var(--set-color);box-shadow:inset 0 0 0 1px var(--set-color);background:color-mix(in srgb,var(--set-color) 7%,var(--hlp-surface,#fff))}
#emberShopV352 .wardrobe-filters-v402{padding-top:5px}
#emberShopV352 .wardrobe-filters-v402 button{border:0;background:transparent;font-size:11px;min-height:38px}
#emberShopV352 .wardrobe-filters-v402 button[aria-pressed=true]{background:var(--hlp-soft,#f0e8dd);color:var(--hlp-ink,#2b2118)}
#emberShopV352 .ember-grid-v352{gap:10px;padding-top:6px}
#emberShopV352 .ember-item-v352{display:block;padding:0;border-radius:16px;overflow:hidden;box-shadow:0 3px 9px #5e3b1910;border:1px solid var(--hlp-border,#e6dccf)}
.wardrobe-item-inner-v403{height:100%;display:flex;flex-direction:column;align-items:center;padding:8px}
#emberShopV352 .ember-item-v352:has(.wardrobe-item-inner-v403.eq){border-color:var(--hl-fire,#b93a0a);box-shadow:inset 0 0 0 1px var(--hl-fire,#b93a0a)}
#emberShopV352 .ember-item-v352.trying{border-color:#b88929;box-shadow:0 0 0 2px #b8892940}
#emberShopV352 .ember-prev-v352{position:relative;height:118px;min-height:118px;border-radius:10px;background:radial-gradient(ellipse at 50% 40%,#fff9ed,#f3e6d3);overflow:hidden;isolation:isolate}
#emberShopV352 .ember-item-v352[data-set=adventure] .ember-prev-v352{background:radial-gradient(ellipse at 50% 40%,#f1fff4,#d9e9df)}
#emberShopV352 .ember-item-v352[data-set=magic] .ember-prev-v352{background:radial-gradient(ellipse at 50% 40%,#fbf6ff,#e9dff4)}
#emberShopV352 .ember-item-v352[data-set=royal] .ember-prev-v352{background:radial-gradient(ellipse at 50% 40%,#fff8df,#f1dfb0)}
#emberShopV352 .ember-item-v352[data-set=gifts] .ember-prev-v352{background:radial-gradient(ellipse at 50% 40%,#fff4f6,#f1dce5)}
.wardrobe-object-v403{display:grid;place-items:center;width:78px;height:78px;transform:translateY(-7px);filter:drop-shadow(0 8px 3px #38281928)}
.wardrobe-object-v403 svg{width:100%;height:auto;max-height:78px;image-rendering:pixelated}
.wardrobe-badge-v403{position:absolute;left:6px;bottom:6px;font-size:9px;font-weight:700;line-height:1.4;padding:3px 6px;border-radius:6px;background:#ffffffbf;color:#66513c;backdrop-filter:blur(4px)}
#emberShopV352 .ember-item-v352 b{font-size:13px;line-height:1.35;margin-top:8px}
#emberShopV352 .ember-item-v352 small{font-size:10px;line-height:1.35;margin:3px 0 8px}
#emberShopV352 .ember-price-v352{width:100%;border-radius:10px;min-height:40px;font-size:12px;margin-top:auto}
#emberShopV352 .ember-price-v352.eq{background:var(--hl-ok,#2f855a);color:white}
#emberShopV352 .ember-price-v352.lock{background:var(--hlp-soft,#f1ebe3)}
@keyframes wardrobe-twinkle-v403{0%,100%{opacity:.3;transform:scale(.7)}50%{opacity:.9;transform:scale(1.15)}}
@keyframes wardrobe-try-v403{0%,100%{transform:translateY(-5px)}45%{transform:translateY(-13px) rotate(-3deg)}}
@keyframes wardrobe-equip-v403{0%,100%{opacity:.2;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}}
.wardrobe-fx-try .wardrobe-model-v402>.ember-dragon-v352,.wardrobe-fx-equip .wardrobe-model-v402>.ember-dragon-v352{animation:wardrobe-try-v403 .4s ease-out}
.wardrobe-fx-equip .wardrobe-halo-v403{animation:wardrobe-equip-v403 .6s ease-out}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) #emberShopV352 .wardrobe-hero-v402{background:radial-gradient(ellipse at 24% 40%,#5b39254d,transparent 65%),var(--hlp-surface,#26221e)}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) #emberShopV352 .ember-prev-v352{background:radial-gradient(ellipse at 50% 40%,#4d3b30,#302921)}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) #emberShopV352 .ember-item-v352[data-set=adventure] .ember-prev-v352{background:radial-gradient(ellipse at 50% 40%,#304b40,#24342f)}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) #emberShopV352 .ember-item-v352[data-set=magic] .ember-prev-v352{background:radial-gradient(ellipse at 50% 40%,#443256,#30263d)}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) #emberShopV352 .ember-item-v352[data-set=royal] .ember-prev-v352{background:radial-gradient(ellipse at 50% 40%,#514426,#332d23)}
html:is([data-hlp-theme=dark],[data-hlp-theme=obsidian]) #emberShopV352 .ember-item-v352[data-set=gifts] .ember-prev-v352{background:radial-gradient(ellipse at 50% 40%,#52303e,#35262e)}
@media(max-width:360px){#emberShopV352 .wardrobe-hero-v402{grid-template-columns:minmax(112px,1fr) minmax(0,1fr);padding:10px;gap:6px}#emberShopV352 .wardrobe-model-v402{min-height:140px}#emberShopV352 .wardrobe-model-v402 .dragon-image-v334{width:132px!important;height:132px!important}#emberShopV352 .wardrobe-info-v402>b{font-size:16px}#emberShopV352 .ember-item-v352 b{font-size:12px}}
@media(prefers-reduced-motion:reduce){#emberShopV352 *{animation:none!important;scroll-behavior:auto!important}}
html[data-reward-motion=off] #emberShopV352 *{animation:none!important;scroll-behavior:auto!important}
