/* Kenhub Anatomy Quiz - Styles matching approved prototype */

@font-face {
    font-family: "PlutoSansRegular";
    src: url("https://www.kenhub.com/assets/29357C_0_0-85b95d4ced2d9dd80c19a0b9901806c5f8323642b56e9c5c9683cd25bab573a8.digested.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "PlutoSansLight";
    src: url("https://www.kenhub.com/assets/29357C_1_0-5f3de7b9aaf027050c5cb075e6b2e40372c1fd70aecd170f72df06980e24a0fe.digested.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "PlutoSansMedium";
    src: url("https://www.kenhub.com/assets/29357C_2_0-f8cb25748cdd1aaaf3bba8326b0d7e8b3b8b24071c2cab1686e6997d92afdc90.digested.woff2") format("woff2");
    font-display: swap;
}

/* Kenhub branded icon utility */
.kh-icon { display:inline-block; vertical-align:middle; flex-shrink:0; }
.kh-icon--sm { width:20px; height:20px; }
.kh-icon--md { width:20px; height:20px; }
.kh-icon--lg { width:48px; height:48px; }
.kh-icon svg { display:block; width:100%; height:100%; }

:root {
    --regular: PlutoSansRegular, Helvetica, Arial, sans-serif;
    --light: PlutoSansLight, Helvetica, Arial, sans-serif;
    --medium: PlutoSansMedium, Helvetica, Arial, sans-serif;
    --blue: #09f;
    --dark: #3A5062;
    --text: #495354;
    --light-bg: #f7f7f7;
    --green: #5ed29f;
    --red: #ec8e8e;
    --gold: #ffc026;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    font-family: var(--regular);
    -webkit-font-smoothing: antialiased;
}

body {
    background: #fff;
    color: var(--text);
    line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: #0188e4; }

.l-container {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ======================
   LANDING PAGE STYLES
   ====================== */

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo svg {
    display: block;
}

/* Desktop topbar — matches kenhub.com .l-topbar */
.l-topbar {
    background-color: #fff;
    position: relative;
    z-index: 10;
}

.l-topbar .l-topbar-container {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
}

.l-topbar .logo {
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 0;
    z-index: 1;
}

.l-topbar .logo svg,
.l-topbar .logo {
    display: block;
    max-width: 100px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

@media (max-width: 1023px) {
    .l-topbar {
        display: none;
    }
}

/* Mobile topbar — matches kenhub.com .l-topbar-mobile */
.l-topbar-mobile {
    display: none;
}

@media (max-width: 1023px) {
    .l-topbar-mobile {
        background-color: #3a5062;
        display: flex;
        align-items: center;
        width: 100%;
        height: 58px;
        position: sticky;
        top: -1px;
        z-index: 700;
        padding: 0 15px;
    }
}

.l-topbar-mobile .mobile-logo {
    display: block;
    padding: 12px;
    margin-left: -12px;
    overflow: hidden;
}

.l-topbar-mobile .mobile-logo svg {
    display: block;
    border-radius: 2px;
}

/* Full Logo Styles */
.logo-full {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-full .logo-k svg {
    display: block;
}

.logo-full .logo-text {
    color: var(--dark);
    font-family: var(--medium);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

/* On dark backgrounds, make text white */
.hero .logo-full .logo-text {
    color: #fff;
}

.l-hero .logo-full .logo-text {
    color: #fff;
}

.header-links a {
    margin-left: 24px;
    font-size: 14px;
    color: var(--text);
}

.header-links a:hover { color: var(--blue); }

/* Hero */
.hero {
    background: linear-gradient(180deg, var(--dark) 0%, #2d3e4d 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.hero h1 {
    font-family: var(--light);
    font-size: 44px;
    font-weight: normal;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--blue);
}

.hero > .l-container > p {
    font-family: var(--light);
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 400 16px var(--medium);
    padding: 0 32px;
    height: 52px;
    border-radius: 3px;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue);
    border: 0;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn:hover { background: #0188e4; color: #fff; }

/* Hero form — inline name + button */
.hero-form {
    margin-top: 32px;
}

.hero-form-row {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    gap: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.hero-form-row input {
    flex: 1;
    padding: 0 20px;
    height: 56px;
    font-size: 16px;
    font-family: var(--regular);
    border: none;
    outline: none;
    color: var(--dark);
    min-width: 0;
}

.hero-form-row input::placeholder {
    color: #adb3b9;
}

.hero-form-row--dark {
    background: var(--dark);
}

.hero-form-row--dark input {
    background: var(--dark);
    color: #fff;
}

.hero-form-row--dark input::placeholder {
    color: rgba(255,255,255,0.5);
}

.hero-form-row .btn {
    height: 56px;
    border-radius: 0;
    padding: 0 28px;
    font-size: 15px;
    flex-shrink: 0;
}

/* Trust bar under hero form */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-item {
    font-family: var(--regular);
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}

/* Mobile hero */
@media (max-width: 600px) {
    .hero {
        padding: 40px 0 36px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero > .l-container > p {
        font-size: 15px;
    }
    .hero-form {
        margin-top: 24px;
    }
    .hero-form-row {
        flex-direction: column;
        border-radius: 4px;
        overflow: visible;
    }
    .hero-form-row input {
        border-radius: 6px 6px 0 0;
        height: 56px;
        min-height: 56px;
        text-align: center;
        font-size: 18px;
        padding: 14px 20px;
        box-sizing: border-box;
    }
    .hero-form-row .btn {
        border-radius: 0 0 6px 6px;
        height: 56px;
        min-height: 56px;
        width: 100%;
    }
    .trust-bar {
        gap: 12px;
    }
    .trust-item {
        font-size: 12px;
    }
}

/* How It Works */
/* Sample Question */
.sample-section {
    padding: 60px 0;
    background: #f5f7fa;
}
.sample-section h2 {
    font-family: var(--light);
    font-size: 28px;
    color: var(--dark);
    text-align: center;
    margin-bottom: 32px;
    font-weight: normal;
}
.sample-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}
.sample-header {
    background: var(--dark);
    color: #fff;
    padding: 14px 20px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    opacity: 0.9;
}
.sample-body {
    padding: 28px;
}
.sample-image {
    text-align: center;
    margin-bottom: 20px;
}
.sample-image img {
    max-width: 100%;
    max-height: 220px;
    border-radius: 4px;
}
.sample-question {
    font-family: var(--medium);
    font-size: 17px;
    color: var(--dark);
    margin-bottom: 16px;
    text-align: center;
}
.sample-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (max-width: 500px) {
    .sample-options { grid-template-columns: 1fr; }
}
.sample-option {
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    color: var(--dark);
}
.sample-option:hover {
    border-color: var(--blue);
    background: #f0f9ff;
}
.sample-option.correct {
    border-color: #4caf50;
    background: #e8f5e9;
    color: #2e7d32;
}
.sample-option.wrong {
    border-color: #e53935;
    background: #ffebee;
    color: #c62828;
}

.how-it-works {
    padding: 48px 0;
    background: var(--light-bg);
}

.steps {
    display: flex;
    gap: 32px;
    max-width: 780px;
    margin: 0 auto;
}

.step {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--medium);
    font-size: 14px;
}

.step-text strong {
    display: block;
    font-family: var(--medium);
    font-weight: normal;
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 4px;
}

.step-text span {
    font-family: var(--light);
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
}

@media (max-width: 600px) {
    .steps {
        flex-direction: column;
        gap: 20px;
    }
}

/* Bottom CTA */
.bottom-cta {
    background: var(--dark);
    padding: 48px 0;
    text-align: center;
}

.bottom-cta .proof {
    font-family: var(--light);
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.bottom-cta .proof strong {
    font-family: var(--medium);
    color: var(--blue);
    font-weight: normal;
}

/* Footer */
footer {
    background: #2d3e4d;
    padding: 20px 0;
}

footer .l-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .footer-brand {
    font-family: var(--regular);
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

footer .footer-links a {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    margin-left: 20px;
}

footer .footer-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 600px) {
    footer .l-container {
        flex-direction: column;
        gap: 8px;
    }
    footer .footer-links a {
        margin: 0 10px;
    }
}

/* ======================
   QUIZ PAGE STYLES
   ====================== */

.quiz-body {
    background: linear-gradient(180deg, var(--dark) 0%, #2d3e4d 100%);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .quiz-container {
        padding: 12px;
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    }
}

/* Quiz Header */
.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    font-size: 14px;
}

.score-display {
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

@media (max-width: 600px) {
    .quiz-header {
        padding: 8px 0;
        margin-bottom: 10px;
    }
    .progress-info {
        gap: 10px;
        font-size: 12px;
    }
    .score-display {
        padding: 4px 10px;
    }
    .logo svg {
        height: 28px;
        width: 28px;
    }
}

/* Progress Bar */
.progress-bar {
    background: rgba(255,255,255,0.2);
    height: 6px;
    border-radius: 3px;
    margin-bottom: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .progress-bar {
        height: 4px;
        margin-bottom: 10px;
    }
}

.progress-fill {
    height: 100%;
    background: var(--blue);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Question Card */
.question-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.question-header {
    background: #f7f7f7;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.question-number {
    font-family: var(--medium);
    color: var(--dark);
    font-size: 14px;
}

.timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
}

.timer-bar {
    width: 80px;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.timer-fill {
    height: 100%;
    background: var(--green);
    transition: width 0.1s linear, background 0.3s;
    width: 100%;
}

.timer-fill.warning { background: #ffc026; }
.timer-fill.danger { background: var(--red); }

#timerPoints {
    min-width: 40px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
    .question-header {
        padding: 10px 16px;
    }
    .question-number {
        font-size: 12px;
    }
    .timer {
        font-size: 12px;
        gap: 6px;
    }
    .timer-bar {
        width: 60px;
        height: 4px;
    }
    .timer span:first-child {
        display: none;
    }
}

.question-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .question-body {
        padding: 12px;
    }
}

.question-image {
    text-align: center;
    margin-bottom: 12px;
    flex-shrink: 1;
    min-height: 80px;
}

.question-image img {
    max-width: 100%;
    max-height: 45vh;
    max-height: 45dvh;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    object-fit: contain;
}

@media (max-width: 600px) {
    .question-image {
        margin-bottom: 8px;
        min-height: 60px;
    }
    .question-image img {
        max-height: none;
        width: 100%;
    }
}

.question-text {
    font-family: var(--medium);
    font-size: 18px;
    color: var(--dark);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.3;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .question-text {
        font-size: 15px;
        margin-bottom: 12px;
    }
}

.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .options { 
        grid-template-columns: 1fr 1fr; 
        gap: 6px;
    }
}

.option {
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    color: var(--text);
    background: #fff;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .option {
        padding: 8px 6px;
        font-size: 11px;
        min-height: 40px;
        line-height: 1.3;
        word-break: break-word;
    }
}

.option:hover {
    border-color: var(--blue);
    background: #f0f9ff;
}

.option.selected {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.option.correct {
    border-color: var(--green);
    background: #e8f5e9;
    color: #2e7d32;
}

.option.incorrect {
    border-color: var(--red);
    background: #ffebee;
    color: #c62828;
}

.option.disabled {
    pointer-events: none;
}

/* Feedback — ultra-compact inline bar */
.feedback {
    display: none;
    flex-shrink: 0;
    padding: 6px 12px;
    margin-top: 8px;
    border-radius: 6px;
}

.feedback.correct {
    background: #e8f5e9;
    color: #2e7d32;
}

.feedback.incorrect {
    background: #ffebee;
    color: #c62828;
}

.feedback.timeout {
    background: #fff3e0;
    color: #e65100;
}

.feedback .feedback-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.feedback h3 {
    font-family: var(--medium);
    font-size: 13px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.feedback h3 svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
}

.feedback .feedback-dot {
    font-size: 13px;
    opacity: 0.5;
}

.points-earned {
    font-family: var(--medium);
    font-size: 13px;
    margin: 0;
    display: inline;
}

.feedback p {
    font-size: 11px;
    margin: 2px 0 0;
    text-align: center;
    opacity: 0.85;
}

.feedback p:empty {
    display: none;
}

.next-btn {
    display: none;
    margin: 6px auto 0;
    font: 400 13px var(--medium);
    padding: 0 24px;
    height: 38px;
    line-height: 38px;
    border-radius: 3px;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue);
    border: 0;
    cursor: pointer;
    flex-shrink: 0;
    min-height: 38px;
}

@media (max-width: 600px) {
    .next-btn {
        margin-top: 6px;
        height: 36px;
        line-height: 36px;
        padding: 0 20px;
        font-size: 12px;
        min-height: 36px;
    }
}

.next-btn:hover { background: #0188e4; }

/* ======================
   RESULTS PAGE STYLES
   ====================== */

.results-body {
    background: linear-gradient(180deg, var(--dark) 0%, #2d3e4d 100%);
    min-height: 100vh;
    min-height: 100dvh;
}

.results-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 16px;
}

@media (max-width: 500px) {
    .results-container {
        padding: 12px;
    }
}

.results-header {
    text-align: center;
    padding: 12px 0;
}

.results-card {
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    text-align: center;
}

.tier-banner {
    padding: 28px 32px;
    color: #fff;
}

.tier-banner.master { background: linear-gradient(135deg, #006ad0 0%, #0088e4 100%); }
.tier-banner.expert { background: linear-gradient(135deg, #0099ff 0%, #007acc 100%); }
.tier-banner.proficient { background: linear-gradient(135deg, #2d6a8a 0%, #3A5062 100%); }
.tier-banner.apprentice { background: linear-gradient(135deg, #3A5062 0%, #4a6478 100%); }
.tier-banner.novice { background: linear-gradient(135deg, #2d3e4d 0%, #3A5062 100%); }

.tier-icon {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tier-icon svg {
    width: 48px;
    height: 48px;
    stroke: #fff;
    stroke-width: 1.5;
    fill: none;
}

.tier-title {
    font-family: var(--medium);
    font-size: 26px;
    margin-bottom: 6px;
}

.tier-subtitle {
    font-family: var(--light);
    font-size: 16px;
    opacity: 0.9;
}

.score-section {
    padding: 40px 32px;
    border-bottom: 1px solid #eee;
}

.score-big {
    font-family: var(--medium);
    font-size: 72px;
    color: var(--blue);
    line-height: 1;
}

.score-label {
    font-size: 16px;
    color: var(--text);
    margin-top: 8px;
}

.score-breakdown {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 24px;
}

.score-stat {
    text-align: center;
}

.score-stat-value {
    font-family: var(--medium);
    font-size: 28px;
    color: var(--dark);
}

.score-stat-label {
    font-size: 14px;
    color: var(--text);
}

/* Share Compact */
.share-compact {
    text-align: center;
    padding: 24px 20px;
    border-bottom: 1px solid #eee;
}

.share-compact-label {
    font: 600 14px var(--medium);
    color: var(--text);
    margin-bottom: 16px;
}

.share-compact-row {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.share-labeled-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
}

.share-labeled-btn:hover {
    transform: translateY(-2px);
}

.share-labeled-btn svg {
    width: 24px;
    height: 24px;
    padding: 12px;
    border-radius: 50%;
}

.share-labeled-btn span {
    font: 400 12px var(--regular);
    color: var(--light-text);
}

.share-labeled-btn.whatsapp svg { background: #25d366; fill: #fff; stroke: none; }
.share-labeled-btn.telegram svg { background: #0088cc; fill: #fff; stroke: none; }
.share-labeled-btn.copy svg { background: #f0f0f0; stroke: #666; fill: none; }
.share-labeled-btn.copy.copied svg { background: #25c281; stroke: #fff; }

.actions-row {
    text-align: center;
    padding: 20px 0;
}

/* Share Section */
.share-section {
    padding: 32px;
    background: #f7f7f7;
}

.share-title {
    font-family: var(--medium);
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 8px;
}

.share-subtitle {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 24px;
}

/* Primary Copy Button */
.share-btn-primary {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 24px;
    padding: 20px 32px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font: 500 18px var(--medium);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(9, 153, 255, 0.2);
}

.share-btn-primary:hover {
    background: #0188e4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 153, 255, 0.3);
}

.share-btn-primary.copied {
    background: var(--green);
    box-shadow: 0 4px 12px rgba(94, 210, 159, 0.2);
}

.share-btn-primary.copied:hover {
    background: var(--green);
}

/* Secondary Share Buttons */
.share-buttons-secondary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.share-buttons-secondary .share-btn.whatsapp {
    flex: 1 1 100%;
    justify-content: center;
}

.share-buttons-secondary .share-btn.telegram,
.share-buttons-secondary .share-btn.copy {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 6px;
    font: 400 14px var(--medium);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn.whatsapp { background: #25d366; color: #fff; }
.share-btn.telegram { background: #0088cc; color: #fff; }
.share-btn.copy { background: none; border: 1px solid #ddd; color: var(--text); }
.share-btn.copy:hover { border-color: var(--blue); color: var(--blue); }
.share-btn.copy.copied { border-color: var(--green); color: var(--green); }
.share-btn.signal { background: #3a76f0; color: #fff; }
.share-btn.signal svg { fill: #fff; stroke: none; }

.share-btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 10px 20px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    font: 400 13px var(--regular);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn-copy:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.share-btn-copy.copied {
    border-color: var(--green);
    color: var(--green);
}

.btn-new-quiz {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    font: 400 14px var(--medium);
    color: var(--blue);
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--blue);
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-new-quiz:hover {
    background: var(--blue);
    color: #fff;
}

.new-quiz-cta {
    text-align: center;
    margin-top: 24px;
}

/* CTA Section */
/* Wordle grid inline with score */
.wordle-inline {
    margin-bottom: 16px;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.4;
    word-break: break-all;
    text-align: center;
}

/* Clean share section */
.share-section-clean {
    padding: 0 0 16px;
    text-align: center;
}

.cta-section-compact {
    padding: 16px 0 0;
    text-align: center;
    border-top: 1px solid #eee;
}
.cta-compact-text {
    font: 400 14px var(--regular);
    color: var(--text);
    line-height: 1.5;
}
.cta-compact-text a {
    color: var(--blue);
    font-family: var(--medium);
    text-decoration: none;
}

/* Try Again subtle link */
.try-again-subtle {
    text-align: center;
    padding: 12px 0 24px;
}
.try-again-subtle a {
    font: 400 13px var(--regular);
    color: var(--text);
    text-decoration: none;
    opacity: 0.6;
}
.try-again-subtle a:hover { opacity: 1; }

.cta-section {
    padding: 40px 32px;
}

.cta-title {
    font-family: var(--light);
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 12px;
}

.cta-text {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.6;
}

.cta-checks-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font: 400 14px var(--regular);
    color: var(--text);
}

.cta-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.4;
}

.cta-feature .check {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-feature .check svg {
    width: 18px;
    height: 18px;
    stroke: var(--green);
    stroke-width: 2.5;
    fill: none;
}

.share-title-icon {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 8px;
}

.share-title-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--dark);
    stroke-width: 2;
    fill: none;
}

.share-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.btn-secondary {
    display: block;
    margin-top: 16px;
    color: var(--blue);
    font-size: 14px;
    text-decoration: none;
}

.btn-secondary:hover { text-decoration: underline; }

.results-footer {
    text-align: center;
    padding: 32px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    background: transparent;
}

.results-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.results-footer a:hover { color: #fff; }

/* ======================
   CHALLENGE/COMPARE PAGE STYLES
   ====================== */

.challenge-body {
    background: linear-gradient(180deg, var(--dark) 0%, #2d3e4d 100%);
    min-height: 100vh;
    min-height: 100dvh;
}

.challenge-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
}

@media (max-width: 500px) {
    .challenge-container {
        padding: 12px;
    }
}

.challenge-header-section {
    text-align: center;
    padding: 12px 0;
}

.challenge-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    text-align: center;
}

.challenge-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
    padding: 28px 32px;
    color: #fff;
}

.challenge-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.challenge-icon svg {
    width: 56px;
    height: 56px;
    stroke: #fff;
    stroke-width: 1.5;
    fill: none;
}

.challenge-title {
    font-family: var(--medium);
    font-size: 28px;
    margin-bottom: 8px;
}

.challenge-subtitle {
    font-family: var(--light);
    font-size: 18px;
    opacity: 0.9;
}

.score-to-beat {
    padding: 40px 32px 0;
    background: #fff;
    border-bottom: none;
}

.score-to-beat-label {
    font-size: 14px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.score-to-beat-value {
    font-family: var(--medium);
    font-size: 72px;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -1px;
}

.score-to-beat-tier {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    background: var(--dark);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
}

.challenge-cta-section {
    padding: 20px 32px 32px;
}

.cta-text {
    font-family: var(--light);
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 32px;
}

.comparison-result {
    display: none;
}

.comparison-result.show {
    display: block;
}

.comparison-header {
    padding: 32px;
}

.comparison-header.winner {
    background: linear-gradient(135deg, var(--green) 0%, #48c891 100%);
    color: #fff;
}

.comparison-header.loser {
    background: linear-gradient(135deg, var(--red) 0%, #e57373 100%);
    color: #fff;
}

.comparison-header.tie {
    background: linear-gradient(135deg, #ffc026 0%, #ffb300 100%);
    color: #fff;
}

.comparison-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-icon svg {
    width: 64px;
    height: 64px;
    stroke: #fff;
    stroke-width: 1.5;
    fill: none;
}

.score-to-beat-tier svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
    display: inline;
    vertical-align: middle;
    margin-right: 4px;
}

.comparison-title {
    font-family: var(--medium);
    font-size: 32px;
    margin-bottom: 8px;
}

.comparison-subtitle {
    font-family: var(--light);
    font-size: 18px;
    opacity: 0.9;
}

.scores-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 32px;
    background: #fff;
}

@media (max-width: 500px) {
    .scores-comparison {
        gap: 16px;
        padding: 24px 16px;
    }
    .scores-comparison .score-column-value { font-size: 32px; }
    .scores-comparison .score-column-label { font-size: 11px; }
    .scores-comparison .vs-badge { width: 36px; height: 36px; font-size: 11px; }
}

.score-column {
    text-align: center;
}

.score-column-label {
    font-size: 14px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.score-column-value {
    font-family: var(--medium);
    font-size: 48px;
    line-height: 1;
}

.score-column-value.you { color: var(--blue); }
.score-column-value.them { color: var(--dark); }

.score-column-diff {
    margin-top: 8px;
    font-size: 14px;
}

.score-column-diff.positive { color: var(--green); }
.score-column-diff.negative { color: var(--red); }

.vs-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--dark);
    color: #fff;
    border-radius: 50%;
    font-family: var(--medium);
    font-size: 14px;
    align-self: center;
}

.post-comparison {
    padding: 20px 24px 24px;
}

/* Fresh quiz CTA button (losers) */
.btn-fresh-quiz {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: var(--blue);
    color: #fff;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    font: 500 16px var(--medium);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.2);
    margin-top: 8px;
}
.btn-fresh-quiz:hover {
    background: #0188e4;
    color: #fff;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 24px 0;
}

.kenhub-cta {
    text-align: center;
}

.kenhub-cta p {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 16px;
}

.btn-secondary-cta {
    display: inline-block;
    font: 400 14px var(--medium);
    padding: 0 32px;
    height: 48px;
    line-height: 48px;
    border-radius: 4px;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue);
    text-decoration: none;
}

.btn-secondary-cta:hover { background: #0188e4; color: #fff; }

/* Kenhub CTA Card */
.kenhub-cta-card {
    margin: 20px 24px 0;
    padding: 20px;
    background: #f5f8fb;
    border-radius: 10px;
    text-align: center;
}

.kenhub-cta-emoji {
    font-size: 24px;
    margin-bottom: 8px;
}

.kenhub-cta-title {
    font: 600 15px var(--medium);
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.4;
}

.kenhub-cta-text {
    font: 400 13px var(--regular);
    color: #666;
    margin-bottom: 14px;
    line-height: 1.5;
}

.kenhub-cta-btn {
    display: inline-block;
    font: 400 14px var(--medium);
    padding: 10px 28px;
    border-radius: 6px;
    color: #fff;
    background: var(--blue);
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s;
}

.kenhub-cta-btn:hover {
    background: #0188e4;
    color: #fff;
}

.kenhub-cta-proof {
    font: 400 11px var(--regular);
    color: #999;
    margin-top: 10px;
    margin-bottom: 0;
}

.challenge-footer {
    text-align: center;
    padding: 32px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    background: transparent;
}

.challenge-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

/* Mobile Optimizations */
@media (max-width: 500px) {
    .challenge-header-section {
        padding: 16px 0 24px;
    }
    .challenge-header {
        padding: 28px 20px;
    }
    .challenge-icon svg {
        width: 44px;
        height: 44px;
    }
    .challenge-icon {
        margin-bottom: 12px;
    }
    .challenge-title {
        font-size: 22px;
    }
    .challenge-subtitle {
        font-size: 15px;
    }
    .score-to-beat {
        padding: 28px 20px;
    }
    .score-to-beat-value {
        font-size: 48px;
    }
    .score-to-beat-tier {
        font-size: 13px;
        padding: 5px 12px;
    }
    .challenge-cta-section {
        padding: 28px 20px;
    }
    .cta-text {
        font-size: 17px;
        margin-bottom: 24px;
    }
    .btn {
        font-size: 15px;
        padding: 0 40px;
        height: 52px;
        line-height: 52px;
        min-height: 44px;
    }
    .comparison-header {
        padding: 28px 20px;
    }
    .comparison-icon svg {
        width: 48px;
        height: 48px;
    }
    .comparison-icon {
        margin-bottom: 12px;
    }
    .comparison-title {
        font-size: 24px;
    }
    .comparison-subtitle {
        font-size: 15px;
    }
    .scores-comparison {
        padding: 28px 20px;
        gap: 20px;
    }
    .score-column-value {
        font-size: 36px;
    }
    .vs-badge {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    .post-comparison {
        padding: 24px 16px;
    }
    .share-btn {
        padding: 10px 18px;
        font-size: 13px;
        min-height: 44px;
    }
    .btn-secondary-cta {
        height: 44px;
        line-height: 44px;
        font-size: 13px;
        padding: 0 24px;
    }
    .tier-banner {
        padding: 24px 20px;
    }
    .tier-icon {
        margin-bottom: 8px;
    }
    .tier-title { 
        font-size: 22px; 
    }
    .tier-subtitle {
        font-size: 14px;
    }
    .score-section {
        padding: 28px 20px;
    }
    .score-big { 
        font-size: 48px; 
    }
    .score-label {
        font-size: 14px;
    }
    .score-breakdown { 
        gap: 20px;
        margin-top: 20px; 
    }
    .score-stat-value {
        font-size: 22px;
    }
    .score-stat-label {
        font-size: 12px;
    }
    .share-section {
        padding: 24px 16px;
    }
    .share-title {
        font-size: 18px;
    }
    .share-subtitle {
        font-size: 13px;
    }
    .share-buttons {
        gap: 8px;
    }
    .share-btn {
        padding: 10px 18px;
        font-size: 13px;
        min-height: 44px;
    }
    .share-btn-primary {
        padding: 16px 24px;
        font-size: 16px;
    }
    .share-buttons-secondary {
        gap: 8px;
    }
    .cta-section {
        padding: 28px 20px;
    }
    .cta-title {
        font-size: 20px;
    }
    .cta-text {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .cta-features {
        gap: 12px;
        margin-bottom: 20px;
    }
    .cta-feature {
        font-size: 13px;
    }
    .btn {
        padding: 0 32px;
        height: 48px;
        line-height: 48px;
        font-size: 14px;
        min-height: 44px;
    }
    .btn-secondary {
        font-size: 13px;
        margin-top: 12px;
    }
}

/* ======================
   UTILITIES
   ====================== */

/* Issue #5: Image loading spinner */
.img-loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #eee;
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Issue #3: Option buttons — reset button styling */
button.option {
    font-family: var(--regular);
    appearance: none;
    -webkit-appearance: none;
}
button.option:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

/* Issue #1: Loading state while checking answer */
.option.checking {
    opacity: 0.7;
    position: relative;
}
.option.checking::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Issue #12: Native share button */
.share-btn.native-share {
    background: var(--blue);
    color: #fff;
    flex: 1 1 100%;
    justify-content: center;
}
.share-btn.native-share:hover {
    background: #0188e4;
}

/* Issue #10: Inline error message */
.inline-error {
    color: #c62828;
    font: 400 13px var(--regular);
    margin-top: 8px;
    text-align: center;
    min-height: 20px;
}

.hidden { display: none !important; }
.text-center { text-align: center; }

/* ======================
   SHARE CARD (Results)
   ====================== */
.share-card {
    margin: 0;
    padding: 24px;
    background: #f8fafb;
    border-top: none;
    text-align: center;
}
.share-card-heading {
    font: 600 24px var(--medium);
    color: var(--dark);
    margin-bottom: 8px;
}
.share-card-sub {
    font: 400 14px var(--regular);
    color: var(--text);
    margin-bottom: 20px;
}
@media (max-width: 500px) {
    .share-card { padding: 24px 16px; }
    .share-card-heading { font-size: 20px; }
}

/* ======================
   STICKY CTA BAR (Mobile)
   ====================== */
.sticky-cta-bar {
    display: none;
}
@media (max-width: 768px) {
    .sticky-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--dark);
        padding: 10px 16px;
        align-items: center;
        justify-content: center;
        gap: 12px;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
    }
    .sticky-cta-bar a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font: 400 14px var(--medium);
        padding: 12px 28px;
        border-radius: 4px;
        color: #fff;
        background: var(--blue);
        text-decoration: none;
        text-transform: uppercase;
        white-space: nowrap;
        min-height: 44px;
    }
    .sticky-cta-bar a:hover { background: #0188e4; }
    /* Add bottom padding to body so sticky bar doesn't cover content */
    .results-body { padding-bottom: 80px; }
    .challenge-body { padding-bottom: 80px; }
}

/* ======================
   DE-EMPHASIZED NEW QUIZ LINK
   ====================== */
.new-quiz-subtle {
    text-align: center;
    padding: 20px 32px 32px;
}
.new-quiz-subtle a {
    font: 400 13px var(--regular);
    color: #999;
    text-decoration: none;
}
.new-quiz-subtle a:hover {
    color: var(--blue);
    text-decoration: underline;
}

/* ======================
   CHALLENGE PAGE CONTEXT
   ====================== */
.challenge-context {
    font: 400 14px var(--regular);
    color: var(--text);
    margin-top: 12px;
    opacity: 0.7;
}

/* Challenge Form Redesign */
.challenge-form-wrapper {
    margin: 0;
}

.challenge-form-row {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 153, 255, 0.15);
    border: 2px solid #e0e4e8;
    transition: border-color 0.2s;
}

.challenge-form-row:focus-within {
    border-color: var(--blue);
    box-shadow: 0 4px 24px rgba(0, 153, 255, 0.25);
}

.challenge-name-input {
    flex: 1;
    padding: 0 20px;
    height: 56px;
    font-size: 16px;
    font-family: var(--regular);
    border: none;
    outline: none;
    background: #fff;
    color: var(--dark);
    min-width: 0;
}

.challenge-name-input::placeholder {
    color: #a0a8b0;
}

.challenge-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 400 15px var(--medium);
    padding: 0 28px;
    height: 56px;
    background: var(--blue);
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.challenge-start-btn:hover {
    background: #0188e4;
}

@media (max-width: 600px) {
    .challenge-form-row {
        flex-direction: column;
        border-radius: 6px;
        overflow: visible;
        border: none;
        box-shadow: 0 4px 24px rgba(0,0,0,0.12);
        gap: 0;
    }
    .challenge-name-input {
        border: none;
        border-radius: 6px 6px 0 0;
        height: 56px;
        min-height: 56px;
        text-align: center;
        font-size: 18px;
        padding: 14px 20px;
        box-sizing: border-box;
        background: #fff;
    }
    .challenge-name-input:focus {
        box-shadow: none;
    }
    .challenge-start-btn {
        width: 100%;
        border-radius: 0 0 6px 6px;
        height: 56px;
        min-height: 56px;
        font-size: 16px;
    }
}

.challenge-social-proof {
    font: 400 13px var(--regular);
    color: var(--text);
    margin-top: 10px;
    opacity: 0.6;
}
.challenge-trust {
    font: 400 12px var(--regular);
    color: #999;
    margin-top: 8px;
}

/* ======================
   TIMER TIMEOUT FEEDBACK
   ====================== */
.feedback.timeout {
    background: #fff8e1;
    color: #f57c00;
}

/* ======================
   QUIZ ERROR RECOVERY
   ====================== */
.quiz-error-msg {
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    max-width: 500px;
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    font: 400 14px var(--regular);
    color: #e65100;
}
.quiz-error-msg .retry-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 24px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font: 400 14px var(--medium);
    cursor: pointer;
    text-transform: uppercase;
}
.quiz-error-msg .retry-btn:hover { background: #0188e4; }

/* ======================
   SCORE COUNT-UP
   ====================== */
.tier-banner-hidden {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.tier-banner-visible {
    opacity: 1;
    transform: scale(1);
}

/* ======================
   WORDLE GRID
   ====================== */
.wordle-preview {
    background: #1a2a36;
    border-radius: 8px;
    padding: 14px;
    margin: 0 auto 16px;
    max-width: 300px;
}
.wordle-grid {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.4;
    word-break: break-all;
    text-align: center;
}
.wordle-meta {
    font: 400 13px var(--regular);
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}

/* ======================
   TRY AGAIN BUTTON
   ====================== */
.try-again-section {
    padding: 24px 32px 0;
    text-align: center;
}
.btn-try-again {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font: 400 15px var(--medium);
    padding: 14px 28px;
    border: 2px solid var(--blue);
    border-radius: 8px;
    color: var(--blue);
    background: #f0f9ff;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-try-again:hover {
    background: var(--blue);
    color: #fff;
}

/* ======================
   NATIVE SHARE PRIMARY
   ====================== */
.native-share-primary {
    background: #25c281;
    margin-bottom: 12px;
}
.native-share-primary:hover {
    background: #1da86d;
}

/* ======================
   SIMPLIFIED SHARE BUTTONS
   ====================== */
.share-btn-challenge {
    display: block;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 32px;
    background: #25D366;
    color: #fff;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    font: 500 17px var(--medium);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    margin-bottom: 12px;
}
.share-btn-challenge:hover {
    background: #1da86d;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
.share-btn-outline {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: none;
    color: #999;
    border: 2px solid #ddd;
    border-radius: 8px;
    font: 400 14px var(--regular);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.share-btn-outline:hover {
    border-color: #bbb;
    color: #666;
}
.share-btn-outline.copied {
    border-color: var(--green);
    color: var(--green);
}
.copy-result-link {
    display: inline-block;
    margin-top: 12px;
    font: 400 13px var(--regular);
    color: var(--text);
    text-decoration: none;
    opacity: 0.7;
}
.copy-result-link:hover { opacity: 1; }
.copy-result-link.copied { color: var(--green); opacity: 1; }
.share-buttons-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.share-buttons-row .share-btn {
    flex: 1;
    justify-content: center;
}