/* =====================================================
   GAU SEVA THEME — FOOTER (compact)
   ===================================================== */
.gsf {
    --f-green-950: #072519;
    --f-green-900: #0b3226;
    --f-green-800: #0f3d2e;
    --f-green-700: #145a43;
    --f-green-soft: #e7f1ec;
    --f-saffron: #e07a1f;
    --f-saffron-dark: #c4600f;
    --f-maroon: #8a3a12;
    --f-gold: #d4a24c;
    --f-gold-light: #f2d08a;
    --f-cream: #fbf5ea;
    --f-line: #ecdfc6;
    --f-ink: #2a3530;
    --f-muted: #66746d;
    --f-serif: 'Cormorant Garamond', Georgia, serif;
    --f-hindi: 'Tiro Devanagari Hindi', 'Poppins', serif;

    position: relative;
    width: 100%;
    margin-top: 30px;
    color: var(--f-ink);
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--f-cream);
}
.gsf-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: clamp(16px, 4vw, 60px);
    padding-right: clamp(16px, 4vw, 60px);
}

/* ----- Registrations strip ----- */
.gsf-regs {
    background: linear-gradient(90deg, var(--f-green-900), var(--f-green-800) 50%, var(--f-green-900));
    border-bottom: 2px solid var(--f-gold);
}
.gsf-regs-list {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 18px;
}
.gsf-regs-list li { display: flex; align-items: center; gap: 9px; min-width: 0; }
.gsf-regs-ico {
    width: 32px; height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(242,208,138,.14);
    color: var(--f-gold-light);
    font-size: 13px;
    box-shadow: inset 0 0 0 1px rgba(242,208,138,.4);
}
.gsf-regs-list li > span:last-child { display: flex; flex-direction: column; line-height: 1.25; color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .3px; }
.gsf-regs-list small { font-size: .66rem; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: var(--f-gold-light); }

/* ----- Main ----- */
.gsf-main {
    position: relative;
    overflow: hidden;
    padding: 34px 0 30px;
    background:
        radial-gradient(ellipse 40% 70% at 100% 0%, rgba(242,208,138,.28), transparent 70%),
        linear-gradient(180deg, #fffaf2 0%, var(--f-cream) 60%, #f6ebd6 100%);
}
/* ----- Brand ----- */
.gsf-brand { display: inline-flex; align-items: center; gap: 12px; }
.gsf-logo {
    display: block;
    flex-shrink: 0;
    width: 58px; height: 58px;
    padding: 2px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px var(--f-gold), 0 6px 14px rgba(110,80,40,.16);
}
.gsf-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; display: block; }
.gsf-name { display: block; font-family: var(--f-serif); font-size: 1.28rem; font-weight: 700; line-height: 1.1; }
.gsf-name-1 { color: var(--f-green-800); }
.gsf-name-2 { color: var(--f-saffron); }
.gsf-tagline { margin: 10px 0 6px; font-family: var(--f-hindi); font-size: .86rem; color: var(--f-maroon); }
.gsf-about { margin: 0 0 14px; font-size: .88rem; line-height: 1.65; color: var(--f-muted); max-width: 320px; }

.gsf-social { display: flex; flex-wrap: wrap; gap: 8px; }
.gsf-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--f-green-800);
    font-size: 14px;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px var(--f-line), 0 3px 8px rgba(110,80,40,.08);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.gsf-social a:hover { background: var(--f-green-800); color: var(--f-gold-light); transform: translateY(-2px); }
