:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--tg-bg-color: #ffffff;--tg-text-color: #000000;--tg-hint-color: #999999;--tg-link-color: #3390ec;--tg-button-color: #3390ec;--tg-button-text-color: #ffffff;--tg-secondary-bg-color: #f7f7f7;--page-padding: 1.25rem;--page-padding-mobile: .5rem}*{box-sizing:border-box}html,body{margin:0;padding:0;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--tg-bg-color, #ffffff);color:var(--tg-text-color, #000000);overflow-x:hidden}#root{min-height:100vh;width:100%}button{font-family:inherit}a{color:var(--tg-link-color, #3390ec);text-decoration:none}a:hover{text-decoration:underline}@media (max-width: 768px){html{font-size:16px}}body.twa{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}::-webkit-scrollbar{width:0px;background:transparent}*:focus{outline:none}button:focus{outline:2px solid var(--tg-button-color, #3390ec);outline-offset:1px}input:focus,textarea:focus{outline:none}.select-header:focus,.select-input-field:focus,.custom-select .select-header:focus,.custom-select .select-input-field:focus{outline:none!important;box-shadow:none!important;border-color:transparent!important}.validation-error{color:#ff3b30;font-size:12px!important;font-weight:400;text-align:center;margin-top:-10px;margin-bottom:-10px;animation:shake .5s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.auth-wrapper{--tg-theme-bg-color: #ffffff;--tg-theme-text-color: #000000;--tg-theme-hint-color: #999999;--tg-theme-link-color: #3390ec;display:flex;justify-content:center;align-items:center;min-height:100vh;background-color:var(--tg-theme-bg-color, #ffffff);color:var(--tg-theme-text-color, #000000)}.auth-message{text-align:center;padding:2rem;max-width:300px}.auth-message p{margin:1rem 0 0;font-size:16px;line-height:1.4;color:var(--tg-theme-hint-color, #999999)}.auth-icon{font-size:48px;margin-bottom:1rem}.app-header{padding:0px var(--page-padding) 8px var(--page-padding);position:sticky;top:0;background:transparent;z-index:100}.header-content{display:flex;align-items:center;justify-content:center;margin-bottom:8px;margin-top:0;position:relative;overflow:visible}.header-title-container{display:flex;align-items:center;justify-content:center;position:relative}.header-language-icon{cursor:pointer;transition:transform .1s ease,opacity .1s ease;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;overflow:visible;width:50px;height:28px;position:absolute;right:-8px}.header-language-icon:hover{opacity:.7}.header-language-icon:active{transform:scale(.9)}.page-title{position:absolute;left:50%;transform:translate(-50%);white-space:nowrap}.header-icon{width:16px;height:16px;margin-top:1px;position:absolute;left:calc(50% - 40px);visibility:hidden}@media (max-width: 480px){.app-header{padding:0px var(--page-padding-mobile) 16px var(--page-padding-mobile)}}.bottom-nav{position:fixed;bottom:2vh;left:0;right:0;margin:0 calc(var(--page-padding) + .5rem);display:flex;align-items:center;padding:.5rem 0;background:#f5f5f5f2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(0,0,0,.1);border-radius:1rem;box-shadow:0 .5rem 2rem #00000040;z-index:9999;transition:transform .3s ease,opacity .3s ease}.bottom-nav.hidden{transform:translateY(100%);opacity:0;pointer-events:none}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.125rem;padding:.25rem .5rem;cursor:pointer;transition:transform .1s ease,opacity .2s;min-height:2.75rem;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.nav-item:hover{opacity:.7}.nav-item:active{transform:scale(.9)}.nav-item:focus,.nav-item:focus-visible,.nav-item:focus-within{outline:none;background:#f5f5f5f2}.nav-item.active .nav-label{color:#999}.nav-icon{font-size:1.125rem;color:var(--tg-hint-color, #999999)}.nav-label{font-size:.625rem;color:var(--tg-hint-color, #999999);font-weight:500;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dynamic-phrase-fields{margin-bottom:8px}.section-title-left{font-size:14px!important;font-weight:500!important;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif!important;color:var(--tg-hint-color, #999999);margin:0 0 4px;text-align:left}.phrase-field-container{display:flex;align-items:center;gap:8px;margin-bottom:8px;width:calc(100% + 8px)}.phrase-field-container:last-child{margin-bottom:0}.empty-optional-controls{margin-bottom:8px;position:relative;height:56px;display:flex;align-items:center}.empty-optional-controls .inline-btn{position:absolute;right:8px}.phrase-input-wrapper{flex:1;position:relative}.phrase-input{width:100%;padding:16px;border:1px solid transparent;border-radius:12px;background:var(--tg-secondary-bg-color, #f5f5f5);font-size:16px!important;font-weight:400!important;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif!important;color:var(--tg-hint-color, #999999);outline:none;transition:border-color .2s,color .2s}.phrase-input.has-value{color:var(--tg-text-color, #000000);border-color:#0003}.phrase-input.has-error{border-color:#ff3b30}.phrase-input:focus{border-color:#0003;color:var(--tg-text-color, #000000);outline:none}.phrase-input::placeholder{color:var(--tg-hint-color, #999999);font-size:16px!important;font-weight:400!important;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif!important}.inline-actions{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:flex;gap:4px;align-items:center;background:var(--tg-secondary-bg-color, #f5f5f5);padding:2px;border-radius:8px}.inline-btn{width:24px;height:24px;border:none;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.inline-btn:active{transform:scale(.9)}.add-inline{background:var(--tg-button-color, #6c5ce7);color:#fff}.add-inline:hover{opacity:.8}.remove-inline{background:#ff3b30;color:#fff}.remove-inline:hover{opacity:.8}.phrase-input-wrapper:has(.inline-actions) .phrase-input{padding-right:60px}.red-asterisk-phrase{color:#ff3b30;position:absolute;font-size:16px;pointer-events:none;left:16px;top:50%;transform:translateY(-50%)}.custom-select{position:relative;width:100%;cursor:pointer}.select-header{width:100%;border:1px solid transparent;border-radius:12px;background:var(--tg-secondary-bg-color, #f5f5f5);outline:none!important;display:flex;align-items:center;justify-content:flex-start;min-height:56px;transition:border-color .2s;position:relative;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select-header:focus{outline:none!important;box-shadow:none!important;border-color:transparent!important}.select-input-field{flex:1;padding:16px;border:none;background:transparent;font-size:16px!important;font-weight:400!important;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif!important;color:var(--tg-text-color, #000000);outline:none!important;cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select-input-field:focus{outline:none!important;box-shadow:none!important;border:none!important}.select-input-field::placeholder{color:var(--tg-hint-color, #999999);font-size:16px!important;font-weight:400!important}.select-input-field:disabled{cursor:not-allowed;color:var(--tg-hint-color, #999999)}.custom-select.has-value .select-header{border-color:#0003}.custom-select.has-value .select-input-field{color:var(--tg-text-color, #000000)}.custom-select.has-error .select-header{border-color:#ff3b30}.red-asterisk{color:#ff3b30;position:absolute;font-size:16px;pointer-events:none}.dropdown-arrow{font-size:12px;color:var(--tg-hint-color, #999999);transform:rotate(0);transition:transform .2s;margin-right:16px;position:absolute;right:0}.custom-select.open .dropdown-arrow{transform:rotate(180deg)}.dropdown-list{position:absolute;top:100%;left:0;right:0;background:var(--tg-secondary-bg-color, #f5f5f5);border-radius:12px;margin-top:4px;box-shadow:0 4px 12px #00000026;z-index:999;overflow:hidden;max-height:200px;overflow-y:auto}.dropdown-item{padding:16px;font-size:16px!important;font-weight:400!important;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif!important;color:var(--tg-text-color, #000000);cursor:pointer;transition:background-color .2s;border-bottom:1px solid rgba(0,0,0,.05);text-align:left}.dropdown-item.disabled{color:var(--tg-hint-color, #999999);cursor:not-allowed;opacity:.5}.dropdown-item .item-title{line-height:1.2}.dropdown-item .item-reason{margin-top:4px;font-size:12px!important;color:var(--tg-hint-color, #999999);line-height:1.2}.custom-select.disabled{opacity:.5;cursor:not-allowed}.dropdown-item:last-child{border-bottom:none}.dropdown-item:hover{background:#0000000d}.dropdown-item:active{background:#0000001a}.video-modal-overlay{position:fixed;inset:0;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:16px;z-index:10000}.video-modal-container{position:relative;width:min(88vw,420px);aspect-ratio:9 / 16;max-height:88vh;background:#000;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px #00000059}.video-modal-close{position:absolute;top:12px;right:12px;border:none;border-radius:12px;background:#ffffffe6;color:#000;font-size:14px;font-weight:600;padding:8px 12px;cursor:pointer;z-index:10001}.video-player{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}.tap-capture{position:absolute;inset:0;z-index:2}.tap-capture.hidden{display:none}.advanced-search-page{min-height:100vh;background:var(--tg-bg-color, #ffffff);color:var(--tg-text-color, #000000);font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;display:flex;flex-direction:column;padding-bottom:6.25rem}.search-content{flex:1;padding:var(--page-padding)}.search-form{display:flex;flex-direction:column;gap:12px}.validation-error{white-space:pre-line}.form-field{width:100%;margin-right:16px}.help-link-bottom{color:var(--tg-button-color, #6c5ce7);text-decoration:none;font-size:14px;font-weight:500;text-align:center;display:inline-block;margin-top:16px;transition:transform .1s ease,opacity .1s ease;border-radius:4px;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.help-link-bottom:active{transform:scale(.95)}.search-form .btn-primary{width:calc(100% + 8px);margin-top:4px}@media (max-width: 480px){.search-content{padding:var(--page-padding-mobile)}.search-form{gap:8px}}.search-results-page{min-height:100vh;background:var(--tg-bg-color, #ffffff);color:var(--tg-text-color, #000000);font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;display:flex;flex-direction:column;padding-bottom:6.25rem}.results-content{flex:1;padding:10px 0;margin:0;display:flex;flex-direction:column;gap:16px}.action-buttons{display:flex;gap:12px;margin-bottom:8px}.results-info{display:flex;flex-direction:column;gap:12px;margin-bottom:0}.found-message{display:flex;justify-content:center;align-items:center;gap:4px;flex-wrap:wrap;margin-top:-16px;margin-bottom:8px;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:400}div .found-text{font-size:12px!important;color:#999!important}div .found-count{font-size:12px!important;color:#000!important;font-weight:500!important}.sort-section{display:flex;align-items:center;justify-content:flex-end;gap:0px;margin-top:-8px}div .sort-label{color:#999!important;font-weight:500!important;font-size:12px!important}.dropdown-container{position:relative;display:inline-block}.dropdown-trigger{background:transparent;border:none;color:var(--tg-text-color, #000000);cursor:pointer;font-size:16px;font-weight:500;padding:4px 30px 4px 8px;border-radius:6px;display:flex;align-items:center;gap:6px;transition:background-color .1s,transform .1s;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;position:relative}.dropdown-trigger:hover{background:var(--tg-secondary-bg-color, #f7f9fa)}.sort-section .dropdown-trigger:hover{background:transparent}.dropdown-trigger:active{transform:scale(.98)}.sort-section .dropdown-trigger:active{transform:none}.dropdown-trigger.open .dropdown-arrow{transform:rotate(180deg)}.dropdown-arrow{font-size:12px;color:var(--tg-hint-color, #999999);transition:transform .2s;position:absolute;right:6px;top:50%;transform:translateY(-50%)}button.days-trigger{background:var(--tg-secondary-bg-color, #f7f9fa);color:#000;border:1px solid var(--tg-hint-color, #e1e5e9);font-weight:500;padding:1px 4px!important;font-size:12px!important;min-width:24px;height:18px;display:flex;align-items:center;justify-content:center}button.sort-trigger{background:transparent;color:#000;border:none;font-weight:500;font-size:12px!important;padding:2px 20px 2px 6px!important;margin-left:-4px;height:auto;display:flex;align-items:center;justify-content:center;position:relative}button.sort-trigger .dropdown-arrow{position:absolute;right:-5px;font-size:8px;color:#000;transition:transform .1s}button.sort-trigger.open .dropdown-arrow{transform:rotate(180deg)}.search-results-page .sort-section .dropdown-item{color:#000!important}.search-results-page .sort-section .dropdown-item.selected{color:#fff!important;background:var(--tg-button-color, #6c5ce7)!important}.dropdown-menu{position:absolute;top:100%;left:0;background:var(--tg-bg-color, #ffffff);border:1px solid var(--tg-hint-color, #e1e5e9);border-radius:8px;box-shadow:0 4px 16px #0000001a;z-index:1000;min-width:80px;overflow:hidden;animation:dropdown-appear .1s ease-out}.sort-section .dropdown-menu{right:0;left:auto;min-width:100px}@keyframes dropdown-appear{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}div.dropdown-item{padding:12px 16px;cursor:pointer;transition:background-color .1s;font-size:14px!important;color:#000!important;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dropdown-item:hover{background:var(--tg-secondary-bg-color, #f7f9fa)}.dropdown-item.selected{background:var(--tg-button-color, #6c5ce7);color:#fff!important}.dropdown-item.selected:hover{background:var(--tg-button-color, #6c5ce7);opacity:.9}.messages-container{flex:1;display:flex;flex-direction:column;gap:16px;margin-top:-12px}.loading-state,.error-state,.no-results-state{display:flex;align-items:center;justify-content:center;padding:40px 20px;color:var(--tg-hint-color, #999999);font-size:14px;text-align:center}.error-state{color:#e74c3c}.message-card{background:#f5f5f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(0,0,0,.08);border-radius:1rem;box-shadow:0 .5rem 2rem #0000;padding:14px;transition:background-color .1s}.message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.message-header .message-text{font-weight:400;font-size:12px;color:var(--tg-hint-color, #999999)}.message-date{font-size:12px;color:var(--tg-hint-color, #999999);font-weight:400}.message-content{margin-bottom:14px}.message-text-content{font-size:14px;line-height:1.4;color:var(--tg-text-color, #000000);margin:0;text-align:left;word-wrap:break-word;overflow-wrap:break-word}.message-actions{display:flex;gap:6px;width:100%}.message-action-btn{flex:1;background:var(--tg-secondary-bg-color, #f7f9fa);border:1px solid var(--tg-hint-color, #e1e5e9);border-radius:6px;padding:5px 8px;font-size:11px;font-weight:500;color:var(--tg-text-color, #000000);cursor:pointer;transition:transform .1s;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none!important;box-shadow:none!important;white-space:nowrap;text-align:center}.message-action-btn:hover{background:var(--tg-secondary-bg-color, #f7f9fa);color:var(--tg-text-color, #000000);border-color:var(--tg-hint-color, #e1e5e9)}.message-action-btn:active{transform:scale(.98);outline:none!important;box-shadow:none!important;border:1px solid var(--tg-hint-color, #e1e5e9)!important;background:var(--tg-secondary-bg-color, #f7f9fa)!important;color:var(--tg-text-color, #000000)!important}.message-action-btn:focus{outline:none!important;box-shadow:none!important;border:1px solid var(--tg-hint-color, #e1e5e9)!important}.message-action-btn.disabled,.message-action-btn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.pagination-container{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:24px;margin-bottom:16px}.pagination{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:center}.pagination-btn{min-width:36px;height:36px;border:1px solid rgba(0,0,0,.1);border-radius:8px;background:var(--tg-secondary-bg-color, #f7f9fa);color:var(--tg-text-color, #000000);font-size:14px;font-weight:500;cursor:pointer;transition:all .1s;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none!important;box-shadow:none!important;display:flex;align-items:center;justify-content:center}.pagination-btn:hover{background:#0000000d}.pagination-btn:active{transform:scale(.95);outline:none!important;box-shadow:none!important}.pagination-btn:focus{outline:none!important;box-shadow:none!important}.pagination-btn.active{background:var(--tg-button-color, #6c5ce7);color:#fff;border-color:var(--tg-button-color, #6c5ce7)}.pagination-btn.active:hover{background:var(--tg-button-color, #6c5ce7);opacity:.9}.pagination-nav{font-size:18px;font-weight:400}.pagination-ellipsis{padding:0 4px;color:var(--tg-hint-color, #999999);font-size:14px;font-weight:500;display:flex;align-items:center;height:36px}.pagination-info{font-size:12px;color:var(--tg-hint-color, #999999);font-weight:400;text-align:center;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif}@media (max-width: 480px){.results-content{padding:8px 0;margin:0}.message-card{padding:12px}.message-actions{gap:4px}.message-action-btn{padding:4px 6px;font-size:10px}.found-message{font-size:11px}.message-text-content{font-size:14px}.pagination-container{margin-top:16px;margin-bottom:12px}.pagination-btn{min-width:32px;height:32px;font-size:12px}.pagination-nav{font-size:16px}.pagination-ellipsis{height:32px;font-size:12px}.pagination-info{font-size:11px}}.subscription-card{background:#f8f9fa;border-radius:12px;padding:16px;margin-bottom:12px;border:1px solid #e5e5ea;transition:all .2s ease;text-align:left}.subscription-card:hover{background:#f1f3f4}.card-content{display:flex;justify-content:space-between;align-items:stretch;gap:14px;min-height:80px}.subscription-info{flex:1;display:flex;flex-direction:column}.card-controls{display:flex;flex-direction:column;justify-content:space-between;align-items:center;min-width:40px;gap:12px}.subscription-error{margin-top:8px;color:#ff3b30;white-space:pre-line;font-size:12px}.card-controls .btn-icon{width:28px;height:28px}.subscription-name{font-size:16px;font-weight:500;color:#000;line-height:1.3;margin-bottom:8px}.toggle-switch{position:relative;width:40px;height:22px;background:#c7c7cc;border-radius:11px;border:none;cursor:pointer;transition:background-color .3s ease;flex-shrink:0}.toggle-switch.active{background:#3390ec}.toggle-slider{position:absolute;top:1.6px;left:2px;width:18px;height:18px;background:#fff;border-radius:50%;transition:transform .3s ease;box-shadow:0 1px 3px #0003}.toggle-switch.active .toggle-slider{transform:translate(18px)}.subscription-details{margin-bottom:0;text-align:left}.detail-row{display:flex;align-items:baseline;margin-bottom:6px;gap:6px;text-align:left}.detail-row:last-child{margin-bottom:0}.detail-label{font-size:14px;color:#8e8e93;font-weight:400;flex-shrink:0;min-width:80px;line-height:1.4}.detail-value{font-size:14px;color:#000;text-align:left!important;word-break:break-word;flex:1;margin-left:0;padding-left:0;line-height:1.4}.hint-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;border:1px solid #8e8e93;color:#8e8e93;font-size:10px;line-height:1;margin-right:6px;cursor:pointer;-webkit-user-select:none;user-select:none}@media (max-width: 480px){.subscription-card{padding:16px;margin-bottom:12px}.card-content{min-height:70px}.card-controls{min-width:36px}.subscription-name{font-size:15px;margin-bottom:6px}.detail-label,.detail-value{font-size:13px}.toggle-switch{width:36px;height:20px;border-radius:10px}.toggle-slider{width:16px;height:16px}.toggle-switch.active .toggle-slider{transform:translate(16px)}.card-controls .btn-icon{width:24px;height:24px}}.subscription-page{display:flex;flex-direction:column;min-height:100vh;background:#fff}.subscription-content{flex:1;padding:16px 16px 100px;overflow-y:auto;-webkit-overflow-scrolling:touch}.subscription-content .btn-primary{margin-bottom:8px}.sub-my-section{width:100%}.section-title-subscription{font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;font-weight:600;color:#999;margin:0 0 10px;line-height:1.3}@media (max-width: 480px){.subscription-content{padding:0 0 100px}.subscription-content .btn-primary{margin-bottom:20px}}.tariffs-page{display:flex;flex-direction:column;height:100vh}.tariffs-content{flex:1;overflow-y:auto;padding:8px 0 80px}.days-switcher{display:flex;gap:0;justify-content:center;margin:8px 0 12px;width:100%;box-sizing:border-box}.days-switcher .btn-base{flex:1;border-radius:0}.days-switcher .btn-base:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px}.days-switcher .btn-base:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.days-switcher .btn-outline.active{background:var(--tg-button-color, #5d7ce8);color:var(--tg-button-text-color, #fff)}.tabs-switcher{display:flex;justify-content:center;margin:8px 0 6px;width:100%;box-sizing:border-box}.tabs-switcher.segmented{position:relative}.tabs-switcher .segment{flex:1;border:1px solid #d0d0d4;background:#f9f9fb;color:#333;padding:8px 10px;font-size:13px;outline:none;appearance:none;-webkit-appearance:none}.tabs-switcher .segment:focus{outline:none;box-shadow:none}.tabs-switcher .segment:focus-visible{outline:none;box-shadow:none}.tabs-switcher .segment:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px;border-right:none}.tabs-switcher .segment:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.tabs-switcher .segment.active{background:var(--tg-button-color, #5d7ce8);color:var(--tg-button-text-color, #fff);border-color:var(--tg-button-color, #5d7ce8)}.tabs-switcher .segment:disabled{background:#f1f1f4;color:#b1b1b7;border-color:#e5e5ea;cursor:not-allowed;opacity:.8}.tariff-section{margin:8px 0}.card-actions{padding:0 16px}.empty-note{color:#888;font-size:13px;padding:6px 12px}.create-subscription-page{--tg-theme-bg-color: #ffffff;--tg-bg-color: #ffffff;--tg-theme-text-color: #000000;--tg-text-color: #000000;--tg-theme-hint-color: #999999;--tg-hint-color: #999999;--tg-theme-link-color: #3390ec;--tg-link-color: #3390ec;--tg-theme-button-color: #3390ec;--tg-button-color: #3390ec;--tg-theme-button-text-color: #ffffff;--tg-button-text-color: #ffffff;--tg-theme-secondary-bg-color: #f7f7f7;--tg-secondary-bg-color: #f7f7f7;display:flex;flex-direction:column;min-height:100vh;background-color:var(--tg-theme-bg-color, #ffffff);padding-top:50px;box-sizing:border-box}.create-subscription-content{flex:1;padding:var(--page-padding);padding-bottom:120px;box-sizing:border-box;overflow-y:auto}.create-subscription-form{display:flex;flex-direction:column;gap:16px}.create-subscription-form .detail-label,.create-subscription-form .section-title-left{font-size:14px!important;font-weight:500!important;color:var(--tg-hint-color, #999999);margin:0 0 4px!important;text-align:left!important}.send-to-header{display:flex;align-items:center;justify-content:space-between}.refresh-btn{display:inline-flex;align-items:center;gap:6px;background:transparent;border:none;color:var(--tg-button-color, #6c5ce7);font-size:13px;cursor:pointer;padding:4px 6px;border-radius:8px}.refresh-btn:hover{opacity:.8}.refresh-icon{width:14px;height:14px;display:inline-block}.create-subscription-form .search-phrase-wrapper{position:relative;display:flex;align-items:center}.create-subscription-form .search-input{width:100%;padding:16px;border:1px solid transparent;border-radius:12px;background:var(--tg-secondary-bg-color, #f5f5f5);color:var(--tg-text-color, #000000);font-size:16px;font-family:inherit;outline:none;box-sizing:border-box;transition:border-color .2s,color .2s}.create-subscription-form .search-input::placeholder{color:var(--tg-hint-color, #999999)}.create-subscription-form .search-input:focus{border-color:#0003;color:var(--tg-text-color, #000000);outline:none!important;box-shadow:none!important}.create-subscription-form .search-input.has-value{color:var(--tg-text-color, #000000);border-color:#0003}.create-subscription-form .search-input.has-error{border-color:#ff3b30;box-shadow:inset 0 0 0 .1px #ff3b30}.create-subscription-form .search-input.has-error:focus{border-color:#ff3b30;box-shadow:inset 0 0 0 .1px #ff3b30}.create-subscription-form .red-asterisk{position:absolute;color:#ff3b30;font-size:16px;font-weight:700;pointer-events:none}.create-subscription-form .btn-base{display:block;width:100%;padding:14px 16px;border-radius:12px;border:none;font-size:16px;font-weight:600;line-height:1;background:var(--tg-secondary-bg-color, #f1f1f1);color:var(--tg-text-color, #000000)}.create-subscription-form .btn-primary{background:var(--tg-button-color, #3390ec);color:#fff}.create-subscription-form .btn-group-vertical{display:flex;flex-direction:column;gap:8px}.create-subscription-form .btn-full{width:100%}.create-subscription-form .btn-danger{background:#ff3b30;color:#fff}.create-subscription-form .btn-danger:disabled{opacity:.6}@media (max-width: 480px){.create-subscription-content{padding:var(--page-padding-mobile);padding-bottom:100px}.create-subscription-form{gap:12px}.create-subscription-form .search-input{padding:16px;font-size:16px}}.App{min-height:100vh;width:100%;background:var(--tg-bg-color, #ffffff);color:var(--tg-text-color, #000000)}@media (max-width: 768px){.App{overflow-x:hidden}}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.btn-base{border:none;border-radius:12px;font-weight:500;cursor:pointer;transition:transform .1s ease;font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none!important;box-shadow:none!important;display:flex;align-items:center;justify-content:center}.btn-base:active{transform:scale(.98);outline:none!important;box-shadow:none!important}.btn-base:focus{outline:none!important;box-shadow:none!important}.btn-base:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:var(--tg-button-color, #5d7ce8);color:var(--tg-button-text-color, #ffffff);padding:18px;font-size:16px;height:48px;width:100%}.btn-primary:hover:not(:disabled){background:var(--tg-button-color, #4a6dd7)}.btn-action{background:var(--tg-button-color, #5d7ce8);color:var(--tg-button-text-color, #ffffff);padding:12px;font-size:12px;height:48px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-action:hover:not(:disabled){background:var(--tg-button-color, #4a6dd7)}.btn-icon{background:transparent;color:var(--tg-button-color, #5d7ce8);width:40px;height:40px;border-radius:8px;padding:0;border:none}.btn-icon:hover:not(:disabled){background:#5d7ce81a}.btn-icon:active{background:#5d7ce833;transform:scale(.95)}.btn-icon.danger{color:#ff3b30}.btn-icon.danger:hover:not(:disabled){background:#ff3b301a}.btn-icon.danger:active{background:#ff3b3033}.btn-action.ru-multiline{white-space:pre-line;line-height:1.2;text-align:center}@media (max-width: 480px){.btn-primary{padding:16px;font-size:15px;height:44px}.btn-action{font-size:11px;padding:10px}.btn-icon{width:36px;height:36px}}.header-title-base{font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;font-weight:500;color:#999;margin:0;line-height:1.2}.section-title-base{font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;font-size:18px;font-weight:600;color:#5d7ce8;margin:0 0 16px;line-height:1.3}.nav-link-title{font-family:SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;font-weight:500;color:#5d7ce8;text-decoration:none;display:inline-block;margin:0 0 4px;line-height:1.3;cursor:pointer}.nav-link-title.right{text-align:right;width:fit-content;margin-left:auto;display:block}.nav-link-title:hover{color:#4a6dd7}.nav-link-title:active{color:#3f5ec6}@media (max-width: 480px){.section-title-base{font-size:17px;margin-bottom:14px}.nav-link-title{font-size:15px;margin-bottom:1px}}.card{padding:2em}.read-the-docs{color:#888}
