.compare-page{padding-bottom:64px}.compare-hero{margin:24px 0 20px;padding:28px;border:1px solid #dfe6f3;border-radius:22px;background:linear-gradient(135deg,#fff,#f6f8ff)}.compare-hero h1{margin:6px 0 8px;font-size:clamp(28px,4vw,42px)}.compare-hero p{margin:0;color:#64748b}.compare-selectors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:14px;align-items:end;margin-bottom:24px}.compare-selector label{display:block;margin-bottom:7px;font-weight:800;color:#1f2937}.compare-search-wrap{position:relative}.compare-search{width:100%;height:50px;padding:0 16px;border:1px solid #cfd8ea;border-radius:14px;background:#fff;font-size:15px;outline:none}.compare-search:focus{border-color:#6d7cff;box-shadow:0 0 0 4px rgba(109,124,255,.12)}.compare-search-list{position:absolute;z-index:50;top:calc(100% + 8px);left:0;right:0;max-height:420px;overflow:hidden;border:1px solid #d9e1ef;border-radius:16px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.16)}.compare-search-head{display:flex;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #edf1f7;background:#f8faff}.compare-search-head span{color:#64748b;font-size:13px}.compare-search-items{max-height:350px;overflow:auto;padding:7px}.compare-search-item{display:flex;width:100%;align-items:center;gap:10px;padding:9px;border:0;border-radius:11px;background:transparent;text-align:left;cursor:pointer}.compare-search-item:hover{background:#f2f5ff}.compare-search-item img{width:46px;height:46px;object-fit:contain;border-radius:10px;background:#f5f7fb}.compare-search-item span{display:flex;min-width:0;flex-direction:column}.compare-search-item strong{color:#111827}.compare-search-item small{margin-top:3px;color:#64748b}.compare-search-empty{padding:24px;text-align:center;color:#64748b}.compare-run-button{height:50px;white-space:nowrap}.compare-board{display:grid;grid-template-columns:160px minmax(0,1fr) minmax(0,1fr);overflow:hidden;border:1px solid #dfe5f0;border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.07)}.compare-board>div{min-width:0;padding:17px;border-right:1px solid #edf1f6;border-bottom:1px solid #edf1f6}.compare-board>div:nth-child(3n){border-right:0}.compare-dragon-head{display:flex;min-height:132px;align-items:center;gap:14px;background:#fafbff}.compare-label-head{justify-content:center;font-weight:900;color:#475569}.compare-dragon-head img{width:84px;height:84px;object-fit:contain}.compare-dragon-head div{display:flex;min-width:0;flex-direction:column}.compare-dragon-head strong{font-size:20px;color:#111827}.compare-dragon-head small{margin-top:5px;color:#64748b}.compare-dragon-head a{margin-left:auto;font-size:13px;font-weight:800;color:#5364d8}.compare-dragon-head.empty{justify-content:center;color:#94a3b8}.compare-row-label{display:flex;align-items:center;background:#fafbff;font-weight:800;color:#475569}.compare-value{display:flex;align-items:center;justify-content:center;text-align:center;color:#111827}.compare-value.stat-value{flex-direction:column;gap:4px}.compare-value.stat-value strong{font-size:23px}.compare-value.stat-value small{color:#64748b}.compare-value.winner{background:linear-gradient(135deg,#effff6,#f7fffb);box-shadow:inset 4px 0 0 #27ae60}.compare-value.winner strong{color:#148447}.tier-value{font-size:19px;font-weight:900}.element-value{font-weight:800}.compare-empty-state{display:flex;flex-direction:column;gap:7px;padding:56px 20px;border:1px dashed #cfd8e7;border-radius:20px;text-align:center;color:#64748b}.compare-empty-state strong{font-size:20px;color:#1f2937}.detail-breeding-btn.compare{border-color:#d7dcef;background:linear-gradient(135deg,#f8f9ff,#eef1ff)}.detail-breeding-btn.compare .detail-breeding-btn-icon{background:#6574d9;color:#fff}
@media(max-width:780px){.compare-selectors{grid-template-columns:1fr}.compare-run-button{width:100%}.compare-board{grid-template-columns:92px minmax(0,1fr) minmax(0,1fr);font-size:13px}.compare-board>div{padding:11px 8px}.compare-dragon-head{min-height:170px;flex-direction:column;justify-content:center;text-align:center}.compare-dragon-head img{width:66px;height:66px}.compare-dragon-head strong{font-size:15px}.compare-dragon-head a{margin:4px 0 0}.compare-value.stat-value strong{font-size:18px}.compare-value.stat-value small{font-size:11px}}


/* DV3 비교 페이지 글자색 보정 - 전역 테마 상속 차단 */
.compare-page,
.compare-page section,
.compare-page div,
.compare-page span,
.compare-page p,
.compare-page label,
.compare-page button,
.compare-page input {
    color: #111827;
}

.compare-page .breadcrumb,
.compare-page .breadcrumb span,
.compare-page .breadcrumb a {
    color: #64748b;
}

.compare-page .compare-hero h1,
.compare-page .compare-empty-state strong,
.compare-page .compare-dragon-head strong,
.compare-page .compare-search-item strong,
.compare-page .compare-value strong {
    color: #111827 !important;
}

.compare-page .compare-hero p,
.compare-page .compare-search-head span,
.compare-page .compare-search-item small,
.compare-page .compare-dragon-head small,
.compare-page .compare-value small,
.compare-page .compare-empty-state span {
    color: #64748b !important;
}

.compare-page .compare-selector label,
.compare-page .compare-row-label,
.compare-page .compare-label-head,
.compare-page .tier-value,
.compare-page .element-value {
    color: #334155 !important;
}

.compare-page .compare-search {
    color: #111827 !important;
    background: #ffffff !important;
    caret-color: #111827;
}

.compare-page .compare-search::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
}

.compare-page .compare-search-list,
.compare-page .compare-search-items,
.compare-page .compare-search-item,
.compare-page .compare-board,
.compare-page .compare-board > div {
    color: #111827;
}

.compare-page .compare-search-item:hover,
.compare-page .compare-search-item:focus {
    color: #111827;
}

.compare-page .compare-dragon-head a {
    color: #4f5fd5 !important;
}

.compare-page .compare-value.winner,
.compare-page .compare-value.winner span,
.compare-page .compare-value.winner small {
    color: #166534 !important;
}

.compare-page .compare-value.winner strong {
    color: #15803d !important;
}

.compare-page .compare-run-button,
.compare-page .compare-run-button span {
    color: #ffffff !important;
}

.compare-page .eyebrow {
    color: #6574d9 !important;
}
