html {
    scroll-behavior: auto;
    overflow-anchor: none;
}

.pc-page {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 20px 72px;
}

.pc-stage {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(240px, 1fr);
    gap: 28px;
    align-items: stretch;
    margin: 36px auto 56px;
    max-width: 980px;
    scroll-margin-top: 120px;
}

.pc-widget {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px 16px 18px;
    border-radius: 24px;
    overflow: clip;
    background: rgba(102, 102, 102, 0.25);
    backdrop-filter: blur(8px) saturate(100%);
    -webkit-backdrop-filter: blur(8px) saturate(100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        4px 4px 20px 0 rgba(0, 0, 0, 0.35),
        inset 0 0 150px rgba(245, 158, 11, 0.01),
        inset 0 0 4px 2px rgba(255, 255, 255, 0.15);
}

.pc-widget::before {
    content: "";
    position: absolute;
    left: 5px;
    right: 5px;
    top: 0;
    height: 30px;
    border-radius: 15px;
    background: linear-gradient(hsla(0, 0%, 100%, 0.25), hsla(0, 0%, 100%, 0));
    pointer-events: none;
}

.pc-widget > * {
    position: relative;
}

.pc-credit {
    margin: 0 0 8px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.4);
}

.pc-credit a {
    color: #4dd9c0;
    text-decoration: none;
}

.pc-credit a:hover {
    text-decoration: underline;
}

.pc-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.pc-brand b {
    font-family: Futura, "Avenir Next", "Century Gothic", "Trebuchet MS", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.pc-round {
    font-size: 11px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    padding: 3px 10px;
    border-radius: 999px;
    color: #4dd9c0;
    background: rgba(77, 217, 192, 0.12);
    border: 1px solid rgba(77, 217, 192, 0.3);
}

.pc-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    margin: 0;
}

.pc-squint-box {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pc-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    height: 240px;
}

.pc-frame img {
    display: block;
    height: 100%;
    width: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: filter 0.2s ease;
}

.pc-ask {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 8px;
}

.pc-q {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.pc-squint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.pc-lens {
    width: 34px;
    height: 18px;
    border-radius: 999px;
    position: relative;
    flex: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s, border-color 0.2s;
}

.pc-lens::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    transition: transform 0.2s, background 0.2s;
}

.pc-squint-box:checked ~ .pc-frame img {
    filter: blur(7px) saturate(0.85);
}

.pc-squint-box:checked ~ .pc-ask .pc-lens {
    background: rgba(77, 217, 192, 0.25);
    border-color: rgba(77, 217, 192, 0.5);
}

.pc-squint-box:checked ~ .pc-ask .pc-lens::after {
    transform: translateX(16px);
    background: #4dd9c0;
}

.pc-squint-box:focus-visible ~ .pc-ask .pc-lens {
    outline: 2px solid #4dd9c0;
    outline-offset: 2px;
}

.pc-opts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pc-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pc-opt:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.pc-opt input {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    flex: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    display: grid;
    place-content: center;
    transition: 0.2s;
}

.pc-opt input::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4dd9c0;
    transform: scale(0);
    transition: transform 0.15s;
}

.pc-opt input:checked {
    border-color: #4dd9c0;
    box-shadow: 0 0 8px rgba(77, 217, 192, 0.45);
}

.pc-opt input:checked::after {
    transform: scale(1);
}

.pc-opt:has(input:checked) {
    background: rgba(77, 217, 192, 0.12);
    border-color: rgba(77, 217, 192, 0.45);
    color: #fff;
}

.pc-opt input:focus-visible {
    outline: 2px solid #4dd9c0;
    outline-offset: 2px;
}

