/* 5.75: Discord'dan gelenler — mesaj kutusu, yanıt, tepki, biçim, ekler, profil kartı, durum, seslen, ses panosu.
   Renkler tema değişkenlerinden (sarı / siyah / beyaz temada aynı yapı). */

/* ---------- Mesaj kutusu ---------- */
.composer { height: auto; min-height: 42px; align-items: flex-end; padding: 5px 6px 5px 8px; gap: 4px; position: relative; }
.composer .prompt { align-self: center; padding-left: 2px; }
.composer textarea {
  flex: 1; min-width: 0; resize: none; overflow-y: auto; background: none; border: 0; outline: none; color: inherit;
  font: inherit; font-size: 13px; line-height: 21px; max-height: 180px; padding: 5px 2px; scrollbar-width: thin;
}
.composer textarea::placeholder { color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer:not(.has-text) > button[aria-label="Gönder"], .composer.has-text > .composer-btn[aria-label="Ses mesajı kaydet"] { display: none; }
.composer .icon-btn { flex: none; align-self: flex-end; }
.composer-btn { width: 30px; height: 30px; color: var(--muted); border-radius: 6px; }
.composer-btn:hover { color: var(--fg); background: var(--panel); }
.composer.recording > :not(.voice-rec):not(.at-pop) { visibility: hidden; }

.composer-reply {
  display: flex; align-items: center; gap: 8px; margin: 0 12px -6px; padding: 6px 10px 10px; border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--accent) 10%, var(--raise)); color: var(--muted); font-size: 12px;
}
.composer-reply[hidden] { display: none; }
.composer-reply-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.composer-reply-text b { color: var(--fg); }
.composer-reply-text small { color: var(--faint); font-size: 11.5px; }
.composer-reply-x { width: 22px; height: 22px; border-radius: 50%; color: var(--muted); }
.composer-reply-x:hover { background: var(--panel); color: var(--fg); }

.composer-tray { display: flex; gap: 8px; margin: 0 12px 6px; }
.composer-tray[hidden] { display: none; }
.composer-file {
  position: relative; display: flex; align-items: center; gap: 8px; max-width: 260px; padding: 6px 8px 6px 6px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--raise); font-size: 12px; overflow: hidden;
}
.composer-file img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; background: var(--panel); }
.composer-file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.composer-file.busy::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: var(--p, 0%); background: var(--accent); transition: width 0.2s; }
.composer-file-x { flex: none; width: 22px; height: 22px; border-radius: 50%; color: var(--muted); }
.composer-file-x:hover { background: var(--panel); color: var(--err); }

.voice-rec {
  position: absolute; inset: 4px 6px; display: flex; align-items: center; gap: 10px; padding: 0 4px 0 10px;
  border-radius: 6px; background: var(--raise); color: var(--fg); font-size: 12px; font-variant-numeric: tabular-nums;
}
.voice-rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--err); animation: rec-blink 1s infinite; }
@keyframes rec-blink { 50% { opacity: 0.25; } }
.voice-rec-wave { flex: 1; min-width: 0; height: 22px; display: flex; align-items: center; justify-content: flex-end; gap: 2px; overflow: hidden; }
.voice-rec-wave i { flex: none; width: 3px; border-radius: 2px; background: var(--accent); }
.voice-rec-x, .voice-rec-ok { width: 28px; height: 28px; border-radius: 50%; font-weight: 800; }
.voice-rec-x { color: var(--muted); }
.voice-rec-x:hover { background: var(--panel); color: var(--err); }
.voice-rec-ok { background: var(--accent); color: var(--accent-fg); }

.composer-pop .pop-emoji { width: 24px; text-align: center; font-size: 18px; }
.p-chat.drop-on::after {
  content: "bırak: resmi gönder"; position: absolute; inset: 8px; z-index: 30; display: grid; place-items: center;
  border: 2px dashed var(--accent); border-radius: 12px; background: color-mix(in srgb, var(--panel) 82%, transparent);
  color: var(--fg); font-weight: 700; pointer-events: none;
}
.p-chat { position: relative; }

