/* PattayaStream. One stylesheet. Black and white, one typeface (Geist); red only marks "live". */
@font-face { font-family: Geist; src: url("/fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --night: #0b0b0c; --panel: #151516; --raise: #1d1d1f; --line: #2e2c2a; --stone: #8a8580; --mist: #bdb8b3; --bone: #f4f1ec; --white: #fff;
  --live: #ff4136;
  --gut: 16px; --frame: 1180px; --r: 10px;
  --f: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
@media (min-width: 760px) { :root { --gut: 32px; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--night); color: var(--bone); font: 400 17px/1.55 var(--f); font-feature-settings: "tnum" 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--stone); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--bone); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 4px; }
.tn { font-feature-settings: "tnum" 1; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--night); padding: 10px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--frame); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
h1, h2, h3 { color: var(--white); font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(34px, 7.4vw, 64px); letter-spacing: -0.035em; }
h2 { font-size: clamp(24px, 4.4vw, 34px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--mist); }
.small { font-size: 15px; }

/* Header: the mark and five places to go. On a phone the nav is one scrolling row, no menu button. */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11,11,12,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; min-height: 56px; }
.mark { display: flex; align-items: center; min-height: 44px; padding: 6px 0; }
.mark svg { height: 15px; width: auto; }
@media (min-width: 760px) { .mark svg { height: 18px; } }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; width: calc(100% + var(--gut) * 2); }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--bone); }
.nav a[aria-current="page"] { background: var(--bone); color: var(--night); border-color: var(--bone); }
.nav a:hover { border-color: var(--stone); }
@media (min-width: 900px) { .nav { width: auto; margin: 0 0 0 auto; padding: 0; overflow: visible; } .nav a { border-color: transparent; } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }
.dot.pulse { box-shadow: 0 0 0 0 rgba(255,65,54,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(255,65,54,0); } 100% { box-shadow: 0 0 0 0 rgba(255,65,54,0); } }
@media (prefers-reduced-motion: reduce) { .dot.pulse { animation: none; } }

.crumbs { font-size: 14px; color: var(--mist); padding-top: 20px; }
.crumbs a { color: var(--mist); }
.crumbs span[aria-hidden] { margin: 0 6px; color: var(--stone); }

/* Page opening */
.open { padding-top: 28px; padding-bottom: 8px; }
.open .lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--bone); max-width: 40ch; margin-top: 14px; }
.open .th { font-size: 16px; color: var(--mist); margin: 8px 0 0; }
.stamp { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mist); margin-top: 14px; }
section { padding: 52px 0 4px; }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.head p { margin: 6px 0 0; color: var(--mist); font-size: 15px; max-width: 60ch; }
.head > a { flex: none; font-size: 15px; white-space: nowrap; }

