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

:root {
    --primary-color: #4A90E2;
    --secondary-color: #6c757d;
    --success-color: #52c41a;
    --neutral-color: #8c8c8c;
    --danger-color: #ff4d4f;
    --bg-light: #f5f7fa;
    --text-dark: #2c3e50;
    --text-medium: #5a6c7d;
    --border-color: #e1e8ed;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #fcf7f0;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 100px; /* Space for fixed nav */
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(252, 247, 240, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    height: 100px;
}

.top-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: block;
    height: 85px;
}

.site-logo {
    height: 100%;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c2c2c !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: none;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #000 !important;
    border-bottom-color: #000;
}

.nav-link:visited {
    color: #2c2c2c !important;
}

#app {
    min-height: 100vh;
}

.screen {
    display: none;
    min-height: 100vh;
    position: relative;
    width: 100%;
}

.screen.active {
    display: block;
}

header {
    background: transparent;
    padding: 1.5rem 2rem;
    text-align: center;
}

header h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--nyt-gray-dark);
}

/* Quiz Progress Header */
.quiz-progress-header {
    position: relative;
    margin-bottom: 2rem;
    padding: 0 3rem;
    padding-top: 1.5rem;
}

.progress-bar-slim {
    width: 100%;
    height: 3px;
    background: var(--nyt-gray-light);
    position: relative;
}

.progress-bar-slim .progress-fill {
    height: 100%;
    background: var(--nyt-gray-dark);
    transition: width 0.3s ease;
    width: 0%;
}

.quiz-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0 0;
}

.quiz-title-small {
    font-size: 0.85rem;
    color: var(--nyt-gray-medium);
    font-weight: 400;
}

.progress-indicator {
    font-size: 0.85rem;
    color: var(--nyt-gray-medium);
    font-weight: 400;
}

.subtitle {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--nyt-gray-medium);
    font-size: 1rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
}

/* Home Screen */
/* Home Screen Header */
.home-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.home-header h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--nyt-gray-dark);
    margin-bottom: 0.75rem;
}

.home-header p {
    font-size: 1.05rem;
    color: var(--nyt-gray-medium);
    line-height: 1.5;
}

/* Quiz List */
.quiz-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quiz-card {
    background: transparent;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--nyt-border);
    transition: border-color 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    flex-direction: column;
    min-height: 240px; /* Consistent height for all cards */
}

.quiz-card:not(.coming-soon):hover {
    border-color: var(--nyt-gray-medium);
}

.quiz-card.coming-soon {
    opacity: 0.6;
    cursor: default;
    border-style: dashed;
}

.quiz-card h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--nyt-gray-dark);
}

.quiz-card p {
    color: var(--nyt-gray-medium);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1; /* Push buttons to bottom */
}

.quiz-completed-badge {
    display: inline-block;
    background: #d4edda;
    color: #155724;
    padding: 0.375rem 0.875rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quiz-card-actions {
    position: relative;
    width: 100%;
    height: 30px;
    margin-top: auto;
}

.quiz-card-actions .btn-primary {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0.25rem 0;
    font-size: 0.95rem;
    background: transparent;
    color: #2c2c2c;
    border: none;
}

.quiz-card-actions .btn-secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0.25rem 0;
    font-size: 0.95rem;
    background: transparent;
    color: #2c2c2c;
    border: none;
}

.quiz-card-actions .btn-primary:hover,
.quiz-card-actions .btn-secondary:hover {
    background: transparent;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Comparisons List */
.comparisons-list {
    display: grid;
    gap: 1rem;
}

.comparison-card {
    background: transparent;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.comparison-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.comparison-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comparison-quiz-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-agreement {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.comparison-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.comparison-status.complete {
    background: #d4edda;
    color: #155724;
}

.comparison-status.pending {
    background: #fff3cd;
    color: #856404;
}

.comparison-role {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-top: 0.5rem;
}

.comparison-date {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.view-comparisons-btn {
    font-size: 0.9rem;
}

.comparison-card-label {
    flex: 1;
    cursor: pointer;
    margin: 0;
}

.comparison-card-label .comparison-card-header {
    margin: 0;
}

/* Progress Bar */

/* Quiz Screen */
.question-container {
    background: transparent;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--nyt-border);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    max-width: 700px;
    margin: 0 auto;
}

.question-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--nyt-gray-dark);
    text-align: center;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.answer-btn {
    background: transparent;
    border: 2px solid var(--nyt-border); /* Changed to 2px to prevent layout shift */
    padding: 1rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    font-size: 1rem;
    color: var(--nyt-gray-dark);
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.answer-btn:focus,
.answer-btn:active {
    outline: none;
    border-color: var(--nyt-border); /* Keep default border unless selected */
}

.answer-btn:hover {
    border-color: var(--nyt-gray-medium);
}

.answer-btn.selected {
    border-color: var(--nyt-gray-dark);
    /* Removed border-width change to prevent layout shift */
    background: transparent;
}

.answer-label {
    font-weight: 500;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px; /* iOS recommended touch target */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.btn-primary {
    background: var(--nyt-gray-dark);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #000;
}

.btn-primary:active:not(:disabled) {
    background: var(--nyt-gray-dark);
    transform: none !important;
}

.btn-primary:focus {
    outline: none !important;
}

.btn-primary:disabled {
    background: var(--nyt-gray-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background: transparent;
    color: #2c2c2c;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: transparent;
    color: #000;
}

.btn-secondary:active {
    transform: none;
}

#back-btn {
    visibility: hidden;
}

#back-btn.visible {
    visibility: visible;
}

/* Share Screen */
.share-container {
    background: transparent;
    padding: 1rem 3rem;
    max-width: 100%;
}

.share-cta {
    background: transparent;
    padding: 0.65rem 1rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.share-cta h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--nyt-gray-dark);
    white-space: nowrap;
}

.share-cta p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--nyt-gray-medium);
    line-height: 1.4;
}

