/* =============================================================================
   Telugu Baby Names — Design Tokens & Conventions
   -----------------------------------------------------------------------------
   - Fonts: DM Sans (all English UI/headings/listings), Noto Sans Telugu
     (Telugu — .font-tel).
   - Type scale (DM Sans, Moms Home weights): base 16px/400/lh 24px; h2 22px/700;
     h1 clamp(26–32px)/700; names 16px/500; nav 16px/400; buttons 16px/600.
   - Weights: 400 body; 500 UI & name links; 600 labels & buttons; 700 headings.
   - Surfaces: --tbn-surface (white), --tbn-surface-soft (teal-tinted neutral
     for hover/heads), --tbn-surface-alt (#fafafa).
   - Lines: --tbn-line (#e6e8eb) for inner dividers; --tbn-border (#dbdbdb) for
     outer card chrome.
   - Radius: 12px cards, 8px buttons/inputs, 999px chips/heart.
   - Focus: universal `:focus-visible` ring using --tbn-accent.
   ========================================================================== */

@layer base {
    html {
        scroll-behavior: smooth;
        scroll-padding-top: calc(var(--tbn-header-h, 70px) + 56px);
        overflow-x: clip;
    }
    body {
        background: #ffffff;
        color: #363636;
        font-size: var(--tbn-fs-body);
        font-weight: var(--tbn-fw-body);
        line-height: var(--tbn-lh-body);
        letter-spacing: var(--tbn-ls-body);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow-x: clip;
        max-width: 100%;
    }
    #page.site {
        overflow-x: clip;
        max-width: 100%;
    }
    p {
        margin-top: 0;
        margin-bottom: 0.9em;
    }
}

@layer components {
    .notd-watermark {
        position: absolute; right: -16px; bottom: -24px;
        font-family: 'Noto Sans Telugu', sans-serif; font-size: 160px; font-weight: 600; line-height: 1;
        pointer-events: none;
    }
    .search-select {
        flex: 1; border: none; outline: none; background: transparent;
        font-family: 'DM Sans', sans-serif; font-size: var(--tbn-fs-body); font-weight: var(--tbn-fw-semibold);
        color: #2C1A0A; cursor: pointer;
        appearance: none; -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23A8917A'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: right 10px center;
        padding: 10px 28px 10px 4px;
    }
}

@layer utilities {
    .blob { position: absolute; border-radius: 50%; }
    .scrollbar-none::-webkit-scrollbar { display: none; }
    .scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }
    .visually-hidden {
        position: absolute !important;
        width: 1px; height: 1px;
        padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0, 0, 0, 0);
        white-space: nowrap; border: 0;
    }
}

/* -------------------------------------------------------------------------- */
/* Font system                                                                 */
/* -------------------------------------------------------------------------- */
body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--tbn-fw-heading);
    letter-spacing: var(--tbn-ls-heading);
}
h1 {
    font-size: var(--tbn-fs-h1);
    line-height: var(--tbn-lh-h1);
}
h2 {
    font-size: var(--tbn-fs-h2);
    line-height: var(--tbn-lh-h2);
}
h3 {
    font-size: var(--tbn-fs-h3);
    font-weight: var(--tbn-fw-semibold);
    line-height: var(--tbn-lh-h3);
}
h4, h5, h6 {
    font-size: var(--tbn-fs-body);
    font-weight: var(--tbn-fw-semibold);
    line-height: var(--tbn-lh-body);
}

.font-display { font-family: inherit; }

.font-en,
.font-en * {
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

.font-tel,
.font-tel * {
    font-family: 'Noto Sans Telugu', sans-serif !important;
}

/* -------------------------------------------------------------------------- */
/* TEMP: hide Telugu name spellings until letter/mapping data is cleaned       */
/* Keeps section labels / UI Telugu copy visible. Remove when name_te is fixed */
/* -------------------------------------------------------------------------- */
.tbn-name-table__name-te-group,
.tbn-name-table__name-te,
.tbn-name-card__te-group,
.tbn-name-card__te,
.tc-te,
.tbn-notd__name-te,
.tbn-notd-banner__name-te,
.tbn-favorites-list__te,
.tbn-compare-card__te,
.tbn-hero-letter-te,
.tbn-hero-letter-sep,
.tbn-hero-watermark-te,
.ltr-tile-te {
    display: none !important;
}

/* Improve long-text readability on content sections without affecting cards/tables */
.site-main p {
    max-width: 68ch;
}
.site-main .tbn-name-table p,
.site-main .tbn-trend-scroll p,
.site-main .tbn-browse-grid p,
.site-main .rashi-card p,
.site-main .nk-card-link p,
.site-main .tbn-compare-card p,
.site-main .tbn-favorites-list p,
.site-main .tbn-static-page__p {
    max-width: none;
}

/* -------------------------------------------------------------------------- */
/* Text-only logo (DM Sans)                                                    */
/* -------------------------------------------------------------------------- */
.tbn-logo-text {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-family: 'DM Sans', system-ui, sans-serif;
}
.tbn-logo-text__wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    letter-spacing: 0;
}
.tbn-logo-text__main {
    font-size: 20px;
    font-weight: var(--tbn-fw-heading);
    color: var(--tbn-text);
    transition: color 0.2s ease;
}
.tbn-logo-text__accent {
    font-size: 20px;
    font-weight: var(--tbn-fw-heading);
    color: var(--tbn-accent);
    margin: 0 2px;
    transition: color 0.2s ease;
}
.tbn-logo-text:hover .tbn-logo-text__main {
    color: var(--tbn-accent-deep);
}

@media (max-width: 767px) {
    .tbn-logo-text__main { font-size: 18px; }
    .tbn-logo-text__accent { font-size: 18px; }
}

/* Hero section — clean editorial */
/* ======================================================================== */
/* HERO — two-column: left = content, right = search card                   */
/* ======================================================================== */
.tbn-hero {
    padding: 0;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 90% at 8% 20%, rgba(242, 92, 126, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 55% 70% at 92% 78%, rgba(72, 95, 199, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse 50% 45% at 55% -5%, rgba(255, 200, 120, 0.14) 0%, transparent 45%),
        linear-gradient(165deg, #FFF5F7 0%, #fffaf8 42%, #f7f8fc 100%);
    border-bottom: 1px solid rgba(242, 92, 126, 0.12);
}
.tbn-hero::before,
.tbn-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.tbn-hero::before {
    width: min(420px, 55vw);
    height: min(420px, 55vw);
    top: -12%;
    right: -6%;
    background: radial-gradient(circle, rgba(242, 92, 126, 0.14) 0%, rgba(242, 92, 126, 0) 70%);
}
.tbn-hero::after {
    width: min(360px, 48vw);
    height: min(360px, 48vw);
    bottom: -18%;
    left: -8%;
    background: radial-gradient(circle, rgba(72, 95, 199, 0.11) 0%, rgba(72, 95, 199, 0) 72%);
}
.tbn-hero__container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
@media (min-width: 900px) {
    .tbn-hero__container {
        flex-direction: row;
        align-items: center;
        gap: 64px;
        padding: 72px 48px 76px;
    }
}

/* Left side — headline + CTAs */
.tbn-hero__content {
    flex: 1 1 0%;
    min-width: 0;
    text-align: center;
}
@media (min-width: 900px) {
    .tbn-hero__content { text-align: left; }
}

.tbn-hero__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--tbn-text);
    margin: 0 0 20px;
}
.tbn-hero__title-accent {
    color: var(--tbn-accent);
}

.tbn-hero__sub {
    font-size: var(--tbn-fs-body);
    font-weight: var(--tbn-fw-body);
    line-height: 1.6;
    color: var(--tbn-text-mid);
    margin: 0 0 32px;
    max-width: 480px;
}
@media (min-width: 900px) {
    .tbn-hero__sub { margin-left: 0; margin-right: auto; }
}
.tbn-hero__sub strong {
    color: var(--tbn-text);
    font-weight: 700;
}

.tbn-hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
@media (min-width: 900px) {
    .tbn-hero__actions { justify-content: flex-start; }
}

.tbn-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: var(--tbn-fs-body);
    font-weight: var(--tbn-fw-semibold);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.tbn-hero__cta:hover {
    transform: translateY(-1px);
    text-decoration: none;
}
.tbn-hero__cta--boy {
    background: var(--tbn-accent);
    color: #fff;
    box-shadow: 0 2px 10px rgba(242, 92, 126, 0.3);
}
.tbn-hero__cta--boy:hover {
    background: var(--tbn-accent-mid);
    box-shadow: 0 4px 16px rgba(242, 92, 126, 0.4);
}
.tbn-hero__cta--girl {
    background: #fff;
    color: var(--tbn-text);
    border: 1.5px solid var(--tbn-line);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.tbn-hero__cta--girl:hover {
    border-color: var(--tbn-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.tbn-hero__cta i { font-size: 18px; }

/* Telugu subtitle */
.tbn-hero__sub-tel {
    font-size: var(--tbn-fs-h3);
    font-weight: var(--tbn-fw-semibold);
    line-height: 1.5;
    color: var(--tbn-text-mid);
    margin: 0 0 14px;
}

/* Trust strip below CTAs */
.tbn-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 28px;
    justify-content: center;
}
@media (min-width: 900px) {
    .tbn-hero__trust { justify-content: flex-start; }
}
.tbn-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--tbn-text-soft);
}
.tbn-hero__trust-item i {
    font-size: 16px;
    color: var(--tbn-accent);
}
.tbn-hero__trust-item strong {
    font-weight: 700;
    color: var(--tbn-text);
}

/* Feature highlights below trust strip */
.tbn-hero__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--tbn-line);
}
@media (min-width: 520px) {
    .tbn-hero__features { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
    .tbn-hero__features { grid-template-columns: 1fr 1fr 1fr; max-width: 540px; }
}
.tbn-hero__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.tbn-hero__feature > i {
    font-size: 20px;
    color: var(--tbn-accent);
    margin-top: 2px;
    flex-shrink: 0;
}
.tbn-hero__feature strong {
    display: block;
    font-size: 13px;
    font-weight: var(--tbn-fw-semibold);
    color: var(--tbn-text);
    line-height: 1.3;
}
.tbn-hero__feature span {
    display: block;
    font-size: 12px;
    color: var(--tbn-text-soft);
    line-height: 1.4;
}

/* Right side — search card */
.tbn-hero__search-side {
    flex: 0 0 auto;
    width: 100%;
    max-width: 380px;
}
@media (min-width: 900px) {
    .tbn-hero__search-side { width: 340px; }
}

.tbn-hero__search-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(242, 92, 126, 0.14);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 12px 32px rgba(60, 40, 50, 0.06),
        0 2px 8px rgba(242, 92, 126, 0.06);
}

.tbn-hero__search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: var(--tbn-accent);
    border-bottom: none;
}
.tbn-hero__search-header > i {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

.tbn-hero__search-heading {
    font-size: var(--tbn-fs-sm);
    font-weight: var(--tbn-fw-semibold);
    color: #fff;
    margin: 0;
    letter-spacing: 0.01em;
    line-height: 1.3;
}
.tbn-hero__search-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 2px 0 0;
    line-height: 1.3;
}

