:root {
    --ink: #243032;
    --muted: #6a7776;
    --paper: #fffaf2;
    --paper-strong: #fffdf8;
    --line: #d9ded8;
    --teal: #2f8f83;
    --teal-dark: #1f6f67;
    --gold: #d9a441;
    --rose: #d96f7f;
    --violet: #7560a8;
    --sky: #5c91c6;
    --leaf: #88a95c;
    --shadow: 0 24px 70px rgba(35, 48, 50, 0.16);
    --radius: 8px;
    --font-display: Georgia, "Times New Roman", "Noto Serif SC", serif;
    --font-body: "Trebuchet MS", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-body);
    background:
        linear-gradient(90deg, rgba(47, 143, 131, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(47, 143, 131, 0.07) 1px, transparent 1px),
        var(--paper);
    background-size: 42px 42px, 42px 42px, auto;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    min-height: 100vh;
    overflow: hidden;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 700;
    box-shadow: 5px 5px 0 rgba(36, 48, 50, 0.18);
    overflow: hidden;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 18px;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.topnav {
    display: flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.76);
}

.topnav a {
    min-height: 36px;
    padding: 9px 16px;
    border-radius: 999px;
    color: #41504f;
    font-size: 14px;
}

.topnav a:hover {
    color: var(--paper-strong);
    background: var(--teal-dark);
}

.lang-toggle {
    display: inline-grid;
    min-width: 50px;
    min-height: 42px;
    place-items: center;
    border: 2px solid rgba(36, 48, 50, 0.18);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.88);
    box-shadow: 4px 4px 0 rgba(36, 48, 50, 0.12);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.lang-toggle:hover {
    color: var(--paper-strong);
    border-color: var(--teal-dark);
    background: var(--teal-dark);
}

.account-chip {
    display: inline-grid;
    min-width: 128px;
    min-height: 42px;
    align-content: center;
    gap: 1px;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: 999px;
    padding: 7px 14px;
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 4px 4px 0 rgba(36, 48, 50, 0.08);
}

.account-chip span {
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
}

.account-chip strong {
    max-width: 150px;
    overflow: hidden;
    color: #52605f;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: clamp(28px, 5vw, 60px);
    align-items: center;
    min-height: min(700px, calc(100vh - 88px));
    padding: 34px 0 48px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0;
}

h1 {
    max-width: 640px;
    margin-bottom: 18px;
    font-size: clamp(42px, 6.2vw, 74px);
    line-height: 0.98;
}

h2 {
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.02;
}

h3 {
    font-size: 22px;
    line-height: 1.25;
}

.hero-lede {
    max-width: 620px;
    color: #52605f;
    font-size: clamp(18px, 1.8vw, 21px);
    line-height: 1.68;
}

.hero-actions,
.result-actions,
.quiz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 13px 22px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: var(--paper-strong);
    background: var(--teal-dark);
    box-shadow: 0 12px 24px rgba(31, 111, 103, 0.24);
}

.hero-actions .button {
    min-height: 54px;
    padding-inline: 25px;
    font-size: 16px;
}

.button.secondary,
.button.ghost {
    border-color: rgba(36, 48, 50, 0.18);
    color: var(--ink);
    background: rgba(255, 253, 248, 0.82);
}

.button.wide {
    width: 100%;
}

.button[hidden] {
    display: none;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.52;
    transform: none;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 650px;
    margin-top: 22px;
}

.hero-proof span {
    display: grid;
    min-height: 78px;
    align-content: center;
    gap: 4px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-left: 5px solid var(--teal-dark);
    border-radius: 16px;
    padding: 13px 15px;
    background: rgba(255, 253, 248, 0.84);
    box-shadow: 5px 6px 0 rgba(36, 48, 50, 0.05);
}

.hero-proof b {
    color: var(--teal-dark);
    font-size: 14px;
    font-weight: 900;
}

.hero-proof small {
    color: #52605f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 11px 14px;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: 999px;
    color: #4d5b5a;
    background: rgba(255, 253, 248, 0.72);
}

.hero-stats strong {
    color: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 24px;
}

.hero-visual {
    position: relative;
    display: grid;
    min-height: 500px;
    align-content: end;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 26px;
    padding: clamp(18px, 3vw, 26px);
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 253, 248, 0.98), rgba(247, 234, 212, 0.54) 44%, transparent 45%),
        radial-gradient(circle at 22% 26%, rgba(47, 143, 131, 0.12), transparent 30%),
        radial-gradient(circle at 78% 18%, rgba(226, 174, 51, 0.16), transparent 28%),
        rgba(255, 253, 248, 0.38);
    box-shadow: 14px 16px 0 rgba(36, 48, 50, 0.07);
}

.hero-visual .bubble {
    position: absolute;
    z-index: 3;
    display: inline-grid;
    min-height: 34px;
    place-items: center;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 999px;
    padding: 7px 13px;
    color: var(--paper-strong);
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 0 12px 24px rgba(36, 48, 50, 0.1);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.hero-visual .bubble-left {
    top: 28px;
    left: 28px;
}

.hero-visual .bubble-right {
    top: 28px;
    right: 28px;
    color: var(--paper-strong);
    background: var(--type-color, var(--teal));
}

.mini-card {
    position: absolute;
    z-index: 4;
    display: grid;
    gap: 3px;
    min-width: 118px;
    max-width: min(46%, 178px);
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    padding: 11px 14px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.92);
    box-shadow: 0 14px 30px rgba(36, 48, 50, 0.12);
}

.mini-card span {
    overflow: hidden;
    color: #61706f;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.mini-card strong {
    color: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 25px;
    line-height: 1;
}

.mini-card-a {
    bottom: 34px;
    left: 30px;
}

.mini-card-b {
    right: 30px;
    bottom: 30px;
}

.pet-wheel {
    position: relative;
    min-height: 350px;
    margin-bottom: 12px;
    perspective: 900px;
}

.pet-wheel-glow {
    position: absolute;
    inset: 20px 34px 4px;
    border: 1px solid rgba(36, 48, 50, 0.08);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(217, 234, 219, 0.34)),
        rgba(255, 253, 248, 0.74);
    box-shadow:
        inset 0 0 0 18px rgba(255, 253, 248, 0.38),
        0 24px 60px rgba(36, 48, 50, 0.08);
    animation: pet-wheel-breathe 5.6s ease-in-out infinite;
}

.pet-wheel-glow::before,
.pet-wheel-glow::after {
    position: absolute;
    inset: 18%;
    border: 1px dashed rgba(47, 143, 131, 0.2);
    border-radius: 999px;
    content: "";
}

.pet-wheel-glow::after {
    inset: 32%;
    border-color: rgba(226, 174, 51, 0.26);
}

.pet-wheel-track {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.hero-pet-card {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    width: var(--card-size, 104px);
    gap: 6px;
    border: 0;
    padding: 0;
    background: transparent;
    filter: drop-shadow(0 18px 26px rgba(36, 48, 50, 0.14));
    transform: translate(-50%, -50%) translate(var(--x, 0), var(--y, 0)) scale(var(--scale, 0.74)) rotate(var(--tilt, 0deg));
    opacity: var(--opacity, 0.62);
    transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 620ms ease, filter 620ms ease;
    animation: pet-float 4.4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    cursor: pointer;
}

.hero-pet-card.active {
    z-index: 3;
    --card-size: 190px;
    filter: drop-shadow(0 28px 38px rgba(36, 48, 50, 0.22));
    animation-name: pet-float-active;
}

.hero-pet-orb {
    position: relative;
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 28px;
    background:
        radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.98), transparent 34%),
        color-mix(in srgb, var(--pet-color, var(--gold)) 14%, var(--paper-strong));
    box-shadow: inset 0 0 0 7px rgba(255, 253, 248, 0.62);
}

.hero-pet-orb::before {
    position: absolute;
    inset: 10px;
    border: 1px solid color-mix(in srgb, var(--pet-color, var(--teal)) 34%, transparent);
    border-radius: 22px;
    content: "";
}

.hero-pet-card.active .hero-pet-orb {
    border-radius: 30px;
    box-shadow:
        inset 0 0 0 8px rgba(255, 253, 248, 0.72),
        0 0 0 12px color-mix(in srgb, var(--pet-color, var(--gold)) 14%, transparent);
}

.hero-pet-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    border-radius: 22px;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 620ms ease;
}

.hero-pet-card.active img {
    transform: scale(1.02);
}

.hero-pet-label {
    display: grid;
    justify-items: center;
    gap: 2px;
    border: 1px solid rgba(36, 48, 50, 0.08);
    border-radius: 14px;
    padding: 8px 10px;
    background: rgba(255, 253, 248, 0.84);
    backdrop-filter: blur(12px);
}

.hero-pet-card:not(.active) .hero-pet-label {
    display: none;
}

.hero-pet-card strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 23px;
    line-height: 1.1;
}

.hero-pet-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.hero-pet-card[data-pos="0"] {
    --x: 0px;
    --y: -8px;
    --scale: 1;
    --opacity: 1;
    --delay: -0.4s;
}

.hero-pet-card[data-pos="1"] {
    --x: 154px;
    --y: -106px;
    --tilt: 7deg;
    --delay: -1.2s;
}

.hero-pet-card[data-pos="2"] {
    --x: 188px;
    --y: 36px;
    --tilt: -5deg;
    --delay: -2.1s;
}

.hero-pet-card[data-pos="3"] {
    --x: 92px;
    --y: 138px;
    --tilt: 9deg;
    --opacity: 0.58;
    --delay: -0.8s;
}

.hero-pet-card[data-pos="4"] {
    --x: -92px;
    --y: 138px;
    --tilt: -8deg;
    --opacity: 0.58;
    --delay: -1.8s;
}

.hero-pet-card[data-pos="5"] {
    --x: -188px;
    --y: 36px;
    --tilt: 5deg;
    --delay: -2.7s;
}

.hero-pet-card[data-pos="6"] {
    --x: -154px;
    --y: -106px;
    --tilt: -7deg;
    --delay: -3.3s;
}

.hero-pet-story {
    position: relative;
    z-index: 4;
    margin: 0 auto;
    width: min(100%, 420px);
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 253, 248, 0.88);
    box-shadow: 0 18px 40px rgba(36, 48, 50, 0.11);
    backdrop-filter: blur(16px);
    animation: story-rise 620ms ease both;
}

.hero-pet-story h2 {
    margin-bottom: 6px;
    font-size: clamp(28px, 4vw, 40px);
}

.hero-pet-story strong {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--teal-dark);
    font-size: 14px;
}

.hero-pet-story p:not(.eyebrow) {
    margin-bottom: 0;
    color: #52605f;
    line-height: 1.6;
}

@keyframes pet-wheel-breathe {
    0%,
    100% {
        transform: scale(0.985) rotate(-0.8deg);
    }
    50% {
        transform: scale(1.015) rotate(0.8deg);
    }
}

@keyframes pet-float {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -10px;
    }
}

@keyframes pet-float-active {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -6px;
    }
}

@keyframes story-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pet-wheel-glow,
    .hero-pet-card,
    .hero-pet-story {
        animation: none;
    }

    .hero-pet-card {
        transition-duration: 0.01ms;
    }
}

.path-panel {
    padding: 20px 0 62px;
}

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

.path-card {
    position: relative;
    display: grid;
    min-height: 214px;
    align-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 16px;
    padding: 22px;
    background: rgba(255, 253, 248, 0.88);
    box-shadow: 8px 10px 0 rgba(36, 48, 50, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.path-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(36, 48, 50, 0.12);
}

.path-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: var(--sky);
}

