:root{--bg: #f5f5f5;--bg-soft: #ececee;--card: #ffffff;--card-soft: #f8f8fa;--text: #1a1a1a;--muted: #8e8e93;--accent: #6f5bff;--accent-dark: #8d44ff;--accent-soft: rgba(111, 91, 255, .12);--border: rgba(0, 0, 0, .08);--shadow: 0 2px 12px rgba(0, 0, 0, .06);--safe-area-top: env(safe-area-inset-top, 0px);--safe-area-right: env(safe-area-inset-right, 0px);--safe-area-bottom: env(safe-area-inset-bottom, 0px);--safe-area-left: env(safe-area-inset-left, 0px)}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;min-height:100vh;min-height:100dvh;font-family:Manrope,Segoe UI,sans-serif;background:var(--bg);color:var(--text)}#root{width:100%;display:flex;justify-content:center;min-height:100vh;min-height:100dvh}.app{width:100%;max-width:393px;padding:calc(24px + var(--safe-area-top)) calc(16px + var(--safe-area-right)) calc(40px + var(--safe-area-bottom)) calc(16px + var(--safe-area-left))}.app-title{font-size:20px;font-weight:600;color:var(--text);margin-bottom:16px}.card{width:100%;background:var(--card);border-radius:22px;padding:18px;border:1px solid var(--border);box-shadow:var(--shadow)}.card--loading{display:grid;gap:14px;align-items:center}.product-header{display:flex;gap:14px;align-items:center;margin-bottom:18px}.product-logo{width:52px;height:52px;border-radius:18px;background:#f0f0f2;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid rgba(0,0,0,.06)}.product-logo__image{width:100%;height:100%;object-fit:cover;display:block}.product-info{display:flex;flex-direction:column;gap:4px}.product-title{font-size:16px;font-weight:600}.product-subtitle{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.product-meta{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.price-card{background:var(--card-soft);border-radius:18px;padding:16px;margin-bottom:16px;border:1px solid var(--border)}.price-card--compact{margin-bottom:12px}.price-card__value{font-size:22px;font-weight:600}.price-card__value span{font-size:13px;color:var(--muted);font-weight:500}.price-card__note{margin-top:8px;font-size:12px;color:var(--muted);line-height:1.4}.methods{background:var(--card-soft);border-radius:18px;padding:14px;margin-bottom:16px;border:1px solid var(--border)}.methods-list{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.methods-empty-card{background:var(--card-soft);border-radius:18px;padding:16px;margin-bottom:16px;border:1px solid var(--border)}.methods-empty-card__title{font-size:14px;font-weight:600;margin-bottom:8px}.methods-empty-card__note{font-size:12px;color:var(--muted);margin-bottom:12px;line-height:1.4}.section-title{font-size:13px;font-weight:600;margin-bottom:10px}.section-title--spaced{margin-top:16px}.method-item{display:flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--border);border-radius:16px;padding:10px 12px}.method-remove{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;border:none;background:#ff3b301a;color:#ff3b30;cursor:pointer;flex-shrink:0;transition:background .15s ease;padding:0}.method-remove:active{background:#ff3b3033}.method-label{display:flex;align-items:center;gap:10px;flex:1;cursor:pointer;position:relative}.method-radio{position:absolute;opacity:0;pointer-events:none}.bank-logo{width:44px;height:44px;border-radius:14px;object-fit:cover;background:#f0f0f2;border:1px solid rgba(0,0,0,.06);flex-shrink:0;display:flex;align-items:center;justify-content:center}.bank-logo--placeholder{color:#8e8e93;font-size:11px;font-weight:600;letter-spacing:.04em}.method-info{display:flex;flex-direction:column;gap:4px;flex:1}.bank-name{font-size:13px;font-weight:600}.bank-meta{font-size:11px;color:var(--muted)}.bank-meta.is-selected{color:#34c759}.method-check{width:18px;height:18px;border-radius:50%;border:1px solid rgba(0,0,0,.15);background:#00000008;margin-left:auto;position:relative}.method-label input:checked~.method-check{border-color:var(--accent);box-shadow:0 0 0 4px #6f5bff1f;background:radial-gradient(circle,var(--accent) 0 45%,rgba(0,0,0,0) 50%)}.method-remove{background:transparent;border:none;color:#00000059;font-size:1rem;width:28px;height:28px;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center}button{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fdfcff;font-size:15px;font-weight:600;padding:12px 16px;border-radius:14px;cursor:pointer;transition:transform .2s ease,filter .2s ease}button:hover{filter:brightness(1.05)}button:disabled{background:#e5e5ea;color:#aeaeb2;cursor:default}.secondary-button{background:#f2f2f7;border:1px solid rgba(0,0,0,.06);color:var(--text);font-size:13px;padding:10px 14px}.secondary-button--wide{margin-bottom:8px}.secondary-button--danger{background:#ff3b301f;color:#ff3b30}.secondary-button--danger:hover{background:#ff3b302e}.secondary-button:hover{background:#e8e8ed}.link-button{background:transparent;color:var(--muted);padding:6px 0 0;font-size:12px;text-decoration:underline;border-radius:0;width:auto;align-self:center}.button-loading{position:relative;pointer-events:none}.button-loading .button-text{opacity:0}.button-loading:after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:2px solid rgba(255,255,255,.3);border-top-color:#ffffffe6;animation:spin .8s linear infinite}.subscription-active .secondary-button--wide{margin-top:8px}.renew-state{font-size:12px;color:var(--muted);margin-bottom:16px;text-align:center}.payment-card{width:100%;background:var(--card-soft);border:1px solid var(--border);border-radius:16px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:var(--text);cursor:pointer;transition:background .15s ease}.payment-card:active{background:var(--bg-soft)}.payment-card__left{display:flex;align-items:center;gap:12px;min-width:0}.payment-card__info{display:flex;flex-direction:column;gap:4px;min-width:0}.payment-card__title{font-size:15px;font-weight:600;color:var(--text);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-card__meta{font-size:13px;font-weight:500;color:#34c759;line-height:1.2}.payment-card__chevron{color:#00000040;font-size:22px;flex-shrink:0}.next-charge{font-size:13px;color:var(--muted);margin-top:4px}.subscribe-redirect{text-align:center;font-size:15px;line-height:1.5;color:var(--muted);padding:24px 16px;background:var(--card-soft);border:1px solid var(--border);border-radius:16px}.subscribe-redirect strong{color:var(--text)}.pay-hint{text-align:center;font-size:12px;color:var(--muted);margin-top:8px}.autorenew-option{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:10px;color:var(--muted);cursor:pointer}.autorenew-option__checkbox{width:14px;height:14px;accent-color:#6f7689}.autorenew-option__label{font-size:11px;color:#8e8e93;line-height:1.3}.footer{margin-top:12px;font-size:11px;color:var(--muted);text-align:center;line-height:1.4}.popup{position:fixed;top:0;right:0;bottom:0;left:0;display:none;align-items:center;justify-content:center;background:#0000004d;z-index:10;padding:16px}.popup.visible{display:flex}.popup-card{background:#fff;border-radius:18px;padding:18px;max-width:340px;width:100%;text-align:center;box-shadow:0 8px 32px #0000001f;position:relative;display:flex;flex-direction:column;gap:8px}.payment-popup{max-width:400px;text-align:left}.popup-card strong{display:block;margin-bottom:2px;font-size:16px}.popup-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.popup-card--confirm strong,.popup-card--confirm p,.popup-card--status strong,.popup-card--status p{padding-inline:34px}.popup-close{position:absolute;top:10px;right:12px;width:28px;height:28px;border-radius:50%;background:#f2f2f7;border:none;color:var(--text);font-size:18px;padding:0;display:inline-flex;align-items:center;justify-content:center}.popup-actions{display:flex;gap:10px;justify-content:center;margin-top:18px}.popup-actions button{flex:1;width:auto}.popup-status-button{margin-top:16px}.skeleton{border-radius:12px;background:linear-gradient(90deg,#0000000a,#00000014,#0000000a);background-size:200% 100%;animation:shimmer 1.3s infinite}.skeleton-logo{width:54px;height:54px}.skeleton-title{height:18px;width:60%}.skeleton-line{height:12px;width:80%}.skeleton-block{height:120px;width:100%}.loader-text{font-size:12px;color:var(--muted);text-align:center}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@media (max-width: 360px){.app{padding:20px 12px 32px}.card{padding:16px}.price-card__value{font-size:20px}}