.tbn-hero__search-form {
    padding: 20px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tbn-hero__search-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.tbn-hero__search-field label {
    font-size: 12px;
    font-weight: var(--tbn-fw-medium);
    color: var(--tbn-text-soft);
    letter-spacing: 0.02em;
}
.tbn-hero__search-field select {
    width: 100%;
    height: 44px;
    padding: 0 36px 0 12px;
    font-size: var(--tbn-fs-sm);
    font-weight: var(--tbn-fw-body);
    color: var(--tbn-text);
    background: #fff;
    border: 1.5px solid var(--tbn-line);
    border-radius: 10px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 256 256' fill='%23777'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.15s;
}
.tbn-hero__search-field select:focus {
    outline: none;
    border-color: var(--tbn-accent);
}

.tbn-hero__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 44px;
    margin-top: 4px;
    border: none;
    border-radius: 10px;
    background: var(--tbn-accent);
    color: #fff;
    font-size: var(--tbn-fs-sm);
    font-weight: var(--tbn-fw-semibold);
    cursor: pointer;
    transition: background 0.15s;
}
.tbn-hero__search-btn:hover { background: var(--tbn-accent-mid); }
.tbn-hero__search-btn:focus-visible {
    outline: 2px solid var(--tbn-accent-deep);
    outline-offset: 2px;
}
.tbn-hero__search-btn i { font-size: 16px; }

.tbn-hero__search-shortcuts {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 16px 24px 0;
    padding: 14px 0 20px;
    border-top: 1px solid var(--tbn-line);
    font-size: 12px;
    color: var(--tbn-text-soft);
}
.tbn-hero__search-shortcuts a {
    color: var(--tbn-accent-deep);
    text-decoration: none;
    font-weight: var(--tbn-fw-medium);
}
.tbn-hero__search-shortcuts a:hover {
    text-decoration: underline;
}

/* Popular letter tags */
.tbn-hero__search-popular {
    padding: 0 24px 20px;
}
.tbn-hero__search-popular-label {
    font-size: 11px;
    font-weight: var(--tbn-fw-medium);
    color: var(--tbn-text-soft);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tbn-hero__search-popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tbn-hero__search-popular-tags a {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: var(--tbn-fw-medium);
    color: var(--tbn-text-mid);
    background: var(--tbn-surface-alt);
    border: 1px solid var(--tbn-line);
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.tbn-hero__search-popular-tags a:hover {
    border-color: var(--tbn-accent);
    color: var(--tbn-accent);
}
.tbn-why {
    background: var(--tbn-surface);
    border-bottom: 1.5px solid var(--tbn-line);
    padding: 48px 16px;
}
@media (min-width: 768px) {
    .tbn-why { padding: 56px 32px; }
}
.tbn-why__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (min-width: 768px) {
    .tbn-why__inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }
}
.tbn-why__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px 20px;
    background: var(--tbn-surface-alt);
    border: 1.5px solid var(--tbn-line);
    border-radius: 14px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tbn-why__card:hover {
    border-color: var(--tbn-accent);
    box-shadow: 0 4px 16px rgba(242, 92, 126, 0.12);
    transform: translateY(-2px);
}
.tbn-why__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.tbn-why__icon--culture { background: #FFF0F3; color: var(--tbn-accent); }
.tbn-why__icon--star    { background: #fffaeb; color: #f59e0b; }
.tbn-why__icon--free    { background: #f0fdf4; color: #22c55e; }
.tbn-why__icon--verified{ background: #eff1fa; color: var(--tbn-boy-accent); }
.tbn-why__title {
    font-size: 15px;
    font-weight: 500;
    color: var(--tbn-text);
    margin: 0;
    line-height: 1.3;
}
.tbn-why__desc {
    font-size: 13px;
    color: var(--tbn-text-soft);
    line-height: 1.6;
    margin: 0;
}



/* -------------------------------------------------------------------------- */
/* Theme tokens                                                              */
/* -------------------------------------------------------------------------- */
:root {
    --tbn-accent: #F25C7E;
    --tbn-accent-mid: #D44E6D;
    --tbn-accent-deep: #B83B59;
    --tbn-accent-soft: #FFF0F3;
    --tbn-girl-accent: #e8527a;
    --tbn-girl-accent-soft: #fdf0f4;
    --tbn-boy-accent: #485fc7;
    --tbn-boy-accent-soft: #eff1fa;
    --tbn-text: #363636;
    --tbn-text-mid: #4a4a4a;
    --tbn-text-soft: #7a7a7a;
    --tbn-num: #9aa0a6;
    --tbn-border: #dbdbdb;
    --tbn-line: #e6e8eb;
    --tbn-surface: #ffffff;
    --tbn-surface-soft: #FFF5F7;
    --tbn-surface-alt: #f9f9f7;
    --tbn-border-editorial: #d4d4d4;
    --tbn-header-h: 70px;
    --tbn-font-sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    /* Typography — readable base + Moms Home weight roles */
    --tbn-fs-body: 16px;
    --tbn-fs-sm: 14px;
    --tbn-fs-xs: 13px;
    --tbn-fs-btn: 16px;
    --tbn-fs-h1: clamp(26px, 3.2vw, 32px);
    --tbn-fs-h2: 22px;
    --tbn-fs-h3: 18px;
    --tbn-fs-name: 16px;
    --tbn-fw-heading: 700;
    --tbn-fw-semibold: 600;
    --tbn-fw-medium: 500;
    --tbn-fw-body: 400;
    --tbn-lh-body: 24px;
    --tbn-lh-h1: 1.25;
    --tbn-lh-h2: 28px;
    --tbn-lh-h3: 26px;
    --tbn-ls-body: 0;
    --tbn-ls-heading: 0.02em;
}
@media (max-width: 767px) {
    :root { --tbn-header-h: 60px; }
}


/* -------------------------------------------------------------------------- */
/* Name of the Day                                                             */
/* -------------------------------------------------------------------------- */
.tbn-notd {
    padding: 32px 16px;
    background: linear-gradient(135deg, #FFF5F7 0%, var(--tbn-surface) 100%);
    border-bottom: 1.5px solid var(--tbn-line);
}
@media (min-width: 768px) {
    .tbn-notd { padding: 40px 32px; }
}
.tbn-notd__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tbn-accent);
    margin-bottom: 16px;
}
.tbn-notd__badge i { font-size: 18px; }
.tbn-notd__card {
    background: var(--tbn-surface);
    border: 1.5px solid var(--tbn-border);
    border-radius: 16px;
    padding: 28px 24px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.tbn-notd__name-en {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: var(--tbn-fw-heading);
    color: var(--tbn-text);
    margin: 0 0 4px;
}
.tbn-notd__name-te {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 500;
    color: var(--tbn-text-mid);
    margin: 0 0 12px;
}
.tbn-notd__meaning {
    font-size: 15px;
    color: var(--tbn-text-soft);
    line-height: 1.5;
    margin: 0 0 16px;
}
.tbn-notd__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.tbn-notd__pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 400;
    color: var(--tbn-text-mid);
    background: var(--tbn-surface-soft);
    padding: 6px 12px;
    border-radius: 20px;
}
.tbn-notd__pill i { font-size: 14px; }
.tbn-notd__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tbn-accent);
    text-decoration: none;
    transition: gap 0.15s;
}
.tbn-notd__link:hover { gap: 8px; }

/* -------------------------------------------------------------------------- */
/* Compare names                                                               */
/* -------------------------------------------------------------------------- */
.tbn-compare-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto 32px;
}
@media (min-width: 768px) {
    .tbn-compare-inputs {
        grid-template-columns: 1fr 1fr 1fr auto;
        align-items: end;
    }
}
.tbn-compare-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tbn-compare-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .tbn-compare-results {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
.tbn-compare-card {
    background: var(--tbn-surface);
    border: 1.5px solid var(--tbn-border);
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tbn-compare-card__name {
    font-size: 22px;
    font-weight: 600;
    color: var(--tbn-text);
    margin: 0;
}
.tbn-compare-card__te {
    font-size: 18px;
    font-weight: 500;
    color: var(--tbn-text-mid);
    margin: 0;
}
.tbn-compare-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--tbn-line);
    font-size: 13px;
}
.tbn-compare-card__row:last-child { border-bottom: none; }
.tbn-compare-card__label {
    font-weight: 400;
    color: var(--tbn-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 11px;
}
.tbn-compare-card__value {
    font-weight: 500;
    color: var(--tbn-text);
}
.tbn-compare-card__meaning {
    font-size: 14px;
    color: var(--tbn-text-soft);
    line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* Shared favourites notice                                                    */
/* -------------------------------------------------------------------------- */
.tbn-shared-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--tbn-accent-soft);
    color: var(--tbn-accent-deep);
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 16px;
}
.tbn-shared-notice i { font-size: 18px; flex-shrink: 0; }

/* Universal accessible focus ring. */
:focus-visible {
    outline: 2px solid var(--tbn-accent);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Header menu + icon links: stable color behavior. */
header .nav-link,
header .nav-link:visited {
    font-size: var(--tbn-fs-body);
    font-weight: var(--tbn-fw-body);
    letter-spacing: var(--tbn-ls-body);
    color: var(--tbn-text-mid);
}

header .nav-link:hover,
header .nav-link:focus-visible {
    color: var(--tbn-accent);
}

header .nav-link.text-orange,
header .nav-link.text-orange:visited,
header .nav-link.text-accent,
header .nav-link.text-accent:visited {
    color: var(--tbn-accent);
}

/* Favourites button and mobile quick links. */
header .tbn-nav-fav,
header .tbn-nav-fav:visited {
    color: #fff;
    text-decoration: none;
}

header .tbn-nav-fav--glow {
    gap: 0.4rem;
    min-height: 2.25rem;
    padding: 0.32rem 0.9rem 0.32rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(242, 92, 126, 0.22);
    background: linear-gradient(135deg, #ff7a96 0%, #f25c7e 55%, #e94a70 100%);
    box-shadow: none;
    color: #fff;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
    animation: none;
}

header .tbn-nav-fav--glow .tbn-nav-fav__icon i {
    color: #fff;
    filter: none;
    animation: tbn-fav-heartbeat 2.8s ease-in-out infinite;
}

header .tbn-nav-fav__label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    color: #fff;
}

header .tbn-nav-fav--compact {
    width: 2.4rem;
    height: 2.4rem;
    min-height: 2.4rem;
    padding: 0;
    justify-content: center;
}

header .tbn-nav-fav--compact .tbn-nav-fav__label {
    display: none;
}

header .tbn-nav-fav--glow:hover,
header .tbn-nav-fav--glow:focus-visible {
    color: #fff;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: none;
    border-color: rgba(242, 92, 126, 0.35);
    background: linear-gradient(135deg, #ff8aa2 0%, #f25c7e 50%, #e94a70 100%);
}

header .tbn-nav-fav--glow:hover .tbn-nav-fav__icon i,
header .tbn-nav-fav--glow:focus-visible .tbn-nav-fav__icon i,
header .tbn-nav-fav--glow:hover .tbn-nav-fav__label,
header .tbn-nav-fav--glow:focus-visible .tbn-nav-fav__label {
    color: #fff;
}

header .tbn-nav-fav--glow.is-active {
    box-shadow: none;
    border-color: rgba(190, 18, 60, 0.35);
    background: linear-gradient(135deg, #f25c7e 0%, #e11d48 100%);
}

header .tbn-nav-fav__icon {
    position: relative;
    display: inline-flex;
    line-height: 0;
}

@keyframes tbn-fav-heartbeat {
    0%, 100% { transform: scale(1); }
    18% { transform: scale(1.08); }
    36% { transform: scale(1); }
    54% { transform: scale(1.05); }
    72% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    header .tbn-nav-fav--glow .tbn-nav-fav__icon i {
        animation: none;
    }
}

/* Confetti / cracker burst when favouriting a name (not header nav click) */
.tbn-fav-burst {
    position: fixed;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 9999;
}

.tbn-fav-burst__piece {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    opacity: 1;
    will-change: transform, opacity;
    animation: tbn-fav-burst-fly 0.85s cubic-bezier(0.15, 0.75, 0.35, 1) forwards;
}

.tbn-fav-burst__piece.is-heart {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: transparent !important;
    font-size: 10px;
    line-height: 1;
    color: #e11d48;
}

.tbn-fav-burst__piece.is-spark {
    width: 4px;
    height: 10px;
    border-radius: 999px;
}

@keyframes tbn-fav-burst-fly {
    0% {
        transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot));
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tbn-fav-burst {
        display: none !important;
    }
}

/* Mobile drawer favourites link */
#mob-menu .tbn-nav-fav-mobile {
    color: #be123c;
    font-weight: 700;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border: 1px solid #fecdd3;
}

#mob-menu .tbn-nav-fav-mobile i {
    color: #e11d48;
}

#mob-menu .tbn-nav-fav-mobile:hover,
#mob-menu .tbn-nav-fav-mobile:focus-visible,
#mob-menu .tbn-nav-fav-mobile.is-active {
    color: #9f1239;
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
}

