/* =====================================================
   COUPLE CARD — STYLESHEET
   Palette: nero profondo, rosso passionale, oro
   ===================================================== */

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

/* ─── Variabili ──────────────────────────────────────── */
:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface2: #242424;
  --red: #c0392b;
  --red-glow: rgba(192, 57, 43, 0.35);
  --gold: #f0b429;
  --text: #f0ece4;
  --muted: #8a8070;
  --done: #27ae60;
  --skip: #636363;
  --radius: 18px;
  --font: 'DM Sans', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

/* ─── Tipografia ─────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
}

/* ─── Body ───────────────────────────────────────────── */
html,
body {
  overscroll-behavior-y: none; /* Prevent pull-to-refresh on mobile */
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 32px; /* subnav only */
  padding-bottom: env(safe-area-inset-bottom, 40px);
}

/* ─── Navbar principale (stile globale) ─────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #c0392b 0%, #8e1a0e 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  padding: 0;
}
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-family: var(--font);
}
.nav-home {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.nav-home:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.nav-icons {
  display: flex;
  gap: 15px;
}
.nav-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 28px;
}
.nav-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.1);
}
.nav-icon.active {
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* ─── Breadcrumb navigation ─────────────────────────── */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 20px;
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.72rem;
  color: #666;
  flex-wrap: wrap;
}
.breadcrumb-item {
  color: #666;
}
.breadcrumb-item a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-item a:hover {
  color: #cca96e;
}
.breadcrumb-sep {
  color: #444;
  font-size: 0.8rem;
  user-select: none;
}

/* ─── Subnav (breadcrumb sottile) ────────────────────── */
.subnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #111;
  border-bottom: 1px solid #2a2a2a;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.subnav-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.subnav-version {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: #444;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
  white-space: nowrap;
}
.subnav-home {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.subnav-home:hover {
  opacity: 0.75;
}
.subnav-level {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.my-role-badge {
  margin-left: auto;
  color: #ff9d00;
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  body {
    padding-top: 32px;
  }
  .navbar-container {
    padding: 13px 10px;
  }
  .nav-home {
    padding: 8px 18px;
    font-size: 15px;
  }
  .nav-icon {
    width: 33px;
    height: 33px;
    font-size: 20px;
  }
  .nav-icons {
    gap: 4px;
  }
  .subnav {
    top: 0;
  }
}

/* ─── Container base ─────────────────────────────────── */
.cc-container {
  width: 100%;
  max-width: 480px;
  padding: 5px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* ─── Logo / Header ──────────────────────────────────── */
.cc-header {
  text-align: center;
  padding: 5px 20px 10px;
}
.cc-header .logo-emoji {
  font-size: 3.2rem;
  display: block;
  margin-bottom: 8px;
}
.cc-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #e74c3c, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cc-header p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 6px;
  line-height: 1.5;
}

/* ─── Card typography (shared) ───────────────────────── */
.cc-card,
.game-card {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
  font-style: italic;
}

/* ─── Card surface ───────────────────────────────────── */
.cc-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 20px;
  width: 100%;
  border: 1px solid var(--card-border-color, #27ae60);
  transition: border-color 0.5s ease;
}

/* ─── Level picker (index) ───────────────────────────── */
.level-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 14px;
}
.level-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.level-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 8px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--surface2);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
  font-family: var(--font);
}
.level-btn .lvl-emoji {
  font-size: 2rem;
}
.level-btn .lvl-name {
  font-size: 1.2rem;
  font-weight: 700;
}
.level-btn[data-level='romantico'] .lvl-name {
  color: #2ecc71;
}
.level-btn[data-level='piccante'] .lvl-name {
  color: #e67e22;
}
.level-btn[data-level='fuoco'] .lvl-name {
  color: #e74c3c;
}
.level-btn[data-level='hard'] .lvl-name {
  color: #9b59b6;
}
.level-btn .lvl-desc {
  font-size: 0.68rem;
  color: #ffffff;
  text-align: center;
  line-height: 1.3;
}

/* Bordo base 1px per livello */
.level-btn[data-level='romantico'] {
  border-color: #27ae60;
}
.level-btn[data-level='piccante'] {
  border-color: #e67e22;
}
.level-btn[data-level='fuoco'] {
  border-color: #c0392b;
}
.level-btn[data-level='hard'] {
  border-color: #6c3483;
}

/* Hover per livello */
.level-btn[data-level='romantico']:hover {
  border-color: #27ae60;
  background: #0d2117;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(39, 174, 96, 0.35);
}
.level-btn[data-level='piccante']:hover {
  border-color: #e67e22;
  background: #211408;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(230, 126, 34, 0.35);
}
.level-btn[data-level='fuoco']:hover {
  border-color: #c0392b;
  background: #200a08;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(192, 57, 43, 0.35);
}
.level-btn[data-level='hard']:not(.level-btn--locked):hover {
  border-color: #6c3483;
  background: #150d1e;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(108, 52, 131, 0.35);
}

