/* ══════════════════════════════════════════════════════════
   BuGeceBiz — main.css
   React Native'e taşırken: StyleSheet.create() bloklarına dönüştür
   Her section başlığı bir component'e karşılık gelir
══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

/* ── TOKENS (RN'de: theme.js veya constants/colors.js) ── */
:root {
  --ink:        #080305;
  --ink2:       #0f0609;
  --petal:      #f5dde3;
  --blush:      #e8a4b4;
  --rose:       #c75c78;
  --rose-light: #d97090;
  --wine:       #7d2340;
  --ember:      #a3314e;
  --gold:       #d4af6a;
  --mist:       #7a5060;
  --mist2:      #5a3545;
  --card:       #160910;
  --card2:      #1c0d13;
  --border:     rgba(199,92,120,0.16);
  --border2:    rgba(199,92,120,0.28);
  --glow:       rgba(199,92,120,0.10);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', sans-serif;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 999px;
}

/* ── BASE (RN'de: App.js SafeAreaView) ── */
html, body {
  height: 100%; width: 100%; background: var(--ink); color: var(--petal);
  font-family: var(--font-sans); font-weight: 300; overflow: hidden; position: fixed;
  overscroll-behavior: none; -webkit-font-smoothing: antialiased;
}

#cvs { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── AMBIENT BACKGROUND (RN'de: LinearGradient / skia) ── */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at -10% 15%, rgba(125,35,64,0.38) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 110% 80%, rgba(199,92,120,0.24) 0%, transparent 55%),
    radial-gradient(ellipse 100% 40% at 50% 110%, rgba(125,35,64,0.32) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 80% 10%, rgba(212,175,106,0.06) 0%, transparent 60%);
}
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── SCREENS (RN'de: Stack.Navigator / Tab.Navigator) ── */
.scr {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  height: var(--app-height, 100%); min-height: 0;
  padding: max(env(safe-area-inset-top), 2rem) 1.5rem max(env(safe-area-inset-bottom), 2rem);
  position: relative; z-index: 10;
}
.scr.on { display: flex; animation: rise .65s cubic-bezier(.22,1,.36,1) both; }
@keyframes rise { from{opacity:0;transform:translateY(24px) scale(.98)} to{opacity:1;transform:none} }

/* ── HOME SCREEN (RN'de: screens/HomeScreen.tsx) ── */
#pg-home { text-align: center; gap: 0; }

.hero-wrap { position: relative; margin: 0 auto 2.2rem; width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; }
.hero-ring { position: absolute; inset: 0; border-radius: 50%; }
.hero-ring::before, .hero-ring::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(199,92,120,0.22);
  animation: ring-expand 3s ease-out infinite;
}
.hero-ring::before { inset: -10px; animation-delay: 0s; }
.hero-ring::after  { inset: -24px; animation-delay: 1s; }
@keyframes ring-expand { 0%{opacity:.8;transform:scale(.88)} 100%{opacity:0;transform:scale(1.18)} }

.orbit { position: absolute; inset: -4px; border-radius: 50%; border: 1px dashed rgba(199,92,120,0.18); animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit::after { content: '✦'; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); font-size: .5rem; color: rgba(212,175,106,0.65); }

.hero-core {
  width: 86px; height: 86px; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, rgba(199,92,120,0.25), transparent 65%),
              linear-gradient(145deg, #1e0b14, #100509);
  border: 1.5px solid rgba(199,92,120,0.32);
  box-shadow: 0 0 56px rgba(199,92,120,0.22), 0 0 24px rgba(212,175,106,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem;
  animation: heartbeat 2.8s ease-in-out infinite;
}
@keyframes heartbeat { 0%,100%{transform:scale(1)} 14%{transform:scale(1.08)} 28%{transform:scale(1)} 42%{transform:scale(1.05)} }

.wordmark {
  font-family: var(--font-serif); font-weight: 300; font-style: italic;
  font-size: 3.2rem; letter-spacing: 1.5px; margin-bottom: .3rem;
  background: linear-gradient(145deg, #fff 0%, var(--blush) 50%, var(--rose-light) 80%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.wordmark-dot { color: var(--gold); -webkit-text-fill-color: var(--gold); font-style: normal; font-weight: 400; }
.tagline { font-size: .58rem; letter-spacing: 4.5px; color: var(--mist); text-transform: uppercase; margin-bottom: 2.6rem; font-weight: 500; }
.ornament { display: flex; align-items: center; gap: .75rem; margin-bottom: 2.4rem; width: 200px; }
.ornament-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(199,92,120,0.35)); }
.ornament-line:last-child { background: linear-gradient(270deg, transparent, rgba(199,92,120,0.35)); }
.ornament-icon { font-size: .55rem; color: rgba(212,175,106,0.6); }
.home-btns { display: flex; flex-direction: column; gap: .85rem; width: 100%; max-width: 280px; }
.home-foot { margin-top: 2.4rem; font-size: .54rem; letter-spacing: 2.5px; color: var(--mist2); text-transform: uppercase; }

/* ── iOS INSTALL BANNER (RN'de: gerek yok — native) ── */
#ios-install-banner { display: none; margin: 1.2rem auto 0; max-width: 320px; background: rgba(125,35,64,0.18); border: 1px solid rgba(199,92,120,0.28); border-radius: 14px; padding: 0.85rem 1rem; text-align: center; font-family: var(--font-sans); font-size: 0.8rem; color: var(--blush); line-height: 1.6; }
#ios-install-banner .banner-title { font-size: 1.1rem; margin-bottom: 0.3rem; }
#ios-install-banner .banner-sub { font-size: 0.72rem; margin-top: 0.4rem; color: var(--mist); }
#ios-install-banner .banner-close { margin-top: 0.6rem; background: none; border: none; color: var(--mist); font-size: 0.72rem; cursor: pointer; }

/* ── CARD (RN'de: components/Card.tsx) ── */
.card {
  background: linear-gradient(155deg, var(--card2), var(--card));
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 2.2rem 1.8rem; width: 100%; max-width: 360px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(199,92,120,0.05);
  position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, rgba(199,92,120,0.8), rgba(232,164,180,0.65), rgba(212,175,106,0.6), rgba(199,92,120,0.8), transparent); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse 85% 45% at 50% 0%, rgba(199,92,120,0.07), transparent 65%); pointer-events: none; }
.card-title { font-family: var(--font-serif); font-size: 1.85rem; font-weight: 300; font-style: italic; color: var(--blush); margin-bottom: 1.6rem; text-align: center; }
.code-big {
  font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; letter-spacing: 12px; color: var(--petal);
  background: rgba(199,92,120,0.06); border: 1px solid rgba(199,92,120,0.22); border-radius: var(--r-md);
  padding: 1rem 1.5rem; cursor: pointer; transition: background .2s, transform .15s;
  display: inline-block; margin-bottom: .5rem;
}
.code-big:active { background: rgba(199,92,120,0.16); transform: scale(.96); }
.code-hint { font-size: .62rem; color: var(--mist); letter-spacing: 2.8px; margin-bottom: 2rem; text-transform: uppercase; text-align: center; }