/* ---------- Mesaj ---------- */
.msg { position: relative; }
.msg .from { appearance: none; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-align: left; cursor: pointer; max-width: 100%; }
.msg .from:hover { text-decoration: underline; }
.msg .edited { color: var(--faint); font-size: 10.5px; }
.msg .text.jumbo { font-size: 32px; line-height: 1.25; white-space: normal; }
.md-code { padding: 1px 4px; border-radius: 4px; background: var(--panel); border: 1px solid var(--line); font-size: 11.5px; }
.md-pre {
  margin: 4px 0; padding: 8px 10px; max-width: 100%; overflow-x: auto; border-radius: 6px; background: var(--panel);
  border: 1px solid var(--line); font-size: 11.5px; line-height: 1.5; white-space: pre; tab-size: 2;
}
.md-pre[data-lang]::before { content: attr(data-lang); display: block; margin-bottom: 4px; color: var(--faint); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.md-quote { display: block; margin: 2px 0; padding-left: 9px; border-left: 3px solid var(--line); color: var(--muted); }
.md-spoiler { border-radius: 4px; background: var(--fg); color: transparent; cursor: pointer; transition: background 0.15s, color 0.15s; }
.md-spoiler * { visibility: hidden; }
.md-spoiler.open { background: color-mix(in srgb, var(--fg) 12%, transparent); color: inherit; cursor: auto; }
.md-spoiler.open * { visibility: visible; }

.reply-quote {
  display: flex; align-items: center; gap: 6px; max-width: 100%; margin: 0 0 2px; padding: 0; border: 0; background: none;
  color: var(--muted); font: inherit; font-size: 11.5px; cursor: pointer; text-align: left; position: relative;
}
.reply-quote::before {
  content: ""; position: absolute; left: -26px; top: 50%; width: 22px; height: 9px; border: 2px solid var(--line);
  border-right: 0; border-bottom: 0; border-top-left-radius: 7px;
}
.reply-quote b { color: var(--nick); flex: none; font-weight: 700; }
.reply-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reply-quote:hover .reply-text { color: var(--fg); }
.reply-quote.gone { cursor: default; font-style: italic; }
.reply-avatar { flex: none; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--raise); color: var(--nick); font-size: 9px; font-weight: 800; }

.reactions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.reaction {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 7px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--raise); color: var(--muted); font-size: 12px; cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}
.reaction:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.reaction.mine { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--raise)); color: var(--fg); }
.reaction-e { font-size: 14px; line-height: 1; }
.reaction-n { font-weight: 700; font-variant-numeric: tabular-nums; }
.reaction.add { opacity: 0; width: 28px; justify-content: center; padding: 0; font-weight: 800; }
.msg:hover .reaction.add, .reaction.add:focus-visible { opacity: 1; }

.msg-tools {
  position: absolute; top: -14px; right: 4px; z-index: 5; display: flex; gap: 1px; padding: 2px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--panel); box-shadow: 0 6px 18px -8px rgb(0 0 0 / 0.5);
}
.msg-tool { width: 28px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--muted); font-size: 15px; }
.msg-tool:hover { background: var(--raise); color: var(--fg); }
.msg-tool .i { width: 16px; height: 16px; }
.msg-tool.danger:hover, .msg-tool.armed { color: var(--err); }
.msg-tool.armed { background: color-mix(in srgb, var(--err) 16%, transparent); }
.msg:hover { background: color-mix(in srgb, var(--fg) 3%, transparent); border-radius: 6px; }
.msg.mention { background: color-mix(in srgb, var(--accent) 9%, transparent); box-shadow: inset 2px 0 0 var(--accent); border-radius: 0 6px 6px 0; }

.msg-edit { display: grid; gap: 3px; margin: 2px 0; }
.msg-edit textarea {
  width: 100%; resize: none; border: 1px solid var(--accent); border-radius: 6px; background: var(--raise); color: inherit;
  font: inherit; font-size: 12px; line-height: 1.5; padding: 6px 8px; outline: none;
}
.msg-edit small { color: var(--faint); font-size: 10.5px; }