.path-card.primary-path::before {
    background: var(--teal);
}

.path-card:nth-child(3)::before {
    background: var(--rose);
}

.path-card span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--paper-strong);
    background: var(--ink);
    font-size: 12px;
    font-weight: 900;
}

.path-card h3 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: clamp(25px, 2.7vw, 31px);
    line-height: 1.08;
}

.path-card p {
    color: #52605f;
    line-height: 1.7;
}

.path-card strong {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(31, 111, 103, 0.22);
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--teal-dark);
    background: rgba(239, 247, 239, 0.72);
    font-size: 14px;
}

.trust-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.trust-ribbon span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 999px;
    padding: 8px 12px;
    color: #52605f;
    background: rgba(255, 253, 248, 0.72);
    font-size: 13px;
    font-weight: 900;
}

.asset-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(330px, 0.62fr);
    gap: 18px;
    align-items: start;
    padding: 28px 0 54px;
}

body[data-cpti-view="stickers"] .asset-showcase {
    display: none;
}

.asset-showcase-copy {
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    padding: clamp(22px, 3.2vw, 32px);
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.95), rgba(217, 234, 219, 0.7)),
        var(--paper-strong);
    box-shadow: 8px 9px 0 rgba(47, 143, 131, 0.08);
}

.asset-showcase-copy h2 {
    max-width: 720px;
    margin-bottom: 12px;
    font-size: clamp(30px, 3.8vw, 48px);
    line-height: 1.08;
}

.asset-showcase-copy p:not(.eyebrow) {
    max-width: 720px;
    color: #52605f;
    font-size: 16px;
    line-height: 1.7;
}

.asset-preview-carousel {
    margin-top: 18px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    padding: clamp(14px, 2.8vw, 22px);
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(247, 234, 212, 0.46)),
        rgba(255, 253, 248, 0.76);
    box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.72);
}

.core-asset-strip {
    display: grid;
    gap: 14px;
    max-width: 620px;
}

.core-asset-stage {
    position: relative;
    width: min(100%, 500px);
    aspect-ratio: 3 / 4;
    margin-inline: auto;
}

.core-asset-card {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    min-width: 0;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 18px;
    padding: 14px;
    background:
        radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.95), transparent 32%),
        rgba(255, 253, 248, 0.94);
    box-shadow: 0 20px 34px rgba(36, 48, 50, 0.12);
    opacity: 0;
    transform: translateX(18px) scale(0.985);
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
}

.core-asset-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.core-asset-frame {
    position: relative;
    display: grid;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(247, 234, 212, 0.7), rgba(217, 234, 219, 0.7)),
        #fffdf8;
}

.core-asset-frame::before {
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(47, 143, 131, 0.18);
    border-radius: 12px;
    content: "";
}

.core-asset-card span {
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
}

.core-asset-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 12px;
    object-fit: contain;
    background: transparent;
}

.core-asset-caption {
    display: grid;
    gap: 6px;
    min-height: 94px;
    align-content: start;
}

.core-asset-card strong {
    color: var(--ink);
    font-size: clamp(16px, 2.4vw, 20px);
    line-height: 1.45;
}

.core-asset-card p {
    margin: 0;
    color: #5b6867;
    font-size: 13px;
    line-height: 1.55;
}

.asset-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.asset-preview-head span {
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.asset-preview-controls {
    display: inline-flex;
    gap: 8px;
}

.asset-preview-controls button {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: 999px;
    color: var(--ink);
    background: var(--paper-strong);
    cursor: pointer;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.asset-preview-controls button:hover {
    color: var(--paper-strong);
    background: var(--teal-dark);
}

.sticker-sheet-library {
    padding: 22px 0 64px;
    scroll-margin-top: 92px;
}

body[data-cpti-view="stickers"] .sticker-sheet-library {
    padding-top: 34px;
}

.sticker-sheet-library-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

.sticker-sheet-library .section-title {
    margin-bottom: 0;
}

.sticker-sheet-toolbar {
    display: inline-flex;
    gap: 6px;
    width: fit-content;
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: 999px;
    padding: 5px;
    background: rgba(255, 253, 248, 0.84);
    box-shadow: 0 12px 22px rgba(36, 48, 50, 0.08);
}

.sticker-sheet-toolbar button {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 0 15px;
    color: #52605f;
    background: transparent;
    cursor: pointer;
    font-weight: 900;
}

.sticker-sheet-toolbar button.active {
    color: var(--paper-strong);
    background: var(--teal);
}

.sticker-sheet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.sticker-sheet-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-top: 8px solid var(--type-color, var(--teal));
    border-radius: 8px;
    padding: 12px;
    background:
        radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--type-color, var(--teal)) 17%, transparent), transparent 34%),
        rgba(255, 253, 248, 0.9);
    box-shadow: 6px 8px 0 rgba(36, 48, 50, 0.04);
}

.sticker-sheet-preview {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 8px;
    background: #fffdf8;
}

.sticker-sheet-preview img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 180ms ease;
}

.sticker-sheet-card:hover .sticker-sheet-preview img {
    transform: scale(1.025);
}

.sticker-sheet-card-copy {
    display: grid;
    gap: 4px;
}

.sticker-sheet-card-copy span {
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.sticker-sheet-card-copy h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(23px, 2.6vw, 30px);
    line-height: 1.08;
}

.sticker-sheet-card-copy p {
    margin: 0;
    color: #52605f;
    font-size: 13px;
    font-weight: 800;
}

.sticker-sheet-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sticker-sheet-actions a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.82);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.sticker-sheet-actions a:hover {
    color: var(--paper-strong);
    background: var(--ink);
}

.asset-preview-stage {
    position: relative;
    min-height: 212px;
    overflow: hidden;
}

.asset-preview-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(190px, 0.52fr);
    gap: 12px;
    align-items: stretch;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.asset-preview-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.sample-share-card,
.sample-wallpaper-phone,
.sample-sticker-sheet,
.sample-tool-card {
    position: relative;
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    background: var(--paper-strong);
    box-shadow: 0 16px 30px rgba(36, 48, 50, 0.09);
}

.sample-share-card {
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    padding: 14px;
}

.sample-share-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--teal-dark);
    font-size: 11px;
    font-weight: 900;
}

.sample-share-card header b {
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--paper-strong);
    background: var(--gold);
}

.sample-share-card img {
    width: 100%;
    min-height: 145px;
    border-radius: 14px;
    object-fit: cover;
}

.sample-share-card h3 {
    margin: 12px 0 2px;
    font-family: var(--font-display);
    font-size: 26px;
}

.sample-share-card p {
    margin: 0;
    color: #52605f;
    font-size: 13px;
}

.sample-wallpaper-phone {
    width: min(100%, 190px);
    justify-self: center;
    border-radius: 26px;
    padding: 10px;
    background:
        linear-gradient(180deg, rgba(36, 48, 50, 0.92), rgba(47, 143, 131, 0.84)),
        var(--teal-dark);
}

.sample-wallpaper-phone img {
    width: 100%;
    aspect-ratio: 9 / 14;
    border-radius: 18px;
    object-fit: cover;
}

.sample-wallpaper-phone span {
    margin-top: 8px;
    color: var(--paper-strong);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.sample-sticker-sheet img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.sample-tool-card {
    min-height: 212px;
    align-content: space-between;
    gap: 10px;
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(217, 234, 219, 0.72)),
        var(--paper-strong);
}

.sample-tool-card::before {
    position: absolute;
    inset: auto 16px 58px 16px;
    height: 1px;
    background: rgba(36, 48, 50, 0.12);
    content: "";
}

.sample-tool-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--teal-dark);
    font-size: 11px;
    font-weight: 900;
}

.sample-tool-card header b {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: var(--paper-strong);
    background: var(--ink);
}

.sample-tool-card h3 {
    margin: 4px 0 0;
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.04;
}

.sample-tool-card p {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.46;
}

.sample-tool-card small {
    color: #52605f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.55;
}

.date-card-preview {
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(247, 234, 212, 0.86)),
        var(--paper-strong);
}

.date-card-preview header b {
    background: var(--gold);
}

.repair-card-preview {
    color: var(--paper-strong);
    background:
        radial-gradient(circle at 18% 12%, rgba(217, 111, 127, 0.42), transparent 34%),
        linear-gradient(135deg, #243032, #476161);
}

.repair-card-preview header,
.repair-card-preview p,
.repair-card-preview small {
    color: var(--paper-strong);
}

.repair-card-preview h3 {
    color: var(--paper-strong);
}

.repair-card-preview::before {
    background: rgba(255, 253, 248, 0.18);
}

.repair-card-preview header b {
    color: var(--ink);
    background: var(--paper-strong);
}

.asset-preview-copy {
    display: grid;
    align-content: center;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 14px;
    padding: 14px;
    background: rgba(247, 234, 212, 0.65);
}

.asset-preview-copy strong {
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: 26px;
}

.asset-preview-copy p {
    margin: 0;
    color: #52605f;
    font-size: 13px;
    line-height: 1.58;
}

.asset-preview-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.asset-preview-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(36, 48, 50, 0.22);
    cursor: pointer;
}

.asset-preview-dots button.active {
    width: 28px;
    background: var(--teal-dark);
}

.asset-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.asset-showcase-grid article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "tag title"
        "tag copy";
    column-gap: 14px;
    row-gap: 6px;
    align-content: start;
    min-height: 0;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 253, 248, 0.9);
}

.asset-showcase-grid article:nth-child(2) {
    background: #f7ead4;
}

.asset-showcase-grid article:nth-child(3) {
    color: var(--paper-strong);
    background: var(--ink);
}

.asset-showcase-grid span,
.asset-card span,
.asset-drop-card span {
    display: inline-flex;
    grid-area: tag;
    align-self: start;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-size: 11px;
    font-weight: 900;
}

.asset-showcase-grid article:nth-child(3) span {
    color: var(--ink);
    background: var(--gold);
}

.asset-showcase-grid h3 {
    grid-area: title;
    margin: 0;
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.06;
}

.asset-showcase-grid p {
    grid-area: copy;
    margin: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.58;
    opacity: 0.82;
}

.assessment-shell,
.method,
.types {
    padding: 82px 0;
}

.section-title {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-title.compact {
    margin-bottom: 24px;
}

.section-title p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.start-panel,
.quiz-panel,
.result-panel {
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: 24px;
    padding: clamp(22px, 4vw, 42px);
    background: rgba(255, 253, 248, 0.9);
    box-shadow: var(--shadow);
}

.result-panel {
    display: grid;
    gap: 22px;
}

.result-tabs {
    position: sticky;
    top: 10px;
    z-index: 8;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 999px;
    padding: 6px;
    background: rgba(255, 253, 248, 0.92);
    box-shadow: 0 12px 26px rgba(36, 48, 50, 0.08);
    backdrop-filter: blur(14px);
}

.result-tabs button {
    min-height: 40px;
    flex: 1 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    color: #536160;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.result-tabs button[aria-selected="true"] {
    color: var(--paper-strong);
    background: var(--teal-dark);
    box-shadow: 0 8px 18px rgba(47, 143, 131, 0.18);
}

.result-pane-hidden {
    display: none !important;
}

.start-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
    gap: 24px;
    align-items: start;
}

.start-steps {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.start-steps span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(255, 253, 248, 0.72);
}

.start-steps b {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-size: 13px;
    line-height: 1;
}

