.profile-shortcuts{display:none}

/* Match the existing mobile breakpoint; portrait tablets keep their layout. */
@media (min-width:761px) and (orientation:landscape), (min-width:1025px){
  .user-dropdown{width:280px;max-height:calc(100dvh - 160px);overflow-y:auto;padding:12px;border-radius:20px}
  .user-dropdown a,.user-dropdown button{min-height:44px;padding:12px 14px;font-size:14px;line-height:1.4}
  .user-dropdown a[data-space-group="profile"]{color:var(--primary-dark);font-weight:700;background:#fcf7f8}
  .user-dropdown a[data-space-group="profile"]:hover{background:var(--rose-tint)}
  .user-menu-toggle{min-height:46px;padding-right:12px;gap:10px}
  .user-menu-toggle>span:not(.user-avatar-fallback){max-width:140px}
  .member-page--profile{padding:44px 0 72px}
  .member-page--profile .member-shell{max-width:1180px}
  .member-page--profile .member-heading{align-items:center;margin-bottom:24px}
  .member-page--profile .member-heading h1{font-size:clamp(38px,3.5vw,52px);line-height:1.1}
  .member-page--profile .member-heading>.button{min-width:160px}
  .profile-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px}
  .profile-shortcuts a{display:flex;align-items:center;gap:12px;min-height:68px;padding:16px;border:1px solid #e7dadd;border-radius:16px;background:#fff;color:var(--primary-dark);font-size:14px;font-weight:700;transition:background .18s,border-color .18s}
  .profile-shortcuts a:hover{border-color:var(--primary);background:var(--rose-tint)}
  .profile-shortcuts img{flex:none;width:24px;height:24px;object-fit:contain}
  .member-page--profile .benefit-summary{grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:20px;padding:24px}
  .member-page--profile .benefit-summary:has(>div:nth-of-type(4)){grid-template-columns:repeat(4,minmax(0,1fr)) auto}
  .member-page--profile .benefit-summary>div{min-width:0}
  .member-page--profile .benefit-summary strong{line-height:1.5}
  .member-page--profile .benefit-summary>a,.member-page--profile .optional-verification>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #deccd1;border-radius:12px;background:#fff;text-align:center;font-size:13px}
  .member-page--profile .benefit-summary>a:hover,.member-page--profile .optional-verification>a:hover{background:var(--rose-tint);border-color:var(--primary)}
  .member-page--profile .optional-verification{padding:18px 24px;gap:16px}
  .member-page--profile .profile-view{grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:start;gap:clamp(28px,4vw,56px);padding:clamp(28px,3vw,44px);border:1px solid #eadfe1;box-shadow:0 14px 44px rgba(31,16,22,.05)}
  .member-page--profile .profile-view-photo img{width:100%;height:auto;aspect-ratio:3/4}
  .member-page--profile .profile-view h2{font-size:clamp(34px,3vw,44px);line-height:1.15}
  .member-page--profile .profile-view h3{margin-top:28px;font-size:16px}
  .member-page--profile .book-shelf{gap:20px}
  .member-page--profile .book-shelf strong{font-size:12px;line-height:1.5}
  .member-page--profile .genre-list span{padding:8px 13px;font-size:12px}
  .member-page--profile .secondary-button{justify-content:center;gap:8px;padding:12px 22px;color:var(--primary-dark);background:#fff;border-radius:14px;text-align:center}
  .member-page--profile .secondary-button:hover{border-color:var(--primary);background:var(--rose-tint)}
  .edit-profile-heading{align-items:center}
  .edit-profile-heading>a{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px}
  .edit-profile-form .file-trigger,.edit-profile-form .reading-photo-add{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px}
  .edit-save-bar .button{min-height:52px;min-width:220px;padding:14px 28px}
}

@media (min-width:761px) and (max-width:1100px) and (orientation:landscape), (min-width:1025px) and (max-width:1100px){
  .profile-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .member-page--profile .benefit-summary,.member-page--profile .benefit-summary:has(>div:nth-of-type(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
  .member-page--profile .benefit-summary>a{grid-column:auto;justify-self:start}
  .member-page--profile .optional-verification{grid-template-columns:38px minmax(0,1fr)}
  .member-page--profile .optional-verification>a{grid-column:2;justify-self:start}
}