/* Selected per livello */
.level-btn.selected {
  border-width: 5px;
}
.level-btn[data-level='romantico'].selected {
  border-color: #27ae60;
  background: #0d2117;
  box-shadow: 0 0 20px rgba(39, 174, 96, 0.45);
}
.level-btn[data-level='piccante'].selected {
  border-color: #e67e22;
  background: #211408;
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.45);
}
.level-btn[data-level='fuoco'].selected {
  border-color: #c0392b;
  background: #200a08;
  box-shadow: 0 0 20px rgba(192, 57, 43, 0.45);
}
.level-btn[data-level='hard'].selected {
  border-color: #6c3483;
  background: #150d1e;
  box-shadow: 0 0 20px rgba(108, 52, 131, 0.45);
}
.level-btn[data-level='romantico'].selected .lvl-name {
  color: #2ecc71;
}
.level-btn[data-level='piccante'].selected .lvl-name {
  color: #e67e22;
}
.level-btn[data-level='fuoco'].selected .lvl-name {
  color: #e74c3c;
}
.level-btn[data-level='hard'].selected .lvl-name {
  color: #9b59b6;
}

/* Hard locked */
.level-btn--locked {
  opacity: 0.5;
  cursor: not-allowed;
}
.level-btn--locked:hover {
  transform: none;
  box-shadow: none;
  background: var(--surface2);
}

/* cc-card stepNames bordo reattivo al livello selezionato */
#stepNames.level-active--romantico {
  border: 5px solid #27ae60;
  box-shadow: 0 0 18px rgba(39, 174, 96, 0.25);
  transition:
    border 0.25s,
    box-shadow 0.25s;
}
#stepNames.level-active--piccante {
  border: 5px solid #e67e22;
  box-shadow: 0 0 18px rgba(230, 126, 34, 0.25);
  transition:
    border 0.25s,
    box-shadow 0.25s;
}
#stepNames.level-active--fuoco {
  border: 5px solid #c0392b;
  box-shadow: 0 0 18px rgba(192, 57, 43, 0.25);
  transition:
    border 0.25s,
    box-shadow 0.25s;
}
#stepNames.level-active--hard {
  border: 5px solid #6c3483;
  box-shadow: 0 0 18px rgba(108, 52, 131, 0.25);
  transition:
    border 0.25s,
    box-shadow 0.25s;
}
.lvl-lock-badge {
  position: absolute;
  top: 6px;
  right: 7px;
  font-size: 0.85rem;
  line-height: 1;
}

.lvl-intensity-badge {
  position: absolute;
  top: 6px;
  left: 7px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 2px 6px;
  border-radius: 20px;
  line-height: 1.4;
  color: #fff;
  white-space: nowrap;
}
.lvl-intensity--green {
  background: #27ae60;
}
.lvl-intensity--orange {
  background: #e67e22;
}
.lvl-intensity--red {
  background: #c0392b;
}
.lvl-intensity--purple {
  background: #6c3483;
}

/* ─── Names form ─────────────────────────────────────── */
.names-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.name-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.name-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.name-input {
  background: var(--surface2);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.name-input:focus {
  border-color: var(--red);
}
.name-input::placeholder {
  color: #555;
}

/* ─── CTA button ─────────────────────────────────────── */
.cc-btn {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  margin-top: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}
.cc-btn-primary {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
  box-shadow: 0 6px 14px rgba(39, 174, 96, 0.35);
}
.cc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(39, 174, 96, 0.55);
}
.cc-btn-primary:active {
  transform: scale(0.96);
  transition: transform 0.05s ease;
}
.cc-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.cc-btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid #444;
}
.cc-btn-secondary:hover {
  color: var(--text);
  border-color: #666;
}

.cc-btn-ghost {
  background: linear-gradient(135deg, #c0392b, #922b21);
  color: #b5b5b5;
  border: 1px solid #333;
}
.cc-btn-ghost:hover {
  color: var(--text);
  border-color: #555;
}

/* ─── Share box ──────────────────────────────────────── */
.share-box {
  background: var(--surface2);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.share-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid #333;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.82rem;
  padding: 8px 12px;
  font-family: monospace;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-copy {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: opacity 0.15s;
}
.share-copy:hover {
  opacity: 0.85;
}
.share-copy.copied {
  background: var(--done);
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.share-app-btn {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.15s;
}
.share-app-btn:hover {
  opacity: 0.85;
}
.btn-whatsapp {
  background: #25d366;
}
.btn-telegram {
  background: #2aabee;
}
.btn-native {
  background: #444;
}

/* ─── Waiting screen ─────────────────────────────────── */
.waiting-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 20px;
  text-align: center;
}
.waiting-pulse {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--red-glow);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 0 0 14px transparent;
  }
}
.waiting-box h2 {
  font-size: 1.25rem;
  font-weight: 700;
}
.waiting-box p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ─── Join screen ────────────────────────────────────── */
.join-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 16px;
  text-align: center;
  width: 100%;
}
.join-box .join-emoji {
  font-size: 3rem;
}

/* ─── HUD (durante il gioco) ─────────────────────────── */
.hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  margin-bottom: 4px;
}
.hud-round {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hud-scores {
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}
.hud-score-a {
  color: #e74c3c;
}
.hud-score-b {
  color: var(--gold);
}
.hud-vs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}
.hud-vs #labelA {
  color: #e74c3c;
}
.hud-vs-sep {
  color: #888;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.hud-vs #labelB {
  color: var(--gold);
}