.gsf-social a[aria-label="WhatsApp"] { color: #1ea952; }
.gsf-social a[aria-label="WhatsApp"]:hover { background: #25d366; color: #fff; }

/* ----- Cow artwork in the empty space under columns ----- */
.gsf-art { display: block; height: auto; max-width: 100%; pointer-events: none; }
.gsf-art-real {
    width: 250px;
    margin-top: 18px;
    filter: drop-shadow(0 8px 14px rgba(110,80,40,.12));
}
.gsf-art-sketch {
    width: 112px;
    margin: 14px 0 0 auto;
    opacity: .85;
}
@media (min-width: 1400px) {
    .gsf-art-real { width: 280px; }
    .gsf-art-sketch { width: 124px; }
}

/* ----- Titles ----- */
.gsf-title {
    position: relative;
    margin: 4px 0 16px;
    padding-bottom: 9px;
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--f-green-800);
}
.gsf-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 42px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--f-saffron), var(--f-gold-light));
}

/* ----- Links (2 columns) ----- */
.gsf-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.gsf-links a {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    padding: 4px 0;
    color: var(--f-ink);
    font-size: .86rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}
.gsf-links a::before { content: '\203A'; flex-shrink: 0; color: var(--f-saffron); font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.gsf-links a:hover { color: var(--f-saffron-dark); transform: translateX(3px); }

/* ----- Contact ----- */
.gsf-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.gsf-contact li { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.gsf-ico {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--f-saffron);
    font-size: 13px;
    box-shadow: inset 0 0 0 1px var(--f-line);
}
.gsf-ico-red { color: #c62828; }
.gsf-contact a { padding-top: 6px; color: var(--f-ink); font-size: .87rem; font-weight: 500; line-height: 1.45; text-decoration: none; word-break: break-word; transition: color .2s ease; }
.gsf-contact a small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #c62828; }
.gsf-contact a:hover { color: var(--f-green-700); }
.gsf-map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--f-green-800);
    background: var(--f-green-soft);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.gsf-map-link:hover { background: var(--f-green-800); color: #fff; }

/* ----- Donate card ----- */
.gsf-donate {
    position: relative;
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--f-line), 0 12px 28px rgba(110,80,40,.12);
}
.gsf-donate::before {
    content: '';
    position: absolute;
    left: 16px; right: 16px; top: 0;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--f-saffron), var(--f-gold-light), var(--f-saffron));
}
.gsf-donate-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.gsf-donate-top img { width: 78px; height: 66px; object-fit: contain; flex-shrink: 0; }
.gsf-donate-eyebrow { display: block; font-size: .66rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--f-saffron-dark); }
.gsf-donate-top strong { display: block; font-family: var(--f-serif); font-size: 1.35rem; line-height: 1.1; color: var(--f-green-800); }

