:root{--wine:#115e9d;--rose:#e9f2f9;--line:#bed7ec;--blue:#0056db}
body{background:#f6fafd;color:#292a30;font:16px/1.5 "Segoe UI",Sylfaen,Arial,sans-serif}
.touch-shell{width:min(100% - 32px,480px);margin:24px auto;border:1px solid #8cb5d6;border-radius:12px;overflow:clip;background:#fffdfd;box-shadow:0 3px 18px #115e9d09}
.touch-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 16px 14px;background:#fffdfd}
.touch-logo{display:flex;align-items:flex-start;gap:9px;color:var(--wine);text-decoration:none;min-width:0}
.touch-logo>svg{width:37px;height:37px;fill:var(--wine);flex-shrink:0;margin-top:6px}
.touch-logo strong{font:bold 39px/1.15 Georgia,"Times New Roman",serif;letter-spacing:-1px;display:block}
.touch-logo small{display:block;font-size:13px;line-height:1.5;color:#5c5b60;letter-spacing:0}
.touch-more summary{list-style:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;cursor:pointer;border-radius:6px}
.touch-more summary::-webkit-details-marker{display:none}
.touch-more summary svg{width:28px;height:28px;fill:none;stroke:var(--wine);stroke-width:2.6;stroke-linecap:round}
.touch-more[open] summary{background:var(--rose)}
.touch-more nav{position:absolute;right:10px;top:calc(100% - 5px);z-index:10;width:min(300px,calc(100% - 20px));max-height:65dvh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 24px #115e9d20}
.touch-more nav a,.touch-more nav button{display:flex;align-items:center;width:100%;min-height:48px;padding:10px 16px;color:var(--blue);background:white;border:0;border-bottom:1px solid #dceaf5;text-align:left;margin:0;border-radius:0;font:inherit;text-decoration:none}
.touch-more nav a:hover,.touch-more nav button:hover{background:#f3f8fc}
.touch-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--rose);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 16px;min-height:48px}
.touch-tabs a{display:flex;align-items:center;gap:8px;min-height:48px;color:var(--blue);font-size:16px;text-decoration:none}
.touch-tabs a[aria-current]{border-bottom:3px solid var(--blue);padding-top:3px;font-weight:600}
.touch-tabs a:last-child{text-decoration:underline}.touch-tabs span{font-size:28px;text-decoration:none;line-height:1}
main,main.home{width:auto;margin:0;padding:20px;text-align:left;font:inherit}
main.home{padding:0}
.home h1.touch-slogan{margin:0;padding:12px 10px;text-align:center;font-size:20px;font-weight:600;color:var(--wine);background:#eef5fa;line-height:1.5}
.home-portraits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:12px 16px 16px;margin:0;align-items:start}
.home-portraits figure{margin:0;min-width:0;text-align:center}
.home-portraits figure>a{display:block;border-radius:8px}
.home-portraits img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px;margin:0}
.home-portraits figcaption{font-size:18px;margin-top:3px}
.home-portraits figcaption>a{display:inline-flex;align-items:center;justify-content:center;min-height:35px;font-weight:600;text-decoration:none;color:var(--blue)}
.home-portraits small{display:block;color:#68666c;font-size:12px;line-height:1.5}.home-portraits small svg{color:#8a888c}
.portrait-placeholder{display:grid;place-items:center;aspect-ratio:1;background:#e5eef6;border-radius:8px;color:#115e9d}.portrait-placeholder svg{width:65px;height:65px}
.touch-section-title{font-size:20px;line-height:1.5;font-weight:600;margin:0;background:var(--rose);border-top:1px solid var(--line);padding:9px 16px;color:var(--wine)}
.home .touch-main-menu>a{display:flex;align-items:center;gap:14px;min-height:56px;padding:5px 16px;border-bottom:1px solid var(--line);font-size:18px;text-decoration:none;color:var(--blue);line-height:1.35}
.touch-main-menu>a:nth-child(even){background:#fafcfd}
.touch-main-menu>a:hover,.touch-main-menu>a:active{background:#e8f1f8}
.touch-main-menu>a>span:not(.touch-icon){overflow-wrap:anywhere}
.touch-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:7px;background:#e9f1f8;color:var(--wine)}
.touch-icon .field-icon{width:25px;height:25px;color:var(--wine);margin:0;stroke-width:1.9}
.touch-main-menu b{margin-left:auto;color:#115e9d;font-size:28px;font-weight:400;line-height:1}
.touch-badge{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;border-radius:50%;padding:0 5px;background:#115e9d;color:white;font-weight:500;font-size:15px}
.home .members{margin:0;padding:12px;text-align:center;font-size:16px;background:var(--rose);color:#115e9d;line-height:1.5}.home .members strong{color:var(--wine)}
.touch-bottom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fffdfd;border-top:1px solid var(--line);padding:8px 6px;z-index:5}
.touch-bottom a{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-height:54px;color:#606065;font-size:13px;text-decoration:none}
.touch-bottom .field-icon{width:25px;height:25px;color:inherit;margin:0;stroke-width:1.9}
.touch-bottom a[aria-current]{color:var(--wine);font-weight:600}
.touch-bottom a:hover{background:#f3f8fc;border-radius:6px}
a{color:var(--blue)}button{background:var(--wine);border-radius:6px;min-height:48px}
input:not([type=checkbox]),textarea,select{min-height:46px;border:1px solid #a8b8c6;border-radius:6px;background:#fff;color:#292a30}
input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
main:not(.home) h1{font-size:25px;color:var(--wine);margin-top:0}
main:not(.home) h2{color:var(--wine)}
.questionnaire h2{padding:8px;background:var(--rose);border-bottom:1px solid var(--line)}
.status{margin:12px;padding:12px;border-color:var(--line);background:#f4f8fc;border-radius:6px}
.album-grid img,.album-photo{border-radius:8px}
.message,.member-row{border-color:var(--line)}
.message.outgoing{border-color:#115e9d}
.pagination a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:520px){
body{padding-bottom:76px;background:#fafcfd}
.touch-shell{width:100%;margin:0;border-radius:0;border:0;box-shadow:none}
.touch-bottom{position:fixed;bottom:0;left:0;right:0;padding-bottom:calc(8px + env(safe-area-inset-bottom));box-shadow:0 -3px 12px #115e9d06}
.touch-header{padding:15px 14px 12px}
.touch-logo strong{font-size:36px}
.touch-logo>svg{width:33px;height:34px}
.touch-logo small{font-size:12px}
.home .touch-main-menu>a{font-size:17px;min-height:57px;gap:12px}
.home-portraits{gap:14px;padding:12px 14px 15px}
}
@media(max-width:360px){
.touch-logo strong{font-size:31px}.touch-logo small{font-size:10px}.touch-logo>svg{width:28px;height:30px}.touch-logo{gap:6px}
.touch-header{padding:13px 10px}.touch-more summary{width:42px}
.home .touch-main-menu>a{font-size:16px;padding:5px 12px;gap:10px}
.touch-icon{width:36px;height:38px}.home-portraits figcaption{font-size:17px}
}

/* Refined touch theme */
:root{--wine:#115e9d;--rose:#e9f1f8;--line:#d0e0ee;--blue:#145bd0}
body{background:#f4f8fc;color:#343139}
.touch-shell{border-color:#b3cce0;box-shadow:0 8px 32px #115e9d08}
.touch-header{padding:22px 20px 18px;gap:14px}
.touch-logo{align-items:center;gap:10px}
.touch-logo>.field-icon{color:var(--wine);font-size:35px;width:36px;height:auto;flex-shrink:0;margin:0}
.touch-logo strong{font-size:38px;letter-spacing:-.8px}
.touch-logo small{font-size:12px;margin-top:3px;color:#767078}
.touch-more summary{width:44px;height:44px;background:#f1f6fb;border:1px solid #dce8f2;border-radius:9px;color:var(--wine)}
.touch-more summary .field-icon{font-size:23px;width:auto;height:auto;margin:0;color:inherit}
.touch-more[open] summary{background:#deebf5}
.touch-more nav{border-radius:10px;box-shadow:0 12px 30px #115e9d18}
.touch-more nav a,.touch-more nav button{gap:12px;font-size:15px}
.touch-more nav .field-icon{width:20px;text-align:center;color:var(--wine);font-size:16px;margin:0}
.touch-tabs{padding:0 20px;min-height:49px;background:#edf4fa}
.touch-tabs a{font-size:14px;font-weight:500;gap:9px}
.touch-tabs a:last-child{text-decoration:none}
.touch-tabs a:last-child:before{content:"";width:6px;height:6px;border-radius:50%;background:#648769}
.touch-tabs .field-icon{font-size:11px;color:#115e9d;margin:0}
.home h1.touch-slogan{padding:14px 12px;font-size:19px;background:#f8fbfd;color:#115e9d;border-bottom:1px solid #e5eff7}
.home-portraits{gap:16px;padding:18px 20px 20px}
.home-portraits figure>a{overflow:hidden;border:1px solid #dfe8f0;border-radius:10px}
.home-portraits img{border-radius:9px;aspect-ratio:1;object-position:50% 35%}
.home-portraits figcaption{margin-top:7px;font-size:18px}
.home-portraits figcaption>a{min-height:38px}
.home-portraits small{font-size:11px;color:#827781}
.touch-section-title{padding:12px 20px;font-size:18px;letter-spacing:.1px;background:#e7f0f8}
.home .touch-main-menu>a{min-height:62px;padding:9px 20px;gap:14px;font-size:17px;border-bottom-color:#dce8f1;transition:background-color .15s}
.touch-main-menu>a:nth-child(even){background:#fafcfe}
.touch-icon{width:40px;height:40px;border-radius:10px;background:#e7f0f8}
.touch-icon .field-icon{width:auto;height:auto;margin:0;font-size:21px;color:#115e9d;line-height:1}
.row-chevron{margin-left:auto;padding-left:5px;display:flex;align-items:center}
.row-chevron .field-icon{width:auto;height:auto;margin:0;font-size:12px;color:#7f9cb4}
.home .members{padding:14px;font-size:14px;background:#eaf2f9;color:#115e9d}
.home .members strong{font-size:16px;margin-left:4px}
.touch-bottom{padding:10px 8px;background:#fdfefff5;backdrop-filter:blur(12px)}
.touch-bottom a{min-height:56px;gap:7px;font-size:11px;border-radius:9px;color:#807881}
.touch-bottom .field-icon{width:auto;height:auto;font-size:22px;line-height:1;margin:0}
.touch-bottom a[aria-current]{color:var(--wine);background:#f3f8fc}
.touch-bottom a[aria-current] .field-icon{color:var(--wine)}
.field-icon{width:18px;text-align:center;font-size:14px;line-height:1.2;vertical-align:0;color:#115e9d}
main:not(.home){padding:24px 20px}
main:not(.home)>h1{font-size:24px;line-height:1.5;margin-bottom:16px}
main:not(.home)>form{padding:16px;border:1px solid #d8e5f0;background:#fcfdfe;border-radius:10px;margin:20px 0}
main:not(.home)>form button{margin-top:18px}
label{font-size:14px;color:#61545f}
input:not([type=checkbox]),textarea,select{border-color:#c3d0db;border-radius:8px;padding:12px;min-height:48px;font-size:16px}
button{font-size:15px;border-radius:8px;background:#115e9d}
button:hover{background:#115e9d}
.questionnaire{border:1px solid #d7e4ee;border-radius:10px;overflow:hidden;padding:0 14px 14px}
.questionnaire h2{margin:0 -14px 12px;padding:12px 14px;font-size:16px;background:#edf4fa}
.questionnaire dl>div{padding:7px 0;border-bottom:1px solid #eaf1f7}
.questionnaire dt{color:#756270;font-size:14px}
.questionnaire dd{font-size:14px}
.hint{color:#827480}
@media(max-width:520px){
.touch-header{padding:18px 16px 16px}
.touch-logo strong{font-size:35px}
.touch-logo>.field-icon{font-size:30px;width:31px}
.touch-logo small{font-size:11px}
.touch-tabs{padding:0 16px}
.home-portraits{padding:16px 16px 18px;gap:14px}
.home .touch-main-menu>a{padding:9px 16px;min-height:62px;font-size:16px}
.touch-section-title{padding:11px 16px}
.touch-bottom{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
body{padding-bottom:88px}
}
@media(max-width:360px){
.touch-logo strong{font-size:30px}.touch-logo small{font-size:10px}
.touch-header{padding:16px 12px;gap:8px}
.touch-logo>.field-icon{font-size:27px;width:28px}
.touch-logo{gap:7px}
.home .touch-main-menu>a{font-size:15px;gap:11px;padding-left:12px;padding-right:12px}
.touch-icon{width:37px;height:39px}
}
@media(prefers-reduced-motion:reduce){.touch-main-menu>a{transition:none}}

/* Profile hierarchy and persistent navigation */
body{padding-bottom:100px}
.touch-shell{margin-bottom:24px}
.touch-header{border-bottom:1px solid #dce7f0}
.header-tools{display:flex;flex-direction:column;align-items:center;gap:7px;flex-shrink:0}
.header-online{display:flex;align-items:center;gap:5px;font-size:10px;text-decoration:none;white-space:nowrap;color:#73616d;min-height:24px}
.header-online>span{width:6px;height:6px;border-radius:50%;background:#658a70}
.touch-bottom{position:fixed;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:min(calc(100% - 32px),480px);padding-bottom:calc(10px + env(safe-area-inset-bottom));border:1px solid #d2dfea;border-bottom:0;border-radius:12px 12px 0 0;box-shadow:0 -5px 22px #115e9d10;z-index:30}
main.profile-page{padding:18px 18px 24px}
.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:14px;color:#115e9d}
.profile-heading a{min-height:36px;display:flex;align-items:center;text-decoration:none}
.profile-overview{border:1px solid #d6e3ed;border-radius:13px;background:#fff;overflow:hidden}
.profile-identity{display:flex;align-items:center;gap:18px;padding:20px}
.profile-picture{position:relative;flex-shrink:0;width:108px;height:108px}
.profile-picture img{width:100%;height:100%;object-fit:cover;border-radius:14px;border:1px solid #e3ebf1}
.profile-camera{position:absolute;bottom:-5px;right:-5px;width:34px;height:34px;border-radius:50%;border:3px solid white;background:#115e9d;display:grid;place-items:center;text-decoration:none}
.profile-camera .field-icon{color:white;font-size:13px}
.profile-no-photo{width:100%;height:100%;display:grid;place-items:center;background:#eef5fa;border-radius:14px}.profile-no-photo .field-icon{font-size:36px;width:auto}
.profile-summary{min-width:0}.profile-summary h1{font-size:22px;color:var(--wine);line-height:1.35;overflow-wrap:anywhere;margin:0 0 7px}
.profile-summary p{font-size:12px;color:#867280;margin:0 0 9px}
.profile-rank{display:inline-flex;align-items:center;gap:5px;background:#f3f8fc;border-radius:5px;padding:4px 7px;font-size:11px;color:#115e9d}
.profile-summary small{display:block;margin-top:7px;font-size:10px}
.profile-daily-status{padding:0 20px 10px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;color:#66545f}
.profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 16px 18px}
.profile-actions a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 5px;text-decoration:none;font-size:12px;background:#f3f8fc;border:1px solid #d6e4ef;border-radius:8px;color:#115e9d}
.profile-actions a:hover{background:#e5eff8}
.profile-metrics{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #dce7f0;background:#fafcfe;padding:14px 0}
.profile-metrics>div{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px}
.profile-metrics>div+div{border-left:1px solid #d7e3ec}
.profile-metrics strong{color:#115e9d}.profile-metrics span{color:#937b88;font-size:11px}
.profile-rating-help{text-align:right;margin:10px 0 22px;font-size:11px}
.profile-rating-help a{color:#115e9d;text-decoration:none}
.profile-page .questionnaire{margin:18px 0;background:white}
.profile-page .questionnaire h2{font-size:15px;padding:12px 14px}
.profile-page .questionnaire dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:10px 0}
.profile-page .questionnaire dt{font-size:12px;line-height:1.7;color:#8e7785}
.profile-page .questionnaire dd{font-size:12px;line-height:1.7;color:#54454f;overflow-wrap:anywhere}
.section-edit{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;background:#f7fafd;border:1px solid #dce8f2;border-radius:7px;text-decoration:none;font-size:12px;margin-top:12px}
.profile-social{margin-top:14px;padding:12px 14px;border:1px solid #d7e3ec;border-radius:9px;background:white}
.profile-social summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:13px;min-height:28px;color:#115e9d}
.profile-social button{font-size:13px;margin-top:12px}
@media(max-width:520px){.touch-bottom{width:100%;border-radius:0;left:0;right:0;transform:none}.touch-shell{margin-bottom:0}body{padding-bottom:100px}}
@media(max-width:360px){.profile-identity{padding:16px;gap:12px}.profile-picture{width:90px;height:90px}.profile-summary h1{font-size:19px}.profile-actions{gap:7px;padding:0 12px 14px}.profile-actions a{font-size:11px}.profile-page .questionnaire dl>div{gap:8px}}
.directory-heading{display:flex;gap:12px;align-items:center;margin:0 0 20px}
.directory-symbol{width:46px;height:46px;border-radius:12px;background:#e7f0f8;display:grid;place-items:center;flex-shrink:0}
.directory-symbol .field-icon{font-size:21px;width:auto;color:#115e9d}
.directory-heading h1{font-size:20px;margin:0 0 4px;color:var(--wine);line-height:1.4}
.directory-heading p{font-size:11px;color:#937e8b;margin:0}
main.directory-page .member-search{padding:15px;margin:0 0 22px}
.member-search .search-label{margin:0 0 8px;font-size:12px}
.quick-search{display:flex;gap:8px}
.quick-search input{min-width:0}
main.directory-page .quick-search button{width:48px;flex-shrink:0;margin:0;display:grid;place-items:center;padding:0}
.quick-search button .field-icon{color:white;font-size:17px}
.gender-options{display:flex;gap:7px;margin:13px 0}
.gender-options label{flex:1;margin:0;cursor:pointer;position:relative;text-align:center}
.gender-options input{position:absolute;opacity:0;width:1px;height:1px}
.gender-options span{display:block;padding:9px 3px;border:1px solid #d6e2ec;border-radius:7px;font-size:12px;min-height:40px;color:#115e9d}
.gender-options input:checked+span{background:#115e9d;color:white;border-color:#115e9d}
.gender-options input:focus-visible+span{outline:2px solid var(--blue);outline-offset:2px}
.search-filters{border-top:1px solid #dee8f0;margin-top:10px;padding-top:4px}
.search-filters summary{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:46px;color:#115e9d;font-size:13px}
.search-filters summary .field-icon:last-child{margin-left:auto;font-size:10px}
.search-filters[open] summary .field-icon:last-child{transform:rotate(90deg)}
.member-search .search-submit{width:100%}
.search-clear{display:block;text-align:center;font-size:12px;margin-top:12px}
.directory-results{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0 12px}
.directory-results h2{font-size:14px;margin:0;color:#115e9d}
.directory-results h2 span,.online-total{display:inline-block;font-size:12px;background:#e7f0f8;padding:2px 7px;border-radius:5px;color:#115e9d}
.directory-results>a{font-size:11px;text-decoration:none}
.person-card{display:flex;gap:13px;padding:14px;border:1px solid #d9e5ee;background:white;border-radius:11px;margin-bottom:12px;align-items:flex-start}
.person-photo{display:grid;place-items:center;flex-shrink:0;width:76px;height:86px;border-radius:9px;background:#edf4fa;overflow:hidden}
.person-photo img{width:100%;height:100%;object-fit:cover}
.person-photo .field-icon{font-size:28px;width:auto}
.person-info{min-width:0;flex:1}
.person-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:7px}
.person-name>a{font-weight:600;font-size:15px;text-decoration:none;overflow-wrap:anywhere}
.person-online{font-size:9px;color:#4d805c;background:#eff8f1;border-radius:4px;padding:2px 5px}
.person-facts{display:flex;gap:6px 10px;flex-wrap:wrap;font-size:11px;color:#806979}
.person-facts .field-icon,.person-info p .field-icon{font-size:11px;width:13px;margin:0}
.person-info p{font-size:11px;color:#947e8d;margin:7px 0;overflow-wrap:anywhere}
.person-open{display:inline-flex;align-items:center;gap:7px;font-size:11px;min-height:30px;text-decoration:none}
.person-open .field-icon{font-size:9px}
.online-intro{margin-bottom:16px;background:#f6f9fc;border:1px solid #dce8f1;border-radius:11px;padding:15px}
.online-intro strong{font-size:13px;color:#115e9d}.online-intro p{font-size:12px;margin:5px 0 12px;color:#9b8291}.online-intro a{font-size:11px;text-decoration:none}
.online-symbol{background:#edf6ee}.online-symbol .field-icon{color:#63876b}
.directory-empty{text-align:center;border:1px dashed #c4d3df;border-radius:11px;padding:30px 15px}
.directory-empty>.field-icon{font-size:26px;width:auto;color:#8ca7bd}
.directory-empty h2{font-size:15px;margin:12px 0 8px}.directory-empty p{font-size:12px;color:#9b8392}.directory-empty a{font-size:12px}
.menu-group-title{margin:0;padding:10px 20px;background:#f7fafd;color:#115e9d;font-size:12px;font-weight:600;letter-spacing:.2px;border-bottom:1px solid #dce7f0;border-top:1px solid #dce7f0}
.profile-enlarge{display:block;width:100%;height:100%;cursor:zoom-in;border-radius:14px}
.photo-viewer{border:0;padding:48px 16px 16px;border-radius:12px;background:#115e9dea;color:white;max-width:min(94vw,850px);max-height:94dvh;overflow:auto}
.photo-viewer::backdrop{background:#115e9dd9;backdrop-filter:blur(4px)}
.photo-viewer img{display:block;max-width:100%;max-height:calc(90dvh - 80px);width:auto;height:auto;object-fit:contain;margin:auto;border-radius:5px}
.photo-viewer-close{position:absolute;top:5px;right:8px;width:40px;min-height:40px;padding:0;margin:0;border:0;background:transparent;color:white;font-size:30px;line-height:1}
.photo-viewer-close:hover{background:#ffffff20}
body.photo-viewer-active{overflow:hidden}
.profile-photo-column{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:8px}
.profile-photo-edit{display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:5px 7px;border:1px solid #d6e2ec;border-radius:8px;background:#fafcfd;color:#115e9d;text-decoration:none;font-size:10px;white-space:nowrap}
.profile-photo-edit .detail-3d-icon{width:20px;height:20px}
.profile-photo-edit:hover{background:#ebf3f9;border-color:#a5c0d7}
.detail-3d-icon{display:inline-block;width:22px;height:22px;object-fit:contain;vertical-align:middle;flex-shrink:0}
.directory-symbol:has(.detail-3d-icon){background:transparent}
.directory-symbol .detail-3d-icon{width:32px;height:32px}
.profile-page .questionnaire dt .detail-3d-icon{width:20px;height:20px;margin-right:5px}
.profile-toolbar .detail-3d-icon,.profile-rank .detail-3d-icon,.profile-facts .detail-3d-icon{width:20px;height:20px}
.profile-camera .detail-3d-icon{width:23px;height:23px}
.profile-no-photo .detail-3d-icon{width:44px;height:44px}
.profile-actions .detail-3d-icon,.section-edit .detail-3d-icon{width:22px;height:22px}
.profile-metrics .detail-3d-icon{width:20px;height:20px}
.person-facts .detail-3d-icon,.person-info p .detail-3d-icon{width:17px;height:17px}
.vip-label .detail-3d-icon{width:20px;height:20px}
.vip-empty>.detail-3d-icon{width:38px;height:38px}
.vip-avatar .detail-3d-icon{width:40px;height:40px}
.quick-search .detail-3d-icon{width:25px;height:25px}
.vip-slot{padding:18px 20px}
.vip-card{border:1px solid #e6d2af;border-radius:14px;background:linear-gradient(120deg,#fff9eb,#f8fbfd);overflow:hidden}
.vip-label{display:flex;align-items:center;gap:7px;padding:9px 14px;font-size:13px;font-weight:700;color:#96712e;border-bottom:1px solid #ecdcc2}
.vip-label>span{margin-left:auto;font-size:11px;font-weight:400;color:#9d8174}
.vip-person{display:flex;align-items:center;gap:16px;padding:16px;text-decoration:none}
.vip-person img,.vip-avatar{width:88px;height:88px;border-radius:13px;object-fit:cover;flex-shrink:0}
.vip-avatar{display:grid;place-items:center;background:#f6e9d3}
.vip-person>span{min-width:0}.vip-person strong{display:block;color:#115e9d;font-size:19px;overflow-wrap:anywhere}
.vip-person small{display:block;color:#9a7c79;font-size:12px;margin:7px 0}
.vip-person b{font-size:12px;font-weight:500}
.vip-empty{display:flex;gap:16px;padding:20px;align-items:center}
.vip-empty>i{font-size:32px;color:#c7a264}.vip-empty strong{font-size:16px;color:#927049}.vip-empty p{font-size:12px;color:#9b8379;margin:5px 0}
.home .touch-icon{background:none;border-radius:0;width:32px;height:32px}
.menu-3d-icon{display:block;width:30px;height:30px;object-fit:contain}
.touch-more nav .menu-3d-icon{width:25px;height:25px;flex-shrink:0}
.touch-bottom .menu-3d-icon{width:28px;height:28px;flex-shrink:0}
.touch-bottom a{gap:4px}
.registration-note{font-size:12px;line-height:1.85;color:#8b7180;padding:0 20px;margin:0 0 20px}
.auth-form .username-check{display:flex;align-items:center;justify-content:center;gap:8px;background:#f6fafd;color:#115e9d;border:1px solid #c3d6e6;width:100%;font-size:12px;min-height:42px;margin:9px 0}
.username-check:disabled{opacity:.6;cursor:wait}
.username-result{font-size:12px;line-height:1.7;margin:8px 0}.username-result:empty{display:none}
.username-result[data-state=success]{color:#267047}.username-result[data-state=error]{color:#115e9d}
.registration-form .hint{font-size:11px;line-height:1.8}
.registration-form label{margin-top:20px}
main.auth-page{padding:18px 20px 24px}
.auth-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:12px}
.auth-navigation>a{display:flex;align-items:center;gap:7px;min-height:40px;padding:7px 11px;background:white;border:1px solid #d6e2ec;border-radius:9px;text-decoration:none}
.auth-navigation>span{color:#81909c;font-size:11px}
.auth-card{border:1px solid #d1dfea;border-radius:16px;overflow:hidden;background:white}
.auth-intro{text-align:center;padding:22px 20px 18px;background:linear-gradient(180deg,#f6fafd,white)}
.auth-symbol{display:grid;place-items:center;width:48px;height:48px;background:#e5eff7;border:1px solid #d0e1ef;border-radius:16px;margin:0 auto 12px}
.auth-symbol .field-icon{font-size:23px;color:#115e9d;width:auto}
main.auth-page .auth-intro h1{font-size:21px;line-height:1.5;margin:0 0 7px;color:#115e9d}
.auth-intro p{font-size:12px;color:#8c7482;margin:0}
.auth-form{padding:0 20px 20px}
.auth-form>label:first-of-type{margin-top:0}
.auth-form label{font-size:13px;color:#115e9d;font-weight:500}
.auth-form label .field-icon{font-size:12px;margin-right:4px}
.auth-form .auth-field-help{font-size:11px;color:#98828d;line-height:1.7;margin:7px 0 16px}
.auth-password-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 7px;flex-wrap:wrap}
.auth-password-label label{margin:0}
.auth-password-label a{font-size:11px;min-height:32px;display:inline-flex;align-items:center;text-decoration:none}
.auth-form .check{display:flex;align-items:center;gap:8px;min-height:40px;margin:10px 0;font-size:12px;font-weight:400}
.auth-form .check input{accent-color:#115e9d}
.auth-form .auth-submit{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin:8px 0 0;min-height:48px;font-size:14px}
.auth-submit .field-icon{color:white}
.auth-submit .field-icon:last-child{font-size:10px;margin-left:auto}
.auth-submit .field-icon:first-child{margin-right:auto}
.auth-register{border-top:1px solid #d9e5ee;background:#fcfdfe;padding:15px 20px 20px}
.auth-register p{margin:0 0 10px;text-align:center;color:#917483;font-size:12px}
.auth-register>a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;border:1px solid #bbcfdf;border-radius:9px;color:#115e9d;background:white;font-size:14px;font-weight:600;text-decoration:none;padding:9px 13px}
.auth-register>a .field-icon:last-child{font-size:10px;margin-left:auto}
.auth-register>a .field-icon:first-child{margin-right:auto}
.auth-register>a:hover{background:#eff5fa}
@media(max-width:380px){main.auth-page{padding:16px 14px 22px}.auth-form{padding:0 16px 16px}.auth-intro{padding:20px 16px 16px}main.auth-page .auth-intro h1{font-size:19px}.auth-register{padding:14px 16px 18px}}
.profile-toolbar{padding:0 0 16px;margin-bottom:0;gap:12px}
.profile-toolbar>a{gap:7px;min-height:40px;padding:7px 11px;border:1px solid #d6e2ec;background:white;border-radius:9px;font-size:12px}
.profile-toolbar>span{display:flex;align-items:center;gap:6px;font-size:11px;color:#115e9d}
.profile-toolbar .field-icon{font-size:13px;width:auto}
.profile-preview{background:linear-gradient(160deg,#fafcfd 0%,white 65%);border-radius:16px}
.profile-preview .profile-identity{flex-direction:column;text-align:center;gap:16px;padding:24px 20px}
.profile-preview .profile-picture{width:168px;height:168px}
.profile-preview .profile-picture img{border-radius:20px;border:4px solid white;box-shadow:0 5px 18px #115e9d16}
.profile-preview .profile-summary h1{font-size:28px;margin:0 0 12px}
.profile-facts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.profile-facts>span{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#115e9d}
.profile-preview .profile-facts{justify-content:center}
.profile-preview .profile-facts>span{background:#edf4fa;border:1px solid #dae6f0;padding:5px 11px;border-radius:20px}
.profile-preview .profile-summary small{font-size:11px;color:#99818f;margin:0}
.profile-preview .profile-summary small .field-icon{font-size:11px}
.profile-invitation{margin-top:16px;border:1px solid #d1dfeb;border-radius:14px;padding:20px;background:#f9fbfd}
.invitation-heading{display:flex;align-items:center;gap:10px}
.invitation-heading>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e3eef7}
.invitation-heading .field-icon{color:#115e9d;font-size:17px;width:auto}
.invitation-heading h2{margin:0;font-size:18px;color:#115e9d}
.profile-invitation>p{font-size:13px;line-height:1.85;color:#8b7080;margin:10px 0 17px}
.invitation-actions{display:grid;gap:9px}
.invitation-actions a{display:flex;align-items:center;gap:10px;min-height:46px;border-radius:9px;padding:10px 14px;text-decoration:none;font-size:14px;font-weight:600}
.invitation-actions a>.field-icon:last-child{margin-left:auto;font-size:10px}
.invitation-primary{background:#115e9d;color:white;border:1px solid #115e9d}
.invitation-primary .field-icon{color:white}
.invitation-secondary{background:white;color:#115e9d;border:1px solid #bfd2e2}
.invitation-primary:hover{background:#115e9d}.invitation-secondary:hover{background:#eef5fa}
@media(max-width:360px){.profile-toolbar>span{font-size:10px}.profile-toolbar>a{padding:6px 8px}.profile-preview .profile-picture{width:150px;height:150px}.profile-invitation{padding:16px}}
.guest-welcome{padding:22px 20px 26px;text-align:center;border-top:1px solid var(--line);background:#fafcfd}
.guest-welcome h2{font-size:20px;color:var(--wine);margin:0 0 8px}
.guest-welcome p{font-size:13px;color:#896c7c;margin:0 0 20px}
.home .guest-welcome a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border-radius:9px;text-decoration:none;font-size:15px;font-weight:600;margin-top:10px}
.home .guest-login{background:#115e9d;color:white}.guest-login .field-icon{color:white}
.home .guest-register{background:white;border:1px solid #b4c9db;color:#115e9d}
body:not(:has(.touch-bottom)){padding-bottom:24px}

/* Shared inner-page layout */
.page-heading{display:flex;align-items:center;gap:13px;margin-bottom:18px}
.page-heading-icon{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;background:#e8f1f8;border:1px solid #d0e2f0;border-radius:15px}
.page-heading-icon .field-icon{font-size:22px;width:auto;color:var(--wine)}
.page-heading>div{min-width:0}
main .page-heading h1{font-size:21px;line-height:1.5;margin:0;color:var(--wine);overflow-wrap:anywhere}
.page-heading p{font-size:12px;line-height:1.8;color:#897580;margin:5px 0 0}
.community-page>p{font-size:13px;line-height:1.9;color:#756471}
.community-page>p a{display:inline-flex;align-items:center;min-height:36px;text-decoration:none}
.page-shortcuts{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}
.page-shortcuts a{font-size:12px;min-height:38px;padding:7px 11px;background:white;border:1px solid #dae6ef;border-radius:8px;text-decoration:none;display:flex;align-items:center;gap:7px}
.page-shortcuts{align-items:center;margin:16px 0 20px}
.page-shortcuts a{min-height:44px;box-sizing:border-box;line-height:1.6;max-width:100%;overflow-wrap:anywhere}
.page-shortcuts a:hover{background:#f6f9fc;border-color:#a4c1d9}
.page-shortcuts a:focus-visible{outline:2px solid #115e9d;outline-offset:3px}
.page-shortcuts .detail-3d-icon{width:21px;height:21px;flex-shrink:0}
.profile-page>.page-shortcuts:last-of-type{padding-top:16px;border-top:1px solid #dae6ef;margin-bottom:0}
.profile-page>.page-shortcuts:last-of-type a{width:100%;justify-content:center;background:#f8fbfd}
.pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:20px 0;flex-wrap:wrap}
.pagination a{padding:7px 12px;border:1px solid #dae6ef;border-radius:8px;background:#fff;text-decoration:none;font-size:12px;gap:6px}
.welcome-panel{padding:22px 20px;border-radius:14px;border:1px solid #d0dfec;background:linear-gradient(135deg,#fafcfd,#e6f0f8);margin-bottom:24px}
.eyebrow{font-size:11px;letter-spacing:.2px;color:#115e9d;font-weight:600}
.welcome-panel h2{font-size:20px;line-height:1.55;margin:8px 0}
.welcome-panel p{font-size:13px;color:#876c7d;line-height:1.9;margin:8px 0 16px}
.soft-tag{display:inline-block;background:#ffffffc9;border:1px solid #d9e5ef;border-radius:6px;font-size:11px;padding:4px 8px;margin:0 5px 0 0;color:#115e9d}
.content-label{font-size:14px;margin:20px 0 12px}
.room-list{display:grid;gap:12px}
.room-card{display:flex;gap:14px;padding:18px 16px;background:white;border:1px solid #d8e4ee;border-radius:13px;text-decoration:none;transition:background .15s}
.room-card:hover{background:#f6fafd;border-color:#a0bfd9}
.room-symbol{display:grid;place-items:center;flex-shrink:0;width:47px;height:47px;border-radius:13px;background:#ebf3f9}
.room-symbol .field-icon{font-size:23px;width:auto;color:#115e9d}
.room-card:nth-child(2) .room-symbol{background:#edf0fb}.room-card:nth-child(2) .field-icon{color:#6c729e}
.room-card:nth-child(3) .room-symbol{background:#eaf5f2}.room-card:nth-child(3) .field-icon{color:#4f9186}
.room-card:nth-child(4) .room-symbol{background:#f4edfa}.room-card:nth-child(4) .field-icon{color:#956cb2}
.room-copy{display:flex;flex-direction:column;min-width:0}
.room-copy small{color:#8292a0;font-size:10px}
.room-copy strong{font-size:16px;color:#115e9d;line-height:1.5;margin:3px 0 6px}
.room-copy>span{color:#806a78;font-size:12px;line-height:1.85}
.room-copy b{font-size:12px;color:var(--blue);font-weight:500;margin-top:10px}.room-copy b .field-icon{font-size:10px}
.page-note{display:flex;gap:12px;align-items:flex-start;border-top:1px solid #dae6ef;margin-top:23px;padding:18px 2px 0;color:#927887}
.page-note>.field-icon{margin-top:4px}.page-note p{margin:0;font-size:12px;line-height:1.9}
.empty-state{text-align:center;padding:28px 20px;border:1px solid #d9e3ec;border-radius:13px;background:linear-gradient(180deg,#fafcfe,white);margin:18px 0}
.empty-state-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:22px;background:#e9f2f9;box-shadow:0 0 0 7px #f5f9fc}
.empty-state-icon .field-icon{font-size:27px;width:auto;color:#115e9d}
main .empty-state h2{font-size:17px;line-height:1.65;margin:8px 0;color:#115e9d}
.empty-state p{font-size:13px;line-height:1.9;color:#8b7482;margin:8px 0 18px}
.action-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 16px;border-radius:8px;background:#115e9d;color:white;text-decoration:none;font-size:13px}
.action-link .field-icon{color:inherit;font-size:10px}
.community-page .message{border:1px solid #dbe5ee;border-radius:11px;padding:16px;background:white;margin:12px 0;font-size:13px;overflow-wrap:anywhere}
.community-page .message strong a{text-decoration:none}
.community-page .message small{font-size:11px;color:#9a8291}
.community-page .message button{font-size:12px;min-height:36px;padding:7px 12px}
.community-page .message.outgoing{background:#f1f6fb;border-color:#cfe0ed;margin-left:22px}
.conversation-stream{padding:12px;background:#f7fafc;border:1px solid #e1eaf1;border-radius:14px;min-height:210px}
.conversation-stream .empty-state{border:0;background:transparent;margin:0;padding:24px 10px}
.conversation-topic{display:flex;gap:12px;padding:14px;background:#fff6e9;border:1px solid #f0e4cf;border-radius:10px;margin:16px 0;color:#82694d}
.conversation-topic>.field-icon{margin-top:5px;color:#ac916a}.conversation-topic strong{font-size:12px}.conversation-topic p{font-size:12px;line-height:1.8;margin:4px 0 0}
.message-avatar{display:inline-grid;place-items:center;width:28px;height:28px;background:#e4edf5;border-radius:50%;margin-right:6px}
.live-note{font-size:11px;color:#788473;padding:4px 2px}
.message-compose{scroll-margin-top:16px}.message-compose textarea{resize:vertical;min-height:100px}
.compose-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.compose-footer small{font-size:10px;color:#977e8c}
main.community-page .compose-footer button{margin:0;width:auto;display:flex;align-items:center;gap:8px;padding:10px 15px}
.compose-footer button .field-icon{color:white}
.conversation-guidance{font-size:12px;color:#917787;padding:12px 0}.conversation-guidance summary{cursor:pointer;min-height:36px}
.community-page>h2{font-size:16px;margin:26px 0 10px;padding:10px 12px;border-left:3px solid #6493ba;background:#f4f8fc;border-radius:0 7px 7px 0}
.community-page>ul{list-style:none;padding:0}.community-page>ul li{padding:15px;background:white;border:1px solid #d9e5ee;border-radius:9px;margin:9px 0;font-size:13px}
.community-page>form{box-shadow:0 4px 14px #115e9d04}
.community-page .album-grid .empty-state{grid-column:1/-1}
.community-page .album-grid figure{padding:9px;background:white;border:1px solid #dae6ef;border-radius:12px}
.community-page .album-grid button{font-size:11px;padding:8px;line-height:1.7}
.space-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
.space-grid a{display:flex;flex-direction:column;gap:12px;padding:18px;background:white;border:1px solid #d7e4ee;border-radius:12px;text-decoration:none;font-size:13px}
.space-grid .field-icon{font-size:23px;color:var(--wine)}
.inbox-row{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #d7e4ee;border-radius:11px;text-decoration:none;margin:12px 0;background:white}
.inbox-row strong{font-size:14px}.inbox-row small{display:block;font-size:12px;color:#115e9d;margin-top:4px}.inbox-row>.field-icon{margin-left:auto;font-size:11px}
.chat-directory .welcome-panel{padding:16px;margin-bottom:18px}
.chat-directory .welcome-panel h2{font-size:17px}.chat-directory .welcome-panel p{margin-bottom:10px}
.chat-directory .room-card{padding:14px}.chat-directory .room-copy b{margin-top:7px}
.community-page .message .person-card{padding:0;border:0;margin:0;background:transparent}
@media(max-width:380px){main.community-page{padding:20px 14px}.page-heading h1{font-size:19px}.room-card{padding:15px 12px;gap:11px}.room-symbol{width:40px;height:40px}.compose-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.room-card{transition:none}}

/* Self-hosted Georgian typography, shared by every page. */
@font-face{font-family:"Noto Sans Georgian";src:url("../fonts/noto-sans-georgian/NotoSansGeorgian.ttf") format("truetype");font-style:normal;font-weight:100 900;font-display:swap}
body{font-family:"Noto Sans Georgian","Segoe UI",sans-serif;font-size:15px;line-height:1.7}
input,select,textarea,button{font-family:inherit}
h1,h2,h3{font-weight:700;letter-spacing:0}
.touch-logo small{font-size:12px;line-height:1.65;color:#756570}
.home h1.touch-slogan{font-size:18px;font-weight:600;padding:16px 12px}
.home-portraits figcaption{font-size:17px}
.home-portraits small{font-size:12px;line-height:1.7;color:#756570}
.touch-section-title{font-size:18px;font-weight:700}
.menu-group-title{font-size:13px;font-weight:600;letter-spacing:0;padding-top:12px;padding-bottom:12px;color:#115e9d}
.home .touch-main-menu>a{font-size:15px;line-height:1.6;min-height:60px;font-weight:500}
.touch-more nav a,.touch-more nav button{font-size:14px;line-height:1.7}
.touch-bottom a{font-size:12px;gap:6px;color:#706771}
.header-online{font-size:11px}
.profile-heading,.profile-summary p,.profile-actions a,.section-edit{font-size:13px}
.profile-summary small,.profile-rank,.profile-metrics span,.profile-rating-help{font-size:12px}
.profile-page .questionnaire dt,.profile-page .questionnaire dd{font-size:13px;line-height:1.8}
.profile-page .questionnaire dt{color:#786572}
.directory-heading p,.member-search .search-label,.directory-results>a,.person-facts,.person-info p,.person-open,.online-intro a{font-size:12px;line-height:1.75}
.person-online{font-size:11px}
.person-name>a{font-size:16px}
.person-facts,.person-info p{color:#786572}
@media(max-width:360px){.touch-logo small{font-size:11px}.touch-logo strong{font-size:28px}.profile-page .questionnaire dl>div{grid-template-columns:1fr;gap:3px}.profile-page .questionnaire dd{margin:0}.profile-actions a{font-size:12px}}

/* Shared 3D artwork across page headings and supporting actions. */
.page-heading-icon:has(.detail-3d-icon),.empty-state-icon:has(.detail-3d-icon),.room-symbol:has(.detail-3d-icon),.auth-symbol:has(.detail-3d-icon){background:transparent;border:0;box-shadow:none}
.page-heading-icon .detail-3d-icon,.room-symbol .detail-3d-icon,.auth-symbol .detail-3d-icon{width:32px;height:32px}
.empty-state-icon .detail-3d-icon{width:40px;height:40px}
.room-card .room-symbol:has(.detail-3d-icon){background:transparent}
.vip-join{display:flex;align-items:center;gap:7px;padding:12px 16px;border-top:1px solid #eedbc5;font-size:12px;text-decoration:none;flex-wrap:wrap}
.vip-join span{margin-left:auto;color:#82747b;font-size:11px}
.wallet-summary h2{font-size:30px;margin:8px 0 16px}
.vip-purchase small,.wallet-summary small{display:block;line-height:1.8;color:#81747d}
.wallet-entry{display:flex;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #dce8f1;font-size:12px}
.wallet-entry small{display:block;color:#887b83;margin-top:6px;font-size:11px}
.wallet-entry>div:last-child{text-align:right;flex-shrink:0}
.wallet-topup-button{display:block;text-align:center;background:#115e9d;color:white;padding:13px 16px;border-radius:9px;text-decoration:none;margin:16px 0}
.amount-options{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.amount-options button{flex:1;width:auto;min-width:48px;padding:10px 5px;background:#f7fafd;color:#115e9d;border:1px solid #c8dbea}
.bank-method{padding:14px;border:1px solid #f2d6bd;border-radius:10px;background:#fff8f0;margin:18px 0}
.bank-method small{display:block;margin-top:5px;color:#887267}
.balance-topup-form button:disabled{opacity:.5;cursor:not-allowed}

/* Community modules */
.module-composer { border:1px solid #cbdff0; border-radius:16px; margin:24px 0; overflow:hidden; background:#fbfdfe; }
.module-composer summary { display:flex; align-items:center; gap:10px; padding:18px; color:#115e9d; font-weight:700; cursor:pointer; }
.module-composer summary span { margin-left:auto; font-size:24px; }
.module-composer form { padding:0 18px 20px; }
.module-card { display:flex; align-items:center; gap:16px; padding:18px; margin:14px 0; border:1px solid #cfe1ef; border-radius:16px; text-decoration:none; background:white; }
.module-card > span:last-child { min-width:0; display:grid; gap:6px; }
.module-card strong { color:#115e9d; font-size:17px; overflow-wrap:anywhere; }
.module-card small { color:#8a7680; font-size:12px; }
.module-card span span { font-size:13px; color:#71636b; overflow-wrap:anywhere; }
.module-cover { width:72px; height:92px; border-radius:12px; object-fit:cover; }
.module-card-symbol { flex:none; width:44px; text-align:center; }
.module-card-symbol img { width:32px; height:32px; }
.module-detail { border:1px solid #cfe1ef; padding:18px; border-radius:16px; background:#fff; overflow-wrap:anywhere; }
.module-byline { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; font-size:12px; }
.module-byline time { color:#877781; }
.module-detail audio { width:100%; margin:16px 0; }
.story-slides { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; border-radius:14px; }
.story-slides figure { position:relative; margin:0; flex:0 0 100%; scroll-snap-align:start; background:#115e9d; }
.story-slides img { display:block; width:100%; height:440px; object-fit:contain; }
.story-slides figcaption { padding:16px; background:#115e9d; color:white; white-space:pre-wrap; }
.story-text { flex:0 0 100%; padding:60px 24px; min-height:300px; display:grid; place-items:center; background:linear-gradient(140deg,#115e9d,#683dad); color:#fff; font-size:24px; text-align:center; white-space:pre-wrap; }
.poll-result { padding:16px 0; border-top:1px solid #dce9f3; }
.poll-result > span { float:right; font-size:12px; }
.poll-result progress { width:100%; height:12px; accent-color:#115e9d; }
.module-page .poll-result button { margin-top:8px; }
.battle-photos { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.battle-photos > div { min-width:0; }
.battle-photos img { width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:12px; }
.battle-photos strong { display:block; text-align:center; }
.module-page .battle-photos button { padding:10px 5px; font-size:12px; }
.module-remove button { background:#f7fafd; color:#115e9d; border:1px solid #cfe1ef; }
.home-stories .story-strip { display:flex; gap:14px; overflow-x:auto; padding:18px 20px; text-align:center; }
.story-strip a { flex:0 0 76px; text-decoration:none; font-size:11px; overflow-wrap:anywhere; }
.story-strip img,.story-strip a > span { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 8px; border:2px solid #115e9d; padding:3px; border-radius:50%; object-fit:cover; background:#f4f8fc; }
.story-strip a > span img { border:0; padding:0; width:30px; height:30px; margin:0; }
.home-greeting { display:flex; align-items:center; gap:14px; margin:16px 20px; padding:16px; text-align:left; border:1px solid #c9dbea; border-radius:14px; background:#f8fbfd; text-decoration:none; }
.home-greeting span { display:grid; gap:6px; }
.home-greeting small { color:#115e9d; font-size:11px; }
.home-greeting strong { color:#115e9d; }
.photo-rating { margin: 20px 0; padding: 18px; border: 1px solid #cadeef; border-radius: 14px; background: #fafcfe; }
.photo-rating h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; }
.photo-rating-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.photo-rating-summary strong { color: #115e9d; font-size: 19px; }
.photo-rating-summary > span { font-size: 12px; color: #857580; }
.photo-rating form { padding: 0; border: 0; background: transparent; margin: 14px 0 0; }
.photo-rating fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.photo-rating legend { font-size: 13px; margin-bottom: 10px; }
.photo-rating-options { display: flex; gap: 6px; }
.photo-rating-options label { flex: 1; position: relative; margin: 0; cursor: pointer; }
.photo-rating-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-rating-options label > span:first-of-type { display: flex; gap: 4px; align-items: center; justify-content: center; padding: 11px 0; border: 1px solid #c6daea; border-radius: 9px; background: white; color: #826035; }
.photo-rating-options input:checked + span { background: #115e9d; color: #fff; border-color: #115e9d; }
.photo-rating-options input:focus-visible + span { outline: 3px solid #be8e43; outline-offset: 2px; }
.photo-rating .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.profile-page .questionnaire-dropdown{padding-bottom:0}
.profile-page .questionnaire-dropdown[open]{padding-bottom:14px}
.questionnaire-dropdown>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -14px;padding:14px;background:#edf4fa;cursor:pointer;list-style:none}
.questionnaire-dropdown>summary::-webkit-details-marker{display:none}
.profile-page .questionnaire-dropdown>summary h2{margin:0;padding:0;border:0;background:transparent}
.questionnaire-dropdown>summary>.questionnaire-chevron{flex-shrink:0;transition:transform .18s ease}
.questionnaire-dropdown[open]>summary{border-bottom:1px solid #d7e4ee}
.questionnaire-dropdown[open]>summary>.questionnaire-chevron{transform:rotate(90deg)}
.questionnaire-dropdown>summary:focus-visible{outline:2px solid #115e9d;outline-offset:-3px}

.home-portraits[data-member-rotation]{display:block;max-width:270px;margin:0 auto;padding:18px 20px}
.home-portraits figure[hidden]{display:none}
.home-portraits figcaption .detail-3d-icon{width:20px;height:20px;aspect-ratio:auto;object-fit:contain;display:inline-block;margin-right:6px}
.touch-logo{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:280px;max-width:calc(100% - 80px)}
.brand-logo-image{position:relative;display:block;width:100%;aspect-ratio:5.8;overflow:hidden}
.brand-logo-image img{position:absolute;width:155.5%;max-width:none;height:auto;left:-28%;top:-116%}
.touch-logo small{padding-left:2px;font-size:11px}
.drawer-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0;background:#f1f6fb;color:var(--wine);border:1px solid #dce8f2;border-radius:9px}
.drawer-toggle .field-icon{margin:0;font-size:23px;color:inherit}
.site-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:50vw;max-width:50vw;height:100dvh;max-height:100dvh;padding:0;border:0;background:#fbfdfe;color:#115e9d;box-shadow:12px 0 40px #115e9d26;overflow-y:auto}
.site-drawer[open]{animation:drawer-enter .22s ease-out}
.site-drawer::backdrop{background:#115e9d70}
.drawer-open{overflow:hidden}
.drawer-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:18px 14px;border-bottom:1px solid #d3e2ef}
.drawer-close{width:40px;height:40px;padding:0;margin:0;flex-shrink:0;background:#eaf2f9;color:#115e9d;border-radius:8px;font-size:28px;line-height:1}
.touch-more .site-drawer nav{position:static;width:100%;max-height:none;border:0;border-radius:0;box-shadow:none;background:transparent}
.touch-more .site-drawer nav a,.touch-more .site-drawer nav button{padding:13px 14px;overflow-wrap:anywhere;white-space:normal;background:transparent}
.site-drawer nav form{margin:0;padding:0;border:0}
@keyframes drawer-enter{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.site-drawer[open]{animation:none}}
@media(max-width:480px){.touch-more .site-drawer nav a,.touch-more .site-drawer nav button{gap:7px;padding:12px 9px;font-size:12px}.drawer-heading{padding:12px 9px}}
.site-drawer{width:50vw;max-width:50vw;border-radius:0 20px 20px 0;background:#fbfdfe;scrollbar-width:thin;scrollbar-color:#a6c2d9 transparent;overscroll-behavior:contain}
.drawer-heading{position:sticky;top:0;z-index:2;background:#fbfdfe;padding:16px 12px;box-shadow:0 3px 12px #115e9d08}
.drawer-heading strong{font-size:18px;letter-spacing:.2px}
.drawer-close{background:#e1ecf5;border:1px solid #d0e0ee;border-radius:50%;width:36px;height:36px;min-height:36px}
.touch-more .site-drawer nav{padding:8px 7px 24px}
.touch-more .site-drawer nav a,.touch-more .site-drawer nav button{color:#115e9d;font-size:14px;font-weight:500;line-height:1.65;min-height:54px;padding:12px 9px;gap:9px;border:0;border-radius:11px;margin:3px 0;overflow-wrap:normal;word-break:normal}
.touch-more .site-drawer nav a:hover,.touch-more .site-drawer nav button:hover{background:#e7f0f8;color:#115e9d}
.touch-more .site-drawer nav a:focus-visible,.touch-more .site-drawer nav button:focus-visible{outline:2px solid #115e9d;outline-offset:-2px;background:#e7f0f8}
.touch-more .site-drawer nav .menu-3d-icon,.touch-more .site-drawer nav .detail-3d-icon{width:25px;height:25px;flex:0 0 25px}
.drawer-section-title{margin:14px 9px 6px;padding-top:12px;border-top:1px solid #dde7ef;font-size:12px;line-height:1.6;color:#115e9d;font-weight:600}
@media(max-width:360px){.touch-more .site-drawer nav a,.touch-more .site-drawer nav button{padding:11px 6px;gap:7px;font-size:13px}.touch-more .site-drawer nav{padding-left:5px;padding-right:5px}}
.site-drawer{border-radius:0}
@media(max-width:600px){.site-drawer{width:60vw;max-width:60vw}}
@font-face{font-family:Mersad;src:url('../fonts/legacy/mersad-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Mersad;src:url('../fonts/legacy/mersad-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Mersad;src:url('../fonts/legacy/mersad-600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Mersad;src:url('../fonts/legacy/mersad-700.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Mersad;src:url('../fonts/legacy/mersad-800.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:Dachi;src:url('../fonts/legacy/dachi.woff2') format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:Elene;src:url('../fonts/legacy/elene.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Hakuna;src:url('../fonts/legacy/hakuna.woff2') format('woff2');font-weight:400 800;font-display:swap}
:root{--font-sans:'Mersad',ui-sans-serif,system-ui,'Segoe UI',sans-serif;--font-display:'Dachi','Mersad',sans-serif;--font-hand:'Elene',cursive;--font-deco:'Hakuna','Mersad',sans-serif}
body,input,textarea,select,button{font-family:var(--font-sans)}
h1,h2,h3,.drawer-heading strong,.font-display{font-family:var(--font-display);letter-spacing:.01em}
.font-hand{font-family:var(--font-hand)}
.font-deco{font-family:var(--font-deco)}
.drawer-close{display:grid;place-items:center;font-family:Arial,sans-serif;line-height:1;padding:0}
.photo-options{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}
.photo-options span{font-size:13px}
.person-info .person-message{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;margin-top:10px;border:1px solid #d1e1ee;border-radius:8px;background:#f1f6fb;color:#115e9d;text-decoration:none;font-size:13px;line-height:1.5}
.profile-identity{background:linear-gradient(135deg,#fff 30%,#f4f8fc);align-items:center;padding:24px 20px;gap:22px}
.profile-summary{min-width:0;flex:1}
.profile-summary h1{font-family:var(--font-sans);font-size:25px;line-height:1.35;overflow-wrap:anywhere;margin-bottom:10px}
.profile-picture{flex-shrink:0}
.profile-picture>.portrait-placeholder,.profile-picture>.profile-placeholder{background:#e7f0f8;border:1px solid #d0e1ef}
.profile-photo-edit{font-size:11px!important;padding:7px!important;justify-content:center;background:white!important}
.vip-card .vip-join{display:grid;grid-template-columns:1.2fr 1fr;gap:10px;padding:12px;border-top:1px solid #eed5b1;background:#fffbf5}
.vip-card .vip-join a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:8px;border-radius:9px;text-decoration:none;font-size:13px;line-height:1.5;color:#895825;background:#fff;border:1px solid #edd7b8}
.vip-card .vip-join>a{background:#115e9d;color:white;border-color:#115e9d}
.vip-join small{display:block;font-size:11px;opacity:.85}
.module-detail{border:1px solid #d7e4ee;border-radius:16px;padding:16px;background:#fff;box-shadow:0 5px 22px #115e9d08}
.module-detail .module-byline{align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #e4ecf3}
.module-byline>a{font-weight:600;color:#115e9d;text-decoration:none;font-size:15px}
.module-byline time{font-size:11px;color:#907c87}
.module-detail>h2{font-size:22px;margin:16px 0}
.module-detail .story-slides figure{background:#115e9d;border-radius:12px;overflow:hidden}
.module-detail .story-slides img{max-height:52dvh;object-fit:contain}
.module-detail .story-slides figcaption{padding:12px 14px;font-size:14px;line-height:1.6}
.module-detail>form{border:0;padding:0;background:transparent;margin:12px 0 0}
.module-detail>form button{margin-top:0}
@media(max-width:380px){.profile-identity{gap:14px;padding:18px 14px}.profile-summary h1{font-size:21px}.vip-card .vip-join{gap:6px;padding:9px}.vip-card .vip-join a{font-size:12px}}
.person-card{flex-wrap:wrap}
.person-card>.person-message{display:flex;align-items:center;justify-content:center;gap:7px;margin:2px 0 0 auto;padding:9px 13px;border:1px solid #d0e0ed;border-radius:9px;background:#f1f6fb;color:#115e9d;text-decoration:none;font-size:13px}

/* Compact directory controls and card actions. */
.member-search .gender-options span{display:flex;align-items:center;justify-content:center;gap:5px;padding:10px 4px;font-size:12px}
.filter-icon{width:19px;height:19px;flex-shrink:0}
.member-search:has(.search-filters[open]) .quick-search button{display:none}
.member-search:has(.search-filters[open]) .quick-search{grid-template-columns:1fr}
.member-search .search-filters .search-submit{margin-top:18px}
.person-card .person-actions{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #dce8f2}
.person-card .person-actions>*{flex:1;min-width:0;margin:0}
.person-card .person-actions form{padding:0;border:0;background:none}
.person-card .person-actions button,.person-card .person-actions a,.person-card .friend-state{display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;margin:0;padding:8px;border:1px solid #d0dfec;border-radius:8px;background:#f7fafd;color:#115e9d;font-size:12px;text-decoration:none;text-align:center;line-height:1.4}
.person-card .friend-state{color:#637467;background:#f1f8f3}
.person-card .person-info{flex:1;min-width:0}
.vip-card .vip-join>a:first-child,.vip-card .vip-join>a:first-child span,.vip-card .vip-join>a:first-child small{color:#fff!important}
.vip-card .vip-join>a:first-child{justify-content:center;gap:8px;font-weight:600}
.vip-card .vip-join>a:first-child span{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.touch-bottom{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.touch-bottom a{position:relative;min-width:0;padding:8px 2px;font-size:11px}
.touch-bottom .nav-count{position:absolute;top:2px;right:10px;min-width:16px;padding:1px 4px;border-radius:12px;background:#115e9d;color:white;font-size:10px}
@media(max-width:380px){.member-search .gender-options span{flex-direction:column;font-size:11px}.touch-bottom a{font-size:10px}}
.status-card{margin:18px 0;padding:16px;border:1px solid #ccdfef;border-left:3px solid #115e9d;border-radius:10px;background:linear-gradient(125deg,#fff,#f6fafd)}
.status-card header,.status-comment header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#115e9d;font-size:12px}
.status-card header>span{display:flex;align-items:center;gap:6px;font-weight:600}
.status-card time,.status-comment time{color:#897683;font-size:11px}
.status-body,.status-comment p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#115e9d;margin:14px 0}
.status-card footer{display:flex;flex-wrap:wrap;gap:16px;border-top:1px solid #dce6ef;padding-top:12px}
.status-card footer a,.status-read,.status-history-link{display:inline-flex;align-items:center;gap:5px;color:#115e9d;text-decoration:none;font-size:12px}
.status-read{margin-top:12px;font-weight:600}.profile-status{padding:0 16px 16px}.profile-status .status-card{margin-bottom:8px}
.status-like{padding:0!important;background:none!important;border:0!important}
.status-comments h2{font-size:20px}.status-comment{padding:14px 0;border-bottom:1px solid #dce6ef}
.status-comment form{border:0;padding:0;margin:0;background:none}.status-comment .comment-delete{width:auto;padding:5px 0;background:none;color:#115e9d;font-size:11px}
.status-management{margin-top:24px;color:#86717d}
.vip-card .vip-join>a:first-child span{margin:0;font-size:13px}
.vip-card .vip-join>a:first-child small{opacity:1;font-size:12px}
.person-card .person-actions{margin-top:4px}
.search-icon{display:inline-block;width:22px;height:22px;flex-shrink:0;vertical-align:middle;color:inherit}
.touch-bottom .search-icon,.touch-icon .search-icon{width:26px;height:26px}
.directory-symbol .search-icon{width:28px;height:28px}
.member-search .photo-options span{white-space:nowrap;flex-direction:row;min-height:42px}
.person-card .person-actions button,.person-card .person-actions a,.person-card .friend-state{white-space:nowrap}
.default-avatar{display:block;width:100%;height:100%;max-width:100%;color:#587184}
.default-avatar--female{color:#115e9d}.default-avatar--neutral{color:#8d7a88}
.person-photo>.default-avatar{width:76px;height:86px}
.profile-no-photo>.default-avatar,.vip-avatar>.default-avatar{width:100%;height:100%}
.pagination{display:flex;flex-direction:column;gap:10px;margin:24px 0;padding:14px 0;border-top:1px solid #d9e5ef}
.pagination-controls{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}
.pagination .pagination-direction{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:76px;padding:7px 12px;border:1px solid #c5d8e8;border-radius:9px;background:#fff;color:#115e9d;text-decoration:none;font-size:12px}
.pagination .is-disabled{opacity:.4;background:#f3f6f9}
.pagination-position{font-size:12px;color:#806b77;font-variant-numeric:tabular-nums}
.pagination-numbers{display:flex;align-items:center;justify-content:center;gap:5px;width:100%}
.pagination .pagination-number,.pagination-gap{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:40px;min-height:40px;padding:4px;border:1px solid #d2e2ef;border-radius:8px;font-size:13px;text-decoration:none;font-variant-numeric:tabular-nums;color:#115e9d;background:white}
.pagination .is-current{background:#115e9d;color:white;border-color:#115e9d;font-weight:700}
.pagination-gap{min-width:18px;border-color:transparent;background:none;color:#987f8b}
.pagination a:hover{background:#ebf3f9}.pagination a:focus-visible{outline:2px solid #115e9d;outline-offset:2px}
.vip-card .vip-join{grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);align-items:stretch}
.vip-card .vip-join>span{margin:0;min-width:0}
.vip-card .vip-join a{height:100%;white-space:nowrap;gap:5px;padding:8px 6px;font-size:12px}
.vip-card .vip-join>a:first-child span{display:inline;margin:0;white-space:nowrap;font-size:13px}
@media(max-width:360px){.vip-card .vip-join a{font-size:11px}.vip-card .vip-join .detail-3d-icon{width:18px;height:18px}}
/* Compact mobile navigation and directory controls. */
@media(max-width:600px){
.site-drawer{width:min(88vw,340px);max-width:88vw}
.drawer-heading{padding:12px 14px}
.touch-more .site-drawer nav{padding:6px 8px 20px}
.touch-more .site-drawer nav a,.touch-more .site-drawer nav button{min-height:46px;padding:9px 10px;margin:1px 0;gap:10px;font-size:14px;line-height:1.5}
.drawer-section-title{margin:10px 10px 3px;padding-top:9px;font-size:12px}
}
.member-search .photo-options{grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center;gap:6px}
.photo-filter-label{font-size:13px;color:#115e9d;padding-right:2px;white-space:nowrap}
.touch-main-menu .touch-badge{margin-left:auto;min-width:30px;height:24px;padding:0 8px;border-radius:6px;background:#e6eef5;color:#115e9d;font-family:var(--font-body);font-size:13px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.touch-main-menu .touch-badge+.row-chevron{margin-left:0}
.member-search .photo-options{display:grid}.member-search .photo-options>.photo-filter-label{padding:0 2px 0 0;border:0;min-height:0;color:#115e9d;font-size:13px}

.person-new{display:inline-flex;align-items:center;font-size:10px;font-weight:700;line-height:1.4;padding:3px 7px;border-radius:6px;color:#115e9d;background:#e5eff7;white-space:nowrap;margin-left:5px}

html body a,html body a:link,html body a:visited,html body a:hover,html body a:focus,html body a:active,html body a *,html body button{text-decoration:none!important}

.quiz-emblem .menu-3d-icon{width:38px;height:38px;object-fit:contain}

.touch-bottom .nav-count[hidden]{display:none}

.gossip-post-menu>div{padding:6px!important;border-radius:15px!important;box-shadow:0 10px 32px #115e9d20!important}.gossip-post-menu>div>a,.gossip-post-menu>div>button,.gossip-post-menu>div>form>button{display:flex;align-items:center;gap:9px;min-height:42px!important;padding:10px 12px!important;border:0!important;border-radius:9px!important;font-size:12px!important;background:transparent!important}.gossip-post-menu>div>form{padding:0!important;margin:0!important;border:0!important}.gossip-post-menu .gossip-danger{color:#115e9d!important;background:#f5f9fc!important}

.user-presence{display:inline-flex!important;align-items:center;gap:5px;font-size:11px!important;font-weight:500;line-height:1.6;white-space:nowrap;color:#77717b;margin-inline-start:6px;vertical-align:middle}.user-presence i{display:block;width:6px;height:6px;border-radius:50%;background:#aaa5ad;flex:none}.user-presence.is-online{color:#267352}.user-presence.is-online i{background:#29a56c}.profile-summary>.user-presence{margin:0 0 8px}.gossip-post-heading .user-presence{font-size:10px!important}

.account-kind{display:inline-flex;align-items:center;padding:2px 6px;border-radius:5px;font-size:10px;font-weight:600;line-height:1.5;margin:3px 4px;vertical-align:middle;white-space:nowrap}.account-kind.is-bot{color:#805514;background:#fff0d5;border:1px solid #edcf96}.account-kind.is-person{color:#326557;background:#e8f4ee;border:1px solid #c3dfd1}
.profile-action-panel{border:1px solid #cee0ef;border-radius:16px;background:#fff;margin:16px 0 20px;padding:16px}.profile-action-panel h2{font-size:15px;margin:0 0 12px;color:#115e9d}.profile-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-action-grid form{margin:0;display:contents}.profile-action-grid>a,.profile-action-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:100%;min-height:92px;margin:0;padding:10px 5px;border:1px solid #dee9f2;border-radius:12px;background:#f8fbfd;color:#115e9d;font-size:11px;line-height:1.5;text-align:center;box-shadow:none;overflow-wrap:anywhere}.profile-action-grid>a:hover,.profile-action-grid button:hover{background:#e9f1f8;border-color:#adc6db}.profile-action-grid .profile-action-icon{width:34px;height:34px;object-fit:contain;flex:none}.profile-action-grid .profile-block-action{color:#115e9d;background:#fff9f8}.profile-action-grid .field-icon{width:30px;height:30px}

.profile-gallery{border:1px solid #cfe0ed;border-radius:16px;padding:14px;margin:20px 0;background:#fff}.profile-gallery header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.profile-gallery h2{font-size:16px;margin:0}.profile-gallery h2 small{font:12px system-ui;color:#115e9d}.profile-gallery header a{font-size:11px;color:#115e9d}.profile-gallery-strip{display:flex;gap:6px}.profile-gallery-strip>a{position:relative;flex:0 0 calc((100% - 24px)/5);aspect-ratio:1;border-radius:10px;overflow:hidden;background:#eef5fa}.profile-gallery-strip img{width:100%;height:100%;object-fit:cover}.profile-gallery-strip b{position:absolute;inset:0;display:grid;place-items:center;background:#115e9d99;color:#fff;font-size:20px}.profile-gallery-strip p{font-size:12px;color:#967a87;margin:8px 0}.profile-general{border:1px solid #cfe0ed;border-radius:16px;padding:18px;background:#fff}.profile-general>h2{margin:0 0 14px;font-size:18px}.profile-general dl{padding:0}.profile-general dl>div{padding:11px 0;border-bottom:1px solid #e7eef4}.profile-general dl>div:last-child{border:0}.profile-general dd{font-weight:600}.admin-bot-toggle{margin:12px 0 20px;padding:12px;border-radius:12px;background:#fff5df;display:flex;align-items:center;gap:10px}.admin-bot-toggle button{width:auto;margin:0;padding:8px 12px;font-size:12px;flex:none}.admin-bot-toggle small{font-size:11px;color:#886326}

.touch-header .header-tools{align-items:flex-end;margin-inline-start:auto}.touch-header .header-tools .touch-more{align-self:flex-end}.touch-header .drawer-toggle{margin-inline:0}

.profile-primary-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 16px 10px}.profile-primary-actions form{margin:0;padding:0;border:0;background:none}.profile-primary-actions a,.profile-primary-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:100%;height:82px;padding:8px 3px;border:1px solid #cee1f1;border-radius:12px;background:#f9fbfd;color:#115e9d;font:inherit;font-size:12px;text-align:center}.profile-primary-actions img{width:32px;height:32px;object-fit:contain}.profile-friend-action{padding:0 16px 16px}.profile-friend-action form{padding:0;margin:0;border:0;background:none}.profile-friend-action button,.profile-friend-action a{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:7px;border:1px solid #c6dcee;border-radius:10px;background:#fff;color:#115e9d;font:inherit;font-size:13px}.profile-friend-action img{width:26px;height:26px}.profile-gifts{margin:16px 0;padding:14px;border:1px solid #cee1f1;border-radius:16px;background:#fff}.profile-gifts header{display:flex;align-items:center;justify-content:space-between;gap:8px}.profile-gifts h2{margin:0;font-size:17px}.profile-gifts h2 small{font-size:12px;font-weight:400}.profile-gifts header a{font-size:12px;white-space:nowrap}.profile-gift-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:12px}.profile-gift-strip img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}.received-gift-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.received-gift-grid article{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px;border:1px solid #cee1f1;border-radius:14px;text-align:center;font-size:13px}.received-gift-grid img{width:110px;height:110px;object-fit:contain}.received-gift-grid small{font-size:11px;color:#8f7d89}

.brand-logo-image{aspect-ratio:4.5}.brand-logo-image img{width:100%;left:0;top:-32%;height:auto}.vip-contrast-icon{width:28px;height:28px;object-fit:contain;flex-shrink:0}
.profile-primary-actions button,.profile-friend-action button{margin:0}

.site-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(calc(100% - 32px),480px);margin:-8px auto 24px;padding:0 2px;color:#115e9d}.site-footer small{font-size:11px;text-align:right;line-height:1.5}.site-footer #oxo-counter{min-width:80px;min-height:15px;flex:none;line-height:1}.site-footer #oxo-counter img{display:block;max-width:100%;border:0}@media(max-width:520px){.site-footer{width:100%;margin:14px auto 20px;padding:0 14px}.site-footer small{font-size:10px}}

.profile-reactions{margin:16px 0;padding:15px 10px;background:linear-gradient(130deg,#fff,#f6f9fc);border:1px solid #cce0f0;border-radius:16px}.profile-reactions header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px 12px}.profile-reactions h2{font-size:16px;margin:0}.profile-reactions header small{font-size:11px;color:#115e9d;white-space:nowrap}.profile-reaction-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.profile-reaction-row>button{margin:0;padding:3px 0 0;background:none;border:0;color:#115e9d;font:inherit;font-size:10px;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;cursor:pointer}.profile-reaction-row>button:disabled{opacity:1;cursor:default}.profile-reaction-art{position:relative;width:100%;max-width:50px;aspect-ratio:1;border-radius:14px;background:#fff;border:1px solid #d5e5f2;display:grid;place-items:center}.profile-reaction-art img{width:100%;height:100%;object-fit:contain}.profile-reaction-art b{position:absolute;right:-2px;bottom:-5px;min-width:17px;padding:1px 4px;border-radius:10px;background:#115e9d;color:#fff;font:10px/1.4 Arial,sans-serif;box-shadow:0 0 0 2px #f9fbfd}.profile-reaction-row>button:hover .profile-reaction-art{border-color:#115e9d;background:#fafcfd}.reaction-confirm{width:min(350px,calc(100% - 32px));border:1px solid #c6dcee;border-radius:20px;padding:22px;color:#115e9d;text-align:center}.reaction-confirm::backdrop{background:#115e9d80;backdrop-filter:blur(3px)}.reaction-confirm form{margin:0;padding:0;border:0;background:none}.reaction-confirm-art{display:block;margin:0 auto 12px;object-fit:contain}.reaction-confirm h2{font-size:20px}.reaction-confirm p{font-size:13px}.reaction-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}.reaction-confirm-actions button{margin:0;padding:12px 5px;font-size:12px}.reaction-confirm-actions [type=button]{background:#edf4fa;color:#115e9d}@media(max-width:370px){.profile-reactions{padding:12px 6px}.profile-reactions h2{font-size:14px}.profile-reactions header small{font-size:10px}.profile-reaction-row>button{font-size:9px}}

/* Compact personal navigation, shared by authenticated pages. */
.touch-header{padding:10px 14px;gap:10px}
.touch-header .brand-logo-image{width:148px;max-width:100%}
.touch-header .header-tools{flex-direction:row;align-items:center;gap:10px}
.touch-header .drawer-toggle{width:38px;height:38px;min-height:38px;margin:0}
.header-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:5px 8px;background:#fafcfd;border-bottom:1px solid var(--line)}
.header-shortcuts a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;color:var(--wine);font-size:10px;border-radius:8px}
.header-shortcuts .menu-3d-icon{width:24px;height:24px;object-fit:contain}
.header-shortcuts a:hover,.header-shortcuts a[aria-current]{background:#e9f1f8}
.touch-bottom{grid-template-columns:repeat(4,minmax(0,1fr))}

.header-presence{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:linear-gradient(110deg,#e9f2f9,#f7fafd);border-bottom:1px solid var(--line)}
.header-presence a{display:flex;align-items:center;gap:7px;min-height:36px;padding:6px 10px;border:1px solid #d4e3ef;border-radius:10px;background:#ffffffc9;color:#115e9d;font-size:12px}
.header-presence strong{display:grid;place-items:center;min-width:25px;padding:2px 6px;border-radius:7px;background:#e1edf6;color:var(--wine);font-size:12px;font-variant-numeric:tabular-nums}
.header-presence .field-icon{margin:0;color:var(--wine)}
.presence-dot{width:7px;height:7px;border-radius:50%;background:#29a56c;box-shadow:0 0 0 3px #29a56c12}

.touch-header{position:sticky;top:0;z-index:40;background:#fffdfd;box-shadow:0 2px 8px #115e9d0a}

.touch-header .header-admin-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 10px;border:1px solid #d1e0ed;border-radius:10px;background:#edf4f9;color:#115e9d;font-size:12px;font-weight:700;white-space:nowrap;text-decoration:none}.touch-header .header-admin-link:hover{background:#dce8f2}.touch-header .header-admin-link:focus-visible{outline:2px solid #115e9d;outline-offset:3px}


.service-card{padding:16px;margin:14px 0;border:1px solid var(--line);border-radius:14px;background:#fff}
.service-card h2{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:16px;color:var(--wine);margin:0 0 8px}
.service-card h2 small{font-size:12px;white-space:nowrap;padding:5px 8px;border-radius:8px;background:var(--rose)}
.service-card p{font-size:13px;line-height:1.7;color:#665761}.service-card form{margin:0;padding:0;border:0}.service-card button{width:100%;margin-top:12px;background:var(--wine)}
.service-card label{font-size:12px;margin:12px 0 5px}.service-balance{display:flex;gap:8px;align-items:center;font-size:13px}.service-balance a{margin-left:auto}.service-link{display:block;margin-top:12px;font-size:13px}.service-preview{padding:18px;background:var(--rose,#edf4fa);border:1px solid var(--line,#d4e3ef);border-radius:10px;margin:14px 0}.service-preview p{margin-bottom:0}
[data-personal-theme=blue]{--wine:#245b91;--rose:#eaf3fb;--line:#cbddec;--blue:#245b91;--personal-bg:#f1f7fc}
[data-personal-theme=green]{--wine:#226849;--rose:#e9f5ee;--line:#cadfd3;--blue:#226849;--personal-bg:#f2f9f5}
[data-personal-theme=purple]{--wine:#71458c;--rose:#f3ecf8;--line:#dfcfe9;--blue:#71458c;--personal-bg:#f8f3fc}
body[data-personal-theme]:not([data-personal-theme=default]){background:var(--personal-bg)}
body[data-personal-theme]:not([data-personal-theme=default]) :is(.touch-shell,.touch-header,.touch-bottom,.messenger){background:#fff;border-color:var(--line)}
body[data-personal-theme]:not([data-personal-theme=default]) :is(.header-shortcuts,.header-presence,.menu-group-title,.touch-section-title,.touch-icon,.touch-badge,.message.outgoing){background:var(--rose);border-color:var(--line);color:var(--wine)}
body[data-personal-theme]:not([data-personal-theme=default]) :is(.touch-main-menu a,.header-shortcuts a,.header-presence a){color:var(--wine);border-color:var(--line)}
body[data-personal-theme]:not([data-personal-theme=default]) .touch-main-menu a:nth-child(even){background:var(--personal-bg)}
.service-catalog{display:grid;gap:10px;margin:16px 0}.service-tile{display:flex;align-items:center;gap:12px;padding:13px 12px;background:linear-gradient(120deg,#fff,#fafcfd);border:1px solid var(--line);border-radius:18px;text-decoration:none;color:var(--wine);transition:box-shadow .2s}.service-tile:hover{box-shadow:0 5px 18px #115e9d13}.service-tile img{width:76px;height:76px;object-fit:contain;flex-shrink:0}.service-tile span{flex:1;min-width:0}.service-tile strong{display:block;font-size:15px}.service-tile small{display:block;color:#7b6a74;font-size:11px;line-height:1.6;margin:5px 0}.service-tile b{font-size:11px;font-weight:500}.service-tile em{font-size:26px;font-style:normal;color:#7e98ae}.service-back{display:inline-block;margin:8px 0 16px;font-size:12px;color:var(--wine)}.service-hero{text-align:center;padding:8px 20px 24px;background:radial-gradient(ellipse at center,#eaf2f9,transparent 70%)}.service-hero img{width:116px;height:116px;object-fit:contain}.service-hero h1{font-size:23px;color:var(--wine);margin:4px 0 10px}.service-hero p{font-size:13px;line-height:1.8;color:#77616e;max-width:400px;margin:0 auto 14px}.service-hero>b{display:inline-block;background:#fff;border:1px solid var(--line);padding:7px 14px;border-radius:20px;font-size:12px;color:var(--wine)}.service-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.service-option{position:relative;margin:0!important;cursor:pointer}.service-option input{position:absolute;opacity:0;width:1px;height:1px}.service-option>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:90px;border:1px solid var(--line);border-radius:13px;background:var(--rose,#fafcfe);padding:12px}.service-option strong{font-size:21px;color:var(--wine)}.service-option small{font-size:11px;color:#115e9d}.service-option input:checked+span{outline:2px solid var(--wine);outline-offset:1px}.service-option input:focus-visible+span{outline:3px solid #245b91}.service-balance{padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.service-card button{border-radius:12px;min-height:46px}.service-card .hint{font-size:11px;text-align:center}.service-review-icon{width:84px;height:84px;object-fit:contain;display:block;margin:auto}

.personal-status-icon{display:inline-block!important;width:26px!important;height:26px!important;object-fit:contain;vertical-align:middle;margin-left:3px}.status-options{grid-template-columns:repeat(3,minmax(0,1fr))}.status-choice-icon{width:58px;height:58px;object-fit:contain}.status-options .service-option>span{padding:8px 4px;min-height:108px}.status-options .service-option small{font-size:10px;text-align:center;line-height:1.5}

.service-option[hidden],#font-more[hidden]{display:none!important}[data-font-label]>span{overflow:hidden}[data-font-label] strong{max-width:100%;font-size:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-font-label] small{overflow-wrap:anywhere}#font-more{background:var(--rose);color:var(--wine);border:1px solid var(--line)}

.font-tabs{display:flex;gap:8px;margin:16px 0}.service-card .font-tabs button{margin:0;background:var(--rose);color:var(--wine);border:1px solid var(--line)}.service-card .font-tabs button[aria-selected=true]{background:var(--wine);color:white}[data-font-label] strong{padding:7px 4px;line-height:1.6}

:root{--wine:#115e9d;--rose:#edf3f6;--line:#d5e2ed;--blue:#115e9d}
body{background:linear-gradient(135deg,#fffdf0 0%,#fff0f5 100%);background-attachment:fixed;color:#354248}
.touch-header{background:#115e9d;color:white}
.touch-header .touch-logo,.touch-header .touch-logo small,.touch-header .touch-logo strong,.touch-header .touch-more summary{color:white}
.touch-header .touch-more summary svg{stroke:white}
.touch-header .touch-logo>svg{fill:white}
