@font-face {
  font-family: "NAITIE Manrope";
  src: url("/assets/fonts/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --sans: "NAITIE Manrope", sans-serif;
  --display: var(--sans);
  --mono: var(--sans);
}

body { font-family: var(--sans); font-size: 16px; line-height: 1.65; }
button, input, select, textarea, option { font-family: var(--sans); }
h1, h2, h3, h4, h5, h6,
.brand, .section-heading h2, .workspace-view h1, .workspace-view h2 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.02em;
}
.section-kicker, .eyebrow, .nav-label {
  font-weight: 600;
  letter-spacing: .035em;
}
.player-times, .admin-stats b, .trend-number {
  font-variant-numeric: tabular-nums;
}
.dialog-form label { font-weight: 550; }
.dialog-form input, .dialog-form textarea { font-weight: 450; }
.brand { font-weight: 800; letter-spacing: .06em; }
.brand-mark { letter-spacing: -.04em; }
.nav-link { font-size: 14px; min-height: 44px; }
.nav-label, .section-kicker, .eyebrow { font-size: 11px; line-height: 1.5; }
.profile-switch b, .profile-switch small { font-size: 12px; }
.welcome-row h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.welcome-copy, .hero-card p { font-size: 15px; }
.workspace-view > p, .post-card p, .post-text, .work-description,
.collaborator-bio, .collab-heading p, .community-heading p { font-size: 15px; line-height: 1.75; }
.workspace-view h1 { font-size: clamp(28px, 3vw, 38px); }
.workspace-view h2, .post-card h2, .post-card h3 { font-size: 22px; line-height: 1.3; }
.creator b, .creator small, .social-actions button, .inline-action,
.trend-info b, .suggested-info b, .collaborator-name { font-size: 13px; }
.creator small, .track-info p, .trend-info small, .suggested-info small,
.collaborator-skills, .availability, .shared-interest { font-size: 12px; line-height: 1.6; }
.feed-tab, .filter-button, .text-link, .hero-button,
.create-button, .collab-propose, .collab-status-select { font-size: 13px; }
.feed-tab, .social-actions button { min-height: 40px; }
.player-caption { font-size: 11px; letter-spacing: .02em; }
.player-times, .page-footer, .sidebar-footer { font-size: 11px; }
dialog h2 { font-size: 26px; line-height: 1.25; }
dialog p, .dialog-form label, .dialog-form small, .verification-hint,
.creator-register legend, .creator-register .field-caption { font-size: 13px; line-height: 1.65; }
.dialog-form input, .dialog-form select, .dialog-form textarea {
  font-size: 16px; line-height: 1.5; padding: 10px 12px;
}
.dialog-form input:not([type="checkbox"]), .dialog-form select { min-height: 44px; }
.dialog-form .check-option { font-size: 13px; }
.dialog-primary, .verify-resend, .auth-switch button { font-size: 13px; min-height: 42px; }
.form-error { font-size: 13px; line-height: 1.6; }
.admin-item-info b, .admin-item-info small, .admin-item-info p,
.admin-toggle, .admin-level, .admin-status, .admin-tabs button { font-size: 12px; }
.admin-item-info b { white-space: normal; line-height: 1.5; }
.admin-item-info p { line-height: 1.65; }
.collab-filter > span, .ranking-filters label { font-size: 12px; }
.collab-filter input, .collab-filter select, .workspace-view .ranking-filters select { font-size: 14px; min-height: 44px; }
.admin-empty, .community-empty, .collab-empty { font-size: 14px; }
.toast { font-size: 14px; line-height: 1.5; }
.reel-copy h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.reel-copy p { font-size: 14px; line-height: 1.6; }
.reel-author { font-size: 14px; }
.reel-top span { font-size: 12px; }
.reel-copy .player-caption { font-size: 11px; }
.welcome-copy { max-width: 560px; line-height: 1.7; }
.hero-card { background: linear-gradient(115deg, #24202c, #181b27); }
.hero-content { max-width: 65%; }
.hero-card h2 { font-weight: 700; line-height: 1.18; font-size: clamp(26px, 3vw, 36px); }
.studio-art { position: absolute; width: 29%; height: 70%; right: 6%; top: 14%; pointer-events: none; }
.studio-sheet {
  position: absolute; inset: 0; border: 1px solid #ffffff26; border-radius: 16px;
  background: linear-gradient(145deg, #4f344e, #242c3b); transform: rotate(9deg);
  box-shadow: -14px 14px 0 -4px #14141c, -14px 14px 0 -3px #ffffff14;
  display: flex; justify-content: center; align-items: flex-end; gap: 5%; padding: 17% 15%;
}
.studio-sheet span { position: absolute; top: 10%; left: 14%; color: #ff80af; font-size: 29px; font-weight: 800; }
.studio-sheet i { width: 7%; height: 25%; border-radius: 5px; background: #fa8cb8; }
.studio-sheet i:nth-of-type(2n) { height: 44%; background: #59d5cc; }
.studio-sheet i:nth-of-type(3n) { height: 62%; }
.studio-label { position: absolute; right: -6%; bottom: -4%; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; color: #202027; background: #eea9c4; font-size: 26px; transform: rotate(-10deg); }
.brand-mark.brand-mark-image { width: 44px; height: 44px; flex: 0 0 44px; transform: none; background: #fff; border-radius: 10px; overflow: hidden; letter-spacing: 0; }
.brand-mark-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand { min-height: 44px; }
.breadcrumb > span { letter-spacing: .06em; }
@media (max-width: 600px) {
  .nav-link, .mobile-nav a { font-size: 11px; }
  .welcome-row h1 { font-size: 28px; }
  .hero-card h2 { font-size: 27px; }
  .hero-card p { font-size: 13px; }
  .hero-card { min-height: 280px; height: auto; }
  .hero-content { padding-bottom: 24px; }
  .reel-copy h1 { font-size: 26px; }
  .reel-copy p { font-size: 14px; }
  .hero-content { max-width: 73%; }
  .studio-art { width: 25%; right: 5%; height: 51%; top: 22%; }
  .studio-sheet { padding-inline: 10%; gap: 4%; border-radius: 11px; }
  .studio-label { width: 32px; height: 32px; font-size: 20px; border-radius: 9px; }
  .studio-sheet span { font-size: 22px; }
}
/* Search remains readable on desktop and phone. */
.search-box { width: clamp(260px, 28vw, 380px); height: 44px; padding: 0 12px; gap: 10px; }
.search-box input { font-size: 16px; line-height: 1.4; min-width: 0; min-height: 40px; }
.search-box input::placeholder { color: #a5a5af; }
.search-box > span { font-size: 22px; }
.search-box kbd { font-size: 11px; }
.top-actions { min-width: 0; }
@media (max-width: 600px) {
  .top-actions { gap: 8px; }
  .search-box { width: min(52vw, 280px); min-width: 0; height: 44px; padding-inline: 9px; gap: 6px; }
  .search-box input { font-size: 16px; }
}
.sidebar-info { display: flex; gap: 18px; margin-top: 10px; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.sidebar-info a:hover, .mobile-info-links a:hover { color: var(--pink); }
.mobile-info-links { display: none; }
.info-page { max-width: 850px; margin: 0 auto; padding-bottom: 32px; }
.info-page h1 { margin-bottom: 16px; }
.info-page p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.info-page .info-lead { font-size: clamp(20px, 3vw, 28px); color: var(--text); line-height: 1.5; }
.info-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0; }
.info-values section, .faq-list details { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.info-values h2 { font-size: 20px; margin-top: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-list summary { cursor: pointer; font-size: 17px; font-weight: 700; line-height: 1.6; }
.faq-list details[open] { border-color: var(--pink); }
.faq-list p { margin-bottom: 0; }
@media (max-width: 760px) {
  .info-values { grid-template-columns: 1fr; }
  .mobile-info-links { display: flex; justify-content: center; gap: 24px; padding: 20px 16px 90px; font-size: 14px; color: var(--muted); }
  .info-page p { font-size: 16px; }
}
/* Wide desktop typography scales with CSS viewport width and browser text settings. */
@media (min-width: 1600px) {
  :root {
    --desktop-text: clamp(1.125rem, .8rem + .3vw, 1.5rem);
    --desktop-small: clamp(.9375rem, .7rem + .25vw, 1.25rem);
    --desktop-label: clamp(1rem, .75rem + .27vw, 1.375rem);
    --desktop-sidebar: clamp(280px, 10vw, 360px);
  }
  body { font-size: var(--desktop-text); line-height: 1.7; }
  .sidebar { width: var(--desktop-sidebar); padding: 32px 22px 24px; overflow-y: auto; }
  .main-area { margin-left: var(--desktop-sidebar); }
  .brand { height: auto; min-height: 54px; font-size: clamp(24px, 1vw, 32px); gap: 14px; }
  .brand-mark.brand-mark-image { width: 54px; height: 54px; flex-basis: 54px; }
  .profile-switch { padding: 14px 12px; }
  .profile-switch b { font-size: var(--desktop-label); }
  .profile-switch small { font-size: var(--desktop-small); }
  .avatar-small { width: 44px; height: 44px; flex-shrink: 0; font-size: 18px; }
  .nav-link { min-height: 52px; height: auto; padding: 10px 12px; font-size: var(--desktop-label); gap: 14px; }
  .nav-link > span { font-size: 24px; width: 26px; }
  .nav-label, .section-kicker, .eyebrow { font-size: var(--desktop-small); line-height: 1.6; }
  .nav-label { padding-top: 24px; }
  .nav-new { font-size: 12px; }
  .pro-card { padding: 18px 14px; }
  .pro-card b, .pro-card p, .pro-card button, .sidebar-foot, .sidebar-info { font-size: var(--desktop-small); line-height: 1.6; }
  .sidebar-foot { padding-top: 18px; }
  .topbar { min-height: 88px; height: auto; padding: 18px clamp(32px, 2vw, 64px); gap: 24px; }
  .breadcrumb, .breadcrumb span { font-size: var(--desktop-small); }
  .search-box { width: clamp(350px, 22vw, 560px); min-height: 54px; height: auto; }
  .search-box input { font-size: var(--desktop-text); min-height: 50px; }
  .search-box kbd { font-size: var(--desktop-small); }
  .language-toggle { min-width: 48px; min-height: 48px; font-size: var(--desktop-small); }
  .avatar-top { width: 44px; height: 44px; font-size: 18px; }
  .icon-button { font-size: 28px; }
  .welcome-row { padding: 40px clamp(32px, 2vw, 64px) 30px; gap: 28px; }
  .welcome-row h1, .workspace-view h1 { font-size: clamp(38px, 1.6vw, 60px); line-height: 1.25; }
  .welcome-copy { max-width: 850px; }
  .welcome-copy, .hero-card p, .workspace-view > p, .post-card p,
  .post-text, .work-description, .collaborator-bio, .collab-heading p,
  .community-heading p, .info-page p { font-size: var(--desktop-text); line-height: 1.75; }
  .content-grid { grid-template-columns: minmax(0, 1fr) clamp(330px, 14vw, 460px); gap: 32px; padding-inline: clamp(32px, 2vw, 64px); }
  .hero-card { height: auto; min-height: clamp(310px, 13vw, 450px); }
  .hero-content { padding: 30px 32px 44px; }
  .hero-card h2 { font-size: clamp(36px, 1.4vw, 54px); }
  .hero-pill, .hero-index { font-size: var(--desktop-small); }
  .hero-pill { padding: 7px 12px; }
  .section-heading h2, .workspace-view h2, .post-card h2, .post-card h3, .info-values h2 { font-size: clamp(26px, 1vw, 38px); line-height: 1.35; }
  .post-card { padding: 24px; }
  .creator b, .creator small, .track-info p, .trend-info b, .trend-info small,
  .suggested-info b, .suggested-info small, .collaborator-name, .collaborator-skills,
  .availability, .shared-interest, .page-footer { font-size: var(--desktop-small); }
  .feed-tab, .filter-button, .text-link, .hero-button, .create-button,
  .collab-propose, .collab-status-select, .inline-action, .social-actions button,
  .community-content .social-actions button, .community-tabs button,
  .community-collection-tools button { font-size: var(--desktop-label); min-height: 48px; height: auto; }
  .feed-tabs { height: auto; min-height: 54px; gap: 28px; }
  .hero-button, .create-button, .filter-button { padding: 10px 16px; }
  .post-actions { flex-wrap: wrap; }
  .action-button, .post-rank, .track-type, .track-info h3 { font-size: var(--desktop-small); }
  .naitie-player .player-caption, .reel-copy .player-caption,
  .playback-dock .player-caption { font-size: var(--desktop-label); }
  .naitie-player .player-times { font-size: var(--desktop-small); }
  .naitie-player .player-toggle { width: 54px; height: 54px; font-size: 22px; }
  .playback-dock { left: calc(var(--desktop-sidebar) + 32px); right: 32px; max-width: 1200px; padding: 16px 20px; }
  .reel-deck { height: calc(100dvh - 100px); }
  .reel-copy h1 { font-size: clamp(32px, 1.2vw, 46px); }
  .reel-copy p, .reel-author, .reel-top span { font-size: var(--desktop-label); }
  dialog { width: min(92vw, 720px); max-height: 88dvh; overflow-y: auto; }
  dialog h2 { font-size: 36px; }
  dialog p, .dialog-form label, .dialog-form small, .verification-hint,
  .creator-register legend, .creator-register .field-caption,
  .dialog-form .check-option, .form-error { font-size: var(--desktop-label); }
  .dialog-form input, .dialog-form select, .dialog-form textarea,
  .dialog-primary, .verify-resend, .auth-switch button { font-size: var(--desktop-label); min-height: 50px; }
  .dialog-form input[type="checkbox"] { min-height: 0; }
  .admin-item-info b, .admin-item-info small, .admin-item-info p, .admin-toggle,
  .admin-level, .admin-status, .admin-tabs button, .collab-filter > span,
  .ranking-filters label, .workspace-view .ranking-filters select,
  .collab-filter input, .collab-filter select, .workspace-view .rank-row > b,
  .workspace-view .rank-row > b span:last-child { font-size: var(--desktop-label); }
  .admin-empty, .community-empty, .collab-empty, .toast { font-size: var(--desktop-text); }
  .info-page { max-width: 1120px; }
  .info-page .info-lead { font-size: clamp(28px, 1.1vw, 42px); }
  .faq-list summary { font-size: var(--desktop-text); }
  .info-values section, .faq-list details { padding: 26px; }
  .community-content .post-card .social-actions { flex-wrap: wrap; gap: 12px; }
}
/* Keep sidebar navigation scrollable without the native white scrollbar. */
.sidebar { scrollbar-width: none; -ms-overflow-style: none; }
.sidebar::-webkit-scrollbar { display: none; width: 0; height: 0; }
html, dialog, textarea, .admin-table, .community-tabs { scrollbar-width: thin; scrollbar-color: #56505e #18181f; }
html::-webkit-scrollbar, dialog::-webkit-scrollbar, textarea::-webkit-scrollbar { width: 7px; height: 7px; }
html::-webkit-scrollbar-track, dialog::-webkit-scrollbar-track, textarea::-webkit-scrollbar-track { background: #18181f; }
html::-webkit-scrollbar-thumb, dialog::-webkit-scrollbar-thumb, textarea::-webkit-scrollbar-thumb { background: #56505e; border-radius: 8px; border: 1px solid #18181f; }
.profile-switch > span:nth-child(2) { min-width: 0; flex: 1; }
.profile-switch b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-switch small { line-height: 1.45; }
.has-avatar-image { background-size: cover; background-position: center; color: transparent !important; }
.account-settings-header { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 18px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.account-settings-header > div:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.account-settings-header b { font-size: 20px; }
.account-settings-header p { margin: 4px 0; }
.account-settings-avatar { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; display: grid; place-items: center; background-color: var(--pink); color: #18181f; font-size: 26px; font-weight: 700; }
.account-session { margin: 24px 0; border-top: 1px solid var(--line); padding-top: 16px; }
.admin-people-search { display: grid; gap: 8px; max-width: 500px; margin: 18px 0; font-size: 16px; }
.admin-people-search input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 10px; font: inherit; }
.admin-people-list .admin-item[hidden] { display: none !important; }
/* Community uses a bounded editorial grid instead of unlimited tiny columns. */
.workspace-view.is-community-view { width: 100%; max-width: 2000px; margin-inline: auto; }
.community-content .view-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: stretch; }
.community-content .view-grid > *, .community-content .post-card { min-width: 0; max-width: 100%; }
.community-content .view-grid > .post-card,
.community-content .collection-item > .post-card { display: flex; flex-direction: column; height: 100%; padding: 22px; }
.community-content .post-card h2 { margin: 10px 0 14px; line-height: 1.4; overflow-wrap: anywhere; }
.community-content .post-card .work-description { margin: 0 0 18px; line-height: 1.7; }
.community-content .work-cover { display: block; width: 100%; aspect-ratio: 1; height: auto; max-height: none; object-fit: cover; margin: 0 0 18px; flex-shrink: 0; }
.community-content .work-video { aspect-ratio: 1; max-height: none; object-fit: contain; }
.community-content .naitie-player { min-width: 0; margin-bottom: 16px; gap: 12px; }
.community-content .player-body { min-width: 0; flex: 1; }
.community-content .player-caption { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.community-content .player-toggle { flex-shrink: 0; }
.community-content .social-actions { margin-top: auto; padding-top: 18px; gap: 10px; align-items: flex-start; }
.community-content .social-actions button { flex: 0 1 auto; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
.community-collection-head, .community-section-title { flex-wrap: wrap; }
.community-heading p { max-width: 1000px; }
.community-tabs { flex-wrap: wrap; overflow-x: visible; gap: 10px; }
.community-tabs button { font-size: 15px; min-height: 44px; }
@media (min-width: 1100px) {
  .community-content .view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1600px) {
  .community-content .view-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .community-tabs button { font-size: var(--desktop-label); }
  .community-content .post-card h2 { font-size: clamp(24px, .9vw, 32px); }
  .community-content .social-actions button { font-size: var(--desktop-small); }
}
@media (min-width: 2800px) {
  .community-content .view-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .workspace-view.is-community-view { padding-inline: 14px; }
  .community-content .view-grid { gap: 18px; }
  .community-content .view-grid > .post-card { padding: 16px; }
  .community-tabs { gap: 6px; }
  .community-tabs button { font-size: 14px; padding: 8px 10px; }
  .community-content .social-actions button { font-size: 13px; min-height: 40px; }
}
/* Different destinations: a mixed home, track library, visual gallery and motion. */
.content-grid [hidden], .reel-copy .naitie-player { display: none !important; }
.content-grid[data-feed-view]:not([data-feed-view="home"]) { grid-template-columns: minmax(0,1fr); max-width: 1920px; margin-inline: auto; padding-top: 30px; }
.category-intro { margin: 0 0 30px; padding: 24px 0 30px; border-bottom: 1px solid var(--line); }
.category-intro h1 { margin: 10px 0 12px; font-size: clamp(32px, 2vw, 54px); line-height: 1.2; }
.category-intro p { margin: 0; max-width: 900px; font-size: clamp(16px, .7vw, 24px); color: var(--muted); line-height: 1.7; }
.home-highlights { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 26px 0; }
.home-spotlight { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.spotlight-category { display: flex; flex-direction: column; gap: 4px; font-size: 20px; font-weight: 700; }
.spotlight-category span { font-size: 13px; color: var(--muted); font-weight: 500; }
.spotlight-music { border-top: 3px solid var(--pink); }
.spotlight-art { border-top: 3px solid var(--teal); }
.spotlight-motion { border-top: 3px solid #b49afa; }
.spotlight-work { display: grid; width: 100%; padding: 0; margin-top: 16px; gap: 8px; border: 0; background: transparent; color: var(--text); text-align: left; }
.spotlight-work img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.spotlight-work b { font-size: 15px; overflow-wrap: anywhere; line-height: 1.4; }
.spotlight-work small { font-size: 12px; color: var(--muted); }
.feed-tabs { height: auto; min-height: 50px; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 20px; }
.feed-tab { font-size: 15px; min-height: 44px; }
.feed-loading { color: var(--muted); padding: 24px 0; }
.music-genre-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; font-size: 16px; }
.music-genre-filter select { max-width: 100%; min-height: 46px; padding: 10px 36px 10px 14px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px; font: inherit; color-scheme: dark; }
.content-grid #feedCards { display: grid; gap: 22px; align-items: start; }
.content-grid #feedCards > .post-card { min-width: 0; margin: 0; }
.content-grid #feedCards .social-actions { flex-wrap: wrap; gap: 10px; }
.content-grid #feedCards .work-cover { width: 100%; height: auto; object-fit: cover; }
.content-grid[data-feed-view="home"] #feedCards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.content-grid[data-feed-view="home"] .work-cover { aspect-ratio: 1; max-height: none; }
.content-grid[data-feed-view="music"] #feedCards { grid-template-columns: minmax(0,1fr); }
.content-grid[data-feed-view="music"] #feedCards > .post-card { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 14px 24px; align-items: start; }
.content-grid[data-feed-view="music"] #feedCards > .post-card > * { grid-column: 2; margin: 0; min-width: 0; }
.content-grid[data-feed-view="music"] #feedCards > .post-card > .work-cover { grid-column: 1; grid-row: 1 / span 6; aspect-ratio: 1; max-height: none; }
.content-grid[data-feed-view="music"] #feedCards .work-description { font-size: 15px; }
.content-grid[data-feed-view="art"] #feedCards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.content-grid[data-feed-view="art"] #feedCards > .post-card { display: flex; flex-direction: column; }
.content-grid[data-feed-view="art"] #feedCards .work-cover { order: -1; margin: 0 0 18px; max-height: none; aspect-ratio: 4/5; }
.content-grid[data-feed-view="motion"] #feedCards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.content-grid[data-feed-view="motion"] #feedCards .work-cover,
.content-grid[data-feed-view="motion"] #feedCards .work-video { aspect-ratio: 16/9; max-height: none; object-fit: contain; background: #101014; }
.content-grid[data-feed-view="motion"] #feedCards > .post-card:has(.work-video) > .work-cover { display: none; }
.content-grid #feedCards h2 { font-size: clamp(21px, .8vw, 30px); overflow-wrap: anywhere; }
@media (min-width: 1600px) {
  .home-highlights { gap: 22px; }
  .spotlight-category { font-size: 28px; }
  .spotlight-category span, .spotlight-work small { font-size: var(--desktop-small); }
  .spotlight-work b, .feed-tab, .music-genre-filter { font-size: var(--desktop-label); }
  .content-grid[data-feed-view="music"] #feedCards > .post-card { grid-template-columns: 200px minmax(0,1fr); padding: 26px; }
  .content-grid[data-feed-view="music"] #feedCards .work-description { font-size: var(--desktop-text); }
  .content-grid[data-feed-view="art"] #feedCards { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1100px) {
  .content-grid[data-feed-view="home"] #feedCards { grid-template-columns: minmax(0,1fr); }
  .content-grid[data-feed-view="art"] #feedCards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .home-highlights { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .home-spotlight { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 14px; align-items: center; }
  .spotlight-work { margin: 0; grid-template-columns: 56px minmax(0,1fr); align-items: center; }
  .spotlight-work img { grid-row: span 2; }
  .spotlight-work b { font-size: 14px; }
  .spotlight-work small { font-size: 11px; }
  .spotlight-category { font-size: 18px; }
  .category-intro { padding-top: 0; margin-bottom: 20px; }
  .category-intro h1 { font-size: 32px; }
  .content-grid[data-feed-view="art"] #feedCards,
  .content-grid[data-feed-view="motion"] #feedCards { grid-template-columns: minmax(0,1fr); }
  .content-grid[data-feed-view="music"] #feedCards > .post-card { grid-template-columns: 72px minmax(0,1fr); gap: 12px; padding: 16px; }
  .content-grid[data-feed-view="music"] #feedCards > .post-card > .work-cover { grid-row: 1 / span 3; }
  .content-grid[data-feed-view="music"] #feedCards > .post-card > .naitie-player,
  .content-grid[data-feed-view="music"] #feedCards > .post-card > .social-actions,
  .content-grid[data-feed-view="music"] #feedCards > .post-card > .work-tags { grid-column: 1 / -1; }
  .feed-tab { font-size: 14px; }
}
.discovery-modes { display: flex; gap: 6px; justify-content: center; padding: 10px 16px; }
.reel-card > .discovery-modes { position: absolute; z-index: 3; top: 10px; left: 10px; right: 10px; padding: 0; }
.discovery-modes button { border: 1px solid #ffffff40; border-radius: 24px; background: #16131ee8; padding: 9px 16px; color: #eee9f2; font: 600 14px var(--sans); min-height: 42px; }
.discovery-modes button[aria-pressed="true"] { color: #ffb1d0; border-color: var(--pink); background: #382333f2; }
.reel-card > .reel-top { top: 68px; }
.reel-copy .naitie-player { display: none !important; }
@media (min-width: 1600px) { .discovery-modes button { font-size: 17px; } }
@media (max-height: 650px) {
  .reel-actions { gap: 5px; bottom: 98px; }
  .reel-actions button, .reel-navigation button { width: 36px; height: 36px; font-size: 17px; }
  .reel-navigation { bottom: 12px; gap: 5px; }
}
.own-publications { max-width: 2000px; margin-inline: auto; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.own-publications > .post-card { min-width: 0; }
.own-work-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.own-work-tools > span { color: var(--muted); font-size: 14px; }
.edit-publication-button { border: 1px solid var(--pink); color: var(--text); background: #ff4f9117; border-radius: 10px; padding: 10px 14px; min-height: 44px; font: 600 14px var(--sans); cursor: pointer; }
.edit-publication-button:hover { background: #ff4f912e; }
.edit-ai-hint { font-size: 14px; line-height: 1.6; color: var(--muted); }
.reel-progress { position: absolute; z-index: 2; bottom: 9px; left: 18px; width: calc(100% - 94px); height: 14px; margin: 0; accent-color: var(--pink); cursor: pointer; }
.reel-card:has(.reel-progress) .reel-copy { bottom: 32px; }
@media (min-width: 1600px) { .edit-publication-button, .own-work-tools > span { font-size: var(--desktop-small); } }
@media (min-width: 2400px) { .own-publications { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 900px) { .own-publications { grid-template-columns: minmax(0,1fr); } }
.reel-surface-toggle { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.reel-surface-toggle > span { display: grid; place-items: center; width: 72px; height: 72px; padding-left: 5px; border-radius: 50%; background: #14121bbd; border: 1px solid #ffffff50; font-size: 30px; opacity: 0; transition: opacity .15s; pointer-events: none; }
.reel-surface-toggle.is-paused > span, .reel-surface-toggle:focus-visible > span { opacity: 1; }
.reel-surface-toggle:focus-visible { outline: 2px solid var(--pink); outline-offset: -4px; }
.post-card img.work-cover[data-tap-playback] { cursor: pointer; }
.post-card img.work-cover[data-tap-playback]:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
