/* EVCarly — "pop-art comic book" theme: primary yellow, red, cyan and black ink outlines,
   Ben-Day halftone dots, comic panels with white gutters, speech/thought bubbles and burst stickers.
   Kanit (heavy, clear digits) for display, Itim for captions/bubbles, Anuphan for reading,
   Bangers (Latin) only inside burst words. */
:root {
  color-scheme: light;
  --yellow: #ffe600;
  --red: #e8112d;
  --red-2: #ff3b4e;
  --cyan: #00aee6;
  --cyan-2: #bfeeff;
  --pink: #ff5fa8;
  --ink: #111;
  --text: #1b1b1b;
  --muted: #4a4a4a;
  --paper: #fffbea;
  --white: #fff;
  --line: 3px solid var(--ink);
  --dots: radial-gradient(circle, rgb(0 0 0 / .16) 1.3px, transparent 1.8px);
  --dots-cyan: radial-gradient(circle, rgb(0 174 230 / .32) 1.5px, transparent 2px);
  --dots-red: radial-gradient(circle, rgb(232 17 45 / .26) 1.6px, transparent 2.1px);
  --display: "Kanit", "Anuphan", system-ui, sans-serif;
  --hand: "Itim", "Anuphan", system-ui, sans-serif;
  --body: "Anuphan", "Noto Sans Thai", system-ui, sans-serif;
  --pow: "Bangers", "Kanit", system-ui, sans-serif;
  --star: polygon(50% 0, 59% 20%, 80% 5%, 77% 30%, 100% 30%, 84% 50%, 100% 70%, 77% 70%, 80% 95%, 59% 80%, 50% 100%, 41% 80%, 20% 95%, 23% 70%, 0 70%, 16% 50%, 0 30%, 23% 30%, 20% 5%, 41% 20%);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.65; color: var(--text);
  background: var(--dots) 0 0 / 11px 11px, var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.25; margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); border: var(--line); padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- shared comic pieces ---------- */
