/* Yimai community: the content leads; glass supports navigation and context. */
.page { max-width: 1500px; }
.ambient-light { opacity: .28; }
.brand small { font-size: 12px; }
.ym-primary-nav { margin: 18px 0 22px; gap: 8px; }
.ym-primary-nav .nav-item { min-height: 52px; font-size: 16px; gap: 17px; }
.ym-primary-nav .nav-icon .icon { width: 22px; height: 22px; }
.ym-sidebar-publish { width: calc(100% - 12px); margin: 0 6px 24px; font-size: 15px; }
.ym-explore-nav { padding-top: 16px; border-top: 1px solid var(--ym-border); }
.ym-explore-nav summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 13px; font-size: 14px; cursor: pointer; list-style: none; }
.ym-explore-nav summary::-webkit-details-marker { display: none; }
.ym-explore-nav summary > .icon:last-child { margin-left: auto; width: 15px; transition: transform 160ms; }
.ym-explore-nav[open] summary > .icon:last-child { transform: rotate(90deg); }
.ym-explore-nav .nav-item { font-size: 14px; }
.ym-sidebar-line { margin: 24px 12px; font: 16px/1.9 var(--serif); color: var(--ym-muted); }
.account-mini b { font-size: 14px; }
.account-mini > span > span { font-size: 12px; }
.topbar-left { font-size: 14px; }
.searchbox input { font-size: 14px; }
.ym-feed-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 20px; }
.ym-feed-head h1, .ym-community-heading h1 { margin: 0; font: 600 28px/1.4 var(--sans); }
.ym-feed-head p, .ym-community-heading p { margin: 5px 0 0; font-size: 14px; color: var(--ym-muted); }
.ym-desktop-publish { font-size: 14px; }
.ym-feed-tabs { display: flex; align-items: center; gap: 28px; min-height: 54px; margin-bottom: 15px; border-bottom: 1px solid var(--ym-border); }
.ym-feed-tabs > a { display: inline-flex; align-items: center; position: relative; min-height: 54px; font-size: 16px; color: var(--ym-muted); white-space: nowrap; }
.ym-feed-tabs > a.active { font-weight: 650; color: var(--ym-ink); }
.ym-feed-tabs > a.active::after { position: absolute; right: 3px; bottom: -1px; left: 3px; height: 3px; border-radius: 3px; background: var(--ym-primary); content: ''; }
.ym-feed-tabs > a:hover { color: var(--ym-primary); }
.ym-preview-label { margin-left: auto; font-size: 12px; color: var(--ym-muted); }
.ym-topic-filter { display: flex; gap: 8px; margin: 0 0 24px; flex-wrap: wrap; }
.ym-topic-filter a { display: inline-flex; min-width: 58px; min-height: 44px; padding: 8px 16px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 12px; font-size: 14px; background: rgb(255 255 255 / 46%); color: var(--ym-muted); transition: background-color 160ms; }
.ym-topic-filter a:hover { background: var(--ym-surface); }
.ym-topic-filter a.active { border-color: #cbdadd; color: var(--ym-primary); background: #deeaeb; font-weight: 600; }
.ym-discovery-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: start; gap: 30px; }
.ym-feed-column { min-width: 0; }
.ym-feed-grid { columns: 3; column-gap: 18px; }
.ym-feed-card { min-width: 0; break-inside: avoid; display: flow-root; margin: 0 0 25px; }
.ym-card-visual { display: block; position: relative; isolation: isolate; border-radius: 18px; overflow: hidden; background: #e5eae5; }
.ym-card-visual img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; transition: transform 400ms cubic-bezier(.2,.7,.3,1); }
.ym-feed-card--portrait .ym-card-visual img { aspect-ratio: 4 / 5; }
.ym-feed-card--landscape .ym-card-visual img { aspect-ratio: 800 / 620; }
.ym-card-visual:hover img { transform: scale(1.025); }
.ym-format-tag { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 4px 9px; font-size: 12px; color: #2e4b52; border: 1px solid rgb(255 255 255 / 82%); border-radius: 7px; background: rgb(255 253 247 / 85%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ym-text-art { display: flex; min-height: 290px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px 24px; background: #e1e7df; color: #304d46; }
.ym-text-art > span { margin-bottom: 22px; font-size: 13px; }
.ym-text-art > strong { max-width: 12ch; font: 500 29px/1.6 var(--serif); text-wrap: balance; }
.ym-text-art > p { margin: 20px 0; font-size: 13px; line-height: 1.8; }
.ym-text-art > .icon { margin-top: 10px; width: 28px; height: 28px; }
.ym-feed-card--text .ym-format-tag { display: none; }
.ym-card-copy { padding: 11px 3px 0; }
.ym-card-category { display: inline-block; font-size: 12px; color: var(--ym-muted); }
.ym-card-copy h2 { margin: 5px 0 5px; font: 600 16px/1.6 var(--sans); overflow-wrap: anywhere; }
.ym-card-copy h2 a { display: block; }
.ym-card-copy h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ym-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ym-author-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; gap: 8px; font-size: 13px; color: var(--ym-muted); }
.ym-author-link > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.ym-author-link b { display: block; font-size: 15px; color: var(--ym-ink); }
.ym-author-link small { display: block; font-size: 12px; font-weight: 400; color: var(--ym-muted); }
.ym-mini-avatar { display: inline-grid; flex: none; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #dae4df; color: #32554e; font-size: 12px; }
.ym-reaction { display: inline-flex; flex: none; gap: 7px; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 7px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--ym-muted); font-size: 14px; cursor: pointer; transition: background-color 150ms, color 150ms; }
.ym-reaction .icon { width: 19px; height: 19px; }
.ym-reaction:hover { color: var(--ym-primary); background: var(--ym-soft); }
.ym-reaction.is-on { color: var(--ym-primary); background: var(--ym-soft); }
.ym-reaction.is-on .icon { fill: #c1d5d5; }
.ym-editorial-rail { position: sticky; top: 113px; }
.ym-reading-invite { padding: 24px 20px 20px; border: 1px solid rgb(255 255 255 / 90%); border-radius: 20px; background: linear-gradient(140deg, rgb(226 236 238 / 87%), rgb(244 238 224 / 85%)); box-shadow: inset 0 1px 0 white; }
.ym-section-label { color: var(--ym-muted); font-size: 12px; }
.ym-reading-invite h2 { margin: 12px 0 10px; font: 500 25px/1.65 var(--serif); color: var(--ym-ink); }
.ym-reading-invite p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ym-muted); }
.ym-reading-invite a { display: block; font-size: 14px; font-weight: 600; line-height: 1.8; }
.ym-reading-invite img { display: block; width: 100%; height: auto; margin: 4px 0 10px; }
.ym-topic-invite { margin: 25px 4px 0; padding-bottom: 23px; border-bottom: 1px solid var(--ym-border); }
.ym-topic-invite h2 { margin: 0 0 12px; color: var(--ym-muted); font-size: 14px; font-weight: 500; }
.ym-topic-invite a { font: 500 20px/1.7 var(--serif); }
.ym-topic-invite a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ym-topic-invite p { margin: 12px 0; font-size: 13px; line-height: 1.8; color: var(--ym-muted); }
.ym-topic-invite > span { font-size: 12px; color: var(--ym-muted); }
.ym-city-link { display: flex; gap: 8px; align-items: center; min-height: 54px; margin-top: 10px; font-size: 14px; color: var(--ym-primary); }
.ym-feed-end { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; align-items: center; padding: 25px 0 0; color: var(--ym-muted); font-size: 14px; }
.ym-feed-end .text-button { font-size: 14px; }
.ym-search-summary { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; font-size: 14px; color: var(--ym-muted); overflow-wrap: anywhere; }
.ym-search-summary a { text-decoration: underline; text-underline-offset: 4px; }
.ym-community-empty { padding: 55px 22px; border-radius: 20px; background: rgb(255 255 255 / 60%); text-align: center; }
.ym-community-empty > .icon { color: var(--ym-muted); width: 32px; height: 32px; margin-bottom: 12px; }
.ym-community-empty h2 { margin: 10px 0; font: 500 24px/1.6 var(--serif); }
.ym-community-empty p { margin: 12px auto 22px; max-width: 35ch; font-size: 15px; color: var(--ym-muted); }
.ym-community-empty .secondary { display: inline-flex; font-size: 14px; }
.ym-detail-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: -10px 0 17px; font-size: 13px; color: var(--ym-muted); }
.ym-detail-top .text-button { border: 0; background: transparent; font-size: 14px; cursor: pointer; }
.ym-work-detail { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); overflow: hidden; border: 1px solid rgb(255 255 255 / 95%); border-radius: 24px; background: rgb(255 253 250 / 88%); }
.ym-work-media { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 440px; background: #e5e9e3; }
.ym-work-media > img { display: block; width: 100%; height: auto; max-height: 720px; object-fit: contain; }
.ym-work-media .ym-text-art { width: 100%; height: 100%; padding: 50px; }
.ym-work-media .ym-text-art strong { font-size: clamp(30px, 4vw, 48px); }
.ym-work-story { padding: 28px 28px 23px; min-width: 0; }
.ym-detail-author { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 27px; }
.ym-detail-author .ym-mini-avatar { width: 40px; height: 40px; font-size: 16px; }
.ym-follow { display: inline-flex; flex: none; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; gap: 5px; color: var(--ym-primary); border: 1px solid #b9ccce; border-radius: 12px; background: #edf3f2; font-size: 14px; cursor: pointer; }
.ym-follow .icon { width: 15px; height: 15px; }
.ym-follow:hover { background: #d9e7e6; }
.ym-follow.is-on { background: #e1eae3; border-color: #cad7cd; }
.ym-own-work { font-size: 13px; color: var(--ym-muted); }
.ym-work-story h1 { margin: 8px 0 20px; font: 600 27px/1.6 var(--serif); overflow-wrap: anywhere; text-wrap: balance; }
.ym-story-body p { margin: 0 0 16px; font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.ym-source-note { font-size: 12px; color: var(--ym-muted); line-height: 1.8; }
.ym-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--ym-border); }
.ym-conversation { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: 55px; padding-top: 40px; }
.ym-conversation-intro h2 { margin: 13px 0; font: 500 24px/1.8 var(--serif); text-wrap: balance; }
.ym-conversation-intro p { font-size: 14px; color: var(--ym-muted); }
.ym-comments { min-width: 0; }
#communityCommentForm label { display: block; margin-bottom: 9px; font-size: 15px; font-weight: 600; }
#commentInput { display: block; width: 100%; min-height: 115px; padding: 15px; resize: vertical; border: 1px solid var(--ym-input-border); border-radius: 14px; color: var(--ym-ink); background: rgb(255 255 255 / 75%); font: 16px/1.8 var(--sans); scroll-margin: 155px 0 100px; }
#commentInput::placeholder { color: var(--ym-muted); opacity: 1; }
.ym-comment-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.ym-comment-footer > span { font-size: 13px; color: var(--ym-muted); }
.ym-comment-footer .primary { font-size: 14px; }
.ym-form-error { color: var(--ym-danger); font-size: 14px; }
.ym-first-response { padding: 22px 0; font-size: 14px; color: var(--ym-muted); }
.ym-comment { display: flex; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--ym-border); }
.ym-comment > div { min-width: 0; flex: 1; }
.ym-comment b { font-size: 14px; }
.ym-comment time { display: block; font-size: 12px; color: var(--ym-muted); }
.ym-comment p { margin: 9px 0 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ym-community-heading { margin-bottom: 28px; }
.ym-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.ym-section-heading h2 { margin: 0; font-size: 19px; font-weight: 600; }
.ym-section-heading > span, .ym-section-heading p { color: var(--ym-muted); font-size: 13px; }
.ym-section-heading p { margin: 4px 0 0; }
.ym-creator-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ym-creator-card { padding: 28px 23px; border: 1px solid white; border-radius: 20px; background: rgb(255 253 250 / 76%); }
.ym-creator-card > a { display: block; }
.ym-creator-avatar { display: inline-grid; place-items: center; flex: none; width: 72px; height: 72px; border: 1px solid rgb(255 255 255 / 90%); border-radius: 23px; background: linear-gradient(135deg, #d8e3dc, #c4d9dd); color: #32554e; font: 500 30px/1 var(--serif); }
.ym-creator-card h3 { margin: 17px 0 2px; font: 600 20px/1.5 var(--serif); }
.ym-creator-card a > span:last-of-type { font-size: 13px; color: var(--ym-muted); }
.ym-creator-card p { min-height: 52px; margin: 13px 0 18px; font-size: 15px; color: var(--ym-muted); line-height: 1.8; }
.ym-groups-section { margin-top: 36px; }
.ym-group-invitation { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; background: #e2eae5; border-radius: 20px; }
.ym-group-invitation h3 { font: 500 24px/1.5 var(--serif); margin: 0 0 10px; }
.ym-group-invitation p { max-width: 45ch; margin: 0; font-size: 15px; color: var(--ym-muted); }
.ym-group-invitation > span .icon { width: 70px; height: 70px; stroke-width: 1; color: #77978d; }
.ym-group-list > article, .ym-following-list > article { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border-bottom: 1px solid var(--ym-border); }
.ym-group-list article > div { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.ym-group-list h3 { margin: 0 0 5px; font-size: 18px; }
.ym-group-list p { margin: 0; font-size: 14px; color: var(--ym-muted); }
.ym-creator-header { display: flex; align-items: center; gap: 25px; padding: 28px 0 40px; }
.ym-creator-header > div { flex: 1; }
.ym-creator-header h1 { margin: 8px 0; font: 500 34px/1.4 var(--serif); }
.ym-creator-header p { margin: 8px 0; font-size: 16px; }
.ym-creator-header > div > span:last-child { color: var(--ym-muted); font-size: 14px; }
.ym-creator-content > h2 { padding-bottom: 14px; border-bottom: 1px solid var(--ym-border); font-size: 19px; margin-bottom: 24px; }
.ym-my-profile { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 30px; margin-bottom: 24px; border-radius: 22px; border: 1px solid white; background: linear-gradient(125deg, rgb(218 232 232 / 80%), rgb(248 241 225 / 75%)); }
.ym-my-profile > div { flex: 1; }
.ym-my-profile h2 { margin: 0; font: 500 25px/1.6 var(--serif); }
.ym-my-profile p { margin: 5px 0 12px; color: var(--ym-muted); font-size: 13px; }
.ym-profile-counts { display: flex; gap: 24px; }
.ym-profile-counts span { display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--ym-muted); }
.ym-profile-counts b { color: var(--ym-ink); font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ym-profile-links { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--ym-border); }
.ym-profile-links a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: 14px; }
.ym-message-notice { display: flex; gap: 15px; padding: 22px; margin-bottom: 25px; background: #e2eaeb; border: 1px solid white; border-radius: 18px; }
.ym-message-notice > .icon { flex: none; margin-top: 3px; }
.ym-message-notice b { font-size: 16px; font-weight: 600; }
.ym-message-notice p { margin: 7px 0 0; max-width: 65ch; color: var(--ym-muted); font-size: 14px; }
.ym-activity-list article { display: flex; gap: 18px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--ym-border); }
.ym-activity-list article > div { flex: 1; min-width: 0; }
.ym-activity-list p { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.ym-activity-list time { font-size: 12px; color: var(--ym-muted); }
.ym-activity-list .text-button { font-size: 14px; flex: none; }
.ym-bottom-nav { display: none; }
@media (min-width: 1700px) { .ym-feed-grid { columns: 4; } }
@media (max-width: 1200px) {
  .ym-discovery-layout { grid-template-columns: minmax(0, 1fr); }
  .ym-editorial-rail { display: none; }
}
@media (max-width: 1050px) {
  .ym-work-detail { grid-template-columns: minmax(0, 1fr); }
  .ym-work-media { min-height: 280px; }
  .ym-work-media > img { max-height: 520px; }
  .ym-conversation { gap: 28px; }
}
@media (max-width: 900px) {
  html { scroll-padding-bottom: 105px; }
  .workspace { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .ym-bottom-nav { display: flex; position: fixed; z-index: 35; bottom: 0; left: 0; right: 0; align-items: center; justify-content: space-around; min-height: 72px; padding: 6px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid white; background: rgb(250 251 248 / 88%); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 -4px 28px rgb(45 75 80 / 5%); }
  .ym-bottom-nav > a, .ym-bottom-nav > button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; min-width: 52px; min-height: 55px; padding: 3px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--ym-muted); font-size: 12px; cursor: pointer; }
  .ym-bottom-nav > a[aria-current="page"] { color: var(--ym-primary); font-weight: 650; background: #e2ecea; }
  .ym-bottom-nav > a:hover { color: var(--ym-primary); background: #e2ecea; }
  .ym-bottom-nav .ym-bottom-publish > .icon { width: 44px; height: 30px; padding: 4px 9px; border-radius: 9px; background: var(--ym-primary); color: white; }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .ym-feed-head { margin-bottom: 12px; }
  .ym-desktop-publish { display: none; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 145px; }
  .motion-toggle, .menu-toggle { width: 44px; height: 44px; }
  .searchbox { height: 46px; }
  .searchbox input { font-size: 16px; }
  .search-submit { width: 44px; min-height: 44px; }
  .ym-feed-head h1 { font-size: 23px; }
  .ym-feed-head p { font-size: 13px; }
  .ym-feed-tabs { gap: 24px; margin-bottom: 12px; }
  .ym-feed-tabs > a { min-height: 48px; font-size: 15px; }
  .ym-preview-label { font-size: 12px; max-width: 9em; text-align: right; }
  .ym-topic-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; gap: 7px; margin: 0 -2px 20px; padding: 2px; }
  .ym-topic-filter a { min-width: 55px; flex: none; padding: 8px 13px; }
  .ym-feed-grid { columns: 2; column-gap: 12px; }
  .ym-feed-card { margin-bottom: 20px; }
  .ym-card-visual { border-radius: 13px; }
  .ym-card-copy { padding-inline: 1px; }
  .ym-card-copy h2 { margin-top: 4px; font-size: 15px; line-height: 1.6; }
  .ym-card-category { font-size: 12px; }
  .ym-author-link { gap: 5px; font-size: 12px; }
  .ym-card-meta { gap: 2px; }
  .ym-card-meta .ym-mini-avatar { width: 23px; height: 23px; }
  .ym-card-meta .ym-reaction { min-width: 44px; padding: 7px 10px; }
  .ym-format-tag { top: 8px; left: 8px; padding: 3px 7px; font-size: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ym-text-art { padding: 25px 17px; min-height: 255px; }
  .ym-text-art > strong { font-size: 23px; }
  .ym-text-art > p { font-size: 12px; }
  .ym-text-art > span { margin-bottom: 14px; }
  .ym-feed-end { font-size: 13px; gap: 0; padding-top: 8px; }
  .ym-feed-end .text-button { width: 100%; }
  .ym-work-detail { margin-inline: -4px; border-radius: 18px; }
  .ym-work-media > img { max-height: 480px; }
  .ym-work-story { padding: 22px 20px; }
  .ym-work-story h1 { font-size: 24px; }
  .ym-detail-author { margin-bottom: 20px; }
  .ym-detail-author .ym-author-link { gap: 10px; }
  .ym-conversation { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 30px; }
  .ym-conversation-intro h2 { font-size: 22px; margin-top: 7px; }
  .ym-conversation-intro p { margin: 0; }
  .ym-detail-actions { gap: 2px; }
  .ym-creator-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ym-creator-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 23px; }
  .ym-creator-card h3 { margin-top: 12px; }
  .ym-creator-card p { min-height: 0; margin-bottom: 0; }
  .ym-creator-card .ym-creator-avatar { width: 52px; height: 52px; border-radius: 18px; font-size: 24px; }
  .ym-group-invitation { padding: 24px; }
  .ym-group-invitation > span { display: none; }
  .ym-group-invitation h3 { font-size: 22px; }
  .ym-group-list > article { padding-inline: 0; flex-wrap: wrap; }
  .ym-creator-header { flex-wrap: wrap; align-items: flex-start; gap: 16px; padding-top: 10px; }
  .ym-creator-header h1 { font-size: 28px; }
  .ym-creator-header > div { flex-basis: calc(100% - 95px); }
  .ym-creator-header > .ym-follow { margin-left: 88px; }
  .ym-my-profile { padding: 22px; gap: 17px; }
  .ym-my-profile > .ym-creator-avatar { width: 54px; height: 54px; border-radius: 17px; font-size: 24px; }
  .ym-my-profile > div { min-width: 160px; }
  .ym-my-profile h2 { font-size: 23px; }
  .ym-profile-counts { gap: 18px; }
  .ym-my-profile > .primary { margin-left: 0; }
  .ym-message-notice { padding: 18px; }
  .ym-activity-list article { gap: 11px; }
  .ym-activity-list article > .icon { display: none; }
  .ym-bottom-nav > a, .ym-bottom-nav > button { padding-inline: 8px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ym-bottom-nav { background: #f7f8f4; }
  .ym-format-tag { background: #f9f6ed; }
}
[data-motion="paused"] .ym-card-visual img { transition: none; transform: none; }
@media (prefers-reduced-motion: reduce) { .ym-card-visual img { transition: none; transform: none; } }

/* Desktop composition: a shared viewing room with an approachable reading guide. */
.ym-feed-head h1 { font: 500 clamp(28px, 3vw, 39px)/1.45 var(--serif); letter-spacing: .015em; }
.ym-feed-head p { margin-top: 8px; font-size: 15px; }
.ym-discovery-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; column-gap: 24px; row-gap: 4px; margin-bottom: 25px; padding-block: 4px; border-block: 1px solid var(--ym-border); }
.ym-discovery-toolbar .ym-feed-tabs { flex: none; gap: 24px; margin: 0; border: 0; }
.ym-discovery-toolbar .ym-feed-tabs > a { min-height: 48px; }
.ym-discovery-toolbar .ym-feed-tabs > a.active::after { bottom: 1px; height: 2px; }
.ym-discovery-toolbar .ym-topic-filter { margin: 0; gap: 3px; }
.ym-discovery-toolbar .ym-topic-filter a { min-width: 46px; padding: 8px 10px; border-radius: 9px; background: transparent; }
.ym-discovery-toolbar .ym-topic-filter a.active { border-color: transparent; background: #e2ebe8; }
.ym-discovery-toolbar .ym-preview-label { font-size: 12px; }
.ym-curated-feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, 1fr); overflow: hidden; margin: 0 0 37px; border: 1px solid rgb(255 255 255 / 94%); border-radius: 22px; background: rgb(255 253 250 / 86%); box-shadow: 0 16px 44px rgb(47 73 81 / 5%); }
.ym-curated-art { position: relative; min-width: 0; min-height: 340px; margin: 0; overflow: hidden; background: #dae4e3; }
.ym-curated-art > a { position: absolute; inset: 0; display: block; }
.ym-curated-art img { position: absolute; top: 0; left: 0; display: block; width: 100%; height: calc(100% - 96px); object-fit: contain; object-position: center; }
.ym-curated-art--photographic { min-height: 420px; }
.ym-curated-art--photographic img { object-fit: cover; }
.ym-curated-art > a:focus-visible { outline-offset: -6px; }
.ym-artwork-label { position: absolute; top: 20px; left: 22px; padding: 5px 11px; border: 1px solid rgb(255 255 255 / 80%); border-radius: 8px; background: rgb(255 253 247 / 75%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #354f55; font-size: 12px; }
.ym-curated-caption { position: absolute; right: 24px; bottom: 23px; left: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 19px; border: 1px solid rgb(255 255 255 / 92%); border-radius: 13px; background: rgb(255 255 252 / 69%); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); color: #2d474c; box-shadow: inset 0 1px 0 white, 0 8px 25px rgb(51 80 84 / 5%); font: 500 17px/1.7 var(--serif); }
.ym-curated-caption .icon { width: 20px; height: 20px; }
.ym-curated-reading { min-width: 0; padding: 26px 28px 20px; }
.ym-curated-reading > .ym-section-label { font-size: 13px; }
.ym-curated-reading > h2 { margin: 7px 0 10px; font: 500 37px/1.4 var(--serif); letter-spacing: .06em; }
.ym-curated-intro { margin: 0 0 18px; color: var(--ym-muted); font-size: 15px; line-height: 1.8; }
.ym-looking-controls { display: flex; gap: 6px; margin-bottom: 18px; }
.ym-looking-controls > button { display: inline-flex; min-height: 44px; min-width: 70px; padding: 8px 13px; justify-content: center; align-items: center; border: 1px solid #d4dedb; border-radius: 10px; background: transparent; color: var(--ym-muted); font-size: 14px; cursor: pointer; transition: background-color 160ms, color 160ms; }
.ym-looking-controls > button[aria-pressed="true"] { color: #fff; border-color: var(--ym-primary); background: var(--ym-primary); }
.ym-looking-controls > button:hover:not([aria-pressed="true"]) { color: var(--ym-primary); background: #e9f0ed; }
.ym-looking-prompt { min-height: 106px; }
.ym-looking-prompt h3 { margin: 0 0 6px; font: 600 16px/1.7 var(--sans); }
.ym-looking-prompt p { margin: 0; font-size: 14px; color: var(--ym-muted); line-height: 1.9; }
.ym-reading-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #d8e1de; color: var(--ym-primary); font-size: 14px; }
.ym-reading-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.ym-reading-link .icon { width: 18px; height: 18px; }
.ym-looking-overlay { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - 96px); pointer-events: none; }
.ym-observation-marker { fill: none; stroke: rgb(255 255 255 / 95%); stroke-width: 2; opacity: 0; transform: scale(.9); transform-box: fill-box; transform-origin: center; transition: opacity 260ms, transform 360ms; }
.ym-observation-halo { stroke: rgb(255 255 255 / 19%); stroke-width: 17; }
[data-look="layers"] .ym-observation-marker--layers, [data-look="space"] .ym-observation-marker--space, [data-look="color"] .ym-observation-marker--color { opacity: 1; transform: scale(1); }
.ym-community-section-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.ym-community-section-title h2 { margin: 0; font: 500 24px/1.6 var(--serif); }
.ym-community-section-title > span { font-size: 12px; color: var(--ym-muted); }
.ym-taste-shelf { padding: 25px 27px; border: 1px solid rgb(255 255 255 / 94%); border-radius: 18px; background: rgb(255 253 250 / 76%); }
.ym-taste-heading { display: flex; align-items: center; gap: 12px; }
.ym-taste-heading > span { display: inline-grid; width: 35px; height: 35px; place-items: center; flex: none; color: #6f5537; border: 1px solid #e3d5bb; border-radius: 11px; background: #f3ebdc; }
.ym-taste-heading .icon { width: 18px; height: 18px; }
.ym-taste-heading h2 { margin: 0; font: 500 21px/1.6 var(--serif); }
.ym-taste-shelf > p { margin: 15px 0 7px; max-width: 46ch; font-size: 14px; color: var(--ym-muted); line-height: 1.9; }
.ym-taste-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--ym-primary); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.ym-taste-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.ym-taste-works > a { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ym-taste-works > a > span { min-width: 0; }
.ym-taste-works img, .ym-taste-text-art { display: block; flex: none; width: 68px; height: 82px; object-fit: cover; border: 3px solid #fff; border-radius: 5px; box-shadow: 0 4px 12px rgb(51 73 75 / 7%); }
.ym-taste-text-art { display: grid; place-items: center; background: #e2e8df; color: var(--ym-primary); }
.ym-taste-works b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 500 14px/1.7 var(--sans); overflow-wrap: anywhere; }
.ym-taste-works small { display: block; margin-top: 5px; color: var(--ym-muted); font-size: 12px; }
.ym-taste-shelf--compact { padding: 23px 20px 17px; }
.ym-taste-shelf--compact .ym-taste-heading { display: block; }
.ym-taste-shelf--compact .ym-taste-heading h2 { margin-top: 14px; }
.ym-taste-shelf--compact .ym-taste-works { grid-template-columns: 1fr; gap: 16px; margin-bottom: 10px; }
.page[data-view="profile"] > .ym-taste-shelf { margin: 0 0 28px; }
@media (min-width: 901px) {
  .sidebar { width: 204px; inset: 20px auto 20px 20px; border-radius: 22px; background: rgb(255 255 253 / 62%); box-shadow: var(--ym-glass-shadow); }
  .brand { gap: 9px; padding-inline: 3px; font-size: 20px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark img { width: 36px; height: 36px; }
  .brand small { font-size: 12px; letter-spacing: .02em; }
  .workspace { margin-left: 244px; }
  .topbar { height: 80px; padding-inline: 36px; background: rgb(248 248 243 / 72%); }
  .topbar-left { font-size: 13px; }
  .page { width: min(1500px, 100%); padding: 31px clamp(28px, 2.6vw, 48px) 60px; }
  .ym-primary-nav { gap: 7px; margin: 12px 0 22px; }
  .ym-primary-nav .nav-item { min-height: 49px; font-size: 15px; }
  .ym-sidebar-publish { font-size: 14px; border-radius: 11px; }
  .ym-sidebar-line { font-size: 14px; margin-inline: 9px; }
  .ym-discovery-layout { grid-template-columns: minmax(0, 1fr) 232px; gap: 30px; }
  .ym-feed-card { margin-bottom: 28px; }
  .ym-card-visual { border: 1px solid rgb(255 255 255 / 90%); border-radius: 15px; }
  .ym-card-copy { padding-top: 12px; }
  .ym-card-copy h2 { font-size: 16px; }
  .ym-editorial-rail { display: block; top: 105px; padding-top: 58px; }
  .ym-my-profile { padding: 32px 36px; background: rgb(255 253 250 / 72%); border-radius: 19px; }
  .ym-work-story { padding: 32px; }
  .ym-work-story h1 { font-size: 30px; }
  .ym-explore-nav summary:focus-visible { outline: 3px solid var(--ym-focus); outline-offset: 2px; border-radius: 10px; }
}
@media (min-width: 901px) and (max-width: 1190px) {
  .ym-discovery-layout { grid-template-columns: minmax(0, 1fr); }
  .ym-editorial-rail { display: none; }
  .ym-curated-feature { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); }
  .ym-curated-reading { padding-inline: 22px; }
  .ym-taste-works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ym-curated-feature { grid-template-columns: minmax(0, 1.1fr) minmax(285px, 1fr); }
  .ym-curated-reading { padding: 23px; }
  .ym-curated-caption { inset: auto 15px 17px; padding: 12px 14px; font-size: 15px; }
  .ym-taste-works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .ym-feed-head h1 { font-size: 28px; }
  .ym-feed-head p { font-size: 14px; }
  .ym-discovery-toolbar { display: block; border: 0; margin-bottom: 20px; padding: 0; }
  .ym-discovery-toolbar .ym-feed-tabs { margin-bottom: 11px; border-bottom: 1px solid var(--ym-border); }
  .ym-discovery-toolbar .ym-topic-filter { margin: 0 -2px; }
  .ym-discovery-toolbar .ym-topic-filter a { min-width: 52px; }
  .ym-curated-feature { grid-template-columns: minmax(0, 1fr); margin-bottom: 27px; border-radius: 17px; }
  .ym-curated-art { min-height: 285px; }
  .ym-curated-art img, .ym-looking-overlay { height: calc(100% - 66px); }
  .ym-artwork-label { top: 14px; left: 15px; }
  .ym-curated-caption { bottom: 12px; padding-block: 10px; font-size: 15px; line-height: 1.5; }
  .ym-curated-reading { padding: 24px 22px 20px; }
  .ym-curated-reading > h2 { font-size: 32px; }
  .ym-curated-intro br { display: none; }
  .ym-looking-prompt { min-height: 100px; }
  .ym-community-section-title { gap: 5px; margin-bottom: 17px; }
  .ym-community-section-title h2 { font-size: 22px; }
  .ym-community-section-title > span { display: none; }
  .ym-taste-shelf { padding: 22px; }
  .ym-taste-heading { align-items: flex-start; }
  .ym-taste-heading h2 { font-size: 20px; }
  .ym-taste-works { grid-template-columns: minmax(0, 1fr); gap: 15px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ym-curated-caption, .ym-artwork-label { background: #f7f6ef; }
}
[data-motion="paused"] .ym-observation-marker { transition: none; }
@media (prefers-reduced-motion: reduce) { .ym-observation-marker { transition: none; } }
