.tebgram-page .tebgram-soon-box {

    max-width: 520px;

    margin: 2.5rem auto 3rem;

    padding: 2.5rem 2rem 2.25rem;

    text-align: center;

    border-radius: 28px;

    border: 1px solid rgba(70, 112, 206, 0.14);

    background:

        linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);

    box-shadow:

        0 22px 48px rgba(15, 23, 42, 0.08),

        0 4px 14px rgba(70, 112, 206, 0.06);

    position: relative;

    overflow: hidden;

}



.tebgram-page .tebgram-soon-box::before {

    content: '';

    position: absolute;

    inset: 0 auto auto 0;

    width: 100%;

    height: 5px;

    background: linear-gradient(90deg, #4670CE 0%, #5a84e8 45%, #34c5a1 100%);

}



.tebgram-page .tebgram-soon-box__glow {

    position: absolute;

    top: -70px;

    left: 50%;

    transform: translateX(-50%);

    width: 220px;

    height: 220px;

    border-radius: 50%;

    background: radial-gradient(circle, rgba(70, 112, 206, 0.12) 0%, rgba(70, 112, 206, 0) 72%);

    pointer-events: none;

}



.tebgram-page .tebgram-soon-box__icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 88px;

    height: 88px;

    margin-bottom: 1.25rem;

    border-radius: 26px;

    background: linear-gradient(145deg, #eef4ff 0%, #f3fbfd 100%);

    color: #4670CE;

    box-shadow:

        inset 0 1px 0 rgba(255, 255, 255, 0.95),

        0 12px 28px rgba(70, 112, 206, 0.16);

    position: relative;

    z-index: 1;

}



.tebgram-page .tebgram-soon-box__icon i {
    font-size: 2.35rem;
    line-height: 1;
}

.tebgram-page .tebgram-soon-box__icon .fab.fa-instagram {
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}



.tebgram-page .tebgram-soon-box__badge {

    display: inline-block;

    margin-bottom: 0.85rem;

    padding: 0.35rem 0.9rem;

    border-radius: 999px;

    background: rgba(70, 112, 206, 0.1);

    color: #3159b5;

    font-size: 0.82rem;

    font-weight: 800;

    letter-spacing: 0.01em;

    position: relative;

    z-index: 1;

}



.tebgram-page .tebgram-soon-box__title {

    margin: 0 0 0.85rem;

    color: #0f172a;

    font-size: 1.55rem;

    font-weight: 900;

    position: relative;

    z-index: 1;

}



.tebgram-page .tebgram-soon-box__text {

    margin: 0;

    color: #64748b;

    font-size: 1.02rem;

    line-height: 1.95;

    max-width: 34rem;

    margin-inline: auto;

    position: relative;

    z-index: 1;

}



/* ── TebGram reels: mobile layout on all screens ── */
:root {
    --tebgram-shell-width: 430px;
    --tebgram-page-bg: #f5f5f5;
    --tebgram-media-inset-top: 16px;
    --tebgram-media-inset-bottom: 20px;
    --tebgram-media-frame-bg: #000;
}

body.tebgram-reels-body {
    overflow: hidden;
    background: var(--tebgram-page-bg);
    padding-top: calc(60px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

body.tebgram-reels-body #preloader {
    display: none !important;
}

body.tebgram-reels-body #teb20FooterPanel,
body.tebgram-reels-body .teb20-footer-toggle {
    display: none !important;
}

body.tebgram-reels-body .header-style3 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    z-index: 1050;
    padding-top: env(safe-area-inset-top, 0px);
}

body.tebgram-reels-body .tebgram-reels-app {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0px));
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    z-index: 120;
    background: #fff;
}

/* باکس تصویر با فاصله سفید از بالا و پایین */
body.tebgram-reels-body .ig-reels-swiper,
body.tebgram-reels-body .ig-reels-swiper .swiper-slide {
    background: #fff;
}

