/* =========================================================
   HOME — BASES (reduz duplicação e sobreposição)
   ====================================================== */

/* Cards padrão (perfil + start + stats glance boxes + daily + missions) */
:is(.profile-card, .start-card, .daily-card, .mission-list li, .stats-glance > div){
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  min-width:0;
}

/* Cards clicáveis padrão (perfil + start) */
:is(.profile-card, .start-card){
  display:block;
  padding:16px 18px;
  background:#fff;
  color:var(--ink);
  text-decoration:none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

/* Start card tem layout diferente */
.start-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
}

/* Hover premium (perfil + start) */
:is(.profile-card:hover, .start-card:hover){
  background: radial-gradient(140% 220% at 0% 0%, #fff6de 0%, #ffffff 55%, #ffffff 100%);
  border-color: rgba(245,193,91,0.85);
  box-shadow:0 14px 30px rgba(0,0,0,0.12);
  transform:translateY(-3px);
}

.profile-card:hover :is(.profile-main small, .profile-main strong),
.start-card:hover :is(.start-main h3, .start-main p){
  color:var(--ink);
}

/* Pills que mudam no hover (perfil + start) */
.profile-card:hover .pill-xs,
.start-card:hover .start-pill{
  background:#fffdf7;
  border-color:rgba(245,193,91,0.7);
  color:#8a6820;
}

/* =========================================================
   HOME — MINI PERFIL / CARD DO JOGADOR
   ====================================================== */

.profile-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:10px;
  min-width:0;
}

.avatar-lg{
  width:44px;
  height:44px;
  border-radius:14px;
  background:#fff5df;
  display:grid;
  place-items:center;
  font-weight:800;
  color:#8a6820;
  flex-shrink:0;
}

.profile-main{ min-width:0; }

.profile-main small{
  display:block;
  font-size:12px;
  color:var(--muted2);
}

.profile-main strong{
  display:block;
  font-size:15px;
  margin-top:2px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.profile-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:6px;
}

.pill-xs{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:11px;
  font-weight:600;
  background:#fff;
  color:var(--muted2);
}
.pill-xs i{ font-size:10px; }

.profile-arrow{
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  gap:2px;
  font-size:11px;
  color:var(--muted2);
  flex-shrink:0;
}
.profile-arrow i{ font-size:12px; }

.profile-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  margin:.4rem 0 .7rem;
}

.profile-stats .k{
  display:block;
  font-weight:800;
  font-size:18px;
}

.profile-stats small{
  font-size:12px;
  color:var(--muted);
}

/* barras de progresso (reutilizável: you-progress e progress) */
:is(.you-progress .bar, .progress .bar){
  background:#f2f3f8;
  border-radius:999px;
  overflow:hidden;
}
.you-progress .bar{ height:10px; }
.progress .bar{
  height:8px;
  width:170px;
}

:is(.you-progress .bar i, .progress .bar i){
  display:block;
  height:100%;
  background:linear-gradient(90deg, var(--gold3), var(--gold));
}

.you-progress small{
  color:var(--muted);
  font-size:12px;
}

/* =========================================================
   HOME — HERO VISUAL COM STATS
   ====================================================== */

.hero-visual{
  position:relative;
  padding:18px 18px 20px;
  border-radius:var(--radius);
  background: radial-gradient(180% 140% at 0% 0%, #fff7e1 0%, #f7f8fb 38%, #e7f0ff 80%);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:220px;
}

.hero-visual::before{
  content:"Estatísticas da SBB";
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted2);
}

.pulse{
  position:absolute;
  right:-40px;
  top:-40px;
  width:180px;
  height:180px;
  background: radial-gradient(closest-side, rgba(255,179,0,.4), transparent);
  border-radius:50%;
  filter:blur(10px);
  opacity:.8;
  pointer-events:none;
  animation:pulse 3.8s ease-in-out infinite;
}

@keyframes pulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.08); }
}