.send-directly-section {
    margin-bottom: 2rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.send-directly-section label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--nyt-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.send-email-form {
    display: flex;
    gap: 0.75rem;
}

.send-email-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid var(--nyt-border);
    border-radius: 4px;
    font-size: 0.95rem;
    background: white;
    color: var(--nyt-gray-dark);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.send-email-form input[type="email"]:focus {
    outline: none;
    border-color: var(--nyt-blue);
}

.btn-send {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    background: var(--nyt-gray-dark) !important;
    color: white !important;
    border: 2px solid var(--nyt-gray-dark) !important;
}

.btn-send:hover {
    background: transparent !important;
    color: var(--nyt-gray-dark) !important;
}

.send-feedback {
    color: var(--nyt-gray-medium);
    font-size: 0.85rem;
    min-height: 1.5rem;
    margin-top: 0.5rem;
}

.share-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.share-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--nyt-border);
}

.share-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nyt-gray-medium);
    font-weight: 600;
}

.email-notification-option {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.email-notification-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.email-notification-option input[type="checkbox"] {
    cursor: pointer;
}

.notification-email-wrapper {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.email-notification-option input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
}

.email-save-indicator {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4caf50;
    text-align: left;
    min-height: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.email-save-indicator.show {
    opacity: 1;
}

.share-link-prominent {
    display: flex;
    gap: 0.75rem;
    max-width: 100%;
    margin: 0 auto;
}

.share-link-prominent input {
    flex: 1;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--nyt-border);
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: 'Monaco', 'Menlo', monospace;
    background: white;
    color: var(--nyt-gray-dark);
}

.share-link-prominent input:focus {
    outline: none;
    border-color: var(--nyt-gray-dark);
}

.share-link-input {
    flex: 1;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--nyt-border);
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: 'Monaco', 'Menlo', monospace;
    background: white;
    color: var(--nyt-gray-dark);
}

.share-link-input:focus {
    outline: none;
    border-color: var(--nyt-gray-dark);
}

.btn-copy-large {
    padding: 0.5rem 0 !important;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    background: transparent !important;
    color: #2c2c2c !important;
    border: none !important;
    text-decoration: underline !important;
    text-underline-offset: 6px !important;
    text-decoration-thickness: 1px !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-copy-large:hover {
    background: transparent !important;
    color: #000 !important;
    text-decoration-thickness: 2px !important;
}

.results-section {
    margin-bottom: 2rem;
}

/* Standalone chart containers (when not in side-by-side layout) */
#questions-comparison-standalone,
#results-section-standalone {
    background: transparent;
    border: 2px solid var(--nyt-border);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

/* Hide standalone containers when empty */
#questions-comparison-standalone:empty,
#results-section-standalone:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: none;
}

/* Chart container inside side-by-side layout (already has border) */
#results-section-with-insights {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

.copy-feedback {
    color: var(--nyt-gray-medium);
    font-size: 0.75rem;
    min-height: 1rem;
    margin-top: 0.35rem;
    text-align: center;
}

.share-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--nyt-border);
}

/* Compare Screen */
.compare-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.comparison-share-section {
    display: none !important;
}

.comparison-share-cta p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

#comparison-copy-feedback {
    color: white;
    font-size: 0.9rem;
    min-height: 1.5rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.overall-score {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    box-shadow: var(--card-shadow);
}

.score-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.score-description {
    color: var(--text-medium);
    font-size: 1.1rem;
}

.categories-section {
    margin-bottom: 2rem;
}

.categories-section h2 {
    margin-bottom: 1.5rem;
}

