.mobile-header {
    width: 100%;
    min-height: 58px;

    padding: 10px 12px;

    display: flex;
    align-items: center;
    gap: 7px;

    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(18,24,41,.08);

    backdrop-filter: blur(16px);
}

/* LOGO */

.mobile-header__brand {
    display: inline-flex;
    align-items: center;

    margin-right: auto;

    min-width: 0;

    color: inherit;
    text-decoration: none;
}

.mobile-header__logo {
    display: block;

    width: auto;
    max-width: 104px;
    max-height: 30px;

    object-fit: contain;
}

.mobile-header__brand-name {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 21px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1px;

    color: #171b30;
}

.mobile-header__brand-name span {
    color: #6547e8;
}

/* GNT */

.mobile-header__gnt {
    height: 34px;
    min-height: 34px;

    padding: 0 9px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    border: 1px solid rgba(24,28,47,.10);
    border-radius: 10px;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fafbfc 100%
    );

    box-shadow:
        0 3px 10px rgba(24,28,47,.04),
        inset 0 1px 0 #fff;

    color: #171b30;
}

.mobile-header__gnt-amount {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
}

.mobile-header__gnt-currency {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 8px;
    line-height: 1;
    font-weight: 700;

    color: #7f8591;
}

/* PROFILE */

.mobile-header__profile {
    height: 34px;
    min-height: 34px;

    max-width: 104px;

    padding: 0 9px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border: 1px solid rgba(101,71,232,.15);
    border-radius: 10px;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #faf9ff 100%
    );

    box-shadow:
        0 3px 10px rgba(24,28,47,.04),
        inset 0 1px 0 #fff;

    color: #171b30;
    text-decoration: none;
}

.mobile-header__profile-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-family: "Manrope", Arial, sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.mobile-header__profile-arrow {
    flex: 0 0 auto;

    font-size: 10px;
    line-height: 1;

    color: #6547e8;
}

@media (max-width: 360px) {
    .mobile-header {
        padding-left: 9px;
        padding-right: 9px;
        gap: 5px;
    }

    .mobile-header__logo {
        max-width: 90px;
    }

    .mobile-header__gnt {
        padding-left: 7px;
        padding-right: 7px;
    }

    .mobile-header__profile {
        max-width: 88px;
        padding-left: 7px;
        padding-right: 7px;
    }
}

/* PROFILE TEXT — MOBILE */
.mobile-header__profile-name {
    font-size: 12px;
}

.mobile-header__profile-name {
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -.2px;
}

.mobile-header__profile-name {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -.15px;
}

.mobile-header__gnt-amount,
.mobile-header__gnt-currency {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -.15px;
}

/* MOBILE HEADER — SEARCH ROW */

.mobile-header {
    flex-wrap: wrap;
}

.mobile-header__search {
    width: 100%;
    flex: 0 0 100%;

    margin-top: 2px;
}

.mobile-header__search-control {
    width: 100%;
    height: 36px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid rgba(18,24,41,.19);

    background: transparent;
}

