:root {
  --bg: #F6F7F9; --surface: #FFFFFF; --ink: #14171C; --muted: #5A6170; --line: #E2E5EA; --line2: #EEF0F3;
  --accent: #1F6FEB; --accent-ink: #1D4FA8; --accent-soft: #E8EEF9; --dark: #14171C;
  --ok: #1A6B32; --ok-bg: #E3F4E8; --warn: #8A5300; --warn-bg: #FFF4D6; --bad: #A3161F; --bad-bg: #FDECEC; --game: #1A7F37;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: var(--accent-ink); }
h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
h2 { font-size: 22px; margin: 0 0 10px; }
h3 { font-size: 17px; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); }
.lead { font-size: 19px; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.pad { padding: 22px; }

/* buttons & forms */
.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 15px; font-weight: 500;
  padding: 10px 18px; border-radius: 8px; border: 1px solid #D5D9E0; background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover, button:hover { border-color: #AEB4BE; }
.btn.pri, button.pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.pri:hover { background: #1A5FCC; }
.btn.danger { color: var(--bad); border-color: #E7B4B8; }
.btn.lg { padding: 13px 24px; font-size: 16px; }
.btn.sm { padding: 6px 12px; font-size: 14px; }
.btn.block { display: flex; width: 100%; }
input, select, textarea { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #D0D5DD; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; min-width: 0; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 14px; font-weight: 500; }
.field.bad input { border-color: #CF222E; }
.ferr { color: var(--bad); font-size: 13px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grid3s { display: grid; grid-template-columns: 1fr 2fr 1.4fr; gap: 14px; }
@media (max-width: 620px) { .grid3s { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check.bad span { color: var(--bad); }
/* every checkbox is a toggle switch */
input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 38px; height: 22px; min-width: 38px; margin: 1px 0 0; padding: 0;
  border: 0; border-radius: 11px; background: #C3C8D1; cursor: pointer; transition: background .15s; }
input[type=checkbox]::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .15s; }
input[type=checkbox]:checked { background: var(--accent); }
input[type=checkbox]:checked::after { transform: translateX(16px); }
input[type=checkbox]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { padding: 12px 16px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); margin: 16px 0; }
.note.ok { background: var(--ok-bg); color: var(--ok); }
.note.bad { background: var(--bad-bg); color: var(--bad); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--line2); color: var(--muted); }
.badge.paid { background: var(--ok-bg); color: var(--ok); }
.badge.open { background: var(--warn-bg); color: var(--warn); }
.badge.cancelled { background: var(--bad-bg); color: var(--bad); }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line2); }
.kv:last-child { border-bottom: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line2); vertical-align: top; font-size: 15px; }
th { font-size: 13px; font-weight: 500; color: var(--muted); background: #FAFBFC; }
.r { text-align: right; }
code { font-family: var(--mono); font-size: 13px; background: var(--line2); padding: 2px 6px; border-radius: 4px; }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.logo i { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); display: inline-block; }
.logo img { display: block; flex: none; }
.logo.light { color: #fff; padding: 0 12px 20px; }
.nav nav { display: flex; align-items: center; gap: 6px; }
.nav nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.nav nav a:hover, .nav nav a.on { background: var(--line2); }
.nav nav a.btn { border: 1px solid var(--line); margin-left: 6px; }
.menu-t, .burger { display: none; }
@media (max-width: 820px) {
  .burger { display: block; width: 40px; height: 40px; position: relative; cursor: pointer; }
  .burger span, .burger span::before, .burger span::after { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink); content: ""; }
  .burger span { top: 19px; } .burger span::before { top: -7px; left: 0; } .burger span::after { top: 7px; left: 0; }
  .nav nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .menu-t:checked ~ nav { display: flex; }
}

/* hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hgrid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hgrid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(36px, 5.4vw, 58px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(20,23,28,.25); overflow: hidden; }
.mbar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line2); }
.mbar i { width: 10px; height: 10px; border-radius: 50%; background: #E2E5EA; }
.mbody { display: grid; grid-template-columns: 110px 1fr; min-height: 300px; }
.mside { background: var(--dark); padding: 14px 10px; display: flex; flex-direction: column; gap: 9px; }
.mside b { height: 14px; width: 60%; background: var(--accent); border-radius: 4px; margin-bottom: 8px; }
.mside span { height: 9px; border-radius: 4px; background: #2A2F38; }
.mside span.on { background: #4A5160; }
.mmain { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mcards div { border: 1px solid var(--line); border-top: 3px solid var(--ok); border-radius: 8px; padding: 8px; }
.mcards em { display: block; font-style: normal; font-size: 10px; color: var(--muted); }
.mcards strong { font-size: 12px; }
.mchart { display: flex; align-items: flex-end; gap: 5px; height: 110px; border-bottom: 1px solid var(--line2); }
.mchart span { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .85; }
.mchart span:nth-child(1) { height: 30%; } .mchart span:nth-child(2) { height: 45%; } .mchart span:nth-child(3) { height: 38%; } .mchart span:nth-child(4) { height: 60%; }
.mchart span:nth-child(5) { height: 52%; } .mchart span:nth-child(6) { height: 75%; } .mchart span:nth-child(7) { height: 66%; } .mchart span:nth-child(8) { height: 88%; }
.mchart span:nth-child(9) { height: 70%; } .mchart span:nth-child(10) { height: 92%; } .mchart span:nth-child(11) { height: 80%; } .mchart span:nth-child(12) { height: 97%; }
.mrows { display: flex; flex-direction: column; gap: 7px; }
.mrows span { height: 10px; border-radius: 4px; background: var(--line2); }
.mrows span:nth-child(2) { width: 80%; } .mrows span:nth-child(3) { width: 60%; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.pcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.pcard .tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.pcard.game .tag { color: var(--game); }
.pcard .more { font-weight: 600; color: var(--accent-ink); }
.feats { padding: 72px 20px 24px; }
.fgrid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-top: 26px; }
.fgrid3 > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.fgrid3 p { color: var(--muted); margin: 0; font-size: 15px; }
.fgrid3.list { margin-top: 0; padding-bottom: 32px; }
.band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: var(--dark); color: #fff; border-radius: 16px; padding: 36px 40px; margin: 48px auto 72px; }
.band p { color: #C9CED6; margin: 0; }
.phead { padding: 56px 0 32px; background: #fff; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.phead.game .eyebrow { color: var(--game); }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 18px 0 48px; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; }
.price.hl { border: 2px solid var(--accent); box-shadow: 0 16px 40px -18px rgba(31,111,235,.45); }
.price.free { background: transparent; border-style: dashed; }
.ribbon { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.amount { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.amount span { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.price ul { list-style: none; padding: 0; margin: 14px 0 22px; flex: 1; }
.price li { padding: 5px 0 5px 24px; position: relative; font-size: 15px; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.faq { margin-bottom: 64px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* order */
.ordergrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; margin: 18px 0 64px; }
@media (max-width: 820px) { .ordergrid { grid-template-columns: 1fr; } .summary { order: -1; } }
.summary { position: sticky; top: 86px; }
.summary ul { padding-left: 20px; color: var(--muted); }
.kv.total { font-size: 20px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; }
.paybox { background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.paybox p { margin: 4px 0 0; }
.narrowform { max-width: 640px; }
dl.bank { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0; }
dl.bank dt { color: var(--muted); }
dl.bank dd { margin: 0; }
.codebox { font-size: clamp(18px, 3.2vw, 28px); letter-spacing: .08em; padding: 18px; text-align: center; background: var(--accent-soft); color: var(--accent-ink); border-radius: 10px; user-select: all; word-break: break-all; }
.steps { margin: 0; padding-left: 22px; }
.steps li { margin: 6px 0; }
.actrow { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.legal { margin: 32px auto 72px; }
.legal h2 { margin-top: 28px; }
.msg { padding: 80px 20px; }
.dl { margin-bottom: 16px; }
pre.cmd { background: var(--dark); color: #E6E8EC; padding: 14px 16px; border-radius: 8px; white-space: pre-wrap; word-break: break-all; font: 14px/1.5 var(--mono); margin: 0; }
details.older { margin-bottom: 40px; }
input.code { letter-spacing: .06em; text-transform: uppercase; font-family: var(--mono); }
main section.wrap > h2 { margin-top: 12px; }

/* invoice */
.invoice { margin: 24px auto 64px; max-width: 860px; }
.inv { background: #fff; border: 1px solid var(--line); padding: 56px 60px; margin-top: 16px; }
.invhead { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.invhead .from { text-align: right; font-size: 14px; }
.inv .to { margin: 24px 0 36px; }
.inv h1 { font-size: 26px; }
dl.meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; font-size: 14px; margin: 0 0 24px; }
dl.meta dd { margin: 0; }
.inv table { margin-bottom: 20px; }
.inv tfoot td { border: 0; padding-top: 6px; padding-bottom: 6px; }
.inv tr.sum td { font-weight: 700; font-size: 17px; border-top: 2px solid var(--ink); }
.invfoot { margin-top: 48px; padding-top: 12px; border-top: 1px solid var(--line); }
@media print {
  body.print .top, body.print .foot, .noprint { display: none !important; }
  body.print { background: #fff; }
  .inv { border: 0; padding: 0; }
}

/* footer */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 44px 0 20px; margin-top: 32px; }
.fgrid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 1000px) { .fgrid { grid-template-columns: repeat(4, 1fr); } .fgrid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } }
.fgrid > div { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.fgrid a { color: var(--muted); text-decoration: none; }
.fgrid a:hover { color: var(--ink); }
.copy { margin-top: 26px; font-size: 13px; }

/* admin */
body.adm { font-size: 15px; }
.ashell { display: flex; min-height: 100vh; }
.aside { width: 230px; flex: none; background: var(--dark); padding: 22px 12px; display: flex; flex-direction: column; gap: 2px; }
.aside a { color: #C9CED6; text-decoration: none; padding: 9px 12px; border-radius: 7px; font-size: 15px; }
.aside a:hover { color: #fff; }
.aside a.on { background: #262B35; color: #fff; font-weight: 600; }
.afoot { margin-top: auto; padding: 18px 12px 0; color: #8B93A1; font: 12px/1.6 var(--mono); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ghostd { background: transparent; color: #C9CED6; border-color: #3A404C; }
.amain { flex: 1; min-width: 0; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.amain h1 { font-size: 28px; margin: 0; }
@media (max-width: 800px) { .ashell { flex-direction: column; } .aside { width: auto; flex-direction: row; flex-wrap: wrap; } .afoot { display: none; } .amain { padding: 18px; } }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.kpi { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.kpi span { color: var(--muted); font-size: 14px; }
.kpi b { font-size: 28px; }
.kpi em { font-style: normal; color: var(--muted); font-size: 13px; }
a.kpi:hover { border-color: var(--accent); }
.agrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 480px) { .agrid { grid-template-columns: 1fr; } }
.ch { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line2); }
.ch h2 { margin: 0; font-size: 17px; }
.log { max-height: 420px; overflow: auto; }
.log div { padding: 9px 18px; border-bottom: 1px solid var(--line2); font-size: 14px; }
.log time { color: var(--muted); font: 12px var(--mono); margin-right: 8px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 180px; margin-top: 14px; }
.bcol { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bcol .bv { width: 100%; max-width: 46px; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; }
.bcol span { font-size: 11px; color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters input { width: 240px; }
.filters select, .filters input, .actions select, .actions input { width: auto; }
.tw { overflow-x: auto; }
.edtable td { padding: 8px; }
.edtable input.num { width: 96px; }
.edtable textarea { min-width: 220px; font-size: 13px; }
.edtable .newrow td { background: #FAFBFC; }
.sticky { position: sticky; bottom: 0; background: var(--bg); padding: 12px 0; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login form { width: 100%; max-width: 380px; }
pre.notes { white-space: pre-wrap; font: 14px/1.5 var(--sans); color: var(--muted); margin: 8px 0 0; }
.cnt { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #E5484D; color: #fff; font-size: 12px; font-weight: 700; text-align: center; margin-left: 6px; }
tr.unread td { background: #FFF8E6; }
.tgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr; } }
.thread { display: flex; flex-direction: column; gap: 12px; }
.msg { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.msg.admin { background: var(--accent-soft); border-color: #C9D8F5; margin-left: 40px; }
.msg.other { background: #FAFBFC; border-style: dashed; }
.mh2 { display: flex; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.mh2 .inl { margin-left: auto; }
.mt { white-space: pre-wrap; word-break: break-word; }
.linkdel { border: 0; background: none; padding: 0 4px; color: var(--muted); cursor: pointer; font-size: 13px; }
.linkdel:hover { color: var(--bad); }

/* customer accounts */
.authwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; padding-bottom: 32px; }
@media (max-width: 860px) { .authwrap { grid-template-columns: 1fr; } }
.authcard { gap: 18px; }
.authside { background: var(--accent-soft); border: 1px solid #C9D8F5; border-radius: 12px; padding: 32px; justify-content: center; }
.authside h2 { font-size: 26px; }
.authcard h1 { margin: 0 0 4px; font-size: 26px; }
.authcard .logo { font-size: 20px; }
.authlinks { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.checkrow { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.checkrow input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.acchead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.phead:has(.subnav) { padding-bottom: 0; }
.subnav { display: flex; gap: 4px; margin-top: 22px; overflow-x: auto; }
.subnav a { padding: 10px 16px; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { color: var(--ink); border-bottom-color: var(--accent); }
.acchead h1 { margin: 4px 0; }
.acchead .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.acchead form { margin: 0; }
.acckpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.acckpis .card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.acckpis b { font-size: 24px; }
.sech { margin: 30px 0 12px; font-size: 20px; }
.lic { margin-bottom: 14px; }
.lic .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lic h3 { margin: 0; }
.lic .code { font-size: 14px; letter-spacing: .02em; user-select: all; }
.actrow.inline { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 0 0 6px; flex-wrap: wrap; }
.wrap > .card + .card { margin-top: 14px; }
.nowrap { white-space: nowrap; }
.admtag { font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.12); color: #fff; }
.logo.light { white-space: nowrap; }

/* uniform layout: every page = .phead band + full-width .wrap content */
main > section.wrap:last-child { padding-bottom: 56px; }
.sidegrid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 22px; align-items: start; }
.sidegrid.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .sidegrid, .sidegrid.wide { grid-template-columns: 1fr; } }
.helpbox { background: var(--accent-soft); border-color: #C9D8F5; }
.helpbox h2 { font-size: 19px; }
.legal { font-size: 16px; }
.legal h2 { margin-top: 26px; }
.legal h2:first-child { margin-top: 0; }
.msgcard { margin-bottom: 24px; }
.ordergrid { margin-top: 0; }
.dlgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 40px; }
@media (max-width: 860px) { .dlgrid { grid-template-columns: 1fr; } }
h3.sub { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0; }
.uprow { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line2); }
.uprow:last-child { border-bottom: 0; }
.uprow summary { cursor: pointer; color: var(--accent-ink); }
.hash { word-break: break-all; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.copy a { color: var(--muted); }
.heart { color: #E5484D; }
.tagline { font-weight: 600; color: var(--ink); margin-top: 6px; }
/* Laufzeiten */
.termrow { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 8px 10px; margin-top: 4px; }
.termrow b { color: var(--ink); font-weight: 600; }
.termrow em { font-style: normal; color: var(--ok); font-weight: 600; }
fieldset.terms { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
fieldset.terms legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
@media (max-width: 640px) { fieldset.terms { grid-template-columns: 1fr; } }
.term { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff; }
.term > span { display: flex; flex-direction: column; gap: 2px; }
.term .tp { font-size: 20px; font-weight: 700; }
.term input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.term:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
/* Tickets im Kundenkonto */
.sech.first { margin-top: 0; }
.badge.topen { background: var(--warn-bg); color: var(--warn); }
.badge.tanswered { background: var(--accent-soft); color: var(--accent-ink); }
.badge.tclosed { background: var(--line2); color: var(--muted); }
tr.unread td { background: #FFF8E6; }
.krow { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-bottom: 1px solid var(--line2); text-decoration: none; color: var(--ink); }
.krow:last-child { border-bottom: 0; }
.krow:hover { background: var(--bg); }
.tkhead { margin-top: 12px; }
.thread { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.msg { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.msg.admin { background: var(--accent-soft); border-color: #C9D8F5; }
.msg.other { background: #FAFBFC; border-style: dashed; }
.mh2 { display: flex; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.mt { white-space: pre-wrap; word-break: break-word; }
.replybox { margin-bottom: 14px; }
/* Image-Server, Status, Neuigkeiten */
.imgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 40px; }
.imgcard { overflow: hidden; display: flex; flex-direction: column; }
.imgcard img, .imgph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #0F1115; }
.imgph { display: grid; place-items: center; color: #9AA3B2; font-weight: 600; }
.imgcard h2 { font-size: 18px; margin: 0; }
.upbox { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.upbox.bad { border-color: var(--bad); }
.upbar { height: 10px; background: var(--line2); border-radius: 5px; overflow: hidden; }
.upbar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.upbox.bad .upbar span { background: var(--bad); }
.picprev { max-width: 220px; border-radius: 8px; border: 1px solid var(--line); margin-top: 8px; }
.thumb { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; display: block; }
.bggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.bgitem img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.nrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.nrow.dim { opacity: .55; }
.nrow .actions form { margin: 0; }
form.inline { display: inline; }
.srow { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line2); }
.srow > div { flex: 1; }
.srow.foot { border-bottom: 0; }
.sdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex: none; }
.sdot.warn { background: #D29922; } .sdot.bad { background: var(--bad); }
.probrow { border-top: 1px solid var(--line2); padding-top: 10px; }
.probrow:first-of-type { border-top: 0; padding-top: 0; }
.newsitem h2 { margin: 0; font-size: 20px; }

/* Screenshots */
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(20,23,28,.45); }
.shot .sbar { display: flex; gap: 6px; padding: 9px 12px; background: #EEF0F3; border-bottom: 1px solid var(--line); }
.shot .sbar i { width: 10px; height: 10px; border-radius: 50%; background: #D0D4DB; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line2); }
.hero-shot { align-self: center; }
.shots2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 8px; }
.shotgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 32px; }
@media (max-width: 860px) { .shots2, .shotgrid { grid-template-columns: 1fr; } }
.amount span { display: block; margin-left: 0; font-size: 14px; }
.shots2 { margin-top: 22px; margin-bottom: 8px; }
/* Cookie-Hinweis */
.cookiewall { position: fixed; inset: 0; z-index: 100; background: rgba(15, 17, 21, .62); backdrop-filter: blur(2px); display: grid; place-items: center; padding: 16px; }
.cookiewall[hidden] { display: none; }
.cookiebox { width: min(560px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.cookiebox h2 { margin: 0; }
body.noscroll { overflow: hidden; }
.copy { justify-content: flex-start; }

/* Privat / gewerblich */
fieldset.kindpick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
fieldset.kindpick legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
form:has(input[name=kind][value=business]:checked) .waivebox { display: none; }
.bizinfo { display: none; }
form:has(input[name=kind][value=business]:checked) .bizinfo { display: block; }

/* Admin-Navigation mit Symbolen */
.aside a { display: flex; align-items: center; gap: 10px; }
.aside a svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.aside a .cnt { margin-left: auto; }
@media (max-width: 800px) { .aside a svg { display: none; } }
.clitem ul { margin: 6px 0 14px; padding-left: 20px; }
.clitem li { margin: 3px 0; }

/* Bestellübersicht zeigt die gewählte Laufzeit */
.sumterm { display: none; }
.ordergrid:has(input[name=months][value="1"]:checked) .sumterm.t1,
.ordergrid:has(input[name=months][value="12"]:checked) .sumterm.t12,
.ordergrid:has(input[name=months][value="24"]:checked) .sumterm.t24 { display: flex; }

/* Hilfe */
.helpgrid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 48px; }
@media (max-width: 900px) { .helpgrid { grid-template-columns: 1fr; } .helptoc { position: static; } }
.helptoc { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; max-height: calc(100vh - 110px); overflow: auto; }
.helptoc b { margin: 14px 0 4px; }
.helptoc b:first-child { margin-top: 0; }
.helptoc a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.helptoc a:hover { color: var(--ink); }
.faqitem { scroll-margin-top: 86px; }
.faqitem h3 { font-size: 19px; margin: 0; }
.faqitem p { margin: 0; }
.phead .subnav { margin-top: 18px; }
.cllist { margin-bottom: 40px; }
.clitem h2 { font-size: 19px; margin: 0; }
.shot.small { max-width: 480px; }
/* Hilfe: kleinere Überschriften, kein Scrollen in der Seite */
.phead .lead { font-size: 17px; }
.helpgrid .sech { font-size: 18px; }
.faqitem h3 { font-size: 16px; }
.faqitem p { font-size: 15px; }
.helptoc { position: static; max-height: none; overflow: visible; }
/* Drag & Drop */
.dropzone { border: 2px dashed var(--line); background: #FAFBFC; transition: border-color .15s, background .15s; }
.dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.dzin { display: flex; gap: 16px; align-items: center; }
.dzin svg { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.linklike { color: var(--accent-ink); text-decoration: underline; cursor: pointer; }
.dzlist { display: flex; flex-direction: column; gap: 8px; }
.dzlist:empty { display: none; }
.dzrow { display: grid; grid-template-columns: minmax(0, 1.2fr) 120px minmax(0, 2fr); gap: 12px; align-items: center; font-size: 14px; }
.dzrow .dzn { font-family: var(--mono); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dzrow.ok .upbar span { background: var(--ok); }
.dzrow.bad .upbar span { background: var(--bad); }
.dzrow.ok .dzm { color: var(--ok); } .dzrow.bad .dzm { color: var(--bad); }
@media (max-width: 700px) { .dzrow { grid-template-columns: 1fr; } }
.fdesc { color: var(--muted); font-size: 14px; margin: 8px 0 12px; max-width: 360px; }

/* Footer unten: Copyright links, Cookie-Einstellungen rechts, darunter Preishinweis */
.foot .copy { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line2); }
.foot .copy a { color: var(--muted); }
.fnote { font-size: 13px; margin-top: 14px; }

/* NexGame: grüner Akzent */
body.cloudsite { --accent: #1A7F37; --accent-ink: #1A6B32; --accent-soft: #E3F4E8; }
body.cloudsite .eyebrow { color: var(--accent); }

/* NexGame: Symbole und Hover grün */
body.cloudsite a:hover { color: var(--accent); }
body.cloudsite .btn:hover, body.cloudsite button:hover { border-color: var(--accent); }
body.cloudsite .btn.pri:hover, body.cloudsite button.pri:hover { background: #156B2D; border-color: #156B2D; color: #fff; }
body.cloudsite .nav nav a:hover, body.cloudsite .fgrid a:hover { color: var(--accent); }
body.cloudsite .aside a svg { stroke: #56D364; opacity: 1; }
body.cloudsite .aside a:hover { color: #7EE787; }
body.cloudsite .aside a.on { background: #12321C; color: #fff; }
body.cloudsite .checks li::before, body.cloudsite .price li::before { color: var(--accent); }
body.cloudsite .dzin svg { stroke: var(--accent); }
.ngcall { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-color: #B7E1C3; background: #F1FAF3; margin: 32px auto 0; }
.ngcall .eyebrow { color: #1A7F37; }
.ngcall .btn.pri { background: #1A7F37; border-color: #1A7F37; }
.ngcall h2 { margin: 0 0 6px; }