/* ─── Intensity HUD ──────────────────────────────────── */
.intensity-hud {
  width: 90%;
  margin: 0 auto 10px;
}
.intensity-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 5px;
}
.intensity-bar {
  display: flex;
  gap: 3px;
  height: 9px;
}
.intensity-sector {
  flex: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease;
}
.intensity-sector[data-zone='green'].active {
  background: #27ae60;
  box-shadow: 0 0 5px rgba(39, 174, 96, 0.55);
}
.intensity-sector[data-zone='orange'].active {
  background: #e67e22;
  box-shadow: 0 0 5px rgba(230, 126, 34, 0.55);
}
.intensity-sector[data-zone='red'].active {
  background: #e74c3c;
  box-shadow: 0 0 5px rgba(231, 76, 60, 0.55);
}
.intensity-sector.is-boundary[data-zone='green'].active {
  background: linear-gradient(to right, #27ae60, #e67e22);
}
.intensity-sector.is-boundary[data-zone='orange'].active {
  background: linear-gradient(to right, #e67e22, #e74c3c);
}

/* ─── Game card ──────────────────────────────────────── */
.game-card {
  width: 100%;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--card-border-color, #27ae60);
  transition: border-color 0.5s ease;
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 180px;
  justify-content: center;
}
.card-emoji {
  font-size: 2.6rem;
}

/* ─── Choosing phase cards ───────────────────────────── */
.game-card.choosing-container {
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.choosing-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 12px;
  text-align: center;
  transition:
    opacity 0.35s,
    background 0.25s;
}
.choosing-card .card-emoji {
  font-size: 1.8rem;
}
.choosing-card .card-text {
  font-size: 1.4rem;
  line-height: 1.4;
}
.choosing-card.dimmed {
  opacity: 0.2;
  pointer-events: none;
}
.choosing-card.chosen {
  background: rgba(192, 57, 43, 0.08);
}
.choosing-divider {
  width: 1px;
  flex-shrink: 0;
  background: #2e2e2e;
}
.card-text {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

/* ─── Stato idle ─────────────────────────────────────── */
.idle-my-turn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.idle-my-turn h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}
.idle-their-turn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 10px 0;
}
.idle-their-turn h2 {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}
.dots-anim {
  text-align: center;
  width: 100%;
}
.dots-anim span {
  display: inline-block;
  animation: dot-bounce 1.2s infinite;
  font-size: 1.5rem;
  color: var(--red);
}
.dots-anim span:nth-child(2) {
  animation-delay: 0.2s;
}
.dots-anim span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dot-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
}
.their-turn-sub {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--muted);
  opacity: 0.75;
  text-align: center;
  margin-top: 8px;
  animation: their-sub-fade 1s ease forwards;
}
@keyframes their-sub-fade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 0.75;
    transform: translateY(0);
  }
}

.level-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: #2a1212;
  color: var(--red);
  border: 1px solid #3d1515;
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Draw button ────────────────────────────────────── */
.draw-btn {
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  border: none;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #c0392b, #922b21);
  color: #fff;
  box-shadow: 0 4px 22px rgba(192, 57, 43, 0.5);
  transition: all 0.2s;
  letter-spacing: 0.03em;
}
.draw-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(192, 57, 43, 0.65);
}
.draw-btn:active {
  transform: scale(0.96) !important;
  transition: transform 0.05s ease;
}

/* ─── Timer ──────────────────────────────────────────── */
.timer-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timer-svg {
  width: 90px;
  height: 90px;
  transform: rotate(-90deg);
}
.timer-ring-bg {
  fill: none;
  stroke: #2a2a2a;
  stroke-width: 6;
}
.timer-ring-fill {
  fill: none;
  stroke: var(--red);
  stroke-width: 6;
  stroke-linecap: round;
  transition:
    stroke-dashoffset 0.2s linear,
    stroke 0.3s;
}
.timer-text {
  position: absolute;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}

/* ─── Action buttons ─────────────────────────────────── */
.action-row {
  display: flex;
  gap: 12px;
  width: 100%;
}
.action-btn {
  flex: 1;
  padding: 15px;
  border-radius: 14px;
  border: 2px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  letter-spacing: 0.03em;
}
.btn-done {
  background: #1a2e1e;
  color: #27ae60;
  border-color: #27ae60;
}
.btn-done:hover:not(:disabled) {
  background: #27ae60;
  color: #fff;
  transform: translateY(-2px);
}
.btn-done.pressed {
  background: #27ae60;
  color: #fff;
}

.btn-skip {
  background: #1e1e1e;
  color: var(--muted);
  border-color: #333;
}
.btn-skip:hover:not(:disabled) {
  background: #2a2a2a;
  color: var(--text);
}
.btn-skip.pressed {
  background: #333;
  color: var(--text);
}

.action-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ─── Partner status ─────────────────────────────────── */
.partner-status {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 8px;
}
.partner-waiting {
  color: var(--muted);
}
.partner-done {
  color: var(--done);
}
.partner-skip {
  color: var(--skip);
}

