/* 映界影视 — wythy-clone layout, rose/crimson light theme */
:root {
  --rose: #e11d48;
  --rose-deep: #be123c;
  --rose-dark: #9f1239;
  --rose-soft: #fff1f2;
  --rose-mid: #fecdd3;
  --rose-hover: #fb7185;
  --bg: #fafafa;
  --bg2: #fff1f2;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --gold: #fbbf24;
  --gold-deep: #d97706;
  --vip-text: #78350f;
  --radius: 0.75rem;
  --max: 80rem;
  --shadow: 0 10px 15px -3px #0f172a0f, 0 4px 6px -4px #0f172a0d;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

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

.wythy-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.65rem 1rem;
  background: var(--rose);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
}

.wythy-skip:focus {
  left: 0;
}

body.body-tpl-wythyclone.body-tpl-portal.body-tpl-yygk,
body.body-theme-rose {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg) !important;
  background-image: radial-gradient(ellipse 80% 50% at 0% 0%, rgba(225, 29, 72, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(190, 18, 60, 0.05), transparent 50%),
    linear-gradient(180deg, #fff1f2 0%, #fafafa 35%, #fafafa 100%) !important;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

body.body-theme-rose a:focus-visible,
body.body-theme-rose button:focus-visible {
  outline: 2px solid rgba(225, 29, 72, 0.55);
  outline-offset: 2px;
}

a {
  color: inherit;
}

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

.container {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* —— Header —— */
.wythy-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.wythy-header__bar {
  background: #fff;
  box-shadow: 0 10px 15px -3px #0f172a14, 0 4px 6px -4px #0f172a0f;
}

.wythy-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  min-height: 4rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .wythy-header__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .wythy-header__inner {
    padding-left: 2rem;
    padding-right: 2rem;
    flex-wrap: nowrap;
    height: 4rem;
    padding-top: 0;
    padding-bottom: 0;
    gap: 1rem;
  }
}

.wythy-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  order: 1;
}

.wythy-header__film-ico {
  flex-shrink: 0;
  color: var(--rose);
  width: 28px;
  height: 28px;
}

.wythy-header__brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(90deg, #e11d48, #be123c 50%, #9f1239);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wythy-header__nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  order: 2;
}

@media (min-width: 768px) {
  .wythy-header__nav {
    display: flex;
  }
}

.wythy-header__nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.wythy-header__nav-link:hover,
.wythy-header__nav-link.is-active {
  color: var(--rose-deep);
}

.wythy-header__search {
  display: flex;
  align-items: stretch;
  width: 100%;
  order: 10;
  flex: 0 0 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fafafa;
}

.wythy-header__search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
  font-family: inherit;
}

.wythy-header__search input::placeholder {
  color: #9ca3af;
}

.wythy-header__search input:focus {
  outline: none;
}

.wythy-header__search-btn {
  flex-shrink: 0;
  border: none;
  padding: 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #be123c);
  cursor: pointer;
  font-family: inherit;
}

.wythy-header__search-btn:hover {
  filter: brightness(1.05);
}

@media (min-width: 1024px) {
  .wythy-header__search {
    order: 3;
    flex: 1 1 10rem;
    width: auto;
    max-width: 22rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }
}

.wythy-header__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-left: auto;
  order: 3;
}

@media (min-width: 1024px) {
  .wythy-header__actions {
    order: 4;
    margin-left: 0;
    flex-shrink: 0;
  }
}

.wythy-header__vip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--vip-text);
  background: linear-gradient(135deg, #fde68a, #fbbf24 50%, #d97706);
  box-shadow: 0 1px 4px #d9770659;
  border: 1px solid rgba(180, 83, 9, 0.35);
}

.wythy-header__vip:hover {
  filter: brightness(1.06);
}

.wythy-header__auth {
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 0.375rem;
}

.wythy-header__auth--in {
  color: #4b5563;
}

.wythy-header__auth--in:hover {
  color: var(--rose-deep);
}

.wythy-header__auth--up {
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #be123c);
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
}

.wythy-header__auth--up:hover {
  filter: brightness(1.06);
}

