:root {
  --bg: #f6f0e8;
  --card: #ffffff;
  --ink: #2b2530;
  --muted: #7a7180;
  --line: #ebe2d6;
  --accent: #6c5ce7;
  --accent-2: #8f7dff;
  --gold: #f4b400;
  --focus: #ff6b4a;
  --break: #2ec4b6;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(60, 40, 20, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  min-height: 100vh;
}
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
input { font: inherit; }
h1, h2, h3 { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Butonlar ---------- */
.btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 9px 16px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.1s, background 0.15s, box-shadow 0.15s;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--accent-2); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgba(0, 0, 0, 0.05); }
.btn.big { padding: 12px 26px; font-size: 17px; }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.buy { background: #fff7d6; border-color: #f6d365; color: #7a5a00; }

/* ---------- Üst bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px;
  background: rgba(246, 240, 232, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 18px; }
.topbar-right { display: flex; gap: 10px; align-items: center; }
.coins {
  position: relative;
  background: #fff7d6; border: 1px solid #f6d365; color: #6b4e00;
  padding: 6px 14px; border-radius: 999px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.coins.big { font-size: 20px; padding: 8px 18px; }
.coins.bump { animation: bump 0.4s; }
@keyframes bump { 50% { transform: scale(1.15); } }
.coin-pop {
  position: absolute; right: 0; top: 100%;
  color: #b8860b; font-weight: 800; white-space: nowrap;
  animation: pop 1.4s ease-out forwards; pointer-events: none;
}
@keyframes pop { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(20px); } }
.me-btn {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 14px 3px 3px; cursor: pointer; font-weight: 600;
}
.me-mini { width: 34px; height: 34px; border-radius: 50%; background: #efe7ff; overflow: hidden; display: block; }
.me-mini svg { width: 100%; height: 100%; transform: scale(1.5) translateY(14%); }

/* ---------- Ortak form ---------- */
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
input[type="text"], input:not([type]), input[type="number"], input[type="password"] {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff;
  outline: none; font-weight: 400;
}
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15); }
.field-label { font-weight: 600; font-size: 14px; margin: 14px 0 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches.big .swatch { width: 42px; height: 42px; }
.swatch {
  width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; background: var(--c);
  box-shadow: 0 0 0 1px var(--line); cursor: pointer;
}
.swatch.on { box-shadow: 0 0 0 3px var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: 13px;
}
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Giriş ---------- */
.screen { padding: 24px; }
#screenLogin { min-height: 100vh; display: grid; place-items: center; }
.login-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center;
  background: var(--card); border-radius: 28px; padding: 36px; box-shadow: var(--shadow);
  max-width: 820px; width: 100%;
}
.login-preview {
  background: radial-gradient(circle at 50% 40%, #fff5e6, #ffe1c4);
  border-radius: 24px; aspect-ratio: 1; display: grid; place-items: end center; overflow: hidden;
}
.login-preview svg { width: 85%; animation: bob 3s ease-in-out infinite; }
.login-form h1 { font-size: 34px; }
.login-form p { margin: 8px 0 18px; line-height: 1.5; }
.login-form .btn { margin-top: 22px; width: 100%; }

/* ---------- Lobi ---------- */
.lobby { display: grid; grid-template-columns: 300px 1fr; gap: 24px; max-width: 1200px; margin: 0 auto; }
.profile-card {
  background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  text-align: center; align-self: start; position: sticky; top: 80px;
}
.profile-avatar {
  position: relative; background: radial-gradient(circle at 50% 40%, #f3efff, #e4dcff);
  border-radius: 20px; height: 200px; display: grid; place-items: end center; overflow: hidden; margin-bottom: 14px;
}
.profile-avatar > svg { height: 92%; }
.profile-pet { position: absolute; right: 18px; bottom: 8px; width: 56px; }
.profile-card h2 { font-size: 22px; margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.stats div { background: var(--bg); border-radius: 12px; padding: 10px 4px; display: flex; flex-direction: column; }
.stats b { font-size: 20px; }
.stats span { font-size: 12px; color: var(--muted); }
.profile-card .btn { width: 100%; }
.profile-card p { margin: 14px 0 0; line-height: 1.5; }

.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-head h2 { font-size: 26px; }
.create-card {
  background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px;
}
.theme-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.theme-opt {
  border: 2px solid transparent; border-radius: 14px; padding: 14px 8px; cursor: pointer; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.theme-opt small { font-size: 11px; opacity: 0.9; }
.theme-opt.on { border-color: var(--ink); box-shadow: 0 0 0 3px #fff inset; }
.to-emoji { font-size: 28px; }
.theme-kafe.theme-opt, .theme-kafe .rc-band { background: linear-gradient(135deg, #d4895a, #a8603a); }
.theme-kutuphane.theme-opt, .theme-kutuphane .rc-band { background: linear-gradient(135deg, #7b5640, #4a2f20); }
.theme-ofis.theme-opt, .theme-ofis .rc-band { background: linear-gradient(135deg, #6a8bb3, #3e5878); }
.theme-ev.theme-opt, .theme-ev .rc-band { background: linear-gradient(135deg, #f0a6a0, #c97b84); }
.form-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-top: 16px; }
.form-row output { color: var(--accent); }
input[type="range"] { accent-color: var(--accent); margin-top: 10px; }
.presets { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.presets button { border: 1px dashed var(--line); background: var(--bg); border-radius: 999px; padding: 5px 12px; cursor: pointer; font-size: 13px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

.room-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.room-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.rc-band { color: #fff; padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.rc-emoji { font-size: 20px; }
.rc-band .chip { margin-left: auto; background: rgba(255, 255, 255, 0.92); color: var(--ink); border: 0; cursor: default; font-variant-numeric: tabular-nums; }
.room-card h3 { padding: 14px 16px 4px; font-size: 18px; }
.rc-meta { padding: 0 16px; color: var(--muted); font-size: 13px; }
.rc-avatars { display: flex; gap: 4px; padding: 12px 16px; flex-wrap: wrap; }
.mini { width: 38px; height: 38px; border-radius: 50%; background: #f1ebff; overflow: hidden; }
.mini svg { width: 100%; height: 100%; transform: scale(1.5) translateY(14%); }
.empty-mini { background: transparent; border: 2px dashed var(--line); }
.room-card .btn { margin: auto 16px 16px; }
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--muted);
  border: 2px dashed var(--line); border-radius: var(--radius); line-height: 1.7;
}

/* ---------- Oda ---------- */
.room { display: grid; grid-template-columns: 1fr 340px; gap: 20px; max-width: 1400px; margin: 0 auto; }
.room-main { min-width: 0; }
.room-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.room-title { flex: 1; text-align: center; font-size: 18px; }

.timer-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 20px; text-align: center; margin-bottom: 16px; border-top: 6px solid #c9c1d6;
}
.timer-card.phase-focus { border-top-color: var(--focus); }
.timer-card.phase-break { border-top-color: var(--break); }
.timer-phase { font-weight: 700; color: var(--muted); }
.phase-focus .timer-phase { color: var(--focus); }
.phase-break .timer-phase { color: #149c90; }
.timer-time { font-size: 68px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 1px; line-height: 1.1; }
.paused .timer-time { opacity: 0.5; }
.timer-bar { height: 8px; background: #f0eaf3; border-radius: 99px; overflow: hidden; margin: 10px auto; max-width: 520px; }
.timer-bar div { height: 100%; width: 0; background: #c9c1d6; transition: width 0.3s linear; }
.phase-focus .timer-bar div { background: linear-gradient(90deg, #ff9a5a, var(--focus)); }
.phase-break .timer-bar div { background: linear-gradient(90deg, #7ee0d4, var(--break)); }
.timer-meta { font-size: 13px; margin-bottom: 12px; }
.timer-controls { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; align-items: center; }
.settings-row { flex-basis: 100%; display: flex; gap: 12px; justify-content: center; align-items: end; margin-top: 6px; flex-wrap: wrap; }
.settings-row label { flex-direction: row; align-items: center; gap: 6px; }
.settings-row input { width: 74px; padding: 6px 8px; }

/* 3D Sahne */
.scene3d {
  position: relative; height: 440px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #1b1625; touch-action: none;
}
.scene3d.rows-2 { height: 560px; }
.scene3d canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.scene3d canvas:active { cursor: grabbing; }
.labels3d { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.label3d {
  position: absolute; left: 0; top: 0; will-change: transform;
  background: rgba(30, 24, 36, 0.78); color: #fff; padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; text-align: center; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.label3d b { display: block; }
.label3d small { display: block; font-weight: 400; font-size: 11px; opacity: 0.85; }
.label3d .b {
  position: absolute; right: -14px; top: -16px; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; font-size: 15px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  animation: bob 2s ease-in-out infinite;
}
.label3d.me { background: var(--accent); }
.label3d.mood-focus small { color: #ffc4b5; }
.label3d.mood-break small { color: #a8f0e8; }
.label3d.mood-empty { background: rgba(255, 255, 255, 0.55); color: #444; padding: 2px 10px; }
.scene-hint {
  position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: #fff; opacity: 0.75;
  background: rgba(0, 0, 0, 0.35); padding: 4px 10px; border-radius: 999px; pointer-events: none;
}
.no3d { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
@keyframes bob { 50% { transform: translateY(-3px); } }
.desk-pet svg, .profile-pet svg, .shop-pet svg { width: 100%; height: 100%; animation: bob 2.2s ease-in-out infinite; }

/* Yan panel */
.room-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.panel h3 { font-size: 16px; margin-bottom: 10px; }
.member-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.member-list li { display: flex; align-items: center; gap: 10px; }
.ml-av { width: 40px; height: 40px; border-radius: 50%; background: #f1ebff; overflow: hidden; flex-shrink: 0; }
.ml-av svg { width: 100%; height: 100%; transform: scale(1.5) translateY(14%); }
.ml-name { display: flex; flex-direction: column; font-weight: 600; min-width: 0; }
.ml-name em { color: var(--muted); font-style: normal; font-weight: 400; }
.ml-name small { font-weight: 400; color: var(--muted); font-size: 12px; }
.member-list .mood-sleep { opacity: 0.55; }
.chat { display: flex; flex-direction: column; flex: 1; min-height: 360px; }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 4px; max-height: 52vh; min-height: 220px; }
.msg { background: var(--bg); border-radius: 12px; padding: 6px 10px; display: grid; grid-template-columns: 1fr auto; font-size: 14px; }
.msg b { font-size: 12px; color: var(--accent); }
.msg span { grid-column: 1; word-break: break-word; }
.msg time { grid-row: 1; grid-column: 2; font-size: 11px; color: var(--muted); }
.msg.mine { background: #efeaff; }
.msg.sys { background: transparent; color: var(--muted); font-size: 12px; text-align: center; display: block; padding: 2px; }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-form input { flex: 1; min-width: 0; }

/* ---------- Mağaza ---------- */
.modal {
  position: fixed; inset: 0; z-index: 50; background: rgba(30, 20, 40, 0.45);
  display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px);
}
.modal-box {
  position: relative; background: var(--card); border-radius: 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  width: min(980px, 100%); max-height: 92vh; overflow: hidden;
}
.modal-close {
  position: absolute; right: 14px; top: 12px; z-index: 2; border: 0; background: var(--bg); width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; font-size: 16px;
}
.shop { display: grid; grid-template-columns: 300px 1fr; }
.shop-preview {
  background: radial-gradient(circle at 50% 35%, #fff5e6, #ffe1c4); padding: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.shop-avatar { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: end center; }
.shop-avatar > svg { width: 90%; animation: bob 3s ease-in-out infinite; }
.shop-pet { position: absolute; right: 0; bottom: 0; width: 64px; }
.shop-preview label { width: 100%; }
.shop-body { padding: 22px; overflow-y: auto; max-height: 92vh; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; padding-right: 40px; }
.tab { border: 0; background: var(--bg); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.tab.on { background: var(--ink); color: #fff; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.item-card {
  border: 2px solid var(--line); border-radius: 16px; padding: 10px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.item-card.equipped { border-color: var(--accent); background: #f7f4ff; }
.item-prev { width: 100%; aspect-ratio: 1; background: var(--bg); border-radius: 12px; display: grid; place-items: end center; overflow: hidden; }
.item-prev svg { width: 88%; }
.item-prev.slot-hat svg, .item-prev.slot-hair svg { width: 112%; }
.item-prev.slot-glasses svg { width: 150%; transform: translateY(22%); }
.item-prev.slot-pet { place-items: center; }
.item-prev.slot-pet svg { width: 70%; }
.item-name { font-weight: 700; font-size: 14px; }
.item-sub { font-size: 12px; color: var(--muted); }
.item-card .btn { width: 100%; margin-top: 4px; }

/* ---------- Bildirim ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; box-shadow: var(--shadow);
  max-width: calc(100% - 32px); animation: toastIn 0.25s;
}
.toast.error { background: #d64545; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Mobil ---------- */
@media (max-width: 1000px) {
  .room { grid-template-columns: 1fr; }
  .lobby { grid-template-columns: 1fr; }
  .profile-card { position: static; }
}
@media (max-width: 700px) {
  .screen { padding: 16px; }
  .login-card { grid-template-columns: 1fr; padding: 22px; }
  .login-preview { max-width: 220px; margin: 0 auto; width: 100%; }
  .theme-pick { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .timer-time { font-size: 52px; }
  .room-head { flex-wrap: wrap; }
  .room-title { order: -1; flex-basis: 100%; }
  .scene3d { height: 340px; }
  .scene3d.rows-2 { height: 420px; }
  .shop { grid-template-columns: 1fr; overflow-y: auto; }
  .shop-avatar { max-width: 200px; }
  .shop-body { max-height: none; overflow: visible; }
  .modal-box { overflow-y: auto; }
  .topbar { padding: 8px 12px; }
  #meName { display: none; }
  .me-btn { padding: 3px; }
}

/* ---------- İkonlar ---------- */
.ic { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -0.18em; }
.coin { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.2em; }
.coin.inline { width: 1em; height: 1em; margin-right: 3px; }
.logo { width: 28px; height: 28px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.brand { display: flex; align-items: center; gap: 10px; }
.coins { display: inline-flex; align-items: center; gap: 6px; }
.today-pill {
  display: inline-flex; align-items: center; gap: 6px; background: #eef7ff; border: 1px solid #cfe5ff; color: #1d4f8a;
  padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
}
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center; color: var(--muted);
}
.icon-btn:hover { color: var(--ink); }
.modal-close { display: grid; place-items: center; }

/* Giriş */
.login-form h1 { display: flex; align-items: center; gap: 12px; }
.login-form h1 .logo { width: 38px; height: 38px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.auth-tabs button { border: 0; background: transparent; padding: 9px; border-radius: 9px; cursor: pointer; font-weight: 700; color: var(--muted); }
.auth-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); }
#authForm { display: flex; flex-direction: column; gap: 12px; }
#authForm .btn { margin-top: 10px; width: 100%; }
.input-ic { position: relative; display: flex; }
.input-ic .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-ic input { width: 100%; padding-left: 38px; }
.chip { display: inline-flex; align-items: center; gap: 5px; }

/* Lobi */
.stats { grid-template-columns: repeat(2, 1fr); }
.rc-band .ic { width: 20px; height: 20px; }
.rc-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.rc-meta .sep { width: 8px; }
.theme-opt .to-ic { width: 30px; height: 30px; margin-bottom: 4px; }
.presets { align-items: center; }

/* Oda */
.room-title { display: flex; align-items: center; justify-content: center; gap: 8px; }
.timer-phase { display: inline-flex; align-items: center; gap: 7px; }
.time-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 640px; margin: 14px auto 10px;
}
.time-stats div { background: var(--bg); border-radius: 12px; padding: 10px 6px; display: flex; flex-direction: column; gap: 2px; }
.ts-label { font-size: 12px; color: var(--muted); }
.time-stats b { font-size: 17px; font-variant-numeric: tabular-nums; }
.phase-focus .time-stats div:nth-child(1) b { color: var(--focus); }
.phase-break .time-stats div:nth-child(1) b { color: #149c90; }
.settings-row { gap: 10px; }
.preset-mini { display: inline-flex; gap: 4px; }
.preset-mini button { border: 1px dashed var(--line); background: var(--bg); border-radius: 999px; padding: 4px 10px; cursor: pointer; font-size: 12px; }
.preset-mini button:hover { border-color: var(--accent); color: var(--accent); }
.timer-meta { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; }
.scene-hint { display: inline-flex; align-items: center; gap: 6px; }
.label3d .b { color: var(--accent); }
.label3d .b .ic { width: 16px; height: 16px; }
.label3d.mood-sleep .b { color: #6b7280; }
.ml-name small { display: flex; align-items: center; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #c9c1d6; display: inline-block; flex-shrink: 0; }
.mood-focus .dot { background: var(--focus); }
.mood-break .dot { background: var(--break); }
.chat-form .btn { padding: 9px 14px; }

@media (max-width: 700px) {
  .time-stats { grid-template-columns: repeat(2, 1fr); }
  .today-pill { display: none; }
}

/* ---------- Yönetim paneli ---------- */
.admin-btn { background: #1f1a2b; color: #fff; border-color: #1f1a2b; padding: 7px 14px; }
.admin-btn:hover:not(:disabled) { background: #332a47; }
.modal-box.admin { padding: 26px; overflow-y: auto; max-width: 1000px; }
.admin-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 22px; }
.modal-box.admin section { margin-bottom: 22px; }
.modal-box.admin h3 { font-size: 16px; margin-bottom: 10px; }
.admin-give { background: #fff8e1; border: 1px solid #f6d365; border-radius: 16px; padding: 16px; }
.give-row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.give-row label { flex: 1; min-width: 160px; }
.give-row select { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; font: inherit; }
.give-quick { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.give-quick button { border: 1px solid #f6d365; background: #fff; border-radius: 999px; padding: 5px 12px; cursor: pointer; font-weight: 700; font-size: 13px; }
.give-quick button:hover { background: #fff1c2; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 10px; background: var(--bg); white-space: nowrap; }
.admin-table td { padding: 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.admin-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-table td.actions { white-space: nowrap; text-align: right; }
.admin-table td.actions .btn { margin-left: 4px; }
.status { width: 8px; height: 8px; border-radius: 50%; background: #c9c1d6; display: inline-block; margin-right: 6px; }
.status.on { background: #2ec4b6; }
.badge { background: #1f1a2b; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; vertical-align: 1px; font-style: normal; }
.admin-room { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.admin-room .ic { margin-right: 6px; }
@media (max-width: 700px) { .admin-btn { padding: 7px 10px; font-size: 13px; } }

/* ---------- Sesli sohbet ---------- */
.voice-panel .btn { width: 100%; }
.voice-panel p { margin: 8px 0 0; }
.voice-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.voice-row .btn { width: auto; }
.btn.danger { background: #fde8e8; border-color: #f5b5b5; color: #b42318; }
.mic-state { display: inline-flex; margin-left: 6px; color: #2ec4b6; vertical-align: -2px; }
.mic-state.off { color: #d64545; }
.member-list li .ml-av { transition: box-shadow 0.15s; }
.member-list li.speaking .ml-av { box-shadow: 0 0 0 3px #2ec4b6, 0 0 12px rgba(46, 196, 182, 0.7); }
.label3d { transition: box-shadow 0.15s; }
.label3d.speaking { box-shadow: 0 0 0 3px #2ec4b6, 0 0 16px rgba(46, 196, 182, 0.8); }
a.btn { text-decoration: none; }
