:root {
  --bg: #0f1115;
  --panel: #171a21;
  --panel-2: #1e222b;
  --line: #2a2f3a;
  --text: #e8eaf0;
  --muted: #9aa1b2;
  --accent: #2ecc71;
  --accent-ink: #06210f;
  --danger: #e74c3c;
  --warn: #f1c40f;
  --ranked: #3498db;
  --prestige: #9b59b6;
  --bulk: #e67e22;
  --radius: 12px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(46, 204, 113, 0.10), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(52, 152, 219, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(46, 204, 113, 0.35); }

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(15, 17, 21, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: 0.2px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: block; filter: drop-shadow(0 4px 12px rgba(46, 204, 113, 0.35)); }

.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.nav a {
  padding: 8px 12px; border-radius: 8px; color: var(--muted);
  text-decoration: none; white-space: nowrap; font-weight: 500;
}
.nav a:hover { color: var(--text); background: var(--panel); }
.nav a.active { color: var(--text); background: var(--panel-2); }

.account { display: flex; align-items: center; gap: 10px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--panel-2); }
.account .name { font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.view { width: 100%; max-width: 1080px; margin: 0 auto; padding: 36px 24px 64px; flex: 1; }

h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -0.3px; }
h2 { font-size: 18px; margin: 32px 0 12px; }
.lead { color: var(--muted); margin: 0 0 24px; white-space: pre-line; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: #3a4150; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn { transition: transform 0.08s, background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, #3ee084, var(--accent)); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(46, 204, 113, 0.25); }
.btn.primary:hover:not(:disabled) { box-shadow: 0 8px 24px rgba(46, 204, 113, 0.38); }
.btn.danger { background: transparent; border-color: rgba(231, 76, 60, 0.6); color: #ff8a7d; }
.btn.small { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn.discord { background: #5865f2; border-color: #5865f2; color: #fff; padding: 12px 20px; }
.btn.discord:hover { background: #4752c4; border-color: #4752c4; }
.btn.big { padding: 14px 26px; font-size: 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(88, 101, 242, 0.35); }

.hero {
  position: relative; overflow: hidden;
  text-align: center; padding: 64px 24px 56px; border: 1px solid var(--line);
  border-radius: 22px; background: radial-gradient(ellipse at top, #1c3426 0, #141a1d 55%, var(--panel) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(118deg, transparent 0 46px, rgba(46, 204, 113, 0.035) 46px 80px);
}
.hero > * { position: relative; }
.hero-logo { display: block; margin: 0 auto 18px; filter: drop-shadow(0 12px 30px rgba(46, 204, 113, 0.45)); }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.hero h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; max-width: 640px; margin: 0 auto 10px; }
.hero p { color: var(--muted); max-width: 560px; margin: 8px auto 28px; font-size: 16px; }
.hero-note { color: var(--muted); font-size: 13px; margin-top: 14px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0; }
.feature { padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.feature-icon { font-size: 26px; line-height: 1; margin-bottom: 10px; }
.feature-title { font-weight: 800; margin-bottom: 4px; }
.feature-text { color: var(--muted); font-size: 14px; }

.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.side { display: grid; gap: 14px; position: sticky; top: 84px; }
.side-card { padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.side-card h2 { margin: 0 0 14px; font-size: 16px; }
.side-card.wide h2 { font-size: 18px; }
.side-card.trust { display: grid; gap: 10px; font-size: 14px; color: #c9cdd8; background: linear-gradient(180deg, rgba(46, 204, 113, 0.08), var(--panel)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-content: start; counter-increment: step; }
.steps li::before {
  content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(46, 204, 113, 0.15); color: var(--accent); font-weight: 800; font-size: 14px;
}
.steps strong { font-size: 14px; }
.steps span { color: var(--muted); font-size: 13px; }
.steps.row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.consent { margin: 0; color: var(--muted); font-size: 13px; }
.consent a, .legal a, .footer a { color: var(--accent); text-decoration: none; }
.consent a:hover, .legal a:hover, .footer a:hover { text-decoration: underline; }

.legal { max-width: 760px; margin: 0 auto; }
.legal-updated { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.legal section { padding: 4px 0; }
.legal h2 { font-size: 17px; margin: 26px 0 8px; }
.legal p { color: #c9cdd8; margin: 0 0 10px; }
.legal .lead { color: var(--text); font-size: 16px; }
.legal-switch { margin-top: 32px !important; }

.footer { border-top: 1px solid var(--line); background: rgba(15, 17, 21, 0.6); }
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 20px 24px; display: flex; gap: 12px 24px;
  justify-content: space-between; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 13px;
}
.footer-links { display: flex; gap: 18px; }

.tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.tab {
  padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); font: inherit; font-weight: 600; cursor: pointer;
}
.tab.active { color: var(--text); border-color: var(--tab-color, var(--accent)); box-shadow: inset 0 -3px 0 var(--tab-color, var(--accent)); }

.panel { background: linear-gradient(180deg, #1a1e26, var(--panel) 140px); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.panel-image { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }

.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .label { font-weight: 600; font-size: 14px; }
.field .hint { color: var(--muted); font-size: 13px; }
input[type=text], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font: inherit;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.choice {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel-2); cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--accent); background: #18261d; }
.choice input { margin-top: 3px; accent-color: var(--accent); }
.choice .title { font-weight: 600; }
.choice .sub { color: var(--muted); font-size: 13px; }

.summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line);
}
.summary .price { font-size: 22px; font-weight: 800; }
.summary .muted { color: var(--muted); font-size: 13px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.card {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--card-color, var(--line));
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); border-color: #343b48; border-top-color: var(--card-color, var(--line)); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card-title { font-weight: 700; }
.card-service { color: var(--muted); font-size: 13px; }
.card-price { font-weight: 800; font-size: 18px; white-space: nowrap; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; margin: 0; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; overflow-wrap: anywhere; }
.notes { font-size: 14px; color: #c9cdd8; white-space: pre-line; overflow-wrap: anywhere; max-height: 140px; overflow: auto; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--panel-2); color: var(--muted); }
.badge.waiting { background: rgba(241, 196, 15, 0.15); color: var(--warn); }
.badge.claimed { background: rgba(52, 152, 219, 0.18); color: #6cb8ff; }
.badge.completed { background: rgba(46, 204, 113, 0.16); color: var(--accent); }
.badge.cancelled { background: rgba(231, 76, 60, 0.15); color: #ff8a7d; }

.empty { color: var(--muted); padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar select, .toolbar input { width: auto; min-width: 180px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; background: var(--panel); position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
td .sub { color: var(--muted); font-size: 12px; }
td.actions { white-space: nowrap; }
td.actions .btn { margin-right: 6px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  padding: 12px 18px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); max-width: calc(100% - 32px); z-index: 10;
}
.toast.error { border-color: var(--danger); }
.toast.ok { border-color: var(--accent); }

.inline-form { gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.inline-form[hidden] { display: none; }
input[type=file] { color: var(--muted); font: inherit; }
.stars { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star input { position: absolute; opacity: 0; pointer-events: none; }
.star span { font-size: 28px; line-height: 1; color: #3a4150; cursor: pointer; transition: color 0.1s; }
/* DOM order is 5..1, shown reversed: the checked star and every star after it in the DOM (= to its left) light up */
.star:has(input:checked) span, .star:has(input:checked) ~ .star span { color: var(--warn); }
.star:has(input:focus-visible) span { outline: 2px solid var(--accent); border-radius: 4px; }
.review-done { font-size: 14px; color: #c9cdd8; padding-top: 10px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.stars-static { color: var(--warn); letter-spacing: 1px; }
.callout { padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(241, 196, 15, 0.4); background: rgba(241, 196, 15, 0.08); margin-bottom: 16px; }

.hint.good { color: var(--accent); }
.hint.bad { color: #ff8a7d; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.old-price { color: var(--muted); font-weight: 600; font-size: 16px; }
a.tab { text-decoration: none; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 8px; }
.tile { padding: 16px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(46, 204, 113, 0.07), var(--panel) 55%); border: 1px solid var(--line); display: grid; gap: 4px; }
.tile-label { color: var(--muted); font-size: 13px; }
.tile-value { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tile-sub { color: var(--muted); font-size: 12px; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.pay-toggle {
  padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(241, 196, 15, 0.4);
  background: rgba(241, 196, 15, 0.12); color: var(--warn); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.pay-toggle.paid { border-color: rgba(46, 204, 113, 0.4); background: rgba(46, 204, 113, 0.14); color: var(--accent); }

.chart-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; overflow-x: auto; }
.chart { width: 100%; min-width: 420px; height: auto; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; }
.chart .value { fill: var(--text); font-size: 12px; font-weight: 700; }
.chart .bar { fill: var(--accent); }
.chart .hit { fill: transparent; }
.chart .bar-group:hover .bar, .chart .bar-group:focus .bar { fill: #5ee39a; }
.chart .bar-group:focus { outline: none; }

.panel-title { margin: 0 0 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.checks { display: flex; gap: 16px; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.check input { accent-color: var(--accent); }

@media (max-width: 900px) {
  .order-layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .btn { transition: none; }
  .card:hover { transform: none; }
}

@media (max-width: 640px) {
  .hero { padding: 44px 18px 40px; }
  .footer-inner { padding: 18px 16px; }
  .topbar { flex-wrap: wrap; padding: 10px 16px; }
  .nav { order: 3; flex: 1 1 100%; flex-wrap: wrap; overflow: visible; }
  .account { margin-left: auto; }
  .view { padding: 20px 16px 48px; }
  .account .name { display: none; }
}

/* ---------- content tools: panel editor, Discord preview, proofs ---------- */
.small-tabs .tab { padding: 8px 14px; font-size: 14px; }
.live-note { color: var(--muted); font-size: 14px; margin: -8px 0 18px; }
.live-note a { color: var(--accent); }
.muted.small { color: var(--muted); font-size: 13px; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.preview-col { position: sticky; top: 84px; display: grid; gap: 8px; }
.preview-label { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.color-row { display: flex; align-items: center; gap: 14px; }
input[type=color] { width: 52px; height: 38px; padding: 2px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2); cursor: pointer; }
input[type=color]:disabled { opacity: 0.4; cursor: not-allowed; }
.price-grid { display: grid; gap: 8px; max-height: 320px; overflow: auto; padding-right: 4px; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; align-items: center; font-size: 14px; }
.field[hidden] { display: none; }
.grow { flex: 1 1 320px; }

/* Discord look: dark theme colors of the Discord client */
.dc-surface { background: #313338; border-radius: var(--radius); padding: 16px 16px 18px 8px; border: 1px solid #1e1f22; overflow: hidden; }
.dc-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding-left: 8px; font-family: "gg sans", "Noto Sans", system-ui, sans-serif; color: #dbdee1; }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #1e1f22; }
.dc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.dc-name { color: #f2f3f5; font-weight: 600; font-size: 15px; }
.dc-app { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; line-height: 15px; }
.dc-time { color: #949ba4; font-size: 12px; }
.dc-embed {
  display: grid; gap: 8px; max-width: 520px; padding: 12px 16px 14px 14px; border-radius: 4px;
  background: #2b2d31; border-left: 4px solid var(--bar, #2ecc71); font-size: 14px; line-height: 1.375;
}
.dc-embed-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.dc-embed-main { display: grid; gap: 8px; min-width: 0; }
.dc-title { color: #f2f3f5; font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.dc-desc { color: #dbdee1; overflow-wrap: anywhere; }
.dc-desc code { background: #1e1f22; padding: 1px 4px; border-radius: 4px; font-size: 13px; }
.dc-desc a, .dc-field-value a { color: #00a8fc; text-decoration: none; }
.dc-desc ul { margin: 2px 0; padding-left: 20px; }
.dc-desc blockquote { margin: 2px 0; padding-left: 10px; border-left: 4px solid #4e5058; }
.dc-desc .md-h1 { font-size: 20px; font-weight: 700; color: #f2f3f5; margin: 4px 0 2px; }
.dc-desc .md-h2 { font-size: 18px; font-weight: 700; color: #f2f3f5; margin: 4px 0 2px; }
.dc-desc .md-h3 { font-size: 16px; font-weight: 700; color: #f2f3f5; margin: 4px 0 2px; }
.dc-desc .md-sub { font-size: 12px; color: #949ba4; }
.dc-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.dc-field-name { font-weight: 700; color: #f2f3f5; font-size: 14px; }
.dc-thumb { width: 80px; height: 80px; object-fit: contain; border-radius: 4px; }
.dc-image { width: 100%; max-height: 300px; object-fit: cover; border-radius: 4px; display: block; }
.dc-footer { color: #b5bac1; font-size: 12px; }
.dc-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dc-btn { display: inline-flex; align-items: center; gap: 2px; padding: 0 16px; height: 32px; border-radius: 4px; font-size: 14px; font-weight: 500; color: #fff; white-space: nowrap; }
.dc-btn.secondary, .dc-btn.link { background: #4e5058; }
.dc-btn.primary { background: #5865f2; }
.dc-ext { opacity: 0.8; }
.dc-select { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 400px; height: 40px; padding: 0 12px; border-radius: 4px; background: #1e1f22; color: #949ba4; font-size: 14px; }
.dc-chev { font-size: 18px; line-height: 1; }

.proof-host:empty { display: none; }
.proof-host { margin-bottom: 18px; scroll-margin-top: 90px; }
.proof-panel { display: grid; gap: 16px; }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.proof-media { width: 100%; max-height: 340px; object-fit: contain; border-radius: 10px; background: #0b0d11; border: 1px solid var(--line); display: block; }

@media (max-width: 900px) {
  .editor-layout, .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .preview-col { position: static; }
}

.code-row input.plain { text-transform: none; }
.card-actions { align-items: center; }
.dc-broken { padding: 12px; border-radius: 4px; background: rgba(241, 196, 15, 0.1); color: #f0d36a; font-size: 13px; }

.bonus-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bonus-row .label { font-weight: 600; font-size: 14px; margin-right: 4px; }
.bonus-input { width: 90px !important; }
.tile { align-content: start; }

/* ---------- reviews, booster alerts, history ---------- */
.reviews { margin: 18px 0; }
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.reviews-head h2 { margin: 0; }
.reviews-score { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reviews-avg { font-size: 28px; font-weight: 800; }
.stars-static.big { font-size: 20px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.review-card { margin: 0; padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.review-card blockquote { margin: 0; color: #dfe3ea; overflow-wrap: anywhere; }
.review-card figcaption { color: var(--muted); font-size: 13px; }
.alerts-card { margin: 18px 0 4px; padding: 16px 20px; }
.alerts-row { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.checks.dim { opacity: 0.45; }
.block { display: block; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); position: relative; transition: background 0.15s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform 0.15s, background 0.15s; }
.switch input:checked + .switch-ui { background: rgba(46, 204, 113, 0.25); border-color: var(--accent); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); background: var(--accent); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-actions input.plain { flex: 1 1 220px; min-width: 0; padding: 7px 10px; font-size: 13px; }
.history { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.history li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.history li:last-child { border-bottom: 0; }
.history li.empty { display: block; border: 0; }
.history time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .history li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.history-search { width: min(100%, 440px); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.panel + .panel { margin-top: 16px; }
.settings-card { display: grid; gap: 12px; }
.settings-card h2, .settings-card p { margin: 0; }
.backup-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.backup-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.backup-list li + li { border-top: 1px solid var(--line); }

/* 404 page */
.hero .not-found-code { font-size: clamp(56px, 12vw, 96px); font-weight: 800; line-height: 1; margin: 0 auto 8px; color: var(--accent); }
.not-found-actions .btn { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.not-found-actions { margin-top: 22px; display: flex; justify-content: center; }

/* Booster application: Brawl Stars profile screenshot */
.profile-preview { display: block; max-width: 100%; max-height: 260px; margin: -4px 0 14px; border-radius: 10px; border: 1px solid var(--line); }
.profile-proof { display: block; margin: 10px 0; }
.profile-proof img { display: block; width: 100%; max-height: 240px; object-fit: contain; background: #0b0e11; border-radius: 10px; border: 1px solid var(--line); }
.profile-preview[hidden] { display: none; }

/* Order chat (website <-> Discord ticket) */
.back-link { display: inline-block; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.back-link:hover { color: var(--text, #fff); }
.chat { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.chat-list { display: flex; flex-direction: column; gap: 10px; height: min(60vh, 520px); overflow-y: auto; padding: 4px; }
.chat-list .empty { margin: auto; }
.chat-msg { max-width: 82%; align-self: flex-start; padding: 9px 12px; border-radius: 12px; background: #1f2430; border: 1px solid var(--line); }
.chat-msg.mine { align-self: flex-end; background: rgba(46, 204, 113, 0.12); border-color: rgba(46, 204, 113, 0.35); }
.chat-meta { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.chat-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-text a { color: var(--accent); }
.chat-form { display: flex; gap: 8px; align-items: flex-end; }
.chat-form textarea { flex: 1; min-height: 44px; resize: vertical; }
.chat-closed { text-align: center; padding: 6px; }
