body {
  background-color: #0b0e14;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  overflow: hidden;
}
.swiper {
  width: 100%;
  height: 100%;
}
.video-container {
  aspect-ratio: 16/9;
  width: 100%;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }


/* STAKSEE_MOBILE_LAYOUT_V1 */
html, body {
  width: 100%;
  min-width: 0;
}
body {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
body > main {
  flex: 1 1 0%;
  min-height: 0;
  overflow: hidden;
}
.site-footer-contact {
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
}
.site-footer-label {
  white-space: nowrap;
}
.site-footer-settings {
  flex: 0 0 auto;
  margin-left: 12px;
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Compact multi-select preference dropdowns */
.staksee-pref-dropdown > summary { list-style: none; }
.staksee-pref-dropdown > summary::-webkit-details-marker { display: none; }
.staksee-pref-chevron { transition: transform 160ms ease; }
.staksee-pref-dropdown[open] .staksee-pref-chevron { transform: rotate(180deg); }
.staksee-pref-option { min-width: 0; transition: border-color 140ms ease, background-color 140ms ease; }
.staksee-pref-option:hover { border-color: rgba(249, 115, 22, 0.35); }
.staksee-pref-option:has(input:checked) {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.08);
}
.staksee-pref-option input { flex: 0 0 auto; }
.staksee-time-select { color-scheme: dark; min-width: 0; }
.staksee-time-select option { background: #111622; color: #fff; }

.filter-check {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  border: 1px solid rgba(255,255,255,.06); border-radius: 9px;
  background: rgba(0,0,0,.18); padding: 9px 10px;
  color: #d1d5db; font-size: 11px; cursor: pointer;
}
.filter-check:has(input:checked) {
  border-color: rgba(249,115,22,.52); background: rgba(249,115,22,.08); color: #fff;
}
.filter-check input { flex: 0 0 auto; accent-color: #f97316; }
#feed-filter-panel { padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 640px) {
  header { padding-left: 12px !important; padding-right: 12px !important; }
  header .text-2xl { font-size: 1.25rem; }
  header .text-xs.bg-orange-500\/10 { display: none; }
  #create-profile-button { padding-left: 10px !important; padding-right: 10px !important; font-size: 11px !important; }
  #feed-filter-open { padding-left: 10px !important; padding-right: 10px !important; }
}

/* Keep consent controls clear of the footer. */
#staksee-analytics-consent {
  bottom: calc(48px + env(safe-area-inset-bottom)) !important;
}

/* STAKSEE_CONSENT_UX_V2 */
.consent-accordion > summary { list-style: none; }
.consent-accordion > summary::-webkit-details-marker { display: none; }
.consent-accordion[open] .consent-accordion-chevron { transform: rotate(180deg); }
.consent-data-choice { transition: border-color 140ms ease, background-color 140ms ease; }
.consent-data-choice:has(input:checked) {
  border-color: rgba(249, 115, 22, .58);
  background: rgba(249, 115, 22, .075);
}
.consent-data-choice:hover { border-color: rgba(249, 115, 22, .4); }
.consent-data-choice input { flex: 0 0 auto; }

/* Custom slim scrollbar for the consent panel. */
.consent-scroll-area {
  scrollbar-width: thin;
  scrollbar-color: rgba(249, 115, 22, .72) rgba(255, 255, 255, .055);
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}
.consent-scroll-area::-webkit-scrollbar { width: 8px; }
.consent-scroll-area::-webkit-scrollbar-track {
  margin-block: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}
.consent-scroll-area::-webkit-scrollbar-thumb {
  border: 2px solid #111622;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(251, 146, 60, .9), rgba(234, 88, 12, .72));
}
.consent-scroll-area::-webkit-scrollbar-thumb:hover {
  background: #fb923c;
}

/* Compatibility details are collapsed by default; the score stays visible. */
.compatibility-details > summary::-webkit-details-marker { display: none; }
.compatibility-details > summary::marker { content: ""; }
.compatibility-details[open] .compatibility-chevron { transform: rotate(180deg); }

@media (max-width: 767px) {
  body > header {
    height: 56px !important;
    min-height: 56px;
    flex: 0 0 56px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    gap: 8px;
  }
  body > header > div {
    min-width: 0;
    gap: 6px !important;
  }
  body > header > div > span:first-child {
    font-size: 19px !important;
    line-height: 1;
  }
  body > header > button {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 11px !important;
    font-size: 12px !important;
  }
  body > main {
    min-height: 0;
  }
  .swiper,
  .swiper-wrapper {
    height: 100%;
    min-height: 0;
  }
  /* Each player remains one Swiper slide. The card itself scrolls if needed. */
  .swiper-slide {
    box-sizing: border-box;
    align-items: stretch !important;
    justify-content: flex-start !important;
    overflow: hidden;
    padding: 8px !important;
  }
  .profile-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0 !important;
    gap: 10px !important;
  }
  .profile-video {
    width: 100%;
    height: clamp(100px, 19dvh, 150px);
    max-height: 150px;
    flex: 0 0 auto !important;
    aspect-ratio: auto;
    margin: 0 !important;
    touch-action: none;
  }
  .player-card {
    width: 100%;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 12px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .player-card.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0 !important;
  }
  .profile-player-name {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 2px !important;
    min-width: 0;
    font-size: 15px !important;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .profile-player-name > span {
    font-size: 10px !important;
    line-height: 1.1;
  }
  .profile-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .profile-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 10px !important;
    padding: 10px !important;
  }
  .profile-search-grid > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .profile-search-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .profile-search-grid span {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .profile-search-grid .truncate {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }
  .profile-analytics-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .profile-analytics-grid > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .profile-copy-button {
    min-height: 44px;
    height: auto;
    flex: 0 0 auto;
    padding: 11px 10px !important;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.3;
  }
  /* In a vertical Swiper, native vertical panning is allowed inside the card.
     Swiping on the video area still changes to the next profile. */
  .swiper-vertical > .swiper-wrapper {
    touch-action: pan-y !important;
  }
  .site-footer-contact {
    min-height: 42px;
    height: auto !important;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom)) !important;
    gap: 0;
    font-size: 11px !important;
    line-height: 1.2;
  }
  .site-footer-contact a {
    overflow-wrap: anywhere;
  }
  .site-footer-settings {
    margin-left: 9px;
    font-size: 10px;
  }
  #staksee-analytics-consent {
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-height: min(55dvh, 360px);
    overflow-y: auto;
  }
  #modal > div {
    max-height: calc(100dvh - 24px) !important;
    padding: 16px !important;
  }
  #create-form > .grid.grid-cols-1 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 380px) {
  body > header > div > span:last-child {
    display: none;
  }
  .site-footer-label {
    display: none;
  }
}


