* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, sans-serif;
  background: #151821;
  color: #eceef3;
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem 1rem;
}

#app {
  width: 100%;
  max-width: 460px;
}

.view {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hidden {
  display: none !important;
}

h1 {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 1.6rem;
}

h2 {
  margin: 0;
  font-size: 1.25rem;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a90a3;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #8a90a3;
}

input, button, select {
  font: inherit;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #2a2f3d;
  background: #1e2230;
  color: #eceef3;
}

input:focus, select:focus {
  outline: none;
  border-color: #5b7cff;
}

button {
  background: #5b7cff;
  border-color: #5b7cff;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #4a6bee;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.or {
  text-align: center;
  color: #8a90a3;
  font-size: 0.85rem;
}

.join-row {
  display: flex;
  gap: 0.5rem;
}

.join-row input {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
}

.error {
  color: #ff6b6b;
  min-height: 1.2em;
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
}

.center {
  text-align: center;
}

.hint {
  color: #8a90a3;
  font-size: 0.9rem;
  margin: 0;
}

.section-block {
  background: #1a1d28;
  border: 1px solid #2a2f3d;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
}

.room-header {
  text-align: center;
}

#room-code, #game-room-code {
  font-family: 'Courier New', monospace;
  background: #1e2230;
  padding: 0.2em 0.5em;
  border-radius: 6px;
  letter-spacing: 0.1em;
}

#players-list, #game-players-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

#players-list li,
#game-players-list li {
  padding: 0.4rem 0.7rem;
  background: #1e2230;
  border-radius: 8px;
  border: 1px solid #2a2f3d;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5b7cff;
  background: rgba(91, 124, 255, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.player-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.host-crown {
  font-size: 0.95rem;
  line-height: 1;
}

.player-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-score {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #8a90a3;
  min-width: 1.5rem;
  text-align: right;
}

.transfer-host-btn {
  padding: 0.25rem 0.45rem;
  font-size: 0.9rem;
  line-height: 1;
  background: transparent;
  border: 1px solid #2a2f3d;
  color: #eceef3;
  border-radius: 6px;
  cursor: pointer;
}

.transfer-host-btn:hover {
  background: rgba(91, 124, 255, 0.12);
  border-color: #5b7cff;
}

/* Settings panel */
#settings-panel summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 0.25rem 0;
}

#settings-panel summary::-webkit-details-marker {
  display: none;
}

#settings-panel summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.15s;
}

#settings-panel[open] summary::before {
  transform: rotate(90deg);
}

.settings-tabs {
  display: flex;
  gap: 0.25rem;
  margin: 0.4rem 0 0.5rem;
  border-bottom: 1px solid #2a2f3d;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #8a90a3;
  padding: 0.35rem 0.65rem;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.tab-btn:hover {
  background: transparent;
  color: #eceef3;
}

.tab-btn.active {
  color: #5b7cff;
  border-bottom-color: #5b7cff;
}

.settings-pane {
  display: none;
  flex-direction: column;
  gap: 0.55rem;
}

.settings-pane.active {
  display: flex;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #eceef3;
}

.field > span {
  color: #8a90a3;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field strong {
  color: #eceef3;
  text-transform: none;
  font-size: 0.95rem;
}

.field-help {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7080;
}

.toggle-row {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.toggle-row input[type="checkbox"] {
  margin: 0;
  accent-color: #5b7cff;
}

select.locked {
  opacity: 0.55;
  cursor: not-allowed;
}

input[type="range"] {
  padding: 0;
  background: transparent;
  border: none;
  accent-color: #5b7cff;
}

select {
  cursor: pointer;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem 0.55rem;
  background: #1e2230;
  border: 1px solid #2a2f3d;
  border-radius: 8px;
}

.category-parent {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #eceef3 !important;
  text-transform: none !important;
  font-size: 0.95rem !important;
  letter-spacing: normal !important;
  font-weight: 600;
}

.category-parent input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #5b7cff;
  padding: 0;
  margin: 0;
}

.category-children {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-left: 1.5rem;
}

.category-child {
  flex: 1 1 45%;
  background: #171a24 !important;
  font-size: 0.8rem !important;
  padding: 0.35rem 0.6rem !important;
}

.checkbox-item {
  flex: 1 1 45%;
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #1e2230;
  border: 1px solid #2a2f3d;
  border-radius: 8px;
  cursor: pointer;
  color: #eceef3 !important;
  text-transform: none !important;
  font-size: 0.85rem !important;
  letter-spacing: normal !important;
}

.checkbox-item input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #5b7cff;
  padding: 0;
  margin: 0;
}

/* Game view */
.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.round-indicator {
  font-size: 0.8rem;
  color: #8a90a3;
  background: #1e2230;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #2a2f3d;
}

