/* Подбор ракетки: сцена «разметка корта».
   Всё под .pdb, чтобы не задеть тему. Обёртка темы (section + container)
   на этой странице снимается: сцена идёт от края до края. */

.th-blog-wrapper.podbor-scene {
    padding-top: 0;
    padding-bottom: 0;
    background: #F4F6FB;
}
.th-blog-wrapper.podbor-scene > .th-container3 {
    max-width: none;
    padding: 0;
}

.pdb {
    --pdb-court: #214899;
    --pdb-venue: #183672;
    --pdb-line: #FFFFFF;
    --pdb-ball: #E4F24A;
    --pdb-ink: #101111;
    --pdb-ink-soft: #545A66;
    --pdb-ground: #F4F6FB;
    --pdb-surface: #FFFFFF;
    --pdb-rule: #D9DEEA;
    --pdb-select: #ECF1FF;
    --pdb-radius: 14px;
    --pdb-ease: cubic-bezier(0.16, 1, 0.3, 1);

    font-family: var(--body-font, "Jost", sans-serif);
    color: var(--pdb-ink);
    background: var(--pdb-ground);
}

.pdb *,
.pdb *::before,
.pdb *::after {
    box-sizing: border-box;
}

.pdb-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------------ сцена */

.pdb-stage {
    display: grid;
    grid-template-columns: minmax(360px, 5fr) 6fr;
    min-height: calc(100vh - 157px);
}

.pdb-panel {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    justify-self: end;
    width: 100%;
    max-width: 660px;
    min-width: 0;
    padding: clamp(28px, 4vw, 64px) clamp(20px, 3.5vw, 56px);
}

.pdb-title {
    margin: 0 0 12px;
    font-family: var(--title-font, "Jost", sans-serif);
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--pdb-ink);
    text-wrap: balance;
}

.pdb-lead {
    margin: 0 0 clamp(24px, 3vw, 40px);
    max-width: 42ch;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--pdb-ink-soft);
    text-wrap: pretty;
}

/* ------------------------------------------------------------------ вопрос */

.pdb-quiz {
    margin: 0;
}

.pdb-question fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.pdb-question legend {
    float: left;
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--pdb-ink);
    text-wrap: balance;
}

.pdb-options {
    clear: both;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pdb-options[data-cols="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pdb-options[data-key="budget"] .pdb-option-main {
    white-space: nowrap;
}
@container (max-width: 420px) {
    .pdb-options[data-cols="2"] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.pdb-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    margin: 0;
    padding: 11px 16px 11px 14px;
    border: 1.5px solid var(--pdb-rule);
    border-radius: var(--pdb-radius);
    background: var(--pdb-surface);
    cursor: pointer;
    transition: border-color 180ms var(--pdb-ease), background-color 180ms var(--pdb-ease), transform 180ms var(--pdb-ease);
}
.pdb-option:hover {
    border-color: #9DAFD6;
}
.pdb-option:active {
    transform: scale(0.99);
}

.pdb-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

/* маркер — мяч: пустой контур, при выборе заливается жёлтым */
.pdb-mark {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 1.5px solid #AEB8CC;
    border-radius: 50%;
    background: var(--pdb-surface);
    transition: background-color 180ms var(--pdb-ease), border-color 180ms var(--pdb-ease), box-shadow 180ms var(--pdb-ease);
}

.pdb-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.pdb-option-main {
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--pdb-ink);
}
.pdb-option-sub {
    font-size: 0.9375rem;
    line-height: 1.35;
    color: var(--pdb-ink-soft);
}
.pdb-grade {
    display: inline-block;
    min-width: 2.2em;
    margin-right: 6px;
    font-weight: 600;
    color: var(--pdb-court);
}

.pdb-option:has(input:checked) {
    border-color: var(--pdb-court);
    background: var(--pdb-select);
}
.pdb-option:has(input:checked) .pdb-mark {
    border-color: #B9C62A;
    background: var(--pdb-ball);
    box-shadow: 0 2px 6px rgba(33, 72, 153, 0.25);
}
.pdb-option:has(input:focus-visible) {
    outline: 3px solid rgba(33, 72, 153, 0.35);
    outline-offset: 2px;
}

