/* ExcTeam — tema MU (pedra escura, dourado e verde Excellent) */
:root {
  --bg: #0B0A08;
  --bg-2: #100E0B;
  --panel: #15120E;
  --line: #4A3A24;
  --line-soft: #2A2217;
  --line-strong: #6B5432;
  --gold: #D4A24C;
  --gold-light: #F6DDA8;
  --gold-dark: #8A6424;
  --green: #5BE08A;
  --green-bg: #12301E;
  --text: #EDE6D8;
  --text-2: #C9BFAE;
  --muted: #B3A994;
  --link: #E9C27A;
  --danger: #F2A79F;
  --danger-bg: #2E1715;
  --warn: #F3D49A;
  --warn-bg: #2A2117;
  --display: 'Cinzel', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--gold-light); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: 1280px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 4px; font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-gold { background: var(--gold); color: #1A1206; border-color: var(--gold-light); box-shadow: inset 0 -3px 0 var(--gold-dark); font-weight: 700; }
.btn-gold:hover { background: #E2B866; color: #1A1206; }
.btn-outline { background: var(--panel); color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--gold); color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-danger { background: var(--danger-bg); color: var(--danger); border-color: #7A3A33; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-family: var(--display); font-size: 17px; letter-spacing: .5px; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Topo ---------- */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-name { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: .5px; color: var(--text); }
.exc { font-weight: 900; color: var(--green); text-shadow: 0 0 12px rgba(91, 224, 138, .45); }
.brand-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.area-label { font-family: var(--display); font-size: 14px; color: var(--gold); padding-left: 12px; border-left: 1px solid var(--line); }
.mainnav { display: flex; flex-wrap: wrap; gap: 2px; }
.mainnav a { font-family: var(--display); color: var(--text-2); text-decoration: none; padding: 12px 14px; font-size: 15px; }
.mainnav a.active, .mainnav a:hover { color: var(--text); }
.topbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Seções do site ---------- */
.hero { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; overflow: hidden; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
.hero-text { flex: 999 1 480px; display: flex; flex-direction: column; gap: 22px; }
.hero-art { flex: 1 1 380px; min-height: 360px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel) center/cover no-repeat; box-shadow: inset 0 0 0 5px var(--panel), inset 0 0 0 6px var(--line-soft); display: flex; align-items: flex-end; justify-content: center; padding: 16px; color: #8C8270; font-size: 13px; text-align: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold); font-family: var(--display); font-size: 14px; letter-spacing: 3px; font-weight: 700; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 900; }
.glow { color: var(--green); text-shadow: 0 0 18px rgba(91, 224, 138, .4); }
.lead { font-size: 18px; line-height: 1.65; color: var(--text-2); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.strip { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding-top: 20px; padding-bottom: 20px; }
.strip-label { font-family: var(--display); color: var(--gold); font-weight: 700; margin-right: 8px; }
.chip { font-size: 14px; font-weight: 600; color: var(--text-2); padding: 6px 12px; border: 1px solid #3A2E1E; border-radius: 4px; }

.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 900; }
.section-head p { color: var(--muted); max-width: 620px; }
.divider { width: 160px; height: 12px; }
.note { text-align: center; font-size: 13px; color: #8C8270; margin-top: 20px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.card-framed { border-color: var(--line-strong); box-shadow: inset 0 0 0 4px var(--panel), inset 0 0 0 5px var(--line-soft); }
.card h3 { font-size: 19px; color: var(--gold); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.feature-icon { width: 30px; height: 30px; margin-bottom: 10px; }

.server-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.server-top { height: 170px; border-bottom: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; position: relative; }
.server-top .badge { position: absolute; top: 14px; left: 14px; }
.server-ver { font-family: var(--display); font-size: clamp(40px, 8vw, 60px); font-weight: 900; color: var(--gold); line-height: 1; }
.server-sub { font-family: var(--display); font-size: 14px; letter-spacing: 3px; color: var(--text-2); }
.server-body { padding: 26px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.server-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.included-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; background: var(--green-bg); border: 1px solid #2C5A40; border-radius: 6px; color: var(--green); font-weight: 700; font-size: 14px; text-align: center; }
.included-item svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.price-label { font-size: 13px; color: var(--muted); display: block; }
.price { font-family: var(--display); font-size: 30px; font-weight: 900; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checklist li { display: flex; gap: 10px; font-size: 15px; color: #D8CFBE; }
.checklist li::before { content: ''; flex-shrink: 0; width: 10px; height: 10px; margin-top: 7px; background: var(--gold); transform: rotate(45deg); }

.plan { display: flex; flex-direction: column; gap: 18px; }
.plan.featured { border-color: var(--green); box-shadow: 0 0 28px rgba(91, 224, 138, .18); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan h3 { font-size: 24px; font-weight: 900; margin: 0; }
.plan.featured h3 { color: var(--green); }
.plan .price { font-size: 40px; }
.plan .checklist { flex-grow: 1; }

.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-inner h2 { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.cta-inner p { color: var(--muted); }

.footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.footer-about { max-width: 380px; display: flex; flex-direction: column; gap: 8px; }
.footer-about .brand-name { font-size: 20px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols h3 { font-size: 15px; color: var(--gold); }
.footer-cols a { color: var(--text-2); }
.footer-cols a:hover { color: var(--gold-light); }

/* ---------- Badges e alertas ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; border: 1px solid; white-space: nowrap; }
.badge-ok { background: var(--green-bg); color: var(--green); border-color: var(--green); }
.badge-warn { background: var(--warn-bg); color: var(--warn); border-color: #7A6234; }
.badge-bad { background: var(--danger-bg); color: var(--danger); border-color: #7A3A33; }
.badge-muted { background: #1E1A15; color: var(--text-2); border-color: var(--line); }

.alert { padding: 14px 16px; border-radius: 4px; border: 1px solid; margin-bottom: 20px; font-size: 15px; }
.alert-ok { background: var(--green-bg); color: #A8E8C6; border-color: #2C5A40; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: #7A3A33; }
.alert-info { background: var(--warn-bg); color: var(--warn); border-color: #7A6234; }

/* ---------- Formulários ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--text-2); }
.field small { font-size: 13px; color: var(--muted); }
input[type=text], input[type=url], input[type=datetime-local], input[type=email], input[type=password], input[type=number], input[type=date], input[type=file], select, textarea {
  width: 100%; padding: 12px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text); font: 15px var(--body);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.inline-form { display: inline; }

.auth-wrap { min-height: calc(100vh - 180px); display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 28px; font-weight: 900; margin-bottom: 6px; text-align: center; }
.auth-card .sub { color: var(--muted); text-align: center; margin-bottom: 24px; font-size: 15px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-top: 4px; }

/* ---------- Painel ---------- */
.userbox { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--warn-bg); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; color: var(--gold); }
.userbox-text { display: flex; flex-direction: column; font-size: 14px; }
.userbox-name { font-weight: 600; }
.userbox-text a { font-size: 12px; }

.panel-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-top: 32px; padding-bottom: 48px; }
.sidenav { flex: 1 1 220px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.sidenav a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 4px; font-size: 15px; color: var(--text-2); text-decoration: none; border-left: 3px solid transparent; }
.sidenav a svg { fill: var(--line); flex-shrink: 0; }
.sidenav a.active { background: var(--warn-bg); color: var(--text); font-weight: 600; border-left-color: var(--gold); }
.sidenav a.active svg { fill: var(--gold); }
.sidenav a:hover { color: var(--text); }
.sidenav .sidenav-sub { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft); border-radius: 0; margin-top: 6px; }
.panel-main { flex: 999 1 680px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.panel-title h1 { font-size: 30px; font-weight: 900; }
.panel-title p { color: var(--muted); margin-top: 6px; }
.section-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-title h2 { font-size: 22px; font-weight: 900; color: var(--gold); }

.stat { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.stat-value { font-family: var(--display); font-size: 28px; font-weight: 900; }

.item { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 6px; padding: 18px; }
.item + .item { margin-top: 12px; }
.item-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.item-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.item-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.item-meta strong { color: var(--text); font-weight: 500; }
.item-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ver-box { width: 84px; height: 84px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 24px; font-weight: 900; color: var(--gold); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.empty { color: var(--muted); font-size: 15px; padding: 8px 0; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 12px; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }

.pix-box { display: flex; flex-direction: column; gap: 12px; }
.copy-row { display: flex; gap: 8px; flex-wrap: wrap; }
.copy-row input { flex: 1 1 240px; }

.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { padding: 16px; border-radius: 6px; border: 1px solid var(--line-soft); background: var(--bg-2); }
.msg.staff { border-color: #2C5A40; background: #0F1A13; }
.msg-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.msg-head strong { color: var(--text); }
.msg-body { white-space: pre-wrap; font-size: 15px; }

details.box { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 6px; padding: 14px 16px; }
details.box summary { cursor: pointer; color: var(--link); font-weight: 600; }
details.box[open] summary { margin-bottom: 14px; }

@media (max-width: 640px) {
  .checklist.two { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .section { padding: 56px 0; }
}

/* ---------- Fundo do topo (arte original em SVG) ---------- */
.hero { background: var(--bg) url('../img/hero-bg.svg') center bottom / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,8,.94) 0%, rgba(11,10,8,.78) 42%, rgba(11,10,8,.25) 75%, rgba(11,10,8,.1) 100%); pointer-events: none; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(11,10,8,0), var(--bg)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-emblem { flex: 1 1 360px; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.hero-emblem svg { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 0 24px rgba(212,162,76,.25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-emblem svg { animation: none; } }

/* ---------- Botão e modal de changelog ---------- */
.server-top .btn-changelog { position: absolute; top: 12px; right: 12px; min-height: 36px; padding: 6px 12px; gap: 6px; font-size: 13px; }
.btn-changelog svg { width: 14px; height: 14px; fill: none; stroke: var(--gold); stroke-width: 2.2; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,4,3,.86); border: 0; cursor: zoom-out; }
.modal-box { position: relative; width: 100%; max-width: 960px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--panel); border: 1px solid var(--line-strong); box-shadow: inset 0 0 0 5px var(--panel), inset 0 0 0 6px var(--line-soft), 0 30px 80px rgba(0,0,0,.6); border-radius: 6px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px 0; }
.modal-title { display: flex; align-items: center; gap: 14px; }
.modal-title .big { font-family: var(--display); font-size: 34px; font-weight: 900; color: var(--gold); line-height: 1; }
.modal-title small { display: block; font-size: 13px; color: var(--muted); }
.modal-close { width: 44px; height: 44px; flex-shrink: 0; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.modal-tabs { display: flex; gap: 4px; padding: 18px 22px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.modal-tabs button { min-height: 44px; padding: 10px 18px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-family: var(--display); font-size: 15px; font-weight: 700; cursor: pointer; margin-bottom: -1px; white-space: nowrap; }
.modal-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--gold); }
.modal-body { padding: 22px; }
.modal-panel[hidden] { display: none; }

.timeline { display: flex; flex-direction: column; gap: 22px; }
.tl-item { display: flex; gap: 18px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 6px; }
.tl-rail i { width: 12px; height: 12px; background: var(--line-strong); transform: rotate(45deg); }
.tl-item.current .tl-rail i { background: var(--green); }
.tl-rail b { width: 1px; flex-grow: 1; background: var(--line); }
.tl-content { flex-grow: 1; display: flex; flex-direction: column; gap: 10px; }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tl-head strong { font-family: var(--display); font-size: 20px; }
.tl-head span { font-size: 13px; color: var(--muted); }
.changes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.changes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #D8CFBE; }
.tag { flex-shrink: 0; min-width: 82px; text-align: center; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; border: 1px solid; }
.tag-novo { background: var(--green-bg); color: var(--green); }
.tag-melhoria { background: var(--warn-bg); color: var(--warn); }
.tag-correcao { background: #1B2230; color: #9CC3F5; }

.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 4px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lightbox { display: flex; flex-direction: column; gap: 14px; }
.lb-stage { position: relative; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 4px; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(21,18,14,.92); border: 1px solid var(--line-strong); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lb-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.lb-thumbs button { width: 64px; height: 40px; padding: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; }
.lb-thumbs button[aria-current="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.modal-open { overflow: hidden; }

/* admin: galeria */
.admin-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.admin-shot { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 6px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.admin-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }

/* Fundo próprio enviado em assets/img/fundo.jpg */
.hero.has-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero.has-bg .hero-emblem { display: none; }
.hero { min-height: 620px; display: flex; align-items: center; }
.hero > .container { width: 100%; }
@media (max-width: 900px) { .hero { min-height: 0; background-position: 78% bottom; } }
.hero-text { max-width: 620px; }
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.6); }
@media (max-width: 900px) { .hero::before { background: linear-gradient(180deg, rgba(11,10,8,.88) 0%, rgba(11,10,8,.8) 60%, rgba(11,10,8,.65) 100%); } }
/* Fundo enviado (fundo.jpg): personagens à direita, lado esquerdo escuro para o texto */
.hero.has-bg { background-position: right center; }
.hero.has-bg::before { background: linear-gradient(90deg, rgba(11,10,8,.85) 0%, rgba(11,10,8,.55) 35%, rgba(11,10,8,0) 60%); }
@media (max-width: 900px) {
  .hero.has-bg { background-position: 72% center; }
  .hero.has-bg::before { background: linear-gradient(180deg, rgba(11,10,8,.82) 0%, rgba(11,10,8,.72) 100%); }
}

/* Fundo do topo: usa assets/img/fundo.jpg; se não existir, cai na arte hero-bg.svg */
.hero {
  background-color: var(--bg);
  background-image: url('../img/fundo.jpg'), url('../img/hero-bg.svg');
  background-position: right center, center bottom;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}
@media (max-width: 900px) { .hero { background-position: 72% center, 78% bottom; } }

/* ---------- Modal: animação de abertura, sem barra de rolagem extra ---------- */
.modal { display: flex; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .22s ease, visibility 0s linear .22s; }
.modal.open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .22s ease, visibility 0s; }
.modal-box { transform: translateY(18px) scale(.96); opacity: 0; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .22s ease; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.modal.open .modal-box { transform: none; opacity: 1; }
.modal-box::-webkit-scrollbar { width: 8px; }
.modal-box::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-tabs { overflow: visible; flex-wrap: wrap; }
.modal-tabs button { margin-bottom: 0; }
.modal-backdrop { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal-panel { animation: panelIn .25s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .modal, .modal-box { transition: none; }
  .modal-box { transform: none; }
  .modal-panel { animation: none; }
}

/* Admin: linhas de mudança do changelog */
.change-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.change-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
@media (max-width: 560px) { .change-row { grid-template-columns: 1fr auto; } .change-row input { grid-column: 1 / -1; grid-row: 2; } }

/* Modal rola com a barra do navegador (sem barra interna) */
.modal { position: absolute; left: 0; right: 0; bottom: auto; top: 0; align-items: flex-start; padding: 40px 20px 60px; }
.modal-backdrop { position: fixed; }
.modal-box { max-height: none; overflow: visible; }
body.modal-open { overflow: visible; }

/* Modal: camada fixa que rola sozinha; a barra fica no mesmo lugar da barra do navegador */
.modal { position: fixed; inset: 0; top: 0 !important; overflow-y: auto; overscroll-behavior: contain; align-items: flex-start; padding: 40px 20px 60px; }
.modal-backdrop { position: fixed; }
.modal-box { margin: auto 0; }
body.modal-open { overflow: hidden; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; font-size: 16px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--gold-light); }
.faq-answer { padding: 0 20px 18px; color: var(--text-2); line-height: 1.7; }

/* Páginas legais */
.legal { max-width: 860px; }
.legal-text { padding: 32px; color: var(--text-2); line-height: 1.75; }
.legal-text h2 { font-size: 20px; color: var(--gold); margin: 28px 0 10px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p { margin: 0 0 14px; }
.legal-text ul { margin: 0 0 14px; padding-left: 22px; }
.legal-text li { margin-bottom: 6px; }

/* Caixa de aceite */
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.check-line input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; }

/* Página de pedido */
.order-head { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.order-head h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 900; }
.order-head p { color: var(--muted); }
.order-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.order-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.order-side { flex: 1 1 340px; position: sticky; top: 20px; }
.order-summary { display: flex; flex-direction: column; gap: 14px; }
.order-summary h2 { font-size: 24px; font-weight: 900; color: var(--gold); }
.order-summary .included-item { padding: 10px 6px; font-size: 13px; }
.summary { display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 6px; padding: 14px 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--text-2); }
.summary-row[hidden] { display: none; }
.summary-row.discount { color: var(--green); }
.summary-row.total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; color: var(--text); font-weight: 700; font-size: 18px; }
.summary-row.total span:last-child { font-family: var(--display); font-size: 24px; color: var(--gold); }
.install-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg-2); cursor: pointer; }
.install-option input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.install-option strong { display: block; font-size: 16px; }
.install-option small { color: var(--muted); font-size: 14px; }
.install-option:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.install-fields { display: flex; flex-direction: column; gap: 14px; }
.install-fields[hidden] { display: none; }
@media (max-width: 900px) { .order-side { position: static; } }

/* Detalhe do pedido */
.order-detail { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.order-detail > div { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 6px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.order-detail span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.order-detail strong { font-size: 15px; font-weight: 600; word-break: break-word; }
.order-detail small { color: var(--muted); font-size: 13px; }
.order-detail .btn { align-self: flex-start; }

/* Admin: tabela de preços */
.price-table { display: flex; flex-direction: column; }
.price-head, .price-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(160px, .8fr) minmax(250px, 1fr); gap: 16px; align-items: center; }
.price-head { padding: 0 0 10px; border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.price-row { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.price-row:last-child { border-bottom: 0; }
.price-name { display: flex; flex-direction: column; gap: 2px; }
.price-name strong { font-size: 15px; }
.price-name small { color: var(--muted); font-size: 13px; }
.money-input { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px; }
.money-input:focus-within { border-color: var(--gold); }
.money-input span { padding: 0 4px 0 12px; color: var(--gold); font-weight: 600; font-size: 14px; }
.money-input input { border: 0; background: transparent; padding-left: 4px; }
.money-input input:focus { outline: none; }
.billing-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden; }
.billing-toggle label { flex: 1; cursor: pointer; }
.billing-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle span { display: block; text-align: center; padding: 11px 14px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.billing-toggle label + label span { border-left: 1px solid var(--line-strong); }
.billing-toggle input:checked + span { background: var(--gold); color: #1A1206; font-weight: 700; }
.billing-toggle input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: -2px; }
@media (max-width: 760px) {
  .price-head { display: none; }
  .price-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ================= v6: idioma, notificações, 2FA, status, manutenção, comunidade ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.narrow { max-width: 860px; }
.topbar-actions { align-items: center; }

/* Idioma */
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden; }
.lang-switch a { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--text-2); background: var(--panel); }
.lang-switch a + a { border-left: 1px solid var(--line-strong); }
.lang-switch a.active { background: var(--gold); color: #1A1206; }

/* Sino de notificações */
.bell { position: relative; }
.bell > summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text-2); cursor: pointer; position: relative; }
.bell > summary::-webkit-details-marker { display: none; }
.bell[open] > summary, .bell > summary:hover { border-color: var(--gold); color: var(--text); }
.bell-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--green); color: #07160D; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg-2); }
.bell-menu { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.6); z-index: 60; overflow: hidden; animation: bellIn .16s ease-out; }
@keyframes bellIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.bell-head strong { font-family: var(--display); color: var(--gold); }
.bell-empty { margin: 0; padding: 20px 16px; color: var(--muted); font-size: 14px; }
.bell-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); color: var(--text-2); font-size: 14px; }
.bell-item:last-child { border-bottom: 0; }
.bell-item:hover { background: #1B1712; color: var(--text); }
.bell-item.unread { background: #17140F; box-shadow: inset 3px 0 0 var(--green); color: var(--text); }
.bell-title { font-weight: 600; }
.bell-body { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bell-time { color: #8C8270; font-size: 12px; }
.notif-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.notif-list a { display: flex; gap: 14px; align-items: flex-start; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); color: var(--text-2); }
.notif-list li:last-child a { border-bottom: 0; }
.notif-list a:hover { color: var(--text); background: #18150F; }
.notif-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; background: var(--line); }
.notif-list .unread .notif-dot { background: var(--green); box-shadow: 0 0 8px rgba(91,224,138,.6); }
.notif-list .unread strong { color: var(--text); }
.notif-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notif-text span { color: var(--muted); font-size: 14px; }
.notif-list time { font-size: 12px; color: #8C8270; white-space: nowrap; }

/* 2FA e segurança */
.twofa-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--warn-bg); border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; }
.auth-card .twofa-icon + h1 { text-align: center; }
.code-input { font-family: ui-monospace, monospace; font-size: 22px !important; letter-spacing: 6px; text-align: center; }
.twofa-setup { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.twofa-qr { padding: 14px; background: #F4EBD8; border-radius: 6px; width: 208px; height: 208px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.twofa-setup > div:last-child { flex: 1 1 320px; }
.steps-list { margin: 0 0 18px; padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; line-height: 1.55; }
.secret-key { display: inline-block; margin-top: 6px; padding: 6px 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; color: var(--gold-light); font-size: 15px; letter-spacing: 1px; word-break: break-all; }
.backup-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 12px 0; }
.backup-codes code { padding: 10px; text-align: center; background: var(--bg); border: 1px dashed var(--line-strong); border-radius: 4px; font-size: 16px; color: var(--gold-light); letter-spacing: 1px; }
.card-sub { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 6px; padding: 18px; }
.card-sub h3 { font-size: 17px; color: var(--gold); }
.switch-line { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.switch-line input { width: 20px; height: 20px; accent-color: var(--green); }
.checks { border: 1px solid var(--line-soft); border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.checks legend { padding: 0 6px; color: var(--gold); font-weight: 600; font-size: 14px; }
.captcha { min-height: 65px; }
.badge-info { background: #15202E; color: #9CC3F5; border-color: #35506F; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.seo-links { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.seo-links code { background: var(--bg); padding: 4px 8px; border-radius: 4px; color: var(--gold-light); }
.color-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
button.chip { background: var(--bg-2); cursor: pointer; }
button.chip:hover { border-color: var(--danger); color: var(--danger); }
details.more { margin-top: 16px; }
details.more > summary { cursor: pointer; color: var(--link); font-size: 14px; margin-bottom: 12px; }
td.actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* Manutenção */
.maint-bar { background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid #7A6234; text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.maint { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; background: radial-gradient(ellipse at top, #1B160E 0%, var(--bg) 70%); }
.maint-box { max-width: 560px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 40px 32px; }
.maint-box h1 { font-size: clamp(28px, 5vw, 38px); font-weight: 900; }
.maint-box p { color: var(--text-2); font-size: 16px; margin: 0; }
.maint-until strong { color: var(--gold); }

/* Página de status */
.status-page .section-head { margin-bottom: 28px; }
.status-page h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; }
.status-page .container { display: flex; flex-direction: column; gap: 18px; }
.status-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 20px 24px; border-radius: 6px; border: 1px solid; font-size: 18px; }
.status-banner small { margin-left: auto; font-size: 13px; opacity: .85; }
.status-ok { background: var(--green-bg); border-color: var(--green); color: var(--green); }
.status-warn { background: var(--warn-bg); border-color: #7A6234; color: var(--warn); }
.status-bad { background: var(--danger-bg); border-color: #7A3A33; color: var(--danger); }
.status-info { background: #15202E; border-color: #35506F; color: #9CC3F5; }
.status-pulse { width: 14px; height: 14px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91,224,138,.5); } 70% { box-shadow: 0 0 0 12px rgba(91,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(91,224,138,0); } }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-weight: 600; }
.status-list li:last-child { border-bottom: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 20px; font-size: 13px; border: 1px solid; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.incident { display: flex; flex-direction: column; gap: 10px; }
.incident-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.incident-head h2 { font-size: 20px; }
.status-sub { font-size: 20px; color: var(--gold); margin-top: 12px; }
.incident-history { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.incident-history li { display: flex; flex-direction: column; gap: 4px; }
.incident-history p { margin: 0; color: var(--text-2); font-size: 15px; }
.status-foot { color: var(--muted); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .status-pulse, .bell-menu { animation: none; } }

/* Comunidade */
.f-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.f-hero-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; padding-top: 48px; padding-bottom: 36px; }
.f-hero-text { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.f-hero-text h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 900; }
.f-hero-text p { margin: 0; color: var(--muted); font-size: 17px; }
.f-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.f-search { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 12px; min-width: 260px; color: var(--muted); }
.f-search:focus-within { border-color: var(--gold); }
.f-search input { flex: 1; border: 0; background: transparent; color: var(--text); padding: 12px 0; font-size: 15px; outline: none; min-height: 44px; }
.f-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-top: 32px; padding-bottom: 80px; }
.f-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.f-side { flex: 1 1 290px; display: flex; flex-direction: column; gap: 18px; }
.f-cats-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.f-cats-head h2 { font-size: 22px; color: var(--gold); }
.f-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.f-cat { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; color: var(--text); transition: border-color .15s, transform .15s; }
.f-cat:hover { border-color: var(--cat); color: var(--text); transform: translateY(-1px); }
.f-cat.active { border-color: var(--cat); box-shadow: inset 0 0 0 1px var(--cat); background: #1A1611; }
.f-cat-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--cat); display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--cat) 14%, transparent); }
.f-cat-icon path { fill: var(--cat); }
.f-cat-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.f-cat-text strong { font-size: 16px; }
.f-cat-text span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.f-cat-text small { font-size: 12px; color: #8C8270; }
.f-list { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.f-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.f-list-head h2 { font-size: 20px; }
.f-sorts { display: flex; flex-wrap: wrap; gap: 4px; }
.f-sorts a { min-height: 36px; display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; color: var(--text-2); border: 1px solid transparent; }
.f-sorts a.active { background: var(--warn-bg); border-color: var(--gold); color: var(--gold-light); }
.f-empty { margin: 0; padding: 24px 20px; color: var(--muted); }
.f-topic { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.f-topic:hover { background: #1A1611; color: var(--text); }
.f-topic.pinned { background: #17140E; }
.f-avatar { flex-shrink: 0; border-radius: 50%; background: #2A2117; border: 1px solid; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; color: var(--gold-light); font-size: 15px; }
.f-topic-main { flex: 1 1 300px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f-topic-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.f-topic-title strong { font-size: 16px; font-weight: 600; }
.f-topic-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 13px; color: #8C8270; }
.f-author { color: var(--text-2); }
.f-topic-nums { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.f-topic-nums span { display: flex; flex-direction: column; align-items: center; min-width: 58px; }
.f-topic-nums strong { font-size: 16px; color: var(--text); }
.f-flag { padding: 2px 8px; border-radius: 4px; background: #1E1A15; border: 1px solid var(--line); color: var(--text-2); font-size: 11px; font-weight: 700; white-space: nowrap; }
.f-flag-pin { background: #2A2117; border-color: var(--gold); color: var(--gold); }
.f-flag-ok { background: var(--green-bg); border-color: var(--green); color: var(--green); }
.f-tag { padding: 0 6px; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.f-tag-staff { background: #2A2117; color: var(--gold); border: 1px solid #6B5432; }
.f-tag-client { background: var(--green-bg); color: var(--green); border: 1px solid #2B6B44; }
.f-pages { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 20px; justify-content: center; }
.f-pages a { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; color: var(--text-2); background: var(--panel); }
.f-pages a.active { background: var(--gold); color: #1A1206; border-color: var(--gold-light); font-weight: 700; }
.f-box { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.f-box h2 { font-size: 18px; color: var(--gold); }
.f-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: center; }
.f-stats strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 900; color: var(--gold); }
.f-stats strong.green { color: var(--green); }
.f-stats span { font-size: 12px; color: var(--muted); }
.f-member { display: flex; align-items: center; gap: 12px; }
.f-member-name { flex: 1; display: flex; flex-direction: column; min-width: 0; font-size: 12px; }
.f-member-name strong { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-member small { font-size: 12px; color: #8C8270; white-space: nowrap; }
.f-rank { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.f-rank > span { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.f-rank small { color: #8C8270; }
.f-hint { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.f-side-links { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.f-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: #8C8270; margin-bottom: 4px; }
.f-topic-head { display: flex; flex-direction: column; gap: 8px; }
.f-topic-head h1 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 900; line-height: 1.2; }
.f-topic-flags { display: flex; gap: 8px; }
.f-topic-flags:empty { display: none; }
.f-topic-sub { margin: 0; font-size: 14px; color: var(--muted); }
.f-topic-sub strong { color: var(--text-2); }
.f-mod { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 14px; background: #17140E; border: 1px dashed #6B5432; border-radius: 6px; }
.f-mod-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; margin-right: 4px; }
.f-mod-move { display: flex; gap: 6px; }
.f-mod-move select { min-height: 36px; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 8px; }
.f-best-jump { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 18px; background: var(--green-bg); border: 1px solid var(--green); border-radius: 6px; color: var(--green); }
.f-best-jump:hover { color: var(--green); background: #163A25; }
.f-best-go { margin-left: auto; font-weight: 700; }
.f-posts { display: flex; flex-direction: column; gap: 14px; }
.f-post { display: flex; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; scroll-margin-top: 16px; }
.f-post.staff { border-color: #6B5432; }
.f-post.best { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 28px rgba(91,224,138,.12); }
.f-post:target { box-shadow: 0 0 0 2px var(--gold); }
.f-post-author { flex: 1 1 170px; max-width: 220px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 14px; background: var(--bg-2); border-right: 1px solid var(--line-soft); text-align: center; }
.f-post-author strong { font-size: 15px; word-break: break-word; }
.f-post-rank { font-size: 13px; font-weight: 700; }
.f-post-author small { font-size: 12px; color: #8C8270; }
.f-post-body { flex: 999 1 360px; min-width: 0; padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.f-post-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: #8C8270; }
.f-post-time { color: #8C8270; }
.f-post-edited { font-style: italic; }
.f-post-text { font-size: 16px; line-height: 1.7; color: var(--text); overflow-wrap: anywhere; }
.f-post-text code { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 3px; padding: 1px 6px; font-size: 14px; color: var(--gold-light); }
.post-code { margin: 10px 0; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; color: #D9CFBD; font-size: 14px; line-height: 1.55; overflow-x: auto; white-space: pre; }
.f-post-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.f-like, .f-act { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: transparent; border: 1px solid var(--line); border-radius: 4px; color: var(--text-2); font: 600 13px var(--body); cursor: pointer; }
.f-like:hover, .f-act:hover { border-color: var(--gold); color: var(--text); }
.f-like.on { border-color: #7A3A33; color: var(--danger); background: var(--danger-bg); }
.f-like.static { cursor: default; border-color: transparent; }
.f-act.on { border-color: var(--green); color: var(--green); }
.f-act.muted { color: #8C8270; }
.f-act.danger:hover { border-color: #7A3A33; color: var(--danger); }
.f-reply { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.f-reply h2 { font-size: 20px; color: var(--gold); }
.f-reply p { margin: 0; }
.f-related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.f-related li { display: flex; flex-direction: column; font-size: 14px; }
.f-related small { color: #8C8270; font-size: 12px; }
.f-new h1 { font-size: 30px; font-weight: 900; }
.f-cat-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.f-cat-pick legend { font-weight: 600; margin-bottom: 8px; font-size: 14px; color: var(--text-2); }
.f-cat-pick label { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; background: var(--bg-2); }
.f-cat-pick label:has(input:checked) { border-color: var(--cat); box-shadow: inset 0 0 0 1px var(--cat); }
.f-cat-pick input { margin-top: 3px; accent-color: var(--gold); }
.f-cat-pick span { display: flex; flex-direction: column; gap: 2px; }
.f-cat-pick strong { color: var(--cat); font-size: 15px; }
.f-cat-pick small { color: var(--muted); font-size: 12px; line-height: 1.4; }
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .f-post-author { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 12px 16px; }
  .f-post-author .f-avatar { width: 40px !important; height: 40px !important; }
  .f-post-body { padding: 16px; }
  .f-topic-nums { width: 100%; justify-content: flex-start; padding-left: 54px; }
  .f-topic-nums span { flex-direction: row; gap: 4px; min-width: 0; }
  .f-search { min-width: 0; flex: 1 1 100%; }
  .status-banner small { margin-left: 0; }
}
.twofa-setup { margin-top: 16px; }
.topbar { position: relative; }
@media (max-width: 640px) {
  .bell { position: static; }
  .bell-menu { left: 16px; right: 16px; width: auto; top: calc(100% - 4px); }
}
/* Topo em uma linha só no computador */
.topbar-actions { flex-wrap: nowrap; }
.topbar-actions .btn { white-space: nowrap; }
.lang-switch a { min-width: 36px; min-height: 36px; }
.bell > summary { width: 40px; height: 40px; }
@media (min-width: 1000px) {
  .topbar-inner { flex-wrap: nowrap; }
  .mainnav { flex-wrap: nowrap; margin-left: auto; }
  .mainnav a { white-space: nowrap; padding: 12px; }
}
/* Banner da comunidade */
.f-hero.has-banner { position: relative; overflow: hidden; background: var(--bg) var(--f-banner) center 35% / cover no-repeat; }
.f-hero.has-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,8,.94) 0%, rgba(11,10,8,.78) 38%, rgba(11,10,8,.25) 70%, rgba(11,10,8,.35) 100%), linear-gradient(0deg, rgba(11,10,8,.85) 0%, rgba(11,10,8,0) 45%); }
.f-hero.has-banner .f-hero-inner { position: relative; padding-top: 84px; padding-bottom: 56px; min-height: 340px; }
.f-hero.has-banner .f-hero-text h1, .f-hero.has-banner .f-hero-text p { text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.f-hero.has-banner .f-search { background: rgba(11,10,8,.85); }
@media (max-width: 760px) {
  .f-hero.has-banner { background-position: 70% center; }
  .f-hero.has-banner::before { background: linear-gradient(180deg, rgba(11,10,8,.88) 0%, rgba(11,10,8,.8) 60%, rgba(11,10,8,.92) 100%); }
  .f-hero.has-banner .f-hero-inner { padding-top: 48px; padding-bottom: 32px; min-height: 0; }
}
.f-like b { font-weight: 700; }
.f-like.pop svg { animation: likePop .35s ease-out; }
@keyframes likePop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .f-like.pop svg { animation: none; } }

/* ================= Templates e Meu website ================= */
.gold { color: var(--gold); } .green { color: var(--green); } .warn-text { color: var(--warn); }
.tpl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.plan-card { display: flex; flex-wrap: wrap; gap: 26px; padding: 26px; border-radius: 6px; border: 1px solid var(--gold); background: linear-gradient(135deg, #1A1610 0%, #15120E 55%, #11251A 100%); box-shadow: inset 0 0 0 4px var(--panel), inset 0 0 0 5px var(--line-soft); }
.plan-card.plan-off { border-color: var(--line-strong); background: var(--panel); }
.plan-card.plan-empty { justify-content: space-between; align-items: center; }
.plan-main { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.plan-main h2, .plan-empty h2 { font-size: 26px; font-weight: 900; }
.plan-main p, .plan-empty p { margin: 0; color: var(--text-2); line-height: 1.55; }
.plan-main p strong { color: var(--text); }
.plan-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.plan-eyebrow { font-family: var(--display); font-size: 13px; letter-spacing: 3px; color: var(--gold); font-weight: 700; text-transform: uppercase; }
.plan-info { flex: 1 1 360px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plan-info > div { background: #0F0D0A; border: 1px solid var(--line-soft); border-radius: 6px; padding: 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.plan-info span { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #8C8270; }
.plan-info strong { font-size: 17px; overflow-wrap: anywhere; }
.plan-info small { font-size: 12px; color: #8C8270; }
.tpl-section { display: flex; flex-direction: column; gap: 16px; }
.tpl-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.tpl-section-head h2 { font-size: 24px; color: var(--gold); }
.tpl-section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.tpl-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.tpl-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tpl-card.using { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 10px 30px rgba(91,224,138,.12); }
.tpl-thumb { position: relative; aspect-ratio: 16 / 10; background: #0B0A08; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.tpl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpl-flag { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 800; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.tpl-flag-use { background: var(--green-bg); border: 1px solid var(--green); color: var(--green); }
.tpl-flag-new { background: var(--gold); color: #1A1206; }
.tpl-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tpl-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tpl-title h3 { font-size: 19px; }
.tpl-title span { font-size: 12px; font-weight: 700; white-space: nowrap; }
.tpl-body p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.tpl-versions { display: flex; flex-wrap: wrap; gap: 6px; }
.tpl-versions span { padding: 2px 8px; border-radius: 3px; background: #1E1A15; border: 1px solid #3A2E1E; color: var(--text-2); font-size: 12px; font-weight: 600; }
.tpl-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; }
.tpl-price strong { font-family: var(--display); font-size: 22px; color: var(--gold); }
.tpl-price strong.free { color: var(--green); }
.tpl-price small { color: #8C8270; font-size: 12px; }
.tpl-owned { color: var(--green); font-weight: 700; font-size: 14px; }
.tpl-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tpl-actions form { display: flex; gap: 6px; }
.tpl-use select { min-height: 36px; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 6px; max-width: 150px; }
.tpl-using { background: var(--green-bg); color: var(--green); border-color: var(--green); cursor: default; }
.tpl-note { font-size: 12px; color: #8C8270; }
.tpl-custom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px; background: var(--panel); border: 1px dashed var(--line-strong); border-radius: 6px; }
.tpl-custom div { display: flex; flex-direction: column; gap: 4px; max-width: 640px; }
.tpl-custom strong { font-family: var(--display); font-size: 18px; color: var(--gold); }
.tpl-custom span { font-size: 14px; color: var(--muted); }
.tpl-public h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; }
.tpl-filters { justify-content: center; margin-bottom: 26px; }
/* Desenho de capa quando não há imagem */
.tpl-mock { position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--tc) 38%, transparent), transparent 55%), linear-gradient(135deg, color-mix(in srgb, var(--tc) 14%, #0B0A08) 0%, #0B0A08 75%); }
.tpl-mock i, .tpl-mock b, .tpl-mock span, .tpl-mock em { display: block; border-radius: 3px; }
.tpl-mock-nav { position: absolute; left: 6%; right: 6%; top: 7%; display: flex; align-items: center; gap: 8px; }
.tpl-mock-nav i { width: 13px; height: 13px; transform: rotate(45deg); border: 2px solid var(--tc); border-radius: 1px; }
.tpl-mock-nav b { width: 22%; height: 6px; background: var(--tc); }
.tpl-mock-nav span { width: 9%; height: 5px; background: rgba(255,255,255,.35); }
.tpl-mock-nav span:first-of-type { margin-left: auto; }
.tpl-mock-nav em { width: 12%; height: 12px; background: var(--tc); }
.tpl-mock-hero { position: absolute; left: 6%; top: 27%; width: 50%; display: flex; flex-direction: column; gap: 7px; }
.tpl-mock-hero b { height: 10px; width: 92%; background: rgba(255,255,255,.85); }
.tpl-mock-hero b.s { width: 64%; }
.tpl-mock-hero span { height: 5px; width: 80%; background: rgba(255,255,255,.3); margin-top: 3px; }
.tpl-mock-hero span.s { width: 66%; margin-top: 0; }
.tpl-mock-hero em { height: 15px; width: 36%; background: var(--tc); margin-top: 6px; }
.tpl-mock-side { position: absolute; right: 6%; top: 25%; width: 32%; height: 40%; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.tpl-mock-side b { height: 5px; width: 60%; background: var(--tc); }
.tpl-mock-side span { height: 5px; background: rgba(255,255,255,.3); }
.tpl-mock-cards { position: absolute; left: 6%; right: 6%; bottom: 7%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tpl-mock-cards i { height: 26px; background: rgba(0,0,0,.35); border-top: 2px solid var(--tc); border-radius: 4px; }
/* Admin */
.tpl-admin-list { display: flex; flex-direction: column; gap: 10px; }
.tpl-admin-item { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 12px; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 6px; }
.tpl-admin-thumb { position: relative; width: 140px; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--line-soft); }
.tpl-admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tpl-admin-main { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.tpl-admin-main strong { font-size: 16px; color: var(--text); }
.tpl-admin-preview { display: flex; gap: 12px; align-items: flex-end; margin-top: 16px; }
.tpl-admin-preview img { width: 260px; border-radius: 4px; border: 1px solid var(--line); }
.checks-inline { flex-direction: row; flex-wrap: wrap; gap: 10px 18px; }
@media (max-width: 640px) { .plan-info { grid-template-columns: 1fr; } }

/* ================= Temas especiais ================= */
.theme-carnaval { --gold: #FF4FA3; --gold-light: #FFB3D6; --gold-dark: #9C1F5E; --green: #2FD4C6; --green-bg: #0E2A2A; --link: #FF8CC4; --bg: #0D0614; --bg-2: #140A1E; --panel: #170D20; --line: #4A2A5E; --line-strong: #6E3A86; --line-soft: #2A1636; --warn-bg: #2A1236; }
.theme-pascoa { --gold: #E8B4F0; --gold-light: #F6DDFB; --gold-dark: #8A5A96; --green: #9EE6C4; --green-bg: #13291F; --link: #F0C8F6; --bg: #0E0A0C; --bg-2: #16100F; --panel: #1A1313; --line: #4A3830; --line-strong: #6E5246; --line-soft: #2A1E1A; --warn-bg: #2A1E26; }
.theme-junina { --gold: #FFA22E; --gold-light: #FFD9A6; --gold-dark: #9A5A0E; --green: #FFD400; --green-bg: #2A2306; --link: #FFC26E; --bg: #0F0A06; --bg-2: #17100A; --panel: #1B130C; --line: #5A3A1C; --line-strong: #7A4E24; --line-soft: #2E2010; --warn-bg: #2E1C0A; }
.theme-halloween { --gold: #F28C28; --gold-light: #FFC98F; --gold-dark: #8E4A0A; --green: #A66BE0; --green-bg: #1E1230; --link: #F7A85C; --bg: #0C0810; --bg-2: #120B17; --panel: #160E1C; --line: #3E2850; --line-strong: #5E3A78; --line-soft: #24162E; --warn-bg: #2A1406; }
.theme-blackfriday { --gold: #FFD400; --gold-light: #FFF09A; --gold-dark: #8A7300; --green: #FFD400; --green-bg: #262000; --link: #FFE14D; --bg: #050505; --bg-2: #0A0A0A; --panel: #111111; --line: #2E2E2E; --line-strong: #4A4300; --line-soft: #1E1E1E; --warn-bg: #1E1A00; }
.theme-natal { --gold: #E0B35A; --gold-light: #F6DDA8; --gold-dark: #8A6424; --green: #E04848; --green-bg: #2E1213; --link: #EBC77E; --bg: #0A0F0C; --bg-2: #0E1611; --panel: #121A14; --line: #2E4A34; --line-strong: #3E6646; --line-soft: #1A2A1E; --warn-bg: #2A1614; }
.theme-anonovo { --gold: #F2D478; --gold-light: #FFF0C2; --gold-dark: #8A7430; --green: #9CC3F5; --green-bg: #13202E; --link: #F6DF96; --bg: #08080C; --bg-2: #0E0E14; --panel: #131319; --line: #3A3624; --line-strong: #5C5030; --line-soft: #1E1D18; --warn-bg: #22200E; }
.theme-carnaval .exc, .theme-blackfriday .exc { text-shadow: 0 0 12px color-mix(in srgb, var(--green) 50%, transparent); }

.theme-promo { position: relative; z-index: 5; text-align: center; padding: 9px 16px; font-size: 14px; font-weight: 700; background: var(--gold); color: #120A04; }
.theme-promo a { color: inherit; text-decoration: underline; margin-left: 6px; white-space: nowrap; }
.theme-carnaval .theme-promo { background: linear-gradient(90deg, #FF4FA3, #FFB020, #2FD4C6); }
.theme-natal .theme-promo { background: #B32A2A; color: #FFF5E6; }
.theme-halloween .theme-promo { background: #4A2370; color: #FFE7CC; }
.theme-junina .theme-promo { background: #7A3A0C; color: #FFE9C2; }
.theme-pascoa .theme-promo { background: #4A2E26; color: #FCE8D4; }
.theme-anonovo .theme-promo { background: #2A2410; color: #F2D478; }
.theme-blackfriday .theme-promo { background: #FFD400; color: #0A0A0A; letter-spacing: .5px; }
.theme-preview-bar { background: #15202E; color: #CFE2FA; border-bottom: 1px solid #35506F; text-align: center; padding: 8px 16px; font-size: 14px; }
.theme-preview-bar a { color: #9CC3F5; font-weight: 600; }

.theme-lights { position: relative; z-index: 4; height: 20px; margin-top: -2px; display: flex; justify-content: space-between; padding: 0 1%; overflow: hidden; background: linear-gradient(transparent 2px, transparent 2px); }
.theme-lights::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 14px; border-bottom: 2px solid #2E5A36; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.theme-lights i { position: relative; top: 6px; width: 8px; height: 11px; border-radius: 50% 50% 45% 45%; background: #E04848; box-shadow: 0 0 10px currentColor; color: #E04848; animation: themeBlink 1.6s ease-in-out infinite; }
.theme-lights i:nth-child(4n+2) { background: #F2D478; color: #F2D478; animation-delay: .4s; }
.theme-lights i:nth-child(4n+3) { background: #5BE08A; color: #5BE08A; animation-delay: .8s; }
.theme-lights i:nth-child(4n+4) { background: #9CC3F5; color: #9CC3F5; animation-delay: 1.2s; }
.theme-bunting { position: relative; z-index: 4; height: 24px; display: flex; justify-content: space-between; overflow: hidden; margin-top: -1px; }
.theme-bunting::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #8A6424; }
.theme-bunting i { width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 20px solid #E04848; flex-shrink: 0; }
.theme-bunting i:nth-child(6n+2) { border-top-color: #FFD400; }
.theme-bunting i:nth-child(6n+3) { border-top-color: #2F8FE0; }
.theme-bunting i:nth-child(6n+4) { border-top-color: #5BE08A; }
.theme-bunting i:nth-child(6n+5) { border-top-color: #FF7A2E; }
.theme-bunting i:nth-child(6n+6) { border-top-color: #E8B4F0; }
@keyframes themeBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.theme-fx { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.theme-fx span { position: absolute; top: -24px; will-change: transform; animation: themeFall linear infinite; }
.theme-fx .fx-snow { border-radius: 50%; background: #F4F8FF; }
.theme-fx .fx-confetti { border-radius: 1px; }
.theme-fx .fx-eggs { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.theme-fx .fx-sparks { top: auto; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: themeSpark 2.4s ease-in-out infinite; }
.theme-fx .fx-bats { top: auto; animation: themeBat 9s linear infinite; }
@keyframes themeFall { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(var(--drift, 30px), 110vh, 0) rotate(var(--spin, 0deg)); } }
@keyframes themeSpark { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }
@keyframes themeBat { from { transform: translateX(-80px) translateY(0); } 50% { transform: translateX(55vw) translateY(-30px); } to { transform: translateX(110vw) translateY(10px); } }
.theme-icon { display: inline-block; margin-right: 4px; }
.theme-coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px !important; padding: 8px 12px; border: 1px dashed var(--gold); border-radius: 4px; width: fit-content; }
.theme-coupon span { color: var(--muted); font-size: 13px; }
.theme-coupon strong { color: var(--gold); letter-spacing: 1px; }
@media (prefers-reduced-motion: reduce) { .theme-fx { display: none; } .theme-lights i { animation: none; } }

/* Menu lateral do admin com grupos */
.sidenav-group { border-top: 1px solid var(--line-soft); margin-top: 4px; padding-top: 4px; }
.sidenav-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 4px; font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .5px; }
.sidenav-group > summary::-webkit-details-marker { display: none; }
.sidenav-group > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; margin-top: -4px; }
.sidenav-group[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.sidenav-group > summary:hover { background: #18150F; }
.sidenav-items { display: flex; flex-direction: column; gap: 2px; padding-left: 8px; margin-bottom: 4px; }
.sidenav-items a { font-size: 14px; padding: 10px 12px; }
/* Página de temas */
.theme-now { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.theme-now > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.theme-now strong { font-family: var(--display); font-size: 24px; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.theme-card { display: flex; flex-direction: column; gap: 14px; }
.theme-card.live { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.theme-card-head { display: flex; align-items: center; gap: 12px; }
.theme-card-head > div { flex: 1; min-width: 0; }
.theme-card-head h2 { font-size: 20px; }
.theme-card-head small { color: var(--muted); font-size: 13px; }
.theme-card-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.theme-edit > summary { cursor: pointer; color: var(--link); font-size: 14px; }
.theme-edit[open] > summary { margin-bottom: 12px; }
.topbar-icon-btn { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text-2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.topbar-icon-btn:hover { border-color: var(--gold); color: var(--text); }
@media (max-width: 640px) { .topbar-icon-btn span { display: none; } .topbar-icon-btn { width: 40px; padding: 0; justify-content: center; } }
.bell-head form { margin: 0; }
.bell-readall { background: none; border: 0; padding: 0; color: var(--link); font: 600 13px var(--body); cursor: pointer; }
.bell-readall:hover { color: var(--gold-light); }
.order-coupon { margin-top: 18px; padding: 16px; background: var(--bg-2); border: 1px dashed var(--line-strong); border-radius: 6px; display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.order-coupon label { font-weight: 600; }
.order-coupon small { color: var(--muted); font-size: 13px; }
/* E-mails */
.mail-list { display: flex; flex-direction: column; gap: 8px; }
.mail-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 6px; color: var(--text); flex-wrap: wrap; }
.mail-item:hover, .mail-item.active { border-color: var(--gold); color: var(--text); }
.mail-item-icon { width: 36px; height: 36px; border-radius: 6px; background: var(--warn-bg); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mail-item-main { flex: 1 1 220px; display: flex; flex-direction: column; min-width: 0; }
.mail-item-main small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-editor { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.mail-editor > form { flex: 1 1 380px; min-width: 0; }
.mail-preview { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.mail-preview-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; color: var(--text-2); }
.mail-preview iframe { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 6px; background: #0B0A08; }
.audience { gap: 8px; }
.audience-list { min-height: 60px !important; }
.send-progress { display: flex; flex-direction: column; gap: 10px; }
.send-bar { height: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.send-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--green)); transition: width .4s; }
.send-progress p { margin: 0; color: var(--text-2); }

/* Carrinho, promoções, upgrade, cobrança */
.cart-btn { position: relative; }
.cart-count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #1A1206; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cart-add-form { display: inline-flex; margin: 0; }
.btn-cart { white-space: nowrap; }
.plan .cart-add-form, .plan > a.btn-cart { width: 100%; }
.plan .cart-add-form .btn { width: 100%; }
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 6px; }
.cart-item-main { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-item-main small { color: var(--muted); font-size: 13px; }
.cart-item-price { font-family: var(--display); color: var(--gold); font-size: 18px; }
.cart-empty { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 40px 24px; }
.cart-empty h2 { font-size: 24px; }
.cart-suggest { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.cart-suggest h2 { font-size: 22px; color: var(--gold); }
.bundle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.bundle-card { position: relative; display: flex; flex-direction: column; gap: 12px; border-color: var(--line-strong); }
.bundle-card h3 { font-size: 20px; padding-right: 60px; }
.bundle-card p { margin: 0; }
.bundle-off { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 4px; background: var(--green); color: #07160D; font-weight: 800; font-size: 14px; }
.bundle-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: auto; }
.bundle-price s { color: #8C8270; }
.bundle-price strong { font-family: var(--display); font-size: 28px; color: var(--gold); }
.bundle-price small { color: var(--muted); font-size: 12px; }
.bundle-card .cart-add-form .btn, .bundle-card > a.btn { width: 100%; }
.rule-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--text-2); }
.rule-line input[type=number] { width: 80px; }
.upgrade-card { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.upgrade-compare { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.upgrade-plan { flex: 1 1 200px; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); display: flex; flex-direction: column; gap: 4px; }
.upgrade-plan strong { font-family: var(--display); font-size: 24px; }
.upgrade-plan small { color: var(--muted); }
.upgrade-plan.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.upgrade-arrow { font-size: 28px; color: var(--gold); }
.block-box > summary { list-style: none; }
.block-box > summary::-webkit-details-marker { display: none; }
.block-box[open] { min-width: 230px; }
.block-box .form { margin-top: 8px; gap: 8px; }
.summary-row span:last-child { white-space: nowrap; }
/* Modal das regras da comunidade */
.rules-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,.7); overflow: hidden; }
.rules-dialog[open] { display: flex; flex-direction: column; animation: rulesIn .2s ease-out; }
.rules-dialog::backdrop { background: rgba(5,4,3,.82); }
@keyframes rulesIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.rules-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.rules-dialog-head h2 { font-size: 22px; color: var(--gold); }
.rules-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text-2); cursor: pointer; }
.rules-close:hover { color: var(--text); border-color: var(--gold); }
.rules-dialog-body { padding: 8px 22px 16px; overflow-y: auto; }
.rules-dialog-body h2:first-child { display: none; }
.rules-dialog-foot { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
@media (prefers-reduced-motion: reduce) { .rules-dialog[open] { animation: none; } }

/* Modal: Novo tópico */
.newtopic-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,.7); overflow: hidden; }
.newtopic-dialog[open] { display: flex; flex-direction: column; animation: rulesIn .2s ease-out; }
.newtopic-dialog::backdrop { background: rgba(5,4,3,.82); }
.newtopic-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.newtopic-dialog-head h2 { font-size: 24px; color: var(--gold); font-weight: 900; }
.newtopic-dialog-head button { background: none; border: none; color: var(--muted); font-size: 28px; cursor: pointer; line-height: 1; padding: 0 4px; }
.newtopic-dialog-head button:hover { color: var(--text); }
.newtopic-dialog-body { padding: 16px 22px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.newtopic-dialog-body .sub { color: var(--text-2); font-size: 14px; }
.newtopic-dialog-body .f-cat-pick { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (prefers-reduced-motion: reduce) { .newtopic-dialog[open] { animation: none; } }

/* ================= Conteúdo feito no editor (termos, regras, FAQ) ================= */
.legal-text h3, .faq-answer h3 { font-size: 17px; color: var(--gold-light); margin: 20px 0 8px; }
.legal-text h4, .faq-answer h4 { font-size: 15px; color: var(--text); margin: 16px 0 8px; font-family: var(--body); }
.faq-answer h2 { font-size: 18px; color: var(--gold); margin: 14px 0 8px; }
.faq-answer.rich p { margin: 0 0 10px; }
.faq-answer.rich p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol, .legal-text ol { margin: 0 0 12px; padding-left: 22px; }
.legal-text a, .faq-answer a { text-decoration: underline; text-underline-offset: 2px; }
.legal-text strong, .faq-answer strong { color: var(--text); }
.legal-text blockquote, .faq-answer blockquote { margin: 0 0 14px; padding: 10px 16px; border-left: 3px solid var(--gold); background: #1C1813; color: var(--text-2); }
.legal-text pre, .faq-answer pre { margin: 0 0 14px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; color: #D9CFBD; overflow-x: auto; }
.legal-text hr, .faq-answer hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.legal-text img, .faq-answer img { max-width: 100%; height: auto; border-radius: 4px; }
.legal-text figure, .faq-answer figure { margin: 0 0 14px; max-width: 100%; }
.legal-text figcaption, .faq-answer figcaption { font-size: 13px; color: var(--muted); padding-top: 6px; }
.legal-text table, .faq-answer table { width: 100%; border-collapse: collapse; margin: 0 0 14px; display: block; overflow-x: auto; }
.legal-text th, .legal-text td, .faq-answer th, .faq-answer td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.legal-text th, .faq-answer th { background: #1C1813; color: var(--text); }
.legal-text iframe, .faq-answer iframe { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }
.legal-text .se-component, .faq-answer .se-component { margin: 0 0 14px; max-width: 100%; }
.legal-text .se-video-container figure, .faq-answer .se-video-container figure { width: 100% !important; height: auto !important; padding-bottom: 0 !important; }
.legal-text .__se__float-left, .faq-answer .__se__float-left { float: left; margin: 0 16px 10px 0; }
.legal-text .__se__float-right, .faq-answer .__se__float-right { float: right; margin: 0 0 10px 16px; }
.legal-text .__se__float-center figure, .faq-answer .__se__float-center figure { margin: 0 auto !important; }
.legal-text::after, .faq-answer::after { content: ""; display: block; clear: both; }
@media (max-width: 640px) { .legal-text .__se__float-left, .legal-text .__se__float-right, .faq-answer .__se__float-left, .faq-answer .__se__float-right { float: none; margin: 0 0 12px; } }
/* Curtidas: aviso rápido e coração da própria mensagem */
.f-like.static { cursor: help; }
.f-like.static:hover { border-color: var(--line); color: var(--text-2); }
.f-like-tip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 4px; background: #221C14; border: 1px solid var(--line-strong); color: var(--gold-light); font-size: 13px; font-weight: 600; animation: likeTipIn .18s ease-out; }
@keyframes likeTipIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .f-like-tip { animation: none; } }

/* ---------- Janela de pagamento (Mercado Pago) ---------- */
.pay-dialog { width: min(780px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,.7); overflow: hidden; }
.pay-dialog[open] { display: flex; flex-direction: column; animation: rulesIn .2s ease-out; }
.pay-dialog::backdrop { background: rgba(5,4,3,.84); }
.pay-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.pay-head h2 { font-size: 24px; color: var(--gold); font-weight: 900; }
.pay-sub { font-size: 13px; color: var(--muted); }
.pay-x { width: 44px; height: 44px; flex: none; background: transparent; border: 1px solid var(--line); border-radius: 4px; color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pay-x:hover { color: var(--text); border-color: var(--gold); }
.pay-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.pay-body[hidden], .pay-panel[hidden], [data-pix-result][hidden], [data-boleto-result][hidden], [data-pix-start][hidden], .pay-dialog [hidden] { display: none !important; }
.pay-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: #0F0D0A; border: 1px solid var(--line-soft); border-radius: 6px; color: var(--text-2); font-size: 14px; }
.pay-total strong { font-family: var(--display); font-size: 24px; color: var(--gold); margin-left: 8px; }
.pay-state { display: inline-flex; align-items: center; gap: 8px; }
.pay-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pay-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.pay-tabs button { min-height: 64px; padding: 10px; border-radius: 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #0F0D0A; color: var(--text-2); border: 1px solid var(--line); font-family: var(--body); }
.pay-tabs button strong { font-size: 15px; }
.pay-tabs button span { font-size: 12px; opacity: .85; }
.pay-tabs button[aria-selected="true"] { background: #2A2117; color: var(--gold); border-color: var(--gold); }
.pay-panel { display: flex; flex-direction: column; gap: 14px; }
.pay-hint { font-size: 13px; color: var(--muted); line-height: 1.55; }
.pay-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.pay-pix { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.pay-qr { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.pay-qr img { background: #fff; padding: 10px; border-radius: 6px; width: 204px; height: 204px; box-sizing: border-box; }
.pay-pix-side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pay-pix-side ol { margin: 0; padding-left: 20px; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.pay-boleto { display: flex; flex-direction: column; gap: 12px; }
.mp-field { height: 46px; padding: 0 14px; background: #0B0A08; border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; }
.mp-field:focus-within { border-color: var(--gold); }
.mp-field iframe { height: 44px !important; }
.pay-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.pay-later { min-height: 44px; padding: 8px 4px; background: transparent; border: 0; color: var(--link); font: 600 14px var(--body); cursor: pointer; text-decoration: underline; }
.pay-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.pay-secure svg { color: var(--green); }
.pay-ok { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--green-bg); border: 1px solid var(--green); border-radius: 6px; }
.pay-ok h3 { font-size: 24px; color: var(--green); }
.pay-ok span { font-size: 14px; color: var(--text-2); }
.pay-check { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #0B2415; display: flex; align-items: center; justify-content: center; }
.pay-done { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pay-done li { padding: 12px 14px 12px 40px; position: relative; background: #0F0D0A; border: 1px solid var(--line-soft); border-radius: 6px; }
.pay-done li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.pay-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
@media (prefers-reduced-motion: reduce) { .pay-dialog[open] { animation: none; } }
