/* Hotdoggamers
   Layout: airy and clean. White navigation bar, a pale blue gradient hero with a big light headline,
   dark square-cornered buttons, white cards with soft shadows. Roboto throughout.
   One memorable piece: the cluster status board, tilted slightly like a product shot in the hero. */
:root {
  --bg: #ffffff;
  --ink: #12151f;
  --muted: #4b5565;
  --panel: #ffffff;
  --panel-ink: #12151f;
  --panel-dim: #5b6676;
  --panel-line: #e1e6ee;
  --panel-field: #ffffff;
  --field-line: #8a94a6;
  --accent: #0f6cbd;
  --accent-ink: #ffffff;
  --btn: #121a2b;
  --btn-ink: #ffffff;
  --soft: #eef2f9;
  --bar-bg: #e3e8f1;
  --pick: rgba(15, 108, 189, 0.1);
  --hero-from: #e2e9f7;
  --hero-via: #eef2fa;
  --hero-to: #ffffff;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.07);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, 0.08), 0 30px 60px rgba(30, 50, 100, 0.18);
  --good: #107c41;
  --warn: #9d5d00;
  --bad: #c42b1c;
  --font: "Roboto", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --radius: 8px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e131d; --ink: #eef1f6; --muted: #aab4c3; --panel: #172030; --panel-ink: #eef1f6; --panel-dim: #a4aebe;
    --panel-line: #2a3548; --panel-field: #0f1623; --field-line: #5b6a82; --accent: #6cb6ff; --accent-ink: #0b1626;
    --btn: #eef1f6; --btn-ink: #0e131d; --soft: #141c2a; --bar-bg: #2a3548; --pick: rgba(108, 182, 255, 0.14);
    --hero-from: #1b2640; --hero-via: #141c2e; --hero-to: #0e131d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 30px 60px rgba(0, 0, 0, 0.5);
    --good: #5fd08a; --warn: #e0a84c; --bad: #ff7b6b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e131d; --ink: #eef1f6; --muted: #aab4c3; --panel: #172030; --panel-ink: #eef1f6; --panel-dim: #a4aebe;
  --panel-line: #2a3548; --panel-field: #0f1623; --field-line: #5b6a82; --accent: #6cb6ff; --accent-ink: #0b1626;
  --btn: #eef1f6; --btn-ink: #0e131d; --soft: #141c2a; --bar-bg: #2a3548; --pick: rgba(108, 182, 255, 0.14);
  --hero-from: #1b2640; --hero-via: #141c2e; --hero-to: #0e131d;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 30px 60px rgba(0, 0, 0, 0.5);
  --good: #5fd08a; --warn: #e0a84c; --bad: #ff7b6b;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
}
.wrap {
  max-width: 1200px; margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 400; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.25; }
p { margin: 0; max-width: 62ch; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.num { font-variant-numeric: tabular-nums; }
.muted { opacity: .75; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--panel-line); }
.site-header .bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-block: 14px; }
.brand { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; line-height: 1; }
.brand:hover { color: inherit; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 24px; margin-right: auto; }
.nav a { text-decoration: none; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 500; }
.nav a:hover { color: var(--accent); }
.join-cta[aria-current="page"] { outline: 2px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 500; padding: 12px 24px; border-radius: 4px; border: 2px solid var(--btn); background: var(--btn); color: var(--btn-ink); text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--btn-ink); filter: brightness(1.25); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--btn); }
.btn.ghost:hover { background: var(--btn); color: var(--btn-ink); filter: none; }
.btn.small { padding: 7px 16px; font-size: .95rem; }
.link-icon { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; text-decoration: none; }
.link-icon:hover { color: var(--accent); }
.link-icon .sq { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--btn); color: var(--btn-ink); font-size: 1.5rem; line-height: 1; padding-bottom: 3px; }

/* sections */
main { display: block; }
.section { padding-block: clamp(36px, 6vw, 72px); }
.section > .head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.panel { background: var(--panel); color: var(--panel-ink); border: 1px solid var(--panel-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 28px); }

/* hero */
.hero-band { background: radial-gradient(ellipse 60% 70% at 78% 55%, var(--hero-from), transparent 70%), linear-gradient(180deg, var(--hero-from) 0%, var(--hero-via) 55%, var(--hero-to) 100%); overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px 56px; align-items: center; padding-block: clamp(36px, 7vw, 88px) clamp(40px, 7vw, 88px); }
.hero p.lead { font-size: 1.2rem; margin-top: 22px; color: var(--muted); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .more { margin-top: 22px; }
.hero .board { box-shadow: var(--shadow-lg); transform: perspective(1800px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .board { transform: none; }
}

/* status board */
.board h2 { font-size: 1.3rem; }
.board-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9rem; padding: 4px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--panel-line); }
.pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--panel-dim); }
.pill.up::before { background: var(--good); }
.pill.warn::before { background: var(--warn); }
.pill.down::before { background: var(--bad); }
.board [data-rows] { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 32px; }
.srv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-content: start; }
.srv .name { font-weight: 500; }
.srv .count { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.srv .bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--bar-bg); overflow: hidden; }
.srv .bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; width: 0; transition: width .6s ease; }
.srv .sub { grid-column: 1 / -1; font-size: .88rem; color: var(--panel-dim); }
.board-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--panel-line); font-size: .9rem; color: var(--panel-dim); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }
.board-foot a { color: var(--accent); }
.tag { display: inline-block; font-size: .8rem; font-weight: 500; padding: 2px 10px; border-radius: 99px; background: var(--soft); color: var(--ink); border: 1px solid var(--panel-line); }