/* ─── Result screen (inter-round) ────────────────────── */
.result-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: center;
}
.result-item {
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
}
.result-done {
  background: #1a2e1e;
  color: var(--done);
}
.result-skip {
  background: #1e1e1e;
  color: var(--muted);
}

/* ─── Finished screen ────────────────────────────────── */
.finished-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 30px 20px;
  text-align: center;
}
.finished-box .big-emoji {
  font-size: 4rem;
}
.finished-box h2 {
  font-size: 1.4rem;
  font-weight: 800;
}
.score-board {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.score-pill {
  background: var(--surface2);
  border-radius: 14px;
  padding: 14px 24px;
  text-align: center;
}
.score-pill .who {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.score-pill .pts {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 4px;
}
.score-pill.a .pts {
  color: #e74c3c;
}
.score-pill.b .pts {
  color: var(--gold);
}
.final-msg {
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(90deg, #e74c3c, #f39c12, #e74c3c);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: final-msg-shine 2.5s linear infinite;
  margin-top: 8px;
}
@keyframes final-msg-shine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ─── Error screen ───────────────────────────────────── */
#screen-error {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
}
#errorMsg {
  color: #e74c3c;
  font-weight: 700;
  font-size: 1rem;
}

/* ─── Utility ────────────────────────────────────────── */
.hidden {
  display: none !important;
}
.text-center {
  text-align: center;
}
.text-muted {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ─── Age gate ───────────────────────────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.age-gate-box {
  background: var(--surface);
  border-radius: 20px;
  padding: 36px 28px;
  max-width: 360px;
  text-align: center;
  border: 1px solid #2e2e2e;
}
.age-gate-box .ag-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
}
.age-gate-box h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.age-gate-box p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 22px;
}
.age-gate-btns {
  display: flex;
  gap: 12px;
}
.ag-yes {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.ag-no {
  flex: 1;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ─── Action type grid (performer) ──────────────────── */
.action-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.action-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.action-btn-wrap .action-type-btn {
  width: 100%;
}
.action-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 14px 6px;
  border-radius: 12px;
  border: 2px solid #2a2a2a;
  background: var(--surface2);
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
  font-family: var(--font);
  transition: all 0.15s;
}
.action-type-btn small {
  font-size: 0.68rem;
  color: var(--muted);
}
.action-type-btn:hover {
  border-color: var(--red);
  background: #2a1212;
}
.action-type-btn.hinted {
  border-color: var(--red);
  background: #2a1212;
  box-shadow:
    0 0 0 3px var(--red-glow),
    0 0 18px var(--red-glow);
  animation: hint-pulse 1.6s ease-in-out infinite;
}
.action-type-btn.hinted small {
  color: #e74c3c;
}
@keyframes hint-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 3px var(--red-glow),
      0 0 12px var(--red-glow);
  }
  50% {
    box-shadow:
      0 0 0 5px var(--red-glow),
      0 0 28px var(--red-glow);
  }
}

/* ─── Action UI box ──────────────────────────────────── */
.action-ui-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Capture buttons ────────────────────────────────── */
.action-capture-btn {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 2px dashed #444;
  background: var(--surface2);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s;
}
.action-capture-btn:hover {
  border-color: var(--red);
}

/* ─── Text input ─────────────────────────────────────── */
.text-action-input {
  width: 100%;
  padding: 14px;
  background: var(--surface2);
  border: 1px solid #333;
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  resize: vertical;
  min-height: 110px;
  outline: none;
  line-height: 1.5;
}
.text-action-input:focus {
  border-color: var(--red);
}

/* ─── Recording UI ───────────────────────────────────── */
.recording-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px;
  background: #1a0000;
  border-radius: 14px;
  border: 1px solid #3d0000;
}
.recording-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.record-timer {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.action-stop-btn {
  padding: 10px 28px;
  border-radius: 10px;
  border: 2px solid var(--red);
  background: transparent;
  color: var(--red);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
}
.action-stop-btn:hover {
  background: var(--red);
  color: #fff;
}

/* ─── Media preview ──────────────────────────────────── */
.media-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}
.media-preview img {
  width: 100%;
  border-radius: 12px;
  max-height: 260px;
  object-fit: cover;
}
.media-preview audio {
  width: 100%;
}
.media-preview video {
  width: 100%;
  border-radius: 10px;
  max-height: 220px;
}

/* ─── Submitted box ──────────────────────────────────── */
.submitted-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px;
  background: #1a2e1e;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #27ae60;
}
.submitted-check {
  font-size: 2.8rem;
}
.submitted-box p {
  color: #27ae60;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ─── Confirmer area ─────────────────────────────────── */
.confirmer-waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ─── Received content ───────────────────────────────── */
.received-content {
  width: 100%;
}
.received-text {
  background: var(--surface2);
  border-radius: 12px;
  padding: 18px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  border-left: 3px solid var(--red);
}
.received-photo {
  width: 100%;
  border-radius: 12px;
  max-height: 360px;
  object-fit: cover;
  display: block;
}
.received-audio-wrap {
  width: 100%;
}
.received-audio {
  width: 100%;
}
.received-video {
  width: 100%;
  border-radius: 12px;
  max-height: 300px;
  display: block;
}

/* ─── Result message ─────────────────────────────────── */
.result-msg {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--done);
  margin-top: 10px;
}