.question-comparison {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.question-comparison-text {
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.comparison-answers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.answer-display {
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border-left: 4px solid var(--border-color);
}

.answer-display.you {
    border-left-color: var(--primary-color);
}

.answer-display.them {
    border-left-color: #ff9800;
}

.answer-label-small {
    font-size: 0.8rem;
    color: var(--text-medium);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.answer-value {
    font-weight: 500;
}

.match-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.match-badge.exact {
    background: #d4edda;
    color: #155724;
}

.match-badge.close {
    background: #fff3cd;
    color: #856404;
}

.match-badge.different {
    background: #f8d7da;
    color: #721c24;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Dimensional Results */
.dimensional-results {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.dimensional-results h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.results-disclaimer {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-style: italic;
}

.dimension-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dimension-item {
    padding: 1rem;
    background: white;
    border-radius: 6px;
}

.dimension-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.dimension-label {
    font-weight: 500;
    color: var(--text-dark);
}

.dimension-expand-btn {
    background: none;
    border: none;
    color: var(--text-medium);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.25rem 0;
    text-align: left;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.dimension-expand-btn:hover {
    color: var(--primary-color);
}

.dimension-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.dimension-details.expanded {
    max-height: 1000px;
    margin-top: 0.75rem;
}

.dimension-question-detail {
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.dimension-question-detail:last-child {
    margin-bottom: 0;
}

.dimension-question-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.dimension-question-answer {
    font-size: 0.85rem;
    color: var(--text-medium);
    font-weight: 500;
}

.dimension-question-answers-compare {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.you-answer {
    color: var(--primary-color);
}

.them-answer {
    color: #ff9800;
}

.dimension-score {
    padding: 0.375rem 0.875rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dimension-score.high {
    background: #d4edda;
    color: #155724;
}

.dimension-score.medium {
    background: #fff3cd;
    color: #856404;
}

.dimension-score.low {
    background: #f8d7da;
    color: #721c24;
}

/* Dimensional Comparison */
.dimensional-comparison {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.dimensional-comparison h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.dimensions-comparison-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dimension-comparison-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
}

.dimension-comparison-label {
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.dimension-comparison-scores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dimension-comparison-score {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dimension-comparison-label-small {
    font-size: 0.8rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dimension-score-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-align: center;
}

.dimension-score-badge.high {
    background: #d4edda;
    color: #155724;
}

.dimension-score-badge.medium {
    background: #fff3cd;
    color: #856404;
}

.dimension-score-badge.low {
    background: #f8d7da;
    color: #721c24;
}

/* About Page */
.about-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 3rem;
}

.about-content p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 1.25rem;
}

.about-content p.about-break {
    margin-top: 2rem;
}

.about-content p.about-cta {
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 0;
}

/* Responsive Design */

/* Tablet and below (768px) */
@media (max-width: 768px) {
    /* CREAM BACKGROUND */
    html, body {
        background: #fcf7f0 !important;
        background-color: #fcf7f0 !important;
    }
    
    .content {
        padding: 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        background: #fcf7f0 !important;
    }
    
    .quiz-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .home-header {
        margin-bottom: 2rem;
        padding-top: 8rem !important; /* Further increased to clear fixed nav */
    }
    
    .home-header h1 {
        font-size: 1.65rem;
    }
    
    .home-header p {
        font-size: 1rem;
    }
    
    header {
        padding: 1.5rem 1rem;
        padding-top: 2rem !important; /* Add top padding to prevent nav overlap */
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .quiz-card {
        padding: 1.25rem;
    }
    
    .quiz-card h2 {
        font-size: 1.35rem;
    }
    
    .quiz-card-actions {
        position: static !important; /* Reset positioning */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.15rem !important; /* Tighter gap between buttons */
        width: 100% !important;
        height: auto !important;
        margin-top: auto !important;
    }
    
    .quiz-card-actions .btn-primary {
        position: static !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 0.75rem !important;
        padding: 0.5rem !important;
        background: transparent !important;
        border: none !important;
    }
    
    .quiz-card-actions .btn-secondary {
        position: static !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 0.75rem !important;
        padding: 0.5rem !important;
        background: transparent !important;
        border: none !important;
    }
    
    .quiz-completed-badge {
        font-size: 0.65rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    
    .question-container {
        min-height: auto;
        padding: 1rem;
        max-height: none;
        overflow-y: visible;
    }
    
    body.quiz-active .question-container {
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        margin-bottom: 0 !important;
    }
    
    .quiz-progress-header {
        margin-bottom: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .question-text {
        font-size: 0.95rem;
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    .answer-options {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .answer-btn {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .navigation-buttons {
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 0.875rem 1.25rem;
        transition: none !important; /* Remove transition that causes flash */
    }
    
    /* Remove tap highlight and focus effects on mobile */
    .btn-primary:focus,
    .btn-primary:active,
    .btn-secondary:focus,
    .btn-secondary:active {
        outline: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent !important;
        transition: none !important;
    }
    
    .btn-primary::selection,
    .btn-primary *::selection {
        background: transparent !important;
    }
    
    /* Nav menu responsive */
    .top-nav {
        height: auto !important;
        padding: 1rem 0;
    }
    
    .top-nav-container {
        padding: 0 1rem !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        justify-content: center !important;
    }
    
    body {
        padding-top: 120px !important; /* Reduced since headline removed */
    }
    
    /* Move nav to bottom on mobile during quiz */
    body.quiz-active {
        padding-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    body.quiz-active .top-nav {
        position: static !important;
        order: 2 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 1rem !important;
    }
    
    body.quiz-active #app {
        order: 1 !important;
    }
    
    body.quiz-active #quiz-screen {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        min-height: auto !important;
    }
    
    body.quiz-active #quiz-screen .content {
        padding: 0.5rem !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    body.quiz-active .question-container {
        margin-bottom: 0 !important;
    }
    
    body.quiz-active .navigation-buttons {
        margin-bottom: 0 !important;
    }
    
    .logo-link {
        height: 50px !important;
    }
    
    .nav-menu {
        gap: 1.5rem !important;
        margin-left: 0 !important;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    /* About page responsive */
    .about-content {
        margin: 2rem auto;
        padding: 0 1.5rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .comparison-answers {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .share-container {
        padding: 1.5rem;
    }
    
    .share-cta {
        padding: 1.5rem;
    }
    
    .share-cta h2 {
        font-size: 1.25rem;
    }
    
    .share-link-prominent {
        flex-direction: column;
        max-width: 100%;
    }
    
    .share-link-prominent input {
        font-size: 0.85rem;
    }
    
    .compare-container {
        padding: 1.5rem;
    }
    
    .comparison-share-cta {
        padding: 1.5rem;
    }
    
    .comparison-share-cta h3 {
        font-size: 1.15rem;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .question-comparison {
        padding: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-buttons .btn-primary,
    .action-buttons .btn-secondary {
        width: 100%;
    }
    
    .dimensional-results h3,
    .dimensional-comparison h3 {
        font-size: 1.1rem;
    }
    
    .results-disclaimer {
        font-size: 0.8rem;
    }
    
    .dimension-comparison-scores {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .dimension-question-answers-compare {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .share-actions {
        flex-direction: row;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 0;
        border-top: none;
    }
    
    .share-actions .btn-secondary {
        width: auto;
        flex: 1;
        font-size: 0.7rem;
        background: #fcf7f0 !important;
        border: none !important;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .quiz-list {
        grid-template-columns: repeat(2, 1fr); /* Two columns on mobile */
        gap: 0.75rem; /* Tighter gap for mobile */
    }
    
    .home-header h1 {
        font-size: 1.5rem;
    }
    
    .home-header p {
        font-size: 0.95rem;
    }
    
    header h1 {
        font-size: 1.25rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .progress-indicator {
        font-size: 0.8rem;
    }
    
    .quiz-title-small {
        font-size: 0.8rem;
    }
    
    .question-container {
        min-height: auto;
        padding: 0.875rem;
        max-height: none;
    }
    
    body.quiz-active .question-container {
        max-height: calc(100vh - 30px);
    }
    
    .quiz-progress-header {
        padding: 0.5rem 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    .question-text {
        font-size: 0.85rem !important; /* Smaller question text */
        min-height: auto;
        margin-bottom: 0.75rem !important;
    }
    
    .answer-options {
        gap: 0.35rem !important; /* Tighter spacing */
        margin-bottom: 0.5rem !important;
    }
    
    .answer-btn {
        padding: 0.6rem 0.7rem !important; /* Smaller buttons */
        font-size: 0.8rem !important;
    }
    
    .navigation-buttons {
        margin-top: 0.75rem;
        /* Removed fixed positioning - let it flow naturally with content */
    }
    
    .question-container {
        /* Removed padding-bottom since button is no longer fixed */
    }
    
    .quiz-card {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        min-height: 160px; /* Reduced height so buttons don't get cut off */
        /* Removed overflow: hidden to prevent text clipping */
    }
    
    .quiz-card h2 {
        font-size: 0.9rem !important; /* Smaller title to fit text on one line */
    }
    
    .quiz-card p {
        font-size: 0.75rem !important; /* Smaller description */
        flex-grow: 1; /* Push actions to bottom */
    }
    
    .quiz-card-actions {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.15rem !important; /* Tighter gap between buttons */
        width: 100% !important;
        height: auto !important;
        margin-top: auto !important;
    }
    
    .quiz-card-actions .btn-primary {
        position: static !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 0.65rem !important;
        padding: 0.5rem !important;
        background: transparent !important;
        border: none !important;
    }
    
    .quiz-card-actions .btn-secondary {
        position: static !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 0.65rem !important;
        padding: 0.5rem !important;
        background: transparent !important;
        border: none !important;
    }
    
    .share-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .share-cta h2 {
        text-align: left;
        flex-shrink: 0;
        margin: 0;
    }
    
    .share-cta p {
        font-size: 0.9rem;
    }
    
    /* Make input and button appear as a grouped row */
    .share-cta input.share-link-input,
    .share-cta .btn-copy-large {
        float: left;
    }
    
    .share-cta input.share-link-input {
        width: calc(100% - 100px);
        margin-right: 0.5rem;
    }
    
    .share-cta .btn-copy-large {
        width: 90px;
    }
    
    .share-cta::after {
        content: "";
        display: table;
        clear: both;
    }
    
    .send-email-form {
        flex-direction: column;
    }
    
    .send-email-form input[type="email"] {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
    
    .btn-send {
        padding: 0.875rem 1.5rem !important;
        width: 100%;
    }
    
    .btn-copy-large {
        padding: 0.875rem 1.5rem !important;
    }
    
    .overall-score h2 {
        font-size: 1.5rem;
    }
    
    .categories-section h2 {
        font-size: 1.5rem;
    }
    
    .question-comparison-text {
        font-size: 0.95rem;
    }
}

/* Large tablets and small desktops (1024px and below) */
@media (max-width: 1024px) and (min-width: 769px) {
    .content {
        max-width: 700px;
    }
}

/* Landscape phones */
@media (max-height: 600px) and (orientation: landscape) {
    .question-container {
        min-height: auto;
        padding: 1rem;
    }
    
    .question-text {
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    header {
        padding: 1rem;
    }
    
    .quiz-meta {
        padding-top: 0.75rem;
    }
    
}

/* ===============================================
   NYT INFOGRAPHIC STYLE - COMPARISON RESULTS
   =============================================== */

/* NYT Color Palette */
:root {
    --nyt-blue: #3366BB;
    --nyt-orange: #D97706;
    --nyt-gray-dark: #1A1A1A;
    --nyt-gray-medium: #666666;
    --nyt-gray-light: #CCCCCC;
    --nyt-gray-bg: #FAFAFA;
    --nyt-border: #E5E5E5;
    --nyt-green: #52c41a;
}

/* NYT Compact Header (for comparison results) */
.nyt-header-compact {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nyt-border);
}

.nyt-score-compact {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nyt-blue);
}

.nyt-description-compact {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    color: var(--nyt-gray-medium);
    font-style: italic;
}

/* NYT Header Section (for solo results) */
.nyt-header {
    background: white;
    border-bottom: 3px solid var(--nyt-gray-dark);
    padding: 1.5rem 2rem;
    text-align: center;
}

.nyt-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.nyt-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nyt-gray-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.nyt-agreement-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0 0.5rem 0;
}

.nyt-score-number {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--nyt-blue);
}

.nyt-score-label {
    font-size: 1.1rem;
    color: var(--nyt-gray-medium);
    font-weight: 400;
}

.nyt-description {
    font-size: 1.1rem;
    color: var(--nyt-gray-medium);
    font-style: italic;
    margin-top: 1rem;
}

/* NYT Container */
.nyt-compare-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 3rem;
    background: transparent;
}

/* NYT Share Box */
.nyt-share-box {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--nyt-gray-bg);
    border: 1px solid var(--nyt-border);
    border-radius: 4px;
    margin-bottom: 3rem;
}

.nyt-share-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.nyt-share-content {
    flex: 1;
}

.nyt-share-content h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--nyt-gray-dark);
}

.nyt-share-content p {
    font-size: 0.95rem;
    color: var(--nyt-gray-medium);
    margin-bottom: 1rem;
}

.nyt-share-link-box {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.nyt-share-link-box input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--nyt-border);
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: monospace;
    background: white;
}

.nyt-copy-btn {
    padding: 0.75rem 1.5rem;
    background: var(--nyt-gray-dark);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.nyt-copy-btn:hover {
    background: #333;
}

/* NYT Legend */
.nyt-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--nyt-border);
    margin-bottom: 2.5rem;
}

.nyt-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--nyt-gray-dark);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.nyt-legend-item:hover {
    border-color: var(--nyt-gray-light);
    background: rgba(0, 0, 0, 0.02);
}

.nyt-legend-item.selected {
    background: rgba(0, 0, 0, 0.12) !important;
    border: 2px solid #666 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.nyt-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 2px;
}

/* Chart hover effects */
.nyt-point {
    transition: all 0.2s ease;
    cursor: pointer;
}

.nyt-legend-item:hover {
    opacity: 0.7;
}

.nyt-color-you {
    background: var(--nyt-blue);
}

.nyt-color-them {
    background: var(--nyt-orange);
}

.nyt-color-average {
    background: var(--nyt-gray-medium);
    opacity: 0.6;
}

/* NYT Section Headers */
.nyt-section-header {
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--nyt-gray-dark);
}

.nyt-section-header h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nyt-gray-dark);
    margin: 0 0 0.5rem 0;
}

.nyt-subtitle {
    font-size: 1rem;
    color: var(--nyt-gray-medium);
    font-style: italic;
    margin: 0;
}

/* NYT Bar Chart Styles */
.nyt-bar-chart {
    margin: 1.5rem 0;
    position: relative;
}

.nyt-bar-row {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.nyt-bar-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nyt-gray-dark);
    text-align: right;
}

.nyt-bar-track {
    position: relative;
    height: 36px;
    background: var(--nyt-gray-bg);
    border: 1px solid var(--nyt-border);
    border-radius: 2px;
    overflow: visible;
}

.nyt-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
    transition: width 0.8s ease-out;
    position: relative;
}

.nyt-bar-you {
    background: var(--nyt-blue);
}

.nyt-bar-them {
    background: var(--nyt-orange);
}

.nyt-bar-value {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    padding: 0 0.5rem;
}

.nyt-scale-labels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 0.5rem;
    padding-left: calc(60px + 1rem);
    font-size: 0.75rem;
    color: var(--nyt-gray-medium);
    text-align: center;
    line-height: 1.2;
}

.nyt-scale-labels span {
    border-left: 1px solid var(--nyt-gray-light);
    padding-left: 0.25rem;
}

.nyt-scale-labels span:first-child {
    border-left: none;
    text-align: left;
    padding-left: 0;
}

/* NYT Dimension Items */
.nyt-dimension-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--nyt-border);
}

.nyt-dimension-item:last-child {
    border-bottom: none;
}

.nyt-dimension-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nyt-gray-dark);
    margin-bottom: 1rem;
}

.nyt-expand-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--nyt-border);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--nyt-gray-medium);
    cursor: pointer;
    transition: all 0.2s;
}

.nyt-expand-btn:hover {
    background: var(--nyt-gray-bg);
    border-color: var(--nyt-gray-medium);
}

/* NYT Line Graph */
.nyt-line-graph {
    margin: 0;
    position: relative;
    background: #fdf8f3 !important;
    padding: 1rem 0.5rem 1rem 0;
    border: none;
}

.nyt-line-svg {
    width: 100%;
    height: auto;
    display: block;
    background: #fdf8f3 !important;
}

.nyt-grid-line {
    stroke: rgb(160, 160, 160);
    stroke-width: 0.3;
}

.nyt-axis-line {
    stroke: var(--nyt-gray-dark);
    stroke-width: 1;
}

.nyt-y-label {
    font-size: 22px;
    fill: var(--nyt-gray-dark);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
}

.nyt-x-label {
    font-size: 22px;
    fill: var(--nyt-gray-dark);
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
}

.nyt-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nyt-line-you {
    stroke: var(--nyt-blue);
}

.nyt-line-them {
    stroke: var(--nyt-orange);
}

.nyt-line-average {
    stroke: var(--nyt-gray-medium);
    stroke-width: 2;
    opacity: 0.6;
}

.nyt-point {
    cursor: pointer;
    transition: r 0.2s;
}

.nyt-point-average {
    opacity: 0.6;
}

.nyt-point-average:hover {
    opacity: 1;
    r: 6;
}

.nyt-point:hover {
    r: 7;
}

.nyt-point-you {
    fill: var(--nyt-blue);
    stroke: white;
    stroke-width: 2;
}

.nyt-point-them {
    fill: var(--nyt-orange);
    stroke: white;
    stroke-width: 2;
}

.nyt-tooltip {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid var(--nyt-border);
    border-radius: 4px;
    padding: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 300px;
    pointer-events: none;
}

.tooltip-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nyt-gray-dark);
    margin-bottom: 0.5rem;
}

