/* DealsSpy home page (V4 Swipe Stories). Loads after ds.css and ds-feed.css and uses
   their tokens. Shared components (.c-*, .ss-*) are defined in ds.css; this file only
   adds what the home page needs: the deck stack states, collection bands, the sidebar's
   mobile shape, admin image banners, "More on DealsSpy", the About panel and the
   story viewer. Scoped to .ss-home or to the story viewer (.ss-svwrap) it opens, except
   the collection band / collection page hero (.ss-cband, .ss-chero), which the
   /collection/* page loads this file for. */

/* ---------- Greeting + search ---------- */
/* The greeting is a <p> (the page keeps one hidden h1), so it must win over .ss-greetrow p */
.ss-home .ss-greetrow .c-greet{max-width:none;padding:14px 0 0;font:700 31px/1.08 var(--font);letter-spacing:-.045em;color:var(--text)}
.ss-home .ss-greetrow .c-greet span{color:var(--muted)}
.ss-home .ss-greet-sub{display:none}
.ss-home .ss-home-search{margin-top:18px}

/* ---------- Stories ---------- */
/* The first ring sits on the content edge at every width: below 992 the row bleeds to the
   screen edge with a gutter-wide inset (ds.css); scroll-padding keeps that inset when a
   focused ring is scrolled into view. */
