/* GhostHosting — preto e branco, inspirado na linguagem visual da Apple */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #000;
  --bg-2: #0a0a0b;
  --card: #141416;
  --card-2: #1d1d1f;
  --fg: #f5f5f7;
  --muted: #86868b;
  --muted-2: #a1a1a6;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .2);
  --light: #f5f5f7;
  --light-card: #fff;
  --ink: #1d1d1f;
  --ink-muted: #6e6e73;
  --ok: #30d158;
  --warn: #ffd60a;
  --bad: #ff453a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 28px;
  --ease: cubic-bezier(.28, .11, .32, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.47;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: #fff; color: #000; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.hide { display: none !important; }

/* ---------- navegação (vidro) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 52px;
  background: rgba(0, 0, 0, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-in { max-width: 1024px; margin: 0 auto; height: 100%; padding: 0 22px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand img { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 12px; color: var(--muted-2); }
.nav-links a { transition: color .25s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 760px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border: 0;
  border-radius: 980px; padding: 12px 24px; font-size: 17px; font-weight: 500; line-height: 1.2;
  background: transparent; transition: transform .25s var(--ease), background .25s, opacity .25s, box-shadow .25s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover:not(:disabled) { background: #e8e8ed; }
.btn-ghost { border: 1px solid var(--line-2); color: #fff; }
.btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .08); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover:not(:disabled) { background: #1d1d1f; }
.btn-danger { background: transparent; border: 1px solid rgba(255, 69, 58, .5); color: var(--bad); }
.btn-danger:hover:not(:disabled) { background: rgba(255, 69, 58, .12); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-xs { padding: 4px 11px; font-size: 12px; }
.btn-lg { padding: 15px 30px; font-size: 19px; }
.link { color: #fff; display: inline-flex; align-items: center; gap: 4px; font-size: 19px; }
.link::after { content: "›"; font-size: 1.2em; transition: transform .25s; }
.link:hover::after { transform: translateX(4px); }

/* ---------- seções ---------- */
.section { position: relative; padding: 120px 22px; }
.section.light { background: var(--light); color: var(--ink); }
.section.dark2 { background: var(--bg-2); }
.wrap { max-width: 1024px; margin: 0 auto; }
.wrap-wide { max-width: 1180px; margin: 0 auto; }
.center { text-align: center; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.light .eyebrow { color: var(--ink-muted); }
h1, h2, h3 { letter-spacing: -.035em; font-weight: 700; line-height: 1.05; }
.h-hero { font-size: clamp(48px, 9.5vw, 112px); letter-spacing: -.05em; line-height: .98; font-weight: 700; }
.h-sec { font-size: clamp(36px, 6vw, 64px); letter-spacing: -.04em; }
.grad { background: linear-gradient(180deg, #fff 30%, #6e6e73 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.light .grad { background: linear-gradient(180deg, #1d1d1f 30%, #86868b 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(19px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -.015em; color: var(--muted); font-weight: 400; max-width: 760px; }
.center .lead { margin-left: auto; margin-right: auto; }
.light .lead { color: var(--ink-muted); }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 140px 22px 80px; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; left: 50%; top: -20%; width: 900px; height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .10), transparent); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero .lead { margin: 28px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.chip-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.chip { font-family: var(--mono); font-size: 12px; color: var(--muted-2); border: 1px solid var(--line); border-radius: 980px; padding: 6px 13px; background: rgba(255, 255, 255, .03); }

/* terminal */
.term { max-width: 720px; margin: 64px auto 0; text-align: left; border-radius: 18px; background: rgba(20, 20, 22, .85); border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(255, 255, 255, .05), 0 0 0 1px rgba(255, 255, 255, .03) inset; backdrop-filter: blur(20px); overflow: hidden; }
.term-bar { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.term-bar i { width: 12px; height: 12px; border-radius: 50%; background: #3a3a3c; display: block; }
.term-bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.term-body { padding: 20px 22px 24px; font-family: var(--mono); font-size: 14px; line-height: 1.8; min-height: 214px; color: #d2d2d7; }
.term-body .ok { color: #fff; }
.term-body .dim { color: var(--muted); }
.term-body .code { color: #000; background: #fff; padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.cursor { display: inline-block; width: 8px; height: 17px; background: #fff; vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* faixa de specs */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 22px; background: var(--bg); overflow: hidden; }
.strip-in { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.strip b { display: block; font-size: 30px; letter-spacing: -.03em; font-weight: 700; }
.strip span { font-size: 13px; color: var(--muted); font-family: var(--mono); }
@media (max-width: 700px) { .strip-in { grid-template-columns: repeat(2, 1fr); } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 64px; }
.tile { background: var(--light-card); border-radius: var(--r); padding: 38px; overflow: hidden; position: relative; min-height: 300px; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.tile:hover { transform: scale(1.015); }
.tile.dark { background: #000; color: #fff; }
.tile.s2 { grid-column: span 2; } .tile.s3 { grid-column: span 3; } .tile.s4 { grid-column: span 4; } .tile.s6 { grid-column: span 6; }
.tile h3 { font-size: 30px; letter-spacing: -.03em; margin-bottom: 10px; }
.tile p { color: var(--ink-muted); font-size: 17px; line-height: 1.4; }
.tile.dark p { color: var(--muted-2); }
.tile .big { font-size: 88px; font-weight: 700; letter-spacing: -.06em; line-height: 1; margin-top: auto; }
.tile .mono-art { margin-top: auto; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: #6e6e73; white-space: pre; overflow: hidden; }
.tile.dark .mono-art { color: #86868b; }
.tile .os-row { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tile .os-row span { font-size: 13px; padding: 5px 12px; border-radius: 980px; border: 1px solid rgba(0, 0, 0, .15); font-weight: 500; }
.tile.dark .os-row span { border-color: var(--line-2); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .tile.s2, .tile.s3, .tile.s4, .tile.s6 { grid-column: auto; } .tile { min-height: 240px; padding: 30px; } }

/* segurança (3 colunas) */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.col-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 34px; transition: border-color .4s, transform .5s var(--ease); }
.col-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.col-card .ico { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: #000; display: grid; place-items: center; margin-bottom: 26px; }
.col-card .ico svg { width: 24px; height: 24px; }
.col-card h3 { font-size: 23px; margin-bottom: 10px; letter-spacing: -.02em; }
.col-card p { color: var(--muted-2); font-size: 16px; line-height: 1.45; }
.col-card ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.col-card li::before { content: "› "; color: #fff; }
@media (max-width: 900px) { .cols3 { grid-template-columns: 1fr; } }

/* passos / código */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; text-align: left; }
.step { background: var(--light-card); border-radius: var(--r); padding: 34px; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--ink-muted); }
.step h3 { font-size: 26px; margin: 12px 0 8px; }
.step p { color: var(--ink-muted); font-size: 16px; line-height: 1.4; }
.codebox { margin: 56px auto 0; max-width: 640px; background: #000; color: #fff; border-radius: 22px; padding: 30px; text-align: center; }
.codebox small { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.codebox .c { font-family: var(--mono); font-size: clamp(18px, 3.6vw, 30px); letter-spacing: .08em; margin-top: 10px; font-weight: 500; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* planos */
.toggle { display: inline-flex; background: rgba(0, 0, 0, .07); border-radius: 980px; padding: 4px; gap: 2px; }
.toggle button { border: 0; background: transparent; padding: 9px 22px; border-radius: 980px; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--ink-muted); transition: all .3s var(--ease); }
.toggle button.on { background: #000; color: #fff; }
.dark-ui .toggle, .toggle.dk { background: rgba(255, 255, 255, .1); }
.dark-ui .toggle button, .toggle.dk button { color: var(--muted-2); }
.dark-ui .toggle button.on, .toggle.dk button.on { background: #fff; color: #000; }
.plan-ctl { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 44px; }
.plan { background: var(--light-card); border-radius: var(--r); padding: 30px 26px; display: flex; flex-direction: column; text-align: left; transition: transform .5s var(--ease), box-shadow .5s; position: relative; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0, 0, 0, .12); }
.plan.hot { background: #000; color: #fff; }
.plan .tag { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: #000; padding: 3px 9px; border-radius: 980px; }
.plan h3 { font-size: 22px; letter-spacing: -.02em; }
.plan .price { white-space: nowrap; font-size: 44px; font-weight: 700; letter-spacing: -.045em; margin-top: 18px; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ink-muted); }
.plan.hot .price small { color: var(--muted-2); }
.plan .was { font-size: 13px; color: var(--ink-muted); min-height: 20px; margin-top: 4px; font-family: var(--mono); }
.plan ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 15px; border-top: 1px solid rgba(0, 0, 0, .1); padding-top: 20px; }
.plan.hot ul { border-color: var(--line); }
.plan li { display: flex; justify-content: space-between; gap: 8px; }
.plan li b { font-weight: 600; }
.plan .btn { margin-top: auto; }
.plan.hot .btn-dark { background: #fff; color: #000; }
.plan.na { opacity: .45; }

/* faq */
.faq { max-width: 760px; margin: 56px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 21px; font-weight: 600; letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 28px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted-2); margin-top: 14px; font-size: 17px; line-height: 1.5; }

footer { border-top: 1px solid var(--line); padding: 36px 22px 60px; color: var(--muted); font-size: 12px; }
.foot-in { max-width: 1024px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-in a:hover { color: #fff; }
.foot-links { display: flex; gap: 22px; }

/* reveal */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .cursor { animation: none; } html { scroll-behavior: auto; } }

/* ---------- formulários ---------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; color: var(--muted-2); font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; font-size: 16px; color: #fff; outline: none; transition: border-color .25s, background .25s;
}
.input:focus { border-color: #fff; background: rgba(255, 255, 255, .09); }
.input::placeholder { color: #636366; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23999' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select.input option { background: #1d1d1f; color: #fff; }
.input.mono { font-family: var(--mono); letter-spacing: .06em; }
textarea.input { resize: vertical; min-height: 90px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.sp { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: #fff; }
.err { color: var(--bad); font-size: 14px; min-height: 20px; }

/* ---------- apps (cliente e admin) ---------- */
body.app { background: #000; }
.app-top { position: sticky; top: 0; z-index: 40; background: rgba(0, 0, 0, .75); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.app-top-in { max-width: 1080px; margin: 0 auto; padding: 0 22px; height: 56px; display: flex; align-items: center; gap: 26px; }
.tabs { display: flex; gap: 4px; }
.tabs a { padding: 7px 14px; border-radius: 980px; font-size: 14px; color: var(--muted-2); transition: all .25s; }
.tabs a:hover { color: #fff; }
.tabs a.on { background: rgba(255, 255, 255, .12); color: #fff; }
.app-main { max-width: 1080px; margin: 0 auto; padding: 44px 22px 100px; }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.page-h h1 { font-size: 40px; letter-spacing: -.04em; }
.page-h p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.card + .card { margin-top: 16px; }
.card + .stats { margin-top: 16px; }
.card h2 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 4px; }
.card .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.vcard { display: block; cursor: pointer; transition: transform .4s var(--ease), border-color .3s; }
.vcard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.vcard h3 { font-size: 20px; letter-spacing: -.02em; }
.vcard .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 14px; display: grid; gap: 4px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-family: var(--mono); padding: 3px 10px; border-radius: 980px; border: 1px solid var(--line-2); color: var(--muted-2); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.running, .badge.paid, .badge.active { color: var(--ok); border-color: rgba(48, 209, 88, .35); }
.badge.provisioning, .badge.rebooting, .badge.deleting, .badge.pending { color: var(--warn); border-color: rgba(255, 214, 10, .35); }
.badge.provisioning::before, .badge.rebooting::before, .badge.deleting::before { animation: blink 1s steps(2) infinite; }
.badge.stopped { color: var(--muted-2); }
.badge.suspended, .badge.cancelled, .badge.error { color: var(--bad); border-color: rgba(255, 69, 58, .35); }
.badge.plain::before { display: none; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; font-size: 15px; }
.kv dt { color: var(--muted); } .kv dd { font-family: var(--mono); font-size: 14px; word-break: break-all; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }

/* login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 30px 22px; position: relative; overflow: hidden; }
.login-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; pointer-events: none; }
.login-card { position: relative; width: 100%; max-width: 440px; background: rgba(20, 20, 22, .85); border: 1px solid var(--line); border-radius: 28px; padding: 44px 38px; backdrop-filter: blur(24px); text-align: center; }
.login-card .logo { width: 54px; height: 54px; margin: 0 auto 22px; }
.login-card h1 { font-size: 30px; letter-spacing: -.035em; }
.login-card p.sub { color: var(--muted); margin: 8px 0 28px; font-size: 15px; }
.login-card .input { text-align: center; }
.login-card .btn { width: 100%; margin-top: 6px; }
.login-card .alt { margin-top: 22px; font-size: 14px; color: var(--muted); }
.login-card .alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* modal + toast */
.ov { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; padding: 20px; animation: fade .25s var(--ease); overflow-y: auto; }
.modal { width: 100%; max-width: 520px; background: #1c1c1e; border: 1px solid var(--line-2); border-radius: 26px; padding: 32px; animation: pop .35s var(--ease); margin: auto; }
.modal.wide { max-width: 680px; }
.modal h2 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 6px; }
.modal .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.modal-acts { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; }
.toast { background: #fff; color: #000; padding: 11px 20px; border-radius: 980px; font-size: 14px; font-weight: 500; animation: pop .3s var(--ease); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.toast.bad { background: var(--bad); color: #fff; }

.codebig { font-family: var(--mono); font-size: clamp(17px, 4.4vw, 26px); letter-spacing: .08em; background: #000; border: 1px dashed var(--line-2); border-radius: 16px; padding: 22px 12px; text-align: center; user-select: all; word-break: break-all; }
.qr { background: #fff; border-radius: 18px; padding: 10px; width: 220px; margin: 0 auto; }
.qr img { width: 100%; }
.warnbox { border: 1px solid rgba(255, 214, 10, .35); background: rgba(255, 214, 10, .06); color: #ffe66d; border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.tag-mono { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 90px; }
.spark i { flex: 1; background: #fff; border-radius: 4px 4px 0 0; min-height: 3px; opacity: .85; transition: height .6s var(--ease); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.stat small { color: var(--muted); font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.stat b { display: block; font-size: 34px; letter-spacing: -.04em; margin-top: 6px; font-weight: 700; }

/* admin shell */
.adm { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { border-right: 1px solid var(--line); padding: 22px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; background: #050506; }
.side .brand { padding: 4px 12px 22px; }
.side .tag-mono { padding: 0 12px 10px; }
.side a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; font-size: 15px; color: var(--muted-2); transition: all .2s; }
.side a svg { width: 18px; height: 18px; opacity: .8; flex: none; }
.side a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.side a.on { background: #fff; color: #000; font-weight: 500; }
.side .sp { flex: 1; }
.adm-main { padding: 40px 36px 100px; max-width: 1180px; width: 100%; }
.mob-top { display: none; }
@media (max-width: 860px) {
  .adm { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; height: auto; flex-direction: row; overflow-x: auto; z-index: 40; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .brand, .side .tag-mono, .side .sp { display: none; }
  .side a { white-space: nowrap; }
  .adm-main { padding: 26px 18px 80px; }
}

/* checkout */
.buy { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.buy-steps > section { margin-bottom: 36px; }
.buy-steps h2 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 4px; }
.buy-steps .sub { color: var(--muted); margin-bottom: 18px; font-size: 15px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.opt { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; cursor: pointer; text-align: left; transition: all .25s var(--ease); display: block; width: 100%; }
.opt:hover:not(:disabled) { border-color: var(--line-2); }
.opt.on { border-color: #fff; box-shadow: 0 0 0 1px #fff inset; background: #1c1c1e; }
.opt:disabled { opacity: .35; cursor: not-allowed; }
.opt b { display: block; font-size: 16px; letter-spacing: -.01em; }
.opt span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; font-family: var(--mono); }
.sum { position: sticky; top: 76px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.sum h3 { font-size: 20px; margin-bottom: 18px; }
.sum dl { display: grid; gap: 10px; font-size: 14px; margin-bottom: 20px; }
.sum dl div { display: flex; justify-content: space-between; gap: 10px; }
.sum dt { color: var(--muted); } .sum dd { text-align: right; }
.sum .total { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.sum .total b { font-size: 34px; letter-spacing: -.04em; }
.sum .fine { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.4; }
@media (max-width: 900px) { .buy { grid-template-columns: 1fr; } .sum { position: static; } }
.fw-row { display: grid; grid-template-columns: 90px 80px 1fr 1fr auto; gap: 8px; margin-bottom: 8px; align-items: center; }
@media (max-width: 700px) { .fw-row { grid-template-columns: 1fr 1fr; } }

/* pagamento */
.pfield { margin-bottom: 12px; }
.pfield small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.pfield code { font-family: var(--mono); font-size: 13px; word-break: break-all; background: rgba(255, 255, 255, .06); padding: 9px 12px; border-radius: 10px; flex: 1; max-height: 96px; overflow: auto; }
.pfield code.big { font-size: 15px; letter-spacing: .04em; }
.gw-grid { display: grid; gap: 14px; }

/* ---- GhostHosting v2: infraestrutura ---- */
.side { overflow-y: auto; }
.side a { padding: 8px 12px; font-size: 14px; }
.meter { height: 8px; border-radius: 980px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--fg); border-radius: 980px; transition: width .4s var(--ease); }
.meter.warn i { background: var(--warn); }
.meter.bad i { background: var(--bad); }
.notice-phish { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 14px; }
.notice-phish b { color: var(--fg); font-family: var(--mono); font-weight: 500; }
details summary::-webkit-details-marker { display: none; }
.side .nav-group { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 4px; }
.side .nav-group:first-of-type { padding-top: 4px; }
@media (max-width: 860px) { .side .nav-group { display: none; } }

/* ---- responsivo + celular (24/10) ---- */
html, body { overflow-x: clip; }
button, .btn, .toggle button, .opt, .side a, .tabs a, .chip, .badge, .plan .tag { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.toggle { flex-wrap: wrap; justify-content: center; max-width: 100%; }
.plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.plan { min-width: 0; }
.plan .price { font-size: clamp(34px, 3.3vw, 44px); }
.plan-ctl .line-desc { margin: 0; font-size: 15px; max-width: 560px; padding: 0 8px; line-height: 1.45; }
.app-top .tabs { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.app-top .tabs::-webkit-scrollbar { display: none; }
.adm-main { min-width: 0; }
.tbl-wrap { -webkit-overflow-scrolling: touch; }
.input, select.input, textarea.input { max-width: 100%; font-size: 16px; } /* 16px: o iPhone não dá zoom ao tocar no campo */
@media (max-width: 600px) {
  .section { padding: 80px 16px; }
  .nav-in { padding: 0 16px; gap: 14px; }
  .app-top-in { padding: 0 14px; gap: 12px; }
  .app-top .brand { font-size: 0; gap: 0; }
  .app-top .nav-cta .tag-mono { display: none; }
  .app-main { padding: 26px 16px 80px; }
  .adm-main { padding: 18px 14px 80px; }
  .page-h { margin-bottom: 20px; }
  .page-h h1 { font-size: 30px; }
  .card { padding: 20px 18px; border-radius: 18px; }
  .modal { padding: 24px 18px; border-radius: 20px; }
  .modal-acts { flex-wrap: wrap; }
  .ov { padding: 10px; }
  .login-card { padding: 34px 22px; border-radius: 22px; }
  .toggle button { padding: 8px 16px; font-size: 14px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 16px; border-radius: 16px; }
  .stat b { font-size: 24px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .sum { padding: 22px 18px; }
  .plan { padding: 26px 22px; }
  .term-body { font-size: 12px; padding: 16px; min-height: 0; }
  .fw-row { grid-template-columns: 1fr 1fr; }
  .row > .input { flex: 1 1 100%; max-width: none !important; }
}
@media (min-width: 980px) { .plans { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } .plan { padding: 28px 22px; } .plan .price { font-size: clamp(30px, 2.9vw, 44px); } }
@media (max-width: 979px) { .plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); } }
.plan .tag { top: -11px; right: auto; left: 50%; transform: translateX(-50%); white-space: nowrap; box-shadow: 0 0 0 3px #000; }
.plan.hot .tag { background: #fff; color: #000; }
.plan:not(.hot) .tag { background: #000; color: #fff; box-shadow: 0 0 0 3px var(--light-card); }
.plan .was { min-height: 34px; font-size: 12px; line-height: 1.4; }
.plan.hot { border: 1px solid var(--line-2); }

/* ---- barras de rolagem do tema escuro + lateral do admin (24/10) ---- */
html { color-scheme: dark; scrollbar-color: rgba(255, 255, 255, .16) transparent; }
* { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 980px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .28); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }

/* lateral: compacta (cabe sem rolar numa tela comum) e, se precisar rolar, a barra só aparece com o mouse em cima */
.side { gap: 1px; padding: 18px 12px 14px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: transparent transparent; }
.side:hover { scrollbar-color: rgba(255, 255, 255, .14) transparent; }
.side::-webkit-scrollbar { width: 6px; }
.side::-webkit-scrollbar-thumb { background: transparent; }
.side:hover::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); background-clip: padding-box; }
.side .brand { padding: 4px 12px 14px; }
.side .tag-mono { padding: 0 12px 6px; font-size: 11px; }
.side a { padding: 7px 12px; font-size: 14px; border-radius: 10px; }
.side a svg { width: 17px; height: 17px; }
.side .nav-group { padding: 12px 12px 3px; font-size: 10px; }
.side .sp { min-height: 10px; }
.side > a:last-child { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 6px; padding-top: 11px; }
.side > a:last-child:hover { border-radius: 10px; }

/* celular: menu vira uma fileira que rola de lado — sem barra, com esmaecido nas pontas */
@media (max-width: 860px) {
  .side { scrollbar-width: none; gap: 4px; padding: 10px 12px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); }
  .side::-webkit-scrollbar { display: none; }
  .side > a:last-child { border-top: 0; margin-top: 0; padding-top: 7px; border-radius: 10px; }
}
@media (max-width: 860px) {
  .adm { grid-template-rows: auto 1fr; align-content: start; } /* sem isso a sobra de altura esticava o menu (botões com 256 px) */
  .side { align-items: center; }
  .side a { flex: none; }
}

/* preço SEMPRE dentro do card: tamanho pela largura do card (não da tela) e "/mês" desce de linha se faltar espaço
   (com desconto anual o preço ganha centavos — "R$ 807,50" — e estourava em telas de ~1400 px) */
.plan { container-type: inline-size; }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; row-gap: 2px; font-size: clamp(26px, 16.5cqi, 44px); }
@media (min-width: 980px) { .plan .price { font-size: clamp(26px, 16.5cqi, 44px); } }
.plan .price small { white-space: nowrap; }

/* ---- Visão geral: financeiro do mês (25/10) ---- */
.fin { margin-bottom: 26px; }
.fin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fin-month { font-size: 26px; letter-spacing: -.02em; text-transform: capitalize; min-width: 210px; text-align: center; }
.fin-head .btn[disabled] { opacity: .3; cursor: default; }
.stat .tag-mono { display: block; margin-top: 6px; }
.stat.fin-total { border-color: rgba(48, 209, 88, .4); }
.stat.fin-total b { color: var(--ok); }
.fin-bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 190px; margin-top: 16px; }
.fin-bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; min-width: 0; }
.fin-bar i { display: block; width: 100%; max-width: 46px; border-radius: 8px 8px 3px 3px; background: rgba(255, 255, 255, .18); transition: background .2s; }
.fin-bar:hover i { background: rgba(255, 255, 255, .35); }
.fin-bar.on i { background: var(--ok); }
.fin-bar-v { font-size: 10px; font-family: var(--mono); color: var(--muted); margin-bottom: 4px; white-space: nowrap; overflow: hidden; max-width: 100%; }
.fin-bar-m { font-size: 11px; font-family: var(--mono); color: var(--muted-2); margin-top: 6px; text-transform: capitalize; }
.fin-bar.on .fin-bar-m { color: #fff; font-weight: 600; }
.fin-section { font-size: 15px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 6px 0 12px; }
@media (max-width: 600px) {
  .fin-month { font-size: 20px; min-width: 0; }
  .fin-bars { height: 150px; gap: 3px; }
  .fin-bar-v { display: none; }
}
.fin-month { text-transform: none; }
.fin .grid2 { margin-bottom: 16px; }
.fin-plist { display: none; margin-top: 10px; }
.fin-pitem { padding: 12px 0; border-bottom: 1px solid var(--line); }
.fin-pitem .tag-mono { margin-top: 3px; line-height: 1.5; }
@media (max-width: 600px) {
  .fin-plist { display: block; }
  .fin-ptable { display: none; }
}

/* ---- pedido com várias VPS (carrinho) ---- */
.qty-row { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 980px; overflow: hidden; }
.qty button { width: 40px; height: 36px; background: transparent; border: 0; color: inherit; font-size: 20px; cursor: pointer; }
.qty button:hover:not([disabled]) { background: rgba(255, 255, 255, .08); }
.qty button[disabled] { opacity: .3; cursor: default; }
.qty b { min-width: 34px; text-align: center; font-size: 17px; }
.cart { margin: 14px 0 4px; border-top: 1px solid var(--line); padding-top: 12px; }
.cart h4 { font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.cart-it { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cart-it small, .order-line small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.cart-r { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.cart-r button { background: none; border: 1px solid var(--line-2); color: var(--muted-2); border-radius: 980px; width: 26px; height: 26px; cursor: pointer; font-size: 12px; }
.order-lines { margin: 16px 0 20px; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; }
.order-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.order-line.total { border-bottom: 0; }
.sum .total { gap: 12px; flex-wrap: wrap; align-items: baseline; }
.cup-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; max-height: 190px; overflow: auto; }
.cup-plans .check { margin: 2px 0; font-size: 14px; }
/* cupom */
.ok { color: var(--ok); }
.linkbtn { background: none; border: 0; padding: 4px 0; margin: 4px 0 2px; color: var(--muted-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 14px; }
.linkbtn:hover { color: #fff; }
.coupon-in { margin: 8px 0 4px; }
.coupon-ok { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 10px 0 2px; padding: 10px 12px; border: 1px dashed rgba(48, 209, 88, .45); border-radius: 12px; }
.coupon-ok small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
/* venda manual (admin) */
.ord-row { padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.ord-grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr .55fr .9fr 1fr auto; gap: 8px; align-items: end; }
.ord-grid label small { display: block; font-size: 11px; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.ord-grid .input { padding-left: 10px; padding-right: 10px; }
.ord-x { margin-bottom: 6px; }
.ord-hint { margin-top: 6px; }
.ord-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ord-total { display: block; font-size: 32px; letter-spacing: -.03em; margin: 2px 0; }
@media (max-width: 860px) {
  .ord-grid { grid-template-columns: 1fr 1fr; }
  .ord-grid label:nth-child(1), .ord-grid label:nth-child(2) { grid-column: span 2; }
  .ord-x { grid-column: span 2; justify-self: end; }
}

/* ---------- venda avulsa: QR Pix (modal do admin e página pública /pix) ---------- */
.sale { text-align: center; }
.sale-amount { font-size: clamp(38px, 9vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.sale-desc { color: var(--muted-2); font-size: 15px; margin-top: 6px; word-break: break-word; }
.sale-status { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 18px; padding: 6px 14px; border-radius: 980px; font-size: 13px; font-weight: 600; border: 1px solid var(--line-2); color: var(--muted-2); }
.sale-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sale-status.pending { color: var(--warn); border-color: rgba(255, 214, 10, .35); background: rgba(255, 214, 10, .06); }
.sale-status.pending i { animation: salePulse 1.4s ease-in-out infinite; }
.sale-status.paid { color: var(--ok); border-color: rgba(48, 209, 88, .45); background: rgba(48, 209, 88, .1); }
.sale-status.cancelled { color: var(--bad); border-color: rgba(255, 69, 58, .35); }
.sale-qr { position: relative; width: 240px; max-width: 100%; margin: 0 auto; }
.sale-qr .qr { width: 100%; transition: opacity .4s var(--ease), filter .4s var(--ease); }
.sale.is-paid .sale-qr .qr { opacity: .18; filter: grayscale(1); }
.sale-stamp { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; padding: 8px 22px; border: 4px solid var(--ok); border-radius: 14px; color: var(--ok); background: rgba(0, 0, 0, .55);
  font-size: 44px; font-weight: 800; letter-spacing: .12em; transform: rotate(-12deg); animation: saleStamp .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.sale-note { color: var(--muted); font-size: 13px; margin-top: 12px; }
.sale-copy { margin-top: 18px; text-align: left; display: grid; gap: 8px; }
.sale-copy small, .sale-link small { color: var(--muted); font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.sale-copy code, .sale-link code { display: block; font-family: var(--mono); font-size: 12px; word-break: break-all; background: rgba(255, 255, 255, .06); padding: 10px 12px; border-radius: 10px; max-height: 84px; overflow: auto; }
.sale-copy .btn { width: 100%; }
.sale-link { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.sale-link small { display: block; margin-bottom: 6px; }
.sale-input { font-size: 28px; font-weight: 700; letter-spacing: -.02em; text-align: center; }
.sale-list { display: grid; margin-top: 4px; }
.sale-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.sale-row:last-child { border-bottom: 0; }
.sale-row:hover { background: rgba(255, 255, 255, .03); }
.sale-row b { display: block; font-size: 17px; }
.sale-row small { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.sale-row-r { text-align: right; flex-shrink: 0; display: grid; gap: 4px; justify-items: end; }
.pix-page { min-height: 100vh; display: grid; place-items: center; padding: 84px 16px 40px; }
.pix-box { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px 24px; text-align: center; }
.pix-box h1 { font-size: 15px; font-weight: 600; color: var(--muted-2); letter-spacing: .02em; margin-bottom: 14px; }
.pix-thanks { color: var(--ok); font-weight: 600; margin-top: 16px; }
@keyframes salePulse { 50% { opacity: .25; } }
@keyframes saleStamp { from { opacity: 0; transform: rotate(-12deg) scale(2.2); } }
@media (prefers-reduced-motion: reduce) { .sale-stamp, .sale-status.pending i { animation: none; } }

/* ---------- afiliados (painel do cliente e admin) ---------- */
.aff-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--muted-2); font-size: 14px; transition: border-color .25s var(--ease); }
.aff-strip b { color: var(--fg); }
.aff-strip:hover { border-color: var(--line-2); }
.aff-strip-go { color: var(--fg); font-weight: 600; white-space: nowrap; }
.aff-how { margin: 12px 0 0; padding-left: 20px; color: var(--muted-2); font-size: 14px; line-height: 1.6; }
.aff-how li { margin: 8px 0; padding-left: 4px; }
.aff-req { border: 1px solid rgba(255, 214, 10, .3); border-radius: 16px; padding: 16px 18px; margin-top: 12px; background: rgba(255, 214, 10, .03); }
.aff-req .amt { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.aff-req dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0; font-size: 14px; }
.aff-req dt { color: var(--muted); }
.aff-req dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.aff-flag { color: var(--warn); font-size: 13px; margin-top: 4px; }
.aff-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.aff-filters .chip { cursor: pointer; }
.aff-filters .chip.on { color: var(--fg); border-color: var(--line-2); background: rgba(255, 255, 255, .1); }
@media (max-width: 600px) { .aff-strip { padding: 12px 14px; } .aff-req dl { grid-template-columns: 1fr; gap: 2px; } .aff-req dt { margin-top: 6px; } }
.aff-tbl .nw { white-space: nowrap; }
.aff-tbl td .tag-mono { margin-top: 3px; }
@media (max-width: 600px) { .aff-tbl th, .aff-tbl td { padding: 10px 8px; } .aff-tbl td { font-size: 14px; } }

/* ---------- Política de Uso: alerta de phishing (compra, vitrine, painel) ---------- */
.dangerbox { border: 1px solid rgba(255, 69, 58, .45); background: rgba(255, 69, 58, .08); color: #ffb4ad; border-radius: 14px; padding: 13px 16px 13px 44px; font-size: 14px; line-height: 1.55; position: relative; text-align: left; }
.dangerbox::before { content: "!"; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--bad); color: #000; font: 700 13px/20px var(--font); text-align: center; }
.dangerbox b { color: #fff; }
.dangerbox a { color: #fff; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.aup-band { max-width: 760px; margin: 22px auto 0; }
.aup-check { align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted-2); margin: 14px 0 12px; }
.aup-check input { flex: 0 0 auto; margin-top: 1px; }
.aup-check a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.policy .card { margin-top: 16px; }
.policy .dangerbox { margin-bottom: 4px; }
.policy-list { margin: 12px 0 0; padding-left: 20px; color: var(--muted-2); font-size: 15px; line-height: 1.6; }
.policy-list li { margin: 10px 0; padding-left: 4px; }
.policy-list b { color: var(--fg); }
