/* NSosyal shell: sidebar, column grid and side cards follow the new home page (web/ns), so the whole site looks like one.
   Loaded after app.css and room.css. Measured values (1920 px wide): container 1440 px, 13 columns with 24 px gaps
   (3 + 7 + 3), sidebar items 40 px high on a 12 px gap, 16 px text, 22.1 px icons. */

/* Inter, served from this site (the same variable font files the home page uses). Latin Extended carries the Turkish
   letters; without these the browser fell back to the system font. */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/ns/fonts/8e9860b6e62d6359-s.woff2) format("woff2"); unicode-range: u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff; }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/ns/fonts/e4af272ccee01ff0-s.p.woff2) format("woff2"); unicode-range: u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd; }

/* ---------------------------------------------------------------- columns */
@media (min-width: 1101px) {
  body:not(.game-mode) .layout {
    width: min(1440px, 100%); margin: 0 auto; padding: 0;
    grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 0 24px; justify-content: stretch;
  }
  body:not(.game-mode) .sidebar { grid-column: span 3; }
  body:not(.game-mode) .col { grid-column: span 7; }
  body:not(.game-mode) .aside { grid-column: span 3; }
}

/* ---------------------------------------------------------------- sidebar */
body:not(.game-mode) .sidebar { width: 100%; max-width: 285px; padding: 32px 0 24px; gap: 12px; overflow: hidden auto; }
body:not(.game-mode) .sidebar > * { flex: none; }
body:not(.game-mode) .logo { display: block; width: 56px; margin: 0 0 34px; }
body:not(.game-mode) .logo img { display: block; width: 56px; height: auto; }
body:not(.game-mode) .nav-item {
  position: relative; overflow: hidden; width: min(228px, 80%); height: 40px; padding: 0; gap: 12px;
  border-radius: 9999px; font-size: 16px; font-weight: 400; line-height: 1.12; color: #f8fafc; background: none;
}
/* the hover fill slides in from the left, as on nsosyal.com */
body:not(.game-mode) .nav-item::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 0; z-index: 0;
  background: #242833; border-radius: 9999px; transition: width .3s cubic-bezier(.7, 0, .2, 1);
}
body:not(.game-mode) .nav-item:hover::before, body:not(.game-mode) .nav-item:focus-visible::before { width: 100%; }
body:not(.game-mode) .nav-item > * { position: relative; z-index: 1; }
body:not(.game-mode) .nav-item:hover { background: none; }
body:not(.game-mode) .nav-item .ico {
  display: flex; flex: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 9999px;
}
body:not(.game-mode) .nav-item svg { width: 22.1px; height: 22.1px; color: #fff; stroke-width: 1.5; }
body:not(.game-mode) .nav-item.active { background: #242833; color: #fff; font-weight: 500; }
body:not(.game-mode) .nav-item.active .ico { background: rgba(64, 169, 255, .1); }
body:not(.game-mode) .nav-item.active svg { color: #40a9ff; }
body:not(.game-mode) .nav-item .badge {
  position: absolute; left: 24px; top: 4px; margin: 0; padding: 0; z-index: 2;
  min-width: 16px; height: 16px; display: grid; place-items: center; font-size: 10px; line-height: 1;
}
body:not(.game-mode) .sidebar .btn-primary {
  width: min(228px, 80%); height: 36px; margin-top: 0; padding: 0; border-radius: 9999px;
  font-size: 14px; font-weight: 400; color: #fff;
  background: linear-gradient(90deg, #07d0e0, #324bff); box-shadow: 0 3px 6px rgba(0, 0, 0, .3);
}
body:not(.game-mode) .me-card:hover, body:not(.game-mode) .me-card[aria-expanded="true"] { background: #242833; }

/* Medya / Karanlık mod rows and the switches, as in the home page's sidebar */
body:not(.game-mode) .nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: min(228px, 80%); padding: 16px 8px; border-top: 1px solid #40475a;
  font-size: 16px; font-weight: 500; line-height: 1.5; color: #c4c6cc;
}
body:not(.game-mode) .nav-row { margin-bottom: -12px; }
body:not(.game-mode) .nav-row-first { margin-top: 8px; }
body:not(.game-mode) .nav-row-label { display: flex; align-items: center; gap: 12px; min-width: 0; }
body:not(.game-mode) .nav-row-ico { display: flex; flex: none; align-items: center; justify-content: center; }
body:not(.game-mode) .nav-row-ico svg { width: 22.1px; height: 22.1px; color: #c4c6cc; fill: none; }
body:not(.game-mode) .nav-row-ico svg[viewBox="0 0 17 16"], body:not(.game-mode) .nav-row-ico svg path[fill] { fill: currentColor; }
body:not(.game-mode) .ns-switch {
  position: relative; flex: none; width: 36px; height: 20px; padding: 0; border: 2px solid transparent; border-radius: 9999px;
  background: #3a4152; cursor: pointer; transition: background-color .15s;
}
body:not(.game-mode) .ns-switch i {
  display: block; width: 16px; height: 16px; border-radius: 9999px; background: #171a21;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); transition: transform .15s;
}
body:not(.game-mode) .ns-switch[aria-checked="true"] { background: #40a9ff; }
body:not(.game-mode) .ns-switch[aria-checked="true"] i { transform: translateX(16px); }
body:not(.game-mode) .ns-switch[aria-disabled="true"] { cursor: default; }
@media (min-width: 1536px) { body:not(.game-mode) .nav-row { padding: 24px 12px; } }
@media (max-width: 1100px) { body:not(.game-mode) .nav-row { display: none; } }

/* ---------------------------------------------------------------- right column */
body:not(.game-mode) .aside { max-width: 300px; width: 100%; margin-right: auto; padding: 28px 8px 16px 0; }
body:not(.game-mode) .widget { background: #171a21; border: 1px solid #252b3c; border-radius: 16px; margin-bottom: 16px; }
body:not(.game-mode) .widget h4 { padding: 24px 24px 8px; font-size: 16px; font-weight: 600; }
body:not(.game-mode) .widget-row { padding: 10px 24px; }
body:not(.game-mode) .widget-row:hover { background: #242833; }
body:not(.game-mode) .search { background: transparent; border: 1px solid #1890ff; border-radius: 9999px; padding: 8px 12px; margin-bottom: 16px; }


/* ---------------------------------------------------------------- Canli Yayin: same sidebar, wide content
   live.css gives this page a thin icon rail with no labels and drops the right column; here the sidebar stays the
   one every other page has and the content takes the columns the right column leaves free (7 + 3). */
@media (min-width: 1101px) {
  body.live-mode:not(.game-mode) .layout { grid-template-columns: repeat(13, minmax(0, 1fr)); justify-content: stretch; }
  body.live-mode:not(.game-mode) .col { grid-column: span 10; }
  body.live-mode:not(.game-mode) .nav-item > span:not(.ico),
  body.live-mode:not(.game-mode) .sidebar .btn-primary span,
  body.live-mode:not(.game-mode) .me-card .names { display: revert; }
}

/* ---------------------------------------------------------------- narrow screens: icons only, as before */
@media (max-width: 1100px) {
  body:not(.game-mode) .nav-item, body:not(.game-mode) .sidebar .btn-primary { width: 48px; }
  body:not(.game-mode) .nav-item { justify-content: center; gap: 0; }
  body:not(.game-mode) .nav-item .ico { width: 48px; }
  body:not(.game-mode) .logo { margin-left: 16px; }
  body:not(.game-mode) .sidebar { padding-left: 12px; }
}

/* Bir Günü Resmet: its own full-width stage (filmet.css), without the 1440 px centred shell the other pages use */
body.filmet-mode .layout { width: auto; max-width: none; margin: 0; }

/* in a running game the sidebar is the compact one: keep the logo image at its small size */
body.game-mode .logo { width: 44px; margin: 0 0 14px 8px; }
body.game-mode .logo img { display: block; width: 44px; height: auto; }

/* running game: the compact (icons only) sidebar */
body.game-mode .nav-row { display: none; }
body.game-mode .sidebar { align-items: center; }
body.game-mode .logo { align-self: center; margin: 0 0 14px; }
body.game-mode .sidebar .btn-primary svg { width: 20px; height: 20px; flex: none; }
body.game-mode .me-card { width: 52px; padding: 0; justify-content: center; }
body.game-mode .me-card > svg:last-child { display: none; }

/* running game, sidebar: icons only at the same size and colours as the rest of the site (no tiny labels) */
body.game-mode .sidebar { padding: 32px 0 24px; gap: 12px; overflow: hidden auto; }
body.game-mode .sidebar > * { flex: none; }
body.game-mode .nav-item { flex-direction: row; justify-content: center; align-items: center; width: 48px; height: 40px; padding: 0; gap: 0; border-radius: 10px; background: none; font-size: 16px; }
body.game-mode .nav-item > span:not(.ico) { display: none; }
body.game-mode .nav-item .ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 40px; border-radius: 10px; background: none; }
body.game-mode .nav-item svg { width: 22.1px; height: 22.1px; color: #fff; stroke-width: 1.5; }
body.game-mode .nav-item:hover .ico { background: #242833; }
body.game-mode .nav-item.active .ico { background: #242833; }
body.game-mode .nav-item.active svg { color: #40a9ff; }
body.game-mode .nav-item .badge { position: absolute; top: 2px; right: 2px; }
body.game-mode .sidebar .btn-primary { width: 48px; height: 40px; padding: 0; border-radius: 999px; }

/* ================================================================ send button (live chat): a round arrow, quiet until there is something to send */
.lv-chat-form { gap: 8px; padding: 12px 12px 14px; }
.lv-chat-input .input { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); padding: 11px 42px 11px 16px; transition: border-color .15s, background .15s; }
.lv-chat-input .input:focus { background: rgba(255, 255, 255, .06); border-color: rgba(64, 169, 255, .65); outline: none; }
.lv-chat-send {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, #2bc4ee 0%, #2f80ff 60%, #4f5bff 100%);
  box-shadow: 0 8px 18px -8px rgba(47, 128, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .12s, box-shadow .2s, background .2s, color .2s;
}
.lv-chat-send svg { width: 19px; height: 19px; }
.lv-chat-send:hover:not(:disabled) { transform: translateY(-1px); }
.lv-chat-send:active:not(:disabled) { transform: scale(.94); }
.lv-chat-send:disabled { cursor: default; color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .07); box-shadow: none; }

/* ================================================================ the stream room as a cinema
   (main.js gives the body "live-room" and, on wide screens, "game-mode": the sidebar shrinks to its icons and leans on the left) */
@media (min-width: 1101px) {
  body.game-mode.live-room .layout { grid-template-columns: 96px minmax(0, 1fr); width: auto; max-width: none; margin: 0; }
  body.game-mode.live-room .col { grid-column: auto; max-width: none; min-width: 0; }
  body.game-mode.live-room .aside { display: none; }

  body.live-room .lv-studio { grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; padding: 20px 24px 28px 8px; align-items: start; }
  /* the picture takes as much as the window gives it: as wide as the column allows, as tall as the window minus the controls */
  body.live-room .lv-main { --stage-w: max(520px, calc((100vh - 230px) * 16 / 9)); display: flex; flex-direction: column; align-items: center; }
  body.live-room .lv-main > * { width: min(100%, var(--stage-w)); }

  body.live-room .lv-stage {
    border-radius: 20px; background: #05060a;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 100px -50px rgba(0, 0, 0, .95);
  }
  body.live-room .lv-studio.on-air .lv-stage {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 0 0 1px rgba(255, 59, 78, .28), 0 0 70px -24px rgba(255, 59, 78, .45), 0 50px 100px -50px rgba(0, 0, 0, .95);
  }
  body.live-room .lv-stage:fullscreen { border-radius: 0; box-shadow: none; }

  body.live-room .lv-dock { margin-top: 16px; }
  body.live-room .lv-dock-group, body.live-room .lv-react { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .07); backdrop-filter: blur(10px); }
  body.live-room .lv-join { padding: 11px 20px; border-radius: 999px; box-shadow: 0 8px 22px -12px rgba(99, 102, 241, .9); letter-spacing: .1px; }

  body.live-room .lv-info { margin-top: 20px; padding: 18px 2px 0; background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
  body.live-room .lv-info-main h1 { font-size: 22px; letter-spacing: -.3px; }

  /* the side: chat as a glass panel the full height of the window */
  body.live-room .lv-side {
    top: 20px; height: calc(100vh - 40px); border-radius: 20px;
    background: rgba(20, 23, 32, .72); border: 1px solid rgba(255, 255, 255, .07);
    backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1);
    box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
  }
  body.live-room .lv-tabs { border-bottom-color: rgba(255, 255, 255, .07); }
  body.live-room .lv-chat-form { border-top-color: rgba(255, 255, 255, .07); }
}

/* desktop only (≥1101px): the quiet dock / layout panel / info row; phones and tablets keep the base styles */
@media (min-width: 1101px) {
/* ================================================================ stream room, below the picture: one quiet language
   hairlines instead of cards, white for the one thing that matters, colour only where it means something */
body.live-room {
  --lvq-ink: rgba(255, 255, 255, .92);
  --lvq-ink-2: rgba(255, 255, 255, .62);
  --lvq-ink-3: rgba(255, 255, 255, .40);
  --lvq-hair: rgba(255, 255, 255, .075);
  --lvq-fill: rgba(255, 255, 255, .04);
}

/* the control bar: one glass strip, controls on the left, reactions on the right */
body.live-room .lv-dock {
  margin-top: 14px; padding: 8px 10px; gap: 12px; flex-wrap: nowrap; align-items: center; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .022));
  border: 1px solid var(--lvq-hair); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 50px -34px #000;
}
body.live-room .lv-controls { gap: 6px; flex-wrap: nowrap; }
body.live-room .lv-dock-group { padding: 0; gap: 2px; border: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.live-room .lv-dock-group::after { content: ""; flex: none; width: 1px; height: 22px; margin: 0 10px 0 8px; background: var(--lvq-hair); }
body.live-room .lv-round {
  width: 42px; height: 42px; border: 0; background: transparent; color: var(--lvq-ink-2); box-shadow: none;
  transition: background .18s, color .18s, transform .12s;
}
body.live-room .lv-round svg { width: 20px; height: 20px; stroke-width: 1.6; }
body.live-room .lv-round:hover { background: rgba(255, 255, 255, .09); color: var(--lvq-ink); transform: none; box-shadow: none; }
body.live-room .lv-round:active { transform: scale(.93); }
body.live-room .lv-round.off { background: rgba(255, 77, 95, .12); color: #ff8e99; }
body.live-room .lv-round.sharing { background: rgba(64, 169, 255, .16); color: #84c6ff; box-shadow: none; }

/* the one call to action: a white pill (the red is only the dot) */
body.live-room .lv-golive, body.live-room .lv-join {
  height: 42px; padding: 0 22px; gap: 10px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 700; letter-spacing: .1px; color: #0a0c12; background: #f4f6fa; filter: none;
  box-shadow: 0 12px 30px -16px rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .08);
  transition: background .18s, transform .12s;
}
body.live-room .lv-golive:hover:not(:disabled), body.live-room .lv-join:hover:not(:disabled) { background: #fff; transform: translateY(-1px); filter: none; }
body.live-room .lv-golive i { width: 8px; height: 8px; background: #ff3b4e; box-shadow: 0 0 0 4px rgba(255, 59, 78, .22); }
body.live-room .lv-join svg { width: 18px; height: 18px; }
body.live-room .lv-end { height: 42px; padding: 0 20px; border-radius: 999px; background: transparent; color: #ff8e99; box-shadow: inset 0 0 0 1px rgba(255, 77, 95, .38); }
body.live-room .lv-end:hover { background: rgba(255, 77, 95, .1); }

body.live-room .lv-react-wrap { gap: 4px; }
body.live-room .lv-react { padding: 0; gap: 2px; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.live-room .lv-react button { width: 38px; height: 38px; font-size: 19px; }
body.live-room .lv-react button:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px) scale(1.1); }
body.live-room .lv-hype-meter { height: 2px; margin: 0 8px; background: rgba(255, 255, 255, .07); }

/* the picture's own bar: no volume knob over the host's own preview (it covered the name) */
body.live-room .lv-stage[data-mode="preview"] [data-pl="mute"], body.live-room .lv-stage[data-mode="preview"] .lv-volume { display: none; }

/* display layout panel */
body.live-room .lv-layout {
  margin-top: 14px; padding: 18px 20px 16px; border-radius: 22px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, .025); border: 1px solid var(--lvq-hair);
}
body.live-room .lv-layout-head { margin-bottom: 14px; }
body.live-room .lv-layout-head b { gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lvq-ink-3); }
body.live-room .lv-layout-head svg { width: 15px; height: 15px; }
body.live-room .lv-seg { padding: 3px; gap: 2px; border-radius: 999px; background: var(--lvq-fill); border: 1px solid var(--lvq-hair); }
body.live-room .lv-seg button { min-width: 0; height: 32px; padding: 0 15px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--lvq-ink-2); transition: background .18s, color .18s; }
body.live-room .lv-seg button:hover { background: rgba(255, 255, 255, .06); color: var(--lvq-ink); }
body.live-room .lv-seg button.active { background: rgba(255, 255, 255, .13); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
body.live-room .lv-layout-list { gap: 6px; margin-top: 14px; }
body.live-room .lv-layout-row { padding: 6px 8px 6px 6px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid transparent; }
body.live-room .lv-layout-row:hover { background: rgba(255, 255, 255, .06); border-color: var(--lvq-hair); }
body.live-room .lv-layout-name { font-size: 14px; font-weight: 600; color: var(--lvq-ink); }
body.live-room .lv-layout-grip { color: var(--lvq-ink-3); }
body.live-room .lv-layout .lv-hint { margin: 12px 0 0; font-size: 12px; line-height: 1.55; color: var(--lvq-ink-3); }
body.live-room .lv-layout .lv-hint + .lv-hint { margin-top: 4px; }

/* the stream's info */
body.live-room .lv-info { margin-top: 26px; padding: 24px 2px 6px; gap: 20px; align-items: center; border-top: 1px solid var(--lvq-hair); }
body.live-room .lv-back { width: 36px; height: 36px; color: var(--lvq-ink-3); border-radius: 50%; background: transparent; }
body.live-room .lv-back:hover { color: var(--lvq-ink); background: rgba(255, 255, 255, .07); }
body.live-room .lv-info-avatar { padding: 3px; background: #0e1118; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
body.live-room .lv-info-avatar.live { box-shadow: 0 0 0 2px #ff3b4e, 0 0 26px -6px rgba(255, 59, 78, .6); }
body.live-room .lv-info-main h1 { font-size: 24px; font-weight: 700; letter-spacing: -.45px; }
body.live-room .lv-info-main p { margin: 3px 0 10px; font-size: 14px; color: var(--lvq-ink-2); }
body.live-room .lv-info-main p b { color: var(--lvq-ink); font-weight: 600; }
body.live-room .lv-info-main .handle { color: var(--lvq-ink-3); }
body.live-room .lv-tag {
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .1px;
  background: var(--lvq-fill); border: 1px solid var(--lvq-hair); color: var(--lvq-ink-2); backdrop-filter: none;
}
body.live-room .lv-tag svg { width: 13px; height: 13px; opacity: .8; }
body.live-room .lv-tag.backstage { background: rgba(255, 181, 71, .08); border-color: rgba(255, 181, 71, .3); color: #ffc772; }
body.live-room .lv-tag.publish { background: rgba(64, 169, 255, .08); border-color: rgba(64, 169, 255, .3); color: #8ccaff; }
body.live-room .lv-tag-btn:hover { filter: none; background: rgba(255, 255, 255, .08); color: var(--lvq-ink); }
body.live-room .lv-info-stats { gap: 0; }
body.live-room .lv-stat { align-items: center; min-width: 78px; padding: 0 20px; }
body.live-room .lv-stat + .lv-stat { border-left: 1px solid var(--lvq-hair); }
body.live-room .lv-stat:last-child { padding-right: 4px; }
body.live-room .lv-big { font-size: 28px; font-weight: 700; letter-spacing: -.8px; color: #fff; background: none; -webkit-text-fill-color: #fff; }
body.live-room .lv-small { margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--lvq-ink-3); }
}

/* ================================================================ phones (≤640px): the sidebar becomes a slide-in menu
   Opened by the hamburger in the top bar (.m-bar). Nothing here applies above 640px. */
.m-bar, .m-scrim { display: none; }
@media (max-width: 640px) {
  .m-bar {
    display: flex; position: sticky; top: 0; z-index: 40; height: 56px; align-items: center; justify-content: space-between; padding: 0 8px;
    background: rgba(27, 30, 38, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
  }
  .m-bar > button, .m-bar > a { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--text); border-radius: 50%; cursor: pointer; }
  .m-bar > button:active { background: rgba(255, 255, 255, .08); }
  .m-bar svg { width: 24px; height: 24px; }
  .m-bar img { width: 34px; height: 34px; display: block; }
  body.game-mode .m-bar, body.live-room .m-bar, body.nevents-mode .m-bar, body.filmet-mode .m-bar { display: none; }  /* those have their own chrome */
  body:not(.game-mode):not(.live-room):not(.nevents-mode):not(.filmet-mode) .header { top: 56px; }  /* sticky page headers sit under the bar */
  .lv-list .header-title { gap: 8px; flex-wrap: nowrap; }
  .lv-list .header-title .grow { flex: 1 1 auto; min-width: 0; white-space: nowrap; font-size: 19px; }
  .lv-list .header-title .btn-sm { flex: none; padding-inline: 11px; white-space: nowrap; }

  .m-scrim { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .22s; }
  body.m-nav .m-scrim { opacity: 1; pointer-events: auto; }
  body.m-nav { overflow: hidden; }

  html body .sidebar {
    display: flex; position: fixed; z-index: 91; top: 0; left: 0; bottom: 0; height: auto; width: min(84vw, 320px); align-items: stretch; gap: 4px;
    padding: calc(env(safe-area-inset-top, 0px) + 16px) 12px calc(env(safe-area-inset-bottom, 0px) + 16px); overflow-y: auto; overscroll-behavior: contain;
    background: #15171c; box-shadow: 0 0 60px rgba(0, 0, 0, .7);
    transform: translateX(-102%); visibility: hidden; transition: transform .26s cubic-bezier(.3, .8, .3, 1), visibility 0s .26s;
  }
  body.m-nav .sidebar { transform: none; visibility: visible; transition: transform .26s cubic-bezier(.3, .8, .3, 1); }
  html body .sidebar .logo { align-self: flex-start; width: 44px; margin: 0 0 10px 8px; }
  html body .sidebar .logo img { display: block; width: 44px; height: auto; }
  html body:not(.game-mode) .sidebar .nav-item { width: auto; justify-content: flex-start; gap: 16px; padding: 12px 16px; font-size: 17px; }
  html body:not(.game-mode) .sidebar .nav-item .ico { width: auto; }
  html body .sidebar .nav-item > span:not(.ico), html body .sidebar .btn-primary span, html body .sidebar .me-card .names { display: revert; }
  html body:not(.game-mode) .sidebar .btn-primary { width: 100%; height: auto; min-height: 50px; padding: 14px; flex: none; margin: 10px 0 6px; }
  html body .sidebar .nav-row { display: flex; width: auto; margin-bottom: 0; }
  html body .sidebar .me-card { margin-top: auto; }
}

/* phones: the game picker (3 columns do not fit; badges stack, the footer bar wraps) */
@media (max-width: 640px) {
  .game-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-card { height: 152px; border-radius: 16px; }
  .gc-name { left: 14px; right: 42px; bottom: 14px; font-size: 21px; }
  .gc-status, .gc-count { top: 10px; padding: 4px 9px; font-size: 11px; white-space: nowrap; }
  .gc-status { left: 10px; }
  .gc-count { top: 40px; right: auto; left: 10px; }
  .gc-check { right: 12px; bottom: 12px; width: 26px; height: 26px; }
  .game-bar { flex-wrap: wrap; gap: 12px 16px; }
  .gb-info { flex: 1 1 100%; }
  .game-bar .toggle { flex: 1 1 auto; }
  .game-bar #g-go { flex: 1 1 100%; min-width: 0; }
}

/* phones: the Vampir toolbar drops under the clock instead of covering it */
@media (max-width: 640px) {
  .vk-tools { top: 80px; left: 12px; right: 12px; justify-content: flex-end; flex-wrap: wrap; }
}

/* phones: the stream room below the picture */
@media (max-width: 640px) {
  .lv-info { flex-wrap: wrap; align-items: center; }
  .lv-info-main { flex: 1 1 0; min-width: 0; }
  .lv-info-main h1 { overflow-wrap: anywhere; }
  .lv-info-stats { flex: 1 1 100%; justify-content: space-around; padding-top: 10px; border-top: 1px solid var(--border); }
  .lv-dock .lv-controls { flex-wrap: wrap; row-gap: 8px; }
  .lv-golive, .lv-join, .lv-end { white-space: nowrap; flex: none; }
  .lv-seg { max-width: 100%; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  [data-room-act].btn { white-space: nowrap; }
}

/* phones: the bottom room bar (title + status) keeps room for the text; the status truncates */
@media (max-width: 640px) {
  .dock { gap: 8px; padding: 10px 12px; }
  .dock .grow { flex: 1 1 90px; }
  .dock .status { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock .btn-ghost, .dock .btn-danger { white-space: nowrap; flex: none; }
}

/* phones: outside the room the bar also carries "Space'e dön", so Ayrıl shrinks to its icon */
@media (max-width: 640px) {
  .dock:has(.btn-ghost) #d-leave { font-size: 0; gap: 0; padding: 0; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; place-content: center; flex: none; }
  .dock:has(.btn-ghost) #d-leave svg { width: 20px; height: 20px; }
  .dock:has(.btn-ghost) .round { width: 44px; height: 44px; }
  .dock:has(.btn-ghost) .grow { flex-basis: 70px; }
}
/* ================================================================ Space odası: editoryal, yüksek kontrast
   Düz siyah zemin, saf beyaz yazı, ince çizgiler. Gradyan, parlama, hap etiket ve renkli çerçeve yok.
   Tek vurgu beyaz; kırmızı yalnızca canlı göstergesinde ve Ayrıl'da. */

.main:has(> #room-top) {
  --rm-bg: var(--bg); --rm-ink-2: var(--text-2); --rm-ink-3: var(--muted); --rm-line: var(--border-strong);
}
.main:has(> #room-top) .header { background: var(--rm-bg); border-bottom: 1px solid var(--rm-line); }
.main:has(> #room-top) .header-title { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* head */
#room-top .room-head { padding: 28px 22px 26px; border: 0; }
#room-top .room-head .live-pill { padding: 0; background: none; box-shadow: none; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: .22em; color: #fff; }
#room-top .room-head .live-dot { width: 8px; height: 8px; background: var(--danger); box-shadow: none; }
#room-top .room-head h2 {
  margin: 26px 0 16px; font-size: clamp(36px, 10.5vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em;
  color: #fff; background: none; -webkit-text-fill-color: #fff; overflow-wrap: anywhere;
}
#room-top .room-head .sub { gap: 6px 18px; }
#room-top .room-head .sub > span:not(.game-pill):not(.delay-chip):not(.rec-badge) {
  padding: 0; background: none; box-shadow: none; border-radius: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rm-ink-2);
}
#room-top .room-head .rec-badge { padding: 0; background: none; box-shadow: none; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #ff3b4e; }
#room-top .room-head .game-pill, #room-top .room-head .game-pill.calm { padding: 0; background: none; border: 0; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }

/* actions: quiet outline buttons */
#room-top .room-actions { gap: 8px; }
#room-top .room-actions .btn {
  height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: none;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #fff; transition: background .15s, color .15s, border-color .15s;
}
#room-top .room-actions .btn:hover { background: var(--surface-hover); border-color: #fff; }
#room-top .room-actions .icon-btn { width: 38px; height: 38px; border-radius: 10px; color: #fff; background: transparent; }
#room-top .room-actions .icon-btn:hover { background: var(--surface-hover); }
.room-menu-list { border-radius: 12px; background: var(--surface); border: 1px solid var(--rm-line); box-shadow: 0 24px 50px -20px #000; }

/* NKonser (only shown when there are open rooms) */
.main:has(> #room-top) .nk-strip { margin: 0 22px 10px; padding: 18px 0 4px; border-top: 1px solid var(--rm-line); background: none; box-shadow: none; border-radius: 0; }
.main:has(> #room-top) .nk-title { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.main:has(> #room-top) .nk-title i { width: 7px; height: 7px; background: #fff; box-shadow: none; }
.main:has(> #room-top) .nk-sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rm-ink-3); }
.main:has(> #room-top) .nk-card { background: var(--surface); border: 1px solid var(--rm-line); border-radius: 14px; box-shadow: none; }
.main:has(> #room-top) .nk-card:hover { transform: none; border-color: #fff; box-shadow: none; }
.main:has(> #room-top) .nk-btn.primary { color: #fff; background: var(--primary); box-shadow: none; }
.main:has(> #room-top) .nk-pill { background: none; box-shadow: none; padding: 0; color: #fff; letter-spacing: .12em; text-transform: uppercase; }

/* sections */
#room-content .section-title {
  align-items: center; margin: 22px 22px 0; padding: 14px 0 0; border-top: 1px solid var(--rm-line);
  font-size: 11px; font-weight: 800; letter-spacing: .22em; color: #fff;
}
#room-content .section-title .btn { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rm-ink-2); }

/* people */
#room-content .grid { padding: 22px 14px 8px; gap: 28px 6px; }
#room-content .person { padding: 4px 2px; border-radius: 0; gap: 9px; }
#room-content .person:hover { background: none; }
#room-content .person:hover .avatar { opacity: .85; }
#room-content .person .avatar.lg { width: 76px; height: 76px; font-size: 25px; font-weight: 700; letter-spacing: -.01em; box-shadow: none; transition: box-shadow .2s; }
#room-content .person .pname { font-size: 14px; font-weight: 700; letter-spacing: -.005em; max-width: 124px; color: #fff; }
#room-content .person .role { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rm-ink-3); }
#room-content .person .role.host { padding: 0; background: none; box-shadow: none; color: #fff; }
#room-content .person .mic-state { box-shadow: 0 0 0 3px var(--surface); }

/* speaking: a clean white ring, nothing glowing */
#room-content .person.speaking .avatar { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--primary); }

/* audience: smaller, quieter */
#room-content .section-title:nth-child(3) + .grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); padding-top: 20px; }
#room-content .section-title:nth-child(3) + .grid .avatar.lg { width: 52px; height: 52px; font-size: 17px; }
#room-content .section-title:nth-child(3) + .grid .person .pname { font-size: 12.5px; font-weight: 600; color: var(--rm-ink-2); }
#room-content .grid .hint { color: var(--rm-ink-3); }

/* dock: a solid bar */
#dock-slot { background: var(--surface); border-top: 1px solid var(--border-strong); }
#dock-slot .dock { min-height: 68px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dock .dock-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.dock .status { margin-top: 2px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .55); }
.dock .round { width: 46px; height: 46px; background: transparent; box-shadow: inset 0 0 0 1px var(--border-strong); color: #fff; transition: background .15s, color .15s; }
.dock .round:hover { background: rgba(255, 255, 255, .1); }
.dock .round.on { background: var(--primary); color: #fff; box-shadow: none; }
.dock .round.muted { background: transparent; color: #ff6b75; box-shadow: inset 0 0 0 1px rgba(245, 34, 45, .55); }
.dock .btn-danger { height: 46px; padding: 0 18px; border: 0; border-radius: 999px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--danger); box-shadow: none; }
.dock .btn-danger:hover { filter: brightness(1.12); }

/* the stage: one solid surface in the app's own palette */
#room-content .section-title:nth-child(1) + .grid { margin: 14px 16px 0; padding: 26px 8px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }

/* ---- canlılık: odanın arkasında markanın üç rengi (camgöbeği, mavi, mor) ---- */
.main:has(> #room-top) { position: relative; isolation: isolate; }
.main:has(> #room-top)::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 640px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 50% -8%, rgba(59, 130, 246, .34), transparent 72%),
    radial-gradient(40% 48% at 6% 8%, rgba(139, 92, 246, .24), transparent 72%),
    radial-gradient(36% 46% at 96% 16%, rgba(34, 211, 238, .18), transparent 72%);
}
.main:has(> #room-top) .header { background: rgba(27, 30, 38, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
#room-content .section-title:nth-child(1) + .grid { background: rgba(35, 39, 50, .66); border-color: rgba(255, 255, 255, .10); }
#room-content .section-title:nth-child(1) + .grid .person .avatar.lg { width: 82px; height: 82px; font-size: 27px; }
#room-content .person.speaking .avatar { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px #22d3ee, 0 0 0 9px rgba(34, 211, 238, .16); }

/* ---- alt çubuk: yüzen kart ---- */
#dock-slot { background: none; border: 0; padding: 0 12px calc(env(safe-area-inset-bottom, 0px) + 12px); pointer-events: none; }
#dock-slot .dock {
  pointer-events: auto; min-height: 72px; padding: 10px 10px 10px 16px; gap: 10px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(42, 47, 61, .92), rgba(30, 34, 45, .94));
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(255, 255, 255, .09), 0 24px 48px -16px rgba(0, 0, 0, .85);
}
/* the equalizer: moves while your mic is live */
.dock .grow { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; }
.dock .grow::before {
  content: ""; grid-row: 1 / 3; width: 22px; height: 24px;
  background:
    linear-gradient(#22d3ee, #22d3ee) 0 100% / 4px 40% no-repeat,
    linear-gradient(#3b82f6, #3b82f6) 9px 100% / 4px 70% no-repeat,
    linear-gradient(#8b5cf6, #8b5cf6) 18px 100% / 4px 50% no-repeat;
  border-radius: 2px; opacity: .45;
}
.dock:has(#d-mic.on) .grow::before { opacity: 1; animation: dk-eq 1.1s ease-in-out infinite; }
@keyframes dk-eq {
  0%, 100% { background-size: 4px 40%, 4px 70%, 4px 50%; }
  33% { background-size: 4px 90%, 4px 35%, 4px 80%; }
  66% { background-size: 4px 55%, 4px 95%, 4px 30%; }
}
@media (prefers-reduced-motion: reduce) { .dock:has(#d-mic.on) .grow::before { animation: none; } }
.dock .grow > * { grid-column: 2; min-width: 0; }
.dock .dock-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock .round { width: 48px; height: 48px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10); }
.dock #d-mic.round { width: 52px; height: 52px; }
.dock .round.on { background: var(--logo-gradient); color: #fff; box-shadow: 0 10px 24px -8px rgba(50, 75, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.dock .round.muted { background: rgba(245, 34, 45, .12); color: #ff7b84; box-shadow: inset 0 0 0 1px rgba(245, 34, 45, .4); }
.dock .btn-danger { height: 48px; padding: 0 18px; border-radius: 999px; background: rgba(245, 34, 45, .14); color: #ff7b84; box-shadow: inset 0 0 0 1px rgba(245, 34, 45, .45); }
.dock .btn-danger:hover { background: var(--danger); color: #fff; filter: none; }
@media (max-width: 640px) {
  .dock #d-leave { font-size: 0; line-height: 0; gap: 0; width: 48px; padding: 0; display: flex; align-items: center; justify-content: center; }
  .dock #d-leave svg { width: 20px; height: 20px; display: block; flex: none; margin: 0; }
  body.has-dock .main { padding-bottom: 96px; }
}

/* ---- sohbet: aynı karakter ---- */
.room-chat {
  border: 1px solid rgba(255, 255, 255, .10); border-radius: 20px; overflow: hidden;
  background: rgba(35, 39, 50, .66); box-shadow: none;
}
.room-chat .chat-head { padding: 16px 12px 10px 20px; border-bottom: 1px solid var(--border); }
.room-chat .chat-head h4 { font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.room-chat .chat-head .btn { height: 32px; padding: 0 13px; border: 1px solid var(--border-strong); border-radius: 10px; background: transparent; font-size: 12px; font-weight: 700; color: var(--text-2); }
.room-chat .chat-head .btn:hover { background: var(--surface-hover); color: #fff; }
.room-chat .chat-head .icon-btn { border-radius: 10px; color: var(--text-2); }
.room-chat .chat-list { gap: 0; padding: 6px 12px 10px; }
.room-chat .chat-msg { gap: 12px; padding: 12px 8px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.room-chat .chat-msg:last-child { border-bottom: 0; }
.room-chat .chat-msg:hover { background: rgba(255, 255, 255, .03); }
.room-chat .chat-meta { gap: 8px; align-items: center; }
.room-chat .chat-meta .name { font-size: 13.5px; font-weight: 700; color: #fff; letter-spacing: -.005em; }
.room-chat .chat-time { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.room-chat .chat-text { margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.room-chat .chat-role { padding: 0; border-radius: 0; background: none; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.room-chat .chat-role.host { background: none; color: #fff; }
.room-chat .chat-role.speaker { background: none; color: var(--muted); }
.room-chat .chat-empty { font-size: 13px; color: var(--muted); }
.room-chat .chat-form { gap: 10px; padding: 12px 14px 6px; border-top: 1px solid var(--border); }
.room-chat .chat-form .input {
  height: 44px; padding: 0 18px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(27, 30, 38, .7); font-size: 14.5px; color: #fff;
  transition: border-color .15s, background .15s;
}
.room-chat .chat-form .input:focus { outline: 0; border-color: var(--primary); box-shadow: none; background: rgba(27, 30, 38, .95); }
.room-chat .chat-form .input::placeholder { color: var(--muted); }
.room-chat .chat-form .btn { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; letter-spacing: .02em; box-shadow: none; }
.room-chat .chat-form .btn:hover { filter: brightness(1.12); }
.room-chat .chat-status { padding: 4px 20px 16px; font-size: 12px; color: var(--muted); }
