@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #080808;
  --ivory: #F2EDE4;
  --ivory-60: rgba(242,237,228,0.6);
  --ivory-30: rgba(242,237,228,0.3);
  --ivory-15: rgba(242,237,228,0.15);
  --ivory-08: rgba(242,237,228,0.08);
  --ivory-04: rgba(242,237,228,0.04);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── SCREENS ── */
.screen { display: none; min-height: 100vh; }
.screen.active { display: block; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(8,8,8,0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--ivory-08);
}

.logo {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ivory);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

nav ul a {
  text-decoration: none;
  font-size: 0.8rem;
  color: var(--ivory-60);
  transition: color 0.2s;
  cursor: pointer;
}
nav ul a:hover { color: var(--ivory); }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
  padding: 140px 40px 100px;
  min-height: 100vh;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-30);
  margin-bottom: 28px;
}

.tag-line { width: 20px; height: 1px; background: var(--ivory-30); }

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 24px;
}

.dim { color: var(--ivory-30); font-weight: 300; }

.hero-body {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ivory-60);
  max-width: 380px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── BUTTONS ── */
.btn-main {
  background: var(--ivory);
  color: #080808;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 980px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}
.btn-main:hover { opacity: 0.8; transform: scale(0.98); }
.btn-main.full { width: 100%; text-align: center; padding: 14px; border-radius: 10px; }

.btn-ghost {
  background: var(--ivory-08);
  color: var(--ivory);
  border: 1px solid var(--ivory-15);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 13px 28px;
  border-radius: 980px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.2s;
  letter-spacing: -0.01em;
}
.btn-ghost:hover { background: var(--ivory-15); }
.btn-ghost.full { width: 100%; text-align: center; padding: 14px; border-radius: 10px; }
.btn-ghost.mt-24 { margin-top: 24px; }

.btn-link {
  font-size: 0.8rem;
  color: var(--ivory-60);
  background: none;
  border: none;
  border-bottom: 1px solid var(--ivory-15);
  padding-bottom: 2px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}
.btn-link:hover { color: var(--ivory); }

/* ── MOCK SESSION ── */
.mock-session {
  background: var(--ivory-08);
  border: 1px solid var(--ivory-15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  overflow: hidden;
}

.mock-topbar {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ivory-08);
}

.mock-user { display: flex; align-items: center; gap: 8px; }

.mock-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ivory-15);
  border: 1px solid var(--ivory-15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.56rem;
  color: var(--ivory-60);
  font-weight: 500;
}

.mock-name { font-size: 0.75rem; color: var(--ivory-60); }
.mock-live { display: flex; align-items: center; gap: 5px; font-size: 0.65rem; color: var(--ivory-30); }

.live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4CD964;
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

.mock-canvas-wrap { background: rgba(0,0,0,0.4); height: 220px; }
.mock-canvas-wrap canvas { display: block; width: 100%; height: 100%; }

.mock-footer {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ivory-08);
}

.mock-timer { font-size: 0.7rem; color: var(--ivory-30); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.mock-done-btn {
  background: var(--ivory);
  color: #080808;
  border: none;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 980px;
  cursor: pointer;
}

.mock-caption { margin-top: 12px; font-size: 0.68rem; color: var(--ivory-30); text-align: center; letter-spacing: 0.02em; }

/* ── HOW SECTION ── */
.how-section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 100px 40px;
  border-top: 1px solid var(--ivory-08);
}

.eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-30);
  margin-bottom: 14px;
}

.sec-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.step {
  background: var(--ivory-04);
  border: 1px solid var(--ivory-08);
  border-radius: 16px;
  padding: 26px 20px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.step:hover { background: var(--ivory-08); border-color: var(--ivory-15); transform: translateY(-3px); }

.step-n { font-size: 0.6rem; color: var(--ivory-30); letter-spacing: 0.1em; margin-bottom: 18px; }
.step-icon { font-size: 1.4rem; margin-bottom: 14px; display: block; }
.step h3 { font-size: 0.88rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { font-size: 0.75rem; line-height: 1.75; color: var(--ivory-60); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--ivory-08);
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer span, footer a { font-size: 0.7rem; color: var(--ivory-30); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--ivory); }
.footer-links { display: flex; gap: 24px; }

/* ── AUTH ── */
#screen-auth, #screen-roomcode {
  display: none;
  align-items: center;
  justify-content: center;
}
#screen-auth.active, #screen-roomcode.active { display: flex; }

.auth-box {
  background: var(--ivory-04);
  border: 1px solid var(--ivory-08);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.back-btn {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--ivory-30);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.2s;
  cursor: pointer;
}
.back-btn:hover { color: var(--ivory); }

.auth-box h2 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.auth-sub { font-size: 0.8rem; color: var(--ivory-60); margin-bottom: 28px; }

.auth-form { display: flex; flex-direction: column; gap: 12px; }

.auth-form input {
  background: var(--ivory-08);
  border: 1px solid var(--ivory-15);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ivory);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.auth-form input::placeholder { color: var(--ivory-30); }
