/* Games Realm quick taste builder — v3.2 */
.nav-cta {
    border-color: rgba(103, 237, 219, 0.18);
    background: rgba(103, 237, 219, 0.055);
    color: var(--text);
}

.games-teach-shell {
    width: min(calc(100% - 48px), 1180px);
    margin-inline: auto;
    padding: 26px 0 90px;
}

.games-teach-topbar {
    margin-bottom: 58px;
}

.games-teach-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    gap: 70px;
    align-items: end;
    padding-bottom: 38px;
    border-bottom: 1px solid var(--line);
}

.games-teach-hero h1 {
    max-width: 760px;
    margin: 12px 0 0;
    font-size: clamp(54px, 7.3vw, 92px);
    letter-spacing: -0.065em;
    line-height: 0.93;
}

.games-teach-hero h1 em {
    color: var(--violet-2);
    font-weight: 500;
}

.games-teach-intro-copy {
    padding-bottom: 7px;
}

.games-teach-intro-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.games-teach-intro-copy p + p {
    margin-top: 14px;
}

.calibration-selection-controls {
    position: sticky;
    top: 82px;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto minmax(250px, auto);
    gap: 16px;
    align-items: end;
    margin-top: 28px;
    padding: 14px;
    border: 1px solid rgba(142, 118, 255, 0.17);
    border-radius: 18px;
    background: rgba(8, 11, 20, 0.9);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
}

.teach-search-wrap {
    display: grid;
    gap: 8px;
}

.teach-search-wrap label,
.quick-reason-group > p,
.reason-group-label {
    color: var(--blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.teach-search-wrap input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    outline: none;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    font: inherit;
    font-size: 13px;
}

.teach-search-wrap input:focus {
    border-color: rgba(142, 118, 255, 0.52);
    box-shadow: 0 0 0 3px rgba(142, 118, 255, 0.08);
}

.teach-filters {
    display: flex;
    gap: 7px;
    align-items: center;
    min-height: 46px;
}

.teach-filters button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
}

.teach-filters button.is-active {
    border-color: rgba(142, 118, 255, 0.42);
    background: rgba(142, 118, 255, 0.12);
    color: var(--text);
}

.teach-selection-summary {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: flex-end;
}

.teach-selection-summary > div {
    display: grid;
    min-width: 142px;
    gap: 3px;
    text-align: right;
}

.teach-selection-summary strong {
    font-size: 12px;
}

.teach-selection-summary span {
    color: var(--muted-2);
    font-size: 9px;
}

.teach-selection-summary .button {
    min-height: 46px;
    white-space: nowrap;
}

.teach-selection-copy {
    margin: 19px 0 14px;
    color: var(--muted-2);
    font-size: 11px;
}

.game-select-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.game-select-card {
    position: relative;
    display: grid;
    overflow: hidden;
    min-width: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(14, 18, 30, 0.74);
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.game-select-card:hover {
    transform: translateY(-2px);
    border-color: rgba(142, 118, 255, 0.35);
    background: rgba(18, 23, 39, 0.92);
}

.game-select-card.is-selected {
    border-color: rgba(103, 237, 219, 0.62);
    background: linear-gradient(145deg, rgba(103, 237, 219, 0.075), rgba(142, 118, 255, 0.09));
    box-shadow: 0 0 0 1px rgba(103, 237, 219, 0.12), 0 18px 50px rgba(22, 91, 107, 0.18);
}

.game-select-check {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(5, 8, 14, 0.82);
    color: var(--text);
    font-size: 16px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.game-select-card.is-selected .game-select-check {
    border-color: rgba(103, 237, 219, 0.56);
    background: rgba(53, 193, 178, 0.18);
    color: #dffff9;
}

.game-select-art {
    position: relative;
    display: block;
    aspect-ratio: 16 / 8.8;
    overflow: hidden;
    background: linear-gradient(145deg, #18172d, #0d2430);
}

.game-select-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-select-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 11, 20, 0.72), transparent 54%);
}