.start-steps em {
    color: #40504f;
    font-style: normal;
    font-weight: 900;
    line-height: 1.35;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.scenario-grid label {
    cursor: pointer;
}

.scenario-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.scenario-grid span {
    display: grid;
    min-height: 62px;
    place-items: center;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: var(--radius);
    color: #3d4b4a;
    background: #f8f1e4;
    font-weight: 800;
}

.scenario-grid input:checked + span {
    border-color: var(--teal-dark);
    color: var(--paper-strong);
    background: var(--teal-dark);
}

.mbti-context-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: 18px;
    padding: 16px;
    background:
        radial-gradient(circle at 12% 0%, rgba(217, 164, 65, 0.18), transparent 34%),
        rgba(255, 253, 248, 0.72);
}

.mbti-context-card h4,
.mbti-cpti-panel h3 {
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: 24px;
}

.mbti-context-card p,
.mbti-cpti-panel p {
    color: var(--muted);
    line-height: 1.6;
}

.mbti-select-wrap {
    display: grid;
    gap: 8px;
}

.mbti-select-wrap span {
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 900;
}

.mbti-select-wrap select {
    min-height: 48px;
    border: 2px solid rgba(36, 48, 50, 0.16);
    border-radius: var(--radius);
    padding: 0 14px;
    color: var(--ink);
    background: #fffdf8;
    font: inherit;
    font-weight: 900;
}

.mbti-preview {
    margin: 10px 0 0;
    border-left: 4px solid var(--gold);
    padding: 8px 11px;
    background: rgba(247, 234, 212, 0.68);
    color: #52605f;
    font-size: 14px;
    line-height: 1.6;
}

.quiz-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-weight: 800;
}

.progress-track {
    height: 12px;
    margin: 16px 0 28px;
    overflow: hidden;
    border-radius: 999px;
    background: #ecdfca;
}

.progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    transition: width 220ms ease;
}

.quiz-guidance {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(247, 234, 212, 0.58);
}

.quiz-guidance .eyebrow,
.quiz-guidance p {
    margin-bottom: 0;
}

.quiz-guidance p:not(.eyebrow) {
    color: #52605f;
    line-height: 1.55;
}

.quiz-guidance span {
    display: inline-flex;
    min-width: 92px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-size: 13px;
    font-weight: 900;
}

.question-card {
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    background: #f9f3e8;
}

.question-kicker {
    color: var(--teal-dark);
    font-weight: 900;
}

.question-card h3 {
    max-width: 840px;
    margin-bottom: 26px;
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.14;
}

.answer-grid {
    display: grid;
    gap: 10px;
}

.answer-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 58px;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: var(--radius);
    padding: 13px 16px;
    color: #344342;
    background: var(--paper-strong);
    cursor: pointer;
    text-align: left;
}

.answer-option::before {
    content: "";
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.answer-option[aria-pressed="true"] {
    border-color: var(--teal-dark);
    color: var(--paper-strong);
    background: var(--teal-dark);
}

.quiz-actions {
    justify-content: space-between;
    margin-top: 22px;
}

.validity-card,
.ai-next-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    padding: clamp(18px, 3vw, 24px);
    background: rgba(255, 253, 248, 0.88);
}

.result-insight-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.result-insight-grid .validity-card,
.result-insight-grid .advice-grid {
    margin-top: 0;
}

.result-insight-grid .validity-card {
    min-height: 100%;
}

.validity-card h3,
.ai-next-step h3 {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 34px);
}

.validity-card p:not(.eyebrow),
.ai-next-step p:not(.eyebrow) {
    margin-bottom: 0;
    color: #52605f;
    line-height: 1.7;
}

.validity-meter {
    display: grid;
    width: 96px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 50%;
    background: #f7ead4;
}

.validity-meter strong {
    color: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 30px;
}

.validity-meter span {
    margin-top: -22px;
    color: #52605f;
    font-size: 12px;
    font-weight: 900;
}

.validity-card[data-level="low"] .validity-meter strong {
    color: var(--rose);
}

.validity-card[data-level="medium"] .validity-meter strong {
    color: var(--gold);
}

.ai-next-step {
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.58fr);
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(217, 234, 219, 0.68)),
        var(--paper-strong);
}

.ai-next-buttons {
    display: grid;
    gap: 10px;
}

.ai-next-buttons button {
    min-height: 48px;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.88);
    cursor: pointer;
    font-weight: 900;
    text-align: left;
}

.ai-next-buttons button:hover {
    color: var(--paper-strong);
    background: var(--teal-dark);
}

.pet-asset-vault {
    margin-top: 24px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    padding: clamp(20px, 4vw, 28px);
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(245, 217, 223, 0.58)),
        var(--paper-strong);
    box-shadow: 10px 12px 0 rgba(217, 111, 127, 0.08);
}

.asset-vault-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr);
    gap: 18px;
    align-items: stretch;
}

.asset-vault-head h2,
.asset-vault-head h3 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
}

.asset-vault-head p:not(.eyebrow) {
    color: #52605f;
    line-height: 1.7;
}

.asset-drop-card {
    display: grid;
    align-content: center;
    gap: 10px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 253, 248, 0.86);
}

.asset-drop-card strong {
    font-family: var(--font-display);
    font-size: 28px;
}

.asset-drop-card p {
    margin-bottom: 0;
    color: #52605f;
    line-height: 1.55;
}

.asset-vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.asset-card {
    min-height: 174px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: var(--radius);
    padding: 15px;
    background: rgba(255, 253, 248, 0.86);
}

.asset-card-preview {
    position: relative;
    display: grid;
    min-height: 132px;
    place-items: center;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.85), transparent 30%),
        color-mix(in srgb, var(--type-color, var(--gold)) 14%, var(--paper-strong));
}

.asset-card-preview img {
    position: relative;
    z-index: 1;
    width: 76%;
    max-height: 118px;
    border-radius: 12px;
    object-fit: cover;
}

.sticker-preview img {
    width: 132px;
    max-width: 100%;
    height: 132px;
    border-radius: 12px;
    object-fit: contain;
}

.ai-sticker-sheet-preview {
    min-height: 172px;
}

.ai-sticker-sheet-preview img {
    width: min(128px, 72%);
    height: 164px;
    max-height: 164px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(36, 48, 50, 0.14);
}

.asset-card-preview em {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    border-radius: 999px;
    padding: 4px 7px;
    color: var(--paper-strong);
    background: rgba(36, 48, 50, 0.72);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.avatar-preview::before,
.wallpaper-preview::before,
.invite-preview::before,
.book-preview::before,
.daily-preview::before {
    position: absolute;
    inset: 13px;
    border: 2px solid color-mix(in srgb, var(--type-color, var(--teal)) 55%, white);
    border-radius: 999px;
    content: "";
}

.avatar-preview::after {
    position: absolute;
    inset: 22px;
    border: 1px dashed color-mix(in srgb, var(--type-color, var(--teal)) 70%, white);
    border-radius: 999px;
    content: "";
}

.wallpaper-preview img {
    width: 56%;
    border-radius: 20px;
}

.certificate-preview img,
.invite-preview img,
.book-preview img,
.daily-preview img,
.share-preview img {
    width: 100%;
    height: 132px;
    max-height: 132px;
    object-fit: cover;
}

.avatar-preview img {
    width: 82%;
    max-height: 132px;
    object-fit: contain;
}

.wallpaper-preview i,
.daily-preview i {
    position: absolute;
    right: 16px;
    bottom: 14px;
    width: 42px;
    height: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--type-color, var(--teal)) 70%, white);
}

.certificate-preview b,
.invite-preview small,
.book-preview strong {
    position: absolute;
    left: 12px;
    top: 10px;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 8px;
    color: var(--paper-strong);
    background: color-mix(in srgb, var(--type-color, var(--teal)) 80%, var(--ink));
    font-size: 11px;
    font-weight: 900;
}

.book-preview strong {
    text-transform: uppercase;
}

.asset-card.paid {
    background: rgba(36, 48, 50, 0.92);
}

.asset-card.paid h4,
.asset-card.paid p,
.asset-card.paid strong {
    color: var(--paper-strong);
}

.asset-card.paid .asset-card-preview {
    border-color: rgba(255, 253, 248, 0.16);
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 253, 248, 0.25), transparent 32%),
        color-mix(in srgb, var(--type-color, var(--gold)) 18%, #1f3031);
}

.asset-card.claimed {
    border-color: rgba(47, 143, 131, 0.4);
    box-shadow: inset 0 0 0 2px rgba(47, 143, 131, 0.08);
}

.asset-card h4 {
    margin: 12px 0 8px;
    font-size: 17px;
}

.asset-card p {
    color: #52605f;
    font-size: 13px;
    line-height: 1.55;
}

.asset-card strong {
    display: inline-flex;
    margin-top: 6px;
    color: var(--teal-dark);
    font-size: 12px;
}

.asset-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: 100%;
    margin-top: 10px;
    border: 1px solid rgba(255, 253, 248, 0.36);
    border-radius: 999px;
    color: var(--ink);
    background: var(--paper-strong);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.asset-download-link:hover {
    transform: translateY(-1px);
}

.asset-download-link:focus-visible {
    outline: 3px solid rgba(226, 174, 51, 0.42);
    outline-offset: 2px;
}

.result-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.result-type-card {
    position: relative;
    display: flex;
    align-self: start;
    width: 100%;
    min-height: 236px;
    max-height: none;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 20px;
    padding: 24px;
    color: var(--paper-strong);
    background: var(--teal-dark);
    box-shadow: 12px 14px 0 rgba(36, 48, 50, 0.1);
}

.result-type-card > * {
    position: relative;
    z-index: 1;
}

.result-card-pet {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 0;
    width: min(28%, 190px);
    aspect-ratio: 1;
    opacity: 0.9;
    filter: drop-shadow(0 18px 18px rgba(36, 48, 50, 0.18));
}

.result-card-pet .pet-svg .pet-initials {
    fill: rgba(255, 253, 248, 0.86);
}

.result-card-pet .pet-photo {
    border: 2px solid rgba(255, 253, 248, 0.62);
    border-radius: 30px;
    box-shadow: inset 0 0 0 1px rgba(36, 48, 50, 0.08);
}

.result-type-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(64px, 11vw, 118px);
    line-height: 0.82;
}

.result-type-card h3 {
    margin: 16px 0 10px;
    font-size: clamp(24px, 3.2vw, 34px);
}

.result-type-card p {
    max-width: 520px;
    color: rgba(255, 253, 248, 0.86);
    line-height: 1.65;
}

.result-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.result-copy p {
    color: #536160;
    font-size: 17px;
    line-height: 1.8;
}

.result-reading {
    display: grid;
    gap: 12px;
    margin: 20px 0 18px;
}

.result-reading article {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(31, 111, 103, 0.18);
    border-left: 6px solid var(--teal);
    border-radius: 14px;
    padding: 16px 18px;
    background:
        linear-gradient(90deg, rgba(47, 143, 131, 0.08), transparent 34%),
        rgba(255, 253, 248, 0.86);
    box-shadow: 0 10px 24px rgba(36, 48, 50, 0.05);
}

.result-reading span {
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.result-reading strong {
    color: var(--ink);
    font-size: 17px;
}

.result-reading p {
    margin: 0;
    font-size: 16px;
    line-height: 1.72;
}

.match-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 14px 0 24px;
    padding: 14px 16px;
    border-left: 5px solid var(--gold);
    border-radius: var(--radius);
    background: #f7ead4;
}

.match-strip span {
    color: var(--muted);
    font-weight: 800;
}

