/**
 * GlobaleSIM Theme — Supplementary Styles
 * Tailwind CDN handles most styling; these cover edge cases.
 */

:root {
    --ge-page-bg: #f6fafc;
    --ge-top-nav-bg: #fff;
    --ge-mobile-chrome-bg: rgba(255, 255, 255, .94);
    --ge-safe-area-top: env(safe-area-inset-top, 0px);
    --ge-safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --ge-nav-navy: #0b1e3f;
    --ge-nav-cyan: #16b8ea;
    --ge-nav-cyan-dark: #007da8;
    --ge-nav-ink: #17202b;
    --ge-nav-muted: #556275;
    --ge-nav-line: #dfe6ec;
    --ge-nav-soft: #f2f6f8;
    --ge-nav-shadow: 0 18px 50px rgba(20, 38, 63, .1);
}

html,
body {
    background: var(--ge-page-bg);
}

.ge-site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 80;
    border-bottom: 0;
    background: var(--ge-top-nav-bg);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.ge-nav-container {
    width: min(calc(100% - 40px), 1740px);
    margin-inline: auto;
}

.ge-header__inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ge-header__cluster,
.ge-header__actions,
.ge-brand,
.ge-nav,
.ge-currency,
.ge-account {
    display: flex;
    align-items: center;
}

.ge-header__cluster {
    min-width: 0;
    gap: 42px;
}

.ge-brand {
    flex: 0 0 auto;
    gap: 9px;
    color: var(--ge-nav-navy);
    text-decoration: none;
}

.ge-brand:hover {
    color: var(--ge-nav-navy);
    text-decoration: none;
}

.ge-brand img {
    width: auto;
    height: 30px;
    object-fit: contain;
}

.ge-brand__mark {
    color: var(--ge-nav-cyan);
    font-size: 30px;
    font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 32;
}

.ge-brand strong {
    color: #1d2631;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
}

.ge-nav {
    gap: 22px;
}

.ge-nav a {
    position: relative;
    padding-block: 22px 20px;
    color: #243247;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    white-space: nowrap;
    text-decoration: none;
    transition: color 180ms ease;
}

.ge-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 13px;
    left: 0;
    height: 1px;
    border-radius: 999px;
    background: var(--ge-nav-cyan);
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.ge-nav a:hover,
.ge-nav a.is-active {
    color: var(--ge-nav-navy);
    text-decoration: none;
}

.ge-nav a:hover::after,
.ge-nav a.is-active::after {
    transform: scaleX(1);
}

.ge-header__actions {
    flex: 0 0 auto;
    gap: 10px;
}

.ge-currency,
.ge-language summary,
.ge-account,
.ge-menu-button {
    min-height: 36px;
    border: 1px solid var(--ge-nav-line);
    border-radius: 6px;
    background: #fff;
}

.ge-currency {
    gap: 6px;
    padding: 0 11px;
    border-color: transparent;
    color: #566477;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
}

.ge-currency .material-symbols-outlined,
.ge-language .material-symbols-outlined,
.ge-account .material-symbols-outlined {
    font-size: 18px;
}

.ge-language,
.ge-account-menu {
    position: relative;
}

.ge-language summary {
    min-width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border-color: transparent;
    color: #566477;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.ge-language summary::-webkit-details-marker {
    display: none;
}

.ge-language__menu,
.ge-account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 90;
    overflow: hidden;
    border: 1px solid var(--ge-nav-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--ge-nav-shadow);
}

.ge-language__menu {
    width: 150px;
}

.ge-language__menu a,
.ge-account-dropdown a,
.ge-account-dropdown button {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: #526074;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.ge-language__menu a {
    justify-content: space-between;
}

.ge-language__menu a:hover,
.ge-language__menu a.is-current,
.ge-account-dropdown a:hover,
.ge-account-dropdown button:hover {
    background: var(--ge-nav-soft);
    color: var(--ge-nav-cyan-dark);
    text-decoration: none;
}

.ge-language__menu .material-symbols-outlined,
.ge-account-dropdown .material-symbols-outlined {
    font-size: 16px;
}