.ss-home .c-stories{scroll-padding-inline:var(--gutter)}
.ss-home .c-story-name{display:-webkit-box;max-width:100%;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
/* The site's own stories (Admin > Story): the admin thumbnail fills the ring */
.ss-home .c-story--photo .c-ring img{object-fit:cover;padding:0;mix-blend-mode:normal}

/* ---------- Banner ---------- */
.ss-home .ss-track{touch-action:pan-y}
.ss-home .ss-slide{text-decoration:none}
.ss-home .ss-slide:hover{color:var(--on-tint);text-decoration:none}
.ss-home .ss-slide:focus-visible{outline-offset:-5px;border-radius:30px}
.ss-home .ss-banner.is-paused .ss-bar i{animation-play-state:paused}
/* Copy stays above the product bubbles when a long title reaches them */
.ss-home .ss-slide>small,.ss-home .ss-slide h3,.ss-home .ss-slide .go{position:relative;z-index:1}
/* Admin image banners: the picture is contained over a blurred copy of itself, so
   banners drawn for another aspect ratio are never cropped */
.ss-home .ss-slide-img{display:block;padding:0;background:var(--surface-2);cursor:pointer}
.ss-home div.ss-slide-img{cursor:default}
.ss-home .ss-slide-img img{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.ss-home .ss-slide-img .ss-slide-bg{object-fit:cover;filter:blur(22px) saturate(1.2);transform:scale(1.15);opacity:.55}
.ss-home .ss-slide-img .ss-slide-fg{object-fit:contain}
/* Designed admin banners (Extra): an optional line under the title; one with no
   link is not clickable. Phone pictures arrive through <picture>, same box. */
.ss-home .ss-slide .ss-slide-sub{position:relative;z-index:1;display:-webkit-box;max-width:58%;margin:4px 0 auto;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font:600 13px/1.35 var(--font);color:var(--on-tint);opacity:.78}
.ss-home div.ss-slide{cursor:default}
/* Title and its line move as one block: the free space goes above the title and below the line */
.ss-home .ss-slide h3:has(+ .ss-slide-sub){margin-top:auto}
@media (min-width:576px){.ss-home .ss-slide .ss-slide-sub{-webkit-line-clamp:2;font-size:14px}}
@media (min-width:992px){.ss-home .ss-slide .ss-slide-sub{max-width:52%;margin-top:10px;font-size:16px}}

/* ---------- Top drops deck ---------- */
.ss-home .c-deck:focus-visible{outline:3px solid var(--focus);outline-offset:6px;border-radius:34px}
.ss-home .c-card{opacity:1;transition:transform .55s var(--spring),opacity .25s}
.ss-home .c-card[data-pos="0"]{z-index:5}
.ss-home .c-card[data-pos="1"]{z-index:4;transform:translateY(18px) scale(.94) rotate(-2.5deg)}
.ss-home .c-card[data-pos="2"]{z-index:3;transform:translateY(36px) scale(.88) rotate(3deg)}
.ss-home .c-card[data-pos="h"]{z-index:1;opacity:0;transform:translateY(44px) scale(.8);transition:transform .55s var(--spring),opacity 0s}
.ss-home .c-card.is-dragging{transition:none}
.ss-home .c-stamp{opacity:0}
/* ".ss-deckbox .c-card img" (desktop) sizes the product shot; keep it off the store logo */
.ss-home .ss-deckbox .c-card-store img{position:static;width:54px;height:18px}
.ss-home .c-card-info h3 a{color:inherit}
.ss-home .c-card-info h3 a:hover{text-decoration:underline}
.ss-home .c-card-row s,.ss-home .c-card-row span{color:#4A5070}
.ss-home .c-act{flex:none}
/* The stacked cards peek out below the deck; the buttons sit above them */
.ss-home .c-actions{position:relative;z-index:6;margin-top:30px}
.ss-home .c-act.get:hover{color:#FFFFFF}

/* ---------- Today's deals ---------- */
.ss-home .ss-live time{font:inherit;color:inherit}
.ss-home .ss-allpill{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:56px;margin-top:16px;border-radius:999px;background:var(--navy);color:var(--on-navy);font:700 15px/1 var(--font);text-decoration:none;box-shadow:0 10px 24px rgba(43,52,103,.22);transition:transform .25s var(--spring),filter .2s}
.ss-home .ss-allpill:hover{color:var(--on-navy);text-decoration:none;filter:brightness(1.1)}
.ss-home .ss-allpill:active{transform:scale(.97)}
.ss-home .ss-allpill .ic{transition:transform .25s var(--spring)}
.ss-home .ss-allpill:hover .ic{transform:translateX(4px)}

/* ---------- Sidebar sections (tickets, stores, Telegram) ---------- */
.ss-home .ss-tk h3{margin:0;font:700 14px/1.3 var(--font);letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ss-home .ss-ticket:hover{color:var(--text);text-decoration:none}
.ss-home .ss-stub b{max-width:100%;overflow-wrap:anywhere}

/* ---------- More on DealsSpy: rewards, contests, quiz answers, tools ----------
   Two feature cards (Rewards, Contests: live count, top item, the dock's unseen badge)
   over a grid of tool tiles. Tints stay light in dark mode, like the deck cards. */
.ss-home .ss-explore{margin-top:10px}
.ss-home .ss-explore .ss-h2{padding-bottom:6px}
.ss-home .ss-x-sub{margin:0 0 16px;font:500 14px/1.5 var(--font);color:var(--muted)}
.ss-home .ss-xfeat{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.ss-home .ss-xgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.ss-home .ss-xbig,.ss-home .ss-xtile{position:relative;background:var(--tint);color:#11152E;text-decoration:none;-webkit-tap-highlight-color:transparent}
.ss-home .ss-xbig:hover,.ss-home .ss-xtile:hover{color:#11152E;text-decoration:none}
.ss-home .ss-xbig{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:212px;padding:20px;border-radius:30px;overflow:hidden;isolation:isolate;transition:transform .35s var(--spring),box-shadow .35s ease}
.ss-home .ss-xart{position:absolute;right:-26px;bottom:-30px;z-index:-1;width:170px;height:170px;fill:none;stroke:#11152E;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;opacity:.08;transform:rotate(-12deg);transition:transform .6s var(--spring)}
.ss-home .ss-xtop{display:flex;align-items:center;justify-content:space-between;align-self:stretch;margin-bottom:8px}
.ss-home .ss-xic{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:16px;background:rgba(255,255,255,.85);font-style:normal}
.ss-home .ss-xnew{position:static;height:26px;padding:0 10px;font:700 12px/26px var(--font);box-shadow:none}
.ss-home .ss-xnew::after{content:" new"}
.ss-home .ss-xeye{font:700 11px/1.2 var(--font);letter-spacing:.08em;text-transform:uppercase;color:#3C4262}
.ss-home .ss-xh{font:800 22px/1.15 var(--font);letter-spacing:-.04em}
.ss-home .ss-xmeta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;max-width:100%;font:600 13px/1.4 var(--font);color:#3C4262}
.ss-home .ss-xlive{display:inline-flex;align-items:center;gap:6px;color:#146C34}
.ss-home .ss-xlive i{width:7px;height:7px;border-radius:50%;background:#16A34A;animation:ss-ping 1.6s ease-out infinite}
.ss-home .ss-xtopname{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ss-home .ss-xbig>:nth-last-child(2){margin-bottom:14px}
.ss-home .ss-xgo{display:inline-flex;align-items:center;gap:8px;height:44px;margin-top:auto;padding:0 20px;border-radius:999px;background:#11152E;color:#FFFFFF;font:700 14px/1 var(--font);white-space:nowrap}
.ss-home .ss-xgo .ic{transition:transform .25s var(--spring)}
.ss-home .ss-xtile{display:flex;flex-direction:column;gap:12px;min-height:150px;padding:16px;border-radius:24px;transition:transform .35s var(--spring)}
.ss-home .ss-xtile .ss-xic{width:44px;height:44px;border-radius:15px}
.ss-home .ss-xtile b{display:block;font:700 15px/1.25 var(--font);letter-spacing:-.02em}
.ss-home .ss-xtile small{display:-webkit-box;margin-top:4px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:500 12px/1.4 var(--font);color:#4A5070}
.ss-home .ss-xtile time{margin-top:auto;font:600 11px/1.2 var(--font);color:#4A5070}
@media (hover:hover){
  .ss-home .ss-xbig:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(17,21,46,.16)}
  .ss-home .ss-xbig:hover .ss-xart{transform:rotate(-2deg) scale(1.08)}
  .ss-home .ss-xbig:hover .ss-xgo .ic{transform:translateX(4px)}
  .ss-home .ss-xtile:hover{transform:translateY(-4px) rotate(-1deg)}
}
.ss-home .ss-xbig:active,.ss-home .ss-xtile:active{transform:scale(.97)}
@media (prefers-reduced-motion:reduce){
  .ss-home .ss-xbig,.ss-home .ss-xtile,.ss-home .ss-xart,.ss-home .ss-xgo .ic{transition:none}
  .ss-home .ss-xlive i{animation:none}
}

/* ---------- About ---------- */
.ss-home .ss-about{margin-top:40px}
.ss-home .ss-about summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;list-style:none;cursor:pointer}
.ss-home .ss-about summary::-webkit-details-marker{display:none}
.ss-home .ss-about summary h2{font:700 20px/1.2 var(--font);letter-spacing:-.03em}
.ss-home .ss-about summary .ic{flex:none;transition:transform .3s var(--spring)}
.ss-home .ss-about[open] summary .ic{transform:rotate(180deg)}
.ss-home .ss-about summary:focus-visible{outline-offset:6px;border-radius:14px}
.ss-home .ss-about-body{max-width:860px;padding-top:4px;font:400 14px/1.7 var(--font);color:var(--muted)}
.ss-home .ss-about-body h3{margin:18px 0 6px;font:700 16px/1.3 var(--font);letter-spacing:-.02em;color:var(--text)}
.ss-home .ss-about-body p{margin:0 0 10px}
.ss-home .ss-about-body a{color:var(--text);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* ---------- Phones + tablets: the sidebar sections sit in the page flow, as in the
   mobile board (no panel cards, scrolling ticket row, 4-up stores) ---------- */
@media (max-width:991.98px){
  .ss-home .ss-side{gap:0;padding-top:0}
  .ss-home .ss-side .ss-panel{padding:0;border-radius:0;background:none;box-shadow:none}
  .ss-home .ss-side .ss-tickets{grid-auto-flow:column;grid-auto-columns:284px;overflow-x:auto;margin-left:calc(-1 * var(--gutter));margin-right:calc(-1 * var(--gutter));padding:4px var(--gutter) 10px;scroll-padding-inline:var(--gutter)}
  .ss-home .ss-side .ss-stores{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ss-home .ss-side .ss-tg{margin-top:34px}
}
@media (min-width:576px){
  .ss-home .ss-greetrow .c-greet{font-size:38px}
  .ss-home .ss-xfeat{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ss-home .ss-xgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:768px) and (max-width:991.98px){
  .ss-home .ss-side .ss-stores{grid-template-columns:repeat(8,minmax(0,1fr))}
}

/* ---------- Desktop (>= 992): SSHomeDesk ---------- */
@media (min-width:992px){
  .ss-home .ss-greetrow .c-greet{padding:34px 0 0;font-size:46px}
  .ss-home .ss-greetrow .c-greet br{display:none}
  .ss-home .ss-greet-sub{display:block}
  .ss-home .ss-home-search{max-width:560px}

  .ss-home .ss-hero{margin-top:22px}
  .ss-home .ss-hero--solo{grid-template-columns:minmax(0,1fr)}
  .ss-home .ss-hero--solo .ss-deckbox{justify-self:center;width:100%;max-width:440px}
  .ss-home .c-card[data-pos="1"]{transform:translateY(14px) scale(.95) rotate(-2deg)}
  .ss-home .c-card[data-pos="2"]{transform:translateY(28px) scale(.9) rotate(2.5deg)}
  .ss-home .ss-deckbox .c-actions{margin-top:18px}
  .ss-home .ss-deckbox .c-hint{display:none}

  /* The sidebar runs the full height of the feed: the Telegram card comes after the
     stores and stays in view (under the sticky header) while the deals scroll, so the
     column beside the feed is never empty. */
  .ss-home .ss-layout{align-items:stretch}
  .ss-home .ss-side .ss-tg{position:sticky;top:100px;z-index:1}
  .ss-home .ss-side .ss-tg h2{max-width:82%;font-size:23px}
  .ss-home .ss-side .ss-tg p{max-width:none}
  .ss-home .ss-side .ss-tg-btns{flex-direction:column}
  .ss-home .ss-side .ss-panel .ss-h2{padding:0 0 14px}
  .ss-home .ss-side .ss-panel .ss-h2 h2{font:700 18px/1.2 var(--font);letter-spacing:-.03em}
  .ss-home .ss-side .ss-ticket:nth-child(n+6){display:none}
  .ss-home .ss-side .ss-tk span{display:none}

  .ss-home .ss-explore{margin-top:24px}
  .ss-home .ss-x-sub{margin-top:-6px;font-size:15px}
  .ss-home .ss-xbig{min-height:236px;padding:26px 28px;border-radius:34px}
  .ss-home .ss-xh{font-size:26px}
  .ss-home .ss-xart{right:-30px;bottom:-40px;width:230px;height:230px}
  .ss-home .ss-xtile{min-height:164px;padding:18px;border-radius:26px}
  .ss-home .ss-about{margin-top:40px;padding:24px 28px}
  .ss-home .ss-about summary h2{font-size:22px}

  /* First ring on the content edge; a small inset bleed keeps its hover scale and focus
     ring clear of the row's scroll clip */
  .ss-home .c-stories{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px;scroll-padding-inline:10px}
}
@media (min-width:1200px){
  .ss-home .ss-xgrid{grid-template-columns:repeat(6,minmax(0,1fr))}
  /* The header carries an inline search from here up */
  .ss-home .ss-home-search{display:none}
}

/* ---------- Collection bands (home) ----------
   A pastel panel per collection: eyebrow + title + "View collection" pill, then a rail of
   deal tiles ending in a "View all" card. Tiles sit on white so they read against any tint;
   in dark mode the panel becomes a faint wash of its tint. */
.ss-cbands{display:flex;flex-direction:column;gap:16px;margin-top:30px}
.ss-cband{position:relative;padding:20px 0 12px;border-radius:30px;background:var(--tint);color:#11152E;overflow:hidden}
.ss-cband-head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"eye pill" "title title";align-items:center;gap:10px 12px;padding:0 18px 14px}
.ss-cband-eye{grid-area:eye;display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;font:700 11px/1.2 var(--font);letter-spacing:.08em;text-transform:uppercase;color:#3C4262;white-space:nowrap}
.ss-cband-eye .ic{flex:none}
.ss-cband-head h2{grid-area:title;font:800 23px/1.14 var(--font);letter-spacing:-.045em}
.ss-cband-head h2 a{color:inherit;text-decoration:none}
.ss-cband-head h2 a:hover{color:inherit;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.ss-cband-head h2 .ic{display:inline-block;width:.78em;height:.78em;margin-left:6px;vertical-align:-.04em;transition:transform .25s var(--spring)}
.ss-cband-head h2 a:hover .ic{transform:translateX(4px)}
.ss-cband-pill{grid-area:pill;justify-self:end;display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.88);color:#11152E;font:700 13px/1 var(--font);white-space:nowrap;text-decoration:none;box-shadow:0 4px 12px rgba(17,21,46,.08);transition:transform .25s var(--spring),background-color .2s}
.ss-cband-pill:hover{background:#FFFFFF;color:#11152E;text-decoration:none}
.ss-cband-pill:active{transform:scale(.94)}
.ss-cband-pill .ic{transition:transform .25s var(--spring)}
.ss-cband-pill-l{display:none}
.ss-cband-pill:hover .ic{transform:translateX(3px)}
.ss-cband-nav{grid-area:nav;display:none;gap:8px}
.ss-cband-arw{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.88);color:#11152E;box-shadow:0 4px 12px rgba(17,21,46,.08);transition:transform .25s var(--spring),opacity .2s}
.ss-cband-arw:active{transform:scale(.9)}
.ss-cband-arw[aria-disabled="true"]{opacity:.38;cursor:default}
.ss-cband-arw[aria-disabled="true"]:active{transform:none}
/* The rail bleeds to the panel edge, with the panel's inset as its padding */
.ss-cband .ss-rail{margin:0;padding:4px 18px 10px;scroll-padding-inline:18px}
.ss-cband .c-tile-img{background:#FFFFFF;box-shadow:0 6px 18px rgba(17,21,46,.07)}
/* A light wash of the deal's tint: keeps the red "-N%" at AA (4.5:1) on every tint */
.ss-cband .c-pricepill{background:#FFFFFF;background:color-mix(in srgb,var(--tint) 40%,#FFFFFF);box-shadow:0 1px 4px rgba(17,21,46,.08)}
.ss-cband .c-heart{box-shadow:0 2px 10px rgba(17,21,46,.12)}
.ss-cband .ss-offer{background:rgba(255,255,255,.85)}
.ss-rail-end{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px 14px;border:2px dashed rgba(17,21,46,.2);border-radius:24px;background:rgba(255,255,255,.42);color:#11152E;text-align:center;text-decoration:none;scroll-snap-align:start;transition:transform .35s var(--spring),background-color .2s}
.ss-rail-end:hover{background:rgba(255,255,255,.72);color:#11152E;text-decoration:none}
.ss-rail-end:active{transform:scale(.96)}
.ss-rail-end-ic{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#11152E;color:#FFFFFF;transition:transform .3s var(--spring)}
.ss-rail-end:hover .ss-rail-end-ic{transform:translateX(5px)}
.ss-rail-end b{font:700 15px/1.2 var(--font)}
.ss-rail-end small{font:500 12px/1.3 var(--font);color:#3C4262}
:root[data-theme="dark"] .ss-cband{background:var(--surface);background:color-mix(in srgb,var(--tint) 13%,var(--surface));color:var(--text);box-shadow:inset 0 0 0 1px var(--line)}
:root[data-theme="dark"] .ss-cband-eye{color:var(--muted)}
:root[data-theme="dark"] .ss-rail-end{border-color:var(--line-strong);background:rgba(255,255,255,.04);color:var(--text)}
:root[data-theme="dark"] .ss-rail-end:hover{background:rgba(255,255,255,.08);color:var(--text)}
:root[data-theme="dark"] .ss-rail-end small{color:var(--muted)}
:root[data-theme="dark"] .ss-rail-end-ic{background:var(--navy);color:var(--on-navy)}
@media (min-width:576px){
  .ss-cband-head h2{font-size:26px}
  .ss-cband-pill-s{display:none}
  .ss-cband-pill-l{display:inline}
}
@media (min-width:992px){
  .ss-cbands{gap:24px;margin-top:40px}
  .ss-cband{padding:28px 0 18px;border-radius:36px}
  .ss-cband-head{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"eye nav pill" "title nav pill";gap:8px 12px;padding:0 28px 18px}
  .ss-cband-head h2{font-size:32px}
  .ss-cband-nav{display:flex}
  .ss-cband-nav[hidden]{display:none}
  .ss-cband .ss-rail{padding:4px 28px 10px;scroll-padding-inline:28px}
}

/* ---------- Collection page hero (/collection/*) ----------
   .ss-shero (ds.css) with a "Collection" eyebrow in place of the store logo bubble. */
.ss-chero-eye{position:relative;display:flex;align-items:center;gap:10px;font:700 12px/1 var(--font);letter-spacing:.08em;text-transform:uppercase;color:#3C4262}
.ss-chero-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#FFFFFF;color:#11152E;box-shadow:0 8px 20px rgba(17,21,46,.1)}
.ss-shero.ss-chero h1{margin-top:12px}
.ss-chero ~ .ss-feed{margin-top:20px}
@media (min-width:992px){
  .ss-chero-ic{width:52px;height:52px;border-radius:18px}
  .ss-chero ~ .ss-feed{margin-top:28px}
}

/* ---------- Story viewer ---------- */
.ss-svwrap{z-index:120}
.ss-svwrap[hidden]{display:none}
html.ds-sv-open,html.ds-sv-open body{overflow:hidden}
.ss-svwrap .c-sv:focus{outline:0}
.ss-svwrap .c-sv-who{flex:1 1 auto;min-width:0}
.ss-svwrap .c-sv-who>div{min-width:0}
.ss-svwrap #ds-sv-name{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ss-svwrap .c-sv-ctl{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto}
.ss-svwrap .c-sv-ctl .c-sv-x{margin-left:0}
.ss-svwrap .c-sv-all{display:inline-flex;align-items:center;height:44px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.12);color:#FFFFFF;font:700 13px/1 var(--font);white-space:nowrap;text-decoration:none}
.ss-svwrap .c-sv-all:hover{background:rgba(255,255,255,.2);color:#FFFFFF;text-decoration:none}
.ss-svwrap .c-sv-all:focus-visible{outline-color:#FFFFFF}
.ss-svwrap .c-sv-pause .i-play{display:none}
.ss-svwrap .c-sv-pause.is-paused .i-pause{display:none}
.ss-svwrap .c-sv-pause.is-paused .i-play{display:block}
.ss-svwrap .c-sv-x:focus-visible{outline-color:#FFFFFF}
.ss-svwrap .c-sv-stage{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.ss-svwrap .c-sv-tap:focus-visible{outline:3px solid #FFFFFF;outline-offset:-6px;border-radius:30px}
/* One card layout for every story type: picture area on top (tap zones live inside it, so
   they never cover the info panel), info panel below in the flow, whatever its height. */
.ss-svwrap .c-sv-card{display:flex;flex-direction:column}
.ss-svwrap .ss-sv-pic{position:relative;flex:1 1 auto;min-height:0}
.ss-svwrap .ss-sv-media{position:absolute;top:28px;left:24px;right:24px;bottom:14px;display:flex;align-items:center;justify-content:center;pointer-events:none}
.ss-svwrap .ss-sv-media img{display:block;max-width:100%;max-height:100%}
.ss-svwrap .c-sv-card.is-deal .ss-sv-media img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.ss-svwrap .c-sv-card.is-photo .ss-sv-media img{width:auto;height:auto;object-fit:contain;border-radius:22px;background:#FFFFFF;box-shadow:0 18px 40px rgba(17,21,46,.2)}
.ss-svwrap .c-sv-tap{bottom:0}
.ss-svwrap .c-sv-info{position:relative;left:auto;right:auto;bottom:auto;flex:none;margin:0 12px 12px}
.ss-svwrap .ss-sv-from{display:block;margin-bottom:6px;font:700 11px/1.2 var(--font);letter-spacing:.08em;text-transform:uppercase;color:#4A5070;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ss-svwrap .c-sv-av.is-photo img{object-fit:cover;padding:0;mix-blend-mode:normal}
.ss-svwrap .c-sv-info h3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ss-svwrap .c-sv-info h3 a{color:inherit}
.ss-svwrap .c-sv-info h3 a:hover{text-decoration:underline}
.ss-svwrap .c-sv-info .c-act.get,.ss-svwrap .c-sv-info .c-act.get:hover{color:#FFFFFF;text-decoration:none}
.ss-svwrap .c-sv-cta:empty{display:none}
.ss-svwrap .c-sv-foot{flex:none;height:16px}
/* Phones + tablets: the viewer fills the screen instead of sitting in a box */
@media (max-width:991.98px){
  .ss-svwrap{background:#0A0D1C;-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}
  .ss-svwrap .c-sv{position:fixed;inset:0;width:auto;max-width:none;height:auto;max-height:none;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);border-radius:0}
}