body.tebgram-reels-body .ig-reel-media-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--tebgram-media-inset-top);
    bottom: var(--tebgram-media-inset-bottom);
    z-index: 1;
    background: var(--tebgram-media-frame-bg);
    overflow: hidden;
}

body.tebgram-reels-body .ig-reel-media-wrap.has-carousel .ig-reel-media-swiper {
    position: absolute;
    inset: 0;
}

body.tebgram-reels-body .ig-reel-gradient {
    top: var(--tebgram-media-inset-top);
    bottom: var(--tebgram-media-inset-bottom);
    left: 0;
    right: 0;
    width: auto;
    transform: none;
}

body.tebgram-reels-body .ig-reel-header {
    top: var(--tebgram-media-inset-top);
}

body.tebgram-reels-body .ig-reel-media-expand {
    top: calc(var(--tebgram-media-inset-top) + 8px);
}

body.tebgram-reels-body .ig-reel-footer {
    bottom: calc(var(--tebgram-media-inset-bottom) + 10px);
}

body.tebgram-reels-body .ig-reel-actions {
    bottom: calc(var(--tebgram-media-inset-bottom) + 16px);
}

body.tebgram-reels-body .teb20-bottom-nav {
    display: none;
    --teb20-nav-brand: #4670CE;
    --teb20-nav-brand-light: #5a84e8;
    --teb20-nav-muted: #94a3b8;
    --teb20-nav-surface: rgba(255, 255, 255, 0.82);
    position: fixed;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    right: 14px;
    z-index: 1040;
    max-width: calc(var(--tebgram-shell-width) - 28px);
    margin: 0 auto;
    border-radius: 26px;
    background: var(--teb20-nav-surface);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    backdrop-filter: blur(22px) saturate(165%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow:
        0 10px 40px rgba(15, 23, 42, 0.12),
        0 2px 8px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.tebgram-reels-body .teb20-bottom-nav__list {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    margin: 0;
    padding: 8px 10px 10px;
    list-style: none;
    min-height: 64px;
    position: relative;
}

body.tebgram-reels-body .teb20-bottom-nav__item {
    flex: 1;
    max-width: 76px;
    text-align: center;
    position: relative;
}

body.tebgram-reels-body .teb20-bottom-nav__item > a,
body.tebgram-reels-body .teb20-bottom-nav__trigger,
body.tebgram-reels-body .teb20-bottom-nav__trigger-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-height: 54px;
    padding: 4px 6px 2px;
    text-decoration: none;
    color: var(--teb20-nav-muted);
    border-radius: 16px;
    transition:
        color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}

body.tebgram-reels-body .teb20-bottom-nav__item > a:active,
body.tebgram-reels-body .teb20-bottom-nav__trigger:active,
body.tebgram-reels-body .teb20-bottom-nav__trigger-link:active {
    transform: scale(0.94);
}

body.tebgram-reels-body .teb20-bottom-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 34px;
    border-radius: 14px;
    position: relative;
    z-index: 1;
    transition:
        background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body.tebgram-reels-body .teb20-bottom-nav__icon i {
    font-size: 1.22rem;
    line-height: 1;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body.tebgram-reels-body .teb20-bottom-nav__icon .fab {
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
}

body.tebgram-reels-body .teb20-bottom-nav__label {
    font-size: 0.64rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition:
        color 0.28s ease,
        font-weight 0.28s ease,
        opacity 0.28s ease;
    opacity: 0.88;
}

body.tebgram-reels-body .teb20-bottom-nav__item.is-active > a,
body.tebgram-reels-body .teb20-bottom-nav__item.is-active > .teb20-bottom-nav__trigger,
body.tebgram-reels-body .teb20-bottom-nav__item.is-active > .teb20-bottom-nav__trigger-link,
body.tebgram-reels-body .teb20-bottom-nav__item.is-sheet-open > .teb20-bottom-nav__trigger {
    color: var(--teb20-nav-brand);
}

body.tebgram-reels-body .teb20-bottom-nav__item.is-active .teb20-bottom-nav__label,
body.tebgram-reels-body .teb20-bottom-nav__item.is-sheet-open .teb20-bottom-nav__label {
    font-weight: 700;
    opacity: 1;
}

body.tebgram-reels-body .teb20-bottom-nav__item.is-active .teb20-bottom-nav__icon,
body.tebgram-reels-body .teb20-bottom-nav__item.is-sheet-open .teb20-bottom-nav__icon {
    background: linear-gradient(145deg, rgba(70, 112, 206, 0.16) 0%, rgba(90, 132, 232, 0.1) 100%);
    color: var(--teb20-nav-brand);
    transform: translateY(-1px);
}

body.tebgram-reels-body .teb20-bottom-nav__item.is-active .teb20-bottom-nav__icon i,
body.tebgram-reels-body .teb20-bottom-nav__item.is-sheet-open .teb20-bottom-nav__icon i {
    transform: scale(1.06);
}

body.tebgram-reels-body .teb20-bottom-nav__item.is-active .teb20-bottom-nav__label::after,
body.tebgram-reels-body .teb20-bottom-nav__item.is-sheet-open .teb20-bottom-nav__label::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    margin: 3px auto 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teb20-nav-brand) 0%, var(--teb20-nav-brand-light) 100%);
    box-shadow: 0 0 6px rgba(70, 112, 206, 0.45);
}

