:root{--bg:#f8f9f6;--paper:#fff;--ink:#202923;--muted:#718078;--line:#e4e9e2;--sage:#678d77;--soft:#ecf2eb;--strong:#25332b;--warm:#f8f2e7;--warm-line:#e9dcca;--error:#9c5f37;--radius:19px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.48;font-size:14px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(27px,3.5vw,39px);line-height:1.14;letter-spacing:-1.2px}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:15px}.muted,.lead,.soft-note{color:var(--muted)}small{font-size:11px}.topbar{height:69px;background:rgba(255,255,255,.92);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40;backdrop-filter:blur(12px)}.shell{width:min(1160px,calc(100% - 54px));margin:auto}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}.wordmark{font-size:22px;font-weight:870;letter-spacing:-1.1px;display:flex;align-items:baseline;gap:1px}.brand-dot{color:var(--sage)}.wordmark small{font-size:9px;font-weight:600;letter-spacing:1.1px;color:#96a69c;margin-left:11px}.header-private{font-size:10px;letter-spacing:1.5px;color:#89978d}.head-actions{display:flex;align-items:center;gap:14px}.points{border:1px solid var(--line);border-radius:50px;padding:6px 11px;font-weight:700;font-size:11px;letter-spacing:.5px}.round-action{border:1px solid var(--line);border-radius:50%;width:33px;height:33px;display:grid;place-items:center;color:var(--sage);font-size:18px}.shell-main{display:grid;grid-template-columns:202px minmax(0,1fr);gap:38px;padding-top:34px;padding-bottom:90px}.shell-main:has(.main-auth){display:block}.main{min-width:0}.sidebar{display:flex;flex-direction:column;gap:4px;position:sticky;top:99px;height:fit-content}.nav-heading,.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#87988c}.nav-heading{padding:8px 14px 13px}.sidebar>a{display:flex;gap:15px;align-items:center;padding:13px 14px;border-radius:12px;color:#69766f;font-size:13px}.sidebar>a:first-letter{font-size:19px}.sidebar>a.active,.sidebar>a:hover{background:var(--soft);color:#385746;font-weight:750}.side-foot{font-size:11px;color:#92a098;border-top:1px solid var(--line);padding:26px 13px;margin-top:20px}.side-foot span{float:right}.side-foot p{line-height:1.6;margin-top:10px}.notice{border:1px solid var(--warm-line);background:var(--warm);color:#725941;border-radius:14px;padding:13px 16px;font-size:12px;margin:0 0 24px}.notice-error{background:#fff3f0;color:#954c34;border-color:#f0d6cd}.auth-wrap{max-width:490px;margin:clamp(40px,9vh,100px) auto 60px}.auth-wrap.compact{margin-top:30px}.auth-wrap h1{font-size:clamp(37px,5vw,52px);letter-spacing:-2.5px;line-height:1.06;margin:13px 0 18px}.lead{max-width:420px;font-size:15px;line-height:1.9;margin-bottom:26px}.auth-card,.card{background:var(--paper);border:1px solid var(--line);box-shadow:0 10px 25px rgba(35,59,42,.025);border-radius:var(--radius);padding:27px}.auth-card{display:grid;gap:17px}label{display:block;font-weight:650;font-size:12px;color:#607568}label small{font-weight:400;color:#9ba79f}input:not([type=checkbox]):not([type=hidden]):not([type=file]),textarea,select{display:block;width:100%;border:1px solid #dfe7de;border-radius:12px;padding:12px 13px;min-height:45px;background:#f9faf8;color:var(--ink);outline:none;margin-top:6px;transition:border-color .15s}input:focus,textarea:focus,select:focus{border-color:#739d84!important;background:#fff!important}textarea{resize:vertical}input[type=file]{max-width:100%;display:block;margin:10px 0;font-size:12px}.check-row{display:flex;align-items:center;gap:10px;font-size:12px;color:#606e64;font-weight:450}.check-row input{accent-color:#527d62;width:15px;height:15px;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:41px;padding:10px 16px;border-radius:50px;font-weight:750;font-size:12px;text-align:center;border:1px solid var(--line);background:var(--paper);color:var(--ink);white-space:normal}.btn.primary{background:var(--strong);border-color:var(--strong);color:#fff}.btn.primary:hover{background:#3e5b49}.btn.secondary{background:var(--soft);border-color:var(--soft);color:#3b5f4a}.btn.danger{color:#9c513a;background:#fff4f1;border-color:#f0dcd5}.btn.full{width:100%;min-height:48px}.btn.tiny{min-height:29px;font-size:10px;padding:6px 12px}.auth-foot{display:flex;justify-content:space-between;font-size:10px;color:#98a69c;margin:17px 4px}.soft-note{font-size:12px;text-align:center;margin-top:26px}.soft-note a{text-decoration:underline}.page-title{font-size:30px;margin-bottom:12px}.section-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-bar h1{margin:0;font-size:27px}.section-bar>div{display:flex;align-items:baseline;gap:12px}.section-bar strong{font-size:17px}.section-bar small{color:#97a59b}.pill-link,.tiny-icon{background:var(--soft);color:#426750;border-radius:25px;padding:8px 14px;font-size:11px;font-weight:730}.story-strip{display:flex;gap:17px;overflow:auto;padding:0 0 14px;scrollbar-width:thin}.stories-section{border-bottom:1px solid var(--line);margin-bottom:22px;padding-bottom:16px}.story-item{min-width:66px;max-width:72px;display:flex;align-items:center;flex-direction:column;gap:5px;text-align:center;color:#718077;font-size:11px}.story-thumb{width:59px;height:59px;border:2px solid #8aa892;border-radius:50%;padding:3px;background:#fff}.story-thumb img{width:100%;height:100%;object-fit:cover;border-radius:50%}.story-item span{overflow:hidden;max-width:76px;text-overflow:ellipsis;white-space:nowrap}.tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:13px}.tabs a{font-size:11px;color:#61766a;padding:8px 14px;border-radius:30px;background:#eff2ed;font-weight:700}.tabs a.selected{background:var(--strong);color:#fff}.filters-box{margin:0 0 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;font-size:12px;color:#61776a}.filters-box summary{cursor:pointer}.filters-box form{padding:16px 0 4px;display:grid;gap:13px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.align-end{align-items:end}.form-row button{align-self:end}.people-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:14px;row-gap:25px}.profile-tile{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center}.profile-tile strong{font-size:13px;margin-top:8px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-tile small{color:#7c8b7f;font-size:10px}.tile-affinity{font-size:10px;color:#71907a;font-weight:700}.affinity-ring{width:min(100%,156px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;padding:5px;background:repeating-conic-gradient(from -90deg,transparent 0deg 26deg,var(--bg) 26deg 30deg),conic-gradient(from -90deg,#618a71 calc(var(--fill)*30deg),#e6ebe5 0);position:relative}.affinity-ring:after{content:"";position:absolute;inset:7px;border-radius:50%;border:4px solid var(--bg);pointer-events:none}.avatar{display:grid;place-items:center;overflow:hidden;border-radius:50%;width:100%;height:100%;background:#e8ede7;color:#899e8d}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.avatar-fallback{font-size:clamp(25px,4vw,54px);font-weight:750;opacity:.65;text-transform:uppercase}.profile-tile:hover .affinity-ring{box-shadow:0 7px 20px #58755a26}.empty-state{text-align:center;padding:52px 18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);color:#6f7f71}.empty-state h2,.empty-state h1{color:var(--ink)}.back-link{display:inline-flex;align-items:center;color:#637d6b;font-size:12px;font-weight:680;margin:0 0 22px}.profile-head{display:flex;align-items:center;gap:22px;margin-bottom:23px}.profile-head h1{margin:4px 0 9px}.profile-big-avatar{width:132px;flex-shrink:0;aspect-ratio:1}.avatar.big{border:5px solid #e0eae0}.affinity-label{color:#668a72;font-size:13px;font-weight:750}.photo-gallery{display:flex;gap:10px;overflow:auto;margin:12px 0 25px}.photo-gallery img{width:130px;height:155px;object-fit:cover;border-radius:13px}.profile-bio{line-height:1.8;max-width:660px;color:#56645a;margin:0 0 22px}.action-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:21px}.inline-form{display:inline-flex;align-items:center}.subheading{padding-top:15px;border-top:1px solid var(--line)}.kink-list{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0 27px}.kink-tag{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border:1px solid #dde8dc;background:#f0f5ef;border-radius:11px;font-size:12px;font-weight:750}.kink-tag small{color:#789080;font-weight:450}.profile-safety{border-top:1px solid var(--line);padding:15px 0;color:#8b9b8c;font-size:12px}.profile-safety summary{cursor:pointer}.profile-safety .stack{max-width:400px;margin:14px 0}.stack{display:grid;gap:16px}.card{margin-bottom:18px}.card h2{margin:6px 0 12px}.edit-tabs{margin-bottom:20px}.kink-editor{display:grid;gap:10px}.kink-row{display:grid;grid-template-columns:minmax(145px,1fr) minmax(140px,1fr) minmax(140px,1fr);gap:10px;align-items:center;border-top:1px solid var(--line);padding:9px 0}.kink-row strong{font-size:12px}.kink-row select{font-size:11px;margin:0;min-height:38px;padding:7px}.save-bottom{position:sticky;bottom:73px;z-index:10;width:min(100%,400px);justify-self:center}.photo-editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px}.photo-slot{border:1px solid var(--line);border-radius:12px;overflow:hidden;padding:10px}.photo-slot img{width:100%;height:130px;object-fit:cover;border-radius:8px}.photo-slot label{font-size:11px}.photo-slot .btn{font-size:10px}.story-view{max-width:560px;margin:auto;text-align:center}.story-view img{width:100%;max-height:75vh;object-fit:contain;border-radius:20px;background:#111}.story-view p{color:var(--muted);margin:14px}.thread-list{display:grid;gap:7px}.thread{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;align-items:center;gap:15px}.thread>div{display:flex;flex-direction:column;flex:1}.thread strong{font-size:13px}.thread small{color:var(--muted)}.thread-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--soft);font-size:25px;color:#52795b}.chat-head{border-bottom:1px solid var(--line);margin-bottom:18px;padding:0 0 13px}.chat-head h1{font-size:23px;margin:0}.chat-head small{color:#8e9b90}.chat-history{height:clamp(350px,51vh,640px);overflow:auto;display:flex;flex-direction:column;gap:12px;padding:12px 6px 18px}.bubble{max-width:min(80%,470px);padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:16px 16px 16px 4px;align-self:flex-start;overflow-wrap:anywhere}.bubble.mine{background:#e7eee7;align-self:flex-end;border-color:#e1ebdf;border-radius:16px 16px 4px 16px}.bubble>strong{display:block;font-size:10px;color:#6a8a73;margin-bottom:6px}.bubble>small{display:block;text-align:right;color:#91a094;margin-top:5px}.bubble .chat-image{max-width:250px;max-height:280px;width:100%;object-fit:cover;border-radius:10px;margin-top:10px}.chat-compose{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;display:grid;gap:9px}.chat-compose-bottom{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.chat-compose-bottom .btn{margin-left:auto}.attach-file{max-width:180px;overflow:hidden}.attach-file input{margin:3px 0}.check-row.small{font-size:11px}.lightbox{position:fixed;inset:0;z-index:200;background:rgba(14,24,16,.94);display:grid;place-items:center;padding:55px 18px;color:#fff}.lightbox[hidden]{display:none}.lightbox img{max-width:96vw;max-height:78vh;object-fit:contain}.lightbox-close{position:absolute;top:14px;right:22px;background:transparent;border:none;color:#fff;font-size:38px}.lightbox-timer{position:absolute;bottom:22px;font-size:12px}.split{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:9px 0;border-top:1px solid var(--line)}.split p{font-size:11px;margin:0}.couple-item{padding:14px 0;border-bottom:1px solid var(--line);display:grid;gap:12px}.couple-item .form-row{max-width:480px}.admin-row{padding:15px 0;display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.admin-row div:first-child{display:grid;gap:5px}.admin-row small{color:var(--muted)}.mobile-nav{display:none}
@media(max-width:920px){.shell{width:min(100% - 32px,780px)}.shell-main{grid-template-columns:155px minmax(0,1fr);gap:22px}.people-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sidebar>a{padding:12px 10px;font-size:12px}.kink-row{grid-template-columns:1fr 1fr}.kink-row strong{grid-column:1/-1}}
@media(max-width:670px){.shell{width:calc(100% - 28px)}.topbar{height:57px}.wordmark{font-size:20px}.wordmark small{font-size:8px;margin-left:7px}.header-private{font-size:8px}.shell-main{display:block;padding-top:22px;padding-bottom:110px}.sidebar{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:8px 9px max(8px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);z-index:80;justify-content:space-around;box-shadow:0 -6px 25px #1d34230e}.mobile-nav a{display:grid;text-align:center;gap:0;min-width:60px;color:#95a399;font-size:9px}.mobile-nav a span{font-size:23px;line-height:1.2}.mobile-nav a.active{color:#3f6e51;font-weight:800}.auth-wrap{max-width:470px;margin:55px auto 20px}.auth-wrap h1{font-size:clamp(35px,9.5vw,48px)}.auth-card{padding:21px}.people-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 13px}.affinity-ring{width:min(100%,150px)}.profile-tile strong{font-size:12px}.section-bar h1{font-size:24px}.form-row{grid-template-columns:1fr}.profile-big-avatar{width:100px}.profile-head{gap:14px}.profile-head h1{font-size:27px}.profile-head .eyebrow{font-size:9px}.photo-gallery img{width:105px;height:124px}.card{padding:20px}.kink-row{grid-template-columns:1fr}.kink-row strong{grid-column:auto}.kink-row select{min-width:0}.chat-history{height:48vh}.bubble{max-width:87%}.btn{font-size:11px}.admin-row{align-items:flex-start;flex-direction:column}}
@media(max-width:360px){.people-grid{gap:16px 8px}.profile-tile strong{font-size:11px}.story-item{min-width:60px}.auth-wrap h1{font-size:34px}}

.affinity-score-0{--fill:0}
.affinity-score-1{--fill:1}
.affinity-score-2{--fill:2}
.affinity-score-3{--fill:3}
.affinity-score-4{--fill:4}
.affinity-score-5{--fill:5}
.affinity-score-6{--fill:6}
.affinity-score-7{--fill:7}
.affinity-score-8{--fill:8}
.affinity-score-9{--fill:9}
.affinity-score-10{--fill:10}
.affinity-score-11{--fill:11}
.affinity-score-12{--fill:12}

/* KURGE 1.1 — Kink v2: categorie e scenari contestuali a scomparsa */
.kink-intro{max-width:710px;margin:0 0 21px}.kink-intro h2{font-size:clamp(19px,3vw,26px);margin:0 0 7px;letter-spacing:-.035em}.kink-intro p{margin:0;color:#778a7b;font-size:13px;line-height:1.7}.kink-v2-form{padding-bottom:78px}.kink-group-list{display:grid;gap:10px;max-width:830px}.kink-group{background:#fff;border:1px solid #e3e9e2;border-radius:16px;overflow:hidden}.kink-group>summary{list-style:none;display:flex;align-items:center;gap:12px;min-height:64px;padding:15px 18px;cursor:pointer}.kink-group>summary::-webkit-details-marker,.kink-item>summary::-webkit-details-marker{display:none}.kink-group>summary:hover,.kink-item>summary:hover{background:#f8faf7}.kink-group[open]>summary{border-bottom:1px solid #e7ece6}.kink-group-title{font-size:14px;font-weight:820;letter-spacing:.03em;flex:1}.kink-group-count{font-size:11px;color:#718475;white-space:nowrap}.kink-caret{font-size:21px;color:#7e9786;transition:transform .16s;display:inline-flex}.kink-group[open]>summary>.kink-caret,.kink-item[open]>summary>.kink-caret{transform:rotate(180deg)}.kink-group-inside{padding:9px 16px 16px;display:grid;gap:7px}.kink-item{border:1px solid #e5eae4;border-radius:12px;background:#fcfdfb;overflow:hidden}.kink-item>summary{list-style:none;display:flex;gap:8px;align-items:center;padding:13px 14px;cursor:pointer;min-height:51px}.kink-item-name{flex:1;font-weight:700;font-size:13px}.kink-current{font-size:10px;color:#728c76;background:#edf4ed;padding:6px 9px;border-radius:20px}.kink-selected .kink-current{background:#dfece0;color:#365e41}.kink-item-panel{border-top:1px solid #e9eee8;padding:15px;display:grid;gap:15px}.kink-choice-set{border:0;padding:0;margin:0;min-width:0}.kink-choice-set legend{padding:0 0 8px;font-weight:690;font-size:12px;color:#566a58}.kink-choice-set legend small{font-weight:400;color:#91a094}.kink-chips{display:flex;gap:7px;flex-wrap:wrap}.kink-chip{position:relative;cursor:pointer;display:inline-flex;max-width:100%}.kink-chip input{position:absolute;opacity:0;width:1px;height:1px}.kink-chip span{display:inline-flex;align-items:center;min-height:34px;padding:8px 11px;border-radius:18px;border:1px solid #dfe7de;background:#fff;color:#647366;font-weight:650;font-size:11px;line-height:1.3;transition:background-color .12s,border-color .12s,color .12s}.kink-chip input:checked+span{background:#e2f0e3;border-color:#8bac92;color:#32583e}.kink-chip input:focus-visible+span{outline:2px solid #345f45;outline-offset:3px}.kink-chip:hover span{border-color:#a7bca9}.kink-optional[hidden],.kink-scenario[hidden],.kink-add-scenario[hidden],.kink-privacy-hint[hidden]{display:none}.kink-specifics{display:grid;gap:13px;padding:12px 0;border-top:1px solid #ecf0ea}.kink-hint{font-size:11px;color:#7b8d7e;line-height:1.6}.kink-scenario{background:#f5f8f3;border:1px solid #e6eee4;border-radius:12px;padding:12px;display:grid;gap:12px}.kink-scenario-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#68816d;font-weight:750}.kink-remove-scenario{background:transparent;border:0;font-size:21px;color:#777;cursor:pointer}.kink-add-scenario{background:none;border:none;padding:6px 0;text-align:left;font-size:12px;font-weight:740;color:#487657;cursor:pointer;justify-self:start}.kink-hashtags{padding-top:12px;border-top:1px solid #ecf0ea}.kink-hashtag span{background:#f1f4f0;color:#586f5c}.kink-privacy-hint{font-size:11px;color:#667c69;margin:0;background:#f1f5f0;padding:10px;border-radius:10px}.kink-save-bar{position:sticky;bottom:70px;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(248,250,247,.97);padding:12px 8px;border-top:1px solid #dce6dc;margin-top:18px;backdrop-filter:blur(8px)}.kink-save-bar .btn{min-width:185px}.kink-save-bar .muted{font-size:11px}@media(max-width:670px){.kink-group-list{gap:9px}.kink-group>summary{padding:14px;min-height:60px}.kink-group-title{font-size:13px}.kink-group-inside{padding:8px 9px 12px}.kink-item-panel{padding:12px}.kink-save-bar{bottom:72px}.kink-save-bar .btn{min-width:155px}}

/* KURGE 1.2: searchable catalog with one-tap favorites; categories remain collapsed. */
.kink-tools{display:grid;gap:9px;max-width:830px;margin:0 0 15px}
.kink-search-label{font-size:11px;font-weight:700;color:#506a57}
.kink-search{width:100%;border:1px solid #dce6db;border-radius:13px;padding:13px 15px;font-size:14px;background:white;min-height:46px}
.kink-filter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.kink-filter-actions button{border:1px solid #dfe7dc;border-radius:25px;background:#fff;color:#617b67;padding:9px 13px;font-size:11px;font-weight:700;cursor:pointer}
.kink-filter-actions button[aria-pressed="true"]{background:#e1efe2;color:#315b3c;border-color:#8dbb99}
.kink-selection-count{font-size:11px;color:#708473;margin-left:auto}
.kink-item>summary{gap:6px}
.kink-quick-like{flex:0 0 auto;background:#fff;color:#64836a;border:1px solid #c9dacc;cursor:pointer;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-size:20px;line-height:1;min-width:30px}
.kink-quick-like:hover,.kink-selected .kink-quick-like{background:#e4f1e6;color:#396e45;border-color:#a2c2a8}
.kink-quick-like:focus-visible{outline:2px solid #365b42;outline-offset:2px}
.kink-current{flex:0 0 auto}
.kink-details-extra{padding:10px;border:1px solid #e8eee6;border-radius:12px}
.kink-details-extra>summary{cursor:pointer;list-style:none;font-size:11px;font-weight:750;color:#4d7158;display:flex;justify-content:space-between;align-items:center;gap:9px}
.kink-details-extra>summary::-webkit-details-marker{display:none}
.kink-details-extra[open]>summary{padding-bottom:11px}
.kink-details-extra .kink-specifics{padding-top:10px}
.kink-group[hidden],.kink-item[hidden]{display:none!important}
@media(max-width:670px){.kink-item>summary{padding:10px 9px}.kink-item-name{font-size:12px}.kink-current{font-size:9px}.kink-selection-count{margin-left:0}.kink-tools{position:relative}}

/* KURGE 1.3 preview — Radar 72h, grayscale presence, no precise mapping. */
.gps-indicator{border:1px solid var(--line);border-radius:50%;width:36px;height:36px;background:#f4f4f4;color:#888;display:grid;place-items:center;font-size:20px;font-weight:800}
.gps-indicator.gps-on{color:#22875a;background:#eff8f1;border-color:#a8d8b6}
.gps-indicator.gps-search{color:#be951f;background:#fdf7e6;border-color:#e6d69e}
.gps-indicator.gps-off{color:#8c9090;background:#f3f3f3;border-color:#dedede;text-decoration:line-through}
.vicini-controls{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;margin:12px 0}
.segmented{display:flex;padding:3px;background:#ededed;border-radius:30px;gap:2px}
.segmented a{min-height:34px;min-width:82px;display:grid;place-items:center;padding:8px 16px;font-size:12px;color:#666;border-radius:30px;font-weight:750}
.segmented a.selected{background:#303030;color:white}
.segmented.small a{min-width:auto;font-size:11px;padding:7px 11px}
.radar-hint{font-size:11px;color:#858585;margin:8px 0 14px;line-height:1.6}
.radar-canvas{width:min(100%,540px);aspect-ratio:1;position:relative;border:1px solid #e2e2e2;border-radius:50%;margin:24px auto 12px;overflow:hidden;background:radial-gradient(circle,#f9f9f9,#f3f3f3)}
.radar-rings{position:absolute;inset:11%;border:1px solid #dcdcdc;border-radius:50%;pointer-events:none}
.radar-rings:before,.radar-rings:after{content:'';position:absolute;border:1px solid #dedede;border-radius:50%;pointer-events:none}
.radar-rings:before{inset:20%}.radar-rings:after{inset:39%}
.radar-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#3d3d3d;color:white;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:13px}
.radar-person{position:absolute;top:var(--radar-y);left:var(--radar-x);transform:translate(-50%,-50%);width:clamp(36px,12%,56px);height:clamp(36px,12%,56px);border-radius:50%;border:3px solid #a7a7a7;box-shadow:0 1px 4px #0002;background:#fff}
.radar-person-online{border-color:#3eaa71}.radar-person-recent{opacity:.82}
.radar-person .radar-avatar{display:block;width:100%;height:100%;border-radius:50%;overflow:hidden}
.radar-person .radar-avatar img{width:100%;height:100%;object-fit:cover}
.radar-bolt{position:absolute;bottom:-5px;right:-6px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e3a45d;border:2px solid white;font-size:10px}
.tile-state{display:flex;align-items:center;gap:5px;font-size:10px;color:#999;margin-top:4px}
.presence-dot{width:7px;height:7px;border-radius:50%;background:#a1a1a1;flex:0 0 7px}.presence-dot.is-online{background:#3eaa71}
.profile-tile .affinity-ring{filter:grayscale(.88);padding:7px}
.profile-tile .tile-affinity{display:none}
.search-now{color:#b66d36}
@media(max-width:670px){.vicini-controls{gap:8px}.segmented{width:100%;justify-content:space-around}.segmented a{flex:1}.radar-canvas{margin-top:17px}.profile-tile strong{font-size:11px}}

.radar-person{border:4px solid transparent;background:linear-gradient(#fff,#fff) padding-box,conic-gradient(from -90deg,#454545 calc(var(--fill)*30deg),#cfcfcf 0) border-box}
.radar-person-online:after{content:"";position:absolute;right:-3px;top:-3px;width:10px;height:10px;background:#2d9d64;border:2px solid white;border-radius:50%}
.profile-big-avatar .affinity-ring{width:108px;max-width:100%;padding:7px;filter:grayscale(.9)}

/* KURGE 1.3 · Profilo Base | UI neutra, mobile-first, privacy per campo. */
.profile-edit-intro{margin:20px 0 12px}.profile-edit-intro h2{font-size:clamp(19px,3vw,25px);color:#282828;margin:7px 0}.profile-edit-intro p{max-width:640px;font-size:12px;line-height:1.75}
.profile-base-form{gap:10px;max-width:780px}
.profile-edit-section,.profile-accordion{background:white;border:1px solid #e6e6e6;border-radius:16px;overflow:hidden;margin:0 0 10px}
.profile-edit-section>summary,.profile-accordion>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:18px 20px;color:#292929}
.profile-edit-section>summary::-webkit-details-marker,.profile-accordion>summary::-webkit-details-marker{display:none}
.profile-edit-section>summary:after,.profile-accordion>summary:after{content:'⌄';font-size:23px;font-weight:400;line-height:1;color:#888;transform:translateY(-1px)}
.profile-edit-section[open]>summary:after,.profile-accordion[open]>summary:after{transform:rotate(180deg)}
.profile-edit-section>summary strong{display:block;font-size:15px}.profile-edit-section>summary small{display:block;font-size:11px;font-weight:450;color:#898989;margin-top:4px}
.profile-edit-body{padding:5px 20px 21px;display:grid;gap:17px;border-top:1px solid #f1f1f1}
.profile-edit-field{min-width:0}.profile-edit-field>label:not(.profile-share),.profile-edit-field>legend{font-size:12px;font-weight:750;color:#393939;padding:0;margin:0 0 2px}
.profile-edit-field input:not([type=checkbox]),.profile-edit-field select,.profile-edit-field textarea{background:#fafafa;color:#2b2b2b;border-color:#e3e3e3}
.profile-share{margin-top:7px;font-size:11px;font-weight:500;color:#777;display:flex;align-items:center;gap:7px;min-height:25px;cursor:pointer}
.profile-share input{accent-color:#464646;margin:0;width:15px;height:15px;flex:0 0 15px}
.profile-static-value{padding:11px 12px;background:#f6f6f6;border:1px solid #ececec;border-radius:12px;font-size:12px;color:#555}
.profile-multi{border:0;padding:0;margin:0;min-width:0}.profile-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 8px}
.profile-choice{display:block;position:relative;cursor:pointer}.profile-choice input{position:absolute;opacity:0;width:1px;height:1px}
.profile-choice span{display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 7px;min-height:41px;border:1px solid #e1e1e1;border-radius:11px;color:#575757;background:#fafafa;font-size:11px;font-weight:650;transition:background .15s,border-color .15s}
.profile-choice input:checked+span{background:#3a3a3a;color:#fff;border-color:#3a3a3a}
.profile-choice input:focus-visible+span{outline:2px solid #555;outline-offset:2px}
.profile-choice input:disabled+span{opacity:.45;cursor:not-allowed}
.profile-multi small{display:block}.profile-save-bar{position:sticky;bottom:70px;z-index:15;background:linear-gradient(transparent,rgba(248,249,246,.98) 18%);padding:17px 2px 7px}
.profile-save-bar .btn.primary{background:#303030;border-color:#303030}.profile-discovery{padding:16px;border:1px solid #dedede;background:#fff;border-radius:15px;align-items:flex-start}
.profile-discovery span small{display:block;color:#949494;font-size:11px;margin-top:3px;font-weight:400}
.profile-overview{background:#fff;padding:22px 19px 3px;border-radius:17px;border:1px solid #e7e7e7;margin-bottom:12px}
.profile-overview .profile-head{margin-bottom:14px}.profile-overview .profile-head h1{font-size:clamp(20px,3vw,29px);color:#262626;overflow-wrap:anywhere;margin:2px 0 7px}
.profile-identity{min-width:0}.profile-overview .profile-big-avatar{width:116px}.profile-overview .affinity-ring{width:100%;padding:8px}
.profile-overview .affinity-ring:after{inset:9px}.profile-overview .avatar.big{border:0}
.profile-presence{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#838383}.profile-presence small{font-size:11px}
.profile-tribes{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.profile-tribe{display:inline-flex;padding:4px 9px;font-size:10px;font-weight:650;border-radius:30px;background:#eee;color:#444}
.profile-overview .profile-bio{font-size:12px;margin:8px 0 19px;color:#626262;line-height:1.7}
.profile-overview .action-row{margin-bottom:15px}
.profile-accordion{padding-bottom:0}.profile-accordion>summary{font-size:14px;font-weight:770}.profile-accordion[open]{padding-bottom:17px}.profile-accordion>.muted{padding:4px 20px;font-size:12px}
.profile-accordion .kink-list,.profile-accordion .photo-gallery{margin:10px 20px}.profile-accordion .photo-gallery{padding-bottom:8px}.section-count{font-size:10px;color:#8a8a8a;font-weight:500;margin-left:auto;margin-right:14px}
.profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;padding:9px 20px 4px;margin:0}
.profile-facts div{min-width:0}.profile-facts dt{font-size:10px;font-weight:650;color:#909090;margin-bottom:3px}.profile-facts dd{font-size:12px;margin:0;color:#343434;overflow-wrap:anywhere}
.shared-kink-label{font-size:12px;margin:16px 20px 2px;color:#424242}.shared-kink-list .kink-tag{background:#e9ece9;border-color:#9caa9c;color:#293929}
.relationship-style-wrap[hidden]{display:none!important}
@media(max-width:670px){.profile-edit-section>summary,.profile-accordion>summary{padding:15px 14px}.profile-edit-body{padding:8px 14px 17px}.profile-overview{padding:17px 14px 1px}.profile-overview .profile-big-avatar{width:92px}.profile-facts{padding:9px 15px 3px}.profile-accordion .kink-list,.profile-accordion .photo-gallery{margin:9px 14px}.shared-kink-label{margin:14px 14px 1px}.profile-save-bar{bottom:66px}.profile-choice-grid{gap:6px}.profile-tribe{font-size:9px}}

.pronouns-custom-wrap[hidden]{display:none!important}

/* KURGE 1.3 beta.1 — minimal bianco/grigio, verde riservato allo stato online/GPS. */
:root{--bg:#f7f7f7;--paper:#fff;--ink:#292929;--muted:#747474;--line:#e5e5e5;--sage:#626262;--soft:#efefef;--strong:#333;--warm:#fbf8f2;--warm-line:#dedbd2}
body{color:#292929}.brand-dot{color:#555}.wordmark small{color:#999}.nav-heading,.eyebrow{color:#8d8d8d}
.sidebar>a{color:#777}.sidebar>a.active,.sidebar>a:hover{background:#ebebeb;color:#333}
.mobile-nav a{color:#919191}.mobile-nav a.active{color:#333}
.round-action{color:#666}.btn.primary:hover{background:#4b4b4b}
.btn.secondary,.tabs a,.pill-link,.tiny-icon{background:#ededed;border-color:#ededed;color:#4a4a4a}
.tabs a.selected{background:#383838;color:#fff}
input:focus,textarea:focus,select:focus{border-color:#888!important}
.kink-group{border-color:#e5e5e5}.kink-group>summary:hover,.kink-item>summary:hover{background:#f9f9f9}
.kink-group[open]>summary{border-color:#eee}.kink-item{background:#fff;border-color:#e8e8e8}
.kink-current{background:#f2f2f2;color:#666}.kink-selected .kink-current{background:#e4e4e4;color:#383838}
.kink-chip span{border-color:#e1e1e1;color:#525252}.kink-chip input:checked+span{background:#3d3d3d;color:white;border-color:#3d3d3d}
.kink-choice-set legend,.kink-hint,.kink-scenario-label{color:#666}.kink-scenario{background:#f8f8f8;border-color:#e9e9e9}
.kink-add-scenario{color:#444}.kink-intro p{color:#777}.kink-privacy-hint{background:#f4f4f4;color:#666}
.kink-save-bar{background:rgba(248,248,248,.97);border-color:#e3e3e3}
.kink-quick-like{color:#777}.kink-selected .kink-quick-like{color:#333}
.profile-tile .affinity-ring{filter:none;padding:7px;background:repeating-conic-gradient(from -90deg,transparent 0deg 26deg,#f7f7f7 26deg 30deg),conic-gradient(from -90deg,#4b4b4b calc(var(--fill)*30deg),#d6d6d6 0)}
.profile-overview .affinity-ring{filter:none;background:repeating-conic-gradient(from -90deg,transparent 0deg 26deg,#f7f7f7 26deg 30deg),conic-gradient(from -90deg,#424242 calc(var(--fill)*30deg),#d5d5d5 0)}
.gps-indicator:focus-visible,.segmented a:focus-visible,.kink-quick-like:focus-visible{outline:2px solid #383838;outline-offset:2px}
@media(max-width:670px){.people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 15px}.profile-tile strong{font-size:12px}}


/* KURGE 1.3.1 beta.2 — bordo affinità fine + indicatori foto coerenti. */
.profile-tile .affinity-ring,.profile-overview .affinity-ring{
  padding:2px!important;box-shadow:none!important;
  background:conic-gradient(from -90deg,#626870 calc(var(--fill)*30deg),#d9dcdf 0)!important;
}
.affinity-ring:after,.profile-overview .affinity-ring:after{display:none!important}
.profile-overview .avatar.big{border:0!important}
.portrait-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;max-width:100%;vertical-align:middle}
.profile-tile .portrait-wrap{width:min(100%,156px);aspect-ratio:1}
.profile-tile .affinity-ring{width:100%;height:100%}
.profile-big-avatar.portrait-wrap{display:flex;width:116px;flex-shrink:0}
.profile-big-avatar .affinity-ring{width:100%;height:100%;filter:none!important}
/* Tre significati: bordo = affinità, pallino pieno = online, anello vuoto = storia. */
.portrait-indicators{display:inline-flex;align-items:center;gap:2px;position:absolute;right:-3px;bottom:2px;z-index:3;background:#fff;border-radius:50px;padding:3px 3px;box-shadow:0 0 0 1px #ffffffc9}
.indicator-status,.indicator-story{display:block;flex:0 0 auto;width:9px;height:9px;border-radius:100%;box-sizing:border-box}
.indicator-status.status-online{background:#2fa366}
.indicator-status.status-offline{background:#363636}
.indicator-story{border:2px solid #2fa366;background:white}
.radar-person{border:2px solid transparent!important;background:linear-gradient(white,white) padding-box,conic-gradient(from -90deg,#626870 calc(var(--fill)*30deg),#d9dcdf 0) border-box!important;overflow:visible!important;box-shadow:0 1px 4px #0002}
.radar-person .radar-avatar{overflow:hidden}
.radar-person-online{border-color:transparent!important}
.radar-person-online:after{content:none!important}
.radar-person .portrait-indicators{right:-5px;bottom:-4px;padding:2px;gap:1px}
.radar-person .indicator-status,.radar-person .indicator-story{width:7px;height:7px}
.radar-person .indicator-story{border-width:1.5px}
.profile-tile .tile-state{font-size:10px;margin-top:3px;color:#626262}
.profile-presence .presence-dot.is-recent{background:#363636}

/* Messaggi: avatar reali, doppia miniatura per coppie e composer leggero. */
.thread{gap:12px;min-height:66px;padding:12px}
.thread-portraits,.chat-head-portraits{display:flex;flex-shrink:0;align-items:center;min-width:48px}
.chat-portrait{position:relative;width:48px;height:48px;border-radius:50%;background:#f1f1f1;box-shadow:0 0 0 2px white}
.thread-portraits .chat-portrait+.chat-portrait,.chat-head-portraits .chat-portrait+.chat-portrait{margin-left:-16px}
.chat-portrait>.avatar{width:100%;height:100%}
.chat-portrait .portrait-indicators{right:-4px;bottom:-2px;transform:scale(.82);transform-origin:right bottom}
.thread>div:not(.thread-portraits){min-width:0}
.thread strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-head-main{display:flex;align-items:center;gap:12px}
.chat-head h1{font-size:clamp(15px,4vw,21px);overflow-wrap:anywhere}
.chat-head-portraits .chat-portrait{width:42px;height:42px}
.bubble-author{display:flex;align-items:center;gap:7px;margin-bottom:5px}
.bubble-author .bubble-avatar{width:22px;height:22px;flex-shrink:0}
.bubble-author .avatar-fallback{font-size:11px}
.bubble-author strong{font-size:11px}
.chat-compose{padding:10px 12px;gap:0}
.chat-compose-main{display:flex;gap:9px;align-items:center;width:100%}
.chat-text-label{margin:0;flex:1;min-width:0}
.chat-text-label textarea{display:block;resize:vertical;min-height:42px;max-height:140px;padding:11px 12px;line-height:1.4;font-size:14px;border-radius:20px}
.attach-plus{display:flex;align-items:center;justify-content:center;flex:0 0 41px;width:41px;height:41px;background:#efefef;border-radius:50%;color:#303030;font-size:29px;font-weight:450;line-height:1;cursor:pointer;user-select:none}
.attach-plus:focus-visible{outline:2px solid #444;outline-offset:2px}
.visually-hidden-file{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden;clip-path:inset(50%);pointer-events:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chat-send{white-space:nowrap;flex-shrink:0;padding:12px 14px;font-size:12px}
.chat-send[disabled]{opacity:.65}
.chat-photo-preview{margin:10px 0 2px;display:flex;align-items:center;gap:12px;border:1px solid #e7e7e7;background:#fafafa;padding:8px;border-radius:13px}
.chat-photo-preview[hidden],.chat-photo-error[hidden]{display:none!important}
.chat-photo-preview>img{width:58px;height:58px;object-fit:cover;border-radius:8px;flex-shrink:0;background:#ddd}
.chat-photo-preview>div{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.chat-photo-preview strong{font-size:12px}
.chat-photo-preview small{font-size:11px;color:#666}
.chat-photo-remove{width:32px;height:32px;flex-shrink:0;background:white;border:1px solid #ddd;border-radius:50%;font-size:20px;cursor:pointer;color:#444}
.chat-photo-error{color:#9c2c2c;font-size:12px;margin:7px 2px 0}
@media(max-width:670px){.profile-big-avatar.portrait-wrap{width:92px}.portrait-indicators{right:-3px;bottom:1px}.chat-compose{padding:9px}.chat-compose-main{gap:6px}.attach-plus{width:37px;height:37px;flex-basis:37px}.chat-send{padding:11px 12px}.thread-portraits .chat-portrait{width:43px;height:43px}}

/* KURGE 1.3.2 beta.3 — a single status dot after the name;
   a story is a thin concentric green ring OUTSIDE that dot. */
.presence-marker{position:relative;display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;flex:0 0 16px;width:16px;height:16px;isolation:isolate}
.presence-marker-dot{width:8px;height:8px;border-radius:50%;display:block;flex:none;background:#393939}
.presence-marker-dot.status-online{background:#2fa366}
.presence-marker-dot.status-offline{background:#393939}
.presence-marker.has-story:after{content:"";position:absolute;inset:0;border:1.5px solid #2fa366;border-radius:50%;pointer-events:none}
.profile-tile-name{display:flex;max-width:100%;align-items:center;justify-content:center;gap:2px;margin-top:7px;min-width:0}
.profile-tile-name strong{display:block;margin-top:0!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-tile-name .presence-marker{flex-shrink:0}
.profile-title-line{display:flex;align-items:center;gap:7px;min-width:0}
.profile-title-line h1{min-width:0;margin:2px 0 7px!important}
.profile-title-line .presence-marker{margin-top:-4px;flex-shrink:0}
.profile-presence .presence-dot{display:none}
/* Affinity is separate from status: thin blue-petrol arc, neutral remainder,
   a white 3px breathing space BEFORE the actual photograph. */
.profile-tile .affinity-ring,.profile-overview .affinity-ring{
  padding:2.5px!important;filter:none!important;
  background:conic-gradient(from -90deg,#477f91 calc(var(--fill)*30deg),#d3dfe3 0)!important;
  box-shadow:none!important;
}
.profile-tile .affinity-ring>.avatar,.profile-overview .affinity-ring>.avatar,
.profile-overview .affinity-ring>.avatar.big{border:3px solid white!important;background-clip:padding-box}
.profile-overview .affinity-ring:after,.affinity-ring:after{display:none!important}
/* Radar avatars: same affinity styling; caption is the ONLY position for the dot. */
.radar-person{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;
 width:clamp(43px,13%,60px)!important;height:auto!important;min-height:43px;border:0!important;
 background:none!important;box-shadow:none!important;overflow:visible!important;padding:0!important;
 text-align:center;z-index:2;opacity:1!important}
.radar-affinity-shell{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;border-radius:50%;padding:2.5px;
 background:conic-gradient(from -90deg,#477f91 calc(var(--fill)*30deg),#d3dfe3 0)!important}
.radar-person .radar-avatar{width:100%;height:100%;border:3px solid white;border-radius:50%;overflow:hidden;box-shadow:0 1px 5px #0002}
.radar-caption{display:flex;align-items:center;justify-content:center;gap:0;max-width:84px;min-width:0;margin-top:3px;padding:1px 4px;
 border-radius:8px;background:rgba(255,255,255,.94);line-height:1.2;box-shadow:0 1px 2px #00000012}
.radar-caption-name{max-width:63px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:700;color:#353535}
.radar-caption .presence-marker{transform:scale(.78);transform-origin:center;flex-basis:14px;width:14px;margin-left:1px}
.radar-person .radar-bolt{top:-5px;right:-5px;bottom:auto;width:17px;height:17px;font-size:9px}
.radar-person-online:after{content:none!important}
/* Chat avatars are portraits only; status is beside each participant name. */
.chat-portrait .portrait-indicators,.portrait-wrap>.portrait-indicators{display:none!important}
.thread-names,.chat-head-names{display:flex!important;align-items:center;gap:3px;min-width:0;flex-wrap:wrap;line-height:1.3}
.thread-name{display:inline-flex;gap:2px;align-items:center;min-width:0;white-space:nowrap;max-width:100%;vertical-align:middle}
.thread-name .presence-marker{flex-shrink:0}
.name-divider{color:#999;margin:0 2px}
.chat-head .thread-name{font-size:inherit}
/* Avoid relayout and request every original on first painting. */
.people-grid .profile-tile,.people-grid .avatar{content-visibility:auto;contain-intrinsic-size:auto 185px}
.people-grid .avatar img,.thread-portraits .avatar img,.chat-portrait .avatar img{aspect-ratio:1;object-fit:cover}
@media(max-width:670px){.profile-tile-name{gap:1px}.profile-tile-name strong{font-size:12px}.profile-overview .affinity-ring>.avatar{border-width:3px!important}.radar-caption-name{font-size:9px}.profile-title-line{gap:4px}}
/* Fine spacing requested for story: 9px dot, 14px ring => approx. 1px clear gap. */
.presence-marker{width:14px;height:14px;flex-basis:14px}
.presence-marker-dot{width:9px;height:9px}

.upload-image-status{display:block;font-weight:500;font-size:11px;margin-top:5px;color:#537263}.upload-image-status[hidden]{display:none}.upload-image-error{color:#a13f36}

/* KURGE 1.4 · Onboarding, quick stories and reversible privacy controls */
.story-row{display:flex;gap:12px;align-items:flex-start;max-width:100%;min-width:0}
.story-row .story-strip{display:flex;gap:12px;overflow-x:auto;min-width:0;flex:1;padding:1px 0 5px}
.story-add-item{cursor:pointer;flex-shrink:0;display:flex;align-items:center;flex-direction:column;gap:4px;font-size:10px;color:#404040;min-width:61px}
.story-add-circle{display:grid;place-items:center;width:59px;height:59px;border-radius:50%;background:#fff;border:1px solid #696969;font-size:31px;line-height:1;font-weight:300}
.story-fast-form:has(.story-fast-preview[hidden]){margin:0}.story-fast-preview{margin:10px 0 15px;padding:12px;border:1px solid #d8d8d8;border-radius:13px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:white}
.story-fast-preview[hidden]{display:none}.story-fast-preview img{width:70px;height:70px;object-fit:cover;border-radius:10px}.story-fast-preview>div{flex:1;min-width:80px}.story-fast-preview small{display:block;color:#777}
.profile-visibility-toggle{border:1px solid #ddd;border-radius:999px;background:#fff;font-size:11px;font-weight:700;padding:6px 11px;color:#3b3b3b}
.profile-visibility-toggle[aria-pressed="true"]{background:#333;color:#fff;border-color:#333}
.profile-subtitle{font-size:14px;border-top:1px solid #eee;padding-top:14px;margin:5px 0 0}
.selection-chips{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 18px}.selection-chip{position:relative;cursor:pointer}.selection-chip input{position:absolute;opacity:0;pointer-events:none}.selection-chip span{border:1px solid #ccc;border-radius:999px;padding:9px 12px;background:#fff;display:block;font-size:12px}
.selection-chip input:checked+span{background:#333;color:#fff;border-color:#333}.selection-chip input:focus-visible+span{outline:3px solid #96aebe;outline-offset:2px}
.onboarding-shell{max-width:560px;margin:18px auto 30px}.onboarding-progress{display:flex;gap:5px;margin:20px 0}.onboarding-progress span{height:4px;border-radius:4px;background:#ddd;flex:1}.onboarding-progress span.current{background:#454545}.onboarding-card{padding:23px;background:white;border:1px solid #e6e6e6;border-radius:18px}.onboarding-card label{display:grid;gap:6px}.onboarding-actions{display:flex;gap:10px;justify-content:space-between;margin:14px 0}
.kink-reserved-note{font-size:11px;color:#666;padding:8px;background:#f5f5f5;border-radius:9px}
@media(max-width:670px){.story-add-item{min-width:56px}.story-add-circle{height:54px;width:54px}.onboarding-card{padding:16px}.onboarding-shell h1{font-size:26px}.edit-tabs{flex-wrap:nowrap;overflow-x:auto}.edit-tabs a{flex-shrink:0}}

/* KURGE 1.4.1 Beta 2 — 3-column mobile discovery, compact profile and inline interests. */
.people-pages{display:flex;align-items:center;justify-content:center;gap:12px;margin:20px auto 5px;flex-wrap:wrap;color:#686868;font-size:12px}
.people-pages .btn{min-height:35px;padding:8px 13px}
.edit-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;overflow:visible;max-width:100%}
.edit-tabs a{display:grid;place-items:center;text-align:center;min-width:0;padding:10px 4px;white-space:nowrap}
.profile-overview{padding-bottom:5px}
.profile-head.compact-profile-head{display:grid;grid-template-columns:110px minmax(0,1fr);gap:15px;align-items:start;margin-bottom:10px}
.compact-profile-head .profile-big-avatar{width:108px;max-width:100%}
.compact-profile-head .profile-identity{min-width:0}
.compact-profile-head .profile-title-line{display:flex;align-items:center;gap:5px;min-width:0}
.compact-profile-head .profile-title-line h1{font-size:clamp(18px,3.2vw,27px);margin:0!important;line-height:1.18;overflow-wrap:anywhere}
.compact-profile-head .profile-presence{min-height:0;margin:4px 0}
.profile-top-facts{display:grid;gap:3px;margin:6px 0 5px;min-width:0}
.profile-top-facts>div{display:flex;gap:6px;align-items:baseline;min-width:0;font-size:11px;line-height:1.35}
.profile-top-facts dt{font-size:10px;color:#888;white-space:nowrap}
.profile-top-facts dd{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#353535;font-weight:600}
.compact-profile-head .profile-tribes{margin:6px 0 0;gap:4px}
.compact-profile-head .profile-tribe{font-size:10px;padding:3px 6px}
.profile-overview .profile-bio{margin:6px 0 10px;font-size:12px}
.profile-quick-actions{display:flex;flex-wrap:nowrap;gap:6px;margin:10px 0 13px!important}
.profile-quick-actions>.btn,.profile-quick-actions>.inline-form{flex:1 1 0;min-width:0}
.profile-quick-actions>.inline-form .btn{width:100%;min-width:0}
.profile-quick-actions .btn{font-size:11px;min-height:38px;padding:7px 4px;border-radius:12px;white-space:nowrap}
.kink-tag-actionable{gap:5px;min-width:0}
.quick-interest-form{display:flex;gap:4px;align-items:center;flex-wrap:wrap;max-width:100%;margin-top:2px}
.quick-interest-form .quick-interest-add{font-size:10px;font-weight:700;border:1px solid #b8c5c7;color:#3d6470;background:#fff;border-radius:16px;padding:4px 9px;min-height:29px;white-space:nowrap}
.quick-interest-add.added{background:#edf4ee}
.quick-interest-form .quick-role{width:100%;font-size:10px;font-weight:500;color:#585858}
.quick-interest-form .quick-role select{font-size:11px;min-height:33px;padding:4px 7px;margin:2px 0}
.quick-feedback{font-size:10px;line-height:1.3;color:#3e7650;max-width:100%}
.interest-already{color:#42765d;font-size:12px}
.private-added-kinks{border:1px solid #e0e5e5;background:#f7f8f8;border-radius:15px;padding:15px;margin:15px 0}
.private-added-kinks h3{margin-bottom:4px}
.private-added-kink{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #e5e7e7;padding:9px 0}
.private-added-kink span{font-size:12px}
@media(max-width:670px){
.people-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:9px!important;row-gap:18px!important}
.profile-tile-name{max-width:100%;gap:2px!important}
.profile-tile-name strong{font-size:clamp(10px,2.6vw,12px)!important;max-width:calc(100% - 15px)}
.profile-tile .affinity-ring{width:100%;max-width:115px}
.profile-tile .presence-marker{flex:0 0 14px}
.edit-tabs{gap:5px;overflow:visible!important}
.edit-tabs a{padding:9px 2px!important;font-size:11px!important;flex-shrink:1!important}
.profile-head.compact-profile-head{grid-template-columns:104px minmax(0,1fr);gap:12px}
.compact-profile-head .profile-big-avatar{width:102px}
.compact-profile-head .profile-title-line h1{font-size:19px!important}
.profile-overview{padding:12px 10px 3px}
.profile-overview .profile-quick-actions .btn{font-size:11px!important}
}
@media(max-width:370px){
.people-grid{column-gap:6px!important}
.profile-tile-name strong{font-size:10px!important}
.profile-head.compact-profile-head{grid-template-columns:86px minmax(0,1fr);gap:10px}
.compact-profile-head .profile-big-avatar{width:85px}
.compact-profile-head .profile-title-line h1{font-size:17px!important}
.profile-top-facts dt{display:none}
}

.interest-add-picker summary{list-style:none;cursor:pointer;font-weight:700;font-size:10px;color:#3d6470;padding:4px 0}
.interest-add-picker summary::-webkit-details-marker{display:none}
.interest-add-picker .quick-interest-form{padding-top:4px}

/* KURGE 1.4.2 — compact, accessible interest language; no cache or data-model changes. */
.interest-guide{margin:9px 0 13px;padding:10px 12px;border:1px solid #e0e4e3;border-radius:13px;background:#fafafa;max-width:760px}
.interest-guide>summary{font-size:12px;font-weight:730;color:#404748;cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;min-height:28px}
.interest-guide>summary::-webkit-details-marker{display:none}
.interest-guide-grid{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 8px}
.interest-guide-chip{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:10px;padding:8px 12px;font-size:13px;line-height:1.2}
.interest-guide-chip small{font-size:11px;margin-left:5px}
.interest-guide-note{font-size:11px;color:#60676b;line-height:1.55;margin:6px 0 1px}
/* Shared visual semantics: never rely on colour alone. */
.interest-level-top{background:#dcece0!important;color:#294e37!important;border-color:#adc9b5!important;font-weight:780!important}
.interest-level-like{background:#f8f8f6!important;color:#303030!important;border-color:#d8d8d5!important;font-weight:550!important}
.interest-level-curious{background:#e9edf0!important;color:#56616a!important;border-color:#cfd5d9!important;font-weight:500!important;font-style:italic}
.interest-level-limit{background:#e5e5e5!important;color:#666!important;border-color:#d0d0d0!important;text-decoration:line-through}
/* Profiles: no large caption or repeated "Aggiungi". */
.profile-accordion .kink-list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:7px;margin-top:10px;margin-bottom:7px}
.profile-accordion .shared-kink-label{margin-top:11px;margin-bottom:5px;font-size:11px}
.interest-pill{display:inline-flex;align-items:center;gap:3px;min-height:34px;max-width:100%;padding:4px 7px 4px 12px;border:1px solid #dedede;border-radius:11px;font-size:13px;line-height:1.3;vertical-align:middle;position:relative;white-space:normal}
.interest-pill-name{overflow-wrap:anywhere}
.interest-pill .quick-interest-form{display:inline-flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:2px!important;margin:0!important;width:auto!important}
.interest-pill .quick-interest-add,.interest-add-picker>summary{display:grid!important;place-items:center;flex-shrink:0;border:0!important;background:transparent!important;color:inherit!important;font-size:19px!important;font-weight:500!important;border-radius:50%!important;min-width:30px!important;width:30px!important;height:34px!important;padding:0!important;min-height:34px!important;line-height:1!important;cursor:pointer}
.interest-pill .quick-interest-add:focus-visible,.interest-add-picker>summary:focus-visible{outline:2px solid #344b52;outline-offset:2px}
.interest-pill .quick-interest-add.added{font-size:16px!important}
.interest-pill .interest-add-picker{position:relative;display:inline-flex;align-items:center;flex-direction:column;max-width:100%}
.interest-pill .interest-add-picker[open]{z-index:15}
.interest-pill .interest-add-picker>form{position:absolute;top:100%;right:0;min-width:190px;max-width:min(260px,80vw);background:#fff;border:1px solid #d8d8d8;box-shadow:0 6px 20px #0002;border-radius:12px;padding:10px;display:grid!important;gap:6px!important;color:#2a2a2a}
.interest-pill .quick-role select{min-height:36px;margin:4px 0}
.interest-pill .quick-role-submit{min-height:36px;border-radius:9px;background:#313c40;color:white;border:0;font-size:12px;font-weight:700;padding:8px 12px}
.interest-pill .quick-feedback{position:absolute;left:0;bottom:-17px;font-size:10px;background:white;box-shadow:0 1px 4px #0001;border-radius:6px;white-space:nowrap;max-width:min(220px,70vw);overflow:hidden;text-overflow:ellipsis;z-index:5}
/* Editor: compact tags grouped in a line; tap to reveal optional controls. */
.kink-group-inside{display:flex!important;flex-wrap:wrap;align-items:flex-start;gap:7px!important;padding:12px!important}
.kink-item{display:inline-flex!important;flex-direction:column;align-self:start;min-width:0;max-width:100%;border:1px solid #d8d8d5!important;border-radius:11px!important;background:#f8f8f6!important;overflow:visible!important}
.kink-item>summary{display:inline-flex!important;align-items:center;min-height:36px!important;padding:7px 12px!important;border-radius:10px;line-height:1.25}
.kink-item .kink-item-name{font-size:13px!important;font-weight:550!important;flex:none;overflow-wrap:anywhere}
.kink-item .kink-current,.kink-item .kink-quick-like,.kink-item>summary>.kink-caret{display:none!important}
.kink-item[data-level="top"]{background:#dcece0!important;border-color:#adc9b5!important;color:#294e37!important}
.kink-item[data-level="top"] .kink-item-name{font-weight:780!important}
.kink-item[data-level="like"]{background:#f8f8f6!important;border-color:#d8d8d5!important;color:#303030!important}
.kink-item[data-level="curious"]{background:#e9edf0!important;border-color:#cfd5d9!important;color:#56616a!important}
.kink-item[data-level="curious"] .kink-item-name{font-style:italic}
.kink-item[data-level="limit"]{background:#e5e5e5!important;border-color:#d0d0d0!important;color:#666!important}
.kink-item[data-level="limit"] .kink-item-name{text-decoration:line-through}
.kink-item[open]{width:100%;background:#fff!important;border-color:#bbc6c1!important}
.kink-item[open]>summary{background:#f6f8f6;border-bottom:1px solid #e5eae7;border-radius:10px 10px 0 0;width:100%}
.kink-item[open] .kink-item-panel{width:100%;padding:12px!important;gap:10px!important}
.kink-level-choices .kink-chip input[value="top"]:checked+span{background:#dcece0!important;color:#294e37!important;border-color:#adc9b5!important;font-weight:800}
.kink-level-choices .kink-chip input[value="like"]:checked+span{background:#f8f8f6!important;color:#303030!important;border-color:#d8d8d5!important;font-weight:600}
.kink-level-choices .kink-chip input[value="curious"]:checked+span{background:#e9edf0!important;color:#56616a!important;border-color:#cfd5d9!important;font-style:italic}
.kink-level-choices .kink-chip input[value="limit"]:checked+span{background:#e5e5e5!important;color:#666!important;border-color:#d0d0d0!important;text-decoration:line-through}
.kink-level-choices .kink-chip span{font-size:12px;min-height:38px;font-weight:500}
/* General preferences have binary status for now; don't invent additional levels. */
.intimacy-editor .profile-choice-grid{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin:12px 0 8px!important}
.intimacy-editor .profile-choice{display:inline-flex!important;max-width:100%}
.intimacy-editor .profile-choice span{min-height:39px!important;width:auto!important;padding:8px 12px!important;font-size:13px!important;font-weight:500!important;border-radius:11px!important}
.intimacy-editor .profile-choice input:checked+span{background:#dcece0!important;color:#294e37!important;border-color:#adc9b5!important;font-weight:700!important}
/* Onboarding keeps chips compact; users make a binary selection only. */
.onboarding-shell .selection-chips{gap:7px;margin:9px 0 15px}
.onboarding-shell .selection-chip span{border-radius:11px;padding:9px 11px;min-height:38px;font-size:13px}
.onboarding-shell .selection-chip input:checked+span{background:#dcece0;color:#294e37;border-color:#adc9b5;font-weight:700}
@media(max-width:670px){.interest-pill{font-size:13px;padding:3px 5px 3px 10px}.kink-group-inside{padding:9px!important;gap:6px!important}.kink-item>summary{padding:7px 10px!important}.kink-item .kink-item-name{font-size:13px!important}}
@media(prefers-color-scheme:dark){.interest-guide{background:#f3f4f3;color:#252d2a}.interest-guide>summary,.interest-guide-note{color:#36423a}}

/* Final 1.4.2 refinements: hide successful status text, show errors only. */
.interest-guide-chip.interest-level-limit{text-decoration:none!important}
.interest-pill .quick-feedback:not(.error){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;padding:0!important;border:0!important}
.interest-pill .quick-feedback.error{color:#913c35;background:#fff3f2;padding:5px 7px;border:1px solid #e7bdb7;white-space:normal}

/* 1.4.2-beta.5: small, viewport-contained feedback rather than inline error panels. */
.kurge-quick-toast{position:fixed;bottom:calc(83px + env(safe-area-inset-bottom, 0px));left:50%;transform:translateX(-50%);z-index:2000;width:max-content;max-width:min(350px,calc(100vw - 28px));box-sizing:border-box;padding:10px 14px;border-radius:11px;border:1px solid #e8c4c1;background:#fff7f6;color:#78342f;font-size:13px;font-weight:500;line-height:1.35;box-shadow:0 5px 20px #0000001c;overflow-wrap:anywhere;text-align:center}
.kurge-quick-toast[hidden]{display:none!important}
