/* /bhagvad-gita pages. Verse cards live in gita-verses.css (module). */
.gt {
    --gt-ink: #3a2216;
    --gt-muted: #85654f;
    --gt-saffron: #a44d17;
    --gt-line: #eddcc7;
    padding-top: 12px;
}

.gt-section {
    margin-top: 22px;
}

.gt-section-head {
    margin-bottom: 11px;
}

.gt-section-head h2 {
    margin: 0;
    color: var(--gt-ink);
    font-size: 18px;
    line-height: 1.35;
}

.gt-section-head p {
    margin: 3px 0 0;
    color: var(--gt-muted);
    font-size: 12px;
}

/* Hero */
.gt-hero {
    position: relative;
    overflow: hidden;
    padding: 22px 18px 18px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 86% 12%, rgba(255, 219, 144, 0.32), transparent 26%),
        linear-gradient(135deg, #3b2115 0%, #6e300f 48%, #b75d1d 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 18px 40px rgba(93, 47, 18, 0.22);
}

.gt-hero::after {
    content: "ॐ";
    position: absolute;
    right: 14px;
    bottom: -22px;
    color: rgba(255, 226, 173, 0.13);
    font-size: 110px;
    line-height: 1;
    pointer-events: none;
}

.gt-hero-stats {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.gt-hero-stats span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fbe6cf;
    font-size: 11.5px;
}

.gt-hero-stats b {
    color: #fff;
}

/* Topic grid */
.gt-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gt-topic {
    position: relative;
    display: block;
    padding: 14px 13px 13px;
    border: 1px solid var(--gt-line);
    border-radius: 20px;
    background: #fff;
    color: var(--gt-ink);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(76, 49, 26, 0.05);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.gt-topic:hover,
.gt-topic:focus-visible {
    border-color: #deb27f;
    color: var(--gt-ink);
    text-decoration: none;
}

.gt-topic:active {
    transform: scale(0.98);
}

.gt-topic-icon {
    display: block;
    font-size: 25px;
    line-height: 1;
}

.gt-topic b {
    display: block;
    margin-top: 11px;
    font-size: 14px;
    line-height: 1.3;
}

.gt-topic small {
    display: block;
    margin-top: 4px;
    color: var(--gt-muted);
    font-size: 10.5px;
    line-height: 1.45;
}

.gt-topic i {
    position: absolute;
    top: 12px;
    right: 11px;
    color: #b0835f;
    font-size: 10px;
    font-style: normal;
}

/* Topic page hero */
.gt-topic-hero {
    padding: 18px 16px;
    border: 1px solid #efdcc2;
    border-radius: 24px;
    background: linear-gradient(160deg, #fff1df, #fffdf9 70%);
}

.gt-topic-hero-icon {
    display: block;
    font-size: 40px;
    line-height: 1;
}

.gt-topic-hero h1 {
    margin: 10px 0 7px;
    color: var(--gt-ink);
    font-size: 23px;
    line-height: 1.3;
}

.gt-topic-hero-tags {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff;
    color: var(--gt-saffron);
    font-size: 11px;
    font-weight: 700;
}

.gt-topic-hero p {
    margin: 11px 0 0;
    color: #6b5345;
    font-size: 13px;
    line-height: 1.65;
}

.gt-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.gt-stat {
    padding: 10px;
    border: 1px solid var(--gt-line);
    border-radius: 15px;
    background: #fff;
    text-align: center;
}

.gt-stat b {
    display: block;
    color: var(--gt-ink);
    font-size: 17px;
}

.gt-stat small {
    color: var(--gt-muted);
    font-size: 10.5px;
}

/* Other topics */
.gt-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.gt-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 11px;
    border: 1px solid var(--gt-line);
    border-radius: 999px;
    background: #fff;
    color: #6b4a35;
    font-size: 12px;
    text-decoration: none;
}

.gt-chip:hover,
.gt-chip:focus-visible {
    border-color: #deb27f;
    color: var(--gt-saffron);
    text-decoration: none;
}

/* Link card */
.gt-book {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: #261b15;
    color: #fff;
    text-decoration: none;
}

.gt .gt-book,
.gt .gt-book:hover,
.gt .gt-book:focus-visible {
    color: #fff;
    text-decoration: none;
}

.gt-book-icon {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 220, 162, 0.14);
    font-size: 22px;
}