.mbti-cpti-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.6fr);
    gap: 18px;
    align-items: stretch;
    margin-top: 22px;
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: 18px;
    padding: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(47, 143, 131, 0.14), transparent 34%),
        rgba(255, 253, 248, 0.86);
}

.mbti-cpti-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mbti-cpti-pair span {
    display: grid;
    align-content: center;
    min-height: 92px;
    border-radius: var(--radius);
    padding: 14px;
    background: #f7ead4;
}

.mbti-cpti-pair b {
    color: var(--teal-dark);
    font-size: 13px;
    text-transform: uppercase;
}

.mbti-cpti-pair strong {
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: 28px;
}

.mbti-cpti-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mbti-cpti-tags span {
    border: 1px solid rgba(47, 143, 131, 0.24);
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--teal-dark);
    background: rgba(47, 143, 131, 0.08);
    font-size: 12px;
    font-weight: 900;
}

.pet-certificate {
    display: grid;
    grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 8px 0 16px;
    padding: 18px;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 12%, rgba(217, 164, 65, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(248, 241, 228, 0.9)),
        repeating-linear-gradient(90deg, rgba(36, 48, 50, 0.04) 0 1px, transparent 1px 18px);
}

.pet-art-frame {
    position: relative;
    display: grid;
    min-height: 178px;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 48%, rgba(255, 253, 248, 0.9), rgba(247, 234, 212, 0.62) 56%, rgba(47, 143, 131, 0.1)),
        linear-gradient(135deg, rgba(255, 253, 248, 0.8), rgba(255, 250, 242, 0.6));
}

.pet-art-frame::before,
.pet-art-frame::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.64);
}

.pet-art-frame::before {
    width: 84px;
    height: 20px;
    right: 18px;
    bottom: 18px;
}

.pet-art-frame::after {
    width: 54px;
    height: 54px;
    top: 16px;
    left: 18px;
}

.pet-avatar {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    min-width: 54px;
    min-height: 30px;
    place-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--paper-strong);
    background: var(--teal);
    font-size: 13px;
    font-weight: 900;
}

.pet-art {
    position: relative;
    z-index: 1;
    width: min(178px, 100%);
    aspect-ratio: 1;
}

.pet-photo {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    object-fit: cover;
    background: #fffdf8;
}

.pet-photo.hero-pet {
    border: 1px solid rgba(36, 48, 50, 0.12);
    box-shadow: 0 14px 28px rgba(36, 48, 50, 0.12);
}

.pet-svg-fallback {
    display: block;
    width: 100%;
}

.pet-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.pet-svg .pet-ear,
.pet-svg .pet-body,
.pet-svg .bird-body,
.pet-svg .whale-body {
    fill: var(--pet-accent, var(--teal));
    stroke: rgba(36, 48, 50, 0.22);
    stroke-width: 5;
}

.pet-svg .pet-ear.inner,
.pet-svg .pet-muzzle,
.pet-svg .pet-fluff {
    fill: rgba(255, 253, 248, 0.72);
}

.pet-svg .pet-eye,
.pet-svg .pet-initials {
    fill: var(--ink);
}

.pet-svg .pet-spark {
    fill: var(--paper-strong);
}

.pet-svg .pet-smile,
.pet-svg .pet-horn,
.pet-svg .pet-spout {
    fill: none;
    stroke: var(--ink);
    stroke-linecap: round;
    stroke-width: 5;
}

.pet-svg .pet-blush {
    fill: rgba(217, 111, 127, 0.42);
}

.pet-svg .pet-wing,
.pet-svg .pet-tail,
.pet-svg .pet-shell {
    fill: rgba(255, 253, 248, 0.38);
    stroke: rgba(36, 48, 50, 0.2);
    stroke-width: 5;
}

.pet-svg .pet-beak {
    fill: #efb452;
    stroke: rgba(36, 48, 50, 0.22);
    stroke-width: 5;
}

.pet-svg .pet-initials {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
}

.certificate-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pet-certificate h3 {
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
}

.pet-species {
    margin-bottom: 8px;
    color: var(--teal-dark) !important;
    font-weight: 900;
}

.pet-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.pet-detail-grid section {
    min-height: 132px;
    padding: 16px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: var(--radius);
    background: #f8f1e4;
}

.pet-detail-grid span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--rose);
    font-size: 13px;
    font-weight: 900;
}

.pet-detail-grid p {
    margin-bottom: 0;
    color: #3f4d4c;
    font-weight: 800;
    line-height: 1.55;
}

.score-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    margin-top: 26px;
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 28px);
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(239, 247, 239, 0.68)),
        var(--paper-strong);
    box-shadow: 12px 14px 0 rgba(47, 143, 131, 0.07);
}

.advice-grid section,
.dimension-grid article,
.type-card {
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.9);
}

.score-grid-head {
    display: grid;
    gap: 10px;
}

.score-grid-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.04;
}

.score-grid-head p:not(.eyebrow) {
    max-width: 820px;
    margin: 0;
    color: #52605f;
    font-size: 16px;
    line-height: 1.72;
}

.score-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 18px;
    overflow: visible;
    padding: 12px;
    background: rgba(255, 253, 248, 0.78);
}

.score-item {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: auto;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 14px;
    padding: 18px;
    background: rgba(255, 253, 248, 0.74);
}

.score-item:last-child {
    grid-column: 1 / -1;
}

.score-item strong {
    display: block;
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1.2;
}

.score-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
}

.score-heading span {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
}

.score-heading b {
    color: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1;
}

.score-note {
    margin: 0;
    color: #52605f;
    font-size: 15px;
    line-height: 1.68;
}

.score-note strong {
    display: inline;
    margin-right: 8px;
    color: var(--ink);
    font-size: inherit;
}

.score-bar {
    position: relative;
    height: 12px;
    border-radius: 999px;
    background: #e8ddca;
}

.score-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--teal);
}

.score-bar i {
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    border: 3px solid var(--paper-strong);
    border-radius: 999px;
    background: var(--teal-dark);
    box-shadow: 0 4px 10px rgba(36, 48, 50, 0.16);
    transform: translate(-50%, -50%);
}

.score-item small {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.score-item small em {
    color: #7b8582;
    font-style: normal;
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
}

.advice-grid section {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 100%;
    padding: 20px;
}

.advice-grid h3 {
    margin-bottom: 0;
    font-size: 24px;
    line-height: 1.2;
}

.advice-grid p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.premium-report {
    margin-top: 0;
    padding: clamp(22px, 4vw, 32px);
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(247, 234, 212, 0.78)),
        var(--paper-strong);
    box-shadow: 10px 12px 0 rgba(117, 96, 168, 0.08);
}

.billing-status {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 18px;
    align-items: center;
    margin: 18px auto 0;
    width: min(1180px, calc(100vw - 36px));
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-left: 6px solid var(--teal);
    border-radius: var(--radius);
    padding: 16px 18px;
    background: var(--paper-strong);
    box-shadow: 6px 8px 0 rgba(47, 143, 131, 0.08);
}

.billing-status[data-status="success"] {
    border-left-color: var(--teal);
}

.billing-status[data-status="pending"] {
    border-left-color: var(--gold);
}

.billing-status[data-status="error"],
.billing-status[data-status="cancel"] {
    border-left-color: var(--rose);
}

.billing-status span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.billing-status strong {
    display: block;
    margin-top: 3px;
    color: var(--ink);
    font-size: 18px;
}

.billing-status p {
    grid-column: 1 / 2;
    margin: 0;
    color: #52605f;
    line-height: 1.55;
}

.billing-status .button {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    white-space: nowrap;
}

.report-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.report-header h2,
.report-header h3 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.04;
}

.report-header p:not(.eyebrow) {
    max-width: 760px;
    margin-bottom: 0;
    color: #52605f;
    line-height: 1.75;
}

.report-progress {
    display: grid;
    width: 90px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 50%;
    background: var(--paper-strong);
}

.report-progress strong {
    color: var(--violet);
    font-family: var(--font-display);
    font-size: 27px;
}

.report-progress span {
    margin-top: -24px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.value-gap-panel {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    border: 1px solid rgba(47, 143, 131, 0.22);
    border-radius: 16px;
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(47, 143, 131, 0.1), rgba(255, 253, 248, 0.84)),
        var(--paper-strong);
}

.value-gap-panel strong {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.15;
}

.value-gap-panel p {
    margin: 0;
    color: #52605f;
    font-size: 14px;
    line-height: 1.65;
}

.report-sample-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
    gap: 16px;
    align-items: stretch;
    margin-top: 18px;
}

.report-manual-sample,
.report-fragment {
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.92);
}

.report-manual-sample {
    position: relative;
    display: grid;
    gap: 16px;
    min-height: 560px;
    overflow: hidden;
    padding: clamp(20px, 3vw, 28px);
    box-shadow: 10px 12px 0 rgba(31, 111, 103, 0.08);
}

.report-manual-sample::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: var(--teal);
    content: "";
}

.sample-paper-head {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.sample-paper-head span,
.report-fragment span {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-size: 11px;
    font-weight: 900;
}

.sample-paper-head b {
    color: #7b8582;
    font-size: 12px;
    text-transform: uppercase;
}

.report-manual-sample h4 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.02;
}

.report-manual-sample > p:not(.eyebrow) {
    max-width: 600px;
    margin: 0;
    color: #52605f;
    line-height: 1.72;
}

.manual-rule {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(47, 143, 131, 0.2);
    border-radius: 16px;
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(47, 143, 131, 0.09), rgba(255, 253, 248, 0.84)),
        var(--paper-strong);
}

.manual-rule span,
.manual-signals span {
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.manual-rule strong {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.22;
}

.manual-signals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.manual-signals section {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 14px;
    padding: 14px;
    background: rgba(247, 234, 212, 0.42);
}

.manual-signals strong {
    font-size: 18px;
}

.manual-signals p {
    margin: 0;
    color: #52605f;
    font-size: 13px;
    line-height: 1.55;
}

.report-fragment-stack {
    display: grid;
    gap: 12px;
}

.report-fragment {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 18px;
}

.report-fragment h4 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 25px;
    line-height: 1.12;
}

.report-fragment p,
.report-fragment li {
    color: #52605f;
    font-size: 14px;
    line-height: 1.58;
}

.report-fragment.script p {
    margin: 0;
    border-left: 4px solid rgba(47, 143, 131, 0.36);
    padding: 8px 0 8px 12px;
    background: rgba(239, 247, 239, 0.56);
}

.decision-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.decision-mini-grid section {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 253, 248, 0.78);
}

.decision-mini-grid b {
    color: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 21px;
}

.decision-mini-grid p {
    margin: 0;
    font-size: 12px;
}

.report-fragment ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 22px;
}

.action-pack-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.action-pack-grid article {
    display: grid;
    gap: 9px;
    align-content: start;
    min-height: 156px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 16px;
    padding: 15px;
    background: rgba(255, 253, 248, 0.82);
}

.action-pack-grid span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
}

.action-pack-grid strong {
    font-family: var(--font-display);
    font-size: 21px;
    line-height: 1.08;
}

.action-pack-grid p {
    margin: 0;
    color: #52605f;
    font-size: 13px;
    line-height: 1.58;
}

.report-preview-grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.05fr) repeat(2, minmax(180px, 0.85fr));
    grid-auto-flow: dense;
    gap: 12px;
    margin-top: 18px;
}

.report-preview-card {
    position: relative;
    display: grid;
    align-content: start;
    max-height: 420px;
    overflow: auto;
    min-height: 156px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: var(--radius);
    padding: 16px;
    background: rgba(255, 253, 248, 0.86);
}

