:root {
  --bg: #0f1226;
  --bg-soft: #1a1f3d;
  --card: #20264f;
  --line: #2e3566;
  --text: #eef0ff;
  --muted: #9aa0d0;
  --accent: #6c5ce7;
  --accent-2: #00d2a8;
  --danger: #ff6b6b;
  --ok: #2ecc71;
  --c1: #ff6b6b; --c2: #4dabf7; --c3: #ffd43b; --c4: #69db7c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 80% -10%, #2a1f5c 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

.wrap { max-width: 920px; margin: 0 auto; padding: 20px clamp(14px, 4vw, 28px) 60px; }
.center { min-height: 100vh; display: grid; place-items: center; }

h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .2em 0; }
.muted { color: var(--muted); }
a { color: var(--accent-2); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 28px);
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 18px; }

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.brand .logo {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; font-weight: 800; color: #fff;
}
/* Simr company wordmark */
.brand-logo { height: 26px; width: auto; display: block; }
.brand-logo.big { height: 38px; }

input, button, select, textarea {
  font: inherit; border-radius: 12px; border: 1px solid var(--line);
}
input, textarea, select {
  width: 100%; padding: 14px 16px; background: var(--bg-soft); color: var(--text);
  outline: none;
}
input:focus, textarea:focus { border-color: var(--accent); }
label { display: block; font-size: .85rem; color: var(--muted); margin: 14px 0 6px; }

button {
  cursor: pointer; padding: 14px 18px; border: none; color: #fff;
  background: var(--accent); font-weight: 700; transition: transform .05s ease, filter .15s ease;
}
button:hover { filter: brightness(1.08); }
button:active { transform: translateY(1px); }
button:disabled { opacity: .5; cursor: not-allowed; }
button.secondary { background: var(--bg-soft); border: 1px solid var(--line); }
button.ghost { background: transparent; border: 1px solid var(--line); }
button.danger { background: var(--danger); }
button.block { width: 100%; }
button.big { padding: 18px; font-size: 1.1rem; }