/* rates menu board */
.menu { background: var(--panel); color: var(--panel-ink); border: 1px solid var(--panel-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 32px 56px; }
.menu h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--accent); }
.menu ul { list-style: none; padding: 0; margin: 0; }
.menu li { display: flex; align-items: baseline; gap: 10px; padding-block: 8px; }
.menu li .lbl { font-weight: 400; }
.menu li .dots { flex: 1; min-width: 14px; border-bottom: 2px dotted var(--panel-line); transform: translateY(-5px); }
.menu li .val { font-weight: 500; font-size: 1.45rem; line-height: 1; white-space: nowrap; }
.menu li .note { display: block; font-size: .88rem; color: var(--panel-dim); font-weight: 400; }
.menu li .lblwrap { min-width: 0; }
.notice { background: var(--soft); color: var(--ink); border: 1px solid var(--panel-line); border-radius: var(--radius); padding: 10px 14px; font-weight: 500; margin-bottom: 20px; max-width: none; }
.rates-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.rates-strip .cell { background: var(--panel); color: var(--panel-ink); border: 1px solid var(--panel-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.rates-strip .v { font-size: 2.2rem; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.rates-strip .l { font-size: .95rem; color: var(--panel-dim); margin-top: 8px; }

/* posts: simple list */
.posts { display: block; border-top: 1px solid var(--panel-line); }
.post-card { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--panel-line); color: var(--ink); text-decoration: none; }
.post-card:hover { color: var(--accent); }
.post-card time { font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.post-card h3 { font-size: 1.3rem; font-weight: 400; }
.post-card .read { font-size: .95rem; color: var(--muted); }
@media (max-width: 600px) { .post-card { grid-template-columns: minmax(0, 1fr) auto; } .post-card time { grid-column: 1 / -1; } }
.article { max-width: 70ch; }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.article h2 { font-size: 1.6rem; margin: 34px 0 12px; }
.article h3 { margin: 26px 0 8px; }
.article p, .article ul, .article ol { margin: 0 0 16px; max-width: none; }
.article img { max-width: 100%; border-radius: var(--radius); }
.article code { background: var(--soft); padding: 1px 6px; border-radius: 4px; font-size: .95em; }
.article pre { background: var(--soft); color: var(--ink); border: 1px solid var(--panel-line); padding: 14px 16px; border-radius: var(--radius); overflow-x: auto; }
.article pre code { background: none; padding: 0; }
.article blockquote { margin: 0 0 16px; padding: 4px 18px; border-left: 3px solid var(--accent); }

/* steps, lists */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); font-weight: 500; font-size: 1.1rem; display: grid; place-items: center; }
.steps strong { display: block; font-size: 1.1rem; font-weight: 500; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.plain-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.copy { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy code { font-family: inherit; font-weight: 500; background: var(--soft); color: var(--ink); border: 1px solid var(--panel-line); padding: 8px 14px; border-radius: 4px; font-size: 1.05rem; user-select: all; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.events li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 4px 16px; }
.events .when { font-weight: 500; }

/* taming ticket */
.ticket-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .ticket-grid { grid-template-columns: minmax(0, 1fr); } }
.ticket label { display: grid; gap: 6px; font-weight: 500; margin-bottom: 16px; }
.ticket input, .ticket select { font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 4px; border: 1px solid var(--field-line); background: var(--panel-field); color: var(--ink); width: 100%; min-width: 0; }
.ticket fieldset { border: 1px dashed var(--field-line); border-radius: var(--radius); padding: 14px 14px 0; margin: 4px 0 16px; min-width: 0; }
.ticket legend { font-weight: 500; padding-inline: 8px; }
.ticket .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0 12px; }
.ticket small { font-weight: 400; color: var(--panel-dim); }
.results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.big-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.big { background: var(--panel); color: var(--panel-ink); border: 1px solid var(--panel-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; min-width: 0; }
.big .v { font-size: 2.1rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; overflow-wrap: anywhere; }
.big .l { color: var(--panel-dim); font-size: .95rem; margin-top: 6px; }
.big .v.text { font-size: 1.3rem; font-weight: 500; letter-spacing: 0; line-height: 1.2; overflow-wrap: normal; word-break: normal; }
.big.hot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.big.hot .l { color: inherit; opacity: .9; }
.table-wrap { overflow-x: auto; border: 1px solid var(--panel-line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--panel); color: var(--panel-ink); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 11px 12px; white-space: nowrap; }
th { color: var(--panel-dim); font-weight: 500; font-size: .92rem; background: var(--soft); }
tbody tr { border-top: 1px solid var(--panel-line); }
tbody tr.pick { background: var(--pick); }
tbody tr[data-food] { cursor: pointer; }
tbody tr[data-food]:hover { background: var(--soft); }
.fineprint { font-size: .92rem; max-width: 70ch; }
.warn-box { border: 1px solid var(--warn); border-radius: var(--radius); padding: 14px 18px; }

/* footer */
.site-footer { background: var(--soft); border-top: 1px solid var(--panel-line); margin-top: 48px; font-size: .95rem; color: var(--panel-dim); }
.site-footer .bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px; }
.theme-btn { font: inherit; background: none; border: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.theme-btn:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* simple online indicator rows */
.srv.simple{display:flex;align-items:center;gap:10px}
.srv.simple .name{flex:1;min-width:0}
.srv.simple .sub{margin:0;font-size:.85rem;color:var(--muted,#5b6475)}
.dot{width:10px;height:10px;border-radius:50%;background:#9aa3b2;flex:none}
.dot.up{background:#1a9b4b;box-shadow:0 0 0 4px rgba(26,155,75,.18)}
.dot.warn{background:#e0a100;box-shadow:0 0 0 4px rgba(224,161,0,.18)}
.dot.down{background:#d13438;box-shadow:0 0 0 4px rgba(209,52,56,.18)}
