.top-header {
  border-bottom: 1px solid var(--line);
  padding: 4px 15px 8px;
  margin: 0 -15px;
}

/* -------- SEARCH BAR -------- */
.search-bar {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0;
}

.search-bar.is-open {
  max-height: 60px;
  padding-top: 8px;
}

.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1d1f25;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
  height: 36px;
  color: #9ca3af;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.75rem;
  font-family: inherit;
}

.search-input::placeholder {
  color: #6d7280;
}

.search-clear {
  border: none;
  background: none;
  flex-shrink: 0;
}

:root[data-theme="light"] .search-bar-inner {
  background: #f0f2f5;
  border-color: var(--line);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-row h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.welcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.welcome-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.welcome-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.1;
}

.welcome-name {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
}

.top-actions {
  display: inline-flex;
  gap: 6px;
}

.icon-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #1d1f25;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.icon-btn svg {
  color: #9ca3af;
  display: block;
  flex-shrink: 0;
}

/* theme toggle icons */
#theme-toggle .icon-sun  { display: none; }
#theme-toggle .icon-moon { display: block; }

:root[data-theme="light"] #theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] #theme-toggle .icon-sun  { display: block; }

/* -------- HERO -------- */
.hero-card {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.hero-slides-container {
  position: relative;
  width: 100%;
}

.hero-slides-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.56) 0%,
    rgba(0, 0, 0, 0.3) 36%,
    rgba(0, 0, 0, 0.18) 68%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.hero-slides-container.is-fade-in {
  animation: hero-fade-in 420ms ease;
}

@keyframes hero-fade-in {
  from {
    opacity: 0.35;
    transform: scale(1.01);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

[data-carousel-slide] {
  position: relative;
  width: 100%;
  display: none;
}

[data-carousel-slide] {
  display: block;
}

.hero-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

.hero-sub,
.hero-meta {
  margin: 0;
  font-size: 0.56rem;
  letter-spacing: 0.01em;
}

.hero-sub {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.95;
}

.hero-sub::before {
  content: "⚡";
  width: auto;
  height: auto;
  font-size: 0.62rem;
  line-height: 1;
}

.hero-overlay h2 {
  margin: 5px 0 6px;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 700;
  max-width: 64%;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.56rem;
  font-weight: 500;
}

.hero-rating,
.hero-players {
  position: relative;
  padding-left: 13px;
}

.hero-rating::before,
.hero-players::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background-repeat: no-repeat;
  background-size: 9px 9px;
}

.hero-rating::before {
  background-image: url("../images/icon-star.svg");
}

.hero-players::before {
  background-image: url("../images/icon-user.svg");
  filter: brightness(0) invert(0.92);
}

.hero-play {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  z-index: 3;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hero-play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #de2b2b;
  margin-left: 2px;
}

/* -------- DOTS -------- */
.dot-indicator {
  margin: 7px 0 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.dot-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b6f7a;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.dot-indicator span.active {
  background: var(--brand);
  width: 16px;
  border-radius: 3px;
}

/* -------- CHIPS -------- */
.chip-row {
  margin-top: 11px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding-top: 8px;
  padding-bottom: 8px;
  margin-left: -15px;
  margin-right: -15px;
  padding-left: 15px;
  padding-right: 15px;
}

.chip-row::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  background: #272940;
  border: 1px solid #313451;
  color: #f2f4fa;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  font-weight: 500;
}

.chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-contrast);
  box-shadow: none;
}

/* -------- SECTIONS -------- */
.section-block {
  margin-top: 20px;
}
.section-head.pad-20 {
  padding: 15px 0 0px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  position: relative;
  padding-left: 12px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  bottom: 1px;
  width: 4px;
  border-radius: 2px;
  background: var(--brand);
  height: 20px;
}

.panel .section-head h2 {
  font-size: 0.95rem;
  padding-left: 0;
}

.panel .section-head h2::before {
  display: none;
}

.text-link {
  font-size: 0.7rem;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.text-link::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}

/* -------- LIST CARDS (Campaigns & New Games) -------- */
.list-rows,
.new-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.list-card,
.new-card,
.tile-card,
.wide-card {
  background: #0d0f14;
  border: 1px solid var(--line);
}

.list-card {
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
}

