:root {
  --brand: #D93830; --brand-bright: #F04A41; --brand-dark: #9B1E18;
  --brand-soft: rgba(217, 56, 48, 0.16); --brand-border: rgba(240, 74, 65, 0.34);
  --bg: #0B0C10; --bg-elevated: #13151D; --surface: rgba(22, 25, 34, 0.86);
  --surface-solid: #181B25; --surface-muted: rgba(255, 255, 255, 0.055);
  --surface-hover: rgba(255, 255, 255, 0.09); --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16); --text: #F5F5F7; --text-muted: #9A9EAE;
  --text-soft: #C5C8D4; --green: #2ECC7E; --green-dark: #1E9E60;
  --green-soft: rgba(46, 204, 126, 0.14); --green-border: rgba(46, 204, 126, 0.32);
  --gold: #F2C45A; --gold-soft: rgba(242, 196, 90, 0.14); --gold-border: rgba(242, 196, 90, 0.32);
  --ozon: #4C96FF; --ozon-soft: rgba(0, 91, 255, 0.22);
  --wb: #D96BFF; --wb-soft: rgba(182, 43, 217, 0.24);
  --yandex: #FF6B4A; --yandex-soft: rgba(252, 63, 29, 0.22);
  --radius-xl: 22px; --radius-lg: 16px; --radius-md: 13px; --radius-sm: 9px;
  --shadow-card: 0 12px 34px rgba(0, 0, 0, 0.38); --shadow-glow-red: 0 10px 28px rgba(217, 56, 48, 0.32);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, textarea { font-family: inherit; font-size: inherit; }