.gt-book-copy {
    flex: 1;
    min-width: 0;
}

.gt-book-copy b {
    display: block;
    font-size: 14px;
}

.gt-book-copy small {
    display: block;
    margin-top: 2px;
    color: #cdbcb0;
    font-size: 11px;
}

.gt-book-arrow {
    color: #f0bd83;
    font-size: 24px;
    line-height: 1;
}

.gt-note {
    margin: 18px 4px 0;
    color: #a08672;
    font-size: 10.5px;
    line-height: 1.55;
    text-align: center;
}

.gt-note a {
    color: #a44d17;
    font-weight: 700;
}

/* Section head with a right-side action ("सभी") */
.gt-section-head--action {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.gt-link-btn {
    flex: 0 0 auto;
    padding: 5px 2px;
    border: 0;
    background: transparent;
    color: var(--gt-saffron);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

/* Topic strip (horizontal scroll) */
.gt-strip {
    display: flex;
    gap: 10px;
    margin-inline: calc(var(--sb-page-gutter) * -1);
    padding: 2px var(--sb-page-gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--sb-page-gutter);
    scrollbar-width: none;
}

.gt-strip::-webkit-scrollbar {
    display: none;
}

.gt-mood {
    display: block;
    flex: 0 0 122px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--gt-line);
    border-radius: 21px;
    background: #fff;
    color: var(--gt-ink);
    text-align: left;
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: 0 8px 22px rgba(76, 49, 26, 0.06);
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.gt-mood:hover,
.gt-mood:focus-visible {
    border-color: #deb27f;
    color: var(--gt-ink);
    text-decoration: none;
}

.gt-mood:active {
    transform: scale(0.97);
}

.gt-mood--hot {
    border-color: #f0d8bd;
    background: linear-gradient(150deg, #fff3e2, #fff 70%);
}

.gt-mood--more {
    border-style: dashed;
    background: #fffaf3;
}

.gt-mood-icon {
    display: block;
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1;
}

.gt-mood--more .gt-mood-icon {
    color: var(--gt-saffron);
}

.gt-mood b {
    display: block;
    font-size: 14px;
    line-height: 1.3;
}

.gt-mood small {
    display: block;
    margin-top: 4px;
    color: var(--gt-muted);
    font-size: 10.5px;
    line-height: 1.45;
}

/* Extra room above the bottom nav's raised centre button. */
.gt.sb-page-with-bottom-nav {
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
}

/* Bottom sheet (sits outside .gt, so it carries its own tokens) */
.gt-sheet-lock,
.gt-sheet-lock body {
    overflow: hidden;
}

.gt-sheet {
    --gt-ink: #3a2216;
    --gt-muted: #85654f;
    --gt-line: #eddcc7;
    position: fixed;
    inset: 0;
    z-index: 1450; /* above the sticky app header (1390), same level as other popups */
}

.gt-sheet[hidden] {
    display: none;
}

.gt-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(33, 20, 12, 0.45);
    opacity: 0;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: opacity 0.25s ease;
}

.gt-sheet-panel {
    position: absolute;
    bottom: 0;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--sb-app-width);
    max-height: 86dvh;
    border-radius: 26px 26px 0 0;
    background: #fffaf3;
    box-shadow: 0 -12px 40px rgba(46, 24, 10, 0.2);
    outline: none;
    transform: translate(-50%, 100%);
    transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gt-sheet.is-open .gt-sheet-backdrop {
    opacity: 1;
}

.gt-sheet.is-open .gt-sheet-panel {
    transform: translate(-50%, 0);
}

.gt-sheet-grab {
    flex: 0 0 auto;
    padding: 9px 16px 10px;
    touch-action: none;
}

.gt-sheet-handle {
    display: block;
    width: 42px;
    height: 5px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: #e3cfb8;
}

.gt-sheet-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.gt-sheet-head h2 {
    margin: 0;
    color: var(--gt-ink);
    font-size: 18px;
}

.gt-sheet-head p {
    margin: 2px 0 0;
    color: var(--gt-muted);
    font-size: 12px;
}

.gt-sheet-close {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--gt-line);
    border-radius: 12px;
    background: #fff;
    color: #6b4a35;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.gt-sheet-body {
    flex: 1 1 auto;
    padding: 4px 16px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Dilemma hero (list + play) */
.gt-dilemma-hero {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 26px;
    background: #211a16;
    color: #fff;
}

.gt-dilemma-hero::after {
    content: "🏹";
    position: absolute;
    right: 12px;
    bottom: -8px;
    font-size: 72px;
    line-height: 1;
    opacity: 0.12;
    pointer-events: none;
}

.gt-dilemma-kicker {
    color: #f0bd83;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.gt-dilemma-hero h1 {
    position: relative;
    margin: 10px 0 8px;
    color: #fff;
    font-size: 22px;
    line-height: 1.4;
}

.gt-dilemma-hero p {
    position: relative;
    margin: 0;
    color: #d7ccc4;
    font-size: 12.5px;
    line-height: 1.6;
}

.gt-dilemma-hero .gt-dilemma-hint {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bcaea4;
    font-size: 11.5px;
}

/* Dilemma list */
.gt-dilemma-list {
    display: grid;
    gap: 9px;
}

.gt-dilemma-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--gt-line);
    border-radius: 19px;
    background: #fff;
    color: var(--gt-ink);
    text-decoration: none;
}

