/* A light, readable personal page; project cards keep their own presentation. */
html[data-theme="light"] { color-scheme: light; --font-scale-base: 1; }
html, body.personal-journal { touch-action: auto; }
body.personal-journal {
  --journal-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --journal-mono: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --journal-accent: #202020;
  --fg: #171717;
  --muted: #606060;
  --accent: #202020;
  --journal-rule: color-mix(in srgb, var(--fg) 17%, transparent);
  --journal-paper: color-mix(in srgb, var(--fg) 3%, var(--bg));
}
body.personal-journal :is(h1,h2,h3,h4) { text-wrap: balance; }
body.personal-journal :is(a,button,input,summary,[tabindex]):focus-visible { outline: 2px solid var(--journal-accent); outline-offset: 4px; border-radius: 3px; }
body.personal-journal a { text-underline-offset: .2em; }

/* A personal introduction with a clear reading order. */
html:not(.route-pay-active) body.personal-journal .content-layout { display: block; width: calc(100% - 48px); max-width: 1080px; padding-inline: 0; margin-inline: auto; }
html:not(.route-pay-active) body.personal-journal .content-layout > .intro-column { max-width: none; }
body.personal-journal #home-intro { width: 100%; max-width: none; padding: 0; }
body.personal-journal #home-intro .hero { top: 0; max-width: none; padding: 2.4rem 0 2.6rem; }
body.personal-journal #home-intro .journal-eyebrow { margin: 0 0 .9rem; color: var(--muted); font-family: var(--journal-mono); font-size: .75rem; font-weight: 400; line-height: 1.6; letter-spacing: .035em; }
body.personal-journal #home-intro .hero-greeting { margin: 0 0 1.1rem; font-family: var(--journal-serif); font-size: clamp(2.5rem,4.5vw,3.5rem); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; }
body.personal-journal #home-intro .hero-greeting em { color: var(--journal-accent); font-weight: 400; }
body.personal-journal #home-intro .hero-portrait { width: 100%; max-width: 400px; margin: 0 0 1.5rem; }
body.personal-journal #home-intro .hero-portrait img { display: block; width: 100%; height: auto; border-radius: 18px; background: #171717; }
body.personal-journal #home-intro .hero-story { max-width: 66ch; min-width: 0; }
body.personal-journal #home-intro .hero-story > p { margin: 0; color: #454545; font-size: 1rem; line-height: 1.75; }
body.personal-journal #home-intro .hero-story > p + p { margin-top: 1.1rem; }
body.personal-journal #home-intro .hero-story > .hero-profile { color: var(--fg); font-family: var(--journal-serif); font-size: 1.4rem; font-weight: 400; line-height: 1.55; letter-spacing: -.01em; }
body.personal-journal #home-intro .hero-signoff { margin: 1.25rem 0 0; color: var(--journal-accent); font-family: var(--journal-serif); font-size: 1rem; font-style: italic; }