/* Fallback utility-style classes for key text colors used on homepage. */
.text-txt { color: var(--tbn-text); }
.text-txt-mid { color: var(--tbn-text-mid); }
.text-txt-soft { color: var(--tbn-text-soft); }
.text-accent { color: var(--tbn-accent); }
.text-orange { color: var(--tbn-accent); }

.hover\:text-accent:hover,
.hover\:text-accent:focus-visible,
.hover\:text-orange:hover,
.hover\:text-orange:focus-visible {
    color: var(--tbn-accent);
}

.hover\:bg-accent-mid:hover,
.hover\:bg-accent-mid:focus-visible,
.hover\:bg-orange-mid:hover,
.hover\:bg-orange-mid:focus-visible {
    background-color: var(--tbn-accent-mid);
}

/* Slash-opacity utility fallbacks. */
.text-accent\/40,
.text-orange\/40 { color: rgba(242, 92, 126, 0.4); }
.text-txt-soft\/60 { color: rgba(122, 122, 122, 0.6); }
.border-blue\/20 { border-color: rgba(72, 95, 199, 0.2); }
.border-accent\/20,
.border-orange\/20 { border-color: rgba(242, 92, 126, 0.2); }
.border-yellow\/20 { border-color: rgba(255, 224, 138, 0.2); }

.bg-accent-soft,
.bg-orange-soft { background-color: var(--tbn-accent-soft); }
.bg-blue-soft { background-color: var(--tbn-boy-accent-soft); }
.bg-yellow-soft { background-color: #fffaeb; }
.bg-girl-soft { background-color: var(--tbn-girl-accent-soft); }
.text-blue { color: var(--tbn-boy-accent); }
.text-girl { color: var(--tbn-girl-accent); }
.bg-accent,
.bg-orange { background-color: var(--tbn-accent); }
.text-white { color: #ffffff; }

/* Hover border utility. */
.hover\:border-accent:hover,
.hover\:border-accent:focus-visible {
    border-color: var(--tbn-accent);
}

/* Ensure hover utility is available on links/buttons in all sections. */
.group:hover .group-hover\:text-accent,
.group:hover .group-hover\:text-orange { color: var(--tbn-accent); }

/* -------------------------------------------------------------------------- */
/* Listing page — hero refinements                                           */
/* -------------------------------------------------------------------------- */
.tbn-hero-letter {
    color: var(--tbn-accent);
    display: inline-flex;
    align-items: baseline;
    gap: 0.18em;
}
.tbn-hero-letter-te {
    font-family: 'Noto Sans Telugu', sans-serif;
    font-weight: 500;
    color: var(--tbn-accent-deep);
    font-size: 0.78em;
    margin-left: 0.08em;
}
.tbn-hero-letter-sep {
    color: var(--tbn-line);
    font-weight: 400;
    font-size: 0.7em;
    margin: 0 0.1em;
}
.tbn-hero-watermark {
    position: absolute;
    right: clamp(8px, 4vw, 64px);
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(140px, 18vw, 200px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0;
    color: rgba(242, 92, 126, 0.07);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    white-space: nowrap;
}
.tbn-hero-watermark-te {
    font-family: 'Noto Sans Telugu', sans-serif;
    font-weight: 400;
    font-size: 0.62em;
    color: rgba(242, 92, 126, 0.08);
    margin-left: -0.1em;
    vertical-align: baseline;
}

/* -------------------------------------------------------------------------- */
/* Listing page — compact hero header                                        */
/* -------------------------------------------------------------------------- */
.tbn-listing-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, #FFF0F3 0%, #ffffff 55%, #fff5f0 100%);
    border-bottom: 1.5px solid var(--tbn-border);
    padding: 12px 0 12px;
}
@media (min-width: 768px) {
    .tbn-listing-hero { padding: 16px 0 14px; }
}

.tbn-listing-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}
@media (min-width: 640px)  { .tbn-listing-hero__inner { padding: 0 24px; } }
@media (min-width: 768px)  { .tbn-listing-hero__inner { padding: 0 32px; } }

/* Left accent bar */
.tbn-listing-hero__inner::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 3px;
    background: var(--tbn-accent);
}
@media (min-width: 640px)  { .tbn-listing-hero__inner::before { left: 24px; } }
@media (min-width: 768px)  { .tbn-listing-hero__inner::before { left: 32px; } }

.tbn-listing-hero__content {
    padding-left: 16px;
    min-width: 0;
    max-width: 100%;
}

.tbn-listing-hero__crumb {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--tbn-text-soft);
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.tbn-listing-hero__crumb a {
    color: var(--tbn-text-soft);
    text-decoration: none;
    transition: color 0.15s;
}
.tbn-listing-hero__crumb a:hover { color: var(--tbn-accent); }
.tbn-listing-hero__crumb-sep { font-size: 10px; color: var(--tbn-num); }

.tbn-listing-hero__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.tbn-listing-hero__meta {
    flex-shrink: 0;
    max-width: 100%;
}

@media (max-width: 639px) {
    .tbn-listing-hero__crumb {
        display: none;
    }
    .tbn-listing-hero__row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .tbn-listing-hero__meta .tbn-gender-toggle {
        width: 100%;
        margin-bottom: 0;
    }
    .tbn-listing-hero__meta .tbn-gender-toggle__btn {
        flex: 1;
        justify-content: center;
    }
}

.tbn-listing-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 5px;
}
.tbn-listing-hero__badge--boy {
    background: var(--tbn-boy-accent-soft);
    color: var(--tbn-boy-accent);
}
.tbn-listing-hero__badge--girl {
    background: var(--tbn-girl-accent-soft);
    color: var(--tbn-girl-accent);
}

.tbn-listing-hero__title {
    font-size: clamp(20px, 5.2vw, 28px);
    font-weight: var(--tbn-fw-heading);
    line-height: 1.25;
    letter-spacing: -0.5px;
    text-transform: capitalize;
    color: var(--tbn-text);
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.tbn-listing-hero__title-short {
    display: none;
}
@media (max-width: 639px) {
    .tbn-listing-hero__title-long {
        display: none;
    }
    .tbn-listing-hero__title-short {
        display: inline;
    }
    .tbn-listing-hero__title-short::after {
        content: " · ";
    }
}

.tbn-listing-hero__count {
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}
.tbn-listing-hero__count strong {
    font-size: var(--tbn-fs-h2);
    font-weight: var(--tbn-fw-heading);
    color: var(--tbn-accent);
    line-height: 1;
}
.tbn-listing-hero__count span {
    font-size: 11px;
    color: var(--tbn-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tbn-listing-hero__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}
.tbn-listing-hero__meta .tbn-gender-toggle {
    margin-bottom: 0;
}

/* Watermark — smaller for compact hero */
.tbn-listing-hero .tbn-hero-watermark {
    font-size: clamp(80px, 14vw, 140px);
    opacity: 0.7;
}

/* -------------------------------------------------------------------------- */
/* A–Z letter strip                                                          */
/* -------------------------------------------------------------------------- */
.tbn-letter-strip {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 248, 245, 0.97);
    overflow: hidden;
}
/* Match listing hero / results: 1200px content column */
.tbn-letter-strip__wrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    overflow: hidden;
    min-width: 0;
}
@media (min-width: 640px) { .tbn-letter-strip__wrap { padding: 0 24px; } }
@media (min-width: 768px) { .tbn-letter-strip__wrap { padding: 0 32px; } }
.tbn-letter-strip__scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.tbn-letter-strip::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36px;
    pointer-events: none;
    background: linear-gradient(to left, rgba(255, 248, 245, 0.97), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.tbn-letter-strip.has-scroll:not(.at-end)::after {
    opacity: 1;
}
.tbn-letter-link {
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--tbn-text-soft);
    min-width: 36px;
    min-height: 44px;
    padding: 4px 6px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
    position: relative;
}
.tbn-letter-link__letter {
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
}
.tbn-letter-link__count {
    font-size: 9px;
    line-height: 1;
    font-weight: 500;
    opacity: 0.75;
    font-variant-numeric: tabular-nums;
}
.tbn-letter-link--active .tbn-letter-link__count {
    opacity: 0.9;
}
.tbn-letter-link--active {
    background: var(--tbn-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(242, 92, 126, 0.3);
}
.tbn-letter-link--available:hover,
.tbn-letter-link--available:focus-visible {
    background: var(--tbn-accent-soft);
    color: var(--tbn-accent-deep);
}
.tbn-letter-link--disabled {
    cursor: default;
    pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* Boy letter table — nakshatra icon + rashi zodiac symbol                   */
/* -------------------------------------------------------------------------- */
.tbn-nk-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--tbn-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tbn-nk-icon-wrap i {
    font-size: 16px;
    color: var(--tbn-accent-deep);
}
.tbn-rasi-symbol {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f5f8;
    color: #4a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
.tbn-rasi-symbol--empty {
    visibility: hidden;
}

.tbn-letter-listing,
.tbn-listing-results,
.site-main {
    max-width: 100%;
    min-width: 0;
}

/* -------------------------------------------------------------------------- */
/* Filter bar                                                                */
/* -------------------------------------------------------------------------- */
.tbn-filter-bar {
    width: 100%;
    max-width: 100%;
    position: sticky;
    top: var(--tbn-header-h, 70px);
    z-index: 20;
    background: rgba(255, 248, 245, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--tbn-line);
    overflow: hidden;
}
/* Match listing hero / results: 1200px content column */
.tbn-filter-bar__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    min-width: 0;
}
@media (min-width: 640px) { .tbn-filter-bar__inner { padding: 0 24px; } }
@media (min-width: 768px) { .tbn-filter-bar__inner { padding: 0 32px; } }
.tbn-filter-bar__group {
    min-width: 0;
    flex-shrink: 1;
}
.tbn-filter-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--tbn-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

/* Pill-style selects and search input */
.tbn-filter-select,
.tbn-filter-search-input {
    width: 100%;
    font-size: 13px;
    font-weight: 400;
    color: var(--tbn-text);
    border: 1.5px solid var(--tbn-border);
    border-radius: 999px;
    padding: 8px 14px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
    height: 38px;
}
.tbn-filter-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a7a7a'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
    cursor: pointer;
}
.tbn-filter-select:hover,
.tbn-filter-search-input:hover {
    border-color: var(--tbn-accent);
}
.tbn-filter-select:focus,
.tbn-filter-search-input:focus {
    outline: none;
    border-color: var(--tbn-accent);
    box-shadow: 0 0 0 3px rgba(242, 92, 126, 0.15);
}
.tbn-filter-search-input::placeholder {
    color: #b0b0b0;
    font-weight: 400;
}
.tbn-filter-search-wrap {
    position: relative;
    flex: 1;
    min-width: 120px;
}
.tbn-filter-search-wrap .tbn-filter-search-input {
    padding-left: 36px;
}
.tbn-filter-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tbn-text-soft);
    font-size: 15px;
    pointer-events: none;
    line-height: 1;
}