.game-select-copy {
    display: grid;
    gap: 6px;
    padding: 16px 17px 17px;
}

.game-select-copy strong {
    overflow: hidden;
    font-size: 18px;
    letter-spacing: -0.025em;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-select-copy small {
    color: var(--muted-2);
    font-size: 10px;
}

.teach-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.teach-empty {
    grid-column: 1 / -1;
    display: grid;
    gap: 5px;
    padding: 42px;
    border: 1px dashed var(--line-strong);
    border-radius: 18px;
    color: var(--muted);
    text-align: center;
}

.games-teach-rate {
    max-width: 1040px;
    margin-inline: auto;
}

.games-teach-rate-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.game-teach-card {
    overflow: hidden;
    border: 1px solid rgba(142, 118, 255, 0.22);
    border-radius: 24px;
    background: rgba(12, 16, 27, 0.88);
    box-shadow: var(--shadow);
}

.game-teach-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    min-height: 560px;
}

.game-teach-visual {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    background: linear-gradient(145deg, #18162d, #0d2530);
}

.game-teach-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-teach-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 10, 18, 0.98) 3%, rgba(7, 10, 18, 0.24) 65%, rgba(7, 10, 18, 0.1));
}

.game-teach-visual-copy {
    position: absolute;
    z-index: 2;
    right: 26px;
    bottom: 28px;
    left: 26px;
}