/* ── BUTTONS (RN'de: components/Button.tsx) ── */
.btn {
  padding: .92rem 1.8rem; border-radius: var(--r-xl); font-family: var(--font-sans); font-weight: 600;
  font-size: .72rem; letter-spacing: 2.2px; text-transform: uppercase; cursor: pointer;
  border: none; outline: none; transition: all .25s cubic-bezier(.22,1,.36,1); position: relative; overflow: hidden; -webkit-appearance: none;
}
.btn-fill { background: linear-gradient(135deg, var(--wine) 0%, var(--ember) 45%, var(--rose) 100%); color: #fff; box-shadow: 0 6px 24px rgba(125,35,64,0.55), inset 0 1px 0 rgba(255,255,255,0.14); }
.btn-fill:active { transform: scale(.95); }
.btn-line { background: rgba(199,92,120,0.06); color: var(--blush); border: 1.5px solid rgba(199,92,120,0.28); }
.btn-line:active { background: rgba(199,92,120,0.14); }
.btn-ghost { background: transparent; border: none; color: var(--mist); font-size: .65rem; letter-spacing: 2.2px; cursor: pointer; text-transform: uppercase; font-family: var(--font-sans); padding: .6rem 1.1rem; transition: color .2s; border-radius: var(--r-xl); }

/* ── INPUTS (RN'de: components/Input.tsx — 16px iOS zoom fix!) ── */
.inp {
  width: 100%; padding: 1.05rem 1.2rem; background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  color: var(--petal); font-family: var(--font-serif);
  font-size: 2rem; font-weight: 500; text-align: center; letter-spacing: 12px;
  outline: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
  text-transform: uppercase;
}
.inp:focus { border-color: rgba(199,92,120,.55); box-shadow: 0 0 0 4px rgba(199,92,120,.07); }
.inp::placeholder { font-size: 1rem; font-weight: 300; letter-spacing: 4px; color: var(--mist2); font-family: var(--font-sans); text-transform: uppercase; }

/* ── ROOM SCREEN (RN'de: screens/RoomScreen.tsx) ── */
#pg-room { position: fixed; top: 0; left: 0; right: 0; padding: 0; align-items: stretch; justify-content: flex-start; display: none; height: var(--app-height, 100%); overflow: hidden; }
#pg-room.on { display: flex; flex-direction: column; animation: none; }

/* ── HEADER (RN'de: components/RoomHeader.tsx) ── */
.hdr {
  display: flex; align-items: center; gap: .6rem;
  padding: max(env(safe-area-inset-top), .6rem) 1rem .65rem;
  background: rgba(8,3,5,0.96); border-bottom: 1px solid rgba(199,92,120,0.12);
  backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  flex-shrink: 0; z-index: 100; position: relative;
}
.hdr::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(199,92,120,0.45) 25%, rgba(212,175,106,0.4) 50%, rgba(199,92,120,0.45) 75%, transparent 100%); }
.hdr-logo { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; font-weight: 300; background: linear-gradient(140deg, #fff, var(--blush) 70%, var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; flex-shrink: 0; letter-spacing: .5px; }
.hdr-sep { width: 1px; height: 16px; background: rgba(199,92,120,0.18); flex-shrink: 0; }
.hdr-code { font-family: var(--font-sans); font-size: .58rem; letter-spacing: 3px; color: var(--mist); text-transform: uppercase; background: rgba(199,92,120,0.06); border: 1px solid rgba(199,92,120,0.14); border-radius: var(--r-xl); padding: .26rem .75rem; cursor: pointer; transition: all .2s; flex-shrink: 0; font-weight: 500; }
.hdr-code:active { background: rgba(199,92,120,0.18); color: var(--blush); }
.partner-badge { margin-left: auto; display: flex; align-items: center; gap: .4rem; font-size: .56rem; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; padding: .32rem .85rem; border-radius: var(--r-xl); flex-shrink: 0; white-space: nowrap; transition: all .4s; }
.badge-on { background: rgba(199,92,120,.12); color: var(--blush); border: 1px solid rgba(199,92,120,.3); box-shadow: 0 0 16px rgba(199,92,120,.14); }
.badge-on::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 6px var(--rose); margin-right: .2rem; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }
.badge-off { background: rgba(255,255,255,.03); color: var(--mist2); border: 1px solid rgba(255,255,255,.06); }

/* ── MODE TABS (RN'de: components/ModeTabs.tsx) ── */
.mode-row { display: flex; gap: .4rem; padding: .55rem .9rem; background: rgba(8,3,5,0.88); border-bottom: 1px solid rgba(199,92,120,0.1); flex-shrink: 0; }
.mtab { flex: 1; padding: .46rem 0; border: none; border-radius: var(--r-xl); background: transparent; color: var(--mist2); font-family: var(--font-sans); font-size: .62rem; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; cursor: pointer; transition: all .22s; -webkit-appearance: none; }
.mtab.on { background: linear-gradient(135deg, rgba(125,35,64,0.6), rgba(199,92,120,0.35)); color: var(--petal); box-shadow: 0 2px 12px rgba(125,35,64,0.3); }
.mtab:active { transform: scale(.96); }

/* ── VIDEO SHELL (RN'de: components/VideoShell.tsx) ── */
.v-shell { position: relative; width: 100%; background: #000; flex-shrink: 0; }
.v-shell::before { content: ''; display: block; padding-top: 56.25%; }
.v-inner { position: absolute; inset: 0; }
.v-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(31,14,21,0.5) 0%, transparent 70%), linear-gradient(180deg, rgba(8,3,5,0.5) 0%, rgba(8,3,5,0.92) 100%); padding: 1rem; z-index: 2; }
.v-ph-icon { font-size: 2.2rem; opacity: .3; }
.v-ph-txt { font-family: var(--font-sans); font-size: .58rem; letter-spacing: 3px; color: var(--mist2); text-transform: uppercase; text-align: center; padding: 0 1rem; line-height: 2; }
.v-ph-buttons { display: flex; flex-direction: column; gap: .5rem; align-items: center; width: 100%; max-width: 240px; }

.v-broadcasting { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(50,15,28,0.65) 0%, rgba(8,3,5,0.96) 75%); padding: 1rem; z-index: 3; }
.v-broadcasting.show { display: flex; }
.v-broadcasting-icon { font-size: 2.6rem; animation: heartbeat 2.4s ease-in-out infinite; filter: drop-shadow(0 0 16px rgba(199,92,120,0.5)); }
.v-broadcasting-title { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--blush); text-align: center; }
.v-broadcasting-sub { font-size: .56rem; letter-spacing: 2.6px; color: var(--mist); text-transform: uppercase; text-align: center; }
.v-broadcasting-pulse { display: flex; align-items: center; gap: 6px; padding: 5px 12px; background: rgba(226,92,80,0.12); border: 1px solid rgba(226,92,80,0.4); border-radius: var(--r-xl); font-size: .55rem; letter-spacing: 1.6px; color: #ff8b80; text-transform: uppercase; font-weight: 600; }
.v-broadcasting-pulse::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e25c50; box-shadow: 0 0 6px rgba(226,92,80,0.9); animation: blink 1.4s ease-in-out infinite; }
#yt-player { width: 100%; height: 100%; display: block; }
#sv { width: 100%; height: 100%; object-fit: contain; display: none; background: #000; }

.fs-btn {
  position: absolute; top: 10px; right: 10px; z-index: 15;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(8,3,5,0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232,164,180,0.35); color: var(--blush);
  display: none; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.05rem; transition: all .25s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 4px 18px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.3);
  -webkit-appearance: none;
}
.fs-btn.show { display: flex; }
.fs-btn:hover { background: rgba(199,92,120,0.3); }
.fs-btn:active { transform: scale(.86); background: rgba(199,92,120,0.4); }
.fs-btn.pulse { animation: fs-pulse 1.8s ease-in-out 3; border-color: rgba(232,164,180,0.7); }
@keyframes fs-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(0,0,0,0.6), 0 0 0 0 rgba(199,92,120,0.55); transform: scale(1); }
  50%      { box-shadow: 0 4px 18px rgba(0,0,0,0.6), 0 0 0 12px rgba(199,92,120,0); transform: scale(1.06); }
}
.v-shell:fullscreen .fs-btn, .v-shell:-webkit-full-screen .fs-btn { top: auto; bottom: 18px; right: 18px; width: 48px; height: 48px; font-size: 1.2rem; }

