/* CyberFrags — dark neon esports blog mockup
   Visual identity is intentionally distinct from FinalSoccer
   (no navy/green-on-light sports theme). */

:root {
  --bg: #080b12;
  --bg-soft: #0c111c;
  --surface: #121826;
  --surface-2: #181f30;
  --line: #2a3348;
  --line-strong: #3a4660;
  --text: #eef3fb;
  --muted: #9ba8bd;
  --faint: #8b98ae;
  --mint: #3ef0c5;
  --mint-dim: #1c8f78;
  --mint-2: #7af8d8;
  --mint-ink: #04241c;
  --violet: #9d8cff;
  --pink: #ff5ea8;
  --amber: #ffc857;
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 56px;
  --chips-h: 60px;
  --space: 16px;
  --wrap: 1120px;
  --font: "Outfit", "Geist", "Segoe UI", sans-serif;
  --display: "Tektur", "Outfit", sans-serif;
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--mint);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--chips-h) + 12px);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100dvh;
  font: 16px/1.65 var(--font);
  font-optical-sizing: auto;
  background: var(--bg);
  color: var(--text);
  letter-spacing: .01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(62, 240, 197, .10), transparent 60%),
    radial-gradient(800px 480px at 110% 8%, rgba(157, 140, 255, .14), transparent 55%),
    radial-gradient(700px 500px at 50% 120%, rgba(255, 94, 168, .06), transparent 50%),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 40%);
}

img, svg { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a { color: var(--mint-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mint); }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 80;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus { top: 12px; box-shadow: none; }

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(8, 11, 18, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-height: 44px;
  min-width: 44px;
  flex: 0 1 auto;
  overflow: hidden;
}
.logo:hover { color: var(--text); }
.logo-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}
.logo-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
}
.logo-word span { color: var(--mint); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }

.search-desktop {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 4px 0 14px;
  min-height: 44px;
  width: 260px;
}
.search-desktop input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 0;
}
.search-desktop input:focus { outline: none; box-shadow: none; }
.search-desktop:focus-within { box-shadow: var(--focus); }
.search-desktop button {
  border: 0;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  cursor: pointer;
}

/* hamburger */
.burger { position: relative; }
.burger-lines,
.burger-lines::before,
.burger-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger-lines { position: relative; }
.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger-lines::before { transform: translateY(-6px); }
.burger-lines::after { transform: translateY(6px); }
.burger[aria-expanded="true"] .burger-lines { background: transparent; }
.burger[aria-expanded="true"] .burger-lines::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines::after { transform: rotate(-45deg); }

/* Search panel (mobile) */
.search-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 55;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px 16px;
  box-shadow: var(--shadow);
}
.search-panel.is-open { display: block; }
.search-panel form {
  display: flex;
  gap: 8px;
}
.search-panel input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 0 14px;
}
.search-panel button[type="submit"] {
  border: 0;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 16px;
  cursor: pointer;
  white-space: nowrap;
}
.search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.search-hints a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
  background: var(--bg);
}
.search-hints a:hover { color: var(--text); border-color: var(--mint); }

/* Drawer */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(86vw, 360px);
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .24s ease;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 20px;
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}
.drawer-head p {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .06em;
}
.drawer nav { padding: 12px 16px 32px; }
.drawer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
}
.drawer a:hover,
.drawer a[aria-current="page"] { background: var(--surface-2); color: var(--mint-2); }
.drawer .nav-label {
  margin: 16px 12px 6px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
}

body.nav-open { overflow: hidden; }

/* ——— Chips ——— */
.chip-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(8, 11, 18, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 8px 0;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 550;
  white-space: nowrap;
}
.chip:hover { border-color: var(--line-strong); color: var(--mint-2); }
.chip.is-on,
.chip[aria-current="page"] {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
}

