/* Celestial library: shared visual language, with the illustration reserved for the landing page. */
:root { --serif: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', Georgia, serif; }
html { scroll-padding-top: 100px; }
body { background-color: var(--bg); }
[data-theme='twilight'] body:not(.celestial-home) {
  background-image: linear-gradient(110deg, rgba(255,248,236,.83), rgba(248,233,207,.64)), url('celestial-library.webp');
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}
h1,h2,h3,.site-brand-text { font-family: var(--serif); }
:where(a,button,input,textarea,select):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.site-skip-link { position: fixed; top: -100px; left: 16px; padding: 10px 20px; z-index: 1000; background: var(--surface-solid); color: var(--text); }
.site-skip-link:focus { top: 10px; }
.site-header .container { width: min(93%, 1600px); }
.site-header .nav { min-height: 76px; }
.site-header .site-brand-text { font-size: 1.22rem; letter-spacing: .12em; background: none; -webkit-text-fill-color: currentColor; color: var(--text); white-space: nowrap; }
.site-header .nav-right { gap: clamp(12px, 2vw, 32px); }
.site-header .nav-links { gap: clamp(0px, .7vw, 14px); }
.site-header .nav-links a { display: block; padding: 8px 10px; border: 0; border-radius: 0; font-family: var(--serif); color: var(--text); font-size: .96rem; white-space: nowrap; }
.site-header .nav-links a::before { content: '✦'; color: var(--accent); font-size: .6rem; margin-right: 9px; opacity: .65; }
.site-header .nav-links a:hover,.site-header .nav-links a[aria-current] { background: transparent; border: 0; color: var(--accent); text-shadow: 0 0 15px rgba(232,197,139,.5); }
.nav-toolbox { padding: 9px 23px; border-radius: 30px; color: #fff0ce; border: 1px solid var(--accent); background: linear-gradient(110deg, rgba(119,81,28,.78), rgba(46,37,24,.85)); box-shadow: inset 0 0 10px #d9ad6950,0 0 15px #e8c58b30; font-family: var(--serif); white-space: nowrap; text-decoration: none; }
.nav-toolbox span { margin-left: 14px; }
[data-theme='twilight'] .celestial-home .site-logo--on-light { display: none; }
[data-theme='twilight'] .celestial-home .site-logo--on-dark { display: block; }
[data-theme='twilight'] :is(.card,.tool-card,.hub-aside,.hub-note,.uc-card,.uc-sidebar,.slides-card,.slides-sidebar,.ocr-card,.ocr-panel,.cmnote-feature-card,.contact-item,.comment-item) { background: linear-gradient(125deg, rgba(255,251,243,.57), rgba(253,242,223,.28)); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid var(--border); box-shadow: var(--shadow),inset 0 1px 0 #fce5ba0a; }
:is(.btn,.tools-cta,.tk-btn) { transition: transform .2s, box-shadow .2s, background .2s; }
:is(.btn,.tools-cta,.tk-btn):hover { transform: translateY(-2px); }
[data-theme='twilight'] :is(.btn-primary,.tools-cta:not(.tools-cta--ghost)) { color: #261e13; background: var(--gradient-accent); border: 1px solid var(--accent); }
[data-theme='twilight'] .tool-card--featured { background: linear-gradient(135deg,rgba(255,235,197,.75),rgba(231,202,157,.45)); color: var(--text); }
[data-theme='twilight'] .tool-card--featured :is(p,.tool-idx,.tool-go) { color: var(--muted); }
[data-theme='twilight'] .hub-promo { background: linear-gradient(110deg,rgba(255,243,218,.7),rgba(225,201,167,.48)); color: var(--text); border: 1px solid var(--border); }
[data-theme='twilight'] .hub-promo p { color: var(--muted); }
[data-theme='twilight'] .hub-promo-cta { color: #261e13; }
.tools-main,.uc-shell,.slides-shell,.ocr-shell { padding-top: 2.6rem; }
.hub-eyebrow,.cmnote-eyebrow { color: var(--accent); letter-spacing: .18em; }
.hub-hero h1 { font-weight: 500; }
.theme-panel-toggle { font-size: 0 !important; border: 1px solid var(--border); background: var(--surface-solid); color: var(--accent); }
.theme-panel-toggle::before { content: '☼'; font-size: 22px; }
[data-theme='twilight'] .theme-swatch.twilight { background: linear-gradient(130deg,#172239,#e0b77b); }
/* Homepage composition */
.celestial-home {
  --max-width: 1440px;
  --text: #fff4e6;
  --muted: #eddfcc;
  --accent: #e9c487;
  --accent-hover: #fff0ce;
  --border: rgba(255, 232, 198, .52);
  --surface: rgba(255, 243, 223, .19);
  --surface-solid: #f7eddd;
  font-family: var(--serif);
  background: #d0b99d;
}
.celestial-home .bg-decoration {
  background: linear-gradient(90deg, rgba(19,24,34,.20), transparent 38%, transparent 75%, rgba(51,37,22,.03)), url('celestial-library.webp') center top / cover no-repeat;
}
.celestial-home .bg-decoration::after { content: none; }
.celestial-home .orb,.celestial-home .rain-layer { display: none; }
.celestial-home .site-header { background: rgba(23,27,38,.33); border-color: rgba(255,228,181,.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.celestial-home .site-header .site-brand-text,.celestial-home .site-header .nav-links a { color: #f5ebdb; }
.celestial-home .theme-panel-wrap { position: fixed; bottom: 22px; right: 22px; z-index: 300; }
.celestial-home main { overflow: clip; }
.celestial-hero { width: min(90%,1500px); margin: auto; min-height: 620px; height: clamp(620px, calc(100svh - 280px), 740px); position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(280px,1fr); gap: 36px; padding-top: 55px; color: #f5ecdf; }
.celestial-intro { align-self: start; padding: 20px 0 0 22px; text-shadow: 0 2px 7px rgba(22,24,35,.65); }
.hero-greeting { font: 23px Georgia,serif; margin: 0 0 9px; }
.celestial-intro h1 { font-size: clamp(45px,4.4vw,78px); font-weight: 500; margin: 0 0 15px; line-height: 1.2; letter-spacing: .06em; }
.celestial-intro h1 span { display: inline-block; font: italic 37px 'URW Chancery L',Georgia,serif; color: #e5bd7d; letter-spacing: 0; }
.hero-tagline { font-size: clamp(15px,1.35vw,22px); letter-spacing: .08em; margin: 0 0 18px; }
.gold-rule { color: #e0ba7a; display: flex; gap: 10px; align-items: center; font-size: 12px; width: 155px; margin: 18px 0; }
.gold-rule::before,.gold-rule::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg,transparent,#e0ba7a); }
.gold-rule::after { transform: rotate(180deg); }
.hero-biography { font-size: 16px; line-height: 1.95; margin: 0 0 14px; max-width: 390px; }
.hero-location { font-size: 15px; }
.celestial-home .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.celestial-home .btn { font-family: var(--serif); padding: 10px 23px; border-radius: 24px; font-weight: 500; letter-spacing: .05em; font-size: 16px; }
.celestial-home .btn-primary { background: linear-gradient(115deg,#a87c3c,#3d2d18); color: #ffe9bc; border: 1px solid #e7bc78; box-shadow: inset 0 0 12px #ecc07d66,0 0 18px #ecc07d40; }
.celestial-home .btn-outline { color: #f5ecdf; border: 1px solid #d7bf99; background: rgba(39,37,37,.28); }
.glass-panel {
  border: 1px solid rgba(255, 232, 198, .65);
  background: linear-gradient(125deg, rgba(255, 248, 235, .27), rgba(255, 240, 215, .09));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(255,223,177,.13), 0 6px 22px rgba(65,39,14,.12);
  backdrop-filter: blur(12px) saturate(1.18);
  -webkit-backdrop-filter: blur(12px) saturate(1.18);
}
.celestial-profile { grid-column: 3; position: relative; padding: 28px 30px 30px; border-radius: 45% 45% 14px 14px / 25% 25% 14px 14px; text-align: center; min-height: 430px; align-self: start; background: linear-gradient(155deg, rgba(31,40,61,.40), rgba(240,218,183,.14)); }
.profile-orbit { position: absolute; inset: 17px; border: 1px solid #e0be7b40; border-radius: inherit; pointer-events: none; }
.profile-portrait { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; padding: 5px; border: 1px solid #efdab7; background: #e9ddc2; position: relative; box-shadow: 0 0 0 6px #e7d3b016,0 0 24px #e6c28133; }
.celestial-profile h2 { margin: 15px 0 0; font-size: 29px; line-height: 1.3; font-weight: 500; }
.profile-english { margin: 0 0 9px; font: 17px Georgia,serif; }
.profile-role { font-size: 14px; margin: 0 0 12px; }
.profile-summary { text-align: left; font-size: 13px; line-height: 1.85; color: #e1d8cc; }
.profile-facts { list-style: none; padding: 0; text-align: left; font-size: 12px; line-height: 1.9; margin: 14px 0 0; overflow-wrap: anywhere; }
.profile-facts a { color: inherit; }
.profile-signature { display: block; text-align: right; color: #d0a56885; font: italic 28px Georgia,serif; line-height: 1; }
.celestial-motto { position: absolute; left: 22px; bottom: 10px; margin: 0; font-size: 23px; letter-spacing: .17em; text-shadow: 0 2px 10px #000; }
.celestial-motto span { display: block; font: 8px Georgia,serif; letter-spacing: .25em; margin-top: 15px; color: #d4bd95; }
.celestial-stats { position: absolute; bottom: 12px; right: 0; width: 46%; display: grid; grid-template-columns: repeat(4,1fr); padding: 18px 6px; border-radius: 15px; text-align: center; }
.celestial-stats > * { color: inherit; display: flex; align-items: center; flex-direction: column; text-decoration: none; border-right: 1px solid #e3c59330; }
.celestial-stats > :last-child { border: 0; }
.celestial-stats span { width: 38px; height: 38px; display: grid; place-items: center; color: #7e541f; background: #f7ead7; border-radius: 50%; font-size: 23px; box-shadow: 0 0 15px #ffd28b77; }
.celestial-stats strong { font: 26px Georgia,serif; margin: 8px 0 5px; }
.celestial-stats small { font-size: 12px; line-height: 1.45; color: #e8ded0; }
.celestial-dashboard { width: min(93%,1600px); margin: 18px auto 65px; display: grid; grid-template-columns: 1.05fr 1.1fr 1fr; gap: 17px; color: #f5ecdf; }
.celestial-dashboard > * { border-radius: 14px; padding: 20px; min-width: 0; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 17px; }
.dashboard-heading h2 { font-size: 20px; font-weight: 500; margin: 0; }
.dashboard-heading a { color: #e3c79e; font-size: 12px; white-space: nowrap; }
.skill-tiles { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.skill-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 4px; border: 1px solid #fff0dc15; background: rgba(255,248,235,.12); border-radius: 12px; color: #f2e8da; font-size: 12px; text-align: center; overflow-wrap: anywhere; transition: background .2s; }
.skill-tile:hover { background: #eacb9540; }
.skill-monogram { width: 38px; height: 38px; display: grid; place-items: center; font: bold 19px Georgia,serif; color: #f4d19a; background: linear-gradient(135deg,#516780,#152238); border: 1px solid #d6ba812e; border-radius: 11px; }
.skill-tile:nth-child(2) .skill-monogram { background: #e5c55b; color: #33270e; }
.skill-tile:nth-child(3) .skill-monogram { background: #386d62; color: #f4f3e9; }
.dashboard-empty { grid-column: span 4; font-size: 14px; color: #d7c9b5; }
.celestial-timeline { list-style: none; padding: 0 0 0 17px; margin: 0 0 0 6px; border-left: 1px solid #c9a86c90; }
.celestial-timeline li { position: relative; margin-bottom: 13px; }
.celestial-timeline li:last-child { margin-bottom: 0; }
.celestial-timeline li::before { content: ''; position: absolute; left: -22px; top: 6px; width: 8px; height: 8px; border: 2px solid #cfa96c; background: #fff1d0; border-radius: 50%; box-shadow: 0 0 8px #edbe7770; }
.celestial-timeline a { color: inherit; display: block; }
.celestial-timeline strong { font-size: 14px; font-weight: 500; }
.celestial-timeline span { display: block; color: #d4cbbb; font-size: 11px; margin-top: 2px; }
.celestial-dashboard .celestial-quote { display: flex; flex-direction: column; justify-content: space-between; color: #fff1de; text-decoration: none; background: linear-gradient(90deg,#0c172ddd,#15203311),url('celestial-library.webp') 70% 42% / cover; min-height: 195px; }
.quote-eyebrow { font: 7px Georgia,serif; letter-spacing: .16em; color: #e8cb9b; }
.celestial-quote strong { font: 29px/.96 Georgia,serif; margin: 12px 0; font-weight: 400; }
.celestial-quote > span:last-child { font-size: 12px; }
.celestial-quote b { float: right; font-size: 22px; font-weight: 400; }
.celestial-home main > section:not(.celestial-hero):not(.celestial-dashboard) { padding: 36px 0; }
.celestial-home .section-title { font-size: 28px; font-weight: 500; margin-bottom: 25px; }
.celestial-home .section-title::after { background: var(--gradient-accent); width: 60px; height: 1px; }
.celestial-home .section-title span { color: var(--accent); }
.celestial-home .container { width: min(90%,1280px); }
.celestial-home .site-footer { border-top: 1px solid var(--border); background: rgba(38,31,26,.25); backdrop-filter: blur(12px); margin-top: 30px; }
.celestial-welcome { grid-template-columns: 1fr 1fr; }
@media(min-width:1800px) { .celestial-home .bg-decoration { background-size: 100% auto; } }
@media(max-width:1200px) { .site-header .nav-auth { font-size: .8rem; gap: 8px; } .site-header .nav-right { gap: 10px; } .celestial-hero { gap: 20px; grid-template-columns: 1fr .5fr 1fr; height: auto; min-height: 710px; } .celestial-intro { padding-left: 0; } .celestial-profile { padding: 25px 22px; } .celestial-dashboard { grid-template-columns: 1fr 1fr; } .celestial-dashboard .celestial-quote { grid-column: span 2; background-position: center 40%; min-height: 180px; } }
@media(max-width:900px) { .site-header .nav { flex-wrap: wrap; padding: 14px 0 10px; gap: 10px; } .site-header .nav-right { display: contents; } .site-header .nav-toolbox { margin-left: auto; font-size: 13px; padding: 7px 17px; order: 1; } .site-header .site-primary-nav { order: 2; display: flex; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding: 4px 0; justify-content: space-between; } .site-header .nav-links a { font-size: 13px; padding: 5px; } .site-header .nav-links a::before { margin-right: 5px; } .celestial-hero { min-height: 790px; grid-template-columns: 1fr 1fr; padding-top: 30px; } .celestial-intro { grid-column: 1; } .celestial-profile { grid-column: 2; margin-top: 38px; } .celestial-stats { width: 58%; } .celestial-motto { left: 0; font-size: 19px; } .hero-biography { font-size: 14px; } }
@media(max-width:600px) { html { scroll-padding-top: 130px; } .site-header .site-brand-text { font-size: 1rem; } .site-header .site-logo { width: 26px; height: 26px; } .site-header .nav-links a::before { display: none; } .celestial-home .bg-decoration { background: linear-gradient(0deg,rgba(94,67,43,.15),transparent 70%),url('celestial-library.webp') 53% top / auto 100svh repeat-y; } .celestial-hero { display: flex; flex-direction: column; gap: 24px; min-height: auto; height: auto; padding-top: 250px; width: 90%; } .celestial-intro { padding: 0; } .hero-greeting { font-size: 18px; } .celestial-intro h1 { font-size: 47px; } .celestial-intro h1 span { font-size: 28px; } .hero-biography { max-width: none; font-size: 15px; } .celestial-home .hero-actions { margin-top: 20px; } .celestial-home .btn { font-size: 14px; padding: 10px 19px; } .celestial-profile { margin-top: 10px; width: 100%; border-radius: 24px; min-height: auto; padding: 24px; } .profile-portrait { width: 100px; height: 100px; } .profile-orbit { border-radius: 16px; inset: 10px; } .profile-summary { text-align: center; } .profile-facts { text-align: center; } .celestial-stats { position: static; width: 100%; margin-top: 0; padding: 17px 4px; } .celestial-motto { position: static; text-align: center; font-size: 19px; order: 4; margin: 10px 0 5px; } .celestial-motto span { font-size: 7px; } .celestial-dashboard { grid-template-columns: 1fr; width: 90%; margin-top: 27px; gap: 16px; margin-bottom: 30px; } .celestial-dashboard .celestial-quote { grid-column: auto; min-height: 210px; } .celestial-dashboard > * { padding: 20px 16px; } .celestial-home .theme-panel-wrap { bottom: 14px; right: 14px; } .celestial-home main > section:not(.celestial-hero):not(.celestial-dashboard) { padding: 25px 0; } .skill-tiles { gap: 5px; } .skill-tile { font-size: 10px; } .skill-monogram { width: 33px; height: 33px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } .reveal { opacity: 1 !important; transform: none !important; } }

.celestial-dashboard { padding: 0; }
.celestial-icon { display: inline-block; width: 20px; height: 20px; vertical-align: -.2em; flex-shrink: 0; }
.celestial-stats .celestial-icon { width: 23px; height: 23px; }
.celestial-home .hero-actions .btn { display: inline-flex; align-items: center; gap: 9px; }
[data-theme='twilight'] :is(.uc-stat-card,.slides-deck-card,.slides-qs-card,.ocr-hero-card) { background: linear-gradient(125deg, rgba(255,251,243,.57), rgba(253,242,223,.28)); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid var(--border); box-shadow: var(--shadow); }

@media(max-width:900px) { .site-header .nav-auth { display: flex; order: 3; width: 100%; justify-content: flex-end; font-size: 12px; } }

/* Reference canvas: 1700 × 926. Coordinates scale with the desktop viewport. */
@media(min-width:1201px) {
  .celestial-home .site-header .nav { min-height: 62px; height: 62px; padding: 0; }
  .celestial-home .site-header .container { width: 92%; max-width: none; }
  .celestial-home .site-header .nav-brand { flex-shrink: 0; }
  .celestial-home .site-header .nav-right { flex: 1; margin-left: 5%; justify-content: space-between; gap: 24px; flex-wrap: nowrap; }
  .celestial-home .site-header .nav-links { gap: 18px; }
  .celestial-home .site-header .nav-links a { font-size: 17px; padding: 8px 5px; }
  .celestial-home .site-header .nav-links a[aria-current] { color: #efc77d; font-size: 22px; }
  .celestial-home .site-header .nav-links a[aria-current]::before { font-size: 19px; opacity: 1; text-shadow: 0 0 12px #ffdb97; }
  .celestial-home .nav-auth { font-size: 12px; gap: 8px; }
  .celestial-home .nav-toolbox { padding: 8px 25px; font-size: 18px; }
  .celestial-hero {
    width: 88%; max-width: none;
    min-height: 658px; height: max(658px, calc(100svh - 268px));
    padding: 8px 0 0;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
  }
  .celestial-intro { padding: 68px 0 0 26px; }
  .hero-greeting { font-size: 20px; margin-bottom: 8px; line-height: 1.25; }
  .celestial-intro h1 { font-size: 68px; line-height: 1.12; margin-bottom: 18px; letter-spacing: .03em; white-space: nowrap; }
  .celestial-intro h1 span { font-size: 42px; }
  .hero-tagline { font-size: 20px; margin-bottom: 18px; letter-spacing: .06em; }
  .gold-rule { margin: 12px 0; opacity: .55; }
  .hero-biography { font-size: 17px; line-height: 1.65; max-width: 390px; }
  .hero-location { font-size: 16px; margin: 14px 0; }
  .celestial-home .hero-actions { margin-top: 16px; gap: 18px; }
  .celestial-home .hero-actions .btn { font-size: 17px; padding: 10px 24px; min-height: 50px; }
  .celestial-profile { padding: 24px 48px 20px; min-height: 492px; width: 100%; border-radius: 48% 48% 14px 14px / 29% 29% 14px 14px; }
  .profile-portrait { width: 170px; height: 170px; padding: 5px; }
  .celestial-profile h2 { margin-top: 12px; font-size: 30px; line-height: 1.2; }
  .profile-english { font-size: 18px; line-height: 1.2; margin-bottom: 8px; }
  .profile-role { font-size: 16px; line-height: 1.4; margin: 8px 0 10px; }
  .profile-summary { font-size: 14px; line-height: 1.65; margin: 10px 0; color: #fff0de; }
  .profile-facts { font-size: 13px; line-height: 1.7; margin-top: 10px; }
  .profile-signature { position: absolute; right: 30px; bottom: 26px; font-size: 38px; color: rgba(237,196,128,.40); }
  .celestial-stats { width: 44.5%; min-height: 140px; bottom: 10px; padding: 14px 5px 10px; }
  .celestial-stats span { width: 43px; height: 43px; background: rgba(255,247,227,.86); }
  .celestial-stats strong { margin: 5px 0 3px; font-size: 25px; }
  .celestial-stats small { font-size: 12px; }
  .celestial-motto { left: -3.5vw; bottom: 7px; font-size: 22px; }
  .celestial-dashboard { width: 93.2%; max-width: none; grid-template-columns: 1.03fr 1.1fr 1fr; gap: 17px; margin-top: 18px; margin-bottom: 55px; }
  .celestial-dashboard > * { min-height: 180px; padding: 16px 23px; border-radius: 14px; }
  .dashboard-heading { margin-bottom: 16px; }
  .dashboard-heading h2 { font-size: 20px; }
  .dashboard-heading a { font-size: 14px; }
  .skill-tile { min-height: 91px; font-size: 14px; }
  .skill-monogram { width: 43px; height: 43px; font-size: 25px; }
  .celestial-timeline strong { font-size: 15px; }
  .celestial-timeline span { font-size: 12px; }
  .celestial-dashboard .celestial-quote { min-height: 180px; }
}
/* Keep cream glass luminous; reserve dark tint for copy over the artwork. */
[data-theme='twilight'] .celestial-home .hero-actions .btn-primary {
  color: #fff0cf;
  background: linear-gradient(115deg, rgba(159,112,43,.72), rgba(60,42,20,.68));
  border: 1px solid #f3d392;
  box-shadow: inset 0 0 14px rgba(255,223,155,.38), 0 0 16px rgba(255,215,137,.38);
}
.celestial-home .theme-panel { color: #463626; }
.celestial-home .theme-panel-title { color: #78634b; }
.celestial-home .theme-option { color: #55422e; }
.celestial-home .theme-panel-toggle { background: rgba(255,246,228,.3); color: #ffeac3; backdrop-filter: blur(12px); }
.celestial-home main > section:not(.celestial-hero):not(.celestial-dashboard) > .container {
  --text: #3c3029; --muted: #786550; --accent: #8e5f2c; --accent-hover: #653e17; --surface: rgba(255,248,236,.65);
  padding: 26px; border-radius: 18px;
  color: var(--text); background: rgba(255,247,231,.70); border: 1px solid rgba(255,244,221,.55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
@media(max-width:1200px) and (min-width:901px) {
  .celestial-profile { padding: 24px; min-height: 420px; }
  .profile-portrait { width: 130px; height: 130px; }
  .profile-summary { font-size: 12px; }
}
@media(max-width:600px) {
  .celestial-profile { background: linear-gradient(145deg, rgba(35,42,55,.28), rgba(255,239,211,.16)); }
  .celestial-home main > section:not(.celestial-hero):not(.celestial-dashboard) > .container { padding: 20px; }
}
/* Legibility follows the reference: ivory lettering with a restrained warm shadow. */
.celestial-profile {
  background: linear-gradient(180deg, rgba(20,28,45,.48), rgba(52,43,42,.28) 68%, rgba(227,193,147,.13));
  backdrop-filter: blur(10px) saturate(1.13);
  -webkit-backdrop-filter: blur(10px) saturate(1.13);
}
.celestial-profile :is(h2,p,li), .celestial-stats :is(strong,small), .celestial-dashboard :is(h2,strong,span,a) {
  text-shadow: 0 1px 3px rgba(56,38,24,.55);
}
.celestial-dashboard :is(.dashboard-heading a,.celestial-timeline span) { color: #fff0da; }
.skill-logo { width: 38px; height: 38px; filter: drop-shadow(0 2px 3px rgba(14,22,34,.22)); }
.skill-monogram { background: rgba(51,57,65,.38); border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.skill-tile:nth-child(2) .skill-monogram, .skill-tile:nth-child(3) .skill-monogram { background: rgba(51,57,65,.38); }
.skill-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.skill-more .skill-monogram { color: #fff5e6; font: 36px/1 Arial,sans-serif; background: rgba(37,33,31,.55); }
@media(min-width:1201px) {
  .celestial-intro h1 { margin-bottom: 12px; }
  .gold-rule { display: none; }
  .hero-tagline { margin-bottom: 20px; }
  .hero-biography { margin-top: 0; }
  .celestial-stats { height: 140px; min-height: 140px; padding: 12px 5px 9px; }
  .celestial-stats strong { line-height: 1.1; }
  .celestial-stats small { line-height: 1.3; }
  .skill-tile { height: 91px; min-height: 91px; padding: 10px 4px; }
  .celestial-dashboard { align-items: stretch; }
  .celestial-dashboard .glass-panel { min-height: 180px; }
}
@media(min-width:1201px) {
  .celestial-stats { right: -3vw; }
  .celestial-motto { left: -1.9vw; }
  .celestial-dashboard > * { height: 180px; }
  .dashboard-heading { margin-bottom: 12px; }
  .celestial-timeline li { margin-bottom: 7px; }
  .celestial-timeline strong { display: block; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .celestial-timeline span { font-size: 11px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .celestial-quote strong { font-size: 26px; line-height: 1.04; margin: 8px 0; }
}
@media(max-width:600px) {
  .celestial-intro { padding: 20px; border: 1px solid rgba(255,232,198,.48); border-radius: 18px; background: linear-gradient(125deg,rgba(27,32,43,.37),rgba(115,84,52,.20)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .hero-biography { line-height: 1.85; }
}
.site-header .nav-auth a { color: var(--accent); }
