/* Shared desktop presentation for the existing, server-rendered main pages. */
@media (min-width:1030px){
  .app-shell.standard-pc-shell,.app-shell.settings-shell{width:100%;max-width:none;min-height:100dvh;padding:0 var(--pc-shell-gutter) 44px var(--pc-shell-sidebar-reserve);background:#fffafb}
  .standard-pc-shell>.site-header,.settings-shell>.site-header{position:sticky;z-index:10;top:0;min-height:var(--pc-header-height);margin:0 calc(-1 * var(--pc-shell-gutter)) 0 calc(-1 * var(--pc-shell-sidebar-reserve));padding:0 38px;border-bottom:1px solid #f0e8eb;background:rgba(255,255,255,.94);box-shadow:0 1px 0 rgba(66,51,57,.03);backdrop-filter:blur(12px)}
  .standard-pc-shell .site-header-actions,.settings-shell .site-header-actions{position:fixed;z-index:11;top:14px;right:38px;display:flex;align-items:center;min-height:44px}
  .standard-pc-shell .app-bottom-nav,.settings-shell .app-bottom-nav{position:fixed;z-index:7;top:var(--pc-header-height);right:auto;bottom:0;left:0;display:grid;width:var(--pc-sidebar-width);grid-template-columns:1fr;align-content:start;gap:var(--pc-nav-gap);margin:0;padding:28px 18px;border:0;border-right:1px solid #f0e8eb;border-radius:0;background:#fff;box-shadow:none}
  .standard-pc-shell .app-bottom-nav a,.settings-shell .app-bottom-nav a{display:flex;align-items:center;min-height:var(--pc-nav-item-height);padding:0 14px;border-radius:14px;color:#706d76;font-size:14px;font-weight:700;text-decoration:none}
  .standard-pc-shell .app-bottom-nav a.active,.settings-shell .app-bottom-nav a.active{background:#fff0f4;color:#de6689}
  .standard-pc-shell .page.server-page{width:min(100%,920px);min-width:720px;margin:0 auto;padding:40px 0 48px}
  .standard-pc-shell .page.server-page>.eyebrow{margin:0 0 5px;color:#e77596;font-size:11px;font-weight:800;letter-spacing:.14em}.standard-pc-shell .page.server-page>h1{margin:0 0 26px;color:#24232b;font-size:34px}
  .matches-pc-shell .server-person-row,.messages-pc-shell .server-conversation-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:96px;padding:12px 16px;border:1px solid #eee9ec;border-radius:18px;background:#fff;color:#2d2b33;box-shadow:0 8px 20px rgba(60,46,52,.05);text-decoration:none}.matches-pc-shell .server-person-row+.server-person-row,.messages-pc-shell .server-conversation-row+.server-conversation-row{margin-top:12px}.matches-pc-shell .server-person-row img,.messages-pc-shell .server-conversation-row img{width:72px;height:72px;border-radius:50%;object-fit:cover}.messages-pc-shell .server-conversation-row span{display:grid;gap:4px}.messages-pc-shell .server-conversation-row small{overflow:hidden;color:#817d87;text-overflow:ellipsis;white-space:nowrap}.matches-pc-shell .server-person-row>span{font-size:17px;font-weight:750}.messages-pc-shell .server-conversation-row>b{color:#a49fa8;font-size:22px;font-weight:400}
  .settings-shell .settings-page{width:min(100%,720px);min-width:620px;margin:0 auto;padding:40px 0 48px}.settings-shell .settings-v18{background:transparent}.settings-shell .settings-heading{margin-bottom:32px}.settings-shell .settings-section{margin-top:26px}.settings-shell .settings-card{box-shadow:0 8px 20px rgba(60,46,52,.04)}
  .app-shell:has(.guitto-server-profile){width:100%;max-width:none;min-height:100dvh;padding:0 var(--pc-shell-gutter) 44px var(--pc-shell-sidebar-reserve);background:#fffafb}.app-shell:has(.guitto-server-profile)>.site-header{position:sticky;z-index:10;top:0;min-height:var(--pc-header-height);margin:0 calc(-1 * var(--pc-shell-gutter)) 0 calc(-1 * var(--pc-shell-sidebar-reserve));padding:0 38px;border-bottom:1px solid #f0e8eb;background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}.app-shell:has(.guitto-server-profile)>.site-header .brand{display:flex;align-items:center;height:var(--pc-header-height);font-size:24px}.app-shell:has(.guitto-server-profile)>.site-header .site-header-actions{position:fixed;z-index:11;top:14px;right:38px;display:flex;align-items:center;min-height:44px}.app-shell:has(.guitto-server-profile) .app-bottom-nav{position:fixed;z-index:7;top:var(--pc-header-height);right:auto;bottom:0;left:0;display:grid;width:var(--pc-sidebar-width);grid-template-columns:1fr;align-content:start;gap:var(--pc-nav-gap);margin:0;padding:28px 18px;border:0;border-right:1px solid #f0e8eb;border-radius:0;background:#fff;box-shadow:none}.app-shell:has(.guitto-server-profile) .app-bottom-nav a{display:flex;align-items:center;min-height:var(--pc-nav-item-height);padding:0 14px;border-radius:14px;color:#706d76;font-size:14px;font-weight:700;text-decoration:none}.app-shell:has(.guitto-server-profile) .app-bottom-nav a.active{background:#fff0f4;color:#de6689}.app-shell:has(.guitto-server-profile) .page.server-page{width:min(100%,760px);min-width:620px;margin:0 auto;padding:40px 0 48px}.app-shell:has(.guitto-server-profile) .guitto-server-profile{border:1px solid #eee9ec;border-radius:24px;background:#fff;box-shadow:0 10px 24px rgba(60,46,52,.05)}
}

.pc-common-header{display:none}
.brand,.billing-brand,.search-pc-header .brand{color:var(--color-brand)!important}
.billing-topbar{position:relative}.billing-back{display:inline-flex;align-items:center;min-height:36px;margin-right:16px;color:var(--color-brand);font-size:13px;font-weight:750;text-decoration:none;white-space:nowrap}
@media (min-width:761px){.app-shell.diagnosis-shell{width:min(100%,760px);min-height:100dvh;padding:34px 32px 52px;background:linear-gradient(180deg,#fff 0%,#fff7fa 100%);box-shadow:0 0 0 1px #f1e8eb}.diagnosis-shell .diagnosis-page{max-width:560px;margin:0 auto}.diagnosis-shell .diagnosis-page header span,.diagnosis-shell .diagnosis-brand{color:var(--color-brand)} }
@media (min-width:1030px){
  .app-shell.pc-chrome-shell{width:100%;max-width:none;min-height:100dvh;padding:0 var(--pc-shell-gutter) 44px var(--pc-shell-sidebar-reserve);background:#fffafb}
  .pc-chrome-shell>.pc-common-header{position:sticky;z-index:20;top:0;display:flex;align-items:center;justify-content:space-between;min-height:var(--pc-header-height);margin:0 calc(-1 * var(--pc-shell-gutter)) 0 calc(-1 * var(--pc-shell-sidebar-reserve));padding:0 38px;border-bottom:1px solid #f0e8eb;background:rgba(255,255,255,.94);box-shadow:0 1px 0 rgba(66,51,57,.03);backdrop-filter:blur(12px)}
  .pc-common-header>div{display:flex;align-items:center;min-height:44px}
  .pc-chrome-shell .app-bottom-nav{position:fixed;z-index:7;top:var(--pc-header-height);right:auto;bottom:0;left:0;display:grid;width:var(--pc-sidebar-width);grid-template-columns:1fr;align-content:start;gap:var(--pc-nav-gap);margin:0;padding:28px 18px;border:0;border-right:1px solid #f0e8eb;border-radius:0;background:#fff;box-shadow:none}
  .pc-chrome-shell .app-bottom-nav a{display:flex;align-items:center;min-height:var(--pc-nav-item-height);padding:0 14px;border-radius:14px;color:#706d76;font-size:14px;font-weight:700;text-decoration:none}.pc-chrome-shell .app-bottom-nav a.active{background:#fff0f4;color:#de6689}
  .pc-chrome-shell .setup-page,.pc-chrome-shell .notification-list{width:min(100%,720px);min-width:620px;margin:0 auto}.pc-chrome-shell .profile-setup-v18,.pc-chrome-shell .preferences-setup-v1{padding-top:38px;padding-bottom:48px}.pc-chrome-shell .notification-shell{max-width:none}
  .pc-chrome-shell .conversation{width:min(100%,760px);min-width:620px;min-height:calc(100dvh - var(--pc-header-height));margin:0 auto;border-right:1px solid #f0e8eb;border-left:1px solid #f0e8eb;background:#fff}.pc-chrome-shell .message-composer{width:min(760px,calc(100% - 2 * var(--pc-shell-gutter)));right:var(--pc-shell-gutter);left:auto;margin:0 auto}.pc-chrome-shell .notification-list{padding:36px 0 48px}.pc-chrome-shell .notification-header{display:none}.pc-chrome-shell .notification-row{border-right:1px solid #eee9ec;border-left:1px solid #eee9ec}.pc-chrome-shell .notification-row:first-child{border-top:1px solid #eee9ec;border-top-left-radius:18px;border-top-right-radius:18px}.pc-chrome-shell .notification-row:last-child{border-bottom:1px solid #eee9ec;border-bottom-right-radius:18px;border-bottom-left-radius:18px}
  .pc-chrome-shell .profile-setup-shell .profile-setup-v18{max-width:720px}.pc-chrome-shell .profile-setup-shell .bio-question-dialog{width:min(620px,calc(100vw - 64px));max-height:min(760px,calc(100dvh - 80px));margin:auto}.pc-chrome-shell .profile-setup-shell .bio-question-dialog form{max-height:inherit;overflow:auto}
  dialog.bio-question-dialog{width:min(620px,calc(100vw - 64px));max-height:min(760px,calc(100dvh - 80px));margin:auto}dialog.bio-question-dialog form{max-height:inherit;overflow:auto}
  .pc-chrome-shell .preferences-setup-v1 form>.primary-button,.pc-chrome-shell .profile-setup-v18 #profile-form>.primary-button{right:var(--pc-shell-gutter);left:var(--pc-shell-sidebar-reserve);width:min(720px,calc(100vw - var(--pc-shell-sidebar-reserve) - 2 * var(--pc-shell-gutter)));margin-right:auto;margin-left:auto}.pc-chrome-shell .preferences-setup-v1:after,.pc-chrome-shell .profile-setup-v18:after{right:var(--pc-shell-gutter);left:var(--pc-shell-sidebar-reserve);width:auto;margin:0}
}

/* Human final visual fix: the received-LIKE header is the PC chrome source of truth. */
@media (min-width:1350px){
  :root{--pc-common-canvas-color:#fffafb;--pc-common-canvas-image:linear-gradient(180deg,rgba(255,250,251,.16),rgba(255,250,251,.48)),url('/search/search-background.png');--pc-common-canvas-position:center top;--pc-common-canvas-repeat:no-repeat;--pc-common-canvas-size:100% auto}
  .app-shell.recommend-shell,.app-shell.likes-shell.likes-pc-shell,.app-shell.visitors-shell.visitors-pc-shell,.app-shell.standard-pc-shell,.app-shell.settings-shell,.app-shell.interest-shell,.app-shell.pc-chrome-shell,.app-shell:has(.guitto-server-profile){background-color:var(--pc-common-canvas-color);background-image:var(--pc-common-canvas-image);background-position:var(--pc-common-canvas-position);background-repeat:var(--pc-common-canvas-repeat);background-size:var(--pc-common-canvas-size)}
  .app-shell.recommend-shell>.app-bottom-nav,.app-shell.likes-shell.likes-pc-shell>.app-bottom-nav,.app-shell.visitors-shell.visitors-pc-shell>.app-bottom-nav,.app-shell.standard-pc-shell>.app-bottom-nav,.app-shell.settings-shell>.app-bottom-nav,.app-shell.interest-shell>.app-bottom-nav,.app-shell.pc-chrome-shell>.app-bottom-nav,.app-shell:has(.guitto-server-profile)>.app-bottom-nav{position:fixed;z-index:7;top:var(--pc-header-height);right:auto;bottom:0;left:0;display:grid;width:var(--pc-sidebar-width);height:auto;grid-template-columns:1fr;align-content:start;gap:var(--pc-nav-gap);margin:0;padding:28px 18px;border:0;border-right:1px solid #f0e8eb;border-radius:0;background-color:#fff;background-image:none;box-shadow:none;isolation:isolate}
  .search-pc-header .brand,.standard-pc-shell>.site-header .brand,.settings-shell>.site-header .brand,.pc-common-header .brand{color:var(--color-brand)!important;font-size:29px;font-weight:800;line-height:1;letter-spacing:-.04em}
  .search-pc-header .brand,.standard-pc-shell>.site-header .brand,.settings-shell>.site-header .brand{position:fixed;z-index:8;top:18px;left:38px}
  .pc-chrome-shell>.pc-common-header,.settings-shell>.site-header{min-height:var(--pc-header-height);padding:0 38px}
  .search-pc-header,.recommend-shell>.site-header,.likes-pc-shell>.site-header,.visitors-pc-shell>.site-header,.standard-pc-shell>.site-header,.settings-shell>.site-header,.app-shell:has(.guitto-server-profile)>.site-header,.pc-chrome-shell>.pc-common-header,.billing-shell>.billing-common-header{min-height:var(--pc-header-height)}
  .search-pc-header>.recommend-brand,.recommend-shell>.site-header>.recommend-brand,.likes-pc-shell>.site-header>.recommend-brand,.visitors-pc-shell>.site-header>.recommend-brand,.standard-pc-shell>.site-header>.recommend-brand,.settings-shell>.site-header>.recommend-brand,.app-shell:has(.guitto-server-profile)>.site-header>.recommend-brand,.pc-chrome-shell>.pc-common-header>.recommend-brand,.billing-shell>.billing-common-header>.recommend-brand{position:fixed;z-index:8;top:18px;left:38px;display:grid;gap:2px}
  .search-pc-header>.recommend-brand .brand,.recommend-shell>.site-header>.recommend-brand .brand,.likes-pc-shell>.site-header>.recommend-brand .brand,.visitors-pc-shell>.site-header>.recommend-brand .brand,.standard-pc-shell>.site-header>.recommend-brand .brand,.settings-shell>.site-header>.recommend-brand .brand,.app-shell:has(.guitto-server-profile)>.site-header>.recommend-brand .brand,.pc-chrome-shell>.pc-common-header>.recommend-brand .brand,.billing-shell>.billing-common-header>.recommend-brand .brand{position:static!important;z-index:auto!important;top:auto!important;left:auto!important;display:block!important;height:auto!important;color:var(--color-brand)!important;font-size:29px!important;font-weight:800!important;line-height:1;letter-spacing:-.04em;text-decoration:none}
  .search-pc-header>.recommend-brand>span,.recommend-shell>.site-header>.recommend-brand>span,.likes-pc-shell>.site-header>.recommend-brand>span,.visitors-pc-shell>.site-header>.recommend-brand>span,.standard-pc-shell>.site-header>.recommend-brand>span,.settings-shell>.site-header>.recommend-brand>span,.app-shell:has(.guitto-server-profile)>.site-header>.recommend-brand>span,.pc-chrome-shell>.pc-common-header>.recommend-brand>span,.billing-shell>.billing-common-header>.recommend-brand>span{color:#898493;font-size:11px;font-weight:400;letter-spacing:.04em}
  .search-pc-header .site-header-actions,.pc-chrome-shell>.pc-common-header>div,.settings-shell>.site-header-actions{position:fixed;z-index:11;top:14px;right:38px;display:flex;align-items:center;min-height:44px}
  .pc-chrome-shell .preferences-setup-v1{padding-top:22px}
  .pc-chrome-shell .preferences-setup-v1 .profile-setup-header{height:48px}
  .pc-chrome-shell .preferences-setup-v1 .profile-setup-heading{margin:6px 0 24px;text-align:left}
  .pc-chrome-shell .preferences-setup-v1 .profile-setup-heading>strong{display:none}
  .pc-chrome-shell .preferences-setup-v1 .profile-setup-heading h1{font-size:30px}
  .pc-chrome-shell .preferences-setup-v1:after{display:none}
  .pc-chrome-shell .preferences-setup-v1 form>.primary-button{position:static;width:100%;margin:0;height:58px}
  .pc-chrome-shell .profile-setup-v18:after{display:none}
  .pc-chrome-shell .profile-setup-v18 .profile-save-actions{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:14px;align-items:center;margin:0;padding:18px;border-radius:20px;background:#fff7fa}
  .pc-chrome-shell .profile-setup-v18 .profile-save-actions>.secondary-button,.pc-chrome-shell .profile-setup-v18 .profile-save-actions>.primary-button{width:100%;height:58px;min-height:58px;margin:0;padding:0}
  .pc-chrome-shell .profile-setup-v18 .profile-save-actions>.primary-button{position:static;z-index:auto;border-radius:29px;background:linear-gradient(100deg,#f82f69,#f33d70);box-shadow:0 9px 24px rgba(243,52,104,.2);font-size:16px}
  .pc-chrome-shell .profile-setup-v18 .profile-save-actions>.primary-button:after{content:"→";margin-left:18px;font-size:21px;font-weight:400}
  .settings-shell .settings-back{display:none}
  .settings-shell .settings-heading h1{font-size:34px}
  .settings-shell .settings-heading p{font-size:15px}
  .settings-shell .settings-section h2{font-size:14px}
  .settings-shell .settings-copy strong,.settings-shell .privacy-choice strong{font-size:17px}
  .settings-shell .settings-copy small,.settings-shell .privacy-choice small{font-size:14px}
  .settings-shell .server-form label,.settings-shell .server-form select{font-size:15px}
  .settings-shell .settings-status{font-size:12px}
  .settings-shell .settings-page{width:min(100%,760px);padding:48px 0 64px}
  .settings-shell .settings-heading{margin-bottom:40px}
  .settings-shell .settings-section{margin-top:36px}
  .settings-shell .settings-section h2{margin-bottom:12px}
  .settings-shell .settings-card{border-radius:20px;box-shadow:0 12px 28px rgba(60,46,52,.06)}
  .settings-shell .settings-row{min-height:84px;padding:16px 20px}
  .settings-shell .settings-copy{gap:4px;margin-left:14px}
  .settings-shell .settings-inline-form .server-form{gap:24px;margin:0;padding:22px 20px}
  .settings-shell .settings-inline-form .server-form label{display:grid;gap:10px}
  .settings-shell .settings-inline-form .server-form select{margin-top:0}
  .settings-shell .privacy-choice.server-form{gap:18px;margin:0;padding:20px}
}

/* Billing keeps its approved inner composition; only its PC chrome joins the common shell. */
.billing-common-header,.billing-shell .app-bottom-nav{display:none}
@media (min-width:1350px){
  .app-shell.billing-shell{width:100%;max-width:none;min-height:100dvh;padding:0 var(--pc-shell-gutter) 44px var(--pc-shell-sidebar-reserve);background:#fffafb}
  .billing-shell>.billing-common-header{position:sticky;z-index:20;top:0;display:flex;align-items:center;justify-content:space-between;min-height:var(--pc-header-height);margin:0 calc(-1 * var(--pc-shell-gutter)) 0 calc(-1 * var(--pc-shell-sidebar-reserve));padding:0 38px;border-bottom:1px solid #f0e8eb;background:rgba(255,255,255,.94);box-shadow:0 1px 0 rgba(66,51,57,.03);backdrop-filter:blur(12px)}
  .billing-common-header .brand{position:fixed;z-index:21;top:18px;left:38px;color:var(--color-brand)!important;font-size:29px;font-weight:800;line-height:1;letter-spacing:-.04em;text-decoration:none}
  .billing-common-header>div{position:fixed;z-index:21;top:14px;right:38px;display:flex;align-items:center;min-height:44px}
  .billing-shell .app-bottom-nav{position:fixed;z-index:7;top:var(--pc-header-height);right:auto;bottom:0;left:0;display:grid;width:var(--pc-sidebar-width);grid-template-columns:1fr;align-content:start;gap:var(--pc-nav-gap);margin:0;padding:28px 18px;border:0;border-right:1px solid #f0e8eb;border-radius:0;background:#fff;box-shadow:none}
  .billing-shell .app-bottom-nav a{display:flex;align-items:center;min-height:var(--pc-nav-item-height);padding:0 14px;border-radius:14px;color:#706d76;font-size:14px;font-weight:700;text-decoration:none}
  .billing-shell .app-bottom-nav a.active{color:#de6689;background:#fff0f4}
  .billing-shell .billing-back{display:none}
}