body.tebgram-reels-body .teb20-bottom-nav__item--home {
    position: relative;
    max-width: 84px;
}

body.tebgram-reels-body .teb20-bottom-nav__item--home > a {
    justify-content: flex-end;
    padding-bottom: 0;
}

body.tebgram-reels-body .teb20-bottom-nav__home-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-top: -26px;
    margin-bottom: 0;
    border-radius: 50%;
    background: linear-gradient(155deg, #3d66c4 0%, var(--teb20-nav-brand) 38%, var(--teb20-nav-brand-light) 100%);
    color: #fff;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.95),
        0 8px 24px rgba(70, 112, 206, 0.38),
        0 2px 8px rgba(70, 112, 206, 0.18);
    transition:
        transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
        box-shadow 0.28s ease;
    position: relative;
    overflow: hidden;
}

body.tebgram-reels-body .teb20-bottom-nav__home-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 48%);
    pointer-events: none;
}

body.tebgram-reels-body .teb20-bottom-nav__home-btn i {
    font-size: 1.4rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.15));
}

body.tebgram-reels-body .teb20-bottom-nav__item--home.is-active .teb20-bottom-nav__home-btn {
    transform: scale(1.06) translateY(-2px);
    animation: teb20-nav-home-glow 2.8s ease-in-out infinite;
}

body.tebgram-reels-body .teb20-bottom-nav__item--home > a:active .teb20-bottom-nav__home-btn {
    transform: scale(0.92);
    animation: none;
}

body.tebgram-reels-body .teb20-bottom-nav__item--home.is-active > a {
    color: var(--teb20-nav-brand);
}

body.tebgram-reels-body .teb20-bottom-nav__item--home.is-active .teb20-bottom-nav__label::after {
    display: none;
}

@media only screen and (max-width: 991px) {
    body.tebgram-reels-body .teb20-bottom-nav {
        display: block;
    }
}