.stats-glance{
  margin-top:46px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.stats-glance > div{
  position:relative;
  background:#fff;
  border-radius:12px; /* aqui é intenção visual diferente do radius global */
  padding:10px 12px;
  text-align:left;
  min-width:0;
}

.stats-glance > div::before{
  content:"";
  position:absolute;
  right:10px;
  top:10px;
  width:8px;
  height:8px;
  border-radius:999px;
}

.stats-glance > div:nth-child(1)::before{ background:var(--ok); }
.stats-glance > div:nth-child(2)::before{ background:var(--cool); }
.stats-glance > div:nth-child(3)::before{ background:var(--gold); }

.stats-glance .big{
  font-weight:800;
  font-size:22px;
  display:block;
}

.stats-glance small{
  font-size:12px;
  color:var(--muted);
}

/* =========================================================
   HOME — DIÁRIO DOS MELHORES
   ====================================================== */

.daily-card{ background:#fff; }

.daily-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
}

.daily-card .simple-list li a{
  color:var(--ink);
  text-decoration:none;
  font-weight:inherit;
}

.daily-card .simple-list li a:hover{
  color:var(--ink);
  text-decoration:underline;
}

.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  background:#fff7e1;
  color:#9c6a00;
  border:1px solid #ffe6a8;
}

.badge.gold{
  background:linear-gradient(90deg, var(--gold3), var(--gold2));
  color:#3b2a00;
  border:none;
}
.badge.hot{ background:#ffefef; border:1px solid #ffd2d2; color:#b82222; }
.badge.cool{ background:#edf7ff; border:1px solid #d8ecff; color:#2463a9; }

.simple-list{
  list-style:none;
  margin:0;
  padding:4px 0;
}

.simple-list li{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-top:1px solid var(--line);
}

.simple-list li .pos{
  width:24px;
  color:#a78b00;
  font-weight:800;
}

.simple-list li .nick{ flex:1; min-width:0; }
.simple-list li strong{ font-weight:800; }
.simple-list .ghost{ opacity:.45; }

.simple-list li.daily-player:hover{ background:#fffcee; }

/* Carrossel */
.daily-carousel{
  position:relative;
  max-width:1200px;
  margin:0 auto;
}
.daily-window{ overflow:hidden; }
.daily-track{
  display:flex;
  transition:transform .35s ease;
}
.daily-slide{
  flex:0 0 100%;
  display:grid;
  gap:14px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.daily-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(10,20,60,.06);
  z-index:2;
}

.daily-nav i{ font-size:12px; color:var(--muted); }
.daily-nav--prev{ left:-18px; }
.daily-nav--next{ right:-18px; }

/* =========================================================
   HOME — MISSÕES
   ====================================================== */

.mission-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.mission-list li{
  position:relative;
  background:#fff;
  border-radius:14px; /* intenção visual */
  padding:10px 14px;
  display:grid;
  grid-template-columns:minmax(0, 1.6fr) minmax(0, 1.1fr);
  align-items:center;
  gap:10px 16px;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.mission-list li[data-mission-id]{ cursor:pointer; }

/* hover premium */
.mission-list li:hover{
  background:#fafafa;
  border-color:rgba(245,193,91,0.45);
  box-shadow:0 14px 40px rgba(15,23,42,0.08);
  transform:translateY(-1px);
}

/* concluída */
.mission-list li.is-completed{
  border-color:#ffe4a3;
  background:#fffdf7;
}

.mission-list li.is-completed::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  bottom:8px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--gold3), var(--gold));
}

.mission-main{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.mission-text strong{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:16px;
  min-width:0;
}

.mission-text small{
  display:block;
  font-size:11px;
  color:var(--muted);
}

.mission-list li.is-completed .mission-text strong i{
  color:var(--gold2);
  margin-left:2px;
}

.mission-reward-pill{
  margin-top:2px;
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 9px;
  border-radius:999px;
  background: radial-gradient(circle at 10% 0%, #fffbe8 0%, #ffd972 55%, #ffce4a 100%);
  box-shadow:0 8px 18px rgba(245,193,91,.45);
  font-size:11px;
  font-weight:800;
  color:#2b2b2b;
  white-space:nowrap;
}
.mission-reward-pill i{ font-size:12px; }

/* coluna direita */
.progress{
  display:flex;
  flex-direction:column;
  gap:6px;
  align-items:flex-end;
  min-width:0;
}

.progress-footer{
  display:flex;
  align-items:center;
  gap:10px;
}

.progress-footer small{
  font-size:11px;
  font-weight:700;
  color:#6a5a00;
}

/* Botão claim (uma definição só, sem repetir selectores em tudo) */
.claim-btn{
  padding:10px 16px;
  border-radius:12px;
  border:none;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  background:linear-gradient(90deg, var(--gold3), var(--gold));
  color:#2b2b2b;
  box-shadow:0 6px 14px rgba(245,193,91,.45);
  transition: transform .08s ease, box-shadow .1s ease;
  min-height:44px; /* touch */
}
.mission-list li .claim-btn{ cursor:pointer; }

.claim-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(245,193,91,.55);
}
.claim-btn:active{
  transform:translateY(0);
  box-shadow:0 4px 10px rgba(245,193,91,.35);
}
.claim-btn[disabled]{
  opacity:.6;
  cursor:default;
  box-shadow:none;
  transform:none;
}

.claimed-pill{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  background:#fff8e1;
  border:1px solid #ffe2a3;
  color:#856100;
  display:inline-flex;
  align-items:center;
  gap:5px;
}

/* =========================================================
   HOME — MISSÕES + GIFs
   ====================================================== */

.missions-and-gifs{
  display:grid;
  grid-template-columns:minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap:24px;
  align-items:flex-start;
}

.missions-and-gifs > :is(.missions-col, .gif-col){ min-width:0; }
.missions-and-gifs .gif-reel{ width:100%; }

.missions-and-gifs .gif-reel .gif-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  cursor:pointer;
}

.missions-and-gifs .gif-reel .gif-card{
  background:var(--panel);
  border-radius:18px;
  padding:6px 10px 10px;
  box-shadow:var(--shadow-soft);
  display:flex;
  flex-direction:column;
  position:relative;
  min-width:0;
}

.missions-and-gifs .gif-reel .gif-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  color:var(--muted);
}