/* Pill Apply button */
.tbn-filter-search-btn {
    font-size: 13px;
    font-weight: 500;
    background: var(--tbn-accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0 20px;
    height: 38px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
}
.tbn-filter-search-btn:hover,
.tbn-filter-search-btn:focus-visible {
    background: var(--tbn-accent-mid);
    box-shadow: 0 2px 8px rgba(242, 92, 126, 0.25);
}

/* Inline pill toolbar — single row layout */
.tbn-filter-pill-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
}
.tbn-filter-pill-row .tbn-filter-bar__group {
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: 180px;
}
.tbn-filter-pill-row .tbn-filter-bar__group--search {
    flex: 1 1 140px;
    max-width: none;
}
.tbn-filter-pill-row .tbn-filter-select {
    min-width: 0;
    max-width: 100%;
}
.tbn-filter-pill-divider {
    width: 1px;
    height: 20px;
    background: var(--tbn-border);
    flex-shrink: 0;
}
.tbn-filter-result-count {
    margin-left: auto;
    font-size: 13px;
    color: var(--tbn-text-soft);
    white-space: nowrap;
    flex-shrink: 0;
}
.tbn-filter-result-count strong {
    color: var(--tbn-text);
    font-weight: 500;
}

/* Active filter chips */
.tbn-chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}
.tbn-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--tbn-accent-soft);
    color: var(--tbn-accent-deep);
    border: 1px solid rgba(242, 92, 126, 0.25);
    border-radius: 999px;
    padding: 4px 6px 4px 12px;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.tbn-chip:hover,
.tbn-chip:focus-visible {
    background: #ffe0d5;
    border-color: var(--tbn-accent);
    color: var(--tbn-accent-deep);
}
.tbn-chip__close {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(196, 66, 21, 0.12);
    font-size: 12px;
    line-height: 1;
}
.tbn-chip-clear {
    font-size: 12px;
    font-weight: 400;
    color: var(--tbn-text-soft);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 999px;
    transition: color 0.15s ease, background 0.15s ease;
}
.tbn-chip-clear:hover,
.tbn-chip-clear:focus-visible {
    color: var(--tbn-text);
    background: var(--tbn-surface-soft);
}
.tbn-result-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--tbn-text-soft);
    white-space: nowrap;
}
.tbn-result-count strong {
    color: var(--tbn-text);
    font-weight: 500;
}

/* Mobile filter toggle (drawer trigger) */
.tbn-filter-mobile-bar {
    display: none;
}
.tbn-filter-mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.tbn-filter-mobile-search .tbn-filter-search-wrap {
    flex: 1;
    min-width: 0;
}
.tbn-filter-mobile-search__btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: var(--tbn-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.tbn-filter-mobile-search__btn:hover,
.tbn-filter-mobile-search__btn:focus-visible {
    background: var(--tbn-accent-mid);
}
.tbn-filter-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.tbn-filter-mobile-toggle,
.tbn-filter-mobile-quick {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tbn-text);
    background: #fff;
    border: 1.5px solid var(--tbn-border);
    border-radius: 999px;
    padding: 9px 12px;
    cursor: pointer;
    min-height: 42px;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.tbn-filter-mobile-toggle:hover,
.tbn-filter-mobile-toggle:focus-visible,
.tbn-filter-mobile-quick:hover,
.tbn-filter-mobile-quick:focus-visible {
    border-color: var(--tbn-accent);
    color: var(--tbn-accent-deep);
}
.tbn-filter-mobile-quick {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8ee 100%);
    border-color: rgba(242, 92, 126, 0.35);
    color: var(--tbn-accent-deep);
}
.tbn-filter-mobile-quick i {
    color: var(--tbn-accent);
    font-size: 15px;
}
.tbn-filter-mobile-quick.is-active {
    background: var(--tbn-accent);
    border-color: var(--tbn-accent);
    color: #fff;
}
.tbn-filter-mobile-quick.is-active i {
    color: #fff;
}
.tbn-filter-mobile-toggle__count {
    background: var(--tbn-accent);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tbn-filter-mobile-quick.is-active .tbn-filter-mobile-toggle__count {
    background: #fff;
    color: var(--tbn-accent-deep);
}
.tbn-filter-drawer__hint {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--tbn-text-soft);
}
.tbn-filter-bar__group--priority .tbn-filter-label {
    color: var(--tbn-accent-deep);
}
.tbn-filter-bar__group.is-focused .tbn-filter-select,
.tbn-filter-bar__group--priority.is-focused .tbn-filter-select {
    border-color: var(--tbn-accent);
    box-shadow: 0 0 0 3px rgba(242, 92, 126, 0.18);
}

/* Mobile bottom-sheet filter */
.tbn-filter-drawer {
    border: none;
    padding: 0;
    margin: 0;
    background: #fff;
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    position: fixed;
    inset: auto 0 0 0;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.tbn-filter-drawer::backdrop {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(3px);
}
.tbn-filter-drawer[open] {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}
.tbn-filter-drawer__handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 4px;
    cursor: grab;
}
.tbn-filter-drawer__handle::before {
    content: '';
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--tbn-border);
}
.tbn-filter-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--tbn-line);
}
.tbn-filter-drawer__title {
    font-size: 16px;
    font-weight: 500;
    color: var(--tbn-text);
    margin: 0;
}
.tbn-filter-drawer__close {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--tbn-surface-soft);
    border: none;
    color: var(--tbn-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: background 0.15s;
}
.tbn-filter-drawer__close:hover { background: var(--tbn-line); }
.tbn-filter-drawer__body {
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
}
.tbn-filter-drawer__footer {
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid var(--tbn-line);
    display: flex;
    gap: 10px;
}
.tbn-filter-drawer__footer .tbn-filter-search-btn {
    flex: 1;
    padding: 12px 20px;
}
.tbn-filter-drawer__footer .tbn-chip-clear {
    border: 1.5px solid var(--tbn-border);
    color: var(--tbn-text-mid);
    padding: 11px 18px;
    border-radius: 8px;
    background: #fff;
    font-weight: 400;
}

@media (max-width: 899px) {
    .tbn-filter-bar {
        position: sticky;
        top: var(--tbn-header-h, 60px);
        z-index: 20;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background: rgba(255, 245, 247, 0.96);
        border-bottom: 1px solid var(--tbn-line);
        padding: 8px 0;
    }
    .tbn-filter-bar__inline,
    .tbn-filter-pill-row {
        display: none;
    }
    .tbn-filter-mobile-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    /* count shown in mobile bar alongside filter btn */
    .tbn-filter-result-count { display: none; }
}

/* -------------------------------------------------------------------------- */
/* Sort bar (above table)                                                    */
/* -------------------------------------------------------------------------- */
.tbn-sort-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.tbn-sort-bar__label {
    font-size: 12px;
    font-weight: 500;
    color: var(--tbn-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.tbn-sort-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--tbn-text-mid);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--tbn-line);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tbn-sort-link:hover,
.tbn-sort-link:focus-visible {
    color: var(--tbn-accent-deep);
    border-color: var(--tbn-accent);
    background: var(--tbn-accent-soft);
}
.tbn-sort-link.is-active {
    color: var(--tbn-accent-deep);
    background: var(--tbn-accent-soft);
    border-color: var(--tbn-accent);
}

