/* JinjaQuiz (eski adı Ritim Arena) — tasarım sistemi
   Tek vurgu rengi (mercan), tek buton dili, 8px aralık ızgarası. */
:root {
  color-scheme: dark;
  --bg: #0d0d10;
  --s1: #15151a;
  --s2: #1d1d24;
  --s3: #272730;
  --line: #2e2e38;
  --ink: #f5f2ed;
  --muted: #9b98a5;
  --accent: #ff5b3a;
  --accent-2: #ff8a5c;
  --accent-ink: #1a0803;
  --good: #34d67f;
  --bad: #ff4d5e;
  --gold: #ffc23d;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pad: clamp(16px, 4vw, 32px);
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(1200px 600px at 85% -10%, #ff5b3a14, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, #7a5cff12, transparent 60%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.45 var(--body);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip; /* hidden gövdeyi kaydırma kabı yapar ve sticky öğeleri bozar; clip yapmaz */
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.mono,
.brand,
.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(40px, 7vw, 76px);
}
h2 {
  font-size: clamp(22px, 3vw, 28px);
}
a {
  color: var(--accent-2);
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: default;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.muted {
  color: var(--muted);
}
.hint {
  color: var(--muted);
  font-size: 14px;
}
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--pad) 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ikonlar */
.ic {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.ic.up {
  transform: rotate(180deg);
}

/* ---------- butonlar: tek dil ---------- */
.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 20px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition:
    transform 0.15s var(--ease),
    background 0.15s,
    box-shadow 0.2s,
    opacity 0.2s;
  user-select: none;
}
.btn:active:not(:disabled) {
  transform: scale(0.97);
}
.btn:disabled {
  opacity: 0.4;
}
.btn.sm {
  --h: 36px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: var(--r-sm);
}
.btn.lg {
  --h: 56px;
  padding: 0 28px;
  font-size: 17px;
}
.btn.wide {
  flex: 1;
  width: 100%;
}
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px -10px var(--accent);
}
.btn.primary:hover:not(:disabled) {
  background: var(--accent-2);
}
.btn.ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn.ghost:hover:not(:disabled) {
  box-shadow: inset 0 0 0 1.5px var(--muted);
}
.btn.soft {
  background: var(--s3);
}
.btn.soft:hover:not(:disabled) {
  background: #32323d;
}
.btn.light {
  background: var(--ink);
  color: #111;
}
.btn.danger {
  background: var(--bad);
  color: #1b0306;
}
.icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  transition:
    background 0.15s,
    color 0.15s;
}
.icon.sm {
  width: 32px;
  height: 32px;
}
.icon:hover:not(:disabled) {
  background: var(--s3);
  color: var(--ink);
}
.icon:disabled {
  opacity: 0.25;
}

/* segment kontrol (açılır menü yerine) */
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.seg button {
  flex: 1 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition:
    background 0.15s,
    color 0.15s;
}
.seg button:hover:not(:disabled) {
  color: var(--ink);
}
.seg button[aria-pressed="true"],
.seg button[aria-selected="true"] {
  background: var(--ink);
  color: #111;
}
.seg button:disabled[aria-pressed="true"] {
  background: var(--s3);
  color: var(--ink);
}
.seg.chips {
  background: none;
  border: 0;
  padding: 0;
  gap: 8px;
}
.seg.chips button {
  flex: none;
  background: var(--s2);
  border-radius: 99px;
  min-height: 36px;
}
.seg.chips button[aria-selected="true"] {
  background: var(--ink);
  color: #111;
}

/* ---------- üst çubuk ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--pad);
  padding-top: max(12px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #ffffff0a;
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
}
.brand span:last-child {
  color: var(--accent);
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  margin-right: 4px;
  font-size: 18px;
}
.barEnd {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 99px;
  background: var(--s2);
  font-weight: 600;
  font-size: 14px;
}
.pill.live {
  background: #ff5b3a22;
  color: var(--accent-2);
}
.pill.live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.4s infinite;
}
.meBtn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px 0 4px;
  border-radius: 99px;
  background: var(--s2);
  font-weight: 600;
  font-size: 14px;
  max-width: 200px;
}
.meBtn > span:last-child {
  line-height: 1.1;
  overflow-wrap: anywhere;
}

/* avatar */
.av {
  --c: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
  background: color-mix(in srgb, var(--c) 22%, var(--s2));
  color: var(--c);
  box-shadow: 0 0 0 2px var(--c);
  overflow: hidden;
  font-size: 17px;
}
.av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.av.coral {
  --c: #ff6a4d;
}
.av.violet {
  --c: #a78bfa;
}
.av.mint {
  --c: #34d6a4;
}
.av.gold {
  --c: #ffc23d;
}
.av.sky {
  --c: #4cc2ff;
}
.av.rose {
  --c: #ff6fae;
}
.av.xs {
  width: 22px;
  height: 22px;
  font-size: 11px;
  box-shadow: 0 0 0 1.5px var(--c);
}
.av.sm {
  width: 30px;
  height: 30px;
  font-size: 14px;
}
.av.lg {
  width: 64px;
  height: 64px;
  font-size: 28px;
  box-shadow: 0 0 0 3px var(--c);
}
.av.xl {
  width: 96px;
  height: 96px;
  font-size: 42px;
  box-shadow: 0 0 0 4px var(--c);
}

/* ---------- ana sayfa ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: end;
  padding: clamp(28px, 6vw, 64px) 0 28px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.heroText h1 {
  margin: 14px 0 16px;
  font-size: clamp(52px, 9vw, 104px);
}
.heroText h1 em {
  font-style: normal;
  color: var(--accent);
}
.heroText p {
  color: var(--muted);
  max-width: 44ch;
  font-size: 17px;
}
.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.joinCard {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 20px;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.joinCard .label {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.joinCard small {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: 13px;
}
.joinCard input {
  min-width: 0;
  height: 56px;
  padding: 0 16px;
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.joinCard input:focus {
  outline: none;
  border-color: var(--accent);
}
.joinCard .btn {
  height: 56px;
}

.feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 220px;
  padding: 24px;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: left;
  isolation: isolate;
}
.feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s var(--ease);
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0d0d10ee 0%, #0d0d1088 50%, transparent);
}
.feature:hover img {
  transform: scale(1.04);
}
.featureText {
  display: grid;
  gap: 6px;
}
.featureText b {
  font: 800 clamp(30px, 5vw, 48px) / 0.95 var(--display);
  text-transform: uppercase;
}
.featureText > span:last-child {
  color: #ddd;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.catalog {
  padding-top: 40px;
  display: grid;
  gap: 16px;
}
.catHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 6px 0 16px;
  border-radius: var(--r);
  background: var(--s1);
  border: 1.5px solid var(--line);
  color: var(--muted);
}
.search:focus-within {
  border-color: var(--accent);
}
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  outline: none;
  color: var(--ink);
}
.search .btn {
  height: 40px;
}
.results {
  display: grid;
  gap: 10px;
}
.results .muted {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hits {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}
.hit {
  flex: none;
  width: 136px;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 10px;
  border-radius: var(--r);
  background: var(--s1);
  border: 1px solid var(--line);
  scroll-snap-align: start;
  text-align: center;
  transition: border-color 0.15s;
}
.hit:hover {
  border-color: var(--accent);
}
.hit img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 4px;
}
.hit b {
  font-size: 14px;
  line-height: 1.2;
}
.hit small {
  color: var(--muted);
  font-size: 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.card {
  position: relative;
}
.cardBtn {
  width: 100%;
  display: block;
  text-align: left;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--s1);
  border: 1px solid var(--line);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s;
}
.cardBtn:hover {
  transform: translateY(-3px);
  border-color: #ffffff30;
}
.cardImg {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.noart {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--s3), var(--s1));
  color: var(--muted);
  font-size: 40px;
}
.cardInfo {
  display: grid;
  padding: 12px 14px 14px;
}
.cardInfo b {
  font: 800 22px/1 var(--display);
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cardInfo small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.cardPlay {
  position: absolute;
  right: 12px;
  top: calc(100% - 64px - 44px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  opacity: 0;
  transform: translateY(6px);
  transition: 0.2s var(--ease);
  box-shadow: 0 8px 20px -6px #000;
}
.cardBtn:hover .cardPlay,
.cardBtn:focus-visible .cardPlay {
  opacity: 1;
  transform: none;
}
.cardDel {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #000a;
  color: #fff;
  font-size: 13px;
}
.empty {
  color: var(--muted);
  padding: 24px 0;
}
footer {
  margin-top: 48px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- ortak bloklar ---------- */
.block {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
}
.blockHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.blockHead h2 {
  font-size: 22px;
}
.count {
  color: var(--muted);
  font-weight: 700;
}
.center {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 60px 0;
}
.center h1 {
  font-size: clamp(34px, 6vw, 52px);
}
.mono {
  font-family: var(--display);
  letter-spacing: 0.18em;
}
.banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--r);
  background: #ffc23d1c;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
}
.pulse {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 38px;
  color: var(--accent);
  background: #ff5b3a1a;
  animation: pulse 1.6s infinite;
}
.spin {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
  vertical-align: -3px;
  flex: none;
}

/* alt sabit eylem çubuğu */
.dock {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px calc(-1 * var(--pad)) -32px;
  padding: 16px var(--pad);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--bg) 30%);
}
.dock.split {
  justify-content: space-between;
  flex-wrap: wrap;
}
.dock.split .btn.wide {
  flex: 1;
}
.waiting {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  min-height: 46px;
}

/* ---------- lobi ---------- */
.lobby {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
  padding-top: 28px;
}
.lobbyMain {
  display: grid;
  gap: 20px;
}
.roomHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.roomHead h1 {
  margin-top: 8px;
  font-size: clamp(36px, 6vw, 60px);
}
.invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, #ff5b3a26, #ff5b3a08);
  border: 1px solid #ff5b3a44;
}
.codeBox {
  display: grid;
}
.codeBox small {
  color: var(--muted);
  font-weight: 600;
}
.codeBox b {
  font-size: 52px;
  line-height: 1;
  color: var(--ink);
}
.inviteBtns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.queue {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  counter-reset: q;
}
.queue li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--r);
  background: var(--s2);
}
.qImg {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex: none;
  font-size: 22px;
}
.qInfo {
  flex: 1;
  min-width: 0;
  display: grid;
}
.qInfo b {
  font: 800 20px/1.05 var(--display);
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qInfo small {
  color: var(--muted);
  font-size: 13px;
}
.qBtns {
  display: flex;
}
.emptyQueue {
  width: 100%;
  min-height: 110px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  border-radius: var(--r);
  border: 1.5px dashed var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 22px;
  transition:
    border-color 0.15s,
    color 0.15s;
}
.emptyQueue span {
  font-size: 15px;
}
.emptyQueue:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--ink);
}
.settings {
  display: grid;
  gap: 16px;
}
.setRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 600;
}
.setRow small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}
.toggle {
  cursor: pointer;
  flex-wrap: nowrap;
}
.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.toggle .sw {
  flex: none;
  width: 50px;
  height: 30px;
  border-radius: 99px;
  background: var(--s3);
  position: relative;
  transition: background 0.2s;
}
.toggle .sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.2s var(--ease);
}
.toggle input:checked + .sw {
  background: var(--accent);
}
.toggle input:checked + .sw::after {
  transform: translateX(20px);
}
.toggle input:focus-visible + .sw {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.toggle input:disabled + .sw {
  opacity: 0.5;
}
.players ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.players li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 8px;
  border-radius: var(--r);
  background: var(--s2);
}
.players li b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.players li small {
  color: var(--muted);
  font-weight: 500;
}
.players li.off {
  opacity: 0.45;
}
.crown {
  color: var(--gold);
  padding: 0 8px;
}
.players .hint {
  margin-top: 12px;
}

/* ---------- oyun ---------- */
.game {
  display: grid;
  gap: 18px;
  padding-top: 20px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}
.gameBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gq {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.gq > span {
  display: grid;
  min-width: 0;
}
.gq b {
  font: 800 20px/1 var(--display);
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gq small {
  color: var(--muted);
  font-size: 13px;
}
.gImg {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex: none;
  font-size: 20px;
}
.gEnd {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mini {
  display: flex;
  align-items: center;
}
.dotAv {
  margin-left: -6px;
  position: relative;
  transition: transform 0.2s;
}
.dotAv .av {
  filter: grayscale(1) brightness(0.6);
  transition: filter 0.2s;
}
.dotAv.done .av {
  filter: none;
}
.dotAv.done::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--good);
  border: 2px solid var(--bg);
}
.timer {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: none;
}
.timer svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.timer circle {
  fill: none;
  stroke: var(--s3);
  stroke-width: 3;
}
.timer #timerArc {
  stroke: var(--ink);
  stroke-dasharray: 100;
  stroke-linecap: round;
  transition: stroke 0.2s;
}
.timer b {
  font: 800 22px var(--display);
}
.timer.hurry #timerArc {
  stroke: var(--bad);
}
.timer.hurry b {
  color: var(--bad);
  animation: blink 0.5s infinite alternate;
}
.progress {
  height: 4px;
  border-radius: 99px;
  background: var(--s2);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 28px 0 12px;
}
.stage h2 {
  color: var(--muted);
}
.countdown {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  font: 800 120px var(--display);
  color: var(--accent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  text-shadow: 0 0 40px #ff5b3a88;
}
.countdown.on {
  opacity: 1;
}
.countdown.on ~ .disc {
  opacity: 0.15;
}
.disc {
  position: relative;
  width: min(200px, 52vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, var(--accent) 0 17%, #111 17.5% 19%, transparent 19.5%),
    repeating-radial-gradient(circle, #1a1a20 0 2px, #141418 2px 5px);
  box-shadow:
    0 20px 60px -20px #000,
    inset 0 0 0 1px #ffffff10;
  transition:
    transform 0.2s var(--ease),
    opacity 0.3s;
}
.disc:hover:not(:disabled) {
  transform: scale(1.03);
}
.disc:disabled {
  cursor: default;
}
.disc:disabled:not(.on) .discIcon {
  opacity: 0.35;
}
.disc.on {
  animation: rot 2.4s linear infinite;
}
.discIcon {
  position: relative;
  z-index: 1;
  font-size: 30px;
  color: var(--accent-ink);
}
.disc.on .discIcon {
  opacity: 0;
}
.ring {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  transform: rotate(-90deg);
  pointer-events: none;
}
.disc.on .ring {
  animation: rot 2.4s linear infinite reverse;
}
.ring circle {
  fill: none;
  stroke-width: 2.5;
  stroke: transparent;
}
.ring #clipArc {
  stroke: var(--accent);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  stroke-linecap: round;
}
.eq {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  opacity: 0;
  z-index: 1;
}
.disc.on .eq {
  opacity: 1;
  animation: rot 2.4s linear infinite reverse;
}
.eq i {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: var(--accent-ink);
  animation: eq 0.6s ease-in-out infinite alternate;
}
.eq i:nth-child(2) {
  animation-delay: -0.3s;
}
.eq i:nth-child(3) {
  animation-delay: -0.15s;
}
.eq i:nth-child(4) {
  animation-delay: -0.45s;
}
.listenInfo {
  display: grid;
  justify-items: center;
  gap: 8px;
}
.listenInfo b {
  font-size: 15px;
}
.plays {
  display: flex;
  gap: 6px;
}
.plays i {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: var(--s3);
  transition: background 0.2s;
}
.plays i.on {
  background: var(--accent);
}
.answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ans {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: var(--r);
  background: var(--s2);
  border: 1.5px solid transparent;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  transition:
    transform 0.12s var(--ease),
    background 0.15s,
    border-color 0.15s,
    opacity 0.2s;
}
.ans:hover:not(:disabled) {
  background: var(--s3);
  border-color: #ffffff22;
}
.ans:active:not(:disabled) {
  transform: scale(0.98);
}
.ans kbd {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--muted);
  font: 700 14px var(--body);
}
.ansText {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.voters {
  display: flex;
  gap: 2px;
}
.ans:disabled:not(.picked):not(.right):not(.wrong) {
  opacity: 0.55;
}
.ans.picked {
  border-color: var(--ink);
  background: var(--s3);
}
.ans.picked kbd {
  background: var(--ink);
  color: #111;
}
.ans.right {
  border-color: var(--good);
  background: #34d67f1f;
  animation: pop 0.4s var(--ease);
}
.ans.right kbd {
  background: var(--good);
  color: #062514;
}
.ans.wrong {
  border-color: var(--bad);
  background: #ff4d5e1a;
}
.ans.wrong kbd {
  background: var(--bad);
  color: #1b0306;
}
.guess {
  display: flex;
  gap: 10px;
}
.guess input {
  flex: 1;
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  background: var(--s1);
  font-size: 18px;
}
.guess input:focus {
  outline: none;
  border-color: var(--accent);
}
.guess .btn {
  height: 58px;
}
.locked {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border-radius: var(--r);
  background: var(--s2);
  color: var(--muted);
}
.locked b {
  color: var(--ink);
}
.typed {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.typed > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 99px;
  background: var(--s2);
  border: 1.5px solid;
  font-size: 14px;
}
.typed .right {
  border-color: var(--good);
}
.typed .wrong {
  border-color: var(--bad);
  color: var(--muted);
}
.typed b {
  color: var(--ink);
}

.reveal {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--s1);
  border: 1px solid var(--line);
  animation: rise 0.45s var(--ease);
}
.art {
  width: 140px;
  height: 140px;
  border-radius: var(--r);
  object-fit: cover;
  flex: none;
  box-shadow: 0 16px 40px -12px #000;
}
.revealText {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.revealText small {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}
.revealText h2 {
  font-size: clamp(30px, 5vw, 46px);
  overflow-wrap: anywhere;
}
.revealText p {
  color: var(--muted);
}
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--s3);
  font-weight: 800;
}
.verdict.good {
  background: var(--good);
  color: #062514;
}
.verdict.bad {
  background: var(--bad);
  color: #1b0306;
}
.board .row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px;
  border-radius: var(--r-sm);
}
.board .row.me {
  background: var(--s2);
}
.rowName {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 5px;
}
.rowName b {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.meter {
  height: 6px;
  border-radius: 3px;
  background: var(--s3);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  background: var(--good);
  border-radius: 3px;
  animation: grow 0.7s var(--ease);
  transform-origin: left;
}
.pts {
  display: grid;
  justify-items: end;
  min-width: 52px;
  font-weight: 800;
  color: var(--muted);
}
.pts.good {
  color: var(--good);
}
.pts small {
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
}
.tot {
  min-width: 48px;
  text-align: right;
  font: 800 22px var(--display);
}

/* ---------- sıralama ---------- */
.ranking {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-top: 40px;
  text-align: center;
}
.ranking h1 small {
  font-size: 0.45em;
  color: var(--muted);
}
.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  align-items: end;
  gap: 12px;
  margin-top: 20px;
}
.pod {
  display: grid;
  justify-items: center;
  gap: 8px;
  animation: rise 0.6s var(--ease) backwards;
}
.pod b {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pod > span {
  font: 800 22px var(--display);
  color: var(--muted);
}
.step {
  width: 100%;
  display: grid;
  place-items: start center;
  padding-top: 12px;
  border-radius: var(--r) var(--r) 0 0;
  background: var(--s2);
  font: 800 40px var(--display);
  color: var(--muted);
}
.p1 .step {
  height: 150px;
  background: linear-gradient(var(--gold), #b9861b);
  color: #2a1d02;
}
.p1 > span {
  color: var(--gold);
}
.p1 {
  animation-delay: 0.3s;
}
.p2 .step {
  height: 110px;
}
.p3 .step {
  height: 80px;
}
.p3 {
  animation-delay: 0.15s;
}
.list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  width: min(460px, 100%);
  display: grid;
  gap: 6px;
}
.list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--r);
  background: var(--s1);
  color: var(--muted);
}
.list li b {
  flex: 1;
  text-align: left;
  color: var(--ink);
}

/* ---------- alt sayfa (sheet) ---------- */
.sheet {
  width: min(560px, 100vw - 24px);
  max-height: min(88dvh, 820px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--s1);
  color: var(--ink);
  overflow: hidden;
}
.sheet[open] {
  display: flex;
  animation: rise 0.3s var(--ease);
}
.sheet::backdrop {
  background: #000b;
  backdrop-filter: blur(4px);
}
#sheetBody {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheetHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.setupHead > div {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}
.setupHead h2 {
  font-size: 32px;
}
.setupHead .muted {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sImg {
  width: 72px;
  height: 72px;
  border-radius: var(--r);
  object-fit: cover;
  flex: none;
  font-size: 28px;
}
.sheetFoot {
  position: sticky;
  bottom: -22px;
  display: flex;
  gap: 10px;
  margin: 0 -22px -22px;
  padding: 16px 22px 22px;
  background: linear-gradient(transparent, var(--s1) 25%);
}
.sheetFoot .btn {
  flex: 1;
}
.opts {
  display: grid;
  gap: 14px;
}
.opt {
  display: grid;
  gap: 8px;
}
.opt > span,
.field > span {
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}
.field {
  display: grid;
  gap: 8px;
}
.field input {
  height: 52px;
  padding: 0 16px;
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-size: 17px;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
}
.profPreview {
  display: grid;
  place-items: center;
  padding: 6px 0;
}
.pick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pick button,
.upload {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s;
}
.pick button[aria-pressed="true"] {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.pick button:hover {
  transform: scale(1.08);
}
.pick .av {
  width: 44px;
  height: 44px;
  font-size: 20px;
}
.upload {
  border: 1.5px dashed var(--line);
  color: var(--muted);
}
.colors .sw {
  width: 40px;
  height: 40px;
}
.sw.coral {
  background: #ff6a4d;
}
.sw.violet {
  background: #a78bfa;
}
.sw.mint {
  background: #34d6a4;
}
.sw.gold {
  background: #ffc23d;
}
.sw.sky {
  background: #4cc2ff;
}
.sw.rose {
  background: #ff6fae;
}
.tracks {
  border-radius: var(--r);
  background: var(--bg);
  border: 1px solid var(--line);
}
.tracks summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.tracks summary::-webkit-details-marker {
  display: none;
}
.tracks summary span {
  margin-left: auto;
  color: var(--muted);
  font-weight: 600;
}
#trackList {
  padding: 0 12px 12px;
}
.trackTools {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.trackTools input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--s1);
}
.trackRows {
  display: grid;
  max-height: 280px;
  overflow-y: auto;
}
.trackRows label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.trackRows label:hover {
  background: var(--s1);
}
.trackRows label[hidden] {
  display: none;
}
.trackRows span {
  flex: 1;
}
.trackRows small {
  color: var(--muted);
}
.trackRows input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.pickGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
.pickItem {
  display: grid;
  gap: 8px;
  padding: 8px;
  border-radius: var(--r);
  background: var(--s2);
  text-align: left;
  transition: background 0.15s;
}
.pickItem:hover {
  background: var(--s3);
}
.pickItem b {
  font: 800 16px/1.05 var(--display);
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pImg {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  object-fit: cover;
  font-size: 30px;
}

/* bildirim */
#toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 100;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: var(--r);
  background: var(--ink);
  color: #111;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 30px -8px #000;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s var(--ease);
}
#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
#toast.bad {
  background: var(--bad);
  color: #1b0306;
}
body:has(.dock) #toast {
  bottom: max(96px, calc(env(safe-area-inset-bottom) + 80px));
}