.mobile-header__search-icon {
    width: 16px;
    height: 16px;

    margin-left: 8px;

    flex: 0 0 16px;

    fill: none;
    stroke: #a2a6af;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-header__search-control input {
    min-width: 0;
    flex: 1;

    height: 34px;

    padding: 0 11px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #121829;

    font-family: "Manrope", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.mobile-header__search-control input::placeholder {
    color: #999eaa;
    font-weight: 500;
}

.mobile-header__search-control button {
    width: 34px;
    height: 34px;

    border: 0;

    background: transparent;

    color: #6547e8;

    font-size: 20px;

    cursor: pointer;
}



/* SERVICES ICON — SECOND HEADER ROW */

.mobile-header__services {
    width: 36px;
    height: 36px;
    min-width: 36px;

    margin-right: 7px;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(24,28,47,.10);
    border-radius: 11px;

    background: linear-gradient(180deg,#ffffff 0%,#fafbfc 100%);

    box-shadow:
        0 4px 12px rgba(24,28,47,.045),
        inset 0 1px 0 #fff;

    vertical-align: top;
}

.mobile-header__services-icon {
    width: 18px;
    height: 18px;

    display: grid;
    grid-template-columns: repeat(2,8px);
    grid-template-rows: repeat(2,8px);
    gap: 2px;
}

.mobile-header__services-icon i {
    width: 8px;
    height: 8px;

    display: block;

    border-radius: 2.5px;
    background: #343846;
}

.mobile-header__search {
    display: inline-block;

    width: calc(100% - 47px);
    vertical-align: top;
}


/* MOBILE HEADER — FIXED TWO ROW LAYOUT */

.mobile-header {
    display: grid;

    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "brand gnt profile"
        "services search search";

    align-items: center;
    column-gap: 7px;
    row-gap: 8px;
}

.mobile-header__brand {
    grid-area: brand;
    margin-right: 0;
}

.mobile-header__gnt {
    grid-area: gnt;
    justify-self: end;
}

.mobile-header__profile {
    grid-area: profile;
    justify-self: end;
}

.mobile-header__services {
    grid-area: services;

    margin: 0;
    align-self: center;
}

.mobile-header__search {
    grid-area: search;

    width: 100%;
    margin: 0;

    display: block;
    min-width: 0;
}


/* SERVICES ICON — LIGHT VERSION */

.mobile-header__services {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
}

.mobile-header__services-icon {
    width: 16px;
    height: 16px;

    grid-template-columns: repeat(2, 7px);
    grid-template-rows: repeat(2, 7px);
    gap: 2px;
}

.mobile-header__services-icon i {
    width: 7px;
    height: 7px;

    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #b8bcc5;
    border-radius: 2px;
}

.mobile-header__services-icon i:first-child {
    background: #9da2ac;
    border-color: #9da2ac;
}


/* QR BUTTON */

.mobile-header__qr-button {
    width: 34px;
    height: 34px;
    min-width: 34px;

    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 9px;

    background: transparent;
    color: #343846;

    cursor: pointer;
}

.mobile-header__qr-button svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* QR SCANNER MODAL */

.mobile-qr-scanner[hidden] {
    display: none;
}

.mobile-qr-scanner {
    position: fixed;
    inset: 0;
    z-index: 1000;

    padding: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(17,21,32,.58);
    backdrop-filter: blur(10px);
}

.mobile-qr-scanner__panel {
    width: min(100%, 390px);

    padding: 16px;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 24px 70px rgba(17,21,32,.22);
}

.mobile-qr-scanner__head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 14px;
}

.mobile-qr-scanner__head strong {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;

    color: #171b30;
}

.mobile-qr-scanner__head button {
    width: 32px;
    height: 32px;

    border: 0;
    border-radius: 9px;

    background: #f3f4f7;
    color: #343846;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
}

#mobile-qr-reader {
    overflow: hidden;

    border-radius: 16px;

    background: #11151f;
}

.mobile-qr-scanner__status {
    margin-top: 13px;

    padding: 11px 12px;

    border-radius: 11px;

    background: #f6f7f9;

    font-family: "Manrope", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.5;

    color: #666d79;
}

.mobile-qr-scanner__status strong {
    color: #171b30;
    font-size: 12px;
}


.mobile-header__qr-button svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.55;
    color: #7f6f4f;
}


.mobile-header__qr-button {
    width: 34px;
    height: 34px;
    min-width: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(24,28,47,.10);
    border-radius: 11px;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fafbfc 100%
    );

    box-shadow:
        0 4px 12px rgba(24,28,47,.045),
        inset 0 1px 0 #fff;

    color: #9da2ac;
}

.mobile-header__qr-button svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* SECOND ROW: SERVICES | SEARCH | SCANNER */

.mobile-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "brand gnt profile"
        "services search qr";
}

.mobile-header__services {
    grid-area: services;
}

.mobile-header__search {
    grid-area: search;
    width: 100%;
    min-width: 0;
}

.mobile-header__qr-button {
    grid-area: qr;
}


/* SERVICES AND SCANNER — IDENTICAL OUTER BUTTON */

.mobile-header__services,
.mobile-header__qr-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;

    margin: 0;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(24,28,47,.10);
    border-radius: 11px;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fafbfc 100%
    );

    box-shadow:
        0 4px 12px rgba(24,28,47,.045),
        inset 0 1px 0 #fff;
}


/* SCANNER GRAPHIC */

.mobile-header__qr-button {
    color: #9da2ac;
}

.mobile-header__qr-button svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* SCANNER ICON — SAME VISUAL SIZE AS SERVICES */

.mobile-header__qr-button svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.55;
}


/* SCANNER ICON — SAME VISUAL SIZE AS SERVICES */

.mobile-header__qr-button svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.55;
}