/* -------------------------------------------------------------------------- */
/* Name table                                                                */
/* -------------------------------------------------------------------------- */
.tbn-name-table {
    background: var(--tbn-surface);
    border: 1.5px solid var(--tbn-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
}

.tbn-name-table__head {
    display: none;
}

@media (min-width: 768px) {
    .tbn-name-table__head {
        display: grid;
        grid-template-columns: 44px minmax(180px, 280px) minmax(180px, 240px) minmax(0, 1fr) 48px;
        gap: 12px;
        align-items: center;
        padding: 10px 16px;
        background: var(--tbn-surface-soft);
        border-bottom: 1px solid var(--tbn-line);
    }
}

.tbn-name-table__th--sno {
    text-align: center;
    color: var(--tbn-num);
}
.tbn-name-table__th--save,
.tbn-name-table__th--actions {
    text-align: center;
}

.tbn-name-table__th {
    font-size: 12px;
    font-weight: 500;
    color: var(--tbn-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tbn-name-table__th-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
}
.tbn-name-table__th-link:hover,
.tbn-name-table__th-link:focus-visible {
    color: var(--tbn-text);
}
.tbn-name-table__th-link.is-active {
    color: var(--tbn-text);
}
.tbn-name-table__th-link i {
    font-size: 12px;
    opacity: 0.7;
}

.tbn-name-table__body {
    background: var(--tbn-surface);
}

.tbn-name-table__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    position: relative;
    transition: background 0.15s ease, box-shadow 0.15s ease, border-radius 0.15s ease;
}

/* Whole-row tap target; heart / read-more sit above it */
.tbn-name-table__row-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
.tbn-name-table__cell--actions,
.tbn-meaning-toggle,
.tbn-name-table__name-link {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .tbn-name-table__row {
        grid-template-columns: 44px minmax(180px, 280px) minmax(180px, 240px) minmax(0, 1fr) 48px;
        gap: 12px;
        align-items: center;
        padding: 10px 16px;
        border-bottom: 1px solid var(--tbn-line);
    }

    .tbn-name-table__row:last-child {
        border-bottom: none;
    }

    .tbn-name-table__row:hover,
    .tbn-name-table__row:focus-within {
        background: var(--tbn-surface-soft);
        box-shadow: inset 3px 0 0 var(--tbn-accent);
    }

    .tbn-name-table__cell--meaning {
        border-left: 1px solid var(--tbn-line);
        padding-left: 16px;
    }

    .tbn-name-table__cell--astro {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
    }

    .tbn-name-table__cell--save,
    .tbn-name-table__cell--actions {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
        padding-top: 0;
    }
}

.tbn-name-table__cell {
    min-width: 0;
}

/* Hidden by default; shown on desktop via min-width:768px block below */
.tbn-name-table__cell--sno {
    display: none;
}
@media (min-width: 768px) {
    .tbn-name-table__cell--sno {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.tbn-name-table__sno {
    font-size: 12px;
    font-weight: 400;
    color: var(--tbn-num);
    letter-spacing: 0.02em;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    text-align: center;
    display: block;
    width: 100%;
}

/* Name cell — English left, Telugu in parentheses on the right */
.tbn-name-table__name-link {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
    text-decoration: none;
    padding: 4px 8px 4px 10px;
    border-left: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.15s ease, background 0.15s ease;
    min-width: 0;
}

.tbn-name-table__name-en {
    display: inline;
    font-size: var(--tbn-fs-name);
    font-weight: var(--tbn-fw-medium);
    color: var(--tbn-text);
    margin-top: 0;
    letter-spacing: 0em; 
    line-height: 1.3;
    text-transform: capitalize;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.tbn-name-table__name-te-group {
    display: inline;
    font-size: var(--tbn-fs-sm);
    font-weight: var(--tbn-fw-body);
    line-height: 1.35;
    color: var(--tbn-text-mid);
    font-family: 'Noto Sans Telugu', sans-serif;
    transition: color 0.15s ease;
    min-width: 0;
}
.tbn-name-table__name-te {
    display: inline;
}

.tbn-name-table__name-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.tbn-name-table__astro-inline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tbn-name-table__astro-en {
    font-size: 13px;
    font-weight: 500;
    color: var(--tbn-text);
    line-height: 1.25;
}

.tbn-name-table__astro-te {
    font-size: 12px;
    font-weight: 500;
    color: var(--tbn-text-soft);
    line-height: 1.3;
    margin-top: 2px;
}

.tbn-name-table__meaning {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--tbn-text-mid);
    font-weight: var(--tbn-fw-body);
}

/* -------------------------------------------------------------------------- */
/* Mobile name card layout (max 767px)                                       */
/* -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .tbn-name-table {
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        max-width: 100%;
    }
    .tbn-name-table__body {
        background: transparent;
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-width: 100%;
    }

    .tbn-name-table__row {
        background: #fff;
        border: 1px solid var(--tbn-line);
        border-radius: 12px;
        padding: 12px 14px 11px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        position: relative;
        box-shadow: none;
        max-width: 100%;
        min-width: 0;
        transition: border-color 0.2s, background 0.2s;
    }
    .tbn-name-table__row:hover,
    .tbn-name-table__row:focus-within {
        border-color: rgba(242, 92, 126, 0.4);
        background: #fffafb;
    }

    .tbn-name-table__cell {
        padding: 0;
        border: none;
        min-width: 0;
        max-width: 100%;
    }

    .tbn-name-table__cell--sno {
        display: none !important;
    }

    .tbn-name-table__cell--name {
        order: 1;
        padding-right: 40px;
    }
    .tbn-name-table__cell--meaning {
        order: 2;
    }
    .tbn-name-table__cell--astro {
        order: 3;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
    }

    .tbn-name-table__cell--save,
    .tbn-name-table__cell--actions {
        display: flex;
        position: absolute;
        top: 8px;
        right: 8px;
        gap: 6px;
        z-index: 2;
        order: 0;
    }
    .tbn-name-table__cell--actions .tbn-fav-toggle {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #fff5f7;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tbn-name-table__cell--actions .tbn-fav-toggle[aria-pressed="true"] {
        background: #fde8ee;
        color: #e8527a;
    }

    .tbn-name-table__name-link {
        padding: 0;
        border-left: none;
        border-radius: 0;
        background: transparent;
    }
    .tbn-name-table__name-en {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
        color: var(--tbn-text);
        text-transform: capitalize;
    }

    .tbn-name-table__cell--meaning::before {
        display: none;
    }
    .tbn-name-table__meaning {
        font-size: 13px;
        line-height: 1.45;
        color: var(--tbn-text-soft);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .tbn-meaning-toggle {
        display: none;
    }

    .tbn-name-table__row .tbn-astro-chip {
        padding: 4px 9px;
        font-size: 11px;
        max-width: 100%;
    }
    .tbn-name-table__row .tbn-astro-chip--nk {
        background: #fff0f3;
        color: var(--tbn-accent-deep);
    }
    .tbn-name-table__row .tbn-astro-chip--rasi {
        background: #f3f5f9;
        color: #4a5568;
    }
}

/* -------------------------------------------------------------------------- */
/* Empty state                                                               */
/* -------------------------------------------------------------------------- */
.tbn-empty-state {
    background: #fff;
    border: 1.5px dashed var(--tbn-line);
    border-radius: 14px;
    padding: 56px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.tbn-empty-state__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--tbn-accent-soft);
    color: var(--tbn-accent-deep);
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
.tbn-empty-state__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--tbn-text);
    margin: 0;
}
.tbn-empty-state__body {
    font-size: 14px;
    color: var(--tbn-text-soft);
    margin: 0;
    max-width: 420px;
    line-height: 1.6;
}
.tbn-empty-state__cta {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    background: var(--tbn-accent);
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.15s ease;
}
.tbn-empty-state__cta:hover,
.tbn-empty-state__cta:focus-visible {
    background: var(--tbn-accent-mid);
    color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Favourite (heart) toggle on name rows                                     */
/* -------------------------------------------------------------------------- */
.tbn-fav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1.5px solid var(--tbn-line);
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tbn-text-soft);
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.tbn-fav-toggle:hover,
.tbn-fav-toggle:focus-visible {
    border-color: var(--tbn-accent);
    background: var(--tbn-accent-soft);
    color: var(--tbn-accent-deep);
    outline: none;
}

.tbn-fav-toggle.is-saved {
    border-color: var(--tbn-accent);
    background: var(--tbn-accent-soft);
    color: var(--tbn-accent-deep);
}

.tbn-fav-toggle.is-popping {
    transform: scale(1.15);
    border-color: #e11d48;
    background: #fff1f2;
    color: #e11d48;
}

.tbn-fav-toggle.is-saved:hover {
    transform: scale(1.05);
}

.tbn-fav-toggle i {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 899px) {
    .tbn-fav-toggle {
        width: 44px;
        height: 44px;
    }
    .tbn-fav-toggle i {
        font-size: 20px;
    }
}

/* Header favourite count (notification badge) — not dependent on Tailwind .hidden */
.tbn-fav-count {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #be123c;
    background: #fff;
    border: 1.5px solid #fda4af;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    display: none;
    pointer-events: none;
    transform: translate(30%, -35%);
    box-shadow: none;
}

header .tbn-nav-fav--glow .tbn-fav-count {
    color: #be123c;
    background: #fff;
    border-color: #fda4af;
}

.tbn-fav-count.has-count {
    display: inline-flex;
}

/* Static pages: Privacy, Terms, Contact */
.tbn-static-page__section {
    margin-bottom: 2rem;
}

.tbn-static-page__section:last-child {
    margin-bottom: 0;
}

.tbn-static-page__h2 {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tbn-text);
    line-height: 1.35;
}

.tbn-static-page__p {
    margin: 0 0 0.85rem;
    line-height: 1.65;
}

.tbn-static-page__p:last-child {
    margin-bottom: 0;
}

.tbn-static-page__p a {
    color: var(--tbn-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tbn-static-page__p a:hover,
.tbn-static-page__p a:focus-visible {
    color: var(--tbn-accent);
    opacity: 0.85;
}

.tbn-static-page__list {
    margin: 0 0 0.85rem;
    padding-left: 1.25rem;
    list-style: disc;
}

.tbn-static-page__li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.tbn-static-page__li:last-child {
    margin-bottom: 0;
}

.tbn-static-page__footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1.5px solid var(--tbn-border);
}

.tbn-static-page__link {
    font-size: 14px;
    font-weight: 700;
    color: var(--tbn-text-mid);
    text-decoration: none;
}

.tbn-static-page__link:hover,
.tbn-static-page__link:focus-visible {
    color: var(--tbn-accent);
}

.tbn-contact-cards {
    display: grid;
    gap: 12px;
}

.tbn-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid var(--tbn-border);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tbn-contact-card:hover,
.tbn-contact-card:focus-visible {
    border-color: var(--tbn-accent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.tbn-contact-card--muted {
    cursor: default;
}

.tbn-contact-card--muted:hover,
.tbn-contact-card--muted:focus-visible {
    border-color: var(--tbn-border);
    box-shadow: none;
}

.tbn-contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--tbn-accent-soft);
    color: var(--tbn-accent);
    font-size: 20px;
    flex-shrink: 0;
}

.tbn-contact-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tbn-contact-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tbn-text-soft);
}

.tbn-contact-card__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--tbn-text);
    word-break: break-word;
}

.tbn-contact-card__arrow {
    margin-left: auto;
    font-size: 18px;
    color: var(--tbn-accent);
    flex-shrink: 0;
}

.tbn-contact-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.tbn-contact-notice i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.tbn-contact-notice--success {
    background: rgba(34, 160, 107, 0.12);
    color: #1a7a52;
    border: 1.5px solid rgba(34, 160, 107, 0.35);
}

.tbn-contact-notice--error {
    background: rgba(220, 60, 80, 0.1);
    color: #b32d3f;
    border: 1.5px solid rgba(220, 60, 80, 0.3);
}

.tbn-contact-form-wrap .tbn-static-page__h2 {
    margin-bottom: 0.5rem;
}

.tbn-contact-form {
    padding: 22px;
    border: 1.5px solid var(--tbn-border);
    border-radius: 12px;
    background: #fff;
}

.tbn-contact-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.tbn-contact-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

@media (min-width: 560px) {
    .tbn-contact-form__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tbn-contact-form__field--full {
    grid-column: 1 / -1;
}

.tbn-contact-form__req {
    color: var(--tbn-accent);
}

.tbn-contact-form__input,
.tbn-contact-form__select {
    border-radius: 10px;
}

.tbn-contact-form__textarea {
    width: 100%;
    min-height: 140px;
    font-size: 14px;
    font-weight: 400;
    color: var(--tbn-text);
    border: 1.5px solid var(--tbn-border);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    resize: vertical;
    font-family: inherit;
    line-height: 1.55;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tbn-contact-form__textarea:hover {
    border-color: var(--tbn-accent);
}

.tbn-contact-form__textarea:focus {
    outline: none;
    border-color: var(--tbn-accent);
    box-shadow: 0 0 0 3px rgba(242, 92, 126, 0.15);
}

.tbn-contact-form__textarea::placeholder {
    color: #b0b0b0;
}

.tbn-contact-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 999px;
}

/* Favourites page list */
.tbn-favorites-mount {
    min-width: 0;
    border: 1.5px solid var(--tbn-border);
    border-radius: 12px;
    background: #fff;
    padding: 20px 22px;
    min-height: 120px;
}

.tbn-favorites-empty {
    margin: 0;
    color: var(--tbn-text-mid);
    font-size: 15px;
    line-height: 1.65;
}

.tbn-favorites-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tbn-favorites-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--tbn-line);
}

.tbn-favorites-list__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tbn-favorites-list__link {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.tbn-favorites-list__link:hover .tbn-favorites-list__en,
.tbn-favorites-list__link:focus-visible .tbn-favorites-list__en {
    color: var(--tbn-accent-deep);
}

.tbn-favorites-list__en {
    font-size: 16px;
    font-weight: 500;
    color: var(--tbn-text);
    transition: color 0.15s ease;
}

.tbn-favorites-list__te {
    font-size: 13px;
    font-weight: 500;
    color: var(--tbn-text-soft);
    margin-top: 4px;
}

.tbn-favorites-list__remove {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1.5px solid var(--tbn-line);
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tbn-text-soft);
    flex-shrink: 0;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.tbn-favorites-list__remove:hover,
.tbn-favorites-list__remove:focus-visible {
    border-color: #f5b5b5;
    background: #fff5f5;
    color: #c92a2a;
    outline: none;
}

/* -------------------------------------------------------------------------- */
/* Pagination                                                                */
/* -------------------------------------------------------------------------- */
.tbn-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px 14px;
    width: 100%;
    margin-top: 2.5rem;
}
.tbn-pagination > :nth-child(1) {
    justify-self: start;
    grid-column: 1;
    grid-row: 1;
}
.tbn-pagination__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
}
.tbn-pagination > :nth-child(3) {
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
}
.tbn-pagination__nav {
    font-size: 13px;
    font-weight: 500;
    padding: 0 14px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    border: 1.5px solid var(--tbn-line);
    background: #fff;
    color: var(--tbn-text-mid);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tbn-pagination__nav:hover:not(.tbn-pagination__nav--disabled) {
    border-color: var(--tbn-accent);
    background: var(--tbn-accent-soft);
    color: var(--tbn-accent-deep);
}
.tbn-pagination__nav--disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}
.tbn-pagination__num {
    font-size: 14px;
    font-weight: 500;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1.5px solid var(--tbn-line);
    background: #fff;
    color: var(--tbn-text-mid);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tbn-pagination__num:hover {
    border-color: var(--tbn-accent);
    background: var(--tbn-accent-soft);
    color: var(--tbn-accent-deep);
}
.tbn-pagination__num.is-active {
    border-color: var(--tbn-accent);
    background: var(--tbn-accent);
    color: #fff;
    font-weight: 600;
    cursor: default;
}
.tbn-pagination__ellipsis {
    width: 28px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tbn-text-soft);
    font-weight: 400;
    user-select: none;
}
.tbn-pagination__meta {
    font-size: 12px;
    font-weight: 400;
    color: var(--tbn-text-soft);
    margin: 10px 0 0;
    margin-bottom: 0;
    grid-row: 2;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    text-align: center;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 520px) {
    .tbn-pagination {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }
    .tbn-pagination > :nth-child(1),
    .tbn-pagination > :nth-child(3),
    .tbn-pagination__pages {
        grid-column: 1;
        grid-row: auto;
        justify-self: center;
    }
    .tbn-pagination__meta {
        grid-row: auto;
        grid-column: 1 / -1;
    }
}