/* Search */
.find { position: relative; margin-top: 22px; max-width: 560px; }
.find input { width: 100%; min-height: 52px; padding: 0 16px 0 46px; font: 500 17px var(--f); color: var(--white); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.find input::placeholder { color: var(--stone); }
.find input:focus { outline: none; border-color: var(--mist); }
.find svg { position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; color: var(--stone); }

/* Streamer rows: the tile is a square, like the square in the mark. */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .rows.two { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.row { border-bottom: 1px solid var(--line); }
.row > a { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; min-height: 72px; text-decoration: none; }
.row > a:hover .nm { text-decoration: underline; text-decoration-color: var(--stone); }
.tile { position: relative; width: 48px; height: 48px; display: grid; place-items: center; background: var(--raise); color: var(--bone); font-weight: 650; font-size: 17px; letter-spacing: -0.02em; border-radius: 6px; }
.tile.big { width: 72px; height: 72px; font-size: 26px; border-radius: 8px; }
.tile .dot { position: absolute; right: -3px; top: -3px; width: 12px; height: 12px; border: 2px solid var(--night); }
.nm { display: block; color: var(--white); font-weight: 600; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.sub { display: block; color: var(--mist); font-size: 14px; line-height: 1.35; margin-top: 2px; }
.when { text-align: right; font-size: 14px; color: var(--mist); line-height: 1.3; }
.when b { display: block; color: var(--bone); font-weight: 500; }
.when .lv { color: var(--white); display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.tag { display: inline-block; font-size: 12px; line-height: 1; padding: 3px 5px; border: 1px solid var(--stone); color: var(--mist); border-radius: 4px; margin-left: 6px; vertical-align: 2px; }

/* On air strip */
.onair { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 76%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: thin; }
@media (min-width: 760px) { .onair { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); overflow: visible; margin: 0; padding: 0; } }
.air { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; min-height: 150px; }
.air:hover { border-color: var(--stone); }
.air .top-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mist); }
.air .nm { font-size: 18px; }
.air .ttl { font-size: 14px; color: var(--mist); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.air .go { margin-top: auto; font-size: 14px; color: var(--bone); }
.note { font-size: 14px; color: var(--mist); margin-top: 12px; }

/* Tonight: the guide. Hours run along the top; each row starts where that channel usually starts. */
.guide { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.g-hours, .g-row { display: grid; grid-template-columns: 190px 1fr; }
.g-hours { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--stone); }
.g-hours .scale { position: relative; height: 34px; }
.g-hours .scale span { position: absolute; top: 9px; transform: translateX(-50%); }
.g-hours .scale span:first-child { transform: none; padding-left: 6px; }
.g-hours .scale span:last-child { transform: translateX(-100%); padding-right: 6px; }
.g-row { border-bottom: 1px solid var(--line); min-height: 48px; }
.g-row:last-child { border-bottom: 0; }
.g-row a.who { display: flex; align-items: center; padding: 0 14px; font-size: 15px; font-weight: 550; color: var(--white); text-decoration: none; border-right: 1px solid var(--line); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.g-row a.who:hover { text-decoration: underline; }
.g-row .track { position: relative; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px); background-size: calc(100% / 7) 100%; }
.g-row .bar { position: absolute; top: 19px; height: 10px; border-radius: 5px; background: linear-gradient(to right, var(--white) 0 10px, rgba(244,241,236,.38) 10px); min-width: 10px; }
.g-row .bar.live { background: linear-gradient(to right, var(--live) 0 10px, rgba(255,65,54,.45) 10px); }
.guide-list { display: none; }
@media (max-width: 759px) {
  .guide { display: none; }
  .guide-list { display: block; }
  .slot { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .slot:first-child { border-top: 1px solid var(--line); }
  .slot time { font-size: 20px; font-weight: 650; color: var(--white); font-feature-settings: "tnum" 1; }
  .slot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .slot li a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; text-decoration: none; color: var(--bone); }
}

/* Area and topic tiles */
.places { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .places { grid-template-columns: repeat(4, 1fr); } }
.place { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 108px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--panel); }
.place:hover { border-color: var(--stone); }
.place strong { color: var(--white); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.place span { color: var(--mist); font-size: 14px; }

/* Streamer page */
.who-head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding-top: 22px; }
.who-head h1 { font-size: clamp(30px, 6.4vw, 54px); overflow-wrap: anywhere; }
.who-head .sub { font-size: 15px; margin-top: 8px; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); font-size: 15px; }
.status strong { color: var(--white); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.status .muted { font-size: 14px; }
.watch { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 600px) { .watch { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
.btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: var(--r); background: var(--bone); color: var(--night); font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--white); }
.btn small { font-weight: 450; font-size: 13px; color: #55514d; }
.btn.ghost { background: transparent; color: var(--bone); border: 1px solid var(--line); }
.btn.ghost small { color: var(--mist); }
.btn.ghost:hover { border-color: var(--stone); }
.btn .ext { width: 16px; height: 16px; flex: none; }
.lede-about { font-size: 18px; max-width: 62ch; }
.cols { display: grid; gap: 36px; }
@media (min-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; font-size: 15px; }
.facts dt { color: var(--mist); }
.facts dd { margin: 0; color: var(--bone); }
.week { display: grid; grid-template-columns: 34px 1fr; gap: 3px 10px; align-items: center; font-size: 13px; color: var(--mist); margin: 16px 0 0; }
.week .cells { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; }
.week .cells i { display: block; height: 14px; border-radius: 2px; background: var(--raise); }
.week .axis-c b { font-weight: 400; font-size: 11px; color: var(--stone); text-align: left; }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li { border-bottom: 1px solid var(--line); }
.list a, .list .item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; text-decoration: none; font-size: 15px; }
.list a:hover .t { text-decoration: underline; }
.list .t { color: var(--white); overflow-wrap: anywhere; }
.list .m { color: var(--mist); text-align: right; white-space: nowrap; font-feature-settings: "tnum" 1; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq:first-of-type { border-top: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative; font-weight: 600; color: var(--white); font-size: 17px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 6px; top: 22px; width: 10px; height: 10px; border-right: 2px solid var(--mist); border-bottom: 2px solid var(--mist); transform: rotate(45deg); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(-135deg); top: 27px; }
details.faq p { color: var(--bone); margin: 0 0 16px; max-width: 62ch; }
.sources { font-size: 14px; color: var(--mist); }
.sources li { margin-bottom: 8px; }
.prose { max-width: 66ch; }
.prose h2 { margin: 36px 0 12px; font-size: 24px; }
.prose ul { padding-left: 20px; }

/* Directory filter */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 16px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 4px; }
.filters::-webkit-scrollbar { display: none; }
.filters button, .filters a { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--bone); font: 500 15px var(--f); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.filters [aria-pressed="true"], .filters [aria-current="page"] { background: var(--bone); color: var(--night); border-color: var(--bone); }
.count { font-size: 14px; color: var(--mist); margin: 14px 0 10px; }
[hidden] { display: none !important; }

/* About */
.about-grid { display: grid; gap: 28px; padding-top: 28px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; } }
.portrait { margin: 0; }
.portrait img { width: 100%; height: auto; border-radius: var(--r); background: var(--panel); }
.portrait figcaption { font-size: 14px; color: var(--mist); margin-top: 10px; }
.line-box { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.line-box .btn { display: inline-flex; margin-top: 8px; }

/* Footer: dusk skyline band, brand, live count, LINE, labelled columns. */
.foot { margin-top: 72px; font-size: 15px; color: var(--mist); background: linear-gradient(#0b0b0c, #111113); }
.foot-band { height: clamp(120px, 18vw, 240px); overflow: hidden; position: relative; border-top: 1px solid var(--line); }
.foot-band picture { height: 100%; }
.foot-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.foot-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,.15) 0%, rgba(11,11,12,0) 30%, rgba(11,11,12,0) 55%, #0b0b0c 100%); }
.foot .wrap { display: grid; gap: 30px; padding-top: 8px; padding-bottom: 40px; }
@media (min-width: 900px) { .foot .wrap { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
@media (min-width: 560px) and (max-width: 899px) { .foot .wrap { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-mark { display: inline-block; color: var(--white); } .foot-mark svg { height: 22px; width: auto; }
.foot-brand p { margin: 12px 0 0; max-width: 44ch; }
.foot-live { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; }
.foot-line { margin-top: 18px; }
.foot nav { display: grid; gap: 0; align-content: start; }
.foot nav h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin: 4px 0 8px; }
.foot nav a { color: var(--bone); text-decoration: none; min-height: 36px; display: flex; align-items: center; }
.foot nav a:hover { color: var(--white); text-decoration: underline; }
.foot .pub { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; }
.foot .pub a { color: var(--bone); }
.lost { padding: 60px 0; }
@media (max-width: 1023px) { .portrait { max-width: 560px; } }

.tile svg { width: 26px; height: 26px; color: var(--bone); }
.tile.big svg { width: 38px; height: 38px; }
.tile.k-venue { background: #2a2826; } .tile.k-camera { background: #1f2224; } .tile.k-radio { background: #222; }
@media (max-width: 899px) { .top .wrap { position: relative; } .nav { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); } }
.swipe { display: block; } @media (min-width: 760px) { .swipe { display: none; } }
.legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lg { display: inline-block; width: 26px; height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--white) 0 8px, rgba(244,241,236,.38) 8px); }
.lg.live { background: linear-gradient(to right, var(--live) 0 8px, rgba(255,65,54,.45) 8px); margin-left: 10px; }
@media (max-width: 759px) { .legend { display: none; } }
@media (max-width: 1023px) { .portrait img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 42%; } }

/* Submission form */
.sub-form { display: grid; gap: 8px; max-width: 560px; margin: 24px 0 8px; }
.sub-form label { font-size: 15px; color: var(--bone); margin-top: 10px; }
.sub-form input[type=url], .sub-form input[type=text], .sub-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--f); color: var(--white); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.sub-form textarea { resize: vertical; }
.sub-form input:focus, .sub-form textarea:focus { outline: none; border-color: var(--mist); }
.sub-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.sub-form legend { font-size: 15px; margin-bottom: 4px; }
.sub-form .opt { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; }
.sub-form .opt input { width: 20px; height: 20px; accent-color: #f4f1ec; }
.sub-form button { margin-top: 14px; justify-self: start; border: 0; cursor: pointer; font: 600 17px var(--f); }
.sub-msg { padding: 12px 14px; border: 1px solid var(--stone); border-radius: 10px; color: var(--white); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Illustrations (TimPaemi illustration system, theme "stream") and channel pictures. 14 Oct 2026. */
picture, picture img { display: block; width: 100%; height: auto; }
.hero-art { margin: 0 0 22px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #121214; aspect-ratio: 12 / 5; }
.hero-art img { aspect-ratio: 12 / 5; object-fit: cover; }
@media (max-width: 759px) { .hero-art { aspect-ratio: 16 / 9; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); border-radius: 0; border-left: 0; border-right: 0; } .hero-art img { aspect-ratio: 16 / 9; object-position: 62% 50%; } }
.with-art { display: grid; gap: 20px; }
.with-art > div, .with-art > .filters, .with-art > .find { min-width: 0; }
.col-art { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #121214; aspect-ratio: 16 / 9; }
.col-art img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) { .with-art { grid-template-columns: 1fr 400px; align-items: center; column-gap: 40px; } .with-art .col-art { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 5 / 4; } .with-art .col-art img { aspect-ratio: 5 / 4; } .with-art > :not(.col-art) { grid-column: 1; } }
.kinds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .kinds { grid-template-columns: repeat(4, 1fr); } }
.kind { display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); text-decoration: none; }
.kind:hover { border-color: var(--stone); }
.kind img { aspect-ratio: 5 / 4; object-fit: cover; }
.kind > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.kind strong { color: var(--white); font-size: 18px; font-weight: 600; }
.kind > span > span { color: var(--mist); font-size: 14px; }
.tile.pic { background: var(--raise); }
.tile.pic img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
@media (min-width: 760px) { .hero-art, .hero-art img { aspect-ratio: auto; } .hero-art img { height: clamp(260px, 30vw, 340px); object-position: 50% 55%; } }
.air-who { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.air-who .tile { width: 40px; height: 40px; }
.air-who .tile svg { width: 22px; height: 22px; }
.air-who .tile .dot { display: none; }
.bins { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 12px; align-items: center; margin: 14px 0 4px; max-width: 560px; }
.bins .b-l, .bins .b-n { font-size: 14px; color: var(--mist); }
.bins .b-t { height: 10px; background: var(--raise); border-radius: 5px; overflow: hidden; }
.bins .b-t i { display: block; height: 100%; background: var(--bone); border-radius: 5px; }
.list .li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; }
.gd { display: grid; gap: 24px; padding-bottom: 12px; }
@media (min-width: 1000px) { .gd { grid-template-columns: 240px 1fr; align-items: start; } .toc { position: sticky; top: 90px; } }
.toc ol { margin: 6px 0 0; padding-left: 18px; font-size: 15px; } .toc li { margin: 6px 0; }
.gd .prose section { padding: 8px 0 18px; border-bottom: 1px solid var(--line); }
.gd .prose h2 { font-size: 24px; margin: 18px 0 10px; }
.src { font-size: 13px; color: var(--mist); }
.tbl { overflow-x: auto; margin: 12px 0; } .tbl table { border-collapse: collapse; font-size: 14px; min-width: 100%; }
.tbl th, .tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; } .tbl th { color: var(--white); font-weight: 600; }
@media (min-width: 1000px) { .tbl td { white-space: normal; } }
.cams { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) { .cams { grid-template-columns: 1fr 1fr; } }
.cam { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.cam-pic { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--raise); display: grid; place-items: center; }
.cam-pic img { width: 100%; height: 100%; object-fit: cover; } .cam-pic svg { width: 36px; height: 36px; color: var(--bone); }
.cam-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .cam-b .nm { color: var(--white); font-weight: 600; font-size: 17px; text-decoration: none; } .cam-b .sub { font-size: 14px; color: var(--mist); }
.cs { font-size: 14px; color: var(--bone); display: inline-flex; gap: 6px; align-items: center; } .cs.off { color: var(--stone); }
.cam-go { grid-column: 1 / -1; justify-self: start; }
.city { display: grid; gap: 18px; } @media (min-width: 760px) { .city { grid-template-columns: repeat(3, 1fr); } }
.city h3 { font-size: 17px; margin-bottom: 6px; } .city ul { margin: 0; padding-left: 18px; } .city li { margin: 4px 0; }
/* Home first screen: on phones the answer and who's live come before the picture. */
.hero { display: flex; flex-direction: column; }
.hero > * { order: 2; } .hero > .hero-art { order: 0; }
@media (max-width: 759px) { .hero > .hero-art { order: 3; margin: 18px calc(var(--gut) * -1) 0; } .hero > .find { order: 4; } }
.now-strip { margin: 14px 0 0; font-size: 16px; color: var(--bone); line-height: 1.6; }
.now-strip span { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 600; margin-right: 4px; }
.th-answer { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--live); background: var(--panel); border-radius: 0 var(--r) var(--r) 0; max-width: 60ch; }
.th-answer p { margin: 0; font-size: 16px; color: var(--bone); } .th-answer .th-h { font-weight: 650; color: var(--white); margin-bottom: 4px; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.contact-btns .btn { flex: 1 1 220px; }
/* Area tiles: the channels' own pictures, live dot, count and busiest time. */
.areas-g { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .areas-g { grid-template-columns: repeat(4, 1fr); } }
.area-t { display: flex; flex-direction: column; gap: 6px; padding: 16px; min-height: 132px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); text-decoration: none; position: relative; overflow: hidden; }
.area-t:hover { border-color: var(--stone); }
.area-t.big { background: radial-gradient(120% 90% at 100% 0%, rgba(255,65,54,.16), transparent 60%), var(--panel); }
@media (min-width: 760px) { .area-t.big { grid-column: span 2; } }
.area-t .faces { display: flex; height: 36px; margin-bottom: auto; }
.area-t .faces img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--panel); margin-left: -8px; background: var(--raise); }
.area-t .faces img:first-child { margin-left: 0; }
.area-t strong { color: var(--white); font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.area-t > span:last-child { color: var(--mist); font-size: 14px; }
.guides-k { grid-template-columns: 1fr; }
@media (min-width: 760px) { .guides-k { grid-template-columns: 1fr 1fr; } .guides-k .kind img { aspect-ratio: 16 / 7; } }
.guides-k .kind img { aspect-ratio: 16 / 8; object-position: 50% 45%; }
.claim { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: radial-gradient(120% 100% at 100% 0%, rgba(255,65,54,.10), transparent 55%), var(--panel); display: grid; gap: 10px; }
.claim h2 { font-size: 20px; } .claim p { margin: 0; }
.sub-for { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--live); background: var(--panel); color: var(--white); }
/* badge page */
.badges{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0}
.badges figure{margin:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#0b0b0d}
.badges figure.lt{background:#f4f4f2}
.badges figure.lt figcaption,.badges figure.lt figcaption a{color:#222}
.badges img{display:block;width:100%;max-width:320px;height:auto}
.badges figcaption{margin-top:10px;font-size:.88rem}
.bcode{display:flex;gap:8px;align-items:stretch;margin-bottom:14px}
.bcode textarea{flex:1;min-width:0;font:13px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical}
.bcode .btn{flex:none}
.prose select,.bcode textarea{width:100%;min-height:48px;padding:12px 14px;color:var(--white);background:var(--panel);border:1px solid var(--line);border-radius:10px}
.prose select{font:400 16px/1.4 var(--f);margin-bottom:6px}
.prose label{display:block;margin:12px 0 6px;font-weight:600;color:var(--white)}
.city-first{margin:18px 0 6px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
/* language switch (Thai version) */
.nav .lang-sw{border-style:dashed;font-weight:600}
.src-n{font-size:.8em;vertical-align:super;text-decoration:none;margin-left:2px}
.prose ul.rows{padding-left:0;list-style:none;margin:8px 0 22px}.prose ul.rows li{margin:0}.prose h3{margin-top:22px}
