/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/saira-condensed-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/saira-condensed-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/saira-condensed-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/saira-condensed-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/saira-condensed-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/saira-condensed-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/saira-condensed-900-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/saira-condensed-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/space-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/space-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/space-mono-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/space-mono-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================================
   UNIDENTIFIED VPN — Telegram Mini App
   Native-feeling Telegram webapp, brand-tinted. Light + dark theme.
   ============================================================ */

/* ---- Telegram theme tokens (dark = brand default) ---- */
:root, [data-theme="dark"] {
  --tg-bg:        #0F0F10;
  --tg-section:   #17171A;
  --tg-section-2: #1E1E22;
  --tg-secondary: #0A0A0B;
  --tg-header:    #131316;
  --tg-text:      #ECECEC;
  --tg-hint:      #8A8A92;
  --tg-subtitle:  #9A9AA2;
  --tg-separator: rgba(255,255,255,0.08);
  --tg-separator-2: rgba(255,255,255,0.13);
  --tg-link:      #B14BF4;
  --tg-accent:    #A020F0;
  --tg-accent-2:  #FF2DA2;
  --tg-accent-rgb: 160,32,240;
  --tg-button:    #A020F0;
  --tg-button-text:#0A0A0A;
  --tg-positive:  #2BE08B;
  --tg-warning:   #FFB020;
  --tg-destructive:#FF453A;
  --tg-skeleton:  rgba(255,255,255,0.07);
  --tg-skeleton-hi: rgba(255,255,255,0.13);
  --card-shadow: none;
  --on-accent: #0A0A0A;
}
[data-theme="light"] {
  --tg-bg:        #EFEFF3;
  --tg-section:   #FFFFFF;
  --tg-section-2: #F4F4F7;
  --tg-secondary: #E6E6EC;
  --tg-header:    #FFFFFF;
  --tg-text:      #101012;
  --tg-hint:      #8A8A90;
  --tg-subtitle:  #6D6D75;
  --tg-separator: rgba(0,0,0,0.08);
  --tg-separator-2: rgba(0,0,0,0.13);
  --tg-link:      #8A17D0;
  --tg-accent:    #8A17D0;
  --tg-accent-2:  #E0218A;
  --tg-accent-rgb: 138,23,208;
  --tg-button:    #8A17D0;
  --tg-button-text:#FFFFFF;
  --tg-positive:  #1FА060;
  --tg-positive:  #15A35E;
  --tg-warning:   #C8860B;
  --tg-destructive:#E5392C;
  --tg-skeleton:  rgba(0,0,0,0.06);
  --tg-skeleton-hi: rgba(0,0,0,0.11);
  --card-shadow: 0 1px 2px rgba(0,0,0,0.05);
  --on-accent: #FFFFFF;
}