/* -------------------------------------------------------------------------- */
/* Mobile bottom navigation                                                    */
/* -------------------------------------------------------------------------- */
.tbn-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .tbn-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        display: flex;
        align-items: stretch;
        background: var(--tbn-surface);
        border-top: 1px solid var(--tbn-line);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
        padding: 6px 0 env(safe-area-inset-bottom, 6px);
    }
    .tbn-bottom-nav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 8px 4px 6px;
        text-decoration: none;
        color: var(--tbn-text-soft);
        font-size: 10px;
        font-weight: 500;
        transition: color 0.15s;
        -webkit-tap-highlight-color: transparent;
    }
    .tbn-bottom-nav__item i {
        font-size: 22px;
    }
    .tbn-bottom-nav__item:hover,
    .tbn-bottom-nav__item.is-active {
        color: var(--tbn-accent);
    }

    body {
        padding-bottom: 64px;
    }
    footer {
        padding-bottom: 72px;
    }
}

/* -------------------------------------------------------------------------- */
/* Gender filter pills (shared component)                                      */
/* -------------------------------------------------------------------------- */
.gf-wrap {
    display: inline-flex;
    background: #fff;
    border: 1.5px solid var(--tbn-line);
    padding: 4px;
    border-radius: 100px;
    gap: 2px;
}
.gf-wrap.tbn-gender-pill {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border-color: var(--tbn-border);
}
.gf-card {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: none;
    border-radius: 100px;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--tbn-text-soft);
    transition: all 0.2s;
    white-space: nowrap;
}
.gf-card:hover { color: var(--tbn-text); background: var(--tbn-surface-alt); }
.gf-card i { font-size: 14px; }
.gf-card.gf-boy { background: var(--tbn-boy-accent); color: #fff; box-shadow: 0 2px 10px rgba(72, 95, 199, 0.2); }
.gf-card.gf-girl { background: var(--tbn-accent); color: #fff; box-shadow: 0 2px 10px rgba(242, 92, 126, 0.2); }
.gf-card.gf-all { background: var(--tbn-text); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.gf-card.gf-boy:hover { background: var(--tbn-boy-accent-deep); box-shadow: 0 4px 14px rgba(72, 95, 199, 0.3); }
.gf-card.gf-girl:hover { background: var(--tbn-accent-deep); color: #fff; box-shadow: 0 4px 14px rgba(242, 92, 126, 0.3); }
.gf-card.gf-all:hover { background: #1a1a1f; color: #fff; }
.tbn-gender-pill .gf-card {
    font-weight: var(--tbn-fw-semibold);
    font-size: var(--tbn-fs-body);
    padding: 9px 22px;
}
.tbn-gender-pill .gf-card:not(.gf-boy):not(.gf-girl):not(.gf-all) {
    color: var(--tbn-text-mid);
}
.tbn-gender-pill .gf-card.gf-boy,
.tbn-gender-pill .gf-card.gf-girl,
.tbn-gender-pill .gf-card.gf-all {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* -------------------------------------------------------------------------- */
/* A-Z Browse grid                                                             */
/* -------------------------------------------------------------------------- */
.tbn-home-section--browse .tbn-browse-grid {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
}
.tbn-browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}
@media (max-width: 767px) {
    .tbn-browse-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

.ltr-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px 8px;
    background: var(--tbn-surface);
    border: 1px solid var(--tbn-border-editorial);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.ltr-tile:hover {
    border-color: rgba(242, 92, 126, 0.3);
    background: var(--tbn-accent-soft);
    box-shadow: 0 4px 16px rgba(242, 92, 126, 0.10);
    transform: translateY(-2px);
}
.tbn-home-section--browse .ltr-tile:hover {
    box-shadow: 0 4px 16px rgba(242, 92, 126, 0.10);
}
.ltr-tile-letter {
    font-size: 20px;
    font-weight: var(--tbn-fw-heading);
    color: var(--tbn-text);
    line-height: 1;
    letter-spacing: 0;
    transition: color 0.15s;
}
.ltr-tile:hover .ltr-tile-letter { color: var(--tbn-accent); }
.ltr-tile-te {
    font-size: 18px;
    font-weight: 600;
    color: var(--tbn-accent-deep);
    line-height: 1;
}
.ltr-tile:hover .ltr-tile-te {
    color: var(--tbn-accent);
}
.ltr-tile-count {
    font-size: var(--tbn-fs-xs);
    font-weight: var(--tbn-fw-body);
    color: var(--tbn-num);
}

/* Homepage nakshatra cards */
.nk-icon-wrap {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--tbn-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 7px;
    transition: background 0.18s;
}
.nk-icon-wrap i {
    font-size: 15px;
    color: var(--tbn-accent-deep);
    transition: color 0.18s;
}
.nk-card-link:hover .nk-icon-wrap {
    background: var(--tbn-accent);
}
.nk-card-link:hover .nk-icon-wrap i {
    color: #fff;
}

/* Homepage rashi cards */
.rashi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 12px;
}
@media (max-width: 767px) {
    .rashi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.rashi-card {
    display: block;
    text-decoration: none;
    background: var(--tbn-surface);
    border: 1px solid var(--tbn-border-editorial);
    border-radius: 8px;
    padding: 20px 16px 16px;
    text-align: center;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.rashi-card:hover {
    border-color: var(--tbn-border-editorial);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}
.rashi-sym {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 8px;
}
.rashi-en {
    font-size: 14px;
    font-weight: 500;
    color: var(--tbn-text);
    transition: color 0.18s;
}
.rashi-card:hover .rashi-en {
    color: var(--tbn-text);
}
.rashi-te {
    font-family: 'Noto Sans Telugu', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--tbn-text-soft);
    margin-top: 4px;
}

/* -------------------------------------------------------------------------- */
/* Trending section — horizontal scroll cards                                  */
/* -------------------------------------------------------------------------- */
.trend-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px dashed var(--tbn-border);
}
.th-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.th-dot--boy { background: var(--tbn-boy-accent); }
.th-dot--girl { background: var(--tbn-girl-accent); }
.th-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--tbn-text);
}
.th-sub {
    font-size: 13px;
    color: var(--tbn-text-soft);
    margin-left: 4px;
}

.tbn-trend-scroll-shell {
    position: relative;
}
.tbn-trend-scroll-shell::before,
.tbn-trend-scroll-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 12px;
    width: 28px;
    z-index: 1;
    pointer-events: none;
}
.tbn-trend-scroll-shell::before {
    left: 0;
    background: linear-gradient(90deg, var(--tbn-surface), transparent);
}
.tbn-trend-scroll-shell::after {
    right: 0;
    background: linear-gradient(270deg, var(--tbn-surface), transparent);
}

@media (min-width: 1024px) {
    .home-page .tbn-home-section--trending .tbn-trend-scroll-shell::before,
    .home-page .tbn-home-section--trending .tbn-trend-scroll-shell::after {
        opacity: 0;
        visibility: hidden;
    }
}

.tbn-trend-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--tbn-border) transparent;
}
.tbn-trend-scroll::-webkit-scrollbar {
    height: 6px;
}
.tbn-trend-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.tbn-trend-scroll::-webkit-scrollbar-thumb {
    background: var(--tbn-border);
    border-radius: 3px;
}

@media (min-width: 1024px) {
    .tbn-trend-scroll {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow-x: visible;
    }
}

.trend-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: var(--tbn-surface);
    border: 1.5px solid var(--tbn-border);
    border-radius: 12px;
    padding: 18px 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.trend-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
.trend-card.boy { border-left: 3px solid var(--tbn-boy-accent-soft); }
.trend-card.girl { border-left: 3px solid var(--tbn-girl-accent-soft); }
.trend-card.boy:hover { border-color: var(--tbn-boy-accent); }
.trend-card.girl:hover { border-color: var(--tbn-girl-accent); }

.tc-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tbn-accent-deep);
    background: rgba(242, 92, 126, 0.12);
    border-radius: 50%;
    transition: transform 0.2s ease, box-shadow 0.2s, background 0.2s ease, color 0.2s ease;
}
.trend-card.boy .tc-rank {
    color: var(--tbn-boy-accent);
    background: var(--tbn-boy-accent-soft);
}
.trend-card.girl .tc-rank {
    color: var(--tbn-girl-accent);
    background: var(--tbn-girl-accent-soft);
}
.trend-card.boy:hover .tc-rank { background: var(--tbn-boy-accent); color: #fff; }
.trend-card.girl:hover .tc-rank { background: var(--tbn-girl-accent); color: #fff; }

.tc-en {
    font-size: 16px;
    font-weight: 600;
    color: var(--tbn-text);
    margin-top: 44px;
    margin-bottom: 2px;
    transition: color 0.2s;
}
.trend-card.boy:hover .tc-en { color: var(--tbn-boy-accent); }
.trend-card.girl:hover .tc-en { color: var(--tbn-girl-accent); }

.tc-te {
    font-family: 'Noto Sans Telugu', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--tbn-text-soft);
    margin-bottom: 6px;
}
.tc-meaning {
    font-size: 13px;
    color: var(--tbn-text-soft);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-page .trend-card .tc-meaning {
    display: block;
    -webkit-line-clamp: unset;
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-height 0.32s ease, margin 0.2s ease;
}
.home-page .trend-card:hover .tc-meaning,
.home-page .trend-card:focus-visible .tc-meaning {
    opacity: 1;
    max-height: 5.5em;
    margin-top: 8px;
}
.tc-heart {
    position: absolute;
    bottom: 14px;
    right: 14px;
    font-size: 16px;
    color: var(--tbn-border);
    cursor: pointer;
    transition: color 0.15s;
}
.tc-heart:hover { color: var(--tbn-girl-accent); }

/* -------------------------------------------------------------------------- */
/* CTA strip                                                                   */
/* -------------------------------------------------------------------------- */
.tbn-cta-strip {
    padding: 0;
    margin: 0;
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(242, 92, 126, 0.10) 0%, transparent 55%),
        linear-gradient(165deg, #FFF0F3 0%, #ffffff 55%, rgba(255, 200, 80, 0.07) 100%);
    border: none;
    border-top: 1.5px solid var(--tbn-line);
    border-bottom: 1.5px solid var(--tbn-line);
}
@media (min-width: 768px) {
    .tbn-cta-strip { padding: 0; }
}
.tbn-cta-strip__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: var(--tbn-fs-btn);
    font-weight: var(--tbn-fw-semibold);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.tbn-cta-strip__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.tbn-cta-strip__btn--primary {
    background: var(--tbn-accent);
    color: #fff;
}
.tbn-cta-strip__btn--secondary {
    background: rgba(255, 255, 255, 0.92);
    color: var(--tbn-text);
    border: 1.5px solid var(--tbn-border);
}
.tbn-cta-strip__btn--tertiary {
    background: rgba(72, 95, 199, 0.12);
    color: var(--tbn-boy-accent);
}

/* -------------------------------------------------------------------------- */
/* Site footer                                                                  */
/* -------------------------------------------------------------------------- */
.tbn-footer {
    background: #f5f5f7;
    color: var(--tbn-text-mid);
    position: relative;
}

.tbn-footer__topbar {
    height: 3px;
    background: linear-gradient(90deg, var(--tbn-accent) 0%, var(--tbn-girl-accent) 60%, var(--tbn-boy-accent) 100%);
}

.tbn-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 32px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 1023px) {
    .tbn-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .tbn-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 599px) {
    .tbn-footer__inner {
        grid-template-columns: 1fr 1fr;
        padding: 40px 20px 28px;
        gap: 28px;
    }
    .tbn-footer__brand {
        grid-column: 1 / -1;
    }
}

/* Brand */
.tbn-footer__logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}
.tbn-footer__logo-main { color: var(--tbn-text); }
.tbn-footer__logo-accent { color: var(--tbn-accent); margin: 0 2px; }