.wythy-header__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: #f3f4f6;
  cursor: pointer;
  order: 4;
  flex-shrink: 0;
}

.wythy-header__burger span {
  display: block;
  height: 2px;
  width: 1.25rem;
  margin: 0 auto;
  background: #374151;
  border-radius: 1px;
}

@media (min-width: 768px) {
  .wythy-header__burger {
    display: none;
  }
}

/* —— Drawer —— */
.wythy-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  visibility: hidden;
}

.wythy-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.wythy-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: #0f172a73;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.wythy-drawer.is-open .wythy-drawer__backdrop {
  opacity: 1;
}

.wythy-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(18rem, 88vw);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 24px #0f172a1f;
  padding: 1.25rem 1rem;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  box-sizing: border-box;
  overflow-y: auto;
}

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

.wythy-drawer__title {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wythy-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wythy-drawer__a {
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
}

.wythy-drawer__a:hover {
  background: var(--rose-soft);
  color: var(--rose-deep);
}

.wythy-drawer__a.is-active {
  background: #ffe4e6;
  color: var(--rose-dark);
}

.wythy-drawer__auth-row {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wythy-drawer__vip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--vip-text);
  background: linear-gradient(135deg, #fde68a, #fbbf24 50%, #d97706);
  border: 1px solid rgba(180, 83, 9, 0.35);
}

/* —— Home hero —— */
.wythy-home {
  padding-bottom: 2.5rem;
  flex: 1;
}

.wythy-home-hero {
  padding: 1.25rem 0 1rem;
}

.wythy-home-hero__shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .wythy-home-hero__shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .wythy-home-hero__shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.wythy-home-hero__layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 960px) {
  .wythy-home-hero__layout {
    grid-template-columns: 1.55fr 1fr;
    align-items: stretch;
  }
}

.wythy-home-hero__panel {
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #e11d48, #be123c 45%, #9f1239);
  color: #fff;
  box-shadow: 0 20px 50px rgba(190, 18, 60, 0.35);
}

@media (min-width: 768px) {
  .wythy-home-hero__panel {
    padding: 2.75rem 2.25rem;
    border-radius: 1.25rem;
  }
}

.wythy-home-hero__eyebrow {
  margin: 0 0 0.65rem;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--rose-dark);
  background: #ffffffeb;
}

.wythy-home-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.wythy-home-hero__lead {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.96;
  max-width: 40rem;
}

.wythy-home-hero__cta {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--rose-dark);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.wythy-home-hero__cta:hover {
  filter: brightness(1.04);
}

.wythy-hot-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.wythy-hot-panel__title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wythy-hot-panel__title::before {
  content: '';
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, #e11d48, #be123c);
}

.wythy-hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.wythy-hot-list__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
}

.wythy-hot-list__rank {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #6b7280;
  background: #f3f4f6;
}

.wythy-hot-list__item:nth-child(-n + 3) .wythy-hot-list__rank {
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #be123c);
}

.wythy-hot-list__link {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wythy-hot-list__link:hover {
  color: var(--rose-deep);
}

.wythy-hot-list__meta {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #9ca3af;
  font-variant-numeric: tabular-nums;
}

/* —— Sections —— */
.wythy-home-main {
  padding: 0.5rem 0 2rem;
}

.wythy-section-card {
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .wythy-section-card {
    padding: 1.5rem;
    border-radius: 0.85rem;
  }
}

.wythy-section-card--alt {
  background: linear-gradient(180deg, #fff, #fff1f2);
  border-color: #fecdd3;
}

.wythy-section-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wythy-section-card__h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: var(--text);
}

.wythy-section-card__more {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rose-deep);
  text-decoration: none;
}

.wythy-section-card__more:hover {
  color: var(--rose-dark);
  text-decoration: underline;
}

.wythy-guide__h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  color: var(--text);
}

.wythy-guide__p {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4b5563;
}

.wythy-guide__p:last-child {
  margin-bottom: 0;
}

.wythy-guide__p--muted {
  font-size: 0.875rem;
  color: #6b7280;
}

.wythy-guide__p a {
  color: var(--rose-deep);
  font-weight: 600;
  text-decoration: none;
}