/* animasyonlar */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rot {
  to {
    transform: rotate(360deg);
  }
}
@keyframes blink {
  50% {
    opacity: 0.35;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 #ff5b3a55;
  }
  100% {
    box-shadow: 0 0 0 28px #ff5b3a00;
  }
}
@keyframes eq {
  from {
    height: 25%;
  }
  to {
    height: 100%;
  }
}
@keyframes pop {
  0% {
    transform: scale(0.94);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes rise {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- mobil ---------- */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .lobby {
    grid-template-columns: 1fr;
  }
  .players {
    order: -1;
  }
}
@media (max-width: 560px) {
  .meBtn > span:last-child {
    display: none;
  }
  .meBtn {
    padding: 0 4px;
  }
  .heroActions .btn {
    flex: 1;
  }
  .feature {
    min-height: 200px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .feature::after {
    background: linear-gradient(0deg, #0d0d10f0 10%, #0d0d1066 70%, transparent);
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cardInfo b {
    font-size: 19px;
  }
  .cardPlay {
    display: none;
  }
  .answers {
    grid-template-columns: 1fr;
  }
  .ans {
    min-height: 60px;
  }
  .mini {
    display: none;
  }
  .reveal {
    flex-direction: column;
    text-align: center;
  }
  .revealText {
    justify-items: center;
  }
  .art {
    width: 180px;
    height: 180px;
  }
  .codeBox b {
    font-size: 44px;
  }
  .inviteBtns {
    width: 100%;
  }
  .inviteBtns .btn {
    flex: 1;
  }
  .setRow .seg {
    width: 100%;
  }
  .sheet {
    width: 100vw;
    max-width: 100vw;
    margin: auto 0 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    border-bottom: 0;
  }
  .podium {
    gap: 6px;
  }
  .search .btn {
    padding: 0 14px;
  }
}

/* JinjaGames'e dönüş (sitenin diğer uygulamalarıyla aynı düğme) */
.jg-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 38px;
  padding: 0 10px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  flex: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.jg-back:hover {
  color: var(--ink);
  background: var(--s2);
}
.jg-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jg-back + .brand {
  margin-right: auto;
}

/* =====================================================================
   JinjaQuiz eklemeleri: tam isimler, isimli cevaplar, topluluk, animasyon
   ===================================================================== */

/* İsimler asla üç noktayla kesilmez; gerekirse alt satıra geçer. */
.players li b, .rowName b, .pod b, .cardInfo b, .qInfo b, .gq b, .pickItem b, .list li b, .vchip b, .typed b {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.meBtn { max-width: 240px; }

/* ana sayfa: oluştur ve topluluk kartları */
.catHead h2 { margin-right: auto; }
.createBtn { order: 2; }
.catHead .chips { order: 3; flex-basis: 100%; overflow-x: auto; }
.grid .card { animation: rise 0.45s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 35ms); }
.card.community .cardBtn { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.cardInfo small .ic { width: 12px; height: 12px; margin-right: 4px; vertical-align: -1px; }
.cardTools { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.cardTools .icon { width: 32px; height: 32px; border-radius: 50%; background: #000b; color: #fff; display: grid; place-items: center; }
.cardTools .icon:hover { background: var(--accent); color: var(--accent-ink); }

/* lobi: genel sıralama ve geçmiş */
.standHead { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; color: var(--gold); font: 800 15px var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.standings li { animation: rise 0.4s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
.players li.me { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent); }
.rank { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--s3); color: var(--muted); font: 800 15px var(--display); }
.rank.r1 { background: var(--gold); color: #2a1d02; }
.rank.r2 { background: #cfd3dc; color: #1f2228; }
.rank.r3 { background: #d99a63; color: #2b1606; }
.pscore { margin-left: auto; font: 800 22px var(--display); color: var(--ink); }
.history .hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.history .hist li { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r); background: var(--s2); animation: rise 0.4s var(--ease) backwards; }
.history .qImg { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.history .qInfo { flex: 1; min-width: 0; display: grid; gap: 2px; }
.history .qInfo small { color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.history .qInfo em { font-style: normal; color: var(--gold); font-weight: 800; }

/* oyun: kendi puanın ve +puan fırlaması */
.myScore { position: relative; display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.myScore b { font: 800 20px var(--display); }
.myScore small { font-size: 11px; font-weight: 700; opacity: 0.8; }
.myScore.up { animation: bump 0.5s var(--ease); }
.myScore .plus { position: absolute; right: 100%; top: 50%; margin-right: 8px; translate: 0 -50%; font: 800 22px var(--display); font-style: normal; color: var(--gold); white-space: nowrap; animation: floatUp 1.6s var(--ease) both; pointer-events: none; }
.myScore .plus.zero { color: var(--muted); }

/* şıklar: kimin hangi şıkkı seçtiği, adı ve puanıyla */
.ans { flex-wrap: wrap; }
.ans .voters { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; padding-left: 42px; }
.vchip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 999px; background: #0006; font-size: 13px; font-weight: 600; animation: pop 0.3s var(--ease) backwards; }
.vchip.me { box-shadow: inset 0 0 0 1.5px var(--ink); }
.vchip em { font-style: normal; font-weight: 800; color: var(--muted); }
.vchip em.good { color: var(--good); }
.ans.right { animation: rightPop 0.6s var(--ease); }
.ans.wrong { animation: shake 0.45s var(--ease); }
.typed > span { flex-wrap: wrap; }
.typed .said { opacity: 0.85; }
.typed em { font-style: normal; font-weight: 800; margin-left: auto; }
.typed .right em { color: var(--good); }
.reveal { animation: pop 0.45s var(--ease); }
.board .row { animation: rise 0.4s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
.rowName b { font-size: 15px; }

/* sıralama: taç, konfeti, genel toplam */
.ranking { position: relative; padding-bottom: 150px; }
.pod.me b { color: var(--accent-2); }
.crownTop { display: grid; place-items: center; color: var(--gold); font-size: 26px; animation: crown 1.2s var(--ease) 0.6s backwards; }
.p1 .av.lg { box-shadow: 0 0 0 3px var(--gold), 0 0 40px #ffc23d55; }
.totals { width: min(460px, 100%); margin-top: 26px; display: grid; gap: 4px; }
.totals h2 { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 22px; }
.totals h2 small { color: var(--muted); font-size: 0.6em; }
.list li { animation: rise 0.4s var(--ease) backwards; animation-delay: calc(0.5s + var(--i, 0) * 60ms); }
.list li.me { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent); color: var(--ink); }
.list li > span:last-child { margin-left: auto; font: 800 20px var(--display); color: var(--ink); }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 30; }
.confetti i { position: absolute; top: -20px; left: var(--x); width: 9px; height: 14px; border-radius: 2px; background: var(--c); animation: fall var(--t) cubic-bezier(0.3, 0.6, 0.6, 1) var(--d) forwards; opacity: 0; }
.confetti i:nth-child(3n) { width: 7px; height: 7px; border-radius: 50%; }

/* quiz oluştur */
.tsRes { display: grid; gap: 8px; margin-top: 8px; }
.artistAdd { display: flex; flex-wrap: wrap; gap: 6px; }
.chipBtn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--s3); font-size: 13px; font-weight: 600; }
.chipBtn:hover { background: var(--accent); color: var(--accent-ink); }
.tsList, .selList { display: grid; gap: 6px; max-height: 260px; overflow: auto; padding-right: 4px; }
.tsHit, .selRow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; background: var(--s2); text-align: left; }
.tsHit:hover { background: var(--s3); }
.tsHit.on { box-shadow: inset 0 0 0 1.5px var(--good); }
.tsHit.on > .ic { color: var(--good); }
.tsHit img, .selRow img, .tsHit .noart, .selRow .noart { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; display: grid; place-items: center; background: var(--s3); }
.tsHit span, .selRow span { display: grid; min-width: 0; }
.tsHit small, .selRow small { color: var(--muted); font-size: 12px; }
.selRow { animation: rise 0.3s var(--ease) backwards; }

@keyframes floatUp { 0% { opacity: 0; transform: translateY(10px) scale(0.6); } 20% { opacity: 1; transform: translateY(-4px) scale(1.15); } 70% { opacity: 1; transform: translateY(-14px) scale(1); } 100% { opacity: 0; transform: translateY(-30px); } }
@keyframes bump { 40% { transform: scale(1.18); } }
@keyframes rightPop { 0% { transform: scale(1); } 35% { transform: scale(1.04); box-shadow: 0 0 0 8px #34d67f33; } 100% { transform: scale(1); box-shadow: 0 0 0 16px #34d67f00; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes crown { from { opacity: 0; transform: translateY(-20px) rotate(-20deg) scale(0.5); } }
@keyframes fall { 0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); } 100% { opacity: 0.9; transform: translate3d(calc(var(--r) / 6), 105vh, 0) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }
@media (max-width: 600px) {
  .ans .voters { padding-left: 0; }
}

/* ses düzeyi (üst çubuk) */
.vol { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 99px; background: var(--s2); color: var(--muted); cursor: pointer; }
.vol:hover { color: var(--ink); }
.vol input { width: 96px; accent-color: var(--accent); cursor: pointer; }
@media (max-width: 560px) {
  .vol { padding: 0 10px; gap: 6px; }
  .vol input { width: 64px; }
}

/* cevap kartı: YouTube */
.revealActs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.btn.yt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #ff0033; color: #fff; font-weight: 700; text-decoration: none; font-size: 14px; transition: transform 0.15s var(--ease), filter 0.15s; }
.btn.yt:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn.yt .ic { width: 16px; height: 16px; }
@media (max-width: 860px) { .revealActs { justify-content: center; } }

/* =====================================================================
   Quiz oluşturma sayfası (/quiz/create/)
   ===================================================================== */
.crTitle { font: 800 18px var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.cr { padding-bottom: 60px; }
.crGrid { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 20px; }
.crSide { position: sticky; top: 84px; }
.crCard { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); animation: rise 0.4s var(--ease); }
.crCover { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--s2); display: grid; place-items: center; }
.crCover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.crCover .noart { font-size: 40px; color: var(--muted); }
.crCount { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: #000b; font-size: 13px; color: var(--muted); }
.crCount b { color: var(--ink); font: 800 18px var(--display); margin-right: 2px; }
.crSelHead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.crSel { display: grid; gap: 6px; max-height: min(42vh, 420px); overflow: auto; padding-right: 4px; }
.crMain { display: grid; gap: 14px; min-width: 0; }
.crTabs { justify-self: start; }
.crTabs button { display: inline-flex; align-items: center; gap: 8px; }
.crAlt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; cursor: pointer; }
.crAlt input { accent-color: var(--accent); }
.crPad { padding: 18px 4px; }
.crHint { display: grid; justify-items: center; gap: 10px; padding: 48px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-lg); }
.crHint .ic { font-size: 34px; color: var(--accent); }
.crArtists { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.crArtist { display: grid; justify-items: center; gap: 6px; padding: 16px 10px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); text-align: center; transition: transform 0.2s var(--ease), border-color 0.2s; animation: rise 0.35s var(--ease) backwards; }
.crArtist:hover { transform: translateY(-3px); border-color: var(--accent); }
.crArtist img, .crArtist .noart { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--s2); display: grid; place-items: center; }
.crArtist b { overflow-wrap: anywhere; }
.crArtist small { color: var(--muted); font-size: 12px; }
.crArtistHead { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-lg); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 22%, var(--s1)), var(--s1)); }
.crArtistHead img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 30px #0008; }
.crArtistHead h2 { font-size: clamp(28px, 4vw, 40px); }
.crArtistHead .icon .ic { transform: rotate(90deg); }
.crGroup { display: grid; gap: 10px; }
.crGroupHead { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 6px 2px; }
.crGroupHead > b { font: 800 20px var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.crGroupHead > b small { color: var(--muted); font-size: 0.7em; margin-left: 6px; }
.crGroupHead span { display: flex; gap: 8px; }
.crList { display: grid; gap: 6px; }
.crRow { display: grid; grid-template-columns: auto 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; background: var(--s2); animation: rise 0.25s var(--ease) backwards; }
.crRow.sel { grid-template-columns: 24px 40px minmax(0, 1fr) auto; }
.crRow img, .crRow .noart { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--s3); display: grid; place-items: center; }
.crRow.sel img, .crRow.sel .noart { width: 40px; height: 40px; }
.crRow:not(:has(.crPlay)) { grid-template-columns: 44px minmax(0, 1fr) auto; }
.crRow.sel:not(:has(.crPlay)) { grid-template-columns: 24px 40px minmax(0, 1fr) auto; }
.crRow.on:not(.sel) { box-shadow: inset 0 0 0 1.5px var(--good); }
.crMeta { display: grid; min-width: 0; }
.crMeta b { overflow-wrap: anywhere; line-height: 1.25; }
.crMeta small { color: var(--muted); font-size: 12px; }
.crNo { color: var(--muted); font: 700 13px var(--body); text-align: right; }
.crPlay, .crAdd { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--s3); transition: background 0.15s, transform 0.15s var(--ease); }
.crPlay:hover, .crAdd:hover { transform: scale(1.08); }
.crPlay.on { background: var(--accent); color: var(--accent-ink); }
.crAdd[aria-pressed="true"] { background: var(--good); color: #052410; }
.crAdd[aria-pressed="false"]:hover { background: var(--accent); color: var(--accent-ink); }
.crAlbum { border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.crAlbumHead { width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; text-align: left; }
.crAlbumHead img, .crAlbumHead .noart { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--s2); display: grid; place-items: center; }
.crAlbumHead > .ic { transition: transform 0.2s var(--ease); }
.crAlbum.open .crAlbumHead > .ic { transform: rotate(180deg); }
.crAlbumBody { padding: 0 10px 12px; display: grid; gap: 8px; animation: rise 0.3s var(--ease); }
@media (max-width: 900px) {
  .crGrid { grid-template-columns: 1fr; }
  .crSide { position: static; order: 2; }
  .crMain { order: 1; }
  .crSel { max-height: none; }
}

a.brand { color: inherit; text-decoration: none; }

a.btn { text-decoration: none; }

/* =====================================================================
   Ana ekran (yeniden tasarım)
   ===================================================================== */
.hm-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 56px); min-height: min(640px, calc(100vh - 90px)); padding: clamp(28px, 5vw, 64px) 0 40px; isolation: isolate; }
.hm-bg { position: absolute; top: -40px; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; z-index: -1; overflow: hidden; pointer-events: none; mask-image: linear-gradient(#000 70%, transparent); }
.hm-bg > i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: hmFloat 14s ease-in-out infinite alternate; }
.hm-bg .b1 { width: 520px; height: 520px; right: -80px; top: -120px; background: radial-gradient(circle, #ff5b3a, transparent 65%); }
.hm-bg .b2 { width: 420px; height: 420px; left: 30%; bottom: -160px; background: radial-gradient(circle, #8a3cff, transparent 65%); opacity: 0.35; animation-duration: 18s; }
.hm-bg .b3 { width: 300px; height: 300px; left: -80px; top: 10%; background: radial-gradient(circle, #ffc23d, transparent 65%); opacity: 0.18; animation-duration: 22s; }
.hm-eq { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; display: flex; align-items: flex-end; gap: 6px; opacity: 0.22; }
.hm-eq i { flex: 1; height: 20%; border-radius: 4px 4px 0 0; background: linear-gradient(#ff8a5c, #ff5b3a00); animation: hmEq 1.6s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -97ms); }
.hm-eq i:nth-child(3n) { animation-duration: 1.1s; }
.hm-eq i:nth-child(4n + 1) { animation-duration: 2.1s; }

.hm-copy { display: grid; gap: 20px; justify-items: start; animation: rise 0.6s var(--ease); }
.hm-copy h1 { font-size: clamp(56px, 9vw, 118px); line-height: 0.86; letter-spacing: -0.005em; }
.hm-copy h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, #ff5b3a, #ff8a5c 40%, #ffc23d 70%, #ff5b3a); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: hmShine 6s linear infinite; }
.hm-copy p { max-width: 46ch; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }
.hm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-actions .btn { transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.hm-actions .btn:hover { transform: translateY(-2px); }
.hm-actions .btn.primary { box-shadow: 0 10px 30px #ff5b3a55; }
.hm-join { display: grid; grid-template-columns: auto minmax(120px, 190px) auto; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); box-shadow: 0 20px 50px #0007; }
.hm-join > span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; }
.hm-join > span b { color: var(--ink); font-weight: 700; }
.hm-join input { height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); padding: 0 16px; font: 800 22px var(--display); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink); width: 100%; min-width: 0; }
.hm-join input::placeholder { color: #ffffff30; }
.hm-join input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px #ff5b3a22; }
.hm-join .btn { border-radius: 999px; height: 46px; }

/* sahne: plak, iğne, balonlar */
.hm-stage { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
.hm-ring { position: absolute; inset: 2%; }
.hm-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hm-ring circle { fill: none; stroke: #ffffff10; stroke-width: 1.2; }
.hm-ring .arc { stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 100; animation: hmArc 6s linear infinite; filter: drop-shadow(0 0 6px #ff5b3a); }
.hm-vinyl { position: absolute; inset: 13%; border-radius: 50%; background: radial-gradient(circle, #222 0 30%, #0b0b0d 31%, #17171b 60%, #0b0b0d 100%); box-shadow: 0 30px 80px #000c, inset 0 0 0 2px #ffffff0a; animation: spin 7s linear infinite; display: grid; place-items: center; }
.hm-grooves { position: absolute; inset: 6%; border-radius: 50%; background: repeating-radial-gradient(circle, #ffffff08 0 1px, transparent 1px 5px); }
.hm-grooves::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 20%, #ffffff18 26%, transparent 32% 70%, #ffffff10 76%, transparent 82%); }
.hm-label { position: relative; width: 36%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #ff5b3a, #ffc23d); display: grid; place-items: center; font-size: 40px; color: #1a0803; box-shadow: 0 0 0 6px #0b0b0d, 0 0 0 7px #ffffff14; }
.hm-label img { width: 100%; height: 100%; object-fit: cover; }
.hm-label::after { content: ""; position: absolute; width: 10%; aspect-ratio: 1; border-radius: 50%; background: #0b0b0d; box-shadow: 0 0 0 2px #ffffff30; }
.hm-arm { position: absolute; right: 4%; top: 6%; width: 38%; height: 46%; transform-origin: 85% 8%; animation: hmArm 7s ease-in-out infinite; }
.hm-arm::before { content: ""; position: absolute; right: 8%; top: 0; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #d8d8de, #6e6e78); box-shadow: 0 6px 20px #000a; }
.hm-arm i { position: absolute; right: 13%; top: 12%; width: 8px; height: 86%; border-radius: 4px; background: linear-gradient(#e6e6ec, #8b8b95); transform: rotate(22deg); transform-origin: top; }
.hm-arm i::after { content: ""; position: absolute; left: -6px; bottom: -10px; width: 20px; height: 26px; border-radius: 4px; background: #2a2a30; box-shadow: inset 0 0 0 2px #ff5b3a; }
.hm-timer { position: absolute; right: 8%; bottom: 10%; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 16px 40px #ff5b3a66; animation: hmPulse 1s ease-in-out infinite; }
.hm-timer b { font: 800 30px var(--display); line-height: 0.9; }
.hm-timer .ic { font-size: 14px; }
.hm-notes i { position: absolute; left: 50%; top: 50%; font-size: 22px; color: var(--accent-2); opacity: 0; animation: hmNote 4.8s ease-out infinite; animation-delay: calc(var(--k) * 1.2s); }
.hm-cov { position: absolute; width: 22%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 50px #000b; border: 2px solid #ffffff1a; animation: hmBob 6s ease-in-out infinite; }
.hm-cov.c0 { left: -2%; top: -8%; width: 19%; rotate: -10deg; }
.hm-cov.c1 { right: 30%; top: -6%; width: 17%; rotate: 8deg; animation-delay: -2s; }
.hm-cov.c2 { left: -6%; top: 48%; width: 16%; rotate: 6deg; animation-delay: -4s; opacity: 0.85; }

/* nasıl oynanır */

/* katalog: başlık, raflar, kartlar */
.hm-cat { scroll-margin-top: 90px; }
.hm-catHead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 460px); align-items: end; gap: 14px 20px; margin-bottom: 20px; }
.hm-catHead h2 { font-size: clamp(30px, 4vw, 46px); }
.hm-catHead .chips { grid-column: 1 / -1; justify-self: start; overflow-x: auto; max-width: 100%; }
.hm-search { margin: 0; }
.hm-rail { margin-bottom: 34px; }
.hm-railHead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.hm-railHead h3 { display: flex; align-items: center; gap: 10px; font: 800 24px var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.hm-railHead h3 .ic { color: var(--accent); }
.hm-more { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: 14px; padding: 6px 10px; border-radius: 999px; }
.hm-more:hover { color: var(--ink); background: var(--s2); }
.hm-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 180px); gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.hm-rail.wide .hm-track { grid-auto-columns: minmax(200px, 240px); }
.hm-track > * { scroll-snap-align: start; }
.hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.hm-empty { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 18px 4px; }
.hm-empty.cta { padding: 22px; border-radius: var(--r-lg); border: 1px dashed var(--line); color: var(--ink); text-decoration: none; min-width: 300px; }
.hm-empty.cta:hover { border-color: var(--accent); }
.hm-empty.cta > .ic { font-size: 22px; color: var(--accent); }

/* yuvarlak sanatçı kartı */
.acard { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 6px 4px 10px; border-radius: var(--r-lg); animation: rise 0.45s var(--ease) backwards; animation-delay: calc(var(--i) * 60ms); }
.acardArt { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--s2); box-shadow: 0 12px 30px #0008; transition: transform 0.3s var(--ease), box-shadow 0.3s; display: grid; place-items: center; }
.acardArt::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px #ffffff14; transition: box-shadow 0.3s; }
.acardImg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.acardArt .noart { font-size: 40px; color: var(--muted); }
.acardPlay { position: absolute; right: 6%; bottom: 6%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px #ff5b3a77; transform: translateY(10px) scale(0.6); opacity: 0; transition: all 0.25s var(--ease); }
.acard:hover .acardArt { transform: translateY(-4px); box-shadow: 0 20px 44px #000a; }
.acard:hover .acardArt::after { box-shadow: inset 0 0 0 3px var(--accent); }
.acard:hover .acardImg { transform: scale(1.07); }
.acard:hover .acardPlay, .acard:focus-visible .acardPlay { transform: none; opacity: 1; }
.acard b { margin-top: 8px; font: 800 19px var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.acard small { color: var(--muted); font-size: 12px; }

/* kare quiz kartı */
.qcard { position: relative; animation: rise 0.45s var(--ease) backwards; animation-delay: calc(var(--i) * 45ms); }
.qcardBtn { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; text-align: left; background: var(--s2); border: 1px solid var(--line); transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.qcardArt { position: absolute; inset: 0; display: grid; place-items: center; }
.qcardImg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.qcardArt .noart { font-size: 42px; color: var(--muted); }
.qcardBtn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, #000d); }
.qcardTag { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: #000a; backdrop-filter: blur(6px); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.qcard.community .qcardTag { background: var(--accent); color: var(--accent-ink); }
.qcardInfo { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: grid; gap: 3px; }
.qcardInfo b { font: 800 22px/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; text-shadow: 0 2px 10px #000a; }
.qcardInfo small { color: #ffffffb5; font-size: 12px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.qcardPlay { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px #ff5b3a77; transform: translateY(12px) scale(0.6); opacity: 0; transition: all 0.25s var(--ease); }
.qcard:hover .qcardBtn, .qcardBtn:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 50px #000b; border-color: #ffffff30; }
.qcard:hover .qcardImg { transform: scale(1.08); }
.qcard:hover .qcardPlay, .qcardBtn:focus-visible .qcardPlay { transform: none; opacity: 1; }
.qcard:hover .qcardInfo { right: 66px; }
.qcard .cardTools { z-index: 3; }

/* kendi quizini yap */
.hm-make { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 32px; margin: 30px 0 10px; padding: clamp(22px, 4vw, 44px); border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #ff5b3a33, transparent 55%), linear-gradient(140deg, var(--s2), var(--s1)); border: 1px solid var(--line); overflow: hidden; }
.hm-make h2 { font-size: clamp(30px, 4vw, 50px); margin: 6px 0 10px; }
.hm-make p { color: var(--muted); max-width: 50ch; margin-bottom: 18px; }
.hm-makeArt { position: relative; height: 220px; }
.hm-makeArt img { position: absolute; width: 132px; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px #000b; border: 2px solid #ffffff18; left: calc(var(--k) * 16%); top: calc(14% + (var(--k) * 7%)); rotate: calc(-12deg + var(--k) * 6deg); animation: hmBob 6s ease-in-out infinite; animation-delay: calc(var(--k) * -1.1s); transition: translate 0.3s var(--ease); }
.hm-make:hover .hm-makeArt img { translate: 0 -8px; }

@keyframes hmFloat { to { transform: translate(40px, 30px) scale(1.12); } }
@keyframes hmEq { from { height: 12%; } to { height: 95%; } }
@keyframes hmPing { 0% { box-shadow: 0 0 0 0 #34d67f88; } 100% { box-shadow: 0 0 0 10px #34d67f00; } }
@keyframes hmShine { to { background-position: -220% 0; } }
@keyframes hmArc { 0% { stroke-dashoffset: 100; } 100% { stroke-dashoffset: -100; } }
@keyframes hmArm { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(4deg); } }
@keyframes hmBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes hmPulse { 50% { transform: scale(1.08); } }
@keyframes hmNote { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); } 15% { opacity: 0.9; } 100% { opacity: 0; transform: translate(calc(-50% + (var(--k) - 1.5) * 120px), calc(-50% - 220px)) scale(1.2) rotate(calc((var(--k) - 1.5) * 25deg)); } }

@media (max-width: 960px) {
  .hm-hero { grid-template-columns: 1fr; min-height: 0; }
  .hm-stage { width: min(86%, 420px); order: -1; margin-top: 10px; }
  .hm-catHead { grid-template-columns: 1fr; }
  .hm-make { grid-template-columns: 1fr; }
  .hm-makeArt { height: 170px; }
  .hm-makeArt img { width: 104px; }
}
@media (max-width: 640px) {
  .hm-join { grid-template-columns: 1fr auto; border-radius: 22px; padding: 12px; width: 100%; }
  .hm-join > span { grid-column: 1 / -1; }
  .hm-actions { width: 100%; }
  .hm-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hm-timer { width: 58px; height: 58px; }
  .hm-track { grid-auto-columns: minmax(130px, 42vw); }
  .hm-rail.wide .hm-track { grid-auto-columns: minmax(170px, 62vw); }
  .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .qcardInfo b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hm-vinyl, .hm-eq i, .hm-bg > i, .hm-cov, .hm-notes i, .hm-arm { animation: none !important; } }

/* görselsiz kartlar: addan türeyen renkli harf rozeti */
.noart.mono { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, hsl(var(--h) 70% 52%), hsl(calc(var(--h) + 40) 70% 32%)); color: #fff; font: 800 clamp(28px, 6vw, 64px) var(--display); letter-spacing: 0.02em; text-shadow: 0 4px 20px #0005; }
.qImg.noart.mono, .gImg.noart.mono, .sImg.noart.mono, .pImg.noart.mono { font-size: 16px; }
.hm-search { min-width: 0; width: 100%; }
.hm-search input { min-width: 0; }
@media (max-width: 640px) {
  .hm-search .btn { padding: 0 12px; }
}
@media (max-width: 960px) { .hm-catHead { grid-template-columns: minmax(0, 1fr); } .hm-catHead > * { min-width: 0; } }
.hm-cat { grid-template-columns: minmax(0, 1fr); }
.nextQuiz { gap: 10px; }
.rankLeft { display: inline-grid; place-items: center; min-width: 54px; padding: 3px 10px; border-radius: 999px; background: #0003; font: 800 16px var(--display); letter-spacing: 0.04em; }
.waiting .rankLeft { background: var(--s3); color: var(--ink); }
.rankLeft:empty { display: none; }
/* alt bilgi: sade bağlantılar */
footer a { color: var(--ink); text-decoration: none; border-bottom: 1px solid #ffffff2a; transition: color 0.15s, border-color 0.15s; }
footer a:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* =====================================================================
   Trivia
   ===================================================================== */
.noart.mono.emo { font: 400 clamp(44px, 9vw, 84px)/1 system-ui, "Segoe UI Emoji", "Apple Color Emoji", sans-serif; text-shadow: 0 8px 24px #0006; }
.qImg.noart.mono.emo, .gImg.noart.mono.emo, .sImg.noart.mono.emo, .pImg.noart.mono.emo { font-size: 22px; }
.sImg.noart.mono.emo { font-size: 34px; }
.qcard:hover .noart.emo { transform: scale(1.12) rotate(-4deg); }
.qcardArt .noart.emo { transition: transform 0.5s var(--ease); }
.catChips { margin: -4px 0 14px; }
.catChips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.catTiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.catTile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r); text-align: left; background: linear-gradient(135deg, hsl(var(--h) 60% 30% / 0.55), var(--s1) 70%); border: 1px solid var(--line); transition: transform 0.2s var(--ease), border-color 0.2s; }
.catTile:hover { transform: translateY(-2px); border-color: hsl(var(--h) 70% 60%); }
.catTile span { grid-row: span 2; font-size: 28px; line-height: 1; }
.catTile b { font: 800 17px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.catTile small { color: var(--muted); font-size: 12px; }

.tq { position: relative; display: grid; justify-items: center; gap: 14px; margin: 18px 0 16px; padding: clamp(22px, 4vw, 40px) clamp(16px, 4vw, 40px); border-radius: var(--r-lg); background: radial-gradient(120% 120% at 50% 0%, #ff5b3a22, transparent 60%), var(--s1); border: 1px solid var(--line); text-align: center; animation: rise 0.4s var(--ease); }
.tq .countdown { border-radius: inherit; background: color-mix(in srgb, var(--s1) 55%, transparent); }
.tqNo { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--s3); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tqNo .ic { color: var(--accent); }
.tqText { font: 700 clamp(22px, 3.6vw, 34px)/1.25 var(--body); text-transform: none; letter-spacing: 0; max-width: 34ch; overflow-wrap: anywhere; }
.tqAns { display: grid; justify-items: center; gap: 6px; animation: pop 0.45s var(--ease); }
.tqAns small { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.tqAns b { font: 800 clamp(26px, 4vw, 38px) var(--display); color: var(--good); text-transform: uppercase; overflow-wrap: anywhere; }
.tq.done .tqText { font-size: clamp(18px, 2.6vw, 24px); color: var(--muted); }

/* trivia oluşturucu */
.crKind { display: grid; grid-template-columns: 1fr 1fr; }
.crKind button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.crCover.emo { background: linear-gradient(135deg, hsl(var(--h) 70% 45%), hsl(calc(var(--h) + 40) 70% 25%)); font-size: 72px; }
.emojiPick { display: flex; flex-wrap: wrap; gap: 6px; }
.emojiPick button { width: 38px; height: 38px; border-radius: 10px; font-size: 20px; background: var(--s2); border: 1.5px solid transparent; }
.emojiPick button[aria-pressed="true"] { border-color: var(--accent); background: var(--s3); }
.field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.field textarea { resize: vertical; min-height: 64px; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.tvHead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tvHead h2 { font-size: 28px; }
.tvHead h2 small { color: var(--muted); font: 600 15px var(--body); margin-left: 6px; }
.tvHead > span { display: flex; gap: 8px; flex-wrap: wrap; }
.tvList { display: grid; gap: 12px; }
.tvCard { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); animation: rise 0.3s var(--ease); }
.tvCard.bad { border-color: color-mix(in srgb, var(--bad) 60%, var(--line)); }
.tvTop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tvNo { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 800 16px var(--display); }
.tvTop .seg button { padding: 6px 12px; font-size: 13px; }
.tvBtns { margin-left: auto; display: flex; gap: 4px; }
.tvBtns .up { display: inline-flex; transform: rotate(180deg); }
.tvQ { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 600 16px var(--body); resize: vertical; min-height: 56px; }
.tvQ:focus, .tvOpt input:focus { outline: none; border-color: var(--accent); }
.tvOpts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tvOpt { position: relative; display: flex; align-items: center; }
.tvOpt i.dot { position: absolute; left: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--bad); opacity: 0.7; }
.tvOpt.ok i.dot { background: var(--good); opacity: 1; box-shadow: 0 0 0 4px #34d67f33; }
.tvOpt input { width: 100%; padding: 11px 12px 11px 32px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.tvOpt.ok input { border-color: color-mix(in srgb, var(--good) 55%, var(--line)); }
.tvTF { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.tvTF button { padding: 9px 18px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 700; }
.tvTF button[aria-pressed="true"] { background: var(--good); border-color: var(--good); color: #062514; }
.tvHelp { color: var(--muted); font-size: 13px; }
.tvAddBig { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 18px; border-radius: var(--r-lg); border: 1.5px dashed var(--line); color: var(--muted); font-weight: 700; transition: border-color 0.2s, color 0.2s; }
.tvAddBig:hover { border-color: var(--accent); color: var(--ink); }
.tvBulk { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--s2); border: 1px solid var(--line); }
.tvBulk textarea { width: 100%; min-height: 200px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 14px/1.5 ui-monospace, Consolas, monospace; resize: vertical; }
.tvBulk pre { margin: 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg); color: var(--muted); font-size: 12px; white-space: pre-wrap; }
.tvBulk > span { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 640px) {
  .tvOpts { grid-template-columns: minmax(0, 1fr); }
  .catTiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tq { margin-top: 12px; }
}
/* küçük kapaklar: renkli rozet tam genişliğe yayılmasın */
.qImg.noart.mono { width: 52px; height: 52px; }
.history .qImg.noart.mono { width: 44px; height: 44px; }
.gImg.noart.mono { width: 44px; height: 44px; }
.sImg.noart.mono { width: 72px; height: 72px; }
.pImg.noart.mono { width: 100%; height: auto; }
.pImg.noart.mono.emo { font-size: 34px; }

/* =====================================================================
   Katalog sekmeleri ve kart düzeltmeleri
   ===================================================================== */
.hm-hero { min-height: min(560px, calc(100vh - 90px)); }
.hm-tabs { display: flex; gap: 4px; padding: 5px; margin-bottom: 14px; background: var(--s1); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.hm-tabs::-webkit-scrollbar { display: none; }
.hm-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 15px; transition: background 0.2s, color 0.2s; }
.hm-tabs button:hover { color: var(--ink); }
.hm-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -6px var(--accent); }
.hm-tabs button small { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: #ffffff14; font-size: 12px; text-align: center; }
.hm-tabs button[aria-selected="true"] small { background: #0002; }
.subChips { margin: 0 0 18px; }
.subChips button[aria-pressed="true"] { background: var(--ink); color: #111; }
.catChips { display: none; }

/* kartlar: başlık en fazla 3 satır, üzerine gelince yerleşim kaymaz */
.qcardInfo b { font-size: 19px; line-height: 1.02; overflow-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qcardInfo small { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.qcard:hover .qcardInfo { right: 12px; }
.qcardPlay { left: 50%; top: 42%; right: auto; bottom: auto; translate: -50% -50%; width: 52px; height: 52px; }
.qcardArt .noart.mono { font-size: clamp(30px, 4vw, 48px); }
.qcardArt .noart.mono.emo { place-items: start center; padding-top: 17%; font-size: clamp(46px, 5vw, 62px); }
.qcard:hover .noart.emo { transform: none; opacity: 0.35; }
.qcardTag { max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qcard:has(.cardTools) .qcardTag { max-width: calc(100% - 96px); }
.hm-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.hm-empty > .ic { color: var(--accent); }
@media (max-width: 640px) {
  .hm-tabs { width: 100%; }
  .hm-tabs button { padding: 0 14px; font-size: 14px; }
  .qcardInfo b { font-size: 17px; }
  .qcardPlay { width: 44px; height: 44px; }
}
.qcardBtn { aspect-ratio: 4 / 5; }
.qcardArt .noart.mono.emo { padding-top: 16%; font-size: clamp(44px, 4.4vw, 56px); }
.qcardArt .noart.mono:not(.emo) { place-items: start center; padding-top: 22%; }
.hm-makeArt .mkEmo { position: absolute; display: grid; place-items: center; width: 132px; aspect-ratio: 1; border-radius: 18px; font-size: 60px; background: linear-gradient(135deg, hsl(var(--h) 70% 50%), hsl(calc(var(--h) + 40) 70% 28%)); box-shadow: 0 18px 40px #000b; border: 2px solid #ffffff18; left: calc(var(--k) * 16%); top: calc(14% + (var(--k) * 7%)); rotate: calc(-12deg + var(--k) * 6deg); animation: hmBob 6s ease-in-out infinite; animation-delay: calc(var(--k) * -1.1s); }
@media (max-width: 960px) { .hm-makeArt .mkEmo { width: 104px; font-size: 48px; } }
.hm-more { white-space: nowrap; flex: none; }
@media (max-width: 640px) {
  .hm-tabs button { flex: 1 0 auto; justify-content: center; padding: 0 12px; gap: 6px; }
  .hm-tabs button .ic, .hm-tabs button small { display: none; }
  .hm-railHead h3 { font-size: 20px; min-width: 0; }
  .catTile { padding: 10px; column-gap: 8px; }
  .catTile b { font-size: 15px; }
}
@media (max-width: 640px) {
  .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .subChips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .subChips::-webkit-scrollbar { display: none; }
}
/* quiz adları: kelime ortasından bölünmez, en fazla iki satır */
.qInfo b, .gq b, .pickItem b, .cardInfo b { overflow-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.05; }
.gq b { -webkit-line-clamp: 1; }
@media (max-width: 640px) { .gq b { font-size: 17px; } .qInfo b { font-size: 18px; } }
/* Türkçe harflerin çengel ve noktaları (Ş, İ) satırlar arasında çakışmasın */
.hm-copy h1 { line-height: 1.14; }
.hm-copy h1 em { padding-top: 0.06em; display: inline-block; }

/* Logo: degrade konuşma balonu + ekolayzer, degrade yazı */
.brand { gap: 2px; letter-spacing: 0.02em; }
.brand .mark { width: 40px; height: 40px; background: none; border-radius: 0; margin-right: 8px; filter: drop-shadow(0 4px 12px #e3171f66); transition: transform 0.4s var(--ease); }
.brand .mark .logo { width: 100%; height: 100%; display: block; overflow: visible; }
.brand .mark .logo .eq path { transform-box: fill-box; transform-origin: center; }
.brand:hover .mark { transform: rotate(-8deg) scale(1.06); }
.brand:hover .mark .logo .eq path { animation: logoEq 0.9s var(--ease) infinite alternate; }
.brand:hover .mark .logo .eq path:nth-child(2n) { animation-delay: -0.45s; }
.brand span:last-child { background: linear-gradient(100deg, #ff5b3a, #ff8a5c 50%, #ffc23d); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes logoEq { to { transform: scaleY(0.45); } }
@media (prefers-reduced-motion: reduce) { .brand:hover .mark .logo .eq path { animation: none; } }

/* Trivia kapakları: katmanlı, kategoriye göre renklenen afiş */
.noart.art { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 28% 22%, hsl(var(--h) 95% 70% / 0.65), transparent 52%),
    radial-gradient(circle at 85% 95%, hsl(calc(var(--h) + 50) 90% 55% / 0.55), transparent 50%),
    linear-gradient(165deg, hsl(var(--h) 72% 44%), hsl(calc(var(--h) + 28) 70% 18%)); }
.noart.art::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background: radial-gradient(#ffffff38 1.2px, transparent 1.6px) 0 0 / 16px 16px;
  mask-image: linear-gradient(160deg, #000 10%, transparent 70%); -webkit-mask-image: linear-gradient(160deg, #000 10%, transparent 70%); }
.noart.art::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 8%; z-index: -1; border-radius: 50%;
  border: 2px solid #ffffff22; box-shadow: 0 0 0 18px #ffffff0a, 0 0 0 40px #ffffff06; }
.noart.art i { position: absolute; font-style: normal; line-height: 1; font-family: system-ui, "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; pointer-events: none; }
.artMain { left: 50%; top: 34%; translate: -50% -50%; font-size: clamp(52px, 6vw, 76px); filter: drop-shadow(0 10px 18px #0007) drop-shadow(0 0 28px hsl(var(--h) 100% 70% / 0.55)); transition: transform 0.5s var(--ease), opacity 0.25s; }
.artGhost { right: -14%; bottom: 4%; font-size: clamp(110px, 13vw, 160px); opacity: 0.16; rotate: -14deg; filter: saturate(0) brightness(2); }
.artDeco { font-size: clamp(18px, 2vw, 24px); opacity: 0.85; filter: drop-shadow(0 4px 8px #0006); animation: artFloat 5s ease-in-out infinite alternate; }
.artDeco.d1 { left: 12%; top: 46%; rotate: -12deg; }
.artDeco.d2 { right: 12%; top: 16%; rotate: 14deg; animation-delay: -2.5s; }
@keyframes artFloat { to { translate: 0 -8px; } }
.qcard:hover .artMain { transform: scale(1.1) rotate(-6deg); opacity: 0.35; }
.qcard:hover .noart.art { transform: none; }
@media (prefers-reduced-motion: reduce) { .artDeco { animation: none; } }
@media (max-width: 640px) { .artMain { font-size: 50px; } .artDeco { font-size: 17px; } }
.crCover.emo { position: relative; padding: 0; overflow: hidden; }
.crCover.emo > .noart.art { position: absolute; inset: 0; }
.crCover.emo .crCount { z-index: 1; }

/* Sanatçı kartları: oynat düğmesi yerine üstüne gelince plak gibi döner */
.acardArt::before { content: ""; position: absolute; z-index: 2; width: 17%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 4px #ffffff26, 0 0 0 9px #0000004d, inset 0 1px 3px #000a; opacity: 0; scale: 0.3; transition: opacity 0.3s, scale 0.4s var(--ease); pointer-events: none; }
.acardArt::after { z-index: 1; }
.acard:hover .acardArt::before, .acard:focus-visible .acardArt::before { opacity: 1; scale: 1; }
.acard:hover .acardArt::after, .acard:focus-visible .acardArt::after { background: repeating-radial-gradient(circle, transparent 0 3px, #0000001c 3px 4px), radial-gradient(circle, transparent 30%, #00000040 31%, transparent 34%), linear-gradient(135deg, #ffffff26, transparent 45%); }
.acard:hover .acardImg, .acard:focus-visible .acardImg { transform: none; animation: rot 3.2s linear infinite; }
.acard:focus-visible { outline: none; }
.acard:focus-visible .acardArt { box-shadow: 0 0 0 3px var(--accent), 0 20px 44px #000a; }
@media (prefers-reduced-motion: reduce) { .acard:hover .acardImg, .acard:focus-visible .acardImg { animation: none; } }

/* Soru öncesi geri sayım: renk değiştiren halka, her saniye yeniden doğan sayı */
.countdown { --cd: #ff5b3a; font: inherit; text-shadow: none; transition: opacity 0.25s; }
.countdown[data-s="3"] { --cd: #ffc23d; }
.countdown[data-s="2"] { --cd: #ff8a5c; }
.stage .countdown { place-items: start center; padding-top: 28px; }
.cdRing { position: relative; width: min(200px, 52vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--cd) 26%, transparent), transparent 64%), #141419e6;
  box-shadow: inset 0 0 0 1px #ffffff12, 0 30px 80px -24px color-mix(in srgb, var(--cd) 70%, transparent);
  transition: box-shadow 0.4s, background 0.4s; scale: 0.85; }
.countdown.on .cdRing { scale: 1; transition: scale 0.4s var(--ease), box-shadow 0.4s; }
.cdRing svg { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.cdRing circle { fill: none; stroke: #ffffff12; stroke-width: 3.5; }
.cdRing .cdArc { stroke: var(--cd); stroke-dasharray: 100; stroke-linecap: round; filter: drop-shadow(0 0 5px var(--cd)); transition: stroke 0.3s; }
.cdRing b { font: 800 clamp(76px, 20vw, 104px)/0.85 var(--display); color: var(--cd); text-shadow: 0 0 36px color-mix(in srgb, var(--cd) 65%, transparent); transition: color 0.3s; }
.cdRing small { margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.cdRing::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cd); opacity: 0; pointer-events: none; }
.countdown.beat .cdRing b { animation: cdPop 0.55s var(--ease); }
.countdown.beat .cdRing::after { animation: cdWave 0.9s ease-out; }
@keyframes cdPop { from { transform: scale(1.7); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes cdWave { from { opacity: 0.7; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }
.countdown.on ~ .disc { opacity: 0; transform: scale(0.85); }
.tq .countdown { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.tq .cdRing { width: min(170px, 46vw); }
@media (prefers-reduced-motion: reduce) { .countdown.beat .cdRing b, .countdown.beat .cdRing::after { animation: none; } }
/* Dar ekranda oyun çubuğu taşmasın: ses sürgüsü varken yalnızca logo simgesi kalsın */
@media (max-width: 460px) {
  .bar:has(.vol) .brand > b, .bar:has(.vol) .brand > span:not(.mark) { display: none; }
  .bar:has(.vol) .brand .mark { margin-right: 0; }
  .bar:has(.pill.live) .vol input { width: 52px; }
}
/* Trivia kutusu kısa olabilir: halka kutunun yüksekliğine sığsın */
.cdRing { container-type: size; }
.cdRing b { font-size: 50cqh; }
.cdRing small { font-size: max(9px, 5.5cqh); }
.tq .cdRing { width: auto; height: min(170px, calc(100% - 16px)); }

/* Quiz arası: sıradaki quiz herkese görünür (yalnızca kurucu başlatır) */
.nextCard { display: flex; align-items: center; gap: 14px; width: min(460px, 100%); margin: 26px auto 0; padding: 12px 16px 12px 12px; border-radius: 18px; background: linear-gradient(120deg, #ff5b3a1f, #ffffff08 60%); border: 1px solid #ff5b3a44; text-align: left; animation: rise 0.5s var(--ease) both 0.4s; }
.nextCard .qImg { width: 58px; height: 58px; border-radius: 12px; flex: none; }
.nextCard .qInfo { display: grid; gap: 2px; min-width: 0; flex: 1; }
.nextCard .qInfo small:first-child { color: var(--accent, #ff5b3a); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }
.nextCard .qInfo b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nextCard .qInfo small { color: var(--muted, #9a96a3); font-size: 12.5px; }
.nextCard .rankLeft { font-family: var(--display, inherit); font-size: 22px; color: #ffc23d; flex: none; }

/* Quiz oluştur: panel ekrana sığar, yayınla düğmesi hep altta görünür */
.crSide { top: 84px; }
.crCard { display: flex; flex-direction: column; gap: 0; padding: 0; max-height: calc(100dvh - 104px); overflow: hidden; }
.crScroll { display: grid; gap: 14px; padding: 18px 18px 14px; overflow: auto; min-height: 0; flex: 1 1 auto; scrollbar-width: thin; }
.crScroll .crCover { aspect-ratio: 16 / 7; }
.crScroll .crSel { max-height: none; overflow: visible; }
.crFoot { display: grid; gap: 10px; padding: 14px 18px 18px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--s1), color-mix(in srgb, var(--s1) 85%, #000)); flex: none; }
.crFootBtns { display: flex; gap: 8px; }
.crFootBtns .btn.ghost { flex: none; width: 52px; padding: 0; justify-content: center; }
.crProg { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.crProg b { color: var(--text, #f6f1ef); font-size: 15px; }
.crProg i { display: block; height: 5px; border-radius: 99px; background: var(--s3); position: relative; overflow: hidden; }
.crProg i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #ff5b3a, #ffc23d); transition: width 0.4s var(--ease); }
.crProg.ok i::after { background: linear-gradient(90deg, #22c06b, #34d67f); }
.crProg.ok span::after { content: " · hazır"; color: #34d67f; font-weight: 700; }
#crBody.busy > :not(.crPad) { opacity: 0.55; transition: opacity 0.2s; pointer-events: none; }
#crSearch .spin { margin-right: 4px; }
@media (max-width: 900px) {
  .crCard { max-height: none; overflow: visible; }
  .crScroll { overflow: visible; }
  /* Telefonda panel sonuçların altında kalır; yayınla çubuğu ekranın altına sabitlenir. */
  .crFoot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); grid-template-columns: minmax(0, 1fr) auto; align-items: center; box-shadow: 0 -12px 24px #0009; }
  .crFoot .crFootBtns .btn.primary { width: auto; padding-inline: 20px; }
  .crGrid { padding-bottom: 96px; }
}

/* Soru → sonuç geçişinde hiçbir şey kaymasın: sahne ve şıklar sabit yükseklikte */
.game > .stage, .game > .reveal { box-sizing: border-box; min-height: calc(min(200px, 52vw) + 116px); }
.game > .reveal { justify-content: center; }
.tq { min-height: clamp(220px, 32vh, 290px); align-content: center; }
/* Çok oyunculuda kimin hangi şıkkı seçtiği için yer baştan ayrılır; sonuçta kart büyümez */
.answers.multi .ans { min-height: 108px; align-items: flex-start; padding-bottom: 44px; flex-wrap: nowrap; }
.answers.multi .ans .voters { position: absolute; left: 14px; right: 14px; bottom: 9px; padding-left: 40px; flex-wrap: nowrap; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.answers .ans.right, .answers .ans.wrong { animation-name: none; }
.answers .ans.right { box-shadow: 0 0 0 2px var(--good), 0 10px 30px -12px var(--good); }

/* Geri sayımda soru da şıklar da okunamaz */
.tq .countdown { backdrop-filter: blur(18px) saturate(0.6); -webkit-backdrop-filter: blur(18px) saturate(0.6); background: color-mix(in srgb, var(--s1) 70%, transparent); }
.tq:has(.countdown.on) .tqText { filter: blur(14px); }
.game:has(.countdown.on) .answers .ans > * { filter: blur(10px); opacity: 0.6; }
.game:has(.countdown.on) .answers .ans { transition: none; }
.game .answers .ans > * { transition: filter 0.35s var(--ease), opacity 0.35s; }
@media (max-width: 560px) { .answers.multi .ans { min-height: 96px; } .answers.multi .ans .voters { padding-left: 0; } }
.board .meter { position: relative; height: 8px; border-radius: 4px; }
.board .meter span { background: linear-gradient(90deg, #ff5b3a, #ff8a5c); border-radius: 4px; }
.board .meter .gain { position: absolute; top: 0; bottom: 0; background: var(--good); box-shadow: 0 0 10px var(--good); border-radius: 0 4px 4px 0; animation: grow 0.7s 0.2s var(--ease) backwards; }
.board .row.me .meter span:first-child { background: linear-gradient(90deg, #ffc23d, #ff8a5c); }
.disc.tap { animation: tapPulse 1.2s ease-in-out infinite; }
@keyframes tapPulse { 50% { box-shadow: 0 0 0 10px #ff5b3a33, 0 20px 60px -20px #000; transform: scale(1.03); } }
.hidBtn { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--s2); border: 1px solid var(--line); }
.hidBtn small { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 800 11px/18px var(--body); }
.hidList { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hidList li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); background: var(--s2); }
.hidList li > span { display: grid; min-width: 0; }
.hidList b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hidList small { color: var(--muted); font-size: 12px; }

/* Trivia görselleri: soruyla gelen görsel ve cevapla açılan bayrak / görsel / emoji */
.tqPic { max-height: 150px; max-width: min(100%, 320px); border-radius: 12px; object-fit: cover; box-shadow: 0 14px 30px -14px #000; }
.tq:has(.countdown.on) .tqPic { filter: blur(16px); }
.tqAns.hasVis { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; text-align: left; justify-items: start; }
.tqAnsText { display: grid; gap: 6px; justify-items: inherit; min-width: 0; }
.tqVis { display: grid; place-items: center; flex: none; animation: pop 0.5s var(--ease); }
.tqVis.flag img { height: 84px; width: auto; max-width: 140px; border-radius: 8px; box-shadow: 0 0 0 1px #ffffff1f, 0 14px 30px -12px #000; }
.tqVis.pic img { height: 96px; width: auto; max-width: 150px; border-radius: 12px; object-fit: cover; box-shadow: 0 14px 30px -12px #000; }
.tqVis.emo { width: 92px; height: 92px; border-radius: 22px; font-size: 54px; background: radial-gradient(circle at 50% 40%, #ffffff1a, #ffffff05); box-shadow: inset 0 0 0 1px #ffffff14; }
@media (max-width: 560px) {
  .tqVis.flag img { height: 60px; } .tqVis.pic img { height: 70px; } .tqVis.emo { width: 66px; height: 66px; font-size: 38px; border-radius: 16px; }
  .tqAns.hasVis { gap: 12px; }
}
.tvImgBtn { cursor: pointer; display: inline-grid; place-items: center; }
.tvImg { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: var(--s2); }
.tvImg img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.tvImg > span { display: grid; gap: 6px; min-width: 0; }
.tvImg .seg button { font-size: 12.5px; padding: 6px 10px; }
.crBudget { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.crBudget span { display: inline-flex; align-items: center; gap: 6px; }
.crBudget i { height: 5px; border-radius: 99px; background: var(--s3); position: relative; overflow: hidden; }
.crBudget i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: #5aa0ff; border-radius: inherit; }
.crBudget.over { color: #ff6b6b; }
.crBudget.over i::after { background: #ff4d4d; }

/* Trivia: cevap kutusunun yeri soru sorulurken de ayrılır; açılınca hiçbir şey aşağı kaymaz */
.tq .tqAns { min-height: 120px; align-content: center; }
.tq .tqAns.slot { visibility: hidden; }
.tq.done .tqText { font-size: clamp(22px, 3.6vw, 34px); color: var(--muted); }
@media (max-width: 560px) { .tq .tqAns { min-height: 92px; } }
.timer.gone { visibility: hidden; }
#app { overflow-anchor: none; }
.game:has(.countdown.on) .answers .ans > *, .tq:has(.countdown.on) .tqText, .tq:has(.countdown.on) .tqPic { transition: none; }

/* ======================= 2026-11 yeniden düzen ======================= */
/* --- etkileşimli plak --- */
.hm-stage { --tx: 0; --ty: 0; cursor: grab; touch-action: pan-y; transform: perspective(900px) rotateY(calc(var(--tx) * 10deg)) rotateX(calc(var(--ty) * -10deg)); transition: transform 0.4s var(--ease); }
.hm-stage.grab { cursor: grabbing; }
.hm-stage .hm-vinyl { animation: none; will-change: transform; }
.hm-shine { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 8%, #ffffff14 12%, transparent 18% 50%, #ffffff10 56%, transparent 62%); pointer-events: none; }
.hm-stage .hm-label { position: absolute; left: 50%; top: 50%; width: 27%; translate: -50% -50%; rotate: var(--r, 0deg); cursor: pointer; border: 0; padding: 0; z-index: 2; transition: scale 0.25s var(--ease), box-shadow 0.25s; }
.hm-stage .hm-label:hover, .hm-stage .hm-label:focus-visible { scale: 1.07; box-shadow: 0 0 0 6px #0b0b0d, 0 0 0 8px var(--accent), 0 0 40px #ff5b3a88; outline: none; }
.hm-dice { position: absolute; inset: 0; display: grid; place-items: center; background: #000a; color: #fff; opacity: 0; transition: opacity 0.2s; rotate: calc(var(--r, 0deg) * -1); }
.hm-dice .ic { width: 34%; height: 34%; }
.hm-label:hover .hm-dice, .hm-label:focus-visible .hm-dice { opacity: 1; }
.hm-stage .hm-arm { transition: rotate 0.6s var(--ease); }
.hm-stage:hover .hm-arm, .hm-stage.grab .hm-arm { rotate: 8deg; }
.hm-stage.grab .hm-ring .arc { animation-duration: 1.2s; }
button.hm-cov { padding: 0; cursor: pointer; overflow: hidden; background: #000; transition: scale 0.25s var(--ease), box-shadow 0.25s, rotate 0.25s; z-index: 3; }
button.hm-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
button.hm-cov:hover, button.hm-cov:focus-visible { scale: 1.12; rotate: 0deg; box-shadow: 0 0 0 3px var(--accent), 0 24px 50px #000c; outline: none; }
.hm-hint { position: absolute; left: 50%; bottom: -4%; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #0008; border: 1px solid #ffffff14; color: var(--muted); font-size: 12px; white-space: nowrap; backdrop-filter: blur(6px); pointer-events: none; transition: opacity 0.3s; }
.hm-hint .ic { width: 13px; height: 13px; }
.hm-stage.scratched .hm-hint { opacity: 0; }

/* --- mod kartları --- */
.hm-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 8px 0 34px; }
.mode { --c: var(--accent); position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; text-align: left; padding: 18px 44px 18px 18px; border-radius: 20px; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 16%, var(--s1)), var(--s1) 70%); border: 1px solid color-mix(in srgb, var(--c) 22%, #ffffff14); transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s; }
.mode:hover, .mode:focus-visible { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 18px 40px -20px var(--c); outline: none; }
.mode.m-song { --c: #ff5b3a; } .mode.m-trivia { --c: #5aa0ff; } .mode.m-num { --c: #2fd3a6; } .mode.m-party { --c: #ffc23d; }
.modeIc { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); transition: rotate 0.3s var(--ease); }
.modeIc .ic { width: 24px; height: 24px; }
.mode:hover .modeIc { rotate: -8deg; }
.mode b { font: 800 21px var(--display); text-transform: uppercase; letter-spacing: 0.02em; display: flex; align-items: center; gap: 8px; }
.mode b em, .newTag { font-size: 10px; font-weight: 700; font-family: inherit; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: var(--c, #2fd3a6); color: #0b0b0d; }
.newTag { --c: #2fd3a6; margin-left: 6px; vertical-align: 3px; }
.mode small { color: var(--muted); font-size: 13px; }
.modeGo { position: absolute; right: 16px; top: 50%; translate: 0 -50%; color: var(--muted); transition: translate 0.2s, color 0.2s; }
.mode:hover .modeGo { translate: 4px -50%; color: var(--c); }
@media (max-width: 1100px) { .hm-modes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hm-modes { grid-template-columns: 1fr; gap: 10px; } .mode { padding: 14px 40px 14px 14px; } .modeIc { width: 42px; height: 42px; } .mode b { font-size: 19px; } }

/* --- Sayı Quizi kartları --- */
.numGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.numCard { position: relative; display: grid; grid-template-rows: 120px auto; text-align: left; border-radius: 18px; overflow: hidden; background: var(--s1); border: 1px solid #ffffff12; transition: transform 0.25s var(--ease), border-color 0.2s; animation: rise 0.4s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 40ms); }
.hm-track .numCard { width: 240px; flex: none; }
.numCard:hover, .numCard:focus-visible { transform: translateY(-4px); border-color: hsl(var(--h) 80% 60% / 0.6); outline: none; }
.numArt { position: relative; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 120% at 20% 10%, hsl(var(--h) 80% 55% / 0.55), hsl(var(--h) 60% 18%) 70%); overflow: hidden; }
.numArt i { font-style: normal; font-size: 58px; filter: drop-shadow(0 10px 20px #0008); }
.numArt img { position: absolute; width: 46%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 24px #000a; left: calc(8% + var(--j) * 22%); top: calc(14% + var(--j) * 12%); rotate: calc(-8deg + var(--j) * 8deg); }
.numInfo { display: grid; gap: 3px; padding: 12px 14px 14px; }
.numInfo b { font-size: 15.5px; }
.numInfo small { color: var(--muted); font-size: 12.5px; }
.numPlay { position: absolute; right: 12px; top: 96px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 8px 20px #000a; transition: scale 0.2s var(--ease); }
.numCard:hover .numPlay { scale: 1.1; }

/* --- quiz detay sayfası --- */
.dt { padding: 14px 0 60px; animation: rise 0.4s var(--ease); }
.dtBack { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; padding: 8px 12px 8px 6px; border-radius: 10px; margin-bottom: 14px; }
.dtBack:hover { color: #fff; background: var(--s1); }
.dtGrid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 26px; align-items: start; }
.dtCard { position: sticky; top: 84px; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--s1); border: 1px solid #ffffff14; box-shadow: 0 30px 70px -30px #000; }
.dtArt, .dtArt > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.dtArt .noart.art .artMain { font-size: 110px; }
.dtArt .noart.mono { display: grid; place-items: center; font: 800 120px var(--display); }
.dtShade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, #000c 100%); }
.dtCardInfo { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 10px; }
.dtCardInfo h1 { font: 800 clamp(26px, 3.4vw, 40px) / 1.02 var(--display); text-transform: uppercase; letter-spacing: 0.01em; text-shadow: 0 4px 20px #000; }
.dtStats { display: flex; flex-wrap: wrap; gap: 6px; }
.dtStats > span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #000a; border: 1px solid #ffffff1a; font-size: 13px; backdrop-filter: blur(6px); }
.dtStats .ic { width: 14px; height: 14px; }
.dtBy { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #000a; border: 1px solid #ffffff14; width: fit-content; }
.dtBy span { display: grid; line-height: 1.2; } .dtBy small { color: var(--muted); font-size: 11px; }
.dtPanel { display: grid; gap: 14px; padding: 26px; border-radius: 26px; background: var(--s1); border: 1px solid #ffffff12; }
.dtPanel h2 { font: 800 clamp(28px, 3.6vw, 44px) / 1.02 var(--display); text-transform: uppercase; color: #8fb8ff; }
.dtDesc { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.dtLabel { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.dtChoice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dtChoice button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px; border-radius: 16px; background: var(--s2); border: 1.5px solid transparent; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.dtChoice button .ic { width: 22px; height: 22px; flex: none; padding: 10px; box-sizing: content-box; border-radius: 12px; background: var(--s3); }
.dtChoice button span { display: grid; gap: 1px; } .dtChoice button b { font-size: 15.5px; } .dtChoice button small { color: var(--muted); font-size: 12.5px; }
.dtChoice button:hover { background: var(--s3); }
.dtChoice button[aria-pressed="true"] { border-color: #5aa0ff; background: color-mix(in srgb, #5aa0ff 14%, var(--s2)); }
.dtChoice button[aria-pressed="true"] .ic { background: #5aa0ff; color: #0b0b0d; }
.dt[data-play="party"] .onlySolo { opacity: 0.4; pointer-events: none; }
.dt[data-g="survival"]:not([data-play="party"]) .optCount { opacity: 0.35; pointer-events: none; }
.dtOpts .opts { margin: 0; }
.btn.xl { min-height: 62px; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 16px; }
.dtStart { margin-top: 4px; background: linear-gradient(90deg, #ff2d55, #ff5b3a 55%, #ff8a3d); box-shadow: 0 16px 40px -14px #ff3b3b; }
.dtStart:hover { filter: brightness(1.08); }
.dtRec { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, #ffc23d 10%, var(--s2)); color: #ffd77a; font-size: 14px; }
@media (max-width: 860px) { .dtGrid { grid-template-columns: 1fr; } .dtCard { position: relative; top: 0; aspect-ratio: 16 / 10; } .dtPanel { padding: 18px; } }
@media (max-width: 520px) { .dtChoice { grid-template-columns: 1fr; } .dtCard { aspect-ratio: 4 / 3; } }
.recNew { display: inline-flex; align-items: center; gap: 6px; color: #ffd77a; font-weight: 700; }

/* --- ilk sorudan önce açılış kartı --- */
.introCard { position: fixed; inset: 0; z-index: 40; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; background: radial-gradient(70% 60% at 50% 45%, #2346d6, #0f1f6e 70%, #0a0f2e); transition: opacity 0.5s var(--ease), visibility 0.5s; animation: rise 0.5s var(--ease); }
.game:not(:has(.countdown.on)) .introCard { opacity: 0; visibility: hidden; pointer-events: none; }
.inArt { width: 120px; height: 120px; border-radius: 26px; overflow: hidden; box-shadow: 0 20px 50px #0009; position: relative; }
.inArt > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inArt .noart.art .artMain { font-size: 58px; }
.introCard h2 { font: 800 clamp(34px, 6vw, 64px) / 1 var(--display); text-transform: uppercase; max-width: 16ch; text-shadow: 0 6px 30px #0008; }
.introCard p { color: #c9d6ff; font-size: 16px; }
.introCard .kicker { color: #c9d6ff; }
.inNum { margin-top: 10px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 800 32px var(--display); background: #ffffff1c; border: 2px solid #ffffff44; }

/* --- Sayı Quizi oyunu --- */
.nq { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr; background: #08080c; }
.nqTop { position: relative; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(#000c, transparent); }
.nqAsk { display: grid; text-align: center; } .nqAsk small { color: var(--muted); font-size: 12.5px; } .nqAsk b { font: 800 clamp(18px, 2.6vw, 26px) var(--display); text-transform: uppercase; }
.nqStreak { display: grid; justify-items: end; padding: 8px 14px; border-radius: 14px; background: #ffffff10; font-size: 12px; color: var(--muted); }
.nqStreak b { font: 800 24px var(--display); color: #fff; line-height: 1; } .nqStreak small { font-size: 11px; }
.nqBoard { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.nqSide { position: relative; overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 70px 20px 40px; background: radial-gradient(120% 90% at 50% 40%, hsl(var(--h) 60% 30%), hsl(var(--h) 50% 9%)); color: #fff; text-align: center; transition: filter 0.4s; }
.nqSide:not(:disabled):hover { filter: brightness(1.15); }
.nqSide:not(:disabled):hover .nqTap { background: var(--accent); }
.nqBg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; filter: blur(2px) saturate(1.2); transform: scale(1.1); }
.nqSide::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, transparent, #000b); pointer-events: none; }
.nqSide > *:not(.nqBg) { position: relative; z-index: 1; }
.nqEmo { font-size: clamp(70px, 10vw, 120px); filter: drop-shadow(0 14px 30px #000a); }
.nqName { font: 800 clamp(26px, 4vw, 52px) / 1.05 var(--display); text-transform: uppercase; text-shadow: 0 6px 24px #000; max-width: 14ch; }
.nqVal { min-width: 90px; padding: 8px 18px; border-radius: 14px; background: #ffffff14; font: 800 clamp(24px, 3.4vw, 44px) var(--display); color: #fff; }
.nqVal.on { color: #ffd23d; background: #0007; animation: pop 0.4s var(--ease); }
.nqTap { padding: 8px 16px; border-radius: 999px; background: #ffffff1a; font-size: 13px; transition: background 0.2s; }
.nqSide.win .nqVal { color: #4ef08a; } .nqSide.lose { filter: brightness(0.6); }
.nqVs { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 4; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #111; font: 800 24px var(--display); box-shadow: 0 0 0 6px #0006, 0 20px 40px #000a; }
.nqVs.ok { background: #22c55e; color: #fff; font-size: 34px; animation: pop 0.4s var(--ease); }
.nqVs.bad { background: #ef4444; color: #fff; animation: shake 0.45s var(--ease); }
.nqVs .ic { width: 34px; height: 34px; }
.nqOver { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: #000b; backdrop-filter: blur(8px); animation: rise 0.4s var(--ease); text-align: center; }
.nqOver h2 { font: 800 clamp(44px, 7vw, 80px) / 1 var(--display); text-transform: uppercase; margin: 6px 0; }
.nqOver p { color: var(--muted); min-height: 1.4em; }
.nqBtns { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 700px) { .nqBoard { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } .nqSide { padding: 64px 16px 18px; gap: 6px; } .nqSide.s1 { padding-top: 26px; } .nqVs { width: 60px; height: 60px; font-size: 20px; } .nqAsk small { display: none; } }
/* profil: ad + rastgele ad düğmesi */
.nameRow { display: flex; gap: 8px; align-items: stretch; }
.nameRow input { flex: 1; min-width: 0; }
.nameRow .icon { flex: none; }
.muted.small { font-size: 12.5px; margin-top: -4px; }

/* 100vw arka plan katmanları kaydırma çubuğu yüzünden taşmasın */
html { overflow-x: clip; }
/* quiz oluşturma: kapak görseli kutusunu büyütmesin, alttaki alanların üstüne binmesin */
.crScroll { grid-auto-rows: max-content; align-content: start; }
.crCover { flex: none; isolation: isolate; }
.crCover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crCover .crCount { z-index: 1; }
/* yeni modlar: tersten şarkı, anime */
.hm-modes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mode.m-rev { --c: #c46bff; } .mode.m-anime { --c: #ff4f8b; }
@media (max-width: 900px) { .hm-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tqPic.big { max-height: min(260px, 34vh); max-width: min(100%, 220px); object-fit: contain; }

/* geri sayım sürerken soru, görsel ve şıklar hiç görünmez (bulanık değil, tamamen gizli) */
.tq:has(.countdown.on) .tqText, .tq:has(.countdown.on) .tqPic, .tq:has(.countdown.on) .tqNo { opacity: 0; visibility: hidden; }
.game:has(.countdown.on) .answers .ans > * { opacity: 0; visibility: hidden; }
.game:has(.countdown.on) .answers .ans { pointer-events: none; }
.tqText, .tqPic, .answers .ans > * { transition: opacity .35s ease; }

/* ===== Sıralama quizi ===== */
.mode.m-rank { --c: #3ddc97; }
.rkRules { display: grid; gap: 8px; }
.rkRules span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--s2); border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.rkRules b { color: var(--ink); font: 800 18px var(--display); min-width: 44px; }
.rkRules .ic { color: var(--accent); }
.rk, .opq { position: relative; display: grid; gap: 16px; margin: 18px 0 16px; padding: clamp(18px, 3.5vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(120% 90% at 0% 0%, #3ddc9722, transparent 60%), var(--s1); animation: rise 0.4s var(--ease); }
.rk .countdown, .opq .countdown { border-radius: inherit; background: color-mix(in srgb, var(--s1) 92%, transparent); }
.rk:has(.countdown.on) > :not(.countdown), .opq:has(.countdown.on) > :not(.countdown) { visibility: hidden; }
.rkHead { display: flex; align-items: center; gap: 16px; }
.rkPic { width: clamp(64px, 12vw, 96px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--s1), 0 0 0 5px #3ddc97aa, 0 12px 30px -10px #000; }
.rkPic.noart { display: grid; place-items: center; background: var(--s3); color: var(--muted); }
.rkHead h2 { margin: 6px 0 2px; font: 800 clamp(28px, 5vw, 44px) / 1 var(--display); text-transform: uppercase; }
.rkHead p { margin: 0; color: var(--muted); }
.rkList { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rkList li { display: block; }
.rkSlot, .rkRow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 12px; border-radius: var(--r); border: 1px dashed var(--line); background: var(--s2); color: var(--muted); font: inherit; text-align: left; }
.rkSlot.next { border-color: #3ddc97; color: var(--ink); box-shadow: 0 0 0 3px #3ddc9722; animation: rkPulse 1.6s ease-in-out infinite; }
.rkSlot.full { border-style: solid; border-color: #3ddc9766; background: linear-gradient(90deg, #3ddc9722, var(--s2) 70%); color: var(--ink); cursor: pointer; animation: rkIn 0.28s var(--ease); }
.rkSlot.full:hover:not(:disabled) { border-color: var(--bad); }
.rkN { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--s3); color: var(--ink); font: 800 20px var(--display); }
.rkSlot.full .rkN, .rkRow.ok .rkN { background: #3ddc97; color: #04200f; }
.rkT { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.rkX { opacity: 0.5; }
.rkPool { display: flex; flex-wrap: wrap; gap: 8px; }
.rkOpt { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--s2); color: var(--ink); font: 600 14px var(--body); cursor: pointer; transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s, opacity 0.15s; }
.rkOpt:hover { border-color: #3ddc97; transform: translateY(-1px); }
.rkOpt:active { transform: scale(0.96); }
.rkOpt.used { background: #3ddc9726; border-color: #3ddc9788; opacity: 0.7; }
.rkOpt b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #3ddc97; color: #04200f; font-size: 12px; }
.rkDock { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.rkDock .btn.primary { flex: 1 1 220px; }
.rkVerdict { display: flex; justify-content: center; }
.verdict.mid { background: var(--gold); color: #2a1c00; }
.verdict.big { font-size: 18px; padding: 10px 18px; animation: rightPop 0.6s var(--ease); }
.rkRow { border-style: solid; color: var(--ink); opacity: 0; animation: rkIn 0.35s var(--ease) forwards; animation-delay: calc(var(--i) * 0.12s); }
.rkRow.ok { border-color: #3ddc97; background: linear-gradient(90deg, #3ddc9730, var(--s2) 70%); }
.rkRow.near { border-color: var(--gold); }
.rkRow.near .rkN { background: var(--gold); color: #2a1c00; }
.rkRow.miss { border-color: #ff4d5e66; }
.rkSaid { display: inline-flex; align-items: center; gap: 6px; flex: none; max-width: 45%; color: var(--muted); font-size: 13px; }
.rkSaid small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rkRow.ok .rkSaid { color: #3ddc97; }
.rkRow.near .rkSaid { color: var(--gold); }
.rkRow.miss .rkSaid { color: var(--bad); }
@keyframes rkIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes rkPulse { 50% { box-shadow: 0 0 0 6px #3ddc9711; } }
@media (prefers-reduced-motion: reduce) { .rkSlot.next, .rkRow, .rkSlot.full { animation: none; opacity: 1; } }

/* ===== Anime opening quizi ===== */
.opq { background: radial-gradient(120% 90% at 100% 0%, #ff4f8b22, transparent 60%), var(--s1); justify-items: center; text-align: center; }
.opScreen { width: min(100%, 640px); aspect-ratio: 16 / 9; border-radius: var(--r); background: #000; }
.opTap { justify-self: center; }
.ytHost { position: fixed; z-index: 5; overflow: hidden; border-radius: var(--r); background: #000; }
.ytHost[hidden] { display: none; }
.ytHost iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.ytCover { position: absolute; inset: 0; z-index: 2; display: none; place-content: center; justify-items: center; gap: 10px; background: radial-gradient(80% 80% at 50% 40%, #5c1a33, #1a0610 75%); color: #fff; }
.ytHost.covered .ytCover { display: grid; }
.ytHost.pre .ytCover .eq i { animation-play-state: paused; }
.ytCover .eq { position: static; opacity: 1; height: 40px; gap: 5px; }
.ytCover .eq i { width: 7px; background: #fff; }
.ytCover b { font: 800 28px var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.ytCover small { color: #ffd0e0; }
.opAns { display: grid; gap: 14px; }
.opRow h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 800 18px var(--display); text-transform: uppercase; color: var(--muted); }
.opRow h3 .ic { color: #ff4f8b; }
.game:has(.countdown.on) .opAns, .game:has(.countdown.on) + .dock .rkDock { visibility: hidden; }

/* ===== Quiz oluştur: önce tür seçimi ===== */
.crChoose { max-width: 980px; margin: 8px auto 40px; display: grid; gap: 10px; }
.crChoose h2 { margin: 0 0 12px; font: 800 clamp(30px, 5vw, 48px) / 1 var(--display); text-transform: uppercase; }
.crKinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.crKindCard { --c: var(--accent); position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-items: center; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 60%), var(--s1); color: var(--ink); font: inherit; text-align: left; cursor: pointer; animation: rise 0.45s var(--ease) both; animation-delay: calc(var(--i) * 0.06s); transition: transform 0.2s var(--ease), border-color 0.2s; }
.crKindCard:hover { transform: translateY(-3px); border-color: var(--c); }
.crKindCard.k-trivia { --c: #4f8bff; } .crKindCard.k-rank { --c: #3ddc97; } .crKindCard.k-op { --c: #ff4f8b; }
.crKindIc { grid-row: span 2; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: color-mix(in srgb, var(--c) 22%, var(--s2)); color: var(--c); }
.crKindIc .ic { width: 28px; height: 28px; }
.crKindCard b { font: 800 24px var(--display); text-transform: uppercase; }
.crKindCard b em { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--c); color: #0a0a0c; font: 800 11px var(--body); font-style: normal; vertical-align: middle; }
.crKindCard small { grid-column: 2; color: var(--muted); font-size: 14px; line-height: 1.4; }
.crKindGo { grid-row: 1 / span 2; grid-column: 3; color: var(--muted); }
@media (max-width: 700px) { .crKinds { grid-template-columns: 1fr; } .crKindCard { padding: 16px; } .crKindIc { width: 48px; height: 48px; } }
.crKindNow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); background: var(--s2); border: 1px solid var(--line); }
.crKindNow > .ic { color: var(--accent); }
.crKindNow span { flex: 1; display: grid; }
.crKindNow small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
/* sıralama: otomatik hazırlanırken adımlar */
.crBuild { display: flex; align-items: center; gap: 22px; padding: 28px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); animation: rise 0.4s var(--ease); }
.crBuild img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; animation: rkSpinIn 1.4s var(--ease) infinite alternate; }
.crBuildSteps { display: grid; gap: 8px; }
.crBuildSteps b { font: 800 30px var(--display); text-transform: uppercase; }
.crBuildSteps span { display: flex; align-items: center; gap: 8px; color: var(--muted); animation: rise 0.4s var(--ease) both; }
.crBuildSteps span:nth-child(3) { animation-delay: 0.45s; }
.crBuildSteps span:nth-child(4) { animation-delay: 0.9s; }
.crBuildSteps span.on { color: var(--ink); }
@keyframes rkSpinIn { to { transform: scale(1.06) rotate(4deg); box-shadow: 0 0 0 6px #3ddc9733; } }
.crRankDone { display: grid; gap: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid #3ddc9755; animation: rise 0.4s var(--ease); }
.crRankDone .crGroupHead b { display: inline-flex; gap: 6px; align-items: center; color: #3ddc97; }
.crRankTop { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 6px; }
.crRankTop li { counter-increment: r; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--s2); font-weight: 700; }
.crRankTop li::before { content: counter(r); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #3ddc97; color: #04200f; font: 800 18px var(--display); }
.crRankPool { display: flex; flex-wrap: wrap; gap: 6px; }
.crRankPool span { padding: 6px 10px; border-radius: 99px; background: var(--s2); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.crRankPool span.top { border-color: #3ddc9788; color: var(--ink); }
.crSide .rkRules { margin-top: 4px; }
/* anime opening kartları */
.crHint.small { padding: 14px 16px; text-align: left; display: flex; gap: 12px; align-items: flex-start; }
.crHint.small p { margin: 0; }
.opList { display: grid; gap: 12px; margin: 12px 0; }
.opCard { display: grid; grid-template-columns: 168px 1fr auto; gap: 14px; align-items: start; padding: 14px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.opThumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--s3); display: grid; place-items: center; color: var(--muted); }
.opThumb img { width: 100%; height: 100%; object-fit: cover; }
.opThumb b { position: absolute; top: 6px; left: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #ff4f8b; color: #fff; font: 800 15px var(--display); }
.opThumb small { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; background: #000c; color: #fff; font-size: 11px; }
.opFields { display: grid; gap: 8px; min-width: 0; }
.opTwo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opFields input.bad { border-color: var(--bad); }
@media (max-width: 700px) { .opCard { grid-template-columns: 1fr auto; } .opThumb { grid-column: 1 / -1; grid-row: 1; } .opTwo { grid-template-columns: 1fr; } }
.rkList li.rkRow { display: flex; }
.rkRow .rkSaid { margin-left: auto; }
.ytHost.pre { visibility: hidden; }
/* sıralama: sürükle-bırak */
.rkOpt, .rkSlot.full { -webkit-user-select: none; user-select: none; }
.rkGrip { color: var(--muted); letter-spacing: -2px; font-style: normal; opacity: 0.6; cursor: grab; }
body.rkDragging, body.rkDragging * { cursor: grabbing !important; -webkit-user-select: none; user-select: none; }
.rkOpt.dragging, .rkSlot.dragging { opacity: 0.35; }
.rkOpt.armed, .rkSlot.armed { transform: scale(1.05); border-color: #3ddc97; }
.rkSlot.over { border-style: solid; border-color: #3ddc97; background: #3ddc9722; box-shadow: 0 0 0 3px #3ddc9744; }
.rkGhost { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; padding: 10px 16px; border-radius: 99px; background: #3ddc97; color: #04200f; font: 700 14px var(--body); white-space: nowrap; box-shadow: 0 14px 30px -8px #000c; }
/* sekmeler: geniş ekranda alt satıra geçer (kesilmez); telefonda kaydırılır, sağda soluklaşma devamı gösterir */
@media (min-width: 760px) { .hm-tabs { flex-wrap: wrap; overflow: visible; border-radius: 26px; } }
@media (max-width: 759px) {
  .hm-tabs { width: 100%; border-radius: 18px; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .hm-tabs.atEnd { -webkit-mask-image: none; mask-image: none; }
  .hm-tabs button { padding: 0 14px; }
}
/* kart etiketleri ve alt yazılar kesilmesin: gerekirse iki satıra iner */
.qcardTag { white-space: normal; text-overflow: clip; overflow: visible; line-height: 1.15; letter-spacing: 0.03em; overflow-wrap: anywhere; }
.qcard:has(.cardTools) .qcardTag { font-size: 10px; padding: 4px 8px; }
.qcardInfo small { flex-wrap: wrap; white-space: normal; overflow: visible; row-gap: 0; line-height: 1.3; }
@media (max-width: 759px) {
  .subChips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .subChips.atEnd { -webkit-mask-image: none; mask-image: none; }
}
.crRankTop.hidden li { color: var(--muted); }
.crLock { display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.1em; }
.crRankPoolInfo { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.rkPlays { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: #ffffff12; color: var(--muted); font: 700 12px var(--body); vertical-align: middle; }
.rkPlays .ic { width: 12px; height: 12px; }
/* Sayı quizi bitişi: ekranı bulanıklaştırmayan, ortada duran küçük panel; iki taraftaki sayılar görünür kalır */
.nqOver { inset: auto; left: 50%; top: 50%; translate: -50% -50%; width: min(340px, calc(100% - 32px)); padding: 20px 22px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px #000e; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nqOver h2 { font-size: clamp(38px, 6vw, 56px); }
.nqOver .nqBtns { justify-content: center; }
/* yüklenirken iskelet görünüm */
.sk { display: block; border-radius: 10px; background: linear-gradient(90deg, var(--s2) 0%, var(--s3) 45%, var(--s2) 90%); background-size: 220% 100%; animation: skShine 1.3s ease-in-out infinite; }
@keyframes skShine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
.skWrap { display: grid; gap: 8px; }
.skRow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--s1); animation: rise 0.35s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.skAv { width: 42px; height: 42px; flex: none; border-radius: 10px; }
.skCol { flex: 1; display: grid; gap: 8px; }
.skL { height: 11px; }
.skCard { flex: none; display: grid; gap: 8px; width: 190px; padding: 10px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--s1); }
.skArt { aspect-ratio: 1; border-radius: var(--r); }
.skGrid .skCard { width: auto; }
.skNote { margin: 0 0 10px; }
@media (max-width: 600px) { .skCard { width: 150px; } }

/* --- puan sıralaması (quiz detayı ve quiz sonu) --- */
.lb { display: grid; gap: 12px; width: 100%; padding: 20px; border-radius: 26px; background: var(--s1); border: 1px solid #ffffff12; text-align: left; }
.lbHead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lbHead h3 { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.lbHead h3 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbHead h3 .ic { flex: none; color: var(--gold); }
.lbHead small { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--s2); color: var(--muted); font-size: 12px; font-weight: 700; }
.lbNote { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 10%, var(--s2)); color: #ffd77a; font-size: 14px; line-height: 1.35; }
.lbNote .ic { flex: none; }
.lbList { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lbList li { display: grid; grid-template-columns: 28px auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px 6px 8px; border-radius: 12px; background: var(--s2); }
.lbList li b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.lbN { text-align: center; font: 800 18px var(--display); color: var(--muted); }
.lbS { font: 800 20px var(--display); font-variant-numeric: tabular-nums; }
.lbList li em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: #5aa0ff; color: #08121f; }
.lbList li.t1 .lbN { color: var(--gold); }
.lbList li.t2 .lbN { color: #d6dbe4; }
.lbList li.t3 .lbN { color: #e0a272; }
.lbList li.me { background: color-mix(in srgb, #5aa0ff 18%, var(--s2)); box-shadow: inset 0 0 0 1.5px #5aa0ff; }
.lbList li.me b, .lbList li.me .lbS { color: #b9d6ff; }
.lbList li.lbGap { display: flex; justify-content: center; gap: 5px; min-height: 18px; padding: 0; background: none; }
.lbGap i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: 0.6; }
.lbEmpty { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--s2); color: var(--muted); font-size: 14px; }
.lbEmpty .ic { flex: none; color: var(--gold); }
.lbRule { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.lbRule b { color: var(--ink); }
.lb .skWrap { gap: 4px; }
.seg button.lbTen::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.ranking .lb { width: min(460px, 100%); margin-top: 18px; }
/* detay sayfası: geniş ekranda üçüncü sütun, daha darda panellerin altında */
.dtBoard { grid-column: 1 / -1; }
@media (min-width: 1280px) {
  .wrap:has(> .dt.hasLb) { max-width: 1440px; }
  .dt.hasLb .dtGrid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr) minmax(300px, 0.72fr); }
  .dt.hasLb .dtBoard { grid-column: auto; position: sticky; top: 84px; }
}
@media (max-width: 520px) { .lb { padding: 14px; border-radius: 20px; } .lbList li { gap: 8px; padding: 6px 10px 6px 6px; } .lbHead h3 { font-size: 20px; } }
/* telefonda alt bilgi bağlantılarına rahat dokunulsun (en az ~40px yükseklik) */
@media (pointer: coarse) { footer a { display: inline-block; padding: 11px 2px; border-bottom: 0; text-decoration: underline; text-decoration-color: #ffffff2a; text-underline-offset: 4px; } }

/* --- oyun modu: Puanlı / Serbest --- */
[data-g="ranked"] .optCount, [data-g="ranked"] #tracksBox { display: none; }
.rankedNote { display: none; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 10%, var(--s2)); color: #ffd77a; font-size: 14px; line-height: 1.4; }
.rankedNote .ic { flex: none; margin-top: 2px; }
.rankedNote b { color: #fff3cf; }
[data-g="ranked"] .rankedNote { display: flex; }
.dtChoice.modes.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .dtChoice.modes.three { grid-template-columns: 1fr; } }
#sheetBody .dtChoice { margin-bottom: 4px; }

/* --- sıralama quizi sonucu: senin sıran ↔ doğru sıra --- */
.rkLegend { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.rkLegend span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--s2); font-size: 13px; font-weight: 600; }
.rkLegend .ok { color: #3ddc97; } .rkLegend .near { color: var(--gold); } .rkLegend .miss { color: var(--bad); }
.rkList li.rkCmp { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--s2); opacity: 0; animation: rkIn 0.35s var(--ease) forwards; animation-delay: calc(var(--i) * 0.12s); }
.rkCmp > div { display: grid; gap: 2px; min-width: 0; text-align: left; justify-items: start; }
.rkCmp small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rkCmp span { font-weight: 700; overflow-wrap: anywhere; }
.rkCmp em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12.5px; color: var(--muted); }
.rkTrue { padding-left: 12px; border-left: 1px dashed var(--line); }
.rkMark { display: grid; justify-items: center; gap: 2px; width: 46px; font: 800 20px var(--display); font-style: normal; }
.rkMark small { font: 700 12px var(--body); letter-spacing: 0; text-transform: none; color: inherit; }
.rkCmp.ok { border-color: #3ddc97; background: linear-gradient(90deg, #3ddc9726, var(--s2) 60%); }
.rkCmp.ok .rkN { background: #3ddc97; color: #04200f; }
.rkCmp.ok .rkMark, .rkCmp.ok .rkMine em { color: #3ddc97; }
.rkCmp.near { border-color: var(--gold); }
.rkCmp.near .rkN { background: var(--gold); color: #2a1c00; }
.rkCmp.near .rkMark, .rkCmp.near .rkMine em { color: var(--gold); }
.rkCmp.miss { border-color: #ff4d5e88; }
.rkCmp.miss .rkMark, .rkCmp.miss .rkMine em { color: var(--bad); }
.rkCmp.miss .rkMine span { color: var(--muted); text-decoration: line-through; text-decoration-color: #ff4d5e99; }
@media (max-width: 560px) {
  .rkList li.rkCmp { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "n mine mark" "n true true"; }
  .rkCmp .rkN { grid-area: n; align-self: start; }
  .rkMine { grid-area: mine; } .rkMark { grid-area: mark; }
  .rkTrue { grid-area: true; padding: 6px 0 0; border-left: 0; border-top: 1px dashed var(--line); }
}
@media (prefers-reduced-motion: reduce) { .rkCmp { animation: none; opacity: 1; } }

/* ---------- Sıralama oyun ekranı: derli toplu, tek bakışta oynanır ---------- */
.rk { container-type: inline-size; gap: 12px; margin: 10px 0 12px; padding: clamp(12px, 2.6vw, 22px); }
.rkHead { gap: 12px; }
.rk .rkPic { width: 48px; box-shadow: 0 0 0 2px var(--s1), 0 0 0 4px #3ddc97aa; }
.rk.done .rkPic { width: 56px; }
.rkHead h2 { margin: 0 0 2px; font: 800 clamp(20px, 3.4vw, 26px) / 1.1 var(--display); text-transform: none; }
.rkHead p { font-size: 14px; }
.rkPlay { display: grid; gap: 12px; }
.rkPlay .rkList { gap: 6px; align-content: start; }
.rkPlay .rkSlot { min-height: 44px; padding: 6px 10px; gap: 10px; }
.rkPlay .rkN { width: 28px; height: 28px; border-radius: 8px; font-size: 17px; }
.rkPlay .rkSlot:not(.full):not(.next) { background: transparent; border-color: color-mix(in srgb, var(--line) 70%, transparent); }
.rkPlay .rkSlot:not(.full):not(.next) .rkN { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.rkPlay .rkSlot:not(.full) .rkT { font-size: 14px; font-weight: 600; }
.rkPlay .rkSlot.next { animation: none; }
.rkPlay .rkPool { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-content: start; }
.rkPlay .rkOpt { justify-content: flex-start; min-height: 44px; padding: 7px 10px; border-radius: 10px; font-size: 13.5px; line-height: 1.2; text-align: left; overflow-wrap: anywhere; }
.rkPlay .rkOpt:hover { transform: none; }
.rkPlay .rkOpt b { flex: none; }
.rkPlay .rkOpt.used { opacity: 0.45; }
@container (min-width: 620px) {
  .rkPlay { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; align-items: start; }
  .rkPlay .rkList { position: sticky; top: 12px; }
}
.rkDock .btn.primary:disabled { opacity: 1; background: var(--s2); color: var(--muted); border-color: var(--line); }
.dock .rkDock { flex: 1; flex-wrap: nowrap; }
@media (max-width: 760px) {
  .rkDock .btn.ghost span { display: none; }
  .rkDock .btn.ghost { flex: none; padding-inline: 14px; }
}

/* Sıralama sonucu, telefonda: her sıra tek satır (Senin | Doğru); rozet rengi doğru/yakın/yanlışı gösterir */
@media (max-width: 560px) {
  .rkList li.rkCmp { grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "n mine true"; gap: 8px; padding: 8px 10px; }
  .rkCmp .rkMark { display: none; }
  .rkCmp .rkN { width: 28px; height: 28px; font-size: 16px; align-self: center; }
  .rkCmp.miss .rkN { background: #ff4d5e2e; color: var(--bad); }
  .rkTrue { grid-area: true; padding: 0 0 0 8px; border-top: 0; border-left: 1px dashed var(--line); }
  .rkCmp span { font-size: 14px; line-height: 1.25; }
  .rkCmp em { font-size: 11.5px; }
  .rkCmp small { font-size: 10px; }
  .rkLegend { gap: 6px; }
  .rkLegend span { padding: 4px 10px; font-size: 12px; }
}

/* Opening: örtü tamamen opak (video başlığı alttan okunmasın); görüntü açıkken de soru sırasında üst başlık ve alt "diğer videolar" şeridi örtülü */
.ytHost.q::before, .ytHost.q::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; background: #000; pointer-events: none; }
.ytHost.q::before { top: 0; height: 18%; min-height: 48px; }
.ytHost.q::after { bottom: 0; height: 16%; min-height: 44px; }
.ytCover .bad { display: none; }
.ytHost.failed .ytCover .ok { display: none; }
.ytHost.failed .ytCover .bad { display: block; }
.ytHost.failed .ytCover .eq { display: none; }
.opTap.pulse { border-color: var(--accent); color: var(--ink); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: opPulse 1.4s ease-out infinite; }
@keyframes opPulse { to { box-shadow: 0 0 0 12px transparent; } }
@media (prefers-reduced-motion: reduce) { .opTap.pulse { animation: none; } }
.opPaused { display: inline-flex; align-items: center; gap: 6px; justify-self: center; margin: 0; font-size: 14px; }
/* ---------- lobide "Quiz ekle" penceresi: türlere ayrılmış ---------- */
.sheet[data-kind="picker"] { width: min(860px, 100vw - 24px); height: min(88dvh, 860px); }
.sheet[data-kind="picker"] #sheetBody { padding-top: 0; gap: 14px; }
.pickTop { position: sticky; top: 0; z-index: 2; display: grid; gap: 10px; margin: 0 -22px; padding: 18px 22px 12px; background: var(--s1); border-bottom: 1px solid var(--line); }
.pickTabs { display: flex; gap: 4px; padding: 4px; background: var(--s2); border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.pickTabs::-webkit-scrollbar { display: none; }
.pickTabs button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 14px; transition: background 0.2s, color 0.2s; }
.pickTabs button:hover { color: var(--ink); }
.pickTabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.pickTabs button small { min-width: 20px; padding: 1px 6px; border-radius: 99px; background: #ffffff14; font-size: 11px; text-align: center; }
.pickTabs button[aria-selected="true"] small { background: #0002; }
.pickTop .subChips { margin: 0; }
.pickTop .search { margin: 0; }
.pickGrid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.pickItem { align-content: start; gap: 6px; }
.pickItem small { display: flex; align-items: center; gap: 4px; min-width: 0; color: var(--muted); font-size: 12px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pickItem small .ic { flex: none; width: 12px; height: 12px; }
.pickMake { background: transparent; border: 2px dashed var(--line); color: var(--ink); }
.pickMake:hover { border-color: var(--accent); background: var(--s2); }
.pickMake .pImg { display: grid; place-items: center; background: var(--s2); color: var(--accent); }
.pickMake .pImg .ic { width: 40%; height: 40%; }
.pickNote { margin: 0; text-align: center; }
#pickResults:empty { display: none; }
@media (max-width: 560px) {
  .sheet[data-kind="picker"] { width: 100vw; height: 92dvh; max-height: 92dvh; }
  .pickTop { padding-top: 14px; }
  .pickGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pickItem { padding: 6px; }
  .pickItem b { font-size: 13px; }
  .pickItem small { font-size: 11px; }
  .pickTabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 16px; overflow: visible; }
  .pickTabs button { min-height: 36px; padding: 0 4px; gap: 4px; border-radius: 12px; font-size: 12.5px; }
  .pickTabs button .ic { display: none; }
  .pickTabs button small { min-width: 0; padding: 0 4px; font-size: 10px; }
}
/* oluşturma sayfası lobiden açıldıysa: bitti ekranı */
.lobbyDone { display: grid; justify-items: center; gap: 12px; max-width: 520px; margin: 12vh auto; padding: 0 16px; text-align: center; }
.lobbyDone > .ic { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
/* ---------- açık lobiler ---------- */
.hm-lobbies { margin: 0 0 30px; }
.hm-more .ic { width: 15px; height: 15px; }
.lbyRow { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.lbyCard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 6px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(140deg, color-mix(in srgb, #2fd3a6 12%, var(--s1)), var(--s1) 70%); border: 1px solid color-mix(in srgb, #2fd3a6 22%, #ffffff14); text-align: left; transition: transform 0.2s var(--ease), border-color 0.2s; }
.lbyCard:hover, .lbyCard:focus-visible { transform: translateY(-3px); border-color: #2fd3a6; outline: none; }
.lbyCard > .av { grid-row: 1 / 3; }
.lbyInfo { display: grid; gap: 2px; min-width: 0; }
.lbyInfo b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbyInfo small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbyInfo small .ic { flex: none; width: 13px; height: 13px; }
.lbyCount { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; color: var(--muted); }
.lbyCount .ic { width: 14px; height: 14px; }
.lbyGo { grid-column: 2 / 4; justify-self: end; display: inline-flex; align-items: center; gap: 2px; font-weight: 800; font-size: 14px; color: #2fd3a6; }
.lbyGo .ic { width: 16px; height: 16px; }
.lbyCard.sk { min-height: 78px; background: var(--s1); border-color: var(--line); animation: skPulse 1.2s ease-in-out infinite alternate; }
@keyframes skPulse { to { opacity: 0.55; } }
.lbyEmpty { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 18px; border-radius: 18px; border: 1px dashed var(--line); color: var(--muted); }
.lbyEmpty > .ic { flex: none; color: #2fd3a6; }
.linkBtn { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.pubRow { grid-column: 1 / -1; display: grid; gap: 6px; }
.pubRow .seg { width: fit-content; max-width: 100%; }
.pubRow small { font-size: 13px; }
@media (max-width: 560px) { .lbyRow { grid-template-columns: 1fr; } .pubRow .seg { width: 100%; } .pubRow .seg button { flex: 1; } }

/* ---------- sıralama ve oynanma sayısı ---------- */
.sortBar { display: flex; align-items: center; gap: 4px; margin: -4px 0 14px; color: var(--muted); overflow-x: auto; scrollbar-width: none; }
.sortBar::-webkit-scrollbar { display: none; }
.sortBar > .ic { flex: none; width: 16px; height: 16px; margin-right: 4px; }
.sortBar button { flex: none; min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); border: 1px solid transparent; }
.sortBar button:hover { color: var(--ink); }
.sortBar button[aria-pressed="true"] { color: var(--ink); background: var(--s2); border-color: var(--line); }
.plays { display: inline-flex; align-items: center; gap: 3px; font: 800 12px/1 var(--body); }
.plays .ic { width: 11px; height: 11px; }
.qcardPlays, .acardPlays, .pPlays { position: absolute; z-index: 2; padding: 5px 8px 5px 6px; border-radius: 999px; background: #000b; color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.qcardPlays { top: 10px; right: 10px; }
.acardPlays { bottom: 8%; left: 50%; transform: translateX(-50%); }
.pArt { position: relative; display: block; }
.pPlays { top: 6px; right: 6px; padding: 4px 7px 4px 5px; font-size: 11px; }
#dtPlays[hidden] { display: none; }
.dtEdit { margin-top: 10px; gap: 8px; }
.dtEdit small { color: var(--muted); font-weight: 500; }
@media (max-width: 560px) { .dtEdit small { display: none; } }
/* oluşturma: düzenlerken normal / tersten */
.crRevSeg { margin-left: auto; }
.crRevSeg button { padding: 0 10px; gap: 4px; }
/* topluluk quizi içeriği yüklenirken */
body.loadingQuiz, body.loadingQuiz * { cursor: progress !important; }
/* ---------- sohbet kutusu: sayfaya sabit (bilgisayarda sağda, telefonda altta) ---------- */
.chatBox { position: fixed; z-index: 30; display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.chatBox[hidden] { display: none; }
.chatHead { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; border-bottom: 1px solid var(--line); }
.chatTitle { display: flex; align-items: center; gap: 8px; font: 800 17px var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.chatTitle .ic { color: var(--accent); }
.chatHead small { flex: 1; min-width: 0; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chatExp { display: none; }
.chatList { list-style: none; margin: 0; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.chatList li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.35; font-size: 14px; animation: rise 0.2s var(--ease); }
.chatList li .av { flex: none; margin-top: 1px; }
.chatMsg { min-width: 0; overflow-wrap: anywhere; }
.chatMsg b { font-weight: 800; color: var(--accent-2); }
.chatList li.me .chatMsg b { color: #2fd3a6; }
.chatList .chatEmpty { color: var(--muted); justify-content: center; margin: auto 0; }
.chatForm { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--s1); }
.chatForm input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.chatForm input:focus { outline: none; border-color: var(--accent); }
.chatForm .btn { width: 42px; height: 42px; padding: 0; border-radius: 50%; flex: none; justify-content: center; }
@media (min-width: 1100px) {
  .chatBox { right: 16px; top: 84px; bottom: 16px; width: 320px; border-radius: var(--r-lg); box-shadow: 0 20px 50px -20px #000a; }
  body.hasChat #app { max-width: min(1120px, calc(100vw - 352px)); margin-left: max(0px, calc((100vw - 352px - min(1120px, calc(100vw - 352px))) / 2)); margin-right: 352px; }
}
@media (max-width: 1099px) {
  .chatBox { left: 0; right: 0; bottom: 0; border-radius: 18px 18px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -12px #000c; }
  .chatHead { display: none; }
  .chatList { flex: none; max-height: 58px; padding: 8px 12px 0; overflow: hidden; cursor: pointer; }
  .chatList li { font-size: 13px; }
  .chatList li .av { display: none; }
  .chatList li:not(:nth-last-child(-n + 2)) { display: none; }
  .chatBox.exp .chatHead { display: flex; }
  .chatBox.exp .chatExp { display: grid; }
  .chatBox.exp .chatList { max-height: min(42dvh, 340px); overflow-y: auto; padding-top: 10px; cursor: auto; }
  .chatBox.exp .chatList li { display: flex; }
  .chatBox.exp .chatList li .av { display: inline-grid; }
  .chatForm { padding: 8px 10px; }
  body.hasChat { padding-bottom: var(--chatH, 0px); }
  body.hasChat .dock { bottom: var(--chatH, 0px); }
}
@media (prefers-reduced-motion: reduce) { .chatList li { animation: none; } }

/* ---------- kategoriler: renkli kutucuklar ---------- */
.catNav { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; margin-bottom: 16px; }
.catTab { --c: var(--accent); position: relative; display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 10px 12px; border-radius: 16px; background: var(--s1); border: 1.5px solid var(--line); text-align: left; color: var(--ink); transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease); }
.catTab:hover { border-color: color-mix(in srgb, var(--c) 60%, var(--line)); transform: translateY(-2px); }
.catTab[aria-selected="true"] { border-color: var(--c); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 24%, var(--s1)), var(--s1) 85%); box-shadow: 0 10px 26px -16px var(--c); }
.catIc { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.catTab[aria-selected="true"] .catIc { background: var(--c); color: #120806; }
.catTxt { display: grid; gap: 1px; min-width: 0; }
.catTxt b { font-weight: 800; font-size: 15px; }
.catTxt small { color: var(--muted); font-size: 12px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.catN { position: absolute; top: 8px; right: 10px; font: 800 11px/1 var(--body); font-style: normal; color: var(--muted); }
@media (max-width: 700px) {
  .catNav { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)) 14px; padding: 2px var(--pad) 4px; scroll-snap-type: x proximity; }
  .catNav::-webkit-scrollbar { display: none; }
  .catTab { flex: none; width: 128px; min-height: 0; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; scroll-snap-align: start; }
  .catIc { width: 32px; height: 32px; border-radius: 10px; }
  .catTxt b { font-size: 14px; }
  .catTxt small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ---------- lobi düzeni ---------- */
.lobby { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px 20px; padding-top: 22px; }
.lobby > * { grid-column: 1; min-width: 0; }
.lobby > .players { grid-column: 2; grid-row: 1 / span 12; position: sticky; top: 88px; order: 0; }
.lobby.solo { grid-template-columns: minmax(0, 1fr); }
.lobby .roomHead h1 { font-size: clamp(30px, 5vw, 52px); }
.queueBlock .blockHead h2 .count, .lobPick .blockHead h2 { display: inline-flex; align-items: center; gap: 8px; }
.emptyQueue { min-height: 0; padding: 18px; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.pubRow { display: grid; gap: 8px; width: 100%; }
.visSeg { width: fit-content; max-width: 100%; }
.visSeg button { gap: 6px; }
.pwRow { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; padding: 4px 4px 4px 12px; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line); }
.pwRow:focus-within { border-color: var(--accent); }
.pwRow > .ic { flex: none; width: 16px; height: 16px; color: var(--muted); }
.pwRow input { width: 150px; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 700 16px var(--body); letter-spacing: 0.06em; }
.pwRow input:focus { outline: none; }
.lobPick .pickTabs { margin-bottom: 10px; }
.lobPick .subChips { margin: 0 0 10px; }
.lobPick .search { margin: 0 0 12px; }
.lobPick #pickBody { max-height: 560px; overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
.lobPick .pickGrid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.lobSel { display: grid; gap: 14px; margin-bottom: 16px; padding: 14px; border-radius: var(--r-lg); background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 14%, var(--s2)), var(--s2) 70%); border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); scroll-margin-top: 90px; animation: rise 0.25s var(--ease); }
.lobSelHead { display: flex; align-items: center; gap: 12px; }
.lobSelHead .sImg { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; font-size: 24px; }
.lobSelHead > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lobSelHead b { font: 800 22px/1.05 var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lobSel .opts { margin: 0; }
.lobSelFoot { display: flex; justify-content: flex-end; gap: 10px; }
.lobSelFoot .btn.primary { min-width: 180px; justify-content: center; }
.pwPage .pwForm { display: flex; gap: 10px; width: min(360px, 100%); }
.pwPage .pwForm input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 700 18px var(--body); letter-spacing: 0.08em; text-align: center; }
.pwPage .pwForm input:focus { outline: none; border-color: var(--accent); }
.pwErr { color: var(--bad); font-weight: 700; margin: 0; }
.lbyLock { display: inline-grid; color: var(--gold); margin-right: 4px; }
.lbyLock .ic { width: 14px; height: 14px; }
.plays.zero { opacity: 0.75; }
@media (max-width: 900px) {
  .lobby { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 12px; }
  .lobby > .players { grid-column: 1; grid-row: auto; position: static; order: 0; }
  .lobby .players ul:not(.standings) { display: flex; flex-wrap: wrap; gap: 6px; }
  .lobby .players ul:not(.standings) li { min-height: 0; padding: 4px 10px 4px 4px; border-radius: 999px; }
  .lobby .players ul:not(.standings) li b { max-width: 130px; }
  .lobby .players .hint { margin-top: 8px; font-size: 13px; }
  .invite { padding: 14px; gap: 12px; }
  .codeBox b { font-size: 40px; }
  .inviteBtns { width: 100%; }
  .inviteBtns .btn { flex: 1; justify-content: center; }
  .visSeg { width: 100%; }
  .visSeg button { flex: 1; justify-content: center; padding: 0 8px; }
  .pwRow { width: 100%; }
  .pwRow input { flex: 1; width: auto; }
  .lobPick #pickBody { max-height: none; overflow: visible; }
  .lobPick .pickGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .lobSel { padding: 12px; }
  .lobSelFoot .btn { flex: 1; justify-content: center; min-width: 0; }
}

/* ---------- günün quizi ---------- */
.hm-daily { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px 28px; align-items: center; margin: 0 0 30px; padding: 22px 24px; border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, #ffc23d2e, transparent 55%), linear-gradient(135deg, color-mix(in srgb, #ff5b3a 16%, var(--s1)), var(--s1) 70%); border: 1px solid color-mix(in srgb, #ffc23d 35%, #ffffff14); }
.dlyMain { display: grid; gap: 8px; min-width: 0; }
.dlyMain h2 { margin: 0; font: 800 clamp(26px, 3.4vw, 38px)/1.02 var(--display); text-transform: uppercase; }
.dlyMain p { margin: 0; }
.dlyRes { font-size: 17px; }
.dlyRes b { color: var(--gold); }
.dlyMarks { display: block; margin-top: 4px; font-size: 18px; letter-spacing: 2px; }
.dlyBtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.dlySide { display: grid; gap: 12px; }
.dlyStats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dlyStat { display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; background: #0006; border: 1px solid #ffffff12; }
.dlyStat b { font: 800 28px/1 var(--display); font-variant-numeric: tabular-nums; }
.dlyStat small { color: var(--muted); font-size: 12px; }
.dlyCats { display: flex; flex-wrap: wrap; gap: 6px; }
.dlyCats span { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: hsl(var(--h) 70% 55% / 0.16); color: hsl(var(--h) 85% 72%); }
@media (max-width: 760px) {
  .hm-daily { grid-template-columns: 1fr; padding: 18px; }
  .dlyBtns .btn { flex: 1; justify-content: center; }
}
/* dil düğmesi */
.langBtn { flex: none; height: 34px; min-width: 40px; padding: 0 10px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); color: var(--ink); font: 800 12px var(--body); letter-spacing: 0.06em; }
.langBtn:hover { border-color: var(--accent); }
/* ======================= 2026-11 düzen ve oran düzeltmeleri ======================= */
/* --- şarkı quizi kartı: üstüne gelince kapak plak gibi döner (Keşfet'teki yuvarlak kartlar gibi) --- */
.qcard.song .qcardArt { background: radial-gradient(circle at 50% 50%, #26262d 0 34%, #111114 35% 64%, #0b0b0d 65%); }
.qcard.song .qcardArt::before { content: ""; position: absolute; inset: 0; margin: auto; z-index: 1; width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 4px #ffffff26, 0 0 0 9px #0000004d, inset 0 1px 3px #000a; opacity: 0; scale: 0.3; transition: opacity 0.3s, scale 0.4s var(--ease); pointer-events: none; }
.qcard.song .qcardImg { transition: border-radius 0.35s var(--ease), scale 0.35s var(--ease), transform 0.6s var(--ease); }
.qcard.song:hover .qcardImg, .qcard.song .qcardBtn:focus-visible .qcardImg { border-radius: 50%; scale: 0.8; transform: none; animation: rot 3.2s linear infinite; box-shadow: 0 0 0 2px #ffffff1a, 0 14px 30px #000c; }
.qcard.song:hover .qcardArt::before, .qcard.song .qcardBtn:focus-visible .qcardArt::before { opacity: 1; scale: 1; }
@media (prefers-reduced-motion: reduce) { .qcard.song:hover .qcardImg { animation: none; } }

/* --- kart üstü: etiket, araçlar ve oynanma sayısı üst üste binmesin --- */
.qcardTag { max-width: calc(100% - 64px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qcard.tools .qcardPlays { top: 48px; right: 8px; }
.qcardPlays, .acardPlays, .pPlays, .numPlays { line-height: 1; }
.numCard { position: relative; }
.numPlays { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 5px 8px 5px 6px; border-radius: 999px; background: #000b; color: #fff; }
@media (max-width: 560px) {
  .qcardTag { left: 8px; top: 8px; padding: 3px 8px; font-size: 10px; letter-spacing: 0.03em; max-width: calc(100% - 48px); }
  .cardTools { top: 6px; right: 6px; gap: 4px; }
  .cardTools .icon { width: 28px; height: 28px; }
  .qcard.tools .qcardPlays { top: 40px; right: 6px; }
  .qcardPlays { top: 8px; right: 8px; padding: 4px 7px 4px 5px; }
}

/* --- oyun: telefonda soru ve dört şık kaydırmadan sığsın --- */
.ans kbd { font-family: var(--body); font-weight: 800; }
@media (max-width: 560px) {
  .game { gap: 10px; padding-top: 10px; }
  .tq { min-height: 0; margin: 4px 0 8px; padding: 16px 14px; gap: 10px; }
  .tqText { font-size: clamp(18px, 5.2vw, 23px); line-height: 1.25; }
  .tq .tqAns { min-height: 56px; }
  .tqPic, .tqVis { max-height: 22vh; }
  .answers { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ans { min-height: 56px; padding: 10px; gap: 8px; font-size: 14px; }
  .ans kbd { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; }
  .answers.multi .ans { min-height: 64px; padding-bottom: 10px; }
}
@media (max-width: 560px) and (max-height: 700px) {
  .tq { padding: 12px; }
  .ans { min-height: 50px; }
}

/* --- seçmeli düğmelerde simge ve yazı oranı --- */
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg button .ic { flex: none; width: 15px; height: 15px; }
.visSeg button { padding: 0 14px; }

/* --- lobide tür sekmeleri: taşmaz, kaç tür olursa olsun satıra sığar --- */
.lobPick .pickTabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; background: none; border-radius: 0; overflow: visible; }
.lobPick .pickTabs button { flex: 1 1 auto; min-height: 38px; padding: 0 12px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); font-size: 14px; }
.lobPick .pickTabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); }
.lobPick .pickTabs button .ic { width: 15px; height: 15px; }
@media (max-width: 900px) {
  .lobPick .pickTabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lobPick .pickTabs button { padding: 0 6px; font-size: 13px; gap: 4px; }
  .lobPick .pickTabs button small { display: none; }
}

/* --- sohbet: aç / kapa --- */
.chatBtn { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--s2); border: 1px solid var(--line); display: grid; place-items: center; }
.chatBtn small { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 800 11px/18px var(--body); box-shadow: 0 0 0 2px var(--bg); }
.chatMinM { display: none; }
.chatForm .chatMin { width: 42px; height: 42px; flex: none; }
@media (max-width: 1099px) {
  .chatMinM { display: grid; }
  .chatBox:not(.exp) .chatHead { display: none; }
  .chatBox.exp .chatMinM { display: none; }
}

/* --- üst çubuk: bilgisayarda bölüm menüsü --- */
.barNav { display: none; }
@media (min-width: 1000px) {
  .barNav { display: flex; align-items: center; gap: 4px; margin-right: auto; margin-left: 18px; }
  .barNav button, .barNav a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; transition: color 0.2s, background 0.2s; }
  .barNav button:hover, .barNav a:hover { color: var(--ink); background: var(--s2); }
  .barNav .ic { width: 16px; height: 16px; }
  .barNav a { color: var(--accent-2); }
}
.barCta { white-space: nowrap; }
@media (max-width: 999px) { .barCta { display: none; } }
.barEnd { gap: 8px; }

/* --- ana sayfa: açık lobiler + quiz oluştur yan yana --- */
.hm-duo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: stretch; margin: 0 0 34px; }
@media (max-width: 900px) { .hm-duo { grid-template-columns: 1fr; } }
.hm-lobbies { margin: 0; padding: 20px; border-radius: 24px; background: linear-gradient(160deg, color-mix(in srgb, #2fd3a6 9%, var(--s1)), var(--s1) 60%); border: 1px solid color-mix(in srgb, #2fd3a6 22%, #ffffff12); display: grid; gap: 14px; align-content: start; }
.lbyHead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.lbyHead h2 { margin: 2px 0 0; font: 800 clamp(24px, 3vw, 32px)/1 var(--display); text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.lbyHead .kicker { display: inline-flex; align-items: center; gap: 7px; color: #2fd3a6; }
.liveDot { width: 8px; height: 8px; border-radius: 50%; background: #2fd3a6; box-shadow: 0 0 0 0 #2fd3a688; animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { to { box-shadow: 0 0 0 9px #2fd3a600; } }
.lbyRow { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.lbyCard { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--s2); border: 1px solid var(--line); text-align: left; transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s; }
.lbyCard:hover, .lbyCard:focus-visible { transform: translateY(-3px); border-color: #2fd3a6; background: color-mix(in srgb, #2fd3a6 7%, var(--s2)); outline: none; }
.lbyTop { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lbyWho { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lbyWho b { font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbyWho small { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.lbyWho small .ic { width: 13px; height: 13px; }
.lbyGo { flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 7px 10px 7px 12px; border-radius: 999px; background: #2fd3a6; color: #06231b; font-weight: 800; font-size: 13px; }
.lbyGo .ic { width: 15px; height: 15px; }
.lbyQuiz { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.lbyQuiz i { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--s3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbyBar { height: 5px; border-radius: 99px; background: var(--s3); overflow: hidden; }
.lbyFill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2fd3a6, #8aa4ff); }
.lbyFoot { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.lbyFoot .ic { width: 14px; height: 14px; }
.lbyCard.sk { min-height: 150px; }
.lbyEmpty { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 18px; border: 1.5px dashed color-mix(in srgb, #2fd3a6 30%, var(--line)); }
.lbyEmpty b { font-size: 17px; }
.lbyEmpty p { margin: 4px 0 12px; }
.lbyRadar { position: relative; flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: color-mix(in srgb, #2fd3a6 14%, transparent); color: #2fd3a6; }
.lbyRadar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2fd3a6; opacity: 0; animation: radar 2.2s ease-out infinite; }
@keyframes radar { 0% { transform: scale(0.7); opacity: 0.7; } 100% { transform: scale(1.35); opacity: 0; } }
.lbyRadar .ic { width: 30px; height: 30px; }
.lbyBtns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 560px) {
  .hm-lobbies { padding: 16px; }
  .lbyEmpty { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lbyRadar { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .liveDot, .lbyRadar::after { animation: none; } }
.hm-create { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 24px; background: radial-gradient(120% 120% at 100% 0%, #ff5b3a33, transparent 55%), linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--s1)), var(--s1) 65%); border: 1px solid color-mix(in srgb, var(--accent) 35%, #ffffff12); }
.hm-create h2 { margin: 0; font: 800 clamp(24px, 3vw, 32px)/1.02 var(--display); text-transform: uppercase; }
.hm-create p { margin: 0; }
.mkKinds { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.mkKinds a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; transition: border-color 0.2s, background 0.2s; }
.mkKinds a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--s2)); }
.mkKinds .ic { width: 14px; height: 14px; color: var(--accent-2); }
.hm-create .btn.wide { margin-top: auto; justify-content: center; }

/* --- günün quizi: üç sayı --- */
.dlyStats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dlyStat b { font-size: clamp(20px, 2.6vw, 28px); }
.dlyStat small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- düğmelerde yazı tek satırda kalsın (iki dilde de) --- */
.btn { white-space: nowrap; }
.hm-actions { flex-wrap: wrap; }
@media (max-width: 420px) { .hm-actions .btn.lg { flex: 1 1 calc(50% - 6px); justify-content: center; padding-inline: 12px; } }
.qcard.tools .qcardTag { max-width: calc(100% - 60px); }
.qcard.tools:has(.cardTools .icon + .icon) .qcardTag { max-width: calc(100% - 96px); }
@media (max-width: 560px) { .qcard.tools .qcardTag { max-width: calc(100% - 48px); } .qcard.tools:has(.cardTools .icon + .icon) .qcardTag { max-width: calc(100% - 80px); } }
/* --- parlamalar: SVG çemberine değil SVG'nin kendisine (tarayıcı çemberdeki filtreyi kareye kırpıyordu) --- */
.hm-ring .arc, .cdRing .cdArc { filter: none; }
.hm-ring svg { filter: drop-shadow(0 0 6px #ff5b3a99); }
/* telefonda SVG filtresi sayının arkasında kare bir leke bırakıyordu: parlama halkanın kendi gölgesinden gelir */
.cdRing svg { filter: none; }
.cdRing b { text-shadow: none; }
/* --- açık lobiler: fazlası açılınca liste kendi içinde kayar --- */
.lbyRow.all { max-height: 560px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.lbyMore { justify-content: center; }
/* --- günün quizi: dar ekranda ve yakınlaştırınca sayılar taşmasın --- */
.dlyStats { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.dlyStat { min-width: 0; padding: 10px 12px; }
.dlyStat b { font-size: clamp(18px, 2.2vw, 26px); white-space: nowrap; }
.dlyStat small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
@media (max-width: 1100px) { .hm-daily { grid-template-columns: 1fr; } }
/* --- çok dar ekran / çok yakınlaştırma: üst çubuk sığsın --- */
@media (max-width: 380px) {
  .bar { gap: 6px; padding-inline: 10px; }
  .barEnd { gap: 5px; }
  .brand { font-size: 17px; }
  .brand .mark { width: 30px; height: 30px; margin-right: 4px; }
  .jg-back { padding-inline: 6px; }
  .langBtn { min-width: 34px; padding: 0 7px; }
}
@media (max-width: 420px) {
  .visSeg { flex-wrap: nowrap; }
  .pubRow .visSeg button { flex: 1 1 auto; min-width: 0; padding: 0 6px; gap: 4px; font-size: 13px; white-space: nowrap; }
  .visSeg button .ic { width: 13px; height: 13px; }
}
/* --- kısa telefon ekranları: soru, dört şık ve sohbet tek ekrana sığsın --- */
@media (max-width: 1099px) and (max-height: 820px) {
  /* oyun sırasında sohbet çubuğu yalnızca yazma kutusu (mesajlar dokununca açılır) */
  /* yalnızca soru sürerken daralır; quiz aralarında (sonuç, sıralama) son mesajlar görünür */
  body.hasChat:is([data-phase="question"], [data-phase="preparing"]) .chatBox:not(.exp) .chatList { display: none; }
}
@media (max-width: 560px) and (max-height: 760px) {
  .game { gap: 8px; padding-top: 6px; }
  .tq { padding: 12px; gap: 6px; margin: 2px 0 6px; }
  .tqText { font-size: clamp(16px, 4.8vw, 20px); }
  .tq .tqAns { min-height: 40px; }
  .tqNo { font-size: 11px; }
  .answers { gap: 6px; }
  .ans { min-height: 46px; padding: 8px; font-size: 14px; }
  .gImg { width: 40px; height: 40px; }
  .dock { padding-top: 8px; padding-bottom: 8px; }
}
.gq { min-width: 0; }
.gq small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.hm-copy .hm-actions { gap: 10px; }
.hm-copy .hm-actions .btn.lg { padding-inline: 18px; }
/* --- yuvarlak şarkı kartı + araç düğmeleri (gizle / düzenle) --- */
.acardW { position: relative; min-width: 0; }
.acardW .acard { width: 100%; }
.acardW .cardTools { top: 4px; right: 4px; z-index: 3; }
.acard small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acard b { max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.05; }
.rmHead .sImg { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; font-size: 24px; }
.rmHead > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rmHead .kicker { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rmHead h2 { font-size: clamp(22px, 5vw, 28px); }
/* arka plan güncellemesinde kartların giriş animasyonu yeniden oynamasın */
#app.calm .acard, #app.calm .acardW, #app.calm .qcard, #app.calm .numCard, #app.calm .hm-copy, #app.calm .catTab,
#app.calm .lbyCard, #app.calm .hm-rail, #app.calm .mode, #app.calm .hm-daily, #app.calm .hm-lobbies, #app.calm .hm-create { animation: none !important; }
/* ---------- oyun başlığı: cevaplayanlar düzgün sırada, renkli (siyah-beyaz ve üst üste değil) ---------- */
.mini { gap: 5px; }
.dotAv { margin-left: 0; }
.dotAv .av { filter: none; opacity: 0.38; transition: opacity 0.2s, box-shadow 0.2s; }
.dotAv.done .av { opacity: 1; box-shadow: 0 0 0 2px var(--good); }
.dotAv.done::after { right: -3px; bottom: -3px; }
.dotMore { min-width: 26px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); color: var(--muted); font: 800 11px/20px var(--body); text-align: center; }
/* ---------- şıklardaki oyuncular: 3+ kişide ve telefonda taşmasın ---------- */
/* etiketler daralıp ismi harf harf alt alta dizmesin: küçülmezler, ad tek satırda kısalır */
.voters .vchip { flex: none; min-width: 0; max-width: 100%; }
.vchip b { min-width: 0; max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.answers.multi .ans .voters { height: 28px; align-items: center; gap: 4px; }
/* 3+ kişi ya da dar şık: yalnızca profil resimleri yan yana (adlar üstüne gelince görünür) */
.voters.many .vchip { padding: 2px; gap: 0; }
.voters.many .vchip b, .voters.many .vchip em { display: none; }
.vmore { flex: none; height: 26px; min-width: 26px; padding: 0 6px; border-radius: 999px; background: #0006; font: 800 11px/26px var(--body); text-align: center; }
.voters .vchip.ok .av { box-shadow: 0 0 0 2px var(--good); }
@media (max-width: 560px) {
  .answers.multi .ans .voters .vchip { padding: 2px; gap: 0; }
  .answers.multi .ans .voters .vchip b, .answers.multi .ans .voters .vchip em { display: none; }
  .answers.multi .ans .voters { mask-image: none; }
}
/* alttaki çubuk: yazılar arkadaki içeriğin üstüne binmesin (eskiden üst kısmı saydamdı) */
.dock { background: linear-gradient(transparent, var(--bg) 14px); padding-top: 20px; }
/* podyum: uzun ad kelime ortasından kırılmasın; küçülür, en çok iki satır */
.pod { min-width: 0; max-width: 100%; }
.pod b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; word-break: normal; text-align: center; font-size: clamp(13px, 3.6vw, 17px); line-height: 1.15; }
/* ---------- lobi: oyuncu düğmeleri (kurucu yap / çıkar) ---------- */
.pBtns { display: flex; gap: 2px; flex: none; }
.pBtns [data-promote] { color: var(--gold); }
/* ---------- istekler ---------- */
.suggNote { margin: -4px 0 10px; }
.sugg { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sugg li { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r); background: var(--s2); animation: rise 0.25s var(--ease); }
.sugg .qInfo { gap: 2px; }
.suggWho { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.sugg .qBtns { align-items: center; gap: 6px; flex: none; }
.voteBtn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--s1); border: 1.5px solid var(--line); color: var(--ink); font-weight: 800; transition: background 0.15s, border-color 0.15s, transform 0.15s var(--ease); }
.voteBtn:hover { border-color: var(--accent); }
.voteBtn:active { transform: scale(0.94); }
.voteBtn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.voteBtn .ic, .voteN .ic { width: 15px; height: 15px; }
.voteN { display: inline-flex; align-items: center; gap: 4px; padding: 0 4px; color: var(--muted); font-weight: 800; font-size: 13px; }
@media (max-width: 520px) {
  .sugg li { flex-wrap: wrap; row-gap: 8px; }
  .sugg .qInfo { flex: 1 1 calc(100% - 64px); }
  .sugg .qBtns { margin-left: auto; }
}
/* ---------- quiz seçici: Hepsi (türler alt alta), öneri ---------- */
.pickHint { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 12px; }
.pickHint .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.pVotes { position: absolute; left: 6px; top: 6px; z-index: 2; display: inline-flex; align-items: center; gap: 3px; padding: 4px 7px 4px 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 800 11px/1 var(--body); }
.pVotes .ic { width: 11px; height: 11px; }
.pickItem.voted { box-shadow: inset 0 0 0 2px var(--accent); }
.pickSec + .pickSec { margin-top: 20px; }
.pickSecHead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.pickSecHead h3 { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; font: 800 19px/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.pickSecHead h3 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pickSecHead h3 .ic { flex: none; width: 17px; height: 17px; color: var(--accent); }
.pickSecHead h3 small { flex: none; padding: 2px 7px; border-radius: 99px; background: var(--s2); color: var(--muted); font: 700 11px/1.4 var(--body); }
.pickSecHead .btn { flex: none; }
.pickMakeRow { width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px; border-radius: var(--r); border: 2px dashed var(--line); text-align: left; color: var(--ink); transition: border-color 0.15s, background 0.15s; }
.pickMakeRow:hover { border-color: var(--accent); background: var(--s2); }
.pmIc { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--s2); color: var(--accent); }
.pmIc .ic { width: 22px; height: 22px; }
.pickMakeRow > span:last-child { min-width: 0; }
.pickMakeRow b { display: block; font: 800 19px/1.1 var(--display); text-transform: uppercase; }
.pickMakeRow small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }
/* ---------- lobide quiz oluşturma penceresi ---------- */
.crDlg { width: min(1080px, 100vw - 24px); height: min(100dvh - 24px, 980px); max-width: 100vw; max-height: 100dvh; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--ink); overflow: hidden; }
.crDlg[open] { display: block; animation: rise 0.3s var(--ease); }
.crDlg::backdrop { background: #000b; backdrop-filter: blur(4px); }
.crDlg iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--bg); }
@media (max-width: 700px) { .crDlg { width: 100vw; height: 100dvh; border: 0; border-radius: 0; } }
body.crOpen { overflow: hidden; }
/* ---------- emoji tepkileri ---------- */
.chatForm .emoBtn { flex: none; width: 42px; height: 42px; border-radius: 50%; color: var(--muted); }
.chatForm .emoBtn:hover { color: var(--ink); background: var(--s2); }
.emoBtn .ic { width: 20px; height: 20px; }
.emoTray { position: fixed; z-index: 80; display: grid; grid-template-columns: repeat(4, 48px); gap: 4px; padding: 8px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); box-shadow: 0 18px 40px -14px #000c; animation: rise 0.18s var(--ease); }
.emoTray[hidden] { display: none; }
.emoTray button { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 27px; line-height: 1; transition: transform 0.15s var(--ease), background 0.15s; }
.emoTray button:hover { background: var(--s2); transform: scale(1.12); }
.emoTray button:active { transform: scale(0.9); }
.emoLayer { position: fixed; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; }
.emoFly { position: absolute; right: calc(18px + var(--x, 0px)); bottom: calc(var(--chatH, 0px) + 96px); display: grid; justify-items: center; gap: 4px; animation: emoUp 2.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.emoBig { font-size: 46px; line-height: 1; rotate: var(--r, 0deg); filter: drop-shadow(0 6px 10px #0006); }
.emoWho { display: inline-flex; align-items: center; gap: 5px; max-width: 150px; padding: 3px 9px 3px 3px; border-radius: 999px; background: #000c; color: #fff; font-size: 12px; }
.emoWho b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emoWho .av.xs { width: 18px; height: 18px; font-size: 9px; }
@keyframes emoUp {
  0% { opacity: 0; transform: translateY(24px) scale(0.5); }
  12% { opacity: 1; transform: translateY(0) scale(1.15); }
  22% { transform: translateY(-8px) scale(1); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-42vh) scale(0.95); }
}
@media (min-width: 1100px) { body.hasChat .emoFly { right: calc(360px + var(--x, 0px)); bottom: 70px; } }
/* ---------- açık tema ---------- */
.themeBtn { display: inline-grid; place-items: center; padding: 0; }
.themeBtn .ic { width: 16px; height: 16px; }
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f2ec;
  --s1: #ffffff;
  --s2: #f0ebe4;
  --s3: #e4ddd2;
  --line: #ddd4c8;
  --ink: #1d1a17;
  --muted: #6c665f;
  --accent: #f04a24;
  --accent-2: #d4461f;
  --accent-ink: #ffffff;
  --good: #14995a;
  --bad: #dd2a3d;
  --gold: #bf8100;
}
:root[data-theme="light"] body {
  background:
    radial-gradient(1200px 600px at 85% -10%, #ff5b3a1f, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, #7a5cff14, transparent 60%),
    var(--bg);
}
/* açık temada koyu temaya göre sabitlenmiş renkler */
:root[data-theme="light"] :is(.btn.light, .seg button[aria-pressed="true"], .seg button[aria-selected="true"], .seg.chips button[aria-pressed="true"], .seg.chips button[aria-selected="true"], .ans.picked kbd, .subChips button[aria-pressed="true"], .catChips button[aria-pressed="true"]) { color: var(--bg); }
:root[data-theme="light"] .btn.soft:hover:not(:disabled) { background: #d9d1c4; }
:root[data-theme="light"] .ans:hover:not(:disabled) { border-color: #0002; }
:root[data-theme="light"] .cardBtn:hover, :root[data-theme="light"] .qcard:hover .qcardBtn { border-color: #0003; }
:root[data-theme="light"] .dtBack:hover { color: var(--ink); }
:root[data-theme="light"] .hm-join input::placeholder { color: #0003; }
:root[data-theme="light"] .hm-join, :root[data-theme="light"] .acard:hover .acardArt { box-shadow: 0 16px 40px -12px #0003; }
:root[data-theme="light"] .hm-hint { background: #fffc; border-color: var(--line); color: var(--muted); }
:root[data-theme="light"] :is(.pickTabs, .hm-tabs) button small { background: #0000000f; }
:root[data-theme="light"] :is(.pickTabs, .hm-tabs) button[aria-selected="true"] small { background: #fff3; }
:root[data-theme="light"] .sheet::backdrop, :root[data-theme="light"] .crDlg::backdrop { background: #1d1a1766; }
:root[data-theme="light"] .chatBox, :root[data-theme="light"] .emoTray { box-shadow: 0 -8px 28px -14px #0004; }
:root[data-theme="light"] .chatList li.me .chatMsg b { color: #0f8f6d; }
:root[data-theme="light"] .vchip, :root[data-theme="light"] .vmore { background: #0000000f; }
:root[data-theme="light"] .dlyStat { background: #ffffffb3; border-color: var(--line); }
:root[data-theme="light"] .rankLeft { background: #0000000f; }
:root[data-theme="light"] .dock { background: linear-gradient(#f5f2ec00, var(--bg) 14px); }
/* görselin üstündeki yazılar (koyu degrade üstünde) açık temada da beyaz kalsın */
:root[data-theme="light"] :is(.qcardInfo b, .dtCardInfo h1, .dtStats > span, .dtBy, .qcardTag, .crCount, .numCard b, .introCard h2) { color: #fff; }
:root[data-theme="light"] :is(.dtBy small, .dtStats > span .ic) { color: #fffc; }
/* quiz sayfası: bağlantıyı kopyala (uzun adres paneli taşırmasın) */
.dtShare { margin-top: 10px; gap: 8px; min-width: 0; max-width: 100%; }
.dtShare small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-weight: 500; }
.dtShare + .dtEdit { margin-top: 8px; }
.dtPanel { min-width: 0; }
@media (max-width: 420px) { .dtShare small { display: none; } }
:root[data-theme="light"] .rankedNote { color: #7a5200; }
:root[data-theme="light"] .rankedNote b { color: #4d3400; }
/* oyun modu seçimi: üç seçenek dar panelde taşmasın (simge yazının üstünde) */
.dtChoice button, .dtChoice button > span { min-width: 0; }
.dtChoice b, .dtChoice small { overflow-wrap: break-word; }
.dtChoice.three button { flex-direction: column; align-items: flex-start; gap: 8px; }
:root[data-theme="light"] .crCount b { color: #fff; }
/* soruyla görünen bayrak ve ülke şekli */
.tqPic.qflag { max-height: min(170px, 24vh); max-width: min(100%, 280px); object-fit: contain; border-radius: 8px; box-shadow: 0 0 0 1px #0002, 0 14px 30px -14px #000; }
.tqShape { display: grid; place-items: center; width: min(100%, 230px); aspect-ratio: 1.25; max-height: min(190px, 26vh); padding: 14px; border-radius: 16px; background: #f4f1ea; box-shadow: 0 14px 30px -14px #000; }
.tqShape img { width: 100%; height: 100%; object-fit: contain; }
.tq:has(.countdown.on) .tqShape { opacity: 0; visibility: hidden; }
@media (max-height: 760px) { .tqShape { max-height: 140px; } .tqPic.qflag { max-height: 120px; } }
.crLoading { display: grid; justify-items: center; gap: 10px; padding: 80px 16px; text-align: center; }
.crLoading .spin { width: 28px; height: 28px; }
/* günün quizi: cevap anahtarı */
.dlyAns { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dlyAns li { display: flex; gap: 12px; padding: 12px; border-radius: var(--r); background: var(--s2); border-left: 3px solid var(--line); }
.dlyAns li.ok { border-left-color: var(--good); }
.dlyAns li.no { border-left-color: var(--bad); }
.dlyAnsN { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--s3); font: 800 13px var(--body); }
.dlyAns li > div { min-width: 0; display: grid; gap: 4px; }
.dlyAns p { margin: 0; font-size: 14px; line-height: 1.35; overflow-wrap: break-word; }
.dlyAns b { display: inline-flex; align-items: center; gap: 6px; color: var(--good); font-size: 15px; }
.dlyAns b .ic { width: 15px; height: 15px; flex: none; }
.dlyAns small { color: var(--bad); font-size: 13px; }

/* ---------- lobi oyuncu listesi: uzun adlar harf harf kırılmasın ---------- */
/* sıra numarası simgenin köşesine, puan adın altına: ada geniş yer kalır */
.lobby { grid-template-columns: minmax(0, 1fr) 320px; }
.players li { gap: 10px; }
.pAv { position: relative; flex: none; display: grid; }
.pAv .rank { position: absolute; left: -6px; top: -6px; width: 20px; height: 20px; border-radius: 7px; font-size: 12px; box-shadow: 0 0 0 2px var(--s2); }
.pInfo { flex: 1; min-width: 0; display: grid; gap: 1px; }
.players li .pInfo b { overflow-wrap: break-word; word-break: normal; hyphens: none; font-size: 15px; line-height: 1.2; }
.players li .pInfo b bdi { overflow-wrap: anywhere; }
.pInfo .pscore { margin: 0; font-size: 17px; line-height: 1.1; color: var(--muted); }
.players li.me .pscore, .standings li:first-child .pscore { color: var(--ink); }
.players li > .crown { padding: 0 4px; }
.pBtns .icon.sm { width: 30px; height: 30px; }
/* telefondaki yuvarlak oyuncu etiketleri (sıralama yokken) */
@media (max-width: 900px) {
  .lobby { grid-template-columns: minmax(0, 1fr); }
  .lobby .players ul:not(.standings) li .pInfo b { max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lobby .players ul:not(.standings) li .pBtns .icon.sm { width: 26px; height: 26px; }
}

/* ---------- şıklar alt alta; şıktaki oyuncular yalnızca simgeyle ---------- */
.answers, .answers.multi { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ans, .answers.multi .ans { min-height: 58px; padding: 10px 14px; flex-wrap: nowrap; align-items: center; }
.ans .voters, .answers.multi .ans .voters {
  position: static; flex: none; flex-basis: auto; margin-left: auto; padding: 0; height: auto; max-width: 50%;
  display: flex; flex-wrap: nowrap; gap: 0; overflow: visible; mask-image: none;
}
.voters .vchip, .voters.many .vchip { padding: 0; gap: 0; background: none; margin-left: -6px; }
.voters .vchip:first-child { margin-left: 0; }
.voters .vchip .av { box-shadow: 0 0 0 2px var(--s2); }
.voters .vchip.me .av { box-shadow: 0 0 0 2px var(--ink); }
.voters .vchip.ok .av { box-shadow: 0 0 0 2px var(--good); }
.voters .vchip.no .av { opacity: 0.75; }
.voters .vchip.me { box-shadow: none; }
.voters .vmore { margin-left: 4px; height: 30px; line-height: 30px; }
/* anime openinglerinde iki ayrı soru (anime + şarkı) var: orada ikişerli kalır, telefonda kaydırma uzamasın */
.opRow .answers { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) {
  .ans, .answers.multi .ans { min-height: 50px; padding: 8px 12px; }
  .voters .vchip .av.sm { width: 26px; height: 26px; font-size: 12px; }
}
@media (max-width: 560px) and (max-height: 760px) {
  .ans, .answers.multi .ans { min-height: 44px; padding: 6px 10px; }
}

/* ---------- harf simgeleri ---------- */
.av .avL { font: 800 1.05em/1 var(--display); letter-spacing: 0; transform: translateY(0.04em); }
.av.xs .avL { font-size: 12px; }
.pick.letters { gap: 6px; margin-top: 10px; }
.pick.letters button { width: 40px; height: 40px; }
.pick.letters .av { width: 34px; height: 34px; font-size: 16px; }
/* telefonda şıklar alt alta da kaydırmadan sığsın: cevap yeri soru sırasında yer kaplamaz, alttaki çubuk incelir */
@media (max-width: 560px) {
  .tq .tqAns.slot:empty { display: none; }
  .tq .tqPic.qflag, .tq .tqShape { max-height: 18vh; }
  .dock:has(.waiting) { padding-top: 10px; padding-bottom: 6px; }
  .dock .waiting { margin: 0; min-height: 34px; }
}
@media (max-width: 560px) and (max-height: 760px) {
  .tq .tqNo { display: none; }
  .tq .tqPic.qflag, .tq .tqShape { max-height: 15vh; }
  .tq .tqPic { max-height: 17vh; }
}

/* ---------- açık lobiler: boş durum (koltuklar) ---------- */
.lbyEmpty { align-items: center; gap: 20px; border-style: dashed; }
.lbyRadar { display: none; }
.lbySeats { flex: none; display: flex; align-items: center; padding-left: 10px; }
.lbySeats .seat { width: 46px; height: 46px; margin-left: -10px; border-radius: 50%; display: grid; place-items: center; background: var(--s2); border: 2px dashed color-mix(in srgb, #2fd3a6 35%, var(--line)); box-shadow: 0 0 0 4px var(--s1); font-style: normal; animation: seatIn 0.5s var(--ease) backwards; }
.lbySeats .seat:nth-child(2) { animation-delay: 60ms; }
.lbySeats .seat:nth-child(3) { animation-delay: 120ms; opacity: 0.75; }
.lbySeats .seat:nth-child(4) { animation-delay: 180ms; opacity: 0.5; }
.lbySeats .seat:not(.you) { border-color: color-mix(in srgb, #2fd3a6 55%, var(--line)); color: color-mix(in srgb, #2fd3a6 70%, var(--muted)); }
.lbySeats .seat:not(.you) .ic { width: 18px; height: 18px; opacity: 0.55; }
.lbySeats .seat.you { position: relative; z-index: 1; width: 54px; height: 54px; border: 0; background: #2fd3a6; color: #04241b; box-shadow: 0 0 0 4px var(--s1), 0 10px 24px -8px #2fd3a6aa; }
.lbySeats .seat.you .ic { width: 24px; height: 24px; }
.lbyEmptyTxt { min-width: 0; }
.lbyEmptyTxt b { display: block; color: var(--ink); }
@keyframes seatIn { from { opacity: 0; transform: translateX(-8px) scale(0.85); } }
@media (max-width: 700px) { .lbyEmpty { flex-direction: column; align-items: flex-start; gap: 14px; } .lbySeats .seat { width: 40px; height: 40px; } .lbySeats .seat.you { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .lbySeats .seat { animation: none; } }
/* başka sekmede lobi açık */
.lbyElse { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, var(--s2)); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); font-size: 14px; }
.lbyElse > .ic { flex: none; color: var(--accent); }
.lbyElse > span { flex: 1 1 180px; min-width: 0; }
.lbyElse .code { font-family: var(--display); letter-spacing: 0.08em; }

/* ---------- favoriler: kalp ---------- */
.favBtn { display: inline-flex; align-items: center; gap: 4px; font: 800 12px/1 var(--body); color: #fff; }
.favBtn .ic { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.favBtn b:empty { display: none; }
.favBtn.on .ic { color: #ff4f6d; }
.favBtn.pop .ic { animation: favPop 0.45s var(--ease); }
@keyframes favPop { 40% { transform: scale(1.45); } 70% { transform: scale(0.9); } }
.qcard > .favBtn, .acardW > .favBtn { position: absolute; z-index: 3; padding: 6px 8px; border-radius: 999px; background: #000b; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.qcard > .favBtn { top: 44px; right: 10px; }
.qcard.tools > .favBtn { top: 82px; right: 8px; }
.acardW { position: relative; }
.acardW > .favBtn { top: 4px; left: 4px; }
.qcard > .favBtn:hover, .acardW > .favBtn:hover { background: #000e; }
.qcard > .favBtn:hover .ic, .acardW > .favBtn:hover .ic { transform: scale(1.15); }
.qcard > .favBtn:focus-visible, .acardW > .favBtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) { .qcard > .favBtn { top: 38px; right: 8px; padding: 5px 7px; } .qcard.tools > .favBtn { top: 72px; right: 6px; } }
.dtFav { gap: 8px; }
.dtFav .ic { width: 20px; height: 20px; color: var(--ink); }
.dtFav.on .ic { color: #ff4f6d; }
.dtFav b { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: var(--s2); color: var(--muted); font-size: 12px; }
.dtFav .favTxt { font-weight: 700; color: var(--ink); }
.hm-empty.fav .ic { color: #ff4f6d; }

/* ---------- Sayı Quizi kapağı (kart, detay, lobi) ---------- */
.numCov { position: relative; display: block; overflow: hidden; background: radial-gradient(120% 120% at 20% 10%, hsl(var(--h) 80% 55% / 0.55), hsl(var(--h) 60% 18%) 70%); }
.numCov img { position: absolute; width: 46%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8%; box-shadow: 0 8px 20px #000a; left: calc(8% + var(--j) * 22%); top: calc(22% + var(--j) * 10%); rotate: calc(-8deg + var(--j) * 8deg); }
.numCov i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: clamp(18px, 40cqmin, 64px); }
.numCov:not(.big) i { font-size: 22px; }
.qcardArt .numCov, .dtArt .numCov { width: 100%; height: 100%; }
.numCov.big i { font-size: 64px; }
.lbS small { font-size: 0.72em; font-weight: 600; color: var(--muted); }

/* ---------- Sayı Quizi (lobide): iki taraf ---------- */
.nqm { width: 100%; }
.nqm .nqBoard { position: relative; inset: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; width: 100%; min-height: min(44vh, 360px); margin-top: 12px; }
.nqm .nqSide { border-radius: 20px; padding: 24px 14px 46px; gap: 8px; min-width: 0; border: 2px solid transparent; transition: filter 0.3s, border-color 0.2s, transform 0.15s; }
.nqm .nqSide:not(:disabled):active { transform: scale(0.98); }
.nqm .nqSide.picked { border-color: var(--accent); }
.nqm .nqSide.win { border-color: var(--good); }
.nqm .nqEmo { font-size: clamp(44px, 7vw, 84px); }
.nqm .nqName { font-size: clamp(18px, 2.6vw, 32px); max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.nqm .nqVal { font-size: clamp(18px, 2.4vw, 30px); min-width: 64px; padding: 6px 14px; }
.nqm .nqVs { width: 54px; height: 54px; font-size: 17px; }
.nqm .nqSide .voters { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; z-index: 2; margin: 0; }
.nqOutNote { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.nqOutNote .ic { flex: none; }
.nqVerdict { display: flex; justify-content: center; margin-top: 10px; }
@media (max-width: 560px) {
  .nqm .nqBoard { min-height: min(40vh, 300px); gap: 8px; margin-top: 8px; }
  .nqm .nqSide { padding: 16px 8px 40px; border-radius: 16px; }
  .nqm .nqEmo { font-size: 42px; }
  .nqm .nqName { font-size: 16px; }
  .nqm .nqVal { font-size: 17px; padding: 5px 10px; min-width: 0; }
  .nqm .nqVs { width: 42px; height: 42px; font-size: 14px; box-shadow: 0 0 0 4px #0006; }
}
.nqOver.won h2 { color: #4ef08a; }
.nqOver .nqBtns .btn { flex: 1 1 auto; }

/* ---------- trivia oluştururken doğru şık ---------- */
.tvHelp { display: flex; gap: 8px; align-items: flex-start; }
.tvHelp > .ic { flex: none; margin-top: 2px; color: var(--good); }
.tvOpt { gap: 0; }
.tvOpt i.dot { display: none; }
.tvMark { position: absolute; left: 6px; top: 50%; translate: 0 -50%; z-index: 1; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--s2); color: var(--muted); font: 800 13px/1 var(--display); border: 1.5px solid var(--line); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.tvMark:hover { border-color: var(--good); color: var(--good); }
.tvMark:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tvOpt.ok .tvMark { background: var(--good); border-color: var(--good); color: #062514; }
.tvMark .ic { width: 16px; height: 16px; }
.tvOpt input { padding-left: 44px; }
.tvOpt.ok input { padding-right: 64px; }
.tvOkTag { position: absolute; right: 8px; top: 50%; translate: 0 -50%; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); font-size: 11px; font-weight: 800; pointer-events: none; }
/* anime sahne (geniş afiş) görselleri: dar ekranda da büyük görünsün */
.tq .tqPic.wide { width: min(100%, 640px); max-width: 100%; height: auto; max-height: none; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 14px; }
@media (max-width: 560px) { .tq .tqPic.wide { width: 100%; aspect-ratio: 2.4 / 1; } }

/* ---------- canlı sıralama (soru sırasında da) ---------- */
.board.live .row { animation: none; position: relative; }
.board.live .meter > span:first-child { animation: none; }
.board.live .lrN { width: 22px; text-align: center; font: 800 15px var(--display); color: var(--muted); }
.board.live .row.me .lrN { color: var(--accent); }
.board.live .row.moving { z-index: 2; box-shadow: 0 10px 26px -10px #000c; }
.board.live .pts.done .ic { width: 18px; height: 18px; color: var(--good); }
.board.live .pts.wait .spin { width: 14px; height: 14px; opacity: 0.6; }
.board.live .pts.out { color: var(--bad); font-size: 12px; font-weight: 800; }
.board.live .row.out { opacity: 0.55; }
.board.live .row.out .rowName b { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: color-mix(in srgb, var(--bad) 70%, transparent); }
.board.live .row.watch, .board.live .row.off { opacity: 0.45; }
.board.live .mv { position: absolute; left: -6px; top: -6px; display: inline-flex; align-items: center; gap: 1px; padding: 2px 6px 2px 3px; border-radius: 999px; font: 800 11px/1 var(--body); animation: pop 0.4s 1.2s var(--ease) backwards; }
.board.live .mv .ic { width: 12px; height: 12px; }
.board.live .mv.up { background: var(--good); color: #062514; }
.board.live .mv.up .ic { rotate: 180deg; }
.board.live .mv.down { background: var(--bad); color: #fff; }
@media (prefers-reduced-motion: reduce) { .board.live .mv { animation: none; } }

/* ---------- geçişlerde sohbet ve emoji açık kalsın ---------- */
.chatBox { z-index: 50; }
@media (min-width: 1100px) { body.hasChat .introCard { right: 352px; } }
@media (max-width: 1099px) { body.hasChat .introCard { bottom: var(--chatH, 0px); } }

/* ---------- oyun ekranı: kaydırmadan sığsın ---------- */
.game { gap: 12px; padding-top: 12px; }
.stage { padding: 10px 0 2px; gap: 10px; }
.disc { width: clamp(108px, 20vh, 190px); }
.cdRing { width: clamp(96px, 19vh, 190px); }
.stage .countdown { padding-top: 6px; }
.tq { min-height: clamp(150px, 22vh, 250px); margin: 6px 0 4px; padding: clamp(14px, 2.6vh, 32px) clamp(14px, 4vw, 36px); gap: 10px; }
.dock { margin-top: 12px; }
.answers { gap: 8px; }
@media (max-height: 820px) {
  .ans, .answers.multi .ans { min-height: 50px; padding-top: 8px; padding-bottom: 8px; }
  .listenInfo { margin-top: -4px; }
}

/* ---------- karma liste kapağı: sanatçı kolajı ---------- */
.collage { display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; background: #111; }
.collage > img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; border-radius: 0 !important; box-shadow: none !important; margin: 0; }
.collage.n2 { grid-template-rows: 1fr; }
.collage.n3 > img:first-child { grid-row: span 2; }
/* üst çubuk profil adı: dar ekranda harf harf kırılmasın */
.meBtn { min-width: 0; flex-shrink: 1; }
.meBtn > .av { flex: none; }
.meBtn > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; overflow-wrap: normal; }
@media (max-width: 700px) { .meBtn > span:last-child { display: none; } .meBtn { padding: 0 4px; } }

/* canlı sıralamada satır boyu soru ve sonuçta aynı kalsın */
.board.live .row { min-height: 54px; }
.board.live .pts { min-height: 34px; align-content: center; }
/* şarkı sorusu: plak ve sonuç kutusu ekran yüksekliğine göre; şıklar kaydırmadan görünsün */
.game > .stage, .game > .reveal { min-height: calc(clamp(108px, 20vh, 190px) + 64px); }
.game > .reveal .art { width: clamp(96px, 18vh, 150px); height: clamp(96px, 18vh, 150px); }
.game > .reveal { padding: clamp(12px, 2vh, 18px); }
@media (max-height: 760px) { .revealText h2 { font-size: clamp(24px, 4vw, 38px); } }
@media (max-height: 720px) {
  .dock:has(.waiting) { padding-top: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .dock .waiting { margin: 0; min-height: 32px; }
  .game { gap: 10px; padding-top: 8px; }
  .ans, .answers.multi .ans { min-height: 46px; }
}
/* kısa ekranlarda (dizüstü) soru kutusu cevap yeri ayırmasın; şıklar ekrana sığsın */
@media (max-height: 820px) {
  .tq .tqAns.slot:empty { display: none; }
  .tq { min-height: clamp(140px, 20vh, 200px); }
  .tqText { font-size: clamp(22px, 3.2vw, 30px); }
}
/* sade kartlar: yalnızca ad (topluluk quizlerinde yapanın adı) */
.cardBy { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.cardBy .ic { width: 12px; height: 12px; flex: none; }
.cardBy bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Google hesabı (profil penceresi) ---------- */
.acct { display: grid; gap: 8px; margin: 2px 0 14px; }
.acct small { font-size: 12.5px; line-height: 1.4; }
.acct.on { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--good) 10%, var(--s2)); border: 1px solid color-mix(in srgb, var(--good) 30%, var(--line)); }
.acct.on > .ic { color: var(--good); width: 20px; height: 20px; }
.acct.on span { display: grid; gap: 2px; min-width: 0; }
.acct.on span small:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.gBtn { gap: 10px; background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font-weight: 700; }
.gBtn:hover { background: #f4f6fb; }
.gLogo { width: 20px; height: 20px; flex: none; }
:root[data-theme="light"] .gBtn { box-shadow: 0 1px 2px #0002; }

/* ---------- tek kart düzeni (müzik kartlarındaki gibi) ----------
   Kapak üstte, ad ve yapan kapağın altında; kalp sol üstte, düzenle/gizle sağ üstte, oynanma sayısı kapağın alt ortasında.
   Trivia, anime, sıralama ve Sayı kartlarında kapak köşeli; şarkı kartlarında yuvarlak. Tür etiketi ve büyük oynat düğmesi yok. */
.qcard { min-width: 0; }
.qcard .qcardBtn { display: grid; justify-items: center; align-content: start; gap: 4px; aspect-ratio: auto; height: auto; padding: 6px 4px 10px; overflow: visible; text-align: center; background: none; border: 0; border-radius: var(--r-lg); box-shadow: none; transform: none; }
.qcard .qcardBtn::after { display: none; }
.qcard:hover .qcardBtn, .qcard .qcardBtn:focus-visible { transform: none; box-shadow: none; outline: none; }
.qcard .qcardArt { position: relative; inset: auto; width: 100%; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: var(--s2); box-shadow: 0 12px 30px #0008; transition: transform 0.3s var(--ease), box-shadow 0.3s; isolation: isolate; }
.qcard .qcardArt::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 2px #ffffff14; pointer-events: none; transition: box-shadow 0.3s; }
.qcard:hover .qcardArt, .qcard .qcardBtn:focus-visible .qcardArt { transform: translateY(-4px); box-shadow: 0 20px 44px #000a; }
.qcard:hover .qcardArt::after, .qcard .qcardBtn:focus-visible .qcardArt::after { box-shadow: inset 0 0 0 3px var(--accent); }
.qcard .qcardArt > .qcardImg { width: 100%; height: 100%; }
.qcard .qcardArt .noart.mono.emo, .qcard .qcardArt .noart.mono:not(.emo) { place-items: center; padding-top: 0; }
.qcard:hover .noart.emo, .qcard:hover .artMain { opacity: 1; transform: scale(1.06); }
.qcard .qcardInfo { position: static; inset: auto; display: grid; justify-items: center; gap: 2px; width: 100%; min-width: 0; }
.qcard:hover .qcardInfo { right: auto; }
.qcard .qcardInfo b { margin-top: 8px; max-width: 100%; font: 800 19px/1.05 var(--display); text-transform: uppercase; color: var(--ink); text-shadow: none; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qcard .qcardInfo small { max-width: 100%; color: var(--muted); font-size: 12px; flex-wrap: nowrap; }
:root[data-theme="light"] .qcard .qcardInfo b { color: var(--ink); }
.qcard .qcardTag, .qcard .qcardPlay { display: none; }
/* oynanma: kapağın alt ortası (her kartta aynı yer) */
.qcard .qcardPlays, .qcard.tools .qcardPlays { top: auto; right: auto; bottom: 8%; left: 50%; transform: translateX(-50%); z-index: 2; }
/* kalp sol üstte, araçlar sağ üstte (kapağın köşeleri) — şarkı kartlarıyla aynı */
.qcard > .favBtn, .qcard.tools > .favBtn, .acardW > .favBtn { top: 12px; left: 12px; right: auto; }
.qcard .cardTools, .acardW .cardTools { top: 12px; right: 12px; z-index: 3; }
@media (max-width: 560px) {
  .qcard .qcardArt { border-radius: 20px; }
  .qcard > .favBtn, .qcard.tools > .favBtn, .acardW > .favBtn { top: 10px; left: 10px; }
  .qcard .cardTools, .acardW .cardTools { top: 10px; right: 10px; }
}
/* ad yazısı her kart türünde aynı boyda */
.qcard .qcardInfo b, .acard b { font-size: clamp(15px, 4.2vw, 19px); }

/* ---------- profil penceresi (yeniden) ---------- */
.prof { display: grid; gap: 14px; }
.prof .sheetHead { margin-bottom: 0; }
.prof .acct { margin: 0; display: grid; gap: 6px; justify-items: center; text-align: center; }
.prof .acct small { max-width: 34ch; }
.gBtnHost { width: 100%; min-height: 44px; display: grid; place-items: center; }
.gBtnHost > div, .gBtnHost iframe { margin: 0 auto !important; }
.prof .acct.on { grid-template-columns: auto minmax(0, 1fr) auto; justify-items: stretch; text-align: left; gap: 4px 12px; padding: 12px 14px; border-radius: 18px; background: var(--s2); border: 1px solid var(--line); }
.acctPic { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--s3); font: 800 18px var(--display); }
.acctPic img { width: 100%; height: 100%; object-fit: cover; }
.acctTxt { display: grid; gap: 1px; min-width: 0; align-self: center; }
.acctTxt b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acctTxt small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.acctOut { align-self: center; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.acctOut:hover { color: var(--ink); border-color: var(--muted); }
.acctSync, .acct.on .acctSync { grid-column: 2 / -1; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--good); }
.acctSync .ic { width: 13px; height: 13px; flex: none; }
.profTop { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.profAv { position: relative; }
.profAv .av.xl { width: 92px; height: 92px; font-size: 34px; box-shadow: 0 10px 26px -10px #000c; }
.profCam { position: absolute; right: -2px; bottom: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 4px var(--s1); transition: transform 0.15s var(--ease); }
.profCam:hover { transform: scale(1.08); }
.profCam .ic { width: 17px; height: 17px; }
.profMain { display: grid; gap: 8px; min-width: 0; }
.profLbl { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.prof .nameRow { display: flex; gap: 8px; min-width: 0; }
.prof .nameRow input { flex: 1; min-width: 0; }
.prof .pick.colors { gap: 8px; flex-wrap: wrap; margin: 0; }
.prof .pick.colors .sw { width: 28px; height: 28px; }
.profTabs { display: flex; gap: 6px; flex-wrap: wrap; }
.profTabs button { display: inline-flex; align-items: center; gap: 6px; }
.profTabs .ic { width: 15px; height: 15px; }
.profA { font: 800 14px/1 var(--display); }
.profRm { margin-left: auto; color: var(--bad); }
.profGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; max-height: min(36vh, 260px); overflow-y: auto; padding: 4px; margin: -4px; }
.profGrid.letters { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); }
.profGrid button { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; background: var(--s2); border: 2px solid transparent; transition: border-color 0.15s, transform 0.15s var(--ease); }
.profGrid button:hover { transform: translateY(-2px); }
.profGrid button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--s2)); }
.profGrid .av { width: 72%; height: 72%; font-size: 18px; }
@media (max-width: 480px) { .profTop { grid-template-columns: 1fr; justify-items: center; } .profMain { width: 100%; } .profAv .av.xl { width: 84px; height: 84px; } }

/* ---------- profil sayfası (/quiz/profile) ---------- */
.pf { max-width: 1080px; margin: 0 auto; padding: 8px 0 40px; }
.pfHead { display: grid; gap: 4px; margin: 0 0 18px; }
.pfHead h1 { margin: 0; font: 800 clamp(28px, 6vw, 40px)/1.05 var(--display); letter-spacing: -0.02em; }
.pfGrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.pfCol { display: grid; gap: 16px; min-width: 0; }
.pfCard { background: var(--s1); border: 1px solid var(--line); border-radius: 22px; padding: 18px; min-width: 0; }
.pfCard.prof .profGrid { max-height: none; }
.pfCardHead { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pfCardHead h2 { margin: 0; font: 800 19px var(--display); }
.pfCardHead small { font-size: 12.5px; }
.pf .acct { margin: 0; }
.pf .acct.on { grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; padding: 0; background: none; border: 0; }
.acct.off { display: grid; gap: 14px; }
.acctCopy { display: grid; gap: 4px; }
.acctCopy b { font: 800 17px var(--display); }
.acctCopy small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.gWrap { position: relative; width: 100%; max-width: 360px; }
.gBtn { width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border-radius: 999px; background: #fff; color: #1f1f1f; font: 700 15px var(--body, inherit); box-shadow: 0 1px 0 #0000000d, 0 6px 18px -8px #000a; transition: transform 0.15s var(--ease), box-shadow 0.15s; }
.gBtn .gLogo { width: 20px; height: 20px; flex: none; }
.gWrap:hover .gBtn, .gBtn:focus-visible { transform: translateY(-1px); box-shadow: 0 1px 0 #0000000d, 0 10px 24px -8px #000c; }
.gBtn.busy { opacity: 0.7; }
:root[data-theme="light"] .gBtn { border: 1px solid #dadce0; box-shadow: none; }
/* Google'ın düğmesi görünmez olarak üstte durur: tıklama ona gider */
.gOver { position: absolute; inset: 0; overflow: hidden; opacity: 0.001; display: grid; place-items: center; }
.gWrap:not(.ready) .gOver { pointer-events: none; }
.gOver > div, .gOver iframe { margin: 0 auto !important; transform: scale(1.25); }
.profRmAsk { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--bad) 10%, var(--s2)); border: 1px solid color-mix(in srgb, var(--bad) 35%, var(--line)); font-size: 13.5px; }
.profRmAsk > .ic { width: 18px; height: 18px; color: var(--bad); flex: none; }
.profRmBtns { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
.profRm { margin: 0; justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; padding: 6px 10px; border-radius: 10px; }
.profRm:hover { background: color-mix(in srgb, var(--bad) 10%, transparent); }
.profRm .ic { width: 15px; height: 15px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
.stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; padding: 14px; border-radius: 16px; background: var(--s2); min-width: 0; }
.stat > .ic { grid-row: span 3; width: 22px; height: 22px; color: var(--accent); align-self: start; margin-top: 4px; }
.stat b { font: 800 24px/1.1 var(--display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.stat small { font-size: 12px; color: var(--muted); opacity: 0.85; }
@media (max-width: 860px) { .pfGrid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pfCard { padding: 14px; border-radius: 18px; } .stats { grid-template-columns: 1fr 1fr; gap: 8px; } .stat { padding: 12px; gap: 2px 8px; } .stat b { font-size: 20px; } .gWrap { max-width: none; } }

/* ---------- profil sayfası v2: başlık kartı, öne çıkan sayılar, quiz şeritleri, oyuncu profili ---------- */
.pf { max-width: 1120px; }
.pfHero { --c: #ff6a4d; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 26px 28px; margin-bottom: 18px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c) 34%, transparent), transparent 60%), radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%), var(--s1); border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); }
.pfHero.coral { --c: #ff6a4d; } .pfHero.violet { --c: #a78bfa; } .pfHero.mint { --c: #34d6a4; } .pfHero.gold { --c: #ffc23d; } .pfHero.sky { --c: #4cc2ff; } .pfHero.rose { --c: #ff6fae; }
.pfHero::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px; border-radius: 50%; border: 28px solid color-mix(in srgb, var(--c) 10%, transparent); z-index: -1; }
.pfHeroAv .av.xl { width: 108px; height: 108px; font-size: 42px; box-shadow: 0 0 0 4px var(--s1), 0 0 0 7px color-mix(in srgb, var(--c) 70%, transparent), 0 16px 34px -14px #000; }
.pfHeroTxt { display: grid; gap: 6px; min-width: 0; }
.pfHeroTxt h1 { margin: 0; font: 800 clamp(30px, 5.4vw, 46px)/1 var(--display); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.pfChips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pfChip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--muted); background: color-mix(in srgb, var(--s2) 80%, transparent); border: 1px solid var(--line); }
.pfChip .ic { width: 13px; height: 13px; }
.pfChip.ok { color: var(--good); border-color: color-mix(in srgb, var(--good) 35%, var(--line)); }
.pfHeroAct { display: grid; gap: 10px; justify-items: end; }
.pfVis button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pfVis .ic { width: 15px; height: 15px; }
.pfHeroBtns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pfHeroBtns .btn { white-space: nowrap; }
.pfGrid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.pfGrid.one { grid-template-columns: minmax(0, 1fr); }
.pfSide { position: sticky; top: 84px; }
.pfCardHead h2 { display: inline-flex; align-items: center; gap: 8px; }
.pfCardHead h2 .ic { width: 18px; height: 18px; color: var(--accent); }
.pfKpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.kpi { position: relative; display: grid; gap: 2px; padding: 16px; border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, var(--s2)), var(--s2) 70%); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); min-width: 0; }
.kpi.gold { background: linear-gradient(160deg, color-mix(in srgb, #ffc23d 18%, var(--s2)), var(--s2) 70%); border-color: color-mix(in srgb, #ffc23d 26%, var(--line)); }
.kpi.kpiR { background: var(--s2); border-color: var(--line); padding-right: 76px; }
.kpiIc { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); margin-bottom: 6px; }
.kpi.gold .kpiIc { background: #ffc23d2e; color: #ffc23d; }
.kpiIc .ic { width: 18px; height: 18px; }
.kpi b { font: 800 clamp(26px, 4vw, 34px)/1.05 var(--display); font-variant-numeric: tabular-nums; }
.kpi > span:not(.kpiIc):not(.kpiRing) { font-size: 13px; font-weight: 700; }
.kpi small { font-size: 12px; color: var(--muted); }
.kpiRing { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(var(--good) calc(var(--p) * 1%), color-mix(in srgb, var(--ink) 10%, transparent) 0); -webkit-mask: radial-gradient(circle, transparent 18px, #000 19px); mask: radial-gradient(circle, transparent 18px, #000 19px); }
.stats { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.stat { padding: 12px 14px; }
.stat b { font-size: 21px; }
.pfList .pfQs { display: grid; gap: 6px; }
.pfQ { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border-radius: 14px; text-align: left; background: transparent; transition: background 0.15s; color: inherit; width: 100%; }
button.pfQ:hover { background: var(--s2); }
.pfQ.off { opacity: 0.75; }
.pfQc { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; flex: none; font-size: 22px; }
.pfQc img { width: 100%; height: 100%; object-fit: cover; }
.pfQc.collage { display: grid; grid-template-columns: 1fr 1fr; }
.pfQt { display: grid; gap: 2px; min-width: 0; }
.pfQt b { font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfQt small { font-size: 12.5px; color: var(--muted); }
.pfPts { font: 800 18px var(--display); font-style: normal; color: var(--accent); font-variant-numeric: tabular-nums; }
.pfEmpty { margin: 0; padding: 14px; border-radius: 14px; background: var(--s2); color: var(--muted); font-size: 13.5px; }
.pfNote { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 0 6px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.pfNote .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.pfLock { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 34px 20px; margin-bottom: 16px; border-radius: 22px; background: var(--s1); border: 1px dashed var(--line); }
.pfLock .ic { width: 28px; height: 28px; color: var(--muted); }
.pfLock b { font: 800 19px var(--display); }
.pfLock span { color: var(--muted); font-size: 13.5px; max-width: 46ch; }
/* sıralama satırları tıklanır (oyuncunun profili) */
.lbList li[data-player] { cursor: pointer; transition: background 0.15s, transform 0.15s var(--ease); }
.lbList li[data-player]:hover { background: color-mix(in srgb, var(--ink) 7%, var(--s2)); }
.lbList li[data-player]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 900px) { .pfGrid { grid-template-columns: 1fr; } .pfSide { position: static; } }
@media (max-width: 720px) {
  .pfHero { grid-template-columns: auto minmax(0, 1fr); padding: 20px; gap: 16px; }
  .pfHeroAct { grid-column: 1 / -1; justify-items: stretch; }
  .pfVis { display: grid; grid-template-columns: 1fr 1fr; }
  .pfVis button { justify-content: center; }
  .pfHeroBtns { justify-content: stretch; }
  .pfHeroBtns .btn { flex: 1; justify-content: center; }
  .pfHeroAv .av.xl { width: 80px; height: 80px; font-size: 32px; }
}
@media (max-width: 560px) {
  .pfKpis { grid-template-columns: 1fr 1fr; }
  .kpi.kpiR { grid-column: 1 / -1; }
  .kpi { padding: 13px; }
  .pfHeroBtns .btn { padding-inline: 10px; font-size: 13px; }
}
.pfQ .pfQc { width: 46px; height: 46px; min-height: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; display: grid; place-items: center; font-size: 22px; margin: 0; position: relative; }
.pfQ .pfQc > img { width: 100%; height: 100%; object-fit: cover; position: static; }
.pfQ .pfQc.collage > img { width: 100%; height: 100%; }
.pfQ .pfQc.numCov > img { position: absolute; width: 60%; height: auto; }
.pfQ .pfQc.noart.mono { font-size: 17px; }
.pfQ .pfQc.noart.mono.emo { font-size: 24px; text-shadow: 0 3px 10px #0005; }

/* ---------- açılış kartı + sohbet (geniş ekran): kart bütün ekranı örter, sohbet üstünde yüzer ---------- */
/* (önceden kart sağdaki 352 px'i boş bırakıyordu; üst çubuğun yarısı ve sohbet kopuk görünüyordu) */
@media (min-width: 1100px) {
  body.hasChat .introCard { right: 0; padding-right: calc(24px + 352px); }
  body.hasChat:has(.introCard):has(.countdown.on) .chatBox { top: 16px; border-color: #ffffff1f; background: color-mix(in srgb, var(--s1) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
}

/* ---------- canlı sıralama çubuğu: tek parça; bu sorunun puanı aynı çubuğun ucunda yumuşak geçişle ---------- */
.board .meter { position: relative; height: 8px; border-radius: 999px; overflow: hidden; background: var(--s3); }
.board .meter span { position: absolute; top: 0; bottom: 0; left: 0; display: block; border-radius: 999px; }
.board .meter span:first-child { background: linear-gradient(90deg, #ff5b3a, #ff8a5c); }
.board .row.me .meter span:first-child { background: linear-gradient(90deg, #ffc23d, #ff8a5c); }
.board .meter:has(.gain) span:first-child { border-radius: 999px 0 0 999px; }
.board .meter .gain {
  background: linear-gradient(90deg, color-mix(in srgb, var(--good) 35%, #ff8a5c), var(--good));
  box-shadow: none;
  border-radius: 0 999px 999px 0;
  transform-origin: left center;
  animation: gainIn 0.8s 0.25s var(--ease) backwards;
}
@keyframes gainIn { from { transform: scaleX(0); opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .board .meter .gain { animation: none; } }

/* ---------- opening sorusu: soru metni ---------- */
.opq .opText { font-size: clamp(18px, 2.4vw, 24px); margin: 0; }

/* ---------- "Hazırım" (çok oyunculu sonuç ve quiz arası) ---------- */
.readyBox { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.readyBox .readyBtn { flex: 1; justify-content: center; gap: 8px; }
.readyBox.withNext { flex: 0 1 auto; }
.readyBox.withNext .readyBtn { flex: 0 0 auto; }
.readyBtn .rdLeft { font-variant-numeric: tabular-nums; opacity: 0.75; font-weight: 600; }
.readyBtn .rdLeft:empty { display: none; }
.readyBtn .rdLeft::before { content: "· "; }
.readyBtn.on { background: color-mix(in srgb, var(--good) 22%, var(--s2)); color: var(--good); border-color: color-mix(in srgb, var(--good) 45%, transparent); box-shadow: none; }
.rdInfo { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.rdInfo b { color: var(--ink); font: 800 16px var(--display); font-variant-numeric: tabular-nums; }
.rdInfo small { font-size: 12px; font-weight: 700; }
.rdAvs { display: inline-flex; }
.rdAvs .av { margin-left: -6px; box-shadow: 0 0 0 2px var(--bg); }
.rdAvs .av:first-child { margin-left: 0; }
@media (max-width: 560px) {
  .readyBox.withNext { flex: 1 1 100%; }
  .readyBox.withNext .readyBtn { flex: 1; }
}

/* ---------- Sayı Quizi (lobide): geri sayımda yer kaymasın, VS görünmesin ---------- */
/* her soru yeniden çizilir: kutunun kayarak gelme animasyonu tahtayı oynatıyordu */
.nqm { animation: none; }
/* sonuç satırının yeri her zaman ayrılır; soru açılınca kutu kısalıp alttaki sıralama zıplamasın */
.nqm .nqVerdict { min-height: 40px; align-items: center; }
/* geri sayım katmanı tahtanın (VS ve seçen oyuncu rozetleri dahil) üstünde */
.nqm .countdown { z-index: 6; }
.nqm:has(.countdown.on) :is(.nqVs, .voters, .nqVal) { visibility: hidden; }

/* lobide soru sırasında alt şerit boşsa hiç görünmesin (telefonda havada kalıyordu) */
.dock:empty { display: none; }
/* dil değişirken kısa geçiş perdesi */
.langVeil { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(6px); animation: lvIn 0.15s ease; transition: opacity 0.25s; }
.langVeil.out { opacity: 0; }
.langVeil .spin, .langVeil svg { width: 34px; height: 34px; }
@keyframes lvIn { from { opacity: 0; } }

/* ---------- Kişilik testleri ---------- */
/* hareketli emoji: kutunun ölçüsü sabit, resim gelmeden de yer tutar (sayfa kaymaz) */
.pzA { display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); line-height: 1; }
.pzA img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pzA b { font-size: calc(var(--s) * 0.82); font-weight: 400; }
.pzA.float { animation: pzFloat 3.2s ease-in-out infinite; }
.pzA.pop { animation: pzPop 0.38s var(--ease) both; }
@keyframes pzFloat { 50% { transform: translateY(-8px); } }
@keyframes pzPop { from { transform: scale(0.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pzA.float, .pzA.pop { animation: none; } }

.pzGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.pzCard { --c: hsl(var(--h) 85% 62%); display: flex; align-items: center; gap: 14px; padding: 12px 14px; text-align: left; border-radius: var(--r-lg); background: var(--s2); border: 1px solid var(--line); color: var(--ink); transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s; animation: rise 0.45s var(--ease) backwards; animation-delay: calc(var(--i) * 40ms); min-width: 0; }
.pzCard:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 10px 30px -14px var(--c); }
.pzCardArt { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(120% 120% at 20% 10%, hsl(var(--h) 90% 66% / 0.55), hsl(calc(var(--h) + 40) 80% 45% / 0.25)); }
.pzCardTxt { min-width: 0; display: grid; gap: 4px; }
.pzCardTxt b { font: 800 16px/1.2 var(--display); }
.pzCardTxt small { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 5px; min-width: 0; }
.pzCardTxt small .ic { width: 13px; height: 13px; color: var(--c); flex: none; }
.pzCardTxt small span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-rail.pz .hm-track .pzCard { flex: none; width: 280px; }

/* üç sütun: geniş ekranda solda ilerleme, sağda diğer testler ve quizler */
.pzWrap { --c: hsl(var(--h) 85% 62%); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; padding: 8px 0 48px; }
.pzSide { display: none; }
@media (min-width: 1180px) {
  .pzWrap { grid-template-columns: 250px minmax(0, 720px) 270px; justify-content: center; }
  .pzSide { display: block; position: sticky; top: 84px; }
}
.pz { min-width: 0; width: 100%; max-width: 760px; margin: 0 auto; }
.pzSideCard { padding: 16px; border-radius: var(--r-lg); background: var(--s2); border: 1px solid var(--line); }
.pzSideCard + .pzSideCard { margin-top: 14px; }
.pzSideCard h3 { display: flex; align-items: center; gap: 8px; font: 800 15px/1.2 var(--display); margin: 0 0 10px; }
.pzSideCard h3 .ic { width: 16px; height: 16px; color: var(--c); }
.pzSideHead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pzSideHead b { font: 800 16px/1.2 var(--display); }
.pzSteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; counter-reset: s; }
.pzSteps li { min-width: 0; }
.pzSteps button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 10px; text-align: left; color: var(--muted); font-size: 13px; }
.pzSteps button:not(:disabled):hover { background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--ink); }
.pzSteps button:disabled { cursor: default; }
.pzDot { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 var(--display); border: 1.5px solid var(--line); color: var(--muted); }
.pzStepQ { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pzSteps .done .pzDot { background: color-mix(in srgb, var(--c) 22%, transparent); border-color: transparent; color: var(--c); }
.pzSteps .cur button { color: var(--ink); background: color-mix(in srgb, var(--c) 12%, transparent); }
.pzSteps .cur .pzDot { border-color: var(--c); color: var(--ink); }
.pzSideNote { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.pzSideNote .ic { width: 14px; height: 14px; color: var(--c); flex: none; }
.pzMini { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; text-align: left; color: var(--ink); font-size: 13.5px; font-weight: 600; transition: background 0.15s; }
.pzMini:hover { background: color-mix(in srgb, var(--c) 10%, transparent); }
.pzMini > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pzMiniImg { flex: none; width: 36px; height: 36px; border-radius: 9px; object-fit: cover; overflow: hidden; }
.pzMini.quiz :is(img, .noart, span:first-child:not(:last-child)) { flex: none; width: 36px; height: 36px; border-radius: 9px; }

.pzTop { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 14px; }
.pzTitle { font: 700 15px/1.2 var(--display); color: var(--muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pzStep { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.pzStep b { color: var(--ink); font-size: 18px; }
.pzIntro, .pzHero { position: relative; text-align: center; padding: 30px 20px; border-radius: var(--r-lg); background: radial-gradient(120% 90% at 50% 0%, hsl(var(--h) 85% 60% / 0.24), transparent 70%), var(--s2); border: 1px solid var(--line); overflow: hidden; }
.pzIntro h1, .pzHero h1 { font: 800 clamp(26px, 6vw, 40px)/1.1 var(--display); margin: 14px 0 10px; text-wrap: balance; }
.pzIntro p, .pzHero p { color: var(--muted); max-width: 52ch; margin: 0 auto 18px; line-height: 1.55; text-wrap: pretty; }
.pzRules { list-style: none; padding: 0; margin: 0 auto 22px; max-width: 460px; display: grid; gap: 10px; text-align: left; }
.pzRules li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.pzRules .ic { flex: none; width: 18px; height: 18px; color: var(--c); margin-top: 1px; }

/* soru ekranı: her ölçü sabit, sorudan soruya hiçbir şey kaymaz */
.pzBar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-bottom: 18px; }
.pzBar i { display: block; height: 100%; background: var(--c); border-radius: inherit; transition: width 0.35s var(--ease); }
.pzStage { display: grid; grid-template-rows: 120px 3.6em; justify-items: center; align-items: center; gap: 10px; margin-bottom: 18px; text-align: center; padding: 14px 16px 18px; border-radius: var(--r-lg); background: radial-gradient(90% 120% at 50% 0%, hsl(var(--h) 85% 60% / 0.2), transparent 70%), var(--s2); border: 1px solid var(--line); font-size: clamp(19px, 4.4vw, 25px); }
.pzVis { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, hsl(var(--h) 90% 65% / 0.28), transparent 70%); }
.pzStage h2 { font: 800 1em/1.2 var(--display); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; align-self: center; max-width: 34ch; animation: pzFade 0.3s ease both; }
@keyframes pzFade { from { opacity: 0; } }
.pzOpts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pzOpt { display: flex; align-items: center; gap: 12px; height: 94px; padding: 0 16px; border-radius: var(--r); background: var(--s2); border: 1.5px solid var(--line); color: var(--ink); text-align: left; font-size: 15.5px; line-height: 1.3; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.pzOpt:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--s2)); }
.pzOpt.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 20%, var(--s2)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.pzOptT { min-width: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pzKey { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 800 14px/1 var(--display); background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); }
.pzOpt.on .pzKey { background: var(--c); color: #111; }
.pzNav { margin-top: 16px; min-height: 40px; }

.pzRes { position: relative; }
.pzMatch { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 99px; font: 800 14px/1 var(--display); background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); }
.pzHero .kicker { color: var(--c); display: block; margin-bottom: 8px; }
.pzCardBox { margin-top: 16px; padding: 18px; border-radius: var(--r-lg); background: var(--s2); border: 1px solid var(--line); }
.pzCardBox h3, .pzMore h3 { display: flex; align-items: center; gap: 8px; font: 800 16px/1.2 var(--display); margin: 0 0 14px; }
.pzCardBox h3 .ic, .pzMore h3 .ic { width: 18px; height: 18px; color: var(--c); }
.pzAxis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 2fr) minmax(0, 1fr) 54px; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; }
.pzAxis .lo { text-align: right; color: var(--muted); }
.pzAxis .hi { color: var(--muted); }
.pzAxis .on { color: var(--ink); font-weight: 700; }
.pzAxis em { font-style: normal; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.pzTrack { position: relative; height: 8px; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 30%, var(--line)), var(--line) 50%, color-mix(in srgb, var(--c) 30%, var(--line))); }
.pzTrack i { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--s2); }
.pzNear { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(60px, 2fr) 54px; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.pzNear > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pzNearBar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.pzNearBar i { display: block; height: 100%; background: color-mix(in srgb, var(--c) 70%, var(--muted)); border-radius: inherit; }
.pzNear em { font-style: normal; font-weight: 700; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.pzBtns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.pzMore { margin-top: 32px; }
@media (max-width: 600px) {
  .pzStage { grid-template-rows: 92px 3.6em; padding: 12px 12px 14px; margin-bottom: 14px; }
  .pzVis { width: 92px; height: 92px; }
  .pzVis .pzA { --s: 72px !important; }
  .pzOpts { grid-template-columns: 1fr; gap: 9px; }
  .pzOpt { height: 62px; font-size: 15px; }
  .pzAxis { grid-template-columns: minmax(0, 1fr) minmax(70px, 1.4fr) minmax(0, 1fr) 46px; gap: 7px; font-size: 12.5px; }
  .pzBtns .btn { flex: 1 1 100%; }
  .hm-rail.pz .hm-track .pzCard { width: 250px; }
}

/* ---------- kişilik testi: paylaşım kartı ---------- */
.pzShareBtn { border-color: color-mix(in srgb, hsl(var(--h) 90% 60%) 50%, var(--line)); }
.pzShareImg { display: grid; place-items: center; aspect-ratio: 4 / 5; width: min(100%, 340px); margin: 0 auto; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 50% 35%, hsl(var(--h) 80% 35% / .6), #0d0c11); box-shadow: 0 18px 50px -20px #000c; }
.pzShareImg img { width: 100%; height: 100%; object-fit: cover; display: block; animation: rise .35s var(--ease); }
.pzShareWait { color: var(--muted); font-weight: 700; font-size: 14px; }
.pzShareBtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pzShareBtns .btn { justify-content: center; }
.pzShareBtns .wa { background: #1fae5a; color: #fff; border-color: transparent; }
.pzShareHint { text-align: center; font-size: 13px; }