.report-preview-card:first-child {
    grid-row: span 2;
    min-height: 326px;
    padding: 18px;
}

.report-preview-card.locked {
    background: rgba(255, 253, 248, 0.58);
}

.report-preview-card.open {
    box-shadow: inset 0 0 0 1px rgba(47, 143, 131, 0.18);
}

.report-preview-card span {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--paper-strong);
    background: var(--violet);
    font-size: 11px;
    font-weight: 900;
}

.report-preview-card.locked span {
    background: var(--ink);
}

.report-preview-card h4 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.3;
}

.report-preview-card:first-child h4 {
    font-size: 20px;
}

.report-preview-card p,
.report-preview-card li {
    color: #52605f;
    font-size: 13px;
    line-height: 1.5;
}

.report-preview-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.commerce-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.commerce-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 16px;
    padding: 22px;
    color: var(--ink);
    background: var(--paper-strong);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.commerce-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: var(--teal);
}

.commerce-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(36, 48, 50, 0.12);
}

.commerce-card.primary-offer {
    grid-column: span 2;
    min-height: 214px;
    padding-right: min(28vw, 260px);
    background:
        radial-gradient(circle at 92% 50%, rgba(226, 174, 51, 0.24), transparent 30%),
        linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(239, 247, 239, 0.72)),
        var(--paper-strong);
}

.commerce-card.primary-offer strong {
    max-width: 520px;
    font-size: clamp(28px, 3.8vw, 38px);
}

.commerce-card.primary-offer p {
    max-width: 600px;
    font-size: 17px;
}

.commerce-card.report::before {
    background: var(--rose);
}

.commerce-card.pair::before {
    background: var(--sky);
}

.commerce-card.script::before {
    background: var(--violet);
}

.commerce-card.charm::before {
    background: var(--gold);
}

.commerce-card span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    margin-bottom: 18px;
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--paper-strong);
    background: var(--ink);
    font-weight: 900;
}

.commerce-card strong {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 25px;
}

.commerce-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.7;
}

.share-lab {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    gap: 20px;
    align-items: start;
    margin-top: 24px;
    padding: clamp(20px, 4vw, 28px);
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    background: #f7ead4;
}

.share-lab h3 {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 40px);
}

.share-lab p[data-share-text] {
    margin-bottom: 0;
    white-space: pre-line;
    color: #40504f;
    line-height: 1.8;
}

.share-growth-pack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.share-growth-pack section {
    min-width: 0;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(255, 253, 248, 0.7);
}

.share-growth-pack span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
}

.share-growth-pack ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
}

.share-growth-pack li {
    color: #40504f;
    font-size: 13px;
    line-height: 1.55;
}

.share-card-preview {
    display: grid;
    gap: 12px;
}

.share-card-preview img {
    display: block;
    width: 100%;
    max-height: 520px;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: 16px;
    background: var(--paper-strong);
    object-fit: contain;
    box-shadow: 10px 12px 0 rgba(36, 48, 50, 0.08);
}

.share-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 18px;
}

.share-modal[hidden] {
    display: none;
}

.share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(36, 48, 50, 0.42);
    backdrop-filter: blur(12px);
}

.share-modal-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.48fr);
    gap: 18px;
    width: min(860px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    overflow: auto;
    border: 1px solid rgba(36, 48, 50, 0.16);
    border-radius: 22px;
    padding: clamp(20px, 4vw, 30px);
    background: var(--paper-strong);
    box-shadow: 0 28px 80px rgba(36, 48, 50, 0.28);
}

.share-modal-panel h2 {
    margin-bottom: 12px;
    font-size: clamp(32px, 5vw, 54px);
}

.share-modal-panel p:not(.eyebrow) {
    color: #52605f;
    line-height: 1.7;
}

.share-modal-panel img {
    width: 100%;
    max-height: 520px;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: 16px;
    object-fit: contain;
    background: #f7ead4;
}

.share-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(36, 48, 50, 0.16);
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.92);
    cursor: pointer;
    font-size: 25px;
    font-weight: 800;
}

.share-modal-actions {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 10px;
}

.modal-pack {
    grid-template-columns: 1fr;
    margin-top: 14px;
}

.return-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: clamp(16px, 3vw, 22px);
    border: 1px solid rgba(47, 143, 131, 0.24);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(247, 234, 212, 0.86)),
        var(--paper-strong);
    box-shadow: 10px 12px 0 rgba(47, 143, 131, 0.09);
}

.return-panel[hidden] {
    display: none;
}

.auth-gate {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
    gap: 22px;
    align-items: start;
    padding: clamp(22px, 5vw, 34px);
    border: 2px solid rgba(31, 111, 103, 0.22);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 18%, rgba(217, 164, 65, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(247, 234, 212, 0.86));
    box-shadow: 12px 14px 0 rgba(31, 111, 103, 0.1);
}

.auth-gate[hidden] {
    display: none;
}

.auth-gate h3 {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.05;
}

.auth-gate p {
    color: #52605f;
    line-height: 1.75;
}

.auth-form {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.78);
}

.auth-form label {
    display: grid;
    gap: 8px;
    color: #52605f;
    font-size: 13px;
    font-weight: 900;
}

.auth-form input {
    min-height: 48px;
    border: 1px solid rgba(36, 48, 50, 0.18);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--paper-strong);
}

.auth-form p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.return-pet {
    width: 92px;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    background: #fffdf8;
}

.return-pet .pet-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.return-panel h3 {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
}

.return-panel p:not(.eyebrow) {
    color: #52605f;
    line-height: 1.65;
}

.return-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.return-stats span,
.pair-insight-grid span {
    display: grid;
    min-width: 92px;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 14px;
    background: rgba(255, 253, 248, 0.75);
}

.return-stats strong,
.pair-insight-grid b {
    color: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 22px;
}

.return-stats b,
.pair-insight-grid small {
    color: #52605f;
    font-size: 12px;
    font-weight: 800;
}

.return-actions {
    display: grid;
    gap: 8px;
}

.pair-insight,
.pet-room-care {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
    padding: clamp(18px, 3vw, 24px);
    border: 1px solid rgba(92, 145, 198, 0.25);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 15%, rgba(92, 145, 198, 0.16), transparent 36%),
        rgba(255, 253, 248, 0.88);
}

.pair-insight[hidden] {
    display: none;
}

.pair-insight h3,
.pet-room-care h3 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
}

.pair-insight p,
.pet-room-care p {
    color: #52605f;
    line-height: 1.7;
}

.pair-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(96px, 1fr));
    gap: 8px;
}

.pair-insight-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pet-room-care-actions {
    display: grid;
    min-width: 180px;
    gap: 8px;
}

.pair-result-page {
    padding: 28px 0 80px;
}

.pair-atlas-page {
    padding: 28px 0 80px;
}

.pair-atlas-hero,
.pair-atlas-theory {
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 24px;
    padding: clamp(28px, 6vw, 58px);
    background: rgba(255, 253, 248, 0.92);
    box-shadow: 14px 16px 0 rgba(47, 143, 131, 0.08);
}

.pair-atlas-hero h1 {
    max-width: 940px;
    font-family: var(--font-display);
    font-size: clamp(44px, 8vw, 86px);
    line-height: 1.02;
}

.pair-atlas-hero p:not(.eyebrow),
.pair-atlas-theory .section-title p {
    max-width: 920px;
    color: #52605f;
    font-size: 18px;
    line-height: 1.8;
}

.pair-reference-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.pair-reference-grid a {
    display: grid;
    gap: 8px;
    min-height: 168px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 16px;
    padding: 18px;
    color: var(--ink);
    background: rgba(255, 250, 242, 0.78);
    text-decoration: none;
}

.pair-reference-grid strong {
    color: var(--teal-dark);
}

.pair-reference-grid span {
    color: #52605f;
    font-size: 14px;
    line-height: 1.65;
}

.pair-atlas-theory {
    margin-top: 24px;
}

.pair-atlas-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.pair-atlas-card {
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.92);
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(36, 48, 50, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.pair-atlas-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(36, 48, 50, 0.12);
}

.pair-atlas-card-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--you-color, var(--gold)) 22%, var(--paper-strong)) 0 50%, color-mix(in srgb, var(--them-color, var(--teal)) 22%, var(--paper-strong)) 50% 100%);
}

.pair-atlas-card-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pair-atlas-card-copy {
    display: grid;
    gap: 6px;
    padding: 14px;
}

.pair-atlas-card-copy span {
    color: #6a7776;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.pair-atlas-card-copy h2 {
    font-size: 22px;
}

.pair-atlas-card-copy strong {
    color: var(--teal-dark);
    font-size: 13px;
}

.pair-atlas-card-copy p {
    color: #697372;
    font-size: 13px;
    line-height: 1.55;
}

.pair-result-hero,
.pair-result-section {
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.92);
}

.pair-result-hero {
    display: grid;
    gap: clamp(22px, 5vw, 40px);
    padding: clamp(28px, 6vw, 58px);
    text-align: center;
    box-shadow: 14px 16px 0 rgba(92, 145, 198, 0.08);
}

.pair-session-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(47, 143, 131, 0.2);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--teal-dark);
    background: rgba(47, 143, 131, 0.08);
    font-size: 13px;
    font-weight: 900;
}

.pair-session-strip b {
    color: var(--ink);
}

.pair-session-strip small {
    color: var(--muted);
    font-weight: 800;
}

.pair-result-title h1 {
    margin-bottom: 10px;
    color: #5148e8;
    font-family: var(--font-display);
    font-size: clamp(54px, 11vw, 118px);
    line-height: 0.95;
}

.pair-result-title > strong {
    display: block;
    color: rgba(81, 72, 232, 0.62);
    font-size: clamp(34px, 7vw, 72px);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.pair-result-subtitle {
    margin: 12px auto 0;
    color: #52605f;
    font-weight: 900;
}

.pair-result-visual {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(12px, 3vw, 28px);
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
}

.pair-result-visual figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.84), transparent 32%),
        color-mix(in srgb, var(--you-color, var(--gold)) 18%, var(--paper-strong));
}

.pair-result-visual figure:last-child {
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.84), transparent 32%),
        color-mix(in srgb, var(--them-color, var(--teal)) 18%, var(--paper-strong));
}

.pair-result-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pair-result-visual figcaption {
    padding: 12px;
    color: var(--ink);
    font-weight: 900;
}

.pair-result-badge {
    display: grid;
    min-width: 128px;
    place-items: center;
    gap: 4px;
    padding: 18px 14px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 999px;
    background: var(--paper-strong);
    box-shadow: 0 18px 38px rgba(36, 48, 50, 0.12);
}

.pair-result-badge span {
    color: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 34px;
}

.pair-result-badge b {
    color: #52605f;
    font-size: 11px;
}

.pair-result-hero blockquote {
    margin: 0 auto;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 900;
}

.pair-result-summary {
    max-width: 900px;
    margin: 0 auto;
    color: #697372;
    font-size: clamp(18px, 3.5vw, 28px);
    line-height: 1.85;
    text-align: left;
}

.pair-result-section {
    margin-top: 24px;
    padding: clamp(22px, 5vw, 36px);
}

.pair-share-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: clamp(18px, 4vw, 34px);
    align-items: center;
    margin-top: 22px;
}

