@font-face { font-family: "Twemoji Country Flags"; src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2") format("woff2"); font-display: swap; unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F; } :root { --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-mono: "JetBrains Mono", "Fira Code", monospace; color-scheme: dark; --accent: #00fe7a; --bg: #03070b; --panel: #111820; --panel-2: #0b1118; --panel-3: #17212b; --border: rgba(255, 255, 255, 0.12); --border-strong: rgba(255, 255, 255, 0.2); --text: #f2f7f4; --muted: #a9b4b0; --dim: #68736f; --danger: #ff6b6b; --blue: #2d9cff; --radius: 8px; --screen-gutter: 18px; --safe-inline: max(env(safe-area-inset-left), env(safe-area-inset-right)); --nav-inline-gutter: max(var(--screen-gutter), var(--safe-inline)); --bottom-nav-height: 64px; --bottom-nav-offset: 10px; --bottom-nav-left: calc(max(0px, (100% - 440px) / 2) + var(--nav-inline-gutter)); --bottom-nav-width: min( calc(100% - (var(--nav-inline-gutter) * 2)), calc(440px - (var(--nav-inline-gutter) * 2)) ); font-family: var(--font-sans); } * { box-sizing: border-box; } html, body, #app { min-height: 100%; margin: 0; overflow-x: clip; } body { background: #02070b; color: var(--text); -webkit-font-smoothing: antialiased; letter-spacing: 0; } button, input { font: inherit; letter-spacing: 0; } button { cursor: pointer; } button:disabled { cursor: progress; opacity: 0.58; } a { color: inherit; } .app-shell { min-height: 100dvh; background: #02070b !important; } .phone-screen { position: relative; width: min(100%, 440px); min-height: 100dvh; margin: 0 auto; overflow-x: hidden; padding: max(16px, env(safe-area-inset-top)) max(var(--screen-gutter), var(--safe-inline)) max(18px, env(safe-area-inset-bottom)) max(var(--screen-gutter), var(--safe-inline)); } .content { display: grid; gap: 10px; animation: section-enter 0.22s ease-out both; } .content.with-nav { padding-bottom: 86px; } .loader { display: grid; min-height: 100dvh; place-items: center; align-content: center; gap: 14px; color: var(--muted); font-weight: 800; } .app-header, .preview-header, .screen-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; min-height: 48px; } .screen-head { grid-template-columns: 42px minmax(0, 1fr) 42px; margin-bottom: 6px; } .center-title { align-items: start; } .center-copy { min-width: 0; text-align: center; } .screen-head h1, .center-copy h1 { margin: 0; color: var(--text); font-size: 18px; line-height: 1.16; font-weight: 850; } .screen-head p, .center-copy p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.3; } .screen-head strong { color: var(--accent); } .brand-row { display: flex; min-width: 0; align-items: center; gap: 10px; } .brand-row strong { min-width: 0; overflow: hidden; color: var(--text); font-size: 15px; font-weight: 850; font-family: var(--font-mono); text-overflow: ellipsis; white-space: nowrap; } .accent-title .brand-row strong { color: var(--accent); } .brand-mark { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; color: var(--accent); font-size: 26px; line-height: 1; } .brand-mark img { width: 100%; height: 100%; object-fit: contain; } .brand-mark-lg { width: 66px; height: 66px; font-size: 46px; } .brand-mark-xl { width: 96px; height: 96px; font-size: 70px; } .card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)), var(--panel); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05); padding: 14px; } .card-active { border-color: color-mix(in srgb, var(--accent) 76%, var(--border)); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22), 0 0 0 1px color-mix(in srgb, var(--accent) 38%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.05); } .card-compact { padding: 11px; } .status-card { padding: 16px; } .status-card-inactive { border-color: color-mix(in srgb, var(--danger) 58%, var(--border)); background: linear-gradient(135deg, color-mix(in srgb, var(--danger) 14%, rgba(255, 255, 255, 0.03)), rgba(255, 255, 255, 0.012)), var(--panel); } .status-card-inactive .sub-status { color: var(--danger); } .sub-status-inactive { min-height: 0; justify-content: flex-start; } .sub-status { display: flex; align-items: center; gap: 12px; color: var(--accent); } .sub-status h2 { margin: 0; font-size: 15px; line-height: 1.16; } .sub-status p { margin: 5px 0 0; color: var(--text); font-size: 12px; opacity: 0.82; } .traffic-top, .total-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .traffic-top span, .card-label, .total-card span, .settings-row small, .method-card small { color: var(--muted); font-size: 12px; } .traffic-top strong { font-size: 12px; font-weight: 850; } .card-heading { margin: 0 0 10px; color: var(--text); font-size: 15px; font-weight: 850; line-height: 1.2; } .card-heading-accent { color: var(--accent); } .promo-heading { display: inline-flex; align-items: center; gap: 8px; } .progress { position: relative; height: 8px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.08); } .progress span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 72%, white)); box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 40%, transparent); } .traffic-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; color: var(--muted); font-size: 11px; } .traffic-percent { margin-top: 0; text-align: right; color: var(--muted); font-size: 11px; } .trial-card { padding: 13px 14px; } .trial-card-head { display: flex; align-items: center; gap: 11px; } .trial-card-head > svg { flex: 0 0 auto; color: var(--accent); } .trial-card-head span { display: grid; min-width: 0; gap: 3px; } .trial-card-head strong { font-size: 13px; line-height: 1.18; } .trial-card-head small { color: var(--muted); font-size: 11px; line-height: 1.28; } .devices-summary-card { display: grid; gap: 10px; } .devices-summary-head, .device-card-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; } .devices-summary-head > svg { color: var(--accent); } .devices-summary-head span, .device-card-head span { display: grid; min-width: 0; gap: 3px; } .devices-summary-head strong, .device-card-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; } .devices-summary-head small, .device-card-head small, .device-meta span, .device-meta small, .devices-empty-card small { color: var(--muted); font-size: 11px; line-height: 1.3; } .devices-progress { margin-top: 0; } .devices-list { display: grid; gap: 8px; } .device-card { display: grid; gap: 12px; } .device-card-head { grid-template-columns: 38px minmax(0, 1fr); } .device-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border)); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 9%, rgba(255, 255, 255, 0.03)); color: var(--accent); } .device-meta { display: grid; gap: 7px; } .device-meta div { display: grid; gap: 2px; } .device-meta strong, .device-meta code { overflow: hidden; color: var(--text); font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; } .device-meta code { font-family: var(--font-mono); } .device-user-agent small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .device-disconnect-button, .device-danger-button { border-color: color-mix(in srgb, var(--danger) 62%, var(--border)); color: #ffb8b8; } .devices-empty-card { display: grid; justify-items: center; gap: 7px; text-align: center; } .devices-empty-card svg { color: var(--accent); } .action-stack { display: grid; gap: 8px; } .btn { display: inline-flex; min-height: 44px; min-width: 0; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--radius); padding: 10px 14px; text-align: center; text-decoration: none; font-size: 14px; font-weight: 850; line-height: 1.1; transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease; } .btn:hover { transform: translateY(-1px); } .btn-primary { border-color: color-mix(in srgb, var(--accent) 72%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 94%, white), var(--accent)); color: #031009; box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 20%, transparent); } .btn-secondary, .btn-outline { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.045); color: var(--text); } .btn-outline { border-color: color-mix(in srgb, var(--accent) 60%, var(--border)); color: var(--accent); } .btn-ghost { background: transparent; color: var(--muted); } .btn-telegram { border-color: #2d9cff; background: linear-gradient(180deg, #2f9ff4, #1786df); color: white; } .btn-icon { border-color: var(--border); background: rgba(255, 255, 255, 0.04); color: var(--text); } .btn-square { width: 42px; min-width: 42px; height: 42px; padding: 0; } .btn-sm { min-height: 36px; padding: 8px 10px; font-size: 12px; } .wide { width: 100%; } .input { width: 100%; min-height: 44px; min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(4, 8, 11, 0.48); color: var(--text); outline: none; padding: 11px 12px; font-size: 13px; font-weight: 700; } .input:focus { border-color: color-mix(in srgb, var(--accent) 68%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); } .input.muted { display: flex; align-items: center; color: var(--dim); } .bottom-action { margin-top: 4px; } .period-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .period-grid-two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } .period-card, .method-card, .settings-row { border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045); } .period-card { position: relative; display: grid; min-height: 82px; place-items: center; gap: 4px; padding: 10px 8px; } .period-card strong { font-size: 12px; line-height: 1.12; text-align: center; overflow-wrap: anywhere; } .period-card span { font-size: 16px; font-weight: 850; } .period-card em { color: var(--muted); font-size: 10px; font-style: normal; font-weight: 750; } .period-card small { color: var(--muted); font-size: 10px; } .period-card svg { position: absolute; top: 8px; right: 8px; color: var(--accent); } .period-card.active, .method-card.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, rgba(255, 255, 255, 0.035)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.06); } .total-card { padding: 12px 14px; } .total-card strong { font-size: 22px; font-weight: 900; } .method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .method-card { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.035); padding: 10px; text-align: center; } .method-card svg { flex: 0 0 auto; } .method-card-main { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; } .method-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; } .method-card strong { font-size: 12px; } .settings-list { display: grid; gap: 8px; } .copy-row, .email-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; } .field-error-wrap { position: relative; min-width: 0; } .input.input-error { border-color: var(--danger); box-shadow: 0 0 0 1px color-mix(in srgb, var(--danger) 70%, transparent); } .field-error-icon { color: var(--danger); pointer-events: none; } .field-error-trigger { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); display: grid; width: 20px; height: 20px; place-items: center; border: 0; background: transparent; padding: 0; cursor: help; } .field-error-tooltip { z-index: 120; max-width: 280px; border: 1px solid color-mix(in srgb, var(--danger) 60%, var(--border)); border-radius: 8px; background: #2a1010; color: #ffd8d8; padding: 8px 10px; font-size: 12px; line-height: 1.3; transform-origin: top center; } .field-error-tooltip[data-state="delayed-open"], .field-error-tooltip[data-state="instant-open"] { animation: tooltip-in 0.16s ease-out both; } .field-error-tooltip[data-state="closed"] { animation: tooltip-out 0.12s ease-in both; } @keyframes tooltip-in { from { opacity: 0; transform: translateY(4px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes tooltip-out { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(2px) scale(0.98); } } .copy-row code { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(0, 0, 0, 0.2); color: var(--text); padding: 12px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } .referral-copy-row { align-items: stretch; } .referral-copy-button { height: 100%; } .bonus-card { display: grid; gap: 10px; } .bonus-card-head { display: flex; align-items: center; gap: 14px; } .bonus-card-head > svg { flex: 0 0 auto; color: var(--accent); } .bonus-card strong { display: block; color: var(--accent); font-size: 17px; } .bonus-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; } .referral-bonus-list { display: grid; gap: 8px; } .referral-bonus-intro { margin: 2px 2px 0; color: var(--muted); font-size: 12px; } .referral-bonus-row { display: grid; gap: 3px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); padding: 10px 11px; } .referral-bonus-row strong { font-size: 13px; } .referral-bonus-row small { color: var(--muted); font-size: 12px; } .settings-profile { display: flex; align-items: center; gap: 12px; } .settings-avatar { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, 0.03); } .settings-avatar img { width: 100%; height: 100%; object-fit: cover; } .settings-avatar svg { color: var(--accent); } .settings-profile-meta { display: grid; min-width: 0; gap: 3px; } .settings-profile-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; } .settings-profile-meta small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; } .settings-links-block { display: grid; gap: 8px; } .settings-divider { height: 1px; background: var(--border); } .settings-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; align-items: center; gap: 10px; min-height: 50px; padding: 9px 10px; text-align: left; } .settings-row > svg:first-child { color: var(--text); opacity: 0.9; } .settings-row > svg:last-child { color: var(--muted); } .settings-row span { display: grid; min-width: 0; gap: 2px; } .settings-row strong, .settings-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .settings-row strong { font-size: 12px; } .settings-row-linked { grid-template-columns: 28px minmax(0, 1fr); border-color: color-mix(in srgb, var(--accent) 38%, var(--border)); background: color-mix(in srgb, var(--accent) 11%, rgba(255, 255, 255, 0.03)); } .settings-row-linked > svg:first-child { color: var(--accent); } .settings-row-linked strong { color: var(--accent); } .emoji-flag { font-family: "Twemoji Country Flags", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif; font-variant-emoji: emoji; line-height: 1; } .settings-row-language { grid-template-columns: 28px minmax(0, 1fr); padding: 7px 10px; } .language-select-trigger { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 34px; border: 0; background: transparent; color: var(--text); text-align: left; padding: 0; } .language-select-trigger:focus-visible { outline: 0; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 6px; } .language-select-trigger > svg { color: var(--muted); } .language-select-copy { display: grid; min-width: 0; gap: 2px; } .language-select-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; } .language-select-current { display: inline-flex; align-items: center; gap: 7px; min-width: 0; } .language-select-current .emoji-flag { font-size: 14px; } .language-select-content { z-index: 60; width: min(210px, calc(100vw - 28px)); min-width: 170px; max-width: min(210px, calc(100vw - 28px)); border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--panel-3); box-shadow: 0 20px 34px rgba(0, 0, 0, 0.42); overflow: hidden; box-sizing: border-box; transform-origin: top right; animation: dropdown-enter 0.16s ease-out both; } .language-select-viewport { max-height: min(220px, 45dvh); padding: 6px; } .language-select-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; border-radius: 6px; padding: 7px 9px; color: var(--text); font-size: 13px; cursor: pointer; } .language-select-item[data-highlighted] { background: rgba(255, 255, 255, 0.06); } .language-select-item[data-selected] { color: var(--text) !important; } .language-select-item[data-selected] .language-select-item-check { color: var(--text); } .language-select-item-main { display: inline-flex !important; align-items: center; flex-wrap: nowrap !important; gap: 11px; min-width: 0; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; } .language-select-item-main > span { display: inline-block !important; } .language-select-item-main > span:last-child { margin-left: 6px; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; } .language-select-item-main .emoji-flag { font-size: 14px; } .language-select-item-check { opacity: 0; color: var(--accent); } .language-select-item[data-selected] .language-select-item-check { opacity: 1; } .settings-telegram-link-btn { justify-content: center; } .attention-wrap { position: relative; } .attention-dot { position: absolute; top: 0; right: 0; width: 13px; height: 13px; transform: translate(50%, -50%); border-radius: 999px; background: #ff4b4b; box-shadow: 0 0 0 0 rgba(255, 75, 75, 0.75); animation: attention-pulse 1.6s ease-out infinite; pointer-events: none; } .nav-attention-dot { top: 6px; right: 10px; transform: none; } .bottom-nav button.attention-wrap { padding-right: 6px; } @keyframes attention-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 75, 75, 0.75); } 70% { box-shadow: 0 0 0 8px rgba(255, 75, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 75, 75, 0); } } .bottom-nav { position: fixed !important; left: var(--bottom-nav-left); right: auto; width: var(--bottom-nav-width); max-width: none; transform: none; bottom: max(var(--bottom-nav-offset), env(safe-area-inset-bottom)); z-index: 80; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; min-height: 64px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(7, 12, 17, 0.88); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.36); backdrop-filter: blur(16px); } .bottom-nav-devices { grid-template-columns: repeat(4, 1fr); } .bottom-nav.static { position: fixed; } .bottom-nav button { display: grid; place-items: center; align-content: center; gap: 4px; border: 0; background: transparent; color: var(--muted); font-size: 10px; font-weight: 800; } .bottom-nav button.active { color: var(--accent); } .home-layout { display: grid; min-height: calc(100dvh - 34px); grid-template-rows: minmax(0, 1fr) auto; gap: 18px; padding-bottom: 86px; animation: section-enter 0.24s ease-out both; } .home-brand { align-self: center; padding-top: 0; } .home-bottom { display: grid; gap: 10px; align-self: end; } .auth-screen { display: grid; align-content: center; } .auth-card-wrap { display: grid; gap: 24px; } .login-brand { display: grid; justify-items: center; gap: 10px; text-align: center; } .login-brand.small { gap: 5px; } .login-brand-auth .brand-mark.brand-mark-xl { width: 116px; height: 116px; font-size: 84px; } .login-brand h1 { margin: 0; overflow-wrap: anywhere; color: var(--accent); font-size: 32px; font-weight: 900; font-family: var(--font-mono); line-height: 1.04; } .login-brand p { margin: 0; color: var(--muted); font-size: 13px; } .auth-card { display: grid; gap: 14px; } .auth-pane { display: grid; gap: 10px; } .auth-email-stack { display: grid; gap: 12px; } .auth-pane .field-label, .auth-card .field-label { color: var(--text); font-size: 13px; font-weight: 850; } .auth-bottom { text-align: center; color: var(--muted); font-size: 13px; } .telegram-login-button { justify-content: center; padding-left: 14px; padding-right: 14px; } .telegram-login-text { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; } .auth-legal { display: grid; justify-items: center; gap: 6px; } .auth-legal-intro, .auth-legal-links { color: var(--muted); font-size: 12px; text-align: center; } .auth-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; } .auth-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; } .auth-legal a:hover { color: var(--accent); } .auth-bottom strong { color: var(--accent); } .or-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; } .or-line span { height: 1px; background: var(--border); } .otp-wrap { display: grid; align-content: center; gap: 20px; min-height: calc(100dvh - 120px); } .otp-input-wrap { position: relative; display: block; } .otp-input-wrap input { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; background: transparent; color: transparent; caret-color: transparent; outline: none; } .otp-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; } .otp-slots span { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 74%, var(--border)); border-radius: var(--radius); background: rgba(255, 255, 255, 0.035); font-size: 25px; font-weight: 900; } .otp-slots span.filled { background: color-mix(in srgb, var(--accent) 9%, rgba(255, 255, 255, 0.04)); } .link-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; color: var(--muted); font-size: 13px; } .status-line { color: var(--accent); font-size: 12px; line-height: 1.4; } .auth-login-status { justify-self: center; text-align: center; width: 100%; } .status-line.error, .error { color: var(--danger); } .empty-card { grid-column: 1 / -1; color: var(--muted); font-size: 13px; } .dialog { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; overflow: hidden; padding: 16px var(--screen-gutter) calc(var(--bottom-nav-height) + var(--bottom-nav-offset) + 16px + env(safe-area-inset-bottom)); } .dialog-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2, 7, 11, 0.54); backdrop-filter: blur(10px); animation: fade-in 0.18s ease-out both; } .dialog-card { position: relative; z-index: 1; display: grid; width: min(100%, 420px); gap: 12px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--panel); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5); padding: 14px; transform-origin: center; animation: modal-enter 0.2s ease-out both; } .dialog-head { display: grid; grid-template-columns: minmax(0, 1fr) 42px; align-items: start; gap: 10px; } .dialog-head h2 { margin: 0; color: var(--text); font-size: 18px; line-height: 1.16; font-weight: 850; } .dialog-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.3; } .payment-dialog-card { max-height: 100%; overflow-y: auto; } .link-email-dialog-card { display: grid; grid-template-rows: auto minmax(0, 1fr); height: min(100%, 560px); max-height: 100%; overflow: hidden; } .link-email-dialog-card .dialog-head { position: relative; z-index: 2; } .link-email-dialog-card .payment-dialog-body { min-height: 0; } .link-email-code-layout { display: grid; min-height: 0; height: 100%; grid-template-rows: minmax(0, 1fr) auto; } .link-email-code-center { align-self: center; } .link-email-resend { align-self: end; } .payment-dialog-body { display: grid; gap: 10px; } .payment-divider { height: 1px; width: 100%; background: var(--border); } .payment-submit-button { border-color: color-mix(in srgb, var(--accent) 72%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 94%, white), var(--accent)); color: #031009; box-shadow: 0 16px 38px color-mix(in srgb, var(--accent) 28%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 26px color-mix(in srgb, var(--accent) 42%, transparent); } .toast { position: fixed; right: 16px; bottom: 16px; z-index: 60; max-width: min(420px, calc(100vw - 32px)); border: 1px solid color-mix(in srgb, var(--accent) 46%, var(--border)); border-radius: var(--radius); background: rgba(15, 21, 27, 0.92); box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42); color: var(--text); padding: 12px 14px; font-size: 13px; font-weight: 800; animation: toast-enter 0.22s ease-out both; } @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes section-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } @keyframes dropdown-enter { from { opacity: 0; transform: translateY(-6px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes modal-enter { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes toast-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .preview-board { display: grid; width: max-content; min-height: 100vh; grid-template-columns: repeat(3, auto); gap: 22px 38px; align-items: start; padding: 18px 74px 28px; background: linear-gradient(180deg, #06100c 0%, #02060b 32%, #010407 100%); } .preview-phone-wrap { display: grid; gap: 9px; } .preview-phone-wrap h2 { margin: 0; text-align: center; font-size: 18px; line-height: 1.1; } .preview-phone-wrap h2 span { color: var(--accent); } .preview-phone { position: relative; display: grid; width: 430px; min-height: 318px; align-content: start; gap: 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 18px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015)), #071017; box-shadow: 0 28px 80px rgba(0, 0, 0, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.08); padding: 15px 16px 16px; } .preview-phone-wrap.wide .preview-phone { width: 510px; } .preview-phone .bottom-nav { right: 16px; bottom: 8px; left: 16px; width: auto; min-height: 50px; box-shadow: none; } .preview-phone .bottom-nav span { font-size: 9px; } .preview-phone .card { padding: 12px; } .preview-phone .status-card { padding: 14px; } .preview-phone .btn { min-height: 38px; font-size: 12px; padding: 8px 10px; } .preview-phone .btn-square { width: 36px; min-width: 36px; height: 36px; padding: 0; } .preview-phone .period-card { min-height: 72px; } .preview-phone .method-card { min-height: 42px; } .preview-phone .settings-row { min-height: 39px; } .preview-phone .settings-avatar { width: 46px; height: 46px; } .preview-phone .settings-profile-meta strong { font-size: 12px; } .preview-phone .settings-profile-meta small { font-size: 10px; } .preview-phone .brand-mark { width: 34px; height: 34px; font-size: 23px; } .preview-phone .brand-mark-lg { width: 56px; height: 56px; font-size: 39px; } .preview-phone .brand-mark-xl { width: 78px; height: 78px; font-size: 56px; } .preview-phone .home-layout { min-height: 300px; gap: 12px; padding-bottom: 58px; } .preview-phone .home-brand { padding-top: 0; } .preview-phone .login-brand h1 { font-size: 24px; } .preview-modal { position: absolute; right: 18px; bottom: 18px; display: grid; width: 178px; gap: 8px; justify-items: center; border: 1px solid var(--border-strong); border-radius: 14px; background: rgba(20, 29, 35, 0.94); box-shadow: 0 18px 52px rgba(0, 0, 0, 0.46); padding: 16px; text-align: center; } .preview-modal svg { color: var(--accent); } .preview-modal strong { font-size: 13px; } .preview-modal p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.35; } @media (max-width: 460px) { :root { --screen-gutter: 10px; } .period-grid, .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .copy-row, .email-row { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { .content, .home-layout, .language-select-content, .dialog-backdrop, .dialog-card, .toast { animation: none !important; } } @supports not (color: color-mix(in srgb, #000 50%, #fff)) { .btn-primary { background: var(--accent); } }