


body::before {
  background:
    radial-gradient(80vmax 50vmax at 50% -20%, rgba(201, 162, 77, .06), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .025) 1px, transparent 0) 0 0 / 24px 24px;
}
#top { background: rgba(11, 11, 13, .97); border-bottom-color: var(--line); }
.lnav-bg { filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .6)); }
.lnav-bg .bar { fill: #141417; }
.lnav-bubble { background: var(--violet); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .8); }
.lnav-sheen { display: none; }
.conv-head { background: rgba(11, 11, 13, .98); }
.a-head { background: #0b0b0d; }
.composer.fixed { background: rgba(11, 11, 13, .98); }
.sheet-backdrop { background: rgba(0, 0, 0, .7); }
.card, .room-card, .event-card, .xp-card, .v-card, .quick, .sg, .stat, .menu-row, .shop-item { box-shadow: none; }


.logo-word { font: 700 italic 22px/1 'Playfair Display', Georgia, serif; transform: none; letter-spacing: 0; }
.logo-word b { color: var(--gold); font-weight: 700; }
.logo.xl .logo-word { font-size: 38px; }
.logo-mark { background: #16161a; color: var(--gold); border: 1px solid rgba(201, 162, 77, .35); box-shadow: none; }
#splash .logo-mark { animation: none; }
.serif { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; letter-spacing: 0; }


.btn.primary, .fab, .send {
  background: var(--violet); color: var(--ink); border-color: transparent;
  box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn.primary:hover, .fab:hover { filter: none; background: #d3ad5b; }
.btn.primary:active, .fab:active { transform: scale(.97); }
.btn.primary.is-busy::after { border-color: rgba(23, 19, 11, .25); border-top-color: var(--ink); }
.chip-btn.on, .a-tab.on { background: #f1ede4; color: #141417; border-color: transparent; box-shadow: none; }
.seg::before { background: #f1ede4; box-shadow: none; }
.seg button.on { color: #141417; }
.btn.outline { background: transparent; border-color: rgba(201, 162, 77, .4); color: var(--gold-hi); }
.btn.dark { background: #0e0e11; border: 1px solid var(--line-2); color: var(--text); }
.tag.tone-violet, .chip.tone-violet { --tc: var(--gold); }


.room-card.featured, .room-card.official { background: var(--surface); border-color: rgba(201, 162, 77, .3); }
.room-card.tier-ancestral { box-shadow: none; border-color: rgba(201, 162, 77, .5); }
.theme-card { background: var(--surface); border-color: var(--line-2); }
.theme-card .theme-glow { display: none; }
.xp-card { background: var(--surface); border-color: var(--line); }
.wallet { background: var(--surface); border: 1px solid var(--line-2); box-shadow: none; }
.wallet-glow { display: none; }
.lvl-n { background: #16161a !important; color: var(--gold-hi) !important; box-shadow: inset 0 0 0 1.5px rgba(201, 162, 77, .6) !important; }
.split-bar .sb-players { background: var(--violet); }
.tier.t-ancestral { background: rgba(201, 162, 77, .14); color: var(--gold-hi); border-color: rgba(201, 162, 77, .4); }
.toast { border-color: var(--line-2); }
::selection { background: rgba(201, 162, 77, .3); }


@property --spark { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spark { to { --spark: 360deg; } }
:root { --leque-ouro: linear-gradient(135deg, #8a6114 0%, #d9a93f 28%, #fff0c4 50%, #e2b24a 68%, #94681a 100%); }
.stat-row.stagger > *, .quick-grid.stagger > *, .shop-grid.stagger > *, .tpl-row > *, .stat-grid.stagger > * {
  animation: deal .7s var(--spring) backwards; animation-delay: calc(var(--i, 0) * 60ms + 60ms); transform-origin: 50% 160%;
}
@keyframes deal {
  0% { opacity: 0; transform: translate(calc((1 - var(--i, 0)) * 30%), 34px) rotate(calc((var(--i, 0) - 1) * 9deg)) scale(.82); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.is-static .stat-row.stagger > *, .is-static .quick-grid.stagger > *, .is-static .shop-grid.stagger > *, .is-static .tpl-row > *, .is-static .stat-grid.stagger > * { animation: none; }


.otp { position: relative; height: 66px; }
.otp-input {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0;
  font-size: 16px; color: transparent; caret-color: transparent; background: transparent; letter-spacing: 1em;
}
.otp-cards { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; perspective: 600px; pointer-events: none; }
.otp-cards i {
  position: relative; display: grid; place-items: center; border-radius: 14px; font-style: normal;
  background: linear-gradient(170deg, #1d1810, #0e0b07); border: 1px solid #40372a;
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 228, 163, .08);
  transform-origin: 50% 190%;
  animation: fan-in 1s var(--spring) backwards; animation-delay: calc(var(--i) * 55ms + 120ms);
  transition: border-color .25s, background .3s, transform .35s var(--spring);
}
.otp-cards b { font: 800 30px/1 var(--display); color: #ffe4a3; text-shadow: 0 0 14px rgba(246, 196, 83, .45); }
.otp-cards i.filled { border-color: rgba(246, 196, 83, .55); background: linear-gradient(170deg, #2a1f0c, #120e07); }
.otp-cards i.filled b { animation: pop .35s var(--spring); }
.otp-cards i.active { transform: translateY(-4px); border-color: transparent; }
.otp-cards i.active::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--spark), transparent 0 55%, #fff3cf 70%, #f6c453 76%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spark 1.4s linear infinite;
}
.otp-cards i.active::after { content: ''; position: absolute; bottom: 14px; width: 16px; height: 2px; border-radius: 2px; background: #f6c453; animation: pulse 1s ease-in-out infinite; }
.otp.full .otp-cards i { border-color: rgba(246, 196, 83, .8); box-shadow: 0 0 0 1px rgba(246, 196, 83, .25), 0 12px 26px -12px rgba(217, 169, 63, .8); }
.otp.err .otp-cards { animation: shake .5s; }
.otp.err .otp-cards i { border-color: var(--red); }
.otp.err .otp-cards b { color: var(--red); text-shadow: none; }
.otp.ok .otp-cards i { animation: card-win .8s var(--spring) forwards; animation-delay: calc(var(--i) * 50ms); }
@keyframes fan-in {
  0% { opacity: 0; transform: translateX(calc((2.5 - var(--i)) * 108%)) translateY(26px) rotate(calc((var(--i) - 2.5) * 13deg)) scale(.9); }
  45% { opacity: 1; transform: translateX(calc((2.5 - var(--i)) * 60%)) translateY(-6px) rotate(calc((var(--i) - 2.5) * 9deg)); }
  100% { opacity: 1; transform: none; }
}
@keyframes card-win { 40% { transform: translateY(-10px) rotateY(180deg); background: var(--leque-ouro); } 100% { transform: rotateY(360deg); background: var(--leque-ouro); border-color: transparent; } }
.otp.ok .otp-cards b { color: var(--ink); text-shadow: none; }



.budget { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); }
.budget p { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-2); }
.budget p .ic { width: 16px; height: 16px; color: var(--gold); margin-top: 1px; }
.budget-top, .budget-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.budget-top span { font-size: 13px; color: var(--text-2); }
.budget-top > b { font: 700 19px/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.budget-foot small { font-size: 12px; color: var(--muted); }
.budget-bar { height: 6px; border-radius: 6px; background: #0e0e11; overflow: hidden; }
.budget-bar i { display: block; height: 100%; border-radius: inherit; background: var(--violet); transition: width .35s var(--ease-out); }
.budget.near .budget-bar i { background: #d9913f; }
.budget.over { border-color: rgba(251, 113, 133, .5); }
.budget.over .budget-bar i { background: var(--red); }
.budget.over .budget-top > b { color: var(--red); }
.rand-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.check.rand { flex: 1; min-width: 210px; gap: 12px; padding: 12px; border: 1px dashed var(--line-2); background: transparent; cursor: pointer; }
.check.rand input { width: 20px; height: 20px; accent-color: var(--violet); flex: none; }
.check.rand > span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.check.rand > span .ic { grid-row: span 2; width: 20px; height: 20px; color: var(--gold); }
.check.rand input:checked + span .ic { animation: roll .6s var(--ease-out); }
.check.rand small { font-size: 11.5px; color: var(--muted); }
@keyframes roll { to { transform: rotate(360deg); } }
.mech-pick li.no-room { opacity: .45; }
.mech-pick li.no-room .switch { cursor: not-allowed; }
.no-room-note { display: none !important; align-items: center; gap: 4px; color: var(--red) !important; font-size: 11.5px; }
.no-room-note .ic { width: 12px; height: 12px; }
.mech-pick li.no-room .no-room-note { display: inline-flex !important; }
.mech-pick li.on { border-color: rgba(201, 162, 77, .4); }
.check input { accent-color: var(--violet); }


.shop-tabs { flex: none; min-height: 44px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 2px 2px 6px; }
.shop-tabs::-webkit-scrollbar { display: none; }
.shop-tabs .chip-btn { flex: none; }
.shop-pv { cursor: pointer; position: relative; }
.shop-pv .pv-hint { position: absolute; right: 6px; top: 6px; z-index: 3; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 0; pointer-events: none; }
.shop-pv .pv-hint .ic { width: 13px; height: 13px; }

.shop-grid .fx *, .shop-grid .bn *, .shop-grid .bn, .look-row .fx *, .look-row .bn *, .look-row .bn, .u-grid .bn, .u-grid .bn *,
.track .fx *, .track .bn *, .track .bn { animation: none !important; }
.preview-card { position: relative; overflow: hidden; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); padding-bottom: 16px; }
.preview-card .pp-banner { height: 120px; border-radius: 0; }
.preview-card .p-fx { position: absolute; inset: 0; z-index: 0; }
.preview-card .pv-id { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; margin-top: -48px; }
.preview-card .pv-id h3 { font: 700 22px/1 var(--display); }
.preview-actions { display: grid; gap: 8px; }


.av.has-acc { overflow: visible; isolation: isolate; }
.av .acc { position: absolute; z-index: 2; height: auto; max-width: none; pointer-events: none; user-select: none; border-radius: 0 !important; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.av .acc-back { z-index: -1; filter: none; }
.av img.acc { object-fit: contain; }
.av-xs .acc, .av-sm .acc { filter: none; }
.acc-pv { margin: 22px 0 6px; }
.shop-pv .av.acc-pv { --s: 50px; }


.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; contain: strict; }
.fx i, .fx b { position: absolute; display: block; will-change: transform; }
.profile.with-fx { position: relative; }
.profile .p-fx { position: absolute; left: -16px; right: -16px; top: -16px; height: 520px; z-index: 0;
  -webkit-mask: linear-gradient(180deg, #000 50%, transparent); mask: linear-gradient(180deg, #000 50%, transparent); }
.profile.with-fx > *:not(.p-fx) { position: relative; z-index: 1; }
.pp { position: relative; }
.pp .p-fx { position: absolute; inset: -16px -16px auto; height: 240px; z-index: 0; border-radius: 18px;
  -webkit-mask: linear-gradient(180deg, #000 50%, transparent); mask: linear-gradient(180deg, #000 50%, transparent); }
.pp > *:not(.p-fx) { position: relative; z-index: 1; }
.fundo-sw { position: relative; display: block; width: 100%; height: 100%; min-height: 84px; background: #0b0b0e; overflow: hidden; }
.look-pick .fundo-sw { width: 88px; min-height: 56px; height: 56px; border-radius: 10px; }

.fx-gold { background: radial-gradient(80% 60% at 50% 0%, rgba(212, 175, 90, .1), transparent 70%); }
.fx-gold i { left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: #e8cf92; opacity: .7; animation: dust var(--d) ease-in-out var(--dl) infinite; }
@keyframes dust { 0%, 100% { transform: translate(0, 0); opacity: .15; } 50% { transform: translate(12px, -22px); opacity: .8; } }
.fx-sakura { background: radial-gradient(90% 70% at 50% 0%, rgba(255, 150, 200, .08), transparent 70%); }
.fx-sakura i { left: var(--x); top: -20px; width: var(--s); height: calc(var(--s) * .72); border-radius: 100% 0 100% 0; background: #f7b6cf; opacity: .85; animation: petal var(--d) linear var(--dl) infinite; }
@keyframes petal { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(var(--sw), 260px) rotate(180deg); } 100% { transform: translate(0, 560px) rotate(360deg); } }
.bn-fx.fx-sakura i { animation-name: petal-sm; }
@keyframes petal-sm { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(var(--sw), 80px) rotate(180deg); } 100% { transform: translate(0, 170px) rotate(360deg); } }
.fx-galaxy { background: radial-gradient(120% 80% at 50% 0%, #120c22, transparent 70%); }
.fx-galaxy .neb { inset: 0; background: radial-gradient(50% 40% at 30% 30%, rgba(123, 97, 255, .16), transparent 70%), radial-gradient(40% 35% at 75% 40%, rgba(72, 229, 255, .1), transparent 70%); }
.fx-galaxy i { left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: #fff; animation: twinkle var(--d) ease-in-out var(--dl) infinite; }
@keyframes twinkle { 50% { opacity: .15; } }
.fx-embers { background: radial-gradient(90% 60% at 50% 100%, rgba(255, 110, 30, .12), transparent 70%); }
.fx-embers i { left: var(--x); bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: #ffb347; animation: ember var(--d) ease-out var(--dl) infinite; }
@keyframes ember { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(var(--sw), -380px); opacity: 0; } }
.bn-fx.fx-embers i { animation-name: ember-sm; }
@keyframes ember-sm { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(var(--sw), -140px); opacity: 0; } }
.fx-rain { background: linear-gradient(180deg, rgba(30, 20, 60, .25), transparent 80%); }
.fx-rain i, .fx-storm i { left: var(--x); top: -40px; width: 1.5px; height: var(--h); background: #48e5ff; opacity: .45; animation: drop var(--d) linear var(--dl) infinite; }
.fx-rain i.m { background: #ff4fd8; }
@keyframes drop { to { transform: translateY(600px); } }
.fx-aurora .au { width: 90%; height: 60%; border-radius: 50%; opacity: .35; }
.fx-aurora .a1 { left: -20%; top: -10%; background: radial-gradient(closest-side, #1fd6a0, transparent); animation: au1 14s ease-in-out infinite alternate; }
.fx-aurora .a2 { right: -25%; top: 0; background: radial-gradient(closest-side, #7b61ff, transparent); animation: au2 17s ease-in-out infinite alternate; }
.fx-aurora .a3 { left: 20%; top: 20%; background: radial-gradient(closest-side, #d4af5a, transparent); opacity: .18; animation: au1 20s ease-in-out infinite alternate-reverse; }
@keyframes au1 { to { transform: translate(30%, 20%); } }
@keyframes au2 { to { transform: translate(-30%, 25%); } }
.fx-matrix { background: rgba(0, 20, 8, .3); }
.fx-matrix i { left: var(--x); top: -60%; width: 1em; font: 700 13px/1.05 var(--code); color: #3cff8f; word-break: break-all; white-space: normal; opacity: .55; animation: code var(--d) linear var(--dl) infinite; }
@keyframes code { to { transform: translateY(260%); } }
.fx-storm { background: linear-gradient(180deg, #0b1026, transparent 85%); }
.fx-storm i { background: #b9c7ff; opacity: .3; }
.fx-storm .flash { inset: 0; background: #dfe7ff; opacity: 0; animation: flash 8s infinite; }
.fx-storm .bolt { position: absolute; left: 62%; top: 0; width: 40px; height: 120px; fill: #fff; opacity: 0; animation: bolt 8s infinite; }
@keyframes flash { 0%, 71%, 75%, 78%, 100% { opacity: 0; } 72%, 76% { opacity: .22; } }
@keyframes bolt { 0%, 71%, 79%, 100% { opacity: 0; } 72%, 77% { opacity: .9; } }


.bn { isolation: isolate; }
.bn .bn-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; contain: strict; }
.bn .bn-art, .has-art .bn-art { position: absolute; right: 0; bottom: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.bn .p-pattern { z-index: 1; }
.p-banner > .p-edit { z-index: 3; }
.bn .sweep { inset: -20% auto -20% 0; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 244, 210, .25), transparent); transform: skewX(-18deg) translateX(-180%); animation: sweep 7s ease-in-out infinite; }
@keyframes sweep { 0%, 60% { transform: skewX(-18deg) translateX(-180%); } 100% { transform: skewX(-18deg) translateX(480%); } }
.bn .gline { left: 0; right: 0; bottom: 18%; height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 175, 90, .55), transparent); }
.bn .gline::after { content: ''; position: absolute; top: -1px; left: 0; width: 50px; height: 3px; border-radius: 3px; background: radial-gradient(closest-side, #f1e2b8, transparent); animation: glide 6s ease-in-out infinite; }
@keyframes glide { from { transform: translateX(-60px); } to { transform: translateX(110vw); } }
.bn-grain::before { content: ''; position: absolute; inset: 0; opacity: .25; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.bn-flames .bn-fx i { left: var(--x); bottom: -20px; width: var(--s); height: calc(var(--s) * 1.6); border-radius: 50% 50% 40% 40%; background: radial-gradient(60% 70% at 50% 70%, rgba(120, 210, 255, .7), rgba(40, 120, 255, .25) 50%, transparent 72%); animation: flame var(--d) ease-in-out var(--dl) infinite; }
@keyframes flame { 50% { transform: translateY(-12px) scaleY(1.2); opacity: .7; } }
.art-kitsune .wisp path { animation: wisp 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.art-kitsune .wisp path:nth-child(2) { animation-delay: -.8s; }
.art-kitsune .wisp path:nth-child(3) { animation-delay: -1.6s; }
@keyframes wisp { 50% { transform: translateY(-4px) scale(1.1); opacity: .7; } }
.art-city .neon rect:nth-child(4n) { animation: twinkle 3s ease-in-out infinite; }
.art-city .sign { animation: flick 5s steps(1) infinite; }
@keyframes flick { 0%, 40%, 44%, 100% { opacity: 1; } 42% { opacity: .2; } }
.art-samurai .moon-c { transform-box: fill-box; transform-origin: center; animation: moon 7s ease-in-out infinite; }
@keyframes moon { 50% { transform: scale(1.04); } }
.bn-waves .wave-g { animation: sway 7s ease-in-out infinite; transform-origin: 50% 100%; transform-box: view-box; }
@keyframes sway { 50% { transform: translateX(-6px); } }
.art-dragon .drg { stroke-dasharray: 520 60; animation: drg 9s linear infinite; }
@keyframes drg { to { stroke-dashoffset: -580; } }
.bn-lightning .bn-fx .bolt { left: 70%; }
.banner-sw.bn .bn-art { width: 100%; height: 100%; }
.banner-sw.sm .bn-fx, .banner-sw.sm .bn-art { display: none; }


.invite-out { display: grid; gap: 10px; margin-top: 4px; }
.invite-out textarea { width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text-2); font: 12px/1.4 var(--code); resize: none; word-break: break-all; }

@media (prefers-reduced-motion: reduce) {
  .otp-cards i, .fx *, .bn *, .bn, .stat-row.stagger > *, .quick-grid.stagger > *, .stat-grid.stagger > * { animation: none !important; }
}


.av-xs .acc, .av-sm .acc { display: none; }
.av-xs.has-acc, .av-sm.has-acc { isolation: auto; }
.champ-card .av.has-acc, .podium .av.has-acc, .stand .av.has-acc { margin-top: 16px; }


.logo-word, .intro-word, .auth-word {
  background: linear-gradient(180deg, #efdcaa 0%, #d4af5a 55%, #a8853a 100%); -webkit-background-clip: text; background-clip: text;
  color: transparent !important; padding-right: .08em;
}
.logo-word b, .intro-word b, .auth-word b { color: transparent !important; }