:root {
  --f-disp: 'Saira Condensed', sans-serif;
  --f-mono: 'Space Mono', ui-monospace, monospace;
  --f-hand: 'IBM Plex Mono', monospace;
  --f-ui:   'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

/* ============================================================
   DEVICE FRAME (presentation wrapper)
   ============================================================ */
body {
  background: #070707;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-ui);
  overflow: hidden;
}
body::before {
  content:""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(160,32,240,0.10), transparent 60%);
}
.stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cap { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #7a7a82; display: flex; gap: 12px; align-items: center; }
.cap .d { width: 7px; height: 7px; border-radius: 50%; background: #FF2DA2; box-shadow: 0 0 8px #FF2DA2; }
.cap b { color: #A020F0; font-weight: 700; }

.device {
  position: relative;
  width: 390px; height: 844px;
  background: #000; border-radius: 52px;
  padding: 11px;
  box-shadow: 0 0 0 2px #1c1c1f, 0 30px 80px rgba(0,0,0,0.6);
  flex: none;
}
.device .screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 42px; overflow: hidden;
  background: var(--tg-bg);
  display: flex; flex-direction: column;
}
.device .island {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 118px; height: 33px; background: #000; border-radius: 20px; z-index: 60;
}

/* ============================================================
   TELEGRAM CHROME
   ============================================================ */
.tg-statusbar {
  height: 50px; flex: none; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 26px 7px; font-family: var(--f-ui); color: var(--tg-text);
  background: var(--tg-header);
}
.tg-statusbar .t { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.tg-statusbar .ind { display: flex; align-items: center; gap: 6px; }
.tg-statusbar .ind svg { height: 12px; display: block; fill: var(--tg-text); }

.tg-header {
  height: 52px; flex: none; display: grid; grid-template-columns: 60px 1fr 60px; align-items: center;
  background: var(--tg-header); border-bottom: 1px solid var(--tg-separator);
  position: relative; z-index: 20;
}
.tg-header .h-title { text-align: center; min-width: 0; }
.tg-header .h-title .tt { font-size: 16px; font-weight: 600; color: var(--tg-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-header .h-title .ss { font-size: 11px; color: var(--tg-positive); font-family: var(--f-mono); letter-spacing: 0.04em; }
.tg-header .back {
  display: flex; align-items: center; gap: 3px; background: none; border: none; cursor: pointer;
  color: var(--tg-link); font-size: 16px; font-family: var(--f-ui); padding: 0 0 0 14px; height: 100%;
}
.tg-header .back svg { width: 11px; height: 18px; stroke: var(--tg-link); }
.tg-header .back .bl { font-size: 16px; }
.tg-header .hclose { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-right: 16px; color: var(--tg-hint); }
.tg-header .hclose svg { width: 19px; height: 19px; stroke: var(--tg-text); opacity: 0.8; }
.fade-slide { animation: fadeSlide .22s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* content scroll */
.tg-content { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; background: var(--tg-bg); }
.tg-content::-webkit-scrollbar { width: 0; }
.pad { padding: 16px 16px 20px; }
.pad-b { padding-bottom: 24px; }

/* bottom area: tabbar + mainbutton */
.tg-bottom { flex: none; position: relative; z-index: 30; display: flex; flex-direction: column; }
.mainbtn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: auto; height: 52px; border: none; cursor: pointer;
  margin: 10px 12px 12px; border-radius: 14px;
  background: var(--tg-button); color: var(--tg-button-text);
  font-family: var(--f-ui); font-weight: 700; font-size: 15.5px; letter-spacing: 0.01em;
  transition: filter .15s, transform .04s;
  box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--tg-button) 60%, transparent);
}
.mainbtn:active { transform: scale(0.995); filter: brightness(1.05); }
.mainbtn.is-progress { color: transparent; position: relative; }
.mainbtn.is-progress::after { content:""; position: absolute; width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: var(--on-accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mainbtn[disabled] { opacity: 0.5; pointer-events: none; }
.mainbtn .mb-note { font-weight: 500; opacity: 0.75; font-size: 13px; }

.tabbar {
  display: flex; background: var(--tg-header); border-top: 1px solid var(--tg-separator);
  padding-bottom: 6px;
}
.tabbar button {
  flex: 1; background: none; border: none; cursor: pointer; padding: 9px 4px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--tg-hint); font-family: var(--f-ui); font-size: 10.5px; font-weight: 500;
  transition: color .15s;
}
.tabbar button.on { color: var(--tg-accent); }
.tabbar button .ti { width: 26px; height: 26px; }
.tabbar button .ti svg { width: 100%; height: 100%; }

/* ============================================================
   COMPONENTS
   ============================================================ */
.section-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tg-hint); margin: 4px 2px 10px; }

.card {
  background: var(--tg-section); border-radius: 16px; padding: 16px;
  box-shadow: var(--card-shadow); position: relative;
}
.card + .card, .stack > * + * { margin-top: 12px; }
.stack { display: flex; flex-direction: column; }
.stack.g16 > * + * { margin-top: 16px; }

/* brand corner ticks for hero/status cards */
.ticked::before, .ticked::after { content: none; }

/* status hero card */
.status-card { background: var(--tg-section); border-radius: 18px; padding: 18px; overflow: hidden; position: relative; }
.status-card .halo { position: absolute; inset: -40% -20% auto; height: 120%; pointer-events: none; opacity: .5; }
.status-card .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { font-family: var(--f-disp); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 0.9; color: var(--tg-text); letter-spacing: 0.01em; }
.plan-sub { font-family: var(--f-mono); font-size: 11px; color: var(--tg-hint); letter-spacing: 0.08em; margin-top: 4px; }
.state-pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 11px; border-radius: 100px; white-space: nowrap; }
.state-pill .dd { width: 7px; height: 7px; border-radius: 50%; }
.state-pill.ok  { color: var(--tg-positive); background: color-mix(in srgb, var(--tg-positive) 14%, transparent); }
.state-pill.ok .dd { background: var(--tg-positive); box-shadow: 0 0 7px var(--tg-positive); }
.state-pill.warn{ color: var(--tg-warning); background: color-mix(in srgb, var(--tg-warning) 16%, transparent); }
.state-pill.warn .dd { background: var(--tg-warning); }
.state-pill.bad { color: var(--tg-destructive); background: color-mix(in srgb, var(--tg-destructive) 15%, transparent); }
.state-pill.bad .dd { background: var(--tg-destructive); }
.state-pill.neutral { color: var(--tg-hint); background: var(--tg-section-2); }
.state-pill.neutral .dd { background: var(--tg-hint); }

.days-row { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.days-num { font-family: var(--f-disp); font-weight: 900; font-size: 64px; line-height: 0.8; color: var(--tg-text); }
.days-num.ok { color: var(--tg-text); }
.days-num.warn { color: var(--tg-warning); }
.days-num.bad { color: var(--tg-destructive); }
.days-cap { font-family: var(--f-mono); font-size: 12px; color: var(--tg-hint); letter-spacing: 0.04em; }
.days-cap b { color: var(--tg-text); font-weight: 700; display: block; font-size: 13px; }

.meter { height: 6px; border-radius: 100px; background: var(--tg-section-2); margin-top: 16px; overflow: hidden; position: relative; }
.meter > span { position: absolute; inset: 0 auto 0 0; border-radius: 100px; background: var(--tg-accent); }
.meter.warn > span { background: var(--tg-warning); }
.meter.bad > span { background: var(--tg-destructive); }
.meter-row { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--tg-hint); margin-top: 8px; }
.meter-row b { color: var(--tg-text); font-weight: 700; }

/* mini stats trio */
.trio { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.trio .t { background: var(--tg-section-2); border-radius: 12px; padding: 12px 10px; text-align: center; }
.trio .t .v { font-family: var(--f-disp); font-weight: 800; font-size: 22px; color: var(--tg-text); line-height: 1; }
.trio .t .l { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tg-hint); margin-top: 6px; }

/* key block */
.keyblock { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.qr-card { background: #fff; border-radius: 14px; padding: 14px; width: 180px; height: 180px; position: relative; }
.qr-card svg { width: 100%; height: 100%; display: block; }
.qr-card .cb { display: none; }
.key-line { display: flex; align-items: stretch; width: 100%; border: 1px solid var(--tg-separator-2); border-radius: 12px; overflow: hidden; background: var(--tg-section-2); }
.key-line .kv { flex: 1; min-width: 0; font-family: var(--f-hand); font-size: 12.5px; color: var(--tg-subtitle); padding: 13px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; }
.key-line .kb { flex: none; border: none; border-left: 1px solid var(--tg-separator-2); background: transparent; color: var(--tg-accent); font-family: var(--f-mono); font-weight: 700; font-size: 12px; padding: 0 16px; cursor: pointer; }
.key-line .kb.done { color: var(--tg-positive); }

/* styled key field */
.keyfield { width: 100%; background: var(--tg-section-2); border-radius: 14px; padding: 13px 14px; position: relative; overflow: hidden; }
.keyfield::before { content:""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(var(--tg-accent), var(--tg-accent-2)); }
.keyfield .kf-top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; padding-left: 8px; }
.keyfield .kf-top .lk { width: 13px; height: 13px; color: var(--tg-accent); flex: none; }
.keyfield .kf-top .lk svg { width: 100%; height: 100%; }
.keyfield .kf-top .lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tg-hint); }
.keyfield .kf-top .eye { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--tg-hint); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: center; gap: 5px; padding: 0; }
.keyfield .kf-top .eye:active { color: var(--tg-accent); }
.keyfield .kf-val { font-family: var(--f-hand); font-size: 13.5px; font-weight: 500; color: var(--tg-text); word-break: break-all; line-height: 1.5; padding-left: 8px; letter-spacing: 0.02em; }
.keyfield .kf-copy { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 11px; border: none; border-radius: 10px; background: var(--tg-accent); color: var(--on-accent); font-family: var(--f-ui); font-weight: 700; font-size: 13.5px; cursor: pointer; transition: filter .15s, transform .04s, background .2s; }
.keyfield .kf-copy:active { transform: scale(0.99); }
.keyfield .kf-copy.done { background: var(--tg-positive); }
.keyfield .kf-copy svg { width: 17px; height: 17px; }

