/* Lola.Dz — centered neon bio page, adapted to the supplied design reference. */
:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: rgba(18, 14, 20, .84);
  --surface-hover: rgba(32, 17, 26, .96);
  --cream: #f2f2f7;
  --muted: #b7b4c5;
  --gold: #d4af37;
  --gold-light: #f7e7b4;
  --red: #ff193c;
  --red-glow: rgba(255, 25, 60, .35);
  --line: rgba(255, 255, 255, .1);
  --body: 'Tajawal', sans-serif;
  --heading: 'Cairo', sans-serif;
  --serif: 'Amiri', serif;
  --latin: 'Cinzel', Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image: radial-gradient(#ffffff35 .5px, transparent .5px);
  background-size: 5px 5px;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; touch-action: manipulation; }
a { touch-action: manipulation; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
::selection { background: #a91435; color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #75172a; border-radius: 20px; }

/* Ambient light, embers, and the pointer spotlight. */
.ambient-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.ambient { position: fixed; width: 550px; height: 550px; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -3; animation: float-orb 12s ease-in-out infinite alternate; }
.ambient-one { top: -150px; right: -180px; background: #6e071d40; }
.ambient-two { bottom: -200px; left: -160px; background: #7a082c30; animation-delay: -6s; }
.bg-vignette { position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at center, transparent 25%, #0009 100%); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, #ff193c17, transparent 65%); pointer-events: none; z-index: 3; opacity: 0; will-change: transform; }
body.pointer-active .cursor-glow { opacity: 1; }
@keyframes float-orb { from { transform: translate(0, 0) scale(.95); } to { transform: translate(35px, 45px) scale(1.08); } }

/* Three-second intro. It stays hidden if JavaScript is unavailable. */
body.intro-playing { overflow: hidden; }
.page-preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: #050505; transition: opacity .65s var(--ease), visibility .65s, transform .65s var(--ease); }
.page-preloader.is-leaving { opacity: 0; visibility: hidden; transform: scale(1.04); pointer-events: none; }
.preloader-glow { position: absolute; width: min(500px, 90vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ff193c30, #510d2020 50%, transparent 70%); filter: blur(50px); animation: intro-breathe 2.4s ease-in-out infinite alternate; }
.preloader-card { width: 100%; max-width: 360px; text-align: center; position: relative; }
.preloader-avatar { position: relative; width: 110px; height: 110px; margin: 0 auto 26px; }
.preloader-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; animation: intro-breathe 2s ease-in-out infinite alternate; }
.preloader-ring { position: absolute; inset: -6px; border: 2px solid transparent; border-top-color: var(--red); border-bottom-color: var(--red); border-right-color: var(--gold); border-radius: 50%; animation: rotate-ring 3s linear infinite; }
.preloader-card h2 { font: 800 32px var(--latin); letter-spacing: 4px; }
.preloader-arabic { font: 700 18px var(--heading); color: var(--gold-light); margin-top: 5px; }
.preloader-roles { font: 600 10px 'Outfit', sans-serif; letter-spacing: 2px; color: var(--muted); margin: 12px 0 30px; }
.preloader-roles span { color: var(--gold); margin: 0 6px; }
.preloader-track { height: 5px; border-radius: 20px; background: #ffffff12; overflow: hidden; direction: ltr; }
#preloaderFill { width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #8b001e, var(--red), var(--gold)); }
.preloader-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin-top: 12px; color: var(--muted); }
#preloaderCounter { color: var(--gold-light); font-family: 'Outfit', sans-serif; }
.preloader-skip { min-height: 44px; margin-top: 22px; padding: 8px 20px; background: transparent; border: 1px solid var(--line); border-radius: 30px; font-size: 12px; color: var(--muted); }
.preloader-skip:hover { color: #fff; border-color: var(--red); }
@keyframes intro-breathe { from { transform: scale(.97); } to { transform: scale(1.03); } }
@keyframes rotate-ring { to { transform: rotate(360deg); } }

/* The reference's compact, centered feed on every screen size. */
.site-shell { position: relative; z-index: 1; width: 100%; max-width: 580px; margin: 0 auto; padding: 20px 16px 54px; transition: opacity .8s var(--ease), transform .8s var(--ease); }
body.intro-playing .site-shell { opacity: 0; transform: translateY(18px) scale(.99); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 7px 14px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 40px; background: #120e14b3; backdrop-filter: blur(20px); }
.wordmark { display: flex; align-items: center; gap: 9px; color: var(--muted); font-family: var(--heading); font-size: 12px; font-weight: 600; }
.wordmark img { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #ff193c80; }
.wordmark-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: pulse-dot 2.5s ease-in-out infinite; }
.share-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 7px 12px; background: #ffffff08; border: 1px solid #ffffff12; border-radius: 25px; font-size: 11px; transition: background .2s, border-color .2s, color .2s; }
.share-button .icon { width: 17px; height: 17px; }
.share-button:hover { background: #ff193c1a; border-color: var(--red); color: #fff; }
@keyframes pulse-dot { 50% { opacity: .45; } }
.main-layout { display: block; }
.portrait-section { width: 100%; margin: 0 auto 22px; }
.portrait-caption { display: none; }
.portrait-stage { position: relative; max-width: 540px; margin: auto; container-type: inline-size; isolation: isolate; }
.hero-portrait { position: relative; width: 100%; height: auto; }
.portrait-halo { position: absolute; inset: 20% 7% 6%; background: #a40d2829; border-radius: 50%; filter: blur(50px); z-index: -1; animation: intro-breathe 6s ease-in-out infinite alternate; }
.portrait-inscription { position: absolute; inset: 66.5% 8% 11%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(4px, 1.5cqw, 8px); text-align: center; overflow: hidden; }
.inscription-kicker { display: block; font: 500 clamp(7px, 2.1cqw, 11px) 'Outfit', sans-serif; letter-spacing: 2px; color: var(--muted); }
.portrait-inscription h1 { font: 800 clamp(28px, 10cqw, 54px)/1.15 var(--latin); letter-spacing: 1px; text-transform: uppercase; }
.portrait-inscription h1 span { color: var(--gold-light); }
.portrait-inscription p { color: var(--gold-light); font: 700 clamp(10px, 3cqw, 16px)/1.5 var(--heading); }
.portrait-signature { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 12px 0 0; }
.portrait-signature p { font: 500 10px 'Outfit', sans-serif; color: var(--muted); letter-spacing: 2.5px; text-transform: uppercase; }
.fine-line { display: block; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, #ff193c80); }
.fine-line:last-child { transform: rotate(180deg); }
.content-column { min-width: 0; }

/* Profile glass card, rotating avatar ring, and count-up strip. */
.introduction { display: flex; flex-direction: column; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(20px); transition: border-color .25s; }
.introduction:hover { border-color: #ff193c59; }
.identity-row { order: -1; display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.avatar-holder { width: 76px; height: 76px; padding: 3px; border-radius: 50%; flex-shrink: 0; position: relative; background: #170309; }
.avatar-ring { position: absolute; inset: -3px; border: 1.5px solid transparent; border-top-color: var(--red); border-bottom-color: var(--gold); border-radius: 50%; animation: rotate-ring 12s linear infinite; pointer-events: none; }
.identity-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.identity-text { min-width: 0; flex: 1; }
.profile-name { font: 800 20px var(--latin); text-align: right; margin-bottom: 5px; }
.identity-handle { display: inline-block; font: 500 13px 'Outfit', sans-serif; color: var(--gold-light); }
.identity-handle:hover { color: var(--red); }
.identity-text p { color: var(--muted); font-size: 11px; margin-top: 5px; }
.location-tag { display: none; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--gold); font-size: 11px; }
.live-dot { width: 5px; height: 5px; background: var(--red); border-radius: 50%; }
.introduction h2 { font: 700 27px/1.6 var(--serif); text-align: center; margin-top: 3px; }
.introduction h2 em { font-style: normal; color: var(--gold-light); }
.intro-copy { font-size: 13px; line-height: 1.85; color: var(--muted); text-align: center; margin: 7px 0 18px; }
.profile-metrics { display: grid; grid-template-columns: repeat(3, 1fr); padding: 12px 6px; background: #ffffff06; border: 1px solid #ffffff0f; border-radius: 14px; }
.profile-metrics>div { text-align: center; min-width: 0; }
.profile-metrics>div+div { border-right: 1px solid #ffffff15; }
.metric-value { display: block; font: 800 21px/1.5 var(--latin); color: #fff; }
.profile-metrics>div>span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }

/* Red pill navigation and staggered panel entry. */
.chapters { margin-top: 22px; scroll-margin-top: 24px; }
.chapter-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 22px; }
.chapter-tabs button { display: flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 30px; font: 700 15px var(--heading); color: var(--muted); background: #ffffff09; transition: background .25s, border-color .25s, color .25s; }
.chapter-tabs button:hover { background: #ff193c1f; border-color: #ff193c66; color: #fff; }
.chapter-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--red), #aa081a); border-color: var(--red); }
.tab-count { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid #ffffff40; border-radius: 50%; font: 12px var(--body); }
.chapter-panel { animation: panel-in .4s var(--ease); }
.chapter-panel:not([hidden]) .link-card, .chapter-panel:not([hidden]) .novel, .chapter-panel:not([hidden]) .contact-card { animation: card-in .6s var(--ease) both; animation-delay: calc(var(--entry-index, 0) * 65ms); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes card-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* Glowing social cards in the same vertical rhythm as the reference. */
.featured-story {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  padding: 28px;
  border: 1px solid #49202b;
  border-inline-start: 3px solid var(--red);
  border-radius: 16px;
  background: #130b10;
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.featured-story:hover { border-color: #a93449; border-inline-start-color: var(--red); background: #1b0e15; }
.featured-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; direction: ltr; }
.featured-platform { color: #ff6b81; font: 600 12px 'Outfit', sans-serif; letter-spacing: 2px; }
.featured-channel { color: var(--muted); font: 400 12px 'Outfit', sans-serif; }
.featured-text h3 { font: 700 28px/1.75 var(--heading); }
.featured-text h3 span { color: var(--gold-light); }
.featured-text p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-top: 8px; }
.featured-cta { display: inline-flex; align-self: flex-start; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border: 1px solid #b82640; border-radius: 8px; background: #85162c; color: #fff; font: 600 14px var(--heading); transition: background .25s; }
.featured-story:hover .featured-cta { background: #a71b36; }
.card-kicker { display: block; text-align: right; font: 600 12px 'Outfit', sans-serif; color: var(--gold); letter-spacing: 2px; direction: ltr; }
.links-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.links-heading h3 { font: 600 15px var(--heading); }
.links-heading>span { color: var(--muted); font: 500 9px 'Outfit', sans-serif; letter-spacing: 1.5px; }
.social-links { display: flex; flex-direction: column; gap: 14px; }
.link-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; min-height: 92px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; backdrop-filter: blur(20px); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.link-card::after { content: ''; position: absolute; top: 0; bottom: 0; left: -65%; width: 45%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, #ffffff06, transparent); pointer-events: none; transition: left .65s var(--ease); }
.link-card:hover { transform: translateY(-3px) scale(1.01); background: var(--surface-hover); border-color: var(--red); }
.link-card:hover::after { left: 125%; }
.link-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1.5px solid #e1306c; border-radius: 12px; background: #e1306c20; color: #f472b6; }
.link-card[href*="tiktok"] .link-icon { border-color: #00c4c0; color: #b4fffc; background: #00f2ea15; }
.link-card[href*="facebook"] .link-icon { border-color: #1877f2; color: #66aaff; background: #1877f220; }
.link-copy { flex: 1; min-width: 0; }
.link-copy>strong { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 700 17px/1.6 var(--heading); color: #fff; }
.link-copy>strong[lang="en"] { font-family: 'Outfit', sans-serif; font-size: 19px; }
.link-copy>span { display: block; font-size: 14px; line-height: 1.65; color: var(--muted); margin-top: 3px; }
.link-handle { font: 500 12px 'Outfit', sans-serif; color: var(--muted); }
.link-arrow { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.link-card:hover .link-arrow { color: var(--red); transform: translateX(-3px) rotate(45deg); }
.book-link { border-color: #d4af3780; background: linear-gradient(135deg, #230c14e6, #100c12d9); }
.book-link:hover { border-color: var(--gold-light); }
.book-link .link-icon { background: #d4af3726; border-color: var(--gold); color: var(--gold-light); }
.small-badge { display: inline-block; font: 500 11px var(--body); border-radius: 20px; padding: 3px 8px; background: #d4af3726; color: var(--gold-light); }

/* Real book covers are preserved in full. */
.panel-heading { text-align: center; margin-bottom: 22px; padding: 8px 6px 0; }
.panel-heading .card-kicker { text-align: center; }
.panel-heading h3 { font: 700 25px/1.7 var(--heading); margin: 10px 0; }
.panel-heading p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.novel { position: relative; display: flex; align-items: center; flex-direction: column; min-width: 0; padding: 10px 10px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-align: center; transition: transform .35s var(--ease), border-color .3s; }
.novel:hover { transform: translateY(-5px); border-color: var(--red); }
.novel-cover { width: 100%; height: auto; aspect-ratio: 359 / 557; object-fit: contain; border-radius: 6px; background: #09070a; }
.novel h4 { font: 700 18px/1.4 var(--heading); margin: 10px 0 2px; }
.novel-price { display: inline-block; font: 700 14px var(--latin); color: var(--gold-light); margin-bottom: 4px; }
.novel-badge { position: absolute; top: 16px; right: 16px; z-index: 2; padding: 4px 8px; background: linear-gradient(135deg, #eab308, #ca8a04); color: #000; font: 700 11px var(--heading); border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.5); pointer-events: none; }
.novel-badge.badge-unavailable { background: rgba(255,255,255,0.15); color: #ccc; border: 1px solid rgba(255,255,255,0.2); }
.novel-action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 36px; padding: 6px 10px; border-radius: 8px; background: rgba(212, 175, 55, 0.12); border: 1px solid rgba(212, 175, 55, 0.3); font-size: 13px; font-weight: 700; color: var(--gold-light); margin-top: auto; transition: background .2s, color .2s; }
.novel:hover .novel-action { background: var(--red); border-color: var(--red); color: #fff; }
.novel-unavailable { opacity: 0.75; }
.novel-unavailable:hover .novel-action { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #aaa; }
.book-note { color: var(--muted); font-size: 13px; text-align: center; margin: 20px 0 0; }
.text-link { display: flex; justify-content: center; align-items: center; gap: 5px; flex-wrap: wrap; min-height: 48px; padding: 14px; color: var(--gold-light); font-size: 15px; background: #d4af370c; border: 1px solid #d4af3733; border-radius: 14px; margin-top: 18px; }
.text-link:hover { border-color: var(--gold); }
.text-link>span { margin-right: 5px; }

/* Biography and contact retain Lola's information. */
.about-card { display: flex; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.about-card img { width: 85px; height: 85px; flex-shrink: 0; object-fit: cover; border-radius: 50%; border: 1px solid #ff193c80; }
.about-card h4 { text-align: right; font: 700 23px var(--latin); color: var(--gold-light); margin-bottom: 9px; }
.about-card p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.about-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.about-details>div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff04; }
.about-details>div>span { color: var(--gold); font-size: 11px; }
.about-details h4 { font: 700 15px var(--heading); margin: 8px 0; }
.about-details p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .25s, transform .25s; }
.contact-card:hover { border-color: var(--red); transform: translateY(-2px); }
.contact-card>.icon:first-child { color: var(--gold-light); }
.contact-card>span { min-width: 0; flex: 1; }
.contact-card strong { display: block; font: 700 17px var(--heading); }
.contact-card>span>span { display: block; color: var(--muted); font-size: 14px; margin-top: 5px; }
.contact-signoff { text-align: center; padding: 24px 0 8px; color: var(--gold-light); }
.contact-signoff p { font: 400 25px/1.7 var(--serif); margin-top: 12px; }

/* Logo signature and red footer line. */
.footer { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 42px; padding-top: 28px; border-top: 1px solid #ffffff0d; position: relative; gap: 12px; }
.footer-neon-line { position: absolute; top: -1px; width: 65%; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.footer-avatar { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--gold); padding: 3px; }
.footer-name { font: 800 22px var(--latin); letter-spacing: 2px; color: var(--gold-light); }
.footer-quote { font-family: var(--serif); font-size: 19px; color: var(--muted); }
.footer-socials { display: flex; justify-content: center; gap: 10px; margin: 4px 0 8px; }
.footer-socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: #ffffff05; transition: color .25s, border-color .25s; }
.footer-socials a:hover { color: var(--red); border-color: var(--red); }
.footer-socials .icon { width: 18px; height: 18px; }
.footer-copyright { color: var(--muted); font: 400 10px 'Outfit', sans-serif; letter-spacing: 1px; }

/* Shared utility controls. */
.skip-link { position: fixed; top: 8px; right: 16px; z-index: 110; background: var(--gold-light); color: var(--bg); padding: 10px 18px; transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: none; }
.toast { position: fixed; z-index: 120; bottom: 24px; left: 50%; max-width: calc(100% - 32px); padding: 12px 24px; background: #17101bef; color: #fff; border: 1px solid #ff193c80; border-radius: 30px; font-size: 14px; text-align: center; opacity: 0; transform: translate(-50%, 15px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
dialog { width: min(440px, calc(100% - 32px)); padding: 30px; color: var(--cream); background: #100b13; border: 1px solid #ff193c70; border-radius: 20px; }
dialog::backdrop { background: #000c; backdrop-filter: blur(8px); }
dialog h2 { font: 700 25px var(--heading); margin: 5px 0 12px; }
dialog p { font-size: 14px; color: var(--muted); }
dialog label { display: block; font-size: 12px; margin: 20px 0 8px; }
dialog input { width: 100%; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: var(--cream); font-size: 13px; }
.dialog-close { position: absolute; left: 10px; top: 8px; width: 44px; height: 44px; background: transparent; border: 0; font-size: 26px; }
.dialog-copy { min-height: 44px; padding: 10px 24px; margin-top: 16px; border: 1px solid var(--red); border-radius: 25px; background: linear-gradient(135deg, var(--red), #aa081a); font-weight: 700; }

/* One-time entrance for the profile and header after the intro. */
body.page-revealed .topbar, body.page-revealed .portrait-section, body.page-revealed .introduction { animation: panel-in .8s var(--ease) both; }
body.page-revealed .portrait-section { animation-delay: .08s; }
body.page-revealed .introduction { animation-delay: .16s; }
@media (max-width: 480px) {
  .site-shell { padding: 14px 14px 40px; }
  .topbar { margin-bottom: 18px; padding: 6px 10px; }
  .introduction { padding: 18px; }
  .identity-row { gap: 13px; }
  .avatar-holder { width: 66px; height: 66px; }
  .profile-name { font-size: 18px; }
  .identity-handle { font-size: 12px; }
  .identity-text p { font-size: 10px; }
  .chapter-tabs { gap: 5px; }
  .chapter-tabs button { padding: 9px 5px; font-size: 14px; }
  .link-card { padding: 15px 13px; gap: 12px; }
  .link-icon { width: 44px; height: 44px; }
  .link-handle { display: none; }
  .link-copy>strong { font-size: 15px; }
  .link-copy>span { font-size: 13px; }
  .featured-story { padding: 22px; gap: 18px; }
  .featured-text h3 { font-size: 24px; }
  .books-grid { gap: 9px; }
  .novel { padding: 7px 7px 3px; border-radius: 10px; }
  .novel h4 { font-size: 18px; }
  .novel-action { font-size: 12px; }
  .panel-heading h3 { font-size: 22px; }
  .about-card { padding: 18px; gap: 14px; }
  .about-card img { width: 66px; height: 66px; }
  .about-card h4 { font-size: 20px; }
  .about-card p { font-size: 14px; }
  .about-details>div { padding: 14px; }
}
@media (max-width: 350px) {
  .site-shell { padding-inline: 10px; }
  .introduction { padding: 15px; }
  .avatar-holder { width: 58px; height: 58px; }
  .identity-row { gap: 10px; }
  .identity-handle { font-size: 11px; }
  .chapter-tabs button { font-size: 13px; padding-inline: 3px; gap: 3px; }
  .tab-count { width: 16px; height: 16px; }
  .small-badge { font-size: 10px; }
  .link-icon { width: 38px; height: 38px; }
  .link-card { gap: 9px; }
  .novel-action { font-size: 11px; }
}
@media (pointer: coarse) { .cursor-glow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cursor-glow, .ambient-canvas { display: none; }
  .link-card:hover, .novel:hover, .contact-card:hover { transform: none; }
}
