:root {
    --an-bg: #0a0a0a;
    --an-bg-2: #141414;
    --an-card: #232323;
    --an-card-soft: rgba(255, 255, 255, 0.03);
    --an-line: rgba(255, 255, 255, 0.07);
    --an-text: #f7f7f7;
    --an-muted: #9f9f9f;
    --an-green: #22d860;
    --an-green-2: #40ef79;
    --an-orange: #ff8b47;
    --an-orange-2: #ffb347;
    --an-purple: #c44cff;
    --an-purple-2: #7a6dff;
    --an-danger: #ff6d5b;
    --an-font-body: "Instrument Sans", "Helvetica Neue", sans-serif;
    --an-font-display: "Syne", "Helvetica Neue", sans-serif;
    --an-shadow: 0 20px 80px rgba(0, 0, 0, 0.38);
}

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

html,
body {
    margin: 0;
    min-height: 100%;
}

body.an-body {
    background: radial-gradient(circle at top, rgba(184, 76, 255, 0.12), transparent 22%), linear-gradient(180deg, #151515 0%, #101010 100%);
    color: var(--an-text);
    font-family: var(--an-font-body);
}

body.an-body--app {
    overflow: hidden;
}

body.an-body--report {
    overflow: hidden;
    background: #080808;
    overscroll-behavior: none;
}

.an-html--report,
.an-html--report body {
    height: 100svh;
    overflow: hidden;
}

.an-noise {
    position: fixed;
    inset: 0;
    opacity: 0.06;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black, transparent 74%);
}

body.an-body--report .an-noise {
    opacity: 0.03;
    mask-image: linear-gradient(180deg, black, transparent 90%);
}

.an-shell {
    position: relative;
    width: 100%;
}

body.an-body--app .an-shell {
    height: 100svh;
}

body.an-body--report .an-shell {
    width: min(430px, calc(100% - 12px));
    margin: 0 auto;
    padding: 8px 0 10px;
    height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 8px;
    overflow: hidden;
}

.an-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
}

body.an-body--report .an-topbar {
    position: relative;
    padding: 0 4px;
    justify-content: flex-start;
}

.an-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--an-text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.an-brand img {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

.an-brand span {
    font-family: var(--an-font-display);
    font-size: 1.06rem;
}

body.an-body--report .an-brand span {
    display: none;
}

body.an-body--report .an-brand img {
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

.an-top-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.an-pill,
.an-camera-chip,
.an-loading-eyebrow,
.an-mini-label,
.an-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--an-line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--an-muted);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.an-pill--soft {
    background: rgba(184, 76, 255, 0.12);
    color: #f1d8ff;
}

.an-app-stage {
    position: relative;
    height: 100svh;
    overflow: hidden;
}

.an-screen {
    position: absolute;
    inset: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.an-screen.is-hidden,
.an-screen[hidden] {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
}

.an-screen--camera {
    background: #090909;
}

.an-camera-shell {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #0d0d0d;
}

.an-camera-shell video,
.an-camera-shell img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.an-camera-shell video {
    transform: scaleX(-1);
}

.an-camera-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.46) 28%, rgba(0, 0, 0, 0.48) 68%, rgba(0, 0, 0, 0.9) 100%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.48) 54%, rgba(0, 0, 0, 0.78) 100%);
}

.an-camera-mask {
    position: absolute;
    inset: 12% 10% 20%;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.an-camera-mask::before {
    content: "";
    position: absolute;
    inset: 13% 18%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 1px rgba(184, 76, 255, 0.22);
}

.an-screen--camera:not(.is-camera-live) .an-camera-mask {
    display: none;
}

.an-camera-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(460px, calc(100% - 36px));
    padding: 26px 18px 30px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    isolation: isolate;
}

.an-camera-center::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(5, 5, 7, 0.68), rgba(5, 5, 7, 0.46));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.an-camera-center[hidden],
.an-screen--camera.is-camera-live .an-camera-center {
    display: none !important;
}

.an-screen--camera.is-camera-live .an-camera-mask {
    border-color: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 0 999px rgba(0, 0, 0, 0.08);
}

.an-camera-center h1 {
    margin: 18px 0 12px;
    font-family: var(--an-font-display);
    font-size: clamp(2.1rem, 8vw, 4rem);
    line-height: 0.92;
    letter-spacing: 0;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.an-camera-center p {
    margin: 0;
    max-width: 28ch;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.82);
}