@media (min-width: 768px) {
    body.tebgram-reels-body {
        background: var(--tebgram-page-bg);
    }

    body.tebgram-reels-body .header-style3 {
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        transform: none;
    }

    body.tebgram-reels-body .tebgram-reels-app {
        left: 50%;
        right: auto;
        width: min(var(--tebgram-shell-width), 100vw);
        max-width: var(--tebgram-shell-width);
        transform: translateX(-50%);
    }

    body.tebgram-reels-body .ig-comments-sheet {
        max-width: var(--tebgram-shell-width);
        margin-left: auto;
        margin-right: auto;
    }

    body.tebgram-reels-body .ig-reels-swiper .swiper-slide {
        display: block;
        background: #fff;
    }

    body.tebgram-reels-body .ig-reel-media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
        object-fit: contain;
        background: var(--tebgram-media-frame-bg);
    }

    body.tebgram-reels-body .ig-reel-gradient {
        left: 0;
        right: 0;
        transform: none;
        width: auto;
        max-width: none;
    }

    body.tebgram-reels-body .ig-reel-header {
        width: 100%;
        max-width: none;
    }
}

body.tebgram-reels-body .tebgram-reels-app--empty .ig-reel-header {
    position: relative;
    color: #fff;
}

/* Site header: mobile UI + 100% width on desktop too */
body.tebgram-reels-body .header-style3 .container-fluid,
body.tebgram-reels-body .header-style3 .row,
body.tebgram-reels-body .header-style3 .col-12,
body.tebgram-reels-body .header-style3 .menu_area,
body.tebgram-reels-body .header-style3 .navbar {
    width: 100%;
    max-width: 100%;
}

body.tebgram-reels-body .header-style3 .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

body.tebgram-reels-body .header-style3 .navbar-default {
    background-image: linear-gradient(120deg, #fff 84%, #4670CE 30%);
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(15, 23, 42, 0.08);
}

body.tebgram-reels-body .menu_area .navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    position: relative;
    width: 100%;
    min-height: 48px;
    padding: 6px 0;
}

body.tebgram-reels-body .menu_area .navbar-header-custom,
body.tebgram-reels-body .menu_area .attr-nav.d-lg-block {
    display: none !important;
}

body.tebgram-reels-body .menu_area .teb20-mobile-header-brand.d-lg-none {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    order: 1;
    flex-shrink: 0;
}

body.tebgram-reels-body .menu_area .teb20-app-profile-link.d-lg-none,
body.tebgram-reels-body .menu_area a.teb20-app-profile-link.d-lg-none {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    order: 2;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-inline-start: auto;
    border-radius: 12px;
    background: #f3f6ff;
    color: #4670CE;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(70, 112, 206, 0.14);
}

body.tebgram-reels-body .menu_area .teb20-nav-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    background: #34c5a1 !important;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(52, 197, 161, 0.35);
}

body.tebgram-reels-body .menu_area .navbar-nav#nav {
    display: block !important;
    order: 3;
    flex: 0 0 auto;
    width: min(82vw, 320px);
    height: 100vh;
    height: 100dvh;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    margin-top: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 0.75rem) 0.75rem 1rem;
    border: 1px solid rgba(70, 112, 206, 0.18);
    border-radius: 0 0 0 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    z-index: 1080;
    text-align: right;
    max-height: none;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(110%);
    transition: transform 0.24s ease, opacity 0.2s ease, visibility 0.2s ease;
}

body.tebgram-reels-body .menu_area .navbar-nav#nav.open {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

body.tebgram-reels-body .main-wrapper > .d-none.d-md-block {
    display: none !important;
}

body.tebgram-reels-body .ig-reel-media {
    object-fit: contain;
    background: var(--tebgram-media-frame-bg);
}

body.tebgram-reels-body video.ig-reel-media.ig-reel-video {
    cursor: pointer;
    background: #000;
}

body.tebgram-reels-body video.ig-reel-media.ig-reel-video.is-paused {
    opacity: 0.94;
}

