/*
 * ChouChou Website Final Polish — Phase 1
 * Homepage-only presentation layer. Existing layout, data hooks and behaviour
 * remain owned by the established styles and JavaScript modules.
 */

body.home-polish-v1 {
  --polish-ink: #452738;
  --polish-muted: #79636e;
  --polish-wine: #71364f;
  --polish-gold: #b99561;
  --polish-line: rgba(113, 54, 79, 0.16);
  --polish-shadow: 0 22px 60px rgba(83, 43, 61, 0.09);
  --polish-radius: 22px;
  --polish-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--polish-ink);
  background:
    radial-gradient(circle at 10% 16%, rgba(242, 218, 228, 0.28), transparent 29rem),
    linear-gradient(180deg, #fffdfc 0%, #fffafc 52%, #fffdfc 100%);
}

body.home-polish-v1 :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #7b3f59;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(255, 253, 251, 0.86);
}

/* Header */
body.home-polish-v1 .header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 251, 252, 0.82);
  box-shadow: 0 6px 28px rgba(88, 45, 64, 0.06);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

body.home-polish-v1 .logo {
  color: var(--polish-wine);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.06em;
}

body.home-polish-v1 .nav a {
  position: relative;
  color: var(--polish-ink);
  letter-spacing: 0.05em;
  transition: color 0.45s ease;
}

body.home-polish-v1 .nav a::after {
  position: absolute;
  right: 18%;
  bottom: -7px;
  left: 18%;
  height: 1px;
  content: "";
  background: var(--polish-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s var(--polish-ease);
}

body.home-polish-v1 .nav a:hover::after,
body.home-polish-v1 .nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Cinematic hero */
body.home-polish-v1 .hero.hero-ver6 {
  min-height: min(820px, 91svh);
  isolation: isolate;
  overflow: hidden;
  background: #cda4b5;
}

body.home-polish-v1 .hero.hero-ver6::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
}

body.home-polish-v1 .hero.hero-ver6::before {
  background: linear-gradient(180deg, rgba(39, 18, 29, 0.02) 28%, rgba(45, 21, 33, 0.16) 58%, rgba(48, 22, 35, 0.72) 100%);
}

body.home-polish-v1 .hero-slider-track,
body.home-polish-v1 .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.home-polish-v1 .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.76) contrast(0.96) brightness(0.94);
  transform: scale(1.015);
  animation: polishHeroDrift 16s ease-in-out infinite alternate;
}

body.home-polish-v1 .hero-slide {
  transition: opacity 2.1s ease !important;
}

body.home-polish-v1 .hero-princess-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.home-polish-v1 .hero-link {
  pointer-events: none;
}

body.home-polish-v1 .hero-polish-content {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 6vw, 96px);
  bottom: clamp(40px, 7vh, 76px);
  left: clamp(24px, 6vw, 96px);
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin-inline: auto;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 24px rgba(48, 20, 34, 0.46);
}

body.home-polish-v1 .hero-polish-catch {
  margin: 0;
  font: 400 clamp(28px, 4.2vw, 55px)/1.28 "Noto Serif JP", serif;
  letter-spacing: 0.11em;
  opacity: 0;
  animation: polishReveal 1.35s 0.48s var(--polish-ease) forwards;
}

body.home-polish-v1 .hero-polish-description {
  max-width: 560px;
  margin: 18px 0 26px;
  font: 300 clamp(12px, 1vw, 15px)/2 "Noto Serif JP", serif;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: polishReveal 1.35s 0.7s var(--polish-ease) forwards;
}

body.home-polish-v1 .hero-polish-actions {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(210px, 0.85fr);
  gap: 12px;
  width: min(100%, 540px);
  opacity: 0;
  animation: polishReveal 1.35s 0.92s var(--polish-ease) forwards;
}