.list-card .card-copy {
  padding: 8px 10px 8px 0;
}

.new-card {
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.new-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.new-card img {
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  width: 75px;
  height: 60px;
}

.new-card-info {
  flex: 1;
  min-width: 0;
}

.new-card .muted {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.5;
  color: var(--muted);
}

.list-card img {
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  height: 90px;
  width: 150px;
}

.card-copy {
  flex: 1;
  min-width: 0;
}

.card-copy h3,
.tile-card h3,
.wide-copy h3 {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.25;
  font-weight: 500;
}

.new-card h3 {
  margin: 0 0 4px;
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 700;
}

/* -------- STATS -------- */
.stats {
  margin: 3px 0 0;
  color: #9ca3af;
  font-size: 0.66rem;
  display: inline-flex;
  gap: 10px;
}

.stats span {
  position: relative;
  padding-left: 15px;
}

.stats span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-size: 10px 10px;
  background-repeat: no-repeat;
}

.stats span:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.stats span:last-child {
  color: #f1c40f;
  padding-left: 15px;
}

.stats span:last-child::before {
  background-image: url("../images/icon-star.svg");
  width: 12px;
  height: 12px;
  background-size: 12px 12px;
}

/* -------- BANNER -------- */
.banner {
  margin-top: 20px;
}

.banner > img[data-carousel-image] {
  border-radius: 10px;
  border: 1px solid var(--line);
  width: 100%;
  height: 60px;
  object-fit: cover;
  display: block;
}

.banner-slides-container {
  position: relative;
  width: 100%;
}

.banner-slide {
  position: relative;
  width: 100%;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.banner[data-carousel="banner-a"] .banner-slide, .banner[data-carousel="banner-b"] .banner-slide, .banner[data-carousel="banner-c"] .banner-slide {
  height: 100px;
}

.banner-slide-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-slide-accent {
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 52px;
  height: 24px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* -------- HORIZONTAL SCROLL ROW (Top Games) -------- */
.scroll-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.scroll-row::-webkit-scrollbar { display: none; }

.portrait-card {
  flex: 0 0 148px;
  background: #0d0f14;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.portrait-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.portrait-copy {
  padding: 8px 9px 9px;
}

.portrait-copy h3 {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

.portrait-card .stats {
  margin: 0;
  font-size: 0.6rem;
}

:root[data-theme="light"] .portrait-card {
  background: var(--surface);
}

/* -------- GRID CARDS (Android / Arcade / Casual) -------- */
.grid-cards {
  display: grid;
  gap: 15px;
}

.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-col   { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tile-card {
  border-radius: 9px;
  padding: 0;
  overflow: hidden;
}

.tile-card img {
  border-radius: 0;
  width: 100%;
  height: 135px;
  object-fit: cover;
  display: block;
}

.tile-copy {
  padding: 10px 10px 8px;
}

.tile-card h3 {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
}

.tile-card .stats {
  margin-top: 2px;
}

/* -------- TAG PILLS -------- */
.tag-row {
  margin: 4px 0 3px;
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}

.tag-row span {
  background: #1c0e1b;
  border: 1px solid #de2b2b;
  border-radius: 999px;
  padding: 1px 5px;
  color: #f0c8da;
  font-size: 0.5rem;
  line-height: 1.15;
}

:root[data-theme="light"] .tag-row span {
  background: #ffffff;
  border-color: #d1d5db;
  color: #111318;
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.56rem;
  line-height: 1.3;
}

/* -------- ONLINE GAMES PANEL -------- */
.panel {
  background: #191c23;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 8px 6px;
}

.panel .dot-indicator {
  margin-top: 8px;
}

[data-carousel-image],
[data-carousel-target] {
  transition: filter 220ms ease, opacity 220ms ease;
}

/* -------- WIDE CARD (Online Games featured) -------- */
.wide-card {
  border-radius: 8px;
  overflow: hidden;
}

.online-slides-container {
  position: relative;
  width: 100%;
}

.wide-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
}

.wide-copy {
  padding: 10px 10px 6px;
}

/* -------- FOOTER -------- */
.footer-block {
  margin-top: 12px;
  margin-left: -14px;
  margin-right: -14px;
  background: #0a0c11;
  border-top: 1px solid var(--line);
  padding: 14px 14px 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-link-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6d7280;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0 16px;
}

.footer-sep {
  display: block;
  width: 1px;
  height: 18px;
  background: var(--line);
  flex-shrink: 0;
}

.footer-hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}

.footer-bottom {
  display: flex;
  align-items: stretch;
}

.footer-left {
  flex: 1.3;
  padding-right: 12px;
}

.footer-call-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #13161c;
  border: 1px solid #252932;
  border-radius: 12px;
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
}

.footer-phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2e2e2e;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #e04040;
}