.pdb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-top: 16px;
}

.pdb-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: 0 0 0 -8px;
    padding: 0 12px 0 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    color: var(--pdb-court);
    cursor: pointer;
}
.pdb-back:hover {
    background: var(--pdb-select);
}
.pdb-back:focus-visible {
    outline: 3px solid rgba(33, 72, 153, 0.35);
}
.pdb-count {
    margin-left: auto;
    font-size: 0.9375rem;
    font-variant-numeric: tabular-nums;
    color: var(--pdb-ink-soft);
}

/* ------------------------------------------------------------------ карточка ответов */

.pdb-card {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: auto 0 0;
    padding: 24px 0 0;
    list-style: none;
}
.pdb-card:empty {
    display: none;
}
.pdb-card li {
    margin: 0;
}
.pdb-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid var(--pdb-rule);
    border-radius: 999px;
    background: var(--pdb-surface);
    font: inherit;
    font-size: 0.9375rem;
    color: var(--pdb-ink);
    cursor: pointer;
    transition: border-color 160ms var(--pdb-ease);
}
.pdb-chip span {
    color: var(--pdb-ink-soft);
}
.pdb-chip:hover {
    border-color: var(--pdb-court);
}
.pdb-chip:focus-visible {
    outline: 3px solid rgba(33, 72, 153, 0.35);
    outline-offset: 1px;
}

/* ------------------------------------------------------------------ площадка и корт */

/* корт слева, ведущий справа стоит на полу площадки */
.pdb-venue {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: center;
    column-gap: clamp(4px, 1.5vw, 28px);
    min-width: 0;
    padding: clamp(24px, 3vw, 44px) clamp(16px, 2.5vw, 40px) 0;
    background-color: var(--pdb-venue);
    /* свет прожекторов над кортом — одно пятно, не декор по всей площадке */
    background-image: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 70%);
}

.pdb-court {
    display: block;
    align-self: center;
    margin-bottom: clamp(24px, 3vw, 44px);
    height: min(calc(100vh - 250px), 880px);
    min-height: 460px;
    width: auto;
    max-width: 100%;
    aspect-ratio: 120 / 220;
    overflow: visible;
}