.ge-account-dropdown {
    width: 190px;
    padding-block: 4px;
}

.ge-account-dropdown__email {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--ge-nav-line);
    color: #647184;
    font-size: 12px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ge-account-dropdown button {
    width: 100%;
}

.ge-account-dropdown .is-danger {
    color: #a83a3a;
}

.ge-account {
    gap: 6px;
    padding: 0 14px;
    border: 0;
    background: var(--ge-nav-cyan);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
}

.ge-account:hover {
    background: #008ec0;
    color: #fff;
    text-decoration: none;
}

.ge-account--button {
    max-width: 210px;
}

.ge-account--button .ge-account__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ge-account--button .ge-account__balance {
    flex: 0 0 auto;
    white-space: nowrap;
}

.ge-menu-button {
    display: none;
    width: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--ge-nav-navy);
    cursor: pointer;
}

.ge-menu-button .material-symbols-outlined {
    font-size: 24px;
}

.ge-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
}

.ge-mobile-menu.is-open {
    display: block;
}

.ge-mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(3, 12, 28, .54);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.ge-mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100%;
    padding: max(20px, env(safe-area-inset-top)) 18px 22px;
    background: #fff;
    box-shadow: -20px 0 60px rgba(4, 18, 40, .2);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ge-mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f5;
}

.ge-mobile-menu__head strong {
    color: var(--ge-nav-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.ge-mobile-menu__head button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--ge-nav-soft);
    color: var(--ge-nav-ink);
    cursor: pointer;
}

.ge-mobile-menu nav {
    display: grid;
    gap: 12px;
    padding-top: 0;
}

.ge-mobile-menu nav a,
.ge-mobile-menu nav button {
    position: relative;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px 0 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #3d4b5d;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.ge-mobile-menu nav a:hover,
.ge-mobile-menu nav a.is-active,
.ge-mobile-menu nav button:hover {
    background: #f6fafc;
    color: #173047;
    text-decoration: none;
}

.ge-mobile-menu nav a.is-active::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 11px;
    bottom: 11px;
    width: 3px;
    border-radius: 999px;
    background: var(--ge-nav-cyan-dark);
}

.ge-mobile-menu nav .material-symbols-outlined {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    overflow: hidden;
    color: #7a8795;
    font-size: 20px;
    line-height: 1;
}

.ge-mobile-menu__svg-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    color: #7a8795;
}

.ge-mobile-menu__svg-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ge-mobile-menu nav .is-danger {
    color: #a83a3a;
}

.ge-mobile-account {
    display: grid;
    gap: 10px;
    margin: 14px 0 13px;
    padding: 11px;
    border: 1px solid #dce9ef;
    border-radius: 13px;
    background: #f8fbfc;
}

.ge-mobile-account.is-logged-in {
    border-color: #bfe4ee;
    background: linear-gradient(180deg, #f1fbfd 0%, #f8fcfd 100%);
}

.ge-mobile-account__main {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
}

.ge-mobile-account__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 11px;
    background: #fff;
    color: var(--ge-nav-cyan-dark);
    font-size: 21px;
    line-height: 1;
}

.ge-mobile-account__text {
    min-width: 0;
}

.ge-mobile-account__text small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ge-mobile-account__text strong {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    color: #17202b;
    font-size: 14px;
    font-weight: 780;
    line-height: 1.35;
}

.ge-mobile-account__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ge-mobile-account__badge {
    min-height: 18px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 6px;
    border: 1px solid #f3d38a;
    border-radius: 999px;
    background: #fff7db;
    color: #8a5b00;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
}

.ge-mobile-account__text small {
    margin-top: 2px;
    color: #5b697a;
    font-size: 12px;
    font-weight: 560;
    line-height: 1.35;
}