/* ——— Thumbs (CSS/SVG placeholders, no photos) ——— */
.thumb {
  position: relative;
  aspect-ratio: 40 / 21;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: #10151f;
}
.thumb-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.thumb-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(8, 11, 18, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 4px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

/* ——— Cards ——— */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: border-color .15s ease, transform .15s ease;
}
a.card:hover { border-color: var(--mint-dim, #1c8f78); color: inherit; transform: translateY(-2px); }
a.card:hover .card-title { color: var(--mint-2); }
.card .thumb { border-radius: 0; }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kicker {
  display: inline-flex;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet);
}
.card-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .01em;
  overflow-wrap: break-word; word-break: normal; hyphens: none;
}
.excerpt {
  margin: 0;
  color: var(--muted);
  font-size: .925rem;
}
.meta {
  margin-top: auto;
  color: var(--faint);
  font-size: .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.meta time { white-space: nowrap; }

/* ——— Hero ——— */
.hero {
  margin: 20px auto 28px;
  display: grid;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.hero .thumb { border-radius: 0; aspect-ratio: 40 / 21; }
.hero-body { padding: 4px 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.hero .badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 94, 168, .16);
  color: #ffc1dd;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word; word-break: normal; hyphens: none;
}
.hero h1 a { color: inherit; text-decoration: none; }
.hero h1 a:hover { color: var(--mint-2); }
.hero .excerpt { font-size: 1rem; max-width: 60ch; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
  text-decoration: none;
  margin-top: 4px;
}
.hero-cta:hover { color: var(--mint-ink); filter: brightness(1.06); }

/* ——— Sections ——— */
.section { margin: 8px auto 32px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.section-head a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.section-head a:hover { color: var(--mint-2); }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.split {
  display: grid;
  gap: 16px;
  margin: 8px auto 32px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}
.panel h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 1.15rem;
}

/* Trending */
.trend-list { list-style: none; margin: 0; padding: 0; }
.trend-list li { border-top: 1px solid var(--line); }
.trend-list li:first-child { border-top: 0; }
.trend-list a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}
.trend-list a:hover .trend-title { color: var(--mint-2); }
.trend-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--violet);
  letter-spacing: .04em;
  padding-top: 1px;
}
.trend-title {
  margin: 0;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: break-word; word-break: normal; hyphens: none;
}
.trend-meta { margin: 4px 0 0; font-size: .8rem; color: var(--faint); }

/* Schedule widget */
.note-contoh {
  display: inline-flex;
  align-items: center;
  margin: -8px 0 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 200, 87, .12);
  color: var(--amber);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sched { list-style: none; margin: 0; padding: 0; }
.sched li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.sched li:first-child { border-top: 0; padding-top: 0; }
.sched time {
  display: block;
  font-size: .78rem;
  color: var(--mint-2);
  font-weight: 650;
  line-height: 1.35;
}
.sched strong {
  display: block;
  font-size: .95rem;
  font-weight: 650;
  overflow-wrap: break-word; word-break: normal; hyphens: none;
}
.sched span {
  display: block;
  color: var(--muted);
  font-size: .8rem;
  margin-top: 2px;
}

/* Newsletter */
.newsletter {
  margin: 8px auto 40px;
  background:
    linear-gradient(120deg, rgba(62, 240, 197, .10), rgba(157, 140, 255, .12) 60%, rgba(255, 94, 168, .08)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: left;
}
.newsletter h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.3rem;
}
.newsletter p { margin: 0 0 14px; color: var(--muted); max-width: 50ch; }
.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.newsletter input[type="email"] {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  border-radius: 10px;
  padding: 0 14px;
  width: 100%;
}
.newsletter button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
  cursor: pointer;
  padding: 0 18px;
}
.newsletter .hint { margin: 10px 0 0; font-size: .8rem; color: var(--faint); }
.newsletter .ok {
  display: none;
  margin: 0;
  color: var(--mint-2);
  font-weight: 650;
}
.newsletter.is-done form,
.newsletter.is-done > p { display: none; }
.newsletter.is-done .ok { display: block; }

/* Footer */
.site-footer {
  background: #06080d;
  border-top: 1px solid var(--line);
  padding: 32px 0 24px;
  color: var(--muted);
  font-size: .925rem;
}
.footer-grid {
  display: grid;
  gap: 24px;
}
.site-footer h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: .95rem;
  color: var(--text);
  letter-spacing: .06em;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--mint-2); }
.footer-copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

/* ——— Article ——— */
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  margin: 16px 0 12px;
  padding: 0;
  font-size: .85rem;
  color: var(--faint);
}
.crumb li { display: inline-flex; align-items: center; }
.crumb li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: var(--line-strong);
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--mint-2); }
.crumb [aria-current="page"] { color: var(--text); }

.article-head h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 5.4vw, 2.25rem);
  line-height: 1.2;
  overflow-wrap: break-word; word-break: normal; hyphens: none;
}
.article-head .meta { margin-bottom: 16px; color: var(--muted); }
.article-hero { margin: 0 0 20px; }
.article-hero .thumb { aspect-ratio: 40 / 21; }

.article-wrap {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 16px 12px;
}
.toc summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
}
.toc[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.toc ol {
  margin: 0 0 8px;
  padding: 0 0 0 1.2em;
}
.toc li { margin: 0 0 6px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--mint-2); }

