/* Reference typography: original, locally hosted OFL typefaces.
   Prata is used at display sizes; Old Standard provides real text italics.
   Keep data labels in Manrope and never synthesize a heavier display face. */
@font-face{font-family:Prata;src:url('/assets/prata-regular-v1.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Old Standard TT';src:url('/assets/old-standard-regular-v1.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Old Standard TT';src:url('/assets/old-standard-italic-v1.ttf') format('truetype');font-style:italic;font-weight:400;font-display:swap}
:root{--sovet-display:Prata,Georgia,serif;--sovet-text:'Old Standard TT',Georgia,serif}
#editorialMenu{--em-font:var(--sovet-text);font-synthesis:none;font-kerning:normal}
#clubModal.club-space{--cs-font:var(--sovet-text);font-synthesis:none;font-kerning:normal}

/* Menu — a calm, high-contrast title, with the reference's two-line rhythm. */
#editorialMenu .em-title{font-family:var(--sovet-display);font-weight:400;letter-spacing:-.035em;font-size:clamp(34px,4.05vw,66px);line-height:1.15}
#editorialMenu .em-brand-name{font-family:var(--sovet-display);font-weight:400;font-size:clamp(23px,2.2vw,34px);letter-spacing:-.025em;line-height:1.35}
#editorialMenu .em-club-head h2{font-family:var(--sovet-display);font-size:28px;font-weight:400;letter-spacing:-.025em;line-height:1.2}
#editorialMenu :is(.em-primary,.em-secondary,.em-account-button,.em-tile-copy strong,.em-status,.em-user-label,.em-switch,.em-local,.em-saved-room,.em-footer button,.em-club-head p){font-weight:400!important}
#editorialMenu .em-primary{font-size:clamp(22px,2.05vw,30px)!important;line-height:1.2!important}
#editorialMenu .em-secondary{line-height:1.2!important}
#editorialMenu .em-tile-copy strong{line-height:1.15}
#editorialMenu :is(.em-local,.em-saved-room,.em-footer button){text-decoration-thickness:1px;text-underline-offset:.2em;text-decoration-skip-ink:auto}

/* Personal space — one serif vocabulary across names, navigation and cards. */
#clubModal.club-space .cs-brand{font-family:var(--sovet-display);font-weight:400;font-size:clamp(23px,2.3vw,33px);letter-spacing:-.025em;line-height:1.15}
#clubModal.club-space #clubTitle{font-family:var(--sovet-display)!important;font-weight:400!important;font-size:clamp(39px,4vw,58px)!important;letter-spacing:-.035em!important;line-height:1.3!important}
#clubModal.club-space :is(.cs-person-info h4,.cs-identity strong,.cs-identity h4,.cs-friend-name,.cs-card-title,.cs-collection-card h4,.cs-empty h4,.cs-zodiac-copy h4,.cs-friends-head h4,.cs-collection-head h4){font-weight:400;letter-spacing:-.015em;line-height:1.16}
#clubModal.club-space :is(.club-tabs button,.cs-back,.cs-add,.cs-card-button,.cs-primary,.cs-person-edit,.cs-secondary-actions button,.cs-shortcuts button,.cs-text-button,.cs-identity button){font-weight:400!important}
#clubModal.club-space :is(.cs-subtitle,.cs-friend-title,.cs-card-quote,.cs-card-label,.cs-friend-open,.cs-zodiac-element){font-weight:400}
#clubModal.club-space .cs-person-info h4{font-size:clamp(30px,3.2vw,48px)}
#clubModal.club-space .cs-card-title{font-size:clamp(27px,2.6vw,39px)}
#clubModal.club-space .cs-friend-name{font-size:clamp(23px,2vw,29px)}
#clubModal.club-space .cs-friend-title{line-height:1.2}
.primary-profile-panel{font-synthesis:none}
.primary-profile-panel :is(.modal-head h3,.primary-profile-option strong,.primary-profile-link strong,.primary-profile-current h4,.primary-profile-actions button){font-family:var(--sovet-text)!important;font-weight:400!important}

@media(min-width:1101px) and (min-height:850px){
 #clubModal.club-space .cs-friend-name{font-size:23px}
 html[data-brand=clean] #clubModal.club-space[data-cs-section=friends] #clubTitle{font-size:48px!important}
}
@media(min-width:901px) and (max-height:800px){
 #editorialMenu .em-title{font-size:clamp(35px,7vh,54px)}
 #editorialMenu .em-brand-name{font-size:26px;line-height:1.3}
 #editorialMenu .em-switch{min-height:20px;font-size:15px!important}
}
@media(min-width:701px) and (orientation:landscape) and (max-height:820px){
 #clubModal.club-space #clubTitle{font-size:40px!important}
}
@media(min-width:701px) and (orientation:landscape) and (max-height:760px){
 #clubModal.club-space #clubTitle{font-size:33px!important}
}
@media(max-width:1100px) and (orientation:portrait){
 #editorialMenu .em-brand-name,#clubModal.club-space .cs-brand{font-size:clamp(17px,4.7vw,26px);letter-spacing:-.035em}
 #editorialMenu .em-title{font-size:clamp(27px,3.7dvh,34px);line-height:1.14;max-width:100%;letter-spacing:-.04em}
 #editorialMenu .em-primary{font-size:23px!important}
 #editorialMenu .em-club-head h2{font-size:24px}
 #editorialMenu .em-tile-copy strong{font-size:18px}
 #clubModal.club-space #clubTitle{font-size:37px!important}
 #clubModal.club-space .cs-person-info h4{font-size:27px}
 #clubModal.club-space .cs-card-title{font-size:27px}
 #clubModal.club-space .cs-friend-name{font-size:25px}
}
@media(max-width:1100px) and (orientation:portrait) and (min-height:741px){
 #clubModal.club-space .cs-friend{--cs-copy-height:180px;flex-basis:clamp(240px,calc(100cqh - var(--cs-copy-height) - 12px),280px)}
 #clubModal.club-space .cs-friend-photo{width:min(100%,calc(100cqh - var(--cs-copy-height) - 12px));justify-self:center}
 #clubModal.club-space .cs-friend-name{font-size:23px}
}
@media(max-width:1100px) and (orientation:portrait) and (max-height:740px){
 #editorialMenu .em-title{font-size:26px}
 #editorialMenu :is(.em-primary,.em-secondary){font-size:18px!important;padding-inline:6px}
 #editorialMenu .em-profile .em-status{font-size:16px;white-space:normal;overflow-wrap:anywhere}
 #editorialMenu .em-club-head h2{font-size:22px}
 #editorialMenu .em-tile-copy strong{font-size:16px}
 #clubModal.club-space #clubTitle{font-size:32px!important}
 #clubModal.club-space .cs-person-info h4{font-size:23px}
 #clubModal.club-space .cs-card-title{font-size:23px}
 #clubModal.club-space .cs-friend-name{font-size:22px}
}
@media(max-width:360px) and (orientation:portrait){
 #clubModal.club-space .club-tabs button{font-size:13px!important}
}
@media(orientation:landscape) and (max-height:600px){
 #editorialMenu .em-title{font-size:26px}
 #editorialMenu .em-brand-name,#clubModal.club-space .cs-brand{font-size:22px}
 #editorialMenu .em-club-head h2{font-size:22px}
 #clubModal.club-space #clubTitle{font-size:29px!important}
 #clubModal.club-space .cs-person-info h4{font-size:25px}
 #clubModal.club-space .cs-card-title{font-size:24px}
 #clubModal.club-space .cs-friend-name{font-size:21px}
}
@media(orientation:landscape) and (max-height:480px){
 #clubModal.club-space .cs-person-info h4{font-size:22px;line-height:1.12}
 #clubModal.club-space .cs-person-info .cs-person-label{font-size:12px}
}