.auth-form input:focus { border-color: var(--ivory-30); }

.auth-switch { font-size: 0.74rem; color: var(--ivory-30); text-align: center; }
.auth-switch a { color: var(--ivory-60); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.auth-switch a:hover { color: var(--ivory); }

.divider-text { text-align: center; font-size: 0.7rem; color: var(--ivory-30); padding: 4px 0; }

.created-code {
  background: var(--ivory-08);
  border: 1px solid var(--ivory-15);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ivory);
}

/* ── WAITING ── */
#screen-waiting {
  display: none;
  align-items: center;
  justify-content: center;
}
#screen-waiting.active { display: flex; }

.waiting-inner { text-align: center; }

.waiting-rings {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 40px;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--ivory-15);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 2.4s ease-out infinite;
}
.r1 { width: 40px; height: 40px; background: var(--ivory-15); animation-delay: 0s; }
.r2 { width: 80px; height: 80px; animation-delay: 0.4s; }
.r3 { width: 120px; height: 120px; animation-delay: 0.8s; }

.waiting-inner h2 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.waiting-inner p { font-size: 0.8rem; color: var(--ivory-60); }

.dots::after {
  content: '';
  animation: dotdot 1.4s steps(4, end) infinite;
}

/* ── MEET ── */
#screen-meet {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
#screen-meet.active { display: flex; }

.meet-inner { text-align: center; padding: 24px; }
.meet-label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-30); margin-bottom: 28px; }

.meet-cameras {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.cam-box {
  position: relative;
  width: 220px;
  height: 165px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ivory-08);
  border: 1px solid var(--ivory-15);
}

.cam-box video { width: 100%; height: 100%; object-fit: cover; }

.cam-label {
  position: absolute;
  bottom: 8px; left: 10px;
  font-size: 0.66rem;
  color: var(--ivory-60);
  background: rgba(0,0,0,0.55);
  padding: 3px 8px;
  border-radius: 4px;
}

.meet-vs { font-size: 1rem; color: var(--ivory-30); }

.meet-countdown {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.meet-sub { font-size: 0.8rem; color: var(--ivory-60); }

/* ── DRAW SCREEN ── */
#screen-draw { display: none; overflow: hidden; }
#screen-draw.active { display: flex; flex-direction: column; height: 100dvh; }

.draw-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  flex: 1;
  overflow: hidden;
}

.draw-cam-panel {
  border-right: 1px solid var(--ivory-08);
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.5);
  overflow-y: auto;
}

.draw-cam-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 0.7rem;
  color: var(--ivory-60);
  border-bottom: 1px solid var(--ivory-08);
  flex-shrink: 0;
}

.draw-video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--ivory-08);
  flex-shrink: 0;
}

.draw-tools {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.tool-group { display: flex; flex-direction: column; gap: 7px; }

.tool-label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-30);
}

.brush-types { display: flex; gap: 6px; flex-wrap: wrap; }

.brush-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--ivory-08);
  border: 1px solid var(--ivory-08);
  color: var(--ivory-60);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.brush-btn:hover, .brush-btn.active {
  background: var(--ivory-15);
  border-color: var(--ivory-30);
  color: var(--ivory);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--ivory-15);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ivory);
  cursor: pointer;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.color-swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s, transform 0.15s;
}
.color-swatch:hover { transform: scale(1.12); }
.color-swatch.active { border-color: var(--ivory); }

input[type="color"] {
  width: 100%;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--ivory-15);
  background: var(--ivory-08);
  cursor: pointer;
  padding: 2px;
}

.tool-btn {
  background: var(--ivory-08);
  border: 1px solid var(--ivory-08);
  color: var(--ivory-60);
  font-family: inherit;
  font-size: 0.7rem;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}
.tool-btn:hover, .tool-btn.active {
  background: var(--ivory-15);
  border-color: var(--ivory-30);
  color: var(--ivory);
}

.draw-canvas-panel {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #0f0f0f;
  overflow: hidden;
}

.draw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid var(--ivory-08);
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-shrink: 0;
  height: 48px;
}

.draw-status { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--ivory-60); }
.draw-timer {
  font-size: 0.95rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

.btn-done {
  background: var(--ivory);
  color: #080808;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 20px;
  border-radius: 980px;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-done:hover { opacity: 0.8; }

#draw-canvas {
  flex: 1;
  display: block;
  cursor: crosshair;
  touch-action: none;
  width: 100%;
}

.partner-done-banner {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ivory-15);
  border: 1px solid var(--ivory-30);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 980px;
  padding: 9px 22px;
  font-size: 0.75rem;
  color: var(--ivory);
  white-space: nowrap;
  pointer-events: none;
}

/* ── REVEAL ── */
#screen-reveal {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 24px;
}
#screen-reveal.active { display: flex; }

.reveal-inner { width: 100%; max-width: 860px; text-align: center; }