.pdb-surface {
    fill: var(--pdb-court);
}
.pdb-glass {
    fill: rgba(255, 255, 255, 0.14);
    stroke: rgba(255, 255, 255, 0.42);
    stroke-width: 0.4;
}
.pdb-mesh {
    fill: url(#pdb-mesh);
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 0.4;
}
.pdb-mesh-line {
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 0.5;
}
.pdb-lines {
    fill: none;
    stroke: var(--pdb-line);
}
.pdb-lines * {
    stroke-width: 2px;
    vector-effect: non-scaling-stroke;
}
.pdb-net-band {
    fill: rgba(255, 255, 255, 0.18);
}
.pdb-net-cord {
    stroke: #FFFFFF;
    stroke-width: 0.8;
}
.pdb-net-post {
    fill: #FFFFFF;
}

.pdb-zone,
.pdb-depth {
    fill: #FFFFFF;
    fill-opacity: 0;
    transition: fill-opacity 240ms var(--pdb-ease);
}
.pdb-zone.is-on {
    fill-opacity: 0.16;
}
.pdb-depth.is-on {
    fill-opacity: 0.11;
}
/* зоны активного вопроса откликаются на курсор */
.pdb-court[data-ask="side"] .pdb-zone,
.pdb-court[data-ask="style"] .pdb-depth {
    cursor: pointer;
}
.pdb-court[data-ask="side"] .pdb-zone:hover,
.pdb-court[data-ask="style"] .pdb-depth:hover {
    fill-opacity: 0.08;
}
.pdb-court[data-ask="side"] .pdb-depth,
.pdb-court:not([data-ask="style"]) .pdb-depth:not(.is-on) {
    pointer-events: none;
}
.pdb-court:not([data-ask="side"]) .pdb-zone {
    pointer-events: none;
}

.pdb-zone-labels {
    opacity: 0;
    transition: opacity 320ms var(--pdb-ease);
}
.pdb-zone-labels.is-shown {
    opacity: 1;
}
.pdb-zone-label {
    font-family: var(--body-font, "Jost", sans-serif);
    font-size: 4.6px;
    letter-spacing: 0.02em;
    fill: rgba(255, 255, 255, 0.6);
    dominant-baseline: hanging;
    pointer-events: none;
    transition: fill 240ms var(--pdb-ease);
}
.pdb-zone-label.is-on {
    fill: #FFFFFF;
}

/* ведущий и его реплика */
.pdb-coach {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}
/* .pdb впереди: у темы img:not([draggable]) { height: auto } сильнее одиночного класса */
.pdb .pdb-coach-photo {
    display: block;
    width: auto;
    height: min(50vh, 520px);
    max-width: none;
    /* низ пиджака растворяется в полу площадки */
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
    pointer-events: none;
    user-select: none;
}
.pdb-coach-face {
    display: none;
}

/* реплика — стекло того же тона, что стенки корта; хвостик указывает на ведущего */
.pdb-say {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 14px;
    width: 300px;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 14px 18px 16px;
    border: 1px solid #596E99;
    border-radius: 16px;
    background: #2F4A80;
    color: #FFFFFF;
}
.pdb-say::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-right: 1px solid #596E99;
    border-bottom: 1px solid #596E99;
    background: #2F4A80;
    transform: rotate(45deg);
}
.pdb-say-hint {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: #DCE4F5;
    text-wrap: pretty;
}
.pdb-say-hint:empty {
    display: none;
}
.pdb-scale {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    font-family: var(--title-font, "Jost", sans-serif);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1;
}
.pdb-scale span {
    color: rgba(255, 255, 255, 0.32);
    transition: color 200ms var(--pdb-ease);
}
.pdb-scale span.is-on {
    color: var(--pdb-ball);
}
.pdb-scale.is-hidden {
    display: none;
}
.pdb-say-grade {
    margin: 0;
    font-family: var(--title-font, "Jost", sans-serif);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}
.pdb-say-grade:empty {
    display: none;
}
.pdb-say-grade:empty + .pdb-say-lines {
    grid-column: 1 / -1;
}
.pdb-say-lines {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pdb-say-lines li {
    position: relative;
    margin: 0;
    padding-left: 14px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
}
.pdb-say-lines li::before {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pdb-ball);
}
.pdb-say-lines li:empty,
.pdb-say-lines[hidden] {
    display: none !important;
}
.pdb-say .is-new {
    animation: pdb-paint 480ms var(--pdb-ease) both;
}
@keyframes pdb-paint {
    from { opacity: 0; filter: blur(2px); }
    to { opacity: 1; filter: blur(0); }
}

.pdb-player {
    transition: transform 420ms var(--pdb-ease), opacity 200ms var(--pdb-ease);
}
.pdb-player-halo {
    fill: rgba(228, 242, 74, 0.3);
}
.pdb-player-dot {
    fill: var(--pdb-ball);
    stroke: var(--pdb-venue);
    stroke-width: 0.8;
}

.pdb-shot {
    fill: none;
    stroke: var(--pdb-ball);
    stroke-width: 0.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}
.pdb-shot.is-drawing {
    animation: pdb-draw 640ms var(--pdb-ease) both;
}
/* чем мощнее удар, тем толще линия */
.pdb-shot[data-expect="control"] {
    stroke-width: 0.6;
}
.pdb-shot[data-expect="control_punch"] {
    stroke-width: 0.85;
}
.pdb-shot[data-expect="power_lean"] {
    stroke-width: 1.15;
}
.pdb-shot[data-expect="max_power"] {
    stroke-width: 1.5;
}
/* отскок от покрытия */
.pdb-bounce {
    fill: rgba(228, 242, 74, 0.18);
    stroke: var(--pdb-ball);
    stroke-width: 0.6;
    visibility: hidden;
    transform-box: fill-box;
    transform-origin: center;
}
.pdb-bounce.is-drawing {
    animation: pdb-spot-in 360ms var(--pdb-ease) both;
}
@keyframes pdb-spot-in {
    from { opacity: 0; transform: scale(0.3); }
    to { opacity: 1; transform: none; }
}
.pdb-ball-fill {
    fill: var(--pdb-ball);
}
@keyframes pdb-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