/* دسکتاپ: منوی اصلی سایت (فقط طب‌گرام، نه گالری کلینیک) */
@media screen and (min-width: 992px) {
    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .navbar-header-custom,
    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .attr-nav.d-lg-block {
        display: block !important;
    }

    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .teb20-mobile-header-brand.d-lg-none,
    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .teb20-app-profile-link.d-lg-none,
    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area a.teb20-app-profile-link.d-lg-none,
    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .teb20-nav-toggler {
        display: none !important;
    }

    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .navbar {
        flex-wrap: nowrap;
        min-height: 0;
        gap: 0;
    }

    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .navbar-nav#nav,
    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .navbar-nav#nav.open {
        display: flex !important;
        flex: 1 1 auto;
        justify-content: center;
        align-items: center;
        position: static;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        order: unset;
        width: auto;
        height: auto;
        max-height: none;
        margin: 0 !important;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        text-align: center;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .navbar-nav#nav > li.teb20-mobile-nav-header {
        display: none !important;
    }

    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .navbar-nav#nav > li {
        display: block;
        width: auto;
        border: none;
        margin-left: 6px;
    }

    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .navbar-nav#nav > li > a {
        padding: 8px 0.45rem !important;
        font-size: 14px;
        letter-spacing: 0;
        text-transform: none;
    }

    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .attr-nav {
        float: none !important;
        flex: 0 0 auto;
        align-self: center;
        margin: 0 !important;
    }

    body.tebgram-reels-body:not(.clinic-gallery-shell) .menu_area .attr-nav > ul > li > a.butn {
        padding: 6px 10px !important;
        font-size: 14px;
    }

    body.tebgram-reels-body:not(.clinic-gallery-shell) .header-style3 .navbar-default {
        background-image: linear-gradient(120deg, #fff 86%, #4670CE 30%);
    }

    body.tebgram-reels-body:not(.clinic-gallery-shell) .header-style3 .container-fluid {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}


@media (max-width: 575px) {

    .tebgram-page .tebgram-soon-box {

        margin-top: 1.5rem;

        padding: 2rem 1.25rem 1.75rem;

        border-radius: 22px;

    }



    .tebgram-page .tebgram-soon-box__title {

        font-size: 1.3rem;

    }

}

/* ── TebGram floating action button ── */
@media (min-width: 992px) {
    body.tebgram-reels-body {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    body.tebgram-reels-body .tebgram-reels-app {
        bottom: env(safe-area-inset-bottom, 0px);
    }

    body.tebgram-reels-body .tebgram-reels-app--empty {
        bottom: env(safe-area-inset-bottom, 0px);
    }

    body.tebgram-reels-body .tebgram-fab {
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }
}

@media only screen and (max-width: 991px) {
    body.tebgram-reels-body .teb20-bottom-nav {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(calc(var(--tebgram-shell-width) - 28px), calc(100vw - 28px));
        max-width: calc(var(--tebgram-shell-width) - 28px);
    }
}

.tebgram-fab-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1240;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.tebgram-fab-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tebgram-fab {
    position: fixed;
    bottom: calc(108px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    z-index: 1250;
}

.tebgram-fab__main {
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #4670CE 0%, #5a84e8 100%);
    color: #fff;
    box-shadow:
        0 8px 24px rgba(70, 112, 206, 0.42),
        0 2px 8px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 2;
}

.tebgram-fab__main:active {
    transform: scale(0.94);
}

.tebgram-fab.is-open .tebgram-fab__main {
    transform: rotate(45deg);
}

.tebgram-fab.is-open .tebgram-fab__main:active {
    transform: rotate(45deg) scale(0.94);
}

.tebgram-fab__menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 12px);
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transform-origin: bottom left;
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;
    pointer-events: none;
}

.tebgram-fab.is-open .tebgram-fab__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.tebgram-fab__action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    border-radius: 999px;
    padding: 8px 14px 8px 8px;
    background: rgba(255, 255, 255, 0.96);
    color: #1e293b;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    direction: rtl;
    text-decoration: none;
    transition: transform 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.tebgram-fab__action:active {
    transform: scale(0.96);
}

.tebgram-fab__action i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4670CE 0%, #5a84e8 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.tebgram-fab__file-input {
    display: none !important;
}

