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

body {
    font-family: 'Sarabun', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #d23443 0%, #a61f2d 100%);
    min-height: 100vh;
    padding: 20px;
}

.disc-wrapper {
    max-width: 1280px;
    width: min(95vw, 1280px);
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

.disc-header {
    background: linear-gradient(135deg, #d23443 0%, #a61f2d 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.disc-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #ffffff;
}

.disc-header p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Progress Bar */
.progress-container {
    height: 8px;
    background: #e0e0e0;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d23443 0%, #a61f2d 100%);
    width: 0%;
    transition: width 0.3s ease;
}

/* Quiz Part - NO INTERNAL SCROLLING */
#quiz-part {
    padding: 40px;
    min-height: auto;
}

#questions-container {
    /* Remove max-height and overflow to allow natural flow */
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.question-block {
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 2px solid #f0f0f0;
    animation: slideIn 0.3s ease;
    scroll-margin-top: 100px;
}

.question-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

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

.question-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.question-title.answered {
    color: #999;
}

/* Horizontal Options Box */
.options-box {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.options-box.horizontal-options {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: flex-start;
}

.option-container {
    flex: 1;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-btn {
    width: 100%;
    padding: 10px 5px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
}

.option-btn:hover:not(.disabled) {
    transform: scale(1.05);
}

.option-btn.selected {
    transform: scale(1.1);
    background: rgba(13, 173, 75, 0.15);
    border-radius: 12px;
    padding: 8px;
}

.option-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.emotion-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.emotion-icon svg {
    width: 100%;
    height: 100%;
}

.option-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: #333;
}

.option-btn.selected .option-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: #0dad4b;
}

/* Navigation Buttons */
.submit-btn {
    width: 100%;
    padding: 15px;
    margin-top: 30px;
    background: linear-gradient(135deg, #0dad4b 0%, #087a36 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 173, 75, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Lead Part */
#lead-part {
    padding: 40px;
    text-align: center;
}

#lead-part h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #0dad4b;
}

#lead-part p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.lead-form {
    max-width: 400px;
    margin: 0 auto;
}

.lead-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.lead-form input:focus {
    outline: none;
    border-color: #0dad4b;
}

/* Result Area */
#result-area {
    padding: 40px;
    display: none;
}

#result-area canvas {
    max-width: 100%;
    height: auto;
}

.disc-summary {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Result Sections */
.result-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #0dad4b;
    border-radius: 8px;
    text-align: left;
}

.result-section h3 {
    color: #0dad4b;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.result-section p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .disc-header h2 {
        font-size: 1.8rem;
    }

    #quiz-part,
    #lead-part,
    #result-area {
        padding: 20px;
    }

    .question-block {
        margin-bottom: 50px;
        padding-bottom: 40px;
    }

    .options-box.horizontal-options {
        gap: 8px;
    }

    .option-container {
        min-width: 60px;
    }

    .emotion-icon {
        width: 60px;
        height: 60px;
    }

    .option-label {
        font-size: 0.75rem;
    }

    .question-title {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .disc-wrapper {
        border-radius: 0;
    }

    .disc-header {
        padding: 30px 15px;
    }

    .disc-header h2 {
        font-size: 1.5rem;
    }

    #quiz-part,
    #lead-part,
    #result-area {
        padding: 15px;
    }

    .question-block {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

    .options-box.horizontal-options {
        gap: 5px;
    }

    .option-container {
        min-width: 50px;
    }

    .emotion-icon {
        width: 50px;
        height: 50px;
    }

    .option-label {
        font-size: 0.65rem;
    }

    .submit-btn {
        padding: 12px;
        font-size: 0.9rem;
    }

    .result-section {
        padding: 15px;
        margin-bottom: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for page transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#lead-part,
#result-area {
    animation: fadeIn 0.5s ease;
}

/* Chart styling */
#discChart {
    margin: 20px 0;
}

/* Back button styling (if added) */
.back-btn {
    background: #f0f0f0;
    color: #333;
    border: 2px solid #ddd;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #e0e0e0;
    border-color: #999;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* Error message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* DiSC Result Styling */
#result-area {
    padding: 40px;
    display: none;
    background-color: #f8f8f8;
    border-radius: 15px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.05);
}

#result-area > div {
    max-width: 800px;
    margin: 0 auto;
}

#result-area h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.2;
}