.footer-call-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-call-label {
  font-size: 0.55rem;
  color: var(--muted);
  font-weight: 400;
}

.footer-call-number {
  font-size: 0.72rem;
  font-weight: 700;
  color: #e8eaf0;
}

.footer-call-chevron {
  color: #e04040;
  flex-shrink: 0;
}

.footer-vsep {
  display: block;
  width: 1px;
  background: var(--line);
  flex-shrink: 0;
  margin: 0 12px;
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.footer-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #9ca3af;
  font-size: 0.58rem;
}

.footer-social-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.footer-social-icon--insta {
  background: #2a1525;
  color: #c060a0;
}

.footer-social-icon--tg {
  background: #0d1f30;
  color: #2aabee;
}

/* -------- SIDE DRAWER -------- */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
}

.drawer-overlay.is-open {
  display: block;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 78%;
  max-width: 300px;
  background: #0d0f14;
  border-left: 1px solid var(--line);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}

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

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--line);
}

.drawer-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.drawer-close {
  flex-shrink: 0;
}

.drawer-nav {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #cdd0dc;
  border-bottom: 1px solid var(--line);
}

.drawer-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1d1f25;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #9ca3af;
}

.drawer-item--logout,
.drawer-item--logout .drawer-icon {
  color: #e04040;
}

/* -------- GAME DETAILS PAGE -------- */
.game-hero-card {
  margin: 0 -15px;
  background: #050607;
  overflow: hidden;
}

.game-hero-media {
  position: relative;
}

.game-hero-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 180px;
  background: linear-gradient(180deg, rgba(5, 6, 7, 0) 0%, rgba(5, 6, 7, 0.2) 28%, #050607 100%);
  pointer-events: none;
}

.game-hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.game-hero-badge {
  position: absolute;
  top: 18px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  background: #d92b28;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.game-hero-badge-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  display: block;
}

.game-sub {
  margin: 0;
  font-size: 0.86rem;
  color: #8e929b;
  letter-spacing: -0.01em;
  font-weight: 500;
  position: relative;
  padding-left: 20px;
}

.game-sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: url("../images/icon-user.svg") no-repeat center/14px 14px;
  opacity: 0.8;
}

.game-hero-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -44%);
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.game-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 1;
}

.game-hero-media.is-playing .game-hero-video { display: block; }
.game-hero-media.is-playing .game-hero-play  { display: none; }
.game-hero-media.is-playing .game-hero-badge { display: none; }

.game-hero-stop {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
  place-items: center;
  line-height: 1;
  display: none;
}

.game-hero-media.is-playing .game-hero-stop {
  display: grid;
}

.game-hero-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #09171f;
}

.game-hero-body {
  padding: 18px 24px 20px;
  background: #050607;
}

.game-hero-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.game-hero-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.game-hero-copy h1 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.game-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.game-tag {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.6rem;
  font-weight: 500;
  border: 1px solid #d92b28;
  letter-spacing: 0.01em;
}

.game-hero-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: #e3302a;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 2px;
}

.game-hero-cta-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
  display: block;
}

/* GAME META SECTION */
.game-meta-section {
  margin-top: 14px;
  padding: 0;
  padding-bottom: 50px;
}

.game-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 26px 10px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.stat-card--download {
  background: #241d4a;
  border-color: #5a46c8;
  color: #b5a1ff;
}

.stat-card--rating {
  background: #3b441f;
  border-color: #93a718;
  color: #d0f300;
}

.stat-card--size {
  background: #4a1848;
  border-color: #b92bc0;
  color: #ca3ad2;
}