.an-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 56px;
    padding: 0 22px;
    font-family: var(--an-font-body);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.an-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.an-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.an-btn--camera {
    margin-top: 20px;
    min-width: min(280px, 100%);
    background: linear-gradient(135deg, #ffffff, #d9d9d9);
    color: #0e0e0e;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.an-camera-actions {
    display: flex;
    width: min(300px, 100%);
    flex-direction: column;
    align-items: center;
}

.an-choice-separator {
    margin: 11px 0 9px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.an-import-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: min(280px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(14, 14, 16, 0.78);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.an-scan-pill {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f2f2f2;
    font-size: 0.92rem;
    box-shadow: var(--an-shadow);
}

.an-screen--loading {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(184, 76, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #161616 0%, #101010 100%);
}

.an-loading-shell {
    width: min(460px, calc(100% - 32px));
    text-align: center;
}

.an-loading-shell h2 {
    margin: 18px 0 12px;
    font-family: var(--an-font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    letter-spacing: -0.05em;
}

.an-loading-shell p {
    margin: 0;
    color: #d7d7d7;
    line-height: 1.55;
}

.an-loading-bar {
    margin-top: 22px;
    height: 16px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.an-loading-fill {
    height: 100%;
    width: 12%;
    background: linear-gradient(90deg, var(--an-purple), #d65cff, var(--an-purple-2));
    border-radius: inherit;
    transition: width 0.25s ease;
}

.an-loading-steps {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.an-loading-steps span {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #a8a8a8;
}

.an-loading-steps span.is-active {
    color: #fff;
    border-color: rgba(184, 76, 255, 0.36);
    background: rgba(184, 76, 255, 0.12);
}

.an-screen--preview {
    display: grid;
    place-items: center;
    padding: 68px 14px 16px;
    background: linear-gradient(180deg, #191919 0%, #141414 100%);
}

.an-preview-app {
    width: min(520px, 100%);
    min-height: min(860px, calc(100svh - 94px));
    max-height: calc(100svh - 94px);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: clamp(12px, 1.7vh, 20px);
}

.an-result-slider {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 24px;
    touch-action: pan-y;
}

.an-result-track {
    height: 100%;
    display: flex;
    gap: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    touch-action: pan-y;
    scrollbar-width: none;
}

.an-result-track::-webkit-scrollbar {
    display: none;
}

.an-result-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow-y: hidden;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.an-result-slide.is-scrollable {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.an-result-slide::-webkit-scrollbar {
    display: none;
}

.an-result-slide--overview {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(10px, 1.3vh, 15px);
}

.an-slide-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 18px;
}

.an-slide-dot {
    appearance: none;
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: width 160ms ease, background 160ms ease, opacity 160ms ease;
}

.an-slide-dot.is-active {
    width: 22px;
    background: #f0d98a;
}

.an-skin-detail,
.an-locked-detail {
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        rgba(21, 21, 21, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 38px rgba(0, 0, 0, 0.18);
}

.an-skin-detail {
    display: grid;
    grid-template-rows: auto auto;
    gap: 14px;
    padding: clamp(18px, 3.4vh, 28px);
}

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

.an-skin-score span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    font-weight: 780;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.an-skin-score strong {
    color: var(--an-orange);
    font-size: clamp(3.4rem, 10vh, 5.5rem);
    font-weight: 1000;
    line-height: 0.82;
}

.an-skin-score[data-tone="good"] strong {
    color: var(--an-green);
}

.an-skin-score[data-tone="weak"] strong {
    color: var(--an-danger);
}

.an-skin-score[data-tone="good"] .an-score-fill {
    background: linear-gradient(90deg, var(--an-green), var(--an-green-2));
}

.an-skin-score[data-tone="mid"] .an-score-fill {
    background: linear-gradient(90deg, var(--an-orange), var(--an-orange-2));
}

.an-skin-score[data-tone="weak"] .an-score-fill {
    background: linear-gradient(90deg, #ff8d55, #ff6666);
}

.an-skin-copy {
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 0;
}

.an-skin-copy h2 {
    margin: 0;
    color: #fffefa;
    font-size: clamp(1.65rem, 4vh, 2.35rem);
    font-weight: 950;
    line-height: 1.02;
}

.an-skin-problem {
    display: grid;
    gap: 7px;
}

.an-skin-problem span {
    color: rgba(240, 217, 138, 0.86);
    font-size: clamp(0.78rem, 1.45vh, 0.9rem);
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.an-skin-problem p,
.an-skin-actions p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.05rem, 2vh, 1.22rem);
    font-weight: 760;
    line-height: 1.34;
}

.an-skin-actions {
    display: grid;
    gap: 9px;
}

.an-skin-actions div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.an-skin-actions strong {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(240, 217, 138, 0.16);
    color: #f4dc84;
    font-size: 0.88rem;
    font-weight: 1000;
    line-height: 1;
}

.an-slide-study {
    margin-top: 2px;
    color: rgba(240, 217, 138, 0.7);
    font-size: clamp(0.68rem, 1.25vh, 0.78rem);
    font-weight: 750;
    line-height: 1.35;
}

.an-slide-study span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72em;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.an-locked-detail {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: clamp(20px, 4vh, 32px);
}

.an-locked-blur {
    width: min(330px, 100%);
    display: grid;
    gap: 18px;
    filter: blur(14px);
    opacity: 0.24;
    transform: scale(1.06);
}

.an-locked-score {
    width: 118px;
    height: 76px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.24);
}

.an-locked-line {
    width: 72%;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.an-locked-line--wide {
    width: 100%;
}

.an-locked-line--short {
    width: 48%;
}

.an-locked-bars {
    display: grid;
    gap: 10px;
}

.an-locked-bars span {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: rgba(240, 217, 138, 0.24);
}

.an-locked-gate {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: min(315px, calc(100% - 40px));
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 18px 18px 19px;
    border-radius: 22px;
    border: 1px solid rgba(240, 217, 138, 0.24);
    background: linear-gradient(180deg, rgba(9, 9, 9, 0.84), rgba(9, 9, 9, 0.7));
    color: #f8e9aa;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
}

.an-locked-gate span {
    display: inline-grid;
    place-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(240, 217, 138, 0.34);
    background: rgba(9, 9, 9, 0.78);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.an-locked-gate strong {
    color: #fffefa;
    font-size: clamp(1.02rem, 2.1vh, 1.22rem);
    font-weight: 950;
    line-height: 1.05;
    text-align: center;
}

.an-locked-gate ul {
    width: 100%;
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.an-locked-gate li {
    position: relative;
    margin: 0;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.86rem, 1.58vh, 0.97rem);
    font-weight: 760;
    line-height: 1.28;
}

.an-locked-gate li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 0.42em;
    width: 9px;
    height: 5px;
    border-left: 2px solid #f0d98a;
    border-bottom: 2px solid #f0d98a;
    transform: rotate(-45deg);
}

.an-preview-top {
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

.an-avatar-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
}

.an-avatar-wrap--preview {
    width: clamp(120px, 20vh, 170px);
}

.an-avatar-wrap--report {
    width: min(280px, 64vw);
}

.an-avatar-ring {
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--an-purple), var(--an-purple-2));
}

.an-avatar-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46);
}

.an-avatar-wrap.is-avatar-missing::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(126, 99, 255, 0.92), rgba(137, 89, 241, 0.72));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46);
}

.an-avatar-wrap.is-avatar-missing img {
    display: none;
}

.an-score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(9px, 1.4vh, 14px);
    align-content: start;
}

.an-score-card {
    position: relative;
    overflow: hidden;
    padding: 13px;
    border-radius: 20px;
    background: var(--an-card);
    border: 1px solid var(--an-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.an-score-card.is-blurred {
    border-color: rgba(240, 217, 138, 0.18);
}

.rm-stage .an-score-card.is-blurred {
    border-color: rgba(240, 217, 138, 0.2);
}

.an-score-card-blur {
    filter: blur(5px);
    opacity: 0.5;
    transform: scale(1.02);
    pointer-events: none;
    user-select: none;
}

.an-score-card.is-blurred::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.18), rgba(12, 12, 12, 0.44));
    backdrop-filter: blur(1px);
    pointer-events: none;
}

.an-score-card-gate {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(240, 217, 138, 0.36);
    background: rgba(15, 15, 15, 0.78);
    color: #f6e7a6;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
}

.an-score-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.an-score-card-head span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: #8f8f8f;
    text-transform: uppercase;
}

