@font-face { font-family: 'Fredoka'; font-weight: 300 700; font-display: swap; src: url(/radio/assets/fonts/fredoka-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Fredoka'; font-weight: 300 700; font-display: swap; src: url(/radio/assets/fonts/fredoka-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
:root {
  --night: #14112f; --dusk: #2b2366; --cream: #fff3dd; --bmo: #74e0c0; --gum: #ff7ab6; --sun: #ffd54a; --red: #ff5d73; --lav: #b8a6ff;
  --soft: rgba(255,243,221,.74); --muted: rgba(255,243,221,.5); --line: rgba(255,243,221,.1); --line2: rgba(255,243,221,.18);
  --card: rgba(36,30,86,.55); --field: rgba(12,10,32,.6);
  --font: 'Fredoka', ui-rounded, 'Nunito', system-ui, sans-serif; --ease: cubic-bezier(.2,.8,.2,1); --pop: cubic-bezier(.34,1.56,.64,1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; } html, body { overflow-x: clip; }
body { font-family: var(--font); color: var(--cream); line-height: 1.4; min-height: 100dvh; -webkit-font-smoothing: antialiased;
  background: radial-gradient(60% 40% at 15% 0%, rgba(116,224,192,.10), transparent 70%), radial-gradient(50% 40% at 100% 30%, rgba(255,122,182,.10), transparent 70%),
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,243,221,.7) 50%, transparent 51%), radial-gradient(1px 1px at 78% 12%, rgba(255,243,221,.6) 50%, transparent 51%), radial-gradient(1px 1px at 88% 58%, rgba(255,243,221,.5) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 32% 72%, rgba(255,243,221,.5) 50%, transparent 51%), radial-gradient(1px 1px at 60% 40%, rgba(255,243,221,.4) 50%, transparent 51%), var(--night);
  background-attachment: fixed; }
button, input, select { font: inherit; color: inherit; } button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }

.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px clamp(14px, 3vw, 32px); padding-top: max(10px, env(safe-area-inset-top)); background: rgba(20,17,47,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; color: inherit; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sun); color: var(--night); font-weight: 700; box-shadow: 0 4px 0 var(--dusk); }
.nav-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gum); padding: 6px 12px; border-radius: 999px; background: rgba(255,122,182,.1); white-space: nowrap; }
.nav-r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line2); font-weight: 600; font-size: .88rem; white-space: nowrap; transition: border-color .15s, transform .15s var(--pop); }
.pill:hover { border-color: var(--bmo); transform: translateY(-1px); } .pill b { color: var(--sun); letter-spacing: .06em; }
.pill.accent { background: var(--gum); color: var(--night); border-color: transparent; box-shadow: 0 3px 0 #c24d86; } .pill.accent:hover { transform: translateY(-2px); }
.faces { display: inline-flex; margin-left: 4px; } .faces i { font-style: normal; margin-left: -4px; font-size: .95rem; }
@media (max-width: 720px) { .brand-name, .nav-title, .hide-s, .faces { display: none; } #codeBtn .muted { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 16px; background: var(--sun); color: var(--night); font-weight: 700; box-shadow: 0 5px 0 #c99a1c; transition: transform .12s, box-shadow .12s, opacity .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); } .btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #c99a1c; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.big { width: 100%; font-size: 1.12rem; padding: 15px 22px; } .btn.sm { padding: 9px 14px; font-size: .9rem; border-radius: 13px; box-shadow: 0 4px 0 #c99a1c; }
.btn.ghost { background: var(--bmo); box-shadow: 0 5px 0 #3fa688; } .btn.sm.ghost { box-shadow: 0 4px 0 #3fa688; }
.btn.wide { width: 100%; margin-top: 12px; }
.link { color: var(--muted); font-weight: 600; font-size: .88rem; } .link:hover { color: var(--cream); }
.eyebrow { color: var(--bmo); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.err { color: var(--red); font-weight: 600; min-height: 1.3em; margin-top: 10px; text-align: center; }
.note { color: var(--muted); font-size: .78rem; line-height: 1.4; }

/* Giriş */
.home { max-width: 1080px; margin: 0 auto; padding: clamp(24px, 6vh, 64px) clamp(16px, 4vw, 40px) 60px; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.home h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; margin: 10px 0 14px; } .home h1 em { font-style: normal; color: var(--gum); }
.lead { color: var(--soft); font-size: 1.08rem; max-width: 520px; }
.feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.feats li { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .2s var(--pop), border-color .2s; }
.feats li:hover { transform: translateY(-3px) rotate(-.6deg); border-color: var(--line2); }
.feats i { grid-row: span 2; font-style: normal; font-size: 1.5rem; align-self: center; } .feats b { font-size: .95rem; } .feats span { font-size: .8rem; color: var(--muted); }
.panel { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px clamp(18px, 3vw, 28px); border-radius: 30px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255,122,182,.16), transparent 60%), linear-gradient(170deg, #2e2670, #1c1747 75%); border: 1px solid var(--line2); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.tv { position: relative; width: 130px; margin: -70px auto 14px; animation: bob 3s var(--ease) infinite; }
.tv-screen { display: grid; place-items: center; height: 88px; border-radius: 20px; background: linear-gradient(160deg, #74e0c0, #3fa688); border: 6px solid #fff3dd; box-shadow: 0 8px 0 #c9b99a, 0 18px 30px rgba(0,0,0,.4); }
.tv-screen span { font-size: 2rem; color: var(--night); animation: pulse 1.6s ease-in-out infinite; }
.tv i { position: absolute; top: -18px; width: 4px; height: 24px; border-radius: 4px; background: #fff3dd; } .tv i:nth-of-type(1) { left: 44px; transform: rotate(-24deg); } .tv i:nth-of-type(2) { right: 44px; transform: rotate(24deg); }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
@keyframes pulse { 50% { transform: scale(.88); opacity: .7; } }
.panel-t { font-weight: 600; color: var(--soft); font-size: .9rem; margin-bottom: 8px; }
.avs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; width: 100%; margin-bottom: 14px; }
.avs button { aspect-ratio: 1; border-radius: 14px; font-size: 1.4rem; background: var(--field); border: 2px solid transparent; transition: transform .18s var(--pop), border-color .15s; }
.avs button:hover { transform: translateY(-3px) scale(1.06); } .avs button[aria-checked="true"] { border-color: var(--sun); background: rgba(255,213,74,.14); transform: scale(1.08); }
.field { width: 100%; display: flex; flex-direction: column; gap: 6px; text-align: left; margin-bottom: 14px; }
.field span { font-size: .85rem; color: var(--soft); font-weight: 600; padding-left: 4px; }
input:not([type=range]):not([type=checkbox]) { width: 100%; padding: 13px 15px; border-radius: 15px; background: var(--field); border: 1.5px solid var(--line2); font-weight: 600; outline: none; transition: border-color .15s, box-shadow .15s; }
input:not([type=range]):not([type=checkbox]):focus { border-color: var(--bmo); box-shadow: 0 0 0 4px rgba(116,224,192,.15); }
.or { width: 100%; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; margin: 18px 0 12px; } .or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
.join { width: 100%; display: flex; gap: 10px; } .join input { text-transform: uppercase; letter-spacing: .3em; text-align: center; } .join .btn { flex: none; }
@media (max-width: 860px) { .home { grid-template-columns: 1fr; max-width: 520px; gap: 0; text-align: center; } .home-l { display: contents; } .home .eyebrow { order: 1; } .home h1 { order: 2; } .lead { order: 3; margin: 0 auto; } .panel { order: 4; margin-top: 70px; } .feats { order: 5; text-align: left; } }
@media (max-width: 420px) { .feats { grid-template-columns: 1fr; } }

/* Oda */
.room { max-width: 1400px; margin: 0 auto; padding: 18px clamp(10px, 2.4vw, 28px) 40px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
@media (max-width: 1020px) { .room { grid-template-columns: 1fr; } }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #07060f; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 30px 60px rgba(0,0,0,.45); outline: none; user-select: none; -webkit-user-select: none; }
.player video, .yt, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player video { object-fit: contain; background: #000; }
.yt { display: none; } .player.is-yt .yt { display: block; } .player.is-yt video { display: none; }
.shield { position: absolute; inset: 0; z-index: 5; }
.player:fullscreen { border-radius: 0; border: 0; }
.badges { position: absolute; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; z-index: 20; pointer-events: none; transition: opacity .3s; }
.badges.top { top: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; max-width: 70%; padding: 6px 12px; border-radius: 999px; background: rgba(20,17,47,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line2); font-size: .82rem; font-weight: 600; }
.badge.title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--bmo); box-shadow: 0 0 0 0 rgba(116,224,192,.7); animation: live 1.6s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(116,224,192,0); } 100% { box-shadow: 0 0 0 0 rgba(116,224,192,0); } }
.sync b { color: var(--bmo); } .sync.mid b { color: var(--sun); } .sync.bad b { color: var(--red); }
.player.idle .badges, .player.idle .controls, .player.idle .reactbar { opacity: 0; }
.player.idle { cursor: none; }
.empty, .verr, .tapjoin { position: absolute; inset: 0; z-index: 25; display: grid; place-items: center; text-align: center; padding: 20px; }
.empty { background: radial-gradient(60% 60% at 50% 40%, rgba(255,122,182,.18), transparent 70%), linear-gradient(170deg, #241d5c, #120f2c); }
.empty-in { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 420px; }
.big-emoji { font-size: 3.4rem; animation: bob 2.6s var(--ease) infinite; } .empty b { font-size: 1.5rem; } .empty p { color: var(--soft); } .empty em { color: var(--sun); font-style: normal; font-weight: 600; } .empty .btn { margin-top: 8px; }
.tapjoin { background: rgba(10,8,30,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.tapjoin span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--sun); color: var(--night); font-size: 2.2rem; box-shadow: 0 6px 0 #c99a1c; animation: pulse 1.4s ease-in-out infinite; }
.tapjoin b { font-size: 1.3rem; margin-top: 8px; } .tapjoin small { color: var(--soft); }
.verr { background: rgba(10,8,30,.88); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; } .verr span { font-size: 3rem; } .verr b { font-size: 1.3rem; } .verr p { color: var(--soft); max-width: 460px; font-size: .92rem; }
.spinner { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; border-radius: 50%; border: 5px solid rgba(255,243,221,.2); border-top-color: var(--sun); animation: spin .8s linear infinite; z-index: 15; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.danmaku { position: absolute; inset: 52px 0 70px; z-index: 12; pointer-events: none; overflow: hidden; }
.danmaku span { position: absolute; left: 100%; white-space: nowrap; font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.6rem); text-shadow: 0 2px 0 #000, 0 0 6px rgba(0,0,0,.9); animation: dm var(--d, 8s) linear forwards; }
.danmaku span small { font-size: .65em; opacity: .75; margin-right: 6px; }
@keyframes dm { to { transform: translateX(calc(-1 * var(--w, 100vw) - 100%)); } }
.player:not(.dm) .danmaku { display: none; }
.reacts { position: absolute; inset: 0; z-index: 13; pointer-events: none; overflow: hidden; }
.reacts span { position: absolute; bottom: 70px; display: flex; flex-direction: column; align-items: center; font-size: clamp(2rem, 4.5vw, 3rem); animation: rx 2.2s cubic-bezier(.2,.7,.3,1) forwards; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
.reacts small { font-size: .7rem; font-weight: 700; background: rgba(20,17,47,.8); padding: 2px 8px; border-radius: 999px; margin-top: -2px; }
@keyframes rx { 0% { transform: translateY(30px) scale(.3); opacity: 0; } 15% { transform: translateY(0) scale(1.2); opacity: 1; } 100% { transform: translateY(-260px) translateX(var(--dx, 0)) scale(.9) rotate(var(--rr, 10deg)); opacity: 0; } }
.reactbar { position: absolute; right: 12px; bottom: 82px; z-index: 22; display: flex; gap: 6px; transition: opacity .3s; }
.reactbar button { width: 38px; height: 38px; border-radius: 50%; background: rgba(20,17,47,.78); border: 1px solid var(--line2); font-size: 1.1rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .15s var(--pop); }
.reactbar button:hover { transform: translateY(-3px) scale(1.15); } .reactbar button:active { transform: scale(.9); }
.reactrow { display: none; }
@media (max-width: 600px) {
  .player .reactbar { display: none; }
  .reactrow { display: flex; justify-content: space-between; gap: 4px; margin-top: 10px; }
  .reactrow button { flex: 1; height: 42px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 1.2rem; transition: transform .12s var(--pop); } .reactrow button:active { transform: scale(.9); }

  #qrBtn2 { display: none; }
}
.controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 22; padding: 22px 14px 10px; background: linear-gradient(transparent, rgba(7,6,15,.92)); transition: opacity .3s; }
.seek { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--gum) var(--p, 0%), rgba(255,243,221,.22) var(--p, 0%)); outline: none; cursor: pointer; transition: height .15s; }
.seek:hover { height: 9px; }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px rgba(255,122,182,.35); }
.seek::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--cream); }
.crow { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.cbtn { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 12px; font-size: .95rem; font-weight: 700; transition: background .15s, transform .12s; }
.cbtn:hover { background: rgba(255,243,221,.1); } .cbtn:active { transform: scale(.92); }
.cbtn.main { background: var(--sun); color: var(--night); width: 46px; height: 42px; font-size: 1.1rem; box-shadow: 0 3px 0 #c99a1c; }
.cbtn.on { color: var(--bmo); } .cbtn:not(.on)#dmBtn { opacity: .5; }
.vol { width: 80px; accent-color: var(--gum); }
.time { font-size: .82rem; color: var(--soft); font-variant-numeric: tabular-nums; margin-left: 4px; white-space: nowrap; }
.grow { flex: 1; }
@media (max-width: 600px) { .vol, #back10, #fwd10 { display: none; } .controls { padding: 16px 8px 6px; } .cbtn { min-width: 34px; height: 34px; } }
.infobar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: .88rem; color: var(--soft); }
#lastAct { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Yan panel */
.side { display: flex; flex-direction: column; height: calc(100dvh - 110px); max-height: 760px; min-height: 480px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; position: sticky; top: 76px; }
@media (max-width: 1020px) { .side { position: static; height: 560px; } }
.tabs { display: flex; gap: 4px; padding: 6px; background: rgba(12,10,32,.5); border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; padding: 10px 6px; border-radius: 14px; font-weight: 600; font-size: .9rem; color: var(--soft); transition: background .2s, color .2s; white-space: nowrap; }
.tabs button.on { background: var(--sun); color: var(--night); box-shadow: 0 3px 0 #c99a1c; }
.tabs b { font-size: .75rem; opacity: .7; }
.tabp { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 12px; overflow: auto; }
#tChat { padding: 0; }
.msgs { list-style: none; flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msgs li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; animation: msgIn .3s var(--pop); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.msgs .av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--field); font-size: 1.1rem; }
.msgs .who { font-size: .8rem; font-weight: 600; color: var(--soft); } .msgs .who time { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: .72rem; }
.msgs .txt { word-wrap: break-word; overflow-wrap: anywhere; margin-top: 2px; }
.msgs li.me .who { color: var(--bmo); }
.msgs li.sys { display: block; text-align: center; font-size: .8rem; color: var(--muted); }
.msgs li.hello { display: block; text-align: center; color: var(--muted); padding: 30px 10px; }
.chatf { padding: 10px 12px 12px; border-top: 1px solid var(--line); background: rgba(12,10,32,.4); }
.chat-opts { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tog { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--soft); cursor: pointer; } .tog input { accent-color: var(--gum); width: 16px; height: 16px; }
.colors { display: flex; gap: 6px; } .colors button { width: 18px; height: 18px; border-radius: 50%; border: 2px solid transparent; transition: transform .15s var(--pop); } .colors button.on { border-color: var(--cream); transform: scale(1.25); }
.chat-row { display: flex; gap: 8px; } .chat-row input { padding: 11px 14px; }
.addf { display: flex; flex-direction: column; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.addf input { padding: 11px 14px; font-size: .92rem; }
.add-row { display: flex; gap: 8px; } .add-row .btn { flex: 1; }
.tabp h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 4px 8px; }
.queue, .people { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.queue:empty::before { content: 'Sıra boş. Link ekle, video bitince sıradaki kendiliğinden başlar.'; display: block; color: var(--muted); font-size: .85rem; padding: 6px 4px; }
.qi { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); animation: msgIn .3s var(--pop); }
.qi .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(255,243,221,.08); font-weight: 700; font-size: .85rem; flex: none; }
.qi .t { flex: 1; min-width: 0; } .qi .t b { display: block; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .qi .t small { color: var(--muted); font-size: .75rem; }
.qi button { width: 32px; height: 32px; border-radius: 10px; flex: none; transition: background .15s; } .qi button:hover { background: rgba(255,243,221,.1); }
.samples { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.samples button { text-align: left; padding: 10px 12px; border-radius: 14px; background: var(--field); border: 1px solid var(--line); transition: border-color .15s, transform .15s var(--pop); }
.samples button:hover { border-color: var(--gum); transform: translateY(-2px); } .samples b { display: block; font-size: .88rem; } .samples small { color: var(--muted); font-size: .74rem; }
.pe { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--field); }
.pe .av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,243,221,.08); font-size: 1.3rem; }
.pe b { flex: 1; } .pe small { color: var(--muted); font-size: .78rem; } .pe .crown { color: var(--sun); font-size: .78rem; font-weight: 700; }
.pe .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bmo); } .pe .dot.mid { background: var(--sun); } .pe .dot.bad { background: var(--red); }
#tPeople .link { margin: 14px auto 0; display: block; }

.dlg { margin: auto; width: min(420px, calc(100% - 32px)); border: 1px solid var(--line2); border-radius: 28px; padding: 24px; background: #221c55; color: var(--cream); text-align: center; }
.dlg::backdrop { background: rgba(10,8,30,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg h2 { margin-bottom: 6px; } .dlg p { margin-bottom: 16px; font-size: .92rem; }
.qr { display: inline-block; padding: 14px; border-radius: 20px; background: #fff; margin-bottom: 14px; } .qr svg { display: block; width: 210px; height: 210px; }
.copyrow { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--field); margin-bottom: 16px; text-align: left; }
.copyrow span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; color: var(--soft); }
.toasts { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toasts div { padding: 10px 16px; border-radius: 14px; background: #fff3dd; color: var(--night); font-weight: 600; font-size: .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.35); animation: toast .35s var(--pop); }
@keyframes toast { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.conn { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 50; padding: 8px 14px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; font-size: .88rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
.tabs button { position: relative; } .tabs button.ping::after { content: ""; position: absolute; top: 6px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gum); }
.player.paused .shield { background: radial-gradient(60% 60% at 50% 50%, rgba(20,17,47,.35), rgba(20,17,47,.82)); display: grid; place-items: center; }
.player.paused .shield::after { content: "▶"; display: grid; place-items: center; width: 78px; height: 78px; padding-left: 6px; border-radius: 50%; background: var(--sun); color: var(--night); font-size: 2rem; box-shadow: 0 6px 0 #c99a1c, 0 14px 30px rgba(0,0,0,.4); animation: pulse 1.8s ease-in-out infinite; }
@media (max-width: 600px) { .player.paused .shield::after { width: 56px; height: 56px; font-size: 1.4rem; } }
.subs { position: absolute; left: 6%; right: 6%; bottom: 74px; z-index: 14; text-align: center; pointer-events: none; transition: bottom .3s; }
.subs span { display: inline; padding: 3px 10px; line-height: 1.6; border-radius: 8px; background: rgba(0,0,0,.72); color: #fff; font-weight: 600; font-size: clamp(.95rem, 2.4vw, 1.5rem); -webkit-box-decoration-break: clone; box-decoration-break: clone; white-space: pre-line; }
.player.idle .subs { bottom: 24px; }
#ccBtn.on { color: var(--sun); }
.more { border-radius: 14px; background: rgba(12,10,32,.4); padding: 8px 10px; } .more summary { cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--soft); } .more[open] summary { margin-bottom: 8px; } .more input { margin-bottom: 6px; padding: 10px 12px; font-size: .88rem; }
.filebtn { cursor: pointer; margin-top: 10px; }
/* Telefon tam ekranı (tarayıcı desteklemezse): oynatıcı ekranı kaplar */
.player.pfs { position: fixed; inset: 0; z-index: 100; width: 100vw; height: 100dvh; aspect-ratio: auto; border-radius: 0; border: 0; }
body.pfs-on { overflow: hidden; }
.player:fullscreen .subs, .player.pfs .subs { bottom: 90px; }
.subs { bottom: 130px; } .player:fullscreen .subs, .player.pfs .subs { bottom: 140px; } .player.idle .subs { bottom: 28px; }
@media (max-width: 600px) { .subs { bottom: 70px; } .player:fullscreen .subs, .player.pfs .subs { bottom: 84px; } }
/* Ekranı kaplayan tam ekran: telefon dikse görüntü yataya döner */
@media (orientation: portrait) { .player.pfs { inset: auto; top: 0; left: 100vw; width: 100dvh; height: 100vw; transform-origin: top left; transform: rotate(90deg); } }
.player.pfs .subs { bottom: 84px; }

/* Ekran paylaşımı: paylaşılan sekme oynatıcının yerine geçer */
.sharevid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 9; }
.player.sharing .shield, .player.sharing .empty, .player.sharing .tapjoin, .player.sharing .verr, .player.sharing .spinner, .player.sharing .seek, .player.sharing #playBtn, .player.sharing #back10, .player.sharing #fwd10, .player.sharing .time, .player.sharing #ccBtn, .player.sharing .subs, .player.sharing .badges { display: none !important; }
.player.sharing .controls { background: linear-gradient(transparent, rgba(7,6,15,.7)); }
.sharebar { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 23; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; pointer-events: none; transition: opacity .3s; }
.sharebar > span:not(.rec) { padding: 6px 12px; border-radius: 999px; background: rgba(20,17,47,.8); border: 1px solid var(--line2); font-weight: 600; font-size: .85rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sharebar .rec { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,93,115,.7); animation: rec 1.4s infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 10px rgba(255,93,115,0); } 100% { box-shadow: 0 0 0 0 rgba(255,93,115,0); } }
.sharebar .btn { pointer-events: auto; }
.player.idle .sharebar { opacity: 0; }
.infobtns { display: inline-flex; align-items: center; gap: 12px; flex: none; }
#shareBtn.on { background: var(--red); color: #fff; box-shadow: 0 4px 0 #b83a4c; }

/* Tam ekranda yorum kutusu */
.fschat { display: none; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 24; width: min(420px, 60%); gap: 6px; transition: opacity .3s; }
.player:fullscreen .fschat, .player.pfs .fschat { display: flex; }
.player:fullscreen .badges.top, .player.pfs .badges.top { top: 58px; }
.fschat input { flex: 1; min-width: 0; padding: 9px 14px !important; border-radius: 999px !important; background: rgba(20,17,47,.8) !important; font-size: .9rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fschat button { width: 40px; border-radius: 50%; background: var(--sun); color: var(--night); font-weight: 700; }
.player.idle .fschat { opacity: 0; } .player.idle .fschat:focus-within { opacity: 1; }