.tooltip-question {
    font-size: 0.85rem;
    color: var(--nyt-gray-medium);
    line-height: 1.4;
}

/* NYT Footer Actions */
.nyt-footer-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--nyt-border);
}

.nyt-btn-primary,
.nyt-btn-secondary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.nyt-btn-primary {
    background: var(--nyt-gray-dark);
    color: white;
}

.nyt-btn-primary:hover {
    background: #333;
}

.nyt-btn-secondary {
    background: white;
    color: var(--nyt-gray-dark);
    border: 1px solid var(--nyt-border);
}

.nyt-btn-secondary:hover {
    background: var(--nyt-gray-bg);
    border-color: var(--nyt-gray-medium);
}

/* Dimension Details (expandable) */
.dimension-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.dimension-details.expanded {
    max-height: 2000px;
    margin-top: 1.5rem;
}

.dimension-question-detail {
    padding: 1rem;
    background: var(--nyt-gray-bg);
    border-left: 3px solid var(--nyt-border);
    margin-bottom: 1rem;
}

.dimension-question-text {
    font-size: 0.95rem;
    color: var(--nyt-gray-dark);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.dimension-question-answers-compare {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.dimension-question-answer {
    flex: 1;
}

.dimension-question-answer.you-answer {
    color: var(--nyt-blue);
    font-weight: 600;
}

.dimension-question-answer.them-answer {
    color: var(--nyt-orange);
    font-weight: 600;
}

/* Responsive adjustments for NYT style */
@media (max-width: 768px) {
    .nyt-header-compact {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }
    
    .nyt-score-compact {
        font-size: 1.25rem;
    }
    
    .nyt-description-compact {
        font-size: 0.9rem;
    }
    
    .nyt-title {
        font-size: 1.25rem;
    }
    
    .nyt-score-number {
        font-size: 2.25rem;
    }
    
    .nyt-score-label {
        font-size: 0.95rem;
    }
    
    .nyt-header {
        padding: 1.25rem 1rem;
    }
    
    .nyt-compare-container {
        padding: 2rem 1rem;
    }
    
    .nyt-share-box {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nyt-bar-row {
        grid-template-columns: 50px 1fr;
        gap: 0.5rem;
    }
    
    .nyt-scale-labels {
        padding-left: calc(50px + 0.5rem);
        font-size: 0.65rem;
    }
    
    .nyt-footer-actions {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 0;
    }
    
    .nyt-btn-primary,
    .nyt-btn-secondary {
        width: auto;
        flex: 1;
    }
    
    .nyt-section-header h3 {
        font-size: 1.5rem;
    }
    
    .nyt-dimension-label {
        font-size: 1.1rem;
    }
    
    .dimension-question-answers-compare {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nyt-line-graph {
        padding: 1rem 0.5rem;
    }
    
    .nyt-y-label {
        font-size: 13px;
    }
    
    .nyt-x-label {
        font-size: 13px;
    }
    
    .nyt-tooltip {
        max-width: 250px;
        font-size: 0.8rem;
    }
}

/* ===============================================
   INSIGHTS SLIDESHOW
   =============================================== */

/* Side-by-side layout */
.nyt-insights-layout {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 2rem;
    margin: 1rem 0 2rem 0;
    align-items: stretch;
    max-height: calc(100vh - 180px); /* Leave room for nav */
}

.nyt-chart-column {
    position: sticky;
    top: 2rem;
    background: transparent;
    border: 2px solid var(--nyt-border);
    border-radius: 8px;
    padding: 2rem;
    align-self: start;
}

.nyt-insights-column {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.nyt-insights-container {
    background: transparent;
    border: 2px solid var(--nyt-border);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}



.nyt-insights-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.nyt-insights-header {
    text-align: left;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--nyt-gray-dark);
    padding-bottom: 1rem;
    flex-shrink: 0;
}

.nyt-insights-header h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nyt-gray-dark);
    margin: 0 0 0.5rem 0;
}

.nyt-insights-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    color: var(--nyt-gray-medium);
    font-style: italic;
    margin: 0;
}

.walkthrough-context {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.85rem;
    color: var(--nyt-gray-medium);
    font-weight: 500;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border-left: 3px solid var(--nyt-gray-medium);
    border-radius: 2px;
}

.nyt-insight-slide {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 0;
}

.nyt-insight-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--nyt-gray-dark);
    text-align: left;
    animation: slideIn 0.4s ease-out;
}