.gt-dilemma-row:hover,
.gt-dilemma-row:focus-visible {
    border-color: #deb27f;
    color: var(--gt-ink);
    text-decoration: none;
}

.gt-dilemma-no {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: #fff0df;
    color: #8b471d;
    font-size: 12px;
    font-weight: 800;
}

.gt-dilemma-copy {
    flex: 1;
    min-width: 0;
}

.gt-dilemma-copy small {
    display: block;
    color: var(--gt-saffron);
    font-size: 10.5px;
    font-weight: 700;
}

.gt-dilemma-copy b {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.45;
}

.gt-dilemma-arrow {
    color: #ba7a4d;
    font-size: 22px;
}

/* Choices */
.gt-choice {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    width: 100%;
    margin-bottom: 9px;
    padding: 13px;
    border: 1px solid #eadccd;
    border-radius: 19px;
    background: #fff;
    color: var(--gt-ink);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.gt-choice:hover {
    border-color: #deb27f;
}

.gt-choice.is-selected {
    border-color: #b96b32;
    background: #fff7ed;
    box-shadow: 0 0 0 3px rgba(185, 107, 50, 0.1);
}

.gt-choice-letter {
    display: grid;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: #fff0df;
    color: #8b471d;
    font-weight: 800;
}

.gt-choice.is-selected .gt-choice-letter {
    background: #a44d17;
    color: #fff;
}

.gt-choice-copy b {
    display: block;
    font-size: 13.5px;
    line-height: 1.4;
}

.gt-choice-copy small {
    display: block;
    margin-top: 3px;
    color: var(--gt-muted);
    font-size: 11px;
    line-height: 1.45;
}

/* Reveal */
[data-gita-reveal] {
    scroll-margin-top: 76px; /* clear the sticky app header */
}

.gt-compare {
    display: grid;
    gap: 9px;
}

.gt-compare-card {
    padding: 13px 14px;
    border: 1px solid #e9dbcb;
    border-radius: 18px;
    background: #fff;
}

.gt-compare-card b {
    color: var(--gt-ink);
    font-size: 11.5px;
}

.gt-compare-card p {
    margin: 5px 0 0;
    color: #5f4b3f;
    font-size: 13px;
    line-height: 1.6;
}

.gt-compare-card:first-child p {
    color: var(--gt-ink);
    font-size: 14px;
    font-weight: 700;
}

.gt-compare-card--gita {
    border-color: #2a211c;
    background: #2a211c;
}

.gt-compare-card--gita b {
    color: #f0bd83;
}

.gt-compare-card--gita p {
    color: #e0d4cb;
}

.gt-reflection {
    margin-top: 10px;
    padding: 14px;
    border: 1px solid #d1e7d8;
    border-radius: 18px;
    background: #eef7f1;
}

.gt-reflection-label {
    display: block;
    margin-bottom: 6px;
    color: #2f664c;
    font-size: 11px;
    font-weight: 800;
}

.gt-reflection p {
    margin: 0 0 8px;
    color: #34523f;
    font-size: 13px;
    line-height: 1.65;
}

.gt-dilemma--js .gt-reflection-option {
    display: none;
}

.gt-reflection small {
    display: block;
    color: #5d8069;
    font-size: 10.5px;
}

/* Topic cards: name and keywords always one line each, "…" if longer. */
.gt-mood b,
.gt-mood small,
.gt-topic b,
.gt-topic small {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Dilemma list: actions, area filter, played marks */
.gt-dilemma-hero-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.gt-random-btn {
    padding: 10px 15px;
    border: 0;
    border-radius: 14px;
    background: #f0bd83;
    color: #211a16;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.gt-played {
    color: #f0bd83;
    font-size: 12px;
    font-weight: 700;
}

.gt-area-chips {
    position: sticky;
    top: 0; /* gita.js sets this to the app header's live height */
    z-index: 20;
    display: flex;
    gap: 7px;
    margin-inline: calc(var(--sb-page-gutter) * -1);
    padding: 8px var(--sb-page-gutter);
    overflow-x: auto;
    background: #fffaf2;
    scrollbar-width: none;
    transition: box-shadow 0.2s ease;
}

.gt-area-chips.is-stuck {
    box-shadow: 0 8px 16px -10px rgba(76, 49, 26, 0.35);
}

.gt-area-chips::-webkit-scrollbar {
    display: none;
}

.gt-area-chip {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--gt-line);
    border-radius: 999px;
    background: #fff;
    color: #6b4a35;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.gt-area-chip span {
    margin-left: 3px;
    color: #b0835f;
    font-weight: 600;
}

.gt-area-chip.is-active {
    border-color: #a44d17;
    background: #a44d17;
    color: #fff;
}

.gt-area-chip.is-active span {
    color: #fbd9b4;
}

.gt-area-group {
    margin-top: 16px;
}

.gt-area-group[hidden] {
    display: none;
}

.gt-area-title {
    margin: 0 0 9px;
    color: var(--gt-ink);
    font-size: 15px;
}

.gt-dilemma-row.is-played .gt-dilemma-no {
    background: #2f6f52;
    color: #fff;
}

.gt-dilemma-row.is-played .gt-dilemma-no::after {
    content: " ✓";
}

.gt-dilemma-category {
    display: block;
    margin-top: 4px;
    color: #d7ccc4;
    font-size: 11.5px;
}

/* How others chose */
.gt-choice-copy {
    flex: 1;
    min-width: 0;
}

.gt-choice-vote {
    position: relative;
    display: block;
    height: 20px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #f4e9dc;
}

.gt-choice-vote[hidden] {
    display: none;
}

.gt-choice-vote i {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: 999px;
    background: #ecc9a1;
    transition: width 0.6s ease;
}

.gt-choice.is-selected .gt-choice-vote i {
    background: #d8893d;
}

.gt-choice-vote em {
    position: relative;
    display: block;
    padding: 0 9px;
    color: #5a2f16;
    font-size: 10.5px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.gt-vote-note {
    margin: 2px 4px 0;
    color: #85654f;
    font-size: 11.5px;
    line-height: 1.5;
    text-align: center;
}

/* ---- जीवन के सवाल ---- */
.gt-q-list-hero::after {
    content: "🙋";
}

.gt-q-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--gt-line);
    border-radius: 19px;
    background: #fff;
    color: var(--gt-ink);
    text-decoration: none;
}