/* generic list rows */
.rows { background: var(--tg-section); border-radius: 16px; overflow: hidden; }
.row { display: flex; align-items: center; gap: 13px; padding: 14px 16px; background: var(--tg-section); border: none; width: 100%; cursor: pointer; text-align: left; text-decoration: none; color: var(--tg-text); font-family: var(--f-ui); position: relative; }
.row + .row::before { content:""; position: absolute; top: 0; left: 50px; right: 0; height: 1px; background: var(--tg-separator); }
.row:active { background: var(--tg-section-2); }
.row .ri { width: 26px; height: 26px; flex: none; display: grid; place-items: center; color: var(--tg-accent); }
.row .ri svg { width: 23px; height: 23px; }
.row .rc { flex: 1; min-width: 0; }
.row .rc .rt { font-size: 15px; font-weight: 500; color: var(--tg-text); }
.row .rc .rd { font-size: 12.5px; color: var(--tg-hint); margin-top: 2px; }
.row .rv { font-size: 13px; color: var(--tg-hint); font-family: var(--f-mono); }
.chev { width: 8px; height: 14px; stroke: var(--tg-hint); flex: none; opacity: 0.6; }
.row .badge-n { background: var(--tg-accent); color: var(--on-accent); font-family: var(--f-mono); font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 100px; display: grid; place-items: center; padding: 0 6px; }