.pair-share-card {
    display: grid;
    grid-template-rows: auto auto auto auto auto 1fr auto;
    gap: 10px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: 22px;
    padding: clamp(18px, 4vw, 28px);
    background:
        linear-gradient(135deg, rgba(47, 143, 131, 0.14), transparent 36%),
        radial-gradient(circle at 88% 16%, rgba(217, 164, 65, 0.22), transparent 30%),
        #fffaf2;
    box-shadow: 0 24px 52px rgba(36, 48, 50, 0.13);
}

.pair-share-card header,
.pair-share-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #52605f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pair-share-card header b,
.pair-share-card footer b {
    color: var(--teal-dark);
    text-transform: none;
}

.pair-share-card-title {
    align-self: start;
}

.pair-share-card-title p {
    margin: 0;
    color: rgba(81, 72, 232, 0.62);
    font-size: clamp(22px, 6vw, 34px);
    font-weight: 900;
    line-height: 1;
}

.pair-share-card-title h2 {
    margin: 2px 0 4px;
    color: #5148e8;
    font-family: var(--font-display);
    font-size: clamp(30px, 8vw, 48px);
    line-height: 1.02;
}

.pair-share-card-title strong {
    color: var(--teal-dark);
    font-size: clamp(15px, 3vw, 20px);
}

.pair-share-card-pets {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.pair-share-card-pets figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 16px;
    background:
        radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.86), transparent 34%),
        color-mix(in srgb, var(--pet-color, var(--gold)) 18%, var(--paper-strong));
}

.pair-share-card-pets img {
    display: block;
    width: 100%;
    aspect-ratio: 1.08;
    object-fit: cover;
}

.pair-share-card-pets figcaption {
    padding: 8px 6px 10px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.pair-share-card-pets > span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 999px;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 20px;
}

.pair-share-card blockquote {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(20px, 4.6vw, 30px);
    font-weight: 900;
    line-height: 1.18;
}

.pair-share-card > p {
    margin: 0;
    color: #52605f;
    font-size: clamp(13px, 2.2vw, 15px);
    font-weight: 700;
    line-height: 1.52;
}

.pair-share-card-basis {
    align-self: end;
    border-left: 3px solid rgba(47, 143, 131, 0.46);
    padding-left: 10px;
    color: var(--teal-dark) !important;
    font-size: clamp(12px, 2vw, 13px) !important;
    line-height: 1.45 !important;
}

.pair-share-actions {
    display: grid;
    gap: 14px;
}

.pair-share-actions h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.08;
}

.pair-share-actions p {
    color: #52605f;
    font-size: 18px;
    line-height: 1.8;
}

.pair-result-tip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.pair-basis-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.pair-basis-strip span {
    border: 1px solid rgba(47, 143, 131, 0.22);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--teal-dark);
    background: rgba(237, 246, 238, 0.72);
    font-size: 13px;
    font-weight: 900;
}

.pair-basis-copy {
    margin: 14px 0 0;
    color: #52605f;
    font-size: 16px;
    line-height: 1.75;
}

.pair-result-tip-grid article {
    min-height: 150px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 16px;
    padding: 18px;
    background: rgba(255, 253, 248, 0.82);
}

.pair-result-tip-grid span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-weight: 900;
}

.pair-result-tip-grid p {
    margin: 16px 0 0;
    color: #52605f;
    font-size: 17px;
    line-height: 1.65;
}

.pair-result-actions-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.pair-result-actions-panel h2 {
    font-family: var(--font-display);
}

.pet-room-status {
    margin-bottom: 0;
    font-weight: 800;
}

.retention-lab {
    grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
    border-color: rgba(217, 164, 65, 0.36);
    background:
        radial-gradient(circle at 92% 12%, rgba(217, 111, 127, 0.14), transparent 32%),
        radial-gradient(circle at 8% 88%, rgba(47, 143, 131, 0.12), transparent 30%),
        #f7ead4;
}

.retention-lab .pet-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
}

.daily-action-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.daily-action-grid article {
    min-height: 164px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: var(--radius);
    padding: 16px;
    background: rgba(255, 253, 248, 0.66);
}

.daily-action-grid article.active {
    border-color: rgba(31, 111, 103, 0.42);
    background: var(--paper-strong);
    box-shadow: inset 0 0 0 2px rgba(47, 143, 131, 0.16);
}

.daily-action-grid span {
    display: inline-flex;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-size: 11px;
    font-weight: 900;
}

.daily-action-grid h4 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

.daily-action-grid p {
    margin: 0;
    color: #52605f;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
}

.retention-lab .result-actions {
    grid-column: 1 / -1;
}

.reminder-strip {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) repeat(3, auto);
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 1px dashed rgba(36, 48, 50, 0.18);
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.62);
}

.reminder-strip strong {
    display: block;
    margin-bottom: 4px;
}

.reminder-strip p {
    margin: 0;
    color: #52605f;
    line-height: 1.5;
}

.retention-lab b {
    color: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 24px;
}

.relationship-workbench {
    margin-top: 24px;
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: 18px;
    padding: clamp(20px, 4vw, 28px);
    background:
        radial-gradient(circle at 8% 8%, rgba(217, 164, 65, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(217, 234, 219, 0.62));
    box-shadow: 10px 12px 0 rgba(47, 143, 131, 0.08);
}

.workbench-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
    gap: 18px;
    align-items: end;
}

.workbench-head h3 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
}

.workbench-head p:not(.eyebrow),
.workbench-input span,
.workbench-context span {
    color: #52605f;
}

.workbench-head p:not(.eyebrow) {
    max-width: 780px;
    line-height: 1.72;
}

.workbench-context {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.workbench-context label,
.workbench-input {
    display: grid;
    gap: 8px;
}

.workbench-context span,
.workbench-input span {
    font-size: 13px;
    font-weight: 900;
}

.workbench-context select,
.workbench-input textarea {
    width: 100%;
    border: 1px solid rgba(36, 48, 50, 0.16);
    border-radius: 14px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.9);
    font: inherit;
    font-weight: 800;
}

.workbench-context select {
    min-height: 48px;
    padding: 0 12px;
}

.workbench-input {
    margin-top: 18px;
}

.workbench-input textarea {
    min-height: 112px;
    resize: vertical;
    padding: 14px;
    line-height: 1.6;
}

.workbench-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.workbench-grid button {
    display: grid;
    min-height: 162px;
    align-content: space-between;
    gap: 10px;
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: 16px;
    padding: 16px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.88);
    cursor: pointer;
    text-align: left;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.workbench-grid button:hover {
    transform: translateY(-2px);
    color: var(--paper-strong);
    background: var(--teal-dark);
}

.workbench-grid span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--paper-strong);
    background: var(--ink);
    font-size: 12px;
    font-weight: 900;
}

.workbench-grid button:hover span {
    color: var(--ink);
    background: var(--gold);
}

.workbench-grid strong {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.08;
}

.workbench-grid small {
    color: #52605f;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
}

.workbench-grid button:hover small {
    color: rgba(255, 253, 248, 0.84);
}

.workbench-chat {
    margin-top: 18px;
    max-width: none;
    justify-self: stretch;
}

.agent-lab {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    margin-top: 24px;
    padding: clamp(20px, 4vw, 28px);
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: 18px;
    background:
        radial-gradient(circle at 16% 18%, rgba(92, 145, 198, 0.15), transparent 30%),
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(247, 234, 212, 0.74));
}

.agent-lab-intro {
    display: grid;
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.agent-lab h3 {
    margin-bottom: 0;
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
}

.agent-lab p {
    max-width: 760px;
    margin-bottom: 0;
    color: #52605f;
    line-height: 1.7;
}

.agent-chat {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 980px;
    justify-self: center;
}

.agent-messages {
    display: grid;
    align-content: start;
    align-items: start;
    min-height: 360px;
    max-height: 560px;
    gap: 10px;
    overflow: auto;
    padding: clamp(14px, 2.2vw, 22px);
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(255, 253, 248, 0.66)),
        rgba(255, 253, 248, 0.7);
}

.agent-message {
    width: min(86%, 720px);
    padding: 15px 17px;
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 8px 16px rgba(36, 48, 50, 0.06);
}

.agent-message.user {
    justify-self: end;
    color: var(--paper-strong);
    background: var(--teal-dark);
}

.agent-message strong {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
}

.agent-message p {
    margin: 0;
    color: #3f4d4c;
    font-size: 16px;
    line-height: 1.72;
    white-space: pre-line;
}

.agent-message.user p {
    color: var(--paper-strong);
}

.agent-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 10px;
}

.agent-form textarea {
    min-height: 92px;
    resize: vertical;
    border: 1px solid rgba(36, 48, 50, 0.16);
    border-radius: 16px;
    padding: 14px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.88);
    font: inherit;
    line-height: 1.55;
}

.agent-form .button {
    min-height: 92px;
    border-radius: 18px;
    padding-inline: 18px;
}

.agent-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agent-suggestions button {
    min-height: 34px;
    border: 1px solid rgba(36, 48, 50, 0.14);
    border-radius: 999px;
    padding: 7px 12px;
    cursor: pointer;
    color: #41504f;
    background: rgba(255, 253, 248, 0.78);
    font-weight: 800;
}

.agent-suggestions button:hover {
    color: var(--paper-strong);
    background: var(--teal-dark);
}

.pet-room-visual {
    position: absolute;
    inset: 36px 30px 34px;
    display: grid;
    place-items: center;
    border: 2px solid color-mix(in srgb, var(--type-color, var(--teal)) 58%, rgba(36, 48, 50, 0.16));
    border-radius: 44px 44px 18px 18px;
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 253, 248, 0.88), transparent 46%),
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(247, 234, 212, 0.78));
    box-shadow: var(--shadow);
}

.pet-room-visual.pair {
    inset: 44px 44px 56px;
}

.pet-room-visual::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: 36px;
    left: 18%;
    height: 32px;
    border-radius: 50%;
    background: rgba(36, 48, 50, 0.11);
    filter: blur(4px);
}

.pet-room-visual img {
    position: relative;
    z-index: 1;
    width: min(76%, 360px);
    aspect-ratio: 1;
    border: 10px solid rgba(255, 253, 248, 0.76);
    border-radius: 34px;
    object-fit: cover;
    box-shadow: 0 24px 42px rgba(36, 48, 50, 0.16);
}

.pet-room-visual.pair img {
    transform: rotate(-2deg);
}

.pet-room-assets {
    padding-top: 36px;
}

.pet-room-asset-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.78fr);
    gap: 18px;
    align-items: stretch;
}

.pet-room-asset-card {
    display: grid;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.84);
    box-shadow: 8px 10px 0 rgba(36, 48, 50, 0.05);
}

.pet-room-asset-card.share {
    grid-row: span 2;
}

.pet-room-asset-card.reply {
    background:
        radial-gradient(circle at 92% 12%, rgba(47, 143, 131, 0.12), transparent 34%),
        rgba(255, 253, 248, 0.9);
}

.pet-room-asset-frame {
    display: grid;
    place-items: center;
    min-width: 0;
    margin: 0;
    padding: clamp(14px, 2vw, 22px);
    background:
        linear-gradient(135deg, rgba(247, 234, 212, 0.62), rgba(255, 253, 248, 0.92)),
        repeating-linear-gradient(90deg, rgba(47, 143, 131, 0.07) 0 1px, transparent 1px 34px);
}

.share-frame {
    min-height: 520px;
}

.wallpaper-frame,
.sticker-frame {
    min-height: 280px;
}

.pet-room-asset-frame img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 18px;
    object-fit: contain;
    background: var(--paper-strong);
    box-shadow: 0 20px 42px rgba(36, 48, 50, 0.13);
}