.mobile-header__qr-button svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.55;
}


.mobile-header__qr-button {
    justify-self: end;
    margin-left: auto;
}




/* QR SCANNER — FULLSCREEN CAMERA */

.mobile-qr-scanner {
    position: fixed;
    inset: 0;
    z-index: 1000;

    padding: 0;

    display: block;

    background: #000;
    backdrop-filter: none;
}

.mobile-qr-scanner__panel {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    padding: 0;

    border-radius: 0;
    background: transparent;

    box-shadow: none;
}

/* Header over camera */

.mobile-qr-scanner__head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    z-index: 20;

    margin: 0;
    padding:
        calc(env(safe-area-inset-top) + 12px)
        14px
        12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.55) 0%,
            rgba(0,0,0,0) 100%
        );
}

.mobile-qr-scanner__head strong {
    color: #fff;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.mobile-qr-scanner__head button {
    width: 38px;
    height: 38px;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;

    background: rgba(0,0,0,.28);
    color: #fff;

    backdrop-filter: blur(8px);

    font-size: 22px;
}

/* Camera fills screen */

#mobile-qr-reader {
    position: absolute;
    inset: 0;

    width: 100% !important;
    height: 100% !important;

    overflow: hidden;

    border-radius: 0;
    background: #000;
}

#mobile-qr-reader video {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
}

/* Remove library white boxes/borders */

#mobile-qr-reader > div {
    border: 0 !important;
    background: transparent !important;
}

#mobile-qr-reader__scan_region {
    width: 100% !important;
    min-height: 100% !important;

    background: transparent !important;
}

#mobile-qr-reader__dashboard {
    display: none !important;
}

/* Status at bottom */

.mobile-qr-scanner__status {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: calc(env(safe-area-inset-bottom) + 16px);

    z-index: 20;

    margin: 0;
    padding: 12px 14px;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;

    background: rgba(0,0,0,.38);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: rgba(255,255,255,.86);

    font-size: 11px;
    line-height: 1.45;

    text-align: center;
}

.mobile-qr-scanner__status strong {
    color: #fff;
    font-size: 13px;
}


/* QR SCANNER — CENTER CAPTURE FRAME */

#mobile-qr-reader::after {
    content: "";

    position: absolute;
    z-index: 15;

    top: 50%;
    left: 50%;

    width: 230px;
    height: 230px;

    transform: translate(-50%, -50%);

    border: 2px solid rgba(255,255,255,.95);
    border-radius: 22px;

    box-sizing: border-box;

    box-shadow:
        0 0 0 9999px rgba(0,0,0,.20),
        0 0 24px rgba(255,255,255,.10);

    pointer-events: none;
}


/* =========================================================
   PAWID SCAN — VISIBLE OVERLAY
   ========================================================= */

/* Убираем старую рамку */
#mobile-qr-reader::after {
    display: none !important;
}