@media (min-width: 768px) {
    body.tebgram-reels-body .tebgram-fab {
        left: calc(50% - min(var(--tebgram-shell-width), 100vw) / 2 + 16px);
    }

    body.tebgram-reels-body .tebgram-upload-sheet {
        max-width: var(--tebgram-shell-width);
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── TebGram upload name sheet ── */
.tebgram-upload-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1310;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.tebgram-upload-backdrop.is-open {
    display: flex;
}

.tebgram-upload-sheet {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 22px 22px 0 0;
    direction: rtl;
    color: #1f2937;
    box-shadow: 0 -12px 48px rgba(15, 23, 42, 0.2);
    animation: ig-sheet-up 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.tebgram-upload-handle {
    width: 42px;
    height: 4px;
    margin: 10px auto 2px;
    border-radius: 999px;
    background: #d1d5db;
}

.tebgram-upload-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 52px 14px;
}

.tebgram-upload-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
}

.tebgram-upload-close {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #374151;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.tebgram-upload-preview {
    margin: 0 16px 12px;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4f6;
    min-height: 120px;
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tebgram-upload-preview:empty {
    display: none;
}

.tebgram-upload-preview img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

.tebgram-upload-preview__video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.tebgram-upload-preview__video i {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #4670CE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tebgram-upload-body {
    padding: 0 16px 16px;
}

.tebgram-upload-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.tebgram-upload-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #111827;
    background: #f9fafb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tebgram-upload-input:focus {
    outline: none;
    border-color: #93b4f0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(70, 112, 206, 0.12);
}

.tebgram-upload-textarea {
    width: 100%;
    min-height: 88px;
    resize: vertical;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.6;
    font-family: inherit;
    color: #111827;
    background: #f9fafb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tebgram-upload-textarea:focus {
    outline: none;
    border-color: #93b4f0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(70, 112, 206, 0.12);
}

.tebgram-upload-footer {
    display: flex;
    gap: 10px;
    padding: 0 16px 16px;
}

.tebgram-upload-cancel,
.tebgram-upload-submit {
    flex: 1;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.tebgram-upload-cancel {
    background: #f3f4f6;
    color: #4b5563;
}

.tebgram-upload-submit {
    background: linear-gradient(135deg, #4670CE 0%, #5a84e8 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(70, 112, 206, 0.32);
}

.tebgram-upload-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.tebgram-upload-cancel:active,
.tebgram-upload-submit:active {
    transform: scale(0.98);
}

.tebgram-upload-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 16px 12px;
}

.tebgram-upload-images:empty {
    display: none;
}

.tebgram-upload-image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    aspect-ratio: 1;
}

.tebgram-upload-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tebgram-upload-image-card .tebgram-upload-preview__video {
    min-height: 100%;
    padding: 16px 8px;
}

.tebgram-upload-image-remove {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.tebgram-upload-pick {
    margin-top: 12px;
    width: 100%;
    border: 1px dashed #c7d2fe;
    border-radius: 12px;
    background: #f8faff;
    color: #4670CE;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tebgram-seo-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tebgram-list-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1315;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.tebgram-list-backdrop.is-open {
    display: flex;
}

.tebgram-list-sheet {
    width: 100%;
    max-width: 500px;
    max-height: 82vh;
    background: #fff;
    border-radius: 22px 22px 0 0;
    direction: rtl;
    color: #1f2937;
    box-shadow: 0 -12px 48px rgba(15, 23, 42, 0.2);
    animation: ig-sheet-up 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.tebgram-list-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 52px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.tebgram-list-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
}

.tebgram-list-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px 16px;
    min-height: 180px;
    max-height: calc(82vh - 72px);
}

.tebgram-list-loading,
.tebgram-list-empty {
    text-align: center;
    color: #9ca3af;
    padding: 36px 16px;
    font-size: 14px;
}

.tebgram-feed-loading {
    position: fixed;
    left: 50%;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(12px);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.tebgram-feed-loading.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tebgram-feed-loading__inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
}

.tebgram-feed-loading__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tebgram-feed-spin 0.75s linear infinite;
}

