:root {
  color-scheme: dark;
  --paper: #111b2e;
  --canvas: #070b16;
  --ink: #edf5ff;
  --muted: #a6b8d0;
  --line: #233450;
  --green: #43d7ef;
  --green-soft: #142c40;
  --coral: #4f8cff;
  --radius: 22px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { min-width: 300px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: absolute; inset: 0 0 auto; height: 680px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 75% 12%, #16355a44, transparent 55%); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
button, input, textarea, select { color: var(--ink); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #75e8ff; outline-offset: 4px; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.site-header { background: #090f1de6; border-bottom: 1px solid #233450aa; }
.header-inner { max-width: 1240px; min-height: 88px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 56px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; font-size: 24px; font-weight: 750; letter-spacing: -.7px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: #122940; border: 1px solid #43d7ef55; border-radius: 12px; color: var(--green); box-shadow: inset 0 0 16px #43d7ef10; }
.brand-mark svg { width: 27px; height: 27px; }
.nav { display: flex; align-items: center; align-self: stretch; gap: 32px; }
.nav-link { display: flex; align-items: center; position: relative; color: var(--muted); text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active::after { position: absolute; content: ""; height: 3px; background: var(--green); border-radius: 3px 3px 0 0; bottom: 0; left: 0; right: 0; box-shadow: 0 -3px 16px #43d7ef30; }
.header-search { width: 280px; margin-left: auto; min-width: 120px; display: flex; align-items: center; gap: 10px; background: #111b2b; border: 1px solid #28394f; border-radius: 10px; padding: 0 15px; }
.header-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px #43d7ef15; }
.header-search input { min-width: 0; width: 100%; height: 42px; padding: 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.header-search input:focus-visible { outline: none; }
.header-search input::placeholder { color: #98adc8; }
.search-icon { width: 18px; height: 18px; flex-shrink: 0; color: #98adc8; }
.main-shell { max-width: 1160px; min-height: calc(100vh - 220px); padding: 40px 40px 76px; margin: 0 auto; }
.intro { position: relative; min-height: 282px; display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-bottom: 38px; }
.intro-copy { position: relative; z-index: 1; max-width: 620px; font-size: 16px; color: var(--muted); line-height: 1.9; }
.intro-kicker { margin: 0 0 14px; color: var(--green); font-size: 14px; font-weight: 600; }
.intro-heading, .intro h1 { color: var(--ink); font-size: clamp(34px, 3.7vw, 48px); line-height: 1.35; letter-spacing: -1.7px; font-weight: 750; margin: 0; }
.intro-copy p { margin: 17px 0 0; }
.intro-copy .intro-kicker { margin: 0 0 14px; }
.hero-visual { width: 42%; max-width: 435px; min-width: 250px; position: relative; flex-shrink: 0; opacity: .95; }
.hero-visual svg { width: 100%; height: auto; overflow: visible; }
.site-date { position: absolute; right: 0; bottom: 0; font-size: 14px; color: #98adc8; white-space: nowrap; text-align: right; }
.site-date span { display: block; margin-top: 4px; color: #7e96b4; }
.browse-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-top: 25px; border-top: 1px solid var(--line); }
.filter-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tab { border: 1px solid transparent; background: transparent; color: var(--muted); padding: 9px 17px; border-radius: 9px; font-size: 14px; text-decoration: none; font-weight: 600; }
.tab.active { color: #8deaff; background: #102a3b; border-color: #20506a; }
.tab:hover:not(.active) { background: #142137; color: var(--ink); }
.result-count { color: #99aec9; font-size: 14px; white-space: nowrap; font-weight: 400; }
.card-grid-count { margin: 0 0 12px; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.profile-card { min-width: 0; background: linear-gradient(135deg, #152139, #0e1729); border: 1px solid #283954; border-radius: var(--radius); overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.profile-card:hover { border-color: #42718d; box-shadow: 0 0 0 1px #43d7ef16, 0 16px 42px #00000024; }
.card-link { display: block; text-decoration: none; }
.card-link:focus-visible { outline-offset: -5px; border-radius: var(--radius); }
.card-cover, .profile-cover { position: relative; height: 140px; overflow: hidden; background: #15395e; isolation: isolate; }
.theme-green { --cover: linear-gradient(120deg, #103848, #17477b 64%, #234d7c); --pitch-line: #61ddf43b; --cover-ink: #b3efff; }
.theme-blue { --cover: linear-gradient(120deg, #252d60, #353b79 64%, #453767); --pitch-line: #aaa7ff45; --cover-ink: #d7d7ff; }
.theme-green .card-cover, .theme-green .profile-cover, .card-cover.theme-green, .profile-cover.theme-green,
.theme-blue .card-cover, .theme-blue .profile-cover, .card-cover.theme-blue, .profile-cover.theme-blue { background: var(--cover, #163c61); }
.card-cover::after, .profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, #101a2c40); pointer-events: none; }
.pitch-art { position: absolute; width: 250px; height: 174px; right: 24px; top: -15px; border: 1px solid var(--pitch-line, #61ddf43b); transform: rotate(-16deg); opacity: .9; pointer-events: none; }
.pitch-art::before { content: ""; position: absolute; top: -1px; bottom: -1px; width: 1px; left: 50%; background: var(--pitch-line, #61ddf43b); }
.pitch-art::after { content: ""; position: absolute; width: 65px; height: 65px; left: 50%; top: 50%; border: 1px solid var(--pitch-line, #61ddf43b); border-radius: 50%; transform: translate(-50%, -50%); }
.pitch-art i, .pitch-art b { position: absolute; width: 34px; height: 80px; top: calc(50% - 40px); border: 1px solid var(--pitch-line, #61ddf43b); }
.pitch-art i { left: -1px; }
.pitch-art b { right: -1px; }
.pitch-art em { position: absolute; width: 5px; height: 5px; left: calc(50% - 2.5px); top: calc(50% - 2.5px); border-radius: 50%; background: var(--pitch-line, #61ddf43b); }
.card-cover > .profile-tag { position: absolute; z-index: 1; left: 20px; top: 18px; color: var(--cover-ink, #b3efff); background: #06132666; border: 1px solid #c6eaff22; border-radius: 6px; font-size: 14px; padding: 3px 10px; }
.card-identity { position: relative; text-align: center; padding: 29px 26px 26px; }
.avatar { display: block; width: 106px; height: 106px; border: 5px solid #111c30; border-radius: 50%; background: #111c30; overflow: hidden; position: relative; flex-shrink: 0; box-shadow: 0 0 0 1px #8ccef62e; }
.card-identity > .avatar { margin: -82px auto 17px; }
.avatar-image { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar.avatar-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9aeaff; background: #122e44; }
.theme-blue .avatar-fallback { background: #252d50; color: #d6d3ff; }
.avatar-word { font-size: 32px; font-weight: 750; line-height: 1.15; letter-spacing: -1px; }
.avatar-hint { margin-top: 6px; font-size: 12px; font-weight: 400; letter-spacing: 0; color: #a0c7dd; }
.theme-blue .avatar-hint { color: #bbbce0; }
.profile-name { margin: 0; font-size: 25px; font-weight: 700; line-height: 1.5; letter-spacing: -.7px; overflow-wrap: anywhere; }
.profile-bio { margin: 9px auto 0; font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 30em; overflow-wrap: anywhere; }
.profile-tag { display: inline-flex; align-items: center; padding: 3px 9px; color: #b5c7df; background: #1c2b42; border-radius: 5px; font-size: 14px; line-height: 1.6; }
.card-bottom { margin: 0 27px; padding: 20px 0 24px; border-top: 1px solid #283954; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.update-count { font-size: 14px; color: #a4b7d0; }
.update-count strong { color: #79e2f4; font-weight: 600; }
.follow-button { display: inline-flex; justify-content: center; align-items: center; min-width: 112px; min-height: 42px; padding: 9px 20px; border: 1px solid #6ca0ff; border-radius: 9px; background: #4f8cff; color: #07152e; font-size: 14px; font-weight: 750; line-height: 1.4; white-space: nowrap; }
.follow-button:hover { background: #77a6ff; border-color: #8cb3ff; }
.follow-button.is-following { color: #bdd0ea; background: #192940; border-color: #314969; font-weight: 500; }
.follow-button.is-following:hover { background: #20354e; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 64px 24px; border: 1px dashed #334861; border-radius: 16px; background: #101a2bcc; }
.empty-state h2, .empty-state h3 { margin: 0 0 9px; font-size: 20px; font-weight: 600; }
.empty-state p { color: var(--muted); max-width: 30em; margin: 0 auto; font-size: 16px; line-height: 1.8; }
.empty-state .button { margin-top: 20px; }
.footer { flex-wrap: wrap; max-width: 1080px; margin: 0 auto; padding: 27px 0 34px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 14px; color: #91a8c6; }
.footer strong { color: #cbd9ec; font-weight: 600; margin-right: 14px; }
.footer p { margin: 0; }
.footer #storage-note { flex: 0 0 100%; margin: -4px 0 0; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.text-button { padding: 0; background: transparent; border: 0; font-size: inherit; color: inherit; text-decoration: none; }
.text-button:hover { color: var(--green); }
.status-banner { margin: 0 0 22px; padding: 12px 16px; color: #e9cb8b; background: #362d1b; border: 1px solid #625131; border-radius: 8px; font-size: 14px; }
.profile-page { max-width: 1080px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 25px; color: #a7bdd8; text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--green); }
.profile-hero { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 37px; }
.profile-hero .profile-cover { height: 170px; }
.profile-hero .pitch-art { width: 350px; height: 243px; right: 70px; top: -36px; }
.profile-summary { position: relative; display: flex; align-items: flex-start; flex-wrap: wrap; column-gap: 25px; padding: 0 34px 32px; }
.profile-summary > .avatar { width: 116px; height: 116px; margin-top: -42px; border-width: 5px; }
.profile-summary-copy { padding-top: 23px; flex: 1; min-width: 180px; }
.profile-summary-copy .profile-name, .profile-summary-copy h1 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.5; letter-spacing: -.6px; overflow-wrap: anywhere; }
.profile-summary-copy > p { color: var(--muted); font-size: 16px; margin: 7px 0 0; line-height: 1.8; }
.profile-summary-copy .profile-bio { margin-left: 0; }
.profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 28px; }
.content-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.content-heading h2 { font-size: 22px; font-weight: 650; margin: 0; letter-spacing: -.4px; }
.content-heading h2 .result-count { margin-left: 9px; }
.date-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.date-label input { border: 1px solid #344b68; border-radius: 8px; padding: 8px 11px; background: #101c2d; min-width: 0; }
.article-list { display: grid; gap: 17px; }
.article-card { padding: 28px 30px; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; color: #91b1d3; }
.article-title { font-size: 22px; margin: 13px 0 15px; line-height: 1.6; font-weight: 650; overflow-wrap: anywhere; }
.article-title span { margin: 0 8px; color: #7f9bbe; font-size: 16px; font-weight: 500; }
.article-card > h3 { font-size: 18px; font-weight: 600; line-height: 1.7; }
.article-body { white-space: normal; overflow-wrap: anywhere; font-size: 16px; color: #c0cee1; line-height: 1.95; max-width: 75ch; }
.article-body p { margin: 0 0 1em; }
.article-body p:last-child { margin-bottom: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.button.primary { color: #061721; background: var(--green); }
.button.primary:hover { background: #75e6f7; }
.button.secondary { color: #bfd0e5; background: #192940; border-color: #334b69; }
.button.secondary:hover { background: #213850; }
.button.small { min-height: 36px; padding: 8px 12px; font-size: 14px; }
.form-note { margin: 10px 0 0; color: #a0b5d0; font-size: 14px; line-height: 1.8; }
.toast { position: fixed; z-index: 100; bottom: 32px; left: 50%; transform: translate(-50%, 10px); padding: 12px 21px; max-width: calc(100vw - 32px); border: 1px solid #3a5a79; border-radius: 10px; background: #182b40; color: var(--ink); font-size: 14px; box-shadow: 0 6px 30px #00000040; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
  .header-inner { padding: 0 28px; gap: 35px; }
  .header-search { width: 230px; }
  .main-shell { padding: 32px 28px 60px; }
  .intro { min-height: 258px; }
  .hero-visual { width: 40%; min-width: 220px; }
  .footer { margin: 0 28px; }
  .profile-summary { padding: 0 27px 27px; }
  .profile-actions { flex-basis: 100%; padding-top: 14px; padding-left: 141px; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 128px; padding: 18px 20px 17px; gap: 0; flex-wrap: wrap; justify-content: space-between; }
  .brand { font-size: 21px; gap: 9px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .nav { gap: 20px; align-self: auto; height: 34px; }
  .nav-link { font-size: 14px; }
  .nav-link.active::after { bottom: -7px; height: 2px; }
  .header-search { flex: 0 0 100%; width: 100%; margin-top: 22px; border-radius: 9px; }
  .header-search input { height: 40px; }
  .main-shell { padding: 30px 18px 45px; }
  .intro { align-items: flex-start; min-height: 0; flex-direction: column; margin-bottom: 22px; gap: 15px; }
  .intro-heading, .intro h1 { font-size: 32px; letter-spacing: -1.2px; }
  .intro-copy { font-size: 16px; line-height: 1.85; max-width: 100%; }
  .intro-copy p { margin-top: 12px; }
  .intro-copy .intro-kicker { margin-bottom: 10px; }
  .intro-kicker { font-size: 14px; }
  .hero-visual { width: 100%; height: 150px; max-width: 340px; min-width: 0; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
  .hero-visual svg { height: 100%; width: auto; max-width: 100%; }
  .site-date { display: none; }
  .browse-tools { margin-bottom: 18px; padding-top: 20px; gap: 10px; }
  .filter-tabs { gap: 3px; }
  .tab { padding: 8px 10px; font-size: 14px; }
  .result-count { font-size: 14px; }
  .profile-grid { gap: 12px; }
  .profile-card { border-radius: 16px; }
  .card-cover { height: 112px; }
  .card-cover > .profile-tag { left: 12px; top: 12px; padding: 2px 7px; font-size: 14px; }
  .pitch-art { right: -50px; width: 190px; height: 132px; top: -12px; }
  .card-identity { padding: 28px 10px 20px; }
  .avatar { width: 88px; height: 88px; border-width: 4px; }
  .card-identity > .avatar { margin: -72px auto 14px; }
  .avatar-word { font-size: 27px; }
  .avatar-hint { font-size: 12px; margin-top: 5px; }
  .profile-name { font-size: 18px; letter-spacing: -.5px; }
  .profile-bio { font-size: 16px; line-height: 1.8; margin: 8px auto 0; }
  .profile-tag { font-size: 14px; padding: 2px 6px; }
  .card-bottom { margin: 0 14px; padding: 15px 0 17px; flex-direction: column; gap: 12px; }
  .update-count { font-size: 14px; }
  .follow-button { width: 100%; min-width: 0; min-height: 40px; font-size: 14px; border-radius: 8px; padding: 9px 12px; }
  .footer { margin: 0 20px; padding-top: 22px; font-size: 14px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer strong { margin-right: 8px; }
  .footer-links { gap: 17px; }
  .back-link { margin-bottom: 20px; font-size: 14px; }
  .profile-hero { margin-bottom: 28px; border-radius: 16px; }
  .profile-hero .profile-cover { height: 134px; }
  .profile-hero .pitch-art { right: -15px; width: 255px; height: 177px; top: -24px; }
  .profile-summary { padding: 0 21px 24px; gap: 0 17px; }
  .profile-summary > .avatar { width: 92px; height: 92px; margin-top: -36px; border-width: 4px; }
  .profile-summary-copy { padding-top: 16px; min-width: 150px; }
  .profile-summary-copy .profile-name, .profile-summary-copy h1 { font-size: 23px; }
  .profile-summary-copy .profile-bio { font-size: 16px; }
  .profile-actions { padding-left: 0; padding-top: 20px; flex-wrap: nowrap; }
  .profile-actions .follow-button { width: auto; min-width: 112px; }
  .content-heading { flex-wrap: wrap; gap: 13px; }
  .content-heading h2 { font-size: 20px; }
  .date-label { font-size: 14px; gap: 7px; }
  .date-label input { padding: 7px 9px; font-size: 14px; }
  .article-card { padding: 22px 20px; }
  .article-title { font-size: 20px; }
  .article-body { font-size: 16px; }
  .empty-state { padding: 44px 20px; }
  .empty-state h2, .empty-state h3 { font-size: 18px; }
  .empty-state p { font-size: 16px; }
  .toast { bottom: 20px; font-size: 14px; text-align: center; }
}
@media (max-width: 359px) {
  .profile-grid { grid-template-columns: 1fr; gap: 18px; }
  .card-cover { height: 126px; }
  .card-identity { padding-bottom: 24px; }
  .profile-name { font-size: 23px; }
  .profile-bio { font-size: 16px; }
  .card-bottom { flex-direction: row; margin: 0 22px; padding: 18px 0 22px; }
  .follow-button { width: auto; min-width: 94px; }
  .header-inner { padding-left: 18px; padding-right: 18px; }
  .brand { font-size: 20px; }
  .nav { gap: 15px; }
  .intro-heading, .intro h1 { font-size: 29px; }
  .profile-summary { flex-direction: column; align-items: flex-start; }
  .profile-summary-copy { padding-top: 10px; }
  .profile-actions { width: 100%; flex-wrap: wrap; }
  .browse-tools { gap: 6px; }
  .tab { padding-left: 8px; padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Keep ten discovery cards together in the first desktop viewport. */
.home-view .header-inner { max-width: 1480px; min-height: 68px; padding: 0 32px; }
.home-view .main-shell { max-width: 1480px; min-height: 0; padding: 20px 32px 28px; }
.home-view .intro { min-height: 84px; margin-bottom: 12px; gap: 20px; }
.home-view .intro-heading { font-size: 32px; letter-spacing: -1px; }
.home-view .intro-copy p { margin-top: 6px; }
.home-view .hero-visual { width: 180px; height: 84px; min-width: 0; margin-right: 145px; }
.home-view .hero-visual svg { height: 100%; width: 100%; }
.home-view .site-date { top: 24px; bottom: auto; }
.home-view .browse-tools { padding-top: 10px; margin-bottom: 12px; }
.home-view .profile-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.home-view .profile-card { display: flex; flex-direction: column; border-radius: 15px; }
.home-view .card-cover { height: 58px; }
.home-view .card-cover > .profile-tag { left: 12px; top: 10px; padding: 1px 7px; font-size: 12px; }
.home-view .pitch-art { width: 174px; height: 120px; right: -18px; top: -22px; }
.home-view .card-identity { padding: 0 12px 8px; }
.home-view .card-identity > .avatar { width: 66px; height: 66px; border-width: 3px; margin: -29px auto 7px; }
.home-view .avatar-word { font-size: 24px; }
.home-view .avatar-hint { margin-top: 3px; font-size: 12px; }
.home-view .profile-name { font-size: 19px; line-height: 1.5; letter-spacing: -.3px; }
.home-view .profile-bio { margin-top: 3px; font-size: 14px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-view .card-bottom { margin: auto 12px 0; min-height: 54px; padding: 9px 0; gap: 6px; }
.home-view .update-count { font-size: 14px; }
.home-view .follow-button { min-width: 68px; min-height: 34px; padding: 7px 10px; border-radius: 7px; }
.home-view .footer { max-width: 1416px; margin: 0 32px; padding: 18px 0; gap: 8px 20px; }
.home-view .footer #storage-note { flex: initial; margin: 0; font-size: 12px; }
.home-view .placeholder-card { border-color: #24364e; background: linear-gradient(145deg, #101d31, #0b1424); }
.home-view .placeholder-card:hover { border-color: #24364e; box-shadow: none; }
.home-view .placeholder-card .card-cover { background: linear-gradient(110deg, #142b40, #14233b); }
.home-view .placeholder-card .profile-tag { color: #99b7d2; border-color: #42617b55; }
.home-view .placeholder-avatar { display: grid; place-items: center; background: #14273b; color: #7394b5; }
.home-view .placeholder-avatar svg { width: 38px; height: 38px; }
.home-view .placeholder-name { color: #a6bdd7; font-weight: 500; }
.home-view .placeholder-bio, .home-view .placeholder-status { color: #839bb8; }
.home-view .placeholder-card .card-bottom { justify-content: center; }
@media (min-width: 1600px) {
  .home-view .footer { margin-left: auto; margin-right: auto; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .home-view .header-inner, .home-view .main-shell { padding-left: 22px; padding-right: 22px; }
  .home-view .profile-grid { gap: 10px; }
  .home-view .card-bottom { flex-direction: column; gap: 6px; }
  .home-view .follow-button { width: 100%; }
  .home-view .placeholder-card .card-bottom { min-height: 82px; }
  .home-view .profile-name { font-size: 18px; }
  .home-view .hero-visual { display: none; }
  .home-view .intro-copy { max-width: calc(100% - 130px); }
}
@media (min-width: 761px) and (max-height: 780px) {
  .home-view .header-inner { min-height: 56px; }
  .home-view .main-shell { padding-top: 10px; padding-bottom: 18px; }
  .home-view .intro { min-height: 48px; margin-bottom: 8px; }
  .home-view .intro-heading { font-size: 28px; }
  .home-view .hero-visual { height: 48px; }
  .home-view .intro-copy p { display: none; }
  .home-view .site-date { top: 0; }
  .home-view .browse-tools { padding-top: 8px; margin-bottom: 10px; }
  .home-view .tab { padding-top: 6px; padding-bottom: 6px; }
  .home-view .card-cover { height: 54px; }
  .home-view .card-identity > .avatar { width: 58px; height: 58px; margin-top: -23px; margin-bottom: 4px; }
  .home-view .card-identity { padding-bottom: 7px; }
  .home-view .card-bottom { min-height: 46px; padding: 6px 0; }
}
@media (max-width: 760px) {
  .home-view .header-inner { padding: 14px 18px; gap: 0; flex-wrap: wrap; justify-content: space-between; }
  .home-view .header-search { flex: 0 0 100%; margin-top: 16px; }
  .home-view .main-shell { padding: 20px 18px 26px; }
  .home-view .intro { min-height: 0; margin-bottom: 16px; }
  .home-view .intro-heading { font-size: 28px; }
  .home-view .intro-copy p { font-size: 14px; }
  .home-view .hero-visual, .home-view .site-date { display: none; }
  .home-view .browse-tools { flex-wrap: wrap; gap: 8px; }
  .home-view .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-view .card-bottom { flex-direction: column; gap: 7px; min-height: 82px; }
  .home-view .follow-button { width: 100%; }
  .home-view .footer { margin: 0 18px; align-items: flex-start; flex-direction: column; }
  .home-view .profile-name { font-size: 18px; }
}

/* Compact portal entry and explicit preview labels. */
.profile-followers { margin:5px 0 0; color:#a5bdcf; font-size:14px; line-height:1.5; }
.douyin-identity { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:12px; color:#a5bdd1; font-size:14px; overflow-wrap:anywhere; }
.douyin-identity a { color:#89e2f3; text-decoration:underline; text-underline-offset:4px; }
.account-note { margin-top:12px; font-size:14px; color:#a6b8cd; max-width:40em; }
.account-note summary { cursor:pointer; }
.account-note p { line-height:1.7; }
.demo-badge { display: inline-flex; vertical-align: middle; align-items: center; padding: 3px 9px; border-radius: 5px; color: #e1c79c; background: #3a3022; border: 1px solid #6f5938; font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.5; white-space: nowrap; }
.demo-inline { display: inline-flex; vertical-align: middle; font-size: 12px; color: #ddc49b; background: #332b21; padding: 1px 6px; border-radius: 4px; margin-left: 7px; white-space: nowrap; font-weight: 400; }
.avatar-demo-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 2px 0 3px; text-align: center; background: #071220cf; color: #e4effa; font-size: 10px; line-height: 1.4; }
.home-match-entry { display: flex; align-items: center; gap: 14px; width: 294px; flex-shrink: 0; min-height: 72px; padding: 14px 18px; border-radius: 12px; color: #a9eef9; text-decoration: none; background: linear-gradient(110deg,#13384a,#122a46); border: 1px solid #36748b; box-shadow: inset 0 1px 0 #c4f6ff09; }
.home-match-entry:hover { background: linear-gradient(110deg,#19465a,#183957); border-color: #6ecbde; }
.home-match-entry strong { display: block; color: #def7ff; font-size: 17px; font-weight: 600; line-height: 1.5; }
.home-match-entry small { display: block; color: #9bbdd2; font-size: 12px; margin-top: 3px; white-space: nowrap; }
.home-match-entry > svg { margin-left: auto; flex-shrink: 0; width: 19px; }
.entry-chart { width: 31px; height: 32px; display: flex; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.entry-chart i { width: 5px; height: 40%; border-radius: 2px; background: #65d4e7; }
.entry-chart i:nth-child(2) { height: 70%; background: #91e4ed; }
.entry-chart i:nth-child(3) { height: 55%; background: #73aafa; }
.entry-chart i:nth-child(4) { height: 95%; background: #59bbdf; }
.home-view .intro { gap: 30px; }
.home-view .intro-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 29px; letter-spacing: -.5px; }
.home-view .intro-copy p { color: #8ca6c4; font-size: 14px; }
.home-view .profile-card { border-color: #263b54; background: #101d30; box-shadow: 0 4px 14px #00000012; }
.home-view .profile-card:hover { border-color: #5b93ab; box-shadow: 0 8px 22px #00000025; }
.home-view .card-cover { background-size: cover; }
.home-view .card-cover > .profile-tag { font-size: 11px; border: 0; color: #c3deed; background: #06182a80; }
.home-view .profile-bio { color: #8da5c0; }
.home-view .card-bottom { border-color: #25384e; }
.home-view .follow-button { background: #1d4262; color: #bfe7fa; border-color: #366b8e; font-weight: 500; }
.home-view .follow-button:hover { background: #285575; }
.home-view .follow-button.is-following { background: #142a40; color: #9bb4cf; border-color: #304b65; }
.profile-summary-copy h1 .demo-badge { margin-left: 12px; }
@media (min-width: 761px) and (max-height: 700px) {
  .home-match-entry { min-height: 48px; padding: 8px 16px; }
  .home-match-entry small { display: none; }
  .home-match-entry .entry-chart { height: 23px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .home-view .intro-copy { max-width: calc(100% - 294px); }
  .home-view .intro-heading { font-size: 26px; }
  .home-match-entry { width: 270px; padding-left: 14px; padding-right: 14px; gap: 10px; }
}
@media (max-width: 760px) {
  .home-view .intro { gap: 15px; }
  .home-view .intro-heading { font-size: 27px; }
  .home-match-entry { width: 100%; min-height: 66px; padding: 12px 16px; }
  .home-match-entry small { font-size: 12px; }
}

/* Portrait-led directory: one author, one clear destination. */
.home-view .profile-grid { gap: 16px; }
.home-view .profile-card {
  height: 184px;
  position: relative;
  border: 1px solid #2a4054;
  border-radius: 14px;
  background: #101d2c;
  box-shadow: inset 0 1px 0 #c6eaff07, 0 4px 16px #00000014;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.home-view .profile-card:not(.placeholder-card):hover,
.home-view .profile-card:focus-within {
  border-color: #5c9baa;
  background: #13263a;
  box-shadow: inset 0 1px 0 #c6eaff10, 0 0 0 1px #6bd5e112, 0 8px 24px #00000028;
}
.home-view .profile-card .card-link,
.home-view .profile-card .placeholder-content { display: block; flex: 1; width: 100%; height: 100%; min-height: 0; border-radius: inherit; }
.home-view .profile-card .card-link:focus-visible { outline: 2px solid #7cdce6; outline-offset: -3px; }
.home-view .profile-card .card-identity {
  height: 100%;
  padding: 18px 12px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
}
.home-view .profile-card .card-identity > .avatar {
  width: 84px;
  height: 84px;
  margin: 0;
  border: 3px solid #14283a;
  box-shadow: 0 0 0 1px #739caf78, 0 5px 16px #00000030;
}
.home-view .profile-card .avatar-image { display: block; }
.home-view .profile-card .avatar-fallback { color: #bddeeb; background: #1a3448; }
.home-view .profile-card .avatar-word { font-size: 32px; letter-spacing: 0; }
.home-view .profile-card .avatar-hint { display: none; }
.home-view .profile-card .profile-name {
  width: 100%;
  max-height: 52px;
  margin: 0;
  color: #e4edf6;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: .02em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-view .profile-card.placeholder-card { background: #0d1927; border-style: dashed; border-color: #293c4e; box-shadow: none; }
.home-view .profile-card .placeholder-avatar { background: #132538; border-color: #132538; color: #7897ae; box-shadow: 0 0 0 1px #405d72; }
.home-view .profile-card .placeholder-name { color: #7e9aae; font-weight: 400; }
@media (max-width: 760px) {
  .home-view .profile-grid { gap: 12px; }
  .home-view .profile-card { height: 170px; border-radius: 12px; }
  .home-view .profile-card .card-identity { padding: 16px 10px 12px; gap: 12px; }
  .home-view .profile-card .card-identity > .avatar { width: 76px; height: 76px; }
  .home-view .profile-card .profile-name { font-size: 17px; line-height: 25px; max-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-view .profile-card { transition: none; }
}