.pc-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.pc-go {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 12px;
    cursor: pointer;
    background-image: linear-gradient(
        hsla(0, 0%, 100%, 0.6),
        hsla(0, 0%, 100%, 0) 50%,
        hsla(0, 0%, 0%, 0.3) 50%,
        hsla(0, 0%, 100%, 0.2)
    );
    backdrop-filter: blur(4px) saturate(100%);
    -webkit-backdrop-filter: blur(4px) saturate(100%);
    text-shadow: 0 0 15px hsla(0, 0%, 100%, 1), 0 2px 4px hsla(0, 0%, 0%, 0.7);
    box-shadow:
        inset 0 -5px 20px hsla(0, 0%, 0%, 0.4),
        inset 0 5px 20px hsla(0, 0%, 100%, 0.4),
        -8px 8px 5px hsla(0, 0%, 0%, 0.15),
        5px 18px 10px hsla(0, 0%, 0%, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pc-go::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 4px;
    height: 22px;
    border-radius: 15px;
    pointer-events: none;
    background: linear-gradient(hsla(0, 0%, 100%, 0.25), hsla(0, 0%, 100%, 0));
}

.pc-go:hover {
    transform: scale(1.02);
    box-shadow:
        inset 0 -5px 20px hsla(0, 0%, 0%, 0.4),
        inset 0 5px 20px hsla(0, 0%, 100%, 0.4),
        0 0 6px hsla(0, 0%, 100%, 0.8);
}

.pc-go:focus-visible {
    outline: 2px solid #4dd9c0;
    outline-offset: 3px;
}

.pc-skip {
    flex: none;
    font: inherit;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 12px 16px;
    cursor: pointer;
}

.pc-skip:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.pc-note {
    margin: 10px 0 0;
    text-align: center;
    font-size: 11px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.45);
}

.pc-score {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 28px 26px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(102, 102, 102, 0.25);
    backdrop-filter: blur(8px) saturate(100%);
    -webkit-backdrop-filter: blur(8px) saturate(100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        4px 4px 20px 0 rgba(0, 0, 0, 0.35),
        inset 0 0 4px 2px rgba(255, 255, 255, 0.15);
}

.pc-score::before {
    content: "";
    position: absolute;
    left: 5px;
    right: 5px;
    top: 0;
    height: 30px;
    border-radius: 15px;
    background: linear-gradient(hsla(0, 0%, 100%, 0.25), hsla(0, 0%, 100%, 0));
    pointer-events: none;
}

.pc-score-kicker {
    position: relative;
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4dd9c0;
}

.pc-score-pct {
    position: relative;
    margin: 0;
    font-size: clamp(56px, 8vw, 84px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.pc-score-meta {
    position: relative;
    margin: 12px 0 0;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.pc-result {
    position: relative;
    margin: 18px 0 0;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.4;
}

.pc-result-ok {
    color: #bbf7d0;
    background: rgba(22, 163, 74, 0.16);
    border: 1px solid rgba(74, 222, 128, 0.35);
}

.pc-result-bad {
    color: #fecaca;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.4);
}

.pc-result-info {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.pc-text-window {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #141416;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.pc-text-window-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: #1f1f23;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-text-window-dots {
    display: flex;
    gap: 6px;
}

.pc-text-window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.pc-text-window-dots span:nth-child(1) { background: #ff5f57; }
.pc-text-window-dots span:nth-child(2) { background: #febc2e; }
.pc-text-window-dots span:nth-child(3) { background: #28c840; }

.pc-text-window-title {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.pc-text-window-body {
    padding: 28px 32px 32px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.pc-text-window-body p + p {
    margin-top: 1.1em;
}

.pc-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 1.4em 0;
}

.pc-gallery-pairs {
    grid-template-columns: repeat(4, 1fr);
}

.pc-gallery figure {
    margin: 0;
}

.pc-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.pc-gallery figcaption {
    margin-top: 8px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 820px) {
    .pc-gallery,
    .pc-gallery-pairs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .pc-stage {
        grid-template-columns: 1fr;
        max-width: 440px;
    }

    .pc-score-pct {
        font-size: 64px;
    }

    .pc-text-window-body {
        padding: 22px 20px 24px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}