/* ─── Passa round ────────────────────────────────────── */
.skip-btn {
  width: 100%;
  margin-top: 150px;
  background: none;
  border: 1px dashed #444;
  color: #666;
  border-radius: 10px;
  padding: 9px 14px;
  font-family: var(--font);
  font-size: 0.82rem;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.skip-btn:hover {
  color: var(--muted);
  border-color: #666;
}

/* ─── Confirmer content box ──────────────────────────── */
.confirmer-content-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* ─── Reaction buttons ───────────────────────────────── */
.reaction-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 100%;
}
.reaction-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  background: var(--surface);
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.1s;
}
.reaction-btn:hover {
  border-color: var(--red);
  background: #2a1212;
  transform: translateY(-2px);
}
.reaction-btn:active {
  transform: translateY(0);
}
.reaction-btn.selected {
  border-color: var(--red);
  background: #2a1212;
}
.reaction-btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
.reaction-btn.selected:disabled {
  opacity: 1;
}
.reaction-emoji {
  font-size: 1.5rem;
  line-height: 1;
}
.reaction-text {
  font-size: 0.6rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

/* Reaction nel result phase (lato performer) */
.reaction-result-emoji {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 6px;
}
.reaction-result-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

/* ─── Pass notice (lato confirmer) ──────────────────── */
.pass-notice {
  text-align: center;
  padding: 20px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Abbandona (fisso in basso) ─────────────────────── */
.abandon-btn {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 14px;
  color: #555;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 22px;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  white-space: nowrap;
}
.abandon-btn:hover {
  color: #888;
  border-color: #555;
}

/* ─── Abandon overlay ────────────────────────────────── */
.abandon-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.abandon-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 24px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--card-border-color, #27ae60);
}
.abandon-emoji {
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.abandon-box h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.abandon-box p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 22px;
}
.abandon-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 400px) {
  .cc-header h1 {
    font-size: 1.7rem;
  }
  .level-btn {
    padding: 14px 6px;
  }
  .level-btn .lvl-emoji {
    font-size: 1.7rem;
  }
  .action-type-btn {
    padding: 12px 4px;
    font-size: 1.3rem;
  }
}