.stat-icon {
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.stat-icon svg {
  width: 50px;
  height: 50px;
}

.stat-label {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: rgba(229, 229, 229, 0.62);
  font-weight: 300;
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-value {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
}

/* GAME ACTIONS */
.game-actions {
  margin-top: 14px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.action-btn {
  flex: 1;
  min-width: 90px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:active {
  background: #1a1d22;
  border-color: #1a1d22;
}

.action-btn-primary {
  flex: 1.6;
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.action-btn-primary:active {
  background: #b71b22;
  border-color: #b71b22;
}

/* GAME TABS */
.game-tabs {
  margin-top: -20px;
  display: flex;
  align-items: center;
  background: #13161c;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 5px;
  gap: 2px;
  position: sticky;
  top: 15px;
  z-index: 10;
}

.game-tab {
  flex: 1;
  padding: 10px 8px;
  background: none;
  border: none;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
  text-align: center;
}

.game-tab.active {
  background: var(--brand);
  color: #ffffff;
}

:root[data-theme="light"] .game-tabs {
  background: var(--surface-2);
  border-color: var(--line);
}

:root[data-theme="light"] .game-tab {
  color: var(--text);
}

:root[data-theme="light"] .game-tab.active {
  background: var(--brand);
  color: #ffffff;
}

/* SECTION DIVIDER */
.section-divider {
  height: 1px;
  background: transparent;
  margin-bottom: 14px;
  margin-top: 14px;
}

.section-head-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.section-head-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.15rem;
  background: var(--brand);
  border-radius: 2px;
  flex-shrink: 0;
}

/* GAME DESCRIPTION */
.game-description {
  margin: 10px 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: 0.3px;
}

.game-description:first-of-type {
  margin-top: 8px;
}

.game-description:last-of-type {
  margin-bottom: 0;
}

/* IMAGE GRID */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.image-grid-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
  max-height: 170px;
}

.image-grid-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.image-grid-item--hidden {
  display: none;
}

.load-more-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 11px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease;
}

.load-more-btn:active {
  background: var(--surface-2);
}

:root[data-theme="light"] .load-more-btn {
  border-color: var(--line);
  color: var(--text);
}

/* -------- PAGE SUBHEADER (back btn + title) -------- */
.page-subheader {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 10px;
}

.page-back-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  flex-shrink: 0;
}

.page-subheader-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

/* -------- PROFILE PAGE -------- */
.profile-shell {
  display: flex;
  flex-direction: column;
}

.profile-section {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.profile-field {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.profile-field:last-of-type {
  border-bottom: none;
}

.profile-field-label {
  margin: 0 0 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 400;
}

.profile-field-value {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.profile-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: opacity 150ms ease;
}

.profile-btn:active {
  opacity: 0.8;
}

.profile-btn--outline {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}

.profile-btn--danger {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #ffffff;
}

:root[data-theme="light"] .profile-btn--outline {
  background: #ffffff;
  border-color: #d1d5db;
  color: var(--text);
}

/* -------- SUBSCRIBE PAGE -------- */
body.subscribe-page {
  overflow: hidden;
  height: 100vh;
}

.sub-bg-frame {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.sub-overlay {
  position: fixed;
  inset: 0;
  background: rgb(79 79 79 / 58%);
  z-index: 10;
}

.sub-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 22px 22px 0 0;
  z-index: 20;
  padding: 20px 20px 34px;
  box-shadow: 2px 2px 25px 3px #ffffff9e;
}

.sub-step {
  display: none;
}

.sub-step.active {
  display: block;
}

.sub-step-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sub-sheet-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  text-align: center;
}

.sub-phone-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.sub-close-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #111111;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
}

.sub-close-btn svg {
  stroke: #111111;
}

.sub-game-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
  display: block;
}

.sub-offer-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px;
  color: var(--text);
}

.sub-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--brand);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  margin-bottom: 10px;
  cursor: pointer;
  transition: opacity 150ms ease;
}

.sub-btn:active {
  opacity: 0.85;
}

.sub-fine-print {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.sub-input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text);
  font-family: inherit;
  margin-bottom: 16px;
  outline: none;
  text-align: center;
}

.sub-input:focus {
  border-color: var(--brand);
}

.sub-step-desc {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.55;
}

.sub-step-desc span {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}

.sub-error-icon {
  width: 58px;
  height: 58px;
  display: block;
  margin: 8px auto 16px;
}