/* quick actions trio (dashboard) */
.qa { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.qa button { background: var(--tg-section); border: none; border-radius: 14px; padding: 14px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--tg-text); box-shadow: var(--card-shadow); }
.qa button:active { background: var(--tg-section-2); }
.qa button .qi { width: 24px; height: 24px; color: var(--tg-accent); }
.qa button .qi svg { width: 100%; height: 100%; }
.qa button .ql { font-size: 11.5px; font-weight: 500; }

/* buttons */
.btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 15px 18px; border-radius: 13px; border: none; cursor: pointer; font-family: var(--f-ui); font-weight: 700; font-size: 15px; transition: filter .15s, transform .04s; }
.btn2:active { transform: scale(0.99); }
.btn2.primary { background: var(--tg-button); color: var(--tg-button-text); }
.btn2.accent2 { background: var(--tg-accent-2); color: var(--on-accent); }
.btn2.ghost { background: var(--tg-section); color: var(--tg-text); box-shadow: var(--card-shadow); }
.btn2.outline { background: transparent; color: var(--tg-accent); border: 1.5px solid color-mix(in srgb, var(--tg-accent) 50%, transparent); }
.btn2.danger { background: transparent; color: var(--tg-destructive); border: 1.5px solid color-mix(in srgb, var(--tg-destructive) 45%, transparent); }
.btn-sm { padding: 9px 14px; font-size: 12.5px; font-weight: 600; border-radius: 10px; width: auto; }

/* headings */
.h-big { font-family: var(--f-disp); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 0.9; color: var(--tg-text); }
.h-mid { font-family: var(--f-disp); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 0.95; color: var(--tg-text); }
.muted { color: var(--tg-hint); font-size: 13.5px; line-height: 1.5; }
.muted-mono { color: var(--tg-hint); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.03em; }
.kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tg-accent); }