.new-divider { display: flex; align-items: center; gap: 8px; margin: 8px 0 2px; color: var(--err); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.new-divider::before { content: ""; flex: 1; height: 1px; background: var(--err); }

/* ekler */
.att-img {
  display: block; margin-top: 4px; max-width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; background: var(--panel); cursor: zoom-in;
}
.att-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.att-audio {
  --p: 0; display: flex; align-items: center; gap: 10px; width: min(300px, 100%); margin-top: 4px; padding: 6px 10px 6px 6px;
  border: 1px solid var(--line); border-radius: 22px; background: var(--raise);
}
.att-play { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); position: relative; }
.att-play::before { content: ""; position: absolute; left: 12px; top: 9px; border: 7px solid transparent; border-left: 11px solid var(--accent-fg); border-right: 0; }
.att-audio.playing .att-play::before { left: 10px; top: 10px; width: 4px; height: 12px; border: 0; border-left: 4px solid var(--accent-fg); border-right: 4px solid var(--accent-fg); box-sizing: content-box; padding-right: 0; }
.att-audio.playing .att-play::before { width: 3px; border-left-width: 4px; border-right-width: 4px; }
.att-wave { flex: 1; min-width: 0; height: 26px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.att-wave i { flex: 1; max-width: 4px; border-radius: 2px; background: color-mix(in srgb, var(--fg) 28%, transparent); }
.att-wave i.on { background: var(--accent); }
.att-time { flex: none; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }

.att-yt { width: min(340px, 100%); margin-top: 6px; padding: 8px 10px 10px; border-left: 3px solid #ff3d3d; border-radius: 6px; background: var(--raise); }
.att-yt-head { display: grid; gap: 2px; margin-bottom: 8px; }
.att-yt-head small { color: var(--faint); font-size: 10.5px; }
.att-yt-head a { color: var(--n2) !important; font-weight: 700; text-decoration: none !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-yt-thumb, .att-yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; overflow: hidden; position: relative; padding: 0; background: #000; cursor: pointer; }
.att-yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.att-yt-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 36px; margin: -18px 0 0 -26px; border-radius: 10px; background: rgb(255 0 0 / 0.88); }
.att-yt-play::after { content: ""; position: absolute; left: 21px; top: 10px; border: 8px solid transparent; border-left: 13px solid #fff; border-right: 0; }

/* zar ve anket kartları */
.msg-card.roll { --tier: var(--accent); }
.roll-icon { font-size: 30px; line-height: 1; }
.roll-result { font-size: 22px !important; }
.msg-card.poll { --tier: var(--n2); display: grid; gap: 6px; width: min(340px, 100%); padding: 10px; }
.poll-q { font-size: 14px !important; }
.poll-opt {
  position: relative; display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 10px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 6px; background: var(--panel); text-align: left; cursor: pointer; isolation: isolate;
}
.poll-opt::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: color-mix(in srgb, var(--n2) 20%, transparent); z-index: -1; transition: width 0.3s; }
.poll-opt:hover { border-color: color-mix(in srgb, var(--n2) 50%, var(--line)); }
.poll-opt.mine { border-color: var(--n2); }
.poll-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.poll-who { display: flex; }
.poll-dot { width: 18px; height: 18px; margin-left: -4px; display: grid; place-items: center; border-radius: 50%; background: var(--raise); box-shadow: 0 0 0 2px var(--panel); color: var(--nick); font-size: 9px; font-weight: 800; }
.poll-n { min-width: 34px; text-align: right; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.poll-total { color: var(--faint); font-size: 10.5px; }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 40px; background: rgb(0 0 0 / 0.82); cursor: zoom-out; animation: in 0.15s ease-out; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 100px); border-radius: 6px; box-shadow: 0 20px 60px rgb(0 0 0 / 0.6); }
.lightbox-open { position: absolute; bottom: 18px; color: #ddd; font-size: 12px; }

/* ---------- Emoji seçici ---------- */
.emoji-pop {
  position: fixed; z-index: 900; width: 340px; height: 380px; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto;
  border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.6);
  overflow: hidden; animation: in 0.12s ease-out;
}
.emoji-pop.sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; height: 55vh; border-radius: 14px 14px 0 0; }
.emoji-search { margin: 8px 8px 4px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--raise); color: inherit; font: inherit; font-size: 12px; outline: none; }
.emoji-search:focus { border-color: var(--accent); }
.emoji-cats { display: flex; gap: 2px; padding: 0 6px 4px; border-bottom: 1px solid var(--line); }
.emoji-cat { flex: 1; height: 28px; border-radius: 6px; font-size: 16px; filter: grayscale(0.6); }
.emoji-cat:hover { background: var(--raise); filter: none; }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); align-content: start; gap: 2px; padding: 6px 8px; overflow-y: auto; scrollbar-width: thin; }
.emoji-head { grid-column: 1 / -1; padding: 6px 2px 2px; color: var(--faint); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.emoji-btn { aspect-ratio: 1; display: grid; place-items: center; border-radius: 6px; font-size: 21px; line-height: 1; }
.emoji-btn:hover { background: var(--raise); transform: scale(1.12); }
.emoji-none { grid-column: 1 / -1; color: var(--faint); font-size: 12px; text-align: center; padding: 30px 0; }
.emoji-preview { height: 30px; padding: 0 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 30px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- Durum ---------- */
.avatar, .pf-avatar { position: relative; }
.status-dot {
  position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border-radius: 50%;
  box-shadow: 0 0 0 2.5px var(--panel); background: var(--ok);
}
.status-dot.s-idle { background: #f0b232; }
.status-dot.s-idle::after { content: ""; position: absolute; left: -1px; top: -1px; width: 6px; height: 6px; border-radius: 50%; background: var(--panel); }
.status-dot.s-dnd { background: #f23f43; }
.status-dot.s-dnd::after { content: ""; position: absolute; left: 2px; top: 4px; width: 5px; height: 1.5px; border-radius: 1px; background: var(--panel); }
.status-dot.s-invisible, .status-dot.s-offline { background: var(--faint); }
.status-dot.s-invisible::after, .status-dot.s-offline::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: var(--panel); }
.cx-lead .status-dot { position: relative; inset: auto; display: block; width: 10px; height: 10px; margin: auto; box-shadow: none; }
.cx-lead .status-dot::after { box-shadow: none; }
.me-bar .avatar { cursor: pointer; }
.me-bar .avatar .status-dot { width: 11px; height: 11px; }
.user-custom { flex: 0 1 auto; min-width: 0; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--faint); font-size: 11px; }
.room-topic { margin: -2px 0 2px 34px; padding-right: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 11px; }
.room-topic::before { content: "✦ "; color: var(--accent); }
.room-topic[hidden] { display: none; }

/* ---------- Profil kartı ---------- */
.pf-card {
  position: fixed; z-index: 800; width: 300px; max-height: calc(100vh - 16px); overflow-y: auto; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel); box-shadow: 0 20px 50px -16px rgb(0 0 0 / 0.7); animation: in 0.14s ease-out;
}
.pf-card.sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; border-radius: 16px 16px 0 0; }
.pf-banner { height: 72px; background: var(--raise); transition: background 0.2s; }
.pf-avatar {
  width: 72px; height: 72px; margin: -38px 0 0 16px; display: grid; place-items: center; border-radius: 50%;
  background: var(--raise); color: var(--nick); font-size: 30px; font-weight: 800; box-shadow: 0 0 0 5px var(--panel);
}
.pf-avatar .status-dot { right: 2px; bottom: 2px; width: 16px; height: 16px; box-shadow: 0 0 0 4px var(--panel); }
.pf-avatar .status-dot::after { transform: scale(1.6); transform-origin: 0 0; }
.pf-body { display: grid; gap: 8px; padding: 10px 16px 16px; }
.pf-name { display: flex; align-items: baseline; gap: 8px; }
.pf-name b { font-size: 18px; }
.pf-name small { color: var(--faint); }
.pf-custom { padding: 6px 10px; border-radius: 8px; background: var(--raise); font-size: 12.5px; }
.pf-status { color: var(--muted); font-size: 11.5px; }
.pf-section h4 { margin: 0 0 3px; color: var(--faint); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.pf-section p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--fg); overflow-wrap: anywhere; }
.pf-section:empty { display: none; }
.pf-bio { white-space: pre-wrap; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-btn { height: 30px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--raise); font-size: 12px; font-weight: 700; }
.pf-btn:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.pf-btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.pf-quick input { width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--raise); color: inherit; font: inherit; font-size: 12px; outline: none; }
.pf-quick input:focus { border-color: var(--accent); }
.pf-edit { display: grid; gap: 8px; }
.pf-edit h4 { margin: 0; color: var(--faint); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.pf-edit textarea { resize: vertical; min-height: 64px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--raise); color: inherit; font: inherit; font-size: 12px; outline: none; }
.pf-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-color { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15); }
.pf-color.on { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--accent); }

