/* Home tab */

#tab-home {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  padding: var(--space-3) var(--space-3) 0;
  background: transparent;
  overflow: hidden;
}

.home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  min-height: 0;
  margin-bottom: 0;
  flex-shrink: 0;
}

.home-engage {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.home-streak {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 46px;
  padding: 4px 4px 5px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 140, 40, 0.28), transparent 55%),
    rgba(18, 10, 5, 0.42);
  border: 1px solid rgba(255, 160, 60, 0.28);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.home-streak-flame {
  position: relative;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.home-streak-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: flame-flicker 1.1s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 120, 30, 0.65));
}

.home-streak-glow {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 40, 0.55), transparent 70%);
  animation: flame-glow 1.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flame-flicker {
  0%, 100% { transform: translateY(0) scale(1) rotate(-2deg); }
  40% { transform: translateY(-2px) scale(1.06) rotate(2deg); }
  70% { transform: translateY(0) scale(0.98) rotate(-1deg); }
}

@keyframes flame-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.home-streak-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.home-streak-meta strong {
  font-size: 0.82rem;
  font-weight: 900;
  color: #ffc978;
}

.home-streak-meta small {
  margin-top: 1px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0.72;
  max-width: none;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}

.home-daily-cta {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  text-align: start;
  color: #1a0f08;
  background: linear-gradient(120deg, #ffe08a 0%, #ffc72c 42%, #e89218 100%);
  border-bottom: 3px solid #a8680a;
  box-shadow:
    0 4px 12px rgba(255, 160, 40, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.14s ease, filter 0.2s ease, opacity 0.2s ease;
}

.home-daily-cta:active:not(:disabled) {
  transform: translateY(2px) scale(0.985);
  border-bottom-width: 1px;
}

.home-daily-cta.is-done,
.home-daily-cta.is-off {
  cursor: default;
  filter: saturate(0.75);
  opacity: 0.88;
  background: linear-gradient(120deg, #d4b878 0%, #b89040 100%);
  border-bottom-color: #6e4a12;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.home-daily-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: daily-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

.home-daily-cta.is-done .home-daily-shine,
.home-daily-cta.is-off .home-daily-shine {
  animation: none;
  opacity: 0;
}

@keyframes daily-shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.home-daily-icon-wrap {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(40, 18, 6, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.home-daily-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  animation: daily-bob 2.4s ease-in-out infinite;
}

@keyframes daily-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-3px) rotate(3deg); }
}

.home-daily-cta.is-done .home-daily-icon {
  animation: none;
}

.home-daily-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-daily-copy strong {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
}

.home-daily-copy small {
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.78;
}

.home-daily-go {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 900;
  background: rgba(26, 15, 8, 0.18);
  color: #1a0f08;
}

.home-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.home-icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.home-icon-btn:active {
  transform: scale(0.92);
}

.home-icon-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.home-user {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-greeting {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-season-chip {
  margin-top: 3px;
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--color-primary-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-currency {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-wrap: nowrap;
  gap: 4px;
  flex-shrink: 0;
  height: 100%;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 199, 44, 0.22);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1;
  color: var(--color-text);
}

.home-pill img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.home-pill > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  height: 16px;
}

.home-bottom {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  padding-bottom: 0;
}

.home-hero {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}

/* Season switcher carousel — arrows float over full-width track */
.season-switcher {
  position: relative;
  display: block;
  width: 100%;
  overflow: visible;
}

.season-nav-btn {
  position: absolute;
  top: 44px;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
  /* same soft gold halo as bottom-nav active icons */
  box-shadow:
    0 0 0 2px rgba(255, 199, 44, 0.25),
    0 0 16px rgba(255, 199, 44, 0.35);
}

.season-nav-btn.season-prev {
  inset-inline-start: 2px;
}

.season-nav-btn.season-next {
  inset-inline-end: 2px;
}

.season-nav-btn:active {
  transform: translateY(-50%) scale(0.92);
}

.season-nav-btn img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  pointer-events: none;
  display: block;
  filter: drop-shadow(0 0 4px rgba(255, 199, 44, 0.5));
}

.season-prev img {
  transform: scaleX(-1);
}

.season-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding: 6px 0 10px;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  overscroll-behavior-x: contain;
}

.season-track::-webkit-scrollbar {
  display: none;
}

/* empty slot so first/last season clear the arrow */
.season-track-spacer {
  flex: 0 0 92px;
  width: 92px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

.season-chip {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-on-scene-soft);
  font-family: inherit;
}

.season-chip-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 199, 44, 0.28);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.season-chip-index {
  position: absolute;
  top: 6px;
  right: 12px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  color: var(--color-primary-light);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.season-chip-name {
  font-size: 0.7rem;
  font-weight: 700;
  max-width: 88px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-on-scene);
  text-shadow: var(--shadow-on-scene);
}

