.personal-app{max-width:680px;margin:auto;padding:32px 20px}.personal-app header{margin-bottom:28px}.personal-plans{grid-template-columns:minmax(0,1fr);gap:12px;margin:24px 0;display:grid}.personal-plan{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;min-height:88px;color:var(--text);text-align:left;font:inherit;cursor:pointer;transition:border-color var(--motion-press,.12s) var(--motion-ease,ease-out), background-color var(--motion-press,.12s) var(--motion-ease,ease-out);border-radius:18px;padding:18px;display:block}.personal-plan-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.personal-plan-title,.personal-plan-heading strong{font-size:1.125rem;font-weight:700}.personal-plan-description{color:var(--text-soft);margin-top:8px;font-size:.875rem;line-height:1.5;display:block}.personal-plan[aria-pressed=true]{border-color:var(--primary-light);box-shadow:inset 0 0 0 1px var(--primary-light);background:var(--surface-elevated)}.personal-plan:focus-visible,.personal-subscription-url:focus-visible{outline:2px solid var(--primary-light);outline-offset:3px}.personal-plan:not(:disabled):active{background:var(--surface-strong)}@media (hover:hover){.personal-plan:not(:disabled):hover{border-color:var(--primary-light);background:var(--surface-elevated)}}.personal-plan:disabled{cursor:default}.personal-plan:disabled:not([aria-pressed=true]){opacity:.65}.personal-plan--upcoming{border-style:dashed}.personal-plan-badge{background:var(--surface-strong);color:var(--text-soft);border-radius:8px;padding:4px 8px;font-size:.75rem}.personal-app .button{width:100%;margin:8px 0}.personal-actions{min-width:0;margin:20px 0}.personal-actions .button{min-height:48px}.personal-status{align-items:center;gap:10px;min-height:24px;line-height:1.5;display:flex}.personal-status--error{border:1px solid var(--border-strong);border-radius:12px;padding:12px}.personal-spinner{border:2px solid var(--border);border-top-color:var(--primary-light);border-radius:50%;flex:0 0 18px;width:18px;height:18px;animation:.8s linear infinite personal-spin}@keyframes personal-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.personal-spinner{animation:none}.personal-plan{transition:none}}.personal-subscription-result{border:1px solid var(--border-strong);background:var(--surface);border-radius:18px;min-width:0;padding:18px}.personal-subscription-result h2{margin:0 0 12px;font-size:1.125rem}.personal-subscription-url{background:var(--surface-strong);overflow-wrap:anywhere;white-space:pre-wrap;-webkit-user-select:text;user-select:text;border-radius:10px;max-width:100%;padding:12px;font-size:.875rem;line-height:1.6}.personal-subscription-warning{color:var(--text-soft);font-size:.875rem}.personal-app--embedded{max-width:none;padding:0}.subscription-link-card{min-width:0;max-width:100%;padding:16px}.subscription-link-card h2{margin:0 0 10px;font-size:16px}.subscription-link-card p{margin:6px 0;font-size:13px;line-height:1.4}.subscription-link-row{border:1px solid var(--border);background:var(--surface-strong);border-radius:12px;align-items:center;gap:8px;min-width:0;max-width:100%;padding:10px;display:flex}.subscription-link-preview{overflow-wrap:anywhere;word-break:normal;white-space:normal;flex:1 1 0;min-width:0;max-width:100%;font-size:14px}.subscription-link-copy{flex:0 0 44px;width:44px;min-height:44px;padding:10px}.subscription-link-copy svg{fill:none;stroke:currentColor;stroke-width:1.7px;width:20px;height:20px}.subscription-link-card p:empty{display:none}.rotation-progress{overflow-wrap:anywhere;grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}.rotation-progress>*{min-width:0;max-width:100%}.copy-feedback--success{background:var(--surface-elevated);width:fit-content;max-width:100%;color:var(--primary-light);border-radius:8px;padding:4px 10px;font-weight:700}.subscription-rotation-dialog{width:min(440px,100vw - 24px);max-height:calc(100dvh - 32px - var(--app-bottom-inset,0px));overscroll-behavior:contain;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);border-radius:24px;margin:auto;padding:24px;overflow:auto;box-shadow:0 24px 80px #0000007a}.subscription-rotation-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#030712c2}.subscription-rotation-dialog h2{margin:0 0 12px;font-size:1.25rem;line-height:1.3}.subscription-rotation-dialog p{color:var(--text-soft);margin:0;font-size:.875rem;line-height:1.6}.subscription-rotation-dialog__actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.subscription-rotation-dialog__actions .button{white-space:normal;flex:1 0 100px;min-height:44px;padding:12px;font-size:.875rem}.subscription-rotation-dialog__actions .subscription-rotation-dialog__confirm{border:1px solid var(--danger);background:var(--danger);color:var(--background);flex-basis:180px}@media (hover:hover){.subscription-rotation-dialog__confirm:hover{filter:brightness(1.1)}}.subscription-reset-action{min-width:0}.devices-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.devices-heading h2{margin:0}.devices-count{border:1px solid var(--border);background:var(--surface);border-radius:999px;flex:none;padding:5px 11px;font-size:14px;font-weight:700}.devices-count--full{background:var(--surface-elevated);border-color:var(--primary-light)}.devices-card .device-list{gap:8px;margin:14px 0;padding:0;list-style:none;display:grid}.device-item{border:1px solid var(--border);background:var(--surface);border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.device-details{overflow-wrap:anywhere;min-width:0}.device-details strong{font-size:14px;line-height:1.4}.devices-card .device-details p{color:var(--text-soft);margin:4px 0 0;font-size:12px;line-height:1.4}.devices-card .device-delete{white-space:nowrap;width:fit-content;min-width:44px;min-height:44px;margin:14px 0 0;padding:6px 8px;font-size:12px}.device-dialog{box-sizing:border-box;border:1px solid var(--border);background:var(--surface-strong);width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);border-radius:20px;margin:auto;padding:22px;overflow:auto;box-shadow:0 16px 60px #0008}.device-dialog::backdrop{background:#030817b8}.device-dialog h2{margin:0 0 14px;font-size:20px}.device-dialog-name{overflow-wrap:anywhere;font-size:15px;display:block}.device-dialog p{color:var(--text-soft);font-size:14px;line-height:1.5}.device-dialog-actions{gap:10px;margin-top:20px;display:flex}.device-dialog .button{flex:1;width:auto;min-width:0;min-height:44px;margin:0;padding:10px}.device-dialog button:focus-visible,.device-delete:focus-visible{outline:2px solid var(--primary-light);outline-offset:3px}.profile-hero .profile-telegram-id{color:var(--text-soft);overflow-wrap:anywhere;font-size:.75rem;font-weight:400}.profile-subscriptions .setting-row--subscription{align-items:start}.devices-card .device-delete{color:#ffc2c7;background:#b8455324;border:1px solid #e1798573}.devices-card .device-delete:hover{background:#b845533b}.plan-policy summary{cursor:pointer;align-content:center;min-height:44px;font-size:.85rem}.subscription-reset-action>p{margin:6px 0 0}.profile-identity{overflow-wrap:anywhere;gap:6px;min-width:0;display:grid}.profile-hero .profile-identity>*{margin:0}.profile-identity .overline{font-size:.65rem}.profile-hero .profile-identity h1{font-size:clamp(1.25rem,5vw,1.65rem);line-height:1.2}.profile-hero .profile-username{color:var(--text-soft);font-size:.85rem;line-height:1.45}.profile-hero .profile-identity .profile-telegram-id{color:var(--muted);font-size:.75rem;font-weight:400;line-height:1.45}.rotation-brief{color:#f3f1ff;background:#191b35;border:1px solid #625296;border-radius:16px;padding:12px 16px}.rotation-brief>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.rotation-brief [role=timer]{color:#f1eaff;font-variant-numeric:tabular-nums;background:#413564;border-radius:9px;padding:3px 9px;font-weight:700}.rotation-brief p{color:#d0cde0;margin:5px 0;font-size:.88rem}.rotation-brief button{color:#c7b8ff;font:inherit;cursor:pointer;background:0 0;border:0;padding:6px 0;font-weight:600}.rotation-brief h3{margin:0;font-size:1rem}.devices-card .device-item{align-items:center;gap:10px;padding:6px 10px;display:flex}.devices-card .device-delete{color:#ff949e;background:0 0;border:0;flex:0 0 44px;width:44px;margin:0;padding:0;font-size:24px}.devices-card .device-details{flex:1;min-width:0}.devices-card .device-delete{margin-inline-start:auto}.device-delete svg{fill:none;stroke:#ee9ba9;stroke-width:1.4px;stroke-linecap:round;background:#d2536d14;border:1px solid #ef809130;border-radius:8px;width:26px;height:26px}.profile-id-row{flex-wrap:wrap;align-items:center;gap:0 6px;display:flex}.profile-id-row p.profile-username{margin:0}.subscription-link-copy[data-copied=true]{color:#8ce6b4;background:#18392e;border-color:#4a9e79}.guide-symbol{color:#c6b8ff;border:1px solid;border-radius:50%;place-items:center;width:1.5em;height:1.5em;display:inline-grid}.guide-symbol svg{fill:none;stroke:currentColor;stroke-width:1.75px;width:1em;height:1em}.transient-notice.transient-notice--compact{background:#18283af5;border-color:#416659;border-radius:24px;grid-template-columns:24px minmax(0,1fr);gap:10px;width:max-content;max-width:calc(100% - 24px);padding:14px 20px;animation:2s both notice-lifetime}.transient-notice__icon{fill:none;stroke:#87e8ab;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.transient-notice--copy .transient-notice__icon{animation:.3s ease-out both notice-copy-icon}@keyframes notice-lifetime{0%{opacity:0;translate:0 -8px}12%,85%{opacity:1;translate:0}to{opacity:0;translate:0 -5px}}@keyframes notice-copy-icon{0%{opacity:0;rotate:-12deg;scale:.65}to{opacity:1;rotate:0deg;scale:1}}@media (prefers-reduced-motion:reduce){.transient-notice.transient-notice--compact,.transient-notice--copy .transient-notice__icon{animation:none}}.transient-notice.transient-notice--pending{background:#312718f7;border-color:#92703b}.transient-notice--pending strong{color:#ffd28a}.transient-notice--pending .transient-notice__icon{stroke:#ffd28a}