@keyframes tebgram-feed-spin {
    to { transform: rotate(360deg); }
}

.tebgram-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.tebgram-list-item + .tebgram-list-item {
    margin-top: 10px;
}

.tebgram-list-item__thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.tebgram-list-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tebgram-list-item__body {
    flex: 1;
    min-width: 0;
}

.tebgram-list-item__body h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tebgram-list-item__desc {
    display: block;
    width: 100%;
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: right;
    font-size: 13px;
    line-height: 1.55;
    color: #374151;
    cursor: pointer;
    font-family: inherit;
}

.tebgram-list-item__desc:not(.is-expanded) {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tebgram-list-item__desc.is-expanded {
    cursor: default;
    white-space: pre-wrap;
}

.tebgram-list-item__desc--empty {
    color: #9ca3af;
    cursor: default;
}

.tebgram-list-item__desc-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: 4px;
    vertical-align: middle;
    color: #2563eb;
}

.tebgram-list-item__desc-more svg {
    width: 14px;
    height: 14px;
    pointer-events: none;
}

.tebgram-list-item__desc.is-expanded .tebgram-list-item__desc-more svg {
    transform: rotate(180deg);
}

.tebgram-list-item__meta {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.tebgram-list-item__status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.tebgram-list-item__status.is-active {
    background: #dcfce7;
    color: #15803d;
}

.tebgram-list-item__status.is-inactive {
    background: #fee2e2;
    color: #b91c1c;
}

.tebgram-list-item__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.tebgram-list-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
}

.tebgram-list-btn--status {
    background: #94a3b8;
    transition: background 0.2s ease, transform 0.15s ease;
}

.tebgram-list-btn--status.is-active {
    background: #16a34a;
}

.tebgram-list-btn--status.is-active i {
    color: #fff;
}

.tebgram-list-btn--status.is-inactive {
    background: #94a3b8;
}

.tebgram-list-btn--status.is-inactive i {
    color: rgba(255, 255, 255, 0.88);
    opacity: 0.9;
}

.tebgram-list-btn--status:active {
    transform: scale(0.94);
}