.sub-error-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
  color: var(--text);
}

.sub-error-desc {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  margin: 0 0 24px;
}

/* -------- / SUBSCRIBE PAGE -------- */

/* -------- TERMS PAGE -------- */
.static-section {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.static-block {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.static-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.static-body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.static-body + .static-body {
  margin-top: 10px;
}

.static-list {
  margin: 8px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.static-list li {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* -------- FAQ PAGE -------- */
.faq-shell {
  display: flex;
  flex-direction: column;
}

.faq-section {
  margin-top: 8px;
  flex: 1;
}

.faq-item {
  border-bottom: 1px dashed var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 250ms ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-bottom: 14px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* -------- CATEGORIES PAGE -------- */
.categories-shell {
  display: flex;
  flex-direction: column;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
  flex: 1;
  margin-bottom: 10px;
}

.cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 150ms ease;
}

.cat-item:active {
  background: var(--surface-2);
}

.cat-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
}

.cat-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* -------- CAMPAIGN DETAIL PAGE -------- */
.camp-shell {
  display: flex;
  flex-direction: column;
}

.camp-hero {
  margin: 8px -15px 0;
  position: relative;
  height: 210px;
  overflow: hidden;
}

.camp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.camp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 18px;
}

.camp-hero-text {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  max-width: 68%;
  line-height: 1.3;
}

.camp-hero-play {
  width: 46px;
  height: 46px;
  background: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(222,43,43,0.5);
}

.camp-info {
  padding: 18px 0 4px;
}

.camp-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.3;
}

.camp-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0 0 14px;
}

.camp-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.camp-date-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.camp-date-left svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.camp-badge {
  font-size: 0.77rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.camp-section {
  margin-top: 22px;
}

.camp-section-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
}

.prize-list {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding-top: 45px;
  padding-bottom: 30px;
}

.prize-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0px 18px 0px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: visible;
  position: relative;
  min-height: 55px;
}

.prize-rank {
  font-size: 1.7rem;
  font-weight: 700;
  min-width: 38px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}

.prize-rank sup {
  font-size: 0.58em;
  vertical-align: super;
}

.prize-rank--1 { color: #FFD700; }
.prize-rank--2 { color: #B0B8C8; }
.prize-rank--3 { color: #CD7F32; }

.prize-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: -28px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45));
  margin-bottom: -28px;
}

.prize-name {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  font-family: inherit;
}

.camp-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0 0 12px;
}

.camp-body:last-child {
  margin-bottom: 0;
}

.camp-cta-wrap {
  margin-top: 30px;
  padding-bottom: 10px;
}

.camp-cta-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

/* HERO INLINE VIDEO */
.hero-video {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: none;
  background: #000;
}
[data-carousel-slide].is-playing .hero-image { display: none; }
[data-carousel-slide].is-playing .hero-overlay { display: none; }
[data-carousel-slide].is-playing .hero-video { display: block; }
.hero-slides-container:has([data-carousel-slide].is-playing)::after { display: none; }
.hero-play .hero-play-close { display: none; }
[data-carousel-slide].is-playing .hero-play::before { display: none; }
[data-carousel-slide].is-playing .hero-play .hero-play-close { display: block; }

/* FOOTER SECTIONS */
.footer {
  margin-top: 22px;
  padding-top: 14px;
}

.footer-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 14px;
}

.footer-text {
  margin: 0 0 14px;
  text-align: center;
  font-size: 0.59rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.footer-text a {
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-text a:hover {
  color: var(--text);
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 14px;
}

.footer-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.66rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
  min-height: 40px;
}

.footer-action:active {
  background: #1a1d22;
  border-color: #1a1d22;
}

.footer-action svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* BACK BUTTON */
.icon-back {
  margin-right: auto;
}

/* -------- LIGHT THEME OVERRIDES -------- */
:root[data-theme="light"] .list-card,
:root[data-theme="light"] .new-card,
:root[data-theme="light"] .tile-card,
:root[data-theme="light"] .wide-card {
  background: var(--surface);
}

:root[data-theme="light"] .chip {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}

:root[data-theme="light"] .chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-contrast);
}

:root[data-theme="light"] .icon-btn {
  background: var(--surface-2);
}