#role-card {
  padding: 1.75rem 1rem;
  background: #1e2230;
  border: 1px solid #2a2f3d;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#role-card.imposter {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}

#role-card.spectator {
  border-color: #5e8bd9;
  background: rgba(94, 139, 217, 0.08);
}

#role-card.spectator .role-label {
  color: #9bb7e6;
}

.role-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a90a3;
}

.role-value {
  font-size: 2rem;
  font-weight: 700;
  word-break: break-word;
}

#role-card.imposter .role-value {
  color: #ff6b6b;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.role-hint {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #ffb84d;
}

.turn-status {
  text-align: center;
  font-size: 0.95rem;
  color: #eceef3;
  min-height: 1.5rem;
}

.turn-input-row {
  display: flex;
  gap: 0.5rem;
}

.turn-input-row input {
  flex: 1;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 240px;
  overflow-y: auto;
}

.chat-entry {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: #1e2230;
  border-radius: 6px;
  border: 1px solid #2a2f3d;
  font-size: 0.9rem;
}

.chat-round {
  font-size: 0.7rem;
  color: #8a90a3;
  background: #2a2f3d;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.chat-name {
  color: #8a90a3;
}

.chat-name::after {
  content: ':';
  margin-left: 0.1rem;
}

.chat-word {
  color: #eceef3;
  font-weight: 600;
  flex: 1;
}

.chat-word.skipped {
  color: #6b7080;
  font-weight: 400;
  font-style: italic;
}

.end-btn {
  background: #2a2f3d;
  border-color: #2a2f3d;
}

.end-btn:hover {
  background: #353b4d;
}

/* Game over view */
.reveal-card {
  padding: 1.5rem 1rem;
  background: #1e2230;
  border: 1px solid #2a2f3d;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reveal-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a90a3;
}

.reveal-label:not(:first-child) {
  margin-top: 0.5rem;
}

.reveal-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #5b7cff;
}

.reveal-outcome {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffb84d;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #2a2f3d;
  margin-bottom: 0.25rem;
}

.badges {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.badge-offline {
  color: #8a90a3;
  background: rgba(138, 144, 163, 0.12);
}

/* Vote view */
.vote-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.vote-timer {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffb84d;
  background: #1e2230;
  border: 1px solid #2a2f3d;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}

.vote-candidates {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vote-candidate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #1e2230;
  border: 1px solid #2a2f3d;
  border-radius: 10px;
}

.vote-candidate.voted {
  border-color: #5b7cff;
  background: rgba(91, 124, 255, 0.08);
}

.vote-candidate-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}

.vote-you {
  color: #8a90a3;
  font-weight: 400;
  font-size: 0.85rem;
}

.vote-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.vote-confirmed {
  text-align: center;
  color: #5b7cff;
  font-weight: 600;
  margin: 0;
}

/* Round breakdown in gameover */
.round-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.breakdown-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: #1e2230;
  border: 1px solid #2a2f3d;
  border-radius: 6px;
  font-size: 0.9rem;
}

.breakdown-row.imposter {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}

.breakdown-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breakdown-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.15);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}

.breakdown-vote {
  color: #8a90a3;
  font-size: 0.85rem;
}

.breakdown-vote.correct {
  color: #5bd48f;
}

.breakdown-vote.muted {
  color: #6b7080;
  font-style: italic;
}

.breakdown-points {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #6b7080;
  min-width: 2rem;
  text-align: right;
}

.breakdown-points.positive {
  color: #ffb84d;
}

/* Leaderboard in gameover */
.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: #1e2230;
  border: 1px solid #2a2f3d;
  border-radius: 6px;
  font-size: 0.95rem;
}

.leaderboard-row.top {
  border-color: #ffb84d;
  background: rgba(255, 184, 77, 0.08);
}

.leaderboard-rank {
  color: #8a90a3;
  font-variant-numeric: tabular-nums;
  min-width: 1.5rem;
}

.leaderboard-row.top .leaderboard-rank {
  color: #ffb84d;
  font-weight: 700;
}

.leaderboard-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-score {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #eceef3;
  min-width: 2rem;
  text-align: right;
}

/* Toggle row with inline edit button */
.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  flex-direction: row !important;
}

.inline-btn {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  background: transparent;
  border: 1px solid #5b7cff;
  color: #5b7cff;
  border-radius: 6px;
  margin-left: auto;
  cursor: pointer;
}

.inline-btn:hover {
  background: rgba(91, 124, 255, 0.12);
}

.toggle-row {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 18, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 100;
}