.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.grow { flex: 1; }
.stack > * + * { margin-top: 12px; }
.pill { padding: 4px 10px; border-radius: 999px; font-size: .75rem; background: var(--bg-soft); border: 1px solid var(--line); }
.pill.active { background: var(--accent-2); color: #04201a; border-color: transparent; }
.pill.closed { background: #3a2233; color: #ffb3c8; }
.hidden { display: none !important; }

.code-badge {
  font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 800; letter-spacing: .15em;
  font-variant-numeric: tabular-nums;
}

/* Quiz seçenekleri */
.options { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 16px; }
@media (max-width: 520px) { .options { grid-template-columns: 1fr; } }
.opt {
  padding: 22px; border-radius: 14px; font-weight: 700; font-size: 1.05rem;
  text-align: left; color: #fff; border: none;
}
.opt:nth-child(1) { background: var(--c1); }
.opt:nth-child(2) { background: var(--c2); }
.opt:nth-child(3) { background: var(--c3); color: #2a2200; }
.opt:nth-child(4) { background: var(--c4); color: #053015; }
.opt.dim { opacity: .35; }
.opt.correct { outline: 4px solid #fff; }
.opt.wrong { outline: 4px solid var(--danger); opacity: .9; }

/* Sonuç barları */
.bars { display: grid; gap: 10px; margin-top: 16px; }
.bar-row { display: grid; grid-template-columns: 1fr; gap: 4px; }
.bar-label { display: flex; justify-content: space-between; font-size: .9rem; }
.bar-track { background: var(--bg-soft); border-radius: 8px; overflow: hidden; height: 28px; }
.bar-fill { height: 100%; background: var(--accent); transition: width .4s ease; min-width: 2px; }
.bar-fill.correct { background: var(--ok); }

/* QR & sunum */
.qr-box { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.qr-box img { width: 220px; height: 220px; background: #fff; border-radius: 14px; padding: 10px; }

/* Leaderboard */
.lb { list-style: none; padding: 0; margin: 12px 0 0; }
.lb li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); margin-bottom: 8px; }
.lb .rank { width: 28px; font-weight: 800; color: var(--muted); }
.lb .score { margin-left: auto; font-weight: 800; color: var(--accent-2); }
.lb li.top1 { background: linear-gradient(90deg, #5a4b1f, #20264f); }
.lb li.top1 .rank { color: #ffd43b; }

/* Final podium */
.podium { display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin: 20px 0; }
.podium .place { flex: 1; max-width: 160px; }
.podium .medal { font-size: 2.2rem; }
.podium .who { font-weight: 700; margin: 6px 0; word-break: break-word; }
.podium .stand { border-radius: 12px 12px 0 0; color: #fff; font-weight: 800; font-size: 1.4rem;
  display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-bottom: none; }
.podium .p1 .stand { height: 130px; background: linear-gradient(180deg, #b8902a, #5a4b1f); }
.podium .p2 .stand { height: 96px; background: linear-gradient(180deg, #8a8f9c, #444a5e); }
.podium .p3 .stand { height: 70px; background: linear-gradient(180deg, #8a5a36, #4a3220); }

/* Açık metin balonları */
.cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cloud .bubble { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); max-width: 100%; word-break: break-word; }
.cloud .bubble .badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--accent, #4f46e5); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }

/* Sürüklenebilir sıralama */
.rank-list { list-style: none; padding: 0; margin: 16px 0 0; }
.rank-list li {
  display: flex; align-items: center; gap: 12px; padding: 16px; margin-bottom: 10px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; cursor: grab;
  touch-action: none; user-select: none;
}
.rank-list li.dragging { opacity: .6; border-color: var(--accent); }
.rank-list .handle { color: var(--muted); font-size: 1.3rem; }
.rank-list .num { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: #000; color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow);
  z-index: 50; opacity: 0; transition: opacity .2s ease; pointer-events: none; max-width: 90vw;
}
.toast.show { opacity: .95; }

.big-state { text-align: center; padding: 40px 10px; }
.big-state .emoji { font-size: 3rem; }
.points-pop { font-size: 2.4rem; font-weight: 800; color: var(--accent-2); }

.timer { font-weight: 800; font-variant-numeric: tabular-nums; }
.timer.low { color: var(--danger); }

/* ---- "SIMR This Year" slideshow (shared by /highlights + participant overlay) ---- */
/* Participant overlay: full-screen, above the play area, mirrors the presenter. */
.hl-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: radial-gradient(1200px 800px at 80% -10%, #2a1f5c 0%, var(--bg) 55%);
}
.hl-root { position: absolute; inset: 0; overflow: hidden; }
.hl-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.hl-stage { position: absolute; inset: 0; display: grid; place-items: center; z-index: 10; }

.hl-slide {
  position: absolute; inset: 0; display: grid; place-items: safe center;
  text-align: center; padding: clamp(20px, 6vw, 80px);
  /* Tall slides (e.g. Role Updates) overflow on phones — let them scroll
     instead of clipping. `safe center` keeps the top reachable when the
     content is taller than the viewport. */
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transform: translateY(40px) scale(.96);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), visibility .6s;
}
.hl-slide.active { opacity: 1; visibility: visible; transform: none; }
.hl-slide.leaving { opacity: 0; visibility: visible; transform: translateY(-40px) scale(.96); }
.hl-inner { max-width: 1000px; width: 100%; }

.hl-kicker {
  text-transform: uppercase; letter-spacing: .35em; font-size: clamp(.7rem, 1.6vw, .95rem);
  color: var(--accent-2); font-weight: 800; margin-bottom: 18px;
}
.hl-emoji { font-size: clamp(3.4rem, 12vw, 8rem); line-height: 1; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.hl-title {
  font-size: clamp(2.2rem, 7vw, 5rem); margin: .15em 0; font-weight: 900;
  background: linear-gradient(120deg, #fff, var(--accent-2) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hl-section { font-size: clamp(2rem, 6vw, 4rem); margin: .2em 0; font-weight: 900; color: var(--text); }
.hl-sub { color: var(--muted); font-size: clamp(1rem, 2.6vw, 1.5rem); margin-top: 10px; }

.hl-name { font-size: clamp(1.8rem, 5.5vw, 3.6rem); font-weight: 900; margin: .1em 0; }
.hl-detail { font-size: clamp(1.1rem, 3vw, 1.9rem); color: var(--muted); margin-top: 6px; }
.hl-detail .hl-hl { color: var(--accent-2); font-weight: 800; }

.hl-list { list-style: none; padding: 0; margin: 28px auto 0; max-width: 760px; }
.hl-list li {
  display: flex; flex-direction: column; gap: 2px; text-align: left;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  border-radius: 14px; padding: clamp(12px, 2vw, 18px) clamp(16px, 3vw, 24px);
  margin-bottom: 12px; opacity: 0; transform: translateX(-24px);
}
.hl-slide.active .hl-list li { animation: hlRowIn .5s cubic-bezier(.2,.7,.2,1) forwards; }
.hl-list li .hl-nm { font-weight: 800; font-size: clamp(1.05rem, 2.6vw, 1.6rem); }
.hl-list li .hl-role { color: var(--accent-2); font-size: clamp(.85rem, 2vw, 1.15rem); font-weight: 600; }
@keyframes hlRowIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hl-slide, .hl-list li { transition: opacity .2s ease; animation: none !important; }
}

/* ---- Tech Bingo ---- */
/* Participant overlay: full-screen card grid, above the play area. */
.bingo-overlay {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: radial-gradient(1200px 800px at 80% -10%, #2a1f5c 0%, var(--bg) 55%);
}
.bingo-root { max-width: 560px; margin: 0 auto; padding: 18px clamp(12px, 4vw, 22px) 40px; }
.bingo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bingo-title { font-weight: 900; font-size: 1.3rem; }
.bingo-close { padding: 8px 14px; }

.bingo-drawn { text-align: center; min-height: 64px; display: grid; place-items: center; margin-bottom: 12px; }
.bingo-word {
  font-size: clamp(1.8rem, 7vw, 3rem); font-weight: 900;
  background: linear-gradient(120deg, #fff, var(--accent-2) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.bingo-word.host { margin: 6px 0; }

.bingo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bingo-cell {
  aspect-ratio: 1; display: grid; place-items: center; text-align: center;
  padding: 4px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line);
  font-size: clamp(.55rem, 2.2vw, .8rem); font-weight: 700; line-height: 1.05;
  word-break: break-word; transition: transform .1s ease, background .2s ease;
}
.bingo-cell.on { background: var(--accent); color: #fff; border-color: transparent; transform: scale(1.03); }
.bingo-cell.free { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }

.bingo-claim { margin-top: 16px; background: var(--accent-2); color: #04201a; }
.bingo-pass { margin-top: 14px; width: 100%; }
.bingo-status { text-align: center; margin-top: 10px; min-height: 1.2em; }
.bingo-winners { margin-top: 16px; }

/* The clue (question) shown to players and read aloud by the presenter. */
.bingo-clue {
  font-size: clamp(1.1rem, 4.2vw, 1.6rem); font-weight: 800; line-height: 1.25;
  text-align: center; max-width: 32ch; margin: 0 auto;
}
.bingo-clue.host { margin: 6px auto; }
.bingo-answer-hint { text-align: center; margin-top: 8px; color: var(--accent-2); font-weight: 700; }

/* A cell waiting to be tapped: nudge the player it's interactive. */
.bingo-cell.tappable { cursor: pointer; border-color: var(--accent-2); }
.bingo-cell.tappable:hover { transform: scale(1.04); }

/* Presenter's drawn-question list: clue on the left, answer chip on the right. */
.bingo-q-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bingo-q-row:last-child { border-bottom: 0; }
.bingo-q-clue { flex: 1; font-size: .9rem; }
.bingo-q-answer {
  flex: none; font-weight: 800; color: var(--accent-2);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px;
}

/* ---- Spyfall ---- */
/* Participant overlay: full-screen secret role, above the play area. */
.spy-overlay {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: radial-gradient(1200px 800px at 80% -10%, #2a1f5c 0%, var(--bg) 55%);
  transition: background .25s ease;
}
/* The spy gets a stark black screen — nothing to go on. */
.spy-overlay.is-spy { background: #000; }
.spy-root { max-width: 560px; margin: 0 auto; min-height: 100%; padding: 18px clamp(12px, 4vw, 22px) 40px; display: flex; flex-direction: column; }
.spy-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.spy-title { font-weight: 900; font-size: 1.3rem; }
.spy-close { padding: 8px 14px; }

.spy-card { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.spy-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; }
.spy-word {
  font-size: clamp(2.2rem, 11vw, 4.5rem); font-weight: 900; line-height: 1.05;
  background: linear-gradient(120deg, #fff, var(--accent-2) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.spy-word.host { margin: 6px 0; }
/* The big "SPY" label on the black spy screen — plain bright text, no gradient. */
.spy-overlay.is-spy .spy-word.spy-label {
  background: none; -webkit-text-fill-color: #fff; color: #fff;
  letter-spacing: .15em; font-size: clamp(2.6rem, 14vw, 5.5rem);
}
.spy-sub { font-weight: 700; font-size: 1.1rem; }
/* House-rule callout on the presenter's idle screen. */
.spy-rule {
  margin: 14px auto 0; max-width: 34em; text-align: left;
  padding: 12px 14px; border-radius: 12px; line-height: 1.45;
  background: rgba(255, 196, 0, .08); border: 1px solid rgba(255, 196, 0, .35);
  font-size: .92rem;
}
.spy-hint { text-align: center; max-width: 28em; margin: 14px auto 0; min-height: 1.2em; }
.spy-overlay.is-spy .spy-hint { color: #888; }
/* Team mode: the crew name shown on each phone (and the spy's black screen). */
.spy-team { font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.spy-overlay.is-spy .spy-team { filter: brightness(1.5); }
/* Presenter: the four crews side by side. */
.spy-teams-grid { display: grid; gap: 12px; margin-bottom: 12px; }
@media (min-width: 560px) { .spy-teams-grid { grid-template-columns: 1fr 1fr; } }
.spy-team-card { text-align: center; border-width: 2px; }
/* Crew words can be multi-word phrases ("Pair Programming") — keep them from
   overflowing the (often narrow) crew card. */
.spy-team-card .spy-word { font-size: clamp(1.3rem, 5vw, 2.1rem); line-height: 1.1; overflow-wrap: anywhere; }

/* ---- Space Crew ---- */
/* Participant overlay: full-screen assessment → crew role → mission brief. */
.sc-overlay {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: radial-gradient(1200px 800px at 80% -10%, #16244f 0%, var(--bg) 55%);
}
.sc-root { max-width: 600px; margin: 0 auto; min-height: 100%; padding: 18px clamp(12px, 4vw, 22px) 60px; display: flex; flex-direction: column; }
.sc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sc-title { font-weight: 900; font-size: 1.3rem; }
.sc-close { padding: 8px 14px; }
.sc-body { display: flex; flex-direction: column; gap: 14px; }

/* Assessment question + options */
.sc-q-num { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.sc-opts { display: flex; flex-direction: column; gap: 8px; }
.sc-opt {
  text-align: left; background: var(--bg-soft); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: 12px; font: inherit; color: var(--text);
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.sc-opt:hover { border-color: var(--accent); }
.sc-opt.sel { border-color: var(--accent-2); background: rgba(0, 210, 168, .12); box-shadow: inset 0 0 0 1px var(--accent-2); }
.sc-footer { position: sticky; bottom: 8px; }
.sc-progress { text-align: center; min-height: 1.2em; }
.sc-submit:disabled { opacity: .45; }

/* Role reveal */
.sc-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; text-align: center; }
.sc-role-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; border-width: 2px; }
.sc-role-emoji { font-size: 3.4rem; line-height: 1; }
.sc-role-name { font-size: clamp(2rem, 9vw, 3rem); font-weight: 900; line-height: 1; }
.sc-role-tag { font-weight: 700; }
.sc-role-desc { color: var(--muted); max-width: 34ch; margin: 6px auto 0; line-height: 1.45; }
.sc-traits { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; }
.sc-trait { font-size: .8rem; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }

/* Mission brief card (shown to players and on the presenter screen) */
.sc-brief { border-width: 2px; }
.sc-deliv-label { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.sc-deliv { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.sc-deliv li { line-height: 1.35; }
.sc-constraint {
  background: rgba(255, 196, 0, .08); border: 1px solid rgba(255, 196, 0, .35);
  border-radius: 12px; padding: 10px 14px; line-height: 1.4; font-size: .92rem;
}

/* Presenter: assessment tally + scoreboard */
.sc-tally { display: flex; flex-direction: column; gap: 10px; }
.sc-bar-row { display: flex; flex-direction: column; gap: 4px; }
.sc-bar-label { display: flex; justify-content: space-between; font-weight: 700; }
.sc-roster { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.sc-board { display: flex; flex-direction: column; gap: 10px; }
.sc-crew { padding: 14px; }
.sc-scores { display: flex; gap: 10px; margin-top: 10px; }
.sc-score-field { flex: 1; display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: .72rem; }
.sc-score-field span { color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.sc-score-in { padding: 8px; text-align: center; }
.sc-total { white-space: nowrap; }
.sc-winner {
  font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 900; line-height: 1.05;
  background: linear-gradient(120deg, #fff, var(--accent-2) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---- PowerPoint Karaoke ---- */
/* Host (big screen) */
.pptk-wrap { max-width: 1100px; }
.pptk-stage { padding: clamp(14px, 3vw, 26px); }
.pptk-bar { margin-bottom: 14px; gap: 10px; }
.pptk-slide {
  text-align: center; min-height: 46vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: clamp(10px, 2.5vh, 24px);
}
.pptk-emoji { font-size: clamp(3rem, 12vw, 7rem); line-height: 1; }
.pptk-title {
  font-size: clamp(1.6rem, 6vw, 3.4rem); font-weight: 900; line-height: 1.1;
  background: linear-gradient(120deg, #fff, var(--accent-2) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pptk-bullets {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column;
  gap: 10px; font-size: clamp(1rem, 3vw, 1.8rem); font-weight: 600;
}
.pptk-bullets li::before { content: "▸ "; color: var(--accent-2); }
.pptk-progress { height: 6px; border-radius: 999px; background: var(--bg-soft); margin-top: 16px; overflow: hidden; }
.pptk-progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; transition: width .4s ease; }
.pptk-bigscore {
  font-size: clamp(3rem, 14vw, 6rem); font-weight: 900; line-height: 1; margin: 6px 0;
  background: linear-gradient(120deg, #fff, var(--accent-2) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pptk-stars { font-size: clamp(1.6rem, 7vw, 2.6rem); color: var(--accent-2); letter-spacing: 4px; }

/* Participant overlay */
.pptk-overlay {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: radial-gradient(1200px 800px at 80% -10%, #2a1f5c 0%, var(--bg) 55%);
}
.pptk-root { min-height: 100%; display: grid; place-items: center; padding: 22px; }
.pptk-body { text-align: center; max-width: 560px; width: 100%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.pptk-root.is-presenter { background: radial-gradient(1200px 800px at 80% -10%, #3a2a14 0%, var(--bg) 55%); }
.pptk-youbadge {
  padding: 10px 16px; border-radius: 999px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
}
.pptk-deck { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.pptk-slide.phone { min-height: auto; }
.pptk-count { font-size: .9rem; }
.pptk-rate { display: flex; gap: 6px; justify-content: center; margin: 8px 0; }
.pptk-star {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted);
  font-size: 2.4rem; line-height: 1; padding: 8px 12px; border-radius: 14px; width: auto;
}
.pptk-star.on { color: #ffd23f; border-color: #ffd23f; background: rgba(255,210,63,.12); }
.pptk-votemsg { min-height: 1.2em; }

.list-empty { color: var(--muted); padding: 16px; text-align: center; }
.act-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--bg-soft); margin-bottom: 10px; }
.act-item .type-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.act-item .grow { min-width: 0; }
.act-item .prompt { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