/* превью при наведении: метка показана, но ещё не поставлена */
.pdb-court.is-preview .pdb-player,
.pdb-court.is-preview .pdb-shot,
.pdb-court.is-preview .pdb-bounce,
.pdb-court.is-preview .pdb-zone.is-on,
.pdb-court.is-preview .pdb-depth.is-on {
    opacity: 0.6;
}
.pdb-court.is-preview .pdb-shot {
    stroke-dasharray: 0.02 0.025;
}

/* ------------------------------------------------------------------ результат */

.pdb-result {
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 56px) clamp(16px, 4vw, 56px) clamp(48px, 6vw, 96px);
    outline: none;
}

.pdb-result-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 8px 24px;
    margin-bottom: clamp(20px, 3vw, 36px);
}
.pdb-result-title {
    margin: 0;
    font-family: var(--title-font, "Jost", sans-serif);
    font-size: clamp(1.875rem, 2.8vw, 2.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--pdb-ink);
}
.pdb-common {
    grid-column: 1;
    margin: 0;
    max-width: 64ch;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: var(--pdb-ink);
}
.pdb-result-note {
    grid-column: 1;
    margin: 0;
    max-width: 64ch;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--pdb-ink-soft);
}
.pdb-common:empty,
.pdb-result-note:empty {
    display: none;
}
.pdb-restart {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1.5px solid var(--pdb-court);
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--pdb-court);
    cursor: pointer;
    transition: background-color 160ms var(--pdb-ease);
}
.pdb-restart:hover {
    background: var(--pdb-select);
}
.pdb-restart:focus-visible {
    outline: 3px solid rgba(33, 72, 153, 0.35);
    outline-offset: 2px;
}

.pdb-picks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 28px);
}

.pdb-pick {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 18px;
    background: var(--pdb-surface);
    box-shadow: 0 12px 32px -18px rgba(24, 54, 114, 0.35);
    overflow: hidden;
    animation: pdb-rise 520ms var(--pdb-ease) both;
}
.pdb-pick:nth-child(2) { animation-delay: 70ms; }
.pdb-pick:nth-child(3) { animation-delay: 140ms; }
@keyframes pdb-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.pdb-pick-media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 18px;
    background: #EEF1F7;
}
.pdb-pick-media img,
.pdb-pick-media svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.pdb-rank {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--pdb-court);
    font-size: 0.875rem;
    font-weight: 500;
    color: #FFFFFF;
}

.pdb-pick-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 18px 20px 20px;
}
.pdb-pick-name {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.25;
}
.pdb-pick-name a {
    color: var(--pdb-ink);
    text-decoration: none;
}
.pdb-pick-name a:hover {
    color: var(--pdb-court);
}
.pdb-pick-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin: 0;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--pdb-court);
}
.pdb-stock {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1E7A43;
}
.pdb-pick[hidden] {
    display: none;
}
.pdb-pol {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--pdb-ink);
}
.pdb-pol-label {
    font-weight: 600;
}
.pdb-show-more {
    display: flex;
    justify-content: center;
    margin-top: clamp(18px, 2.5vw, 28px);
}
.pdb-show-more[hidden] {
    display: none;
}
.pdb-reasons {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pdb-reasons li {
    position: relative;
    margin: 0;
    padding-left: 16px;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--pdb-ink-soft);
}
.pdb-reasons li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pdb-court);
}
.pdb-pick-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}
.pdb-buy {
    flex: 1;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--pdb-court);
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 160ms var(--pdb-ease);
}
.pdb-buy:hover {
    background: var(--pdb-venue);
}
.pdb-buy:focus-visible,
.pdb-more:focus-visible {
    outline: 3px solid rgba(33, 72, 153, 0.35);
    outline-offset: 2px;
}
.pdb-more {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border: 1.5px solid var(--pdb-rule);
    border-radius: 999px;
    font-size: 1rem;
    color: var(--pdb-ink);
    text-decoration: none;
}
.pdb-more:hover {
    border-color: var(--pdb-court);
    color: var(--pdb-court);
}

