﻿/* Rummy Skill theme — light directory layout */

:root {
  --rs-bg: #f4f7f4;
  --rs-surface: #ffffff;
  --rs-border: #e2e8e2;
  --rs-text: #1a2e1a;
  --rs-muted: #5c6b5c;
  --rs-primary: #16a34a;
  --rs-primary-hover: #15803d;
  --rs-primary-light: #dcfce7;
  --rs-bonus: #ea580c;
  --rs-bonus-bg: #fff7ed;
  --rs-shadow: 0 2px 12px rgba(22, 163, 74, 0.08);
  --rs-radius: 12px;
  --rs-max-width: 960px;
  --rs-font: 'Inter', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.rs-body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--rs-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--rs-text);
  background: var(--rs-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--rs-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.rs-shell {
  width: 100%;
  max-width: var(--rs-max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.rs-main {
  padding: 24px 0 48px;
}

.rs-page {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rs-page--centered {
  align-items: center;
  justify-content: center;
  min-height: 50dvh;
  text-align: center;
}

/* Header */
.rs-header {
  background: var(--rs-surface);
  border-bottom: 1px solid var(--rs-border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.rs-header__bar {
  border-bottom: 1px solid var(--rs-border);
}

.rs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.rs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rs-text);
  text-decoration: none;
  min-width: 0;
}

.rs-brand:hover {
  text-decoration: none;
}

.rs-brand__logo {
  border-radius: 10px;
  flex-shrink: 0;
}

.rs-brand__name {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-nav--utility {
  display: none;
  gap: 16px;
}

.rs-nav--main {
  display: none;
  width: 100%;
  gap: 0;
  padding: 0;
}

.rs-header__sub .rs-shell {
  padding-left: 0;
  padding-right: 0;
}

.rs-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rs-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.rs-nav__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--rs-primary);
}

.rs-nav__icon svg {
  width: 100%;
  height: 100%;
}

.rs-nav__link:hover {
  color: var(--rs-primary);
  background: var(--rs-primary-light);
  text-decoration: none;
}

.rs-nav__link--main {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  padding: 12px 8px;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
}

.rs-nav__link--main:hover {
  background: rgba(22, 163, 74, 0.06);
}

.rs-nav__link--main.is-active {
  color: var(--rs-primary);
  background: var(--rs-primary-light);
  border-bottom-color: var(--rs-primary);
}

.rs-nav__link--main.is-active .rs-nav__icon {
  color: var(--rs-primary-hover);
}

.rs-drawer__link.is-active {
  background: var(--rs-primary-light);
  color: var(--rs-primary);
  font-weight: 600;
}

.rs-drawer__link.is-active .rs-nav__icon {
  color: var(--rs-primary-hover);
}

.rs-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--rs-border);
  border-radius: 10px;
  background: var(--rs-surface);
  cursor: pointer;
  color: var(--rs-text);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
}

.rs-nav-toggle__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.rs-nav-toggle__label {
  display: inline;
}

.rs-header__sub {
  display: none;
}

/* Drawer — narrow screen side panel */
.rs-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.rs-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.rs-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.rs-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--rs-surface);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.rs-drawer.is-open .rs-drawer__panel {
  transform: translateX(0);
}

.rs-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--rs-border);
}

.rs-drawer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.rs-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: var(--rs-bg);
  cursor: pointer;
  color: var(--rs-text);
}

.rs-drawer__close svg {
  width: 22px;
  height: 22px;
}

.rs-drawer__brand-logo {
  border-radius: 8px;
}

.rs-drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rs-drawer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--rs-text);
  font-weight: 500;
  text-decoration: none;
}

.rs-drawer__link .rs-nav__icon {
  width: 22px;
  height: 22px;
}

.rs-drawer__link:hover {
  background: var(--rs-primary-light);
  color: var(--rs-primary);
  text-decoration: none;
}

.rs-drawer__foot {
  padding: 16px;
  border-top: 1px solid var(--rs-border);
}

.rs-drawer__notice-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--rs-primary);
  margin: 0 0 4px;
}

.rs-drawer__notice {
  font-size: 0.8125rem;
  color: var(--rs-muted);
  margin: 0;
  line-height: 1.5;
}

/* Top ad */
.rs-top-ad {
  background: var(--rs-surface);
  border-bottom: 1px solid var(--rs-border);
}

.rs-top-ad:has(+ .rs-notice-bar) {
  border-bottom: none;
}

.rs-top-ad[hidden] {
  display: none;
}

.rs-top-ad[hidden] + .rs-notice-bar {
  border-top: none;
}

.rs-top-ad__inner {
  width: 100%;
  max-width: var(--rs-max-width);
  margin: 0 auto;
  padding: 0;
}

.rs-top-ad__media {
  position: relative;
  overflow: hidden;
}

.rs-top-ad__media img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; }

.rs-top-ad__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

/* Home notice bar — between top ad and header bar */
.rs-notice-bar {
  margin: 0;
  background: linear-gradient(90deg, #ecfdf3 0%, #dcfce7 100%);
  color: #166534;
}

.rs-notice-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
}

.rs-notice-bar__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--rs-primary);
}

.rs-notice-bar__text {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.rs-hero {
  text-align: center;
  padding: 8px 0 16px;
}

.rs-hero__title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--rs-text);
}