/* STAKSEE_ROLE_INTELLIGENCE_UI_V1 */
.role-intelligence-trigger {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}
.role-intelligence-trigger:focus-visible {
  outline: 2px solid rgba(249, 115, 22, 0.9);
  outline-offset: 2px;
}
#role-intelligence-modal [data-role-modal-scroll] {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}


/* STAKSEE_CARD_V2: новая анкета игрока */
.pc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: start; }
.pc-col { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.pc-col-end { align-items: flex-end; text-align: right; }
.pc-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9aa5b8; margin-bottom: 8px; }
.pc-chips { display: flex; flex-direction: column; align-items: inherit; gap: 5px; min-width: 0; }
.pc-chip { background: #1b2333; border-radius: 8px; padding: 5px 10px; font-size: 12px; line-height: 1.3; color: #eef1f7; overflow-wrap: anywhere; }
.pc-chip b { color: #ff8a4a; font-weight: 700; }
.pc-id { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; max-width: 220px; }
.pc-avatar { width: 88px; height: 88px; border-radius: 22px; border: 2px solid #ff6a1a; object-fit: cover; }
.pc-nick { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-size: 20px; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.pc-elo { font-family: 'Unbounded Variable', system-ui, sans-serif; font-size: 28px; font-weight: 700; color: #ff6a1a; line-height: 1; font-variant-numeric: tabular-nums; }
.pc-elo small { font-family: inherit; font-size: 12px; font-weight: 500; color: #9aa5b8; margin-left: 6px; }
.pc-progress { display: flex; align-items: center; gap: 10px; }
.pc-lv { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #1b2333; object-fit: contain; }
img.pc-lv { display: block; background: none; }
.pc-lv-next { width: 30px; height: 30px; color: #9aa5b8; font-size: 12px; opacity: .6; }
.pc-bar { flex: 1 1 auto; height: 8px; border-radius: 4px; background: #232c3f; overflow: hidden; }
.pc-bar > i { display: block; height: 100%; border-radius: inherit; background: #ff6a1a; transition: width 1.1s cubic-bezier(.22, 1, .36, 1); }
.pc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pc-stats > div { background: #1b2333; border-radius: 12px; padding: 12px 8px; text-align: center; }
.pc-stats span { display: block; font-size: 11px; font-weight: 600; color: #9aa5b8; margin-bottom: 4px; }
.pc-stats b { font-size: 20px; font-weight: 800; color: #fff; }
.pc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-pill { background: #1b2333; border-radius: 10px; padding: 8px 12px; font-size: 13px; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.pc-pill span { color: #9aa5b8; margin-right: 4px; }
.pc-pill b { font-weight: 600; color: #eef1f7; }
.pc-conditions { background: #1b2333; border-radius: 12px; padding: 12px; font-size: 13px; line-height: 1.5; }
.pc-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; line-height: 1.4; }
.pc-insights-single { grid-template-columns: 1fr; }
.pc-good, .pc-bad { border-radius: 12px; padding: 12px; min-width: 0; overflow-wrap: anywhere; }
.pc-good { background: #12261f; color: #d4f5e2; }
.pc-bad { background: #2a1a1f; color: #f7dcd7; }
.pc-good-title { font-weight: 700; margin-bottom: 4px; color: #7ee2a8; }
.pc-bad-title { font-weight: 700; margin-bottom: 4px; color: #ff9a8a; }
.pc-note { background: #1b2333; border-radius: 12px; padding: 10px 14px; font-size: 13px; color: #9aa5b8; text-align: center; }
.profile-copy-button { min-height: 50px; }
@media (max-width: 767px) {
  .pc-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .pc-id { order: -1; grid-column: 1 / -1; max-width: none; }
  .pc-avatar { width: 64px; height: 64px; border-radius: 18px; }
  .pc-nick { font-size: 17px; }
  .pc-elo { font-size: 24px; }
  .pc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .pc-insights { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-bar > i { transition: none; }
}

/* STAKSEE_WIZARD_V1: пошаговое создание анкеты (5 шагов, на весь экран) */
.wz-root { background: #0b0e14; color: #eef1f7; font-family: 'Onest Variable', system-ui, sans-serif; }
.wz-root [hidden] { display: none !important; }
.wz-top { flex: none; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #1b2333; }
.wz-logo { font-family: 'Unbounded Variable', system-ui, sans-serif; font-weight: 700; font-size: 18px; letter-spacing: .12em; color: #ff6a1a; }
.wz-close { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #1b2333; color: #9aa5b8; display: grid; place-items: center; cursor: pointer; }
.wz-close:hover { color: #fff; }
.wz-body { flex: 1; min-height: 0; display: flex; }
.wz-rail { display: none; flex: none; width: 300px; padding: 40px 28px; border-right: 1px solid #1b2333; overflow-y: auto; }
.wz-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wz-step { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 12px; background: transparent; color: #9aa5b8; font: 600 15px 'Onest Variable', system-ui, sans-serif; text-align: left; cursor: pointer; }
.wz-step:disabled { cursor: default; opacity: .55; }
.wz-step:not(:disabled):not(.is-current):hover { background: #141a26; color: #fff; }
.wz-step.is-current { background: #1b2333; color: #fff; font-weight: 700; }
.wz-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #1b2333; color: #ff8a4a; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.wz-step.is-current .wz-num { background: #232c3f; }
.wz-step.is-done .wz-num { background: #ff6a1a; color: #1a0d04; }
.wz-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wz-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 24px 20px 32px; }
.wz-inner { width: 100%; max-width: 860px; margin: 0 auto; }
.wz-meta-top { margin-bottom: 28px; }
.wz-bar { height: 6px; border-radius: 3px; background: #232c3f; overflow: hidden; margin-top: 10px; }
.wz-bar > i { display: block; height: 100%; width: 20%; border-radius: inherit; background: #ff6a1a; transition: width .35s ease; }
.wz-label { display: block; margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9aa5b8; }
.wz-muted { margin-left: 6px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.wz-sublabel { display: block; margin-bottom: 6px; font-size: 12px; color: #9aa5b8; }
.wz-title { margin: 0 0 10px; font-family: 'Unbounded Variable', system-ui, sans-serif; font-weight: 700; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.15; outline: none; }
.wz-sub { margin: 0 0 28px; font-size: 15px; line-height: 1.5; color: #9aa5b8; }
.wz-fields { display: flex; flex-direction: column; gap: 20px; max-width: 520px; }
.wz-input { box-sizing: border-box; width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid #232c3f; background: #141a26; color: #fff; font-size: 16px; outline: none; }
.wz-input:focus { border-color: #ff6a1a; box-shadow: 0 0 0 3px rgba(255, 106, 26, .18); }
.wz-input::placeholder { color: #8b96aa; }
.wz-hint { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: #9aa5b8; }
.wz-error { margin: 10px 0 0; font-size: 13px; color: #ff9a8a; }
.wz-block { margin-bottom: 28px; }
.wz-time { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; }
.wz-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.wz-meta { margin-top: 12px; font-size: 13px; color: #c5cddb; }
.wz-meta b { font-weight: 700; color: #fff; }
.wz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wz-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 96px; padding: 14px 16px; border-radius: 16px; border: 1px solid #232c3f; background: #141a26; cursor: pointer; transition: border-color .15s, background-color .15s; }
.wz-card:hover, .wz-chip:hover { border-color: #3a4660; }
.wz-card input, .wz-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wz-card-name { font-size: 17px; font-weight: 700; }
.wz-card-tag { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #9aa5b8; }
.wz-card:has(input:checked), .wz-chip:has(input:checked) { border-color: #ff6a1a; background: #3a2012; color: #ffd9c2; }
.wz-card:has(input:checked) .wz-card-tag { color: #ffb68a; }
.wz-card:has(input:checked)::after { content: ''; position: absolute; top: 14px; right: 16px; width: 6px; height: 11px; border: solid #ff6a1a; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.wz-card:has(input:focus-visible), .wz-chip:has(input:focus-visible), .wz-drop:has(input:focus-visible) { outline: 2px solid #ff6a1a; outline-offset: 2px; }
.wz-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wz-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid #232c3f; background: #141a26; font-size: 14px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.wz-chip small { font-size: 10px; color: #ffb68a; }
.wz-chip:has(input:checked)::before { content: ''; width: 5px; height: 9px; border: solid #ff6a1a; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -2px); }
.wz-optional { margin-top: 24px; border: 1px solid #232c3f; border-radius: 16px; background: #141a26; }
.wz-optional > summary { display: flex; flex-direction: column; gap: 4px; padding: 16px 44px 16px 18px; list-style: none; cursor: pointer; position: relative; }
.wz-optional > summary::-webkit-details-marker { display: none; }
.wz-optional > summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid #ff6a1a; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.wz-optional[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.wz-optional > summary span { font-size: 13px; color: #9aa5b8; }
.wz-optional > .wz-fieldset { padding: 4px 18px 18px; }
.wz-drop { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 22px; border: 1.5px dashed #3a4660; border-radius: 16px; background: #101520; color: #9aa5b8; cursor: pointer; transition: border-color .15s; }
.wz-drop:hover, .wz-drop.is-over, .wz-drop.has-file { border-color: #ff6a1a; }
.wz-drop-text { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; overflow-wrap: anywhere; }
.wz-drop-text b { font-size: 15px; color: #fff; }
.wz-link { margin-top: 10px; min-height: 44px; border: 0; background: none; color: #ff9a5c; font-weight: 600; cursor: pointer; }
.wz-review { margin: 0; border: 1px solid #232c3f; border-radius: 16px; background: #141a26; overflow: hidden; }
.wz-review-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px 10px 18px; border-top: 1px solid #1b2333; }
.wz-review-row:first-child { border-top: 0; }
.wz-review dt { font-size: 13px; color: #9aa5b8; }
.wz-review dd { margin: 0; overflow-wrap: anywhere; color: #fff; }
.wz-edit { min-height: 44px; padding: 0 8px; border: 0; background: none; color: #ff9a5c; font-size: 13px; font-weight: 600; cursor: pointer; }
.wz-consent { margin-top: 20px; padding: 14px 16px; border: 1px solid #232c3f; border-radius: 14px; background: #101520; font-size: 13px; line-height: 1.6; color: #c5cddb; }
.wz-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.wz-links a { color: #ff9a5c; text-decoration: underline; text-underline-offset: 3px; }
.wz-foot { flex: none; padding: 14px 20px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid #1b2333; background: #0b0e14; }
.wz-foot-inner { display: flex; gap: 12px; max-width: 860px; margin: 0 auto; }
.wz-spacer { flex: 1; }
.wz-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border: 0; border-radius: 14px; font: 700 15px 'Onest Variable', system-ui, sans-serif; cursor: pointer; }
.wz-btn-primary { background: #ff6a1a; color: #1a0d04; }
.wz-btn-primary:hover { background: #ff7d38; }
.wz-btn-ghost { background: #1b2333; border: 1px solid #232c3f; color: #eef1f7; }
.wz-btn-ghost:hover { border-color: #3a4660; }
.wz-btn:disabled { opacity: .5; cursor: default; }
@media (max-width: 639px) {
  .wz-foot-inner .wz-btn-primary { flex: 1; }
  .wz-spacer { display: none; }
  .wz-review-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .wz-review dt { grid-column: 1; }
  .wz-review dd { grid-column: 1; }
  .wz-edit { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 640px) { .wz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .wz-top { padding: 0 40px; }
  .wz-rail { display: block; }
  .wz-scroll { padding: 40px 96px 40px; }
  .wz-foot { padding: 16px 96px max(16px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .wz-bar > i, .wz-card, .wz-chip, .wz-drop, .wz-optional > summary::after { transition: none; }
}