/* заготовка на время загрузки */
.pdb-pick.is-skeleton .pdb-pick-media,
.pdb-pick.is-skeleton .pdb-skel {
    background: linear-gradient(90deg, #E9EDF5 0%, #F4F6FB 50%, #E9EDF5 100%);
    background-size: 200% 100%;
    animation: pdb-shimmer 1.4s linear infinite;
}
.pdb-skel {
    height: 14px;
    border-radius: 7px;
}
@keyframes pdb-shimmer {
    to { background-position: -200% 0; }
}

.pdb-sub {
    margin: clamp(36px, 5vw, 64px) 0 16px;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--pdb-ink);
}
.pdb-preorder-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pdb-pre {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--pdb-rule);
    border-radius: var(--pdb-radius);
    background: var(--pdb-surface);
}
.pdb-pre-thumb {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: #EEF1F7;
    overflow: hidden;
}
.pdb-pre-thumb img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}
.pdb-pre-thumb svg {
    width: 44px;
    height: 44px;
}
.pdb-pre-name {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--pdb-ink);
    text-decoration: none;
}
.pdb-pre-name:hover {
    color: var(--pdb-court);
}
.pdb-pre-meta {
    display: block;
    margin-top: 2px;
    font-size: 0.9375rem;
    color: var(--pdb-ink-soft);
}

/* силуэт ракетки там, где у товара нет фото */
.pdb-racket-ph {
    color: #B8C3DA;
}

/* магазин — тоже корт: синее поле */
.pdb-store {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    align-items: center;
    gap: 20px clamp(20px, 3vw, 48px);
    margin-top: clamp(36px, 5vw, 64px);
    padding: clamp(24px, 3vw, 40px);
    border-radius: 22px;
    background: var(--pdb-court);
    color: #FFFFFF;
}
.pdb-store-title {
    margin: 0 0 8px;
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
}
.pdb-store-text p {
    margin: 0;
    max-width: 48ch;
    font-size: 1rem;
    line-height: 1.5;
    color: #DCE4F5;
}
.pdb-store-facts {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: clamp(16px, 2vw, 32px);
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.pdb-store-facts div {
    display: grid;
    grid-template-columns: 5.5em 1fr;
    gap: 10px;
}
.pdb-store-facts dt {
    font-size: 0.9375rem;
    color: #BFCCEA;
}
.pdb-store-facts dd {
    margin: 0;
    font-size: 0.9375rem;
    color: #FFFFFF;
}
.pdb-store-facts a {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pdb-store-cta {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--pdb-ball);
    font-size: 1rem;
    font-weight: 600;
    color: var(--pdb-venue);
    text-decoration: none;
    white-space: nowrap;
    transition: filter 160ms var(--pdb-ease);
}
.pdb-store-cta:hover {
    filter: brightness(0.95);
    color: var(--pdb-venue);
}
.pdb-store-cta:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
}

.pdb-message {
    padding: 24px;
    border: 1px solid var(--pdb-rule);
    border-radius: 18px;
    background: var(--pdb-surface);
    font-size: 1rem;
    line-height: 1.5;
}
.pdb-message button {
    margin-top: 12px;
}

.pdb-noscript {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px;
}

/* в режиме результата вопросы убираются, остаются корт и ответы */
.pdb.is-done .pdb-quiz {
    display: none;
}
.pdb.is-done .pdb-stage {
    min-height: 0;
}
.pdb.is-done .pdb-court {
    height: min(calc(100vh - 320px), 640px);
    min-height: 360px;
}
.pdb.is-done .pdb-coach-photo {
    height: min(42vh, 440px);
}