.share-frame img {
    width: min(100%, 390px);
    aspect-ratio: 3 / 4;
}

.wallpaper-frame img {
    width: min(100%, 172px);
    aspect-ratio: 9 / 16;
    border-radius: 24px;
}

.sticker-frame img {
    width: min(100%, 330px);
    aspect-ratio: 1;
}

.pet-room-asset-copy,
.pet-room-reply-panel {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 22px;
}

.pet-room-asset-copy span,
.pet-room-reply-panel span {
    color: var(--rose);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.pet-room-asset-copy h3,
.pet-room-reply-panel h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(24px, 3.2vw, 34px);
}

.pet-room-asset-copy p,
.pet-room-reply-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.pet-room-reply-panel {
    min-height: 100%;
    align-content: center;
}

.pet-room-reply-panel .button {
    justify-self: start;
    margin-top: 6px;
}

.dimension-grid,
.type-grid {
    display: grid;
    gap: 14px;
}

.dimension-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.dimension-grid article {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding: 28px;
}

.dimension-grid span {
    color: var(--rose);
    font-weight: 900;
}

.dimension-grid h3 {
    margin: 0;
}

.dimension-grid p,
.type-card p {
    color: var(--muted);
    line-height: 1.7;
}

.dimension-grid p {
    margin: 0;
}

.dimension-points {
    display: grid;
    gap: 10px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.dimension-points li {
    display: grid;
    gap: 5px;
    padding: 12px 13px;
    border: 1px solid rgba(31, 111, 103, 0.12);
    border-radius: 14px;
    background: rgba(246, 240, 226, 0.48);
}

.dimension-points strong {
    color: var(--teal);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dimension-points b {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.62;
}

.dimension-use {
    margin-top: auto !important;
    padding-top: 14px;
    border-top: 1px solid rgba(36, 48, 50, 0.1);
    font-weight: 760;
}

.type-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.seo-section {
    padding: 76px 0 96px;
}

.seo-intent-grid,
.faq-list {
    display: grid;
    gap: 14px;
}

.seo-intent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
}

.seo-intent-grid article,
.faq-list details {
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.82);
    box-shadow: 8px 10px 0 rgba(36, 48, 50, 0.05);
}

.seo-intent-grid article {
    padding: 22px;
}

.seo-intent-grid span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 50%;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-weight: 900;
}

.seo-intent-grid h3 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 24px;
}

.seo-intent-grid p,
.faq-list p {
    color: var(--muted);
    line-height: 1.75;
}

.mbti-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.48fr);
    gap: clamp(24px, 5vw, 52px);
    align-items: center;
    min-height: min(620px, calc(100vh - 92px));
    padding: 28px 0 56px;
}

.mbti-summary-card {
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: 22px;
    padding: clamp(22px, 4vw, 36px);
    background:
        radial-gradient(circle at 86% 16%, rgba(217, 164, 65, 0.28), transparent 28%),
        linear-gradient(135deg, #fffdf8, #f7ead4);
    box-shadow: var(--shadow);
}

.mbti-summary-card span {
    display: inline-grid;
    min-width: 82px;
    min-height: 52px;
    place-items: center;
    border-radius: 999px;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
}

.mbti-summary-card h2 {
    margin: 20px 0 12px;
    font-size: clamp(34px, 5vw, 52px);
}

.mbti-summary-card p {
    color: #52605f;
    line-height: 1.75;
}

.mbti-summary-card strong {
    display: inline-flex;
    margin-top: 10px;
    color: var(--teal-dark);
}

.mbti-hero-answer {
    border-left: 5px solid var(--gold);
    border-radius: var(--radius);
    padding: 14px 16px;
    background: rgba(247, 234, 212, 0.72);
    color: #52605f;
    font-size: 16px;
    line-height: 1.75;
}

.mbti-disclaimer {
    margin: -18px 0 36px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: var(--radius);
    padding: 18px 20px;
    background: rgba(255, 253, 248, 0.78);
}

.mbti-disclaimer p:last-child {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.mbti-explainer,
.mbti-likely-types,
.mbti-deep-dive,
.mbti-action-plan,
.mbti-related {
    padding: 56px 0;
}

.mbti-detail-grid,
.mbti-action-grid {
    display: grid;
    gap: 16px;
}

.mbti-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mbti-detail-grid article,
.mbti-advice-card,
.mbti-script-card {
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: var(--radius);
    padding: 22px;
    background: rgba(255, 253, 248, 0.86);
    box-shadow: 8px 10px 0 rgba(36, 48, 50, 0.05);
}

.mbti-detail-grid span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 50%;
    color: var(--paper-strong);
    background: var(--teal-dark);
    font-weight: 900;
}

.mbti-detail-grid h3,
.mbti-advice-card h3,
.mbti-script-card h3 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 24px;
}

.mbti-detail-grid p,
.mbti-advice-card li,
.mbti-script-card p {
    color: #52605f;
    line-height: 1.75;
}

.mbti-dimension-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mbti-likely-types .type-card a {
    display: inline-flex;
    margin-top: 12px;
    color: var(--teal-dark);
    font-weight: 900;
}

.mbti-bottom-actions {
    margin-top: 26px;
}

.mbti-action-grid {
    grid-template-columns: minmax(0, 0.7fr) minmax(300px, 0.52fr);
}

.mbti-advice-card ul {
    margin: 0;
    padding-left: 20px;
}

.mbti-script-card {
    background:
        radial-gradient(circle at 86% 18%, rgba(47, 143, 131, 0.14), transparent 30%),
        rgba(255, 253, 248, 0.9);
}

.mbti-script-card p {
    font-size: 18px;
}

.mbti-script-card .button {
    margin-top: 10px;
}

.mbti-related {
    border-top: 1px solid rgba(36, 48, 50, 0.12);
}

.mbti-related div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mbti-related a {
    border: 1px solid rgba(36, 48, 50, 0.13);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 253, 248, 0.86);
    color: #41504f;
    font-weight: 900;
}

.faq-list details {
    padding: 0 22px;
}

.faq-list summary {
    cursor: pointer;
    padding: 20px 0;
    color: var(--ink);
    font-weight: 900;
}

.faq-list p {
    margin-top: -4px;
    padding-bottom: 20px;
}

.type-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 10px;
    aspect-ratio: 3 / 4;
    min-height: 0;
    align-content: start;
    padding: 20px;
}

.type-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 8px;
    background: var(--type-color, var(--teal));
}

.type-code {
    display: inline-flex;
    width: fit-content;
    min-width: 54px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--paper-strong);
    background: var(--type-color, var(--teal));
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 800;
}

.type-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.type-pet-art {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(104px, 9.4vw, 132px);
    height: clamp(104px, 9.4vw, 132px);
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: 24px;
    padding: 5px;
    background: rgba(247, 234, 212, 0.72);
    box-shadow: 0 18px 34px rgba(36, 48, 50, 0.1);
}

.type-pet-art::before {
    content: attr(data-code);
    position: absolute;
    inset: 10px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: color-mix(in srgb, var(--type-color, var(--teal)) 72%, #243032);
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 253, 248, 0.88), transparent 44%),
        color-mix(in srgb, var(--type-color, var(--teal)) 18%, #fffdf8);
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.type-pet-art .pet-photo {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    background: transparent;
}

.type-pet-art .pet-svg-fallback {
    position: relative;
    z-index: 1;
}

.pet-svg.mini {
    filter: drop-shadow(0 10px 12px rgba(36, 48, 50, 0.1));
}

.type-card h3 {
    margin: 0;
    font-size: clamp(24px, 2.35vw, 31px);
    line-height: 1.08;
}

.type-pet {
    display: inline-flex;
    margin-top: 6px;
    color: var(--type-color, var(--teal));
    font-size: 14px;
}

.type-summary {
    margin: 0;
    color: #52605f;
    font-size: 14px;
    line-height: 1.5;
}

.type-card-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.type-card-copy p,
.type-card-footer p {
    margin: 0;
    color: #52605f;
    font-size: 13px;
    line-height: 1.48;
}

.type-card-copy p {
    padding: 8px 10px;
    border: 1px solid rgba(36, 48, 50, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.62);
}

.type-card-copy span,
.type-card-footer span {
    display: block;
    margin-bottom: 3px;
    color: var(--type-color, var(--teal));
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.type-card-footer {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(36, 48, 50, 0.1);
}

.me-shell {
    padding: 34px 0 80px;
}

.me-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
    gap: 20px;
    align-items: end;
    padding: clamp(24px, 5vw, 42px) 0 28px;
}

.me-hero h1 {
    margin-bottom: 16px;
}

.me-hero p:not(.eyebrow) {
    max-width: 760px;
    color: #52605f;
    font-size: 18px;
    line-height: 1.75;
}

.me-status-card,
.me-empty,
.me-result-card {
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.9);
}

.me-status-card {
    padding: 20px;
    box-shadow: 8px 10px 0 rgba(47, 143, 131, 0.09);
}

.me-status-card span {
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.me-status-card strong {
    display: block;
    margin: 10px 0;
    font-family: var(--font-display);
    font-size: 30px;
}

.me-status-card p,
.me-empty p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.me-empty {
    padding: clamp(24px, 5vw, 42px);
}

.me-dashboard {
    display: grid;
    gap: 24px;
}

.me-result-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: clamp(20px, 4vw, 30px);
}

.me-pet-art {
    min-height: 220px;
    overflow: hidden;
    border-radius: 18px;
    background: #f7ead4;
}

.me-pet-art img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.me-result-card h2 {
    margin-bottom: 12px;
}

.me-result-card p {
    color: #52605f;
    line-height: 1.75;
}

.me-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.me-report {
    margin-top: 0;
}

.me-asset-vault {
    margin-top: 0;
}

.me-asset-vault .asset-vault-head {
    grid-template-columns: minmax(0, 1fr);
}

.me-pair-records {
    padding: clamp(20px, 4vw, 28px);
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(47, 143, 131, 0.12), transparent 32%),
        rgba(255, 253, 248, 0.9);
}

.me-pair-records .asset-vault-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.me-pair-record-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.me-pair-record-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.86);
}

.me-pair-record-card.pending {
    background: rgba(247, 234, 212, 0.7);
}

.me-pair-record-media {
    display: grid;
    grid-template-columns: minmax(64px, 0.38fr) minmax(54px, auto) minmax(64px, 0.38fr);
    gap: 10px;
    align-items: center;
}

.me-pair-record-avatar {
    position: relative;
    display: grid;
    aspect-ratio: 1;
    min-height: 72px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 50, 0.12);
    border-radius: 16px;
    background: #f7ead4;
}

.me-pair-record-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.me-pair-record-avatar.waiting {
    border-style: dashed;
    background:
        repeating-linear-gradient(135deg, rgba(47, 143, 131, 0.08) 0 8px, transparent 8px 16px),
        rgba(255, 253, 248, 0.86);
}

.me-pair-record-score {
    display: grid;
    min-width: 58px;
    min-height: 58px;
    place-items: center;
    border-radius: 999px;
    color: var(--paper-strong);
    background: var(--teal);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
}

.me-pair-record-placeholder {
    color: var(--teal-dark);
    font-size: 14px;
    font-weight: 900;
}

.me-pair-record-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.me-pair-record-kicker span {
    border-radius: 999px;
    padding: 5px 8px;
    color: var(--paper-strong);
    background: var(--teal);
}

.me-pair-record-kicker span.pending {
    color: var(--ink);
    background: #f7ead4;
}