.tbn-footer__tagline {
    font-size: 14px;
    line-height: 1.65;
    color: var(--tbn-text-soft);
    max-width: 260px;
    margin: 0 0 6px;
}
.tbn-footer__tagline-te {
    font-size: 13px;
    color: var(--tbn-text-soft);
    margin: 0 0 18px;
}

.tbn-footer__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tbn-footer__stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 400;
    color: var(--tbn-text-mid);
    background: #fff;
    border: 1px solid var(--tbn-line);
    border-radius: 999px;
    padding: 4px 10px;
}
.tbn-footer__stat i {
    font-size: 13px;
    color: var(--tbn-accent);
}

/* Columns */
.tbn-footer__col-head {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--tbn-text);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tbn-footer__col-head i { font-size: 14px; color: var(--tbn-accent); }

.tbn-footer__link {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--tbn-text-soft);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.15s ease;
}
.tbn-footer__link:hover {
    color: var(--tbn-accent);
}
.tbn-footer__link:last-child { margin-bottom: 0; }

/* Bottom bar */
.tbn-footer__bottom {
    border-top: 1px solid var(--tbn-line);
}
.tbn-footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--tbn-text-soft);
}
.tbn-footer__love {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tbn-footer__heart {
    color: var(--tbn-girl-accent);
    font-size: 14px;
}

@media (max-width: 599px) {
    .tbn-footer__bottom-inner {
        padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0));
        justify-content: center;
        text-align: center;
    }
    .tbn-footer {
        padding-bottom: 64px;
    }
}

/* -------------------------------------------------------------------------- */
/* FAQ Section                                                                 */
/* -------------------------------------------------------------------------- */
.tbn-faq {
    padding: 64px 16px;
    background: var(--tbn-surface-alt);
    border-top: 1.5px solid var(--tbn-line);
}
@media (min-width: 768px) {
    .tbn-faq { padding: 80px 32px; }
}

.tbn-faq__inner {
    max-width: 760px;
    margin: 0 auto;
}

.tbn-faq__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--tbn-accent);
    margin-bottom: 10px;
}

.tbn-faq__title {
    font-size: var(--tbn-fs-h2);
    font-weight: var(--tbn-fw-heading);
    color: var(--tbn-text);
    margin: 0 0 8px;
    line-height: var(--tbn-lh-heading);
}

.tbn-faq__subtitle {
    font-size: var(--tbn-fs-body);
    font-weight: var(--tbn-fw-body);
    color: var(--tbn-text-soft);
    margin: 0 0 40px;
    line-height: var(--tbn-lh-body);
}

.tbn-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1.5px solid var(--tbn-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--tbn-surface);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.tbn-faq__item {
    border-bottom: 1px solid var(--tbn-line);
}
.tbn-faq__item:last-child { border-bottom: none; }

.tbn-faq__question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    font-size: var(--tbn-fs-body);
    font-weight: var(--tbn-fw-medium);
    color: var(--tbn-text);
    transition: background 0.15s ease, color 0.15s ease;
}
.tbn-faq__question:hover {
    background: var(--tbn-surface-soft);
    color: var(--tbn-accent-deep);
}
.tbn-faq__item.is-open .tbn-faq__question {
    color: var(--tbn-accent-deep);
    background: var(--tbn-accent-soft);
}

.tbn-faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tbn-surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--tbn-text-soft);
    transition: background 0.2s, color 0.2s, transform 0.25s;
}
.tbn-faq__item.is-open .tbn-faq__icon {
    background: var(--tbn-accent);
    color: #fff;
    transform: rotate(45deg);
}

.tbn-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}
.tbn-faq__answer-inner {
    padding-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--tbn-text-soft);
    border-top: 1px dashed var(--tbn-line);
    padding-top: 16px;
}
.tbn-faq__item.is-open .tbn-faq__answer {
    max-height: min(640px, 80vh);
    padding: 0 24px;
}

/* -------------------------------------------------------------------------- */
/* Listing UX enhancements (letter pages)                                    */
/* -------------------------------------------------------------------------- */
.tbn-gender-toggle {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 12px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--tbn-line);
}
.tbn-gender-toggle__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--tbn-text-mid);
    transition: background 0.15s ease, color 0.15s ease;
}
.tbn-gender-toggle__btn.is-active {
    background: var(--tbn-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(242, 92, 126, 0.25);
}

.tbn-listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--tbn-line);
}
@media (max-width: 767px) {
    .tbn-sort-bar__label {
        display: none;
    }
    .tbn-listing-toolbar {
        padding-bottom: 8px;
    }
}
.tbn-view-toggle {
    display: none;
    gap: 4px;
    padding: 3px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--tbn-line);
}
@media (min-width: 768px) {
    .tbn-view-toggle {
        display: inline-flex;
    }
}
.tbn-view-toggle__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    color: var(--tbn-text-soft);
    cursor: pointer;
}
.tbn-view-toggle__btn.is-active {
    background: var(--tbn-accent-soft);
    color: var(--tbn-accent-deep);
}
.tbn-view-toggle__label {
    display: none;
}
@media (min-width: 640px) {
    .tbn-view-toggle__label {
        display: inline;
    }
}

.tbn-name-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tbn-name-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.tbn-name-badge--trending {
    background: #fff4e8;
    color: #c45a00;
}
.tbn-name-badge--featured {
    background: #eef6ff;
    color: #1d5fa7;
}

.tbn-astro-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1.2;
    max-width: 100%;
}
.tbn-astro-chip i {
    font-size: 13px;
    flex-shrink: 0;
}
.tbn-astro-chip__symbol {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}
.tbn-astro-chip span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tbn-astro-chip--nk {
    background: #fff0f3;
    color: var(--tbn-accent-deep);
}
.tbn-astro-chip--rasi {
    background: #f3f5f9;
    color: #4a5568;
}

.tbn-meaning-wrap__full[hidden],
.tbn-meaning-wrap__excerpt[hidden] {
    display: none !important;
}
.tbn-meaning-toggle {
    margin-top: 4px;
    padding: 0;
    border: none;
    background: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--tbn-accent-deep);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tbn-name-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 640px) {
    .tbn-name-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .tbn-name-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.tbn-name-cards.is-hidden,
.is-hidden {
    display: none !important;
}
.tbn-name-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--tbn-line);
    border-radius: 10px;
    padding: 12px;
    box-shadow: none;
}
.tbn-name-card__actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
}
.tbn-name-card__link {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    padding-right: 44px;
    text-decoration: none;
    min-width: 0;
}
.tbn-name-card__en {
    display: inline;
    margin-top: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--tbn-text);
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-transform: capitalize;
    flex-shrink: 0;
}
.tbn-name-card__te-group {
    display: inline;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--tbn-text-mid);
    font-family: 'Noto Sans Telugu', sans-serif;
    min-width: 0;
}
.tbn-name-card__te {
    display: inline;
}
.tbn-name-card__astro {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.tbn-name-card__meaning {
    margin-top: 10px;
}

.tbn-back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: var(--tbn-accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(242, 92, 126, 0.35);
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.tbn-back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* -------------------------------------------------------------------------- */
/* Homepage redesign — announcement, section rhythm, NOTD, grids, FAQ polish  */
/* -------------------------------------------------------------------------- */
.tbn-announcement-bar {
    margin: 0;
    padding: 8px 12px;
    text-align: center;
    background: linear-gradient(90deg, var(--tbn-accent-deep), var(--tbn-accent-mid) 50%, var(--tbn-accent-deep));
    border-bottom: none;
    overflow: hidden;
}
.tbn-announcement-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    max-width: 1200px;
    margin: 0 auto;
}
.tbn-announcement-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: var(--tbn-fw-medium);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.35;
    white-space: normal;
    text-wrap: balance;
    max-width: 100%;
}
@media (min-width: 640px) {
    .tbn-announcement-bar__item {
        font-size: 12px;
        white-space: nowrap;
    }
}
.tbn-announcement-bar__item i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}
.tbn-announcement-bar__item strong {
    font-weight: 700;
    color: #fff;
}
.tbn-announcement-bar__sep {
    color: rgba(255, 255, 255, 0.45);
    font-size: 10px;
    flex-shrink: 0;
}
.tbn-announcement-bar__sep--md,
.tbn-announcement-bar__item--md {
    display: none;
}
@media (min-width: 640px) {
    .tbn-announcement-bar__sep--md,
    .tbn-announcement-bar__item--md {
        display: inline-flex;
    }
    .tbn-announcement-bar__sep--md {
        display: inline;
    }
}

.tbn-divider-soft::before {
    display: none;
}

.home-page [id] {
    scroll-margin-top: calc(var(--tbn-header-h) + 52px);
}