.rs-hero__lead,
.rs-hero__lead-secondary {
  margin: 12px 0 0;
  color: var(--rs-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Banner carousel */
.rs-banner-carousel {
  position: relative;
  border-radius: var(--rs-radius);
  overflow: hidden;
  border: 1px solid var(--rs-border);
  box-shadow: var(--rs-shadow);
  background: var(--rs-surface);
}

.rs-banner-carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
}

.rs-banner-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

.rs-banner-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.rs-banner-carousel__link {
  display: block;
  width: 100%;
  height: 100%;
}

button.rs-banner-carousel__link,
.rs-banner-carousel__link--vacant {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.rs-banner-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.rs-banner-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(26, 46, 26, 0.55);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.rs-banner-carousel__nav--prev {
  left: 10px;
}

.rs-banner-carousel__nav--next {
  right: 10px;
}

.rs-banner-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.rs-banner-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.rs-banner-carousel__dot.is-active {
  width: 20px;
  background: #fff;
}

/* Latest blog (home) */
.rs-latest-blog__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.rs-latest-blog__more {
  margin: 16px 0 0;
  text-align: center;
}

/* App search */
.rs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rs-search__wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.rs-search__input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--rs-border);
  border-radius: 12px;
  background: var(--rs-surface);
  color: var(--rs-text);
  font-family: inherit;
  font-size: 1rem;
  box-shadow: var(--rs-shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rs-search__input::placeholder {
  color: var(--rs-muted);
}

.rs-search__input:focus {
  outline: none;
  border-color: var(--rs-primary);
  box-shadow: 0 0 0 3px var(--rs-primary-light);
}

.rs-search__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  overflow: hidden;
  border: 1px solid var(--rs-border);
  border-radius: 12px;
  background: var(--rs-surface);
  box-shadow: 0 12px 32px rgba(26, 46, 26, 0.12);
}

.rs-search__results[hidden] {
  display: none;
}

.rs-search__item {
  display: block;
  padding: 12px 16px;
  color: var(--rs-text);
  text-decoration: none;
  border-bottom: 1px solid var(--rs-border);
}

.rs-search__item:last-child {
  border-bottom: none;
}

.rs-search__item:hover,
.rs-search__item:focus-visible {
  background: var(--rs-primary-light);
  text-decoration: none;
}

.rs-search__item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}

.rs-search__item span {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  color: var(--rs-muted);
}

.rs-search__empty {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--rs-muted);
}

/* Section titles */
.rs-section-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.rs-section-lead {
  margin: 0 0 20px;
  color: var(--rs-muted);
  font-size: 0.9375rem;
}

.rs-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rs-primary);
  margin: 0 0 8px;
}

/* Podium — 领奖台 Top 3 */
.rs-podium {
  padding: 8px 12px 16px;
}

.rs-podium__stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: end;
  max-width: 720px;
  margin: 0 auto;
}

.rs-podium__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  background: var(--rs-surface);
  border: 1px solid var(--rs-border);
  border-radius: 16px;
  padding: 28px 16px 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.rs-podium__card--first {
  padding-top: 36px;
  padding-bottom: 20px;
  min-height: 280px;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.rs-podium__crown {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 0;
}

.rs-podium__crown-img {
  width: 44px;
  height: auto;
  display: block;
}

.rs-podium__crown-img--first {
  width: 52px;
}

.rs-podium__card--first .rs-podium__crown {
  top: -18px;
}

.rs-podium__icon-link {
  display: block;
  margin-bottom: 10px;
}

.rs-podium__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.rs-podium__icon--first {
  width: 96px;
  height: 96px;
  border-radius: 20px;
}

.rs-podium__name {
  margin: 0 0 10px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  width: 100%;
}

.rs-podium__card--first .rs-podium__name {
  font-size: 1rem;
}

.rs-podium__name a {
  color: var(--rs-text);
  text-decoration: none;
}

.rs-podium__name a:hover {
  color: var(--rs-primary);
}

.rs-podium__bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.rs-podium__bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-radius: 999px;
}

.rs-podium__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 0.75rem;
}

.rs-podium__stars-icons {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 0.8125rem;
}

.rs-podium__stars-label {
  color: var(--rs-muted);
  font-weight: 500;
}

.rs-podium__cta {
  width: 100%;
  margin-top: auto;
}