.wythy-guide__p a:hover {
  text-decoration: underline;
}

/* Category tiles */
.wythy-cats .wythy-cat-tiles {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .wythy-cats .wythy-cat-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.wythy-cats .wythy-cat-tiles__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  min-height: 5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fafafa;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wythy-cats .wythy-cat-tiles__card:hover {
  border-color: #fda4af;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.12);
}

.wythy-cats .wythy-cat-tiles__label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.wythy-cats .wythy-cat-tiles__sub {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #6b7280;
}

/* Why us */
.wythy-why__grid {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .wythy-why__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.wythy-why__card {
  margin: 0;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fafafa;
}

.wythy-why__h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--rose-deep);
}

.wythy-why__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4b5563;
}

/* Library tabs / sort */
.cn-portal-genres,
.wythy-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.cn-portal-genres__btn,
.wythy-genres__btn {
  border: 1px solid var(--line);
  background: #fff;
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 0.45rem;
  cursor: pointer;
  font-family: inherit;
  transition: 0.15s ease;
}

.cn-portal-genres__btn:hover,
.wythy-genres__btn:hover {
  border-color: #fda4af;
}

.cn-portal-genres__btn.is-active,
.wythy-genres__btn.is-active,
body.body-tpl-wythyclone .wythy-home-main .cn-portal-genres__btn.is-active {
  background: linear-gradient(135deg, #e11d48, #be123c);
  border-color: transparent;
  color: #fff;
}

.cn-portal-sort,
.wythy-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.cn-portal-sort button,
.wythy-sort button {
  border: 1px solid var(--line);
  background: #f9fafb;
  color: #4b5563;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 0.4rem;
  cursor: pointer;
  font-family: inherit;
}

.cn-portal-sort button.is-active,
.wythy-sort button.is-active,
body.body-tpl-wythyclone .wythy-home-main .cn-portal-sort button.is-active {
  background: linear-gradient(135deg, #e11d48, #be123c);
  border-color: transparent;
  color: #fff;
}

/* —— Video grid / cards —— */
.wythy-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .wythy-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 0.85rem;
  }
}

@media (min-width: 1024px) {
  .wythy-video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem 1rem;
  }
}

.wythy-vcard {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 0.65rem;
  overflow: hidden;
  transition: transform 0.18s ease;
}

.wythy-vcard:hover {
  transform: translateY(-3px);
}

.wythy-vcard__poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #e5e7eb;
  border: 1px solid var(--line);
}

.wythy-vcard__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wythy-vcard__tag {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #be123c);
  z-index: 1;
}

.wythy-vcard__score {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #78350f;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  z-index: 1;
}

.wythy-vcard__dur {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  padding: 0.12rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  font-variant-numeric: tabular-nums;
}

.wythy-vcard__body {
  padding: 0.55rem 0.15rem 0.1rem;
}

.wythy-vcard__title {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wythy-vcard:hover .wythy-vcard__title {
  color: var(--rose-deep);
}

.wythy-vcard__meta {
  margin: 0;
  font-size: 0.75rem;
  color: #9ca3af;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

/* —— Play page —— */
.wythy-play {
  padding: 1.25rem 0 2.5rem;
  flex: 1;
}

.wythy-play__player-wrap {
  background: #0f172a;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.wythy-play__video {
  display: block;
  width: 100%;
  max-height: min(70vh, 720px);
  background: #000;
  aspect-ratio: 16 / 9;
}

.wythy-play__error {
  margin: 0;
  padding: 0.75rem 1rem;
  color: #fff;
  background: #be123c;
  font-size: 0.9rem;
}

.wythy-play__meta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.wythy-play__h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
}

.wythy-play__info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.wythy-play__info strong {
  color: var(--rose-deep);
  font-weight: 700;
}

.wythy-play__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4b5563;
}

/* —— Inner pages —— */
.wythy-inner-page {
  padding: 1.5rem 0 2.75rem;
  flex: 1;
}

.wythy-inner-page__wrap {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  box-sizing: border-box;
}

.wythy-inner-page__wrap--wide {
  max-width: var(--max);
}