.tbn-home-section {
    padding: 72px 0;
}
@media (min-width: 768px) {
    .tbn-home-section {
        padding: 96px 0;
    }
}
.tbn-home-section.tbn-cta-strip {
    padding-top: 56px;
    padding-bottom: 64px;
}
@media (min-width: 768px) {
    .tbn-home-section.tbn-cta-strip {
        padding-top: 72px;
        padding-bottom: 80px;
    }
}
.tbn-home-section--browse {
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(242, 92, 126, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #fff9fb 100%);
}
.tbn-home-section--trending {
    background:
        radial-gradient(ellipse 55% 50% at 50% 0%, rgba(242, 92, 126, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #fffbfc 100%);
}
.tbn-home-section--nakshatra {
    background:
        radial-gradient(ellipse 70% 55% at 0% 30%, rgba(72, 95, 199, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 100% 80%, rgba(242, 92, 126, 0.05) 0%, transparent 45%),
        linear-gradient(180deg, #f6f7fb 0%, #faf9fc 100%);
    box-shadow: none;
}
.tbn-home-section--rashi {
    background:
        radial-gradient(ellipse 65% 50% at 90% 10%, rgba(255, 200, 120, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #fffefb 0%, #fff8f4 55%, #ffffff 100%);
}
.home-page .tbn-cta-strip {
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(242, 92, 126, 0.10) 0%, transparent 55%),
        linear-gradient(165deg, #FFF0F3 0%, #ffffff 55%, rgba(255, 200, 80, 0.07) 100%);
}
.home-page .tbn-faq--home-modern {
    background:
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(242, 92, 126, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #faf8f9 100%);
}
.home-page {
    background: #fffaf9;
}
.tbn-home-section--notd {
    padding: 56px 0 64px;
    background: linear-gradient(125deg, rgba(242, 92, 126, 0.12) 0%, #fffefc 45%, rgba(72, 95, 199, 0.08) 100%);
}
@media (min-width: 768px) {
    .tbn-home-section--notd {
        padding: 72px 0 80px;
    }
}

.tbn-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: var(--tbn-fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tbn-accent);
    background: var(--tbn-accent-soft);
    padding: 5px 14px;
    border-radius: 999px;
    margin: 0 auto 14px;
}
.tbn-home-section-head--between .tbn-section-label {
    margin: 0 0 14px;
}
.tbn-section-title {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: var(--tbn-fw-heading);
    letter-spacing: -0.015em;
    color: var(--tbn-text);
    line-height: 1.25;
    margin: 0 auto 10px;
}
.tbn-section-desc {
    font-size: var(--tbn-fs-body);
    font-weight: var(--tbn-fw-body);
    color: var(--tbn-text-soft);
    line-height: var(--tbn-lh-body);
    margin: 0 auto;
    max-width: 640px;
}
.tbn-home-section-head {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.tbn-home-section-head__main {
    text-align: center;
    flex: 1;
    min-width: 0;
}
.tbn-home-section-head--between {
    align-items: flex-start;
    text-align: left;
}
.tbn-home-section-head--between .tbn-section-title,
.tbn-home-section-head--between .tbn-section-desc {
    margin-left: 0;
    margin-right: 0;
}
.tbn-home-section-head--between .tbn-section-title {
    margin-bottom: 8px;
}
.tbn-home-section-head--between .tbn-section-desc {
    max-width: min(640px, 100%);
}
.tbn-home-section-head--between .tbn-home-section-head__main {
    text-align: left;
}
@media (min-width: 900px) {
    .tbn-home-section-head--between {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .tbn-home-section-head--between .tbn-home-section-head__main {
        max-width: min(620px, 58%);
    }
    .tbn-home-section-head--between .tbn-section-label {
        justify-content: flex-start;
    }
}
.tbn-home-section-head--between .tbn-home-section-head__aside {
    flex-shrink: 0;
    align-self: flex-start;
}
@media (max-width: 899px) {
    .tbn-home-section-head--between .tbn-home-section-head__aside {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }
}

.tbn-home-section-head--center .tbn-home-section-head__aside {
    width: 100%;
    display: flex;
    justify-content: center;
}

.tbn-notd-banner__wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.tbn-notd-banner__ribbon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tbn-accent-deep);
    margin-bottom: 22px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}
.tbn-notd-banner__grid {
    text-align: center;
}
@media (min-width: 768px) {
    .tbn-notd-banner__grid {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        text-align: left;
        gap: 32px;
    }
}
.tbn-notd-banner__name-en {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: var(--tbn-fw-heading);
    line-height: 1.2;
    margin: 0 0 4px;
}
.tbn-notd-banner__name-te {
    font-size: clamp(20px, 3vw, 24px);
    margin: 0 0 12px;
    color: var(--tbn-text-mid);
}
.tbn-notd-banner__meaning {
    font-size: 16px;
    color: var(--tbn-text-soft);
    line-height: 1.55;
    margin: 0 auto 18px;
    max-width: 640px;
}
.tbn-notd-banner__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .tbn-notd-banner__meta {
        justify-content: flex-start;
    }
}
.tbn-notd-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
@media (min-width: 768px) {
    .tbn-notd-banner__actions {
        justify-content: flex-start;
    }
}
.tbn-notd-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s;
}
.tbn-notd-banner__btn--primary {
    background: var(--tbn-accent);
    color: #fff;
    box-shadow: 0 6px 20px rgba(242, 92, 126, 0.25);
}
.tbn-notd-banner__btn--primary:hover {
    transform: translateY(-1px);
}
.tbn-notd-banner__share,
.tbn-notd-banner__fav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--tbn-border);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--tbn-text);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.tbn-notd-banner__share:hover,
.tbn-notd-banner__fav:hover {
    border-color: var(--tbn-accent);
    background: var(--tbn-accent-soft);
}
.tbn-notd-banner__fav.is-saved {
    border-color: var(--tbn-girl-accent);
    color: var(--tbn-girl-accent);
}

.tbn-nk-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-items: stretch;
}
@media (max-width: 599px) {
    .tbn-nk-grid-home {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        align-items: stretch;
    }
    .tbn-nk-grid-home .nk-card-link--hero {
        flex: 0 0 calc(76vw - 20px);
        max-width: 240px;
        scroll-snap-align: start;
    }
}
@media (min-width: 640px) {
    .tbn-nk-grid-home {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}
@media (min-width: 900px) {
    .tbn-nk-grid-home {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}
@media (min-width: 1200px) {
    .tbn-nk-grid-home {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }
}

.nk-icon-wrap--lg {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 8px;
    margin-top: 20px;
    flex-shrink: 0;
}
.nk-icon-wrap--lg i {
    font-size: 22px;
}
.nk-card-link--hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    box-sizing: border-box;
    background: var(--tbn-surface);
    border: 1px solid var(--tbn-border-editorial) !important;
    border-radius: 8px !important;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.tbn-home-section--nakshatra .nk-card-link--hero:hover {
    border-color: var(--tbn-border-editorial) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}
.nk-card-te {
    display: block;
    font-size: var(--tbn-fs-body);
    font-weight: var(--tbn-fw-semibold);
    color: var(--tbn-text);
    line-height: 1.3;
}
.nk-card-en {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tbn-text-soft);
    margin-top: 4px;
}
.nk-card-syllables {
    display: block;
    font-size: 11px;
    color: var(--tbn-accent-deep);
    margin-top: 6px;
    line-height: 1.35;
    opacity: 0.92;
}
.nk-card-syllables--slot {
    min-height: 2.85em;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.nk-count-line {
    display: block;
    margin-top: auto;
    width: 100%;
    padding-top: 0px;
    border-top: 1px dashed var(--tbn-line);
}
.nk-count-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--tbn-num);
}

.rashi-grid.rashi-grid--home {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}
@media (max-width: 991px) {
    .rashi-grid.rashi-grid--home {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .rashi-grid.rashi-grid--home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}
.rashi-card--home {
    padding: 22px 12px 16px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}
.rashi-card--accent-0 { background: linear-gradient(180deg, rgba(242, 92, 126, 0.08), var(--tbn-surface)); }
.rashi-card--accent-1 { background: linear-gradient(180deg, rgba(232, 82, 122, 0.08), var(--tbn-surface)); }
.rashi-card--accent-2 { background: linear-gradient(180deg, rgba(245, 158, 11, 0.1), var(--tbn-surface)); }
.rashi-card--accent-3 { background: linear-gradient(180deg, rgba(72, 95, 199, 0.08), var(--tbn-surface)); }
.rashi-card--accent-4 { background: linear-gradient(180deg, rgba(34, 197, 94, 0.1), var(--tbn-surface)); }
.rashi-card--accent-5 { background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), var(--tbn-surface)); }
.rashi-card--home .rashi-sym {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 10px;
    flex-shrink: 0;
}
.rashi-card--home .rashi-te {
    font-size: 14px;
}
.rashi-syllables {
    font-size: 11px;
    color: var(--tbn-accent-deep);
    margin-top: 6px;
    line-height: 1.35;
}
.rashi-syllables--slot {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.rashi-count-line {
    margin-top: auto;
    padding-top: 8px;
    width: 100%;
}
.rashi-count-label {
    font-size: 11px;
    color: var(--tbn-num);
}

.trending-block.mb-12 {
    margin-bottom: 52px;
}
.tbn-trend-more {
    text-align: right;
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 600;
}
.tbn-trend-more__link {
    color: var(--tbn-accent-deep);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tbn-trend-more__link:hover {
    color: var(--tbn-accent);
}

.tbn-faq--home-modern {
    border-top: none;
    padding-top: 72px !important;
    padding-bottom: 72px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
@media (min-width: 768px) {
    .tbn-faq--home-modern {
        padding-top: 96px !important;
        padding-bottom: 96px !important;
    }
}
.tbn-faq--home-modern .tbn-faq__inner {
    max-width: min(1200px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .tbn-faq--home-modern .tbn-faq__inner {
        padding-left: 32px;
        padding-right: 32px;
    }
}
.home-page .tbn-faq--home-modern .tbn-faq__label {
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.12em;
}
.home-page .tbn-faq--home-modern .tbn-faq__title {
    font-weight: var(--tbn-fw-heading);
    letter-spacing: 0;
}
.home-page .tbn-faq--home-modern .tbn-faq__subtitle {
    max-width: min(640px, 100%);
}
.tbn-faq__list--modern {
    border: none !important;
    border-radius: 16px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.055);
    gap: 10px;
    background: transparent !important;
}
.tbn-faq__list--modern .tbn-faq__item {
    border: none;
    border-radius: 12px;
    background: var(--tbn-surface);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
    overflow: hidden;
}
.tbn-faq__list--modern .tbn-faq__answer-inner {
    border-top: none;
    padding-top: 15px;
}

/* -------------------------------------------------------------------------- */
/* Scroll entrance animations                                                  */
/* -------------------------------------------------------------------------- */
@keyframes tbn-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tbn-anim-ready {
    opacity: 0;
}
.tbn-anim-in {
    animation: tbn-fade-up 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tbn-anim-in:nth-child(2)  { animation-delay: 0.06s; }
.tbn-anim-in:nth-child(3)  { animation-delay: 0.12s; }
.tbn-anim-in:nth-child(4)  { animation-delay: 0.18s; }
.tbn-anim-in:nth-child(5)  { animation-delay: 0.24s; }
.tbn-anim-in:nth-child(6)  { animation-delay: 0.30s; }
.tbn-anim-in:nth-child(7)  { animation-delay: 0.36s; }
.tbn-anim-in:nth-child(8)  { animation-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .tbn-hero-search__btn.has-arrow-shift:hover i {
        transform: none;
    }
    .tbn-anim-ready { opacity: 1; }
    .tbn-anim-in    { animation: none; }
}

/* -------------------------------------------------------------------------- */
/* Name detail page                                                          */
/* -------------------------------------------------------------------------- */
.tbn-name-detail__panel {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--tbn-line);
}
.tbn-name-detail__panel:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.tbn-name-detail__h2 {
    margin: 0 0 12px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tbn-text);
}
.tbn-name-detail__meaning {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--tbn-text-mid);
    max-width: 68ch;
}
.tbn-name-detail__astro {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tbn-name-detail__astro-card {
    flex: 1 1 140px;
    background: #fff8f9;
    border: 1px solid var(--tbn-line);
    border-radius: 10px;
    padding: 12px 14px;
}
.tbn-name-detail__astro-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tbn-text-soft);
    margin-bottom: 4px;
}
.tbn-name-detail__facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.tbn-name-detail__facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--tbn-line);
    font-size: 14px;
}
.tbn-name-detail__facts li:last-child {
    border-bottom: none;
}
.tbn-name-detail__facts span {
    color: var(--tbn-text-soft);
}
.tbn-name-detail__facts a {
    color: var(--tbn-accent-deep);
    text-decoration: none;
    font-weight: 600;
}
.tbn-name-detail__related {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tbn-name-detail__related a {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--tbn-line);
    border-radius: 10px;
    text-decoration: none;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
}
.tbn-name-detail__related a:hover,
.tbn-name-detail__related a:focus-visible {
    border-color: rgba(242, 92, 126, 0.45);
    background: #fffafb;
}
.tbn-name-detail__related-en {
    display: block;
    font-weight: 600;
    color: var(--tbn-text);
    text-transform: capitalize;
}
.tbn-name-detail__related-mean {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--tbn-text-soft);
}
.tbn-name-detail__more {
    margin: 14px 0 0;
}
.tbn-name-detail__more a {
    color: var(--tbn-accent-deep);
    font-weight: 600;
    text-decoration: none;
}
.tbn-name-detail__fav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(242, 92, 126, 0.3);
    background: #fff5f7;
    color: var(--tbn-accent-deep);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.tbn-name-detail__fav[aria-pressed="true"] {
    background: var(--tbn-accent);
    border-color: var(--tbn-accent);
    color: #fff;
}