.cc-welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: flex-end; /* Bottom sheet alignment */
  justify-content: center;
  z-index: 9999;
  padding: 24px 16px; /* Margin around the floating sheet */
  box-sizing: border-box;
  animation: ccFadeIn 0.3s ease;
}
@keyframes ccFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cc-welcome-box {
  background: var(--surface, #1a1a1a);
  border: 1px solid #23a12c;
  border-radius: 32px;
  padding: 36px 28px 28px;
  margin-bottom: env(safe-area-inset-bottom, 10px);
  max-width: 600px;
  width: 100%;
  text-align: center;
  animation: ccSlideUpSheet 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
@keyframes ccSlideUpSheet {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.cc-welcome-emoji {
  font-size: 2.6rem;
  margin-bottom: 10px;
}
.cc-welcome-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.cc-welcome-sub {
  color: var(--muted, #888);
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.cc-welcome-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-how-box {
  text-align: left;
  position: relative;
  padding-top: 5px;
}
.cc-how-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--muted, #888);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  line-height: 1;
}
.cc-how-close:hover {
  background: #2a2a2a;
  color: #fff;
}
.cc-how-content {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted, #aaa);
}
.cc-how-content p {
  margin-bottom: 10px;
}
.cc-how-content strong {
  color: var(--text, #fff);
}
.cc-how-section {
  font-size: 0.9rem;
  margin: 14px 0 6px;
  color: var(--text, #fff);
}

/* ─── Nudge popup ────────────────────────────────────── */
.nudge-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: nudgeFadeIn 0.2s ease;
}
@keyframes nudgeFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.nudge-popup {
  background: #1e1e2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 22px;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  animation: nudgeSlideUp 0.25s ease;
}
@keyframes nudgeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nudge-popup p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #ddd;
  margin: 0 0 16px;
}
.nudge-popup .nudge-btn-ok {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: var(--primary, #e74c3c);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8px;
}
.nudge-popup .nudge-btn-skip {
  display: block;
  width: 100%;
  padding: 8px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  cursor: pointer;
}

/* ─── How section ────────────────────────────────────── */
.how-section {
  width: calc(100% - 32px);
  max-width: 480px;
  margin: 8px auto 16px;
  padding: 20px 20px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid #eb0b0b;
  border-radius: var(--radius);
}
.how-section .section {
  max-width: 100%;
  margin: 0 auto;
}
.how-section .section-label {
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.how-section .section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.how-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}
.how-num {
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--primary, #e74c3c);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 4px;
}
.how-desc {
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Action btn: primary (text = green glow) ──────── */
.action-type-btn.action-primary {
  border-color: #27ae60;
  background: #0d2b1a;
  box-shadow:
    0 0 0 3px rgba(39, 174, 96, 0.25),
    0 0 18px rgba(39, 174, 96, 0.15);
  animation: primary-pulse 2s ease-in-out infinite;
}
.action-type-btn.action-primary small {
  color: #2ecc71;
}
@keyframes primary-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(39, 174, 96, 0.25),
      0 0 12px rgba(39, 174, 96, 0.15);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(39, 174, 96, 0.35),
      0 0 28px rgba(39, 174, 96, 0.25);
  }
}
.action-type-btn.action-dimmed {
  opacity: 0.45;
}
.action-type-btn.action-empty {
  opacity: 0.15;
  pointer-events: none;
  cursor: default;
}
.action-type-btn.action-empty .btn-content {
  opacity: 0;
}

/* ─── Milestone banner ───────────────────────────────── */
@keyframes milestone-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px var(--ms-glow),
      0 0 10px var(--ms-glow);
  }
  50% {
    box-shadow:
      0 0 0 4px var(--ms-glow),
      0 0 24px var(--ms-glow);
  }
}
.milestone-banner {
  border-radius: 12px;
  padding: 9px 16px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  animation: milestone-pulse 2.2s ease-in-out infinite;
  border: 1px solid currentColor;
  transition:
    color 0.6s ease,
    background 0.6s ease,
    border-color 0.6s ease;
}
.milestone-banner.zone-1 {
  color: #22c55e;
  --ms-glow: rgba(34, 197, 94, 0.45);
  background: linear-gradient(135deg, #021008, #052814);
}
.milestone-banner.zone-2 {
  color: #a3e635;
  --ms-glow: rgba(163, 230, 53, 0.45);
  background: linear-gradient(135deg, #0a1402, #152604);
}
.milestone-banner.zone-3 {
  color: #f59e0b;
  --ms-glow: rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, #1a0e00, #2e1a02);
}
.milestone-banner.zone-4 {
  color: #fb653d;
  --ms-glow: rgba(251, 101, 61, 0.45);
  background: linear-gradient(135deg, #1a0800, #2e1200);
}
.milestone-banner.zone-5 {
  color: #f94500;
  --ms-glow: rgba(249, 69, 0, 0.45);
  background: linear-gradient(135deg, #1a0500, #2e0a00);
}
.milestone-banner.zone-6 {
  color: #c80000;
  --ms-glow: rgba(200, 0, 0, 0.45);
  background: linear-gradient(135deg, #1a0000, #2e0000);
}

/* ─── Upload overlay ─────────────────────────────────── */
.upload-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.upload-box {
  background: var(--surface1);
  border: 1px solid #2e2e2e;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  width: min(320px, 90vw);
}
.upload-emoji {
  font-size: 2.4rem;
  margin-bottom: 12px;
}
.upload-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.upload-sub {
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.upload-progress-track {
  background: #2a2a2a;
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  background: var(--red);
  border-radius: 99px;
  width: 0%;
  transition: width 0.35s ease;
}

/* ─── Result countdown ───────────────────────────────── */
.result-countdown {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.countdown-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
  animation: countdown-tick 0.4s ease-out;
}
@keyframes countdown-tick {
  0% {
    transform: scale(1.4);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ─── Reaction hint ─── */
.reaction-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 50px 14px;
  padding: 9px 16px;
  border: 1px solid rgba(240, 180, 41, 0.35);
  border-radius: 10px;
  background: rgba(240, 180, 41, 0.06);
  font-size: 0.78rem;
  color: rgba(245, 237, 224, 0.65);
  letter-spacing: 0.03em;
}
.reaction-hint-arrow {
  font-size: 1rem;
  animation: hint-bounce 1.2s ease-in-out infinite;
}
@keyframes hint-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* ── Feedback ── */
.cc-feedback-link {
  margin-top: 14px;
  text-align: center;
}
.cc-feedback-link button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  transition: color 0.2s;
}
.cc-feedback-link button:hover {
  color: rgba(255, 255, 255, 0.75);
}
.cc-feedback-textarea {
  width: 100%;
  min-height: 110px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  padding: 10px 12px;
  font-size: 0.9rem;
  resize: vertical;
  box-sizing: border-box;
  font-family: inherit;
}
.cc-feedback-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
}
.cc-feedback-count {
  text-align: right;
  font-size: 0.72rem;
  opacity: 0.45;
  margin-top: 4px;
}

/* ── Inline feedback section ── */
.cc-inline-feedback {
  width: calc(100% - 32px);
  max-width: 480px;
  margin: 0 auto 8px;
  padding: 18px 16px 14px;
  border-color: #0088cc;
  font-family: var(--ff-sans, system-ui, sans-serif);
  font-style: normal;
  font-size: 1rem;
  font-weight: 400;
}
.cc-inline-feedback__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cc-inline-feedback__icon {
  font-size: 3rem;
  line-height: 1;
}
.cc-inline-feedback__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}
.cc-inline-feedback__sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  line-height: 1.5;
}
.cc-inline-feedback .cc-feedback-textarea {
  min-height: 80px;
}
.cc-inline-feedback__footer {
  margin-top: 10px;
}
.cc-inline-feedback__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  background: #0088cc;
  border-color: #0088cc;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.cc-inline-feedback__btn:hover {
  background: #0077b5;
}
.cc-inline-feedback__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cc-inline-feedback__btn-icon {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}
.cc-inline-feedback__bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}
.cc-inline-feedback__status {
  font-size: 0.82rem;
  min-height: 1.2em;
  margin-top: 8px;
  text-align: center;
}

/* ──────────────────────────────────────────────────────── */
/* SECRETS / SNAPCHAT EFFECT (TAP & HOLD)                  */
/* ──────────────────────────────────────────────────────── */
.secret-media-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none; /* Previene scroll mobile mentre si tiene premuto */
  cursor: pointer;
  background: #1a1a1a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.secret-media-el {
  display: block;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  filter: blur(35px);
  transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05); /* Previene bordi neri dovuti al blur */
  pointer-events: none; /* Gestisce tutto l'overlay */
}

.secret-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.secret-text {
  font-family: var(--font);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.secret-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: #ff4d6d;
  border-radius: 0 2px 2px 0;
  transition: none;
  pointer-events: none;
}
.secret-progress.animating {
  width: 100%;
  transition: width 2s linear;
}

/* ──────────────────────────────────────────────────────── */
/* LIVE REACTIONS (PARTICLES & BAR)                         */
/* ──────────────────────────────────────────────────────── */
.live-reactions-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.live-reactions-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.live-react-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.live-react-btn:active {
  transform: scale(0.85);
  background: rgba(255, 255, 255, 0.2);
}

.floating-emoji {
  position: fixed;
  bottom: 0;
  font-size: 3.5rem;
  pointer-events: none;
  z-index: 9999;
  animation: floatUp 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes floatUp {
  0% {
    transform: translateY(100px) scale(0.5) rotate(-10deg);
    opacity: 0;
  }
  10% {
    transform: translateY(0px) scale(1.2) rotate(10deg);
    opacity: 1;
  }
  80% {
    transform: translateY(-300px) scale(1) rotate(-5deg);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-400px) scale(0.8) rotate(5deg);
    opacity: 0;
  }
}

/* ──────────────────────────────────────────────────────── */
/* BIVIO DEL DESIDERIO (CHOOSING PHASE)                     */
/* ──────────────────────────────────────────────────────── */
.choosing-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.choosing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.choosing-card:focus-within,
.choosing-card:active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.15);
}
.choosing-card.hint-text {
  border-color: #2ecc71;
}
.choosing-card.hint-audio {
  border-color: #f1c40f;
}
.choosing-card.hint-photo {
  border-color: #e67e22;
}
.choosing-card.hint-video {
  border-color: #e74c3c;
}