/* ── YOUTUBE BAR (RN'de: components/YouTubeBar.tsx) ── */
.yt-bar { display: none; align-items: center; gap: .5rem; padding: .5rem .85rem; background: rgba(12,5,8,0.95); border-bottom: 1px solid rgba(199,92,120,0.08); flex-shrink: 0; }
.yt-bar.show { display: flex; }
.yt-inp {
  flex: 1; min-width: 0; padding: .58rem 1rem; background: rgba(255,255,255,.04);
  border: 1px solid rgba(199,92,120,0.14); border-radius: var(--r-xl);
  color: var(--petal); font-family: var(--font-sans); font-size: 16px;
  outline: none; transition: border-color .2s; -webkit-appearance: none;
}
.yt-inp:focus { border-color: rgba(199,92,120,.4); background: rgba(255,255,255,.06); }
.yt-inp::placeholder { color: var(--mist2); font-size: 14px; }
.yt-go { flex-shrink: 0; padding: .58rem 1rem; background: linear-gradient(135deg, var(--wine), var(--rose)); color: #fff; border: none; border-radius: var(--r-xl); font-family: var(--font-sans); font-size: .64rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; cursor: pointer; box-shadow: 0 3px 14px rgba(125,35,64,0.45); transition: transform .18s; -webkit-appearance: none; }
.yt-go:active { transform: scale(.94); }

/* ── STAT ROW (RN'de: components/StatRow.tsx) ── */
.stat-row { display: flex; align-items: center; gap: .5rem; padding: .26rem .9rem; background: rgba(8,3,5,0.9); border-bottom: 1px solid rgba(199,92,120,0.08); flex-shrink: 0; min-height: 26px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.08); flex-shrink: 0; transition: all .3s; }
.dot.live { background: #e25c50; box-shadow: 0 0 8px rgba(226,92,80,0.8); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.stat-txt { font-size: .55rem; letter-spacing: 2.6px; color: var(--mist2); text-transform: uppercase; flex: 1; }
.stop-btn { padding: .22rem .7rem; border-radius: var(--r-xl); background: rgba(226,92,80,.1); border: 1px solid rgba(226,92,80,.3); color: #e25c50; font-size: .55rem; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; cursor: pointer; font-family: var(--font-sans); display: none; transition: background .2s; -webkit-appearance: none; }
.stop-btn:active { background: rgba(226,92,80,.22); }
.flip-btn { padding: .22rem .7rem; border-radius: var(--r-xl); background: rgba(199,92,120,.1); border: 1px solid rgba(199,92,120,.3); color: var(--blush); font-size: .55rem; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; cursor: pointer; font-family: var(--font-sans); display: none; transition: background .2s; -webkit-appearance: none; }
.flip-btn:active { background: rgba(199,92,120,.22); }

/* ── VOICE BAR (RN'de: components/VoiceBar.tsx) ── */
.voice-bar { display: flex; align-items: center; gap: .5rem; padding: .5rem .9rem; background: rgba(10,4,7,0.95); border-bottom: 1px solid rgba(199,92,120,0.1); flex-shrink: 0; flex-wrap: wrap; border-top: 1px solid rgba(199,92,120,0.06); }
.vc-wave { display: none; align-items: flex-end; gap: 2.5px; height: 18px; flex-shrink: 0; }
.vc-wave.show { display: flex; }
.vc-wave span { display: block; width: 2.5px; border-radius: 2px; background: linear-gradient(0deg, var(--wine), var(--rose)); animation: wave 1s ease-in-out infinite; }
.vc-wave span:nth-child(1){height:4px;animation-delay:0s}
.vc-wave span:nth-child(2){height:11px;animation-delay:.1s}
.vc-wave span:nth-child(3){height:18px;animation-delay:.22s}
.vc-wave span:nth-child(4){height:11px;animation-delay:.34s}
.vc-wave span:nth-child(5){height:4px;animation-delay:.46s}
@keyframes wave { 0%,100%{transform:scaleY(.3)} 50%{transform:scaleY(1)} }
.vc-status { font-size: .56rem; letter-spacing: 1.6px; color: var(--mist); text-transform: uppercase; flex: 1; font-weight: 400; min-width: 60px; }
.vc-btn { display: flex; align-items: center; gap: .35rem; padding: .42rem .9rem; border-radius: var(--r-xl); border: 1.5px solid rgba(199,92,120,0.2); background: rgba(199,92,120,0.05); color: var(--blush); font-family: var(--font-sans); font-size: .58rem; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: all .22s cubic-bezier(.22,1,.36,1); min-height: 32px; flex-shrink: 0; -webkit-appearance: none; }
.vc-btn:active { transform: scale(.93); }
.vc-btn.call-on { background: linear-gradient(135deg, var(--wine), var(--ember)); border-color: transparent; color: #fff; box-shadow: 0 4px 18px rgba(125,35,64,0.5); }
.vc-btn.mute-on { background: rgba(226,92,80,.12); border-color: rgba(226,92,80,.35); color: #e25c50; }
.vc-btn.cam-on { background: linear-gradient(135deg, #1a4a2a, #2d7a40); border-color: transparent; color: #7eeaa0; box-shadow: 0 4px 18px rgba(30,80,50,0.5); }

/* ── VIDEO OVERLAY (RN'de: components/VideoOverlay.tsx + Modal) ── */
#video-overlay { position: fixed; inset: 0; z-index: 500; background: #000; display: none; flex-direction: column; align-items: center; justify-content: center; }
#video-overlay.show { display: flex; }
#remote-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; pointer-events: none; }
#local-video { position: absolute; bottom: max(env(safe-area-inset-bottom), 88px); right: 14px; width: 100px; height: 140px; object-fit: contain; border-radius: var(--r-md); border: 2px solid rgba(199,92,120,0.5); background: #111; box-shadow: 0 8px 32px rgba(0,0,0,0.8); z-index: 20; pointer-events: auto; cursor: grab; }
.vid-topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; padding: max(env(safe-area-inset-top), 12px) 14px 14px; background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%); gap: .6rem; pointer-events: auto; }
.vid-topbar-info { flex: 1; display: flex; flex-direction: column; gap: .15rem; pointer-events: none; }
.vid-name { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: #fff; line-height: 1.2; }
.vid-state { font-size: .52rem; letter-spacing: 2.6px; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.vid-topbar-actions { display: flex; gap: .5rem; flex-shrink: 0; pointer-events: auto; z-index: 60; position: relative; }
.vid-action-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); background: rgba(0,0,0,0.55); color: rgba(255,255,255,0.92); font-size: .95rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); -webkit-appearance: none; flex-shrink: 0; pointer-events: auto; touch-action: manipulation; }
.vid-action-btn:active { background: rgba(255,255,255,0.18); transform: scale(.88); }
.vid-action-btn.danger { border-color: rgba(220,60,60,0.45); background: rgba(180,40,40,0.5); }
.vid-action-btn.danger:active { background: rgba(220,60,60,0.62); }
.vid-waiting { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(50,15,28,0.85) 0%, rgba(8,3,5,1) 100%); z-index: 10; }
.vid-waiting-ring { position: relative; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.vid-waiting-ring::before, .vid-waiting-ring::after { content: ''; position: absolute; border-radius: 50%; border: 1.5px solid rgba(199,92,120,0.25); animation: ring-expand 2.5s ease-out infinite; }
.vid-waiting-ring::before { inset: -10px; animation-delay: 0s; }
.vid-waiting-ring::after  { inset: -22px; animation-delay: .8s; }
.vid-waiting-icon { font-size: 2.4rem; }
.vid-waiting-txt { font-size: .62rem; letter-spacing: 3px; color: var(--mist); text-transform: uppercase; }
.vid-controls { position: absolute; bottom: max(env(safe-area-inset-bottom), 18px); left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 1rem; z-index: 30; padding: .5rem 1rem; }
.vid-btn { width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: transform .18s, box-shadow .18s; flex-shrink: 0; -webkit-appearance: none; }
.vid-btn:active { transform: scale(.86); }
.vid-btn-mute { background: rgba(255,255,255,0.14); color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.vid-btn-mute.on { background: rgba(226,92,80,0.8); }
.vid-btn-cam { background: rgba(255,255,255,0.14); color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.vid-btn-cam.off { background: rgba(226,92,80,0.8); }
.vid-btn-end { background: linear-gradient(135deg, #c0392b, #e74c3c); color: #fff; width: 62px; height: 62px; font-size: 1.5rem; box-shadow: 0 6px 24px rgba(200,50,50,0.6); }
.vid-btn-flip { background: rgba(255,255,255,0.14); color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }

#video-overlay.minimized { inset: auto !important; bottom: max(env(safe-area-inset-bottom), 14px) !important; right: 14px !important; width: 168px !important; height: 124px !important; border-radius: var(--r-lg) !important; border: 2px solid rgba(199,92,120,0.6) !important; box-shadow: 0 12px 40px rgba(0,0,0,0.9), 0 0 0 1px rgba(212,175,106,0.15) !important; overflow: hidden; cursor: move; justify-content: center; align-items: center; }
#video-overlay.minimized .vid-topbar { display: none; }
#video-overlay.minimized .vid-waiting { display: none !important; }
#video-overlay.minimized .vid-controls { display: none; }
#video-overlay.minimized #local-video { display: none; }
#video-overlay.minimized #remote-video { object-fit: cover; pointer-events: none; }
#video-overlay.minimized .vid-expand-hint { display: flex; }
#video-overlay.minimized .vid-mini-bar { display: flex; }
#video-overlay.minimized .vid-mini-close { display: flex; }
.vid-expand-hint { display: none; position: absolute; bottom: 6px; left: 8px; font-size: .58rem; color: rgba(255,255,255,0.85); z-index: 20; pointer-events: none; letter-spacing: 1px; background: rgba(0,0,0,0.5); padding: 2px 7px; border-radius: var(--r-xl); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vid-mini-bar { display: none; position: absolute; top: 0; left: 0; right: 0; padding: 5px 8px; background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent); z-index: 25; align-items: center; gap: 5px; pointer-events: none; }
.vid-mini-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.8); animation: blink 1.6s ease-in-out infinite; flex-shrink: 0; }
.vid-mini-label { font-size: .55rem; letter-spacing: 1.2px; color: #fff; text-transform: uppercase; font-weight: 600; flex: 1; }
.vid-mini-close { display: none; position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; background: rgba(180,40,40,0.85); border: 1px solid rgba(220,60,60,0.6); color: #fff; font-size: .7rem; cursor: pointer; align-items: center; justify-content: center; z-index: 30; padding: 0; -webkit-appearance: none; }
.vid-mini-close:active { background: rgba(220,60,60,1); transform: scale(.88); }

/* ── CHAT (RN'de: components/ChatPanel.tsx) ── */
.chat-col { background: var(--ink2); display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.chat-hdr { display: flex; align-items: center; justify-content: space-between; padding: .5rem 1rem; border-bottom: 1px solid rgba(199,92,120,0.08); background: rgba(8,3,5,0.7); flex-shrink: 0; }
.chat-hdr-label { font-family: var(--font-sans); font-size: .54rem; letter-spacing: 3px; color: var(--mist2); text-transform: uppercase; font-weight: 500; }
.chat-hdr-count { font-family: var(--font-sans); font-size: .54rem; letter-spacing: 1.6px; color: rgba(199,92,120,0.45); text-transform: uppercase; }
.msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 1rem .9rem .5rem; display: flex; flex-direction: column; gap: .45rem; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 36px, black 100%); mask-image: linear-gradient(to bottom, transparent 0%, black 36px, black 100%); }
.msgs::-webkit-scrollbar { width: 2px; }
.msgs::-webkit-scrollbar-thumb { background: rgba(199,92,120,0.12); border-radius: 2px; }
.msg { max-width: 80%; animation: msgIn .24s cubic-bezier(.22,1,.36,1) both; }
@keyframes msgIn { from{opacity:0;transform:translateY(8px) scale(.94)} to{opacity:1;transform:none} }
.msg.me { align-self: flex-end; }
.msg.them { align-self: flex-start; }
.msg-label { font-size: .52rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--mist2); margin-bottom: .18rem; padding: 0 .4rem; }
.msg.me .msg-label { text-align: right; }
.bbl { padding: .65rem 1rem; font-size: .9rem; line-height: 1.6; word-break: break-word; }
.me .bbl { background: linear-gradient(140deg, #6a1d38 0%, var(--rose) 100%); color: rgba(255,255,255,.97); border-radius: var(--r-lg) var(--r-lg) 4px var(--r-lg); box-shadow: 0 4px 18px rgba(125,35,64,0.4); }
.them .bbl { background: linear-gradient(140deg, #1e0e16, #180a10); border: 1px solid rgba(199,92,120,0.18); color: var(--petal); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px; }
.ty-row { padding: .22rem .95rem; min-height: 18px; flex-shrink: 0; font-size: .6rem; letter-spacing: 1.6px; color: var(--rose); font-style: italic; font-family: var(--font-serif); }
.emj-row { display: flex; justify-content: space-around; align-items: center; padding: .4rem .5rem; background: rgba(8,3,5,0.92); border-top: 1px solid rgba(199,92,120,0.1); flex-shrink: 0; }
.eb { background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: .28rem .35rem; border-radius: var(--r-sm); transition: transform .16s; -webkit-appearance: none; min-width: 36px; min-height: 36px; display: flex; align-items: center; justify-content: center; }
.eb:active { transform: scale(1.65); }
.c-bar { display: flex; gap: .45rem; align-items: center; padding: .55rem .85rem; padding-bottom: max(env(safe-area-inset-bottom), .55rem); background: rgba(8,3,5,0.97); border-top: 1px solid rgba(199,92,120,0.12); flex-shrink: 0; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.c-inp { flex: 1; min-width: 0; padding: .68rem 1rem; background: rgba(255,255,255,.04); border: 1.5px solid rgba(199,92,120,0.15); border-radius: var(--r-xl); color: var(--petal); font-family: var(--font-sans); font-size: 16px; outline: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.c-inp:focus { border-color: rgba(199,92,120,.45); box-shadow: 0 0 0 4px rgba(199,92,120,.06); background: rgba(255,255,255,.055); }
.c-inp::placeholder { color: var(--mist2); font-size: 14px; }
.send { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--wine), var(--rose)); color: #fff; font-size: 1.05rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(125,35,64,0.5); transition: transform .18s, box-shadow .18s; -webkit-appearance: none; }
.send:active { transform: scale(.86); }

/* ── EMOJI FLOAT (RN'de: Animated API) ── */
.fe { position: fixed; font-size: 2.5rem; pointer-events: none; z-index: 9999; animation: fe-up 2.6s ease-out forwards; }
@keyframes fe-up { 0%{opacity:0;transform:translateY(0) scale(.25) rotate(-10deg)} 12%{opacity:1;transform:translateY(-55px) scale(1.25) rotate(5deg)} 100%{opacity:0;transform:translateY(-300px) scale(1.3) rotate(-5deg)} }

/* ── TOAST (RN'de: react-native-toast-message) ── */
.toast { position: fixed; bottom: 4.5rem; left: 50%; transform: translateX(-50%) translateY(12px); background: linear-gradient(135deg, var(--card2), var(--card)); border: 1px solid var(--border2); color: var(--petal); font-size: .72rem; letter-spacing: 1.2px; padding: .7rem 1.5rem; border-radius: var(--r-xl); z-index: 9999; opacity: 0; pointer-events: none; transition: all .32s cubic-bezier(.22,1,.36,1); white-space: nowrap; box-shadow: 0 8px 32px rgba(0,0,0,0.65), 0 0 0 1px rgba(212,175,106,0.08); max-width: 92vw; text-align: center; font-weight: 500; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { border-color: rgba(226,92,80,.45); color: #ffb8b0; box-shadow: 0 8px 32px rgba(180,40,40,0.4); }
.toast.success { border-color: rgba(126,234,160,.4); color: #b8f0c8; }

/* ── CHAT EMPTY STATE (RN'de: EmptyState component) ── */
.chat-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; flex: 1; opacity: .28; pointer-events: none; }
.chat-empty-icon { font-size: 2.2rem; }
.chat-empty-txt { font-family: var(--font-serif); font-style: italic; font-size: .94rem; color: var(--mist); }

.v-col { display: flex; flex-direction: column; flex-shrink: 0; }

/* ── MODAL (RN'de: Modal component) ── */
.modal-back { position: fixed; inset: 0; z-index: 800; background: rgba(0,0,0,0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-back.show { display: flex; animation: rise .35s cubic-bezier(.22,1,.36,1) both; }
.modal-card { background: linear-gradient(155deg, var(--card2), var(--card)); border: 1px solid var(--border2); border-radius: var(--r-lg); padding: 1.6rem 1.4rem; width: 100%; max-width: 320px; box-shadow: 0 24px 64px rgba(0,0,0,0.7); }
.modal-title { font-family: var(--font-serif); font-style: italic; font-size: 1.55rem; color: var(--blush); margin-bottom: .3rem; text-align: center; }
.modal-sub { font-size: .6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--mist); text-align: center; margin-bottom: 1.2rem; }
.modal-opts { display: flex; flex-direction: column; gap: .6rem; }
.modal-opt { padding: .9rem 1rem; background: rgba(199,92,120,0.06); border: 1.5px solid rgba(199,92,120,0.2); border-radius: var(--r-md); color: var(--petal); cursor: pointer; transition: all .2s; text-align: left; -webkit-appearance: none; font-family: var(--font-sans); }
.modal-opt:active { background: rgba(199,92,120,0.16); transform: scale(.98); }
.modal-opt-title { font-size: .85rem; font-weight: 500; margin-bottom: .15rem; }
.modal-opt-desc { font-size: .68rem; color: var(--mist); line-height: 1.4; }
.modal-cancel { margin-top: 1rem; width: 100%; padding: .68rem; background: transparent; border: none; color: var(--mist); font-size: .6rem; letter-spacing: 2.2px; text-transform: uppercase; cursor: pointer; font-family: var(--font-sans); -webkit-appearance: none; }

/* ── GAMES (RN'de: screens/GamesScreen.tsx) ── */
#games-panel { display: none; flex-direction: column; width: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: var(--ink); flex-shrink: 0; }
#games-panel.show { display: flex; }
.game-selection { display: flex; flex-direction: column; align-items: center; gap: .85rem; padding: 1.1rem .9rem; }
.game-sel-title { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--blush); text-align: center; }
.game-sel-sub { font-size: .56rem; letter-spacing: 2.8px; text-transform: uppercase; color: var(--mist); text-align: center; margin-top: -.2rem; }
.game-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; width: 100%; max-width: 380px; }
.game-card { background: linear-gradient(155deg, var(--card2), var(--card)); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.1rem .85rem; cursor: pointer; transition: all .22s cubic-bezier(.22,1,.36,1); text-align: center; position: relative; overflow: hidden; -webkit-appearance: none; border: none; }
.game-card::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(199,92,120,0.55), transparent); }
.game-card:active { transform: scale(.95); background: linear-gradient(155deg, #220e18, #1e0e16); }
.game-card-icon { font-size: 2rem; margin-bottom: .4rem; line-height: 1; }
.game-card-name { font-family: var(--font-serif); font-size: 1rem; font-weight: 400; color: var(--petal); margin-bottom: .3rem; line-height: 1.2; }
.game-card-desc { font-size: .58rem; color: var(--mist); line-height: 1.45; letter-spacing: .3px; }

/* ── TRUTH OR DARE (RN'de: screens/TruthOrDareScreen.tsx) ── */
.game-area { display: none; flex-direction: column; align-items: center; padding: .85rem .9rem 1.2rem; gap: .75rem; width: 100%; }
.game-area.show { display: flex; }
.game-back-btn { align-self: flex-start; background: transparent; border: none; color: var(--mist); font-size: .6rem; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; font-family: var(--font-sans); padding: .2rem 0; -webkit-appearance: none; transition: color .2s; }
.game-back-btn:active { color: var(--blush); }
.game-turn-badge { font-size: .56rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); background: rgba(212,175,106,0.08); border: 1px solid rgba(212,175,106,0.22); border-radius: var(--r-xl); padding: .3rem .9rem; font-weight: 600; }
.game-question-card { width: 100%; max-width: 340px; background: linear-gradient(155deg, var(--card2), var(--card)); border: 1px solid var(--border2); border-radius: var(--r-lg); padding: 1.4rem 1.2rem; text-align: center; position: relative; overflow: hidden; min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; box-shadow: 0 12px 40px rgba(0,0,0,0.45); }
.game-question-card::before { content: ''; position: absolute; top: 0; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, rgba(199,92,120,0.8), rgba(212,175,106,0.55), transparent); }
.game-q-type { font-size: .58rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }
.game-q-type.truth { color: #7eeaa0; }
.game-q-type.dare  { color: var(--rose-light); }
.game-q-text { font-family: var(--font-serif); font-size: 1.12rem; font-style: italic; color: var(--petal); line-height: 1.6; padding: 0 .3rem; }
.game-q-waiting { font-size: .6rem; letter-spacing: 2px; color: var(--mist); text-transform: uppercase; }
.tod-choice-row { display: flex; gap: .65rem; width: 100%; max-width: 340px; }
.tod-btn { flex: 1; padding: .78rem .5rem; border-radius: var(--r-md); font-family: var(--font-sans); font-size: .66rem; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; cursor: pointer; transition: all .22s cubic-bezier(.22,1,.36,1); -webkit-appearance: none; }
.tod-btn.truth { background: rgba(74,222,128,0.07); border: 1.5px solid rgba(74,222,128,0.32); color: #7eeaa0; }
.tod-btn.truth:active { background: rgba(74,222,128,0.18); transform: scale(.96); }
.tod-btn.dare { background: rgba(199,92,120,0.07); border: 1.5px solid rgba(199,92,120,0.32); color: var(--rose-light); }
.tod-btn.dare:active { background: rgba(199,92,120,0.18); transform: scale(.96); }
.tod-next-btn { width: 100%; max-width: 340px; padding: .75rem; background: linear-gradient(135deg, var(--wine), var(--ember)); border: none; border-radius: var(--r-xl); color: #fff; font-family: var(--font-sans); font-size: .66rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 18px rgba(125,35,64,0.45); transition: transform .2s; -webkit-appearance: none; display: none; }
.tod-next-btn:active { transform: scale(.96); }

/* ── TELEPATHY (RN'de: screens/TelepathyScreen.tsx) ── */
#telepathy-game { display: none; flex-direction: column; align-items: center; gap: .7rem; padding: .75rem .85rem 1rem; width: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex: 1; min-height: 0; }
#telepathy-game.show { display: flex; }
#telepathy-game .game-back-btn { align-self: flex-start; }
.tele-score-row { display: flex; align-items: center; justify-content: center; gap: 1.2rem; width: 100%; max-width: 340px; flex-shrink: 0; background: linear-gradient(135deg, rgba(125,35,64,0.18), rgba(199,92,120,0.08)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: .65rem 1.2rem; }
.tele-score-box { text-align: center; flex: 1; }
.tele-score-label { font-size: .5rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--mist); margin-bottom: .15rem; font-weight: 500; }
.tele-score-val { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--petal); line-height: 1; text-shadow: 0 0 18px rgba(199,92,120,0.35); }
.tele-sep { width: 1px; height: 36px; background: var(--border2); flex-shrink: 0; }
.tele-q-card { width: 100%; max-width: 340px; flex-shrink: 0; background: linear-gradient(155deg, var(--card2) 0%, var(--card) 100%); border: 1px solid var(--border2); border-radius: var(--r-lg); padding: 1.1rem 1.1rem .95rem; position: relative; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.55); }
.tele-q-card::before { content: ''; position: absolute; top: 0; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,106,0.5) 25%, rgba(199,92,120,0.85) 50%, rgba(212,175,106,0.5) 75%, transparent); }
.tele-q-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(199,92,120,0.07), transparent 65%); }
.tele-q-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .65rem; }
.tele-q-num { font-size: .5rem; letter-spacing: 2.8px; text-transform: uppercase; color: var(--gold); font-weight: 600; background: rgba(212,175,106,0.08); border: 1px solid rgba(212,175,106,0.2); border-radius: var(--r-xl); padding: .2rem .65rem; }
.tele-role-pill { font-size: .5rem; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 600; padding: .2rem .65rem; border-radius: var(--r-xl); transition: all .3s; }
.tele-role-pill.answerer { background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.28); color: #7eeaa0; }
.tele-role-pill.guesser  { background: rgba(199,92,120,0.08); border: 1px solid rgba(199,92,120,0.3); color: var(--rose-light); }
.tele-q-text { font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; color: var(--petal); line-height: 1.55; text-align: center; padding: 0 .2rem; margin-bottom: .85rem; }
.tele-opts { display: flex; flex-direction: column; gap: .45rem; }
.tele-opt { width: 100%; padding: .7rem 1rem; border-radius: var(--r-md); background: rgba(255,255,255,0.025); border: 1px solid var(--border); color: var(--petal); font-family: var(--font-sans); font-size: .8rem; text-align: left; cursor: pointer; position: relative; overflow: hidden; transition: border-color .22s, background .22s, box-shadow .22s, transform .16s; -webkit-appearance: none; line-height: 1.4; }
.tele-opt:active:not(:disabled) { transform: scale(.975); }
.tele-opt:hover:not(:disabled) { border-color: var(--border2); background: rgba(199,92,120,0.06); }
.tele-opt.selected { border-color: rgba(199,92,120,0.65); background: rgba(125,35,64,0.28); box-shadow: 0 0 16px rgba(199,92,120,0.18); color: #fff; }
.tele-opt.correct  { border-color: rgba(74,222,128,0.55); background: rgba(74,222,128,0.10); box-shadow: 0 0 14px rgba(74,222,128,0.15); color: #7eeaa0; }
.tele-opt.wrong    { border-color: rgba(226,92,80,0.45); background: rgba(226,92,80,0.08); color: #ff8b80; }
.tele-opt.reveal   { border-color: rgba(212,175,106,0.5); background: rgba(212,175,106,0.08); box-shadow: 0 0 12px rgba(212,175,106,0.12); color: var(--gold); }
.tele-opt:disabled { cursor: default; }
.tele-waiting-note { font-size: .57rem; letter-spacing: 2px; text-transform: uppercase; color: var(--mist); text-align: center; min-height: 18px; margin-top: .3rem; font-style: italic; font-family: var(--font-serif); }
.tele-result-banner { width: 100%; max-width: 340px; flex-shrink: 0; border-radius: var(--r-lg); padding: .85rem 1rem; text-align: center; display: none; }
.tele-result-banner.show { display: block; animation: tele-reveal .4s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes tele-reveal { from{opacity:0;transform:scale(.92) translateY(8px)} to{opacity:1;transform:scale(1) translateY(0)} }
.tele-result-banner.match  { background: linear-gradient(135deg, rgba(74,222,128,0.07), rgba(30,80,50,0.12)); border: 1px solid rgba(74,222,128,0.32); box-shadow: 0 0 32px rgba(74,222,128,0.08); }
.tele-result-banner.nomatch{ background: linear-gradient(135deg, rgba(199,92,120,0.07), rgba(125,35,64,0.12)); border: 1px solid var(--border2); }
.tele-result-icon  { font-size: 1.6rem; margin-bottom: .3rem; line-height: 1; }
.tele-result-title { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--petal); margin-bottom: .2rem; }
.tele-result-sub   { font-size: .58rem; letter-spacing: 1.4px; color: var(--mist); line-height: 1.5; }
.tele-next-btn { width: 100%; max-width: 340px; flex-shrink: 0; padding: .78rem; background: linear-gradient(135deg, var(--wine), var(--ember)); border: none; border-radius: var(--r-xl); color: #fff; font-family: var(--font-sans); font-size: .64rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 20px rgba(125,35,64,0.45); transition: transform .2s; -webkit-appearance: none; display: none; }
.tele-next-btn:active { transform: scale(.96); }
.tele-finish-banner { width: 100%; max-width: 340px; flex-shrink: 0; background: linear-gradient(155deg, var(--card2), var(--card)); border: 1px solid var(--border2); border-radius: var(--r-lg); padding: 1.4rem 1.1rem; text-align: center; box-shadow: 0 20px 56px rgba(0,0,0,0.6); position: relative; overflow: hidden; display: none; }
.tele-finish-banner::before { content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,106,0.65), rgba(199,92,120,0.8), rgba(212,175,106,0.65), transparent); }
.tele-finish-banner.show { display: block; animation: tele-reveal .5s cubic-bezier(.22,1,.36,1) both; }
.tele-finish-icon  { font-size: 2.2rem; margin-bottom: .5rem; line-height: 1; }
.tele-finish-title { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--blush); margin-bottom: .3rem; }
.tele-finish-sub   { font-size: .6rem; letter-spacing: 1.6px; color: var(--mist); text-transform: uppercase; margin-bottom: 1rem; line-height: 1.6; }
.tele-restart-btn { padding: .72rem 1.8rem; background: linear-gradient(135deg, var(--wine), var(--rose)); border: none; border-radius: var(--r-xl); color: #fff; font-family: var(--font-sans); font-size: .64rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 18px rgba(125,35,64,0.45); transition: transform .2s; -webkit-appearance: none; }
.tele-restart-btn:active { transform: scale(.96); }
#games-panel::-webkit-scrollbar { width: 2px; }
#games-panel::-webkit-scrollbar-thumb { background: rgba(199,92,120,0.15); border-radius: 2px; }

/* ── RESPONSIVE (RN'de: useWindowDimensions hook) ── */

.v-shell:fullscreen { width: 100vw; height: 100vh; background: #000; }
.v-shell:fullscreen::before { display: none; }
.v-shell:fullscreen .v-inner { position: absolute; inset: 0; }
.v-shell:-webkit-full-screen { width: 100vw; height: 100vh; background: #000; }
.v-shell:-webkit-full-screen::before { display: none; }

/* ══════════════════════════════════════════════════════════
   GELEN ARAMA EKRANI
══════════════════════════════════════════════════════════ */
#incoming-call {
  position: fixed; inset: 0; z-index: 900;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(50,15,28,0.97) 0%, rgba(8,3,5,0.99) 100%);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
#incoming-call.show { display: flex; animation: rise .4s cubic-bezier(.22,1,.36,1) both; }
.ic-pulse { position: relative; width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; }
.ic-pulse::before, .ic-pulse::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 2px solid rgba(199,92,120,0.35);
  animation: ring-expand 2s ease-out infinite;
}
.ic-pulse::before { inset: -14px; animation-delay: 0s; }
.ic-pulse::after  { inset: -28px; animation-delay: .7s; }
.ic-avatar { width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(145deg, #1e0b14, #2a0f1c); border: 2px solid rgba(199,92,120,0.45); display: flex; align-items: center; justify-content: center; font-size: 3rem; box-shadow: 0 0 40px rgba(199,92,120,0.25); }
.ic-label { font-size: .56rem; letter-spacing: 3px; text-transform: uppercase; color: var(--mist); }
.ic-name  { font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--petal); }
.ic-type  { font-size: .58rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blush); background: rgba(199,92,120,0.1); border: 1px solid rgba(199,92,120,0.25); border-radius: var(--r-xl); padding: .28rem .9rem; }
.ic-btns  { display: flex; gap: 2.8rem; margin-top: .6rem; }
.ic-btn   { width: 68px; height: 68px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; transition: transform .18s; -webkit-appearance: none; flex-shrink: 0; }
.ic-btn:active { transform: scale(.86); }
.ic-btn-accept { background: linear-gradient(135deg, #1a5c2a, #27ae60); box-shadow: 0 6px 24px rgba(30,120,60,0.55); }
.ic-btn-reject { background: linear-gradient(135deg, #7f1616, #c0392b); box-shadow: 0 6px 24px rgba(180,40,40,0.55); }
.ic-hint  { font-size: .58rem; letter-spacing: 1.6px; color: var(--mist2); text-transform: uppercase; }

/* ══════════════════════════════════════════════════════════
   HDR HOME BUTTON
══════════════════════════════════════════════════════════ */
.hdr-home-btn {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid rgba(199,92,120,0.22); background: rgba(199,92,120,0.06);
  color: var(--mist); font-size: .65rem; cursor: pointer;
  transition: all .22s; flex-shrink: 0; -webkit-appearance: none;
}
.hdr-home-btn:active { background: rgba(199,92,120,0.2); color: var(--blush); transform: scale(.88); }

/* ══════════════════════════════════════════════════════════
   PC CONTENT ROW — v-col + chat-col yan yana, hdr üstte
══════════════════════════════════════════════════════════ */
.room-content-row {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Desktop: chat-col sabit genişlikte sağda */
@media (min-width: 768px) {
  #pg-room.on {
    flex-direction: column !important;
  }
  #pg-room.on > .hdr {
    flex-shrink: 0;
    width: 100%;
  }
  .room-content-row > .v-col {
    flex: 1;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #000;
    overflow: hidden;
  }
  .room-content-row > .chat-col {
    width: 260px;
    flex: none !important;  
    flex-shrink: 0;
    border-left: 1px solid rgba(199,92,120,0.12);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  .v-shell {
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .v-shell::before { display: none; }
  #games-panel {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }

  /* Chat içi kompakt */
  .chat-hdr  { padding: .35rem .85rem; }
  .msgs      { padding: .7rem .75rem .4rem; gap: .35rem; }
  .bbl       { font-size: .82rem; padding: .52rem .85rem; }
  .msg-label { font-size: .48rem; }
  .ty-row    { padding: .16rem .8rem; min-height: 14px; font-size: .54rem; }
  .emj-row   { padding: .28rem .4rem; }
  .eb        { font-size: 1.3rem; min-width: 30px; min-height: 30px; }
  .c-bar     { padding: .42rem .75rem; gap: .35rem; }
  .c-inp     { padding: .52rem .85rem; font-size: 14px; }
  .send      { width: 36px; height: 36px; font-size: .9rem; }
  .chat-hdr-label { font-size: .5rem; }
  .chat-hdr-count { font-size: .5rem; }

  /* Mode tab ve stat row da biraz ince */
  .mode-row  { padding: .38rem .75rem; }
  .mtab      { font-size: .58rem; padding: .38rem 0; }
  .stat-row  { padding: .2rem .75rem; min-height: 22px; }
  .stat-txt  { font-size: .52rem; }
  .voice-bar { padding: .38rem .75rem; }
  .vc-btn    { padding: .35rem .8rem; font-size: .54rem; min-height: 28px; }
  .vc-status { font-size: .52rem; }
  .yt-bar    { padding: .38rem .75rem; }
}

/* Mobil: chat-col tam genişlik altta */
@media (max-width: 767px) {
  .room-content-row {
    flex-direction: column;
    flex: 1;
  }
  .room-content-row > .chat-col {
    flex: 1;
  }
}

/* ══ LANDSCAPE MOBİL ══ */
@media (orientation: landscape) and (max-width: 932px) {

  #pg-home {
    gap: 0;
    padding: max(env(safe-area-inset-top),.5rem) 1.5rem max(env(safe-area-inset-bottom),.5rem);
    overflow-y: auto;
  }
  .hero-wrap  { width: 60px; height: 60px; margin-bottom: .6rem; }
  .hero-core  { width: 42px; height: 42px; font-size: 1.2rem; }
  .hero-ring::before { inset: -5px; }
  .hero-ring::after  { inset: -12px; }
  .orbit { inset: -2px; }
  .wordmark  { font-size: 1.75rem; margin-bottom: .1rem; }
  .tagline   { font-size: .5rem; margin-bottom: .7rem; }
  .ornament  { margin-bottom: .6rem; }
  .home-btns { gap: .4rem; max-width: 220px; }
  .btn       { padding: .7rem 1.4rem; font-size: .66rem; }
  .home-foot { margin-top: .8rem; font-size: .48rem; }
  #ios-install-banner { display: none !important; }

  .card       { padding: 1rem 1.2rem; }
  .card-title { font-size: 1.3rem; margin-bottom: .8rem; }
  .code-big   { font-size: 1.6rem; padding: .5rem .9rem; margin-bottom: .25rem; }
  .inp        { font-size: 1.5rem; padding: .6rem .9rem; }

  /* Oda: header üstte tam genişlik, altında yatay düzen */
  #pg-room.on {
    flex-direction: column !important;
  }

  .hdr { padding-top: max(env(safe-area-inset-top),.3rem); padding-bottom: .3rem; }
  .hdr-logo      { font-size: .9rem; }
  .hdr-code      { font-size: .48rem; padding: .18rem .5rem; }
  .partner-badge { font-size: .46rem; padding: .2rem .55rem; }
  .hdr-home-btn  { width: 18px; height: 18px; font-size: .5rem; }

  .mode-row { padding: .22rem .5rem; gap: .25rem; }
  .mtab     { padding: .25rem 0; font-size: .5rem; }

  .yt-bar { padding: .25rem .6rem; }
  .yt-inp { padding: .32rem .65rem; font-size: 14px; }
  .yt-go  { padding: .32rem .65rem; font-size: .56rem; }

  /* room-content-row: yatay */
  .room-content-row {
    flex-direction: row !important;
    flex: 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .room-content-row > .v-col,
  #pg-room.on > .v-col {
    flex: 1 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .v-shell {
    flex: 1 !important;
    min-height: 0 !important;
    width: 100% !important;
  }
  .v-shell::before { display: none !important; }

  .room-content-row > .chat-col,
  #pg-room.on > .chat-col {
    width: 190px !important;
    flex-shrink: 0 !important;
    flex: none !important;
    border-left: 1px solid rgba(199,92,120,0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  .stat-row { min-height: 18px; padding: .14rem .6rem; }
  .stat-txt { font-size: .48rem; }
  .stop-btn, .flip-btn { font-size: .46rem; padding: .13rem .48rem; }

  .voice-bar  { padding: .25rem .6rem; flex-wrap: nowrap; gap: .35rem; }
  .vc-status  { font-size: .48rem; min-width: 0; }
  .vc-btn     { padding: .25rem .55rem; font-size: .5rem; letter-spacing: .8px; min-height: 24px; }
  .vc-wave    { height: 12px; }

  .chat-hdr  { padding: .3rem .75rem; }
  .msgs      { padding: .5rem .7rem .3rem; gap: .3rem; }
  .bbl       { font-size: .8rem; padding: .45rem .75rem; }
  .msg-label { font-size: .46rem; }
  .ty-row    { padding: .12rem .7rem; min-height: 12px; font-size: .52rem; }
  .emj-row   { padding: .2rem .35rem; }
  .eb        { font-size: 1.15rem; min-width: 26px; min-height: 26px; }
  .c-bar     { padding: .35rem .6rem; padding-bottom: max(env(safe-area-inset-bottom),.35rem); gap: .3rem; }
  .c-inp     { padding: .4rem .7rem; }
  .send      { width: 30px; height: 30px; font-size: .85rem; }

  #games-panel { max-height: 100%; overflow-y: auto; }
  .game-sel-title { font-size: 1.1rem; }
  .game-card      { padding: .65rem .55rem; }
  .game-card-icon { font-size: 1.4rem; margin-bottom: .2rem; }
  .game-card-name { font-size: .82rem; }
  .game-card-desc { font-size: .52rem; }

  #incoming-call { gap: .8rem; }
  .ic-pulse, .ic-avatar { width: 72px; height: 72px; }
  .ic-avatar { font-size: 2rem; }
  .ic-name   { font-size: 1.4rem; }
  .ic-btn    { width: 52px; height: 52px; font-size: 1.4rem; }
  .ic-btns   { gap: 2rem; margin-top: .3rem; }
}

/* ── XOX (RN'de: screens/XoxScreen.tsx) ── */
#xox-game { display: none; flex-direction: column; align-items: center; gap: .75rem; padding: .75rem .85rem 1rem; width: 100%; overflow-y: auto; flex: 1; min-height: 0; }
#xox-game.show { display: flex; }
#xox-game .game-back-btn { align-self: flex-start; }
.xox-score-row { display: flex; align-items: center; justify-content: center; gap: 1.2rem; width: 100%; max-width: 320px; background: linear-gradient(135deg,rgba(125,35,64,.18),rgba(199,92,120,.08)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: .6rem 1.2rem; flex-shrink: 0; }
.xox-score-box { text-align: center; flex: 1; }
.xox-score-label { font-size: .5rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--mist); margin-bottom: .15rem; }
.xox-score-val { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--petal); line-height: 1; }
.xox-sep { font-size: .55rem; letter-spacing: 1px; color: var(--mist); font-weight: 600; }
.xox-status { font-size: .6rem; letter-spacing: 2px; text-transform: uppercase; text-align: center; padding: .4rem 1rem; border-radius: var(--r-xl); font-weight: 600; flex-shrink: 0; transition: all .3s; }
.xox-status.my-turn { background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.28); color: #7eeaa0; }
.xox-status.wait    { background: rgba(199,92,120,.06); border: 1px solid var(--border); color: var(--mist); }
.xox-status.win     { background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.5); color: #7eeaa0; }
.xox-status.lose    { background: rgba(199,92,120,.1); border: 1px solid var(--border2); color: var(--rose-light); }
.xox-status.draw    { background: rgba(212,175,106,.08); border: 1px solid rgba(212,175,106,.3); color: var(--gold); }
.xox-board { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; width: 100%; max-width: 280px; flex-shrink: 0; }
.xox-cell { aspect-ratio: 1; background: linear-gradient(155deg, var(--card2), var(--card)); border: 1.5px solid var(--border); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-family: var(--font-serif); cursor: pointer; transition: border-color .2s, background .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.xox-cell:active { transform: scale(.93); }
.xox-cell.x { color: var(--rose-light); border-color: rgba(199,92,120,.55); text-shadow: 0 0 14px rgba(199,92,120,.45); }
.xox-cell.o { color: #7eeaa0; border-color: rgba(74,222,128,.45); text-shadow: 0 0 14px rgba(74,222,128,.35); }
.xox-cell.win { background: rgba(212,175,106,.1); border-color: rgba(212,175,106,.55); box-shadow: 0 0 18px rgba(212,175,106,.18); animation: xox-win .4s ease both; }
@keyframes xox-win { from{transform:scale(.9)} to{transform:scale(1)} }
.xox-new-btn { padding: .72rem 1.8rem; background: linear-gradient(135deg, var(--wine), var(--ember)); border: none; border-radius: var(--r-xl); color: #fff; font-family: var(--font-sans); font-size: .64rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 18px rgba(125,35,64,.45); transition: transform .2s; -webkit-appearance: none; flex-shrink: 0; }
.xox-new-btn:active { transform: scale(.96); }

/* ── SATRANÇ (RN'de: screens/ChessScreen.tsx) ── */
#chess-game { display: none; flex-direction: column; align-items: center; gap: .65rem; padding: .65rem .6rem .9rem; width: 100%; overflow-y: auto; flex: 1; min-height: 0; }
#chess-game.show { display: flex; }
#chess-game .game-back-btn { align-self: flex-start; }
.chess-status { font-size: .6rem; letter-spacing: 2px; text-transform: uppercase; text-align: center; padding: .38rem 1rem; border-radius: var(--r-xl); font-weight: 600; flex-shrink: 0; transition: all .3s; }
.chess-status.my-turn { background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.28); color: #7eeaa0; }
.chess-status.wait    { background: rgba(199,92,120,.06); border: 1px solid var(--border); color: var(--mist); }
.chess-status.win     { background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.5); color: #7eeaa0; }
.chess-status.lose    { background: rgba(199,92,120,.1); border: 1px solid var(--border2); color: var(--rose-light); }
.chess-status.draw    { background: rgba(212,175,106,.08); border: 1px solid rgba(212,175,106,.3); color: var(--gold); }
.chess-status.check   { background: rgba(255,160,0,.1); border: 1px solid rgba(255,160,0,.5); color: #ffb347; animation: chess-check-pulse .6s ease infinite alternate; }
@keyframes chess-check-pulse { from{box-shadow:0 0 0 rgba(255,160,0,0)} to{box-shadow:0 0 12px rgba(255,160,0,.35)} }
.chess-board { display: grid; grid-template-columns: repeat(8,1fr); width: 100%; max-width: 340px; flex-shrink: 0; border: 2px solid var(--border2); border-radius: 6px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.6); }
.chess-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; position: relative; }
.chess-cell.light { background: #c8a07a; }
.chess-cell.dark  { background: #8b5a3c; }
.chess-cell.selected  { background: rgba(212,175,106,.75) !important; }
.chess-cell.legal::after { content: ''; position: absolute; width: 34%; height: 34%; border-radius: 50%; background: rgba(0,0,0,.28); pointer-events: none; z-index: 1; }
.chess-cell.legal.occupied::after { content: ''; width: 100%; height: 100%; border-radius: 0; border: 3px solid rgba(0,0,0,.32); background: transparent; }
.chess-cell.last-move { background: rgba(100,180,100,.45) !important; }
.chess-piece { font-size: 1.5rem; line-height: 1; user-select: none; display: block; position: relative; z-index: 2; transition: transform .12s; }
.chess-cell:active .chess-piece { transform: scale(.85); }
.chess-piece.w { color: #fff; text-shadow: 0 1px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 0 6px rgba(0,0,0,.9); filter: drop-shadow(0 2px 3px rgba(0,0,0,.8)); }
.chess-piece.b { color: #111; text-shadow: 0 1px 0 rgba(255,255,255,.5), 0 -1px 0 rgba(255,255,255,.2); filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.chess-new-btn { padding: .62rem 1.5rem; background: transparent; border: 1.5px solid var(--border2); border-radius: var(--r-xl); color: var(--mist); font-family: var(--font-sans); font-size: .58rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all .2s; -webkit-appearance: none; flex-shrink: 0; }
.chess-new-btn:active { border-color: var(--rose); color: var(--rose-light); transform: scale(.96); }