/* узкая сцена: ведущий чуть меньше, чтобы корт не сжимался */
@media (max-width: 1279px) and (min-width: 992px) {
    .pdb .pdb-coach-photo {
        height: min(40vh, 400px);
    }
    .pdb-say {
        width: 250px;
    }
}

/* ------------------------------------------------------------------ планшет: корт ложится горизонтально над вопросом */

@media (max-width: 991px) {
    .pdb-venue {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        row-gap: 10px;
    }
    .pdb-court {
        margin-bottom: 0;
    }
    /* ведущий — небольшой фигурой слева от реплики, хвостик указывает на него;
       фигура, а не круглая аватарка: в круг не попадают руки, а двигаются именно они */
    .pdb-coach {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 560px;
    }
    .pdb .pdb-coach-photo {
        display: block;
        order: -1;
        flex: 0 0 auto;
        width: auto;
        height: 104px;
    }
    .pdb-coach-face {
        display: none;
    }
    .pdb-say {
        flex: 1;
        width: auto;
        margin: 0;
        padding: 10px 14px;
        gap: 6px 12px;
    }
    .pdb-say::after {
        left: -8px;
        top: 50%;
        bottom: auto;
        margin: -7px 0 0;
        border: 0;
        border-left: 1px solid #596E99;
        border-bottom: 1px solid #596E99;
    }
    .pdb-say-grade {
        font-size: 2rem;
    }
    /* строки в одну линию через точку */
    .pdb-say-lines {
        display: flex;
        flex-wrap: wrap;
        gap: 2px 14px;
    }
    .pdb-say-lines li {
        font-size: 0.9375rem;
    }
    .pdb-stage {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
    .pdb-venue {
        order: -1;
        padding: 18px 16px 12px;
    }
    .pdb-panel {
        justify-self: stretch;
        max-width: none;
    }
    .pdb-court,
    .pdb.is-done .pdb-court {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: 340px;
        aspect-ratio: 224 / 120;
    }
    .pdb-picks {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
    }
    .pdb-preorder-list {
        grid-template-columns: minmax(0, 1fr);
    }
    .pdb-store {
        grid-template-columns: minmax(0, 1fr);
    }
    .pdb-store-facts {
        padding-left: 0;
        border-left: 0;
    }
    /* на повёрнутом корте текст боком не пишем */
    .pdb-zone-labels {
        display: none;
    }
}

@media (max-width: 767px) {
    /* место под фиксированную нижнюю панель сайта */
    .pdb {
        padding-bottom: 64px;
    }
}

/* ------------------------------------------------------------------ телефон */

@media (max-width: 575px) {
    .pdb-venue {
        padding: 10px 16px;
    }
    .pdb-court,
    .pdb.is-done .pdb-court {
        width: auto;
        height: 140px;
        max-height: 140px;
        margin: 0 auto;
    }
    /* на телефоне подсказку не повторяем: остаются шкала, буква и строки */
    .pdb-say-hint {
        display: none;
    }
    .pdb-say.is-hint-only .pdb-say-hint {
        display: block;
    }
    .pdb .pdb-coach-photo {
        height: 88px;
    }
    .pdb-say-grade {
        font-size: 1.625rem;
    }
    .pdb-panel {
        padding: 20px 16px 24px;
    }
    .pdb-title {
        margin-bottom: 14px;
        font-size: 1.75rem;
    }
    .pdb-lead {
        display: none;
    }
    .pdb-question legend {
        margin-bottom: 12px;
        font-size: 1.375rem;
    }
    .pdb-option {
        min-height: 52px;
        padding-top: 9px;
        padding-bottom: 9px;
    }
    .pdb-result-head {
        grid-template-columns: minmax(0, 1fr);
    }
    .pdb-restart {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pdb *,
    .pdb *::before,
    .pdb *::after {
        animation-duration: 1ms !important;
        animation-delay: 0ms !important;
        transition-duration: 1ms !important;
    }
}