/* Professional context, keywords, and credentials follow the project evidence. */
body.personal-journal :is(#skills,#experience,#education,#about) { padding-block: 3.5rem .75rem; font-size: 1rem; line-height: 1.7; }
body.personal-journal :is(#skills,#experience,#education,#about) .section-inner { padding-inline: 0; }
body.personal-journal :is(#skills,#experience,#education,#about) .section-inner > .wrap { width: calc(100% - 48px); max-width: 1080px; padding-inline: 0; }
body.personal-journal :is(#skills,#experience,#education,#about) .section-heading { max-width: none; margin-bottom: 1.5rem; }
body.personal-journal :is(#skills,#experience,#education,#about) h2 { margin: 0; font-family: var(--journal-serif); font-size: clamp(2rem,3.5vw,3rem); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
body.personal-journal #skills .section-heading { padding-bottom: 1.5rem; border-bottom: 1px solid var(--journal-rule); }
body.personal-journal :is(#skills,#experience,#education,#about) .section-intro { max-width: 64ch; margin: .7rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }
body.personal-journal :is(#experience,#education) .timeline { padding-left: 0; border-top: 1px solid var(--journal-rule); }
body.personal-journal :is(#experience,#education) .timeline::before { display: none; }
body.personal-journal :is(#experience,#education) .timeline .tl.card { display: grid; grid-template-columns: minmax(0,1fr) minmax(10rem,16rem); gap: .65rem 2rem; margin: 0; padding: 1.6rem 0; border: 0; border-bottom: 1px solid var(--journal-rule); border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.personal-journal :is(#experience,#education) .card::before,
body.personal-journal :is(#experience,#education) .card::after,
body.personal-journal :is(#experience,#education) .card > .card-glow { display: none; }
body.personal-journal :is(#experience,#education) .entry-heading { grid-column: 1; margin: 0; gap: .2rem; font-size: 1rem; line-height: 1.5; }
body.personal-journal :is(#experience,#education) .entry-title { font-size: 1.1rem; font-weight: 600; }
body.personal-journal :is(#experience,#education) .entry-subtitle { font-size: .95rem; font-weight: 400; }
body.personal-journal :is(#experience,#education) .entry-meta { font-size: .8rem; }
body.personal-journal :is(#experience,#education) .entry-period { grid-column: 2; grid-row: 1; position: static; align-self: start; display: block; margin: .2rem 0 0; padding: 0; border: 0; border-radius: 0; color: var(--muted); background: none; box-shadow: none; opacity: 1; transform: none; transition: none; pointer-events: auto; font-size: .85rem; line-height: 1.6; letter-spacing: 0; white-space: normal; text-align: right; }
body.personal-journal :is(#experience,#education) .timeline .tl.card > p { grid-column: 1/-1; max-width: 72ch; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
body.personal-journal :is(#experience,#education) a { color: var(--journal-accent); }

/* Matvei-inspired keywords: readable text links instead of another set of cards. */
body.personal-journal .keyword-list { margin: 0; border-top: 1px solid var(--journal-rule); }
body.personal-journal .keyword-row { display: grid; grid-template-columns: 9rem minmax(0,1fr); gap: 1rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--journal-rule); }
body.personal-journal .keyword-row dt { padding-top: .2rem; font-size: .9rem; font-weight: 500; }
body.personal-journal .keyword-row dd { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; min-width: 0; margin: 0; }
body.personal-journal .keyword-row a { color: var(--muted); font-family: var(--journal-mono); font-size: .85rem; line-height: 1.9; text-decoration: none; overflow-wrap: anywhere; }
body.personal-journal .keyword-row a:hover { color: var(--journal-accent); text-decoration: underline; }
body.personal-journal :is(.more-tools,.coursework) { color: var(--muted); font-size: .9rem; }
body.personal-journal :is(.more-tools,.coursework) > summary { width: fit-content; min-height: 2.75rem; padding-block: .65rem; cursor: pointer; color: var(--journal-accent); }
body.personal-journal :is(.more-tools,.coursework) > p { max-width: 80ch; margin: .2rem 0 .7rem; line-height: 1.7; }
body.personal-journal .more-tools { margin-top: .5rem; }
body.personal-journal #education .coursework { grid-column: 1/-1; margin: -.2rem 0 -.5rem; }
body.personal-journal .credentials { display: grid; grid-template-columns: 11rem minmax(0,1fr); gap: 1rem 2rem; padding-block: 1.6rem .5rem; }
body.personal-journal .credentials h3 { margin: 0; padding-top: .2rem; color: var(--muted); font-family: var(--journal-mono); font-size: .7rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
body.personal-journal .credentials ul { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
body.personal-journal .credentials li { display: grid; grid-template-columns: 100px minmax(0,1fr); align-items: center; gap: 1rem; min-height: 64px; }
body.personal-journal .credential-logo { display: flex; align-items: center; justify-content: center; width: 100px; min-height: 64px; }
body.personal-journal .credential-logo img { display: block; width: auto; height: auto; max-width: 96px; max-height: 56px; object-fit: contain; }
body.personal-journal .credential-copy { min-width: 0; overflow-wrap: anywhere; }
body.personal-journal .credentials a { border-radius: 3px; text-decoration: none; }
body.personal-journal .credentials a:is(:hover,:focus-visible) { background: color-mix(in srgb,var(--fg) 5%,transparent); text-decoration: none; }
body.personal-journal .credential-link-arrow { margin-left: .25em; color: var(--muted); font-size: .7em; opacity: .65; }
body.personal-journal .credentials a:is(:hover,:focus-visible) .credential-link-arrow { opacity: 1; }
body.personal-journal .credential-detail { font-size: .85em; }
html:not(.route-pay-active) body.personal-journal #shared-spiral-section { display: none; }

/* Contact channels live together at the end of the page. */
html:not(.route-pay-active) body.personal-journal #contact { padding-block: 3rem 2rem; }
html:not(.route-pay-active) body.personal-journal #contact .journal-contact { display: block; width: calc(100% - 48px); max-width: 1080px; margin: 0 auto 1.5rem; padding: 3rem 0; border-block: 1px solid var(--journal-rule); text-align: left; }
body.personal-journal #contact .contact-copy { width: 100%; max-width: 620px; min-width: 0; margin-inline: auto; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif; }
body.personal-journal #contact .contact-kicker { margin: 0 0 .75rem; color: var(--muted); font-size: .6875rem; font-weight: 400; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
html:not(.route-pay-active) body.personal-journal #contact .journal-contact h2 { margin: 0 0 1.5rem; color: var(--fg); font-family: var(--journal-serif); font-size: clamp(2.375rem,4vw,2.75rem); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
html:not(.route-pay-active) body.personal-journal #contact .contact-email { margin: 0; color: var(--fg); font-family: inherit; }
body.personal-journal #contact .contact-email [hidden] { display: none !important; }
body.personal-journal #contact :is(.contact-email__mount,.contact-magnetic-wrap,.magnetic-button__content) { display: block; width: 100%; }
html:not(.route-pay-active) body.personal-journal #contact a.contact-magnetic { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 86px; padding: 18px 22px; border: 1px solid #e4e4e3; border-radius: 999px; background: #fff; color: #202020; font-size: clamp(1.125rem,3.5vw,1.75rem); font-weight: 400; line-height: 1.35; letter-spacing: -.035em; text-decoration: none; transition: box-shadow .3s ease; -webkit-tap-highlight-color: transparent; }
body.personal-journal #contact .contact-magnetic__label { min-width: 0; overflow-wrap: anywhere; }
body.personal-journal #contact .contact-magnetic__arrow { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #202020; color: #fff; }
body.personal-journal #contact .contact-magnetic__arrow svg { display: block; width: 24px; height: 24px; }
html:not(.route-pay-active) body.personal-journal #contact a.contact-magnetic:is(:hover,:focus-visible) { border-radius: 999px; box-shadow: 0 12px 32px rgba(32,32,32,.06); }
html:not(.route-pay-active) body.personal-journal #contact .journal-contact a { color: var(--journal-accent); overflow-wrap: anywhere; }
body.personal-journal .contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; margin-top: 1.5rem; }
body.personal-journal .contact-links a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; border-radius: 6px; font-size: .8125rem; text-decoration: none; }
body.personal-journal .contact-links a span { opacity: .5; transition: transform .2s ease,opacity .2s ease; }
body.personal-journal .contact-links a:is(:hover,:focus-visible) { text-decoration: none; }
body.personal-journal .contact-links a:is(:hover,:focus-visible) span { opacity: 1; transform: translate(2px,-2px); }
html:not(.route-pay-active) body.personal-journal #contact .footer__inner { width: calc(100% - 48px); max-width: 1080px; padding-inline: 0; font-size: .8rem; }
html:not(.route-pay-active) body.personal-journal #contact .footer__brand { font-family: var(--journal-serif); font-size: 1rem; font-weight: 400; text-transform: none; letter-spacing: 0; }
html:not(.route-pay-active) body.personal-journal #contact .footer__note { font-size: .8rem; }

@media (min-width:961px) {
  body.personal-journal #home-intro .hero { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,2fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(2rem,4vw,3rem); padding-block: 2rem 2.5rem; }
  body.personal-journal #home-intro .journal-eyebrow { grid-column: 1/-1; }
  body.personal-journal #home-intro .hero-greeting { grid-column: 1/-1; margin-bottom: 1.5rem; }
  body.personal-journal #home-intro .hero-portrait { grid-column: 1; grid-row: 3; max-width: none; margin: 0; }
  body.personal-journal #home-intro .hero-portrait img { aspect-ratio: 1; object-fit: cover; object-position: 50% 40%; }
  body.personal-journal #home-intro .hero-story { grid-column: 2; grid-row: 3 / span 2; max-width: none; }
  body.personal-journal #home-intro .hero-story > .hero-profile { font-size: 1.35rem; }
  body.personal-journal #home-intro .hero-signoff { grid-column: 1; grid-row: 4; align-self: start; margin-top: 1rem; }
}
@media (max-width:720px) {
  body.personal-journal #home-intro .hero { padding-block: 1.8rem 2rem; }
  body.personal-journal #home-intro .hero-story > .hero-profile { font-size: 1.25rem; }
  body.personal-journal :is(#skills,#experience,#education,#about) { padding-top: 2.75rem; }
  body.personal-journal :is(#skills,#experience,#education,#about) h2 { font-size: 2rem; }
  body.personal-journal :is(#experience,#education) .timeline .tl.card { grid-template-columns: 1fr; gap: .55rem; }
  body.personal-journal :is(#experience,#education) .timeline .entry-period { grid-column: 1; grid-row: auto; margin: 0; text-align: left; }
  body.personal-journal .keyword-row { grid-template-columns: 1fr; gap: .55rem; padding-block: 1rem; }
  body.personal-journal .keyword-row dt { color: var(--fg); }
  body.personal-journal .keyword-row dd { gap: .35rem 1rem; }
  body.personal-journal .keyword-row a { font-size: .85rem; }
  body.personal-journal .credentials { grid-template-columns: 1fr; gap: .65rem; }
  html:not(.route-pay-active) body.personal-journal #contact .journal-contact { padding-block: 2rem; }
  html:not(.route-pay-active) body.personal-journal #contact a.contact-magnetic { gap: .625rem; min-height: 80px; padding: 14px 16px; }
  body.personal-journal #contact .contact-magnetic__arrow { flex-basis: 38px; width: 38px; height: 38px; }
  body.personal-journal .contact-links { gap: .25rem 1.25rem; margin-top: 1rem; }
}
@media (max-width:420px) {
  html:not(.route-pay-active) body.personal-journal .content-layout,
  body.personal-journal :is(#skills,#experience,#education,#about) .section-inner > .wrap,
  html:not(.route-pay-active) body.personal-journal #contact :is(.journal-contact,.footer__inner) { width: calc(100% - 40px); }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  body.personal-journal #contact :is(.contact-magnetic,.contact-links a span) { transition: none; }
  body.personal-journal #contact .contact-links a span { transform: none; }
  body.personal-journal :is(#home-intro,#skills,#experience,#education,#about) * { transition: none; animation: none; }
}
@media print {
  body.personal-journal { --journal-accent: #000; --journal-rule: #bbb; --journal-paper: #fff; }
  body.personal-journal :is(#skills,#experience,#education,#about) .section-inner > .wrap { width: 100%; max-width: none; }
}

/* Keyboard access and document labels are quiet until needed. */
body.personal-journal .skip-link { position: fixed; top: max(12px,env(safe-area-inset-top,0px)); left: max(16px,env(safe-area-inset-left,0px)); z-index: 2000; padding: .75rem 1rem; border: 1px solid var(--journal-accent); border-radius: 12px; background: #fff; color: var(--journal-accent); font-size: 1rem; transform: translateY(-180%); }
body.personal-journal .skip-link:focus { transform: none; }
body.personal-journal .document-type { font-size: .7em; font-weight: 400; opacity: .8; }
body.personal-journal .no-script-navigation { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; width: calc(100% - 48px); max-width: 1080px; margin: 0 auto 1rem; }
body.personal-journal .keyword-row a { min-height: 1.75rem; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: color-mix(in srgb,currentColor 35%,transparent); text-decoration-thickness: 1px; text-underline-offset: .24em; }
html:not(.route-pay-active) body.personal-journal #contact .footer__links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .875rem; }
@media (prefers-reduced-motion:reduce) {
  [data-reveal-card] { opacity: 1 !important; visibility: visible !important; transform: none !important; }
}
@media print { .skip-link { display: none; } }

/* School marks and campus photography carry the color in education. */
body.personal-journal #education .school-identity { grid-column: 1; display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
body.personal-journal #education .school-identity .entry-heading { min-width: 0; }
body.personal-journal .school-icon { flex: 0 0 56px; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid #e5e5e5; border-radius: 10px; background: #fff; }
body.personal-journal #education .entry-title { font-family: var(--journal-serif); font-size: 1.4rem; font-weight: 600; line-height: 1.25; }
body.personal-journal .school-icon-crop { position: relative; display: block; width: 40px; height: 40px; overflow: hidden; }
body.personal-journal .school-icon--columbia img { position: absolute; left: -58px; top: -103px; width: 486px; height: 270px; max-width: none; }
body.personal-journal .school-icon--liverpool > img { display: block; width: 28px; height: 42px; object-fit: contain; }
body.personal-journal #education .school-photo { grid-column: 2; grid-row: 2; align-self: start; min-width: 0; margin: 0; }
body.personal-journal #education .school-photo > img { display: block; width: 100%; height: auto; object-fit: contain; object-position: right center; border-radius: 8px; }
body.personal-journal #education .school-photo figcaption { margin-top: .4rem; color: var(--muted); font-size: .75rem; line-height: 1.5; }
body.personal-journal #education .timeline .tl.card.school-entry > p,
body.personal-journal #education .school-entry .coursework { grid-column: 1; }
body.personal-journal .keyword-row dt { display: flex; align-items: center; gap: .65rem; padding-top: 0; }
body.personal-journal .keyword-icon { flex: 0 0 30px; width: 30px; height: 30px; }
@media (max-width:720px) {
  body.personal-journal #education .school-photo { grid-column: 1; grid-row: auto; }
  body.personal-journal #education .timeline .tl.card.school-entry > p,
  body.personal-journal #education .school-entry .coursework { grid-column: 1; }
}
@media print {
  body.personal-journal #education .school-photo { display: none; }
}

body.personal-journal #education .school-copy { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; min-width: 0; }
body.personal-journal #education .school-copy > p { max-width: 72ch; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
body.personal-journal #education .school-copy .coursework { margin: 0; }
@media (min-width:721px) {
  body.personal-journal #education .timeline .tl.card.school-entry { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); grid-template-rows: auto auto 1fr; gap: .5rem clamp(20px,2.5vw,32px); padding-block: 1.5rem; }
  body.personal-journal #education .school-identity { grid-row: 1; }
  body.personal-journal #education .school-entry .entry-period { grid-column: 1; grid-row: 2; margin: 0 0 0 72px; text-align: left; font-family: var(--journal-mono); font-size: .7rem; }
  body.personal-journal #education .school-copy { grid-row: 3; margin-left: 72px; }
  body.personal-journal #education .school-photo { grid-row: 1 / span 3; }
  body.personal-journal #education .school-photo > img { width: auto; max-width: 100%; height: auto; max-height: clamp(170px,18vw,220px); margin-left: auto; }
  body.personal-journal #education .school-photo figcaption { text-align: right; }
}
@media (max-width:720px) { body.personal-journal #education .school-copy { grid-row: auto; } }

/* Personal details complement the project and education evidence above. */
body.personal-journal #about .section-heading { max-width: none; padding-bottom: 1.25rem; border-bottom: 1px solid var(--journal-rule); }
body.personal-journal .about-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 2rem; padding-top: .5rem; }
body.personal-journal .about-sidebar { padding-left: 2rem; border-left: 1px solid var(--journal-rule); }
body.personal-journal .about-label { margin: 0 0 1.25rem; color: var(--muted); font-family: var(--journal-mono); font-size: .72rem; font-weight: 400; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
body.personal-journal .places-map { position: relative; isolation: isolate; }
body.personal-journal .places-map > img { display: block; width: 100%; height: auto; border-radius: inherit; }
body.personal-journal .map-pin { position: absolute; z-index: 1; left: var(--pin-x); top: var(--pin-y); display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--fg); font: inherit; transform: translate(-50%,-50%); cursor: pointer; }
body.personal-journal .places--interactive .map-pin { display: flex; }
body.personal-journal .map-pin__dot { width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: #797979; box-shadow: 0 0 0 1px #aaa; }
body.personal-journal .map-pin[aria-pressed="true"] .map-pin__dot { background: #2563a6; box-shadow: 0 0 0 3px #e8f2ff; }
body.personal-journal .map-pin__label { position: absolute; top: calc(50% + 11px); left: 50%; color: #333; font-family: var(--journal-mono); font-size: .65rem; line-height: 1.4; white-space: nowrap; text-shadow: 0 0 3px #fff,0 0 3px #fff; transform: translateX(-50%); pointer-events: none; }
body.personal-journal .map-pin--above .map-pin__label { top: auto; bottom: calc(50% + 11px); }
body.personal-journal .map-pin[data-place="east-china"] .map-pin__label { left: auto; right: 50%; transform: translateX(22px); }
body.personal-journal .map-pin[aria-pressed="true"] .map-pin__label { color: #171717; font-weight: 600; }
body.personal-journal .places-hint { margin: .6rem 0 0; color: var(--muted); font-size: .75rem; text-align: center; }
body.personal-journal .place-notes { min-height: 7.25rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--journal-rule); }
body.personal-journal .place-note + .place-note { margin-top: 1rem; }
body.personal-journal .places--interactive .place-note { margin-top: 0; }
body.personal-journal .place-note h4 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.5; }
body.personal-journal .place-note h4 > span { margin-left: .8rem; color: var(--muted); font-family: var(--journal-mono); font-size: .7rem; font-weight: 400; }
body.personal-journal .place-note p { margin: .4rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
body.personal-journal .place-note a { color: var(--journal-accent); border-radius: 3px; text-decoration: none; }
body.personal-journal .place-note a::after { content: " →"; color: var(--muted); font-size: .7em; }
body.personal-journal .place-note a:is(:hover,:focus-visible) { background: color-mix(in srgb,var(--fg) 5%,transparent); text-decoration: none; }
body.personal-journal :is(.language-list,.interest-list) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem .8rem; margin: 0; padding: 0; list-style: none; }
body.personal-journal :is(.language-list,.interest-list) li { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: .95rem; line-height: 1.5; }
body.personal-journal :is(.language-list,.interest-list) small { display: block; color: var(--muted); font-size: .75rem; }
body.personal-journal .about-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; }
body.personal-journal .about-icon img { display: block; width: 36px; height: 36px; object-fit: contain; }
body.personal-journal :is(.language-list,.interest-list) li > span:last-child { min-width: 0; }
body.personal-journal .about-interests { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--journal-rule); }
body.personal-journal .interest-profile { display: inline-flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 44px; border-radius: 8px; color: var(--fg); text-decoration: none; }
body.personal-journal .interest-profile:is(:hover,:focus-visible) { background: color-mix(in srgb,var(--fg) 5%,transparent); box-shadow: 0 0 0 6px color-mix(in srgb,var(--fg) 5%,transparent); text-decoration: none; }
body.personal-journal .interest-profile__name { display: inline-flex; align-items: baseline; gap: .3rem; text-decoration: none; }
body.personal-journal .about-link-arrow { color: var(--muted); font-size: .65em; opacity: .65; }
body.personal-journal .interest-profile:is(:hover,:focus-visible) .about-link-arrow { opacity: 1; }
@media (max-width:960px) {
  body.personal-journal .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  body.personal-journal .about-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--journal-rule); }
  body.personal-journal .about-interests { margin-top: 0; padding-top: 0; border-top: 0; }
}
@media (max-width:620px) {
  body.personal-journal .about-sidebar { grid-template-columns: 1fr; }
  body.personal-journal .about-interests { padding-top: 1.5rem; border-top: 1px solid var(--journal-rule); }
  body.personal-journal .place-notes { min-height: 9rem; }
  body.personal-journal .map-pin__label { font-size: .6rem; }
  body.personal-journal .map-pin[data-place="east-china"] .map-pin__label { top: calc(50% + 1.2rem); }
  body.personal-journal .places-map { border-radius: 18px; }
}
@media print {
  body.personal-journal .map-pin { display: none !important; }
  body.personal-journal .place-note[hidden] { display: block !important; margin-top: 1rem; }
  body.personal-journal .places-hint { display: none; }
}
