/* Standalone Word Solitaire presentation; homepage promo styles stay untouched. */
.ws-game-page { color: #25475d; }
.ws-game-page [hidden] { display: none !important; }
.ws-game-opening { padding-top: 22px; }
.ws-game-back { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 13px; color: #52657a; }
.ws-game-hero { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #a3e8ec; border-radius: 26px; background: linear-gradient(120deg, #067b9c, #07b8e4); color: #fff; box-shadow: 0 18px 48px #107d9a24; }
.ws-game-hero__copy { position: relative; z-index: 1; width: 57%; padding: 38px 0 38px 40px; }
.ws-game-hero__art { position: absolute; inset: 0 0 0 53%; }
.ws-game-hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0699bc, transparent 18%); }
.ws-game-hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; max-width: none; }
.ws-game-status { display: inline-flex; border: 1px solid #e2fbff99; padding: 5px 12px; border-radius: 30px; background: #e5fafff0; color: #07556d; font-size: 12px; line-height: 1.5; font-weight: 750; }
.ws-game-hero h1 { margin: 18px 0 12px; color: #fff; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.16; letter-spacing: -.035em; font-weight: 850; text-shadow: 0 3px 8px #004f6959; }
.ws-game-tagline { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.5; font-weight: 600; color: #e8fcff; }
.ws-game-feedback { margin-top: 30px; padding-top: 24px; border-top: 1px solid #a9ecf54d; scroll-margin-top: 105px; }
.ws-game-feedback h2 { margin: 0; color: #fff; font-size: 23px; line-height: 1.35; font-weight: 750; letter-spacing: -.02em; }
.ws-game-feedback > p { margin: 8px 0 16px; color: #e5faff; font-size: 15px; line-height: 1.5; }
.ws-game-votes { display: flex; align-items: stretch; gap: 12px; }
.ws-game-votes .ws-button { min-height: 52px; width: auto; font-size: 14px; flex: 1; }
.ws-game-votes .ws-button--interest > [aria-hidden] { font-size: 22px; line-height: 1; }
.ws-button--decline { color: #fff; background: #075b7b80; border: 1px solid #ffffff8c; }
.ws-button--decline:hover { background: #074e70b3; }
.ws-game-votes .ws-button:disabled { transform: none; cursor: default; }
.ws-game-votes .ws-button[aria-pressed="false"]:disabled { opacity: .65; }
.ws-button--decline[aria-pressed="true"] { background: #dff6ff; border-color: white; color: #12415d; box-shadow: 0 3px 0 #7acbdb; }
.ws-game-feedback .ws-game-thanks { margin: 16px 0 0; font-size: 14px; font-weight: 650; }
.ws-game-or { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 20px auto; color: #65838e; font-size: 14px; }
.ws-game-or::before, .ws-game-or::after { content: ""; flex: 1; height: 1px; background: #d8e7eb; }
.ws-game-or span { padding: 0 8px; }
.ws-game-signup { display: grid; grid-template-columns: 1fr 1.3fr; align-items: start; gap: 36px; padding: 26px 30px; background: #fff; border: 1px solid #d8e8ed; border-radius: 20px; box-shadow: 0 8px 26px #16577508; }
.ws-game-signup__intro h2 { font-size: 20px; line-height: 1.4; color: #1d4b5c; margin: 0 0 10px; }
.ws-game-signup__intro p { margin: 0; font-size: 13px; line-height: 1.6; color: #697c87; }
.ws-game-signup .ws-signup__row { border-color: #c5d7de; box-shadow: none; }
.ws-game-signup .ws-signup__consent, .ws-game-signup .ws-signup__notice { color: #526b78; text-shadow: none; font-size: 12px; }
.ws-game-page :focus-visible { outline: 3px solid #7547dc; outline-offset: 4px; }
.ws-game-hero :focus-visible { outline-color: #fff49d; }
.ws-game-section { padding: 66px 0 0; }
.ws-game-section__heading { margin-bottom: 28px; }
.ws-game-section__heading h2, .ws-game-mechanics h2, .ws-game-closing h2 { margin: 12px 0; color: #183f52; font-size: clamp(25px, 2.8vw, 34px); line-height: 1.25; letter-spacing: -.025em; font-weight: 800; }
.ws-game-section__heading > p, .ws-game-section__heading > div > p { color: #647b88; font-size: 16px; line-height: 1.6; margin: 0; max-width: 740px; }
.ws-game-showcase { display: grid; grid-template-columns: minmax(260px, .8fr) 1.25fr; gap: 64px; align-items: center; padding: 38px; border: 1px solid #c5e5e9; border-radius: 24px; background: linear-gradient(135deg, #def8fa, #f1fcfa 60%, #eff3ff); }
.ws-game-video { position: relative; width: min(100%, 310px); aspect-ratio: 9 / 16; margin: 0 auto; overflow: hidden; background: #052d42; border: 5px solid #fff; border-radius: 23px; box-shadow: 0 16px 38px #12617b29; }
.ws-game-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; padding: 0; cursor: pointer; background: #073e58; color: #fff; }
.ws-game-video__poster img { width: 100%; height: 100%; object-fit: contain; opacity: .76; }
.ws-game-video .ws-gallery__play { width: 78px; height: 78px; background: #173d5680; border-width: 3px; }
.ws-game-video__label { position: absolute; left: 16px; right: 16px; bottom: 25px; padding: 10px; color: #fff; font-size: 15px; line-height: 1.4; font-weight: 750; border-radius: 10px; background: #064d6ddb; }
.ws-game-video video { width: 100%; height: 100%; object-fit: contain; display: block; background: #052d42; }
.ws-game-video__error { position: absolute; inset: auto 10px 8px; padding: 12px; background: #fff2eb; color: #932939; border-radius: 9px; font-size: 13px; line-height: 1.45; }
.ws-game-mechanics h2 { font-size: 28px; margin-top: 0; }
.ws-game-intro { font-size: 16px; line-height: 1.75; color: #4c6c7b; margin: 0; }
.ws-game-steps { display: grid; gap: 20px; margin: 28px 0; }
.ws-game-step { display: flex; gap: 16px; align-items: flex-start; }
.ws-game-step > span { flex: 0 0 40px; height: 40px; display: grid; place-items: center; color: #116b85; background: #fff; border: 1px solid #c5e6ea; border-radius: 12px; font-size: 13px; font-weight: 800; }
.ws-game-step h3 { margin: 0 0 4px; color: #1f5066; font-size: 17px; line-height: 1.4; }
.ws-game-step p { margin: 0; color: #5d7785; font-size: 14px; line-height: 1.65; }
.ws-game-text-link { color: #6544cc; text-decoration: underline; text-underline-offset: 5px; font-size: 15px; font-weight: 750; }
.ws-game-gallery .ws-gallery__heading { align-items: end; }
.ws-game-gallery .ws-gallery__arrows { display: none; }
.ws-game-gallery .ws-gallery__track { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-columns: auto; gap: 20px; overflow: visible; padding: 3px; }
.ws-game-gallery .ws-gallery__item { border-radius: 18px; border: 3px solid white; box-shadow: 0 8px 22px #005b791f; }
.ws-game-gallery .ws-gallery__number { font-size: 12px; padding: 3px 8px; }
.ws-game-closing { text-align: center; padding: 38px 28px; border-radius: 22px; background: linear-gradient(135deg, #e0f8fa, #eef7fc); border: 1px solid #d4eaef; }
.ws-game-closing p { max-width: 640px; margin: 0 auto 24px; color: #5b7682; font-size: 16px; line-height: 1.7; }
.ws-game-page > .ws-game-section:last-child { padding-bottom: 64px; }
/* Existing card component; only the new game's artwork receives these rules. */
.game-card__media[href*="word-solitaire.html"] { background: linear-gradient(135deg, #e3fafb, #d7f3ff); }
.game-card__media[href*="word-solitaire.html"] .game-card__icon { object-fit: cover; object-position: center 58%; }
@media (max-width: 1000px) and (min-width: 761px) {
  .ws-game-hero__copy { width: 61%; padding-left: 28px; }
  .ws-game-hero__art { left: 58%; }
  .ws-game-votes { flex-direction: column; }
  .ws-game-showcase { gap: 28px; padding: 28px; }
}
@media (max-width: 760px) {
  .ws-game-opening { padding-top: 14px; }
  .ws-game-back { margin-bottom: 12px; font-size: 12px; }
  .ws-game-hero { border-radius: 20px; }
  .ws-game-hero__art { inset: 8px 2px auto auto; width: 195px; height: 153px; border-radius: 20px; overflow: hidden; }
  .ws-game-hero__art::after { background: linear-gradient(90deg, #0795b9, transparent 20%); }
  .ws-game-hero__copy { width: 100%; padding: 155px 20px 25px; }
  .ws-game-status { position: absolute; top: 22px; left: 20px; max-width: 125px; font-size: 11px; padding: 5px 10px; }
  .ws-game-hero h1 { font-size: clamp(29px, 7.7vw, 38px); margin: 5px 0 12px; }
  .ws-game-tagline { font-size: 16px; line-height: 1.55; }
  .ws-game-feedback { margin-top: 22px; padding-top: 20px; scroll-margin-top: 90px; }
  .ws-game-feedback h2 { font-size: 20px; }
  .ws-game-feedback > p { font-size: 14px; }
  .ws-game-votes { gap: 9px; }
  .ws-game-votes .ws-button { padding: 11px 9px; font-size: 13px; min-height: 54px; border-radius: 11px; }
  .ws-game-votes .ws-button--interest > [aria-hidden] { display: none; }
  .ws-game-signup { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
  .ws-game-signup__intro h2 { font-size: 18px; }
  .ws-game-or { margin: 15px 0; }
  .ws-game-section { padding-top: 42px; }
  .ws-game-section__heading { margin-bottom: 20px; }
  .ws-game-section__heading > p, .ws-game-section__heading > div > p { font-size: 14px; }
  .ws-game-showcase { grid-template-columns: 1fr; padding: 22px 18px; gap: 30px; border-radius: 20px; }
  .ws-game-video { width: min(100%, 280px); }
  .ws-game-mechanics h2 { font-size: 24px; }
  .ws-game-intro { font-size: 14px; }
  .ws-game-steps { gap: 18px; margin: 24px 0; }
  .ws-game-step { gap: 12px; }
  .ws-game-step h3 { font-size: 16px; }
  .ws-game-step p { font-size: 13px; }
  .ws-game-gallery .ws-gallery__heading { align-items: start; gap: 12px; }
  .ws-game-gallery .ws-gallery__arrows { display: flex; padding-top: 14px; }
  .ws-game-gallery .ws-gallery__arrows button { flex-shrink: 0; background: #e2f6f9; border-color: #c5e5ec; }
  .ws-game-gallery .ws-gallery__track { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(70vw, 260px); gap: 16px; overflow-x: auto; padding: 4px 3px 16px; }
  .ws-game-closing { padding: 28px 22px; }
  .ws-game-closing p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-game-page { scroll-behavior: auto; }
}