.game-teach-visual-copy p {
    margin: 0 0 8px;
    color: var(--cyan);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.game-teach-visual-copy h2 {
    margin: 0;
    font-size: clamp(30px, 4.5vw, 50px);
    letter-spacing: -0.05em;
    line-height: 1;
}

.game-teach-body {
    display: flex;
    flex-direction: column;
    padding: 42px 42px 34px;
}

.game-teach-body > h2 {
    margin: 8px 0 12px;
    font-size: clamp(36px, 5vw, 58px);
    letter-spacing: -0.055em;
    line-height: 1;
}

.game-teach-copy {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.teach-divider {
    height: 1px;
    margin: 25px 0 22px;
    background: var(--line);
}

.teach-question {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
}

.quick-rating-options button.is-selected,
.compact-rating-options button.is-selected {
    border-color: rgba(103, 237, 219, 0.5);
    background: linear-gradient(145deg, rgba(103, 237, 219, 0.12), rgba(142, 118, 255, 0.11));
    box-shadow: inset 0 0 0 1px rgba(103, 237, 219, 0.08);
}

.quick-reason-panel {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.quick-reason-heading {
    display: flex;
    gap: 20px;
    align-items: baseline;
    justify-content: space-between;
}

.quick-reason-heading h3 {
    margin: 0;
    font-size: 25px;
    letter-spacing: -0.035em;
}

.quick-reason-heading span {
    color: var(--muted-2);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.quick-reason-group {
    margin-top: 18px;
}

.quick-reason-group > p,
.reason-group-label {
    margin: 0 0 9px;
}

.negative-reason-options button.is-selected {
    border-color: rgba(239, 154, 194, 0.48);
    background: rgba(239, 154, 194, 0.11);
    box-shadow: inset 0 0 0 1px rgba(239, 154, 194, 0.08);
}

.game-teach-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 30px;
}

.game-teach-actions .button[disabled],
.calibration-selection-controls .button[disabled] {
    cursor: not-allowed;
    opacity: 0.38;
    filter: saturate(0.45);
}

.game-teach-finish {
    display: grid;
    max-width: 820px;
    margin-inline: auto;
    padding: 72px 60px;
    text-align: center;
}

.game-teach-finish h1 {
    margin: 12px 0 20px;
    font-size: clamp(48px, 7vw, 76px);
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.game-teach-finish > p:last-of-type {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.game-teach-finish .reason-actions {
    justify-content: center;
}

.media-roadmap button {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border: 1px solid rgba(103, 237, 219, 0.25);
    border-radius: 12px;
    background: rgba(103, 237, 219, 0.055);
    color: var(--text);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.media-roadmap button small {
    color: var(--cyan);
}

#rate-negative-block {
    margin-top: 18px;
}

@media (max-width: 980px) {
    .games-teach-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .calibration-selection-controls {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .teach-selection-summary {
        justify-content: space-between;
    }

    .teach-selection-summary > div {
        text-align: left;
    }

    .game-select-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-teach-layout {
        grid-template-columns: 1fr;
    }

    .game-teach-visual {
        min-height: 330px;
        max-height: 420px;
    }
}

@media (max-width: 680px) {
    .games-teach-shell {
        width: min(calc(100% - 28px), 1180px);
        padding-top: 18px;
    }

    .games-teach-topbar {
        margin-bottom: 40px;
    }

    .games-teach-hero h1 {
        font-size: clamp(48px, 15vw, 66px);
    }

    .games-teach-intro-copy p {
        font-size: 13px;
    }

    .calibration-selection-controls {
        top: 70px;
        margin-inline: -2px;
        padding: 11px;
        border-radius: 15px;
    }

    .teach-filters {
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .teach-selection-summary {
        display: grid;
        grid-template-columns: 1fr;
    }

    .teach-selection-summary .button {
        width: 100%;
    }

    .game-select-grid {
        grid-template-columns: 1fr;
    }

    .game-select-art {
        aspect-ratio: 16 / 8.2;
    }

    .game-teach-body {
        padding: 26px 20px 22px;
    }

    .game-teach-visual {
        min-height: 280px;
    }

    .quick-rating-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-reason-heading {
        display: grid;
        gap: 5px;
    }

    .game-teach-actions {
        display: grid;
        gap: 10px;
    }

    .game-teach-actions .button,
    .game-teach-actions .quiet-button {
        width: 100%;
    }

    .game-teach-finish {
        padding: 48px 20px;
    }

    .game-teach-finish .reason-actions {
        display: grid;
    }
}

@media (min-width: 681px) {
    .media-roadmap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* v1.7.2 — Games Realm identity pass: calibration should feel active/systemic, not like Movies. */
.games-teach-hero {
    position: relative;
    align-items: stretch;
    padding: 8px 0 44px;
}

.games-teach-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(103, 237, 219, 0.48), rgba(142, 118, 255, 0.3) 42%, rgba(255, 255, 255, 0.04) 82%);
}

.games-teach-hero-copy {
    align-self: center;
    padding: 10px 0 8px;
}

.games-teach-hero h1 {
    max-width: 820px;
}

.games-teach-hero h1 em {
    font-style: normal;
    font-weight: 850;
    color: transparent;
    background: linear-gradient(100deg, var(--violet-2), var(--blue) 58%, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
}

.games-teach-subhead {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.games-teach-intro-copy {
    position: relative;
    align-self: stretch;
    padding: 24px;
    border: 1px solid rgba(103, 237, 219, 0.16);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(103, 237, 219, 0.045), rgba(142, 118, 255, 0.055)),
        rgba(10, 15, 27, 0.64);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.games-teach-intro-copy::before {
    content: "";
    position: absolute;
    top: 17px;
    right: 18px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(103, 237, 219, 0.7);
}

.games-teach-intro-copy p {
    max-width: 560px;
    font-size: 14px;
}

.games-teach-signal-panel {
    display: grid;
    gap: 10px;
    margin-top: 21px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.signal-panel-label {
    color: var(--cyan);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.signal-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.signal-chip-row span {
    padding: 7px 9px;
    border: 1px solid rgba(103, 237, 219, 0.14);
    border-radius: 7px;
    background: rgba(103, 237, 219, 0.045);
    color: rgba(232, 247, 255, 0.84);
    font-size: 10px;
    font-weight: 750;
}

.calibration-selection-controls {
    overflow: hidden;
    border-color: rgba(103, 237, 219, 0.16);
    background:
        linear-gradient(90deg, rgba(103, 237, 219, 0.025), rgba(142, 118, 255, 0.035)),
        rgba(8, 11, 20, 0.93);
}

.calibration-selection-controls::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    width: 92px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), rgba(103, 237, 219, 0));
}

.teach-search-wrap label {
    color: var(--cyan);
}

.teach-search-wrap input:focus {
    border-color: rgba(103, 237, 219, 0.5);
    box-shadow: 0 0 0 3px rgba(103, 237, 219, 0.075);
}

.teach-filters button.is-active {
    border-color: rgba(103, 237, 219, 0.34);
    background: rgba(103, 237, 219, 0.085);
    color: #e8fffb;
}

.teach-selection-summary {
    min-width: 322px;
}

.teach-sample-state {
    display: grid;
    min-width: 152px;
    gap: 7px;
}

.teach-sample-state > div:last-child {
    display: grid;
    gap: 2px;
    text-align: right;
}

.teach-sample-meter {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    width: 100%;
    max-width: 154px;
    margin-left: auto;
}

.teach-sample-meter span {
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.teach-sample-meter span.is-active {
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(103, 237, 219, 0.42);
    transform: scaleY(1.35);
}

.teach-selection-summary strong {
    font-size: 12px;
    letter-spacing: 0.01em;
}

.teach-selection-summary span {
    font-size: 9px;
}

.teach-selection-status {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 14px;
}

.teach-selection-copy {
    margin: 0;
    font-size: 11px;
}

.teach-crossrealm-note {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 7px;
    align-items: center;
    color: var(--muted-2);
    font-size: 10px;
}

.teach-crossrealm-note i {
    color: var(--violet-2);
    font-style: normal;
}

.game-select-card {
    isolation: isolate;
    border-radius: 16px;
}

.game-select-card:hover {
    transform: translateY(-3px);
    border-color: rgba(103, 237, 219, 0.28);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.game-select-card.is-selected {
    border-color: rgba(103, 237, 219, 0.72);
    background: linear-gradient(145deg, rgba(103, 237, 219, 0.105), rgba(142, 118, 255, 0.105));
    box-shadow: 0 0 0 1px rgba(103, 237, 219, 0.14), 0 20px 54px rgba(22, 91, 107, 0.22);
}

.game-select-card.is-selected::after {
    content: "";
    position: absolute;
    z-index: 4;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(103, 237, 219, 0), var(--cyan) 25%, var(--violet-2) 76%, rgba(142, 118, 255, 0));
    box-shadow: 0 0 16px rgba(103, 237, 219, 0.42);
}

.game-select-card.is-selected .game-select-art::before {
    content: "IN SAMPLE";
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    padding: 6px 8px;
    border: 1px solid rgba(103, 237, 219, 0.3);
    border-radius: 6px;
    background: rgba(5, 16, 22, 0.72);
    color: #dffff9;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.12em;
    backdrop-filter: blur(8px);
}

.game-select-card.is-selected .game-select-copy small {
    color: rgba(147, 246, 230, 0.8);
}

.game-select-card.is-selected .game-select-check {
    border-color: rgba(103, 237, 219, 0.62);
    background: rgba(23, 104, 101, 0.76);
    color: #f3fffd;
    box-shadow: 0 0 20px rgba(103, 237, 219, 0.24);
}

@media (max-width: 980px) {
    .games-teach-intro-copy {
        padding: 20px;
    }

    .teach-selection-summary {
        min-width: 0;
    }

    .teach-sample-state > div:last-child {
        text-align: left;
    }

    .teach-sample-meter {
        margin-left: 0;
    }
}

@media (max-width: 680px) {
    .games-teach-hero {
        padding-top: 0;
    }

    .games-teach-subhead {
        margin-top: 17px;
        font-size: 13px;
    }

    .games-teach-intro-copy {
        border-radius: 16px;
    }

    .signal-chip-row span {
        font-size: 9px;
    }

    .teach-selection-status {
        display: grid;
        gap: 8px;
    }

    .teach-crossrealm-note {
        font-size: 9px;
    }
}