.choosing-card.chosen {
  background: rgba(231, 76, 60, 0.15);
  border-color: var(--primary);
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(231, 76, 60, 0.3);
}

.choosing-card.dimmed {
  opacity: 0.3;
  transform: scale(0.95);
  filter: grayscale(100%);
}

.choosing-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 4px 0;
}

.choosing-divider::before,
.choosing-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.choosing-divider::before {
  margin-right: 0.5em;
}

.choosing-divider::after {
  margin-left: 0.5em;
}

.choosing-card .card-emoji {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.choosing-card .card-text {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #ebebeb;
  text-align: center;
}

.choosing-card .cc-btn {
  margin-top: auto;
  width: 100%;
}

/* ─── Score popup performer ──────────────────────────── */
.score-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.score-popup {
  background: #1a1a2e;
  border-radius: 18px;
  padding: 20px 28px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation:
    scorePopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    scorePopOut 0.3s ease 1.5s forwards;
}
.score-popup--bonus {
  border: 2px solid #f39c12;
}
.score-popup--score {
  border: 2px solid var(--primary, #e74c3c);
}
.score-popup-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #eee;
  margin-bottom: 6px;
}
.score-popup-pts {
  font-size: 2rem;
  font-weight: 900;
  color: #f39c12;
  line-height: 1;
}
.score-popup--score .score-popup-pts {
  color: var(--primary, #e74c3c);
}
.score-popup-total {
  font-size: 0.78rem;
  color: #888;
  margin-top: 6px;
}
@keyframes scorePopIn {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes scorePopOut {
  to {
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
  }
}

/* ─── Popup fine partita ─────────────────────────────── */
.score-popup-backdrop--end {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
}
.end-score-popup {
  background: #1a1a2e;
  border: 2px solid var(--primary, #e74c3c);
  border-radius: 22px;
  padding: 28px 24px 22px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: scorePopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.end-score-emoji {
  font-size: 2.8rem;
  line-height: 1;
}
.end-score-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f0f0f0;
}
.end-score-names {
  font-size: 0.85rem;
  color: #aaa;
}
.end-score-scores {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}
.end-score-a strong,
.end-score-b strong {
  color: var(--primary, #e74c3c);
}
.end-score-sep {
  color: #555;
}
.end-score-msg {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.45;
  padding: 4px 0;
}
.btn-end-score-ok {
  margin-top: 6px;
  padding: 12px 20px;
  background: var(--primary, #e74c3c);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.btn-end-score-ok:active {
  opacity: 0.85;
}

/* ─── Profilo finale performer ───────────────────────── */
#profileBox {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 18px;
  text-align: center;
}
.profile-emoji {
  font-size: 2.5rem;
  margin-bottom: 6px;
}
.profile-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f0f0f0;
  margin-bottom: 4px;
}
.profile-hook {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary, #e74c3c);
  margin-bottom: 10px;
  font-style: italic;
}
.profile-desc {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
.profile-score {
  font-size: 0.85rem;
  color: #f39c12;
  margin-bottom: 10px;
}
.profile-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #eee;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  margin-top: 4px;
}

/* ─── WoW Button ─────────────────────────────────────── */
@keyframes wowPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
@keyframes wowColors {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.btn-final-wow {
  background: linear-gradient(270deg, #e74c3c, #f39c12, #9b59b6, #e74c3c);
  background-size: 300% 300%;
  animation:
    wowPulse 1.6s ease-in-out infinite,
    wowColors 4s ease infinite;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(231, 76, 60, 0.5);
  text-transform: uppercase;
}
.btn-final-wow:disabled {
  animation: none;
  opacity: 0.5;
  cursor: default;
}

/* ─── hardLockedModal border override ───────────────── */
#hardLockedModal .cc-welcome-box {
  border: 4px solid #6c3483 !important;
  box-shadow: 0 0 24px rgba(108, 52, 131, 0.4) !important;
}

/* Score live during the game */
.cc-score-live {
  position: fixed;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 480px;
  padding: 8px 14px;
  background: rgba(15, 10, 10, 0.92);
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  z-index: 900;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.cc-sl-score {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.cc-sl-num {
  color: var(--gold);
  font-size: 1.1rem;
}
.cc-sl-sep {
  color: var(--muted);
  margin: 0 4px;
}
.cc-sl-motiv {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

/* ─── Hint score badges ──────────────────────────────── */
.cc-hint-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1.5px solid currentColor;
  line-height: 1.4;
  pointer-events: none;
}
.cc-hint-badge--chooser {
  display: block;
  text-align: center;
  margin: 8px auto 0;
  width: fit-content;
}
.cc-hint-badge--performer {
  font-size: 0.65rem;
  padding: 1px 6px;
}
/* Colors by media type — ascending intensity: green, yellow, orange, red */
.cc-hint-badge--text {
  color: #2ecc71;
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.12);
}
.cc-hint-badge--audio {
  color: #f1c40f;
  border-color: #f1c40f;
  background: rgba(241, 196, 15, 0.12);
}
.cc-hint-badge--photo {
  color: #e67e22;
  border-color: #e67e22;
  background: rgba(230, 126, 34, 0.12);
}
.cc-hint-badge--video {
  color: #e74c3c;
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.12);
}

/* ─── Leaderboard ────────────────────────────────────── */
.cc-leaderboard {
  width: calc(100% - 32px);
  max-width: 480px;
  margin: 8px auto 8px;
}

.cc-leaderboard--teaser {
  border: 1px solid #f69518;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 20px 20px;
}

.cc-lb-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(192, 57, 43, 0.3);
}

.cc-lb-trophy {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 6px rgba(240, 180, 41, 0.7));
  animation: lb-pulse 2.4s ease-in-out infinite;
}

@keyframes lb-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(240, 180, 41, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(240, 180, 41, 1));
  }
}

.cc-lb-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.cc-lb-sub {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: auto;
}

.cc-lb-loading {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.cc-lb-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(192, 57, 43, 0.25);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: cc-spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes cc-spin {
  to {
    transform: rotate(360deg);
  }
}

.cc-lb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 6px;
  transition: background 0.2s;
}

.cc-lb-row--gold {
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.12) 0%, rgba(192, 57, 43, 0.1) 100%);
  border-color: rgba(240, 180, 41, 0.3);
}

