/* kızılötesi / base.css
   Tek açık tema. Renk, ölçü ve yazı değerleri :root token'larından gelir;
   bileşen kurallarında sabit renk yazmayın. Referans: tube-site video sayfası
   (açık gri zemin, açık header + koyu menü satırı, gri butonlar, kırmızı vurgu). */

/* ---------- 1. token'lar ---------- */

:root {
  --page: #f6f6f6;
  --surface: #ffffff;
  --hdr: #f7f7f7;
  --nav: #2f2f2f;
  --nav-hover: #3d3d3d;
  --nav-text: #e6e6e6;
  --band: #eaeaea;
  --strip: #2c2c2c;

  --gray-1: #ececec;
  --gray-2: #dcdcdc;
  --gray-3: #cdcdcd;
  --chip: #e0e0e0;
  --chip-hover: #d1d1d1;
  --line: #e2e2e2;
  --line-2: #d0d0d0;

  --text: #1d1d1d;
  --text-2: #444444;
  --muted: #6b6b6b;

  --red: #d4383e;
  --red-hover: #bb2b31;
  --red-soft: #fbe9ea;
  --dark: #2f2f2f;
  --dark-hover: #161616;
  --ok: #1d8a57;
  --err: #b3261e;
  --err-soft: #fdeceb;

  --badge: rgba(0, 0, 0, .74);
  --overlay: rgba(18, 18, 18, .74);

  --r-sm: 3px;
  --r: 4px;
  --r-lg: 8px;
  --pill: 999px;

  --wrap: 1400px;
  --hdr-h: 56px;
  --nav-h: 40px;
  --gut: 20px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 10px 28px -12px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);

  color-scheme: light;
}

/* ---------- 2. temel ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #c2c2c2 var(--page); }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 14px/1.45 var(--font);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
input, textarea { caret-color: var(--red); }
::selection { background: rgba(212, 56, 62, .2); color: var(--text); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: var(--r-sm); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #c2c2c2; border-radius: var(--pill); border: 3px solid var(--page); }
::-webkit-scrollbar-track { background: var(--page); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 60; background: var(--red); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.if { width: 16px; height: 16px; flex: none; fill: currentColor; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gut) 36px; }
.wrap.narrow { max-width: 920px; }

/* ---------- 3. butonlar ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 16px;
  border: 1px solid transparent; border-radius: var(--r);
  background: var(--red); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.btn:hover { background: var(--red-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

.btn-red { background: var(--red); color: #fff; }
.btn-gray { background: var(--gray-2); color: #262626; }
.btn-gray:hover { background: var(--gray-3); color: #111; }
.btn-gray.on { background: var(--gray-3); color: #111; }
.btn-dark { background: var(--dark); color: #fff; height: 40px; padding: 0 22px; }
.btn-dark:hover { background: var(--dark-hover); color: #fff; }
.btn-pill { border-radius: var(--pill); height: 40px; padding: 0 22px; font-size: 15px; }
.btn-sm, .btn.small { height: 30px; padding: 0 12px; font-size: 13px; }
.btn-icon { width: 40px; padding: 0; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn.ghost { background: var(--surface); color: var(--text-2); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--muted); color: var(--text); background: var(--surface); }
.btn.ghost.on { color: var(--red); border-color: var(--red); }
.btn.red { background: var(--surface); color: var(--err); border-color: #e7b3b0; }
.btn.red:hover { background: var(--err-soft); }
.btn.wide { width: 100%; }
.btn .i { width: 16px; height: 16px; }

.btn-group { display: inline-flex; }
.btn-group > .btn { border-radius: 0; }
.btn-group > .btn:first-child { border-radius: var(--r) 0 0 var(--r); }
.btn-group > .btn:last-child { border-radius: 0 var(--r) var(--r) 0; border-left: 1px solid rgba(0, 0, 0, .09); }

/* ---------- 4. header ---------- */