body.home-polish-v1 :is(.hero-polish-primary, .hero-polish-secondary) {
  display: grid;
  align-content: center;
  min-height: 66px;
  padding: 11px 24px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(47, 22, 34, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.5s var(--polish-ease), background 0.5s ease, box-shadow 0.5s ease;
}

body.home-polish-v1 .hero-polish-primary {
  background: linear-gradient(135deg, rgba(104, 45, 70, 0.95), rgba(151, 76, 107, 0.95));
}

body.home-polish-v1 .hero-polish-secondary {
  background: rgba(255, 252, 253, 0.16);
}

body.home-polish-v1 :is(.hero-polish-primary, .hero-polish-secondary) span {
  font: 600 16px/1.2 "Cormorant Garamond", serif;
  letter-spacing: 0.12em;
}

body.home-polish-v1 :is(.hero-polish-primary, .hero-polish-secondary) small {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

body.home-polish-v1 :is(.hero-polish-primary, .hero-polish-secondary):hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(47, 22, 34, 0.28);
}

/* Space and quieter surfaces */
body.home-polish-v1 .princess-home {
  padding-top: clamp(72px, 8vw, 126px);
  padding-bottom: clamp(88px, 10vw, 150px);
}

body.home-polish-v1 :is(.princess-card-grid, #new-cast, #weekly-ranking) {
  margin-bottom: clamp(88px, 9vw, 144px);
}

body.home-polish-v1 .princess-card-grid {
  gap: clamp(42px, 5vw, 78px);
}

body.home-polish-v1 :is(.princess-card, .premium-section-card, .card-premium) {
  border-color: rgba(113, 54, 79, 0.1);
  box-shadow: 0 18px 52px rgba(83, 43, 61, 0.07);
}

body.home-polish-v1 .section-title {
  margin-bottom: clamp(30px, 3vw, 48px);
  text-align: center;
}

body.home-polish-v1 .section-title > span:first-child,
body.home-polish-v1 :is(.v9-today-eyebrow, .princess-pickup-eyebrow) {
  color: var(--polish-gold);
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.home-polish-v1 .section-title h2,
body.home-polish-v1 :is(.v9-today-header h2, .princess-pickup-header h2) {
  color: var(--polish-ink);
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  letter-spacing: 0.09em;
}

body.home-polish-v1 :is(.premium-card-ornaments, .v9-today-decoration, .princess-pickup-decoration) {
  opacity: 0.42;
}

/* Cast cards — editorial portrait treatment */
body.home-polish-v1 #cast-list .all-cast-grid {
  gap: clamp(24px, 3.2vw, 46px);
}

body.home-polish-v1 #cast-list .cast-card.public-cast-card {
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: transform 0.65s var(--polish-ease);
}

body.home-polish-v1 #cast-list .cast-card.public-cast-card:hover {
  box-shadow: none !important;
  transform: translateY(-7px) !important;
}

body.home-polish-v1 #cast-list .public-cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--polish-ease), filter 0.7s ease !important;
}

body.home-polish-v1 #cast-list .cast-card:hover .public-cast-photo img {
  filter: saturate(0.9) contrast(1.02);
  transform: scale(1.035) !important;
}

body.home-polish-v1 #cast-list .public-profile-link {
  border: 0 !important;
  border-bottom: 1px solid var(--polish-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Today's Cast */
body.home-polish-v1 #cast.v9-today-card .v9-today-card-shell {
  border-color: rgba(113, 54, 79, 0.11);
  border-radius: var(--polish-radius);
  background: rgba(255, 253, 252, 0.88);
  box-shadow: var(--polish-shadow);
}

body.home-polish-v1 #cast.v9-today-card .v9-cast-list {
  contain: layout paint style;
  gap: 22px;
}

body.home-polish-v1 #cast.v9-today-card .v9-cast-item.card-premium {
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 306px;
  border-color: rgba(113, 54, 79, 0.09) !important;
  background: rgba(255, 255, 255, 0.66) !important;
  box-shadow: 0 12px 32px rgba(83, 43, 61, 0.06) !important;
  transition: transform 0.65s var(--polish-ease) !important;
}

body.home-polish-v1 #cast-list .all-cast-grid > .cast-card.public-cast-card {
  content-visibility: auto;
  contain-intrinsic-block-size: 630px;
}

body.home-polish-v1 #cast-list .all-cast-grid,
body.home-polish-v1 [data-princess-pickup-content] {
  contain: layout paint style;
}

body.home-polish-v1 #cast.v9-today-card .v9-cast-item.card-premium:hover {
  box-shadow: 0 20px 44px rgba(83, 43, 61, 0.11) !important;
  transform: translateY(-5px) !important;
}

body.home-polish-v1 #cast.v9-today-card .v9-cast-photo {
  overflow: hidden;
  border-radius: 18px;
}

body.home-polish-v1 #cast.v9-today-card .v9-cast-photo img {
  transition: transform 0.9s var(--polish-ease);
}