:root[data-theme="light"] .icon-btn img {
  filter: none;
}

:root[data-theme="light"] .panel {
  background: #f0f4fb;
  border: 1px solid var(--line);
}

:root[data-theme="light"] .footer-block {
  background: var(--surface-3);
  border-top-color: var(--line);
}

:root[data-theme="light"] .footer-link-item {
  color: #5e6470;
}

:root[data-theme="light"] .footer-call-card {
  background: #eceef2;
  border-color: #dde2ea;
}

:root[data-theme="light"] .footer-call-number {
  color: #242933;
}

:root[data-theme="light"] .dot-indicator span {
  background: #b1b7c3;
}

:root[data-theme="light"] .dot-indicator span.active {
  background: var(--brand);
}

:root[data-theme="light"] .side-drawer {
  background: #ffffff;
  border-left-color: var(--line);
}

:root[data-theme="light"] .drawer-head {
  border-bottom-color: var(--line);
}

:root[data-theme="light"] .drawer-title {
  color: #111318;
}

:root[data-theme="light"] .drawer-item {
  color: #242933;
  border-bottom-color: var(--line);
}

:root[data-theme="light"] .drawer-icon {
  background: #f0f2f5;
  border-color: var(--line);
  color: #5e6470;
}

:root[data-theme="light"] .drawer-item--logout,
:root[data-theme="light"] .drawer-item--logout .drawer-icon {
  color: #e04040;
}

/* -------- LIGHT THEME - GAME DETAILS -------- */
:root[data-theme="light"] .game-hero-card {
  background: var(--surface);
}

:root[data-theme="light"] .game-hero-media::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 28%, #ffffff 100%);
}

:root[data-theme="light"] .game-hero-body {
  background: var(--surface);
}

:root[data-theme="light"] .game-hero-copy h1 {
  color: var(--text);
}

:root[data-theme="light"] .game-sub {
  color: #666d78;
}

:root[data-theme="light"] .game-sub::before {
  filter: invert(1) brightness(0.45);
}

:root[data-theme="light"] .game-hero-play {
  background: rgba(255, 255, 255, 0.94);
}

:root[data-theme="light"] .game-hero-play::before {
  border-left-color: #10232d;
}

:root[data-theme="light"] .game-tag {
  color: var(--text);
  border-color: var(--brand);
}

:root[data-theme="light"] .stat-card {
  background: #ffffff;
  border-color: #e0e5ef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

:root[data-theme="light"] .stat-card--download { color: #5a46c8; }
:root[data-theme="light"] .stat-card--rating   { color: #7a9400; }
:root[data-theme="light"] .stat-card--size      { color: #9b1ea5; }

:root[data-theme="light"] .stat-value {
  color: #111318;
}

:root[data-theme="light"] .stat-label {
  color: #6b7280;
}

:root[data-theme="light"] .game-meta-section {
  background: #ffffff;
  margin: 0 -15px;
  padding: 0 15px 50px;
  position: relative;
}

:root[data-theme="light"] .game-meta-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #f4f6fb 100%);
  pointer-events: none;
}

:root[data-theme="light"] .action-btn {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}

:root[data-theme="light"] .action-btn:active {
  background: #dde2ea;
  border-color: #dde2ea;
}

:root[data-theme="light"] .action-btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

:root[data-theme="light"] .action-btn-primary:active {
  background: #c51f25;
  border-color: #c51f25;
}

:root[data-theme="light"] .image-grid-item {
  border-color: var(--line);
  background: #e8ecf1;
}

:root[data-theme="light"] .section-divider {
  background: var(--line);
}

:root[data-theme="light"] .section-head-title {
  color: var(--text);
}

:root[data-theme="light"] .game-description {
  color: var(--text);
}

:root[data-theme="light"] .footer {
  background: transparent;
}

:root[data-theme="light"] .footer-divider {
  background: var(--line);
}

:root[data-theme="light"] .footer-text {
  color: var(--muted);
}

:root[data-theme="light"] .footer-text a {
  color: var(--muted);
}

:root[data-theme="light"] .footer-text a:hover {
  color: var(--text);
}

:root[data-theme="light"] .footer-action {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}

:root[data-theme="light"] .footer-action:active {
  background: #dde2ea;
  border-color: #dde2ea;
}
