:lang(ja) .dating-theories-page .header h1 {
    font-size: clamp(1.9em, 4.5vw, 2.3em);
}
:lang(zh-hans) .dating-theories-page .header h1,
:lang(zh-hant) .dating-theories-page .header h1 {
    font-size: clamp(1.9em, 4.5vw, 2.5em);
}

.dating-theories-page .header p {
    font-size: clamp(0.9em, 2.5vw, 1.2em);
    text-wrap: balance;
}
:lang(en) .dating-theories-page .header p {
    font-size: clamp(0.9em, 2.5vw, 1.3em);
}
:lang(ja) .dating-theories-page .header p {
    font-size: clamp(0.95em, 3.5vw, 1.1em);
}
:lang(zh-hans) .dating-theories-page .header p,
:lang(zh-hant) .dating-theories-page .header p {
    font-size: clamp(0.95em, 3.5vw, 1.2em);
}

.theory-section {
    margin: clamp(10px, 3.5vw, 30px);
    margin-bottom: 40px;
    padding: clamp(20px, 3.5vw, 30px);
    background: var(--result-section-bg);
    border-radius: 15px;
    border-left: 5px solid var(--section-title-border);
}

.theory-section h2 {
    color: var(--second-title-color);
    font-size: clamp(1.2em, 2.5vw, 1.8em);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.theory-section h3 {
    color: var(--text-color);
    font-size: clamp(1em, 2.5vw, 1.3em);
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.theory-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: clamp(0.85em, 2.5vw, 1.1em);
}
:lang(ja) .theory-section p {
    font-size: clamp(0.79em, 2.5vw, 1.1em);
}

.theory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(100px, 40vw, 200px), 1fr));
    gap: clamp(10px, 2vw, 15px);
    margin: 20px 0;
}

.theory-item {
    background: var(--card-bg);
    padding: 20px clamp(10px, 2.5vw, 20px) 20px clamp(10px, 2.5vw, 20px);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.theory-item .emoji {
    font-size: clamp(1.6em, 2.5vw, 2em);
    margin-bottom: 10px;
    display: block;
}

.theory-item .title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: clamp(0.8em, 2vw, 1em);
}

.theory-item .desc {
    font-size: clamp(0.7em, 2.5vw, 0.9em);
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.4;
}
/* :lang(en) .theory-item .desc {
    text-wrap: balance;
} */