/* ---------- Küçük pencere (oda durumu, özel durum) ---------- */
.ask { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: 16px; background: rgb(0 0 0 / 0.5); animation: in 0.12s ease-out; }
.ask-box { display: grid; gap: 10px; width: min(420px, 100%); padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 20px 50px -16px rgb(0 0 0 / 0.7); }
.ask-box > b { font-size: 15px; }
.ask-box > input, .cs-line input { height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--raise); color: inherit; font: inherit; font-size: 13px; outline: none; }
.ask-box > input:focus, .cs-line input:focus { border-color: var(--accent); }
.ask-box small { color: var(--faint); font-size: 11.5px; }
.ask-row { display: flex; align-items: center; gap: 8px; }
.ask-row .grow { flex: 1; }
.ask-cancel { height: 32px; padding: 0 12px; border-radius: 8px; color: var(--muted); font-size: 12.5px; }
.ask-cancel:hover { background: var(--raise); color: var(--fg); }
.ask-ok { height: 32px; padding: 0 16px; border-radius: 8px; background: var(--accent); color: var(--accent-fg); font-weight: 800; font-size: 12.5px; }
.cs-line { display: flex; gap: 8px; }
.cs-line input { flex: 1; min-width: 0; }
.cs-emoji { flex: none; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: var(--raise); font-size: 20px; }
.cs-emoji.empty { filter: grayscale(1); opacity: 0.6; }
.cs-until { height: 32px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--raise); color: inherit; font: inherit; font-size: 12px; }