.snow-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.ambient-glow { position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; opacity: 0.42; }
.ambient-glow-red { width: 320px; height: 320px; top: -110px; right: -90px; background: radial-gradient(circle, rgba(217,56,48,0.65) 0%, transparent 70%); animation: pulseGlow 7s ease-in-out infinite alternate; }
.ambient-glow-gold { width: 280px; height: 280px; bottom: -100px; left: -90px; background: radial-gradient(circle, rgba(242,196,90,0.36) 0%, transparent 70%); animation: pulseGlow 9s ease-in-out infinite alternate-reverse; }
@keyframes pulseGlow { 0% { transform: scale(0.95) translate(0, 0); opacity: 0.32; } 100% { transform: scale(1.12) translate(8px, 12px); opacity: 0.52; } }
.app-shell { position: relative; z-index: 2; max-width: 480px; margin: 0 auto; min-height: 100vh; padding: 12px 14px calc(32px + env(safe-area-inset-bottom)); }
.view-animate { animation: viewEnter 0.34s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes viewEnter { from { opacity: 0; transform: translateY(10px) scale(0.988); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes itemPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.splash { min-height: 85vh; display: flex; align-items: center; justify-content: center; }
.splash-card { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.splash-logo-ring { width: 72px; height: 72px; border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(217,56,48,0.16)); border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 36px rgba(217,56,48,0.35); animation: floatLogo 2.6s ease-in-out infinite; }
@keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.splash-logo { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(217,56,48,0.45)); }
.splash-text { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.spinner { width: 26px; height: 26px; border: 3px solid rgba(255,255,255,0.12); border-top-color: var(--brand-bright); border-radius: 50%; animation: spin 0.75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 2px 14px; }
.brand-lockup { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-logo-wrap { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(217,56,48,0.16)); border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(217,56,48,0.25); flex: none; }
.brand-logo-wrap img { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 1px 6px rgba(240,74,65,0.5)); }
.brand-titles { min-width: 0; }
.brand-wordmark { font-size: 18.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #FFFFFF; }
.brand-wordmark span { color: var(--brand-bright); }
.brand-subtitle { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.user-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 700; color: var(--text); max-width: 155px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.24); flex: none; }
.user-pill .dot.active { background: var(--green); box-shadow: 0 0 10px rgba(46,204,126,0.85); }
.garland { display: flex; justify-content: space-between; align-items: center; padding: 0 12px; margin-bottom: 12px; position: relative; }
.garland::before { content: ''; position: absolute; left: 16px; right: 16px; top: 4px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent); }
.bulb { width: 7px; height: 7px; border-radius: 50%; position: relative; z-index: 1; animation: twinkle 2.4s ease-in-out infinite; }
.bulb.red { background: #FF5B52; box-shadow: 0 0 10px #FF5B52; }
.bulb.gold { background: #FFD66B; box-shadow: 0 0 10px #FFD66B; animation-delay: 0.6s; }
.bulb.green { background: #3BE38F; box-shadow: 0 0 10px #3BE38F; animation-delay: 1.2s; }
.bulb.ice { background: #8CE0FF; box-shadow: 0 0 10px #8CE0FF; animation-delay: 1.8s; }
@keyframes twinkle { 0%, 100% { opacity: 0.45; transform: scale(0.88); } 50% { opacity: 1; transform: scale(1.18); } }
.hero-banner { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(145deg, #2B1215 0%, #5B1618 46%, #8F1F1B 100%); border: 1px solid rgba(255,125,118,0.28); color: #FFFFFF; padding: 16px 18px 18px; box-shadow: 0 16px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.14); margin-bottom: 14px; }
.hero-banner::before, .hero-banner::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero-banner::before { width: 220px; height: 220px; top: -90px; right: -65px; background: radial-gradient(circle, rgba(255,214,107,0.25) 0%, transparent 70%); }
.hero-banner::after { width: 150px; height: 150px; bottom: -65px; left: -35px; background: radial-gradient(circle, rgba(255,91,82,0.28) 0%, transparent 70%); }
.hero-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(11,12,16,0.34); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(8px); color: #FFE5A8; margin-bottom: 10px; }
.hero-title { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; text-shadow: 0 2px 12px rgba(0,0,0,0.28); }
.hero-desc { margin: 0 0 14px; font-size: 13.5px; line-height: 1.48; color: rgba(255,255,255,0.88); }
.meta-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.meta-chip { background: rgba(11,12,16,0.34); border: 1px solid rgba(255,255,255,0.14); border-radius: 13px; padding: 9px 10px; backdrop-filter: blur(8px); }
.meta-chip-label { display: block; font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.68); margin-bottom: 2px; }
.meta-chip-val { display: block; font-size: 13px; font-weight: 800; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(12px); border-radius: 15px; margin-bottom: 14px; overflow-x: auto; }
.tab-btn { flex: 1; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 10px; border: none; border-radius: 11px; background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease, transform 0.14s ease, box-shadow 0.2s ease; }
.tab-btn:active { transform: scale(0.96); }
.tab-btn.active { background: linear-gradient(135deg, rgba(217,56,48,0.28), rgba(217,56,48,0.14)); border: 1px solid var(--brand-border); color: #FFFFFF; box-shadow: 0 4px 14px rgba(217,56,48,0.22); }
.tab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand-bright); color: #FFFFFF; font-size: 11px; font-weight: 800; box-shadow: 0 0 10px rgba(240,74,65,0.7); animation: pulseBadge 1.8s ease-in-out infinite; }
@keyframes pulseBadge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 16px; box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.05); backdrop-filter: blur(14px); margin-bottom: 12px; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.card-title { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; color: #FFFFFF; }
.card-sub { margin: 0 0 12px; font-size: 13.5px; color: var(--text-muted); line-height: 1.48; }
.status-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--radius-md); margin-bottom: 12px; }
.status-banner.joined { background: var(--green-soft); border: 1px solid var(--green-border); color: #8CF5BD; }
.status-banner.warning { background: var(--gold-soft); border: 1px solid var(--gold-border); color: #FFE094; }
.status-banner-title { font-size: 14px; font-weight: 800; }
.status-banner-sub { font-size: 12.5px; opacity: 0.9; margin-top: 2px; }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13.5px 16px; border-radius: var(--radius-md); border: none; font-size: 15px; font-weight: 800; cursor: pointer; transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease, box-shadow 0.2s ease, opacity 0.18s ease; text-decoration: none; }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: linear-gradient(135deg, var(--brand-bright) 0%, var(--brand) 55%, var(--brand-dark) 100%); color: #FFFFFF; box-shadow: var(--shadow-glow-red), inset 0 1px 0 rgba(255,255,255,0.24); }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -120%; width: 70%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent); transform: skewX(-20deg); animation: btnSheen 4.5s ease-in-out infinite; }
@keyframes btnSheen { 0%, 72%, 100% { left: -120%; } 88% { left: 140%; } }
.btn-secondary { background: var(--surface-muted); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover:not(:disabled) { background: var(--surface-hover); }
.btn-green { background: linear-gradient(135deg, #2ECC7E 0%, #1E9E60 100%); color: #071910; box-shadow: 0 8px 24px rgba(46,204,126,0.28); }
.btn-ghost { background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 700; padding: 8px 10px; width: auto; }
.btn-ghost:hover { color: var(--text); }
.btn-danger-outline { background: var(--brand-soft); color: #FF8C85; border: 1px solid var(--brand-border); }
.btn-sm { padding: 9.5px 12px; font-size: 13px; border-radius: 11px; }
.progress-wrap { margin: 10px 0 12px; }
.progress-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.progress-head strong { color: var(--text); font-variant-numeric: tabular-nums; }
.progress-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--gold)); box-shadow: 0 0 12px rgba(240,74,65,0.45); transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.progress-fill.green { background: linear-gradient(90deg, var(--green-dark), var(--green)); box-shadow: 0 0 12px rgba(46,204,126,0.45); }
.colleagues-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 13px; border-radius: var(--radius-md); background: var(--surface-muted); border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--text-soft); cursor: pointer; transition: background 0.16s ease; }
.colleagues-toggle:hover { background: var(--surface-hover); }
.colleagues-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; animation: itemPop 0.25s ease both; }
.colleague-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.colleague-chip.me { background: var(--brand-soft); border-color: var(--brand-border); color: #FFB2AD; }
.form-stack { display: flex; flex-direction: column; gap: 9px; }
.field-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; }
.input { width: 100%; padding: 11px 13px; border-radius: var(--radius-md); border: 1.5px solid var(--border); background: rgba(11,12,16,0.55); color: var(--text); font-size: 14.5px; outline: none; transition: border-color 0.18s, background 0.18s, box-shadow 0.18s; }
.input::placeholder { color: #6B7082; }
.input:focus { border-color: var(--brand-bright); background: rgba(11,12,16,0.85); box-shadow: 0 0 0 3px rgba(217,56,48,0.18); }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hint-text { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.wish-list { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.wish-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 13px; border-radius: var(--radius-md); background: rgba(255,255,255,0.04); border: 1px solid var(--border); transition: border-color 0.18s, background 0.18s, transform 0.16s; animation: itemPop 0.28s ease both; }
.wish-item:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.065); }
.wish-item-main { min-width: 0; flex: 1; }
.wish-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 5px; }
.store-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.01em; }
.store-badge.ozon { background: var(--ozon-soft); color: var(--ozon); }
.store-badge.wb { background: var(--wb-soft); color: var(--wb); }
.store-badge.yandex { background: var(--yandex-soft); color: var(--yandex); }
.store-badge.other { background: var(--surface-muted); color: var(--text-soft); }
.wish-title { font-size: 14.5px; font-weight: 700; color: #FFFFFF; word-break: break-word; }
.wish-note { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.wish-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; font-size: 12.5px; font-weight: 700; color: var(--gold); text-decoration: none; }
.icon-btn { flex: none; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.16s, color 0.16s, border-color 0.16s; }
.icon-btn:hover { color: #FF8C85; border-color: var(--brand-border); background: var(--brand-soft); }
.empty-box { text-align: center; padding: 20px 14px; border-radius: var(--radius-md); background: rgba(255,255,255,0.025); border: 1.5px dashed rgba(255,255,255,0.14); color: var(--text-muted); font-size: 13.5px; }
.empty-box strong { color: var(--text); }
.empty-box .emoji { font-size: 30px; margin-bottom: 6px; display: block; }
.gift-cover { position: relative; overflow: hidden; text-align: center; padding: 32px 20px; border-radius: var(--radius-xl); background: radial-gradient(circle at top, rgba(217,56,48,0.28), rgba(22,25,34,0.92) 72%); border: 1.5px solid var(--brand-border); box-shadow: 0 18px 46px rgba(0,0,0,0.5), 0 0 40px rgba(217,56,48,0.18); margin-bottom: 12px; }
.gift-box-halo { width: 94px; height: 94px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(242,196,90,0.28), rgba(217,56,48,0.16) 60%, transparent 75%); animation: haloPulse 2.4s ease-in-out infinite; }
@keyframes haloPulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 24px rgba(242,196,90,0.22); } 50% { transform: scale(1.07); box-shadow: 0 0 42px rgba(242,196,90,0.45); } }
.gift-box-icon { font-size: 56px; display: inline-block; animation: floatGift 2.4s ease-in-out infinite; }
@keyframes floatGift { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(-4deg); } }
.recipient-card { position: relative; border-radius: var(--radius-xl); background: linear-gradient(165deg, rgba(34,24,30,0.94) 0%, rgba(20,23,32,0.94) 100%); border: 1.5px solid var(--brand-border); padding: 18px 16px; box-shadow: 0 16px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08); margin-bottom: 12px; }
.recipient-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold-border); color: var(--gold); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 10px; }
.recipient-name { margin: 0 0 2px; font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: #FFFFFF; }
.recipient-handle { font-size: 14px; font-weight: 700; color: var(--brand-bright); text-decoration: none; display: inline-block; margin-bottom: 14px; }
.gift-ready-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 13px; border-radius: var(--radius-md); background: rgba(255,255,255,0.04); border: 1px solid var(--border); margin-top: 14px; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.gift-ready-row.done { background: var(--green-soft); border-color: var(--green-border); }
.gift-ready-label { font-size: 13.5px; font-weight: 700; color: #FFFFFF; }
.switch { width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,0.16); position: relative; transition: background 0.22s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 6px rgba(0,0,0,0.35); transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
.gift-ready-row.done .switch { background: var(--green); }
.gift-ready-row.done .switch::after { transform: translateX(18px); }
.chat-box { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; padding: 11px; border-radius: var(--radius-md); background: rgba(11,12,16,0.55); border: 1px solid var(--border); margin-bottom: 10px; }
.chat-bubble { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.42; word-break: break-word; animation: itemPop 0.22s ease both; }
.chat-bubble.mine { align-self: flex-end; background: linear-gradient(135deg, var(--brand-bright), var(--brand)); color: #FFFFFF; border-bottom-right-radius: 4px; box-shadow: 0 4px 14px rgba(217,56,48,0.25); }
.chat-bubble.theirs { align-self: flex-start; background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-bubble-meta { display: block; font-size: 10.5px; font-weight: 700; opacity: 0.72; margin-bottom: 2px; }
.chat-compose { display: flex; gap: 8px; }
.chat-compose .input { flex: 1; }
.chat-compose .btn { width: auto; padding: 0 16px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.admin-stat { padding: 11px 10px; border-radius: var(--radius-md); background: rgba(255,255,255,0.04); border: 1px solid var(--border); text-align: center; }
.admin-stat-num { font-size: 20px; font-weight: 800; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.admin-stat-lbl { font-size: 11px; font-weight: 700; color: var(--text-muted); margin-top: 2px; }
.admin-list { display: flex; flex-direction: column; gap: 7px; margin: 12px 0; }
.admin-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 11px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); font-size: 13.5px; }
.admin-row-name { font-weight: 700; color: #FFFFFF; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-row-handle { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.pill { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.pill.green { background: var(--green-soft); color: var(--green); border: 1px solid var(--green-border); }
.pill.muted { background: var(--surface-muted); color: var(--text-muted); border: 1px solid var(--border); }
.admin-actions { display: flex; flex-direction: column; gap: 8px; }
.center-card { text-align: center; padding: 28px 20px; margin-top: 28px; }
.center-card img { width: 54px; height: 54px; margin-bottom: 14px; filter: drop-shadow(0 4px 16px rgba(217,56,48,0.45)); }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(90px); max-width: calc(100vw - 28px); padding: 11px 16px; border-radius: 13px; background: #232736; border: 1px solid rgba(255,255,255,0.14); color: #FFFFFF; font-size: 13.5px; font-weight: 700; box-shadow: 0 12px 32px rgba(0,0,0,0.48); opacity: 0; pointer-events: none; transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease; z-index: 100; text-align: center; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(5,6,10,0.72); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; padding: 14px; z-index: 90; animation: fadeIn 0.18s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card { width: 100%; max-width: 450px; background: #1A1D28; border: 1px solid var(--border-strong); border-radius: var(--radius-xl); padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 22px 54px rgba(0,0,0,0.6); animation: sheetUp 0.26s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes sheetUp { from { transform: translateY(28px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-title { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: #FFFFFF; }
.modal-body { margin: 0 0 16px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.modal-actions { display: flex; gap: 8px; }
.confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 120; }
.footer-note { text-align: center; font-size: 11.5px; color: var(--text-muted); margin-top: 14px; opacity: 0.75; }