/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #000;
  --bg2: #111;
  --bg3: #1a1a1a;
  --surface: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.1);
  --accent: #fe2c55;
  --accent2: #25f4ee;
  --gold: #f4c542;
  --green: #25d366;
  --txt: #fff;
  --txt2: rgba(255,255,255,.65);
  --txt3: rgba(255,255,255,.35);
  --radius: 14px;
  --nav-h: 64px;
}
html { font-size: 15px; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===== LAYOUT ===== */
.page { padding-bottom: calc(var(--nav-h) + 8px); min-height: 100vh; }
.page-inner { padding: 16px; }
.section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--txt2);
  margin: 20px 0 10px;
}

/* ===== FLASH ===== */
.flash {
  padding: 12px 16px;
  font-size: 14px;
  border-left: 3px solid;
  border-radius: 8px;
  margin: 0 16px 12px;
}
.flash.success { background: rgba(37,211,102,.12); border-color: var(--green); color: #56edaa; }
.flash.error { background: rgba(254,44,85,.12); border-color: var(--accent); color: #ff6e8a; }

/* ===== INPUTS ===== */
.field { margin-bottom: 14px; }
.field label { font-size: 12px; color: var(--txt2); display: block; margin-bottom: 6px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.input {
  width: 100%;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--txt);
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.input:focus { border-color: var(--accent2); }
select.input { cursor: pointer; }
textarea.input { resize: vertical; min-height: 100px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.btn:active { opacity: .8; transform: scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #c41a42); color: #fff; }
.btn-secondary { background: var(--bg3); border: 1.5px solid var(--border); color: var(--txt); }
.btn-teal { background: linear-gradient(135deg, var(--accent2), #1ab8af); color: #000; }
.btn-gold { background: linear-gradient(135deg, #f4c542, #e5a012); color: #000; }
.btn-green { background: linear-gradient(135deg, var(--green), #15a852); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; width: auto; }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--txt); }

/* ===== CARDS ===== */
.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.card-flat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
}

/* ===== TOP HEADER (inside pages) ===== */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(to bottom, var(--bg), transparent);
}
.top-bar h1 { font-size: 18px; font-weight: 800; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

/* ===== BALANCE HERO ===== */
.balance-hero {
  background: linear-gradient(140deg, #1a0008, #0a001a 60%, #001a18);
  border: 1px solid rgba(254,44,85,.2);
  border-radius: 20px;
  padding: 24px 20px;
  margin: 14px 16px 0;
  position: relative;
  overflow: hidden;
}
.balance-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(254,44,85,.2), transparent 70%);
  pointer-events: none;
}
.balance-label { font-size: 12px; color: var(--txt2); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.balance-amount { font-size: 34px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.5px; }
.balance-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 6px;
}
.badge-free { background: rgba(255,255,255,.1); color: var(--txt2); }
.badge-pro { background: linear-gradient(135deg, rgba(37,244,238,.15), rgba(37,244,238,.05)); border: 1px solid rgba(37,244,238,.3); color: var(--accent2); }
.badge-pro_max { background: linear-gradient(135deg, rgba(244,197,66,.2), rgba(244,197,66,.05)); border: 1px solid rgba(244,197,66,.4); color: var(--gold); }
.balance-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* ===== STAT CHIPS ===== */
.stat-row { display: flex; gap: 10px; margin: 14px 16px 0; }
.stat-chip {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}
.stat-chip .num { font-size: 20px; font-weight: 800; }
.stat-chip .lbl { font-size: 11px; color: var(--txt2); margin-top: 2px; }

/* ===== VIDEO FEED (TikTok style) ===== */
.feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.video-card {
  position: relative;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 16px;
}
/* Container neutro para embeds TikTok */
.video-embed {
  width: 100%;
  background: #0a0a0a;
  min-height: 140px;
  max-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}
/* TikTok blockquote */
.video-embed blockquote.tiktok-embed {
  max-width: 100% !important;
  min-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}
/* Iframe injetado pelo TikTok embed.js */
.video-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  max-height: 320px !important;
  border: none;
  display: block;
}
.video-embed video {
  width: 100%;
  max-height: 320px;
  background: #000;
  object-fit: cover;
  display: block;
}

/* ===== FULLSCREEN WATCH MODAL ===== */
.watch-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.watch-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.watch-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.watch-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}
.watch-close {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px;
  color: #fff;
  padding: 7px 11px;
  font-size: 12px;
  cursor: pointer;
}
.watch-modal-body {
  height: calc(100vh - 54px);
  display: flex;
  flex-direction: column;
}
.watch-modal-embed {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  background: #000;
  padding: 8px;
}
.watch-modal-embed iframe,
.watch-modal-embed blockquote.tiktok-embed,
.watch-modal-embed video {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}
.watch-modal-footer {
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.92);
}
.watch-timer {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin: 6px 0 10px;
}
.video-info {
  padding: 14px 14px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.video-title { font-size: 15px; font-weight: 700; line-height: 1.35; }
.video-meta { font-size: 12px; color: var(--txt2); }
.video-reward-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
}
.video-reward-label { font-size: 13px; color: var(--txt2); }
.video-reward-amount { font-size: 17px; font-weight: 800; color: var(--green); }
.progress-track {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 99px;
  transition: width .3s;
  width: 0%;
}
.watch-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }

/* ===== PLANS ===== */
.plan-card {
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.plan-free { background: var(--bg3); border: 1px solid var(--border); }
.plan-pro { background: linear-gradient(135deg, #001e20, #00383f); border: 1px solid rgba(37,244,238,.3); }
.plan-pro_max { background: linear-gradient(135deg, #1a1000, #2d1e00); border: 1px solid rgba(244,197,66,.4); }
.plan-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.tag-free { background: rgba(255,255,255,.1); color: var(--txt2); }
.tag-pro { background: rgba(37,244,238,.15); color: var(--accent2); }
.tag-pro_max { background: rgba(244,197,66,.15); color: var(--gold); }
.plan-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.plan-price { font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.plan-feature { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--txt2); margin-bottom: 8px; }
.plan-feature svg { flex-shrink: 0; }
.plan-current-chip {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  font-size: 13px;
  color: var(--txt2);
  border: 1px solid var(--border);
}

/* ===== TRANSACTIONS ===== */
.tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.tx-item:last-child { border-bottom: none; }
.tx-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.tx-body { flex: 1; min-width: 0; }
.tx-body strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-body span { font-size: 12px; color: var(--txt2); }
.tx-amount { font-size: 15px; font-weight: 700; flex-shrink: 0; }
.tx-amount.pos { color: var(--green); }
.tx-amount.neg { color: var(--accent); }

/* ===== AFFILIATES ===== */
.ref-link-box {
  background: var(--bg3);
  border: 1.5px dashed rgba(37,244,238,.4);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ref-link-box input { flex: 1; background: transparent; border: none; font-size: 13px; color: var(--txt); outline: none; }
.ref-user-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.ref-user-item:last-child { border-bottom: none; }
.ref-level-badge {
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.lvl1 { background: rgba(254,44,85,.15); color: #ff6e8a; }
.lvl2 { background: rgba(37,244,238,.12); color: var(--accent2); }
.lvl3 { background: rgba(244,197,66,.12); color: var(--gold); }

/* ===== PIX FLOW ===== */
.pix-qr-card { text-align: center; padding: 28px 20px; }
.pix-qr-card img { max-width: 220px; margin: 0 auto 18px; border-radius: 12px; }
.pix-code-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  word-break: break-all;
  color: var(--txt2);
  margin-bottom: 12px;
  text-align: left;
}
.copy-btn {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 18px;
  color: var(--txt);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background .15s;
}
.copy-btn:hover { background: rgba(255,255,255,.08); }

/* ===== ADMIN ===== */
.admin-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.admin-stat {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 14px;
}
.admin-stat .num { font-size: 26px; font-weight: 800; }
.admin-stat .lbl { font-size: 12px; color: var(--txt2); margin-top: 2px; }
.admin-menu { display: grid; gap: 10px; }
.admin-menu-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: background .15s;
}
.admin-menu-item:hover { background: var(--surface); }
.admin-menu-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.admin-menu-body .title { font-size: 15px; font-weight: 700; }
.admin-menu-body .sub { font-size: 12px; color: var(--txt2); margin-top: 2px; }
.admin-table-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.admin-table-row:last-child { border-bottom: none; }

/* ===== PROFILE ===== */
.profile-hero {
  text-align: center;
  padding: 28px 20px 20px;
}
.avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 12px;
  border: 3px solid rgba(255,255,255,.15);
}
.profile-name { font-size: 20px; font-weight: 800; }
.profile-email { font-size: 13px; color: var(--txt2); margin-top: 4px; }
.profile-plan-row { margin-top: 10px; display: flex; justify-content: center; }
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--txt2); }
.info-value { font-weight: 600; text-align: right; max-width: 60%; word-break: break-word; }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav-h);
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.07);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 100;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--txt3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color .15s;
  cursor: pointer;
}
.nav-item.active { color: var(--txt); }
.nav-item svg { width: 22px; height: 22px; }
.nav-center { position: relative; }
.nav-center-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #c41a42);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px rgba(254,44,85,.5);
}
.nav-center-btn svg { width: 22px; height: 22px; color: #fff; }

/* ===== SPLASH ===== */
.splash-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  background: radial-gradient(ellipse at top, #1a0008 0%, #000 60%);
}
.splash-logo {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #fe2c55, #25f4ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.splash-sub { color: var(--txt2); font-size: 15px; text-align: center; margin-bottom: 36px; line-height: 1.5; }
.splash-actions { width: 100%; display: flex; flex-direction: column; gap: 12px; }

/* ===== AUTH ===== */
.auth-wrap {
  min-height: 100vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-header { margin-bottom: 32px; }
.auth-header h2 { font-size: 28px; font-weight: 800; }
.auth-header p { color: var(--txt2); margin-top: 4px; font-size: 15px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--txt2); }
.auth-footer a { color: var(--accent2); font-weight: 600; }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 16px 0; }

/* ===== EMPTY STATE ===== */
.empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--txt2);
}
.empty .icon { font-size: 48px; margin-bottom: 12px; }
.empty h3 { font-size: 17px; font-weight: 700; color: var(--txt); margin-bottom: 6px; }
.empty p { font-size: 14px; }

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}
.badge-success { background: rgba(37,211,102,.15); color: var(--green); }
.badge-pending { background: rgba(255,193,7,.15); color: #ffc107; }
.badge-error { background: rgba(254,44,85,.15); color: var(--accent); }

/* ===== ANIMATIONS ===== */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.loading { animation: pulse 1.5s infinite; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fade-in .3s ease; }

/* ===== TikTok Fullscreen Feed ===== */
.tt-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 80;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent);
}
.tt-brand {
  font-weight: 800;
  color: #fff;
  font-size: 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.tt-balance {
  color: #25d366;
  font-weight: 800;
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.tt-feed {
  margin-top: 0;
  scroll-snap-type: y mandatory;
}
.tt-item {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 540px;
  scroll-snap-align: start;
  overflow: hidden;
  background: #000;
}
.tt-media {
  position: absolute;
  inset: 0;
  background: #000;
}
.tt-media video,
.tt-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tt-legacy {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.28), transparent);
  pointer-events: none;
}
.tt-meta {
  position: absolute;
  left: 12px;
  right: 88px;
  bottom: 18px;
  z-index: 2;
}
.tt-title {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}
.tt-sub {
  color: rgba(255,255,255,.86);
  font-size: 12px;
  margin-bottom: 8px;
}
.tt-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,.28);
  border-radius: 999px;
  overflow: hidden;
}
.tt-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #fe2c55, #25f4ee);
  transition: width .25s linear;
}
.tt-status {
  margin-top: 6px;
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.75);
}
.tt-actions {
  position: absolute;
  right: 8px;
  top: 44%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tt-action-btn {
  border: none;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 64px;
  min-height: 64px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
  transition: transform .1s, opacity .15s;
  text-decoration: none;
}
.tt-action-btn:active { transform: scale(.97); }
.tt-action-icon { font-size: 19px; line-height: 1; }
.tt-svg-icon {
  width: 20px;
  height: 20px;
  display: block;
}
.tt-action-count { font-size: 11px; font-weight: 700; }
.tt-action-btn.liked { border-color: rgba(254,44,85,.7); color: #ff8ba3; }
.tt-action-btn.liked .tt-svg-icon { fill: currentColor; }
.tt-action-btn.claimed { border-color: rgba(37,211,102,.7); color: #5de894; }
.tt-action-btn.store-btn { border-color: rgba(37,244,238,.45); color: #8ff7f2; }
.tt-action-btn.disabled { opacity: .45; }

.tt-comment-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.tt-comment-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.tt-comment-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--nav-h);
  max-width: 480px;
  margin: 0 auto;
  background: #10131b;
  border-top: 1px solid rgba(255,255,255,.12);
  border-radius: 14px 14px 0 0;
  padding: 12px;
  max-height: 56vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tt-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.tt-comment-list {
  flex: 1;
  overflow: auto;
  padding-right: 2px;
  margin-bottom: 10px;
}
.tt-comment-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 13px;
}
.tt-comment-form {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 10px;
}
