:root{--bg:#e3e3e3;--surface:#fcfcfc;--surface-soft:#f4f4f4;--surface-darker:#efefef;--border:#e8e8e8;--border-strong:#cbcbcf;--text:#161616;--text-muted:#7c7c7c;--text-dim:#b8b8b8;--accent:#161616;--accent-on:#fcfcfc;--header:#26262c;--danger:#d7263d;--danger-soft:#fdecef;--danger-text:#b0202f;--radius-card:24px;--radius-input:20px;--radius-btn:16px;--radius-chip:100px;--shadow-card:0 1px 2px rgba(22,22,22,.04), 0 8px 24px rgba(22,22,22,.04);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Arial,sans-serif}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100%;margin:0;padding:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga", "kern";font-size:15px;line-height:1.45}button{font-family:inherit}a{color:inherit}img{max-width:100%;display:block}.app-shell{min-height:100vh;background:var(--bg);flex-direction:column;max-width:520px;min-height:100dvh;margin:0 auto;display:flex;position:relative}.app-content{padding:16px 16px calc(96px + env(safe-area-inset-bottom));padding-top:calc(16px + env(safe-area-inset-top));flex-direction:column;flex:1;gap:16px;display:flex}.bottom-nav{background:var(--surface);border-top:1px solid var(--border);width:100%;max-width:520px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:10;grid-template-columns:repeat(4,1fr);gap:4px;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav__btn{color:var(--text-muted);cursor:pointer;letter-spacing:-.005em;background:0 0;border:0;border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;font-size:11px;font-weight:600;text-decoration:none;display:flex}.bottom-nav__btn--active,.bottom-nav__btn--active .bottom-nav__icon{color:var(--text)}.bottom-nav__icon{width:24px;height:24px;color:var(--text-muted)}.card{background:var(--surface);border-radius:var(--radius-card);flex-direction:column;gap:12px;padding:20px;display:flex}.card--soft{background:var(--surface-soft)}.section-title{letter-spacing:-.01em;color:var(--text);margin:0;font-size:18px;font-weight:600}.section-subtitle{color:var(--text-muted);margin:0;font-size:13px}.label{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:600}.muted{color:var(--text-muted)}.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-btn);background:var(--accent);width:100%;color:var(--accent-on);letter-spacing:-.005em;cursor:pointer;border:0;justify-content:center;align-items:center;gap:8px;padding:16px 20px;font-size:16px;font-weight:600;line-height:1.05;text-decoration:none;transition:transform .12s,opacity .12s,background-color .12s;display:inline-flex}.btn:active{opacity:.92;transform:scale(.985)}.btn--light{background:var(--surface-soft);color:var(--text)}.btn--ghost{color:var(--text);border:1px solid var(--border-strong);background:0 0}.btn--danger-ghost{color:var(--danger-text);border:1px solid var(--danger-soft);background:0 0}.btn--sm{border-radius:12px;width:auto;padding:10px 14px;font-size:14px}.avatar{background:var(--surface-soft);border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.avatar__fallback{color:var(--text-muted);letter-spacing:-.01em;font-weight:700}.avatar--64{width:64px;height:64px}.avatar--64 .avatar__fallback{font-size:26px}.avatar--48{width:48px;height:48px}.avatar--48 .avatar__fallback{font-size:20px}.avatar--40{width:40px;height:40px}.avatar--40 .avatar__fallback{font-size:16px}.home-hero{flex-direction:column;gap:16px;display:flex}.home-hero__top{align-items:center;gap:14px;display:flex}.home-hero__greet{color:var(--text-muted);font-size:13px}.home-hero__name{letter-spacing:-.02em;word-break:break-word;margin:0;font-size:24px;font-weight:700;line-height:1.15}.home-hero__level{color:var(--text-muted);margin-top:2px;font-size:13px}.progress{flex-direction:column;gap:6px;display:flex}.progress__bar{background:var(--surface-soft);border-radius:8px;width:100%;height:8px;overflow:hidden}.progress__fill{background:var(--accent);border-radius:8px;height:100%;transition:width .3s}.progress__caption{color:var(--text-muted);justify-content:space-between;font-size:12px;display:flex}.kpi-row{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.kpi{background:var(--surface);border-radius:20px;flex-direction:column;align-items:flex-start;gap:4px;min-height:92px;padding:16px 12px;display:flex}.kpi__value{letter-spacing:-.02em;font-size:28px;font-weight:700;line-height:1.05}.kpi__label{color:var(--text-muted);font-size:12px;font-weight:500}.ref-card{background:var(--surface);border-radius:var(--radius-card);flex-direction:column;gap:12px;padding:20px;display:flex}.ref-card__url{background:var(--surface-soft);word-break:break-all;color:var(--text);border-radius:14px;padding:12px 14px;font-size:14px;font-weight:500}.offer-row{border-top:1px solid var(--border);color:var(--text);align-items:center;gap:14px;padding:12px 0;text-decoration:none;display:flex}.offer-row:first-child{border-top:0;padding-top:0}.offer-row:last-child{padding-bottom:0}.offer-card{background:var(--surface);border-radius:var(--radius-card);align-items:center;gap:14px;padding:16px;display:flex}.offer-icon{color:#fff;letter-spacing:-.01em;border-radius:16px;flex:0 0 56px;justify-content:center;align-items:center;width:56px;height:56px;font-size:22px;font-weight:700;display:flex}.offer-card__body{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.offer-card__name{letter-spacing:-.01em;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;font-weight:600;line-height:1.2;display:-webkit-box;overflow:hidden}.offer-card__meta{color:var(--text-muted);font-size:12px}.offer-card__cta{color:var(--text);background:var(--surface-soft);cursor:pointer;white-space:nowrap;border:0;border-radius:12px;flex:none;padding:8px 12px;font-size:13px;font-weight:600}.chev{color:var(--text-dim);margin-left:6px;font-size:18px}.offer-detail{flex-direction:column;gap:16px;display:flex}.offer-detail__hero{border-radius:var(--radius-card);color:#fff;flex-direction:column;justify-content:flex-end;gap:8px;min-height:160px;padding:32px 20px;display:flex;position:relative;overflow:hidden}.offer-detail__hero-name{letter-spacing:-.02em;font-size:24px;font-weight:700;line-height:1.15}.offer-detail__hero-meta{opacity:.85;font-size:13px;font-weight:500}.payout-tag{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:rgba(255,255,255,.18);border-radius:999px;align-self:flex-start;align-items:center;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.chip-row{scrollbar-width:none;gap:8px;margin:0 -16px;padding:0 16px;display:flex;overflow-x:auto}.chip-row::-webkit-scrollbar{display:none}.chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--surface);color:var(--text-muted);border-radius:var(--radius-chip);cursor:pointer;white-space:nowrap;letter-spacing:-.005em;border:0;padding:8px 14px;font-size:13px;font-weight:600}.chip--active{background:var(--accent);color:var(--accent-on)}.order-summary{grid-template-columns:repeat(3,1fr);gap:4px 0;display:grid}.order-summary__metric{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.order-summary__metric:not(:last-child){border-right:1px solid var(--border);padding-right:8px}.order-summary__metric:not(:first-child){padding-left:8px}.order-summary__value{letter-spacing:-.01em;font-size:18px;font-weight:700}.order-summary__label{color:var(--text-muted);font-size:11px}.order-row{background:var(--surface);border-radius:20px;flex-direction:column;gap:6px;padding:14px 16px;display:flex}.order-row__top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.order-row__date{color:var(--text-muted);font-size:12px}.order-row__name{font-size:14px;font-weight:600;line-height:1.25}.order-row__bottom{justify-content:space-between;align-items:center;gap:8px;margin-top:2px;display:flex}.order-row__amount{letter-spacing:-.01em;font-size:16px;font-weight:700}.status-badge{letter-spacing:.03em;border-radius:100px;align-items:center;padding:4px 10px;font-size:11px;font-weight:600;display:inline-flex}.status-badge--new{background:var(--surface-soft);color:var(--text-muted)}.status-badge--confirmed{background:var(--surface-darker);color:var(--text)}.status-badge--rejected{background:var(--danger-soft);color:var(--danger-text)}.status-badge--paid{background:var(--surface-darker);color:var(--text)}.status-badge--pending{background:var(--surface-soft);color:var(--text-muted)}.status-badge--unread{background:var(--accent);color:var(--accent-on)}.profile-header{align-items:center;gap:14px;display:flex}.profile-header__text{flex-direction:column;gap:2px;min-width:0;display:flex}.profile-header__name{letter-spacing:-.01em;margin:0;font-size:20px;font-weight:700}.profile-header__sub{color:var(--text-muted);font-size:13px}.profile-list{background:var(--surface);border-radius:var(--radius-card);flex-direction:column;padding:4px 0;display:flex}.profile-list__item{color:var(--text);cursor:pointer;text-align:left;border:0;border-top:1px solid var(--border);background:0 0;align-items:center;gap:12px;width:100%;padding:16px 20px;font-size:15px;font-weight:500;text-decoration:none;display:flex}.profile-list__item:first-child{border-top:0}.profile-list__label{flex:1}.profile-list__chev{color:var(--text-dim);font-size:18px}.profile-list__sub{color:var(--text-muted);font-size:12px}.alert{background:var(--danger-soft);color:var(--danger-text);border-radius:16px;align-items:flex-start;gap:12px;padding:14px 16px;font-size:13px;line-height:1.4;display:flex}.alert--neutral{background:var(--surface);color:var(--text);border:1px solid var(--border)}.alert__icon{flex:none;font-size:16px;line-height:1.4}.alert__body{flex:1}.alert__action{color:inherit;cursor:pointer;background:0 0;border:0;margin-top:6px;padding:0;font-size:13px;font-weight:600;text-decoration:underline;display:inline-flex}.push-header{align-items:center;gap:8px;padding:4px 0 8px;display:flex}.push-header__back{background:var(--surface);cursor:pointer;width:40px;height:40px;color:var(--text);border:0;border-radius:14px;flex:none;justify-content:center;align-items:center;font-size:18px;text-decoration:none;display:inline-flex}.push-header__title{letter-spacing:-.02em;flex:1;margin:0;font-size:22px;font-weight:700;line-height:1.2}.spinner{border:2px solid var(--border-strong);border-top-color:var(--text);border-radius:50%;width:22px;height:22px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.center-state{text-align:center;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:64px 20px;font-size:14px;display:flex}.empty-state{text-align:center;color:var(--text-muted);padding:40px 20px;font-size:14px}.toast{left:50%;bottom:calc(96px + env(safe-area-inset-bottom));background:var(--text);color:var(--accent-on);z-index:100;border-radius:14px;padding:12px 18px;font-size:14px;font-weight:600;animation:.18s ease-out toast-in;position:fixed;transform:translate(-50%)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}.news-item,.ticket-item{background:var(--surface);border-radius:20px;flex-direction:column;gap:6px;padding:16px;display:flex}.news-item__date,.ticket-item__date{color:var(--text-muted);font-size:12px}.news-item__title,.ticket-item__subject{letter-spacing:-.005em;font-size:15px;font-weight:600;line-height:1.25}.news-item__body,.ticket-item__msg{color:var(--text-muted);font-size:13px;line-height:1.45}.row-between{justify-content:space-between;align-items:center;gap:10px;display:flex}.requisites-card{background:var(--header);color:var(--accent-on);border-radius:var(--radius-card);flex-direction:column;gap:24px;min-height:160px;padding:24px;display:flex}.requisites-card__bank{letter-spacing:.08em;text-transform:uppercase;opacity:.7;font-size:12px}.requisites-card__number{letter-spacing:.06em;font-size:22px;font-weight:600}.requisites-card__holder{opacity:.8;text-transform:uppercase;letter-spacing:.08em;font-size:13px}