#result-area h2 span.first-letter {
    font-size: 3em;
    font-weight: bold;
    display: inline-block;
    margin-right: 5px;
}

.disc-type-section {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 8px solid;
}

.disc-type-section h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.analysis-box {
    background-color: #fefefe;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.analysis-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 25px rgba(0,0,0,0.07);
}

.analysis-box h4 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.analysis-box p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* Specific colors for each DISC type */
.disc-type-section.D { border-color: #0dad4b; }
.disc-type-section.D h3 { color: #0dad4b; }

.disc-type-section.i { border-color: #d23443; }
.disc-type-section.i h3 { color: #d23443; }

.disc-type-section.S { border-color: #13a1d3; }
.disc-type-section.S h3 { color: #13a1d3; }

.disc-type-section.C { border-color: #f3cc25; }
.disc-type-section.C h3 { color: #f3cc25; }

/* Adjustments for existing elements */
.disc-header h2 {
    font-size: 2.8rem;
    padding-top: 10px;
}

.disc-summary {
    margin-top: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

.analysis-section {
    border: none;
    background: none;
    padding: 0;
    margin-bottom: 0;
}

.analysis-section .section-title {
    display: none; /* Hide old titles */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #result-area {
        padding: 20px;
    }

    .disc-type-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .disc-type-section h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .analysis-grid {
        gap: 20px;
    }

    .analysis-box {
        padding: 20px;
    }

    .analysis-box h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .analysis-box p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #result-area {
        padding: 15px;
    }

    #result-area h2 {
        font-size: 2rem;
    }

    #result-area h2 span.first-letter {
        font-size: 2.5em;
    }

    .disc-type-section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .disc-type-section h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .analysis-box {
        padding: 15px;
    }

    .analysis-box h4 {
        font-size: 1rem;
    }

    .analysis-box p {
        font-size: 0.85rem;
    }
}


/* v3.2.8 custom disc colors */
.disc-type-section.C h3,
#result-area .disc-type-section.C h3 { color: #b38f00 !important; }
.disc-type-section.C { border-color: #f3cc25 !important; }

@media (max-width: 480px) {
  #result-area h2 {
    font-size: 1.35rem;
    line-height: 1.35;
    word-break: keep-all;
  }
  #result-area h2 span {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}


/* v3.2.9 result/mobile polish */
.disc-result-overview {
    text-align: center;
}
.disc-result-title-row {
    margin: 0 0 10px 0;
}
.disc-result-title-inline {
    margin: 0;
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 700;
    color: #2f2f2f;
    white-space: nowrap;
    letter-spacing: -0.02em;
}
.disc-result-letter {
    font-weight: 800;
}
@media (max-width: 768px) {
    .disc-result-title-inline {
        font-size: 1.15rem !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }
    .disc-result-letter {
        font-size: 1.15rem !important;
    }
}
@media (max-width: 480px) {
    .disc-result-title-inline {
        font-size: 0.92rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
    .disc-result-letter {
        font-size: 0.92rem !important;
    }
}


/* v3.2.17 intro screen - SaaS UI refined */
.disc-wrapper {
    max-width: 1560px;
    width: min(98vw, 1560px);
}

.disc-intro-screen {
    padding: 52px 28px 44px;
    text-align: center;
    background: linear-gradient(180deg, #f5f6f8 0%, #eeeeef 100%);
    overflow: visible !important;
}
.disc-intro-title {
    font-size: clamp(2.3rem, 3.2vw, 4rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.18;
}
.disc-intro-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.45rem);
    color: #374151;
    margin-bottom: 26px;
    line-height: 1.55;
}
.disc-intro-grid {
    display: flex;
    gap: 16px;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    overflow: visible !important;
}
.disc-intro-card {
    position: relative;
    flex: 1 1 calc(25% - 12px);
    max-width: calc(25% - 12px);
    min-width: 0;
    min-height: 348px;
    border-radius: 32px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    overflow: hidden;
    color: #1f2937;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    transition: flex-basis 0.45s cubic-bezier(.22,.61,.36,1), max-width 0.45s cubic-bezier(.22,.61,.36,1), transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
    cursor: pointer;
    isolation: isolate;
}
.disc-intro-grid.has-active .disc-intro-card {
    flex: 0 1 calc(18% - 12px);
    max-width: calc(18% - 12px);
}
.disc-intro-grid.has-active .disc-intro-card.is-active,
.disc-intro-card:hover {
    flex: 1 1 calc(46% - 12px);
    max-width: calc(46% - 12px);
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
    z-index: 2;
}
.disc-intro-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 38%, rgba(15,23,42,0.05) 100%);
    pointer-events: none;
}
.disc-card-d { background: rgba(13, 173, 75, 0.12); }
.disc-card-i { background: rgba(210, 52, 67, 0.12); }
.disc-card-s { background: rgba(19, 161, 211, 0.12); }
.disc-card-c { background: rgba(243, 204, 37, 0.18); }
.disc-intro-compact,
.disc-intro-expanded {
    position: absolute;
    inset: 0;
    padding: 20px 18px 18px;
    z-index: 1;
}
.disc-intro-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: opacity 0.28s ease, transform 0.35s ease;
}
.disc-intro-expanded {
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transition: opacity 0.3s ease, transform 0.35s ease;
    transform: translateY(10px);
}
.disc-intro-card:hover .disc-intro-compact,
.disc-intro-card.is-active .disc-intro-compact {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}
.disc-intro-card:hover .disc-intro-expanded,
.disc-intro-card.is-active .disc-intro-expanded {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.disc-intro-letter {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    opacity: 0.95;
}
.disc-card-d .disc-intro-letter, .disc-card-d h3 .disc-colored { color: #0dad4b; }
.disc-card-i .disc-intro-letter, .disc-card-i h3 .disc-colored { color: #d23443; }
.disc-card-s .disc-intro-letter, .disc-card-s h3 .disc-colored { color: #13a1d3; }
.disc-card-c .disc-intro-letter, .disc-card-c h3 .disc-colored { color: #f3cc25; }
.disc-intro-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.disc-intro-compact .disc-intro-visual {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    margin-top: 8px;
}
.disc-intro-visual img {
    width: 172px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(15, 23, 42, 0.08));
}
.disc-intro-tags {
    margin-top: auto;
    padding-top: 12px;
    width: 100%;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.5;
    color: #111827;
}
.disc-intro-tags span {
    display: inline-block;
    margin: 0 5px;
}
.disc-intro-expanded h3 {
    font-size: 1.12rem;
    color: #374151;
    line-height: 1.18;
    margin-bottom: 12px;
    white-space: nowrap;
}
.disc-intro-expanded h3 .disc-colored {
    font-size: 1.7em;
    font-weight: 800;
}
.disc-intro-detail-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}
.disc-intro-detail-wrap .disc-intro-visual {
    flex: 0 0 180px;
}
.disc-intro-detail-wrap ul {
    margin: 0;
    padding-left: 20px;
    font-size: 1rem;
    line-height: 1.68;
    color: #111827;
}
.disc-intro-detail-wrap li { margin-bottom: 10px; }
.disc-start-btn {
    margin-top: 18px;
    min-width: 180px;
    padding: 16px 32px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #7a58bf 0%, #6244b4 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.disc-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(98, 68, 180, 0.28);
}
@media (max-width: 1180px) {
    .disc-intro-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .disc-intro-grid.has-active .disc-intro-card,
    .disc-intro-card,
    .disc-intro-card:hover,
    .disc-intro-card.is-active {
        min-height: 312px;
        transform: none;
        flex: initial;
        max-width: 100%;
    }
    .disc-intro-card.is-active {
        grid-column: span 2;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
    }
}
@media (max-width: 768px) {
    .disc-wrapper {
        width: min(99vw, 99vw);
        border-radius: 12px;
    }
    .disc-intro-screen { padding: 32px 16px 30px; }
    .disc-intro-title { font-size: 2rem; line-height: 1.2; }
    .disc-intro-subtitle { font-size: 1.05rem; margin-bottom: 18px; line-height: 1.5; }
    .disc-intro-grid { grid-template-columns: 1fr; }
    .disc-intro-grid.has-active .disc-intro-card,
    .disc-intro-card,
    .disc-intro-card:hover,
    .disc-intro-card.is-active {
        min-height: 225px;
        border-radius: 24px;
        grid-column: span 1;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
        max-width: 100%;
    }
    .disc-intro-card.is-active { min-height: 292px; }
    .disc-intro-compact,
    .disc-intro-expanded { padding: 18px 16px 16px; }
    .disc-intro-letter { font-size: 4.1rem; }
    .disc-intro-visual img { width: 118px; }
    .disc-intro-tags { font-size: 0.9rem; }
    .disc-intro-expanded h3 { font-size: 0.95rem; white-space: normal; }
    .disc-intro-detail-wrap {
        gap: 12px;
        align-items: flex-start;
    }
    .disc-intro-detail-wrap .disc-intro-visual { flex-basis: 96px; }
    .disc-intro-detail-wrap ul {
        font-size: 0.82rem;
        line-height: 1.55;
        padding-left: 18px;
    }
    .disc-start-btn { width: 100%; max-width: 220px; font-size: 1.2rem; }
}

.disc-wrapper #disc-intro,
.disc-wrapper .disc-intro-grid {
    overflow: visible !important;
}
.disc-wrapper .disc-intro-card {
    overflow: hidden !important;
}


/* v3.2.23 mobile intro fix - default expanded cards */
@media (max-width: 768px) {
    .disc-intro-screen {
        padding: 28px 14px 26px !important;
    }
    .disc-intro-title {
        font-size: 2.05rem !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }
    .disc-intro-subtitle {
        font-size: 1rem !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }
    .disc-intro-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        align-items: stretch !important;
        overflow: visible !important;
    }
    .disc-intro-grid.has-active .disc-intro-card,
    .disc-intro-card,
    .disc-intro-card:hover,
    .disc-intro-card.is-active {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        flex: none !important;
        transform: none !important;
        opacity: 1 !important;
        border-radius: 24px !important;
        overflow: hidden !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    }
    .disc-intro-compact {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .disc-intro-expanded,
    .disc-intro-card:hover .disc-intro-expanded,
    .disc-intro-card.is-active .disc-intro-expanded {
        position: relative !important;
        inset: auto !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        text-align: left !important;
        padding: 18px 16px 18px !important;
    }
    .disc-intro-expanded h3 {
        font-size: 1.05rem !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        margin-bottom: 12px !important;
    }
    .disc-intro-detail-wrap {
        display: grid !important;
        grid-template-columns: 88px 1fr !important;
        gap: 12px !important;
        align-items: start !important;
    }
    .disc-intro-detail-wrap .disc-intro-visual {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        flex: none !important;
    }
    .disc-intro-visual img,
    .disc-intro-detail-wrap .disc-intro-visual img {
        width: 88px !important;
        max-width: 88px !important;
        height: auto !important;
        margin: 0 auto !important;
    }
    .disc-intro-detail-wrap ul {
        margin: 0 !important;
        padding-left: 18px !important;
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }
    .disc-intro-detail-wrap li {
        margin-bottom: 6px !important;
    }
    .disc-start-btn {
        width: 100% !important;
        max-width: 220px !important;
        font-size: 1.15rem !important;
        margin-top: 18px !important;
    }
}


/* v3.2.24 desktop intro spacing polish */
.disc-intro-screen {
    overflow: visible !important;
}
.disc-intro-grid {
    align-items: stretch;
    gap: 18px;
}
.disc-intro-card {
    overflow: hidden !important;
}
.disc-intro-compact {
    gap: 10px;
    justify-content: flex-start;
}
.disc-intro-compact .disc-intro-letter {
    margin-top: 4px;
}
.disc-intro-compact .disc-intro-visual {
    margin-top: 0;
}
.disc-intro-compact .disc-intro-visual img {
    width: 150px;
}
.disc-intro-tags {
    margin-top: 6px;
    padding-top: 0;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
}
.disc-intro-tags span {
    margin: 0;
}
.disc-intro-expanded {
    padding: 22px 20px 20px;
}
.disc-intro-expanded h3 {
    margin: 0 0 16px;
    line-height: 1.25;
}
.disc-intro-detail-wrap {
    align-items: flex-start;
    gap: 20px;
}
.disc-intro-detail-wrap .disc-intro-visual {
    flex: 0 0 160px;
    justify-content: center;
}
.disc-intro-detail-wrap .disc-intro-visual img {
    width: 150px;
}
.disc-intro-detail-wrap ul {
    padding-left: 22px;
    line-height: 1.7;
}

@media (min-width: 769px) {
    .disc-intro-grid.has-active .disc-intro-card {
        flex: 0 0 220px;
        max-width: 220px;
    }
    .disc-intro-grid.has-active .disc-intro-card.is-active,
    .disc-intro-card:hover {
        flex: 1 1 560px;
        max-width: 560px;
    }
    .disc-intro-card:not(:hover):not(.is-active) .disc-intro-compact {
        padding-top: 18px;
    }
}
