:root{
  --bg:#0d0d10;--panel:#151519;--panel2:#1b1b21;--panel3:#222228;--text:#f7f7f4;--muted:#93939d;--line:rgba(255,255,255,.08);
  --accent:#ff6240;--accent2:#ff896f;--accent-ink:#160806;--soft:rgba(255,98,64,.12);--nav:rgba(13,13,16,.9);--danger:#ff5f66;
  --shadow:0 28px 80px rgba(0,0,0,.36);--radius:28px;--radius2:22px;--tg-safe-top:0px;--tg-safe-right:0px;--tg-safe-bottom:0px;--tg-safe-left:0px;
  --safe-top:max(14px,env(safe-area-inset-top),var(--tg-safe-top));--safe-right:max(16px,env(safe-area-inset-right),var(--tg-safe-right));--safe-bottom:max(10px,env(safe-area-inset-bottom),var(--tg-safe-bottom));--safe-left:max(16px,env(safe-area-inset-left),var(--tg-safe-left));
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;
}
:root[data-theme="light"]{--bg:#f4f2ee;--panel:#fff;--panel2:#eeebe6;--panel3:#e7e3dc;--text:#161618;--muted:#6f6c71;--line:rgba(22,22,24,.09);--accent:#f04f2e;--accent2:#fa7557;--accent-ink:#fff8f4;--soft:rgba(240,79,46,.09);--nav:rgba(244,242,238,.92);--shadow:0 24px 65px rgba(47,37,30,.12)}
*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100dvh;background:var(--bg);color:var(--text);overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button{font:inherit;color:inherit}button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.app-shell{width:min(100%,780px);margin:0 auto;min-height:100dvh;padding:calc(var(--safe-top) + 4px) var(--safe-right) calc(92px + var(--safe-bottom)) var(--safe-left);position:relative}.app-shell:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 8% -4%,rgba(255,98,64,.15),transparent 27%),radial-gradient(circle at 92% 32%,rgba(255,255,255,.035),transparent 25%);z-index:-1}
.topbar{height:54px;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:10px;margin-bottom:30px}.avatar-button,.round-button,.circle-icon,.sheet-close{border:1px solid var(--line);background:var(--panel);box-shadow:none}.avatar-button{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-weight:800;overflow:hidden;padding:0;position:relative}.telegram-avatar-image{width:100%;height:100%;display:block;object-fit:cover;object-position:center}.telegram-avatar-image[hidden]{display:none}.avatar-button .telegram-avatar-image{border-radius:inherit}.brand{justify-self:center;display:flex;align-items:center;gap:8px;font-weight:750;letter-spacing:-.02em}.brand-mark{color:var(--accent)}.round-button{height:38px;padding:0 12px;border-radius:14px;display:flex;align-items:center;gap:6px;font-weight:800;font-size:13px}.pro-dot{color:#ffc85a}
.screen{display:none;animation:fadeIn .22s ease}.screen.active{display:block}@keyframes fadeIn{from{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:none}}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:var(--muted);margin:0 0 7px;text-transform:uppercase}.hero-block{padding:0 2px 26px}.hero-block h1,.page-head h1,.pro-hero h1{font-size:clamp(34px,8vw,56px);line-height:.98;letter-spacing:-.055em;margin:0;font-weight:850}.hero-block h1 span,.page-head h1 span{color:var(--muted)}.hero-copy,.page-head>p:last-child,.pro-hero>p{font-size:15px;line-height:1.55;color:var(--muted);margin:15px 0 0;max-width:560px}
.surface{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:0 1px 0 rgba(255,255,255,.02) inset}.main-config{padding:20px}.section-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.section-title-row h2{font-size:20px;margin:0;letter-spacing:-.03em}.ghost-link{border:0;background:transparent;color:var(--accent);font-weight:750;padding:3px 0}.mode-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.mode-button{border:1px solid var(--line);background:var(--panel2);min-height:74px;border-radius:20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:13px;text-align:left;transition:.18s ease}.mode-button span{font-size:18px;color:var(--muted)}.mode-button strong{font-size:14px}.mode-button.active{background:var(--soft);border-color:rgba(255,98,64,.38)}.mode-button.active span{color:var(--accent)}
.filter-list{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.filter-row{width:100%;border:0;background:transparent;padding:15px 2px;display:grid;grid-template-columns:42px 1fr 24px;align-items:center;text-align:left}.filter-row+.filter-row{border-top:1px solid var(--line)}.filter-icon{width:34px;height:34px;border-radius:12px;background:var(--panel2);display:grid;place-items:center;color:var(--accent);font-weight:800}.filter-copy{display:flex;flex-direction:column;gap:2px}.filter-copy small{font-size:11px;color:var(--muted)}.filter-copy strong{font-size:15px}.chevron{font-size:26px;color:var(--muted);font-weight:300}.pack-strip{display:flex;gap:8px;overflow:auto;padding:17px 0 3px;scrollbar-width:none}.pack-strip::-webkit-scrollbar{display:none}.pack-chip{flex:0 0 auto;height:42px;border:1px solid var(--line);border-radius:15px;background:var(--panel2);padding:0 13px;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:750}.pack-chip small{color:#ffcc67}.pack-chip.active{background:var(--text);color:var(--bg);border-color:transparent}.pack-chip.locked:not(.active){opacity:.78}
.primary-action,.secondary-action,.buy-main,.sheet-apply,.done-action,.share-action,.reward-button{border:0;border-radius:18px;font-weight:800}.primary-action{width:100%;min-height:58px;margin-top:18px;padding:0 18px;background:var(--accent);color:var(--accent-ink);display:flex;align-items:center;justify-content:space-between;font-size:16px}.action-mark{width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.28);display:grid;place-items:center;font-size:18px}.daily-banner{margin-top:14px;border-radius:var(--radius);border:1px solid rgba(255,98,64,.18);background:linear-gradient(145deg,var(--soft),var(--panel));padding:20px}.daily-top{display:flex;justify-content:space-between;align-items:center}.tag{font-size:10px;letter-spacing:.14em;font-weight:850;color:var(--accent)}.streak{font-size:13px;background:var(--panel2);padding:7px 10px;border-radius:999px}.daily-banner h2{font-size:24px;line-height:1.08;letter-spacing:-.04em;margin:36px 0 8px;max-width:530px}.daily-banner p{color:var(--muted);font-size:14px;line-height:1.5;margin:0 0 16px;max-width:530px}.secondary-action{min-height:48px;padding:0 16px;background:var(--panel2);border:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;width:100%}.home-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.metric-tile{border:1px solid var(--line);background:var(--panel);border-radius:20px;padding:15px;text-align:left;display:flex;flex-direction:column;gap:4px;min-width:0}.metric-tile small,.metric-tile span{font-size:11px;color:var(--muted)}.metric-tile strong{font-size:20px;letter-spacing:-.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bottom-nav{position:fixed;left:50%;bottom:max(8px,var(--safe-bottom));transform:translateX(-50%);width:min(calc(100% - var(--safe-left) - var(--safe-right)),748px);height:68px;background:var(--nav);backdrop-filter:blur(22px) saturate(1.25);border:1px solid var(--line);border-radius:22px;display:grid;grid-template-columns:repeat(4,1fr);padding:5px;z-index:20;box-shadow:var(--shadow)}.nav-item{border:0;background:transparent;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted)}.nav-item span{font-size:19px}.nav-item small{font-size:10px;font-weight:700}.nav-item.active{background:var(--panel2);color:var(--text)}.nav-item.active span{color:var(--accent)}
.immersive-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;margin:2px 0 18px}.circle-icon{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;font-size:20px}.challenge-top-status{justify-self:center;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:850}.challenge-top-status span{padding:7px 9px;background:var(--panel);border:1px solid var(--line);border-radius:999px}.challenge-top-status #rarityBadge[data-rarity="Редкое"]{color:#67b6ff}.challenge-top-status #rarityBadge[data-rarity="Эпическое"]{color:#b995ff}.challenge-top-status #rarityBadge[data-rarity="Легендарное"]{color:#ffd36c}.challenge-card{background:var(--panel);border:1px solid var(--line);border-radius:32px;padding:20px;min-height:530px;display:flex;flex-direction:column;box-shadow:var(--shadow)}.challenge-label-row{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:850;letter-spacing:.12em;color:var(--muted)}.challenge-category{color:var(--accent)}.challenge-symbol{width:68px;height:68px;border-radius:23px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-size:28px;margin:42px 0 20px}.challenge-kicker{font-size:12px;color:var(--muted);margin:0 0 8px;font-weight:750}.challenge-card h2{font-size:clamp(27px,6vw,40px);line-height:1.06;letter-spacing:-.045em;margin:0 0 14px}.challenge-twist{margin:0 0 22px;padding:11px 12px;border-left:2px solid var(--accent);background:var(--soft);border-radius:0 12px 12px 0;color:var(--muted);font-size:11px;line-height:1.45}.challenge-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:auto}.challenge-facts div{background:var(--panel2);border-radius:16px;padding:12px}.challenge-facts small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.challenge-facts strong{font-size:13px}.steps{margin-top:16px;border-top:1px solid var(--line)}.step{display:grid;grid-template-columns:29px 1fr;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.45}.step-num{width:25px;height:25px;border-radius:9px;background:var(--panel2);display:grid;place-items:center;color:var(--muted);font-size:10px;font-weight:800}.challenge-actions{display:grid;grid-template-columns:.9fr 1.1fr;gap:8px;margin-top:10px}.reroll-action,.done-action{min-height:58px;border-radius:18px}.reroll-action{border:1px solid var(--line);background:var(--panel);display:flex;align-items:center;gap:10px;justify-content:center}.reroll-action>span:first-child{font-size:22px}.reroll-action>span:last-child{display:flex;flex-direction:column;align-items:flex-start}.reroll-action strong{font-size:14px}.reroll-action small{font-size:10px;color:var(--muted)}.done-action{background:var(--accent);color:var(--accent-ink);display:flex;align-items:center;justify-content:center;gap:8px}.share-action{width:100%;min-height:48px;margin-top:8px;background:transparent;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted)}
.page-head{padding:4px 2px 24px}.page-head h1{font-size:clamp(34px,7vw,50px)}.level-card{border-radius:var(--radius);background:linear-gradient(145deg,var(--soft),var(--panel));border:1px solid rgba(255,98,64,.18);padding:20px;margin-bottom:14px}.level-main{display:flex;align-items:center;gap:14px}.level-orb{width:58px;height:58px;border-radius:20px;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;font-size:24px;font-weight:900}.level-main div{display:flex;flex-direction:column;gap:3px}.level-main small{color:var(--muted);font-size:12px}.level-main strong{font-size:21px}.progress-track{height:8px;border-radius:999px;background:var(--panel2);overflow:hidden;margin-top:20px}.progress-track span{display:block;height:100%;width:2%;border-radius:inherit;background:var(--accent)}.level-card p{font-size:11px;color:var(--muted);margin:8px 0 0}.compact-surface{margin-top:14px}.micro-counter{font-size:11px;color:var(--muted);background:var(--panel2);padding:7px 9px;border-radius:999px}.quest-list{margin-top:14px}.quest-row{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.quest-icon{width:32px;height:32px;border-radius:11px;background:var(--panel2);display:grid;place-items:center;color:var(--muted)}.quest-row.done .quest-icon{background:var(--soft);color:var(--accent)}.quest-main{display:flex;flex-direction:column;gap:3px}.quest-main strong{font-size:13px}.quest-main small,.quest-meta{font-size:10px;color:var(--muted)}.reward-button{width:100%;min-height:56px;margin-top:10px;background:var(--soft);color:var(--text);display:grid;grid-template-columns:36px 1fr 20px;align-items:center;text-align:left;padding:10px 13px}.reward-button:disabled{opacity:.45}.reward-button.claimed{opacity:.65}.reward-icon{font-size:22px;color:var(--accent)}.reward-button span:nth-child(2){display:flex;flex-direction:column}.reward-button small{font-size:10px;color:var(--muted)}.reward-button strong{font-size:13px}.rarity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:16px}.rarity-card{background:var(--panel2);border-radius:16px;padding:12px 9px;display:flex;flex-direction:column;gap:3px}.rarity-card>span{font-size:18px}.rarity-card strong{font-size:19px}.rarity-card small{font-size:9px;color:var(--muted)}.rarity-card[data-rarity="Редкое"]>span{color:#67b6ff}.rarity-card[data-rarity="Эпическое"]>span{color:#b995ff}.rarity-card[data-rarity="Легендарное"]>span{color:#ffd36c}.achievement-list{margin-top:12px}.achievement{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid var(--line);opacity:.55}.achievement.unlocked{opacity:1}.achievement-icon{width:38px;height:38px;border-radius:13px;background:var(--panel2);display:grid;place-items:center;font-weight:800}.achievement>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.achievement strong{font-size:13px}.achievement small,.achievement-state{font-size:9px;color:var(--muted)}.achievement.unlocked .achievement-state{color:var(--accent)}
.saved-list{display:grid;gap:10px}.saved-item{background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:16px}.saved-item-top{display:flex;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:.1em;font-weight:800;color:var(--muted)}.mini-rarity{letter-spacing:0}.saved-item h3{font-size:17px;line-height:1.25;letter-spacing:-.025em;margin:16px 0 12px}.saved-item-meta{font-size:11px;color:var(--muted)}.empty-state{text-align:center;padding:52px 18px}.empty-state.hidden{display:none}.empty-symbol{width:70px;height:70px;border-radius:24px;background:var(--panel);border:1px solid var(--line);display:grid;place-items:center;margin:0 auto 18px;font-size:28px;color:var(--accent)}.empty-state h2{font-size:22px;margin:0 0 8px}.empty-state p{font-size:13px;line-height:1.5;color:var(--muted);max-width:320px;margin:0 auto 18px}.empty-state .secondary-action{max-width:260px;margin:auto;justify-content:center}
.profile-head{display:flex;align-items:center;gap:14px;padding:5px 2px 22px}.profile-avatar{width:66px;height:66px;border-radius:22px;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;font-size:23px;font-weight:900;overflow:hidden;position:relative}.profile-avatar .telegram-avatar-image{border-radius:inherit}.profile-head h1{font-size:27px;margin:0;letter-spacing:-.04em}.profile-head p:last-child{color:var(--muted);font-size:12px;margin:5px 0 0}.profile-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.profile-stats>div{border:1px solid var(--line);background:var(--panel);border-radius:20px;padding:15px;display:flex;flex-direction:column;gap:4px}.profile-stats small,.profile-stats span{font-size:10px;color:var(--muted)}.profile-stats strong{font-size:22px}.pro-card{width:100%;margin-top:12px;border:1px solid rgba(255,200,90,.18);background:linear-gradient(140deg,rgba(255,200,90,.1),var(--panel));border-radius:24px;padding:16px;display:grid;grid-template-columns:44px 1fr 20px;align-items:center;text-align:left;gap:12px}.pro-star{width:42px;height:42px;border-radius:14px;background:#ffca5f;color:#231503;display:grid;place-items:center;font-size:20px}.pro-card-copy{display:flex;flex-direction:column;gap:2px}.pro-card-copy small{font-size:9px;letter-spacing:.1em;color:#e8b94f}.pro-card-copy strong{font-size:16px}.pro-card-copy span{font-size:10px;color:var(--muted);margin-top:3px}.settings-card{margin-top:12px;border:1px solid var(--line);background:var(--panel);border-radius:22px;overflow:hidden}.settings-card button{width:100%;min-height:62px;border:0;background:transparent;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;text-align:left}.settings-card button+button{border-top:1px solid var(--line)}.settings-card button>span:first-child{display:flex;flex-direction:column;gap:3px}.settings-card small{font-size:10px;color:var(--muted)}.settings-card strong{font-size:13px}
.store-head{grid-template-columns:44px 1fr auto}.store-title{display:flex;flex-direction:column}.store-title small{font-size:9px;letter-spacing:.12em;color:var(--muted)}.store-title strong{font-size:14px}.store-status{font-size:10px;color:var(--muted);background:var(--panel);border:1px solid var(--line);padding:7px 9px;border-radius:999px}.pro-hero{border-radius:30px;background:linear-gradient(150deg,rgba(255,200,90,.13),var(--panel));border:1px solid rgba(255,200,90,.18);padding:22px}.pro-hero-mark{width:64px;height:64px;border-radius:21px;background:#ffca5f;color:#241704;display:grid;place-items:center;font-size:28px;margin-bottom:40px}.pro-hero h1{font-size:clamp(34px,8vw,50px)}.pro-benefits{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.pro-benefits span{background:var(--panel2);border:1px solid var(--line);border-radius:999px;padding:8px 10px;font-size:11px}.buy-main{width:100%;height:58px;background:#ffca5f;color:#251706;display:flex;align-items:center;justify-content:space-between;padding:0 17px}.buy-main:disabled,.product-card button:disabled{opacity:.55}.store-section-title{margin:28px 2px 12px}.store-section-title h2{margin:0;font-size:22px}.product-list{display:grid;gap:10px}.product-card{border:1px solid var(--line);background:var(--panel);border-radius:22px;padding:16px;display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:start}.product-icon{width:42px;height:42px;border-radius:14px;background:var(--panel2);display:grid;place-items:center;color:var(--accent);font-size:20px}.product-card small{font-size:9px;letter-spacing:.1em;color:var(--muted)}.product-card h3{font-size:16px;margin:3px 0 5px}.product-card p{font-size:11px;line-height:1.45;color:var(--muted);margin:0}.product-card button{align-self:center;border:1px solid var(--line);background:var(--panel2);border-radius:14px;padding:9px 10px;display:flex;flex-direction:column;gap:2px;min-width:75px}.product-card button span{font-size:9px;color:var(--muted)}.product-card button strong{font-size:12px;color:#ffcd63}.store-note{text-align:center;color:var(--muted);font-size:10px;margin:14px 0}
.sheet-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.52);backdrop-filter:blur(5px);z-index:60;opacity:0;transition:.2s}.sheet-backdrop.open{opacity:1}.bottom-sheet{position:fixed;left:50%;bottom:0;width:min(100%,780px);transform:translate(-50%,110%);background:var(--panel);border:1px solid var(--line);border-bottom:0;border-radius:30px 30px 0 0;padding:10px var(--safe-right) calc(16px + var(--safe-bottom)) var(--safe-left);z-index:61;box-shadow:0 -30px 90px rgba(0,0,0,.45);transition:transform .28s cubic-bezier(.2,.8,.2,1)}.bottom-sheet.open{transform:translate(-50%,0)}.sheet-handle{width:40px;height:4px;border-radius:999px;background:var(--line);margin:0 auto 16px}.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.sheet-head h2{font-size:24px;margin:0;letter-spacing:-.04em}.sheet-close{width:38px;height:38px;border-radius:14px;font-size:24px}.sheet-options{display:grid;gap:7px;max-height:min(48vh,420px);overflow:auto}.sheet-option{width:100%;border:1px solid var(--line);background:var(--panel2);border-radius:17px;padding:13px 14px;display:grid;grid-template-columns:36px 1fr 24px;align-items:center;gap:10px;text-align:left}.sheet-option-icon{width:34px;height:34px;border-radius:11px;background:var(--panel3);display:grid;place-items:center;color:var(--muted);font-weight:800}.sheet-option-copy{display:flex;flex-direction:column;gap:2px}.sheet-option-copy strong{font-size:14px}.sheet-option-copy small{font-size:10px;color:var(--muted)}.sheet-option-check{width:20px;height:20px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-size:11px}.sheet-option.selected{background:var(--soft);border-color:rgba(255,98,64,.38)}.sheet-option.selected .sheet-option-icon,.sheet-option.selected .sheet-option-check{background:var(--accent);color:var(--accent-ink);border-color:transparent}.sheet-apply{width:100%;height:54px;margin-top:12px;background:var(--accent);color:var(--accent-ink)}body.sheet-open{overflow:hidden}
.toast{position:fixed;left:50%;bottom:calc(88px + var(--safe-bottom));transform:translate(-50%,18px);background:var(--text);color:var(--bg);border-radius:15px;padding:11px 14px;font-size:12px;font-weight:750;opacity:0;pointer-events:none;transition:.2s;z-index:90;max-width:min(90vw,520px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media (min-width:680px){.app-shell{padding-left:24px;padding-right:24px}.main-config{padding:24px}.mode-button{min-height:84px}.challenge-card{padding:26px}.challenge-symbol{margin-top:50px}.product-list{grid-template-columns:1fr 1fr}.product-card:nth-child(3){grid-column:1/-1}.profile-stats{grid-template-columns:repeat(4,1fr)}}
@media (max-width:390px){.app-shell{padding-left:12px;padding-right:12px}.hero-block h1{font-size:35px}.main-config,.daily-banner{padding:16px}.mode-button{min-height:68px;padding:11px}.mode-button strong{font-size:12px}.home-metrics{gap:6px}.metric-tile{padding:12px}.metric-tile strong{font-size:17px}.challenge-card{padding:16px;min-height:500px}.challenge-facts div{padding:10px 8px}.challenge-facts strong{font-size:11px}.product-card{grid-template-columns:40px 1fr}.product-card button{grid-column:2;width:100%;flex-direction:row;justify-content:space-between}.rarity-grid{grid-template-columns:repeat(2,1fr)}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* v4 social layer --------------------------------------------------------- */
.weekly-event-card{position:relative;overflow:hidden;margin:0 0 18px;padding:20px;border:1px solid var(--line);border-radius:26px;background:linear-gradient(145deg,var(--panel),var(--panel2));isolation:isolate}
.event-glow{position:absolute;right:-42px;top:-70px;width:180px;height:180px;border-radius:50%;background:var(--accent);opacity:.12;filter:blur(18px);z-index:-1}
.weekly-event-top,.event-progress-row,.active-room-head,.referral-top,.referral-code-row,.room-actions,.challenge-head-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.weekly-event-top{font-size:12px;color:var(--muted);margin-bottom:12px}.weekly-event-card h2{font-size:24px;margin:0 0 8px}.weekly-event-card p{color:var(--muted);margin:0 0 16px;line-height:1.45}
.event-progress-row strong{font-size:13px;white-space:nowrap}.event-progress-track{height:8px;flex:1;border-radius:99px;background:var(--panel3);overflow:hidden}.event-progress-track.large{height:10px;margin:14px 0}.event-progress-track span{display:block;height:100%;width:0;border-radius:inherit;background:var(--accent);transition:width .35s ease}
.event-action{width:100%;border:0;border-radius:16px;padding:13px 15px;background:var(--text);color:var(--bg);font-weight:700;display:flex;justify-content:space-between}
.friends-launch{width:100%;display:grid;grid-template-columns:50px 1fr auto;gap:14px;align-items:center;text-align:left;margin:0 0 18px;padding:16px;border:1px solid var(--line);border-radius:24px;background:var(--panel);color:var(--text)}
.friends-launch-icon{width:50px;height:50px;border-radius:17px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-size:26px}.friends-launch-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.friends-launch-copy small{font-size:10px;color:var(--accent);font-weight:800;letter-spacing:.08em}.friends-launch-copy strong{font-size:17px}.friends-launch-copy span{font-size:12px;line-height:1.35;color:var(--muted)}
.friends-page-head{padding-bottom:12px}.room-create-panel{display:grid;gap:10px;margin-bottom:18px}.room-primary{width:100%;display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;border:0;border-radius:24px;background:var(--text);color:var(--bg);padding:15px;text-align:left}.room-primary small{display:block;font-size:10px;opacity:.7;letter-spacing:.08em}.room-primary strong{display:block;margin-top:2px;font-size:16px}.room-plus{width:46px;height:46px;border-radius:15px;background:color-mix(in srgb,var(--bg) 12%,transparent);display:grid;place-items:center;font-size:24px}
.join-row{display:grid;grid-template-columns:1fr auto;gap:8px}.join-row input{min-width:0;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:17px;padding:14px 15px;text-transform:uppercase;font-weight:700;letter-spacing:.08em}.join-row button{border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:17px;padding:0 18px;font-weight:700}
.active-room-panel{margin-bottom:18px;padding:18px;border-radius:28px;background:var(--panel);border:1px solid var(--line)}.active-room-head h2{margin:3px 0 0}.room-code{padding:8px 10px;border-radius:12px;background:var(--panel3);font-size:12px;font-weight:800;letter-spacing:.08em}.room-member-stack{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.room-member{display:flex;align-items:center;gap:7px;padding:7px 10px 7px 7px;border-radius:99px;background:var(--panel2);border:1px solid var(--line);font-size:12px}.room-member span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--accent);font-weight:800}.room-member.done{border-color:color-mix(in srgb,var(--accent) 55%,var(--line))}.room-member-status{width:18px!important;height:18px!important;border-radius:7px!important;background:var(--soft)!important;color:var(--accent)!important;display:grid!important;place-items:center!important}.room-member-status .svg-icon{width:11px;height:11px}
.room-challenge-empty{text-align:center;padding:24px 12px;border-radius:22px;background:var(--panel2)}.room-challenge-empty>span{font-size:36px;color:var(--accent)}.room-challenge-empty h3{margin:8px 0 5px}.room-challenge-empty p{margin:0 auto 16px;max-width:340px;color:var(--muted);font-size:13px;line-height:1.45}.room-challenge-empty button,.room-complete-button{border:0;border-radius:15px;background:var(--accent);color:var(--accent-ink);font-weight:800;padding:13px 16px}
.room-challenge-card{padding:17px;border-radius:22px;background:var(--panel2);border:1px solid var(--line)}.room-challenge-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.05em}.room-challenge-card h3{font-size:20px;line-height:1.25;margin:10px 0 7px}.room-challenge-card>p{color:var(--muted);font-size:13px;line-height:1.4}.room-mini-steps{display:grid;gap:7px;margin:14px 0}.room-mini-steps div{padding:9px 10px;border-radius:13px;background:var(--panel);font-size:12px;line-height:1.4}.room-complete-button{width:100%;display:flex;justify-content:space-between}.room-complete-button:disabled{opacity:.55}.room-actions{margin-top:11px}.room-actions button{flex:1;border:1px solid var(--line);background:transparent;color:var(--text);border-radius:13px;padding:10px;font-weight:700;font-size:12px}
.room-list,.friend-streak-list{display:grid;gap:9px}.room-list-item{width:100%;display:grid;grid-template-columns:1fr auto;gap:10px;text-align:left;padding:13px;border:1px solid var(--line);border-radius:17px;background:var(--panel2);color:var(--text)}.room-list-item small{color:var(--muted);display:block;margin-top:3px}.room-list-item span{align-self:center;font-size:12px;color:var(--muted)}.inline-empty{color:var(--muted);font-size:13px;padding:10px 0}.friend-streak-row{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.friend-streak-row:last-child{border-bottom:0}.friend-streak-avatar{width:38px;height:38px;border-radius:14px;background:var(--panel3);display:grid;place-items:center;font-weight:800}.friend-streak-row small{display:block;color:var(--muted);margin-top:2px}.friend-streak-fire{font-weight:800}
.event-progress-copy{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.profile-insight-card,.referral-card{margin:0 0 14px;padding:17px;border-radius:22px;border:1px solid var(--line);background:var(--panel);display:flex;justify-content:space-between;gap:14px}.profile-insight-card>div{display:flex;flex-direction:column;gap:4px}.profile-insight-card small,.referral-card small{font-size:10px;letter-spacing:.08em;color:var(--accent);font-weight:800}.profile-insight-card span:not(.insight-orb){color:var(--muted);font-size:12px;line-height:1.35}.insight-orb{width:44px;height:44px;flex:0 0 44px;border-radius:15px;background:var(--soft);display:grid;place-items:center;color:var(--accent);font-size:22px}.referral-card{display:block}.referral-top strong{display:block;margin-top:3px}.referral-count{padding:7px 9px;border-radius:12px;background:var(--panel3);font-size:12px}.referral-card p{color:var(--muted);font-size:12px;line-height:1.45}.referral-code-row code{font-size:16px;font-weight:800;letter-spacing:.12em}.referral-code-row button{border:0;background:var(--text);color:var(--bg);border-radius:13px;padding:10px 12px;font-weight:800}.profile-friends{margin-bottom:14px}
.challenge-head-actions{justify-content:flex-end}.challenge-head-actions .circle-icon{width:42px;height:42px}.modal-backdrop{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.55);backdrop-filter:blur(10px);opacity:0;transition:opacity .2s}.modal-backdrop.open{opacity:1}.result-sheet,.report-sheet{position:fixed;z-index:81;left:50%;bottom:0;width:min(100%,560px);transform:translate(-50%,105%);border-radius:30px 30px 0 0;background:var(--panel);border:1px solid var(--line);padding:22px max(20px,var(--safe-right)) calc(22px + var(--safe-bottom)) max(20px,var(--safe-left));transition:transform .28s cubic-bezier(.2,.75,.2,1)}.result-sheet.open,.report-sheet.open{transform:translate(-50%,0)}.result-sheet{text-align:center}.result-confetti{font-size:12px;color:var(--accent);letter-spacing:.45em;opacity:.7}.result-check{display:grid;place-items:center;width:62px;height:62px;border-radius:22px;margin:12px auto;background:var(--accent);color:var(--accent-ink);font-size:30px}.result-sheet h2{font-size:27px;margin:6px 0 16px}.result-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.result-metrics div{text-align:left;padding:12px;border-radius:16px;background:var(--panel2)}.result-metrics small{display:block;color:var(--muted);font-size:10px}.result-metrics strong{display:block;margin-top:4px;font-size:14px}.result-share,.result-close{width:100%;border:0;border-radius:16px;padding:14px 15px;font-weight:800}.result-share{background:var(--text);color:var(--bg);display:flex;justify-content:space-between}.result-close{margin-top:7px;background:transparent;color:var(--muted)}
.report-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.report-options button{display:flex;align-items:center;gap:9px;text-align:left;padding:12px;border-radius:15px;border:1px solid var(--line);background:var(--panel2);color:var(--text)}.report-options button span{width:28px;height:28px;border-radius:9px;background:var(--panel3);display:grid;place-items:center}.report-options button strong{font-size:12px}.report-sheet textarea{width:100%;box-sizing:border-box;resize:none;border:1px solid var(--line);border-radius:15px;background:var(--panel2);color:var(--text);padding:12px;font:inherit;font-size:13px}
.bottom-nav{grid-template-columns:repeat(5,1fr)}.nav-item{min-width:0}.nav-item small{font-size:9px}
@media(max-width:380px){.weekly-event-card,.active-room-panel{padding:15px}.friends-launch{grid-template-columns:44px 1fr auto;padding:13px}.friends-launch-icon{width:44px;height:44px}.result-metrics{gap:6px}.result-metrics div{padding:10px}.report-options{grid-template-columns:1fr}.nav-item span{font-size:18px}.nav-item small{font-size:8px}}


/* Challenge roulette v1.0.2 ------------------------------------------------ */
.roulette-screen{min-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 20px)}
.roulette-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:12px;margin:2px 0 18px}.roulette-head-copy{text-align:center;display:flex;flex-direction:column;gap:3px}.roulette-head-copy small{font-size:9px;letter-spacing:.14em;color:var(--accent);font-weight:850}.roulette-head-copy strong{font-size:13px}.roulette-live-dot{width:42px;height:42px;border:1px solid var(--line);border-radius:15px;background:var(--panel);display:grid;place-items:center}.roulette-live-dot span{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 6px var(--soft);animation:roulettePulse 1.25s ease-in-out infinite}
.roulette-machine{position:relative;overflow:hidden;min-height:min(690px,calc(100dvh - 110px));border:1px solid var(--line);border-radius:34px;background:linear-gradient(165deg,var(--panel),var(--panel2));padding:22px;display:flex;flex-direction:column;box-shadow:var(--shadow);isolation:isolate}.roulette-machine-glow{position:absolute;left:50%;top:-160px;width:420px;height:420px;transform:translateX(-50%);border-radius:50%;background:var(--accent);opacity:.11;filter:blur(70px);z-index:-1;pointer-events:none}
.roulette-stage{transition:opacity .25s ease,transform .25s ease}.roulette-stage.waiting{opacity:.36}.roulette-stage.complete{opacity:.72}.roulette-stage.active{opacity:1}.roulette-stage-label{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;margin-bottom:10px}.roulette-stage-label>span{width:26px;height:26px;border-radius:9px;background:var(--panel3);display:grid;place-items:center;color:var(--muted);font-size:9px;font-weight:850}.roulette-stage.active .roulette-stage-label>span{background:var(--accent);color:var(--accent-ink)}.roulette-stage-label strong{font-size:13px}.roulette-stage-label small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:800}.roulette-stage.active .roulette-stage-label small{color:var(--accent)}
.roulette-window{position:relative;overflow:hidden;border:1px solid var(--line);background:rgba(0,0,0,.14);border-radius:24px;display:grid;place-items:center;text-align:center}.difficulty-window{height:112px}.title-window{height:214px;padding:24px}.roulette-edge{position:absolute;left:0;right:0;height:34%;z-index:2;pointer-events:none}.roulette-edge.top{top:0;background:linear-gradient(to bottom,var(--panel2),transparent)}.roulette-edge.bottom{bottom:0;background:linear-gradient(to top,var(--panel2),transparent)}.roulette-value{position:relative;z-index:3;max-width:100%;will-change:transform,filter,opacity}.difficulty-value{font-size:clamp(34px,9vw,58px);line-height:1;font-weight:900;letter-spacing:-.055em}.title-value{font-size:clamp(23px,5.5vw,38px);line-height:1.08;font-weight:850;letter-spacing:-.045em;text-wrap:balance}.roulette-value.tick{animation:rouletteTick .12s cubic-bezier(.2,.7,.25,1)}.roulette-value.landed{color:var(--accent);animation:rouletteLand .38s cubic-bezier(.16,.85,.25,1)}
.roulette-connector{height:54px;display:grid;place-items:center}.roulette-connector span{height:28px;width:1px;background:linear-gradient(var(--accent),var(--line));position:relative}.roulette-connector span:after{content:"";position:absolute;left:50%;bottom:-2px;width:7px;height:7px;border-radius:50%;background:var(--accent);transform:translateX(-50%);box-shadow:0 0 0 5px var(--soft)}
.roulette-progress{height:5px;border-radius:999px;background:var(--panel3);overflow:hidden;margin-top:auto}.roulette-progress span{display:block;height:100%;width:28%;border-radius:inherit;background:var(--accent);transition:width .45s cubic-bezier(.2,.75,.2,1)}.roulette-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;color:var(--muted);font-size:10px}.roulette-footer>span{display:flex;align-items:center;gap:6px}.roulette-footer>span:first-child{color:var(--accent);font-weight:750}.roulette-footer>span:last-child{text-align:right}
@keyframes rouletteTick{0%{opacity:.18;transform:translateY(-18px) scale(.97);filter:blur(5px)}55%{opacity:.8;filter:blur(1px)}100%{opacity:1;transform:none;filter:none}}@keyframes rouletteLand{0%{transform:scale(.96);filter:blur(2px)}60%{transform:scale(1.025)}100%{transform:none;filter:none}}@keyframes roulettePulse{0%,100%{transform:scale(.8);opacity:.55}50%{transform:scale(1.1);opacity:1}}
@media(max-width:390px){.roulette-machine{padding:17px;min-height:calc(100dvh - 105px);border-radius:28px}.difficulty-window{height:98px}.title-window{height:190px;padding:18px}.roulette-connector{height:44px}.roulette-footer{font-size:9px}}
@media(prefers-reduced-motion:reduce){.roulette-live-dot span{animation:none}.roulette-value.tick,.roulette-value.landed{animation:none}}