.modal {
  background: #1a1d28;
  border: 1px solid #2a2f3d;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal h3 {
  margin: 0;
  font-size: 1rem;
  color: #eceef3;
  text-transform: none;
  letter-spacing: normal;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.ghost-btn {
  background: transparent;
  border: 1px solid #2a2f3d;
  color: #8a90a3;
}

.ghost-btn:hover {
  background: #1e2230;
  color: #eceef3;
}

#top-bar {
  position: fixed;
  top: 0;
  right: 0;
  padding: 0.6rem 0.9rem;
  z-index: 50;
}

#account-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.link-btn {
  background: transparent;
  border: none;
  color: #8a90a3;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
}

.link-btn:hover {
  color: #eceef3;
  background: #1e2230;
}

#auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #1e2230;
  border: 1px solid #2a2f3d;
  border-radius: 999px;
  padding: 0.15rem 0.4rem 0.15rem 0.75rem;
}

#auth-name {
  color: #eceef3;
  font-weight: 500;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-tabs {
  display: flex;
  gap: 0.25rem;
  margin: 0.25rem 0 0.75rem;
  border-bottom: 1px solid #2a2f3d;
}

.auth-tab-btn {
  background: transparent;
  border: none;
  color: #8a90a3;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.auth-tab-btn.active {
  color: #eceef3;
  border-bottom-color: #6b8cff;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 0.85rem 0 0.75rem;
  color: #8a90a3;
  font-size: 0.8rem;
}

.auth-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #2a2f3d;
  z-index: 0;
}

.auth-divider span {
  position: relative;
  background: #151821;
  padding: 0 0.6rem;
  z-index: 1;
}

.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  padding: 0.6rem 0.75rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
}

.google-btn:hover {
  background: #f6f7fb;
}

#auth-modal .modal {
  max-width: 360px;
}

@media (max-width: 520px) {
  #top-bar { padding: 0.4rem 0.55rem; }
  #auth-name { max-width: 90px; font-size: 0.8rem; }
}

/* Avatars */
.avatar {
  flex-shrink: 0;
  border-radius: 50%;
  background: #2a2f3d;
  object-fit: cover;
  display: block;
}

.avatar-sm {
  width: 24px;
  height: 24px;
}

.avatar-md {
  width: 36px;
  height: 36px;
}

.avatar-lg {
  width: 96px;
  height: 96px;
  border: 2px solid #2a2f3d;
}

.avatar-picker {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  gap: 0.25rem;
  margin: 0.25rem 0 0.5rem;
}

.avatar-picker .avatar-lg {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.avatar-randomize-btn {
  position: absolute;
  bottom: -4px;
  right: calc(50% - 60px);
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background: #5b7cff;
  color: #fff;
  border: 2px solid #151821;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.avatar-randomize-btn:hover {
  background: #4a6bee;
  transform: scale(1.08);
}

.avatar-randomize-btn:active {
  transform: scale(0.95) rotate(-25deg);
}

#auth-chip .avatar-sm {
  width: 22px;
  height: 22px;
}

#turn-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

#turn-status .avatar {
  flex-shrink: 0;
}

.reveal-imposter-entry {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0.5rem;
}

.reveal-imposter-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #eceef3;
}

#reveal-imposter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.4rem;
}

/* --- Home landing layout --- */
.home-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-hero {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-tagline {
  text-align: center;
  color: #8a90a3;
  font-size: 0.95rem;
  margin: -0.35rem 0 0.4rem;
  line-height: 1.4;
}

/* --- How-to-play card --- */
.howto-card {
  background: #1e2230;
  border: 1px solid #2a2f3d;
  border-radius: 14px;
  padding: 1.1rem 1.3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.howto-title {
  margin: 0;
  font-size: 0.75rem;
  color: #8a90a3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  font-weight: 600;
}

.howto-steps {
  position: relative;
  min-height: 215px;
  display: flex;
  align-items: flex-start;
}

.howto-step {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  text-align: center;
  width: 100%;
  animation: howto-fade 0.3s ease;
}

.howto-step.active {
  display: flex;
}

@keyframes howto-fade {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.howto-step-num {
  margin: 0.25rem auto 0.1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #5b7cff;
  color: white;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(91, 124, 255, 0.35);
}

.howto-step-title {
  margin: 0;
  font-size: 1.1rem;
  color: #eceef3;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.howto-step-body {
  margin: 0;
  color: #c4c7d2;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 340px;
  align-self: center;
}

.howto-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.2rem;
}

.howto-arrow {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: #2a2f3d;
  border-color: #2a2f3d;
  color: #eceef3;
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.howto-arrow:hover {
  background: #353b4d;
  border-color: #353b4d;
}

.howto-arrow:active {
  transform: scale(0.94);
}

.howto-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.howto-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: #3a4055;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.howto-dot:hover {
  background: #5b7cff;
}

.howto-dot.active {
  background: #5b7cff;
  transform: scale(1.35);
}