.insight-questions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--nyt-border);
}

.insight-question-item {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--nyt-gray-medium);
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    border-left: 3px solid #2c2c2c;
}

.insight-question-item:last-child {
    margin-bottom: 0;
}

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

.nyt-insights-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nyt-border);
    flex-shrink: 0;
}

.nyt-insight-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c2c2c;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid transparent;
}

.nyt-insight-btn:hover:not(:disabled) {
    background: transparent;
    color: #000;
    border-bottom-color: #000;
}

.nyt-insight-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nyt-insight-progress {
    flex: 1;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    color: var(--nyt-gray-medium);
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.nyt-progress-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d0d0d0;
    transition: all 0.3s;
}

.nyt-progress-dot.active {
    background: #2c2c2c;
    transform: scale(1.4);
}

/* Chart Highlighting Effects */
/* Regional dimming overlay */
.nyt-dim-overlay {
    fill: rgba(200, 200, 200, 0.95);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Gradient edges for smooth transitions */
.nyt-gradient-edge {
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* DISABLED: Emphasized points in highlighted regions (dimming feature disabled)
.nyt-point.highlighted,
.nyt-point-average.highlighted {
    filter: drop-shadow(0 0 4px rgba(51, 102, 187, 0.6));
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        filter: drop-shadow(0 0 4px rgba(51, 102, 187, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(51, 102, 187, 0.9));
    }
}
*/

/* Insight highlighting - make referenced dots stand out */
.nyt-point.insight-highlighted {
    animation: gentle-pulse 2s ease-in-out infinite;
    transition: r 0.3s ease;
}

@keyframes gentle-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nyt-insights-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nyt-chart-column {
        position: static;
    }
}

@media (max-width: 768px) {
    /* FORCE CREAM BACKGROUND EVERYWHERE */
    html {
        background: #fcf7f0 !important;
    }
    
    body {
        background: #fcf7f0 !important;
        background-color: #fcf7f0 !important;
        padding-top: 0 !important;
    }
    
    /* ENSURE ONLY ACTIVE SCREEN IS VISIBLE */
    .screen {
        display: none !important;
    }
    
    .screen.active {
        display: block !important;
    }
    
    /* About screen needs cream background */
    #about-screen,
    #about-screen.active {
        background: #fcf7f0 !important;
        background-color: #fcf7f0 !important;
    }
    
    #app, .screen, .screen.active, .content {
        background: #fcf7f0 !important;
        background-color: #fcf7f0 !important;
    }
    
    .nyt-compare-container, .share-container {
        background: #fcf7f0 !important;
        background-color: #fcf7f0 !important;
    }
    
    /* Only the CARDS should be white */
    .nyt-insights-container,
    .quiz-card,
    .about-content,
    .share-cta {
        background: white !important;
        background-color: white !important;
    }
    
    /* EXCEPT about screen - it should be cream */
    #about-screen .about-content {
        background: #fcf7f0 !important;
        background-color: #fcf7f0 !important;
    }
    
    /* Fix alignment */
    * {
        box-sizing: border-box !important;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    #app {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Mobile: Clean card-based layout */
    .nyt-insights-layout {
        grid-template-columns: 1fr !important;
        gap: 0rem !important;
        margin: 0 !important;
        max-height: none !important;
        width: 100% !important;
    }
    
    /* Make headlines smaller on mobile - match insights module sizing */
    .nyt-section-header h3 {
        font-size: 0.7rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .nyt-section-header .nyt-subtitle {
        font-size: 0.55rem !important;
        line-height: 1.2 !important;
    }
    
    /* Match "Analyzing:" text to headline size */
    .walkthrough-context {
        font-size: 0.7rem !important;
    }
    
    /* Make border thinner and reduce spacing - match insights module */
    .nyt-section-header {
        border-bottom: none !important;
        margin-bottom: 0.35rem !important;
        padding-bottom: 0.2rem !important;
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
        position: relative !important;
    }
    
    .nyt-section-header::after {
        content: "" !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0.35rem !important;
        right: 0.35rem !important;
        height: 1px !important;
        background: var(--nyt-gray-dark) !important;
    }
    
    /* Bring chart+legend very close to border - negative margin pulls it up */
    .mobile-chart-and-legend-container {
        margin-top: -0.1rem !important;
        margin-bottom: 0rem !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Chart card on mobile */
    .nyt-chart-column {
        padding: 0 !important;
        position: static !important;
        border: none !important;
        background: #fdf8f3 !important;
        background-color: #fdf8f3 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .nyt-insights-column {
        min-height: auto !important;
        width: 100% !important;
        margin-top: -0.5rem !important;
    }
    
    .nyt-insights-container {
        padding: 0.35rem !important;
        padding-top: 0.35rem !important;
        border: none !important;
        background: #fcf7f0 !important;
        border-radius: 6px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
        width: 100% !important;
        margin-top: 0rem !important;
        overflow: hidden !important;
    }
    
    /* Carousel wrapper and track */
    .nyt-insight-carousel-wrapper {
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .nyt-insight-carousel-track {
        display: flex !important;
        width: 100% !important;
    }
    
    .nyt-insight-carousel-slide {
        flex-shrink: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    /* Compact typography */
    .nyt-insights-header {
        margin-bottom: 0.35rem !important;
        padding-bottom: 0.2rem !important;
        border-bottom-width: 1px !important;
    }
    
    .nyt-insights-header h3 {
        font-size: 0.7rem !important;
        margin-bottom: 0.1rem !important;
        font-weight: 600 !important;
    }
    
    .nyt-insights-header .nyt-insights-subtitle {
        font-size: 0.55rem !important;
        line-height: 1.2 !important;
    }
    
    .nyt-insight-text {
        font-size: 0.5rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        white-space: normal !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .nyt-insight-text p {
        font-size: 0.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .nyt-insight-slide {
        min-height: auto !important;
        padding: 0.3rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .insight-questions {
        margin-top: 0.5rem !important;
        padding-top: 0.5rem !important;
    }
    
    .insight-question-item {
        font-size: 0.5rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.3 !important;
        padding-left: 0.35rem !important;
        border-left-width: 2px !important;
        word-wrap: break-word !important;
    }
    
    .nyt-insight-btn {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.6rem !important;
    }
    
    .nyt-insights-nav {
        gap: 0.3rem !important;
        margin-top: 0.4rem !important;
        padding-top: 0.3rem !important;
        border-top-width: 1px !important;
    }
    
    /* MOBILE CHART - make it actually work */
    .chart-wrapper {
        position: relative !important;
        width: 100% !important;
        flex: 1 !important;
        overflow: hidden !important;
    }
    
    /* Desktop SVG chart on mobile */
    .nyt-line-graph {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-x: contain !important;
    }
    
    /* Mobile HTML chart */
    .mobile-line-chart {
        /* Scrollable area is already styled inline */
    }
    
    /* Mobile dot interactions */
    .mobile-dot {
        transition: opacity 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
    }
    
    .mobile-dot:active {
        transform: translate(-50%, -50%) scale(1.5) !important;
    }
    
    /* Dim unselected dots when comparison is active */
    .mobile-dot.dimmed {
        opacity: 0.2 !important;
        box-shadow: none !important;
    }
    
    .mobile-dot.highlighted,
    .mobile-dot.insight-highlighted {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1.6) !important;
        /* Filter will be set dynamically in JS with the dot's color */
    }
    
    .chart-y-axis {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 180px !important;
        height: 100% !important;
        pointer-events: none !important;
        z-index: 10 !important;
        padding-left: 1rem !important;
        background: linear-gradient(to right, #fdf8f3 0%, #fdf8f3 140px, rgba(253, 248, 243, 0.95) 150px, transparent 180px) !important;
    }
    
    .y-label-row {
        position: absolute !important;
        left: 0 !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .y-label-text {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #333 !important;
        white-space: nowrap !important;
        background: transparent !important;
        padding-right: 0.5rem !important;
        padding-left: 0.25rem !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    .y-label-fade {
        display: none !important;
    }
    
    .nyt-line-graph svg {
        width: auto !important;
        min-width: 350% !important;
        height: 100% !important;
        display: block !important;
    }
    
    /* Scale chart elements for mobile */
    .nyt-y-label {
        font-size: 22px !important;
        font-weight: 600 !important;
    }
    
    .nyt-x-label {
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    
    /* Make dots visible on mobile */
    .nyt-point {
        r: 8 !important;
    }
    
    .nyt-point.highlighted {
        r: 13 !important;
    }
    
    /* Thicker lines */
    .nyt-grid-line {
        stroke-width: 0.3 !important;
    }
    
    .nyt-comparison-gradient-bar {
        stroke-width: 15px !important;
    }
    
    /* Chart header - very compact on mobile */
    .nyt-chart-header {
        margin-bottom: 0.25rem !important;
        padding: 0.5rem !important;
        padding-bottom: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .nyt-chart-header h3 {
        font-size: 1.1rem !important;
        margin: 0 !important;
    }
    
    /* Hide subtitle on mobile to save space */
    .nyt-chart-header .nyt-subtitle {
        display: none !important;
    }
    
    /* Legend - compact for mobile */
    .nyt-legend {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.3rem !important;
        margin-bottom: 0rem !important;
        margin-top: 0rem !important;
        padding: 0.5rem !important;
        flex-shrink: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #fcf7f0 !important;
        border-top: 1px solid #ddd !important;
        box-sizing: border-box !important;
    }
    
    .nyt-legend-item {
        display: flex !important;
        align-items: center !important;
        gap: 0.3rem !important;
        padding: 0.25rem 0.4rem !important;
        font-size: 0.65rem !important;
        border-radius: 3px !important;
        background: #f0f0f0 !important;
        cursor: pointer !important;
    }
    
    .nyt-legend-swatch {
        width: 8px !important;
        height: 8px !important;
        border-radius: 2px !important;
        flex-shrink: 0 !important;
    }
    
    /* Share box - cleaner on mobile */
    .share-cta {
        background: #fcf7f0 !important;
        border: none !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
        border-radius: 8px !important;
        padding: 0.35rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .share-cta h2 {
        font-size: 0.7rem !important;
        margin: 0 0 0.75rem 0 !important;
        display: block !important;
        padding: 0 !important;
    }
    
    .share-cta p {
        font-size: 0.7rem !important;
    }
    
    .share-cta input.share-link-input {
        width: 100% !important;
        display: block !important;
        margin: 0 0 0.5rem 0 !important;
        box-sizing: border-box !important;
        float: none !important;
    }
    
    .share-cta .btn-copy-large {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
        font-size: 0.7rem !important;
        float: none !important;
    }
    
    .share-cta::after {
        content: none !important;
    }
    
    /* Footer actions - single line on mobile */
    .nyt-footer-actions {
        flex-direction: row !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
        padding-top: 0 !important;
        border-top: none !important;
    }
    
    .nyt-footer-actions .nyt-btn-secondary {
        font-size: 0.7rem !important;
        background: #fcf7f0 !important;
        border: none !important;
    }
    
    .share-link-prominent {
        width: 100% !important;
    }
    
    .share-link-prominent input {
        font-size: 0.85rem !important;
        width: 100% !important;
    }
    
    .btn-copy-large {
        font-size: 0.85rem !important;
        white-space: nowrap !important;
    }
    
    /* Question text in insights */
    .nyt-insight-questions {
        font-size: 0.65rem !important;
        margin-top: 0.4rem !important;
        padding-top: 0.4rem !important;
    }
    
    .nyt-insight-text {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
    }
    
    .nyt-insight-text p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
    }
    
    .insight-question-item {
        font-size: 0.65rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.3 !important;
    }
    
    /* Progress dots */
    .nyt-insights-progress {
        margin: 0.3rem 0 !important;
        gap: 0.25rem !important;
    }
    
    .nyt-progress-dot {
        width: 3px !important;
        height: 3px !important;
    }
    
    .nyt-progress-dot.active {
        transform: scale(1.5) !important;
    }
    
    /* Ensure containers fit properly */
    .nyt-compare-container,
    .share-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Quiz cards - cleaner on mobile */
    .quiz-card {
        background: #fcf7f0 !important; /* Cream color background */
        border: 1px solid #e5ddd0 !important; /* Subtle border */
        box-shadow: none !important;
        padding: 1rem !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 160px !important; /* Reduced height so buttons don't get cut off */
        /* Removed overflow: hidden to prevent text clipping */
    }
    
    .quiz-card h2 {
        font-size: 0.9rem !important; /* Smaller title to fit text on one line */
    }
    
    .quiz-card p {
        font-size: 0.75rem !important; /* Smaller description */
        flex-grow: 1 !important; /* Push actions to bottom */
    }
    
    /* About page on mobile */
    .about-content {
        padding: 1.25rem !important;
        padding-top: 8rem !important; /* Add top padding to clear nav */
        background: white !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
        margin: 0.75rem !important;
        width: calc(100% - 1.5rem) !important;
    }
    
    /* EXCEPT about screen - make it full width cream */
    #about-screen .about-content {
        background: #fcf7f0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        width: 100% !important;
        padding-top: 10rem !important; /* Increased to clear nav */
    }
    
    .about-content p {
        font-size: 0.95rem !important;
    }
    
    /* Ensure about screen has cream background */
    #about-screen {
        background: #fcf7f0 !important;
    }
    
    /* Move nav to bottom on results screens on mobile */
    body.results-active {
        padding-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    body.results-active .top-nav {
        position: static !important;
        order: 2 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 1rem !important;
    }
    
    body.results-active #app {
        order: 1 !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    body.results-active .screen.active {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    body.results-active #share-screen,
    body.results-active #compare-screen {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        min-height: auto !important;
    }
    
    body.results-active .content {
        padding: 0 !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        background: #fcf7f0 !important;
        background-color: #fcf7f0 !important;
        padding-bottom: 2rem !important;
    }
    
    body.results-active #app,
    body.results-active .screen {
        background: #fcf7f0 !important;
        background-color: #fcf7f0 !important;
    }
    
    body.results-active .share-cta {
        margin-bottom: 0.5rem !important;
    }
    
    body.results-active .nyt-compare-container {
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    body.results-active .share-container {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    body.results-active #share-screen,
    body.results-active #compare-screen {
        width: 100% !important;
        overflow-x: hidden !important;
    }
}