.gsf-qr { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 8px; border-radius: 10px; background: var(--f-cream); }
.gsf-qr img { width: 74px; height: 74px; object-fit: contain; background: #fff; border-radius: 6px; }
.gsf-qr span { font-size: .78rem; font-weight: 600; color: var(--f-green-800); }

.gsf-bank { margin: 0; display: grid; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--f-line); }
.gsf-bank > div { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 8px; padding: 6px 10px; font-size: .8rem; }
.gsf-bank > div:nth-child(odd) { background: #fcf8f0; }
.gsf-bank dt { margin: 0; font-weight: 500; color: var(--f-muted); }
.gsf-bank dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-weight: 600; color: var(--f-green-800); word-break: break-word; }
.gsf-copy {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--f-green-soft);
    color: var(--f-green-700);
    font-size: 11px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.gsf-copy:hover { background: var(--f-green-800); color: #fff; }
.gsf-copy.copied { background: #1ea952; color: #fff; }

.gsf-donate-actions { display: flex; gap: 8px; margin-top: 12px; }
.gsf-donate-actions .gsf-btn { flex: 1; }

/* ----- Buttons ----- */
.gsf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 40px;
    border: 0;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.gsf-btn:hover { transform: translateY(-2px); text-decoration: none; }
.gsf-btn-main { background: linear-gradient(135deg, var(--f-green-700, #145a43), var(--f-green-900, #0b3226)); box-shadow: 0 6px 14px rgba(11,50,38,.25); }
.gsf-btn-main i { color: var(--f-gold-light, #f2d08a); }
.gsf-btn-main:hover { color: #fff; }
.gsf-btn-soft { flex: 0 0 auto !important; background: #fdf1d8; color: var(--f-maroon); box-shadow: inset 0 0 0 1px #e8cf98; }
.gsf-btn-soft:hover { background: var(--f-gold); color: var(--f-green-900); }

/* ----- Bottom bar ----- */
.gsf-bar { position: relative; z-index: 2; background: var(--f-green-900); border-top: 2px solid var(--f-gold); }
.gsf-bar-in {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px 20px;
    padding-top: 11px;
    padding-bottom: 11px;
}
.gsf-copy-txt { font-size: .8rem; color: rgba(233,239,233,.85); line-height: 1.55; }
.gsf-copy-txt strong { color: var(--f-gold-light); font-weight: 600; }
.gsf-credit { display: block; font-size: .74rem; color: rgba(233,239,233,.6); }
.gsf-credit a { color: var(--f-gold-light); font-weight: 600; text-decoration: none; }
.gsf-credit a:hover { color: #fff; text-decoration: underline; }
.gsf-shloka { font-family: var(--f-hindi); font-size: 1.05rem; color: var(--f-gold); text-align: center; white-space: nowrap; }
.gsf-policies { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; }
.gsf-policies a { color: #e9efe9; font-size: .8rem; text-decoration: none; transition: color .2s ease; }
.gsf-policies a:hover { color: var(--f-gold-light); }

/* ----- Reveal ----- */
.gsf.f-armed .f-reveal { opacity: 0; transform: translateY(18px); }
.gsf.f-armed.f-in .f-reveal {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
    transition-delay: calc(var(--i, 0) * 80ms);
}
.gsf a:focus-visible, .gsf button:focus-visible, .sfab button:focus-visible, .sfab a:focus-visible { outline: 2px solid #d4a24c; outline-offset: 3px; }

/* ----- Responsive ----- */
@media (max-width: 1199.98px) {
    .gsf-regs-list { justify-content: center; }
}
@media (max-width: 991.98px) {
    .gsf-bar-in { grid-template-columns: 1fr; text-align: center; }
    .gsf-policies { justify-content: center; }
}
@media (max-width: 575.98px) {
    .gsf-regs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
    .gsf-regs-list li > span:last-child { font-size: .76rem; }
    .gsf-regs-ico { width: 28px; height: 28px; font-size: 12px; }
    .gsf-main { padding-top: 28px; }
    .sfab { right: 12px; gap: 10px; }
    .sfab-list { gap: 10px; }
    .sfab .sfab-item { width: 44px; height: 44px; font-size: 19px; }
    .sfab .sfab-main { width: 52px; height: 52px; font-size: 22px; }
    .sfab .sfab-donate { width: 52px; height: 52px; font-size: 21px; }
    .sfab .sfab-top { width: 44px; height: 44px; }
}

/* =====================================================
   POLICY POPUP (MODAL)
   ===================================================== */
.spm {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility 0s linear .25s;
}
.spm.open { visibility: visible; opacity: 1; transition: opacity .25s ease, visibility 0s; }
.spm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7,37,25,.72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.spm-dialog {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border-top: 4px solid #d4a24c;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
    transform: translateY(24px) scale(.96);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    outline: none;
}
.spm.open .spm-dialog { transform: none; }
.spm-head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0f3d2e 0%, #145a43 100%);
    color: #fff;
}
.spm-head-title { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #fff; }
.spm-x {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: rgba(255,255,255,.14);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.spm-x:hover { background: #d4a24c; color: #0b3226; transform: rotate(90deg); }
.spm-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 22px clamp(18px, 4vw, 34px);
    color: #2b3a33;
    font-size: .95rem;
    line-height: 1.75;
    background: #fffdf8;
    -webkit-overflow-scrolling: touch;
}
.spm-body h3 { margin: 0 0 12px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.8rem; font-weight: 700; color: #0f3d2e; }
.spm-body h4 { margin: 22px 0 8px; font-size: 1.02rem; font-weight: 600; color: #0f3d2e; }
.spm-body p { margin: 0 0 10px; }
.spm-body ul { margin: 0 0 10px; padding-left: 0; list-style: none; }
.spm-body ul li { position: relative; margin-bottom: 7px; padding-left: 22px; }
.spm-body ul li::before {
    content: '';
    position: absolute;
    left: 2px; top: 10px;
    width: 7px; height: 7px;
    background: #d4a24c;
    transform: rotate(45deg);
}
.spm-body strong { color: #0f3d2e; font-weight: 600; }
.spm-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0 14px;
    padding: 14px 16px;
    border-left: 4px solid #d4a24c;
    border-radius: 8px;
    background: #f5efe2;
}
.spm-contact i { width: 18px; margin-right: 6px; color: #145a43; }
.spm-thanks { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #d8cdb5; font-style: italic; color: #5f6f67; }
.spm-foot { flex-shrink: 0; display: flex; justify-content: flex-end; padding: 12px 20px; background: #f5efe2; border-top: 1px solid #e8dfcb; }
.spm-ok { padding: 9px 28px; }
.spm-body::-webkit-scrollbar { width: 8px; }
.spm-body::-webkit-scrollbar-thumb { background: #cfc3a8; border-radius: 8px; }
.spm-body::-webkit-scrollbar-thumb:hover { background: #145a43; }
body.spm-lock { overflow: hidden; }

@media (max-width: 575.98px) {
    .spm { padding: 10px; }
    .spm-dialog { max-height: 92vh; border-radius: 14px; }
    .spm-head-title { font-size: 1.25rem; }
    .spm-body h3 { font-size: 1.5rem; }
}

/* =====================================================
   FLOATING BUTTONS
   ===================================================== */
.sfab {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
}
.sfab-list { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.sfab.open .sfab-list { pointer-events: auto; }

.sfab .sfab-item {
    position: relative;
    width: 46px; height: 46px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    background: var(--c);
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
    cursor: pointer;
    opacity: 0;
    transform: translateY(26px) scale(.3);
    transition: opacity .25s ease, transform .45s cubic-bezier(.34,1.56,.64,1);
    transition-delay: calc((3 - var(--i)) * 40ms);
}
.sfab.open .sfab-item { opacity: 1; transform: none; transition-delay: calc(var(--i) * 70ms); }
.sfab.open .sfab-item:hover { transform: scale(1.12) translateY(-2px); color: #fff; }
.sfab .sfab-item::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); opacity: 0; }
.sfab.open .sfab-item::after { animation: sfabRing 2s ease-out infinite; animation-delay: calc(var(--i) * 250ms + 600ms); }

.sfab-tip, .sfab .sfab-donate .sfab-dtip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translate(8px, -50%);
    padding: 5px 11px;
    border-radius: 8px;
    background: #0f3d2e;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .3s ease;
}
.sfab.open .sfab-tip { opacity: 1; transform: translate(0, -50%); transition-delay: calc(var(--i) * 70ms + 160ms); }
.sfab .sfab-donate:hover .sfab-dtip, .sfab .sfab-donate:focus-visible .sfab-dtip { opacity: 1; transform: translate(0, -50%); }

/* Message (main) button */
.sfab .sfab-main {
    position: relative;
    width: 56px; height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    background: linear-gradient(135deg, #1b6b50, #0b3226);
    box-shadow: 0 0 0 3px rgba(212,162,76,.5), 0 8px 22px rgba(11,50,38,.45);
    cursor: pointer;
    transition: transform .2s ease;
}
.sfab .sfab-main:hover { transform: scale(1.08); }
.sfab-main::before, .sfab-main::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(27,107,80,.5);
    animation: sfabRing 2.2s ease-out infinite;
    z-index: -1;
}
.sfab-main::after { animation-delay: 1.1s; }
.sfab.open .sfab-main::before, .sfab.open .sfab-main::after { animation: none; opacity: 0; }
.sfab-main i { position: absolute; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .2s ease; }
.sfab-ic-close { opacity: 0; transform: rotate(-90deg) scale(.4); }
.sfab.open .sfab-ic-close { opacity: 1; transform: none; }
.sfab.open .sfab-ic-open { opacity: 0; transform: rotate(90deg) scale(.4); }
.sfab:not(.open) .sfab-ic-open { animation: sfabWiggle 4s ease-in-out infinite; }

/* Donate floating button */
.sfab .sfab-donate {
    position: relative;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 23px;
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(135deg, #e07a1f, #b8530a);
    box-shadow: 0 8px 22px rgba(196,96,15,.5);
    transition: transform .2s ease;
}
.sfab .sfab-donate:hover, .sfab .sfab-donate:focus { transform: scale(1.08); color: #fff; text-decoration: none; }
.sfab-donate::before, .sfab-donate::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(224,122,31,.5);
    animation: sfabRing 2.2s ease-out infinite;
    z-index: -1;
}
.sfab-donate::after { animation-delay: 1.1s; }
.sfab-donate i { animation: sfabBeat 1.6s ease-in-out infinite; }

/* Scroll to top */
.sfab .sfab-top {
    position: relative;
    width: 48px; height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0f3d2e;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, opacity .25s ease;
}
.sfab:not(.scrolled) .sfab-top { opacity: .6; }
.sfab-top svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sfab-top .trk { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 3; }
.sfab-top .bar {
    fill: none;
    stroke: #d4a24c;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 131.95;
    stroke-dashoffset: 131.95;
    transition: stroke-dashoffset .15s linear;
}
.sfab-top-in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1; }
.sfab-top-in i { font-size: 10px; color: #f2d08a; }
.sfab-top-in b { font-size: 10px; font-weight: 600; }
.sfab .sfab-top:hover { transform: translateY(-3px); background: #145a43; opacity: 1; }
.sfab-top:hover .bar { stroke: #fff; }
.sfab-top:hover i { animation: sfabUp .6s ease infinite; color: #fff; }

/* Toast */
.sfab-toast {
    position: absolute;
    right: calc(100% + 12px);
    bottom: 4px;
    width: max-content;
    max-width: min(240px, calc(100vw - 100px));
    padding: 10px 14px;
    border-radius: 12px;
    background: #0f3d2e;
    color: #fff;
    font-size: 12.5px;
    line-height: 1.45;
    box-shadow: 0 8px 22px rgba(0,0,0,.35);
    opacity: 0;
    transform: translateX(10px) scale(.95);
    pointer-events: none;
    transition: opacity .25s ease, transform .3s ease;
}
.sfab-toast.show { opacity: 1; transform: none; }

@keyframes sfabRing   { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes sfabWiggle { 0%,78%,100% { transform: rotate(0); } 82% { transform: rotate(-18deg); } 86% { transform: rotate(16deg); } 90% { transform: rotate(-10deg); } 94% { transform: rotate(6deg); } }
@keyframes sfabUp     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes sfabBeat   { 0%,100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } 60% { transform: scale(1); } }
@keyframes gsfSpin    { to { transform: rotate(360deg); } }
@keyframes gsfPing    { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.5); } 100% { box-shadow: 0 0 0 12px rgba(229,72,77,0); } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .gsf *, .gsf *::before, .gsf *::after,
    .sfab *, .sfab *::before, .sfab *::after,
    .spm, .spm *, .spm *::before, .spm *::after { animation: none !important; transition: none !important; }
    .gsf.f-armed .f-reveal { opacity: 1; transform: none; }
}