/* tariff plan cards */
.plan { background: var(--tg-section); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; cursor: pointer; border: 1.5px solid transparent; box-shadow: var(--card-shadow); position: relative; transition: border-color .15s, background .15s; }
.plan.sel { border-color: var(--tg-accent); background: color-mix(in srgb, var(--tg-accent) 8%, var(--tg-section)); }
.plan .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--tg-separator-2); flex: none; display: grid; place-items: center; transition: border-color .15s; }
.plan.sel .radio { border-color: var(--tg-accent); }
.plan.sel .radio::after { content:""; width: 11px; height: 11px; border-radius: 50%; background: var(--tg-accent); }
.plan .pinfo { flex: 1; min-width: 0; }
.plan .pdur { font-family: var(--f-disp); font-weight: 800; font-size: 21px; text-transform: uppercase; color: var(--tg-text); line-height: 1; white-space: nowrap; }
.plan .pper { display: inline-block; font-family: var(--f-mono); font-size: 10.5px; color: var(--tg-hint); margin-top: 6px; letter-spacing: 0.02em; }
.plan .pprice { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.plan .pprice .pp { display: flex; align-items: baseline; gap: 3px; line-height: 0.9; white-space: nowrap; }
.plan .pprice .pp .num { font-family: var(--f-disp); font-weight: 800; font-size: 24px; color: var(--tg-text); }
.plan .pprice .pp .cur { font-family: var(--f-mono); font-weight: 700; font-size: 12px; color: var(--tg-hint); }
.plan.sel .pprice .pp .num { color: var(--tg-accent); }
.plan .pprice .po { font-family: var(--f-mono); font-size: 10.5px; color: var(--tg-hint); text-decoration: line-through; white-space: nowrap; }
.plan .tagbest { position: absolute; top: -8px; right: 14px; background: var(--tg-accent-2); color: var(--on-accent); font-family: var(--f-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; }

/* toggle */
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--tg-section); border-radius: 14px; box-shadow: var(--card-shadow); }
.toggle-row .tinfo { flex: 1; min-width: 0; }
.toggle-row .tinfo .tt { font-size: 14.5px; font-weight: 500; color: var(--tg-text); }
.toggle-row .tinfo .td { font-size: 12px; color: var(--tg-hint); margin-top: 2px; }
.sw { width: 50px; height: 30px; border-radius: 100px; background: var(--tg-separator-2); position: relative; cursor: pointer; flex: none; transition: background .2s; }
.sw.on { background: var(--tg-positive); }
.sw::after { content:""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.sw.on::after { transform: translateX(20px); }

/* confirm summary */
.summary { background: var(--tg-section); border-radius: 16px; overflow: hidden; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; font-size: 14px; color: var(--tg-text); position: relative; }
.sumrow + .sumrow::before { content:""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--tg-separator); }
.sumrow .sl { color: var(--tg-hint); }
.sumrow.total { font-family: var(--f-disp); }
.sumrow.total .sl, .sumrow.total .sv { font-size: 20px; font-weight: 800; text-transform: uppercase; color: var(--tg-text); }

/* result screen */
.result { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 30px 24px; }
.result .ricon { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; }
.result .ricon.ok { background: color-mix(in srgb, var(--tg-positive) 16%, transparent); color: var(--tg-positive); }
.result .ricon.err { background: color-mix(in srgb, var(--tg-destructive) 16%, transparent); color: var(--tg-destructive); }
.result .ricon svg { width: 48px; height: 48px; }
.result .rtitle { font-family: var(--f-disp); font-weight: 800; font-size: 30px; text-transform: uppercase; color: var(--tg-text); line-height: 0.95; }
.result .rtext { color: var(--tg-hint); font-size: 14px; line-height: 1.5; max-width: 280px; }

/* empty state */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 26px; }
.empty .eicon { width: 72px; height: 72px; border-radius: 18px; background: var(--tg-section); display: grid; place-items: center; color: var(--tg-hint); box-shadow: var(--card-shadow); }
.empty .eicon svg { width: 36px; height: 36px; }
.empty .et { font-family: var(--f-disp); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--tg-text); }
.empty .ed { color: var(--tg-hint); font-size: 13.5px; line-height: 1.5; max-width: 260px; }