body.home-polish-v1 #cast.v9-today-card .v9-cast-item:hover .v9-cast-photo img {
  transform: scale(1.035);
}

body.home-polish-v1 #cast.v9-today-card .v9-cast-meta-row {
  padding-block: 8px;
  border-bottom: 1px solid var(--polish-line);
}

body.home-polish-v1 #cast.v9-today-card .v9-cast-status {
  letter-spacing: 0.06em;
}

/* System — separators instead of boxes */
body.home-polish-v1 #system .system-price-card {
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home-polish-v1 #system .system-price-row {
  min-height: 62px !important;
  padding: 15px 4px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--polish-line) !important;
  background: transparent !important;
}

body.home-polish-v1 #system .system-price-row:first-child {
  border-top: 1px solid var(--polish-line) !important;
}

body.home-polish-v1 #system .system-price-row span {
  color: var(--polish-muted);
  letter-spacing: 0.05em;
}

body.home-polish-v1 #system .system-price-row strong {
  color: var(--polish-wine);
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 1.2em;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
}

/* Shared buttons */
body.home-polish-v1 .princess-home :is(.button-premium, .reserve-btn, .v9-cast-button) {
  min-height: 54px;
  padding: 14px 28px;
  border: 1px solid rgba(113, 54, 79, 0.24);
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: none;
  transition: color 0.45s ease, background 0.45s ease, transform 0.45s var(--polish-ease), box-shadow 0.45s ease;
}

body.home-polish-v1 .princess-home :is(.button-premium, .reserve-btn, .v9-cast-button):hover {
  color: #fff;
  background: var(--polish-wine);
  box-shadow: 0 14px 34px rgba(113, 54, 79, 0.2);
  transform: translateY(-2px);
}

/* Stagger content after the existing reveal observer activates each card. */
body.home-polish-v1 .reveal-card:not(.is-visible) {
  opacity: 0 !important;
  transform: translateY(20px) scale(0.995) !important;
}

body.home-polish-v1 .reveal-card.is-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  transition: opacity 0.95s ease, transform 1.05s var(--polish-ease) !important;
}

/* Runtime: preserve compact-header states without animating layout properties. */
body.home-polish-v1 > .header .header-inner,
body.home-polish-v1 > .header .logo {
  transition-property: opacity, transform !important;
}

body.home-polish-v1 .reveal-card :is(img, figure, .section-title, header, p, ul, .system-price-card, .access-box, .princess-card-action, .news-more, .gallery-more, .instagram-brand-action) {
  transition-property: opacity, transform !important;
  transition-duration: 1s, 1.1s !important;
  transition-timing-function: ease, var(--polish-ease) !important;
}

body.home-polish-v1 .reveal-card:not(.is-visible) :is(img, figure, .section-title, header, p, ul, .system-price-card, .access-box, .princess-card-action, .news-more, .gallery-more, .instagram-brand-action) {
  opacity: 0;
  transform: translateY(12px);
}

body.home-polish-v1 .reveal-card.is-visible :is(img, figure) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.04s !important;
}

body.home-polish-v1 .reveal-card.is-visible :is(.section-title, header) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s !important;
}

body.home-polish-v1 .reveal-card.is-visible :is(p, ul, .system-price-card, .access-box) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.24s !important;
}

body.home-polish-v1 .reveal-card.is-visible :is(.princess-card-action, .news-more, .gallery-more, .instagram-brand-action) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s !important;
}