.prose { min-width: 0; max-width: 68ch; }
.prose h2 {
  margin: 1.6em 0 .6em;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.3;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin: 0 0 .4em; }
.prose a { font-weight: 650; }

.tips {
  margin: 1.4em 0;
  background: rgba(62, 240, 197, .07);
  border: 1px solid rgba(62, 240, 197, .28);
  border-left: 4px solid var(--mint);
  border-radius: 12px;
  padding: 14px 16px;
}
.tips h2 { margin-top: 0; }
.tips ul { margin-bottom: 0; }

.related, .share-box {
  margin: 24px 0 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.related h2, .share-box h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.1rem;
}
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { border-top: 1px solid var(--line); }
.related li:first-child { border-top: 0; }
.related a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  overflow-wrap: break-word; word-break: normal; hyphens: none;
}
.related a:hover { color: var(--mint-2); }

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-row button,
.share-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
}
.share-row button:hover,
.share-row a:hover { border-color: var(--mint); color: var(--mint-2); }
.toast {
  margin: 10px 0 0;
  font-size: .85rem;
  color: var(--mint-2);
  min-height: 1.2em;
}

/* Category page */
.cat-head {
  margin: 20px auto 20px;
}
.cat-head h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 5vw, 2rem);
}
.cat-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 24px 0 12px;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  font-size: .925rem;
}
.pager [aria-current="page"] {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--mint-ink);
}
.pager .is-off { color: var(--faint); cursor: default; }
.pager-note {
  text-align: center;
  color: var(--faint);
  font-size: .8rem;
  margin: 0 0 40px;
}

/* ——— Breakpoints ——— */
@media (max-width: 899px) {
  .chips {
    padding-right: 20px;
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 18px), transparent 100%);
  }
}

@media (min-width: 640px) {
  :root { --header-h: 64px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .newsletter form {
    flex-direction: row;
    align-items: stretch;
  }
  .newsletter input[type="email"] { flex: 1; }
  .newsletter button { width: auto; }
}

@media (min-width: 900px) {
  .burger, .search-toggle { display: none; }
  .search-desktop { display: flex; }
  .search-panel { display: none !important; }
  .hero {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
  .hero .thumb { aspect-ratio: auto; min-height: 100%; }
  .hero-body {
    padding: 28px 28px 28px 8px;
    justify-content: center;
  }
  .card-grid { grid-template-columns: 1fr 1fr 1fr; }
  .split { grid-template-columns: 1.2fr .8fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .article-wrap {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 32px;
  }
  .article-side {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
    align-self: start;
  }
  .article-side .toc {
    position: static;
    padding-top: 12px;
  }
  .toc summary { pointer-events: none; }
  .toc summary::after { display: none; }
  .prose { order: 1; }
  .newsletter { padding: 28px 32px; }
}


/* ——— Ads (reserved sizes, labeled, no CLS) ——— */
.ad-band {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  min-height: 146px; /* 12 + 22 label + 100 slot + 12 */
}
.ad--leaderboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 122px; /* label + 100 */
}
.ad {
  margin: 0;
  min-width: 0;
}
.ad-label {
  margin: 0 0 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 16px;
}
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.02) 0 8px, transparent 8px 16px),
    var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  color: var(--faint);
  font-size: .85rem;
  font-weight: 650;
  padding: 8px;
  overflow: hidden;
}
.ad-slot--320x100 {
  display: flex;
  width: min(320px, 100%);
  height: 100px;
}
.ad-slot--728x90 {
  display: none;
  width: min(728px, 100%);
  height: 90px;
}
.ad-slot--300x250 {
  display: flex;
  width: min(300px, 100%);
  height: 250px;
}
.ad--mid {
  margin: 1.4em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ad--mid .ad-slot--300x250 { height: 250px; }
.ad--desktop-only { display: none; }
.ad--box300 { display: none; }
.ad--box300 .ad-slot--300x250 { margin: 0 auto; }

.ad-native {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px 14px;
}
.ad-native .ad-slot--native {
  display: flex;
  width: 100%;
  height: 120px;
}
.home-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

/* ——— Comments ——— */
.comments {
  margin: 8px auto 40px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.comments-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.comments-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
}
.comment-count { color: var(--muted); font-weight: 600; }
.comment-sort {
  display: flex;
  gap: 6px;
}
.comment-sort button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 650;
  cursor: pointer;
}
.comment-sort button[aria-pressed="true"] {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--mint-ink);
}
.comment-form,
.reply-form {
  display: grid;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.comment-form label,
.reply-form label,
.iklan-form label {
  font-weight: 650;
  font-size: .9rem;
}
.comment-form input,
.comment-form textarea,
.reply-form input,
.reply-form textarea,
.iklan-form input,
.iklan-form textarea,
.iklan-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
}
.comment-form textarea,
.reply-form textarea,
.iklan-form textarea { min-height: 96px; resize: vertical; }
.comment-form button,
.reply-form button,
.iklan-form button[type="submit"] {
  justify-self: start;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 700;
  padding: 0 18px;
  cursor: pointer;
}
.comment-form .hint,
.reply-form .hint,
.iklan-form .hint {
  margin: 0;
  font-size: .85rem;
  color: var(--faint);
}
.comment-form .ok,
.iklan-form .ok { margin: 0; color: var(--mint-2); font-weight: 650; }

