﻿:root{color:#1f2430;font-synthesis:none;background:#f7f3f5;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-page{min-height:100vh}.topbar{background:#fffc;border-bottom:1px solid #f1dfe8;justify-content:space-between;align-items:center;height:68px;padding:0 32px;display:flex}.brand{font-size:22px;font-weight:800}.brand:first-letter{color:#f43f82}.topbar nav{flex:auto;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.topbar button{background:0 0;border:0;border-radius:10px;padding:10px 14px}.discover-area,.matches-page{max-width:1400px;margin:auto;padding:28px 20px 40px}.filter-chips{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.filter-chip{background:#fff;border:1px solid #f1dfe8;border-radius:999px;align-items:center;gap:8px;padding:6px 10px;font-size:13px;display:inline-flex}.filter-chip button{cursor:pointer;background:0 0;border:0}.drawer-backdrop{z-index:60;background:#1118277a;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.drawer{background:#fff;border-top-left-radius:20px;border-top-right-radius:20px;width:100%;max-width:640px;max-height:90vh;padding:16px;overflow:auto;box-shadow:0 -20px 40px #0000001a}.drawer .drawer-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.drawer .drawer-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.filters-toggle{background:#fff;border:0;border-radius:10px;align-items:center;padding:8px 10px;display:inline-flex;box-shadow:0 8px 14px #1118270f}@media (min-width:900px){.filters-toggle{display:none}}.drawer :focus,.filters-toggle:focus,.drawer button:focus,.drawer input:focus,.drawer select:focus{outline-offset:2px;outline:3px solid #f43f8233}.skeleton-grid{grid-template-columns:repeat(1,minmax(0,1fr));gap:20px;padding:8px 12px 40px;display:grid}@media (min-width:640px){.skeleton-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:900px){.skeleton-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1280px){.skeleton-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.skeleton-card{background:#fff;border-radius:16px;flex-direction:column;height:100%;min-height:350px;padding:0;display:flex;overflow:hidden;box-shadow:0 4px 18px #1118270f}.skeleton-photo{background:linear-gradient(90deg,#f6f0f2,#f2e9ed,#f6f0f2);flex-shrink:0;height:190px;min-height:190px}.skeleton-line{background:linear-gradient(90deg,#f6f0f2,#f2e9ed,#f6f0f2);border-radius:6px;height:12px;margin:10px 16px}.discover-area .filters-row input,.discover-area .filters-row select{color:#1f2430;background-color:#fff;border:1px solid #eadfe5;border-radius:10px;min-width:120px;height:40px;padding:8px 12px;font-size:14px}.discover-grid{grid-template-columns:repeat(1,minmax(0,1fr));align-items:stretch;gap:20px;padding:8px 12px 40px;display:grid}@media (min-width:640px){.discover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:900px){.discover-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1280px){.discover-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}}.profile-card{box-sizing:border-box;background:linear-gradient(#fff 0%,#fff8fb 100%);border:1px solid #eadfe5;border-radius:16px;flex-direction:column;height:100%;min-height:0;transition:transform .2s,box-shadow .2s;display:flex;position:relative;box-shadow:0 4px 18px #1118270f}.profile-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #1118271f}.profile-photo{background:#f1f5f9;border-top-left-radius:16px;border-top-right-radius:16px;flex-shrink:0;width:100%;height:190px;min-height:190px;max-height:190px;display:block;position:relative;overflow:hidden}.profile-photo img{object-fit:cover;width:100%;height:100%;display:block}.profile-card-body{box-sizing:border-box;flex-direction:column;flex:auto;min-height:0;padding:14px 16px 16px;display:flex}.photo-placeholder{color:#f43f82;background:linear-gradient(#fffafc,#f3edf3);place-items:center;width:100%;height:100%;font-size:48px;display:grid}.profile-info{flex-direction:column;flex:auto;min-height:0;padding:0;display:flex;overflow:visible}.profile-info h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:16px;font-weight:700;line-height:1.2;overflow:hidden}.profile-info p{color:#71717a;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex-shrink:0;min-height:2.7em;margin-top:8px;line-height:1.35;display:-webkit-box;overflow:hidden}.profile-info .badge{border-radius:999px;flex-shrink:0;padding:5px 8px;font-size:13px}.discover-card-interests{flex-wrap:wrap;flex-shrink:0;gap:6px;min-height:30px;max-height:none;margin-top:10px;display:flex;overflow:visible}.profile-card-footer{box-sizing:border-box;flex-direction:column;flex-shrink:0;gap:8px;width:100%;margin-top:auto;padding-top:10px;display:flex;position:relative}.profile-card-footer>button{box-sizing:border-box;flex-shrink:0;width:100%}.action-buttons{box-sizing:border-box;justify-content:center;align-items:center;gap:8px;width:100%;display:flex;position:relative}.round-button{box-sizing:border-box;background:#fff;border:1px solid #eadfe5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;min-width:42px;max-width:42px;height:42px;min-height:42px;max-height:42px;transition:all .2s;display:inline-flex}.round-button:hover{border-color:#f43f82;box-shadow:0 4px 12px #f43f8226}.round-button.like:hover{transform:scale(1.08);box-shadow:0 6px 16px #f43f8240}.primary-button{color:#fff;background:linear-gradient(135deg,#f43f82,#ff8bac);border:0;border-radius:12px;justify-content:center;align-items:center;min-width:0;padding:11px 14px;font-weight:700;transition:all .2s;display:inline-flex;box-shadow:0 4px 12px #f43f8226}.primary-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 18px #f43f8240}.primary-button:active:not(:disabled){transform:translateY(0)}.primary-button:disabled{opacity:.6;cursor:not-allowed}.primary-button.full-width{white-space:nowrap;text-overflow:ellipsis;flex:none;width:100%;height:40px;min-height:40px;padding:0;font-size:14px;overflow:hidden}.empty-card{text-align:center;background:#fff;border:1px solid #f1dfe8;border-radius:20px;max-width:450px;margin:60px auto;padding:40px}@media (max-width:1023px){.conversations-panel{width:320px}}@media (max-width:767px){.conversations-panel{width:100%}}.action-row{justify-content:center;gap:16px;padding:20px 16px 28px;display:flex}.round-button{background:#fff;border:1px solid #e5e7eb;border-radius:50%;flex-shrink:0;place-items:center;width:44px;min-width:44px;height:44px;display:grid}.round-button.like{color:#fff;background:#e11d48;border:0}.primary-button{color:#fff;background:#e11d48;border:0;border-radius:12px;justify-content:center;align-items:center;min-width:0;padding:11px 14px;font-weight:700;display:inline-flex}.primary-button.full-width{white-space:nowrap;text-overflow:ellipsis;flex:none;width:100%;height:40px;font-size:14px;overflow:hidden}.card-footer{flex-direction:column;gap:8px;margin-top:12px;display:flex}.action-buttons{justify-content:center;align-items:center;gap:10px;display:flex}.round-button{width:40px;min-width:40px;height:40px}.auth-page{background:#fafafa;place-items:center;min-height:100vh;padding:20px;display:grid}.auth-card{background:#fff;border-radius:22px;width:min(420px,100%);padding:35px;box-shadow:0 15px 50px #00000014}.auth-card h1{margin-bottom:5px}.auth-card p{color:#71717a}.auth-card label{margin:18px 0 7px;font-weight:600;display:block}.auth-card input{border:1px solid #d4d4d8;border-radius:10px;outline:none;width:100%;padding:13px}.auth-card .primary-button{width:100%;margin-top:20px}.action-row .primary-button{flex:auto;min-width:0}.error{color:#b91c1c;background:#fee2e2;border-radius:8px;margin-top:14px;padding:10px}.matches-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.match-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;align-items:center;gap:14px;padding:18px;display:flex}.avatar{color:#e11d48;background:#ffe4e6;border-radius:50%;flex-shrink:0;place-items:center;width:60px;height:60px;display:grid;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.match-card h3,.match-card p{margin:0}.match-card p{color:#71717a;margin-top:4px}.chat-button{color:#fff;background:#e11d48;border:0;border-radius:10px;align-items:center;gap:6px;margin-left:auto;padding:9px 12px;display:flex}.empty-card{text-align:center;background:#fff;border-radius:20px;max-width:450px;margin:60px auto;padding:40px}.toast{color:#fff;background:#18181b;border-radius:12px;padding:12px 20px;position:fixed;bottom:30px;left:50%;transform:translate(-50%)}.chat-page{background:#f8fafb;flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.messages-shell{flex:1;gap:0;width:100%;min-height:0;display:flex}.conversations-panel{background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;flex-shrink:0;width:340px;min-height:0;padding:12px;display:flex;overflow:hidden auto}.conversations-card{background:#fff;border-radius:16px;flex-direction:column;flex:1;min-height:0;padding:8px;display:flex;overflow:hidden;box-shadow:0 8px 30px #0000000a}.chat-empty{max-width:720px;margin:auto;padding:60px}.link-button{color:#6b7280;background:0 0;border:0;text-decoration:underline}.badge{color:#fff;background:#e11d48;border-radius:999px;padding:6px 8px;font-size:12px;font-weight:700}.conversations-panel .panel-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.conversations-panel .tabs{gap:8px;margin-bottom:8px;display:flex}.conversations-panel .tabs button{background:0 0;border:0;border-radius:8px;padding:8px 10px}.conversations-panel .tabs button.active{color:#e11d48;background:#ffeef2}.conversations-list{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex;overflow:hidden auto}.conversation-row{cursor:pointer;border:1px solid #0000;border-radius:10px;align-items:center;gap:12px;padding:8px;display:flex}.conversation-row:hover{background:#fff7f9}.conversation-row.selected{background:#fff3f5;border-left:3px solid #e11d482e}.conversation-row.unread{font-weight:700}.avatar-small{background:#fdeceb;border-radius:50%;flex-shrink:0;place-items:center;width:56px;height:56px;display:grid;overflow:hidden}.avatar-small img{object-fit:cover;width:100%;height:100%}.online-dot{background:#10b981;border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:relative;box-shadow:0 0 0 2px #10b9810f}.avatar-small{position:relative}.avatar-small:after{content:"";background:0 0;border-radius:999px;width:10px;height:10px;position:absolute;bottom:4px;right:4px}.ai-badge{color:#fff;background:#0ea5e9;border-radius:999px;padding:4px 8px;font-size:12px}.chat-panel{background:#f8fafb;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.chat-header{z-index:1;background:#fff;border-bottom:1px solid #eef2f6;align-items:center;gap:12px;min-height:72px;padding:12px 20px;display:flex;position:relative}.chat-header button{background:0 0;border:0;border-radius:8px;padding:8px}.chat-header button:focus{outline:3px solid #0ea5e92e}.chat-header img{object-fit:cover;border-radius:50%;width:52px;height:52px}.chat-header .title{flex-direction:column;min-width:0;display:flex}.chat-header .title strong{font-size:16px}.chat-header .title small{color:#6b7280}.chat-actions{flex-shrink:0;align-items:center;gap:8px;margin-left:auto;display:flex;overflow:hidden}.chat-actions button{background:0 0;border:0;border-radius:10px;padding:8px}.chat-more>button{background:0 0;border:0;border-radius:8px;padding:6px 8px;font-size:20px}.chat-more-menu{z-index:60;background:#fff;border:1px solid #eef2f6;border-radius:10px;flex-direction:column;min-width:160px;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 8px 30px #0000000f}.chat-more-menu button{text-align:left;background:0 0;border:0;width:100%;padding:10px 12px}.chat-more-menu button:hover{background:#f8fafb}.messages{flex-direction:column;flex:1;gap:10px;min-height:0;padding:20px;display:flex;position:relative;overflow:hidden auto}.message-row{align-items:flex-end;gap:10px;display:flex}.message-row.mine{justify-content:flex-end}.message-row.theirs{justify-content:flex-start}.message-bubble{border-radius:14px;width:fit-content;max-width:64ch;padding:10px 14px;line-height:1.35;position:relative}.message-row.mine .message-bubble{color:#fff;background:#e11d48;border-bottom-right-radius:6px}.message-row.theirs .message-bubble{color:#111827;background:#fff;border:1px solid #e6e9ee}.msg-ts{color:#fffc;margin-left:8px;font-size:11px}.date-sep{text-align:center;color:#6b7280;margin:12px 0;font-size:13px}.message-input{background:#fff;border-top:1px solid #eef2f6;flex-shrink:0;align-items:center;gap:10px;padding:12px;display:flex}.message-input textarea{resize:none;border:1px solid #e6e9ee;border-radius:22px;flex:1;min-height:44px;max-height:160px;padding:10px 14px}.message-input .icon-button{background:0 0;border:0;border-radius:8px;padding:8px}.message-input .send-button{color:#fff;background:#e11d48;border:0;border-radius:12px;place-items:center;width:48px;height:48px;display:grid}.message-input .send-button:disabled{opacity:.75;background:#f4b2bd}.reply-bar{color:#6b7280;background:#f8fafb;border-top:1px solid #eef2f6;border-bottom:1px solid #eef2f6;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:14px;display:flex}.conversations-list .skeleton-row{align-items:center;gap:12px;padding:8px;display:flex}.skeleton-av{background:linear-gradient(90deg,#f3f4f6,#e9eef6);border-radius:50%;width:56px;height:56px}.skeleton-line{background:linear-gradient(90deg,#f3f4f6,#e9eef6);border-radius:6px;height:12px}.global-search{background:#fff;border:1px solid #e6e9ee;border-radius:12px;align-items:center;gap:8px;padding:6px;display:flex;position:relative;overflow:visible}.global-search input{background:0 0;border:0;outline:none;min-width:200px;padding:8px 10px}.global-search input::placeholder{color:#9ca3af}.clear-search{color:#6b7280;cursor:pointer;background:0 0;border:0;padding:6px}.avatar-button{cursor:pointer;background:0 0;border:1px solid #e5e7eb;border-radius:999px;padding:6px}.avatar-button img{object-fit:cover;border-radius:999px;width:32px;height:32px;display:block}@media (max-width:1023px){.conversations-panel{width:320px}}@media (max-width:899px){.messages-shell{flex-direction:column}.conversations-panel{border-bottom:1px solid #e5e7eb;border-right:0;width:100%}.chat-panel{display:flex}html,body{max-width:100%;overflow-x:hidden}.discover-area{width:100%;max-width:none;padding:12px 0 0}.discover-area .filters-row{display:none!important}.discover-area .discover-grid{grid-template-columns:1fr;gap:12px;padding:0}.discover-area .profile-card{border-radius:16px;width:100%;min-width:0;overflow:hidden}.discover-area .profile-photo{aspect-ratio:4/3;height:auto;min-height:0;max-height:none}.discover-area .profile-card-body{min-width:0;padding:12px}.discover-area .profile-card-footer>button{min-height:44px}.discover-area .filters-toggle{min-width:44px;min-height:44px}.drawer{max-height:85dvh;padding:16px 14px calc(16px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.drawer input,.drawer select{width:100%;min-height:44px}.drawer-actions{gap:8px;display:grid!important}.drawer-actions>*,.drawer-actions button{width:100%;min-height:46px}.drawer-actions>div{grid-template-columns:1fr 1fr;gap:8px;display:grid!important}.coin-packages-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.coin-package-card{min-width:0;padding:12px!important}.coin-package-card button{width:100%;min-height:44px}.gift-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (max-width:380px){.coin-packages-grid,.gift-picker-grid{grid-template-columns:1fr!important}}@media (max-width:600px){.topbar{padding:0 15px}.auth-card{padding:25px}.topbar nav button{padding:8px 10px}}@media (max-width:767px){.discover-area>div:first-child>div:first-child{flex-wrap:wrap}.discover-area>div:first-child>div:first-child>div:last-child{margin-left:auto}.discover-area>div:first-child>div:nth-child(2){flex-wrap:wrap}.discover-area>div:first-child>div:nth-child(2)>input{width:100%;min-width:0}.discover-area>div:first-child>div:nth-child(2)>div{justify-content:flex-end;width:100%}}