.panel { position: relative; background: var(--white); border: var(--line); }
.halftone-img { position: relative; display: block; overflow: hidden; background: var(--yellow); }
.halftone-img img { width: 100%; height: 100%; object-fit: cover; }
.halftone-img::after { /* Ben-Day dot overlay on the picture edge */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--dots) 0 0 / 7px 7px; mask-image: linear-gradient(135deg, #000 0, transparent 45%);
  -webkit-mask-image: linear-gradient(135deg, #000 0, transparent 45%);
}
.caption { /* yellow narration box */
  display: inline-block; margin: 0; padding: 3px 12px; background: var(--yellow); border: 2.5px solid var(--ink);
  font-family: var(--hand); font-size: .95rem; line-height: 1.5;
}
.bubble { /* speech bubble with tail */
  position: relative; background: var(--white); border: 2.5px solid var(--ink); border-radius: 22px;
  padding: 10px 16px; font-family: var(--hand); line-height: 1.6;
}
.bubble::before, .bubble::after { content: ""; position: absolute; left: 34px; width: 0; height: 0; border-style: solid; }
.bubble::before { bottom: -17px; border-width: 17px 14px 0 0; border-color: var(--ink) transparent transparent; }
.bubble::after { bottom: -11px; left: 37px; border-width: 12px 9px 0 0; border-color: var(--white) transparent transparent; }
.thought { /* thought bubble: dashed cloud with trailing dots */
  position: relative; display: inline-block; margin: 0; padding: 4px 14px; background: var(--white);
  border: 2px dashed var(--ink); border-radius: 999px; font-family: var(--hand); font-size: .95rem; color: var(--muted);
}
.burst { /* ZAP!/POW! star sticker */
  position: absolute; z-index: 2; display: grid; place-items: center; width: 108px; height: 80px;
  background: var(--ink); clip-path: var(--star); transform: rotate(-8deg);
}
.burst > span {
  display: grid; place-items: center; width: calc(100% - 7px); height: calc(100% - 7px);
  background: var(--yellow); clip-path: var(--star); font-family: var(--display); font-weight: 800; font-size: .85rem; color: var(--red);
  text-align: center; line-height: 1.1; padding: 0 12px;
}
.burst-review > span { background: var(--cyan); color: var(--white); }
.burst-article > span { background: var(--pink); color: var(--white); }
.burst-big { position: relative; width: 170px; height: 125px; flex: none; }
.burst-big > span { font-family: var(--pow); font-weight: 400; font-size: 2.1rem; letter-spacing: 1px; }
.pow { font-family: var(--pow); font-size: 1.7rem; color: var(--red); letter-spacing: 1.5px; transform: rotate(-6deg); -webkit-text-stroke: 1px var(--ink); }
/* ---------- EV drawings (sprite in layout.html) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.3em; margin-right: 4px; }
.mascot { display: block; width: 150px; height: auto; overflow: visible; }
.charger { display: block; width: 60px; height: auto; }
.batt { width: 28px; height: 14px; vertical-align: -2px; margin-right: 5px; }
.section-title::after { /* plug on a cable hanging off every section heading */
  content: ""; display: inline-block; width: 70px; height: 34px; margin-left: 4px; vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 34'%3E%3Cpath d='M2 17c14 0 14-12 26-12s12 24 24 24' fill='none' stroke='%23111' stroke-width='3.5' stroke-linecap='round'/%3E%3Crect x='50' y='19' width='14' height='13' rx='3' fill='%2300aee6' stroke='%23111' stroke-width='2.5'/%3E%3Cpath d='M64 23h5M64 28h5' stroke='%23111' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.badge {
  position: relative; z-index: 2; display: inline-flex; gap: 4px; align-items: center; padding: 1px 10px; border-radius: 999px;
  background: var(--cyan-2); border: 2px solid var(--ink); font-size: .82rem; font-weight: 600; text-decoration: none;
}
.dur { display: inline-flex; align-items: center; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.meta { margin: 0; font-size: .85rem; color: var(--muted); }
.card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; }
.type { font-weight: 700; color: var(--red); }
.type-review { color: #006f94; }
.hl { background: linear-gradient(transparent 50%, var(--yellow) 50% 92%, transparent 92%); padding-inline: .1em; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 18px; }
.section-title { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 800; margin: 0 0 18px; }
.section-head .section-title { margin: 0; }
.section-title > span { display: inline-block; background: var(--red); color: var(--white); padding: 2px 16px 4px; border: var(--line); transform: rotate(-1.5deg); }
section { margin-block: 44px; }

/* ---------- header ---------- */
.site-header { background: var(--dots-red) 0 0 / 9px 9px, var(--yellow); border-bottom: var(--line); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo img { transform: rotate(-6deg); }
.logo-text { display: inline-flex; align-items: baseline; gap: 6px; }
.logo-plug { font-family: var(--display); font-weight: 800; font-size: 1.9rem; letter-spacing: -.5px; }
.logo-pop { font-family: var(--pow); font-size: 2.3rem; color: var(--red); letter-spacing: 1.5px; -webkit-text-stroke: 1.2px var(--ink); transform: rotate(-5deg); display: inline-block; }
.tagline { display: flex; align-items: center; gap: 18px; }
.tagline p { position: relative; margin: 0; background: var(--white); border: 2.5px solid var(--ink); border-radius: 22px; padding: 6px 16px; font-family: var(--hand); font-size: 1.02rem; }
.tagline p::after { content: ""; position: absolute; right: -15px; top: 50%; translate: 0 -50%; border-style: solid; border-width: 7px 0 7px 15px; border-color: transparent transparent transparent var(--ink); }
.tagline .mascot { width: 92px; flex: none; transform: scaleX(-1) rotate(4deg); }
.nav { background: var(--ink); }
.nav ul { list-style: none; display: flex; gap: 8px; margin-block: 0; padding-block: 9px; overflow-x: auto; scrollbar-width: none; }
.nav li { flex: none; }
.nav-ico { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--white); border-radius: 50%; }
.nav-ico .sico { width: 22px; height: 22px; margin: 0; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; color: var(--white);
  font-family: var(--display); font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent;
}
.nav a:hover { color: var(--yellow); border-color: var(--yellow); }
.nav a[aria-current="page"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.ticker { background: var(--white); border-top: var(--line); }
.ticker-row { display: flex; align-items: center; gap: 14px; padding-block: 6px; }
.ticker-burst { flex: none; background: var(--red); color: var(--white); clip-path: var(--star); font-family: var(--display); font-weight: 800; font-size: .8rem; padding: 14px 16px; transform: rotate(-6deg); }
.ticker-track { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker-track ul { list-style: none; margin: 0; padding: 0 34px 0 0; display: flex; gap: 34px; }
.ticker-track:hover .ticker-move, .ticker-track:focus-within .ticker-move { animation-play-state: paused; }
.ticker-track li { white-space: nowrap; font-weight: 500; font-size: .93rem; }
.ticker-track li::before { content: "🔌"; margin-right: 8px; }
.ticker-track a { text-decoration: none; }
@keyframes tick { to { transform: translateX(-50%); } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 0; padding: 0; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--ink); }
.crumbs a:hover { color: var(--red); }

/* ---------- home: issue head + comic page ---------- */
.issue { margin-top: 26px; }
.issue-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: center; gap: 20px 30px; margin-bottom: 30px; }
.issue-text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.issue-no { transform: rotate(-1deg); }
/* two-panel mini comic: Plugzy speeds in, then plugs in -> ZAP! */
.zap-comic { display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px; padding: 10px; background: var(--ink); transform: rotate(1deg); }
.zap-comic .panel { min-height: 170px; overflow: hidden; border-width: 0; }
.zap-a { background: repeating-linear-gradient(0deg, transparent 0 16px, rgb(0 0 0 / .55) 16px 18px, transparent 18px 30px) 0 50% / 55% 70% no-repeat, var(--cyan-2); }
.zap-a .mascot { position: absolute; left: 30%; bottom: 18px; width: 70%; transform: rotate(-4deg); }
.sfx { position: absolute; top: 8px; left: 10px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--red); transform: rotate(-8deg); -webkit-text-stroke: .6px var(--ink); }
.zap-comic .km, .road .km { position: absolute; background: #0b7a3e; color: var(--white); border: 2px solid var(--white); outline: 2px solid var(--ink); border-radius: 4px; padding: 0 6px; font-family: var(--display); font-weight: 700; font-size: .78rem; line-height: 1.5; }
.zap-a .km { right: 8px; top: 10px; }
.zap-b { background: var(--dots-red) 0 0 / 9px 9px, var(--yellow); }
.zap-b .mascot { position: absolute; left: 4px; bottom: 10px; width: 58%; }
.zap-b .cable { position: absolute; inset: 0; width: 100%; height: 100%; }
.zap-b .charger { position: absolute; right: 10px; bottom: 6px; width: 24%; }
.zap-burst { left: 42%; top: 18px; width: 96px; height: 70px; }
.zap-burst > span { font-family: var(--pow); font-weight: 400; font-size: 1.35rem; letter-spacing: 1px; }
.zap-say { position: absolute; top: 10px; left: 10px; padding: 2px 12px; font-size: .95rem; }
.zap-say::before, .zap-say::after { left: 20px; }
.issue h1 { margin: 0; font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.5px; }
.issue-bubble { margin: 0 0 16px; max-width: 520px; font-size: .98rem; }

.page-grid { /* comic page: white gutters between bordered panels */
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 14px; background: var(--white); border: var(--line);
}
.splash { grid-column: 1 / 5; grid-row: 1 / 3; display: flex; flex-direction: column; overflow: hidden; transform: rotate(-.4deg); }
.splash-img { aspect-ratio: 16 / 9; border-bottom: var(--line); }
.splash-cap { position: absolute; top: 12px; left: 12px; z-index: 2; }
.splash .burst { top: 8px; right: 10px; width: 132px; height: 96px; }
.splash .burst > span { font-size: 1rem; }
.splash-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; background: var(--dots-cyan) 0 0 / 10px 10px, var(--white); }
.splash h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 800; }
.splash h2 a { text-decoration: none; }
.splash-sub { margin: 4px 0 14px; font-size: 1rem; }
.cta { margin-left: 8px; font-weight: 700; color: var(--red); }
.mini { grid-column: 5 / 7; display: flex; flex-direction: column; overflow: hidden; }
.mini-0 { transform: rotate(.6deg); }
.mini-1 { transform: rotate(-.5deg); background: var(--cyan-2); }
.mini-2 { grid-column: 1 / -1; flex-direction: row; transform: rotate(.3deg); background: var(--dots-red) 0 0 / 9px 9px, var(--yellow); }
.mini-img { aspect-ratio: 16 / 8; border-bottom: var(--line); flex: none; }
.mini-2 .mini-img { width: 34%; aspect-ratio: auto; min-height: 140px; border-bottom: 0; border-right: var(--line); }
.mini-body { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.mini-2 .mini-body { justify-content: center; padding: 16px 22px; }
.mini h3 { font-size: 1.05rem; font-weight: 700; }
.mini-2 h3 { font-size: 1.35rem; }
.mini h3 a { text-decoration: none; }
.mini-sec { margin: 0; font-size: .8rem; font-weight: 600; color: var(--muted); }

/* ---------- home: "previously on" strip ---------- */
.recap-row { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.recap-row:not(:has(.ad-slot)) { grid-template-columns: 1fr; }
.recap-ad:empty, .recap-ad:not(:has(*)) { display: none; }
.strip { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: var(--ink); }
.strip-panel { position: relative; background: var(--white); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; min-height: 150px; }
.strip-panel:nth-child(4n+2) { background: var(--cyan-2); }
.strip-panel:nth-child(4n+3) { background: var(--dots) 0 0 / 8px 8px, var(--yellow); }
.strip-panel:nth-child(4n+4) { background: #ffe0ee; }
.strip-no { position: absolute; top: 8px; right: 10px; background: #0b7a3e; color: var(--white); border: 2px solid var(--white); outline: 2px solid var(--ink); border-radius: 4px; padding: 0 6px; font-family: var(--display); font-weight: 700; font-size: .95rem; line-height: 1.4; }
.strip-no small { font-size: .7rem; margin-right: 2px; }
.strip time { padding-right: 64px; }
.strip time { font-family: var(--hand); font-size: .84rem; color: var(--muted); }
.strip time b { font-family: var(--display); color: var(--ink); font-size: 1.05rem; margin-right: 4px; }
.strip a { font-weight: 600; text-decoration: none; line-height: 1.45; font-size: .95rem; flex: 1; }
.strip a::after { content: ""; position: absolute; inset: 0; }
.strip-sec { font-size: .76rem; color: var(--muted); }

/* ---------- home: sections as character cards ---------- */
.cast-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.char { position: relative; background: var(--white); border: var(--line); border-radius: 14px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.char:nth-child(odd) { transform: rotate(-.8deg); }
.char:nth-child(even) { transform: rotate(.8deg); }
.char-face .sico { width: 58px; height: 58px; margin: 0; }
.char-face {
  display: grid; place-items: center; width: 84px; height: 84px; border: var(--line); border-radius: 50%; font-size: 2.2rem;
  background: var(--dots) 0 0 / 7px 7px, var(--yellow);
}
.char-1 .char-face { background-color: var(--cyan); }
.char-2 .char-face { background-color: var(--pink); }
.char-3 .char-face { background-color: var(--red-2); }
.char-role { margin: 4px 0 0; font-family: var(--hand); font-size: .85rem; color: var(--muted); }
.char h3, .char-name { font-family: var(--display); font-size: 1.35rem; font-weight: 800; margin: 0; }
.char h3 a, .char-name a { text-decoration: none; }
.char-desc { margin: 0; font-size: .9rem; color: var(--muted); }
.char-last { margin: 8px 0 16px; font-size: .86rem; padding: 8px 12px; border-radius: 16px; }
.char-last::before, .char-last::after { display: none; }
.char-stat { margin: auto 0 0; font-weight: 600; font-size: .9rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cells { position: relative; display: inline-flex; gap: 3px; padding: 3px; border: 2.5px solid var(--ink); border-radius: 5px; background: var(--white); min-width: 52px; min-height: 22px; }
.cells::after { content: ""; position: absolute; right: -7px; top: 4px; width: 4px; height: 10px; background: var(--ink); border-radius: 0 2px 2px 0; }
.cells i { width: 7px; height: 12px; background: #12a150; }
.char-stat b { font-family: var(--display); font-size: 1.3rem; color: var(--red); }
.char:hover { border-color: var(--red); }

/* ---------- cards / grids ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; }
.card:nth-child(3n+1) { transform: rotate(-.5deg); }
.card:nth-child(3n+2) { transform: rotate(.4deg); }
.card-img { aspect-ratio: 16 / 9; border-bottom: var(--line); }
.card .burst { top: -14px; right: -10px; width: 92px; height: 68px; }
.card .burst > span { font-size: .74rem; }
.card-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-size: 1.12rem; font-weight: 700; }
.card h3 a { text-decoration: none; }
.card .sub { margin: 0 0 6px; font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; }
@media (min-width: 900px) { /* comic-page rhythm: a wide panel every few cards */
  .grid .card:nth-child(5n+1) { grid-column: span 2; flex-direction: row; }
  .grid .card:nth-child(5n+1) .card-img { width: 50%; aspect-ratio: auto; border-bottom: 0; border-right: var(--line); flex: none; }
  .grid .card:nth-child(5n+1) h3 { font-size: 1.35rem; }
}

.empty { padding: 40px 24px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.empty h2 { font-size: 1.6rem; }
.empty .mascot { width: 200px; }

/* ---------- list / author / legal / 404 heads ---------- */
.list-head { margin-top: 22px; }
.list-panel { display: flex; align-items: center; gap: 22px; padding: 22px 26px; background: var(--dots-cyan) 0 0 / 11px 11px, var(--white); transform: rotate(-.3deg); }
.list-face { flex: none; display: grid; place-items: center; width: 104px; height: 104px; border: var(--line); border-radius: 50%; font-size: 2.8rem; background: var(--dots) 0 0 / 7px 7px, var(--yellow); }
.list-face .sico { width: 70px; height: 70px; margin: 0; }
.list-face .mascot { width: 84px; }
.list-info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.list-info h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
.list-info h1 small { font-size: .55em; color: var(--muted); }
.list-bubble { margin: 0 0 12px; }
.list-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.list-stats li { position: relative; background: linear-gradient(90deg, #7fe0a6 0 70%, var(--white) 70%); border: 2.5px solid var(--ink); border-radius: 6px; padding: 4px 14px; text-align: center; font-size: .9rem; white-space: nowrap; margin-right: 8px; }
.list-stats li::after { content: ""; position: absolute; right: -8px; top: 50%; translate: 0 -50%; width: 5px; height: 14px; background: var(--ink); border-radius: 0 3px 3px 0; }
.list-stats b { font-family: var(--display); font-size: 1.3rem; }
.lost-panel { background: var(--dots-red) 0 0 / 11px 11px, var(--white); }
.lost-scene { flex: none; display: grid; justify-items: center; gap: 6px; }
.lost-scene .mascot { width: 170px; transform: rotate(-6deg); }
.lost-batt { background: var(--red); color: var(--white); border: 2.5px solid var(--ink); border-radius: 6px; padding: 0 10px; font-family: var(--display); font-weight: 800; }
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; margin: 36px 0 10px; }
.pager a { background: var(--yellow); border: var(--line); border-radius: 999px; padding: 6px 18px; font-family: var(--display); font-weight: 700; text-decoration: none; }
.pager a:hover { background: var(--ink); color: var(--yellow); }
.pager .bubble::before, .pager .bubble::after { display: none; }

/* ---------- article ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; margin-top: 20px; }
.post { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.title-panel { padding: 30px 28px 24px; background: var(--dots-red) 0 0 / 10px 10px, var(--yellow); transform: rotate(-.4deg); }
.title-panel .burst { top: -22px; right: -12px; width: 130px; height: 94px; }
.title-panel .burst > span { font-size: 1rem; }
.title-panel h1 { margin: 14px 0 0; font-size: clamp(1.75rem, 4.2vw, 2.7rem); font-weight: 800; letter-spacing: -.3px; padding-right: 60px; }
.post-sub { margin: 18px 0 26px; font-size: 1.08rem; max-width: 680px; }
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border: var(--line); border-radius: 50%; background: var(--cyan); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.byline .meta { flex: 1; min-width: 180px; color: var(--ink); }
.byline .meta a { font-weight: 700; }
.byline .dur { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; color: var(--ink); }
.post-cover { margin: 0; overflow: hidden; transform: rotate(.3deg); }
.post-cover img { width: 100%; }
.body-panel { padding: 30px clamp(18px, 4vw, 46px) 26px; }
.post-body { font-size: 1.1rem; line-height: 1.9; max-width: 720px; }
.post-body > :first-child { margin-top: 0; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 1.15em; }
.post-body h2 { font-size: 1.5rem; font-weight: 800; margin: 1.7em 0 .6em; padding-left: 14px; border-left: 8px solid var(--red); }
.post-body h3 { font-size: 1.22rem; font-weight: 700; margin: 1.4em 0 .5em; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li { margin-bottom: .35em; }
.post-body li::marker { color: var(--red); font-weight: 700; }
.post-body a { color: #0068a8; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--red); }
.post-body blockquote { position: relative; margin: 1.6em 0; padding: 16px 22px; background: var(--white); border: 2.5px solid var(--ink); border-radius: 22px; font-family: var(--hand); font-size: 1.1rem; }
.post-body blockquote::after { content: ""; position: absolute; left: 40px; bottom: -16px; border-style: solid; border-width: 16px 14px 0 0; border-color: var(--ink) transparent transparent; }
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body img { border: var(--line); margin: 1.2em 0; }
.post-body figure { margin: 1.5em 0; }
.post-body figure img { margin: 0; }
.post-body figcaption { margin-top: 8px; font-family: var(--hand); font-size: .9rem; color: var(--muted); }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.post-body th, .post-body td { border: 2px solid var(--ink); padding: 8px 12px; text-align: left; }
.post-body th { background: var(--yellow); font-family: var(--display); }
.post-body tr:nth-child(even) td { background: #f3fbff; }
.post-foot { margin-top: 30px; padding-top: 18px; border-top: 2px dashed var(--ink); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .92rem; }
.post-foot p { margin: 0; }
.full { display: flex; align-items: flex-end; gap: 6px; margin: 0; }
.full .mascot { width: 110px; }
.full .bubble { margin-bottom: 40px; padding: 4px 12px; font-size: .92rem; background: #d9ffe8; }
.full .bubble::before { left: -14px; bottom: 6px; border-width: 0 14px 10px 0; border-color: transparent var(--ink) transparent transparent; }
.full .bubble::after { left: -8px; bottom: 8px; border-width: 0 9px 7px 0; border-color: transparent #d9ffe8 transparent transparent; }
/* reading progress = Plugzy driving to the charger (CSS scroll timeline; hidden where unsupported) */
.readcharge { display: none; }
@supports (animation-timeline: scroll()) {
  .readcharge { display: block; position: fixed; z-index: 50; left: 6px; right: 6px; bottom: 0; height: 40px; overflow: hidden; pointer-events: none; }
  .rc-cable { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--ink); border-top: 2px solid var(--white); }
  .rc-cable::after { content: ""; position: absolute; inset: 2px auto 2px 0; width: 100%; background: repeating-linear-gradient(90deg, #12a150 0 18px, #7fe0a6 18px 22px); transform-origin: left; animation: soc linear both; animation-timeline: scroll(root); }
  .readcharge .charger { position: absolute; right: 6px; bottom: 4px; width: 24px; }
  .rc-car { position: absolute; bottom: 6px; left: 0; width: calc(100% - 100px); animation: drive linear both; animation-timeline: scroll(root); }
  .rc-car .mascot { width: 58px; }
}
@keyframes soc { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drive { from { transform: translateX(0); } to { transform: translateX(100%); } }
.story-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 20px; }
.char-side { transform: rotate(1deg); }

/* related: next-issue comic covers */
.covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; }
.cover { position: relative; display: flex; flex-direction: column; background: var(--white); border: var(--line); }
.cover:nth-child(odd) { transform: rotate(-1deg); }
.cover:nth-child(even) { transform: rotate(1deg); }
.cover:hover { transform: rotate(0) translateY(-3px); }
.cover-no { display: inline-flex; align-items: center; }
.cover-no .sico { width: 22px; height: 22px; background: var(--white); border-radius: 50%; }
.cover-mast { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 4px 10px; background: var(--red); color: var(--white); border-bottom: var(--line); font-family: var(--pow); font-size: 1.3rem; letter-spacing: 1px; }
.cover-1 .cover-mast { background: var(--cyan); }
.cover-2 .cover-mast { background: var(--ink); color: var(--yellow); }
.cover-img { aspect-ratio: 4 / 3; border-bottom: var(--line); }
.cover .burst { top: 44px; right: -12px; width: 88px; height: 66px; }
.cover .burst > span { font-size: .72rem; }
.cover-body { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; background: var(--dots) 0 0 / 8px 8px, var(--yellow); }
.cover h3 { font-size: 1.02rem; font-weight: 700; }
.cover h3 a { text-decoration: none; }

/* ---------- legal ---------- */
.legal-page { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; margin-block: 30px 50px; }
.legal-toc { position: sticky; top: 16px; background: var(--white); border: var(--line); padding: 16px 16px 10px; }
.legal-toc ol { margin: 12px 0 0; padding-left: 1.3em; font-size: .9rem; }
.legal-toc li { margin-bottom: 6px; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-body { padding: 26px clamp(18px, 4vw, 44px); font-size: 1.02rem; line-height: 1.85; max-width: 820px; }
.legal-body .legal-updated { display: inline-block; background: var(--cyan-2); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 14px; font-size: .88rem; margin-top: 0; }
.legal-body h2 { font-size: 1.3rem; font-weight: 800; margin: 1.7em 0 .5em; padding-left: 12px; border-left: 7px solid var(--yellow); scroll-margin-top: 16px; }
.legal-body p, .legal-body ul { margin: 0 0 1em; }
.legal-body ul { padding-left: 1.4em; }
.legal-body li { margin-bottom: .35em; }
.legal-body a { color: #0068a8; text-underline-offset: 3px; }

/* ---------- ads ---------- */
.ad-slot { margin: 22px auto; max-width: 1200px; padding-inline: 20px; text-align: center; }
.ad-slot .ad-unit { display: inline-block; max-width: 100%; }
.story-side .ad-slot, .recap-ad .ad-slot { margin: 0; padding: 0; }

/* ---------- footer ---------- */
.site-footer { margin-top: 90px; background: var(--dots-cyan) 0 0 / 11px 11px, var(--white); border-top: var(--line); }
.road { background: #3a3a3a; border-bottom: var(--line); height: 34px; position: relative;
  background-image: repeating-linear-gradient(90deg, var(--yellow) 0 34px, transparent 34px 64px); background-size: 100% 4px; background-position: 0 50%; background-repeat: no-repeat; }
.road-row { position: relative; height: 100%; }
.road .road-car { position: absolute; bottom: 16px; left: 20%; animation: cruise 14s linear infinite alternate; }
.road .mascot { width: 96px; }
.road .charger { position: absolute; right: 20px; bottom: 18px; width: 40px; }
.road .km { left: 20px; bottom: 40px; }
.road .km-2 { left: auto; right: 74px; bottom: 44px; text-align: center; line-height: 1.15; padding: 2px 6px; }
@keyframes cruise { from { left: 12%; } to { left: 52%; } }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 30px; padding-block: 34px; }
.footer-bubble { margin: 18px 0 0; font-size: .92rem; }
.footer-title { margin: 0 0 12px; font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.footer-title::before { content: "⚡ "; }
.footer-secs .sico { margin-right: 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-secs li { margin-bottom: 6px; }
.footer-secs a, .footer-latest a { text-decoration: none; font-weight: 500; }
.footer-latest li { padding: 6px 0; border-bottom: 2px dotted rgb(0 0 0 / .25); display: flex; flex-direction: column; }
.footer-latest time { font-size: .78rem; color: var(--muted); }
.footer-bottom { background: var(--ink); color: var(--white); }
.footer-bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding-block: 14px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--yellow); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .issue-head { grid-template-columns: 1fr; }
  .zap-comic { max-width: 520px; }
  .story { grid-template-columns: 1fr; }
  .story-side { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .recap-row { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .page-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px; }
  .splash { grid-column: 1 / -1; grid-row: auto; }
  .mini { grid-column: auto; }
  .mini-2 { grid-column: 1 / -1; }
  .grid { grid-template-columns: 1fr 1fr; }
  .issue-head { grid-template-columns: 1fr; }
  .issue-bubble::before { left: 34px; bottom: -17px; border-width: 17px 14px 0 0; border-color: var(--ink) transparent transparent; }
  .issue-bubble::after { left: 37px; bottom: -11px; border-width: 12px 9px 0 0; border-color: var(--white) transparent transparent; }
  .issue-bubble { margin-bottom: 14px; }
  .legal-page { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .masthead { padding-block: 10px; }
  .logo-plug { font-size: 1.55rem; }
  .logo-pop { font-size: 1.9rem; }
  .tagline p { font-size: .9rem; padding: 4px 12px; }
  .tagline .mascot { width: 66px; }
  .zap-comic .panel { min-height: 130px; }
  .zap-burst { width: 76px; height: 56px; left: 38%; }
  .zap-burst > span { font-size: 1.05rem; }
  .section-title::after { width: 48px; }
  .lost-scene .mascot { width: 130px; }
  .road .km-2 { display: none; }
  .road .mascot { width: 80px; }
  .page-grid { grid-template-columns: 1fr; }
  .mini-2 { flex-direction: column; }
  .mini-2 .mini-img { width: 100%; aspect-ratio: 16 / 8; min-height: 0; border-right: 0; border-bottom: var(--line); }
  .mini-2 .mini-body { padding: 10px 14px 12px; }
  .mini-2 h3 { font-size: 1.05rem; }
  .splash-body { padding: 14px; }
  .splash .burst { width: 104px; height: 76px; }
  .splash .burst > span { font-size: .8rem; }
  .grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
  .strip-panel { min-height: 0; padding: 10px; }
  .list-panel { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .list-face { width: 70px; height: 70px; font-size: 2rem; }
  .list-stats { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .lost-panel { flex-direction: column; align-items: flex-start; }
  .lost-panel .burst-big > span { font-size: 1.6rem; }
  .title-panel { padding: 30px 18px 20px; }
  .title-panel h1 { padding-right: 0; }
  .title-panel .burst { right: -6px; width: 104px; height: 76px; }
  .title-panel .burst > span { font-size: .82rem; }
  .post-body { font-size: 1.05rem; }
  .footer-top { grid-template-columns: 1fr; }
  .card .burst, .cover .burst { right: -4px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-move, .road .road-car { animation: none; }
  .ticker-move ul[aria-hidden] { display: none; }
  .ticker-track { overflow-x: auto; }
}
