/* BY47 V18 (2026-10-21): loaded after v17.css on every page (and after denim3d.css on /denim/).
   New here: the cipher for the two plugins in the works, the home page without the timeline (BY47 -> DENIM -> the duet
   -> the end), the DENIM tool list that follows the jeans, /denim/'s hero inside the 3D device's section, and a layout
   of its own for a phone held sideways. Black, white, red #D9202C (hover #EE2F3B), greys and silver; red is a signal. */

/* ---------- the cipher: names in the works are blocks of shade (v17.js: CIPHER, the faint flicker) ---------- */
.cx { white-space: nowrap; }
.cx__g { display: inline-flex; gap: .07em; vertical-align: baseline; }
.cx__g i { display: block; width: .54em; height: .7em; background: currentColor; }
.cx__g i.g1 { background: radial-gradient(circle, transparent 0 .024em, currentColor .03em) 0 0 / .1em .1em; }
.cx__g i.g2 { background: repeating-conic-gradient(currentColor 0 25%, transparent 0 50%) 0 0 / .14em .14em; }
.cx__g i.g3 { background: radial-gradient(circle, currentColor 0 .03em, transparent .036em) 0 0 / .12em .12em; }
/* small sizes (footer): the dot patterns would blur, so the shades are solid steps of the same ink */
.ft .cx__g { gap: .1em; }
.ft .cx__g i { width: .5em; height: .72em; }
.ft .cx__g i.g1 { background: currentColor; opacity: .72; }
.ft .cx__g i.g2 { background: currentColor; opacity: .48; }
.ft .cx__g i.g3 { background: currentColor; opacity: .28; }
.mycard__name .cx__g i { width: .5em; }
@media print { .cx__g i { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* ---------- Home: the one line, then DENIM, the duet, the end ---------- */
.sc--hero .sc__copy { width: min(700px, 48%); }
.sc__h1--line { font-size: clamp(44px, 4.6vw, 80px); line-height: .92; text-wrap: balance; }
.sc--denim { height: 240vh; }
.sc--duet { height: 210vh; }

/* DENIM: what each tool does; on the live board the one the jeans are showing is lit (v17.js) */
.fxcap { display: grid; gap: 5px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.fxcap li { position: relative; padding-left: 20px; transition: color .3s, opacity .3s; }
.fxcap li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--muted); transition: background-color .3s, box-shadow .3s; }
.fxcap b { font-weight: 700; color: var(--ink); }
.fxcap.is-live li { opacity: .5; }
.fxcap.is-live li.is-on { opacity: 1; }
.fxcap.is-live li.is-on::before { background: var(--red); box-shadow: 0 0 0 3px rgba(217, 32, 44, .18); }

/* the duet: two forms, two ciphered names under them, one line */
.sc__panel--duet { align-items: flex-end; justify-content: center; padding-bottom: clamp(52px, 8vh, 96px); }
.duo.sc__copy { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.duo__row { order: -1; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; margin-bottom: clamp(16px, 3vh, 34px); }
.duo__it { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.duo__name { font-family: var(--rough); font-weight: 900; font-size: clamp(34px, 3.5vw, 58px); line-height: .9; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.duo__name .by { color: var(--muted); }
.duo__st { display: flex; align-items: center; gap: 6px 14px; }
.duo__go { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.duo__go svg { width: 14px; height: 14px; transition: transform .2s var(--settle); }
.duo__go:hover { color: var(--red-hi); }
.duo__go:hover svg { transform: translateX(3px); }
.duo__tag { margin-bottom: 8px; }
.duo__h { font-family: var(--rough); font-weight: 700; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.15; color: var(--ink); }
.duo .hint { margin-top: 12px; }

/* ---------- phones held upright (and upright tablets): the same query as particles.js ---------- */
@media (max-width: 1023px) and (orientation: portrait) {
  .sc--hero .sc__copy { width: 100%; }
  .sc__h1--line { font-size: clamp(32px, 8.5vw, 56px); text-wrap: pretty; }
  .sc--denim { height: 220vh; }
  .fxcap { margin-top: 12px; font-size: 13.5px; }
  .fxcap.is-live { display: block; min-height: 1.4em; }
  .fxcap.is-live li { display: none; }
  .fxcap.is-live li.is-on { display: block; }
  .fxcap:not(.is-live) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 10px; font-size: 12.5px; }
  .sc__panel--duet { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .duo__name { font-size: clamp(22px, 6.4vw, 40px); }
  .duo__row { gap: 0 10px; margin-bottom: 14px; }
  .duo__h { font-size: 18px; }
  .duo .hint { margin-top: 8px; }
}
@media (max-width: 760px) and (max-height: 700px) and (orientation: portrait) {
  .sc__h1--line { font-size: 31px; }
  .fxcap:not(.is-live) { display: none; }
  .duo__tag, .duo .hint { display: none; }
}

/* ---------- /dna/ and /azoth/ under wraps ---------- */
.ph--soon .ph__status { margin-top: 22px; }
.ph__also { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.ph__also .btn svg { width: 15px; height: 15px; }
.ls__go .btn svg { width: 15px; height: 15px; }

/* ---------- /denim/: the hero sits over the first screen of the 3D device's section (denim3d.js: --d3-lead) ---------- */
.d3 { height: calc(var(--d3-step) * 8.7 + 100vh + var(--d3-lead, 0px)); }
.d3__apart { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; top: calc(var(--d3-lead, 0px) + var(--d3-step) * 1.05 + var(--head-h) + 20px); }
.d3__hero { position: absolute; z-index: 4; left: 0; right: 0; top: 0; pointer-events: none; }
.d3__hcopy { pointer-events: auto; width: min(33vw, 470px); margin-left: max(24px, 5vw); padding: clamp(28px, 6vh, 64px) 0 40px; }
.d3__hcopy .ph__h1 { margin-top: 12px; font-size: clamp(50px, 5.6vw, 92px); }
.d3__hcopy .ph__line { margin-top: 16px; font-size: clamp(19px, 1.55vw, 24px); }
.d3__hcopy .ph__buy { margin-top: 22px; padding-top: 18px; gap: 14px; }
.d3__hcopy .platforms { margin-top: 0; }
.d3__again a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.d3__hint { margin: 2px 0 0; font: var(--hud); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* the step "Take it apart." is the hero's job while the device is live (it stays in the list when still or off) */
.d3[data-d3-lay]:not(.d3--still):not(.d3--off) .d3__step:first-child { opacity: 0 !important; pointer-events: none !important; }
/* the device sits a little higher on a phone, so the name, the price and Buy fit under it */
.d3[data-d3-lay="port"] .d3__frame { top: 8%; height: 54%; }
.d3[data-d3-lay="port"] .d3__hero { padding-top: 60svh; }
.d3[data-d3-lay="port"] .d3__hcopy { width: auto; max-width: 640px; margin: 0 auto; padding: 18px 16px 22px; background: var(--sheet); border-radius: 16px 16px 0 0; box-shadow: 0 -1px 0 rgba(17, 17, 17, .05), 0 -16px 30px -24px rgba(17, 17, 17, .45); }
.d3[data-d3-lay="port"] .d3__hcopy .ph__eyebrow { display: none; }
.d3[data-d3-lay="port"] .d3__hcopy .ph__h1 { margin-top: 0; font-size: clamp(44px, 13.4vw, 64px); }
.d3[data-d3-lay="port"] .d3__hcopy .ph__h1 .by { display: inline; }
.d3[data-d3-lay="port"] .d3__hcopy .ph__line { margin-top: 8px; font-size: 17px; }
.d3[data-d3-lay="port"] .d3__hcopy .ph__buy, .d3[data-d3-lay="land"] .d3__hcopy .ph__buy { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; margin-top: 14px; padding-top: 14px; }
.d3[data-d3-lay="port"] .d3__hcopy .ph__buy > :not(.price):not(.btn-row), .d3[data-d3-lay="land"] .d3__hcopy .ph__buy > :not(.price):not(.btn-row) { grid-column: 1 / -1; }
.d3[data-d3-lay="port"] .d3__hcopy .ph__buy .btn-row, .d3[data-d3-lay="land"] .d3__hcopy .ph__buy .btn-row { margin-top: 0; justify-content: flex-end; }
.d3[data-d3-lay="port"] .d3__hcopy .price__now { font-size: 30px; }
.d3[data-d3-lay="port"] .d3__look, .d3[data-d3-lay="land"] .d3__look { display: none; }
.d3[data-d3-lay="port"] .d3__hint { text-align: center; }
/* phone on its side: the words on the left, the device on the right */
.d3[data-d3-lay="land"] .d3__hcopy { width: 34vw; margin-left: max(16px, env(safe-area-inset-left, 0px)); padding: 10px 0 24px; }
.d3[data-d3-lay="land"] .d3__hcopy .ph__eyebrow { font-size: 9.5px; }
.d3[data-d3-lay="land"] .d3__hcopy .ph__h1 { margin-top: 6px; font-size: clamp(30px, 5vw, 42px); }
.d3[data-d3-lay="land"] .d3__hcopy .ph__h1 .by { display: inline; }
.d3[data-d3-lay="land"] .d3__hcopy .ph__line { margin-top: 6px; font-size: 14.5px; }
.d3[data-d3-lay="land"] .d3__hcopy .price__now { font-size: 24px; }
.d3[data-d3-lay="land"] .d3__hcopy .btn--lg { min-height: 44px; padding: 0 16px; font-size: 11.5px; }
.d3[data-d3-lay="land"] .d3__hcopy .byb { padding: 12px 12px 10px; }
.d3[data-d3-lay="land"] .d3__hcopy .byb__list { font-size: 12.5px; }
/* still (reduced motion), off (no 3D) and no script: the hero first, then the device and every step */
.d3.d3--still .d3__hero, .d3.d3--off .d3__hero { position: relative; padding-top: 0; }
.d3.d3--still .d3__hcopy, .d3.d3--off .d3__hcopy { width: min(100% - 2 * var(--gutter), 640px); max-width: none; margin: 0 auto; padding: 28px 0 8px; background: none; box-shadow: none; border-radius: 0; }

/* ---------- a phone on its side (and any short wide window): compact header, the shape beside the words ---------- */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --head-h: 48px; }
  .hd__brand { height: 44px; }
  .hd__acct a { height: 32px; }
  .hud { display: none; }
  /* home scenes */
  .sc__panel { padding-top: var(--head-h); }
  .sc__copy { width: min(440px, 44%); }
  .sc--hero .sc__copy { width: min(480px, 47%); }
  .sc__tag, .sc__tag--hero { font-size: 9.5px; margin-bottom: 8px; }
  .sc__h1, .sc__h1--line { font-size: clamp(28px, 4.4vw, 40px); }
  .sc__name { margin-top: 4px; font-size: clamp(32px, 5.2vw, 46px); }
  .sc__sub, .sc__line { margin-top: 8px; font-size: 15.5px; }
  .sc__meta { margin-top: 10px; padding-top: 10px; gap: 8px 16px; }
  .sc__meta .price__now, .sc__meta .pstat__big { font-size: 22px; }
  .sc__go, .sc__cta { margin-top: 12px; }
  .sc .btn--lg { min-height: 46px; padding: 0 20px; font-size: 12px; }
  .hint { margin-top: 10px; font-size: 9.5px; }
  .fxcap { margin-top: 10px; gap: 1px; font-size: 12.5px; }
  .sc__made { font-size: clamp(36px, 6vw, 52px); }
  .sc__terms { margin-top: 10px; font-size: 9.5px; }
  .sc__panel--duet { padding-bottom: 12px; }
  .duo__row { margin-bottom: 6px; }
  .duo__it { flex-direction: row; justify-content: center; gap: 4px 14px; flex-wrap: wrap; }
  .duo__name { font-size: clamp(24px, 3.8vw, 32px); }
  .duo__tag, .duo .hint { display: none; }
  .duo__h { font-size: 15px; }
  /* plugin pages: the symbol on the left, the words on the right */
  .ph { padding: 6px 0 10px; }
  .ph__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 22px; align-items: center; }
  .ph__fig { order: -1; min-height: 0; height: calc(100svh - var(--head-h) - 16px); }
  .ph__h1 { margin-top: 6px; font-size: clamp(36px, 6vw, 52px); }
  .ph__h1 .by { display: inline; }
  .ph__line { margin-top: 8px; font-size: 16px; }
  .ph--soon .ph__status, .ph__status { margin-top: 12px; }
  .ph .btn-row { margin-top: 12px; }
  .ph__os { margin-top: 10px; }
  .ls__panel { padding-top: var(--head-h); }
  .ls__copy { width: min(420px, 44%); }
  .ls__h { margin-top: 8px; font-size: clamp(24px, 4vw, 34px); }
  .ls__p { margin-top: 8px; font-size: 14.5px; }
  .ls__go { margin-top: 12px; }
  /* the Plugins menu: three side by side */
  .pm__bar { height: var(--head-h); }
  .pm__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; margin: 0 auto; padding: 4px 0 calc(12px + env(safe-area-inset-bottom)); }
  .pm__list li { display: flex; }
  .pm__row, .pm__list li:last-child .pm__row { width: 100%; grid-template-columns: minmax(0, 1fr) 20px; grid-template-areas: "tag go" "name go" "line go" "side go"; align-content: start; gap: 3px 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .pm__tag { padding-top: 0; font-size: 9.5px; }
  .pm__name { font-size: clamp(24px, 3.6vw, 34px); }
  .pm__line { margin-top: 2px; font-size: 13px; line-height: 1.3; }
  .pm__side { margin-top: 6px; grid-auto-flow: row; gap: 6px; }
  .pm .price__now, .pm .pstat__big { font-size: 20px; }
  /* inner pages: the big headings shrink */
  .page-hero .h1 { font-size: clamp(34px, 5.4vw, 48px); }
  .blk__h { font-size: clamp(30px, 4.6vw, 44px); }
}

/* ---------- V18 polish (2026-10-21) ---------- */
/* the first screen names the plugin that is out, with its price (store.js fills it; a link to /denim/, not a Buy) */
.hero-out { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 44px; margin-top: 16px; padding: 6px 16px 6px 14px; border-radius: 999px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); color: var(--ink); text-decoration: none; transition: box-shadow .2s; }
.hero-out:hover { color: var(--ink); box-shadow: inset 0 0 0 1.25px var(--red), var(--sh-1); }
.hero-out__t { font: var(--hud); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.hero-out__t b { margin-right: .5em; color: var(--red-text); font-weight: 700; }
.hero-out__t .by { color: var(--muted); }
.hero-out__p { min-height: 0; }
.hero-out__p .price__now { font-size: 19px; }
/* V22 (owner 2026-10-22: no price on the first screen; «Denim by 47 как-то жирнее… между… цены и тем, что сейчас»):
   the plugin's name, bold, between the old label (11 px) and the old price (19 px) */
.hero-out__n { font-family: var(--rough); font-weight: 900; font-size: 16px; letter-spacing: .05em; line-height: 1; white-space: nowrap; }
.hero-out .by, .sc__name .by, .duo__name .by { color: var(--red-text); }   /* V22: BY47 in red, not grey (owner) */
.hero-out__go { width: 14px; height: 14px; flex: none; transition: transform .2s var(--settle); }
.hero-out:hover .hero-out__go { transform: translateX(3px); }
/* the end: the owner's line in two lines ("Made in 2026." / "Feels like 2047."), then the platforms and the updates */
.sc--end .sc__copy { width: min(700px, 48%); }
.sc--end .sc__made { font-size: clamp(38px, 4.3vw, 70px); line-height: .95; }
.sc--end .sc__terms { line-height: 1.7; }
@media (max-width: 1023px) and (orientation: portrait) {
  .sc--end .sc__copy { width: 100%; }
  .sc--end .sc__made { font-size: clamp(32px, 9.4vw, 52px); }
}
/* the price spot while the store answers: a faint bar, so the row with Buy never looks broken */
.price:not(.is-ready) .price__now { position: relative; }
.price:not(.is-ready) .price__now::after { content: ""; position: absolute; left: 0; top: 18%; width: 3.2ch; height: 64%; border-radius: 4px; background: var(--line); visibility: visible; }
/* /denim/ on a slow network: the plugin's picture holds the device's place until the 3D device's first frame, then fades */
.d3:not(.d3--off):not(.d3--still) .d3__still { display: flex; position: absolute; left: 35%; top: 10%; width: 62%; height: 82%; align-items: center; justify-content: center; pointer-events: none; transition: opacity .6s ease .15s, visibility 0s 0s; }
.d3:not(.d3--off):not(.d3--still) .d3__still img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 1px 0 rgba(17, 17, 17, .05), 0 18px 34px -22px rgba(17, 17, 17, .5); }
.d3[data-d3-lay="port"]:not(.d3--off):not(.d3--still) .d3__still { left: 3%; top: 8%; width: 94%; height: 54%; }
.d3[data-d3-lay="land"]:not(.d3--off):not(.d3--still) .d3__still { left: 37%; top: 5%; width: 61%; height: 90%; }
.d3.d3--live:not(.d3--off):not(.d3--still) .d3__still { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .8s; }
/* reduced motion on an upright phone: the form stands still at the top while the words scroll up over it, so the words
   carry a sheet of the board (no half-letters over drops) */
@media (prefers-reduced-motion: reduce) and (max-width: 1023px) and (orientation: portrait) {
  .sc:not(.sc--duet) .sc__copy { background: var(--pe-paper); box-shadow: 0 0 0 12px var(--pe-paper); border-radius: 2px; }
}
/* between scenes: buttons, prices and small lines go first (particles.js --pe-os), the big headings keep their flight */
[data-pe-panel] :is(.btn-row, .sc__go, .hero-out, .sc__meta, .hint, .fxcap, .sc__tag, .sc__terms, .sc__line, .duo__row, .ls__p) { opacity: var(--pe-os, 1); }
[data-pe-panel]:focus-within { --pe-os: 1 !important; }
/* small links: 44 px to the finger ("All plugins", "All legal documents") */
.back-link { display: inline-flex; align-items: center; min-height: 44px; }
/* the duet on an upright phone: the forms stand one above the other, so do their names (same order) */
@media (max-width: 760px) and (orientation: portrait) {
  .duo__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .duo__it { flex-direction: row; justify-content: center; gap: 4px 12px; }
  .duo__st .duo__go { min-height: 40px; }
}
/* a phone on its side: no label under 11 px, a footer in one row of columns, a 44 px Sign in */
@media (orientation: landscape) and (max-height: 500px) {
  .sc__tag, .sc__tag--hero, .hint, .sc__terms, .pm__tag, .d3[data-d3-lay="land"] .d3__hcopy .ph__eyebrow { font-size: 11px; }
  .sc__terms { letter-spacing: .1em; }
  .hd__acct a::after { inset: -6px; }
  .hero-out { margin-top: 10px; min-height: 40px; padding: 4px 14px 4px 12px; }
  .hero-out__p .price__now { font-size: 17px; }
  .sc--hero .hint { display: none; }
  .ft__grid { grid-template-columns: minmax(0, .9fr) repeat(3, minmax(0, 1fr)); gap: 16px 20px; padding-top: 28px; }
  .ft__intro { grid-column: auto; }
  .ph--soon .ph__grid { align-items: start; }
  .ph--soon .ph__text { padding-top: 4px; }
  .ph--soon .ph__line { margin-top: 6px; }
}

/* V18 final: the comet does not run with reduced motion (particles-worker.js), so its hint goes too; the magnet hint stays (it works) */
@media (prefers-reduced-motion: reduce) { .hint--comet { display: none; } }

/* ---------- V22 home (agent home, 2026-10-22) ---------- */
/* coming soon: AZOTH's orbit alone, its words under it, both names (no links yet) */
.sc--soon .duo__h { max-width: 30ch; margin-top: 4px; font-size: clamp(20px, 2vw, 30px); text-wrap: balance; }
.sc--soon .duo__row { max-width: 760px; margin-left: auto; margin-right: auto; }
.sc--soon .duo__name .by { color: var(--red-hi, #EE2F3B); }
/* the end: the owner's lines on one side, the video on the other; a phone upright: the video on top, full width.
   The frame is the site's sheet: a thin line, a soft shadow, rounded like the cards. */
.sc__panel--end { gap: clamp(24px, 4vw, 64px); justify-content: space-between; }
.sc--end .sc__copy { flex: 0 1 auto; }
.vid { position: relative; flex: 0 0 auto; width: min(46%, 760px); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0A0A0A;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 rgba(17, 17, 17, .05), 0 22px 44px -26px rgba(17, 17, 17, .55); isolation: isolate; }
.vid > iframe, .vid > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; background: #0A0A0A; }
.vid::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
/* the play button before the player loads: the dark frame, a soft light, one red disc */
.vid__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none;
  background: radial-gradient(120% 90% at 50% 40%, #2a2a2a 0%, #121212 55%, #0A0A0A 100%); }
/* V28: the disc is its own box, pinned to the exact middle; the triangle sits on its centre of mass (was: padding on the svg, the triangle drifted right) */
.vid__btn { position: absolute; left: 50%; top: 50%; z-index: 1; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--red, #D9202C);
  box-shadow: 0 0 0 7px rgba(217, 32, 44, .2), 0 14px 30px -12px rgba(0, 0, 0, .7); transition: transform .2s var(--settle, ease), background-color .2s, box-shadow .2s; }
.vid__btn svg { display: block; width: 30px; height: 30px; }
.vid__play:hover .vid__btn, .vid__play:focus-visible .vid__btn { background: var(--red-hi, #EE2F3B); box-shadow: 0 0 0 9px rgba(217, 32, 44, .26), 0 14px 30px -12px rgba(0, 0, 0, .7); transform: scale(1.06); }
@media (max-width: 760px) { .vid__btn { width: 60px; height: 60px; margin: -30px 0 0 -30px; box-shadow: 0 0 0 5px rgba(217, 32, 44, .2), 0 10px 24px -10px rgba(0, 0, 0, .7); } .vid__btn svg { width: 26px; height: 26px; } }
.vid__play:focus-visible { outline: 2px solid var(--red-hi, #EE2F3B); outline-offset: -4px; border-radius: inherit; }
@supports not (aspect-ratio: 1) { .vid { height: 0; padding-bottom: 26%; } }
@media (max-width: 1023px) and (orientation: portrait) {
  .sc__panel--end { flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 22px; padding-top: calc(var(--head-h, 64px) + 12px); }
  .vid { order: -1; width: 100%; border-radius: 14px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .sc__panel--end { gap: 20px; }
  .vid { width: min(48%, calc((100svh - var(--head-h, 56px) - 28px) * 16 / 9)); border-radius: 12px; }
}
@media print { .vid { display: none; } }