.comment-list,
.comment-replies {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 12px;
  min-width: 0;
}
.comment-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  margin-bottom: 8px;
}
.comment-head strong { font-weight: 700; }
.comment-head time,
.comment-pending {
  font-size: .8rem;
  color: var(--faint);
}
.comment-pending {
  color: var(--amber);
  font-weight: 700;
}
.comment p { margin: 0 0 10px; overflow-wrap: break-word; }
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.comment-actions button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 650;
  cursor: pointer;
}
.comment-actions button[aria-pressed="true"] {
  border-color: var(--mint);
  color: var(--mint-2);
}
.comment-replies {
  margin: 12px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(62, 240, 197, .35);
}
.comment-replies .comment {
  background: var(--bg-soft);
  margin-bottom: 8px;
}
.comment-replies .comment:last-child { margin-bottom: 0; }
.reply-form { margin: 12px 0 0; }
.reply-form label { display: grid; gap: 6px; }

/* ——— Pasang iklan page ——— */
.page-head { margin: 20px 0 16px; }
.page-head h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 5vw, 2rem);
}
.page-head p { margin: 0; color: var(--muted); max-width: 65ch; }
.slot-table-wrap {
  overflow-x: auto;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.slot-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .925rem;
  min-width: 520px;
}
.slot-table th,
.slot-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.slot-table th {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
}
.slot-table tr:last-child td { border-bottom: 0; }
.iklan-form { margin-bottom: 40px; }
.iklan-form h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (min-width: 900px) {
  .ad-slot--320x100 { display: none; }
  .ad-slot--728x90 { display: flex; }
  .ad-band { min-height: 136px; }
  .ad--leaderboard { min-height: 112px; }
  .ad--desktop-only,
  .ad--box300 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.slot-list {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
}
.slot-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}
.slot-card h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.05rem;
}
.slot-card p { margin: 0 0 6px; color: var(--muted); }
.slot-card p:last-child { margin-bottom: 0; }
.slot-card strong { color: var(--text); font-weight: 650; }
@media (min-width: 900px) {
  .slot-list { grid-template-columns: 1fr 1fr; }
}