.rs-podium__jackpot {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0 0 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  border-radius: 10px;
  padding: 0.42rem 0.35rem 0.5rem;
  background: linear-gradient(155deg, #fffbeb 0%, #fde68a 34%, #f59e0b 66%, #16a34a 100%);
  box-shadow: 0 4px 12px -6px rgba(22, 163, 74, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.rs-podium__jackpot-burst {
  position: absolute;
  inset: -40% -25%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.1) 32%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.rs-podium__jackpot-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  border-radius: 999px;
  background: #166534;
  padding: 0.1rem 0.4rem;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

.rs-podium__jackpot-value {
  position: relative;
  z-index: 1;
  margin-top: 0.22rem;
  max-width: 100%;
  padding: 0 0.15rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: #14532d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-podium__jackpot--first {
  background: linear-gradient(155deg, #fff7ed 0%, #fed7aa 40%, #fb923c 78%, #ea580c 100%);
  box-shadow: 0 6px 14px -6px rgba(234, 88, 12, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.rs-podium__jackpot--first .rs-podium__jackpot-tag {
  background: rgba(154, 52, 18, 0.92);
}

.rs-podium__jackpot--first .rs-podium__jackpot-value {
  font-size: 1.05rem;
  color: #9a3412;
}

.rs-podium__perk {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  color: #15803d;
}

.rs-btn--podium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 0 12px;
  gap: 6px;
  font-size: 0.8125rem;
  border-radius: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rs-btn__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.6875rem;
  font-weight: 700;
  font-style: italic;
  flex-shrink: 0;
}

/* Tab groups */
.rs-tabs__nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
}

.rs-tabs__nav::-webkit-scrollbar {
  display: none;
}

.rs-tabs__btn {
  flex-shrink: 0;
  padding: 8px 18px;
  border: 1px solid var(--rs-border);
  border-radius: 999px;
  background: var(--rs-surface);
  color: var(--rs-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.rs-tabs__btn:hover {
  border-color: var(--rs-primary);
  color: var(--rs-primary);
}

.rs-tabs__btn.is-active {
  background: var(--rs-primary);
  border-color: var(--rs-primary);
  color: #fff;
}

.rs-tabs__panel {
  display: none;
}

.rs-tabs__panel.is-active {
  display: block;
}

/* App directory list — 1 col mobile, 2 col desktop */
.rs-directory__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.rs-app-card {
  background: var(--rs-surface);
  border: 1px solid #e5ebe5;
  border-radius: 14px;
  padding: 14px 14px 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.rs-app-card__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px 12px;
  align-items: center;
}

.rs-app-card__icon-link {
  position: relative;
  flex-shrink: 0;
  line-height: 0;
}

.rs-app-card__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 1;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}

.rs-app-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.rs-app-card__meta {
  min-width: 0;
  align-self: center;
}

.rs-app-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.rs-app-card__name {
  margin: 0;
  min-width: 0;
  flex: 0 1 auto;
  max-width: calc(100% - 4.5rem);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-app-card__name a {
  color: var(--rs-text);
  text-decoration: none;
}

.rs-app-card__name a:hover {
  color: var(--rs-primary);
}

.rs-app-card__rating {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.15rem;
  color: #d97706;
  font-weight: 600;
  line-height: 1;
}

.rs-app-card__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin-top: 3px;
  font-size: 0.75rem;
  line-height: 1.3;
}

.rs-app-card__row--offers {
  gap: 4px 6px;
}

.rs-app-card__row--bonus {
  color: #0891b2;
  font-weight: 700;
  gap: 4px 6px;
}

.rs-app-card__jackpot {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: min(100%, 9.5rem);
  min-height: 1.15rem;
  padding: 0.08rem 0.35rem;
  border-radius: 0.35rem;
  background: linear-gradient(105deg, #fff7ed 0%, #fed7aa 48%, #fb923c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  color: #9a3412;
  line-height: 1.1;
  overflow: hidden;
}

.rs-app-card__jackpot-tag {
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(154, 52, 18, 0.9);
  padding: 0.05rem 0.28rem;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}

.rs-app-card__jackpot-value {
  min-width: 0;
  font-size: 0.68rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-app-card__row--meta {
  color: #6b7280;
}

.rs-app-card__row--rating {
  color: #d97706;
  font-weight: 600;
}

.rs-app-card__row-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rs-app-card__platform {
  width: 15px;
  height: 15px;
}

.rs-app-card__platform--android {
  color: #3ddc84;
}

.rs-app-card__platform--apple {
  color: #007aff;
}

.rs-app-card__row-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.rs-app-card__row-icon--gift {
  color: #0891b2;
}

.rs-app-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 0.12rem 0.4rem;
  border: 1px solid #e5ebe5;
  border-radius: 999px;
  background: #f8faf8;
  color: #4b5563;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-app-card__chip-icon {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  opacity: 0.75;
}

.rs-app-card__chip--perk {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.rs-app-card__chip--feat {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.rs-app-card__chip--game {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.rs-app-card__extras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.35rem;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid #eef2ee;
}

.rs-app-card__extras + .rs-app-card__desc {
  border-top: none;
  padding-top: 0.45rem;
  margin-top: 0.45rem;
}

.rs-app-card__bonus {
  color: inherit;
  font-weight: inherit;
}

.rs-app-card__stars {
  display: inline-flex;
  gap: 1px;
  letter-spacing: 0;
  font-size: 0.7rem;
  line-height: 1;
}

.rs-app-card__star {
  color: #e5e7eb;
}

.rs-app-card__star--on {
  color: #f59e0b;
}

.rs-app-card__star--half {
  background: linear-gradient(90deg, #f59e0b 50%, #e5e7eb 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rs-app-card__rating-label {
  color: inherit;
  margin-left: 1px;
  font-weight: 700;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.rs-app-card__cta {
  align-self: center;
  flex-shrink: 0;
}

.rs-app-card__desc {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #eef2ee;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-directory__more {
  margin: 8px 0 0;
  text-align: center;
}

.rs-link-more {
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Buttons */
.rs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.rs-btn:active {
  transform: scale(0.98);
}

.rs-btn--primary {
  background: var(--rs-primary);
  color: #fff;
}

.rs-btn--primary:hover {
  background: var(--rs-primary-hover);
  color: #fff;
  text-decoration: none;
}

/* App card CTA — state colors */
.rs-btn--app {
  flex-direction: row;
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 14px;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1.2;
  min-width: auto;
  white-space: nowrap;
}

.rs-btn--app .rs-btn__info {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 700;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.rs-btn__info--download {
  font-style: normal;
  font-weight: 400;
}

.rs-btn__info--download svg {
  display: block;
  width: 11px;
  height: 11px;
}

.rs-btn--app .rs-btn__label {
  display: block;
  flex-shrink: 0;
}

.rs-btn--app-get {
  background: #16a34a;
  color: #fff;
}

.rs-btn--app-get:hover {
  background: #15803d;
  color: #fff;
  text-decoration: none;
}

.rs-btn--app-vacant {
  background: #ea580c;
  color: #fff;
}

.rs-btn--app-vacant:hover {
  background: #c2410c;
  color: #fff;
}

.rs-btn--app-bonus {
  background: #0891b2;
  color: #fff;
}

.rs-btn--app-bonus:hover {
  background: #0e7490;
  color: #fff;
  text-decoration: none;
}

.rs-btn--app-detail {
  background: #2563eb;
  color: #fff;
}

.rs-btn--app-detail:hover {
  background: #1d4ed8;
  color: #fff;
  text-decoration: none;
}

.rs-btn--block {
  width: 100%;
}

.rs-btn--lg {
  min-height: 48px;
  padding: 0 28px;
  font-size: 1rem;
}

/* FAQ */
.rs-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs-faq__item {
  background: var(--rs-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  overflow: hidden;
}

.rs-faq__question {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
}

.rs-faq__question::-webkit-details-marker {
  display: none;
}

.rs-faq__answer {
  padding: 0 16px 14px;
  font-size: 0.875rem;
  color: var(--rs-muted);
  line-height: 1.6;
}

.rs-faq__answer p {
  margin: 0 0 8px;
}

.rs-faq__answer p:last-child {
  margin-bottom: 0;
}

/* Page header */
.rs-page-header {
  text-align: center;
  padding-bottom: 8px;
}

.rs-page-header__title {
  margin: 0;
  font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  font-weight: 700;
}

.rs-page-header__lead {
  margin: 10px 0 0;
  color: var(--rs-muted);
  font-size: 0.9375rem;
}

/* App detail */
.rs-app-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(22, 163, 74, 0.14), transparent 52%),
    radial-gradient(95% 80% at 100% 0%, rgba(249, 115, 22, 0.14), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf7 100%);
  border: 1px solid rgba(22, 163, 74, 0.16);
  border-radius: 1.05rem;
  padding: 1rem 1rem 1.15rem;
  text-align: left;
  box-shadow:
    0 14px 28px -20px rgba(22, 163, 74, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.rs-app-hero--deal {
  border-color: rgba(234, 88, 12, 0.22);
}

.rs-app-hero__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff7ed, #ffedd5);
  border: 1px solid #fdba74;
  color: #9a3412;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}

.rs-app-hero__flag-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #ea580c;
  box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.55);
  animation: rs-hero-pulse 1.6s ease-out infinite;
}

@keyframes rs-hero-pulse {
  0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.5); }
  70% { box-shadow: 0 0 0 0.45rem rgba(234, 88, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.rs-app-hero__top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.rs-app-hero__icon-wrap {
  position: relative;
  flex-shrink: 0;
  border-radius: 1.25rem;
  padding: 0.2rem;
  background: linear-gradient(145deg, #86efac, #16a34a 45%, #f97316);
  box-shadow: 0 10px 22px -12px rgba(22, 163, 74, 0.7);
}

.rs-app-hero__icon {
  display: block;
  margin: 0;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 1.05rem;
  object-fit: cover;
  background: #fff;
  border: 2px solid #fff;
}

.rs-app-hero__identity {
  min-width: 0;
  flex: 1;
}

.rs-app-hero__title {
  margin: 0;
  font-size: clamp(1.28rem, 4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--rs-text);
}

.rs-app-hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-top: 0.45rem;
}

.rs-app-hero__proof-item {
  font-size: 0.72rem;
  font-weight: 700;
  color: #4b5563;
  line-height: 1.2;
}

.rs-app-hero__proof-item--rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #b45309;
}

.rs-app-hero__proof-stars {
  color: #f59e0b;
  letter-spacing: -0.05em;
  font-size: 0.68rem;
}

.rs-app-hero__summary {
  margin: 0.45rem 0 0;
  color: var(--rs-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rs-app-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.35rem;
  margin: 0.65rem 0 0;
}

.rs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #f8faf8;
  border: 1px solid #e5ebe5;
  color: #4b5563;
  line-height: 1.2;
}

.rs-badge__icon {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  opacity: 0.75;
}

.rs-badge--rating {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}

.rs-badge--bonus {
  color: var(--rs-bonus);
  background: var(--rs-bonus-bg);
  border-color: transparent;
}

.rs-spec-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  padding: 0;
  text-align: left;
  max-width: none;
  font-size: 0.75rem;
}

.rs-spec-list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(226, 232, 226, 0.95);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.78);
}

.rs-spec-list li:last-child {
  border-bottom: 1px solid rgba(226, 232, 226, 0.95);
}

.rs-spec-list__k {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rs-muted);
}

.rs-spec-list__v {
  font-weight: 700;
  color: var(--rs-text);
  line-height: 1.2;
  word-break: break-word;
}

.rs-spec-list strong {
  color: var(--rs-text);
}

.rs-app-hero__cta {
  margin-top: 0.9rem;
}

.rs-app-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  max-width: none;
  min-height: 3.35rem;
  padding: 0.65rem 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 58%, #15803d 100%);
  box-shadow:
    0 12px 22px -12px rgba(22, 163, 74, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: rs-hero-cta-glow 2.4s ease-in-out infinite;
}

.rs-app-hero__btn:hover {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  filter: brightness(1.03);
}

.rs-app-hero__btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  line-height: 1.15;
}

.rs-app-hero__btn-main {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.rs-app-hero__btn-sub {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.92;
}

.rs-app-hero__disclaimer {
  margin: 0.55rem 0 0;
  max-width: 36rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--rs-muted);
}

@keyframes rs-hero-cta-glow {
  0%, 100% { box-shadow: 0 12px 22px -12px rgba(22, 163, 74, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  50% { box-shadow: 0 14px 28px -10px rgba(22, 163, 74, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
}

@media (min-width: 640px) {
  .rs-app-hero {
    padding: 1.25rem 1.35rem 1.35rem;
  }

  .rs-app-hero__icon {
    width: 6.25rem;
    height: 6.25rem;
  }

  .rs-app-hero__btn {
    width: auto;
    min-width: 16rem;
    padding-inline: 1.35rem;
  }
}

@media (max-width: 420px) {
  .rs-spec-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-app-hero__flag-dot,
  .rs-app-hero__btn,
  .rs-detail-offer__shine {
    animation: none !important;
  }
}

/* Related apps */
.rs-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.rs-related__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: var(--rs-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  text-align: center;
  text-decoration: none;
  color: var(--rs-text);
}

.rs-related__card:hover {
  border-color: var(--rs-primary);
  text-decoration: none;
}

.rs-related__card img {
  border-radius: 12px;
  object-fit: cover;
}

.rs-related__name {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.rs-related__rating {
  font-size: 0.75rem;
  color: var(--rs-muted);
}

/* Blog */
.rs-blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.rs-blog-card {
  --rs-blog-cover-w: 132px;
  --rs-blog-cover-h: calc(var(--rs-blog-cover-w) * 3 / 4);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: var(--rs-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  overflow: hidden;
  box-shadow: var(--rs-shadow);
}

.rs-blog-card__cover-link {
  flex: 0 0 var(--rs-blog-cover-w);
  width: var(--rs-blog-cover-w);
  height: var(--rs-blog-cover-h);
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border-right: 1px solid var(--rs-border);
  line-height: 0;
  background: var(--rs-bg);
}

.rs-blog-card__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-blog-card__body {
  flex: 1;
  min-width: 0;
  height: var(--rs-blog-cover-h);
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
}

.rs-blog-card--no-cover .rs-blog-card__body {
  height: auto;
  min-height: 0;
  padding: 12px 14px;
}

.rs-blog-card__body .rs-eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.rs-blog-card__title {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-blog-card__title a {
  color: var(--rs-text);
  text-decoration: none;
}

.rs-blog-card__title a:hover {
  color: var(--rs-primary);
}

.rs-blog-card__desc {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--rs-muted);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-blog-hero {
  background: var(--rs-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  box-shadow: var(--rs-shadow);
  overflow: hidden;
}

.rs-blog-hero__inner {
  display: flex;
  align-items: stretch;
}

.rs-blog-hero__inner--no-media .rs-blog-hero__content {
  width: 100%;
}

.rs-blog-hero__media {
  flex: 0 0 min(38%, 280px);
  align-self: flex-start;
  border-right: 1px solid var(--rs-border);
  background: var(--rs-bg);
}

.rs-blog-hero__cover {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rs-blog-hero__content {
  flex: 1;
  min-width: 0;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.rs-blog-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.rs-blog-hero__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rs-primary);
  background: var(--rs-primary-light);
}

.rs-blog-hero__title {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--rs-text);
}

.rs-blog-hero__desc {
  margin: 12px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--rs-muted);
}

.rs-blog-hero__meta {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  color: var(--rs-muted);
}

.rs-blog-hero__content .rs-eyebrow {
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .rs-blog-hero__inner {
    flex-direction: column;
  }

  .rs-blog-hero__media {
    flex: none;
    width: 100%;
    max-width: none;
    align-self: auto;
    border-right: none;
    border-bottom: 1px solid var(--rs-border);
  }

  .rs-blog-hero__cover {
    aspect-ratio: 16 / 9;
  }

  .rs-blog-hero__content {
    padding: 18px 16px;
  }
}

.rs-blog-meta {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  color: var(--rs-muted);
}

/* Prose */
.rs-prose {
  background: var(--rs-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  padding: 24px 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--rs-muted);
}

.rs-prose h2,
.rs-prose h3 {
  color: var(--rs-text);
  margin: 1.25em 0 0.5em;
  font-size: 1.0625rem;
}

.rs-prose p {
  margin: 0 0 1em;
}

.rs-prose ul,
.rs-prose ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.rs-prose strong {
  color: var(--rs-text);
}

.rs-prose a {
  color: var(--rs-primary);
}

/* Empty / 404 */
.rs-empty,
.rs-404__code {
  text-align: center;
}

.rs-empty {
  padding: 48px 20px;
  background: var(--rs-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
}

.rs-empty__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.rs-empty__body {
  margin: 0;
  color: var(--rs-muted);
  font-size: 0.9375rem;
}

.rs-404__code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--rs-primary);
  opacity: 0.45;
  margin: 0;
  line-height: 1;
}

.rs-404__title {
  margin: 12px 0 8px;
  font-size: 1.25rem;
}

.rs-404__body {
  margin: 0 0 24px;
  color: var(--rs-muted);
  font-size: 0.9375rem;
  max-width: 320px;
}

/* Floating partner links — fixed right, vertically centered */
.rs-floating-links {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-right: 8px;
  transform: translateY(-50%);
  pointer-events: none;
}

.rs-floating-links__item {
  pointer-events: auto;
  display: block;
  line-height: 0;
  padding: 6px;
  border: 1px solid var(--rs-border);
  border-radius: 10px;
  background: var(--rs-surface);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rs-floating-links__item:hover,
.rs-floating-links__item:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.rs-floating-links__item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .rs-floating-links {
    padding-right: 4px;
    gap: 8px;
  }

  .rs-floating-links__item {
    padding: 4px;
    border-radius: 8px;
  }

  .rs-floating-links__item img {
    max-width: 34px;
    max-height: 34px;
  }
}

@media (min-width: 768px) {
  .rs-floating-links {
    padding-right: 12px;
    gap: 14px;
  }

  .rs-floating-links__item img {
    max-width: 48px;
    max-height: 48px;
  }
}

/* Footer */
.rs-footer {
  margin-top: 24px;
  background: var(--rs-surface);
  border-top: 1px solid var(--rs-border);
}

.rs-footer__body {
  padding: 36px 16px 28px;
}

.rs-footer__top {
  display: grid;
  gap: 28px;
}

.rs-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rs-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
}

.rs-footer__brand-link:hover {
  color: var(--rs-primary);
  text-decoration: none;
}

.rs-footer__logo {
  border-radius: 12px;
  flex-shrink: 0;
}

.rs-footer__tagline {
  margin: 10px 0 0;
  max-width: 360px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--rs-muted);
}

.rs-footer__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.rs-footer__column-title {
  margin: 0 0 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rs-muted);
}

.rs-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs-footer__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rs-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.rs-footer__links a:hover {
  color: var(--rs-primary);
}

.rs-footer__notice {
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: var(--rs-radius);
  background: var(--rs-primary-light);
  border: 1px solid #bbf7d0;
}

.rs-footer__notice-bold {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rs-primary-hover);
}

.rs-footer__notice-detail {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--rs-muted);
}

.rs-footer__bar {
  background: linear-gradient(180deg, #166534 0%, #14532d 100%);
  color: #ecfdf5;
}

.rs-footer__bar-inner {
  padding: 20px 16px 24px;
  text-align: center;
}

.rs-footer__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 4px;
  margin-bottom: 14px;
}

.rs-footer__quick a {
  color: #ecfdf5;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.rs-footer__quick a:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.rs-footer__quick a:not(:last-child)::after {
  content: '|';
  margin-left: 10px;
  color: rgba(236, 253, 245, 0.45);
  font-weight: 400;
  pointer-events: none;
}

.rs-footer__disclaimer {
  margin: 0 0 10px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(236, 253, 245, 0.82);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.rs-footer__disclaimer:last-of-type {
  margin-bottom: 12px;
}

.rs-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(236, 253, 245, 0.65);
}

/* Modal */
.rs-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
}

.rs-modal:not([hidden]) {
  display: flex;
}

.rs-modal__panel {
  width: 100%;
  max-width: 420px;
  background: var(--rs-surface);
  border-radius: var(--rs-radius);
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.rs-modal__title {
  margin: 0 0 10px;
  font-size: 1.125rem;
}

.rs-modal__body {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: var(--rs-muted);
  line-height: 1.5;
}

.rs-modal__contacts {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs-modal__contacts a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--rs-border);
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
}

.rs-modal__close {
  width: 100%;
}

/* Download dock */
.rs-download-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: var(--rs-surface);
  border-top: 1px solid var(--rs-border);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

body.has-download-dock-page {
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}

.rs-download-dock__inner {
  max-width: var(--rs-max-width);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rs-download-dock__icon {
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}

.rs-download-dock__meta {
  flex: 1;
  min-width: 0;
}

.rs-download-dock__title-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.rs-download-dock__name {
  margin: 0;
  min-width: 0;
  flex: 0 1 auto;
  max-width: calc(100% - 3.25rem);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-download-dock__rating {
  flex-shrink: 0;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: #d97706;
  line-height: 1;
}

.rs-download-dock__offers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  margin-top: 0.28rem;
}

.rs-download-dock__jackpot {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  max-width: min(100%, 8.5rem);
  min-height: 1.35rem;
  padding: 0.12rem 0.45rem 0.12rem 0.32rem;
  border-radius: 0.4rem;
  background: linear-gradient(105deg, #f97316 0%, #ea580c 48%, #c2410c 100%);
  box-shadow: 0 3px 8px -4px rgba(194, 65, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  line-height: 1;
  overflow: hidden;
}

.rs-download-dock__jackpot-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  color: #fff;
}

.rs-download-dock__jackpot-value {
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-download-dock__perk {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.08rem 0.36rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-download-dock__hint {
  margin: 0.2rem 0 0;
  font-size: 0.66rem;
  line-height: 1.35;
  color: var(--rs-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-download-dock__cta {
  flex-shrink: 0;
  min-height: 2.35rem;
  padding: 0 0.95rem;
  border-radius: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Back to top */
.rs-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 30;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--rs-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--rs-shadow);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.1s ease;
}

.rs-back-to-top:hover {
  background: var(--rs-primary-hover);
}

.rs-back-to-top:active {
  transform: scale(0.96);
}

.rs-back-to-top__icon {
  width: 20px;
  height: 20px;
  display: block;
}

.rs-back-to-top:not([hidden]) {
  display: flex;
}

body.has-download-dock-page .rs-back-to-top {
  bottom: 88px;
}

/* Desktop */
@media (min-width: 768px) {
  .rs-podium__stage {
    gap: 24px;
  }

  .rs-podium__card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .rs-podium__card--first {
    min-height: 300px;
  }

  .rs-nav-toggle {
    display: none;
  }

  .rs-drawer {
    display: none;
  }

  .rs-nav--utility {
    display: flex;
  }

  .rs-header__sub {
    display: block;
  }

  .rs-nav--main {
    display: flex;
  }

  .rs-directory__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .rs-blog-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .rs-latest-blog__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .rs-footer__top {
    grid-template-columns: minmax(220px, 280px) 1fr;
    align-items: start;
    gap: 40px;
  }

  .rs-footer__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rs-app-card__icon {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 767px) {
  .rs-header__sub {
    display: none;
  }

  .rs-nav--utility {
    display: none;
  }

  .rs-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .rs-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .rs-main {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .rs-page {
    gap: 18px;
  }

  .rs-hero {
    padding: 0 0 4px;
  }

  .rs-hero__lead,
  .rs-hero__lead-secondary {
    margin-top: 8px;
  }

  .rs-section-lead {
    margin-bottom: 12px;
  }

  .rs-tabs__nav {
    gap: 6px;
    margin-bottom: 12px;
  }

  .rs-podium {
    padding: 0 8px 8px;
  }

  .rs-podium__stage {
    gap: 8px;
  }

  .rs-podium__card {
    min-width: 0;
    padding: 16px 8px 8px;
    border-radius: 10px;
  }

  .rs-podium__card--first {
    padding-top: 20px;
    padding-bottom: 10px;
    min-height: 0;
  }

  .rs-podium__crown {
    top: -10px;
  }

  .rs-podium__crown-img {
    width: 30px;
  }

  .rs-podium__crown-img--first {
    width: 36px;
  }

  .rs-podium__card--first .rs-podium__crown {
    top: -12px;
  }

  .rs-podium__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .rs-podium__icon--first {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }

  .rs-podium__icon-link {
    margin-bottom: 4px;
  }

  .rs-podium__name {
    margin-bottom: 4px;
    font-size: 0.6875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 2px;
  }

  .rs-podium__card--first .rs-podium__name {
    font-size: 0.75rem;
  }

  .rs-podium__bar {
    height: 5px;
    margin-bottom: 3px;
  }

  .rs-podium__stars {
    margin-bottom: 6px;
    gap: 2px;
    font-size: 0.625rem;
  }

  .rs-podium__stars-icons {
    font-size: 0.5625rem;
    letter-spacing: 0;
  }

  .rs-btn--podium {
    min-height: 30px;
    padding: 0 4px;
    gap: 3px;
    font-size: 0.5625rem;
    border-radius: 6px;
  }

  .rs-btn--podium .rs-btn__info {
    width: 12px;
    height: 12px;
    font-size: 0.5rem;
  }

  .rs-app-card {
    padding: 12px 10px 8px;
  }

  .rs-app-card__head {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .rs-app-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .rs-app-card__name {
    font-size: 0.875rem;
  }

  .rs-app-card__row {
    font-size: 0.6875rem;
  }

  .rs-app-card__cta {
    align-self: center;
    flex-shrink: 0;
  }

  .rs-app-card__cta .rs-btn--app {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.6875rem;
  }

  .rs-back-to-top {
    right: 10px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 360px) {
  .rs-podium__stars-icons {
    display: none;
  }

  .rs-podium__stage {
    gap: 6px;
  }

  .rs-page {
    gap: 14px;
  }
}

.editors-ranking{margin-top:1.25rem}
.editors-ranking__head{margin-bottom:.75rem}
.editors-ranking__list{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  background:transparent;
  border:0;
  border-radius:0;
  overflow:visible;
}
.editors-ranking__list .rs-app-card{margin:0}

/* CMS 2.5.0 contract extras (keep rs-* look) */
.rs-important-notice {
  border-top: 1px solid var(--rs-border, #e5e7eb);
  background: #f0fdf4;
  padding: 1rem 0;
}
.rs-important-notice__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #14532d;
}
.rs-important-notice__body {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #3f6212;
}
.rs-seo-blocks {
  display: grid;
  gap: 1.25rem;
}
.rs-seo-blocks__columns {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4b5563;
}
@media (min-width: 640px) {
  .rs-seo-blocks__columns {
    grid-template-columns: 1fr 1fr;
  }
}
.rs-seo-blocks__copy {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4b5563;
}
.rs-seo-blocks__copy p,
.rs-seo-blocks__columns p {
  margin: 0 0 0.65rem;
}
.rs-footer__friends {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rs-border, #e2e8e2);
}
.rs-footer__friends-title {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rs-muted, #5c6b5c);
}
.rs-footer__friends-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rs-footer__friends-list a {
  color: var(--rs-text, #1a2e1a);
  font-size: 0.8125rem;
  text-decoration: none;
}
.rs-footer__friends-list a:hover {
  color: var(--rs-primary, #16a34a);
}
.rs-tabs__nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
}
.rs-tabs__nav::-webkit-scrollbar {
  display: none;
}
.rs-tabs__btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.rs-tabs__panel[hidden] {
  display: none !important;
}
.rs-filters {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.rs-filters__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.rs-filters__label {
  margin-right: 0.15rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}
.rs-filters__chip {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
}
.rs-filters__chip.is-active,
.rs-filters__chip:hover {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #166534;
}
.rs-filters__empty[hidden] {
  display: none;
}
.rs-app-card__rank {
  position: absolute;
  top: -0.3rem;
  left: -0.3rem;
  z-index: 2;
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.3rem;
  background: #166534;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.rs-detail-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  max-width: none;
  text-align: left;
}
@media (min-width: 420px) {
  .rs-detail-offer:has(.rs-detail-offer__bonus):has(.rs-detail-offer__perk) {
    grid-template-columns: 1.55fr 1fr;
  }
}
.rs-detail-offer__bonus,
.rs-detail-offer__perk {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
  overflow: hidden;
}
.rs-detail-offer__bonus {
  border: 0;
  background: linear-gradient(115deg, #fb923c 0%, #ea580c 42%, #c2410c 100%);
  box-shadow: 0 10px 20px -10px rgba(194, 65, 12, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #fff;
}
.rs-detail-offer__shine {
  position: absolute;
  inset: -20% auto -20% -30%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  animation: rs-offer-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rs-offer-shine {
  0%, 35% { left: -35%; opacity: 0; }
  50% { opacity: 1; }
  70%, 100% { left: 110%; opacity: 0; }
}
.rs-detail-offer__perk {
  border: 0;
  background: linear-gradient(145deg, #22c55e 0%, #16a34a 48%, #14532d 100%);
  box-shadow: 0 10px 20px -12px rgba(22, 163, 74, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
}
.rs-detail-offer__gift {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}
.rs-detail-offer__perk-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}
.rs-detail-offer__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.rs-detail-offer__kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.rs-detail-offer__label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.rs-detail-offer__perk .rs-detail-offer__label {
  color: rgba(255, 255, 255, 0.88);
}
.rs-detail-offer__value,
.rs-detail-offer__perk-value {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}
.rs-detail-offer__perk-value {
  font-size: clamp(1.2rem, 4.2vw, 1.55rem);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.rs-app-hero__vacant-note {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: #b45309;
}
.rs-download-dock--rich .rs-download-dock__inner {
  align-items: center;
  padding-top: 0.55rem;
  padding-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
}
.rs-download-dock {
  height: auto !important;
  min-height: 0 !important;
}
.rs-modal__x {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.4rem;
  background: #fff;
  color: #111827;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.rs-modal__panel {
  position: relative;
}
.rs-modal__note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
}
.rs-prose--blog-detail > h1:first-child {
  display: none;
}
.rs-notice-bar__emoji {
  flex-shrink: 0;
}
.rs-recommended {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rs-border, #e2e8e2);
}
.rs-recommended__head {
  margin-bottom: 0.75rem;
}
.rs-recommended .rs-section-title {
  margin: 0 0 0.3rem;
  font-size: 1.125rem;
  line-height: 1.3;
}
.rs-recommended .rs-section-lead {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--rs-muted, #5c6b5c);
}
.rs-recommended .rs-directory__list {
  margin-top: 0;
}
.editors-ranking__head .rs-section-title {
  margin-bottom: 0.25rem;
}
.editors-ranking__head .rs-section-lead {
  margin: 0;
  color: var(--rs-muted, #5c6b5c);
  font-size: 0.875rem;
}

/* Top ad: match body max-width, zero padding on all sides */
[data-global-top-ad],
[data-global-top-ad].page-wrap,
[data-global-top-ad] .page-wrap,
[data-global-top-ad] .page-shell,
[data-global-top-ad] .m-shell,
[data-global-top-ad] .global-top-ad__inner,
[data-global-top-ad] .global-top-ad__shell,
[data-global-top-ad] .global-top-ad__media,
[data-global-top-ad] .global-top-ad__frame,
[data-global-top-ad] .rs-top-ad__inner,
[data-global-top-ad] .rs-top-ad__media,
.rs-top-ad,
.rs-top-ad__inner,
.rs-top-ad__media {
  padding: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-inline: 0 !important;
  padding-block: 0 !important;
}
[data-global-top-ad] img,
.rs-top-ad__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