.cc-lb-pos {
  font-size: 1.1rem;
  min-width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.cc-lb-rank {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

.cc-lb-names {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-lb-vs {
  font-size: 0.7rem;
  color: var(--red);
  font-weight: 800;
  margin: 0 2px;
}

.cc-lb-score {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.cc-lb-dash {
  color: var(--muted);
  margin: 0 2px;
}

.cc-lb-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 16px 0;
}

.cc-lb-hidden {
  display: none;
}
.cc-lb-hidden.cc-lb-visible {
  display: flex;
}
.cc-lb-expand-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px 0;
  background: none;
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 8px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.cc-lb-expand-btn:hover {
  background: rgba(192, 57, 43, 0.08);
  border-color: rgba(192, 57, 43, 0.5);
}

/* Popup overlay */
.cc-lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cc-lb-popup {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid #f69518;
  padding: 28px 24px 24px;
  width: 100%;
  max-width: 380px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cc-lb-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.cc-lb-close:hover {
  color: var(--text);
}
.cc-lb-popup-header {
  text-align: center;
}
.cc-lb-trophy--big {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 6px;
}
.cc-lb-popup-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}
.cc-lb-popup-sub {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.cc-lb-popup-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cc-lb-popup-cta {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1.5;
  padding: 0 4px;
}
.cc-lb-popup-btn {
  width: 100%;
  margin-top: 4px;
}