/* ===== CyberFrags live site additions ===== */
a.ad-slot { text-decoration: none; }
a.ad-slot:hover { color: var(--mint-2); border-color: var(--mint-dim); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.panel-more { margin: 12px 0 0; font-weight: 650; }
.attrib { margin: 12px 0 0; font-size: .78rem; color: var(--faint); }
.attrib a { color: var(--muted); }
.mrow { display: grid; gap: 2px; color: var(--text); text-decoration: none; min-width: 0; }
.mrow:hover strong { color: var(--mint-2); }
.mrow strong { font-weight: 700; overflow-wrap: anywhere; }
.mrow em { font-style: normal; color: var(--faint); font-weight: 600; margin: 0 2px; }
.mrow span { color: var(--muted); font-size: .85rem; }
.mscore { color: var(--mint); margin-left: 6px; font-family: var(--display); }
.mstatus { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); align-self: center; }
.mstatus.is-live { color: #1a0a12; background: var(--pink); border-radius: 6px; padding: 2px 8px; animation: cfpulse 1.6s ease-in-out infinite; }
.mstatus.is-soon { color: var(--mint-ink); background: var(--amber); border-radius: 6px; padding: 2px 8px; }
.mstatus.is-finished { color: var(--faint); }
@keyframes cfpulse { 50% { box-shadow: 0 0 0 4px rgba(255, 94, 168, .35); } }
.sched-day li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.sched-day time { font-weight: 700; color: var(--mint-2); font-size: .9rem; padding-top: 2px; }
.sched-wrap { display: grid; gap: 16px; margin-bottom: 32px; }
.sched-game h2 { scroll-margin-top: calc(var(--header-h) + 60px); }
.day { margin: 16px 0 8px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.more-days, .results { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.more-days summary, .results summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: var(--muted); }
.chips.jump { margin: 0 0 14px; padding: 0; }
.cat-sched { margin-bottom: 20px; }
.match-page .vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; margin: 0 0 16px; text-align: center; }
.vs-team strong { display: block; font-family: var(--display); font-size: clamp(.92rem, 3.9vw, 1.35rem); line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.vs-team { min-width: 0; }
.vs-team span { color: var(--faint); font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.vs-score { font-family: var(--display); font-size: 1.9rem; font-weight: 800; color: var(--mint); }
.vs-score span { color: var(--faint); }
.vs-score.vs-mid { font-size: 1.1rem; color: var(--violet); }
.vs.br { grid-template-columns: 1fr; }
.vs.br strong { font-family: var(--display); font-size: 1.2rem; }
.vs.br span { color: var(--muted); font-size: .9rem; }
.stream { margin: 0 0 12px; }
.stream-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line-strong); }
.stream-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stream-play { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; color: var(--text); font-weight: 750; font-size: 1.05rem;
  background: radial-gradient(400px 220px at 50% 40%, rgba(62, 240, 197, .18), transparent 70%), linear-gradient(160deg, #10172a, #070a12); }
.stream-play small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.play-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); position: relative; box-shadow: 0 0 0 8px rgba(62, 240, 197, .18); }
.play-ico::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid var(--mint-ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.stream-alt { margin: 8px 0 0; font-size: .9rem; }
.linkish { background: none; border: 0; color: var(--mint-2); text-decoration: underline; cursor: pointer; padding: 8px 0; min-height: 44px; }
.stream-link { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--mint); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 20px; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.facts dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.facts .mstatus:empty { display: none; }
.match-page .panel { margin: 0 0 16px; }
.src { margin-top: 1.4em; }
.static { padding-bottom: 32px; }
.static h2 { font-family: var(--display); font-size: 1.15rem; margin: 1.4em 0 .5em; }
.search-big { display: flex; gap: 8px; margin: 0 0 20px; }
.search-big input { flex: 1; min-width: 0; min-height: 48px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 12px; padding: 0 14px; }
.search-big button { border: 0; background: var(--mint); color: var(--mint-ink); font-weight: 700; border-radius: 12px; padding: 0 18px; min-height: 48px; cursor: pointer; }
.res-list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 10px; }
.res-list a { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--text); }
.res-list span { color: var(--muted); font-size: .85rem; }
.hero-cta.alt { background: var(--surface-2); color: var(--text); margin-left: 8px; }
.ts-box:empty { display: none; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } .sched-day li { grid-template-columns: 72px minmax(0, 1fr) auto; } }

/* ===== visuals v2 ===== */
.thumb img.thumb-art { width: 100%; height: 100%; object-fit: cover; }
.card .thumb { border-radius: 0; }
.card { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 10px 30px rgba(62, 240, 197, .08); }
.mcard .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mgrid { margin: 0 0 12px; }
.sched-game .mgrid { margin: 12px 0 8px; }
.cat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-tile { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 40 / 21; background: var(--surface); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-weight: 750; font-size: .9rem; color: #fff; text-decoration: none;
  background: linear-gradient(transparent, rgba(6, 8, 14, .92)); }
.cat-banner .thumb { margin: 0 0 14px; border: 1px solid var(--line); }
.match-hero { margin-bottom: 14px; }
.match-hero .thumb { border: 1px solid var(--line-strong); box-shadow: 0 0 40px rgba(62, 240, 197, .08); }
@media (min-width: 640px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }

/* audit follow-ups */
.byline { margin: 8px 0 0; font-size: .9rem; color: var(--muted); }
.answer-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 1.2em;
}
.answer-box h2 { margin: 0 0 8px; font-family: var(--display); font-size: 1.05rem; }
.answer-box p { margin: 0; }
.faq { margin: 1.6em 0; }
.faq h2 { font-family: var(--display); font-size: 1.25rem; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.faq details p { margin: 0 0 12px; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: .925rem; min-width: 280px; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.prose caption { caption-side: top; text-align: left; font-weight: 700; padding: 10px 12px 0; }
.stream-idle {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px; color: var(--muted); font-weight: 650;
  background: linear-gradient(160deg, #10172a, #070a12);
}
.stream-idle[hidden], .stream-play[hidden] { display: none !important; }
.ad-mid-after { display: block; }
.ad-mid-inline { display: none; }
@media (min-width: 900px) {
  .ad-mid-inline { display: block; }
  .ad-mid-after { display: none; }
}