/* ---------- Seslen ---------- */
.ring-card {
  position: fixed; right: 20px; bottom: 90px; z-index: 960; display: flex; align-items: center; gap: 12px; width: min(360px, calc(100vw - 32px));
  padding: 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line)); background: var(--panel);
  box-shadow: 0 20px 50px -14px rgb(0 0 0 / 0.75); animation: ring-in 0.3s cubic-bezier(0.2, 1.4, 0.5, 1);
}
@keyframes ring-in { from { transform: translateY(20px) scale(0.96); opacity: 0; } }
.ring-avatar { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--raise); color: var(--nick); font-size: 18px; font-weight: 800; animation: ring-pulse 1.6s infinite; }
@keyframes ring-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70% { box-shadow: 0 0 0 14px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ring-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ring-text span { color: var(--muted); font-size: 12px; }
.ring-btns { display: flex; flex-direction: column; gap: 6px; }
.ring-yes { height: 30px; padding: 0 16px; border-radius: 8px; background: var(--ok); color: #06210f; font-weight: 800; font-size: 12.5px; }
.ring-no { height: 26px; padding: 0 10px; border-radius: 8px; color: var(--muted); font-size: 11.5px; }
.ring-no:hover { background: var(--raise); color: var(--fg); }

/* ---------- Ses panosu ---------- */
.sb-pop { padding: 4px 6px 8px; }
.sb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 252px; }
.sb-sound { display: grid; justify-items: center; gap: 2px; padding: 8px 2px 6px; border-radius: 8px; background: var(--raise); font-size: 11px; color: var(--muted); }
.sb-sound:hover { background: color-mix(in srgb, var(--accent) 14%, var(--raise)); color: var(--fg); }
.sb-sound:active { transform: scale(0.94); }
.sb-emoji { font-size: 22px; line-height: 1.1; }
.sb-vol { display: grid; gap: 4px; margin-top: 8px; padding: 0 2px; color: var(--faint); font-size: 10.5px; }
.sb-vol input { width: 100%; accent-color: var(--accent); }
.user-head { position: relative; }
.sb-float { position: absolute; left: 8px; top: -4px; font-size: 18px; pointer-events: none; animation: sb-fly 1.8s ease-out forwards; }
@keyframes sb-fly { 0% { transform: translateY(6px) scale(0.6); opacity: 0; } 15% { transform: translateY(-2px) scale(1.2); opacity: 1; } 100% { transform: translateY(-30px) scale(1); opacity: 0; } }

@media (max-width: 760px) {
  .ring-card { right: 16px; left: 16px; bottom: 140px; width: auto; }
  .msg-tools { display: none; }
  .reaction.add { opacity: 1; }
}
