@charset "UTF-8";*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input,textarea,.message-bubble{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--tg-theme-bg-color, #f8f9fc);color:var(--tg-theme-text-color, #1d1d1f);padding:0;margin:0;min-height:100vh;line-height:1.5;font-size:14px}body.tg-dark-theme{background:var(--tg-theme-bg-color);color:var(--tg-theme-text-color)}@media (prefers-color-scheme: dark){body{background:var(--tg-theme-bg-color);color:var(--tg-theme-text-color)}}#root{min-height:100vh;display:flex;flex-direction:column}.app{min-height:100vh;background:var(--tg-theme-bg-color, #ffffff);padding:20px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}body.tg-dark-theme .app{background:var(--tg-theme-bg-color, #0a0a0a)}@media (max-width: 768px){.app{padding:8px;align-items:stretch}}.app-wrapper{width:100%;max-width:480px;min-height:600px;background:var(--tg-theme-secondary-bg-color, #f1f1f1);border:1px solid var(--hairline);border-radius:20px;box-shadow:0 4px 16px #0000001a;display:flex;flex-direction:column;padding:0}body.tg-dark-theme .app-wrapper{background:var(--tg-theme-secondary-bg-color, #111111);border-color:var(--hairline);box-shadow:0 2px 8px #0003}@media (max-width: 768px){.app-wrapper{min-height:calc(100vh - 16px);border-radius:16px;max-width:none;box-shadow:0 2px 8px #0000001a;padding:0}body.tg-dark-theme .app-wrapper{box-shadow:0 1px 4px #00000026}}.app-loader{display:flex;align-items:center;justify-content:center;height:100vh;flex-direction:column;gap:20px;color:var(--tg-theme-text-color, #ffffff);text-align:center}.app-loader p{font-size:16px;opacity:.8}.spinner{width:32px;height:32px;border:3px solid rgba(255,255,255,.3);border-top:3px solid var(--tg-theme-button-color, #ffffff);border-radius:50%;animation:spin 1s linear infinite}.container{flex:1;padding:0;display:flex;flex-direction:column;max-width:100%;margin:0}.container:not(.chat-mode){padding:16px}.container.chat-mode{padding:8px}@media (max-width: 768px){.container.chat-mode{padding:6px}}.title{text-align:center;color:var(--tg-theme-text-color, #333333);margin-bottom:24px;margin-top:0;font-size:28px;font-weight:700;letter-spacing:-.8px;line-height:1.2}body.tg-dark-theme .title{color:var(--tg-theme-text-color, #ffffff)}.search-stats{font-size:12px;text-align:center;color:var(--tg-theme-hint-color, #666666);margin-bottom:20px;line-height:1.4;font-weight:500}body.tg-dark-theme .search-stats{color:var(--tg-theme-hint-color, #999999)}.info-box{padding:20px 24px;border-radius:16px;margin-bottom:20px;text-align:center;background:#fff9;transition:all .3s ease;color:var(--tg-theme-text-color, #333333);line-height:1.5}body.tg-dark-theme .info-box{background:#14141499;color:var(--tg-theme-text-color, #ffffff)}.info-box:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000014}body.tg-dark-theme .info-box:hover{box-shadow:0 2px 8px #00000047}.info-box.warning{background:#ffc1071a;color:#856404;border:1px solid rgba(255,193,7,.3)}body.tg-dark-theme .info-box.warning{background:#ffc10733;color:#ffd60a;border:1px solid rgba(255,193,7,.4)}.searching-indicator{padding:28px;background:#007aff1a;border:1px solid rgba(0,122,255,.2);border-radius:20px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--tg-theme-text-color, #333333);transition:all .3s ease;margin-bottom:20px}body.tg-dark-theme .searching-indicator{background:#007aff33;border:1px solid rgba(0,122,255,.3);color:var(--tg-theme-text-color, #ffffff)}.searching-indicator .spinner{width:24px;height:24px;border-width:2px;border-color:#007aff4d;border-top-color:#007aff}.cancel-search-button{padding:12px 24px;border-radius:12px;background:linear-gradient(135deg,#ff3b30,#ff6b6b);color:#fff;border:none;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #ff3b304d}.cancel-search-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #ff3b3066}.form-container{background:linear-gradient(145deg,#ffffff14,#ffffff0a);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:32px;margin:16px 0;border:1px solid var(--hairline);box-shadow:0 4px 16px #0000000f;transition:all .3s ease}body.tg-dark-theme .form-container{background:linear-gradient(145deg,#18181a38,#0e0e1024);border-color:var(--hairline);box-shadow:0 2px 8px #0000002e}.form-container:hover{transform:translateY(-1px);box-shadow:0 6px 20px #0000001f}body.tg-dark-theme .form-container:hover{box-shadow:0 3px 12px #00000040}.search-form{width:100%;max-width:100%;border:none;outline:none}.search-form-fieldset{border:none;padding:0;margin:0;background:none}.search-form-fieldset:disabled{opacity:.6;pointer-events:none}.form-group{margin-bottom:24px}.form-label{display:block;margin-bottom:16px;font-weight:700;color:var(--tg-theme-text-color, #1d1d1f);font-size:17px;letter-spacing:-.4px}body.tg-dark-theme .form-label{color:var(--tg-theme-text-color, #f2f2f7)}.form-input{width:100%;padding:16px 20px;border-radius:16px;font-size:16px;font-weight:500;background:#ffffffdb;color:var(--tg-theme-text-color, #1d1d1f);border:1px solid var(--hairline);outline:none;transition:all .3s ease;box-shadow:0 1px 2px #0000000a}body.tg-dark-theme .form-input{background:#1a1a1cc7;border-color:var(--hairline);box-shadow:0 1px 2px #0003}.form-input:focus{transform:translateY(-1px);box-shadow:0 6px 18px #00000024;background:#fffffffa;border-color:#007aff4d}body.tg-dark-theme .form-input:focus{background:#202024f5;box-shadow:0 6px 18px #0000005c;border-color:#0a84ff66}.form-input::placeholder{color:var(--tg-theme-hint-color, #999999);font-weight:400}.radio-group{display:flex;gap:16px;flex-wrap:wrap}.radio-item{display:flex;align-items:center;gap:12px;cursor:pointer;padding:16px 24px;border-radius:16px;background:#ffffffb8;transition:all .3s ease;min-width:140px;justify-content:center;font-weight:600;color:var(--tg-theme-text-color, #1d1d1f);border:1px solid var(--hairline);box-shadow:0 2px 8px #0000000f;position:relative}body.tg-dark-theme .radio-item{background:#18181acc;border-color:var(--hairline);box-shadow:0 1px 3px #0000002e}.radio-item input[type=radio]{display:none}.radio-item:hover:not(.selected){transform:translateY(-1px);background:#ffffffe6;box-shadow:0 2px 8px #00000014}body.tg-dark-theme .radio-item:hover:not(.selected){background:#1c1c1ee6;box-shadow:0 1px 4px #00000038}.radio-item.selected{background:var(--tg-theme-button-color, #007aff);color:var(--tg-theme-button-text-color, #ffffff);transform:translateY(-1px);box-shadow:0 2px 8px #0000002e;border-color:transparent}.radio-item.selected:before{content:"";position:absolute;left:6px;top:50%;transform:translateY(-50%);width:4px;height:calc(100% - 12px);border-radius:6px;background:var(--success-accent);box-shadow:0 0 0 1px #0000000f inset}body.tg-dark-theme .radio-item.selected{box-shadow:0 2px 6px #00000080;border-color:transparent}.radio-item.selected:hover{transform:translateY(-2px);box-shadow:0 3px 12px #00000029}body.tg-dark-theme .radio-item.selected:hover{background:#161616;color:var(--tg-theme-text-color, #f2f2f7);border-color:var(--hairline);box-shadow:0 3px 10px #000000db}@media (max-width: 768px){.radio-item{min-width:100%}}.checkbox-item{display:flex;align-items:center;gap:16px;cursor:pointer;padding:18px 24px;border-radius:16px;background:#ffffffb8;transition:all .3s ease;font-weight:600;color:var(--tg-theme-text-color, #1d1d1f);border:1px solid var(--hairline);box-shadow:0 2px 8px #0000000f;position:relative}body.tg-dark-theme .checkbox-item{background:#1e1e20d1;border-color:var(--hairline);box-shadow:0 2px 8px #0000003d}.checkbox-item:hover{transform:translateY(-2px);background:#ffffffe6;box-shadow:0 4px 16px #0000001a}body.tg-dark-theme .checkbox-item:hover{background:#28282ce6;box-shadow:0 4px 16px #00000047}.checkbox-item.checked{background:var(--tg-theme-button-color, #007aff);color:var(--tg-theme-button-text-color, #ffffff);transform:translateY(-2px);box-shadow:0 4px 16px #00000024,0 2px 8px #00000014;border-color:transparent}.checkbox-item.checked:before{content:"";position:absolute;left:6px;top:50%;transform:translateY(-50%);width:4px;height:calc(100% - 12px);border-radius:6px;background:var(--success-accent);box-shadow:0 0 0 1px #0000000f inset}body.tg-dark-theme .checkbox-item.checked{box-shadow:0 4px 16px #00000080;border-color:transparent}.checkbox-item.checked:hover{transform:translateY(-3px);box-shadow:0 6px 20px #00000024,0 2px 8px #00000014}body.tg-dark-theme .checkbox-item.checked:hover{background:#161616;color:var(--tg-theme-text-color, #f2f2f7);border-color:var(--hairline);box-shadow:0 3px 10px #000000db}.checkbox-item input[type=checkbox]{width:22px;height:22px;accent-color:#ffffff;border-radius:6px;border:none}.submit-button{width:100%;padding:18px 24px;border-radius:16px;font-size:18px;font-weight:700;letter-spacing:-.3px;margin-top:32px;border:none;cursor:pointer;transition:all .3s ease;background:linear-gradient(135deg,#007aff,#0056cc);color:#fff;box-shadow:0 4px 16px #0000001f,0 2px 8px #0000000f}.submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #00000024,0 2px 8px #00000014}.submit-button:active:not(:disabled){transform:translateY(0)}.submit-button:disabled{background:#8e8e934d;color:#8e8e93cc;cursor:not-allowed;transform:none;box-shadow:0 2px 8px #0000000f}.age-range{display:grid;grid-template-columns:1fr 1fr;gap:16px}.search-stats{background:linear-gradient(135deg,#007aff14,#5856d614);padding:24px;border-radius:20px;margin-bottom:24px;border:none;box-shadow:0 4px 16px #007aff1a,inset 0 1px #fff3}body.tg-dark-theme .search-stats{background:linear-gradient(135deg,#007aff1f,#5856d61f);box-shadow:0 4px 16px #007aff26,0 2px 8px #0003}.search-stats h3{margin:0 0 20px;font-size:19px;font-weight:800;color:var(--tg-theme-text-color, #1d1d1f);text-align:center;display:flex;align-items:center;justify-content:center;gap:10px}body.tg-dark-theme .search-stats h3{color:var(--tg-theme-text-color, #f2f2f7)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px}.stat-item{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 16px;border-radius:16px;background:#fffc;transition:all .3s ease;border:none;box-shadow:0 2px 8px #0000000f}body.tg-dark-theme .stat-item{background:#2c2c2ecc;box-shadow:0 2px 8px #00000026}.stat-item:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0000001a;background:#fffffff2}body.tg-dark-theme .stat-item:hover{background:#2c2c2ef2;box-shadow:0 4px 16px #00000040}.stat-item .stat-label{font-size:12px;color:#8e8e93cc;margin-bottom:8px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}body.tg-dark-theme .stat-item .stat-label{color:#8e8e9399}.stat-item .stat-value{font-size:24px;font-weight:900;color:#007aff;line-height:1}.searching-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center}.welcome-message{font-size:28px;font-weight:800;margin-bottom:24px;color:var(--tg-theme-text-color, #1d1d1f);letter-spacing:-.5px}body.tg-dark-theme .welcome-message{color:var(--tg-theme-text-color, #f2f2f7)}.search-controls{display:flex;flex-direction:column;gap:20px;margin-top:24px;width:100%;max-width:300px}.searching-indicator{display:flex;align-items:center;justify-content:center;gap:16px;padding:24px;background:linear-gradient(135deg,#007aff1a,#5856d61a);border-radius:16px;color:var(--tg-theme-text-color, #1d1d1f);font-weight:600;font-size:16px;border:none;box-shadow:0 4px 16px #007aff26,inset 0 1px #fff3}body.tg-dark-theme .searching-indicator{background:linear-gradient(135deg,#007aff26,#5856d626);color:var(--tg-theme-text-color, #f2f2f7);box-shadow:0 4px 16px #007aff33,0 2px 8px #0003}.searching-indicator .spinner{width:24px;height:24px;border:3px solid rgba(0,122,255,.2);border-top:3px solid #007aff;border-radius:50%;animation:spin 1s linear infinite}.cancel-search-button{padding:18px 24px;border-radius:16px;background:linear-gradient(135deg,#ff3b30,#d70015);color:#fff;border:none;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 16px #ff3b3066,0 2px 8px #0000001a}.cancel-search-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #ff3b3080,0 2px 8px #0000001a}.cancel-search-button:active{transform:translateY(0)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.compact-stats{font-size:11px;color:#8e8e93cc;margin-bottom:8px;font-weight:500;letter-spacing:.2px;text-align:right}body.tg-dark-theme .compact-stats{color:#8e8e93b3}.search-limits{font-size:12px;margin:12px 0;text-align:center}.search-limits .limits-unlimited{color:#34c759;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px}body.tg-dark-theme .search-limits .limits-unlimited{color:#30d158}.search-limits .limits-count{color:#3c3c43cc;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:6px}body.tg-dark-theme .search-limits .limits-count{color:#ebebf5b3}.search-limits .limits-count .limits-warning{color:#ff9500;font-size:12px;animation:limits-warning-pulse 2s ease-in-out infinite}@keyframes limits-warning-pulse{0%,to{opacity:1}50%{opacity:.6}}.topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.profile-container{display:flex;flex-direction:column;gap:12px}.profile-card{background:var(--tg-theme-secondary-bg-color, #f1f1f1);border:1px solid var(--hairline);border-radius:20px;padding:16px}.profile-header{display:flex;align-items:center;gap:12px}.profile-avatar{width:64px;height:64px;border-radius:50%;background-size:cover;background-position:center;background-color:#0000000f;display:flex;align-items:center;justify-content:center;font-size:24px}.profile-primary{display:flex;flex-direction:column;gap:2px}.profile-name{font-size:18px;font-weight:800;color:var(--tg-theme-text-color, #1d1d1f)}.profile-username{font-size:14px;opacity:.7}.profile-id{font-size:12px;opacity:.65}.profile-meta{margin-left:auto}.subscription-badge{display:inline-block;padding:6px 10px;border-radius:10px;background:linear-gradient(135deg,#ffd60a,#ff9f0a);color:#111;font-weight:800;font-size:12px}.subscription-badge.inactive{background:#8e8e9333;color:#0009}.rating-display{display:flex;align-items:center;gap:6px;margin-top:10px;font-weight:800}.rating-display .star{font-size:18px}.rating-display .value{font-size:20px}.rating-display .count{font-size:12px;opacity:.6}.profile-loading{margin-top:8px;display:flex;justify-content:center}.profile-error{margin-top:8px;color:var(--tg-theme-destructive-text-color, #ff3b30);font-size:13px}.profile-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.stat-card{position:relative;border:1px solid var(--hairline);border-radius:16px;background:linear-gradient(145deg,#ffffffe6,#ffffffbf);padding:14px 12px;box-shadow:0 2px 10px #0000000f;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}body.tg-dark-theme .stat-card{background:linear-gradient(145deg,#2c2c2ee6,#2c2c2ebf);box-shadow:0 2px 10px #0000003d}.stat-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000001f}.stat-label{font-size:12px;opacity:.7;margin-bottom:6px;text-transform:uppercase;letter-spacing:.4px}.stat-value{font-size:20px;font-weight:900}.profile-section{margin-top:8px}.section-title{font-size:14px;font-weight:800;margin-bottom:8px}.tabs{display:flex;gap:6px;margin-bottom:8px}.tab-btn{padding:8px 10px;border-radius:10px;border:1px solid var(--hairline);background:transparent;color:inherit;cursor:pointer}.tab-btn.active{background:var(--tg-theme-button-color, #007aff);color:var(--tg-theme-button-text-color, #fff);border-color:transparent}.placeholder-card{border:1px solid var(--hairline);border-radius:16px;background:#fff9;padding:14px;color:var(--tg-theme-text-color, #1d1d1f);opacity:.8}body.tg-dark-theme .placeholder-card{background:#14141499}.premium-cta{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--hairline);border-radius:20px;padding:12px 14px;background:linear-gradient(135deg,#007aff14,#5856d614);gap:12px;flex-wrap:wrap}body.tg-dark-theme .premium-cta{background:linear-gradient(135deg,#007aff1f,#5856d61f)}.cta-text{display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-width:0}.cta-title{font-size:16px;font-weight:800}.cta-sub{font-size:12px;opacity:.8;line-height:1.25;max-width:260px;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;white-space:normal}.form-premium-cta{margin:20px 0 32px;padding:16px 18px}.form-premium-cta .cta-text{max-width:none}.form-premium-cta .btn{white-space:nowrap}@media (max-width: 768px){.form-premium-cta{flex-direction:column;align-items:stretch;text-align:center}.form-premium-cta .cta-text{align-items:center}.form-premium-cta .btn{width:100%}}.profile-table-wrap{width:100%;overflow-x:auto}.profile-table{width:100%;border-collapse:collapse;font-size:13px}.referrals-table th:nth-child(1),.referrals-table td:nth-child(1){width:56px;max-width:56px;white-space:nowrap}.referrals-table th:nth-child(2),.referrals-table td:nth-child(2){width:140px;max-width:140px}.referrals-table th,.referrals-table td{font-size:12px}.profile-table thead tr{background:#0000000a}body.tg-dark-theme .profile-table thead tr{background:#ffffff0f}.profile-table th,.profile-table td{padding:10px 12px;border-bottom:1px solid var(--hairline);text-align:left;white-space:nowrap}.profile-table tbody tr:hover{background:#00000008}body.tg-dark-theme .profile-table tbody tr:hover{background:#ffffff0a}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px 16px;text-align:center;color:var(--tg-theme-text-color, #1d1d1f)}.empty-emoji{font-size:28px;line-height:1}.empty-title{font-size:16px;font-weight:800}.empty-sub{font-size:12px;opacity:.75}.empty-actions{display:flex;gap:8px;margin-top:4px;flex-wrap:wrap;justify-content:center}.pager{display:flex;align-items:center;justify-content:space-between;padding:10px 12px}.pager-info{font-size:12px;opacity:.7}.profile-mini{display:inline-flex;align-items:center;gap:8px;background:transparent;border:none;padding:0;cursor:pointer}.mini-avatar{width:24px;height:24px;border-radius:50%;background:#0000000f;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;font-size:12px}.mini-name{font-size:11.5px;font-weight:600;color:var(--tg-theme-text-color, #1d1d1f);max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.9}@media (max-width: 768px){.form-container{padding:24px;margin:8px 0}.radio-group{flex-direction:column}.radio-item{min-width:100%}.stats-grid{grid-template-columns:repeat(2,1fr);gap:12px}.stat-item{padding:16px 12px}.stat-item .stat-label{font-size:11px}.stat-item .stat-value{font-size:20px}.search-controls{gap:16px}.searching-indicator{padding:20px;font-size:15px}.searching-indicator .spinner{width:20px;height:20px}.cancel-search-button{padding:16px 20px;font-size:15px}.welcome-message{font-size:24px}.profile-card{padding:12px}.profile-table th,.profile-table td{padding:8px 10px;font-size:12px}.empty-state{padding:16px 12px}.empty-actions{flex-direction:column;gap:8px}.empty-actions .btn{width:100%}}.bottom-sheet-backdrop{position:fixed;inset:0;background:#00000059;display:flex;align-items:flex-end;justify-content:center;z-index:1100;opacity:1;transition:opacity .18s ease-out}.bottom-sheet{width:100%;max-width:560px;background:var(--tg-theme-secondary-bg-color, #fff);color:var(--tg-theme-text-color, #000);border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -8px 24px #0003;padding:12px 16px 16px;transform:translateY(0);animation:sheet-slide-up .18s ease-out;max-height:90vh;min-height:60vh;overflow-y:auto;padding-bottom:calc(16px + env(safe-area-inset-bottom));transition:transform .18s ease-in}@keyframes sheet-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.bottom-sheet-backdrop.closing{opacity:0}.bottom-sheet.closing{transform:translateY(100%)}body.no-scroll{position:fixed;width:100%;overflow:hidden}.premium-sheet-header{text-align:center}.premium-sheet-subtitle{margin-top:4px;font-size:13px;opacity:.8}.close-sheet-btn{position:absolute;right:12px;top:6px;width:32px;height:32px;border-radius:8px;border:1px solid var(--hairline);background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer;transition:transform .12s ease,background-color .12s ease}.close-sheet-btn:hover{transform:scale(1.05);background:#0000000a}body.tg-dark-theme .close-sheet-btn:hover{background:#ffffff0f}.drag-indicator{width:36px;height:4px;background:#0000002e;border-radius:4px;margin:4px auto 10px}body.tg-dark-theme .drag-indicator{background:#ffffff47}.premium-sheet-header h3{margin:0 0 8px;font-size:16px}.premium-benefits ul{margin:0;padding-left:18px;text-align:left;font-size:14px}.premium-benefits li{list-style:none;position:relative;padding-left:20px;margin:6px 0}.premium-benefits li:before{content:"✔";position:absolute;left:0;top:0;color:#2ecc71;font-size:12px}.currency-segmented{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.seg-btn{padding:10px 12px;border-radius:10px;border:1px solid var(--hairline);background:transparent;color:inherit;min-height:40px;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background-color .12s ease}.seg-btn.active{background:var(--tg-theme-button-color, #007aff);color:var(--tg-theme-button-text-color, #fff);border-color:transparent}.seg-btn:focus-visible{outline:2px solid rgba(0,122,255,.6);outline-offset:2px}.seg-btn:hover:not(.active){transform:translateY(-1px);box-shadow:0 4px 12px #00000014}.seg-btn:active{transform:translateY(0)}@media (max-width: 380px){.premium-cta{padding:10px 12px;gap:10px}.cta-title{font-size:15px}.cta-sub{max-width:220px;font-size:11.5px}.premium-cta .btn{padding:8px 10px;font-size:13px}}.plans-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.plan-card{position:relative;padding:12px 12px 14px;border-radius:12px;border:1px solid var(--hairline);background:#fffc;color:var(--tg-theme-text-color, #1d1d1f);text-align:left;cursor:pointer}body.tg-dark-theme .plan-card{background:#2c2c2ecc}.plan-card:hover{transform:translateY(-1px)}.plan-card.selected{background:linear-gradient(135deg,#007aff1f,#5856d61f);border-color:var(--tg-theme-button-color, #007aff);box-shadow:0 6px 20px #007aff2e}.plan-card.selected .plan-badge{background:linear-gradient(135deg,#ffd60a,#ff9f0a);color:#111}.plan-title{font-size:13px;opacity:.9}.price-row{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-top:4px}.price-old{font-size:13px;opacity:.6;text-decoration:line-through;position:relative;white-space:nowrap}.price-new{font-size:17px;font-weight:900;white-space:nowrap;letter-spacing:.2px;color:var(--tg-theme-text-color, #1d1d1f)}.plan-card.selected:after{content:"";position:absolute;inset:0;border-radius:12px;box-shadow:inset 0 0 0 2px #007aff59;pointer-events:none}.plan-badge{position:absolute;top:8px;right:8px;font-size:10px;font-weight:800;padding:4px 6px;border-radius:8px;background:linear-gradient(135deg,#ffd60a,#ff9f0a);color:#111}.referral-box{margin-top:12px;border:1px dashed var(--hairline);border-radius:12px;padding:12px;background:#00000005}body.tg-dark-theme .referral-box{background:#ffffff0a}.referral-link{font-size:12px;word-break:break-all;background:#0000000a;padding:8px;border-radius:8px}body.tg-dark-theme .referral-link{background:#ffffff0f}.referral-actions{display:flex;gap:8px;margin-top:10px;justify-content:flex-end}.referral-actions .btn{cursor:pointer}.bottom-sheet .btn{position:relative;overflow:hidden}.bottom-sheet .btn:after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at var(--rp-x, 50%) var(--rp-y, 50%),rgba(255,255,255,.5),rgba(255,255,255,0) 40%);opacity:0;transform:scale(.2);transition:opacity .5s ease,transform .5s ease;pointer-events:none}.bottom-sheet .btn:active:after{opacity:.6;transform:scale(2.5);transition:opacity .32s ease,transform .32s ease}.earn-highlight{margin-top:10px;border:1px solid var(--hairline);border-radius:12px;padding:12px;background:linear-gradient(135deg,#2ecc711f,#27ae601f)}body.tg-dark-theme .earn-highlight{background:linear-gradient(135deg,#2ecc712e,#27ae602e)}.earn-title{font-size:14px;font-weight:800}.earn-desc{font-size:12px;opacity:.85;margin-top:4px}.sheet-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;position:sticky;bottom:0;background:inherit;padding-top:10px}@media (max-width: 480px){.plans-grid{grid-template-columns:repeat(2,1fr)}.plan-card{padding:10px 10px 12px}.plan-title,.price-old{font-size:12px}.price-new{font-size:16px}.plan-badge{font-size:9px;padding:3px 6px}.seg-btn{font-size:13px;padding:9px 10px}.history-table th:nth-child(3),.history-table td:nth-child(3),.history-table th:nth-child(4),.history-table td:nth-child(4){display:none}}@media (max-width: 360px){.plans-grid{grid-template-columns:1fr}.price-row{flex-direction:column;align-items:flex-start;gap:2px}.price-old{font-size:11px}.price-new{font-size:14.5px}.currency-segmented{gap:6px}}.chat-container{display:flex;flex-direction:column;width:100%;height:100%;max-height:none;background:var(--tg-theme-bg-color, #ffffff);border:1px solid var(--hairline);border-radius:12px;padding:16px;margin:0;transition:all .3s ease;position:relative}body.tg-dark-theme .chat-container{background:var(--tg-theme-bg-color, #0d0d0d);border-color:var(--hairline)}@media (max-width: 768px){.chat-container{height:100%;border-radius:10px;border:none;margin:0;padding:12px}}.highlight-overlay{position:absolute;left:0;right:0;pointer-events:none;z-index:0;border-radius:16px;animation:highlight-fade 3.5s cubic-bezier(.25,.46,.45,.94) forwards}body.tg-dark-theme .highlight-overlay{animation:highlight-fade-dark 3.5s cubic-bezier(.25,.46,.45,.94) forwards}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;margin-bottom:16px;border-radius:16px;background:var(--tg-theme-secondary-bg-color, #f1f1f1);border:1px solid var(--hairline);flex-shrink:0}body.tg-dark-theme .chat-header{background:var(--tg-theme-secondary-bg-color, #161616);border-color:var(--hairline)}.chat-header-title{font-weight:600;font-size:16px;letter-spacing:-.3px;color:var(--tg-theme-text-color, #1d1d1f)}body.tg-dark-theme .chat-header-title{color:var(--tg-theme-text-color, #f2f2f7)}.chat-header-info{display:flex;align-items:center;gap:10px;cursor:pointer;transition:all .3s ease;padding:4px 6px;border-radius:12px}.chat-header-info:hover{background:#0000000d}body.tg-dark-theme .chat-header-info:hover{background:#ffffff0d}.chat-header-info:active{transform:scale(.98)}.avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#007aff1a,#5856d61a);display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;border:2px solid rgba(255,255,255,.2)}body.tg-dark-theme .avatar{background:linear-gradient(135deg,#007aff26,#5856d626);border:2px solid rgba(255,255,255,.1)}.avatar .avatar-image{width:100%;height:100%;border-radius:50%;object-fit:cover;border:none}.user-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.username{font-size:13px;font-weight:600;color:var(--tg-theme-text-color, #1d1d1f);letter-spacing:-.2px;line-height:1.2;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.tg-dark-theme .username{color:var(--tg-theme-text-color, #f2f2f7)}.username .premium-badge{margin-left:4px;font-size:12px;opacity:.8;animation:premium-glow 2s ease-in-out infinite alternate}@keyframes premium-glow{0%{filter:drop-shadow(0 0 2px rgba(255,215,0,.5))}to{filter:drop-shadow(0 0 4px rgba(255,215,0,.8))}}.user-details{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:500;line-height:1.2}.user-age{color:#8e8e93cc}body.tg-dark-theme .user-age{color:#8e8e93b3}.user-rating{display:flex;align-items:center;gap:2px;color:#ff9500;font-weight:600;padding:2px 6px;border-radius:8px;background:#ff95001a;font-size:9px}body.tg-dark-theme .user-rating{color:#ff9f0a;background:#ff9f0a26}.chat-header-actions{display:flex;align-items:center;gap:8px}.end-chat-button{padding:6px 12px;border-radius:12px;background:linear-gradient(135deg,#ff3b30,#d70015);color:#fff;border:none;font-size:11px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 1px 4px #ff3b3033}.end-chat-button:hover{transform:translateY(-1px);box-shadow:0 2px 8px #ff3b304d}.end-chat-button:active{transform:translateY(0)}.chat-menu-container{position:relative;display:flex;align-items:center}.chat-menu-button{width:32px;height:32px;border-radius:12px;background:#fffc;color:var(--tg-theme-text-color, #1d1d1f);border:none;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 1px 3px #0000000d;display:flex;align-items:center;justify-content:center;line-height:1}body.tg-dark-theme .chat-menu-button{background:#141414cc;color:var(--tg-theme-text-color, #f2f2f7);box-shadow:0 1px 3px #0000001a}.chat-menu-button:hover{transform:translateY(-1px);box-shadow:0 2px 6px #00000014;background:#fffffff2}body.tg-dark-theme .chat-menu-button:hover{background:#191919f2;box-shadow:0 2px 6px #00000026}.chat-menu-button:active{transform:translateY(0)}.chat-menu-dropdown{position:absolute;top:100%;right:0;z-index:1000;min-width:200px;background:var(--tg-theme-bg-color, #ffffff);border:1px solid var(--hairline);border-radius:16px;box-shadow:0 4px 12px #0000001a;margin-top:4px;padding:8px 0;animation:menu-fade-in .2s ease-out;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}body.tg-dark-theme .chat-menu-dropdown{background:var(--tg-theme-bg-color, #111111);border-color:var(--hairline);box-shadow:0 2px 8px #0003}@media (max-width: 768px){.chat-menu-dropdown{min-width:180px;box-shadow:0 2px 8px #0000001f}}.chat-menu-item{display:flex;align-items:center;gap:12px;padding:12px 16px;cursor:pointer;transition:all .3s ease;color:var(--tg-theme-text-color, #1d1d1f);font-size:14px;font-weight:500;line-height:1.2}body.tg-dark-theme .chat-menu-item{color:var(--tg-theme-text-color, #f2f2f7)}.chat-menu-item:hover,body.tg-dark-theme .chat-menu-item:hover{background:var(--hover-overlay)}.chat-menu-item:active{background:#0000001a;transform:scale(.98)}body.tg-dark-theme .chat-menu-item:active{background:#ffffff1a}.chat-menu-item.danger{color:#ff3b30}body.tg-dark-theme .chat-menu-item.danger{color:#ff453a}.chat-menu-item.danger:hover{background:#ff3b301a}body.tg-dark-theme .chat-menu-item.danger:hover{background:#ff453a1a}.chat-menu-item .menu-icon{font-size:16px;width:20px;text-align:center;flex-shrink:0}.chat-menu-divider{height:1px;background:var(--tg-theme-hint-color, rgba(0, 0, 0, .1));margin:8px 0}body.tg-dark-theme .chat-menu-divider{background:var(--tg-theme-hint-color, rgba(255, 255, 255, .1))}@keyframes menu-fade-in{0%{opacity:0;transform:translateY(-8px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.messages-area{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:0;background:transparent}.messages-area-placeholder{text-align:center;color:#8e8e9399;padding:16px;font-size:13px;font-weight:400;line-height:1.3}body.tg-dark-theme .messages-area-placeholder{color:#8e8e9380}.message-row{display:flex;align-items:flex-end;gap:8px}.message-row.from-me{flex-direction:row-reverse}.message-bubble{padding:8px 12px;max-width:75%;word-wrap:break-word;box-shadow:0 1px 2px #0000000d;position:relative;transition:transform .15s ease-out}.message-bubble .message-content{margin-bottom:2px;font-size:14px;line-height:1.3;font-weight:400}.message-bubble.my-message{align-self:flex-end;background:var(--tg-theme-button-color, #007aff);color:var(--tg-theme-button-text-color, #ffffff);border-radius:18px;border:1px solid transparent}.message-bubble.partner-message{align-self:flex-start;background:#ffffffdb;color:var(--tg-theme-text-color, #1d1d1f);border-radius:18px;border:1px solid var(--hairline);cursor:pointer}body.tg-dark-theme .message-bubble.partner-message{background:#161618eb;color:var(--tg-theme-text-color, #f2f2f7);border-color:var(--hairline)}.message-bubble.partner-message:hover{box-shadow:0 2px 6px #0000001a}body.tg-dark-theme .message-bubble.partner-message:hover{box-shadow:0 1px 4px #00000026}.message-bubble.swiping{transition:none!important;-webkit-user-select:none;user-select:none}.message-bubble.swiping.partner-message{background:#007aff1a}body.tg-dark-theme .message-bubble.swiping.partner-message{background:#0a84ff26}.message-content-wrapper{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end}.message-content{flex-shrink:1;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.message-time-spacer{flex-grow:1}.message-time{font-size:10px;opacity:.4;margin-top:2px;text-align:right;color:inherit;font-weight:400;letter-spacing:.2px;margin-left:8px;white-space:nowrap}.typing-indicator{display:flex;align-items:center;gap:4px}.typing-indicator span{width:8px;height:8px;border-radius:50%;background-color:currentColor;opacity:.6;animation:typing-blink 1.4s infinite both}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}.username.with-status{display:inline-flex;align-items:center;gap:6px}.status-dot{width:8px;height:8px;border-radius:50%;background-color:#2ecc71;box-shadow:0 0 0 2px #0000000f}.status-dot.offline{background-color:#e74c3c}.partner-offline-notice{margin:8px auto 12px;width:fit-content;max-width:90%;font-size:12px;line-height:1.4;color:#a94442;background:#e74c3c14;border:1px solid rgba(231,76,60,.25);border-radius:10px;padding:6px 10px;text-align:center}body.tg-dark-theme .partner-offline-notice{color:#f5b7b1;background:#e74c3c1f;border-color:#e74c3c59}.app-modal-backdrop{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.app-modal{width:calc(100% - 32px);max-width:480px;background:var(--tg-theme-secondary-bg-color, #fff);color:var(--tg-theme-text-color, #000);border-radius:12px;box-shadow:0 8px 24px #0003;padding:16px}.app-modal h3{margin:0 0 8px;font-size:16px}.app-modal .modal-section{margin-top:12px}.report-reasons{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.report-reason-item{display:flex;align-items:center;gap:8px;font-size:14px}.report-comment{width:100%;min-height:72px;max-height:140px;padding:8px;border:1px solid var(--hairline, rgba(0, 0, 0, .1));border-radius:8px;background:transparent;color:inherit;resize:vertical}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}.btn{padding:10px 14px;border-radius:10px;border:1px solid var(--hairline, rgba(0, 0, 0, .1));background:var(--tg-theme-secondary-bg-color, #fff);color:var(--tg-theme-text-color, #000);cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease,background-color .12s ease}.btn.primary{background:var(--tg-theme-button-color, #0088cc);color:var(--tg-theme-button-text-color, #fff);border-color:transparent}.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #0000001f}.btn:active:not(:disabled){transform:translateY(0);filter:brightness(.97)}.btn:disabled{opacity:.6}.message-input-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:6px;color:var(--tg-theme-hint-color, #999)}.char-count{opacity:.8}.char-count.warn{color:#e67e22}.char-count.limit{color:#e74c3c}.spam-hint{color:#e67e22}.chat-container .scroll-to-bottom{position:absolute;right:16px;bottom:96px;width:40px;height:40px;border-radius:50%;border:1px solid var(--hairline, rgba(0, 0, 0, .1));background:var(--tg-theme-secondary-bg-color, #fff);color:var(--tg-theme-text-color, #000);display:flex;align-items:center;justify-content:center;font-size:20px;z-index:100;box-shadow:0 4px 12px #00000026}body.tg-dark-theme .chat-container .scroll-to-bottom{background:var(--tg-theme-secondary-bg-color, #161616)}.rating-stars{display:flex;justify-content:center;gap:8px;margin:16px 0}.star-button{background:none;border:none;font-size:32px;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease;opacity:.3;filter:grayscale(100%)}.star-button:hover{transform:scale(1.1);opacity:.7}.star-button.filled{opacity:1;filter:grayscale(0%);transform:scale(1.05)}.star-button:active{transform:scale(.95)}body.tg-dark-theme .star-button{opacity:.4}body.tg-dark-theme .star-button:hover{opacity:.8}body.tg-dark-theme .star-button.filled{opacity:1}@keyframes typing-blink{0%{opacity:.2}20%{opacity:1}to{opacity:.2}}@keyframes highlight-fade{0%{background:linear-gradient(90deg,#007aff4d,#007aff33,#007aff4d);opacity:1;transform:scale(1.01)}15%{background:linear-gradient(90deg,#007aff4d,#007aff33,#007aff4d);opacity:1;transform:scale(1)}to{background:linear-gradient(90deg,#007aff4d,#007aff33,#007aff4d);opacity:0;transform:scale(1)}}@keyframes highlight-fade-dark{0%{background:linear-gradient(90deg,#0a84ff40,#0a84ff26,#0a84ff40);opacity:1;transform:scale(1.01)}15%{background:linear-gradient(90deg,#0a84ff40,#0a84ff26,#0a84ff40);opacity:1;transform:scale(1)}to{background:linear-gradient(90deg,#0a84ff40,#0a84ff26,#0a84ff40);opacity:0;transform:scale(1)}}.message-input-area{margin-top:16px;padding:0;border:none;background:transparent}.message-input{flex:1;padding:16px 20px;border-radius:16px;font-size:16px;font-weight:500;background:var(--tg-theme-secondary-bg-color, #f1f1f1);color:var(--tg-theme-text-color, #000000);border:1px solid var(--hairline);outline:none;transition:all .3s ease}body.tg-dark-theme .message-input{background:var(--tg-theme-secondary-bg-color, #111111);color:var(--tg-theme-text-color, #ffffff);border-color:var(--hairline)}.message-input:focus{transform:translateY(-1px);box-shadow:0 6px 18px #00000024;background:#fffffffa;border-color:#007aff59}body.tg-dark-theme .message-input:focus{background:#242426fa;box-shadow:0 6px 18px #0000005c;border-color:#0a84ff66}.message-input::placeholder{color:#8e8e93cc;font-weight:400}body.tg-dark-theme .message-input::placeholder{color:#8e8e9399}.send-button{width:48px;height:48px;border-radius:16px;border:none;background:linear-gradient(135deg,#007aff,#0056cc);color:#fff;cursor:pointer;flex-shrink:0;font-size:18px;transition:all .3s ease;box-shadow:0 4px 16px #0000001f,0 2px 8px #0000000f;display:flex;align-items:center;justify-content:center}.send-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #00000024,0 2px 8px #00000014}.send-button:active:not(:disabled){transform:translateY(0)}.send-button:disabled{background:#8e8e934d;color:#8e8e93cc;cursor:not-allowed;transform:none;box-shadow:0 1px 3px #0000000a}.send-button svg{width:20px;height:20px}.message-wrapper{position:relative;margin-bottom:2px;overflow:visible;z-index:1;transition:background-color .3s ease-out;display:flex;flex-direction:column}.message-wrapper:hover .reply-button{opacity:1;transform:translateY(-50%) scale(1)}.message-wrapper:has(.message-bubble:not(.grouped-with-previous)){margin-top:8px}.message-wrapper:has(.message-bubble:not(.grouped-with-next)){margin-bottom:8px}@supports not (selector(:has(*))){.message-wrapper{margin-bottom:8px}}.swipe-reply-icon{position:fixed;width:30px;height:30px;border-radius:50%;background:#007aff;color:#fff;display:flex;align-items:center;justify-content:center;z-index:9999;box-shadow:0 2px 6px #00000038;border:2px solid rgba(255,255,255,.9);pointer-events:none;opacity:0;transition:opacity .15s ease-out,transform .15s ease-out}body.tg-dark-theme .swipe-reply-icon{background:#0a84ff;box-shadow:0 1px 4px #00000047;border:2px solid rgba(255,255,255,.1)}.swipe-reply-icon svg{width:16px;height:16px}@media (max-width: 768px){.swipe-reply-icon{width:28px;height:28px}.swipe-reply-icon svg{width:14px;height:14px}}.reply-button{position:absolute;right:-40px;top:50%;transform:translateY(-50%) scale(.8);width:32px;height:32px;border-radius:50%;background:#007affe6;color:#fff;border:none;cursor:pointer;opacity:0;transition:all .3s ease;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px #0003;z-index:10;pointer-events:none;visibility:hidden}body.tg-dark-theme .reply-button{background:#0a84ffe6;box-shadow:0 1px 3px #00000047}.reply-button:hover{background:#007aff;transform:translateY(-50%) scale(1);box-shadow:0 2px 6px #0000003d}body.tg-dark-theme .reply-button:hover{background:#0a84ff;box-shadow:0 2px 5px #00000047}.reply-button:active{transform:translateY(-50%) scale(.95)}@media (max-width: 768px){.reply-button{right:-35px;width:28px;height:28px;opacity:0;transform:translateY(-50%) scale(1);pointer-events:none;visibility:hidden}}.reply-info{display:flex;margin-bottom:8px;padding:8px 12px;background:#0000000d;border-radius:12px;border-left:3px solid rgba(0,122,255,.6);cursor:pointer;transition:all .3s ease}body.tg-dark-theme .reply-info{background:#ffffff0d;border-left-color:#0a84ffcc}.reply-info:hover{background:#007aff1a;border-left-color:#007affcc;transform:translateY(-1px)}body.tg-dark-theme .reply-info:hover{background:#0a84ff26;border-left-color:#0a84ff}.reply-info:active{transform:translateY(0)}.reply-info .reply-bar{width:3px;background:#007aff99;border-radius:2px;margin-right:8px;flex-shrink:0}body.tg-dark-theme .reply-info .reply-bar{background:#0a84ffcc}.reply-info .reply-content{flex:1;min-width:0}.reply-info .reply-sender{font-size:12px;font-weight:600;color:#007affcc;margin-bottom:2px;line-height:1.2}body.tg-dark-theme .reply-info .reply-sender{color:#0a84ffe6}.reply-info .reply-text{font-size:13px;color:#0009;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.tg-dark-theme .reply-info .reply-text{color:#fff9}.reply-preview{display:flex;align-items:center;padding:12px 16px;background:#007aff14;border-radius:16px;margin-bottom:12px;border-left:4px solid rgba(0,122,255,.8)}body.tg-dark-theme .reply-preview{background:#0a84ff1f;border-left-color:#0a84ffe6}.reply-preview .reply-preview-bar{width:4px;height:40px;background:#007affcc;border-radius:2px;margin-right:12px;flex-shrink:0}body.tg-dark-theme .reply-preview .reply-preview-bar{background:#0a84ffe6}.reply-preview .reply-preview-content{flex:1;min-width:0}.reply-preview .reply-preview-sender{font-size:13px;font-weight:600;color:#007affe6;margin-bottom:4px;line-height:1.2}body.tg-dark-theme .reply-preview .reply-preview-sender{color:#0a84ff}.reply-preview .reply-preview-text{font-size:14px;color:var(--tg-theme-text-color, #1d1d1f);line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.tg-dark-theme .reply-preview .reply-preview-text{color:var(--tg-theme-text-color, #f2f2f7)}.reply-preview .reply-preview-close{width:32px;height:32px;border-radius:50%;background:#0000001a;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#0009;transition:all .3s ease;flex-shrink:0;margin-left:12px}body.tg-dark-theme .reply-preview .reply-preview-close{background:#ffffff1a;color:#fff9}.reply-preview .reply-preview-close:hover{background:#00000026;color:#000c;transform:scale(1.05)}body.tg-dark-theme .reply-preview .reply-preview-close:hover{background:#ffffff26;color:#fffc}.reply-preview .reply-preview-close:active{transform:scale(.95)}.message-input-row{display:flex;align-items:center;gap:16px}.error-display{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:100%;padding:40px 20px;color:var(--tg-theme-text-color, #333333)}body.tg-dark-theme .error-display{color:var(--tg-theme-text-color, #ffffff)}.error-display__icon{font-size:64px;margin-bottom:24px;opacity:.8}.error-display__title{font-size:28px;font-weight:700;margin-bottom:16px;color:var(--tg-theme-text-color, #333333)}body.tg-dark-theme .error-display__title{color:var(--tg-theme-text-color, #ffffff)}.error-display__message{font-size:16px;color:var(--tg-theme-hint-color, #666666);margin-bottom:32px;max-width:90%;line-height:1.5}body.tg-dark-theme .error-display__message{color:var(--tg-theme-hint-color, #999999)}.error-display__retry-button{padding:16px 32px;font-size:16px;font-weight:600;border:none;border-radius:12px;background:linear-gradient(135deg,var(--tg-theme-button-color, #007AFF) 0%,#0056CC 100%);color:var(--tg-theme-button-text-color, #ffffff);cursor:pointer;transition:all .2s ease;box-shadow:0 4px 15px #0000002e}.error-display__retry-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000038}.error-display__retry-button:active{transform:translateY(0)}.emoji-picker-container{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;animation:emoji-picker-fade-in .2s ease-out}@media (max-width: 768px){.emoji-picker-container{align-items:flex-end;padding:0 12px 12px}}.emoji-picker-backdrop{position:absolute;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}body.tg-dark-theme .emoji-picker-backdrop{background:#000000b3}.emoji-picker-content{position:relative;z-index:1;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px #00000024;border:1px solid var(--hairline);max-width:90vw;max-height:80vh}body.tg-dark-theme .emoji-picker-content{box-shadow:0 2px 12px #00000052;border-color:var(--hairline)}@media (max-width: 768px){.emoji-picker-content{max-width:100%;max-height:70vh;border-radius:16px 16px 0 0}}.emoji-picker-content em-emoji-picker{--rgb-accent: var(--tg-theme-button-color, #007aff);--rgb-background: var(--tg-theme-bg-color, #ffffff);--rgb-input: var(--tg-theme-secondary-bg-color, #f1f1f1);--rgb-color: var(--tg-theme-text-color, #1d1d1f);--rgb-border: var(--hairline);width:350px;height:435px}@media (max-width: 768px){.emoji-picker-content em-emoji-picker{width:100%;height:350px}}body.tg-dark-theme .emoji-picker-content em-emoji-picker{--rgb-background: var(--tg-theme-bg-color, #111111);--rgb-input: var(--tg-theme-secondary-bg-color, #1a1a1a);--rgb-color: var(--tg-theme-text-color, #f2f2f7);--rgb-border: var(--hairline)}.emoji-picker-content .emoji-mart-search{margin:8px}.emoji-picker-content .emoji-mart-search input{background:var(--tg-theme-secondary-bg-color, #f1f1f1);border:1px solid var(--hairline);color:var(--tg-theme-text-color, #1d1d1f);border-radius:12px;padding:8px 12px;font-size:14px}.emoji-picker-content .emoji-mart-search input::placeholder{color:var(--tg-theme-hint-color, rgba(0, 0, 0, .5))}.emoji-picker-content .emoji-mart-search input:focus{outline:none;border-color:var(--tg-theme-button-color, #007aff);box-shadow:0 0 0 3px rgba(var(--tg-theme-button-color, #007aff),.1)}body.tg-dark-theme .emoji-picker-content .emoji-mart-search input{background:var(--tg-theme-secondary-bg-color, #1a1a1a);border-color:var(--hairline);color:var(--tg-theme-text-color, #f2f2f7)}body.tg-dark-theme .emoji-picker-content .emoji-mart-search input::placeholder{color:var(--tg-theme-hint-color, rgba(255, 255, 255, .5))}.emoji-picker-content .emoji-mart-category-label{background:var(--tg-theme-bg-color, #ffffff);color:var(--tg-theme-text-color, #1d1d1f);font-weight:600;font-size:12px;padding:4px 8px;border-bottom:1px solid var(--hairline)}body.tg-dark-theme .emoji-picker-content .emoji-mart-category-label{background:var(--tg-theme-bg-color, #111111);color:var(--tg-theme-text-color, #f2f2f7);border-bottom-color:var(--hairline)}.emoji-picker-content .emoji-mart-scroll::-webkit-scrollbar{width:6px}.emoji-picker-content .emoji-mart-scroll::-webkit-scrollbar-track{background:var(--tg-theme-secondary-bg-color, #f1f1f1);border-radius:3px}.emoji-picker-content .emoji-mart-scroll::-webkit-scrollbar-thumb{background:var(--tg-theme-hint-color, rgba(0, 0, 0, .3));border-radius:3px}.emoji-picker-content .emoji-mart-scroll::-webkit-scrollbar-thumb:hover{background:var(--tg-theme-hint-color, rgba(0, 0, 0, .5))}body.tg-dark-theme .emoji-picker-content .emoji-mart-scroll::-webkit-scrollbar-track{background:var(--tg-theme-secondary-bg-color, #1a1a1a)}body.tg-dark-theme .emoji-picker-content .emoji-mart-scroll::-webkit-scrollbar-thumb{background:var(--tg-theme-hint-color, rgba(255, 255, 255, .3))}body.tg-dark-theme .emoji-picker-content .emoji-mart-scroll::-webkit-scrollbar-thumb:hover{background:var(--tg-theme-hint-color, rgba(255, 255, 255, .5))}@keyframes emoji-picker-fade-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}:root{--form-bg-light: rgba(255, 255, 255, .2);--form-bg-dark: rgba(18, 18, 18, .3);--input-bg-light: rgba(255, 255, 255, .15);--input-bg-dark: rgba(30, 30, 30, .6);--card-bg-light: rgba(255, 255, 255, .25);--card-bg-dark: rgba(25, 25, 25, .4);--accent-color: #007aff;--disabled-bg: rgba(142, 142, 147, .3);--disabled-text: rgba(142, 142, 147, .8);--surface-1: rgba(0, 0, 0, .02);--surface-2: rgba(0, 0, 0, .04);--hairline: rgba(0, 0, 0, .08);--hover-overlay: rgba(0, 0, 0, .05);--success-accent: #2ab97e}body.tg-dark-theme{--tg-theme-bg-color: #0a0a0a;--tg-theme-secondary-bg-color: #111111;--tg-theme-text-color: #f2f2f7;--tg-theme-hint-color: rgba(255, 255, 255, .5);--tg-theme-button-color: #0084ff;--tg-theme-button-text-color: #ffffff;--surface-1: rgba(255, 255, 255, .02);--surface-2: rgba(255, 255, 255, .04);--hairline: rgba(255, 255, 255, .06);--hover-overlay: rgba(255, 255, 255, .05);--success-accent: #2ab97e}
