:root{color-scheme:light;--purple:#8251e8;--pink:#ee70bc;--ink:#2a203c;--muted:#958aab;--line:#eae4f3;--bg:#f8f6fc;--shadow:0 16px 45px #39206612}*{box-sizing:border-box}body{margin:0;background:#eee9f5;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{opacity:.45;cursor:wait}a{color:var(--purple);text-decoration:none}.app{max-width:520px;min-height:100dvh;margin:auto;background:var(--bg)}header{height:86px;padding:18px 25px;display:flex;align-items:center;justify-content:space-between;background:var(--bg);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:30px;font-weight:850;letter-spacing:-1.2px}.brand img{width:43px;height:43px;object-fit:cover;border-radius:15px}.brand-dot{color:var(--pink)}.icon{background:white;border:1px solid var(--line);border-radius:50%;width:40px;height:40px;color:var(--purple);font-size:24px}main{padding:8px 23px 115px}.eyebrow{color:var(--purple);text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:2px;margin:7px 0 9px}h1{font-size:30px;letter-spacing:-1px;margin:0 0 8px;line-height:1.15}h2{font-size:22px;letter-spacing:-.6px}h3{margin:6px 0 10px}.muted{color:var(--muted);font-size:14px;line-height:1.6}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.chip{border:1px solid var(--line);background:#fff;color:#736383;font-size:12px;padding:8px 12px;border-radius:30px}.chip.active{background:#eee6fc;color:#7948d2;border-color:#dbc9fa}.photo-card{position:relative;border-radius:27px;overflow:hidden;min-height:410px;height:min(55dvh,490px);background:linear-gradient(145deg,#d4c1ef,#aa91cc);box-shadow:var(--shadow)}.photo-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.photo-card:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#171022d9);pointer-events:none}.photo-lines{display:flex;gap:5px;position:absolute;z-index:2;top:13px;left:17px;right:17px}.photo-lines button{height:4px;border-radius:3px;flex:1;background:#ffffff65}.photo-lines button.on{background:#fff}.photo-info{position:absolute;bottom:22px;left:22px;right:22px;z-index:2;color:white}.photo-info h2{font-size:30px;margin:7px 0}.photo-info .muted{color:#f0e9fa}.purpose-label{background:#ffffff29;backdrop-filter:blur(10px);padding:7px 11px;border-radius:25px;font-size:11px;display:inline-block}.premium-tag{font-size:15px}.card-bio{background:white;padding:17px 20px;border:1px solid var(--line);border-radius:18px;margin:15px 0 12px;line-height:1.6;font-size:14px;overflow-wrap:anywhere}.actions{display:flex;align-items:center;justify-content:center;gap:20px;margin:16px 0}.action{border-radius:50%;width:58px;height:58px;background:white;box-shadow:0 6px 22px #3920660c;border:1px solid var(--line);font-size:24px;color:#a59aaf}.action.like{width:74px;height:74px;background:linear-gradient(135deg,#9662ef,#e565b9);color:white;border:0;font-size:30px;box-shadow:0 9px 25px #b777e745}.action.note{color:var(--purple)}.small-actions{text-align:center;display:flex;gap:20px;justify-content:center}.text-btn{background:transparent;color:var(--muted);font-size:12px;padding:9px 0}nav{max-width:520px;position:fixed;bottom:0;width:100%;padding:12px 12px calc(12px + env(safe-area-inset-bottom));background:#ffffffee;backdrop-filter:blur(15px);display:flex;border-top:1px solid var(--line);z-index:10}nav button{flex:1;background:transparent;color:#a99eb9;display:flex;flex-direction:column;gap:5px;align-items:center;font-size:10px;padding:3px 0}nav .nav-icon{font-size:23px;line-height:27px;font-weight:500}nav button.selected{color:var(--purple);font-weight:700}nav button.selected .nav-icon{background:#f0e8fd;border-radius:12px;width:44px}.empty{padding:40px 15px;text-align:center}.empty .emblem{width:110px;height:110px;border-radius:32px;margin:0 auto 25px;box-shadow:0 16px 40px #8050d326}.button{display:block;width:100%;padding:15px 17px;border-radius:15px;background:linear-gradient(110deg,#8451e8,#b363e6);color:white;font-weight:700;letter-spacing:.1px;margin-top:12px}.button.secondary{background:white;color:var(--purple);border:1px solid var(--line)}.button.danger{background:#fff1f4;color:#c84769}.panel{padding:20px;background:white;border:1px solid var(--line);border-radius:22px;margin:15px 0}.local-banner{margin:0 23px 12px;background:#f0e8fb;padding:9px 12px;border-radius:10px;font-size:11px;color:#805bb0}.section-head{margin-bottom:20px}.person{display:flex;align-items:center;gap:13px;padding:13px;background:white;border:1px solid var(--line);border-radius:19px;margin:10px 0;width:100%;text-align:left;color:var(--ink)}.person img{width:64px;height:70px;border-radius:13px;object-fit:cover;background:#eee6fa}.person .grow{flex:1}.person strong{display:block;margin-bottom:6px}.person span{font-size:12px;color:var(--muted)}.chevron{font-size:24px;color:#bdb0d1}.field{display:block;font-weight:600;font-size:12px;color:#756481;margin:15px 0 7px}.inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}input,select,textarea{display:block;width:100%;border:1px solid var(--line);border-radius:13px;background:#fff;padding:13px 12px;color:var(--ink);outline:none;min-width:0}input:focus,select:focus,textarea:focus{border-color:#a67beb;box-shadow:0 0 0 3px #eee4fc}textarea{resize:vertical;min-height:100px}.check{display:flex;align-items:flex-start;gap:10px;margin:16px 0;line-height:1.5;font-size:12px;color:#81728f}.check input{width:18px;margin-top:1px;flex-shrink:0}.form-note{font-size:11px;color:var(--muted);line-height:1.6;margin-top:7px}.premium-hero{border-radius:25px;background:radial-gradient(ellipse at 90% 0%,#dca3ff,transparent 70%),linear-gradient(140deg,#8450d4,#572ba2);padding:28px 24px;color:white;margin:12px 0 22px}.premium-hero .star{font-size:56px;display:block;margin-bottom:12px}.premium-hero h1{font-size:30px}.premium-hero p{font-size:13px;color:#eee3ff;line-height:1.7}.benefit{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.benefit b{font-size:20px}.benefit strong{display:block;font-size:14px;margin-bottom:5px}.plan{padding:18px;border:1px solid var(--line);border-radius:18px;display:flex;justify-content:space-between;align-items:center;background:white;margin:10px 0;cursor:pointer}.plan strong{font-size:19px;color:var(--purple)}.chat-messages{min-height:35dvh;display:flex;flex-direction:column;gap:9px;padding:20px 0}.bubble{align-self:flex-start;max-width:85%;background:white;border:1px solid var(--line);border-radius:17px 17px 17px 4px;padding:12px 15px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-size:14px}.bubble.mine{align-self:flex-end;background:#eee5fc;border-color:#e8dafa;border-radius:17px 17px 4px 17px}.chat-compose{display:flex;gap:8px;position:sticky;bottom:83px;background:var(--bg);padding:10px 0}.chat-compose input{flex:1}.chat-compose button{width:48px;border-radius:14px;background:var(--purple);color:white;font-size:21px}.notice{border-radius:13px;background:#fff3d9;color:#9d782a;padding:11px 13px;font-size:12px;line-height:1.5}.own-head{display:flex;gap:15px;align-items:center;margin:20px 0}.own-head img{width:74px;height:85px;border-radius:18px;object-fit:cover;background:#e8ddf8}.loading{text-align:center;padding:80px 10px;color:var(--muted);font-size:14px}.spinner{width:30px;height:30px;border:3px solid #e6dbf6;border-top-color:var(--purple);border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 15px}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;z-index:50;bottom:105px;left:50%;transform:translateX(-50%);width:max-content;max-width:90vw;padding:13px 20px;background:#2a203cf5;color:white;border-radius:15px;font-size:13px;box-shadow:var(--shadow);display:none}dialog{border:0;border-radius:25px;padding:25px;max-width:440px;width:90%;max-height:85dvh;color:var(--ink);box-shadow:0 15px 70px #21103555}dialog::backdrop{background:#27113980;backdrop-filter:blur(3px)}dialog h2{margin-top:0}.rules{font-size:13px;line-height:1.7;white-space:pre-line}.pagination{display:flex;justify-content:center;gap:15px;margin:18px}.pagination button{padding:10px 20px;border-radius:10px;color:var(--purple);background:#eee4fc}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}@media(min-width:600px){.app{box-shadow:0 0 70px #39206614}header{padding-top:22px}}
.header-tools{display:flex;gap:6px}.interest-grid{display:flex;flex-wrap:wrap;gap:8px}.interest-choice{position:relative;cursor:pointer}.interest-choice input{position:absolute;opacity:0;width:1px;height:1px}.interest-choice span{display:block;padding:9px 12px;border-radius:20px;border:1px solid var(--line);font-size:12px;color:var(--muted)}.interest-choice input:checked+span{background:#eee4fc;border-color:var(--purple);color:var(--purple)}.interest-choice input:focus-visible+span{outline:2px solid var(--purple);outline-offset:2px}.common-interests{font-size:13px;color:var(--purple);font-weight:650;line-height:1.7}.interest-summary .chips{margin:10px 0}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metric{margin:0;display:flex;flex-direction:column;gap:8px;padding:18px}.metric strong{font-size:28px;color:var(--purple)}.metric span{font-size:11px;color:var(--muted);line-height:1.5}.activity-row{display:flex;align-items:center;gap:10px;margin:10px 0;font-size:11px}.activity-row span{width:40px;color:var(--muted)}.activity-row>div{height:8px;border-radius:5px;background:var(--line);flex:1;overflow:hidden}.activity-row i{height:100%;display:block;background:linear-gradient(90deg,var(--purple),var(--pink));border-radius:5px}.activity-row b{min-width:24px;text-align:right}.table-scroll{overflow-x:auto}.sources-table{width:100%;font-size:11px;border-collapse:collapse}.sources-table td,.sources-table th{padding:10px 5px;text-align:left;border-bottom:1px solid var(--line)}.sources-table td:first-child{overflow-wrap:anywhere;max-width:150px}#campaign-result input,#invite-url{font-size:12px}
:root[data-theme=dark]{color-scheme:dark;--bg:#15121c;--ink:#f0eaf8;--muted:#b4a9c5;--line:#373040;--purple:#b28bf7;--pink:#f095d0;--surface:#211b2b;--shadow:0 16px 45px #00000025}:root[data-theme=dark] body{background:#0d0b12}:root[data-theme=dark] .panel,:root[data-theme=dark] .person,:root[data-theme=dark] .icon,:root[data-theme=dark] .chip,:root[data-theme=dark] .action,:root[data-theme=dark] .card-bio,:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] .bubble,:root[data-theme=dark] dialog,:root[data-theme=dark] .button.secondary{background:var(--surface);color:var(--ink)}:root[data-theme=dark] nav{background:#1b1624f5}:root[data-theme=dark] .chip.active,:root[data-theme=dark] nav button.selected .nav-icon,:root[data-theme=dark] .bubble.mine,:root[data-theme=dark] .interest-choice input:checked+span{background:#38274e;color:#d4b8ff;border-color:#685080}:root[data-theme=dark] .local-banner{background:#302440;color:#d4b8ff}:root[data-theme=dark] .notice{background:#3a2e1c;color:#e6c78e}:root[data-theme=dark] .button.danger{background:#3b1b2b;color:#ff9bb7}:root[data-theme=dark] .plan,:root[data-theme=dark] .pagination button{background:var(--surface)}:root[data-theme=dark] .spinner{border-color:#3c304c;border-top-color:var(--purple)}
/* System bars and Telegram floating controls occupy separate safe areas. */
:root{--safe-top:max(env(safe-area-inset-top,0px),var(--loviri-safe-top,var(--tg-safe-area-inset-top,0px)));--safe-bottom:max(env(safe-area-inset-bottom,0px),var(--loviri-safe-bottom,var(--tg-safe-area-inset-bottom,0px)));--safe-left:max(env(safe-area-inset-left,0px),var(--loviri-safe-left,var(--tg-safe-area-inset-left,0px)));--safe-right:max(env(safe-area-inset-right,0px),var(--loviri-safe-right,var(--tg-safe-area-inset-right,0px)));--edge-top:calc(var(--safe-top) + var(--loviri-content-top,var(--tg-content-safe-area-inset-top,0px)));--edge-bottom:calc(var(--safe-bottom) + var(--loviri-content-bottom,var(--tg-content-safe-area-inset-bottom,0px)));--edge-left:calc(var(--safe-left) + var(--loviri-content-left,var(--tg-content-safe-area-inset-left,0px)));--edge-right:calc(var(--safe-right) + var(--loviri-content-right,var(--tg-content-safe-area-inset-right,0px)));--nav-height:72px}
html,body{width:100%;max-width:100%;-webkit-text-size-adjust:100%}html{overflow-x:hidden}@supports(overflow-x:clip){html,body{overflow-x:clip}}.app{width:100%;min-width:0;isolation:isolate}header{height:auto;min-height:calc(70px + var(--edge-top));padding:calc(12px + var(--edge-top)) calc(16px + var(--edge-right)) 12px calc(16px + var(--edge-left));gap:10px;top:0}.brand{min-width:0;font-size:28px;gap:8px;white-space:nowrap}.brand img{width:36px;height:36px;border-radius:12px;flex-shrink:0}.header-tools{flex-shrink:0;gap:5px}.header-tools .icon{width:36px;height:36px;font-size:20px;display:grid;place-items:center;line-height:1;padding:0;flex-shrink:0}main{min-width:0;padding:10px calc(20px + var(--edge-right)) calc(var(--nav-height) + var(--edge-bottom) + 24px) calc(20px + var(--edge-left))}.local-banner{margin-left:calc(20px + var(--edge-left));margin-right:calc(20px + var(--edge-right))}nav{left:50%;transform:translateX(-50%);min-height:calc(var(--nav-height) + var(--edge-bottom));padding:10px calc(10px + var(--edge-right)) calc(10px + var(--edge-bottom)) calc(10px + var(--edge-left));width:100%;max-width:520px}nav button{min-width:0;line-height:1.3}.chat-compose{bottom:calc(var(--nav-height) + var(--edge-bottom));min-width:0}.chat-compose input{min-width:0}.chat-compose button{flex-shrink:0}#toast{bottom:calc(var(--nav-height) + var(--edge-bottom) + 16px)}dialog{max-width:calc(100vw - 28px - var(--edge-left) - var(--edge-right));max-height:calc(100dvh - var(--edge-top) - var(--edge-bottom) - 28px);overflow-y:auto}.inputs,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inputs>*,.metric-grid>*,.own-head>div,.person .grow{min-width:0}.button,.panel,.card-bio,.own-head h3,.person strong,h1,h2,h3,.muted,.form-note{overflow-wrap:anywhere}.button{white-space:normal;line-height:1.4}.row>*{min-width:0}.row h1{flex:1}.row .chip{flex-shrink:0}.interest-choice{max-width:100%}.interest-choice span{overflow-wrap:anywhere}input,select,textarea{max-width:100%}.sources-table{table-layout:fixed}.sources-table th:first-child{width:43%}.sources-table th,.sources-table td{overflow-wrap:anywhere}
@media(max-width:360px){header{padding-left:calc(12px + var(--edge-left));padding-right:calc(12px + var(--edge-right));gap:6px}.brand{font-size:24px}.brand img{width:32px;height:32px}.header-tools{gap:4px}.header-tools .icon{width:32px;height:32px;font-size:18px}main{padding-left:calc(16px + var(--edge-left));padding-right:calc(16px + var(--edge-right))}nav button{font-size:9px}.metric{padding:14px}.metric strong{font-size:24px}}

/* Game picker remains hidden outside the gaming purpose. */
#game-field[hidden]{display:none!important}.game-badge{max-width:100%;white-space:normal;overflow-wrap:anywhere;margin-block:6px}

.gaming-details .chip{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}

#game-field .interest-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}#game-field .interest-choice span{white-space:normal;overflow-wrap:anywhere}

/* Photo gallery: full viewport, original proportions, safe controls. */
.photo-open{cursor:zoom-in}.photo-open:focus-visible,.photo-expand:focus-visible{outline:3px solid var(--purple);outline-offset:4px}.photo-expand{position:absolute;z-index:3;right:16px;top:42px;width:42px;height:42px;border:1px solid #ffffff55;border-radius:50%;background:#17132270;color:#fff;backdrop-filter:blur(14px);font-size:26px;display:grid;place-items:center;cursor:pointer}.photo-info{pointer-events:none}
html.photo-viewing,html.photo-viewing body{overflow:hidden;overscroll-behavior:none}
#photo-viewer{position:fixed;inset:0;margin:0;width:100%;max-width:100vw;height:100vh;height:100dvh;max-height:none;padding:0;border:0;border-radius:0;background:#08070d;color:#fff;overflow:hidden;box-shadow:none;box-sizing:border-box}
#photo-viewer[open]{display:flex;flex-direction:column}#photo-viewer::backdrop{background:#08070d}#photo-viewer [hidden]{display:none!important}
#photo-viewer .viewer-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:calc(var(--edge-top,0px) + 12px) calc(var(--edge-right,0px) + 18px) 14px calc(var(--edge-left,0px) + 20px);min-width:0;background:linear-gradient(#17121e,#08070d)}
#photo-viewer .viewer-heading{display:grid;gap:4px;min-width:0}#photo-viewer .viewer-heading strong{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}#viewer-count{color:#bcb3cd;font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:2px}
#photo-viewer .viewer-control{flex:none;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;border:1px solid #ffffff25;background:#ffffff12;color:#fff;font-size:23px;line-height:1;cursor:pointer;backdrop-filter:blur(12px)}#photo-viewer button:disabled{opacity:.28;cursor:default}#photo-viewer button:focus-visible{outline:2px solid #d6b4ff;outline-offset:3px}
#photo-viewer .viewer-stage{position:relative;flex:1;min-height:0;min-width:0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;margin-inline:var(--edge-left,0px) var(--edge-right,0px)}#viewer-image-slot{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}#viewer-image-slot img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;transform-origin:center;will-change:transform;pointer-events:none;-webkit-user-drag:none}
#photo-viewer .viewer-arrow{position:absolute;z-index:2;top:calc(50% - 22px);background:#17121e99;font-size:34px}#photo-viewer .previous{left:12px}#photo-viewer .next{right:12px}.viewer-notice{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:20px;text-align:center;background:#08070dc9;font-size:14px}.viewer-notice .spinner{border-color:#ffffff20;border-top-color:#c2a0ff}
#photo-viewer .viewer-bottom{flex:none;text-align:center;padding:14px calc(var(--edge-right,0px) + 18px) calc(var(--edge-bottom,0px) + 16px) calc(var(--edge-left,0px) + 18px);background:linear-gradient(#08070d,#17121e)}#photo-viewer .viewer-zoom{display:flex;align-items:center;justify-content:center;gap:16px}#photo-viewer .viewer-pill{min-width:70px;min-height:40px;border:1px solid #ffffff20;border-radius:24px;background:#ffffff0e;color:#f7f3ff;padding:9px 16px;font-size:13px;font-variant-numeric:tabular-nums;cursor:pointer}#photo-viewer .viewer-bottom p{margin:12px 0 0;color:#ada3bc;font-size:11px;line-height:1.5}
@media(max-height:460px){#photo-viewer .viewer-bar{padding-top:calc(var(--edge-top,0px) + 5px);padding-bottom:5px}#photo-viewer .viewer-bottom{padding-top:5px;padding-bottom:calc(var(--edge-bottom,0px) + 5px)}#photo-viewer .viewer-bottom p{display:none}}

.direct-ad-photo{display:block;width:100%;max-height:40dvh;object-fit:cover;border-radius:18px;margin-top:16px}.direct-ad{overflow-wrap:anywhere}.direct-ad .button{text-decoration:none}#dialog:has(.direct-ad){max-height:85dvh;overflow-y:auto}

.activity-label{font-size:13px;color:var(--muted);margin:8px 0;display:block;overflow-wrap:anywhere}