.tebgram-list-btn--edit { background: #f59e0b; }
.tebgram-list-btn--delete { background: #ef4444; }

@media (min-width: 768px) {
    body.tebgram-reels-body .tebgram-list-sheet {
        max-width: var(--tebgram-shell-width);
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── TebGram image zoom / fullscreen viewer ── */
body.tebgram-reels-body .ig-reel-media-expand {
    top: calc(var(--tebgram-media-inset-top) + 8px);
}

.ig-reel-media-expand {
    position: absolute;
    top: calc(52px + env(safe-area-inset-top, 0px));
    left: 14px;
    z-index: 11;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, transform 0.18s ease;
    backdrop-filter: blur(4px);
}

.ig-reel-media-expand[hidden] {
    display: none !important;
}

.ig-reel-media-expand svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.ig-reel-media-expand:active {
    transform: scale(0.94);
}

.ig-reel-media-expand:hover,
.ig-reel-media-expand:focus {
    background: rgba(0, 0, 0, 0.62);
    outline: none;
}

body.tebgram-reels-body img.ig-reel-media {
    cursor: zoom-in;
}

/* ── TebGram compact action rail (like / comment) ── */
body.tebgram-reels-body .ig-reel-actions {
    right: 10px;
    bottom: calc(var(--tebgram-media-inset-bottom) + 16px);
    gap: 10px;
    width: 38px;
}

body.tebgram-reels-body .ig-reel-action {
    width: 38px;
    gap: 4px;
    padding: 0;
    filter: none;
}

body.tebgram-reels-body .ig-reel-action__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

body.tebgram-reels-body .ig-reel-action__icon svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
}

body.tebgram-reels-body .ig-reel-action:active .ig-reel-action__icon {
    transform: scale(0.92);
}

body.tebgram-reels-body .ig-reel-like.is-liked .ig-reel-action__icon {
    background: linear-gradient(145deg, #ff4d6d 0%, #ff758f 100%);
    border-color: rgba(255, 255, 255, 0.22);
}

body.tebgram-reels-body .ig-reel-like.is-liked .ig-reel-action__icon svg {
    fill: #fff;
    stroke: #fff;
}

body.tebgram-reels-body .ig-reel-action-count {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    min-width: 0;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* جابه‌جایی رنگ: دریافت نوبت ← آبی، افزودن ← نارنجی */
body.tebgram-reels-body .ig-reel-book-btn {
    background: linear-gradient(135deg, rgba(122, 158, 232, 0.42) 0%, rgba(96, 132, 210, 0.34) 100%);
    border-color: rgba(255, 255, 255, 0.58);
    box-shadow: 0 2px 10px rgba(70, 112, 206, 0.18);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}

body.tebgram-reels-body .ig-reel-book-btn:hover,
body.tebgram-reels-body .ig-reel-book-btn:focus {
    background: linear-gradient(135deg, rgba(138, 172, 238, 0.52) 0%, rgba(108, 144, 220, 0.44) 100%);
    box-shadow: 0 4px 14px rgba(70, 112, 206, 0.24);
}

body.tebgram-reels-body .tebgram-fab__main {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow:
        0 8px 24px rgba(234, 88, 12, 0.42),
        0 2px 8px rgba(15, 23, 42, 0.12);
}

body.tebgram-reels-body .tebgram-fab__action i {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

/* ── TebGram follow button (پزشک / کلینیک محبوب) ── */
body.tebgram-reels-body .ig-reel-header {
    gap: 8px;
}

body.tebgram-reels-body .ig-reel-author-link {
    justify-content: flex-start;
    flex: 1;
}

body.tebgram-reels-body .ig-reel-follow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 96px;
    height: 30px;
    margin-inline-start: 4px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

body.tebgram-reels-body .ig-reel-follow__label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.tebgram-reels-body .ig-reel-follow:active {
    transform: scale(0.96);
}

body.tebgram-reels-body .ig-reel-follow.is-following {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}

body.tebgram-reels-body .ig-reel-follow:disabled {
    opacity: 0.72;
    cursor: wait;
}

body.tebgram-viewer-open {
    overflow: hidden;
}

.tebgram-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    background: #000;
    color: #fff;
    direction: rtl;
}

.tebgram-image-viewer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tebgram-image-viewer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
}

.tebgram-image-viewer__toolbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: max(10px, env(safe-area-inset-top)) 12px 8px;
}

.tebgram-image-viewer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.18s ease, transform 0.18s ease;
}

.tebgram-image-viewer__btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.tebgram-image-viewer__btn:active {
    transform: scale(0.94);
}

.tebgram-image-viewer__btn:hover,
.tebgram-image-viewer__btn:focus {
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

.tebgram-image-viewer__btn--close {
    background: rgba(255, 255, 255, 0.18);
}

.tebgram-image-viewer__icon-collapse {
    display: none;
}

.tebgram-image-viewer.is-native-fullscreen .tebgram-image-viewer__icon-expand {
    display: none;
}

.tebgram-image-viewer.is-native-fullscreen .tebgram-image-viewer__icon-collapse {
    display: block;
}

.tebgram-image-viewer__stage {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}

.tebgram-image-viewer__stage:active {
    cursor: grabbing;
}

.tebgram-image-viewer__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
    will-change: transform;
}

.tebgram-image-viewer__hint {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0 16px max(12px, env(safe-area-inset-bottom));
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

@media (min-width: 768px) {
    .tebgram-image-viewer__toolbar,
    .tebgram-image-viewer__stage,
    .tebgram-image-viewer__hint {
        max-width: var(--tebgram-shell-width);
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