.season-chip.active .season-chip-thumb {
  transform: scale(1.08);
  border-color: var(--color-primary);
  box-shadow:
    0 0 0 2px rgba(255, 199, 44, 0.25),
    0 8px 20px rgba(255, 199, 44, 0.25);
}

.season-chip.active {
  color: var(--color-on-scene-accent);
}

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

.season-chip.locked .season-chip-thumb {
  filter: grayscale(0.7) brightness(0.7);
}

.season-chip-lock {
  position: absolute;
  inset: 0 0 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.season-chip-lock img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.season-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 2px;
}

.season-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(42, 24, 16, 0.28);
  box-shadow: 0 1px 0 rgba(255, 244, 220, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

.season-dot.active {
  width: 16px;
  border-radius: 999px;
  background: var(--color-on-scene-accent);
}

.season-dot.locked {
  opacity: 0.35;
}

.home-season-card {
  width: 100%;
  max-width: 420px;
  max-height: 100%;
  padding: 10px 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-season-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.home-season-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-primary-light);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
  margin: 0;
  line-height: 1.2;
}

.home-season-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 2px 0 8px;
}

/* Stage picker — vacancy-box tiles with stage number + stars */
.stage-switcher {
  width: 100%;
  margin: 0 0 8px;
  flex-shrink: 0;
}

.stage-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-y: none;
  scroll-snap-type: x proximity;
  padding: 6px 4px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
}

.stage-track::-webkit-scrollbar {
  display: none;
}

.stage-chip {
  flex: 0 0 auto;
  width: 52px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.stage-chip-box {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stage-chip-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.stage-chip-num {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--color-primary-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.stage-chip.active .stage-chip-box {
  box-shadow:
    0 0 0 2px rgba(255, 199, 44, 0.35),
    0 0 14px rgba(255, 199, 44, 0.4),
    inset 0 1px 0 rgba(255, 240, 170, 0.25);
  transform: translateY(-3px);
}

.stage-chip.locked {
  opacity: 0.4;
  cursor: not-allowed;
}

.stage-chip-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 12px;
}

.stage-star {
  width: 10px;
  height: 10px;
  object-fit: contain;
}

.stage-star.empty {
  opacity: 0.22;
  filter: grayscale(1);
}

.stage-star.earned {
  opacity: 1;
  filter: drop-shadow(0 0 3px rgba(255, 199, 44, 0.55));
}

.home-progress-block {
  text-align: right;
}

.home-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.home-progress-track {
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 199, 44, 0.35);
  overflow: hidden;
}

.home-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary-light));
  box-shadow: 0 0 12px rgba(255, 199, 44, 0.45);
  transition: width 0.5s ease;
}

.home-progress-note {
  margin: 4px 0 0;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.home-actions {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 6;
  padding: 4px 0 calc(var(--nav-clearance) - 6px);
}

.home-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: min(80vw, 280px);
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(
    180deg,
    var(--color-primary-light) 0%,
    var(--color-primary) 55%,
    var(--color-primary-dark) 100%
  );
  border-bottom: 5px solid #a8680a;
  color: #1a0f08;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  position: relative;
  z-index: 4;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 199, 44, 0.25);
  transition: transform 0.12s ease, filter 0.12s ease;
  animation: home-play-pulse 2.4s ease-in-out infinite;
}

.home-play-btn:active {
  transform: translateY(3px);
  border-bottom-width: 2px;
  filter: brightness(0.95);
  animation: none;
}

@keyframes home-play-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Overlay screens (game / about / settings) */
.overlay-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: var(--color-bg) center / cover no-repeat;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.overlay-screen.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.overlay-screen-top {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
}

.overlay-screen-heading {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-primary-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.overlay-back-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.overlay-back-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.overlay-screen-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-4);
  text-align: center;
  color: var(--color-text);
  overflow-y: auto;
}