.gt-q-row:hover,
.gt-q-row:focus-visible {
    border-color: #deb27f;
    color: var(--gt-ink);
    text-decoration: none;
}

.gt-q-row-icon {
    display: grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 14px;
    background: #fff0df;
    font-size: 19px;
}

.gt-q-row-copy {
    flex: 1;
    min-width: 0;
}

.gt-q-row > b,
.gt-q-row-copy b {
    display: block;
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    line-height: 1.45;
}

.gt-q-row-copy small {
    display: block;
    margin-top: 3px;
    color: var(--gt-saffron);
    font-size: 10.5px;
    font-weight: 700;
}

/* Question page */
.gt-q-hero {
    padding: 18px 16px;
    border: 1px solid #efdcc2;
    border-radius: 24px;
    background: linear-gradient(160deg, #fff1df, #fffdf9 70%);
}

.gt-q-kicker {
    color: var(--gt-saffron);
    font-size: 11px;
    font-weight: 800;
}

.gt-q-hero h1 {
    margin: 10px 0 14px;
    color: var(--gt-ink);
    font-size: 21px;
    line-height: 1.45;
}

.gt-same {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.gt-same-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border: 1px solid #e4bf93;
    border-radius: 999px;
    background: #fff;
    color: #8b471d;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.gt-same-btn:active {
    transform: scale(0.97);
}

.gt-same-btn.is-on {
    border-color: #a44d17;
    background: #a44d17;
    color: #fff;
    cursor: default;
}

.gt-same-count {
    color: var(--gt-muted);
    font-size: 11.5px;
    font-weight: 700;
}

.gt-same-count:empty {
    display: none;
}

.gt-q-short {
    padding: 15px 16px;
    border-radius: 20px;
    background: #2a211c;
}

.gt-q-short b {
    color: #f0bd83;
    font-size: 11.5px;
}

.gt-q-short p {
    margin: 6px 0 0;
    color: #efe4db;
    font-size: 14px;
    line-height: 1.7;
}

.gt-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gt-step {
    position: relative;
    display: flex;
    gap: 12px;
    padding-bottom: 18px;
}

.gt-step::before {
    content: "";
    position: absolute;
    top: 34px;
    bottom: 0;
    left: 15px;
    width: 2px;
    background: #ecd9c2;
}

.gt-step:last-child::before {
    display: none;
}

.gt-step-no {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 2px solid #e2b27b;
    border-radius: 50%;
    background: #fff7ec;
    color: #8b471d;
    font-size: 13px;
    font-weight: 800;
}

.gt-step-body {
    flex: 1;
    min-width: 0;
}

.gt-step-body h3 {
    margin: 5px 0;
    color: var(--gt-ink);
    font-size: 15.5px;
    line-height: 1.4;
}

.gt-step-body > p {
    margin: 0 0 10px;
    color: #5f4b3f;
    font-size: 13.5px;
    line-height: 1.7;
}

.gt-q-not {
    padding: 14px 15px;
    border: 1px solid #d1e7d8;
    border-radius: 18px;
    background: #eef7f1;
}

.gt-q-not b {
    color: #2f664c;
    font-size: 12px;
}

.gt-q-not p {
    margin: 6px 0 0;
    color: #34523f;
    font-size: 13px;
    line-height: 1.65;
}

.gt-q-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    background: #1f9d55;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.gt .gt-q-share,
.gt .gt-q-share:hover,
.gt .gt-q-share:focus-visible {
    color: #fff;
    text-decoration: none;
}

.gt-q-share .fa {
    color: #fff;
    font-size: 18px;
}

.gt-q-links {
    margin-top: 10px;
}

/* ---- "गीता से पूछें" chat ---- */
.gt-ask-fab {
    position: fixed;
    right: max(14px, calc((100vw - var(--sb-app-width)) / 2 + 14px));
    z-index: 1180;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 16px;
    border: 2px solid #fff7ec;
    border-radius: 999px;
    background: #a44d17;
    box-shadow: 0 8px 22px rgba(92, 41, 18, 0.32);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: bottom 260ms ease, opacity 0.2s ease;
}

.gt-sheet-lock .gt-ask-fab {
    opacity: 0;
    pointer-events: none;
}

.gt-ask-panel {
    height: 90dvh;
    max-height: 90dvh;
}

.gt-ask-who {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gt-ask-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #6e300f, #b75d1d);
    font-size: 20px;
}

.gt-ask-log {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 9px;
    padding: 6px 14px 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.gt-ask-loading {
    margin: 30px 0;
    color: var(--gt-muted);
    font-size: 13px;
    text-align: center;
}

.gt-ask-msg {
    max-width: 88%;
    padding: 11px 13px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.65;
    animation: gt-ask-in 0.28s ease both;
}

.gt-ask-msg p {
    margin: 0;
}

.gt-ask-msg--bot {
    align-self: flex-start;
    border: 1px solid #eadccd;
    border-bottom-left-radius: 6px;
    background: #fff;
    color: #4a3528;
}

.gt-ask-msg--me {
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    background: #2a211c;
    color: #fff;
    font-weight: 600;
}

.gt-ask-msg--not {
    border-color: #d1e7d8;
    background: #eef7f1;
    color: #34523f;
}

@keyframes gt-ask-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.gt-ask-tag {
    display: block;
    margin-bottom: 3px;
    color: var(--gt-saffron);
    font-size: 10.5px;
    font-weight: 800;
}

.gt-ask-msg--not .gt-ask-tag {
    color: #2f664c;
}

.gt-ask-lead {
    color: var(--gt-ink);
    font-weight: 600;
}

.gt-ask-head {
    display: block;
    margin-bottom: 3px;
    color: var(--gt-ink);
    font-size: 14.5px;
    line-height: 1.4;
}

.gt-ask-verses {
    margin-top: 9px;
}

.gt-ask-verse-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gt-ask-verse {
    padding: 5px 10px;
    border: 1px solid #f0d6b5;
    border-radius: 999px;
    background: #fff4e6;
    color: #8b471d;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
}

.gt-ask-verse.is-open {
    border-color: #a44d17;
    background: #a44d17;
    color: #fff;
}

.gt-ask-verse-open {
    margin-top: 9px;
    padding: 10px 11px;
    border-left: 3px solid #d8893d;
    border-radius: 10px;
    background: #fff8ef;
}

.gt-ask-verse-open[hidden] {
    display: none;
}

.gt-ask-verse-sa {
    color: #5a2f16;
    font-weight: 700;
    white-space: pre-line;
}

.gt-ask-msg .gt-ask-verse-m {
    margin-top: 6px;
    color: #5f4b3f;
    font-size: 12.5px;
}

.gt-ask-typing {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
}

.gt-ask-dots {
    display: inline-flex;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #eadccd;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    background: #fff;
}

.gt-ask-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c9a27f;
    animation: gt-ask-dot 1.1s ease-in-out infinite;
}

.gt-ask-dots i:nth-child(2) {
    animation-delay: 0.15s;
}

.gt-ask-dots i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes gt-ask-dot {
    0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .gt-ask-msg,
    .gt-ask-dots i {
        animation: none;
    }
}

/* Home: "गीता से पूछें" bar - the first thing on /bhagvad-gita */
.gt-ask-hero {
    position: relative;
    overflow: hidden;
    padding: 18px 16px 16px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 219, 144, 0.3), transparent 32%),
        linear-gradient(135deg, #3b2115 0%, #6e300f 55%, #a4521a 100%);
    color: #fff;
    box-shadow: 0 14px 32px rgba(93, 47, 18, 0.2);
}