.reveal-label {
  font-size: 0.82rem;
  color: var(--ivory-60);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.reveal-label strong { color: var(--ivory); font-weight: 500; }

.reveal-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.reveal-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ivory-08);
  position: relative;
  background: var(--ivory-04);
}

.reveal-item img, .reveal-item video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.reveal-item-label {
  position: absolute;
  bottom: 10px; left: 10px;
  font-size: 0.65rem;
  color: var(--ivory-60);
  background: rgba(0,0,0,0.6);
  padding: 3px 8px;
  border-radius: 4px;
}

.reveal-timer-bar {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--ivory-30);
  text-align: center;
}
.reveal-timer-bar span {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}

.reveal-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

/* ── ANIMATIONS ── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes ripple {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes dotdot {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    gap: 40px;
    min-height: auto;
  }
  .hero-right { display: none; }

  .how-section { padding: 60px 20px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 8px; }

  footer { padding: 24px 20px; flex-direction: column; gap: 14px; text-align: center; }

  /* Auth */
  .auth-box { padding: 28px 24px; margin: 20px; }

  /* Draw layout — stacked on mobile */
  #screen-draw.active { height: 100dvh; }

  .draw-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .draw-cam-panel {
    flex-direction: row;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--ivory-08);
    overflow-x: auto;
    overflow-y: hidden;
    max-height: 160px;
  }

  .draw-video {
    width: 130px;
    min-width: 130px;
    height: 100%;
    aspect-ratio: unset;
    flex-shrink: 0;
  }

  .draw-tools {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
    align-items: flex-start;
    overflow-x: auto;
  }

  .tool-group {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
  }

  /* Bigger touch targets on mobile */
  .color-grid { grid-template-columns: repeat(5, 1fr); gap: 7px; }
  .color-swatch { width: 34px; height: 34px; border-radius: 7px; }
  .brush-btn { width: 42px; height: 42px; font-size: 1rem; }
  .tool-btn { padding: 10px 12px; font-size: 0.78rem; }
  input[type="range"] { width: 90px; }

  /* Meet */
  .cam-box { width: 160px; height: 120px; }

  /* Reveal */
  .reveal-pair { grid-template-columns: 1fr; }
  .reveal-inner { padding: 20px; }
}

/* ── LANG TOGGLE ── */
.lang-btn {
  background: var(--ivory-08);
  color: var(--ivory-60);
  border: 1px solid var(--ivory-15);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 980px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.lang-btn:hover { background: var(--ivory-15); color: var(--ivory); }

/* ── CONTENT CREATOR ── */
.creator-section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 60px 40px 100px;
  border-top: 1px solid var(--ivory-08);
}

.creator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.creator-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--ivory-04);
  border: 1px solid var(--ivory-08);
  border-radius: 18px;
  padding: 22px 26px;
  flex-wrap: wrap;
}

.creator-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--ivory-15);
  flex-shrink: 0;
}

.creator-info { flex: 1; min-width: 180px; }

.creator-name {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.creator-handle {
  font-size: 0.78rem;
  color: var(--ivory-60);
  text-decoration: none;
  transition: color 0.2s;
}
.creator-handle:hover { color: var(--ivory); }

.creator-desc {
  font-size: 0.76rem;
  color: var(--ivory-30);
  margin-top: 6px;
  line-height: 1.6;
}

.creator-btn {
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 10px 20px;
}

@media (max-width: 900px) {
  .creator-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .creator-section { padding: 40px 20px 60px; }
  .creator-card { flex-direction: column; text-align: center; padding: 24px 20px; }
  .creator-btn { width: 100%; text-align: center; }
}

/* ── MOBILE NAV BURGER ── */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.2s, opacity 0.2s;
}
.burger-btn.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .burger-btn { display: flex; }
  #nav-links {
    display: none;
    position: fixed;
    top: 52px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(8,8,8,0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--ivory-08);
    padding: 8px 20px 16px;
  }
  #nav-links.open { display: flex; }
  #nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--ivory-08); }
  #nav-links li:last-child { border-bottom: none; }
  #nav-links li a { font-size: 0.9rem; }
}

/* ── WAITING RETRY ── */
#waiting-retry-wrap { display: flex; justify-content: center; }

/* ── SELF CAM (PIP) IN DRAW SCREEN ── */
.draw-cam-video-wrap {
  position: relative;
  flex-shrink: 0;
}

.draw-video-self {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--ivory-30);
  background: var(--ivory-08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .draw-video-self { width: 46px; height: 46px; bottom: 6px; right: 6px; border-radius: 8px; }
}

/* ── MIC TOGGLE ── */
.mic-toggle-btn {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(8,8,8,0.7);
  border: 1px solid var(--ivory-15);
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.mic-toggle-btn:hover { background: rgba(8,8,8,0.9); }
.mic-toggle-btn.muted { border-color: #C8392A; color: #E67E22; }

@media (max-width: 768px) {
  .mic-toggle-btn { width: 26px; height: 26px; bottom: 6px; left: 6px; }
  .mic-toggle-btn svg { width: 12px; height: 12px; }
}
