

/* Start:/local/components/china/horoscope/templates/.default/style.css?177659653448318*/
/*
 * china-ru.ru · Chinese Horoscope · Web 3.0
 * Все стили раздела /horoscope/ — единый файл.
 * Путь: /local/components/china/horoscope/templates/.default/style.css
 */

:root {
    --horo-red:            #c62828;
    --horo-red-hover:      #a31f1f;
    --horo-red-light:      rgba(198, 40, 40, 0.1);
    --horo-dark-bg:        #111111;
    --horo-dark-card:      #1c1c1c;
    --horo-border:         #333333;
    --horo-text-white:     #ffffff;
    --horo-text-gray:      #a0a0a0;
    --horo-shadow:         0 10px 30px rgba(0, 0, 0, 0.08);
    --horo-radius:         16px;
    --horo-transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===============================================================
   БАЗА
   =============================================================== */

.horo-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0 80px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fff;
}

/* ===============================================================
   1. ВЕРХНИЙ БАННЕР
   =============================================================== */

.horo-banner {
    position: relative;
    min-height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
                url('/upload/horoscope/banner_main.jpg') no-repeat center;
    background-size: cover;
    border-radius: var(--horo-radius);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    color: #fff;
    margin-bottom: 40px;
}
.horo-banner__cn       { font-size: 64px; line-height: 1; opacity: 0.5; margin-bottom: 15px; }
.horo-banner__title    { font-size: 48px; font-weight: 800; margin: 0 0 15px; text-transform: uppercase; letter-spacing: 1px; }
.horo-banner__subtitle { font-size: 18px; max-width: 550px; line-height: 1.6; opacity: 0.95; margin: 0; }

/* ===============================================================
   2. СЕКЦИЯ-КАРТОЧКА (калькулятор и совместимость)
   =============================================================== */

.horo-section-card {
    background: #fff;
    border-radius: var(--horo-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--horo-shadow);
    border-top: 5px solid var(--horo-red);
}
.horo-web3-title { font-size: 24px; font-weight: 700; color: #222; margin: 0 0 30px; }

.horo-web3-form        { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.horo-input-group      { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.horo-input-group label{ font-size: 13px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.5px; padding-left: 5px; }

/* Базовые стили поля — применяются и к нативному <select>, и к триггеру кастомного dropdown */
.horo-web3-select {
    width: 100%;
    height: 54px;
    padding: 0 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    background: #f9f9f9;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    font-family: inherit;
    color: #222;
    transition: var(--horo-transition);
    line-height: 1;
    text-align: left;
}
.horo-web3-select:focus {
    outline: none;
    border-color: var(--horo-red);
    background-color: #fff;
    box-shadow: 0 0 0 4px var(--horo-red-light);
}

.horo-web3-btn {
    height: 54px;
    padding: 0 40px;
    background: var(--horo-red);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--horo-transition);
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
    white-space: nowrap;
    font-family: inherit;
}
.horo-web3-btn:hover { background: var(--horo-red-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(198, 40, 40, 0.4); }

/* ===============================================================
   3. КАСТОМНЫЙ DROPDOWN (max 12 видимых строк + скролл)
   =============================================================== */

.horo-custom-select { position: relative; width: 100%; }
.horo-custom-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: 100%;
}
.horo-custom-select.is-open .horo-custom-select__trigger,
.horo-custom-select__trigger[aria-expanded="true"] {
    border-color: var(--horo-red);
    background: #fff;
    box-shadow: 0 0 0 4px var(--horo-red-light);
}
.horo-custom-select__value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}
.horo-custom-select__arrow {
    flex: none;
    color: var(--horo-red);
    transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.horo-custom-select.is-open .horo-custom-select__arrow { transform: rotate(180deg); }

.horo-custom-select__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    max-height: 432px;            /* 12 × 36px = 432 */
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    background: #fff;
    border: 1px solid rgba(198, 40, 40, .15);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .12), 0 4px 12px rgba(198, 40, 40, .08);
    list-style: none;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.horo-custom-select.is-open .horo-custom-select__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.horo-custom-select__option {
    padding: 9px 14px;
    font-size: 15px;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, color .15s;
    line-height: 1.35;
}
.horo-custom-select__option:hover        { background: var(--horo-red-light); color: var(--horo-red); }
.horo-custom-select__option.is-selected  { background: var(--horo-red); color: #fff; font-weight: 600; }
.horo-custom-select__panel::-webkit-scrollbar       { width: 8px; }
.horo-custom-select__panel::-webkit-scrollbar-track { background: #f6f6f6; border-radius: 0 12px 12px 0; }
.horo-custom-select__panel::-webkit-scrollbar-thumb { background: rgba(198, 40, 40, .35); border-radius: 4px; border: 2px solid #f6f6f6; }
.horo-custom-select__panel::-webkit-scrollbar-thumb:hover { background: rgba(198, 40, 40, .6); }

/* ===============================================================
   4. РЕЗУЛЬТАТ ГОРОСКОПА · выезжает под калькулятором
   =============================================================== */

.horo-result-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    padding: 0 40px;
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(252,248,248,.92));
    border: 1px solid transparent;
    border-radius: 24px;
    position: relative;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        max-height .7s cubic-bezier(.4,0,.2,1),
        opacity .5s ease,
        padding .5s ease,
        margin-top .5s ease,
        border-color .5s ease,
        box-shadow .5s ease;
}
.horo-result-panel.active {
    max-height: 1400px;
    opacity: 1;
    margin-top: 28px;
    padding: 45px 40px;
    border-color: rgba(198, 40, 40, .22);
    box-shadow: 0 25px 70px rgba(198, 40, 40, .13);
}
.horo-result-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c62828 0%, #ff5a5a 50%, #8B1A1A 100%);
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity .5s ease .15s;
}
.horo-result-panel.active::before { opacity: 1; }

.horo-result-close {
    position: absolute;
    top: 18px; right: 22px;
    width: 38px; height: 38px;
    border: 1px solid rgba(198, 40, 40, .25);
    background: rgba(255, 255, 255, .75);
    color: var(--horo-red);
    font-size: 24px; font-weight: 300;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s cubic-bezier(.2, .8, .2, 1);
    z-index: 2;
}
.horo-result-close:hover {
    background: var(--horo-red);
    color: #fff;
    border-color: var(--horo-red);
    transform: rotate(90deg) scale(1.05);
}

.horo-calc__result-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #c62828 0%, #8B1A1A 60%, #4a1010 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 0 0 14px;
    padding-right: 50px;
}
.horo-calc__result-element {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(198, 40, 40, .08);
    border: 1px solid rgba(198, 40, 40, .2);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #8B1A1A;
    letter-spacing: .3px;
    margin-bottom: 26px;
}
.horo-calc__result-element::before { content: '✦'; font-size: 12px; color: var(--horo-red); }

