@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800;900&family=Playfair+Display:ital,wght@1,700&display=swap');
html {
  scroll-behavior: smooth;
}
body{margin:0;background:#f7fafd;color:#17233d;font:14px Manrope,Arial,sans-serif}
.top{max-width:1120px;margin:auto;padding:18px 20px;display:flex;align-items:center;justify-content:space-between}
.top nav{display:flex;gap:12px;align-items:center}
.logo{text-decoration:none;font-size:27px}
.logo b{color:#1889d6}
.logo i{font:italic 30px 'Playfair Display';color:#e4ab2e}
.nav-btn, .balance {
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 18px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

.balance {
  background: linear-gradient(180deg, #fefce8, #fef08a);
  border-color: #facc15;
  color: #854d0e;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.2);
}
.wrap{max-width:1120px;margin:auto;padding:0 20px 55px}
.card{background:#fff;border:1px solid #e6ecf3;box-shadow:0 10px 30px #21466b0b}
.question{max-width:680px;margin:12px auto 0;text-align:center;border-radius:14px}
.question h1{font-size:20px;padding:22px;margin:0}
.tip{text-align:center;font-weight:800;margin:35px 0 16px}
.flash-message {
  max-width: 680px;
  margin: 16px auto 0;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.flash-success {
  background: #dcfce7;
  border: 1px solid #22c55e;
  color: #15803d;
}
.flash-error {
  background: #fee2e2;
  border: 1px solid #ef4444;
  color: #b91c1c;
}
.word-box {
  width: 44px;
  height: 48px;
  border-radius: 8px;
  background: #111b27;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 2px 5px rgba(0,0,0,0.1);
  border: 1.5px solid #2a3d54;
  transition: all 0.2s ease;
}
.word-box.revealed {
  background: #ffffff;
  color: #0f172a;
  border-color: #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}


/* Wheel styling */
.wheel-zone{text-align:center;position:relative;padding-top:10px}
.wheel-outer{width:420px;max-width:92vw;aspect-ratio:1;margin:auto;position:relative}
.wheel-svg{width:100%;height:100%;display:block;filter:drop-shadow(0 14px 28px rgba(25,35,50,0.22));transition:transform 3s cubic-bezier(0.17, 0.89, 0.26, 0.99)}
.stand{width:210px;height:18px;background:linear-gradient(180deg,#242f3e,#141b24);border-radius:0 0 16px 16px;margin:-10px auto 0;position:relative;z-index:1;box-shadow:0 12px 14px -6px rgba(0,0,0,0.45)}
.stand:before{content:'';display:block;width:110px;height:30px;background:linear-gradient(180deg,#2b3747,#19222c);margin:-20px auto 0;clip-path:polygon(12% 0%, 88% 0%, 100% 100%, 0% 100%)}

/* Игровой пульт управления ходом */
.game-control-card {
  max-width: 680px;
  margin: 32px auto 0;
  background: #ffffff;
  border: 1px solid #e1e9f2;
  border-radius: 20px;
  box-shadow: 0 16px 36px -8px rgba(15, 30, 55, 0.09);
  padding: 24px;
}

.game-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf2f7;
  margin-bottom: 20px;
}

.game-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.game-status-pill.active {
  background: #ecfdf5;
  color: #059669;
}

.game-status-pill .indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.game-status-pill.active .indicator-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.game-status-msg {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  text-align: right;
  flex: 1;
  margin-left: 16px;
}

/* Крупный результат хода внутри пульта — чтобы на телефоне
   не листать вверх после каждой названной буквы */
.turn-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
  animation: turnResultIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.turn-result-correct {
  background: #dcfce7;
  border: 2px solid #22c55e;
  color: #15803d;
}

.turn-result-wrong {
  background: #fee2e2;
  border: 2px solid #ef4444;
  color: #b91c1c;
}

.turn-result-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  animation: turnResultIcon 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.turn-result-text {
  flex: 1;
}

@keyframes turnResultIcon {
  0% { transform: scale(0.4) rotate(-12deg); }
  60% { transform: scale(1.18) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes turnResultIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.game-control-row {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  gap: 16px;
  align-items: center;
}

.btn-spin-main {
  height: 54px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffc94d, #e49c17);
  color: #2c1a01;
  font-size: 15.5px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 5px 0 #ad750c, 0 8px 16px rgba(228, 156, 23, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  width: 100%;
}

.btn-spin-main:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #ad750c, 0 10px 20px rgba(228, 156, 23, 0.35);
}

.btn-spin-main:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #ad750c;
}

.btn-spin-main:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 0 #ad750c;
}

.divider-or {
  font-weight: 800;
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.letter-action-group {
  display: flex;
  gap: 10px;
  height: 54px;
}

.letter-input-styled {
  width: 62px;
  height: 54px;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  padding: 0;
}

.letter-input-styled:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.btn-letter-submit {
  flex: 1;
  height: 54px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #2f84e5, #1268c8);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 5px 0 #0c519c, 0 8px 16px rgba(18, 104, 200, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-letter-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #0c519c, 0 10px 20px rgba(18, 104, 200, 0.35);
}

.btn-letter-submit:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #0c519c;
}

@media (max-width: 650px) {
  .game-control-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .divider-or {
    display: none;
  }
  .game-status-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .game-status-msg {
    text-align: left;
    margin-left: 0;
  }
}

/* ===== Мобильная адаптация игрового экрана =====
   Слово и ввод буквы держим в одном экране, чтобы после хода
   не приходилось скроллить вверх и смотреть результат. */
@media (max-width: 650px) {
  html, body {
    overflow-x: hidden;
  }

  .wrap {
    padding: 0 12px 40px;
  }

  /* Заголовок компактнее, чтобы барабан и слово влезали в экран */
  .top {
    padding: 12px 12px;
    gap: 10px;
  }
  .logo {
    font-size: 22px;
  }
  .logo i {
    font-size: 24px;
  }
  .nav-btn, .balance {
    padding: 8px 12px;
    font-size: 13px;
  }
  .tip {
    margin: 18px 0 10px;
    font-size: 13.5px;
  }

  /* Вопрос на мобильном — компактный */
  .question h1 {
    font-size: 17px;
    padding: 15px 14px;
  }

  /* Барабан меньше, чтобы слово и пульт были видны без скролла */
  .wheel-outer {
    width: 260px;
    max-width: 74vw;
  }
  .wheel-zone {
    padding-top: 4px;
  }

  /* Плашки с буквами — крупные, читаемые, в одну строку с переносом */
  .word {
    flex-wrap: wrap;
    gap: 6px !important;
    margin-bottom: 16px !important;
  }
  .word-box {
    width: 38px;
    height: 42px;
    font-size: 21px;
  }

  /* Пульт управления: липкий снизу, чтобы слово и результат всегда были видны */
  .game-control-card {
    position: sticky;
    bottom: 0;
    z-index: 50;
    margin: 14px auto 0;
    padding: 14px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 24px -6px rgba(15, 30, 55, 0.18);
  }

  /* Результат хода на телефоне — самый крупный элемент пульта.
     Он липнет к верху пульта, поэтому всегда виден сразу после буквы. */
  .turn-result {
    position: sticky;
    top: 6px;
    font-size: 15px;
    padding: 14px 14px;
    margin-bottom: 14px;
    border-width: 2.5px;
    box-shadow: 0 8px 22px -8px rgba(15, 23, 42, 0.35);
  }
  .turn-result-icon {
    font-size: 30px;
  }

  .game-status-header {
    padding-bottom: 12px;
    margin-bottom: 12px;
    gap: 6px;
  }

  .game-status-msg {
    font-size: 13.5px;
    line-height: 1.35;
    min-height: 19px;
  }

  .game-status-pill {
    font-size: 12px;
    padding: 5px 12px;
  }

  /* Кнопка спина и ввод буквы — крупные тап-таргеты */
  .btn-spin-main {
    height: 52px;
    font-size: 15px;
  }

  .letter-action-group {
    height: 52px;
    gap: 8px;
  }

  .letter-input-styled {
    width: 52px;
    height: 52px;
    font-size: 22px;
    flex-shrink: 0;
  }

  .btn-letter-submit {
    height: 52px;
    font-size: 14px;
    padding: 0 12px;
  }

  /* Отключённое состояние ввода буквы — визуально заметно */
  .letter-input-styled:disabled,
  .btn-letter-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
  }
}

/* Очень узкие экраны: барабан ещё компактнее */
@media (max-width: 380px) {
  .wheel-outer {
    width: 210px;
    max-width: 66vw;
  }
  .word-box {
    width: 32px;
    height: 37px;
    font-size: 18px;
  }
  .btn-letter-submit {
    font-size: 13px;
  }
  .turn-result {
    font-size: 14px;
    padding: 12px 12px;
  }
  .turn-result-icon {
    font-size: 26px;
  }
}
/* Live Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #ef4444;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.current-player-row {
  background: #eff6ff !important;
  font-weight: 800;
  border-left: 4px solid #2563eb;
}

.tr-updated {
  animation: highlightRow 1.2s ease;
}

/* Переключатель периодов таблицы лидеров */
.rating-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}

.rating-tab {
  flex: 1 1 0;
  min-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #334155;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.rating-tab small {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.3px;
}

.rating-tab:hover {
  border-color: #2563eb;
  background: #f8fafc;
}

.rating-tab.active {
  background: #0e5189;
  border-color: #0e5189;
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(14, 81, 137, 0.6);
}

.rating-tab.active small {
  color: #bae6fd;
}

.rating-panel {
  display: none;
}

.rating-panel.active {
  display: block;
}

.rating-panel-hint {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 10px 2px;
}

.rating-empty {
  color: #94a3b8;
  font-size: 14px;
  margin: 0;
  padding: 18px 4px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.rating-points-neg {
  color: #dc2626 !important;
}

@keyframes highlightRow {
  0% { background: #fef08a; }
  100% { background: transparent; }
}
/* Таблица лидеров */
.table {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  width: 100%;
  box-sizing: border-box;
}

.tr {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 140px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14.5px;
  gap: 12px;
}

.th {
  background: #0e5189;
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tr > span:nth-child(1) {
  font-weight: 800;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tr > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  color: #0f172a;
  min-width: 0;
}

.tr > span:nth-child(3) {
  text-align: right;
  font-weight: 800;
  color: #2563eb;
  font-variant-numeric: tabular-nums;
}

.th > b:nth-child(3) {
  text-align: right;
  color: #ffffff !important;
}

/* Мобильная адаптация таблицы лидеров */
@media (max-width: 768px) {
  .tr {
    grid-template-columns: 50px minmax(0, 1fr) 90px;
    padding: 12px 10px;
    gap: 6px;
    font-size: 13px;
  }
  .th {
    font-size: 11.5px;
  }
  .tr > span:nth-child(2) b {
    font-size: 13px;
  }
  .rating-tab {
    padding: 9px 8px;
    font-size: 13.5px;
    min-width: 0;
  }
  .rating-tab small {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .tr {
    grid-template-columns: 42px minmax(0, 1fr) 80px;
    padding: 10px 8px;
    gap: 4px;
    font-size: 12px;
  }
  .th {
    font-size: 11px;
    letter-spacing: 0;
  }
  .tr > span:nth-child(1) {
    font-size: 11.5px;
  }
  .tr > span:nth-child(2) b {
    font-size: 12px;
  }
  .rating-tabs {
    gap: 6px;
  }
  .rating-tab {
    padding: 8px 6px;
    font-size: 12.5px;
    border-radius: 10px;
  }
  .rating-tab small {
    font-size: 10.5px;
  }
  .rating-panel-hint {
    font-size: 12px;
  }
}
.rules{margin-top:45px;border:2px solid #60c6e8;border-radius:18px;padding:44px 20px;background:#fff;color:#334155;font-weight:600}
footer{max-width:1120px;margin:auto;padding:25px 20px 30px;border-top:1px solid #edf1f5;display:flex;justify-content:space-between;color:#6d7d92}
footer nav{display:flex;gap:22px}
footer a{color:#6d7d92;text-decoration:none}
/* Общие стили кнопок */
.btn {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #2f84e5, #1268c8);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 20px;
  cursor: pointer;
  box-shadow: 0 5px 0 #0c519c, 0 8px 16px rgba(18, 104, 200, 0.25);
  transition: all 0.15s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #0c519c, 0 10px 20px rgba(18, 104, 200, 0.35);
}

.btn:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #0c519c;
}

.btn.spin {
  background: linear-gradient(180deg, #ffc94d, #e49c17);
  color: #2c1a01;
  box-shadow: 0 5px 0 #ad750c, 0 8px 16px rgba(228, 156, 23, 0.25);
}

.btn.spin:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #ad750c, 0 10px 20px rgba(228, 156, 23, 0.35);
}

.btn.spin:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #ad750c;
}

/* Модальные окна (Вход / Регистрация) */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.25s ease;
}

.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  z-index: 1001;
  width: min(440px, calc(100% - 32px));
  padding: 36px 32px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.modal.show, .overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal.show {
  transform: translate(-50%, -50%) scale(1);
}

.modal h2 {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
}

.modal form {
  display: grid;
  gap: 14px;
}

.modal input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.modal input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.modal .close {
  position: absolute;
  right: 18px;
  top: 18px;
  border: 0;
  background: #f1f5f9;
  color: #64748b;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.modal .close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  margin: 4px 0;
}

.modal label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
  margin: 0;
}

.modal .modal-btn-submit {
  width: 100%;
  height: 50px;
  margin-top: 4px;
}

.modal p {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  margin: 18px 0 0;
}

.modal a {
  color: #2563eb;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s;
}

.modal a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
/* Modern Cookie Floating Banner */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  z-index: 99;
  background: rgba(18, 32, 51, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f1f5f9;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 20px 40px -10px rgba(0, 15, 35, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpCookie {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cookie-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.cookie-content {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.45;
  color: #cbd5e1;
}

.cookie-content strong {
  color: #ffffff;
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  border: 0;
  background: linear-gradient(180deg, #ffc94d, #e49c17);
  color: #2b1a01;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 0 #ad750c, 0 4px 10px rgba(228, 156, 23, 0.3);
  transition: all 0.15s ease;
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #ad750c, 0 6px 14px rgba(228, 156, 23, 0.4);
}

.cookie-btn-accept:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #ad750c;
}

.cookie-btn-close {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cookie-btn-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

@media (max-width: 520px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
.admin-body,.simple{background:#f7fafd}
.profile,.admin,.narrow{max-width:1000px;margin:35px auto;padding:0 20px}
.profile-head,.profile-grid,.metrics{display:grid;gap:18px}
.profile-head{grid-template-columns:auto 1fr auto;align-items:center;margin-bottom:22px}
.avatar{width:62px;height:62px;border-radius:50%;background:#dbefff;display:grid;place-items:center;font-size:25px;font-weight:800;color:#0e78c5}
.profile-head h1{margin:0}
.points{background:#fff;border-radius:14px;padding:15px 22px;border:1px solid #e3ebf3}
.points small{display:block;color:#728096}
.points b{font-size:26px;color:#0c70c4}
.profile-grid{grid-template-columns:1fr 290px 290px}
@media (max-width: 1100px){
  .profile-grid{grid-template-columns:1fr 290px}
}.form-card,.side-card,.metrics div,.pad,.list{background:#fff;border:1px solid #e4ebf3;border-radius:16px;padding:22px}
.form-card input,.form-card textarea,.pad textarea,.pad input{width:100%;margin-top:7px;padding:12px;border:1px solid #d7e1ed;border-radius:8px;font:inherit}
.form-card label{display:block;margin:12px 0;font-weight:700}
.muted,.side-card p{color:#6c7b8f}
.admin-nav,.tabs{display:flex;gap:10px;margin:20px 0}
.admin-nav a,.tabs a{text-decoration:none;background:#fff;padding:12px 15px;border-radius:9px;color:#136dbd;font-weight:800;border:1px solid #e2eaf3}
.metrics{grid-template-columns:repeat(3,1fr)}
.metrics small{color:#728096}
.metrics b{font-size:28px}
.table-row,.question-list div{display:flex;justify-content:space-between}
.question-list div{padding:14px;border-bottom:1px solid #edf1f5}
@media(max-width:850px){
  .top{flex-direction:column;gap:15px}
  .top nav{flex-wrap:wrap;justify-content:center}
  .guess{grid-template-columns:1fr}
  .profile-head,.profile-grid,.metrics{grid-template-columns:1fr}
  .wheel-outer{width:330px}
  footer{flex-direction:column;gap:12px}
}
