/* V6.15.1 — shared mobile, desktop and native-web presentation */
:root{--bg:#f8f9fb;--card:#fff;--soft:#f2f4f7;--text:#15171c;--muted:#667085;--line:#e6e9ee;--r:20px;--rs:14px;--shadow:0 4px 18px rgba(16,24,40,.035)}
html{scroll-padding-top:100px;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{background:#edf0f4;line-height:1.5}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #3259b8;outline-offset:3px}
button:disabled{cursor:not-allowed}
input,select,textarea{font-size:16px!important}
.app{width:min(760px,100vw);min-height:100dvh}
.main-header{padding:calc(19px + env(safe-area-inset-top,0px)) 22px 16px;background:rgba(248,249,251,.96);border-bottom:1px solid var(--line)}
.header-line{gap:12px;align-items:center}
.header-line>div:first-child{min-width:0}
.header-line h1{font-size:25px;line-height:1.24;letter-spacing:-.7px;overflow-wrap:anywhere}
.subtitle{line-height:1.5;margin-top:5px}
.header-tools{flex-shrink:0;gap:7px}
#header>.header-line>div:first-child{padding-left:43px}
.search-wrap{margin-top:15px}
.search{height:46px;box-shadow:none;border:1px solid var(--line);border-radius:14px}
.icon-btn{width:44px;height:44px;border-radius:14px;flex-shrink:0}
#main{padding:19px 20px calc(112px + env(safe-area-inset-bottom,0px))}
.card,.panel{border-color:var(--line);padding:19px;margin-bottom:14px;box-shadow:var(--shadow)}
.post-text{line-height:1.8;overflow-wrap:anywhere}
.post-head .user-meta{min-width:0}.user-meta b,.contact-info b{overflow-wrap:anywhere}
.user-meta small{font-size:11px;line-height:1.7;display:block}
.actions{gap:3px;margin-top:14px;padding-top:10px}
.actions button{min-height:40px;font-size:12px;padding:7px 9px}
.section-title{gap:12px;margin:21px 1px 13px;align-items:center}
.section-title h2{font-size:16px;letter-spacing:-.3px}
.more-link{min-height:36px;font-size:12px;white-space:nowrap}
.chips{gap:8px;padding-bottom:12px}.chip{min-height:38px;font-weight:600;white-space:nowrap}
.home-tools{gap:12px}.home-tool{min-height:78px;padding:15px;border:1px solid var(--line);box-shadow:none}
.home-tool-icon{background:#f2f4f7;color:#252a34;flex-shrink:0}
.feed-mode-note{font-size:11px;color:var(--muted)}
.bottom{width:min(760px,100vw);min-height:76px;padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);border-top:1px solid var(--line);box-shadow:0 -5px 24px rgba(16,24,40,.03);gap:5px}
.bottom button{min-height:54px;border-radius:15px;color:#707784;transition:background .15s,color .15s}
.bottom button.active{background:#eef0f4;color:#12161f;font-weight:700}
.bottom button small{font-size:11px;margin-top:4px}
.bottom .publish-nav span{background:#15171c;color:#fff;border-radius:13px;box-shadow:none}
.bottom .publish-nav.active{background:#eef0f4}
.detail-page{width:min(760px,100vw);background:var(--bg)}
.detail-header{padding-top:calc(12px + env(safe-area-inset-top,0px));background:rgba(255,255,255,.98);border-bottom:1px solid var(--line)}
.detail-body{padding-bottom:calc(30px + env(safe-area-inset-bottom,0px))}
.detail-section{border:1px solid var(--line);border-radius:18px;box-shadow:none}
.sheet{width:min(760px,100vw);max-height:90dvh;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}
.btn{min-height:44px;border-radius:13px;line-height:1.35}
.input,.select{min-height:46px;border-radius:12px}
.textarea{min-height:112px;line-height:1.7}
.form>label{font-size:13px;line-height:1.6}
.notice{padding:13px 14px;border-radius:13px;font-size:12px;line-height:1.8}
.empty{padding:40px 20px;line-height:1.8;border:1px dashed #d7dde6;border-radius:18px;background:#fff;color:#697386}
.profile-strip{gap:12px;padding-bottom:6px;scroll-snap-type:x proximity}
.discover-ranked-account{min-width:164px;max-width:188px;border:1px solid var(--line);box-shadow:none;scroll-snap-align:start;padding:17px;border-radius:18px}
.discover-ranked-account>b{font-size:14px;overflow-wrap:anywhere}
.discover-ranked-account>.tag{font-size:10px;background:#f3f5f8;border:0;margin:7px 0}
.discover-follower-count{color:#111827!important;font-weight:700;font-variant-numeric:tabular-nums}
.discover-empty{padding:20px;border:1px dashed var(--line);border-radius:14px;background:#fff}
.group-hot-grid{gap:12px}.group-hot-grid>*{border:1px solid var(--line);box-shadow:none;border-radius:17px}
.discover-ad{border-radius:22px;overflow:hidden}.discover-ad-title{letter-spacing:-.5px}
.org-card,.membership-card{box-shadow:var(--shadow)}
.network-sync-pill{max-width:calc(100vw - 32px);font-size:12px;line-height:1.6;white-space:normal}
.network-auth-gate{display:flex;flex-direction:column;padding:24px;align-items:center;justify-content:flex-start;background:#f4f6f9;overflow-y:auto;height:100vh;height:var(--app-height,100dvh);min-height:0}
.network-auth-card{width:min(960px,100%);min-height:0;padding:0;margin:auto 0;flex:0 0 auto;display:grid;grid-template-columns:.95fr 1.05fr;border-radius:28px;overflow:hidden;border:1px solid #e1e5eb;box-shadow:0 24px 80px rgba(16,24,40,.07)}
.auth-intro{padding:38px 34px;background:#fafbfc;border-right:1px solid var(--line);display:flex;flex-direction:column}
.network-auth-brand{display:flex;gap:16px;align-items:center;margin:0;flex-wrap:wrap}
.network-auth-brand>span{display:flex;align-items:center;gap:12px;white-space:nowrap}
.network-auth-brand .vdot-mark{width:44px;height:44px;flex-basis:44px}
.network-auth-brand .auth-brand-name{display:block;font-size:22px;letter-spacing:-.6px;line-height:1.25;color:#14171c}
.network-auth-brand .auth-brand-name small{display:block;font-size:8px;letter-spacing:1.5px;font-weight:650;color:#7a8392;margin-top:5px}
.network-auth-brand>b{background:#eef0f4;color:#626d7b;border:0;padding:4px 7px;font-size:10px;letter-spacing:.2px;font-weight:650}
.auth-hero-copy{margin:65px 0 25px}
.auth-kicker{font-size:9px;letter-spacing:1.4px;color:#747d8d;font-weight:700}
.auth-hero-copy h2{font-size:36px;line-height:1.25;letter-spacing:-1.2px;margin:14px 0 18px;max-width:290px}
.auth-hero-copy>.muted{font-size:14px;line-height:1.95;white-space:pre-line;color:#737c8b}
.auth-intro-notes{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:20px}
.auth-intro-notes span{font-size:10px;color:#667085;background:#eef1f5;padding:6px 9px;border-radius:7px}
.auth-controls{padding:35px 32px;background:#fff;min-width:0}
.network-auth-tabs{padding:4px;background:#f1f3f6;border:0;border-radius:13px;gap:4px;margin-bottom:23px}
.network-auth-tabs button{min-height:41px;border-radius:10px;font-size:13px}
.network-auth-tabs button.active{background:#fff;color:#111827;box-shadow:0 2px 7px rgba(16,24,40,.06)}
.auth-form{gap:16px}.auth-form label{font-weight:600;font-size:12px;color:#384152}
.auth-form .input{background:#fff;border:1px solid #dfe4eb;box-shadow:none;height:47px}
.auth-primary{background:#161920!important;color:#fff!important;box-shadow:none!important;min-height:47px;font-weight:650;margin-top:6px}
#networkGuestLogin{background:#f5f6f8;border:1px solid #e5e8ee;color:#505c6e;min-height:45px;font-size:12px}
.network-auth-error{line-height:1.7;font-size:12px;min-height:0}
.network-server-box{margin-top:23px;padding:12px;border:1px solid #e8ebf0;border-radius:12px;background:#fafbfc}
.network-server-box summary{font-size:11px;color:#7b8493;cursor:pointer}
.network-auth-foot{font-size:10px;color:#8b94a3;margin-top:12px;line-height:1.6;text-align:center}
.site-registration-auth{font-size:10px;color:#8b94a3;margin-top:20px}
.site-registration-footer{font-size:10px;color:#8b94a3}
@media(min-width:800px){.app{border-left:1px solid #e0e5eb;border-right:1px solid #e0e5eb}.main-header{padding-left:27px;padding-right:27px}#main{padding-left:26px;padding-right:26px}.post-text{font-size:16px}.card{padding:23px}.home-tools{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.network-auth-gate{padding:20px 14px;align-items:flex-start}.network-auth-card{display:block;width:min(460px,100%);border-radius:24px;margin:auto}.auth-intro{padding:24px 24px 3px;background:#fff;border:0}.auth-controls{padding:18px 24px 24px}.auth-hero-copy{margin:28px 0 9px}.auth-hero-copy h2{font-size:29px;margin:10px 0 12px;max-width:none}.auth-hero-copy>.muted{font-size:12px;line-height:1.9}.auth-intro-notes{display:none}.network-auth-brand .vdot-mark{width:38px;height:38px;flex-basis:38px}.network-auth-brand .auth-brand-name{font-size:20px}.network-auth-brand>b{margin-left:auto}.network-auth-tabs{margin-bottom:19px}}
@media(max-width:380px){.main-header{padding-left:14px;padding-right:14px}.header-line h1{font-size:22px}#main{padding-left:12px;padding-right:12px}.card,.panel{padding:15px}.home-tool{padding:11px}.home-tool b{font-size:12px}.header-tools .session-badge{display:none}.bottom{gap:2px;padding-left:7px;padding-right:7px}.auth-intro{padding-left:20px;padding-right:20px}.auth-controls{padding-left:20px;padding-right:20px}.network-auth-brand .auth-brand-name{font-size:18px}.network-auth-brand{gap:8px}.network-auth-brand>span{gap:8px}.network-auth-brand .auth-brand-name small{font-size:7px;letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Equal card rows keep rank labels and follower counts aligned despite long names. */
.discover-ranked-account{display:grid;grid-template-rows:48px 30px 42px 24px 36px;gap:6px;align-items:center;align-content:start;text-align:left;box-sizing:border-box}.discover-ranked-account>.avatar{margin:0;justify-self:start}.discover-ranked-account>.tag{display:inline-flex;align-items:center;justify-self:start;align-self:center;width:max-content;max-width:100%;min-height:24px;margin:0!important;line-height:1.25;box-sizing:border-box}.discover-ranked-account>b{margin:0;line-height:21px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.discover-ranked-account>small{display:block;min-width:0;line-height:18px;overflow:hidden}.discover-page .section-title{align-items:center;gap:10px}.discover-page .section-title h2{min-width:0}.discover-page .section-title .more-link{flex-shrink:0}.discover-page .chips{align-items:center}.discover-page .chip{display:inline-flex;align-items:center;justify-content:center;min-height:34px;line-height:1.25;box-sizing:border-box}

/* V6.16.3: a shared optical axis; reading content stays naturally left aligned. */
:root{--content-width:840px;--page-gutter:20px}
.app{width:100%;max-width:none;margin-inline:auto;box-shadow:none;border:0}
.main-header,#main{width:100%;max-width:var(--content-width);margin-inline:auto;box-sizing:border-box}
.main-header{padding-inline:var(--page-gutter)}
#main{padding-inline:var(--page-gutter)}
.header-line{position:relative;display:block;min-height:46px}
#header>.header-line>div:first-child{width:100%;padding-inline:56px!important;box-sizing:border-box;text-align:center;min-height:46px;display:flex;flex-direction:column;justify-content:center}
#header .header-line h1{margin:0;font-size:24px;line-height:1.3;letter-spacing:-.5px}
#header .subtitle{margin-top:4px;text-align:center}
.header-tools{position:absolute;right:0;top:50%;transform:translateY(-50%);justify-content:flex-end}
#header>.header-line:has(.header-tools>:nth-child(2))>div:first-child{padding-inline:100px!important}
.bottom{width:min(var(--content-width),calc(100vw - 24px));height:auto;min-height:76px;left:50%;transform:translateX(-50%);box-sizing:border-box;margin:0;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center}
.bottom button{margin:0!important;min-width:0;align-self:stretch;align-items:center;justify-content:center;gap:4px}
.bottom button small{margin:0;line-height:1.3}
.bottom .publish-nav span{margin-top:0;width:42px;height:42px;line-height:1}
.detail-page,.admin-standalone .detail-page{width:100%;max-width:none;margin:0}
.detail-header{box-sizing:border-box;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;padding-inline:max(16px,calc((100vw - var(--content-width))/2 + 20px));min-height:68px;height:auto}
.detail-back{display:grid;place-items:center;line-height:1;padding:0}
.detail-body:not(.chat-detail){padding-inline:var(--page-gutter)}
.detail-body:not(.chat-detail)>*{width:100%;max-width:800px;margin-inline:auto;box-sizing:border-box}
.detail-body .form{width:100%;min-width:0;box-sizing:border-box}
.booking-view .form{max-width:680px;margin-inline:auto}
.booking-view>.section-title{flex-wrap:wrap;row-gap:12px}
.booking-view .booking-actions{justify-content:center}
.booking-project-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:18px;padding:18px 4px}
.booking-project-card>.btn{justify-self:center;min-width:64px}
.booking-time-row{align-items:end}
.booking-time-row>.btn{justify-self:start}
.booking-deadline{font-variant-numeric:tabular-nums;line-height:1.5}
.discover-ranked-account{justify-items:center;text-align:center;grid-template-rows:48px 28px 42px 22px 36px;gap:7px;padding:16px!important;min-width:156px;flex-basis:156px!important}
.discover-ranked-account>:first-child,.discover-ranked-account>.avatar{justify-self:center;margin-inline:auto}
.discover-ranked-account>.tag{justify-self:center;text-align:center;max-width:100%}
.discover-ranked-account>b,.discover-ranked-account>small{width:100%;text-align:center}
.discover-page .section-title{margin-inline:0;min-height:40px;align-items:center}
.discover-page .section-title h2{line-height:1.4;margin:0}
.discover-page .chips{gap:8px;align-items:center}
.discover-page .chip{margin:0;min-height:36px;padding:8px 12px}
.weekly-activities>.muted{margin:0 0 6px;line-height:1.6}
.rich-image-picker{padding:16px 0;gap:10px}
.rich-image-picker .preview-grid:empty{display:none}
@media(min-width:800px){.main-header{padding-top:24px;padding-bottom:18px}#main{padding-top:24px}.bottom{bottom:12px;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 30px rgba(16,24,40,.08)}.detail-body:not(.chat-detail){padding-top:24px}}
@media(max-width:380px){:root{--page-gutter:14px}.discover-ranked-account{min-width:140px;flex-basis:140px!important}#header .header-line h1{font-size:21px}.bottom{width:calc(100vw - 16px);padding-inline:6px}.booking-project-card{column-gap:12px}}
/* Reserve desktop scroll space symmetrically; phones use overlay scrolling. */
html{scrollbar-gutter:stable both-edges}
@media(max-width:760px){html{scrollbar-gutter:auto}}
.discover-account-section .profile-strip:not(:has(>:nth-child(3))){justify-content:center}