.me-pair-record-kicker span.action_required {
    background: #d96f7f;
}

.me-pair-record-kicker span.completed {
    background: var(--teal);
}

.me-pair-record-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 34px);
}

.me-pair-record-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.me-pair-record-meta span {
    border-radius: 999px;
    padding: 5px 8px;
    background: rgba(47, 143, 131, 0.08);
}

.me-pair-record-card p {
    margin: 0;
    color: #52605f;
    line-height: 1.65;
}

.me-pair-record-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.me-pair-record-types b {
    border: 1px solid rgba(47, 143, 131, 0.2);
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--teal-dark);
    background: rgba(47, 143, 131, 0.08);
    font-size: 13px;
}

.me-pair-record-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    max-width: min(340px, calc(100vw - 36px));
    padding: 14px 16px;
    border-radius: var(--radius);
    color: var(--paper-strong);
    background: var(--teal-dark);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

[hidden] {
    display: none !important;
}

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

@media (max-width: 980px) {
    .hero,
    .start-panel,
    .asset-showcase,
    .auth-gate,
    .result-hero,
    .result-insight-grid,
    .quiz-guidance,
    .validity-card,
    .ai-next-step,
    .asset-vault-head,
    .share-lab,
    .workbench-head,
    .agent-lab-intro,
    .agent-lab,
    .return-panel,
    .pair-insight,
    .mbti-context-card,
    .mbti-cpti-panel,
    .report-sample-grid,
    .mbti-hero,
    .pet-room-care,
    .reminder-strip,
    .report-header,
    .me-hero,
    .me-result-card,
    .me-pair-records .asset-vault-head,
    .me-pair-record-grid {
        grid-template-columns: 1fr;
    }

    .pet-room-asset-grid {
        grid-template-columns: 1fr;
    }

    .pair-result-visual,
    .pair-share-layout,
    .pair-result-actions-panel {
        grid-template-columns: 1fr;
    }

    .pair-result-badge {
        width: min(100%, 220px);
        margin: 0 auto;
        border-radius: 18px;
    }

    .pet-room-asset-card.share {
        grid-row: auto;
    }

    .billing-status {
        grid-template-columns: 1fr;
    }

    .billing-status p,
    .billing-status .button {
        grid-column: 1;
        grid-row: auto;
    }

    .hero {
        min-height: auto;
        gap: 20px;
        padding-top: 22px;
        padding-bottom: 42px;
    }

    .hero-visual {
        min-height: 388px;
    }

    .dimension-grid,
    .mbti-dimension-grid,
    .mbti-detail-grid,
    .mbti-action-grid,
    .seo-intent-grid,
    .pair-reference-grid,
    .action-pack-grid,
    .report-preview-grid,
    .asset-vault-grid,
    .daily-action-grid,
    .workbench-grid,
    .path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .score-grid {
        grid-template-columns: 1fr;
    }

    .score-grid-head {
        position: static;
    }

    .report-manual-sample {
        min-height: auto;
    }

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

    .pair-atlas-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .commerce-grid {
        grid-template-columns: 1fr;
    }

    .pair-insight-grid {
        grid-template-columns: 1fr;
    }

    .mbti-hero {
        min-height: auto;
    }

    .return-actions,
    .pet-room-care-actions {
        min-width: 0;
    }

    .asset-preview-slide {
        grid-template-columns: minmax(0, 1fr) minmax(190px, 0.42fr);
    }

    .core-asset-strip {
        grid-template-columns: 1fr;
    }

    .core-asset-stage {
        width: min(100%, 400px);
    }

    .sticker-sheet-library-head {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 720px) {
    main,
    .topbar {
        width: min(100% - 24px, 1180px);
    }

    .topbar {
        align-items: flex-start;
        gap: 12px;
    }

    .topnav {
        display: none;
    }

    .lang-toggle {
        min-width: 46px;
        min-height: 40px;
        margin-top: 2px;
    }

    .account-chip {
        min-width: 0;
        max-width: 132px;
        padding: 7px 10px;
    }

    .account-chip strong {
        max-width: 106px;
    }

    .result-tabs {
        position: static;
        margin-inline: -2px;
        border-radius: 18px;
        padding: 5px;
    }

    .result-tabs button {
        min-height: 38px;
        flex: 0 0 auto;
        padding: 0 13px;
        font-size: 13px;
    }

    h1 {
        font-size: clamp(34px, 11vw, 50px);
    }

    body[data-cpti-page="pair"] h1 {
        font-size: clamp(30px, 8.6vw, 40px);
        line-height: 1.05;
    }

    .hero-lede,
    .section-title p {
        font-size: 16px;
    }

    .hero-stats {
        display: none;
    }

    .hero-proof,
    .path-grid {
        grid-template-columns: 1fr;
    }

    .hero-proof {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero-proof span {
        flex: 1 1 0;
        min-width: 0;
        min-height: 54px;
        padding: 9px 10px;
    }

    .hero-proof b {
        font-size: 12px;
    }

    .hero-proof small {
        display: none;
    }

    .hero-visual {
        min-height: 312px;
        padding: 14px;
    }

    .hero-visual .bubble {
        min-height: 28px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .hero-visual .bubble-left {
        top: 18px;
        left: 18px;
    }

    .hero-visual .bubble-right {
        top: 18px;
        right: 18px;
    }

    .mini-card {
        min-width: 94px;
        border-radius: 14px;
        padding: 9px 10px;
    }

    .mini-card strong {
        font-size: 20px;
    }

    .mini-card-a {
        bottom: 18px;
        left: 16px;
    }

    .mini-card-b {
        right: 16px;
        bottom: 18px;
    }

    .pet-wheel {
        min-height: 260px;
    }

    .pet-wheel-glow {
        inset: 24px 16px 8px;
    }

    .hero-pet-card {
        --card-size: 76px;
    }

    .hero-pet-card.active {
        --card-size: 132px;
    }

    .hero-pet-card[data-pos="1"] {
        --x: 104px;
        --y: -82px;
    }

    .hero-pet-card[data-pos="2"] {
        --x: 124px;
        --y: 20px;
    }

    .hero-pet-card[data-pos="3"] {
        --x: 66px;
        --y: 96px;
    }

    .hero-pet-card[data-pos="4"] {
        --x: -66px;
        --y: 96px;
    }

    .hero-pet-card[data-pos="5"] {
        --x: -124px;
        --y: 20px;
    }

    .hero-pet-card[data-pos="6"] {
        --x: -104px;
        --y: -82px;
    }

    .hero-pet-card strong {
        font-size: 18px;
    }

    .hero-pet-story {
        padding: 14px;
    }

    .hero-pet-story h2 {
        font-size: 26px;
    }

    .hero-pet-story p:not(.eyebrow) {
        display: none;
    }

    .scenario-grid,
    .share-growth-pack,
    .workbench-context,
    .result-insight-grid,
    .pair-result-tip-grid,
    .pair-insight-actions,
    .pair-reference-grid,
    .dimension-grid,
    .mbti-dimension-grid,
    .mbti-detail-grid,
    .mbti-action-grid,
    .asset-showcase-grid,
    .seo-intent-grid,
    .score-grid,
    .report-preview-grid,
    .asset-vault-grid,
    .path-grid,
    .daily-action-grid,
    .workbench-grid,
    .advice-grid,
    .pet-detail-grid,
    .retention-lab .pet-detail-grid,
    .score-rows,
    .manual-signals,
    .decision-mini-grid,
    .type-grid {
        grid-template-columns: 1fr;
    }

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

    .sticker-sheet-library {
        padding-bottom: 48px;
    }

    .sticker-sheet-toolbar {
        width: 100%;
    }

    .sticker-sheet-toolbar button {
        flex: 1 1 0;
    }

    .mbti-cpti-pair {
        grid-template-columns: 1fr;
    }

    .asset-preview-stage {
        min-height: 500px;
    }

    .core-asset-stage {
        width: min(100%, 360px);
    }

    .asset-preview-slide {
        grid-template-columns: 1fr;
        align-content: start;
    }

    .asset-preview-copy {
        min-height: 144px;
        align-content: start;
    }

    .asset-preview-copy strong {
        font-size: 28px;
    }

    .sample-share-card img {
        min-height: 168px;
    }

    .sample-wallpaper-phone {
        width: min(100%, 176px);
    }

    .pet-room-asset-frame {
        padding: 12px;
    }

    .share-frame {
        min-height: 430px;
    }

    .wallpaper-frame,
    .sticker-frame {
        min-height: 240px;
    }

    .pet-room-asset-copy,
    .pet-room-reply-panel {
        padding: 18px;
    }

    .start-panel,
    .auth-gate,
    .quiz-panel,
    .result-panel {
        border-radius: 18px;
    }

    .question-card h3 {
        font-size: 26px;
    }

    .quiz-actions .button,
    .auth-form .button,
    .result-actions .button,
    .hero-actions .button,
    .return-actions .button,
    .pet-room-care-actions .button,
    .pet-room-reply-panel .button,
    .reminder-strip .button {
        width: 100%;
    }

    .result-type-card {
        min-height: 260px;
    }

    .commerce-card.primary-offer {
        grid-column: auto;
        padding-right: 22px;
    }

    .type-card {
        aspect-ratio: auto;
        gap: 9px;
        padding: 14px;
    }

    .type-card-top {
        gap: 10px;
    }

    .type-pet-art {
        width: clamp(88px, 26vw, 112px);
        height: clamp(88px, 26vw, 112px);
    }

    .type-summary,
    .type-card-copy p,
    .type-card-footer p {
        font-size: 12.5px;
        line-height: 1.42;
    }

    .type-card-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 8px;
    }

    .score-item,
    .report-preview-card,
    .report-preview-card:first-child {
        min-height: auto;
    }

    .report-preview-card:first-child {
        grid-row: auto;
    }

    .pet-certificate {
        grid-template-columns: 1fr;
    }

    .pet-art-frame {
        min-height: 208px;
    }

    .pet-room-visual {
        inset: 22px 8px 20px;
        border-radius: 30px 30px 14px 14px;
    }

    .pet-room-visual.pair {
        inset: 28px 16px 42px;
    }

    .pet-room-visual img {
        width: min(82%, 280px);
        border-width: 7px;
        border-radius: 26px;
    }

    .pet-avatar {
        min-width: 52px;
        min-height: 28px;
    }

    .commerce-card {
        min-height: 164px;
    }

    .report-progress {
        width: 86px;
    }

    .agent-form {
        grid-template-columns: 1fr;
    }

    .agent-chat {
        max-width: none;
    }

    .agent-messages {
        min-height: 320px;
    }

    .agent-message {
        width: min(94%, 720px);
    }

    .agent-form .button {
        min-height: 50px;
    }

    .quiz-guidance span,
    .validity-meter {
        justify-self: start;
    }

    .share-card-preview img {
        max-height: 420px;
    }

    .share-modal-panel {
        grid-template-columns: 1fr;
    }

    .share-modal-actions .button {
        width: 100%;
    }

    .pair-result-page {
        padding-top: 18px;
    }

    .pair-result-hero {
        border-radius: 20px;
        padding: 24px 16px;
    }

    .pair-result-title h1 {
        font-size: clamp(44px, 15vw, 72px);
    }

    .pair-result-title > strong {
        font-size: clamp(28px, 10vw, 44px);
    }

    .pair-result-summary {
        font-size: 17px;
    }

    .pair-result-actions-panel .result-actions {
        width: 100%;
    }

    .pair-share-card {
        width: min(100%, 390px);
        justify-self: center;
    }
}