.gt-ask-hero::after {
    content: "ॐ";
    position: absolute;
    right: 12px;
    top: -14px;
    color: rgba(255, 226, 173, 0.1);
    font-size: 86px;
    line-height: 1;
    pointer-events: none;
}

.gt-ask-hero-kicker {
    position: relative;
    color: #f0bd83;
    font-size: 11px;
    font-weight: 800;
}

.gt-ask-hero h1 {
    position: relative;
    margin: 6px 0 12px;
    color: #fff;
    font-size: 20px;
    line-height: 1.35;
}

.gt-ask-hero-note {
    position: relative;
    display: block;
    margin-top: 9px;
    color: #e6cdb6;
    font-size: 11px;
}

/* Looks like a search box; opens the question list (no typing). */
.gt-askbar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    padding: 5px 5px 5px 14px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(46, 20, 6, 0.22);
    color: var(--gt-ink);
    text-align: left;
    cursor: pointer;
}

.gt-askbar-icon {
    flex: 0 0 auto;
    color: #b0835f;
    font-size: 15px;
}

.gt-askbar-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #7b5e4b;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gt-askbar-text::after {
    content: "";
    display: inline-block;
    width: 1.5px;
    height: 1.05em;
    margin-left: 2px;
    background: #b0835f;
    vertical-align: -0.15em;
    animation: gt-askbar-caret 1s steps(1) infinite;
}