/* device row */
.devrow2 { display: flex; align-items: center; gap: 13px; padding: 14px 16px; }
.devrow2 .dg { width: 30px; height: 30px; flex: none; display: grid; place-items: center; color: var(--tg-text); }
.devrow2 .dg svg { width: 26px; height: 26px; }
.devrow2 .dc { flex: 1; min-width: 0; }
.devrow2 .dc .dn { font-size: 14.5px; font-weight: 500; color: var(--tg-text); display: flex; align-items: center; gap: 8px; }
.devrow2 .dc .dn .cur { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 0.1em; color: var(--tg-accent); border: 1px solid var(--tg-separator-2); padding: 2px 5px; border-radius: 4px; }
.devrow2 .dc .dm { font-size: 12px; color: var(--tg-hint); margin-top: 3px; font-family: var(--f-mono); }
.devrow2 .ds { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.devrow2 .ds.on { background: var(--tg-positive); box-shadow: 0 0 7px var(--tg-positive); }
.devrow2 .ds.off { background: var(--tg-hint); }

/* referral */
.ref-hero { text-align: center; padding: 20px 16px; }
.ref-num { font-family: var(--f-disp); font-weight: 900; font-size: 56px; color: var(--tg-accent); line-height: 0.8; }
.code-line { display: flex; align-items: stretch; border: 1.5px dashed var(--tg-separator-2); border-radius: 12px; overflow: hidden; }
.code-line .cv { flex: 1; font-family: var(--f-hand); font-size: 15px; font-weight: 600; color: var(--tg-text); padding: 14px; text-align: center; letter-spacing: 0.1em; }
.code-line .cb { border: none; border-left: 1.5px dashed var(--tg-separator-2); background: var(--tg-section-2); color: var(--tg-accent); font-family: var(--f-mono); font-weight: 700; font-size: 12px; padding: 0 16px; cursor: pointer; }

/* FAQ accordion */
.faq { background: var(--tg-section); border-radius: 14px; overflow: hidden; }
.faq .q { padding: 15px 16px; cursor: pointer; position: relative; }
.faq .q + .q::before { content:""; position: absolute; top:0; left:16px; right:16px; height:1px; background: var(--tg-separator); }
.faq .q .qh { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; color: var(--tg-text); }
.faq .q .qh .pm { color: var(--tg-hint); font-size: 18px; transition: transform .2s; }
.faq .q.open .qh .pm { transform: rotate(45deg); color: var(--tg-accent); }
.faq .q .qa { max-height: 0; overflow: hidden; transition: max-height .25s ease, margin .25s; color: var(--tg-hint); font-size: 13px; line-height: 1.55; }
.faq .q.open .qa { max-height: 200px; margin-top: 10px; }

/* segmented (language) */
.seg { display: inline-flex; background: var(--tg-section-2); border-radius: 10px; padding: 3px; }
.seg button { border: none; background: none; cursor: pointer; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; padding: 7px 16px; border-radius: 8px; color: var(--tg-hint); }
.seg button.on { background: var(--tg-accent); color: var(--on-accent); }

/* skeletons */
.sk { background: linear-gradient(100deg, var(--tg-skeleton) 30%, var(--tg-skeleton-hi) 50%, var(--tg-skeleton) 70%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; border-radius: 8px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk-line { height: 13px; }
.sk-card { height: 150px; border-radius: 18px; }

/* onboarding */
.onb { display: flex; flex-direction: column; height: 100%; }
.onb .onb-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: 30px 28px; }
.onb .onb-art { width: 150px; height: 150px; position: relative; display: grid; place-items: center; }
.onb .onb-art img { width: 120px; height: 120px; object-fit: contain; }
.onb .onb-art .halo2 { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(var(--tg-accent-rgb),0.3), transparent 65%); }
.onb .onb-title { font-family: var(--f-disp); font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 0.88; color: var(--tg-text); }
.onb .onb-title .em { color: var(--tg-accent); }
.onb .onb-text { color: var(--tg-hint); font-size: 15px; line-height: 1.5; max-width: 300px; }
.dots { display: flex; gap: 7px; justify-content: center; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--tg-separator-2); transition: width .2s, background .2s; }
.dots i.on { width: 22px; border-radius: 100px; background: var(--tg-accent); }

/* trial banner (new user) */
.trial { background: linear-gradient(135deg, color-mix(in srgb, var(--tg-accent) 22%, var(--tg-section)), var(--tg-section)); border-radius: 18px; padding: 20px; position: relative; overflow: hidden; }
.trial .tlabel { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tg-accent); }
.trial .tbig { font-family: var(--f-disp); font-weight: 900; font-size: 30px; text-transform: uppercase; color: var(--tg-text); line-height: 0.9; margin: 8px 0 6px; }
.trial .ttext { color: var(--tg-subtitle); font-size: 13.5px; line-height: 1.5; }

/* toast */
.toast { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(10px); background: rgba(20,20,22,0.95); color: #fff; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; padding: 11px 18px; border-radius: 100px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 80; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* haptic micro-pulse on press helper */
.hap:active { transform: scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  .sk, .mainbtn.is-progress::after { animation-duration: 0.001ms; animation-iteration-count: 1; }
}

/* scale-to-fit device on small screens */
@media (max-height: 900px), (max-width: 430px) {
  .cap { display: none; }
}