/* Persistent reservation actions — LINE remains the primary action. */
body.home-polish-v1 .v72-fixed-cta {
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(113, 54, 79, 0.14);
  background: rgba(255, 253, 252, 0.9);
  box-shadow: 0 16px 50px rgba(65, 31, 46, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.home-polish-v1 .v72-fixed-cta .button-premium {
  border-radius: 999px;
  transition: transform 0.4s var(--polish-ease), box-shadow 0.4s ease, background 0.4s ease;
}

body.home-polish-v1 .v72-fixed-cta .v72-fixed-line {
  border-color: transparent !important;
  background: linear-gradient(135deg, #6e334d, #9f536f) !important;
  color: #fff !important;
  box-shadow: 0 9px 24px rgba(113, 54, 79, 0.22) !important;
}

body.home-polish-v1 .v72-fixed-cta :is(.v72-fixed-web, .v72-fixed-phone) {
  border: 1px solid rgba(113, 54, 79, 0.2) !important;
  background: rgba(255, 253, 252, 0.84) !important;
  color: var(--polish-wine) !important;
  box-shadow: none !important;
}

body.home-polish-v1 .v72-fixed-cta .button-premium:hover {
  transform: translateY(-2px);
}

body.home-polish-v1 .v72-fixed-cta :is(.v72-fixed-web, .v72-fixed-phone):hover {
  border-color: var(--polish-wine) !important;
  background: #fff !important;
  box-shadow: 0 9px 24px rgba(113, 54, 79, 0.12) !important;
}

/* Closing reservation moment and footer */
body.home-polish-v1 .luxury-footer {
  position: relative;
  padding: clamp(90px, 10vw, 150px) clamp(24px, 6vw, 96px) 42px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 114, 142, 0.32), transparent 44%),
    linear-gradient(145deg, #3f2432, #6f3a50 58%, #4e2939);
}

body.home-polish-v1 .luxury-footer::before {
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(237, 207, 159, 0.75), transparent);
}

body.home-polish-v1 .luxury-footer-cta {
  max-width: 760px;
  margin: 0 auto clamp(86px, 9vw, 132px);
  text-align: center;
}

body.home-polish-v1 .luxury-footer-eyebrow {
  margin: 0 0 14px;
  color: #e7c998;
  font: 500 13px/1.5 "Cormorant Garamond", serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

body.home-polish-v1 .luxury-footer h2 {
  margin: 0;
  color: #fff;
  font: 400 clamp(26px, 3.6vw, 46px)/1.4 "Noto Serif JP", serif;
  letter-spacing: 0.1em;
}

body.home-polish-v1 .luxury-footer-cta > p:not(.luxury-footer-eyebrow) {
  margin: 22px 0 30px;
  font-size: 13px;
  letter-spacing: 0.1em;
}

body.home-polish-v1 .luxury-footer-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

body.home-polish-v1 :is(.luxury-footer-primary, .luxury-footer-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 58px;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: transform 0.45s var(--polish-ease), background 0.45s ease, box-shadow 0.45s ease;
}

body.home-polish-v1 .luxury-footer-primary {
  border-color: rgba(255, 255, 255, 0.92);
  background: #fffaf7;
  color: var(--polish-wine);
  box-shadow: 0 14px 34px rgba(28, 14, 21, 0.28);
}

body.home-polish-v1 :is(.luxury-footer-primary, .luxury-footer-secondary):hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

body.home-polish-v1 .luxury-footer-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: 1180px;
  margin: auto;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

body.home-polish-v1 .luxury-footer-logo {
  margin: 0 0 8px;
  color: #fff;
  font: 600 31px/1 "Cormorant Garamond", serif;
  letter-spacing: 0.08em;
}

body.home-polish-v1 .luxury-footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 26px;
}

body.home-polish-v1 .luxury-footer-meta a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.35s ease;
}

body.home-polish-v1 .luxury-footer-meta a:hover {
  color: #fff;
}

body.home-polish-v1 .luxury-footer-copy {
  max-width: 1180px;
  margin: 30px auto 0;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.08em;
}

@keyframes polishHeroDrift {
  from { transform: scale(1.015); }
  to { transform: scale(1.055); }
}

@keyframes polishReveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* GPU rendering boundaries — preserve the existing effects and appearance. */
body.home-polish-v1 .hero.hero-ver6 {
  contain: layout paint style;
}

html body.home-polish-v1.premium-design-system:not(.cast-detail-page) .hero.hero-ver6 .hero-slider-track {
  will-change: transform !important;
}

body.home-polish-v1 .hero.hero-ver6 .hero-slide,
body.home-polish-v1 .hero.hero-ver6 .hero-slide img {
  backface-visibility: hidden;
}

body.home-polish-v1 .princess-home :is(
  #cast,
  #princess-pickup,
  #concept,
  #new-cast,
  #weekly-ranking,
  #cast-list,
  #system,
  #instagram,
  #recruit,
  #contact
) {
  contain: layout paint style;
  isolation: isolate;
}

body.home-polish-v1 .princess-home :is(
  .premium-card-news,
  #gallery,
  #access
) {
  contain: layout style;
  isolation: isolate;
}

body.home-polish-v1 :is(.header, .v72-fixed-cta) {
  isolation: isolate;
}

