/* Homepage-only promotion: original artwork, independent actions and media gallery. */
.ws-promo-section { padding: 12px 0 22px; scroll-margin-top: 88px; }
.ws-promo-container { width: min(100% - 48px, 1440px); }
.ws-promo { overflow: hidden; border: 1px solid #81dff3; border-radius: 24px; background: #08afe0; box-shadow: 0 18px 52px #159cb629; }
.ws-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ws-promo__art { position: relative; isolation: isolate; aspect-ratio: 8 / 3; padding: 14.5% 4.5% 30px; background: #08afe0 url('../images/games/word-solitaire/promo/banner.webp') center top / 100% auto no-repeat; }
.ws-promo__art::before { content: ""; position: absolute; z-index: -1; inset: 32% 40% 0 0; background: linear-gradient(90deg, #00537b66, #00618a38 80%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 85%, transparent); }
.ws-promo__copy { width: 54%; color: #fff; }
.ws-promo__copy h2 { margin: 0; color: inherit; font-size: clamp(27px, 2.55vw, 38px); line-height: 1.24; font-weight: 850; letter-spacing: -.025em; text-wrap: balance; text-shadow: 0 3px 8px #00456fa6; }
.ws-promo__subtitle { margin: 12px 0 24px; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5; font-weight: 650; text-shadow: 0 2px 5px #004568aa; }
.ws-promo__choices { display: grid; grid-template-columns: minmax(160px, .8fr) 30px minmax(0, 1.65fr); align-items: start; gap: 12px; }
.ws-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 16px; border: 1px solid transparent; border-radius: 13px; font: inherit; font-size: 14px; font-weight: 800; line-height: 1.35; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.ws-button svg { flex-shrink: 0; }
.ws-button--interest { width: 100%; color: #30205e; background: linear-gradient(#ffe75a, #ffc400); border-color: #fff59b; box-shadow: 0 4px 0 #dc9b00, 0 8px 18px #003b6152; }
.ws-button--interest:hover { background: linear-gradient(#fff187, #ffd227); transform: translateY(-1px); }
.ws-button--interest:disabled { cursor: default; color: #145540; background: #dbffe5; border-color: #f1fff4; box-shadow: 0 3px 0 #83cdae; transform: none; }
.ws-promo__or { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 16px; font-size: 14px; font-weight: 650; text-shadow: 0 1px 4px #004468; }
.ws-promo__thanks { margin: 14px 0 0; font-size: 13px; font-weight: 650; line-height: 1.5; text-shadow: 0 1px 4px #004468; }
.ws-signup { margin: 0; min-width: 0; }
.ws-signup__row { display: flex; align-items: center; min-height: 54px; padding: 4px; gap: 4px; background: #fff; border: 1px solid #fff; border-radius: 14px; box-shadow: 0 5px 18px #00487333; }
.ws-signup__mail { color: #32627e; margin-left: 7px; flex: 0 0 18px; }
.ws-signup__row input { width: 100%; min-width: 0; min-height: 42px; padding: 8px 3px; background: transparent; color: #223b59; border: 0; border-radius: 5px; font-size: 14px; line-height: 1.3; }
.ws-signup__row input::placeholder { color: #68748a; opacity: 1; }
.ws-signup__row:has(input[aria-invalid="true"]) { border-color: #ffd0bb; box-shadow: 0 0 0 2px #b62e36; }
.ws-button--subscribe { flex-shrink: 0; min-height: 44px; padding: 10px 12px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #9566ff, #6430e5); box-shadow: inset 0 1px 0 #ffffff55; }
.ws-button--subscribe:hover { background: linear-gradient(145deg, #a57aff, #7640ed); }
.ws-button--subscribe:disabled { cursor: not-allowed; opacity: .65; }
.ws-signup__consent { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; color: #fff; font-size: 12px; line-height: 1.5; text-shadow: 0 1px 3px #003c60; cursor: pointer; }
.ws-signup__consent input { flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #7440ec; }
.ws-signup__notice { margin: 7px 0 0; color: #fff; font-size: 12px; line-height: 1.5; text-shadow: 0 1px 3px #003c60; }
.ws-signup__error, .ws-signup__status { margin: 9px 0 0; padding: 9px 11px; border-radius: 9px; font-size: 12px; line-height: 1.45; text-shadow: none; }
.ws-signup__error { background: #fff1e8; color: #8d2530; }
.ws-signup__status { background: #f2f5ff; color: #403167; border: 1px solid #d9d1fb; }
.ws-signup__status[data-state] { position: relative; padding: 14px 15px 14px 48px; border-radius: 13px; font-size: 13px; line-height: 1.55; font-weight: 650; }
.ws-signup__status[data-state]::before { position: absolute; top: 14px; left: 13px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 16px; font-weight: 800; line-height: 1; }
.ws-signup__status[data-state="pending"] { background: #f6f2ff; border-color: #d8caf7; color: #503380; }
.ws-signup__status[data-state="pending"]::before { content: ""; width: 19px; height: 19px; top: 16px; left: 15px; border: 2px solid #d4c2f4; border-top-color: #7440d4; animation: ws-signup-spin .8s linear infinite; }
.ws-signup__status[data-state="success"] { color: #155b50; background: linear-gradient(120deg, #ecfff8, #ddf8f0); border-color: #9edccb; box-shadow: 0 4px 14px #0b806b14; }
.ws-signup__status[data-state="success"]::before { content: "\2713"; color: #fff; background: #178675; box-shadow: 0 0 0 3px #17867512; }
.ws-signup__status[data-state="error"] { color: #8d2530; background: #fff1ed; border-color: #efb5b1; }
.ws-signup__status[data-state="error"]::before { content: "!"; color: #fff; background: #b34b52; }
.ws-signup[data-state="saving"] .ws-button--subscribe { cursor: progress; opacity: .8; }
.ws-signup[data-state="success"] .ws-signup__row { border-color: #9edccb; box-shadow: 0 0 0 2px #d7f7ed; }
.ws-signup[data-state="success"] .ws-button--subscribe { cursor: default; opacity: 1; color: #fff; background: #178675; box-shadow: none; }
.ws-signup[data-state="success"] .ws-signup__row input { color: #52766e; -webkit-text-fill-color: #52766e; opacity: 1; }
.ws-signup[data-state="success"] .ws-signup__consent { cursor: default; }
.ws-signup[data-state="success"] .ws-signup__consent input { accent-color: #178675; }
.ws-signup[data-state="success"] .ws-signup__notice { display: none; }
@keyframes ws-signup-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ws-signup__status[data-state="pending"]::before { animation: none; } }
.ws-gallery { position: relative; padding: 16px 24px 22px; border-top: 1px solid #e4ffffaa; background: linear-gradient(180deg, #d9fcffc9, #a6edffc9); }
.ws-gallery__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; color: #14485e; }
.ws-gallery__heading h3 { font-size: 16px; line-height: 1.4; font-weight: 800; margin: 0; }
.ws-gallery__heading p { font-size: 12px; margin: 3px 0 0; }
.ws-gallery__arrows { display: flex; gap: 8px; }
.ws-gallery__arrows button { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 1px solid #ffffff; border-radius: 50%; color: #14485e; background: #ffffffb8; font: inherit; font-size: 21px; line-height: 1; cursor: pointer; }
.ws-gallery__arrows button:disabled { opacity: .35; cursor: default; }
.ws-gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 96px) / 9); gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scrollbar-width: thin; scrollbar-color: #168fae55 transparent; overscroll-behavior-x: contain; }
.ws-gallery__item { position: relative; display: block; padding: 0; border: 2px solid #ffffffef; border-radius: 13px; aspect-ratio: 9 / 16; background: #057ba9; overflow: hidden; scroll-snap-align: start; box-shadow: 0 4px 10px #005b7933; cursor: zoom-in; transition: border-color .15s, transform .15s; }
.ws-gallery__item:hover { border-color: #ffe65b; transform: translateY(-3px); }
.ws-gallery__item img { width: 100%; height: 100%; object-fit: contain; }
.ws-gallery__number { position: absolute; bottom: 7px; right: 7px; padding: 1px 6px; border-radius: 5px; background: #12375cb3; color: white; font-size: 10px; line-height: 1.5; font-weight: 750; }
.ws-gallery__item--video { cursor: pointer; border-color: #fff27c; background: #12345e; }
.ws-gallery__item--video img { opacity: .5; }
.ws-gallery__play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 54px; height: 54px; padding-left: 3px; border: 2px solid #fff; border-radius: 50%; background: #ffffff2b; color: #fff; box-shadow: 0 3px 22px #001c5699; }
.ws-gallery__video-label { position: absolute; inset: auto 5px 10px; color: white; font-size: 11px; font-weight: 750; line-height: 1.4; text-align: center; text-shadow: 0 2px 4px #00152c; }
.ws-promo [hidden], .ws-media-dialog [hidden] { display: none; }
.ws-promo :focus-visible, .ws-media-dialog :focus-visible { outline: 3px solid #ffe86a; outline-offset: 3px; }
.ws-signup__row input:focus-visible { outline-color: #8051e9; outline-offset: -1px; }
.ws-gallery__item:focus-visible { outline-offset: -4px; }
.ws-media-dialog { padding: 0; border: 1px solid #36455e; border-radius: 18px; background: #101b30; color: #fff; width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 26px 90px #0008; }
.ws-media-dialog::backdrop { background: #081120d9; backdrop-filter: blur(7px); }
.ws-video-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.ws-video-dialog__header h2 { font-size: 15px; line-height: 1.5; margin: 0; color: #fff; }
.ws-video-dialog__header p { font-size: 12px; color: #b9cce4; margin: 3px 0 0; }
.ws-video-dialog__close { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid #506079; border-radius: 50%; background: #233049; color: white; font: inherit; font-size: 26px; cursor: pointer; }
.ws-video-dialog__player { display: block; width: 100%; height: min(76dvh, 720px); object-fit: contain; background: #060d19; }
.ws-video-dialog__error { margin: 0; padding: 12px 16px; font-size: 14px; color: #ffd4c4; }
.ws-image-dialog { width: min(560px, calc(100vw - 24px)); }
.ws-image-dialog__image { width: 100%; height: min(75dvh, 820px); object-fit: contain; background: #060d19; }
.ws-image-dialog__caption { margin: 0; padding: 8px 16px; color: #b9cce4; font-size: 12px; }
@media (max-width: 1200px) and (min-width: 761px) {
  .ws-promo__copy { width: 49%; }
  .ws-promo__choices { grid-template-columns: 1fr; gap: 12px; }
  .ws-promo__vote { display: flex; align-items: center; gap: 14px; }
  .ws-button--interest { width: auto; flex-shrink: 0; }
  .ws-promo__thanks { margin: 0; font-size: 12px; }
  .ws-promo__or { padding: 0; }
  .ws-promo__or::before, .ws-promo__or::after { content: ""; flex: 1; height: 1px; background: #ffffff6b; }
  .ws-promo__subtitle { margin-bottom: 20px; }
  .ws-gallery__track { grid-auto-columns: 116px; }
}
@media (max-width: 760px) {
  .ws-promo-section { padding-top: 4px; }
  .ws-promo-container { width: calc(100% - 32px); }
  .ws-promo { border-radius: 18px; }
  .ws-promo__art { aspect-ratio: auto; padding: calc(37.5% + 18px) 22px 25px; }
  .ws-promo__art::before { inset: 0; background: linear-gradient(transparent 110px, #006c9c44 230px, #00749d66); mask-image: none; }
  .ws-promo__copy { width: 100%; }
  .ws-promo__copy h2 { font-size: clamp(26px, 6vw, 34px); line-height: 1.3; }
  .ws-promo__subtitle { margin: 10px 0 20px; font-size: 16px; }
  .ws-promo__choices { grid-template-columns: 1fr; gap: 17px; }
  .ws-button { font-size: 15px; }
  .ws-promo__or { padding: 0; }
  .ws-promo__or::before, .ws-promo__or::after { content: ""; flex: 1; height: 1px; background: #ffffff6b; }
  .ws-promo__thanks { margin-top: 12px; }
  .ws-signup__row { flex-wrap: wrap; padding: 6px; gap: 5px; }
  .ws-signup__row input { font-size: 16px; width: calc(100% - 36px); flex: 1 0 calc(100% - 36px); }
  .ws-button--subscribe { width: 100%; min-height: 44px; }
  .ws-signup__consent, .ws-signup__notice { font-size: 12px; }
  .ws-gallery { padding: 16px 14px 12px; }
  .ws-gallery__heading { gap: 8px; }
  .ws-gallery__heading h3 { font-size: 15px; }
  .ws-gallery__heading p { font-size: 11px; }
  .ws-gallery__arrows { gap: 5px; }
  .ws-gallery__arrows button { width: 32px; height: 32px; }
  .ws-gallery__track { grid-auto-columns: 112px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .ws-button, .ws-gallery__item { transition: none; } }