.mobile-qr-overlay {
    position: absolute;
    inset: 0;
    z-index: 40;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.mobile-qr-frame {
    position: relative;

    width: 230px;
    height: 230px;
}

/* FOUR SCANNER CORNERS */

.mobile-qr-corner {
    position: absolute;

    width: 38px;
    height: 38px;

    border-color: rgba(255,255,255,.96);
    border-style: solid;

    filter: drop-shadow(0 2px 7px rgba(0,0,0,.22));
}

.mobile-qr-corner--tl {
    top: 0;
    left: 0;

    border-width: 3px 0 0 3px;
    border-radius: 17px 0 0 0;
}

.mobile-qr-corner--tr {
    top: 0;
    right: 0;

    border-width: 3px 3px 0 0;
    border-radius: 0 17px 0 0;
}

.mobile-qr-corner--bl {
    bottom: 0;
    left: 0;

    border-width: 0 0 3px 3px;
    border-radius: 0 0 0 17px;
}

.mobile-qr-corner--br {
    bottom: 0;
    right: 0;

    border-width: 0 3px 3px 0;
    border-radius: 0 0 17px 0;
}


/* PAW ABOVE FRAME */

.mobile-qr-frame .mobile-qr-paw {
    position: absolute;
    top: -43px;
    left: 50%;

    width: 34px;
    height: 28px;

    transform: translateX(-50%);

    opacity: 1;
}

.mobile-qr-paw__toe,
.mobile-qr-paw__pad {
    position: absolute;
    display: block;

    background: #ffffff;

    box-shadow:
        0 2px 9px rgba(0,0,0,.22);
}

.mobile-qr-paw__toe {
    width: 7px;
    height: 9px;

    border-radius: 60%;
}

.mobile-qr-paw__toe--1 {
    left: 2px;
    top: 8px;
    transform: rotate(-18deg);
}

.mobile-qr-paw__toe--2 {
    left: 9px;
    top: 2px;
    transform: rotate(-7deg);
}

.mobile-qr-paw__toe--3 {
    right: 9px;
    top: 2px;
    transform: rotate(7deg);
}

.mobile-qr-paw__toe--4 {
    right: 2px;
    top: 8px;
    transform: rotate(18deg);
}

.mobile-qr-paw__pad {
    left: 50%;
    bottom: 0;

    width: 17px;
    height: 13px;

    transform: translateX(-50%);

    border-radius: 55% 55% 48% 48%;
}


/* MOVING SCAN LINE */

.mobile-qr-scan-line {
    position: absolute;
    z-index: 5;

    left: 18px;
    right: 18px;
    top: 20px;

    height: 2px;

    border-radius: 999px;

    background: rgba(255,255,255,.96);

    box-shadow:
        0 0 8px rgba(255,255,255,.75),
        0 0 18px rgba(255,255,255,.35);

    animation: pawidQrScan 2.2s ease-in-out infinite;
}

@keyframes pawidQrScan {
    0% {
        transform: translateY(0);
        opacity: .35;
    }

    12% {
        opacity: 1;
    }

    88% {
        opacity: 1;
    }

    100% {
        transform: translateY(188px);
        opacity: .35;
    }
}


/* PawID Scan — accent color */

.mobile-qr-corner {
    border-color: #8b6cff !important;
    filter:
        drop-shadow(0 0 5px rgba(139,108,255,.55))
        drop-shadow(0 2px 7px rgba(0,0,0,.20));
}

.mobile-qr-scan-line {
    background: #9b82ff !important;

    box-shadow:
        0 0 6px rgba(155,130,255,.95),
        0 0 16px rgba(139,108,255,.70),
        0 0 28px rgba(139,108,255,.35) !important;
}


/* PawID Scan — Gold */

.mobile-qr-corner {
    border-color: #d4af37 !important;
    filter:
        drop-shadow(0 0 5px rgba(212,175,55,.60))
        drop-shadow(0 2px 7px rgba(0,0,0,.20));
}

.mobile-qr-scan-line {
    background: #e8c75a !important;

    box-shadow:
        0 0 6px rgba(232,199,90,.95),
        0 0 16px rgba(212,175,55,.70),
        0 0 28px rgba(212,175,55,.40) !important;
}


/* PawID Scan — refined gold scan beam */

.mobile-qr-scan-line {
    left: 24px !important;
    right: 24px !important;

    height: 1px !important;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212,175,55,.20) 10%,
        #d4af37 30%,
        #fff1a8 50%,
        #d4af37 70%,
        rgba(212,175,55,.20) 90%,
        transparent 100%
    ) !important;

    box-shadow:
        0 0 3px rgba(255,225,125,.85),
        0 0 9px rgba(212,175,55,.45) !important;

    border-radius: 100%;
}


/* PawID Scan — Gold Paw */

.mobile-qr-paw__toe,
.mobile-qr-paw__pad {
    background: #d4af37 !important;

    box-shadow:
        0 0 4px rgba(255,225,125,.70),
        0 0 10px rgba(212,175,55,.40) !important;
}


/* SERVICES PAGE — RESTORE VERTICAL SCROLL */

body:has(.mobile-services-page) {
    position: static !important;
    inset: auto !important;

    width: 100% !important;
    height: auto !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    overscroll-behavior-y: auto;
}

body:has(.mobile-services-page) .mobile-page-shell,
body:has(.mobile-services-page) .mobile-page-content {
    height: auto !important;
    min-height: 100svh !important;

    overflow: visible !important;
}

body:has(.mobile-services-page) .mobile-services-page {
    min-height: 100svh;
    overflow: visible;
}


/* PROFILE BUTTON WIDTH */
.mobile-header__profile {
    max-width: 120px;
}

@media (max-width: 360px) {
    .mobile-header__profile {
        max-width: 110px;
    }
}

/* MOBILE AUTH PROFILE — AVATAR ONLY */

