.rolik-page { max-width: 760px; margin: 0 auto; padding-bottom: 48px; }

.rolik-plaque-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 4px;
}

.rolik-plaque {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 168px;
  max-width: calc(50% - 6px);
  text-decoration: none;
  color: inherit;
}

.rolik-plaque__preview {
  display: block;
  width: 100%;
  height: 94px;
  object-fit: cover;
  border-radius: 10px;
  background: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.rolik-plaque__btn {
  display: inline-flex;
  align-self: stretch;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #49c8f6 0%, #229ed9 100%);
  border-bottom: 3px solid #146f9b;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
}

html.theme-v2.color-scheme-light .rolik-plaque__preview {
  border-color: var(--color-border-strong, rgba(15, 23, 42, 0.14));
}

.rolik-block {
  background: var(--panel-dark);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 20px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.rolik-block h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}

.rolik-lead {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(238, 241, 255, 0.78);
  margin-bottom: 14px;
}

.rolik-lead--after { margin-top: 14px; margin-bottom: 0; }

.rolik-steps {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(238, 241, 255, 0.88);
}

.rolik-steps a { color: var(--gold); }

.rolik-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 201, 54, 0.08);
  border: 1px solid rgba(255, 201, 54, 0.28);
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(238, 241, 255, 0.86);
}

.reward-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.reward-table th {
  text-align: left;
  padding: 8px 8px 10px 0;
  color: rgba(238, 241, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.reward-table td {
  padding: 12px 8px 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
  color: rgba(238, 241, 255, 0.88);
}

.reward-table__level { font-weight: 800; color: #fff; white-space: nowrap; }

.reward-table__prize {
  color: var(--gold);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.reward-table__prize img {
  width: 14px;
  height: 16px;
  margin-right: 4px;
  vertical-align: -2px;
}

.reward-table__free { color: #6ee7a8; font-weight: 800; }

.reward-table__balance {
  color: #6ee7a8;
  font-weight: 800;
  white-space: nowrap;
}

.rolik-checks {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(238, 241, 255, 0.86);
}

.rolik-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #49c8f6 0%, #229ed9 100%);
  border-bottom: 3px solid #146f9b;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.game-decor { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.game-block { position: absolute; border-radius: 6px; opacity: 0.12; }
.game-block.b1 { width: 56px; height: 56px; background: var(--gold); top: 12%; left: 4%; transform: rotate(18deg); }
.game-block.b2 { width: 40px; height: 40px; background: var(--green); top: 28%; right: 6%; transform: rotate(-12deg); }
.game-block.b3 { width: 32px; height: 32px; background: #5b8def; bottom: 22%; left: 8%; }
.game-block.b4 { width: 48px; height: 48px; background: #e2231a; bottom: 14%; right: 10%; }

@media (max-width: 640px) {
  .reward-table { display: block; }
  .reward-table thead { display: none; }
  .reward-table tbody, .reward-table tr, .reward-table td { display: block; width: 100%; }
  .reward-table tr {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .reward-table td { border: 0; padding: 2px 0; }
  .reward-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(238, 241, 255, 0.45);
  }
}

/* ─── Rолik: светлая тема V2 ─── */
html.theme-v2.color-scheme-light .rolik-page .page-head h1 {
  color: var(--color-text, #0f172a) !important;
}

html.theme-v2.color-scheme-light .rolik-page .page-subtitle {
  color: var(--color-text-secondary, #475569) !important;
}

html.theme-v2.color-scheme-light .rolik-block {
  background: #fff !important;
  border: 1px solid var(--color-border-strong, rgba(15, 23, 42, 0.14)) !important;
  box-shadow: var(--shadow-soft, 0 1px 2px rgba(15, 23, 42, 0.06)) !important;
}

html.theme-v2.color-scheme-light .rolik-block h2 {
  color: var(--color-text, #0f172a) !important;
}

html.theme-v2.color-scheme-light .rolik-lead,
html.theme-v2.color-scheme-light .rolik-steps,
html.theme-v2.color-scheme-light .rolik-checks {
  color: var(--color-text-secondary, #475569) !important;
}

html.theme-v2.color-scheme-light .rolik-lead a,
html.theme-v2.color-scheme-light .rolik-steps a {
  color: var(--color-primary-active, #1d4ed8) !important;
}

html.theme-v2.color-scheme-light .rolik-note {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.32) !important;
  color: var(--color-text-secondary, #475569) !important;
}

html.theme-v2.color-scheme-light .reward-table th {
  color: var(--color-text-muted, #64748b) !important;
}

html.theme-v2.color-scheme-light .reward-table td {
  border-top-color: var(--color-border, rgba(15, 23, 42, 0.1)) !important;
  color: var(--color-text-secondary, #475569) !important;
}

html.theme-v2.color-scheme-light .reward-table__level {
  color: var(--color-text, #0f172a) !important;
}

html.theme-v2.color-scheme-light .reward-table__prize {
  color: #b45309 !important;
}

html.theme-v2.color-scheme-light .reward-table__free,
html.theme-v2.color-scheme-light .reward-table__balance {
  color: #15803d !important;
}

html.theme-v2.color-scheme-light .reward-table tr {
  border-top-color: var(--color-border, rgba(15, 23, 42, 0.1)) !important;
}

html.theme-v2.color-scheme-light .reward-table td::before {
  color: var(--color-text-muted, #64748b) !important;
}

@import url('../theme-v2-text-overrides.css?v=v2lock-1');