@keyframes gt-askbar-caret {
    50% { opacity: 0; }
}

.gt-askbar-go {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 12px;
    background: #a44d17;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

/* The chat's bottom bar: same look, reopens the question list. */
.gt-askbar--chat {
    border: 1px solid #e6d3bc;
    box-shadow: none;
}

.gt-askbar--chat .gt-askbar-text::after {
    display: none;
}

.gt-ask-foot {
    flex: 0 0 auto;
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #efe1cf;
    background: #fffaf3;
}

/* Question list sheet (opens over the chat when both are up) */
.gt-sheet.gt-ask-pick {
    z-index: 1460;
}

.gt-ask-pick-panel {
    height: 86dvh;
}

.gt-ask-pick-chips {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
    padding: 0 16px 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.gt-ask-pick-chips::-webkit-scrollbar {
    display: none;
}

.gt-ask-pick-body {
    padding-top: 0;
}

.gt-ask-pick-group {
    margin-bottom: 14px;
}

.gt-ask-pick-group[hidden] {
    display: none;
}

.gt-ask-pick-group h3 {
    margin: 4px 0 8px;
    color: var(--gt-ink);
    font-size: 13.5px;
}

.gt-ask-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 7px;
    padding: 11px 13px;
    border: 1px solid #ead7c0;
    border-radius: 15px;
    background: #fff;
    color: var(--gt-ink);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.gt-ask-option:hover,
.gt-ask-option:focus-visible {
    border-color: #deb27f;
}

.gt-ask-option:active {
    background: #fff4e6;
}

.gt-ask-option span {
    flex: 1;
    min-width: 0;
}

.gt-ask-option i {
    color: #ba7a4d;
    font-size: 20px;
    font-style: normal;
}

/* Already asked on this device: a tick instead of the arrow. */
.gt-ask-option.is-asked {
    border-color: #cfe5d6;
    background: #f3faf5;
    color: #4d6b58;
}

.gt-ask-option.is-asked i {
    display: grid;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #2f6f52;
    color: #fff;
    font-size: 0;
}

.gt-ask-option.is-asked i::after {
    content: "✓";
    font-size: 13px;
    font-weight: 800;
}

.gt-ask-write {
    margin-top: 6px;
    padding: 12px;
    border: 1px dashed #dcc3a4;
    border-radius: 15px;
    background: #fffdf9;
}

.gt-ask-write-open {
    width: 100%;
    padding: 2px 0;
    border: 0;
    background: none;
    color: #8b471d;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.gt-ask-write-open[hidden],
.gt-ask-write-form[hidden],
.gt-ask-write-done[hidden] {
    display: none;
}

.gt-ask-write-input {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e6d3bc;
    border-radius: 12px;
    background: #fff;
    color: var(--gt-ink);
    font-size: 16px; /* 16px stops iOS zooming into the field */
    line-height: 1.5;
    resize: none;
    outline: none;
}

.gt-ask-write-input:focus {
    border-color: #c98a55;
}

.gt-ask-write-send {
    margin-top: 8px;
    padding: 9px 18px;
    border: 0;
    border-radius: 12px;
    background: #a44d17;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.gt-ask-write-done {
    margin: 0;
    color: #2f664c;
    font-size: 13px;
    line-height: 1.55;
}

.gt-sheet .gt-ask-all,
.gt-sheet .gt-ask-all:hover {
    display: block;
    margin: 14px 0 4px;
    color: #a44d17;
    font-size: 12.5px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .gt-askbar-text::after {
        animation: none;
    }
}

/* "और लोग यह भी पूछते हैं" - the last message of an answer */
.gt-ask-msg--more {
    width: 100%;
    max-width: 100%;
    background: #fff7ec;
}

.gt-ask-more {
    display: grid;
    gap: 7px;
    margin-top: 6px;
}

.gt-ask-more-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ead7c0;
    border-radius: 14px;
    background: #fff;
    color: var(--gt-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.gt-ask-more-btn:hover,
.gt-ask-more-btn:focus-visible {
    border-color: #deb27f;
}

.gt-ask-more-btn:active {
    background: #fff4e6;
}

.gt-ask-more-btn span {
    flex: 1;
    min-width: 0;
}

.gt-ask-more-btn i {
    color: #ba7a4d;
    font-size: 20px;
    font-style: normal;
}

/* Home: the full-width "अगर आप अर्जुन होते?" card under the ask bar */
.gt-feature {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    overflow: hidden;
    padding: 15px 14px;
    border-radius: 22px;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.gt-feature:active {
    transform: scale(0.985);
}

.gt-feature-icon {
    display: grid;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 17px;
    font-size: 27px;
    line-height: 1;
}

.gt-feature-copy {
    flex: 1;
    min-width: 0;
}

.gt-feature-copy b {
    display: block;
    font-size: 15px;
    line-height: 1.3;
}

.gt-feature-copy small {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    font-size: 11.5px;
    line-height: 1.45;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gt-feature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.gt-feature-meta span {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.gt-feature-go {
    display: grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
}

.gt-feature--play,
.gt .gt-feature--play:hover,
.gt .gt-feature--play:focus-visible {
    background:
        radial-gradient(circle at 92% 10%, rgba(240, 189, 131, 0.22), transparent 38%),
        #211a16;
    color: #fff;
    box-shadow: 0 12px 26px rgba(33, 26, 22, 0.22);
    text-decoration: none;
}

.gt-feature--play .gt-feature-icon {
    background: rgba(255, 220, 162, 0.12);
    box-shadow: inset 0 0 0 1px rgba(240, 189, 131, 0.3);
}

.gt-feature--play b {
    color: #fff;
}

.gt-feature--play small {
    color: #cfc1b7;
}

.gt-feature--play .gt-feature-meta span {
    background: rgba(240, 189, 131, 0.14);
    color: #f0bd83;
}

.gt-feature--play .gt-feature-go {
    background: #f0bd83;
    color: #211a16;
}

/* Home: the two main cards under the ask bar - dotted outline, no fill, no heading */
.gt-duo-box {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1.5px dashed #d6c2ad;
    border-radius: 26px;
}

/* 18 अध्याय - neutral white card next to the dark Arjun card */
.gt-feature--plain,
.gt .gt-feature--plain:hover,
.gt .gt-feature--plain:focus-visible {
    border: 1px solid #e6ded5;
    background: #fff;
    color: var(--gt-ink);
    box-shadow: 0 8px 20px rgba(40, 28, 20, 0.06);
    text-decoration: none;
}

.gt-feature--plain .gt-feature-icon {
    background: #f6f2ee;
}

.gt-feature--plain b {
    color: #231a15;
}

.gt-feature--plain small {
    color: #7a6a5f;
}

.gt-feature--plain .gt-feature-meta span {
    background: #f3efeb;
    color: #5f4f45;
}

.gt-feature--plain .gt-feature-go {
    background: #231a15;
    color: #fff;
}

/* Home: "आज का श्लोक" - small and quiet, Sanskrit only, opens the verse in the book */
.gt-today,
.gt .gt-today:hover,
.gt .gt-today:focus-visible {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 14px 16px 13px;
    border: 1px solid #e9ddd0;
    border-radius: 20px;
    background: #faf6f1;
    color: var(--gt-ink);
    text-align: center;
    text-decoration: none;
}

.gt-today::after {
    content: "ॐ";
    position: absolute;
    right: 10px;
    bottom: -16px;
    color: rgba(120, 90, 60, 0.07);
    font-size: 70px;
    line-height: 1;
    pointer-events: none;
}

.gt-today:active {
    transform: scale(0.985);
}

.gt-today-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #efe7de;
    color: #6e5a4b;
    font-size: 11px;
    font-weight: 700;
}

.gt-today-sa {
    position: relative;
    display: block;
    margin: 9px 0 8px;
    color: #3a2a20;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.gt-today-go {
    position: relative;
    color: #8a6d57;
    font-size: 11.5px;
    font-weight: 800;
}

.gt-today-go i {
    font-style: normal;
}

/* Home: a quiet ornament between the main cards and the topic strip */
.gt-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 8px 0;
    color: #c9a27f;
    font-size: 11px;
}

.gt-divider::before,
.gt-divider::after {
    content: "";
    flex: 1;
    height: 1px;
}

.gt-divider::before {
    background: linear-gradient(90deg, transparent, #dcc4aa);
}

.gt-divider::after {
    background: linear-gradient(90deg, #dcc4aa, transparent);
}

.gt-divider + .gt-section {
    margin-top: 18px;
}

/* The divider can carry a section title between its lines. */
.gt-divider--title {
    margin: 26px 0 13px;
    color: var(--gt-ink);
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.gt-divider--title span {
    flex: 0 1 auto;
}

/* Book card for a returning reader: the "जारी रखें" line in saffron */
.gt-feature--plain.is-resume small {
    color: #a44d17;
    font-weight: 700;
}