.mobile-header__profile--avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;

    padding: 0 !important;

    overflow: hidden;

    border-radius: 50% !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid rgba(24,28,47,.10) !important;

    background: #ffffff !important;

    box-shadow:
        0 4px 12px rgba(24,28,47,.06),
        inset 0 1px 0 #fff !important;
}

.mobile-header__profile--avatar img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.mobile-header__profile--avatar svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: #343846;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   MOBILE HEADER — FINAL 2 ROW LAYOUT
   ========================================================= */

.mobile-header {
    display: grid !important;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        34px
        34px !important;

    grid-template-areas:
        "brand . gnt gnt"
        "services search qr profile" !important;

    align-items: center !important;

    column-gap: 7px !important;
    row-gap: 8px !important;
}

.mobile-header__brand {
    grid-area: brand !important;
}

.mobile-header__gnt {
    grid-area: gnt !important;
    justify-self: end !important;
}

.mobile-header__services {
    grid-area: services !important;
}

.mobile-header__search {
    grid-area: search !important;

    width: 100% !important;
    min-width: 0 !important;
}

.mobile-header__qr-button {
    grid-area: qr !important;

    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
}

.mobile-header__profile {
    grid-area: profile !important;

    justify-self: end !important;

    margin: 0 !important;
}


/* НЕ АВТОРИЗОВАН — PROFILE ICON */

.mobile-header__profile--icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;

    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 9px !important;

    border: 1px solid rgba(24,28,47,.10) !important;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fafbfc 100%
        ) !important;
}

.mobile-header__profile--icon svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: #343846;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* АВТОРИЗОВАН — AVATAR */

.mobile-header__profile--avatar {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;

    padding: 0 !important;

    overflow: hidden;

    border-radius: 50% !important;
}

.mobile-header__profile--avatar img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   MOBILE GNT — GRADIENT PREMIUM V4
   ========================================================= */

.mobile-header__gnt {
    position: relative !important;

    height: 34px !important;
    min-height: 34px !important;

    padding: 0 7px 0 38px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    overflow: visible !important;

    border: 1px solid rgba(214,160,37,.55) !important;
    border-radius: 18px !important;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(178,103,68,.72) 0%,
            rgba(178,103,68,.28) 25%,
            transparent 48%
        ),
        radial-gradient(
            circle at 55% 85%,
            rgba(115,79,181,.40) 0%,
            transparent 48%
        ),
        linear-gradient(
            100deg,
            #9e642f 0%,
            #c89372 26%,
            #f1d5ba 55%,
            #fff0bf 100%
        ) !important;

    box-shadow:
        0 5px 13px rgba(126,86,23,.16),
        0 2px 7px rgba(101,71,232,.10),
        inset 0 1px 0 rgba(255,255,255,.75) !important;
}


/* GOLD COIN */

.mobile-header__gnt::before {
    content: "◆" !important;

    position: absolute !important;

    left: 3px !important;
    top: 50% !important;

    width: 28px !important;
    height: 28px !important;

    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid rgba(255,236,157,.9) !important;
    border-radius: 50% !important;

    background:
        radial-gradient(
            circle at 35% 28%,
            #ffe99b 0%,
            #e7b634 28%,
            #bd7b0c 68%,
            #f1c84f 100%
        ) !important;

    box-shadow:
        inset 2px 2px 4px rgba(255,255,255,.65),
        inset -2px -3px 5px rgba(108,62,0,.24),
        0 3px 7px rgba(91,56,4,.22) !important;

    color: #fff6ca !important;

    font-size: 8px !important;

    text-shadow:
        0 1px 2px rgba(93,53,0,.30);
}


/* BALANCE */

.mobile-header__gnt-amount {
    position: relative !important;
    z-index: 2 !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: -.25px !important;

    color: #ffffff !important;

    text-shadow:
        0 1px 2px rgba(74,45,35,.20) !important;
}


/* GNT BADGE */