.ge-mobile-account__action {
    appearance: none;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 1px solid #a9d8e5;
    border-radius: 9px;
    background: #fff;
    color: #006f96;
    font: inherit;
    font-size: 12px;
    font-weight: 760;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.ge-mobile-account__action:hover {
    border-color: #8ac9dc;
    background: #eef8fb;
    color: #005f82;
    text-decoration: none;
}

.ge-mobile-account__action.is-danger {
    border-color: #f1c8c8;
    color: #a83a3a;
}

.ge-mobile-account__action.is-danger:hover {
    border-color: #e8abab;
    background: #fff5f5;
    color: #912f2f;
}

.ge-mobile-account__shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.ge-mobile-account__shortcuts a {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #e1edf2;
    border-radius: 9px;
    background: rgba(255, 255, 255, .72);
    color: #314155;
    font-size: 12px;
    font-weight: 680;
    line-height: 1.2;
    text-decoration: none;
}

.ge-mobile-account__shortcuts a:hover {
    border-color: #cfe2eb;
    background: #fff;
    color: #17202b;
    text-decoration: none;
}

.ge-mobile-account__shortcuts .material-symbols-outlined {
    color: #6b7a89;
    font-size: 16px;
    line-height: 1;
}

.ge-mobile-menu__section {
    display: grid;
    gap: 2px;
    padding-top: 13px;
    border-top: 1px solid #f0f4f6;
}

.ge-mobile-menu__section:first-child {
    padding-top: 0;
    border-top: 0;
}

.ge-mobile-menu__section-label {
    display: block;
    padding: 0 12px 2px;
    color: #7d8a99;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.ge-mobile-menu nav a,
.ge-mobile-menu nav button {
    width: 100%;
}

.ge-mobile-menu nav a.is-active {
    background: #f0f8fb;
    color: #006f96;
    font-weight: 760;
}

.ge-mobile-menu nav a.is-active .material-symbols-outlined,
.ge-mobile-menu nav a.is-active .ge-mobile-menu__svg-icon {
    color: var(--ge-nav-cyan-dark);
}

.ge-mobile-language {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ge-mobile-menu nav .ge-mobile-language a {
    min-height: 44px;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid #dfe9ef;
    border-radius: 10px;
    background: #fff;
    color: #475568;
    font-size: 13px;
    font-weight: 660;
    text-align: center;
}

.ge-mobile-menu nav .ge-mobile-language a.is-current {
    border-color: #b8dce8;
    background: #f5fbfd;
    color: #006f96;
}

.ge-mobile-menu nav .ge-mobile-language .material-symbols-outlined {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
    color: currentColor;
    font-size: 17px;
}

.ge-mobile-menu nav .is-danger {
    color: #a83a3a;
}

.ge-mobile-menu nav .is-danger .material-symbols-outlined {
    color: #a83a3a;
}

.ge-mobile-menu nav .is-danger .ge-mobile-menu__svg-icon {
    color: #a83a3a;
}

@media (max-width: 380px) {
    .ge-mobile-account__main {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .ge-mobile-account__action {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.ge-top-promo-content {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ge-top-promo-content,
.ge-top-promo-content * {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.ge-top-promo-content p {
    display: inline;
    margin: 0;
}

.ge-top-promo-content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@supports (padding-top: env(safe-area-inset-top)) {
    @media (max-width: 767px) {
        .ge-site-nav {
            padding-top: var(--ge-safe-area-top);
            transform: translate3d(0, 0, 0);
        }

        main.flex-1 {
            padding-top: calc(var(--ge-mobile-nav-offset, 56px) + var(--ge-safe-area-top)) !important;
        }

        .ge-filter-sticky {
            top: calc(var(--ge-mobile-nav-offset, 56px) + var(--ge-safe-area-top)) !important;
        }
    }
}

@media (max-width: 1080px) {
    .ge-header__cluster {
        gap: 22px;
    }

    .ge-nav {
        gap: 14px;
    }

    .ge-currency {
        display: none;
    }
}

@media (max-width: 860px) {
    .ge-nav--desktop,
    .ge-account span:not(.material-symbols-outlined) {
        display: none;
    }

    .ge-nav-container {
        width: min(calc(100% - 28px), 920px);
    }

    .ge-header__inner {
        min-height: 64px;
        gap: 10px;
    }

    .ge-brand {
        min-width: 0;
    }

    .ge-brand img {
        height: 29px;
    }

    .ge-brand strong {
        max-width: 150px;
        overflow: hidden;
        font-size: 18px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ge-header__actions {
        gap: 7px;
    }

    .ge-account {
        display: none;
    }

    .ge-menu-button {
        display: flex;
    }
}

@media (max-width: 640px) {
    .ge-header__inner {
        min-height: 60px;
    }

    .ge-brand img {
        height: 28px;
    }

    .ge-brand strong {
        max-width: 170px;
        font-size: 18px;
    }

    .ge-language {
        display: none;
    }

    .ge-menu-button {
        min-height: 38px;
        width: 38px;
        border: 0;
    }
}

/* ===================== Notification Toast ===================== */
.ge-notification {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    min-width: 200px;
    max-width: calc(100vw - 40px);
    padding: 14px 20px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    backdrop-filter: blur(12px);
    animation: geSlideIn .35s cubic-bezier(.22,1,.36,1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.ge-notification.success { background: linear-gradient(135deg, #126e00, #1a8c00); }
.ge-notification.error   { background: linear-gradient(135deg, #ba1a1a, #dc2626); }
.ge-notification.info    { background: linear-gradient(135deg, #00658d, #0088b5); }
.ge-notification.warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ge-notification.fade-out {
    animation: geFadeOut .3s ease forwards;
}

#noticeModal {
    z-index: 140;
}
@keyframes geSlideIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes geFadeOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(40px); }
}

/* ===================== Prose (Tutorial Content) ===================== */
.ge-desc-content,
.ge-tutorial-content {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: pretty;
}

.ge-desc-content *,
.ge-tutorial-content * {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.ge-desc-content img,
.ge-tutorial-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1em 0;
}

.ge-desc-content img.desc-title-logo {
    display: inline-block;
    width: auto;
    max-width: 96px;
    max-height: 46px;
    margin: 0 12px 0 0;
    border-radius: 0;
    vertical-align: baseline;
    transform: translateY(3px);
    object-fit: contain;
}
.ge-desc-content p,
.ge-tutorial-content p {
    margin-bottom: 1em;
    line-height: 1.8;
}
.ge-desc-content h1, .ge-desc-content h2, .ge-desc-content h3,
.ge-tutorial-content h1, .ge-tutorial-content h2, .ge-tutorial-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin: 1.5em 0 .75em;
    color: #181c1e;
}
.ge-desc-content h1, .ge-tutorial-content h1 { font-size: 1.5em; }
.ge-desc-content h2, .ge-tutorial-content h2 { font-size: 1.25em; }
.ge-desc-content h3, .ge-tutorial-content h3 { font-size: 1.1em; }
.ge-desc-content ul, .ge-desc-content ol,
.ge-tutorial-content ul, .ge-tutorial-content ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}
.ge-desc-content li, .ge-tutorial-content li {
    margin-bottom: .4em;
}
.ge-desc-content a, .ge-tutorial-content a {
    color: #00658d;
    text-decoration: underline;
}
.ge-desc-content table, .ge-tutorial-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: .9em;
}
.ge-desc-content th, .ge-desc-content td,
.ge-tutorial-content th, .ge-tutorial-content td {
    border: 1px solid #bdc8d1;
    padding: 8px 12px;
    text-align: left;
}
.ge-desc-content th, .ge-tutorial-content th {
    background: #f0f4f6;
    font-weight: 600;
}
.ge-desc-content blockquote, .ge-tutorial-content blockquote {
    border-left: 4px solid #00658d;
    padding: .5em 1em;
    margin: 1em 0;
    color: #3e4850;
    background: #f6fafc;
    border-radius: 0 8px 8px 0;
}
.ge-desc-content code, .ge-tutorial-content code {
    background: #f0f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .9em;
}
.ge-desc-content pre, .ge-tutorial-content pre {
    background: #181c1e;
    color: #e5e9eb;
    padding: 16px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1em 0;
}
.ge-desc-content pre code, .ge-tutorial-content pre code {
    background: transparent;
    padding: 0;
    font-size: .85em;
}

@media (max-width: 640px) {
    .ge-desc-panel {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .ge-desc-panel > h4 {
        margin: 0 0 12px !important;
        padding-inline: 4px;
        font-size: 16px !important;
    }

    .ge-desc-content,
    .ge-tutorial-content {
        width: 100%;
        font-size: 15px;
        line-height: 1.75;
    }

    .ge-desc-content > :first-child {
        margin-top: 0 !important;
    }

    .ge-desc-content > div,
    .ge-desc-content > section,
    .ge-desc-content [style*="max-width: 900px"],
    .ge-desc-content [style*="max-width:900px"],
    .ge-desc-content [style*="max-width: 640px"],
    .ge-desc-content [style*="max-width:640px"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ge-desc-content div[style*="padding: 30px 34px"],
    .ge-desc-content div[style*="padding:30px 34px"],
    .ge-desc-content div[style*="padding: 24px 34px"],
    .ge-desc-content div[style*="padding:24px 34px"] {
        padding: 20px 14px !important;
    }

    .ge-desc-content div[style*="padding: 24px"],
    .ge-desc-content div[style*="padding:24px"] {
        padding: 18px 14px !important;
    }

    .ge-desc-content [style*="border-radius: 18px"],
    .ge-desc-content [style*="border-radius:18px"] {
        border-radius: 14px !important;
    }

    .ge-desc-content [style*="border-radius: 16px"],
    .ge-desc-content [style*="border-radius:16px"] {
        border-radius: 12px !important;
    }

    .ge-desc-content [style*="box-shadow"] {
        box-shadow: none !important;
    }

    .ge-desc-content div[style*="white-space: normal"],
    .ge-desc-content div[style*="white-space:normal"] {
        display: grid !important;
        grid-template-columns: minmax(0, auto) minmax(0, 1fr);
        align-items: center;
        column-gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .ge-desc-content [style*="font-size: 38px"],
    .ge-desc-content [style*="font-size:38px"] {
        display: block !important;
        grid-column: 2;
        width: auto !important;
        max-width: none !important;
        font-size: 26px !important;
        line-height: 1.18 !important;
        letter-spacing: 0 !important;
    }

    .ge-desc-content img[style*="width: 88px"],
    .ge-desc-content img[style*="width:88px"] {
        display: block !important;
        grid-column: 1;
        width: 64px !important;
        max-width: 64px !important;
        height: auto !important;
        margin: 0 !important;
        transform: none !important;
    }

    .ge-desc-content img.desc-title-logo {
        display: block;
        grid-column: 1;
        max-width: 64px;
        max-height: 34px;
        margin: 0;
        transform: none;
    }

    .ge-desc-content p,
    .ge-desc-content p[style],
    .ge-desc-content ul[style],
    .ge-desc-content ol[style] {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .ge-desc-content h1,
    .ge-desc-content h2,
    .ge-desc-content h3,
    .ge-desc-content h4 {
        line-height: 1.25;
        letter-spacing: 0;
        text-wrap: balance;
    }

    .ge-desc-content [style*="font-size: 0"],
    .ge-desc-content [style*="font-size:0"] {
        font-size: 14px !important;
    }

    .ge-desc-content [style*="display: grid"],
    .ge-desc-content [style*="display:grid"] {
        grid-template-columns: 1fr !important;
    }

    .ge-desc-content [style*="width: 33.33%"],
    .ge-desc-content [style*="width:33.33%"] {
        display: block !important;
        width: 100% !important;
        padding: 14px 16px !important;
        border-right: 0 !important;
        border-left: 0 !important;
    }

    .ge-desc-content [style*="width: 33.33%"]:not(:last-child),
    .ge-desc-content [style*="width:33.33%"]:not(:last-child) {
        border-bottom: 1px solid #e1e7ee !important;
    }

    .ge-desc-content span[style*="width: 170px"],
    .ge-desc-content span[style*="width:170px"] {
        display: block !important;
        width: 100% !important;
        padding: 12px 14px 4px !important;
        border: 0 !important;
        background: transparent !important;
        font-size: 13px !important;
    }

    .ge-desc-content span[style*="width: 170px"] + span,
    .ge-desc-content span[style*="width:170px"] + span {
        display: block !important;
        width: 100% !important;
        padding: 0 14px 12px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .ge-desc-content a {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .ge-desc-content table,
    .ge-tutorial-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ge-desc-content th,
    .ge-desc-content td,
    .ge-tutorial-content th,
    .ge-tutorial-content td {
        min-width: 120px;
        padding: 9px 10px;
        white-space: normal;
    }

    .ge-desc-content pre,
    .ge-tutorial-content pre {
        white-space: pre-wrap;
    }
}

/* ===================== Telegram Step Indicators ===================== */
.login-mode-tab {
    color: #3e4850;
    background: transparent;
}
.login-mode-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #00658d, #00aeef);
    box-shadow: 0 8px 20px rgba(0, 101, 141, .22);
}
.login-mode-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 101, 141, .22);
}

.email-login-msg-success {
    color: #126e00;
    background: rgba(18, 110, 0, .08);
    border: 1px solid rgba(18, 110, 0, .18);
}
.email-login-msg-error {
    color: #ba1a1a;
    background: rgba(186, 26, 26, .08);
    border: 1px solid rgba(186, 26, 26, .18);
}

#tgStep1.done span:first-child,
#tgStep2.done span:first-child,
#tgStep3.done span:first-child {
    background: #126e00 !important;
    color: #fff !important;
}
#tgStep1 span:first-child,
#tgStep2 span:first-child,
#tgStep3 span:first-child {
    transition: background .3s, color .3s;
}

/* ===================== Scroll Lock ===================== */
body.modal-open {
    overflow: hidden;
}

/* ===================== Page Hero ===================== */
.mesim-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0 0 18px;
    min-height: 178px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 74% 36%, rgba(0, 174, 239, .18) 0 12%, transparent 40%),
        linear-gradient(115deg, #02060b 0%, #04131b 48%, #061f2b 100%);
    color: #fff;
}

.mesim-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(2, 6, 11, .88) 0%, rgba(2, 6, 11, .64) 46%, rgba(2, 6, 11, .12) 100%),
        radial-gradient(circle at 72% 48%, rgba(23, 190, 255, .1), transparent 46%);
    pointer-events: none;
}

.mesim-page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 -2px;
    z-index: -1;
    height: 86px;
    background: linear-gradient(180deg, rgba(2, 6, 11, 0) 0%, rgba(246, 250, 252, .09) 100%);
    pointer-events: none;
}

.mesim-page-hero--compact {
    min-height: 150px;
}

.mesim-page-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: inherit;
    padding: 24px;
}

.mesim-page-hero__copy {
    min-width: 0;
    max-width: 720px;
}

.mesim-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin: 0 0 12px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: rgba(244, 251, 255, .9);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.mesim-page-hero__eyebrow .material-symbols-outlined {
    font-size: 17px;
    color: #5bd4ff;
}

.mesim-page-hero h1 {
    margin: 0;
    max-width: 720px;
    color: #fff;
    font-size: 32px;
    font-weight: 850;
    line-height: 1.16;
    letter-spacing: 0;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.mesim-page-hero p {
    margin: 10px 0 0;
    max-width: 66ch;
    color: rgba(232, 246, 252, .8);
    font-size: 15px;
    line-height: 1.65;
    text-wrap: pretty;
    overflow-wrap: anywhere;
}

.mesim-page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.mesim-page-hero__meta > *,
.mesim-page-hero__stat,
.mesim-page-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: rgba(244, 251, 255, .9);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mesim-page-hero__meta .material-symbols-outlined,
.mesim-page-hero__stat .material-symbols-outlined,
.mesim-page-hero__pill .material-symbols-outlined {
    font-size: 16px;
    color: #5bd4ff;
}

.mesim-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    min-width: max-content;
}

.mesim-page-hero__actions a,
.mesim-page-hero__actions button,
.mesim-page-hero__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #07162f;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.mesim-page-hero__actions a:hover,
.mesim-page-hero__actions button:hover,
.mesim-page-hero__action:hover {
    background: #fff;
    color: #00658d;
    text-decoration: none;
}

.mesim-page-hero__actions .material-symbols-outlined {
    font-size: 18px;
}

.mesim-page-hero__earth {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.mesim-page-hero__earth img {
    position: absolute;
    top: 50%;
    right: clamp(-410px, -30vw, -260px);
    width: clamp(620px, 58vw, 900px);
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    opacity: .68;
    filter: saturate(1.05) contrast(1.08);
    transform: translateY(-52%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .14) 18%, rgba(0, 0, 0, .76) 34%, #000 48%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .14) 18%, rgba(0, 0, 0, .76) 34%, #000 48%);
}

@media (max-width: 767px) {
    .mesim-page-hero {
        min-height: 168px;
        margin-bottom: 14px;
        border-radius: 16px;
        background:
            radial-gradient(circle at 96% 26%, rgba(0, 174, 239, .16) 0 12%, transparent 42%),
            linear-gradient(150deg, #02060b 0%, #04131b 56%, #061f2b 100%);
    }

    .mesim-page-hero__content {
        display: block;
        padding: 20px;
    }

    .mesim-page-hero__copy {
        max-width: 100%;
    }

    .mesim-page-hero__eyebrow {
        margin-bottom: 10px;
        min-height: 26px;
        padding-inline: 10px;
        font-size: 11px;
    }

    .mesim-page-hero h1 {
        max-width: 260px;
        font-size: 27px;
        line-height: 1.15;
    }

    .mesim-page-hero p {
        max-width: 290px;
        font-size: 13px;
        line-height: 1.62;
    }

    .mesim-page-hero__meta {
        max-width: 100%;
        margin-top: 13px;
        gap: 6px;
    }

    .mesim-page-hero__meta > *,
    .mesim-page-hero__stat,
    .mesim-page-hero__pill {
        min-height: 30px;
        padding-inline: 9px;
        font-size: 11px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .mesim-page-hero__actions {
        justify-content: flex-start;
        min-width: 0;
        margin-top: 14px;
    }

    .mesim-page-hero__actions a,
    .mesim-page-hero__actions button,
    .mesim-page-hero__action {
        min-height: 40px;
        padding-inline: 13px;
        font-size: 12px;
    }

    .mesim-page-hero__earth img {
        top: 36px;
        right: -300px;
        width: 520px;
        opacity: .42;
        transform: none;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .08) 24%, rgba(0, 0, 0, .62) 40%, #000 55%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .08) 24%, rgba(0, 0, 0, .62) 40%, #000 55%);
    }
}

@media (max-width: 767px) {
    .ge-category-modal__sheet {
        max-height: min(78vh, calc(100vh - var(--ge-mobile-nav-offset, 56px) - var(--ge-safe-area-top)));
        padding-bottom: calc(1.5rem + var(--ge-safe-area-bottom) + 20px) !important;
        scroll-padding-bottom: calc(var(--ge-safe-area-bottom) + 28px);
    }
}

/* ===================== PWA Standalone Comfort ===================== */
@media (display-mode: standalone) {
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: auto;
    }
}

html.is-pwa-standalone,
html.is-pwa-standalone body {
    background: #f6fafc;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
}

@media (max-width: 767px) {
    html.is-pwa-standalone body > nav.fixed.top-0 {
        background: var(--ge-top-nav-bg) !important;
        box-shadow: 0 1px 0 rgba(189, 200, 209, .42);
        transform: translateZ(0);
    }

    html.is-pwa-standalone main.flex-1 {
        padding-top: calc(var(--ge-mobile-nav-offset, 56px) + var(--ge-safe-area-top)) !important;
    }

}

/* ===================== Print ===================== */
@media print {
    nav, footer, .ge-notification, #tgLoginOverlay { display: none !important; }
    main { padding-top: 0 !important; }
}

/* ===================== Animations ===================== */
@keyframes gePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
.ge-pulse { animation: gePulse 2s ease-in-out infinite; }

/* ===================== Misc ===================== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