/* Let Chrome promote only the reveal currently animating. */
body.home-polish-v1 .reveal-card,
body.home-polish-v1 .reveal-card.is-visible {
  will-change: auto !important;
}

@media (max-width: 1100px) {
  body.home-polish-v1 .hero.hero-ver6 {
    min-height: 760px;
  }

}

@media (min-width: 769px) {
  html body.home-polish-v1 .princess-home #cast-list .all-cast-grid > .cast-card.public-cast-card {
    height: auto !important;
    min-height: 0 !important;
  }

  html body.home-polish-v1 .princess-home #cast-list .public-cast-photo {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 5 !important;
    border: 0 !important;
    border-radius: var(--polish-radius) !important;
    box-shadow: var(--polish-shadow) !important;
  }

  html body.home-polish-v1 .princess-home #cast-list .public-cast-info,
  html body.home-polish-v1 .princess-home #cast-list .cast-card:has(.public-cast-badges) .public-cast-info {
    gap: 6px !important;
    padding: 20px 5px 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html body.home-polish-v1 .princess-home #cast-list .public-cast-info h3 {
    padding-bottom: 5px !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  html body.home-polish-v1 .princess-home #cast-list .public-cast-info h3::after {
    margin-left: 0 !important;
  }
}

@media (max-width: 768px) {
  body.home-polish-v1 .hero.hero-ver6 {
    min-height: 700px;
  }

  body.home-polish-v1 .hero.hero-ver6::before {
    background: linear-gradient(180deg, rgba(44, 20, 32, 0.05) 22%, rgba(44, 20, 32, 0.72) 100%);
  }

  body.home-polish-v1 .hero-polish-content {
    right: 18px;
    bottom: 30px;
    left: 18px;
  }

  body.home-polish-v1 .hero-polish-catch {
    font-size: clamp(25px, 7.4vw, 38px);
    letter-spacing: 0.07em;
  }

  body.home-polish-v1 .hero-polish-description {
    max-width: 320px;
    margin-block: 15px 21px;
    line-height: 1.85;
  }

  body.home-polish-v1 .hero-polish-actions {
    grid-template-columns: 1fr;
    width: min(100%, 380px);
  }

  body.home-polish-v1 :is(.hero-polish-primary, .hero-polish-secondary) {
    min-height: 58px;
  }

  body.home-polish-v1 .princess-home {
    padding-top: 68px;
    padding-inline: max(18px, env(safe-area-inset-left));
  }

  body.home-polish-v1 :is(.princess-card-grid, #new-cast, #weekly-ranking) {
    margin-bottom: 78px;
  }

  body.home-polish-v1 .princess-card-grid {
    gap: 54px;
  }

  body.home-polish-v1 .section-title {
    margin-bottom: 30px;
  }

  body.home-polish-v1 #cast-list .all-cast-grid {
    gap: 26px 14px;
  }

  body.home-polish-v1 #cast-list .public-cast-info {
    padding-top: 14px;
  }

  html body.home-polish-v1 .princess-home #cast-list .all-cast-grid > .cast-card.public-cast-card {
    border-bottom: 1px solid var(--polish-line) !important;
  }

  body.home-polish-v1 .luxury-footer {
    padding: 82px 22px 108px;
  }

  body.home-polish-v1 .luxury-footer-actions,
  body.home-polish-v1 .luxury-footer-meta {
    align-items: stretch;
    flex-direction: column;
  }

  body.home-polish-v1 :is(.luxury-footer-primary, .luxury-footer-secondary) {
    width: 100%;
  }

  body.home-polish-v1 .luxury-footer-meta nav {
    justify-content: flex-start;
  }

  body.home-polish-v1 .v72-fixed-cta {
    gap: 5px;
    padding: 8px 7px max(8px, env(safe-area-inset-bottom));
  }

  body.home-polish-v1 .v72-fixed-cta .button-premium {
    min-height: 48px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  body.home-polish-v1 .hero.hero-ver6 {
    min-height: 680px;
  }

  body.home-polish-v1 .hero-polish-description {
    font-size: 11px;
  }

  body.home-polish-v1 #system .system-price-row {
    min-height: 58px;
    padding-inline: 0;
  }

  body.home-polish-v1 .luxury-footer-meta nav {
    gap: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-polish-v1 *,
  body.home-polish-v1 *::before,
  body.home-polish-v1 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