.horo-result-panel hr { border: 0; border-top: 1px solid rgba(198, 40, 40, .12); margin: 0 0 22px; }

#destiny-text                 { font-size: 16px; line-height: 1.75; color: #333; margin: 0; min-height: 70px; }
#destiny-text p               { margin: 0 0 14px; }
#destiny-text p:last-child    { margin-bottom: 0; }
#destiny-text strong          { color: #8B1A1A; font-weight: 700; }
#destiny-text em              { color: #666; font-style: italic; }
#destiny-text ul, #destiny-text ol { margin: 0 0 14px; padding-left: 22px; }
#destiny-text li              { margin-bottom: 6px; }

#destiny-text.loading {
    font-style: italic;
    color: #888;
    position: relative;
    padding-left: 48px;
    font-size: 17px;
    min-height: 40px;
    display: flex;
    align-items: center;
}
#destiny-text.loading::before {
    content: '✨';
    position: absolute;
    left: 6px; top: 50%;
    transform-origin: center;
    font-size: 28px;
    animation: horo-star-twinkle 1.8s ease-in-out infinite;
}
@keyframes horo-star-twinkle {
    0%, 100% { transform: translateY(-50%) rotate(0deg)   scale(1);    opacity: 1;  filter: drop-shadow(0 0 8px  rgba(198,40,40,.4)); }
    50%      { transform: translateY(-50%) rotate(180deg) scale(1.25); opacity: .6; filter: drop-shadow(0 0 18px rgba(198,40,40,.75)); }
}

/* Плашки «Энергия» и «Направление» под основным текстом */
.horo-destiny-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(198, 40, 40, .12);
}
.horo-destiny-meta__item {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(198,40,40,.07), rgba(198,40,40,.02));
    border: 1px solid rgba(198, 40, 40, .18);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    overflow: hidden;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.horo-destiny-meta__item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, #c62828, #8B1A1A);
    opacity: .9;
}
.horo-destiny-meta__item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(198, 40, 40, .12); }
.horo-destiny-meta__label {
    font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: #8B1A1A; opacity: .75;
}
.horo-destiny-meta__value { font-size: 17px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }

/* ===============================================================
   5. СОВМЕСТИМОСТЬ · выезжающий блок
   =============================================================== */

.horo-compat__area {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height .65s cubic-bezier(.4,0,.2,1), opacity .4s ease, margin-top .4s ease;
}
.horo-compat__area.open { max-height: 500px; opacity: 1; margin-top: 28px; }

.horo-compat__result {
    padding: 28px 32px;
    border-radius: 16px;
    position: relative;
    border: 1px solid;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}