.an-score-help {
    appearance: none;
    border: 0;
    background: transparent;
    color: #9b9b9b;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    margin: -5px -7px -5px 0;
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
}

.an-score-help:hover,
.an-score-help:focus-visible {
    color: #f2f2f2;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.an-score-popover {
    position: fixed;
    z-index: 1000;
    max-width: min(250px, calc(100vw - 20px));
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(16, 16, 18, 0.96);
    color: #f6f2d5;
    border: 1px solid rgba(240, 217, 138, 0.32);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.28;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 120ms ease, transform 120ms ease;
}

.an-score-popover.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.an-score-popover[hidden] {
    display: none;
}

.an-score-card-value {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.an-score-card-value strong {
    font-size: clamp(2rem, 5.6vw, 3.3rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.an-score-card-value small {
    font-size: 0.96rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.an-score-card[data-tone="good"] strong,
.an-score-card[data-tone="good"] small {
    color: var(--an-green);
}

.an-score-card[data-tone="mid"] strong,
.an-score-card[data-tone="mid"] small {
    color: var(--an-orange);
}

.an-score-card[data-tone="weak"] strong,
.an-score-card[data-tone="weak"] small {
    color: var(--an-danger);
}

.an-score-track {
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.an-score-fill {
    height: 100%;
    border-radius: inherit;
}

.an-score-card[data-tone="good"] .an-score-fill {
    background: linear-gradient(90deg, var(--an-green), var(--an-green-2));
}

.an-score-card[data-tone="mid"] .an-score-fill {
    background: linear-gradient(90deg, var(--an-orange), var(--an-orange-2));
}

.an-score-card[data-tone="weak"] .an-score-fill {
    background: linear-gradient(90deg, #ff8d55, #ff6666);
}

.an-score-card.is-blurred .an-score-fill {
    background: linear-gradient(90deg, rgba(240, 217, 138, 0.86), rgba(255, 255, 255, 0.46));
}

.an-preview-bottom {
    display: grid;
    gap: 10px;
    align-content: end;
}

.an-btn--purchase {
    background: linear-gradient(90deg, var(--an-purple), var(--an-purple-2));
    color: white;
}

.an-btn--ghost {
    color: #f7f7f7;
    background: linear-gradient(180deg, rgba(43, 43, 43, 0.96), rgba(28, 28, 28, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.an-btn--purchase-large {
    width: 100%;
    min-height: clamp(54px, 7.2vh, 70px);
    font-size: clamp(0.96rem, 2.3vw, 1.12rem);
    box-shadow: 0 18px 44px rgba(118, 77, 255, 0.36);
}

.an-btn--purchase-large span {
    opacity: 0.85;
    margin-left: 8px;
}

.an-preview-note {
    margin: 0;
    text-align: center;
    color: var(--an-muted);
    font-size: 0.88rem;
    line-height: 1.36;
}

.an-report-stage {
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 8px;
    overflow: hidden;
}

.an-report-pages {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.an-report-page {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(28px);
    pointer-events: none;
    transition: opacity 0.26s ease, transform 0.26s ease;
}

.an-report-page.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.an-report-page-shell {
    height: 100%;
    display: grid;
    gap: clamp(14px, 1.8vh, 22px);
    padding: clamp(18px, 2vw, 28px);
    border-radius: 30px;
    border: 1px solid var(--an-line);
    background:
        radial-gradient(circle at top right, rgba(255, 135, 92, 0.12), transparent 26%),
        radial-gradient(circle at left bottom, rgba(161, 86, 255, 0.09), transparent 38%),
        linear-gradient(180deg, rgba(39, 39, 39, 0.98) 0%, rgba(25, 25, 25, 0.99) 100%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
    overflow: hidden;
}

.an-report-page-shell--overview {
    grid-template-rows: 1fr auto;
}

.an-report-page-shell--closing {
    grid-template-rows: auto 1fr auto;
}

.an-report-hero-block {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 340px);
    gap: 16px;
    align-items: center;
}

.an-report-copy {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.an-report-copy h1 {
    margin: 14px 0 10px;
    font-family: var(--an-font-body);
    font-size: clamp(2.05rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.07em;
    max-width: 11ch;
}

.an-report-copy p {
    margin: 0;
    max-width: 48ch;
    color: #d8d8d8;
    line-height: 1.58;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.an-report-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.an-report-avatar-card,
.an-report-summary-card,
.an-report-scorecard,
.an-report-closing-card,
.an-report-curve-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.an-report-avatar-card {
    height: 100%;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 18px;
    background:
        radial-gradient(circle at top, rgba(184, 76, 255, 0.24), transparent 40%),
        rgba(255, 255, 255, 0.04);
}

.an-report-avatar-text {
    display: grid;
    gap: 4px;
    text-align: center;
}

.an-report-avatar-text strong {
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.an-report-avatar-text span {
    color: #bbbbbb;
    font-size: 0.92rem;
}

.an-report-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.an-report-scorecard {
    display: grid;
    gap: 10px;
    padding: 16px;
    min-height: 156px;
}

.an-report-scorecard-head {
    display: grid;
    gap: 4px;
}

.an-report-scorecard-head span {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9d9d9d;
}

.an-report-scorecard-head small {
    color: #c8c8c8;
    font-size: 0.92rem;
}

.an-report-scorecard-value {
    font-size: clamp(2.7rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.an-report-scorecard-foot {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.an-report-scorecard-foot strong {
    letter-spacing: -0.03em;
}

.an-report-scorebar {
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.an-report-scorebar span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.an-report-scorecard[data-tone="good"] .an-report-scorecard-value,
.an-report-scorecard[data-tone="good"] .an-report-scorecard-foot strong,
.an-report-score-pill[data-tone="good"] strong,
.an-report-score-pill[data-tone="good"] span,
.an-report-curve-card[data-tone="good"] small {
    color: var(--an-green-2);
}

.an-report-scorecard[data-tone="good"] .an-report-scorebar span {
    background: linear-gradient(90deg, var(--an-green), var(--an-green-2));
}

.an-report-scorecard[data-tone="mid"] .an-report-scorecard-value,
.an-report-scorecard[data-tone="mid"] .an-report-scorecard-foot strong,
.an-report-score-pill[data-tone="mid"] strong,
.an-report-score-pill[data-tone="mid"] span,
.an-report-curve-card[data-tone="mid"] small {
    color: var(--an-orange-2);
}

.an-report-scorecard[data-tone="mid"] .an-report-scorebar span {
    background: linear-gradient(90deg, var(--an-orange), var(--an-orange-2));
}

.an-report-scorecard[data-tone="weak"] .an-report-scorecard-value,
.an-report-scorecard[data-tone="weak"] .an-report-scorecard-foot strong,
.an-report-score-pill[data-tone="weak"] strong,
.an-report-score-pill[data-tone="weak"] span,
.an-report-curve-card[data-tone="weak"] small {
    color: #ff7860;
}

.an-report-scorecard[data-tone="weak"] .an-report-scorebar span {
    background: linear-gradient(90deg, #ff6d53, #ff8b4a);
}

.an-report-summary-card {
    padding: 16px 18px;
}

.an-report-summary-card p {
    margin: 10px 0 0;
    color: #dddddd;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.an-report-summary-card--closing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.an-report-summary-card--closing p {
    margin: 0;
    max-width: 54ch;
}

.an-report-page-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.an-report-score-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 14px 18px;
}

.an-report-score-pill strong {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.an-report-score-pill span {
    font-size: 0.92rem;
    font-weight: 700;
}

.an-report-metric-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(230px, 320px);
    gap: 16px;
    align-items: stretch;
}

.an-report-metric-copy h2,
.an-report-closing-head h2 {
    margin: 0;
    font-family: var(--an-font-body);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.075em;
}

.an-report-metric-copy p,
.an-report-closing-head p,
.an-report-panel p,
.an-report-closing-card p,
.an-report-habit p {
    color: #d5d5d5;
    line-height: 1.58;
}

.an-report-metric-copy p,
.an-report-closing-head p {
    margin: 14px 0 0;
    max-width: 42ch;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.an-report-curve-card {
    padding: 16px;
    display: grid;
    align-content: center;
    gap: 12px;
}

.an-report-curve-line {
    position: relative;
    height: 82px;
}

.an-report-curve-line::before {
    content: "";
    position: absolute;
    inset: 4px 0 0;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
    border-top: 4px solid rgba(255, 255, 255, 0.13);
    transform: scaleY(0.9);
}

.an-report-curve-base {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6d53, #ffb449, #29dd72);
}

.an-report-curve-dot {
    position: absolute;
    top: 18px;
    left: 18%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff6d53;
    box-shadow: 0 0 0 6px rgba(255, 109, 83, 0.14);
}

.an-report-curve-card[data-tone="mid"] .an-report-curve-dot {
    left: 48%;
    background: var(--an-orange-2);
    box-shadow: 0 0 0 6px rgba(255, 179, 71, 0.14);
}

.an-report-curve-card[data-tone="good"] .an-report-curve-dot {
    left: 74%;
    background: var(--an-green-2);
    box-shadow: 0 0 0 6px rgba(64, 239, 121, 0.14);
}

.an-report-curve-card small {
    font-size: 0.94rem;
    font-weight: 800;
    text-align: right;
}

.an-report-closing-grid {
    display: grid;
    gap: 14px;
}

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

.an-report-tip-card,
.an-report-closing-card {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
}

.an-report-tip-card--soft {
    background: rgba(184, 76, 255, 0.08);
    grid-column: 1 / -1;
}

.an-report-tip-card p,
.an-report-tip-card small {
    display: block;
    color: #d8d8d8;
}

.an-report-tip-card p {
    margin: 10px 0 0;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.an-report-tip-card small {
    margin-top: 10px;
    font-size: 0.82rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.an-report-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: #ededed;
    line-height: 1.56;
}

.an-report-list li + li {
    margin-top: 8px;
}

.an-report-list--compact {
    margin-top: 10px;
}

.an-report-closing-card strong {
    display: block;
    letter-spacing: -0.03em;
}

.an-report-closing-card p {
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.an-report-closing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.an-report-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 0 2px;
}

.an-btn--nav {
    min-width: 0;
    width: 100%;
    min-height: 54px;
    font-size: 1rem;
}

.an-report-nav-center {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.an-report-dots {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.an-report-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.an-report-dot.is-active {
    background: #ffffff;
    transform: scale(1.16);
}

.an-report-counter {
    color: #b7b7b7;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

@media (min-width: 760px) {
    .an-camera-center {
        width: min(560px, calc(100% - 48px));
    }
}

@media (max-width: 920px) {
    .an-report-hero-block,
    .an-report-metric-hero,
    .an-report-closing-grid {
        grid-template-columns: 1fr;
    }

    .an-report-avatar-card {
        grid-template-columns: auto 1fr;
        justify-items: start;
        text-align: left;
    }

    .an-avatar-wrap--report {
        width: 148px;
    }

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

@media (max-width: 640px) {
    body.an-body--report .an-shell {
        width: calc(100% - 12px);
        padding-top: 10px;
        padding-bottom: 10px;
        gap: 10px;
    }

    body.an-body--report .an-topbar {
        padding: 0 4px;
    }

    .an-report-page-shell {
        padding: 15px;
        border-radius: 28px;
        gap: 12px;
    }

    .an-report-copy h1,
    .an-report-metric-copy h2,
    .an-report-closing-head h2 {
        max-width: none;
        font-size: clamp(1.82rem, 8vw, 2.8rem);
    }

    .an-report-copy p,
    .an-report-metric-copy p,
    .an-report-closing-head p,
    .an-report-closing-card p,
    .an-report-list {
        font-size: 0.94rem;
        line-height: 1.44;
    }

    .an-report-avatar-card {
        justify-items: center;
        text-align: center;
        padding: 14px;
        gap: 8px;
    }

    .an-avatar-wrap--report {
        width: 128px;
    }

    .an-report-scorecard {
        min-height: 132px;
        padding: 12px;
        gap: 8px;
    }

    .an-report-scorecard-value {
        font-size: 2.2rem;
    }

    .an-report-score-pill {
        padding: 12px 14px;
    }

    .an-report-score-pill strong {
        font-size: 1.8rem;
    }

    .an-report-curve-card,
    .an-report-tip-card,
    .an-report-closing-card,
    .an-report-summary-card {
        padding: 14px;
    }

    .an-report-curve-line {
        height: 58px;
    }

    .an-report-curve-dot {
        width: 12px;
        height: 12px;
        top: 15px;
    }

    .an-report-list {
        margin-top: 8px;
        padding-left: 16px;
    }

    .an-report-summary-card--closing {
        flex-direction: column;
        align-items: stretch;
    }

    .an-report-nav {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "center center"
            "prev next";
    }

    .an-report-nav-center {
        grid-area: center;
    }

    #reportPrevBtn {
        grid-area: prev;
    }

    #reportNextBtn {
        grid-area: next;
    }

    .an-btn--nav {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .an-report-cards-grid {
        gap: 10px;
    }

    .an-report-scorecard-head small {
        font-size: 0.84rem;
    }

    .an-report-score-pill {
        width: 100%;
        justify-content: space-between;
    }

    .an-report-page-top {
        flex-direction: column;
        align-items: stretch;
    }

    .an-report-counter {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) and (max-height: 900px) {
    body.an-body--report .an-shell {
        gap: 8px;
    }

    .an-report-page-shell {
        padding: 12px;
        gap: 10px;
    }

    .an-report-copy h1,
    .an-report-metric-copy h2,
    .an-report-closing-head h2 {
        font-size: clamp(1.68rem, 7vw, 2.4rem);
    }

    .an-report-copy p,
    .an-report-metric-copy p,
    .an-report-closing-head p,
    .an-report-tip-card p,
    .an-report-tip-card small,
    .an-report-closing-card p,
    .an-report-counter {
        font-size: 0.86rem;
        line-height: 1.3;
    }

    .an-report-hero-meta {
        margin-top: 10px;
        gap: 6px;
    }

    .an-avatar-wrap--report {
        width: 108px;
    }

    .an-report-score-pill {
        padding: 10px 12px;
    }

    .an-report-score-pill strong {
        font-size: 1.56rem;
    }

    .an-report-scorecard {
        min-height: 112px;
        padding: 10px;
    }

    .an-report-scorecard-value {
        font-size: 1.92rem;
    }

    .an-report-scorecard-foot {
        gap: 8px;
    }

    .an-report-curve-card,
    .an-report-tip-card,
    .an-report-closing-card,
    .an-report-summary-card {
        padding: 10px;
    }

    .an-report-curve-card {
        gap: 8px;
    }

    .an-report-curve-line {
        height: 38px;
    }

    .an-report-curve-line::before {
        border-top-width: 3px;
    }

    .an-report-curve-base {
        height: 8px;
    }

    .an-report-curve-dot {
        width: 10px;
        height: 10px;
        top: 12px;
        box-shadow: 0 0 0 4px rgba(255, 109, 83, 0.12);
    }

    .an-report-tip-grid,
    .an-report-closing-grid {
        gap: 8px;
    }

    .an-report-tip-card p {
        margin-top: 8px;
    }

    .an-report-tip-card small {
        margin-top: 8px;
    }

    .an-btn--nav {
        min-height: 44px;
        padding: 0 16px;
    }
}

@media (max-width: 340px) {
    .an-report-tip-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) and (max-height: 820px) {
    body.an-body--report .an-shell {
        width: calc(100% - 10px);
        gap: 6px;
    }

    .an-report-page-shell {
        padding: 10px;
        gap: 8px;
        border-radius: 26px;
    }

    .an-report-copy h1,
    .an-report-metric-copy h2,
    .an-report-closing-head h2 {
        font-size: clamp(1.54rem, 7vw, 2.12rem);
    }

    .an-report-copy p,
    .an-report-metric-copy p,
    .an-report-closing-head p,
    .an-report-tip-card p,
    .an-report-tip-card small,
    .an-report-closing-card p {
        font-size: 0.82rem;
        line-height: 1.26;
    }

    .an-report-curve-card,
    .an-report-tip-card,
    .an-report-closing-card,
    .an-report-summary-card,
    .an-report-avatar-card {
        padding: 9px;
    }

    .an-avatar-wrap--report {
        width: 96px;
    }

    .an-report-scorecard {
        min-height: 102px;
        padding: 9px;
    }

    .an-report-scorecard-head small,
    .an-report-scorecard-head span {
        font-size: 0.74rem;
    }

    .an-report-scorecard-value {
        font-size: 1.72rem;
    }

    .an-report-score-pill {
        padding: 9px 11px;
    }

    .an-report-score-pill strong {
        font-size: 1.42rem;
    }

    .an-report-tip-grid,
    .an-report-closing-grid,
    .an-report-cards-grid {
        gap: 7px;
    }

    .an-btn--nav {
        min-height: 42px;
        font-size: 0.94rem;
    }
}

@media (max-height: 860px) {
    body.an-body--report .an-shell {
        gap: 8px;
    }

    .an-report-page-shell {
        overflow: hidden;
        padding-right: 12px;
    }

    .an-report-copy h1,
    .an-report-metric-copy h2,
    .an-report-closing-head h2 {
        font-size: clamp(1.9rem, 5vw, 3.2rem);
    }

    .an-report-scorecard {
        min-height: 126px;
    }

    .an-report-scorecard-value {
        font-size: 2.05rem;
    }

    .an-report-curve-line {
        height: 52px;
    }

    .an-report-closing-card,
    .an-report-summary-card,
    .an-report-curve-card,
    .an-report-tip-card {
        padding: 13px;
    }
}

@media (max-height: 700px) {
    body.an-body--report .an-topbar {
        padding: 0 4px;
    }

    .an-report-page-shell {
        gap: 10px;
        padding: 12px;
        border-radius: 24px;
    }

    .an-report-hero-meta {
        margin-top: 12px;
    }

    .an-report-avatar-wrap--report,
    .an-avatar-wrap--report {
        width: 118px;
    }

    .an-report-scorecard {
        min-height: 112px;
        padding: 10px;
    }

    .an-report-scorecard-value {
        font-size: 1.74rem;
    }

    .an-report-copy p,
    .an-report-metric-copy p,
    .an-report-closing-head p,
    .an-report-list,
    .an-report-tip-card p,
    .an-report-tip-card small {
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .an-report-nav {
        gap: 10px;
    }
}

@media (max-height: 760px) {
    .an-screen--preview {
        align-items: start;
        place-items: start center;
        overflow-y: auto;
        padding-top: 58px;
        padding-bottom: 12px;
    }

    .an-preview-app {
        min-height: auto;
        max-height: none;
        padding-bottom: 8px;
        gap: 10px;
    }

    .an-avatar-wrap--preview {
        width: 108px;
    }

    .an-score-card {
        padding: 11px;
        border-radius: 18px;
    }

    .an-score-card-value strong {
        font-size: 2.05rem;
    }

    .an-score-card-value small {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .an-score-card-head {
        margin-bottom: 8px;
    }

    .an-btn--purchase-large {
        min-height: 50px;
        font-size: 0.94rem;
    }

    .an-preview-note {
        font-size: 0.82rem;
        line-height: 1.28;
    }
}

@media (max-height: 680px) {
    .an-topbar {
        padding: 10px 12px;
    }

    .an-pill {
        padding: 7px 10px;
        font-size: 0.68rem;
    }

    .an-screen--preview {
        padding-top: 52px;
    }

    .an-preview-app {
        gap: 8px;
    }

    .an-skin-detail {
        gap: 8px;
        padding: 14px;
        border-radius: 18px;
    }

    .an-skin-score {
        gap: 7px;
    }

    .an-skin-score strong {
        font-size: 2.65rem;
    }

    .an-skin-copy {
        gap: 8px;
    }

    .an-skin-copy h2 {
        font-size: 1.32rem;
    }

    .an-skin-problem p,
    .an-skin-actions p {
        font-size: 0.9rem;
        line-height: 1.26;
    }

    .an-skin-problem span {
        font-size: 0.66rem;
    }

    .an-skin-actions {
        gap: 5px;
    }

    .an-skin-actions div {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 8px;
        padding: 6px 0;
    }

    .an-skin-actions strong {
        width: 24px;
        height: 24px;
        font-size: 0.78rem;
    }

    .an-slide-study {
        font-size: 0.66rem;
    }

    .an-locked-gate {
        width: min(300px, calc(100% - 28px));
        gap: 8px;
        padding: 14px 14px 15px;
        border-radius: 18px;
    }

    .an-locked-gate span {
        min-height: 28px;
        padding: 0 12px;
        font-size: 0.64rem;
    }

    .an-locked-gate strong {
        font-size: 0.98rem;
    }

    .an-locked-gate ul {
        gap: 6px;
    }

    .an-locked-gate li {
        padding-left: 19px;
        font-size: 0.78rem;
        line-height: 1.22;
    }

    .an-avatar-wrap--preview {
        width: 94px;
    }

    .an-score-grid {
        gap: 8px;
    }

    .an-score-card {
        padding: 10px;
    }

    .an-score-card-head span {
        font-size: 0.68rem;
    }

    .an-score-card-value strong {
        font-size: 1.82rem;
    }

    .an-score-card-value small {
        font-size: 0.84rem;
    }

    .an-score-track {
        height: 10px;
    }

    .an-btn--purchase-large {
        min-height: 48px;
        font-size: 0.9rem;
    }
}

@media (max-height: 600px) {
    .an-top-meta .an-pill:first-child {
        display: none;
    }

    .an-screen--preview {
        padding-top: 48px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .an-preview-app {
        gap: 7px;
    }

    .an-avatar-wrap--preview {
        width: 82px;
    }

    .an-score-card {
        padding: 9px;
        border-radius: 16px;
    }

    .an-score-card-head {
        margin-bottom: 7px;
    }

    .an-score-card-head span {
        font-size: 0.64rem;
    }

    .an-score-card-value {
        gap: 7px;
    }

    .an-score-card-value strong {
        font-size: 1.66rem;
    }

    .an-score-card-value small {
        font-size: 0.8rem;
    }

    .an-preview-note {
        font-size: 0.78rem;
    }

    .an-locked-gate {
        gap: 7px;
        padding: 12px;
    }

    .an-locked-gate strong {
        font-size: 0.9rem;
    }

    .an-locked-gate li {
        font-size: 0.72rem;
        line-height: 1.16;
    }
}

@media (max-height: 580px) {
    body.an-body--app .an-topbar {
        display: none;
    }

    .an-topbar {
        padding: 6px 8px;
    }

    .an-brand img {
        width: 28px;
        height: 28px;
        border-radius: 9px;
    }

    .an-top-meta {
        display: none;
    }

    .an-pill {
        padding: 6px 9px;
        font-size: 0.64rem;
    }

    .an-screen--preview {
        padding-top: 8px;
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 6px;
    }

    .an-preview-app {
        gap: 6px;
    }

    .an-preview-top {
        padding-top: 0;
    }

    .an-avatar-wrap--preview {
        width: 64px;
    }

    .an-avatar-ring {
        inset: -4px;
    }

    .an-score-grid {
        gap: 6px;
    }

    .an-score-card {
        padding: 7px;
        border-radius: 12px;
    }

    .an-score-card-head {
        margin-bottom: 5px;
    }

    .an-score-card-head span {
        font-size: 0.56rem;
    }

    .an-score-card-value {
        gap: 5px;
    }

    .an-score-card-value strong {
        font-size: 1.34rem;
    }

    .an-score-card-value small {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }

    .an-score-track {
        height: 8px;
    }

    .an-preview-bottom {
        gap: 4px;
    }

    .an-btn--purchase-large {
        min-height: 40px;
        font-size: 0.8rem;
    }

    .an-preview-note {
        display: none;
    }
}

@media (max-width: 520px) {
    .an-topbar {
        padding: 12px;
    }

    .an-brand span {
        display: none;
    }

    .an-top-meta {
        gap: 6px;
    }

    .an-pill {
        padding: 7px 10px;
        font-size: 0.7rem;
    }

    .an-camera-mask {
        inset: 13% 7% 24%;
    }

    .an-camera-mask::before {
        inset: 16% 16%;
    }

    .an-preview-app {
        width: min(100%, 440px);
    }

    .an-score-card-head span {
        font-size: 0.72rem;
    }
}
