:root {
  --bg: #0e0907;
  --bg2: #160d0a;
  --card: #1c120e;
  --card2: #261711;
  --line: #3b2419;
  --text: #f5e9da;
  --muted: #b09580;
  --dim: #7c6553;
  --ember: #e2442c;
  --ember2: #ff6a3d;
  --gold: #f3b85b;
  --gold2: #ffd998;
  --ok: #4fd06b;
  --bad: #ff5a4a;
  --common: #c9c9c9;
  --uncommon: #3fd45c;
  --rare: #3d93ff;
  --epic: #b65cff;
  --legendary: #ff8d22;
  --radius: 16px;
  --tabh: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(226, 68, 44, .22), transparent 60%),
    radial-gradient(80% 50% at 50% 110%, rgba(243, 184, 91, .08), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overscroll-behavior-y: none;
}
#app { max-width: 540px; margin: 0 auto; min-height: 100%; position: relative; }
[hidden] { display: none !important; }
h1, h2, h3, .serif { font-family: Cinzel, Georgia, serif; letter-spacing: .02em; }
h2 { font-size: 18px; margin: 0 0 12px; color: var(--gold2); }
h3 { font-size: 15px; margin: 0 0 10px; color: var(--gold2); }
a { color: var(--gold); }
button { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.dim { color: var(--dim); font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  border: 1px solid var(--line); background: var(--card2); color: var(--text);
  padding: 10px 16px; border-radius: 12px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .08s ease, filter .15s ease, opacity .15s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn-primary {
  border: 0; color: #1d0905;
  background: linear-gradient(180deg, var(--gold2), var(--gold) 45%, #d98a2e);
  box-shadow: 0 6px 18px rgba(243, 160, 60, .25), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-ember {
  border: 0; color: #fff;
  background: linear-gradient(180deg, var(--ember2), var(--ember) 55%, #a8251a);
  box-shadow: 0 6px 18px rgba(226, 68, 44, .3), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-big { width: 100%; padding: 14px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.icon-btn { background: none; border: 0; color: var(--muted); padding: 8px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.icon-btn:active { background: var(--card2); }

/* ---------- language switch ---------- */
.lang-switch { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 999px; cursor: pointer; letter-spacing: .05em; }
.lang-switch button.on { background: var(--gold); color: #1d0905; }
.lang-switch.small button { padding: 4px 9px; font-size: 11px; }

/* ---------- login ---------- */
.login { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: calc(24px + var(--safe-t)) 20px 32px; }
.login .lang-switch { align-self: flex-end; }
.login-logo { width: min(78vw, 300px); aspect-ratio: 1; border-radius: 28px; margin: 12px 0 18px; object-fit: cover;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); }
.login-form { width: 100%; display: grid; gap: 14px; }
.login-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.login-form input {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--text);
  padding: 13px 14px; font-size: 16px; outline: none; width: 100%;
}
.login-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(243, 184, 91, .15); }
.login-err { color: var(--bad); min-height: 20px; margin: 0; text-align: center; font-size: 14px; }
.login-note { color: var(--dim); font-size: 13px; text-align: center; }
.install-hint { margin-top: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--muted); width: 100%; display: flex; gap: 10px; align-items: center; }

/* ---------- top bar / tab bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + var(--safe-t)) 14px 10px; background: rgba(14, 9, 7, .86); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 36, 25, .6);
}
.topbar-logo { width: 36px; height: 36px; border-radius: 10px; }
.topbar-title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.topbar-title strong { font-family: Cinzel, serif; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.online-pill { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.online-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

#view { padding: 14px 14px calc(var(--tabh) + var(--safe-b) + 24px); }

.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 540px; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tabh) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(18, 11, 8, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.tabbar button { position: relative; background: none; border: 0; color: var(--dim); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; cursor: pointer; }
.tabbar svg { width: 23px; height: 23px; fill: currentColor; }
.tabbar button.on { color: var(--gold); }
.tabbar .tab-spin svg { width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: linear-gradient(180deg, var(--ember2), var(--ember)); color: #fff; margin-top: -14px; box-shadow: 0 0 0 4px var(--bg), 0 4px 14px rgba(226, 68, 44, .5); }
.tabbar .tab-spin.on svg { animation: spinpulse 2.4s ease-in-out infinite; }
@keyframes spinpulse { 50% { transform: rotate(180deg); } }
.badge { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ember); color: #fff; font: 700 11px/18px Inter, sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--bg); }

/* ---------- cards ---------- */
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h2, .card-head h3 { margin: 0; }
.hello { margin: 2px 0 14px; }
.hello h1 { font-size: 22px; margin: 0; }
.hello p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

.vip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid; }
.vip-0 { color: var(--dim); border-color: var(--line); }
.vip-1 { color: #e3a46b; border-color: #8a5530; background: rgba(205, 127, 50, .12); }
.vip-2 { color: #e2e6ee; border-color: #8d939e; background: rgba(192, 192, 210, .1); }
.vip-3 { color: #ffd76a; border-color: #b8922b; background: rgba(255, 210, 80, .12); }
.vip-4 { color: #ff8be0; border-color: #a2408a; background: rgba(255, 100, 220, .12); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: rgba(0,0,0,.22); border: 1px solid rgba(59,36,25,.7); border-radius: 12px; padding: 10px; min-width: 0; }
.stat b { display: block; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.stat.dp b { color: var(--ember2); }
.stat.vp b { color: var(--uncommon); }
.stat.mg b { color: var(--gold); }

/* quick tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 10px; text-align: left; cursor: pointer; position: relative; }
.tile b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.tile span { font-size: 12px; color: var(--muted); }
.tile.hot { border-color: rgba(226, 68, 44, .7); box-shadow: 0 0 0 1px rgba(226,68,44,.25), 0 0 22px rgba(226, 68, 44, .18); }
.tile.hot b { color: var(--ember2); }

/* check-in */
.streak-flame { display: inline-flex; align-items: center; gap: 4px; color: var(--legendary); font-weight: 700; font-size: 14px; }
.track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 4px 0 14px; }
.day { border: 1px solid var(--line); border-radius: 12px; padding: 8px 2px 6px; text-align: center; background: rgba(0,0,0,.2); position: relative; min-width: 0; }
.day img { width: 28px; height: 28px; border-radius: 7px; display: block; margin: 2px auto 4px; }
.day small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; }
.day em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--gold2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day.done { opacity: .5; }
.day.done::after { content: "✓"; position: absolute; top: -7px; left: -5px; width: 17px; height: 17px; border-radius: 50%; background: var(--ok); color: #082b10; font-weight: 900; font-size: 11px; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--card); }
.day.today { border-color: var(--gold); box-shadow: 0 0 16px rgba(243, 184, 91, .3); background: rgba(243, 184, 91, .08); }
.day.big { border-color: rgba(255, 141, 34, .6); }
.day .spinmark { position: absolute; top: -9px; right: -4px; font-style: normal; font-size: 10px; font-weight: 800; background: var(--legendary); color: #1d0905; border-radius: 8px; padding: 1px 4px; }

/* tasks */
.task { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(59,36,25,.6); }
.task:first-of-type { border-top: 0; }
.check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.task.done .check { background: var(--ok); border-color: var(--ok); color: #082b10; font-weight: 900; font-size: 13px; }
.task .t { flex: 1; min-width: 0; }
.task .t small { color: var(--muted); }
.task.done .t { color: var(--muted); }
.chest-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(243, 184, 91, .07); border: 1px dashed rgba(243, 184, 91, .35); }
.chest-row img { width: 40px; height: 40px; border-radius: 9px; }
.chest-row div { flex: 1; font-size: 14px; }

/* characters */
.char { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(59,36,25,.6); }
.char:first-of-type { border-top: 0; }
.char .icons { position: relative; width: 46px; height: 46px; flex: none; }
.char .icons img.race { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); }
.char .icons img.cls { position: absolute; right: -5px; bottom: -5px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--card); }
.char .info { flex: 1; min-width: 0; }
.char .info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.char .info small { color: var(--muted); font-size: 12px; }
.lvl { font-family: Cinzel, serif; font-weight: 800; color: var(--gold); font-size: 16px; text-align: right; }
.lvl small { display: block; font-family: Inter, sans-serif; font-weight: 600; font-size: 11px; color: var(--ok); }

/* vote */
.vsite { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 10px; }
.vsite img { width: 88px; height: 31px; object-fit: contain; border-radius: 6px; background: #000; flex: none; }
.vsite .vinfo { flex: 1; min-width: 0; }
.vsite .vinfo b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vsite .vinfo small { color: var(--uncommon); font-weight: 600; }
.vsite .wait { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; font-weight: 600; text-align: right; min-width: 72px; }
.vote-hero { text-align: center; padding: 18px 16px; }
.vote-hero b { font-size: 34px; display: block; color: var(--uncommon); font-variant-numeric: tabular-nums; }

/* roulette */
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.seg button { border: 0; background: none; padding: 10px; border-radius: 10px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--card2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.seg button.on.dp { color: var(--ember2); }
.seg button.on.vp { color: var(--uncommon); }
.wheel-wrap { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 6px auto 16px; }
.wheel-wrap canvas { width: 100%; height: 100%; display: block; }
.pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 28px solid var(--gold2); filter: drop-shadow(0 3px 4px rgba(0,0,0,.6)); z-index: 2; }
.hub { position: absolute; inset: 0; margin: auto; width: 26%; height: 26%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a2216, #120a08); border: 3px solid var(--gold); box-shadow: 0 0 18px rgba(0,0,0,.7); display: grid; place-items: center; overflow: hidden; }
.hub img { width: 100%; height: 100%; object-fit: cover; }
.spin-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.spin-bar b { font-variant-numeric: tabular-nums; }
.spin-actions { display: grid; gap: 10px; margin-bottom: 16px; }
.odds { width: 100%; border-collapse: collapse; font-size: 14px; }
.odds td { padding: 8px 4px; border-top: 1px solid rgba(59,36,25,.6); }
.odds tr:first-child td { border-top: 0; }
.odds td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.r-common { color: var(--common); } .r-uncommon { color: var(--uncommon); } .r-rare { color: var(--rare); } .r-epic { color: var(--epic); } .r-legendary { color: var(--legendary); }
.feed-item { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(59,36,25,.6); font-size: 14px; }
.feed-item:first-child { border-top: 0; }
.feed-item img { width: 26px; height: 26px; border-radius: 50%; }
.feed-item div { flex: 1; min-width: 0; }
.feed-item time { color: var(--dim); font-size: 12px; white-space: nowrap; }

/* result */
.result { text-align: center; padding: 8px 0 4px; }
.result .rar { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.result h2 { font-size: 26px; margin: 8px 0 6px; }
.result .burst { width: 120px; height: 120px; margin: 4px auto 8px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.result .burst::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, currentColor, transparent 30%, currentColor 50%, transparent 65%, currentColor 80%, transparent); opacity: .35; animation: rot 6s linear infinite; }
.result .burst img { width: 84px; height: 84px; border-radius: 18px; position: relative; box-shadow: 0 0 30px currentColor; border: 2px solid currentColor; }
@keyframes rot { to { transform: rotate(360deg); } }

/* rewards */
.item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 10px; }
.item img { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); flex: none; }
.item .iinfo { flex: 1; min-width: 0; }
.item .iinfo b { display: block; }
.item .iinfo small { color: var(--muted); font-size: 12px; display: block; }
.item .qty { color: var(--gold); font-weight: 800; }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; }
.empty .big { font-size: 40px; display: block; margin-bottom: 6px; }

/* ranks */
.rank-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(59,36,25,.6); }
.rank-row:first-child { border-top: 0; }
.rank-row .pos { width: 26px; text-align: center; font-family: Cinzel, serif; font-weight: 800; color: var(--muted); }
.rank-row:nth-child(1) .pos { color: #ffd76a; } .rank-row:nth-child(2) .pos { color: #d8dde6; } .rank-row:nth-child(3) .pos { color: #e3a46b; }
.rank-row img { width: 30px; height: 30px; border-radius: 8px; }
.rank-row .rn { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.rank-row .rv { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 700; font-size: 14px; }
.chips { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; scrollbar-width: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--card); color: var(--muted); padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; }
.chip.on { color: #1d0905; background: var(--gold); border-color: var(--gold); }

/* sheet / toast */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease; }
.sheet-card { width: 100%; max-width: 540px; max-height: 86vh; overflow: auto; background: var(--bg2); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + var(--safe-b)); animation: up .22s cubic-bezier(.2,.8,.2,1); }
.sheet-card .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: -6px auto 14px; }
.pick { width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin-bottom: 8px; cursor: pointer; }
.pick .char { border: 0; padding: 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabh) + var(--safe-b) + 14px); transform: translateX(-50%); z-index: 60; background: #2b1a12; border: 1px solid var(--line); color: var(--text); padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: calc(100% - 32px); text-align: center; animation: up .2s ease; }
.toast.err { border-color: rgba(255, 90, 74, .6); color: #ffd3cd; }
.toast.ok { border-color: rgba(79, 208, 107, .6); }

.skeleton { height: 90px; border-radius: var(--radius); margin-bottom: 14px; background: linear-gradient(90deg, var(--card) 0%, var(--card2) 50%, var(--card) 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}

/* ---------- roleta: fita de premios ---------- */
.jackpot { text-align: center; margin: 2px 0 14px; display: grid; gap: 2px; }
.jackpot .jp-k { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.jackpot b { font-family: Cinzel, Georgia, serif; font-size: 24px; line-height: 1.2;
  background: linear-gradient(180deg, #fff3cf, var(--gold) 55%, #c9761f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jackpot .muted { font-size: 13px; }
.reel { position: relative; height: 150px; margin: 4px -14px 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.reel-track { position: absolute; top: 15px; left: 0; display: flex; gap: 8px; will-change: transform; }
.reel-marker { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: var(--gold2); box-shadow: 0 0 14px var(--gold); z-index: 2; }
.reel-marker::before, .reel-marker::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border: 9px solid transparent; }
.reel-marker::before { top: 0; border-top-color: var(--gold2); }
.reel-marker::after { bottom: 0; border-bottom-color: var(--gold2); }
.rcard { flex: none; width: 96px; height: 120px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(180deg, #2a1a13, #170e0b); border: 1px solid var(--line); text-align: center; position: relative; }
.rcard b { font-family: Cinzel, Georgia, serif; font-size: 26px; line-height: 1.05; }
.rcard small { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.rcard .rc-img { width: 38px; height: 38px; border-radius: 9px; margin-bottom: 2px; }
.rcard .rc-ico { width: 38px; height: 38px; display: grid; place-items: center; font-size: 22px; color: #6f5b4f; margin-bottom: 2px; }
.rcard.r-none b { font-family: Inter, sans-serif; font-size: 13px; color: #8a7466; }
.rcard.rr-rare { border-color: rgba(61,147,255,.7); box-shadow: inset 0 -30px 40px -20px rgba(61,147,255,.35); }
.rcard.rr-rare b { color: #8fc0ff; }
.rcard.rr-epic { border-color: rgba(182,92,255,.75); box-shadow: inset 0 -30px 40px -20px rgba(182,92,255,.4); }
.rcard.rr-epic b { color: #d6a8ff; }
.rcard.rr-legendary { border-color: rgba(255,141,34,.85); box-shadow: inset 0 -30px 40px -20px rgba(255,141,34,.45), 0 0 14px rgba(255,141,34,.25); }
.rcard.rr-legendary b { color: #ffc27a; }
.rcard.won { transform: scale(1.06); transition: transform .25s ease; box-shadow: 0 0 0 2px var(--gold2), 0 0 26px rgba(243,184,91,.55); z-index: 1; }

/* ---------- destaque da roleta ---------- */
.promo { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 14px; cursor: pointer; text-align: left; color: var(--text);
  border-radius: var(--radius); border: 1px solid rgba(243,184,91,.45);
  background: radial-gradient(120% 140% at 0% 0%, rgba(243,184,91,.22), transparent 55%), linear-gradient(180deg, #2c1a10, #1a0f0b); }
.promo-coin img { width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(243,184,91,.6); box-shadow: 0 0 18px rgba(243,184,91,.35); display: block; }
.promo-t { flex: 1; min-width: 0; display: grid; }
.promo-t b { font-family: Cinzel, Georgia, serif; font-size: 16px; color: var(--gold2); }
.promo-t small { color: var(--muted); font-size: 13px; }
.promo-go { font-weight: 800; font-size: 13px; color: var(--gold); white-space: nowrap; }

/* ---------- check-in: marcas ---------- */
.day .tokmark { display: block; font-style: normal; font-size: 9px; font-weight: 800; color: var(--gold); margin-top: 1px; }
.day .spinmark { top: -9px; right: -4px; }

/* ---------- marcos ---------- */
.ms-next { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.ms-next b { color: var(--gold2); font-size: 14px; text-align: right; }
.bar { height: 8px; border-radius: 4px; background: rgba(0,0,0,.35); overflow: hidden; border: 1px solid var(--line); margin-bottom: 14px; }
.bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--ember), var(--gold)); }
.ms-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ms { border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px; text-align: center; background: rgba(0,0,0,.2); min-width: 0; }
.ms img { width: 30px; height: 30px; border-radius: 8px; display: block; margin: 0 auto 4px; }
.ms b { display: block; font-family: Cinzel, serif; color: var(--gold); font-size: 15px; }
.ms small { display: block; font-size: 10px; color: var(--muted); line-height: 1.25; }
.ms.done { border-color: rgba(79,208,107,.5); }
.ms.done b { color: var(--ok); }

/* ---------- donate ---------- */
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pack { position: relative; display: grid; gap: 2px; text-align: center; padding: 14px 6px 12px; border-radius: 12px; text-decoration: none; color: var(--text);
  border: 1px solid var(--line); background: rgba(0,0,0,.22); }
.pack b { font-size: 17px; color: var(--ember2); }
.pack span { font-size: 13px; color: var(--muted); font-weight: 600; }
.pack.best { border-color: var(--gold); box-shadow: 0 0 16px rgba(243,184,91,.25); }
.pack i { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; font-weight: 800; white-space: nowrap;
  background: var(--gold); color: #1d0905; padding: 1px 7px; border-radius: 8px; }
a.btn { text-decoration: none; }

/* ---------- votos verificados / giro gratis / notificacoes ---------- */
.verified { color: var(--ok); font-weight: 700; }
.vsite .wait.pending { color: var(--gold); font-size: 12px; }
.rcard.rr-free { border-color: rgba(79,208,107,.65); box-shadow: inset 0 -30px 40px -20px rgba(79,208,107,.35); }
.rcard.rr-free b { color: #8ff0a4; }
.card.notif { border-color: rgba(243,184,91,.35); }

/* ---------- avisos no Discord ---------- */
.dcard { border-color: rgba(88,101,242,.45); background: radial-gradient(120% 120% at 100% 0%, rgba(88,101,242,.16), transparent 55%), linear-gradient(180deg, var(--card2), var(--card)); }
.dlogo { color: #8c97ff; display: grid; }
.dgift { background: rgba(79,208,107,.1); border: 1px dashed rgba(79,208,107,.5); color: #a6f0b6; border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.dsteps { margin: 0 0 10px; padding-left: 20px; font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.dsteps b { color: var(--text); }
.dcode { width: 100%; display: grid; gap: 2px; padding: 12px; border-radius: 12px; cursor: pointer; text-align: center; color: var(--text);
  background: rgba(0,0,0,.35); border: 1px dashed rgba(140,151,255,.7); }
.dcode span { font: 800 22px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; color: #c3c9ff; }
.dcode small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
a.btn svg { flex: none; }
.dlinked { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.dlinked b { color: #c3c9ff; }
.drow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(59,36,25,.6); font-size: 14px; }
.switch { width: 46px; height: 26px; border-radius: 13px; border: 1px solid var(--line); background: #3a2a22; position: relative; cursor: pointer; flex: none; transition: background .2s; }
.switch i { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #d9c6b6; transition: transform .2s; }
.switch.on { background: var(--ok); border-color: var(--ok); }
.switch.on i { transform: translateX(20px); background: #fff; }