.missions-and-gifs .gif-reel .gif-header-left span{
  display:inline-flex;
  align-items:center;
  gap:3px;
  margin-right:6px;
}

.missions-and-gifs .gif-reel .gif-video-wrapper{
  position:relative;
  margin-top:6px;
  border-radius:14px;
  overflow:hidden;
  background:#111;
  padding-top:56%;
}

.missions-and-gifs .gif-reel .gif-video-wrapper video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.missions-and-gifs .gif-reel .gif-footer{
  margin-top:6px;
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.missions-and-gifs .gif-reel .gif-card.playing{
  transform:scale(1.03);
  z-index:2;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}

/* =========================================================
   HOME — "COMECE POR AQUI" (START CARDS)
   ====================================================== */

.start-grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.start-icon{
  flex-shrink:0;
  width:40px;
  height:40px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:18px;
  background:#f3f4fb;
}

.start-icon.ranking{ background:#fff7e1; color:#9c6a00; }
.start-icon.gifs{ background:#ffefef; color:#b82222; }
.start-icon.loja{ background:#edf7ff; color:#2463a9; }

.start-main{ min-width:0; }

.start-main h3{
  margin:0 0 4px;
  font-size:15px;
  font-weight:800;
}

.start-main p{
  margin:0;
  font-size:13px;
  color:var(--muted);
}

.start-pill{
  position:absolute;
  top:10px;
  right:12px;
  padding:4px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  border:1px solid var(--line);
  background:#fff;
}

.pill-gold{ background:#fff7e1; border-color:#ffe6a8; color:#9c6a00; }
.pill-hot{ background:#ffefef; border-color:#ffd2d2; color:#b82222; }
.pill-cool{ background:#edf7ff; border-color:#d8ecff; color:#2463a9; }

/* =========================================================
   HOME — TOP SEARCH
   ====================================================== */

.top-search{
  display:flex;
  align-items:center;
  gap:8px;
}

.top-search input{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font-size:14px;
  width:190px;
  outline:none;
  min-height:44px;
}

.top-search button{
  width:44px;
  height:44px;
  border:none;
  border-radius:12px;
  display:grid;
  place-items:center;
  cursor:pointer;
  background:linear-gradient(90deg, var(--gold2), var(--gold));
  color:#2b2b2b;
  font-size:14px;
  box-shadow:0 6px 16px rgba(255,179,0,.18);
}

/* =========================================================
   MODAL — DETALHES DAS MISSÕES
   ====================================================== */

.modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(5,8,20,0.65);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:80;
  padding:16px;
}
.modal-backdrop.is-visible{ display:flex; }

.missions-modal{
  width:100%;
  max-width:720px;
  background:#fff;
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,0.35);
  padding:18px 20px 16px;
  max-height:min(86vh, 760px);
  overflow:auto;
}

.missions-modal__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.missions-modal__header h3{
  margin:0 0 4px;
  font-size:18px;
  font-weight:800;
}

.missions-modal__header p{
  margin:0;
  font-size:13px;
  color:var(--muted);
}

.missions-modal__meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:12px;
}

.meta-pill{
  display:inline-flex;
  align-items:center;
  gap:4px;
}

.missions-modal__body{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:10px;
}

.missions-col-list h4{
  margin:0 0 6px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--muted2);
}

.players-list{
  list-style:none;
  margin:0;
  padding:0;
  max-height:260px;
  overflow:auto;
  border-radius:10px;
  background:#f7f8fc;
  border:1px solid var(--line);
}

.players-list li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  font-size:13px;
  border-bottom:1px solid rgba(15,20,40,0.03);
}
.players-list li:last-child{ border-bottom:none; }

.players-list .player-main{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.players-list .player-main strong{ font-size:13px; }
.players-list .player-main small{ font-size:11px; color:var(--muted); }

.players-list .player-badges{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  justify-content:flex-end;
}

.players-list .player-badge{
  padding:2px 6px;
  border-radius:999px;
  font-size:10px;
  font-weight:600;
  background:#fff;
  border:1px solid rgba(15,20,40,0.05);
  color:var(--muted2);
}

.missions-modal__footer{
  border-top:1px dashed var(--line);
  padding-top:6px;
  margin-top:4px;
  text-align:right;
}

.missions-modal__footer small{
  font-size:11px;
  color:var(--muted2);
}

/* =========================================================
   MINI AVATAR AO LADO DO NOME
   ====================================================== */

.player-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:inherit;
  text-decoration:none;
  font-weight:800;
}

.player-link:hover .mini-nick{
  text-decoration:underline;
  text-underline-offset:3px;
}

.mini-ava{
  width:32px;
  height:32px;
  border-radius:999px;
  overflow:hidden;
  flex:0 0 32px;
  display:grid;
  place-items:center;
  background:#111827;
  border-color: #1f2933;
  box-shadow:0 4px 10px rgba(15,23,42,.10);
}

.mini-ava img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.mini-ava__fallback{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:900;
  color:#fff;
  user-select:none;
}

.mini-nick{
  line-height:1.1;
  white-space:nowrap;
}

/* Ajuste dentro das listas do Diário */
.simple-list .player-link{ gap:8px; }


/* =========================================================
   RESPONSIVO (HOME)
   ====================================================== */

@media (max-width:1024px){
  .stats-glance{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .daily-slide{ grid-template-columns:1fr 1fr; }
  .start-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width:768px){
  .missions-and-gifs{
    grid-template-columns:1fr;
    gap:18px;
  }

  .mission-list li{
    grid-template-columns:1fr;
    align-items:flex-start;
  }

  .progress{ align-items:stretch; }
  .progress .bar{ width:100%; }
  .progress-footer{ justify-content:space-between; }

  .missions-modal__body{ grid-template-columns:1fr; }

  .daily-nav--prev{ left:-6px; }
  .daily-nav--next{ right:-6px; }

  .missions-and-gifs .gif-reel .gif-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:640px){
  .start-grid{ grid-template-columns:1fr; }
  .daily-slide{ grid-template-columns:1fr; }

  .section-head{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .top-search{ width:100%; }
  .top-search input{ width:100%; }
  .top-search button{ width:48px; }
}

@media (max-width:480px){
  .stats-glance{ grid-template-columns:1fr; }
  .missions-and-gifs .gif-reel .gif-grid{ grid-template-columns:1fr; }
  .start-card{ padding:12px 14px; }
  .start-main h3{ font-size:14px; }
  .start-main p{ font-size:12px; }
}

/* =========================================================
   DARK MODE (HOME)
   ====================================================== */

/* base dark dos cards */
body:not(.theme-light) :is(.profile-card, .daily-card, .mission-list li, .start-card, .stats-glance > div){
  background:var(--panel);
  border-color:var(--line);
  box-shadow:var(--shadow);
}

body:not(.theme-light) .avatar-lg{
  background:#3a2b00;
  color:#ffd35a;
}

body:not(.theme-light) .pill-xs{
  background:var(--panel2);
  border-color:var(--line);
  color:var(--muted);
}

body:not(.theme-light) :is(.you-progress .bar, .progress .bar){
  background:#171922;
}

body:not(.theme-light) .hero-visual{
  background: radial-gradient(180% 140% at 0% 0%, #3a2b00 0%, #111318 40%, #101422 80%);
}

body:not(.theme-light) .start-icon{ background:#171922; }

body:not(.theme-light) .start-pill{
  background:var(--panel2);
  border-color:var(--line);
}

body:not(.theme-light) .top-search input{
  background:var(--panel);
  color:var(--ink);
  border-color:var(--line);
}

body:not(.theme-light) .simple-list li.daily-player:hover{
  background:rgba(245,193,91,0.10);
  border-radius:8px;
}

/* hover dark (perfil + start) */
body:not(.theme-light) :is(.profile-card:hover, .start-card:hover){
  background: radial-gradient(150% 180% at 0% 0%, #2b2417 0%, #181a23 45%, #151824 100%);
  border-color:rgba(245,193,91,0.75);
  box-shadow:0 22px 50px rgba(0,0,0,0.85);
  color:#f7f3e8;
}

body:not(.theme-light) .profile-card:hover :is(.profile-main small, .profile-main strong),
body:not(.theme-light) .start-card:hover :is(.start-main h3, .start-main p){
  color:#f7f3e8;
}

body:not(.theme-light) .profile-card:hover .pill-xs,
body:not(.theme-light) .start-card:hover .start-pill{
  background:rgba(0,0,0,0.35);
  border-color:rgba(245,193,91,0.8);
  color:#f9e5a4;
}

/* mini avatar dark */
body:not(.theme-light) .mini-ava{
  background:#020617;
  border-color:#1f2933;
  box-shadow:0 4px 10px rgba(0,0,0,.35);
}

/* =========================================================
   HOME — PROMO MODAL (mantido separado)
   ====================================================== */

.home-promo-modal{
  width:100%;
  max-width:440px;
  background:#fff;
  border-radius:18px;
  padding:18px 20px 16px;
  box-shadow:0 20px 60px rgba(0,0,0,.45);
  position:relative;
}

.home-promo-close{
  position:absolute;
  top:10px;
  right:10px;
  border:none;
  background:transparent;
  cursor:pointer;
  font-size:16px;
  color:var(--muted2);
  padding:8px;
  border-radius:12px;
}

.home-promo-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  background:#fff7e1;
  border:1px solid #ffe6a8;
  color:#9c6a00;
  margin-bottom:8px;
}

.home-promo-modal h3{
  margin:0 0 6px;
  font-size:18px;
  font-weight:800;
}

.home-promo-modal p{
  margin:0 0 14px;
  font-size:13px;
  color:var(--muted);
}

.home-promo-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:4px;
}

.home-promo-actions .btn-ghost{
  border-radius:999px;
  padding:10px 16px;
  font-size:13px;
  font-weight:700;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  cursor:pointer;
  min-height:44px;
}
.home-promo-actions .btn-ghost:hover{ background:#f8fafc; }

.home-promo-actions .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:10px 22px;
  font-size:13px;
  font-weight:900;
  text-decoration:none !important;
  white-space:nowrap;
  background:linear-gradient(90deg, var(--gold3), var(--gold));
  color:#2b2b2b;
  box-shadow:0 8px 20px rgba(245,193,91,.55);
  border:none;
  cursor:pointer;
  min-height:44px;
}

.home-promo-actions .btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(245,193,91,.7);
}

.home-promo-actions .btn *{ text-decoration:none !important; }

@media (max-width:480px){
  .home-promo-actions{
    flex-direction:column-reverse;
    align-items:stretch;
  }
  .home-promo-actions :is(.btn, .btn-ghost){
    width:100%;
    justify-content:center;
  }
}

/* dark promo modal */
body:not(.theme-light) .home-promo-modal{
  background:#111320;
  border:1px solid rgba(255,255,255,.04);
  box-shadow:0 26px 70px rgba(0,0,0,.95);
  color:var(--ink);
}

body:not(.theme-light) .home-promo-tag{
  background:rgba(245,193,91,0.12);
  border-color:rgba(245,193,91,0.6);
  color:#f9e5a4;
}

body:not(.theme-light) .home-promo-modal h3{ color:#f9fafb; }
body:not(.theme-light) .home-promo-modal p{ color:#9ca3af; }

body:not(.theme-light) .home-promo-actions .btn-ghost{
  background:#0b0e18;
  border-color:rgba(255,255,255,0.10);
  color:#e5e7eb;
}
body:not(.theme-light) .home-promo-actions .btn-ghost:hover{ background:#141826; }
body:not(.theme-light) .home-promo-actions .btn{ color:#111827; }