.hdr { background: var(--hdr); position: relative; z-index: 30; }
.hdr-bar { border-bottom: 1px solid #e7e7e7; }
.hdr-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  height: var(--hdr-h); display: flex; align-items: center; gap: 22px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; flex: none; color: #111; }
.logo:hover { color: #111; }
.logo-mark { width: auto; height: 32px; }
.logo-t { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }

.search {
  flex: 1; max-width: 660px; height: 40px; display: flex;
  background: var(--surface); border: 1px solid #d6d6d6; border-radius: var(--pill); overflow: hidden;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.search:focus-within { border-color: #b5b5b5; box-shadow: 0 0 0 3px rgba(212, 56, 62, .12); }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 20px; font-size: 15px; outline: none; }
.search input::placeholder { color: #8a8a8a; }
.search input::-webkit-search-cancel-button { display: none; }
.search button {
  width: 54px; flex: none; border: 0; border-left: 1px solid #e3e3e3; background: none;
  color: var(--red); display: grid; place-items: center; cursor: pointer;
}
.search button:hover { background: var(--red-soft); }
.search button .i { width: 19px; height: 19px; stroke-width: 2.4; }

.hdr-end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.me-nav { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.me-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: #333; }
.me-link .i { width: 17px; height: 17px; }
.badge {
  display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700;
}

/* açılır menüler (details) */
.dd { position: relative; }
.dd > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.dd > summary::-webkit-details-marker { display: none; }
.dd .i-chev { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.dd[open] .i-chev { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 40;
  min-width: 170px; padding: 6px; display: grid; gap: 1px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.dd-panel a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: var(--r); color: var(--text-2); font-size: 14px; }
.dd-panel a:hover { background: var(--gray-1); color: var(--text); }
.dd-panel a[aria-current] { color: var(--red); font-weight: 600; }
.dd-panel small { color: var(--muted); font-variant-numeric: tabular-nums; }
.dd-lang > summary { height: 34px; padding: 0 6px; border-radius: var(--r); color: #333; font-size: 14px; font-weight: 600; }
.dd-lang > summary:hover { background: var(--gray-1); }

/* menü satırı */
.menu { background: var(--nav); position: relative; }
.menu-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 calc(var(--gut) - 12px);
  height: var(--nav-h); display: flex; align-items: stretch;
}
.menu-in > a, .menu-in > .dd > summary {
  display: flex; align-items: center; gap: 5px; height: 100%; padding: 0 12px;
  color: var(--nav-text); font-size: 15px; font-weight: 500; white-space: nowrap;
  border-bottom: 3px solid transparent; border-top: 3px solid transparent;
}
.menu-in > .dd { display: flex; }
.menu-in > a:hover, .menu-in > .dd > summary:hover { background: var(--nav-hover); color: #fff; }
.menu-in > a[aria-current], .menu-in > .dd > summary[aria-current] { color: #fff; border-bottom-color: var(--red); }
.menu-in .menu-end { margin-left: auto; color: #bdbdbd; }
.menu-in .menu-end .i { width: 16px; height: 16px; }
.dd-cats .dd-panel {
  left: 0; right: auto; top: 100%; border-radius: 0 0 var(--r-lg) var(--r-lg);
  width: min(780px, 92vw); max-height: 70vh; overflow-y: auto;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.dd-cats .dd-all { grid-column: 1 / -1; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 4px; }

/* promo şeridi (headline reklam slotu) */
.ad-headline {
  position: relative; overflow: hidden;
  min-height: 40px; padding: 6px 52px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background:
    url(/static/img/hl-left.webp) left center / auto 100% no-repeat,
    url(/static/img/hl-right.webp) right center / auto 100% no-repeat,
    linear-gradient(90deg, #c4631d, #d97a24 50%, #c4631d);
  color: #fff; text-align: center;
}
.ad-headline::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 42% 160% at 50% 50%, rgba(206, 108, 34, .95), rgba(206, 108, 34, 0));
}
.ad-headline[hidden] { display: none; }
.hl-txt { position: relative; display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.hl-txt strong { font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.hl-sub { font-size: 13px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-cta {
  position: relative; flex: none; padding: 5px 14px; border-radius: var(--r);
  background: #ffcf4a; color: #2a1800 !important; font-size: 12.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
}
a.hl-cta:hover { background: #ffdb73; }
.hl-x {
  position: absolute; top: 50%; right: 12px; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: var(--pill);
  background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.hl-x:hover { background: rgba(0, 0, 0, .2); }
.hl-chip { left: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- 5. çipler, liste başlığı ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 11px;
  background: var(--chip); color: #3a3a3a; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background-color .15s var(--ease);
}
.chip:hover { background: var(--chip-hover); color: #111; }
.chips-sm .chip { height: 24px; padding: 0 8px; font-size: 12px; }

.head-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 4px 0 16px; }
.head-row h1 { font-size: 22px; letter-spacing: -.01em; }
.count { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sorts { margin: 0 0 0 auto; display: flex; align-items: center; gap: 6px; }
.sorts span { display: none; }
.sorts a, .sorts b {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border-radius: var(--r); font-size: 13.5px; font-weight: 600;
}
.sorts a { background: var(--gray-1); color: var(--text-2); }
.sorts a:hover { background: var(--gray-2); color: var(--text); }
.sorts b { background: var(--dark); color: #fff; }
.feed { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.feed .i { width: 15px; height: 15px; }
.head-row h1 + .count + .feed { margin-left: auto; }
.intro { margin: -6px 0 18px; color: var(--text-2); max-width: 72ch; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.crumbs a:hover { color: var(--text); }

/* ---------- 6. video kartları ve ızgaralar ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px 10px; }
.vgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 8px; }
.vgrid.is-collapsed > :nth-child(n+13) { display: none; }

.card { min-width: 0; }
.thumb {
  position: relative; display: block; aspect-ratio: 16 / 9;
  background: var(--gray-2); border-radius: var(--r); overflow: hidden;
}
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb video { position: absolute; inset: 0; }
.thumb img { transition: filter .2s var(--ease); }
.card:hover .thumb img { filter: brightness(1.07); }
.dur {
  position: absolute; right: 5px; bottom: 5px;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--badge); color: #fff; font-size: 11.5px; font-weight: 600;
  font-variant-numeric: tabular-nums; padding: 1px 5px; border-radius: var(--r-sm);
  pointer-events: none;
}
.dur .i { width: 12px; height: 12px; }
.card-t {
  margin-top: 6px; font-size: 13.5px; font-weight: 700; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-t a:hover { color: var(--red); }
.card-m { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-m span::before {
  content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%;
  background: currentColor; margin: 0 6px 3px;
}

/* ana sayfa ve liste: ilk video iki sütun, metin altında */
.grid.has-big .card.big { grid-column: span 2; grid-row: span 2; display: grid; grid-template-rows: auto 1fr; }
.big-txt { padding-top: 8px; }
.big-new { display: none; }
.card.big .card-t { font-size: 19px; margin-top: 2px; -webkit-line-clamp: 3; }
.big-sum { margin: 6px 0 0; color: var(--text-2); font-size: 14px; max-width: 62ch; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 30px 0 0; font-size: 14px; }
.pager a, .pager .cur, .pager .gap {
  min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center;
  border-radius: var(--r); font-variant-numeric: tabular-nums;
}
.pager a { background: var(--gray-1); color: var(--text-2); font-weight: 600; }
.pager a:hover { background: var(--gray-2); color: var(--text); }
.pager .cur { background: var(--dark); color: #fff; font-weight: 700; }
.pager .gap { color: var(--muted); min-width: 20px; padding: 0; }
.pager .pg-edge { padding: 0 14px; }

.empty { padding: 50px 0; color: var(--text-2); }
.empty p { margin: 0 0 6px; }
.empty a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.more-row { display: flex; justify-content: center; margin: 18px 0 0; }
.btn-more { height: 36px; padding: 0 18px; font-size: 13.5px; }
.btn-more .i { width: 15px; height: 15px; }

/* ---------- 7. izleme sayfası ---------- */

.watch { padding-top: 14px; padding-bottom: 0; }
.watch + .band { margin-top: 28px; }
.band + .watch { padding-top: 26px; padding-bottom: 40px; }

.w-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.w-title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.w-stat { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.w-stat .if { width: 16px; height: 16px; color: #3a3a3a; }

.w-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 10px 0 12px; }
.w-chan { display: flex; align-items: center; gap: 9px; }
.w-ava {
  width: 30px; height: 30px; flex: none; border-radius: var(--r);
  display: grid; place-items: center; background: #3a3a3a; color: #fff; font-size: 14px; font-weight: 700;
}
.w-chan-n { font-size: 14px; font-weight: 700; }
.w-sep { width: 1px; height: 22px; background: var(--line-2); }

.w-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 8px; align-items: start; }
.w-main { min-width: 0; }
.player { background: #000; border-radius: var(--r-sm) var(--r-sm) 0 0; overflow: hidden; }
.player video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.player.embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }

.w-strip {
  display: flex; align-items: center; gap: 14px; padding: 8px 12px;
  background: var(--strip); color: #fff; border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.w-strip-l { margin: 0; flex: none; max-width: 110px; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #e8e8e8; }
.w-strip-row { flex: 1; min-width: 0; display: flex; gap: 8px; overflow: hidden; mask-image: linear-gradient(90deg, #000 88%, transparent); }
.w-bubble {
  flex: none; width: 46px; height: 46px; border-radius: 50%; padding: 2px;
  border: 2px solid var(--red); transition: transform .2s var(--ease);
}
.w-bubble img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.w-bubble:hover { transform: scale(1.08); }
.w-strip-more { flex: none; }
.w-strip-more .i { width: 14px; height: 14px; }

.w-side { display: grid; gap: 6px; }
.w-cams { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.w-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.w-actions .btn { height: 34px; font-size: 13.5px; }
.w-actions .btn-icon { width: 38px; }
.act-sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 6px; }

.w-panel { margin: 10px 0 0; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.w-panel:target { display: block; }
.w-desc { margin: 0 0 12px; color: var(--text-2); white-space: pre-line; max-width: 75ch; }
.w-facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; }
.w-facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.w-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

.w-sec { margin-top: 20px; }
.sec-h { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.sec-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 10px; }
.sec-head .sec-h { margin: 0; }

/* tam genişlik bant */
.band { background: var(--band); padding: 20px 0 24px; }
.band-in { max-width: 900px; margin: 0 auto; padding: 0 var(--gut); display: flex; flex-direction: column; align-items: center; }
.band-h { margin: 0 0 12px; font-size: 18px; font-weight: 500; text-align: center; }
.band-cams { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.band-cams .cam-tile { aspect-ratio: 1 / .94; }
.band-cta { position: relative; z-index: 2; margin-top: -48px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }

/* yorumlar */
.com-box { max-width: 780px; background: var(--band); border-radius: var(--r-lg); padding: 12px 14px 16px; }
.com-h { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.com-h .if { width: 17px; height: 17px; }
.com-login {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px;
  padding: 6px 6px 6px 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
}
.com-login span { flex: 1; min-width: 180px; color: var(--muted); font-size: 13.5px; }
p.com-login { padding: 10px 12px; }
.com-empty { margin: 0; color: var(--muted); font-size: 13.5px; }

/* paylaş ve dış linkler */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.share-l { color: var(--muted); margin-right: 4px; }
.share a, .share button {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border: 0; border-radius: var(--r); background: var(--gray-1); color: var(--text-2);
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.share a:hover, .share button:hover { background: var(--gray-2); color: var(--text); }
.ext-links { margin: 14px 0 0; }
.ext-links h2 { font-size: 14px; color: var(--text-2); margin-bottom: 6px; }
.ext-links ul { margin: 0; padding-left: 18px; font-size: 14px; }
.ext-links a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.ext-links small { color: var(--muted); }

/* galeri etiketleri (gallery.html) */
.taxo { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.taxo a { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-sm); font-size: 13px; background: var(--chip); color: #3a3a3a; }
.taxo a:hover { background: var(--chip-hover); color: #111; }

/* ---------- 8. reklam slotları ---------- */

.ad { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.ad[hidden], .ad-cam[hidden] { display: none; }
.ad-bar { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 2px 8px; font-size: 10.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.ad-x { border: 0; background: none; color: var(--muted); font-size: 17px; line-height: 1; width: 24px; height: 22px; cursor: pointer; border-radius: var(--r-sm); }
.ad-x:hover { background: var(--gray-1); color: var(--text); }
.ad-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 16px; }
.ad-body strong { font-size: 16px; line-height: 1.25; }
.ad-body span { font-size: 13px; color: var(--text-2); }
.ad-v1 { background: var(--gray-1); }
.ad-thumb { position: relative; padding: 0; display: block; }
.ad-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.ad-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 10px 7px;
  font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ad-img { display: block; aspect-ratio: 300 / 250; background: var(--gray-1); }
.ad-img img { width: 100%; height: 100%; object-fit: cover; }
.ad-leader { width: 100%; max-width: 728px; margin: 28px auto 0; }
.ad-grid .ad-body { aspect-ratio: 16 / 9; }
.ad-chip {
  position: absolute; z-index: 1; font-size: 10px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: 1px 6px; border-radius: var(--r-sm);
  background: rgba(0, 0, 0, .55); color: #fff; pointer-events: none;
}

/* canlı kamera: ızgara kartı ve karo */
.ad-cam { position: relative; }
.cam-link { display: block; color: inherit; }
.cam-thumb img { object-position: 50% 22%; }
.ad-cam .ad-chip { right: 6px; top: 6px; }
.cam-t { display: -webkit-box; }
a.cam-link:hover .cam-t { color: var(--red); }
.cam-tile {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r-sm); background: #3a3a3a;
}
.cam-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .35s var(--ease); }
a.cam-tile:hover img { transform: scale(1.04); }
.cam-tile .ad-chip { right: 5px; bottom: 5px; }
.live-badge {
  position: absolute; left: 6px; top: 6px; z-index: 1;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 1px 6px; border-radius: var(--r-sm);
  background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
}
.live-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: live-pulse 1.4s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- 9. ana sayfa bölümleri ---------- */

.home > section { margin-top: 30px; }
.home > section:first-child { margin-top: 0; }
.rail-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.rail-h h2 { font-size: 17px; }
.rail-more { font-size: 13.5px; color: var(--red); font-weight: 600; }
.rail-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
  gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px;
}
.rail-track > .card { scroll-snap-align: start; }
@media (min-width: 900px) {
  .rail-track { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; gap: 18px 8px; }
}
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.cat-tile {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  height: 46px; padding: 0 14px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.cat-tile:hover { border-color: var(--line-2); background: var(--gray-1); color: var(--text); }
.cat-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.join-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 24px; border-radius: var(--r-lg); background: var(--band);
}
.join-cta h2 { font-size: 19px; }
.join-cta p { margin: 6px 0 0; color: var(--text-2); max-width: 56ch; }

/* ---------- 10. kategoriler, etiket bulutu, metin sayfaları ---------- */

.wrap.narrow h1 { font-size: 24px; margin-bottom: 18px; }
.cat-index { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 28px; }
.cat-index li { break-inside: avoid; }
.cat-index a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cat-index small { color: var(--muted); font-variant-numeric: tabular-nums; }
.sub-h { font-size: 16px; margin: 34px 0 12px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag-cloud a {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px;
  border-radius: var(--r-sm); background: var(--chip); color: #3a3a3a; font-size: 13px; font-weight: 500;
}
.tag-cloud a:hover { background: var(--chip-hover); color: #111; }
.tag-cloud small { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }

.prose { font-size: 15.5px; line-height: 1.65; }
.prose p, .prose ol, .prose ul { max-width: 70ch; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose code { background: var(--gray-1); padding: 1px 5px; border-radius: var(--r-sm); font-size: 13px; }
.note { font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 9px 12px; color: var(--muted); }

.nf { max-width: 560px; padding: 30px 0 10px; }
.nf-code { margin: 0; font-size: 64px; font-weight: 900; letter-spacing: -.04em; color: var(--red); line-height: 1; }
.nf h1 { font-size: 26px; margin: 6px 0 8px; }
.nf p { color: var(--text-2); }
.nf-search { max-width: none; margin-top: 16px; }

/* ---------- 11. fotoğraflar ---------- */

.pcats { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 18px; }
.pcats a {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border-radius: var(--r); background: var(--gray-1); color: var(--text-2); font-size: 13.5px; font-weight: 600;
}
.pcats a:hover { background: var(--gray-2); color: var(--text); }
.pcats a small { color: var(--muted); font-size: 11.5px; font-weight: 500; }
.pcats a[aria-current] { background: var(--dark); color: #fff; }
.pcats a[aria-current] small { color: #cfcfcf; }
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px 10px; }
.ggrid.small { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.gcard { min-width: 0; }
.gthumb { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--gray-2); border-radius: var(--r); overflow: hidden; }
.gthumb img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s var(--ease); }
.gcard:hover .gthumb img { filter: brightness(1.07); }
.gcount { position: absolute; left: 6px; bottom: 6px; background: var(--badge); color: #fff; font-size: 11.5px; font-weight: 600; padding: 1px 6px; border-radius: var(--r-sm); font-variant-numeric: tabular-nums; }
.ggrid .ad-cam .thumb { aspect-ratio: 4 / 5; }
.gtaxo { margin: -6px 0 18px; }
.pgrid { columns: 4 220px; column-gap: 10px; }
.ph { display: block; margin: 0 0 10px; break-inside: avoid; border-radius: var(--r); overflow: hidden; background: var(--gray-2); }
.ph img { width: 100%; height: auto; }
.ph:hover img { filter: brightness(1.05); }

.lb { position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 10, .94); display: grid; place-items: center; }
.lb img { max-width: 94vw; max-height: 88dvh; width: auto; height: auto; object-fit: contain; }
.lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lb button:hover { background: var(--red); }
.lb .lb-x { top: 14px; right: 14px; }
.lb .lb-p { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .lb-n { right: 14px; top: 50%; transform: translateY(-50%); }
.lb .lb-c { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #bdbdbd; font-size: 13px; }

/* ---------- 12. formlar (üyelik) ---------- */

.auth { display: grid; place-items: start center; }
.auth-box {
  width: 100%; max-width: 460px; margin-top: 12px; padding: 26px 26px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.auth-box h1 { font-size: 22px; margin-bottom: 6px; }
.auth-box > .muted { margin: 0 0 16px; font-size: 14px; }
.form { display: grid; gap: 14px; }
.f { display: grid; gap: 5px; min-width: 0; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f label, .dfilter label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form input:not([type=checkbox]):not([type=file]), .form select, .form textarea, .dfilter select {
  width: 100%; height: 40px; padding: 0 12px; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form textarea { height: auto; padding: 9px 12px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus, .dfilter select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(212, 56, 62, .14); }
.h { margin: 0; font-size: 12.5px; color: var(--muted); }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); }
.check input { margin-top: 3px; accent-color: var(--red); }
.check a, .alt a, .join a, .notice a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.alt { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { border: 1px solid #efc2bf; background: var(--err-soft); color: var(--err); border-radius: var(--r); padding: 9px 12px; margin: 0 0 14px; font-size: 13.5px; }
.form-err ul { margin: 0; padding-left: 18px; }
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; margin: 0 0 14px; font-size: 14px; color: var(--text-2); }
.notice.big { font-size: 16px; color: var(--text); }
.warn-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1px dashed var(--red); border-radius: var(--r); padding: 10px 14px; margin-bottom: 18px; background: var(--surface); }
.warn-box p { margin: 0; font-size: 14px; }

/* ---------- 13. hesap, tanışma, profil, mesajlar ---------- */

.acc-public { margin-left: auto; font-size: 14px; color: var(--red); }
.acc-sec { border-top: 1px solid var(--line); padding: 20px 0 6px; }
.acc-sec h2 { font-size: 17px; margin-bottom: 12px; }
.acc-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 12px 0; }
.acc-photos figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r); padding: 5px; background: var(--surface); }
.acc-photos figure.st-pending { border-style: dashed; }
.acc-photos figure.st-rejected { opacity: .55; }
.acc-photos img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--r-sm); }
.acc-photos figcaption { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 5px; }
.acc-photos button { background: none; border: 0; padding: 0; color: var(--red); cursor: pointer; font-size: 12px; text-decoration: underline; }
.acc-photos button.del { color: var(--muted); }
.upload-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.upload-row input[type=password] { max-width: 260px; }
.logout-row { margin-top: 24px; }

.dfilter {
  display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 0 0 20px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.dfilter label { display: grid; gap: 4px; }
.dfilter select { height: 36px; padding: 0 8px; min-width: 120px; }
.dfilter .ages span { display: flex; gap: 6px; align-items: center; }
.dfilter .ages select { min-width: 0; width: 72px; }
.dreset { font-size: 13px; color: var(--muted); text-decoration: underline; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px 10px; }
.mthumb { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--gray-2); }
.mthumb img { width: 100%; height: 100%; object-fit: cover; }
.online { position: absolute; right: 7px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px #fff; }
.mname { font-size: 14.5px; margin-top: 7px; }
.join { margin-top: 26px; color: var(--text-2); }

.prof-head { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.prof-avatar { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--gray-2); }
.prof-avatar img { width: 100%; height: 100%; object-fit: cover; }
.prof-info h1 { font-size: 26px; }
.online-txt { font-size: 12px; font-weight: 600; color: var(--ok); vertical-align: middle; margin-left: 6px; }
.prof-facts { list-style: none; padding: 0; margin: 10px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.prof-facts li { background: var(--chip); border-radius: var(--r-sm); padding: 3px 9px; font-size: 13.5px; }
.prof-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.prof-actions form { margin: 0; }
.report summary { cursor: pointer; font-size: 13px; color: var(--muted); list-style: none; }
.report[open] form { display: grid; gap: 6px; margin-top: 8px; max-width: 280px; }
.report select { height: 34px; padding: 0 6px; background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r); }
.prof-bio { margin: 22px 0 0; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); white-space: pre-line; max-width: 75ch; color: var(--text-2); }

.inbox { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.inbox li + li { border-top: 1px solid var(--line); }
.inbox a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; }
.inbox a:hover { background: var(--gray-1); color: var(--text); }
.inbox img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--gray-2); }
.ib-main { display: grid; min-width: 0; }
.ib-last { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox li.unread b { color: var(--red); }
.ib-time { font-size: 12px; color: var(--muted); }
.thread h1 { font-size: 20px; margin-bottom: 12px; }
.msgs {
  list-style: none; margin: 0 0 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); max-height: 60dvh; overflow-y: auto;
}
.msgs li { max-width: 78%; padding: 7px 11px; border-radius: 12px; }
.msgs li p { margin: 0; white-space: pre-line; word-break: break-word; }
.msgs li time { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.msgs .mine { align-self: flex-end; background: var(--red-soft); border-bottom-right-radius: 3px; }
.msgs .theirs { align-self: flex-start; background: var(--gray-1); border-bottom-left-radius: 3px; }
.msgs .first { color: var(--muted); font-size: 14px; }
.msg-form { display: flex; gap: 8px; align-items: flex-end; }
.msg-form textarea { flex: 1; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text); resize: vertical; min-height: 44px; }
.msg-form textarea:focus { outline: none; border-color: var(--red); }

/* ---------- 14. footer ---------- */

.foot { background: var(--page); border-top: 1px solid var(--line); margin-top: 40px; }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 34px var(--gut) 20px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)) minmax(240px, 1.7fr); gap: 28px; }
.foot-h { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--text); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: var(--muted); font-size: 13.5px; }
.foot-col a:hover { color: var(--text); }
.foot-inline { display: flex !important; flex-wrap: wrap; gap: 8px 18px !important; }
.foot-note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); max-width: 54ch; }
.foot-note a { text-decoration: underline; text-underline-offset: 2px; }
.install-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0 0; }
.install-row:empty { display: none; }
.foot-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
}
.copy { margin: 0; color: var(--muted); font-size: 13px; }
.foot-social { margin: 0; display: flex; gap: 8px; }
.foot-social a {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gray-2); color: #333; font-size: 12px; font-weight: 800;
}
.foot-social a:hover { background: var(--gray-3); color: #111; }
.foot-legal { margin: 0; display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: var(--muted); }
.foot-legal a:hover { color: var(--text); }
.rta { padding: 1px 6px; border: 2px solid #9a9a9a; border-radius: var(--r-sm); color: #7a7a7a; font-size: 13px; font-weight: 900; letter-spacing: .06em; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 20;
  width: 42px; height: 42px; border-radius: var(--r); display: grid; place-items: center;
  background: var(--gray-2); color: #333; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), background-color .15s var(--ease);
}
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gray-3); color: #111; }

/* ---------- 15. yaş kapısı ---------- */

body.gated { overflow: hidden; }
.gate {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: var(--overlay); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.gate-box { width: 100%; max-width: 470px; background: var(--surface); border-radius: 10px; padding: 28px 28px 22px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); }
.gate-logo { margin: 0 0 18px; display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.gate-logo .logo-mark { height: 28px; }
.gate-box h2 { font-size: 22px; margin-bottom: 8px; }
.gate-box > p { color: var(--text-2); margin: 0 0 18px; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gate-actions .btn { height: 42px; padding: 0 20px; }
.gate-small { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }
.gate-small a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 16. kırılımlar ---------- */

@media (max-width: 1180px) {
  .vgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .vgrid.is-collapsed > :nth-child(n+11) { display: none; }
}
@media (max-width: 1100px) {
  .w-top { grid-template-columns: 1fr; }
  .w-side { grid-template-columns: 1fr 1fr 1.4fr; align-items: stretch; }
  .w-cams { display: contents; }
  .w-side .ad-side .ad-img { height: 100%; aspect-ratio: auto; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-wide { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vgrid.is-collapsed > :nth-child(n+9) { display: none; }
}
@media (max-width: 900px) {
  .ad-headline { background: linear-gradient(90deg, #c4631d, #d97a24 50%, #c4631d); padding: 6px 44px 6px 12px; justify-content: flex-start; gap: 10px; }
  .ad-headline::before { display: none; }
  .hl-sub { display: none; }
  .hl-chip { position: static; transform: none; flex: none; }
}
@media (max-width: 860px) {
  .hdr-in { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px 14px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .menu-in { overflow-x: auto; scrollbar-width: none; padding: 0 4px; }
  .menu-in::-webkit-scrollbar { display: none; }
  .menu-in > .dd { position: static; }
  .dd-cats .dd-panel { left: 8px; right: 8px; width: auto; }
  .menu-in .menu-end { margin-left: 0; }
  .prof-head { grid-template-columns: 1fr; }
  .prof-avatar { max-width: 260px; }
}
@media (max-width: 760px) {
  .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vgrid.is-collapsed > :nth-child(n+10) { display: none; }
  .w-side { grid-template-columns: 1fr 1fr; }
  .w-side .ad-side { grid-column: 1 / -1; }
  .w-side .ad-side .ad-img { aspect-ratio: 300 / 250; height: auto; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gut: 14px; }
  body { font-size: 14.5px; }
  .wrap { padding: 14px var(--gut) 30px; }
  .hdr-in { flex-wrap: wrap; gap: 10px; }
  .hdr-end { gap: 8px; }
  .logo-t { font-size: 19px; }
  .logo-mark { height: 28px; }
  .btn-pill { height: 34px; padding: 0 14px; font-size: 13.5px; }
  .me-nav { gap: 10px; }
  .me-name, .me-login, .dd-lang .dd-code, .dd-lang .i-chev { display: none; }
  .dd-lang > summary { padding: 0 4px; }
  .grid, .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .vgrid.is-collapsed > :nth-child(n+9) { display: none; }
  .grid.has-big .card.big { grid-column: 1 / -1; grid-row: auto; }
  .card.big .card-t { font-size: 17px; }
  .big-sum { display: none; }
  .card-t { font-size: 13.5px; }
  .card-m span { display: none; }
  .sorts { margin-left: 0; flex-basis: 100%; }
  .head-row h1 { font-size: 19px; }
  .w-title { font-size: 18px; }
  .w-strip-l { display: none; }
  .w-actions .btn:not(.btn-icon) { padding: 0 11px; }
  .act-sep { display: none; }
  .band-cams { grid-template-columns: 1fr 1fr; }
  .band-cta { margin-top: 12px; }
  .ad-leader { display: none; }
  .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .pgrid { columns: 2; column-gap: 6px; }
  .ph { margin-bottom: 6px; }
  .f2 { grid-template-columns: 1fr; }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
  .dfilter select { min-width: 0; }
  .gate-box { padding: 22px 18px 16px; }
  .gate-actions .btn { flex: 1; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
  .hl-cta { display: none; }
}

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