.overlay-screen-body h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary-light);
}

.overlay-screen-body p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.about-logo {
  width: min(42vw, 160px);
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.about-card,
.settings-card {
  width: 100%;
  max-width: 380px;
  padding: var(--space-5) var(--space-4);
  text-align: center;
}

.about-card h2 {
  margin-bottom: var(--space-3);
}

.about-card p + p {
  margin-top: var(--space-3);
}

.about-meta {
  font-size: 0.8rem;
  color: var(--color-primary) !important;
}

.about-header-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: none;
  box-shadow: none;
  margin-inline-start: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.about-screen-body {
  justify-content: flex-start !important;
  align-items: stretch !important;
  text-align: right;
  padding-bottom: calc(var(--space-6) + var(--safe-bottom));
}

.about-page {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-hero-img {
  width: 100%;
  max-height: none;
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: none;
  display: block;
}

.about-sections {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.about-section {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  text-align: right;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  width: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.about-section.active {
  border-color: rgba(255, 199, 44, 0.55);
  transform: scale(1.01);
}

.about-section-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--color-primary);
  background: rgba(255, 199, 44, 0.12);
  border: 1px solid rgba(255, 199, 44, 0.3);
}

.about-section.active .about-section-num {
  background: rgba(255, 199, 44, 0.25);
  color: var(--color-primary-light);
}

.about-section-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.about-section-body strong {
  font-size: 1.05rem;
  color: var(--color-text);
}

.about-section.active .about-section-body strong {
  color: var(--color-primary-light);
}

.about-section-body span {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.about-team-title,
.about-follow-title {
  margin: var(--space-2) 0 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 199, 44, 0.35);
}

.about-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.about-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: var(--space-4) var(--space-3);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.about-member:active {
  transform: scale(0.98);
}

.about-member.active {
  border-color: rgba(255, 199, 44, 0.55);
}

.about-member img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 199, 44, 0.45);
  margin-bottom: 4px;
}

.about-member strong {
  font-size: 0.85rem;
  text-align: center;
  color: var(--color-text);
  line-height: 1.35;
}

.about-member span {
  font-size: 0.72rem;
  text-align: center;
  color: var(--color-primary);
  line-height: 1.35;
}

.about-member.active span {
  color: var(--color-primary-light);
}

.about-social {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

.about-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  color: var(--color-primary-light);
  font-weight: 800;
  font-size: 0.9rem;
}

.about-footer {
  text-align: center;
  padding: var(--space-4) 0 var(--space-2);
}

.about-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.about-footer p + p {
  margin-top: 6px;
  color: var(--color-text) !important;
}

.settings-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  text-align: right;
}

.settings-row + .settings-row {
  border-top: 1px solid rgba(255, 242, 216, 0.16);
  margin-top: 4px;
  padding-top: calc(var(--space-2) + 4px);
}

.settings-row img,
.settings-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.settings-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.settings-row-text strong {
  font-size: 1.05rem;
  color: var(--color-text);
}

.settings-row-text small {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Compact home on short / notch phones so play stays above the dock */
@media (max-height: 820px) {
  #tab-home {
    gap: var(--space-2);
    padding-top: var(--space-2);
  }

  .home-top {
    padding: 8px 10px;
  }

  .home-season-name {
    font-size: 1.2rem;
  }

  .home-season-card {
    padding: 8px 10px 6px;
  }

  .season-nav-btn {
    width: 44px;
    height: 44px;
    top: 38px;
  }

  .season-nav-btn img {
    width: 40px;
    height: 40px;
  }

  .home-play-btn {
    font-size: 1.1rem;
    padding: 12px 24px;
    min-width: min(78vw, 260px);
  }
}

@media (max-height: 700px) {
  .home-season-name {
    font-size: 1.15rem;
  }

  .home-greeting {
    font-size: 0.82rem;
  }

  .stage-chip-box {
    width: 38px;
    height: 38px;
  }

  .home-bottom {
    gap: var(--space-3);
  }
}

@media (max-width: 380px) {
  .home-pill {
    padding: 2px 6px;
    font-size: 0.68rem;
  }

  .home-icon-btn {
    width: 28px;
    height: 28px;
  }

  .home-icon-btn img {
    width: 22px;
    height: 22px;
  }
}