/* Owner-only Control Center entry */
#adminPanelButton{background:linear-gradient(135deg,var(--soft),transparent)}
#adminPanelButton[hidden]{display:none!important}
#adminPanelButton small{color:var(--accent);font-weight:800;letter-spacing:.08em}
.admin-shield{width:34px;height:34px;border-radius:11px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-size:15px}

/* 10/10 release additions */
.rare-pack-chip{position:relative;overflow:hidden}.rare-pack-chip:not(.locked){border-color:rgba(185,149,255,.34);background:linear-gradient(180deg,rgba(185,149,255,.13),var(--panel2))}.rare-pack-chip:not(.locked) small{color:#cdb7ff}.rare-pack-chip.locked small{white-space:nowrap}
.event-badge-preview{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;margin:14px 0 4px;padding:12px;border:1px solid var(--line);border-radius:17px;background:var(--panel2)}.event-badge-preview>span{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:var(--soft);color:var(--accent);font-size:22px}.event-badge-preview div{min-width:0}.event-badge-preview small{display:block;color:var(--accent);font-size:9px;font-weight:800;letter-spacing:.09em}.event-badge-preview strong{display:block;margin-top:2px;font-size:13px}.event-badge-preview p{margin:3px 0 0;color:var(--muted);font-size:10px;line-height:1.35}
.rare-unlock{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;margin:10px 0 12px;padding:10px;border-radius:16px;border:1px solid rgba(185,149,255,.25);background:rgba(185,149,255,.08)}.rare-unlock>span{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:rgba(185,149,255,.12);color:#cdb7ff;font-size:20px}.rare-unlock div{display:flex;flex-direction:column}.rare-unlock small{color:#cdb7ff}.rare-unlock strong{font-size:13px}.rare-unlock b{color:#cdb7ff}
.result-card-preview{margin:12px auto 14px;overflow:hidden;border-radius:18px;border:1px solid var(--line);background:var(--panel2);max-height:300px}.result-card-preview img{display:block;width:100%;height:auto}.result-download{width:100%;border:1px solid var(--line);border-radius:16px;padding:14px 15px;font-weight:800;background:var(--panel2);color:var(--text);display:flex;justify-content:space-between;margin-top:7px}.result-download[hidden],.result-card-preview[hidden]{display:none!important}
.event-achievement{border-top-color:rgba(255,98,64,.25)}.event-achievement .achievement-icon{background:var(--soft);color:var(--accent)}

/* Unified local SVG icon system */
.svg-icon{display:inline-block;width:1.15em;height:1.15em;flex:0 0 auto;vertical-align:-.17em;color:currentColor;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icon-14{width:14px;height:14px}.icon-16{width:16px;height:16px}.icon-18{width:18px;height:18px}.icon-20{width:20px;height:20px}.icon-22{width:22px;height:22px}.icon-24{width:24px;height:24px}.icon-28{width:28px;height:28px}.icon-32{width:32px;height:32px}.icon-40{width:40px;height:40px}.icon-48{width:48px;height:48px}.icon-56{width:56px;height:56px}
.brand-mark,.pro-dot,.action-mark,.friends-launch-icon,.filter-icon,.challenge-symbol,.quest-icon,.achievement-icon,.event-badge-icon,.room-plus,.chevron{display:inline-flex;align-items:center;justify-content:center}
.challenge-symbol .svg-icon{width:58px;height:58px;stroke-width:1.35}
.sheet-option-icon .svg-icon{width:24px;height:24px}
.sheet-option-check .svg-icon{width:18px;height:18px}
.circle-icon .svg-icon{width:21px;height:21px}
.mode-button .svg-icon{width:21px;height:21px}
.filter-icon .svg-icon{width:22px;height:22px}
.metric-inline-icon{display:inline-flex;vertical-align:-2px;margin-left:4px}.metric-inline-icon .svg-icon{width:18px;height:18px}
.button-icon{display:inline-flex;align-items:center;justify-content:center}.button-icon .svg-icon{width:18px;height:18px}
.streak{display:inline-flex;align-items:center;gap:5px}.streak .svg-icon{width:16px;height:16px}
.reroll-action>span:first-child{display:inline-flex;align-items:center;justify-content:center}.reroll-action>span:first-child .svg-icon{width:24px;height:24px}
.done-action,.share-action,.result-share,.room-complete-button,.event-action,.secondary-action{display:flex;align-items:center;justify-content:center;gap:8px}
.achievement-icon .svg-icon,.quest-icon .svg-icon,.event-badge-icon .svg-icon{width:22px;height:22px}
.admin-entry-icon .svg-icon{width:20px;height:20px}
/* SVG-only release polish */
.pack-chip small,.streak,.metric-tile strong,.pro-benefits span,.buy-main strong,.product-card button strong,.friend-streak-fire,.inline-icon-value,.badge-line{display:inline-flex;align-items:center;gap:5px}
.pack-chip small .svg-icon,.product-card button strong .svg-icon{flex:0 0 auto}
.friend-streak-fire{justify-content:flex-end}.friend-streak-fire .svg-icon{color:var(--accent)}
.pro-benefits span .svg-icon{width:14px;height:14px}.result-download .button-icon,.button-icon{display:inline-grid;place-items:center}
.delete-sheet{position:fixed;z-index:81;left:50%;bottom:0;width:min(100%,520px);transform:translate(-50%,105%);border-radius:30px 30px 0 0;background:var(--panel);border:1px solid var(--line);padding:24px max(20px,var(--safe-right)) calc(22px + var(--safe-bottom)) max(20px,var(--safe-left));transition:transform .28s cubic-bezier(.2,.75,.2,1);text-align:center}.delete-sheet.open{transform:translate(-50%,0)}.delete-mark{width:58px;height:58px;border-radius:20px;margin:0 auto 14px;display:grid;place-items:center;background:color-mix(in srgb,var(--danger,#ff4d5e) 14%,transparent);color:var(--danger,#ff4d5e)}.delete-sheet h2{margin:6px 0 10px;font-size:26px;letter-spacing:-.04em}.delete-sheet>p:not(.eyebrow){margin:0 auto 18px;max-width:420px;color:var(--muted);font-size:13px;line-height:1.55}.delete-actions{display:grid;gap:8px}.delete-actions button{width:100%;min-height:52px;border-radius:16px;font-weight:800}.delete-confirm{background:var(--danger,#ff4d5e);color:#fff;border:0}.delete-cancel{background:var(--panel2);color:var(--text);border:1px solid var(--line)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* v1.1 social / retention */
.daily-drop-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.daily-drop-meta span{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.035);font-size:12px;font-weight:700;color:var(--muted)}.daily-drop-meta span:first-child{color:var(--accent)}
.leaderboard-surface{overflow:hidden}.leaderboard-list{display:grid;gap:8px}.leaderboard-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}.leaderboard-row.me{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));background:color-mix(in srgb,var(--accent) 9%,var(--surface-2))}.leaderboard-rank{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--surface-3);font-weight:800;font-variant-numeric:tabular-nums}.leaderboard-user{min-width:0;display:grid}.leaderboard-user strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leaderboard-user small{margin-top:2px;color:var(--muted)}.leaderboard-score{font-weight:800;font-variant-numeric:tabular-nums}
.collectible-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collectible-card{position:relative;min-height:150px;padding:16px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,var(--surface-2),var(--surface-3));overflow:hidden}.collectible-card::after{content:"";position:absolute;right:-30px;bottom:-35px;width:110px;height:110px;border-radius:50%;background:var(--accent);opacity:.08;filter:blur(8px)}.collectible-card[data-rarity="Эпическое"]::after{opacity:.12}.collectible-card[data-rarity="Легендарное"]::after{opacity:.18}.collectible-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:var(--accent-soft);color:var(--accent)}.collectible-card small{display:block;margin-top:18px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}.collectible-card strong{display:-webkit-box;margin-top:6px;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:14px;line-height:1.3}.collectible-card>span:last-child{display:block;margin-top:10px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.collab-achievement .achievement-icon{color:var(--accent)}
.room-reactions{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.reaction-targets{display:grid;gap:10px}.reaction-target{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.025)}.reaction-person{display:flex;justify-content:space-between;gap:8px}.reaction-person small{color:var(--muted)}.reaction-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.reaction-buttons button{display:grid;place-items:center;gap:5px;min-height:60px;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--text)}.reaction-buttons button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.reaction-buttons .svg-icon{width:18px;height:18px}.reaction-buttons small{font-size:10px;line-height:1.1}
/* Seasonal art direction stays subtle and never changes layout. */
html[data-season="summer"] body::before,html[data-season="night"] body::before,html[data-season="newyear"] body::before,html[data-season="halloween"] body::before{content:"";position:fixed;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(circle at 85% 8%,color-mix(in srgb,var(--accent) 13%,transparent),transparent 34%)}
html[data-season="summer"]{--season-wash:rgba(255,191,82,.06)}html[data-season="night"]{--season-wash:rgba(91,113,255,.06)}html[data-season="newyear"]{--season-wash:rgba(105,198,174,.06)}html[data-season="halloween"]{--season-wash:rgba(255,126,48,.07)}
html[data-season]:not([data-season="off"]) .weekly-event-card{box-shadow:inset 0 0 0 1px var(--season-wash),0 20px 60px var(--season-wash)}
@media(max-width:360px){.reaction-buttons{grid-template-columns:1fr}.reaction-buttons button{grid-template-columns:20px 1fr;min-height:42px;justify-items:start}.collectible-grid{grid-template-columns:1fr}}