.wythy-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: #6b7280;
}

.wythy-breadcrumb a {
  color: var(--rose-deep);
  font-weight: 600;
  text-decoration: none;
}

.wythy-breadcrumb a:hover {
  text-decoration: underline;
}

.wythy-breadcrumb__sep {
  color: #d1d5db;
}

.wythy-inner-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.wythy-inner-page__h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--text);
}

.wythy-inner-page__back {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rose-deep);
  text-decoration: none;
}

.wythy-inner-page__back:hover {
  color: var(--rose-dark);
  text-decoration: underline;
}

.wythy-inner-page__lead {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4b5563;
}

.wythy-inner-page__lead a {
  color: var(--rose-deep);
  font-weight: 600;
  text-decoration: none;
}

.wythy-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 22rem;
}

.wythy-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.wythy-form input {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.9375rem;
  font-family: inherit;
}

.wythy-form button,
.wythy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #be123c);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.wythy-form button:hover,
.wythy-btn:hover {
  filter: brightness(1.05);
}

.wythy-vip-perks {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4b5563;
}

.wythy-vip-perks li {
  margin-bottom: 0.4rem;
}

.wythy-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9375rem;
}

/* —— Footer —— */
.wythy-footer {
  margin-top: auto;
  background: #f3f4f6;
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 0;
}

.wythy-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .wythy-footer__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .wythy-footer__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.wythy-footer__strip-title {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.wythy-footer__card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .wythy-footer__card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.wythy-footer__text-card {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px #0f172a0d;
}

.wythy-footer__text-card--tips {
  background: linear-gradient(180deg, #fff, #fff1f2);
  border-color: #fecdd3;
}

.wythy-footer__text-card-h {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--rose-deep);
}

.wythy-footer__text-card-lead {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #6b7280;
}

.wythy-footer__text-card-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.wythy-footer__text-card-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.wythy-footer__text-card-link {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.wythy-footer__text-card-link:hover {
  color: var(--rose-deep);
}

.wythy-footer__text-card-meta {
  flex-shrink: 0;
  font-size: 0.6875rem;
  color: #9ca3af;
  font-variant-numeric: tabular-nums;
}

.wythy-footer__tip-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #4b5563;
}

.wythy-footer__tip-list li {
  margin-bottom: 0.5rem;
}

.wythy-footer__tip-list strong {
  color: #374151;
}

.wythy-footer__text-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.wythy-footer__text-card-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #e11d48, #be123c);
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.3);
}

.wythy-footer__text-card-cta:hover {
  filter: brightness(1.05);
}

.wythy-footer__text-card-cta--ghost {
  background: #fff;
  color: var(--rose-deep);
  border: 1px solid #fda4af;
  box-shadow: none;
}

.wythy-footer__text-card-cta--ghost:hover {
  background: var(--rose-soft);
}

.wythy-footer__lower {
  margin-top: 1.75rem;
  padding: 2rem 0 1.5rem;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px #0f172a0a;
}

.wythy-footer__grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .wythy-footer__grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .wythy-footer__grid {
    grid-template-columns: 1.1fr 1fr 1.2fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .wythy-footer__grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.wythy-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.wythy-footer__sitename {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 800;
  background: linear-gradient(90deg, #e11d48, #be123c 50%, #9f1239);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wythy-footer__tagline {
  margin: 0;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
}

.wythy-footer__col-title {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
}

.wythy-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wythy-footer__links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
}

.wythy-footer__links a:hover {
  color: var(--rose-deep);
}

.wythy-footer__disclaimer {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #6b7280;
}

.wythy-footer__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1rem 0;
  border-top: 1px solid #f3f4f6;
  text-align: center;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .wythy-footer__bar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .wythy-footer__bar {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.wythy-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: #9ca3af;
}

/* Motion */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wythy-home-hero__panel,
.wythy-hot-panel,
.wythy-section-card {
  animation: fadeUp 0.45s ease both;
}

.wythy-hot-panel {
  animation-delay: 0.08s;
}

.wythy-section-card:nth-child(2) {
  animation-delay: 0.05s;
}