.mobile-header__gnt-currency {
    position: relative !important;
    z-index: 2 !important;

    padding: 4px 6px !important;

    border-radius: 9px !important;

    background:
        linear-gradient(
            180deg,
            #fff5cd 0%,
            #f2d98d 100%
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 2px 5px rgba(104,68,10,.08) !important;

    color: #8b5d13 !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .2px !important;
}


/* =========================================================
   MOBILE GNT — NEON CONTOUR V2
   ========================================================= */

.mobile-header__gnt {
    position: relative !important;

    height: 34px !important;
    min-height: 34px !important;

    padding: 0 8px 0 39px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    overflow: visible !important;

    border: 1px solid #20c8ff !important;
    border-radius: 18px !important;

    background:
        linear-gradient(
            180deg,
            #111827 0%,
            #080c14 100%
        ) !important;

    box-shadow:
        0 0 4px rgba(32,200,255,.65),
        0 0 10px rgba(32,200,255,.24),
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -1px 0 rgba(0,0,0,.65) !important;

    color: #fff !important;
}


/* MINI GNT CUBE */

.mobile-header__gnt::before {
    content: "GNT" !important;

    position: absolute !important;

    left: 4px !important;
    top: 50% !important;

    width: 27px !important;
    height: 27px !important;

    transform:
        translateY(-50%)
        rotate(-2deg) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 7px !important;

    background:
        linear-gradient(
            145deg,
            #ffd764 0%,
            #f3a900 42%,
            #b96c00 100%
        ) !important;

    border:
        1px solid rgba(255,226,126,.75) !important;

    box-shadow:
        inset 2px 2px 4px rgba(255,255,255,.40),
        inset -3px -3px 5px rgba(102,54,0,.28),
        0 0 6px rgba(255,170,0,.55),
        0 4px 7px rgba(0,0,0,.28) !important;

    color: #6f3d00 !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 6px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -.3px !important;

    text-shadow:
        0 1px 0 rgba(255,238,167,.65) !important;
}


/* BLUE BASE UNDER CUBE */

.mobile-header__gnt::after {
    content: "" !important;

    position: absolute !important;

    left: 6px !important;
    bottom: 1px !important;

    width: 23px !important;
    height: 4px !important;

    border-radius: 50% !important;

    background: #18c8ff !important;

    box-shadow:
        0 0 5px rgba(24,200,255,.95),
        0 0 9px rgba(24,200,255,.60) !important;

    opacity: .8 !important;
}


/* AMOUNT */

.mobile-header__gnt-amount {
    position: relative !important;
    z-index: 2 !important;

    color: #ffffff !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: -.2px !important;

    text-shadow:
        0 1px 2px rgba(0,0,0,.45) !important;
}


/* GNT BADGE */

.mobile-header__gnt-currency {
    position: relative !important;
    z-index: 2 !important;

    padding: 3px 6px !important;

    border: 1px solid rgba(222,158,31,.55) !important;
    border-radius: 8px !important;

    background:
        linear-gradient(
            180deg,
            rgba(48,37,16,.95) 0%,
            rgba(23,20,13,.95) 100%
        ) !important;

    color: #f6bd3c !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 800 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,213,100,.12),
        0 0 5px rgba(222,158,31,.10) !important;
}


/* TAP */

.mobile-header__gnt:active {
    transform: translateY(1px) !important;

    box-shadow:
        0 0 3px rgba(32,200,255,.65),
        0 0 7px rgba(32,200,255,.20),
        inset 0 1px 0 rgba(255,255,255,.06) !important;
}


/* =========================================================
   MOBILE GNT V2 — LARGER / CUBE AFTER AMOUNT
   ========================================================= */

.mobile-header__gnt {
    height: 40px !important;
    min-height: 40px !important;

    padding: 0 8px 0 13px !important;

    gap: 8px !important;

    border-radius: 21px !important;
}


/* REMOVE OLD CUBE BEFORE NUMBER */

.mobile-header__gnt::before {
    display: none !important;
}


/* REMOVE OLD BLUE BASE */

.mobile-header__gnt::after {
    display: none !important;
}


/* NUMBER */

.mobile-header__gnt-amount {
    font-size: 13px !important;
    font-weight: 750 !important;

    order: 1 !important;
}


/* GOLD 3D SQUARE AFTER NUMBER */

.mobile-header__gnt-currency::before {
    content: "G" !important;

    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin-right: 6px !important;

    border-radius: 7px !important;

    background:
        linear-gradient(
            145deg,
            #ffe06c 0%,
            #f6b600 38%,
            #d88700 72%,
            #a85e00 100%
        ) !important;

    border: 1px solid rgba(255,225,112,.8) !important;

    box-shadow:
        inset 2px 2px 4px rgba(255,255,255,.42),
        inset -3px -3px 5px rgba(100,52,0,.30),
        0 3px 6px rgba(0,0,0,.30),
        0 0 6px rgba(255,174,0,.30) !important;

    color: #744000 !important;

    font-size: 10px !important;
    font-weight: 900 !important;

    text-shadow:
        0 1px 0 rgba(255,241,174,.75) !important;
}


/* GNT + CUBE */

.mobile-header__gnt-currency {
    order: 2 !important;

    display: inline-flex !important;
    align-items: center !important;

    padding: 3px 7px 3px 3px !important;
}


/* HIDE GNT TEXT — KEEP GOLD SQUARE */

.mobile-header__gnt-currency {
    font-size: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mobile-header__gnt-currency::before {
    margin-right: 0 !important;
}


/* GOLD CUBE — GNT TEXT */

.mobile-header__gnt-currency::before {
    content: "GNT" !important;

    font-size: 7px !important;
    font-weight: 900 !important;
    letter-spacing: -0.4px !important;
}


/* MOBILE GNT — LIGHT TURQUOISE */

.mobile-header__gnt {
    background:
        linear-gradient(
            145deg,
            #dffffb 0%,
            #bff5ef 48%,
            #9ee9e3 100%
        ) !important;

    border: 1px solid rgba(69, 198, 191, .55) !important;

    box-shadow:
        0 4px 12px rgba(42, 181, 174, .16),
        inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.mobile-header__gnt-amount {
    color: #123f43 !important;
    text-shadow: none !important;
}


/* =========================================================
   MOBILE GNT — RESTORE ORIGINAL
   ========================================================= */

.mobile-header__gnt {
    position: static !important;

    height: 34px !important;
    min-height: 34px !important;

    padding: 0 9px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    overflow: hidden !important;

    border: 1px solid rgba(101,71,232,.15) !important;
    border-radius: 10px !important;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #faf9ff 100%
    ) !important;

    box-shadow:
        0 3px 10px rgba(24,28,47,.04),
        inset 0 1px 0 #ffffff !important;

    color: #171b30 !important;

    transform: none !important;
}

.mobile-header__gnt::before,
.mobile-header__gnt::after {
    content: none !important;
    display: none !important;
}

.mobile-header__gnt-amount {
    order: initial !important;

    color: #171b30 !important;

    font-family: "Manrope", Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;

    text-shadow: none !important;
}

.mobile-header__gnt-currency {
    order: initial !important;

    display: inline !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: #6f7280 !important;

    font-family: "Manrope", Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.mobile-header__gnt-currency::before {
    content: none !important;
    display: none !important;
}


/* =========================================================
   MOBILE HEADER — SCAN + PROFILE AFTER BALANCE
   ========================================================= */

.mobile-header {
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto
        34px
        34px !important;

    grid-template-areas:
        "brand . gnt qr profile"
        "services search search search search" !important;
}

.mobile-header__gnt {
    grid-area: gnt !important;
    justify-self: end !important;
}

.mobile-header__qr-button {
    grid-area: qr !important;
    justify-self: end !important;
}

.mobile-header__profile {
    grid-area: profile !important;
    justify-self: end !important;
}


/* =========================================================
   MOBILE COMMUNITY — BEFORE QR
   ========================================================= */

.mobile-header {
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto
        34px
        34px
        34px !important;

    grid-template-areas:
        "brand . gnt community qr profile"
        "services search search search search search" !important;
}

.mobile-header__community {
    grid-area: community !important;

    width: 34px;
    height: 34px;
    min-width: 34px;

    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(101,71,232,.12);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #faf9ff 100%
        );

    box-shadow:
        0 4px 11px rgba(50,57,90,.05),
        inset 0 1px 0 #fff;

    text-decoration: none;
}

.mobile-header__community svg {
    width: 23px;
    height: 23px;
    overflow: visible;
}

.mobile-header__community svg circle,
.mobile-header__community svg ellipse {
    fill: url(#pawid-community-gradient);
}

.mobile-header__community svg path {
    fill: none;
    stroke: url(#pawid-community-gradient);
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-header__community:active {
    transform: translateY(1px);
}


/* MOBILE HEADER — REMOVE BOTTOM DIVIDER */

.mobile-header {
    border-bottom: 0 !important;
}

.mobile-header::after {
    display: none !important;
    content: none !important;
}


/* MOBILE HEADER — KEEP BELOW SYSTEM STATUS BAR */

.mobile-header {
    padding-top: calc(env(safe-area-inset-top) + 10px) !important;
}