.horo-compat__result::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    opacity: .95;
}
.horo-compat__result-title {
    font-size: 22px; font-weight: 700; margin: 0 0 10px;
    letter-spacing: -.01em;
    display: flex; align-items: center; gap: 12px;
}
.horo-compat__result-title::before {
    font-size: 22px;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex: none; font-weight: 400;
}
.horo-compat__result-text { margin: 0; font-size: 15px; line-height: 1.7; color: #444; }

.horo-compat__result--good                 { background: linear-gradient(135deg, rgba(47,133,90,.09), rgba(47,133,90,.02)); border-color: rgba(47,133,90,.25); color: #1a4d36; }
.horo-compat__result--good::before         { background: linear-gradient(90deg, #2f855a, #48bb78, #2f855a); }
.horo-compat__result--good .horo-compat__result-title         { color: #1a5538; }
.horo-compat__result--good .horo-compat__result-title::before { content: '✓'; background: rgba(47,133,90,.15); color: #2f855a; }

.horo-compat__result--bad                  { background: linear-gradient(135deg, rgba(197,48,48,.09), rgba(197,48,48,.02)); border-color: rgba(197,48,48,.25); color: #7b1e1e; }
.horo-compat__result--bad::before          { background: linear-gradient(90deg, #c53030, #e53e3e, #c53030); }
.horo-compat__result--bad .horo-compat__result-title          { color: #8B1A1A; }
.horo-compat__result--bad .horo-compat__result-title::before  { content: '!'; background: rgba(197,48,48,.15); color: #c53030; font-weight: 700; }

.horo-compat__result--neutral              { background: linear-gradient(135deg, rgba(64,64,64,.06), rgba(64,64,64,.02)); border-color: rgba(64,64,64,.2); color: #333; }
.horo-compat__result--neutral::before      { background: linear-gradient(90deg, #4a5568, #718096, #4a5568); }
.horo-compat__result--neutral .horo-compat__result-title         { color: #2d3748; }
.horo-compat__result--neutral .horo-compat__result-title::before { content: '◉'; background: rgba(64,64,64,.1); color: #4a5568; }

/* ===============================================================
   6. СЕТКА ЗНАКОВ · тёмные карточки в web3-стиле
   =============================================================== */

.horo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}
.horo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--horo-dark-card);
    border: 1px solid var(--horo-border);
    border-radius: 20px;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
}
.horo-card__image-wrapper { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px 20px 0 0; }
.horo-card__image-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.92;
    transition: transform .6s ease, opacity .35s;
}
.horo-card:hover .horo-card__image-wrapper img { transform: scale(1.08); opacity: 1; }

.horo-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;                              /* заполняет оставшуюся высоту */
    padding: 22px 22px 20px;
    position: relative;
    z-index: 1;
}

/* Иероглиф-водяной знак в углу карточки */
.horo-card__cn {
    position: absolute;
    top: 8px; right: 16px;
    font-size: 84px;
    font-weight: 800;
    line-height: 1;
    color: rgba(198, 40, 40, .16);
    pointer-events: none;
    z-index: 0;
    letter-spacing: -.02em;
    transition: color .35s, transform .35s;
}
.horo-card:hover .horo-card__cn { color: rgba(198, 40, 40, .38); transform: translateY(-2px) scale(1.03); }

.horo-card__title { position: relative; z-index: 1; color: #fff; font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.horo-card__desc  { position: relative; z-index: 1; color: var(--horo-text-gray); font-size: 14px; line-height: 1.5; flex: 1; margin: 0 0 18px; }
.horo-card__years {
    margin-top: auto;                  /* прижимаем к низу, линия всегда ровная */
    padding-top: 15px;
    border-top: 1px solid var(--horo-border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    color: #ff5a5a;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
}
.horo-card__years::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--horo-red);
    box-shadow: 0 0 8px rgba(255, 90, 90, .7);
    flex: none;
}

/* Красное свечение-обводка при hover */
.horo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 30%, rgba(255,90,90,.5), rgba(198,40,40,.8));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
    z-index: 2;
}
.horo-card:hover::after { opacity: 1; }
.horo-card:hover        { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0, 0, 0, .35), 0 0 30px rgba(198, 40, 40, .25); border-color: rgba(198,40,40,.5); }

/* ===============================================================
   7. БЛОК «ПЯТЬ СТИХИЙ»
   =============================================================== */

.horo-section       { margin-bottom: 50px; }
.horo-section-title { font-size: 24px; font-weight: 700; color: #222; margin: 0 0 20px; }
.horo-section-desc  { font-size: 15px; line-height: 1.6; color: #666; }

.horo-elements-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.horo-element {
    position: relative;
    padding: 32px 22px 26px;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: default;
}
.horo-element::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.06), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.horo-element:hover         { transform: translateY(-6px) scale(1.02); }
.horo-element__cn           { font-size: 68px; font-weight: 700; line-height: 1; margin-bottom: 14px; position: relative; z-index: 1; transition: text-shadow .35s, transform .35s; }
.horo-element:hover .horo-element__cn { transform: translateY(-3px); }
.horo-element__name         { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 10px; letter-spacing: -.01em; position: relative; z-index: 1; }
.horo-element__desc         { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.72); margin: 0; position: relative; z-index: 1; }

.horo-element--wood         { background: linear-gradient(160deg, #1f3a2a 0%, #0d2418 100%); border-color: rgba(129,199,132,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 30px rgba(0,0,0,.25); }
.horo-element--wood .horo-element__cn         { color: #81c784; text-shadow: 0 0 24px rgba(129,199,132,.55); }
.horo-element--wood:hover .horo-element__cn   { text-shadow: 0 0 36px rgba(129,199,132,.85); }
.horo-element--wood:hover                     { box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 30px rgba(129,199,132,.2); }

.horo-element--fire         { background: linear-gradient(160deg, #3a1414 0%, #240808 100%); border-color: rgba(255,90,90,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 30px rgba(0,0,0,.3); }
.horo-element--fire .horo-element__cn         { color: #ff6b6b; text-shadow: 0 0 24px rgba(255,90,90,.6); }
.horo-element--fire:hover .horo-element__cn   { text-shadow: 0 0 42px rgba(255,90,90,.9); }
.horo-element--fire:hover                     { box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 36px rgba(255,90,90,.3); }

.horo-element--earth        { background: linear-gradient(160deg, #3a2a14 0%, #241808 100%); border-color: rgba(212,165,116,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 30px rgba(0,0,0,.25); }
.horo-element--earth .horo-element__cn        { color: #e0b887; text-shadow: 0 0 24px rgba(212,165,116,.55); }
.horo-element--earth:hover .horo-element__cn  { text-shadow: 0 0 36px rgba(212,165,116,.85); }
.horo-element--earth:hover                    { box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 30px rgba(212,165,116,.2); }

.horo-element--metal        { background: linear-gradient(160deg, #2b2b2b 0%, #141414 100%); border-color: rgba(224,224,224,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.25); }
.horo-element--metal .horo-element__cn        { color: #eaeaea; text-shadow: 0 0 24px rgba(255,255,255,.3); }
.horo-element--metal:hover .horo-element__cn  { text-shadow: 0 0 36px rgba(255,255,255,.5); }
.horo-element--metal:hover                    { box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 30px rgba(255,255,255,.08); }

.horo-element--water        { background: linear-gradient(160deg, #14283a 0%, #081624 100%); border-color: rgba(100,181,246,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 30px rgba(0,0,0,.25); }
.horo-element--water .horo-element__cn        { color: #64b5f6; text-shadow: 0 0 24px rgba(100,181,246,.55); }
.horo-element--water:hover .horo-element__cn  { text-shadow: 0 0 36px rgba(100,181,246,.85); }
.horo-element--water:hover                    { box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 30px rgba(100,181,246,.2); }

/* ===============================================================
   8. ТАБЛИЦА ГОДОВ
   =============================================================== */

.horo-table-scroll { overflow-x: auto; }
.horo-table-web3 {
    width: 100%;
    table-layout: fixed;            /* колонки держат проценты, не ужимаются под контент */
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
}
.horo-table-web3 th {
    text-align: left;
    padding: 16px 24px;
    font-size: 12px;
    text-transform: uppercase;
    color: #9a9a9a;
    letter-spacing: 1.5px;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
}
.horo-table-web3 td {
    padding: 18px 24px;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}
.horo-table-web3 th:nth-child(1), .horo-table-web3 td:nth-child(1) { width: 22%; }
.horo-table-web3 th:nth-child(2), .horo-table-web3 td:nth-child(2) { width: 18%; }
.horo-table-web3 th:nth-child(3), .horo-table-web3 td:nth-child(3) { width: 60%; }

.horo-table-web3 tbody tr { transition: background .2s; }
.horo-table-web3 tbody tr:hover { background: rgba(198, 40, 40, .035); }
.horo-table-web3 tbody tr:last-child td { border-bottom: 0; }

/* Знак — ссылка со стрелкой-появляшкой на hover */
.horo-table-sign-link {
    color: var(--horo-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 17px;
    letter-spacing: -.01em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color .2s;
}
.horo-table-sign-link:hover { color: var(--horo-red-hover); }
.horo-table-sign-link::after {
    content: '→';
    font-size: 16px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .25s, transform .25s;
    display: inline-block;
}
.horo-table-web3 tbody tr:hover .horo-table-sign-link::after {
    opacity: 1;
    transform: translateX(0);
}

/* Стихия — цветная точка + название. Цвет по data-атрибуту из PHP. */
.horo-table-el-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #444;
}
.horo-table-el-text::before {
    content: '';
    width: 10px; height: 10px;
    border-radius: 50%;
    flex: none;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    opacity: .85;
}
.horo-table-el-text[data-el="Вода"]   { color: #2b6cb0; }
.horo-table-el-text[data-el="Земля"]  { color: #b8864a; }
.horo-table-el-text[data-el="Дерево"] { color: #3a8a3d; }
.horo-table-el-text[data-el="Огонь"]  { color: #c53030; }
.horo-table-el-text[data-el="Металл"] { color: #6b6b6b; }

/* Годы — чипы-пилюли, растянутые по ширине колонки (6 равных ячеек) */
.horo-table-years-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
    width: 100%;
}
.horo-table-year {
    padding: 6px 10px;
    background: #f6f6f8;
    border: 1px solid #ececee;
    border-radius: 999px;
    font-size: 13px;
    color: #555;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    text-align: center;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
@media (max-width: 900px) {
    .horo-table-years-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.horo-table-web3 tbody tr:hover .horo-table-year {
    background: rgba(198, 40, 40, .08);
    border-color: rgba(198, 40, 40, .22);
    color: var(--horo-red);
}
.horo-table-year:hover {
    transform: translateY(-1px);
    background: var(--horo-red);
    color: #fff;
    border-color: var(--horo-red);
}

.horo-link-more        { color: var(--horo-red); font-weight: 700; text-decoration: none; font-size: 15px; }

/* ===============================================================
   9. АДАПТИВ
   =============================================================== */

@media (max-width: 1100px) {
    .horo-elements-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .horo-grid          { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .horo-page             { padding: 10px; }
    .horo-banner           { padding: 40px 30px; min-height: 300px; }
    .horo-banner__title    { font-size: 28px; }
    .horo-banner__cn       { font-size: 40px; }
    .horo-web3-form        { flex-direction: column; align-items: stretch; }
    .horo-grid             { grid-template-columns: 1fr; }
    .horo-section-card     { padding: 25px; }

    .horo-result-panel.active      { padding: 32px 24px; margin-top: 22px; }
    .horo-calc__result-title       { font-size: 26px; padding-right: 44px; }
    .horo-result-close             { top: 14px; right: 14px; width: 34px; height: 34px; font-size: 20px; }
    .horo-compat__area.open        { margin-top: 22px; }
    .horo-compat__result           { padding: 22px 24px; }
    .horo-compat__result-title     { font-size: 19px; }
    .horo-compat__result-text      { font-size: 14px; }
    .horo-elements-grid            { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .horo-element                  { min-height: 220px; padding: 26px 18px 22px; }
    .horo-element__cn              { font-size: 58px; }
    .horo-element__name            { font-size: 19px; }
    .horo-card__cn                 { font-size: 68px; }
}
@media (max-width: 480px) {
    .horo-elements-grid { grid-template-columns: 1fr; }
}

/* ===============================================================
   10. СТРАНИЦА ЗНАКА · /horoscope/znak/<code>/
   =============================================================== */

.horo-sign__crumbs {
    padding: 12px 0 20px;
    font-size: 14px;
    color: var(--horo-text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.horo-sign__crumbs a { color: var(--horo-red); text-decoration: none; font-weight: 600; transition: color .2s; }
.horo-sign__crumbs a:hover { color: var(--horo-red-hover); }
.horo-sign__crumbs span { color: #999; }

/* Hero */
.horo-sign__hero {
    position: relative;
    background: linear-gradient(135deg, #14080a 0%, #1a0e10 50%, #0f0607 100%);
    border-radius: 24px;
    padding: 60px 50px;
    margin-bottom: 50px;
    overflow: hidden;
    border: 1px solid rgba(198, 40, 40, .22);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.horo-sign__hero-bg {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 520px;
    font-weight: 900;
    line-height: 1;
    color: rgba(198, 40, 40, .08);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    text-shadow: 0 0 80px rgba(198, 40, 40, .15);
}
.horo-sign__hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
}
.horo-sign__hero-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 35px;
    background: radial-gradient(circle at 50% 30%, rgba(198, 40, 40, .22), transparent 70%);
    border: 1px solid rgba(198, 40, 40, .28);
    border-radius: 20px;
    min-width: 200px;
}
.horo-sign__cn {
    font-size: 130px;
    font-weight: 700;
    line-height: 1;
    color: #ff5a5a;
    text-shadow: 0 0 40px rgba(255, 90, 90, .6), 0 0 80px rgba(198, 40, 40, .35);
    letter-spacing: -.04em;
}
.horo-sign__pinyin {
    font-size: 18px;
    font-weight: 500;
    color: #d4a0a0;
    letter-spacing: .05em;
    font-style: italic;
}

.horo-sign__hero-body { color: #fff; }
.horo-sign__hero-body > * + * { margin-top: 16px; }

.horo-sign__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #d4a0a0;
    padding: 5px 12px;
    border: 1px solid rgba(255, 90, 90, .3);
    border-radius: 999px;
    background: rgba(198, 40, 40, .1);
}
.horo-sign__title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffbdbd 60%, #ff5a5a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -.02em;
}
.horo-sign__element {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}
.horo-sign__element span { color: rgba(255, 255, 255, .55); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; font-weight: 700; }
.horo-sign__element b     { color: #fff; font-weight: 600; }
.horo-sign__element[data-el="Вода"]   b { color: #7dc3f3; }
.horo-sign__element[data-el="Земля"]  b { color: #e0b887; }
.horo-sign__element[data-el="Дерево"] b { color: #81c784; }
.horo-sign__element[data-el="Огонь"]  b { color: #ff6b6b; }
.horo-sign__element[data-el="Металл"] b { color: #eaeaea; }

.horo-sign__short {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
    max-width: 650px;
    margin: 0;
}
.horo-sign__hero-cta { margin-top: 32px; }
.horo-sign__hero-cta .horo-web3-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    height: auto;
    background: linear-gradient(135deg, rgba(198, 40, 40, .45), rgba(139, 26, 26, .45));
    border: 1px solid rgba(255, 90, 90, .45);
    color: #fff;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-decoration: none;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(198, 40, 40, .25), inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: all .25s cubic-bezier(.2, .8, .2, 1);
}
.horo-sign__hero-cta .horo-web3-btn::after {
    content: '→';
    transition: transform .25s;
}
.horo-sign__hero-cta .horo-web3-btn:hover {
    background: linear-gradient(135deg, #c62828, #8B1A1A);
    border-color: #ff5a5a;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(198, 40, 40, .45), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.horo-sign__hero-cta .horo-web3-btn:hover::after { transform: translateX(4px); }

/* Года с стихиями */
.horo-sign__years {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.horo-sign__year-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 22px;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 14px;
    text-align: center;
    min-width: 120px;
    transition: var(--horo-transition);
}
.horo-sign__year-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    border-color: var(--horo-red);
}
.horo-sign__year-value {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    font-variant-numeric: tabular-nums;
}
.horo-sign__year-element {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--horo-red);
}
.horo-sign__year-chip[data-el="Вода"]   { border-color: rgba(43, 108, 176, .25); }
.horo-sign__year-chip[data-el="Вода"]   .horo-sign__year-element { color: #2b6cb0; }
.horo-sign__year-chip[data-el="Земля"]  { border-color: rgba(184, 134, 74, .25); }
.horo-sign__year-chip[data-el="Земля"]  .horo-sign__year-element { color: #b8864a; }
.horo-sign__year-chip[data-el="Дерево"] { border-color: rgba(58, 138, 61, .25); }
.horo-sign__year-chip[data-el="Дерево"] .horo-sign__year-element { color: #3a8a3d; }
.horo-sign__year-chip[data-el="Огонь"]  { border-color: rgba(197, 48, 48, .3); }
.horo-sign__year-chip[data-el="Огонь"]  .horo-sign__year-element { color: #c53030; }
.horo-sign__year-chip[data-el="Металл"] { border-color: rgba(107, 107, 107, .25); }
.horo-sign__year-chip[data-el="Металл"] .horo-sign__year-element { color: #6b6b6b; }

/* Полное описание */
.horo-sign__full {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

/* Блок стихии */
.horo-sign__element-card {
    padding: 28px 32px;
    border-radius: 18px;
    border: 1px solid;
    max-width: 900px;
    font-size: 15px;
    line-height: 1.7;
}
.horo-sign__element-card[data-el="Вода"]   { background: linear-gradient(135deg, rgba(43, 108, 176, .08), rgba(43, 108, 176, .02)); border-color: rgba(43, 108, 176, .25); color: #1a3a5a; }
.horo-sign__element-card[data-el="Земля"]  { background: linear-gradient(135deg, rgba(184, 134, 74, .08), rgba(184, 134, 74, .02)); border-color: rgba(184, 134, 74, .25); color: #5a401a; }
.horo-sign__element-card[data-el="Дерево"] { background: linear-gradient(135deg, rgba(58, 138, 61, .08), rgba(58, 138, 61, .02)); border-color: rgba(58, 138, 61, .25); color: #1a4d20; }
.horo-sign__element-card[data-el="Огонь"]  { background: linear-gradient(135deg, rgba(197, 48, 48, .08), rgba(197, 48, 48, .02)); border-color: rgba(197, 48, 48, .25); color: #7b1e1e; }
.horo-sign__element-card[data-el="Металл"] { background: linear-gradient(135deg, rgba(107, 107, 107, .08), rgba(107, 107, 107, .02)); border-color: rgba(107, 107, 107, .25); color: #2a2a2a; }

/* Карточки совместимости (best / worst) */
.horo-sign__match-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.horo-sign__match-grid--bad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
    .horo-sign__match-grid,
    .horo-sign__match-grid--bad { grid-template-columns: 1fr; }
}

.horo-sign__match {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    background: var(--horo-dark-card);
    border: 1px solid var(--horo-border);
    border-radius: 18px;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
    overflow: hidden;
    position: relative;
}
.horo-sign__match:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3), 0 0 30px rgba(198, 40, 40, .25);
    border-color: rgba(198, 40, 40, .5);
}
.horo-sign__match-cn {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 90, 90, .7);
    text-shadow: 0 0 20px rgba(255, 90, 90, .35);
    letter-spacing: -.03em;
}
.horo-sign__match-body h3 { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.horo-sign__match-body p  { color: var(--horo-text-gray); font-size: 13px; line-height: 1.5; margin: 0; }
.horo-sign__match-arrow {
    color: rgba(255, 90, 90, .8);
    font-size: 22px;
    font-weight: 700;
    transition: transform .3s;
}
.horo-sign__match:hover .horo-sign__match-arrow { transform: translateX(6px); color: #ff5a5a; }

.horo-sign__match-grid--bad .horo-sign__match-cn { color: rgba(136, 136, 136, .5); text-shadow: 0 0 15px rgba(136, 136, 136, .3); }
.horo-sign__match-grid--bad .horo-sign__match:hover { border-color: rgba(136, 136, 136, .4); box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.horo-sign__match-grid--bad .horo-sign__match:hover .horo-sign__match-cn { color: #a8a8a8; }

/* Футер CTA — две ровные пилюли одного ранга */
.horo-sign__footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0 10px;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}
.horo-sign__footer-cta .horo-link-more,
.horo-sign__footer-cta .horo-web3-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    height: auto;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(198, 40, 40, .22);
    background: rgba(198, 40, 40, .06);
    color: var(--horo-red);
    box-shadow: none;
    transition: all .25s cubic-bezier(.2, .8, .2, 1);
    white-space: nowrap;
}
.horo-sign__footer-cta .horo-link-more:hover,
.horo-sign__footer-cta .horo-web3-btn:hover {
    background: var(--horo-red);
    color: #fff;
    border-color: var(--horo-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(198, 40, 40, .28);
}
/* У «Полная таблица…» добавляем стрелку через ::after */
.horo-sign__footer-cta .horo-web3-btn::after {
    content: '→';
    font-size: 15px;
    transition: transform .25s;
}
.horo-sign__footer-cta .horo-web3-btn:hover::after { transform: translateX(4px); }

@media (max-width: 600px) {
    .horo-sign__footer-cta { flex-direction: column; align-items: stretch; }
    .horo-sign__footer-cta .horo-link-more,
    .horo-sign__footer-cta .horo-web3-btn { justify-content: center; }
}

@media (max-width: 900px) {
    .horo-sign__hero { padding: 40px 28px; }
    .horo-sign__hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .horo-sign__hero-icon { margin: 0 auto; }
    .horo-sign__title { font-size: 40px; }
    .horo-sign__cn { font-size: 96px; }
    .horo-sign__hero-bg { font-size: 340px; right: -50px; }
}

/* ===============================================================
   11. СТРАНИЦА СОВМЕСТИМОСТИ · /horoscope/sovmestimost/
   =============================================================== */

.horo-compat-hero {
    position: relative;
    background: linear-gradient(135deg, #14080a 0%, #1a0e10 50%, #0f0607 100%);
    border-radius: 24px;
    padding: 70px 50px;
    margin-bottom: 50px;
    overflow: hidden;
    border: 1px solid rgba(198, 40, 40, .22);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .04);
    color: #fff;
}
.horo-compat-hero__bg {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 440px;
    font-weight: 900;
    line-height: 1;
    color: rgba(198, 40, 40, .08);
    pointer-events: none;
    user-select: none;
    text-shadow: 0 0 80px rgba(198, 40, 40, .15);
    z-index: 0;
}
.horo-compat-hero__body { position: relative; z-index: 1; max-width: 780px; }
.horo-compat-hero__body > * + * { margin-top: 18px; }
.horo-compat-hero__title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffbdbd 60%, #ff5a5a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -.02em;
}
.horo-compat-hero__subtitle { font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .8); max-width: 680px; margin: 0; }

/* Триады (Сань Хэ) — 4 тёмные карточки */
.horo-triads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .horo-triads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .horo-triads { grid-template-columns: 1fr; } }

.horo-triad {
    padding: 28px 22px;
    background: var(--horo-dark-card);
    border: 1px solid var(--horo-border);
    border-radius: 20px;
    text-align: center;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}
.horo-triad::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff5a5a, transparent);
    opacity: .7;
}
.horo-triad:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 40, 40, .5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3), 0 0 30px rgba(198, 40, 40, .25);
}
.horo-triad__signs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.horo-triad__sign {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: transform .25s;
}
.horo-triad__sign:hover { transform: scale(1.08); }
.horo-triad__sign-cn   { font-size: 42px; font-weight: 700; line-height: 1; color: #ff5a5a; text-shadow: 0 0 16px rgba(255, 90, 90, .35); }
.horo-triad__sign-name { font-size: 13px; color: rgba(255, 255, 255, .8); font-weight: 500; }
.horo-triad__plus      { color: rgba(255, 255, 255, .4); font-size: 24px; font-weight: 300; }
.horo-triad__label     { font-size: 13px; color: rgba(255, 255, 255, .55); margin: 0; letter-spacing: .03em; line-height: 1.5; }

/* Пары — best / bad */
.horo-pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .horo-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .horo-pairs { grid-template-columns: 1fr; } }

.horo-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 18px;
    transition: var(--horo-transition);
}
.horo-pairs--best .horo-pair {
    background: linear-gradient(135deg, rgba(47, 133, 90, .06), rgba(47, 133, 90, .01));
    border: 1px solid rgba(47, 133, 90, .2);
}
.horo-pairs--best .horo-pair:hover { border-color: rgba(47, 133, 90, .4); box-shadow: 0 10px 30px rgba(47, 133, 90, .12); transform: translateY(-2px); }
.horo-pairs--bad  .horo-pair {
    background: linear-gradient(135deg, rgba(197, 48, 48, .06), rgba(197, 48, 48, .01));
    border: 1px solid rgba(197, 48, 48, .2);
}
.horo-pairs--bad  .horo-pair:hover { border-color: rgba(197, 48, 48, .4); box-shadow: 0 10px 30px rgba(197, 48, 48, .12); transform: translateY(-2px); }

.horo-pair__sign {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: transform .25s;
}
.horo-pair__sign:hover { transform: scale(1.08); }
.horo-pair__cn   { font-size: 44px; font-weight: 700; line-height: 1; color: var(--horo-red); letter-spacing: -.03em; }
.horo-pair__name { font-size: 14px; color: #333; font-weight: 600; }

.horo-pair__connector {
    font-size: 24px;
    font-weight: 300;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.horo-pair__connector--heart { color: #c53030; background: rgba(197, 48, 48, .08); border: 1px solid rgba(197, 48, 48, .18); }
.horo-pair__connector--vs    { color: #555; background: rgba(0, 0, 0, .04); border: 1px solid rgba(0, 0, 0, .08); }

/* Полная таблица совместимости */
.horo-compat-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.horo-compat-table th:nth-child(1), .horo-compat-table td:nth-child(1) { width: 18%; }
.horo-compat-table th:nth-child(2), .horo-compat-table td:nth-child(2) { width: 41%; }
.horo-compat-table th:nth-child(3), .horo-compat-table td:nth-child(3) { width: 41%; }
.horo-compat-table th {
    text-align: left;
    padding: 16px 20px;
    font-size: 12px;
    text-transform: uppercase;
    color: #9a9a9a;
    letter-spacing: 1.5px;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
}
.horo-compat-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}
.horo-compat-table tbody tr:last-child td { border-bottom: 0; }
.horo-compat-table tbody tr { transition: background .2s; }
.horo-compat-table tbody tr:hover { background: rgba(198, 40, 40, .025); }

.horo-compat-table__sign {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--horo-red);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: color .2s;
}
.horo-compat-table__sign:hover { color: var(--horo-red-hover); }
.horo-compat-table__sign-cn   { font-size: 22px; color: var(--horo-red); line-height: 1; }
.horo-compat-table__sign-name { letter-spacing: -.01em; }

.horo-compat-table__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.horo-compat-table__chip {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--horo-transition);
}
.horo-compat-table__chips--good .horo-compat-table__chip { background: rgba(47, 133, 90, .08);  border: 1px solid rgba(47, 133, 90, .22);  color: #1a5538; }
.horo-compat-table__chips--good .horo-compat-table__chip:hover { background: #2f855a; color: #fff; border-color: #2f855a; transform: translateY(-1px); }
.horo-compat-table__chips--bad  .horo-compat-table__chip { background: rgba(197, 48, 48, .08); border: 1px solid rgba(197, 48, 48, .22); color: #8B1A1A; }
.horo-compat-table__chips--bad  .horo-compat-table__chip:hover { background: var(--horo-red); color: #fff; border-color: var(--horo-red); transform: translateY(-1px); }

@media (max-width: 900px) {
    .horo-compat-hero          { padding: 48px 28px; }
    .horo-compat-hero__title   { font-size: 36px; }
    .horo-compat-hero__bg      { font-size: 280px; right: -40px; }
    .horo-compat-table th:nth-child(1), .horo-compat-table td:nth-child(1) { width: 25%; }
    .horo-compat-table th:nth-child(2), .horo-compat-table td:nth-child(2),
    .horo-compat-table th:nth-child(3), .horo-compat-table td:nth-child(3) { width: 37.5%; }
}

/* End */
/* /local/components/china/horoscope/templates/.default/style.css?177659653448318 */
