:root {
  --cream: #fff6e6;
  --paper: #fffdf5;
  --ink: #493321;
  --muted: #826b53;
  --accent: #d74735;
  --line: rgba(111, 72, 31, .14);
  --glass: rgba(255, 253, 241, .65);
  --shadow: 0 9px 30px rgba(135, 87, 29, .06);
  --radius: 18px;
  --scroll: 0;
  --pointer-x: 0;
  --pointer-y: 0;
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; font-size: 14px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 72% 14%, #ffe3a088, transparent 48%), linear-gradient(180deg, #fff9eb, #fcf1da); }
::selection { background: #f4c54c; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; }
svg { flex-shrink: 0; width: 20px; height: 20px; }
button svg, .text-link svg, .nav-link svg { width: 18px; height: 18px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 20px; padding: 9px 18px; border-radius: 7px; background: #fff8e4; border: 1px solid #ad8a4b; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
body[data-page="home"] .ambient { opacity: var(--scene-opacity, 1); }
.scene-background { position: absolute; top: 0; left: 0; width: 100%; height: 850px; object-fit: cover; object-position: center top; opacity: .82; transform: translate3d(calc(var(--pointer-x) * -8px), calc(var(--scroll) * -.12px), 0) scale(1.03); }
.scene-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #fff8e98a, #fff8e947 42%, transparent 78%), linear-gradient(180deg, transparent 400px, #fff6e680 730px, var(--cream) 950px); }
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(54px); opacity: .48; will-change: transform; }
.orb-one { top: 120px; right: -130px; width: 660px; height: 660px; background: #f5d274; transform: translate3d(calc(var(--pointer-x) * -14px), calc(var(--scroll) * -.08px), 0); }
.orb-two { top: 580px; left: -260px; width: 620px; height: 620px; background: #e9dacc; transform: translate3d(calc(var(--pointer-x) * 10px), calc(var(--scroll) * -.12px), 0); }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255, 248, 229, .79); backdrop-filter: blur(24px) saturate(135%); -webkit-backdrop-filter: blur(24px) saturate(135%); }
.header-inner { max-width: 1260px; height: 82px; padding: 0 30px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #eaba48; }
.brand-name { font-size: 16px; font-weight: 750; letter-spacing: .035em; }
.brand-dot, .heading-dot { color: var(--accent); }
.brand-dot { margin-left: 2px; }
.heading-dot { margin-left: 3px; }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: 40px; }
.nav-link { position: relative; color: #85796b; font-size: 13px; padding: 30px 0; transition: color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after { content: ""; position: absolute; bottom: 17px; left: calc(50% - 8px); width: 16px; height: 3px; border-radius: 4px; background: var(--accent); transform: rotate(-5deg); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-button { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 50%; transition: background .2s; }
.icon-button:hover { background: #e7dccb; }
.menu-toggle { display: none; }
.page-shell { width: min(1200px, calc(100% - 72px)); margin: 0 auto; }
.hero { position: relative; min-height: 610px; display: grid; grid-template-columns: 1.14fr 1fr; align-items: center; padding: 47px 0 76px; gap: 35px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 10px; font-weight: 600; letter-spacing: .2em; color: #9a8167; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: #b49776; }
.hero-title { position: relative; width: fit-content; margin: 0; font-size: clamp(48px, 5.4vw, 72px); line-height: 1.27; letter-spacing: -.055em; font-weight: 800; text-shadow: 2px 3px 0 #fffaf2; }
.hero-title em { color: var(--accent); font-style: normal; }
.title-spark { position: absolute; right: -34px; top: 4px; color: #e3ab2b; font-size: 32px; line-height: 1; transform: rotate(12deg); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #b89036; box-shadow: 0 0 0 3px #e9c87729; }
.hero .eyebrow::before { display: none; }
.hero-description { max-width: 410px; margin: 25px 0 0; font-size: 14px; line-height: 1.95; color: var(--muted); letter-spacing: .025em; }
.hero-actions { display: flex; align-items: center; gap: 15px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: 11px 23px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 600; transition: background .2s, transform .2s, box-shadow .2s; }
.button svg { width: 16px; height: 16px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff9ed; background: #da4c35; border-color: #ac3c27; box-shadow: 0 3px 0 #ad3c26, 0 6px 12px #ad3c2614; }
.button-primary:hover { background: #e95c42; box-shadow: 0 5px 0 #ad3c26, 0 9px 18px #ad3c261a; }
.button-ghost { background: #fff9e999; border-color: #bca26788; color: #7c5730; box-shadow: 0 3px 0 #d9bd832d; }
.button-ghost:hover { background: #fffaf4c9; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 460px; transform: translate3d(calc(var(--pointer-x) * 5px), calc(var(--pointer-y) * 5px + var(--scroll) * -.07px), 0); }
.hero-orbit { position: absolute; width: 410px; height: 410px; border: 2px dashed #d6a74677; border-radius: 50%; }
.hero-orbit::after { content: ""; position: absolute; top: 70px; right: 39px; width: 9px; height: 9px; border-radius: 50%; background: #d84831; box-shadow: 0 0 0 6px #fff5de; }
.hero-orbit::before { content: ""; position: absolute; inset: -27px; border: 1px dashed #b3976e21; border-radius: 50%; }
.avatar-disc { position: relative; width: 310px; height: 310px; border-radius: 50%; padding: 11px; background: #f4c64b; border: 2px solid #8c672d; box-shadow: 7px 9px 0 #c6a56532, 0 25px 45px #98622a1a; }
.avatar-disc img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.avatar-sticker { position: absolute; bottom: 7px; right: -22px; padding: 6px 12px; border: 1px solid #ad3e24; border-radius: 5px; color: #fff5d7; background: #da4d36; box-shadow: 2px 3px 0 #91532922; font-size: 10px; font-weight: 600; transform: rotate(-8deg); }
.floating-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid #a3753c66; border-radius: 10px; background: #fff8dfde; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 3px 4px 0 #bc955c25; font-size: 11px; color: #906b36; letter-spacing: .02em; }
.floating-note svg { width: 15px; height: 15px; color: var(--accent); }
.note-top { top: 67px; right: -2px; transform: rotate(5deg); }
.note-bottom { bottom: 44px; left: -2px; transform: rotate(-5deg); }
.floating-note > span { font-size: 8px; line-height: 1.8; letter-spacing: .06em; }
.floating-note strong { font-size: 11px; letter-spacing: 0; font-weight: 600; }
.floating-note .note-star { color: #d5a12e; font-size: 27px; line-height: 1; }
.food-doodle { position: absolute; z-index: 1; filter: drop-shadow(2px 4px 0 #92612418); }
.food-doodle svg { width: 100%; height: 100%; }
.food-doodle.fries { width: 62px; height: 78px; right: 6px; bottom: 67px; transform: rotate(15deg); font-size: 50px; }
.food-doodle.spark { width: 36px; height: 36px; left: 28px; top: 76px; color: #d59829; font-size: 32px; transform: rotate(-12deg); }
.food-doodle.ticket { width: 43px; height: 43px; right: 44px; top: 40px; color: #d74735; transform: rotate(12deg); }
.hero-index { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 35px; color: #9c815c; font-size: 9px; letter-spacing: .035em; }
.hero-index strong { font-size: 12px; font-weight: 600; color: #806039; }
.hero-index i { height: 10px; width: 1px; background: #b3955e5c; }
.scroll-cue { position: absolute; left: 0; bottom: 28px; display: flex; gap: 10px; align-items: center; color: #a3927e; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue svg { width: 13px; height: 13px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 28px; }
.section-heading > .button { flex-shrink: 0; white-space: nowrap; }
.section-heading .section-kicker { margin-bottom: 5px; font-size: 9px; }
.section-title { margin: 0; font-size: 25px; letter-spacing: -.04em; font-weight: 650; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #8c7359; font-size: 11px; white-space: nowrap; }
.text-link svg { width: 13px; height: 13px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 44px; }
.posts-panel { min-width: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 23px; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border: 1px solid #ad8a4b33; border-radius: 7px; background: #fffaf099; color: #9b8058; font-size: 10px; transition: background .2s, color .2s, border-color .2s; }
.filter-chip span { opacity: .65; font-size: 9px; }
.filter-chip:hover { background: #f7eddd; border-color: #b89d715e; color: #785635; }
.filter-chip.is-active { background: #e4b541; border-color: #b88e29; color: #624318; box-shadow: 0 2px 0 #ba8d3133; }
.post-list { display: grid; gap: 14px; }
.post-card { position: relative; display: flex; align-items: stretch; gap: 23px; min-height: 161px; padding: 17px; border: 1px solid #b99b5b24; border-radius: 12px; background: #fffcf3b8; box-shadow: 0 4px 0 #b6924d09; transition: transform .25s, background .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); background: #fffdf9ed; box-shadow: 0 12px 32px #7354310a; }
.post-visual { position: relative; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; width: 140px; min-height: 125px; border-radius: 7px; background: #ebe4d8; color: #9a8265; }
.post-visual::before { content: ""; position: absolute; width: 94px; height: 94px; border: 1px solid currentColor; border-radius: 50%; opacity: .15; }
.post-visual::after { content: ""; position: absolute; width: 115px; height: 115px; border: 1px solid currentColor; border-radius: 50%; opacity: .08; }
.visual-number { position: absolute; top: 9px; left: 11px; font: 8px/1.5 Consolas, monospace; opacity: .7; }
.visual-mark { position: relative; z-index: 1; font: 600 36px/1.2 Consolas, monospace; letter-spacing: -.07em; text-shadow: 2px 2px 0 #fff5; transform: rotate(-7deg); }
.visual-label { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 7px; letter-spacing: .18em; font-weight: 600; }
.visual-Reverse { background: #f3dfb5; color: #b68b41; }
.visual-Pwn { background: #f0d3be; color: #b27b4b; }
.visual-Web { background: #e1e7c7; color: #8a9e60; }
.visual-Crypto { background: #f5e4a7; color: #b99b40; }
.visual-Misc { background: #efd6d4; color: #bc8a86; }
.visual-Forensics { background: #dce7d8; color: #85a079; }
.post-content { min-width: 0; align-self: center; flex: 1; padding: 2px 15px 2px 0; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #aa9d8d; font-size: 9px; letter-spacing: .035em; }
.post-category { font-size: 9px; color: #ad7b49; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.post-title { margin: 8px 0 5px; font-size: 17px; line-height: 1.6; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.post-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; color: #8b7861; font-size: 11px; line-height: 1.85; }
.post-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; color: #b19c82; font-size: 9px; }
.post-arrow { position: absolute; top: 50%; right: 17px; width: 15px; height: 15px; color: #b7a894; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.post-card:hover .post-arrow { opacity: 1; transform: none; }
.post-arrow svg { width: 15px; height: 15px; }
.sidebar { display: grid; gap: 19px; }
.glass-card { padding: 24px; border: 1px solid #bda16430; border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.profile-card { position: relative; overflow: hidden; text-align: center; padding-top: 0; }
.profile-cover { display: flex; align-items: flex-start; justify-content: center; height: 78px; margin: 0 -24px; padding-top: 17px; color: #a5833e; font-size: 6px; letter-spacing: .15em; background-color: #f4e2ac; background-image: repeating-conic-gradient(#fff2 0% 25%, transparent 0% 50%); background-size: 24px 24px; border-bottom: 1px solid #b99a552b; }
.profile-avatar { position: relative; width: 66px; height: 66px; margin: -32px auto 13px; object-fit: cover; border-radius: 50%; padding: 3px; border: 2px solid #e4bd50; background: #f8d569; }
.profile-card h3 { margin: 0 0 7px; font-size: 16px; font-weight: 600; letter-spacing: .015em; }
.profile-card p { margin: 0; color: #8c795f; font-size: 11px; line-height: 1.9; }
.profile-stats { display: flex; justify-content: center; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.profile-stats > * { flex: 1; font-size: 10px; color: #ac9a82; }
.profile-stats > * + * { border-left: 1px solid var(--line); }
.profile-stats strong { display: block; font-size: 19px; line-height: 1.4; font-weight: 500; color: #6c5945; font-family: "Georgia", serif; }
.profile-github { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); color: #a08357; font-size: 10px; }
.profile-github svg { width: 12px; height: 12px; }
.profile-github svg:last-child { width: 10px; height: 10px; }
.mini-label { display: block; margin: 0 0 14px; color: #987b56; font-size: 9px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.profile-card .mini-label { margin-bottom: 4px; font-size: 7px; letter-spacing: .17em; }
.direction-card h3 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.direction-list { display: grid; gap: 2px; }
.direction-link { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #bca38617; color: #89775f; font-size: 11px; }
.direction-link:last-child { border: 0; }
.direction-link:hover { color: var(--accent); }
.direction-link > span { display: inline-flex; align-items: center; gap: 9px; }
.direction-link svg { width: 13px; height: 13px; color: #b79458; }
.direction-link small { color: #a88d62; font-size: 9px; }
.small-note { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 12px; color: #b79458; }
.small-note svg { width: 29px; height: 29px; stroke-width: 1.2; }
.small-note p { margin: 0; font-size: 10px; line-height: 1.9; }
.more-posts { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 19px; padding: 13px; border: 1px dashed #b99a5c55; border-radius: 8px; color: #a7834f; font-size: 10px; background: #fff9e63d; transition: background .2s; }
.more-posts:hover { background: #fff7e1b0; }
.more-posts svg { width: 12px; height: 12px; }
.star-preview { margin-top: 67px; padding-top: 33px; border-top: 1px solid var(--line); }
.star-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.star-card { min-width: 0; padding: 24px; border: 1px solid #b99b5b2b; border-radius: 12px; background: #fffdf48c; transition: background .2s, transform .2s; }
.star-card:hover { background: #fffdf8db; transform: translateY(-3px); }
.repo-heading { display: flex; align-items: center; gap: 7px; color: #a98c5c; }
.repo-heading > svg { width: 14px; height: 14px; }
.repo-arrow { margin-left: auto; color: #bba57f; }
.repo-arrow svg { width: 12px; height: 12px; }
.repo-owner { display: flex; align-items: center; gap: 7px; color: #b19b80; font-size: 10px; }
.repo-title { margin: 10px 0 11px; font-size: 16px; font-weight: 600; letter-spacing: -.025em; line-height: 1.4; overflow-wrap: anywhere; }
.repo-description { color: #8d795f; font-size: 11px; line-height: 1.9; margin: 0; min-height: 42px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.repo-meta { display: flex; align-items: center; gap: 15px; margin-top: 19px; color: #ab967a; font-size: 9px; }
.repo-meta span { display: inline-flex; align-items: center; gap: 5px; }
.repo-meta svg { width: 12px; height: 12px; }
.page-intro { padding: 70px 0 39px; max-width: 780px; }
.page-intro .eyebrow { margin-bottom: 14px; }
.page-title { margin: 0; font-size: 45px; font-weight: 650; line-height: 1.4; letter-spacing: -.05em; }
.page-intro > p { margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.breadcrumb { display: block; width: fit-content; margin-bottom: 26px; color: #aa8f68; font-size: 10px; }
.breadcrumb:hover { color: var(--accent); }
.search-box { position: relative; display: flex; align-items: center; gap: 11px; max-width: 380px; height: 44px; border: 1px solid #c3ae8e48; border-radius: 8px; background: #fffdf569; padding: 0 15px; }
.search-box svg { width: 16px; height: 16px; color: #ad987b; }
.search-box input { width: 100%; height: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: transparent; font-size: 12px; color: var(--ink); }
.search-box input::placeholder { color: #b19f88; }
.search-box kbd { display: grid; place-items: center; flex-shrink: 0; width: 19px; height: 21px; border: 1px solid #cfbb975c; border-radius: 4px; color: #b59a6f; font-size: 10px; }
[data-post-browser] > .search-box { margin-bottom: 21px; max-width: none; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.results-toolbar .filter-bar { margin: 0; }
.results-toolbar .search-box { width: 250px; flex-shrink: 0; }
.results-toolbar > span, .results-count { color: #aa9579; font-size: 10px; }
.source-selector { display: flex; align-items: center; gap: 10px; color: #8d7658; font-size: 11px; }
.source-selector select { padding: 5px 26px 5px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fffaf0c9; color: var(--ink); font: inherit; }
.status-partial { color: #b54131; background: #ffe6c2; border-radius: 4px; padding: 1px 5px; }
.search-box:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.empty-state { padding: 65px 20px; text-align: center; color: var(--muted); border: 1px dashed #bda78766; border-radius: 12px; background: #fffcf744; }
.empty-state h2 { color: #78634c; font-size: 20px; font-weight: 500; }
.about-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: 70px; padding: 50px; }
.about-portrait { position: sticky; top: 135px; }
.about-portrait img { width: 100%; height: auto; border: 9px solid #fffb; border-radius: 50%; box-shadow: 0 25px 60px #80643c18; }
.about-portrait > span { display: block; text-align: center; margin-top: 25px; color: #a48b6c; font-size: 8px; letter-spacing: .08em; }
.about-copy h1 { margin-top: 0; }
.about-copy h2 { margin-top: 36px; font-size: 23px; font-weight: 600; }
.about-copy p { color: #8b7d6c; line-height: 2; }
.about-copy a { color: #a36f3f; border-bottom: 1px solid #bd9a6f55; }
.about-copy .button-primary { color: #fff5d7; border: 1px solid #ac3c27; margin-top: 12px; }
.about-copy > h2:first-of-type { margin-top: 0; }
.about-directions { margin-top: 55px; }
.direction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.about-direction { padding: 26px; transition: transform .2s, background .2s; }
.about-direction:hover { transform: translateY(-3px); background: #fffdf5e0; }
.about-direction > svg { width: 27px; height: 27px; color: #c59444; stroke-width: 1.4; }
.about-direction h3 { margin: 18px 0 10px; font-size: 17px; font-weight: 600; }
.about-direction h3 span { margin-left: 10px; font-size: 10px; font-weight: 400; color: #b49c73; }
.about-direction p { margin: 0; color: #947c58; font-size: 11px; line-height: 1.9; }
.about-direction small { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; color: #b18f58; font-size: 10px; }
.about-direction small svg { width: 13px; height: 13px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 830px) 230px; justify-content: space-between; align-items: start; gap: 55px; padding-top: 59px; }
.article-main { min-width: 0; }
.article-header { padding-bottom: 31px; border-bottom: 1px solid var(--line); }
.article-title { margin: 15px 0 18px; font-size: clamp(28px, 3vw, 39px); line-height: 1.5; font-weight: 650; letter-spacing: -.045em; overflow-wrap: anywhere; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; color: #a08b70; font-size: 11px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 13px; height: 13px; }
.article-summary { margin: 12px 0 0; font-size: 12px; line-height: 1.9; color: #927956; }
.article-end { display: flex; align-items: center; gap: 14px; padding-top: 25px; margin-top: 38px; border-top: 1px solid var(--line); }
.article-end img { width: 43px; height: 43px; border-radius: 50%; }
.article-end p { margin: 0; font-size: 11px; line-height: 1.9; }
.article-end p span { color: #a18a65; font-size: 10px; }
.article-end .text-link { margin-left: auto; font-size: 10px; }
.article-body { padding-top: 25px; font-size: 14px; line-height: 2; color: #675b4e; overflow-wrap: anywhere; }
.article-body h2, .article-body h3, .article-body h4 { color: #47392c; font-weight: 650; line-height: 1.6; scroll-margin-top: 110px; }
.article-body h2 { margin: 42px 0 16px; font-size: 24px; letter-spacing: -.03em; }
.article-body h3 { margin: 29px 0 13px; font-size: 19px; }
.article-body h4 { margin: 25px 0 12px; font-size: 16px; }
.article-body p { margin: 15px 0; }
.article-body a { color: #a26935; text-decoration: underline; text-decoration-color: #bc946866; text-underline-offset: 4px; }
.article-body strong { color: #554332; font-weight: 600; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { padding-left: 3px; margin: 5px 0; }
.article-body li::marker { color: #b49a76; }
.article-body blockquote { margin: 24px 0; padding: 8px 23px; border-left: 3px solid #c2a274; border-radius: 0 7px 7px 0; background: #e9dfce66; color: #97836a; }
.article-body blockquote p { margin: 7px 0; }
.article-body code { font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: .87em; background: #e9e1d4; padding: 3px 6px; border-radius: 4px; color: #a16636; }
.article-body pre { position: relative; overflow-x: auto; margin: 22px 0; padding: 22px; background: #302c25; color: #ded3be; border: 1px solid #fff8; border-radius: 10px; font-size: 12px; line-height: 1.85; tab-size: 4; }
.article-body pre code { display: block; width: max-content; min-width: 100%; padding: 0; color: inherit; background: none; border-radius: 0; font-size: inherit; }
.article-body figure.highlight { margin: 22px 0; overflow: hidden; border-radius: 10px; background: #302c25; color: #ded3be; }
.article-body figure.highlight table { width: 100%; border: 0; margin: 0; }
.article-body figure.highlight td { padding: 0; border: 0; }
.article-body figure.highlight pre { margin: 0; border: 0; border-radius: 0; }
.article-body figure.highlight .gutter { width: 40px; color: #897d68; user-select: none; }
.article-body figure.highlight .gutter pre { padding-right: 0; }
.article-body .comment { color: #918c78; }
.article-body .keyword, .article-body .selector-tag { color: #d4a173; }
.article-body .string, .article-body .attr { color: #b8c09a; }
.article-body .number, .article-body .literal { color: #cfac7b; }
.article-body .function, .article-body .title { color: #e0c391; }
.article-body table { display: block; overflow-x: auto; max-width: 100%; width: max-content; margin: 22px 0; border-collapse: collapse; font-size: 12px; }
.article-body th, .article-body td { padding: 10px 16px; border: 1px solid #cbb99d55; text-align: left; }
.article-body th { background: #e9dfce77; color: #756049; font-weight: 600; }
.article-body img { height: auto; margin: 24px auto; border-radius: 9px; border: 1px solid #e0d4bf; }
.article-body hr { height: 1px; margin: 35px 0; border: 0; background: var(--line); }
.copy-code { position: absolute; top: 8px; right: 9px; z-index: 1; padding: 3px 8px; border: 1px solid #a08d713f; border-radius: 4px; background: #403a30; color: #b7a88f; font-size: 9px; opacity: .5; transition: opacity .2s; }
pre:hover .copy-code, .copy-code:focus-visible { opacity: 1; }
.article-toc { position: sticky; top: 119px; margin-top: 7px; max-height: calc(100vh - 150px); overflow-y: auto; font-size: 11px; color: #a49175; scrollbar-width: thin; }
.article-toc .glass-card { padding: 22px; }
.article-toc h3 { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: #85633b; }
.article-toc .text-link { margin: 18px 0 0 8px; }
.article-toc ol { padding-left: 13px; list-style: none; }
.article-toc .toc { padding: 0; margin: 0; }
.article-toc li { padding: 4px 0; line-height: 1.8; }
.article-toc a { transition: color .2s; }
.article-toc a:hover, .article-toc a.is-active { color: #8f5a2d; }
.toc-number { opacity: .55; margin-right: 4px; }
.site-footer { margin-top: 88px; border-top: 1px solid var(--line); }
.footer-inner { width: min(1200px, calc(100% - 72px)); margin: auto; padding: 30px 0; display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.footer-brand { font-size: 11px; color: #927e62; }
.footer-brand strong { color: #857054; font-weight: 500; }
.footer-brand span { display: inline-block; margin-left: 16px; color: #b5a38a; font-size: 9px; }
.footer-brand p { margin: 6px 0 0; color: #b19975; font-size: 9px; }
.footer-brand a span { margin: 0 7px; }
.footer-links { display: flex; align-items: center; gap: 21px; color: #ad997c; font-size: 10px; }
.footer-links a:hover { color: #785636; }
.footer-links a { display: flex; align-items: center; gap: 5px; }
.footer-links svg { width: 10px; height: 10px; }
.fan-note { margin: -10px 0 20px; color: #b8a382; text-align: center; font-size: 8px; }
.back-to-top { position: fixed; right: 26px; bottom: 25px; z-index: 25; width: 37px; height: 37px; border: 1px solid #b5904780; border-radius: 10px; background: #ffe7a3db; box-shadow: 2px 3px 0 #b48a3433; backdrop-filter: blur(12px); color: #966e25; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { margin: auto; width: 16px; height: 16px; }
.mobile-menu { display: none; }
.reading-progress { position: fixed; z-index: 60; top: 0; left: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: #bb8d52; }
body[data-page="writeups"] .post-card, body[data-page="category"] .post-card, body[data-page="archive"] .post-card { min-height: 171px; }
body[data-page="post"] .page-shell { max-width: 1160px; }
@media (min-width: 1500px) {
  .hero { min-height: 660px; }
  .hero-title { font-size: 76px; }
}
@media (max-width: 1000px) {
  .page-shell, .footer-inner { width: calc(100% - 56px); }
  .header-inner { padding: 0 28px; }
  .nav-links { gap: 23px; margin-left: 0; }
  .hero { min-height: 555px; gap: 5px; }
  .hero-title { font-size: 56px; }
  .hero-art { min-height: 400px; }
  .avatar-disc { width: 285px; height: 285px; }
  .hero-orbit { width: 340px; height: 340px; }
  .floating-note { font-size: 10px; padding: 9px 12px; }
  .note-top { top: 51px; right: 0; }
  .note-bottom { bottom: 33px; left: 0; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 25px; }
  .glass-card { padding: 21px; }
  .profile-card { padding-top: 0; }
  .profile-cover { margin-left: -21px; margin-right: -21px; }
  .post-card { gap: 17px; padding: 14px; }
  .post-visual { width: 109px; }
  .post-title { font-size: 15px; }
  .post-content { padding-right: 0; }
  .star-card { padding: 20px; }
  .about-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 35px; padding: 35px; }
  .direction-grid { gap: 13px; }
  .about-direction { padding: 21px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 30px; }
  .results-toolbar { align-items: flex-start; flex-direction: column; gap: 15px; }
  .results-toolbar .search-box { width: 100%; max-width: none; }
}
@media (max-width: 850px) {
  :root { scroll-padding-top: 85px; }
  .page-shell, .footer-inner { width: calc(100% - 40px); }
  .header-inner { height: 68px; padding: 0 20px; }
  .brand-name { font-size: 14px; }
  .brand-avatar { width: 30px; height: 30px; }
  .nav-links { display: none; }
  .header-actions { gap: 5px; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { display: flex; flex-direction: column; gap: 0; padding: 8px 20px 18px; border-top: 1px solid var(--line); }
  .mobile-menu a { padding: 10px 7px; color: #8d765c; font-size: 13px; }
  .mobile-menu a.is-active { color: var(--accent); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 0; padding: 48px 0 58px; }
  .hero-copy { position: relative; z-index: 2; }
  .eyebrow { font-size: 9px; margin-bottom: 17px; }
  .hero-title { font-size: clamp(45px, 8vw, 62px); }
  .hero-description { margin-top: 18px; max-width: 420px; font-size: 12px; }
  .hero-actions { margin-top: 24px; }
  .hero-art { min-height: 350px; width: min(100%, 420px); margin: 14px auto 0; }
  .avatar-disc { width: 265px; height: 265px; }
  .hero-orbit { width: 310px; height: 310px; }
  .hero-orbit::before { inset: -18px; }
  .note-top { top: 35px; right: 3px; }
  .note-bottom { bottom: 25px; left: 1px; }
  .hero-index { margin-top: 27px; font-size: 8px; gap: 11px; }
  .scroll-cue { bottom: 22px; font-size: 8px; }
  .content-layout { grid-template-columns: 1fr; gap: 30px; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .profile-avatar { width: 56px; height: 56px; }
  .sidebar .glass-card { min-width: 0; }
  .section-title { font-size: 23px; }
  .section-heading { margin-bottom: 23px; }
  .post-visual { width: 116px; }
  .post-title { font-size: 16px; }
  .star-preview { margin-top: 44px; padding-top: 27px; }
  .star-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .page-intro { padding: 43px 0 29px; }
  .page-title { font-size: 36px; }
  .page-intro > p { font-size: 12px; }
  .about-layout { grid-template-columns: 1fr; padding: 30px; gap: 35px; }
  .about-portrait { position: static; max-width: 230px; margin: auto; }
  .about-portrait > span { margin-top: 18px; }
  .direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; padding-top: 34px; }
  .article-toc { display: none; }
  .article-title { font-size: 29px; }
  .article-body { font-size: 13px; }
  .article-body h2 { font-size: 22px; }
  .article-body pre { padding: 18px; font-size: 11px; }
  .site-footer { margin-top: 57px; }
  .footer-inner { align-items: flex-start; padding: 24px 0; }
  .footer-links { gap: 13px; font-size: 9px; }
  .back-to-top { right: 13px; bottom: 13px; }
}
@media (max-width: 480px) {
  .page-title { font-size: 31px; }
  .scene-background { object-position: 35% top; }
  .page-shell, .footer-inner { width: calc(100% - 36px); }
  .header-inner { padding: 0 18px; }
  .hero { padding-top: 38px; }
  .hero-title { font-size: 47px; }
  .hero-description { line-height: 1.95; }
  .button { min-height: 42px; padding: 10px 18px; font-size: 11px; }
  .hero-art { min-height: 325px; }
  .scene-background { object-position: 67% top; opacity: .72; }
  .scene-overlay { background: linear-gradient(90deg, #fff8e9cc, #fff8e970 60%, #fff8e933), linear-gradient(180deg, transparent 390px, #fff6e680 730px, var(--cream) 950px); }
  .avatar-disc { width: 245px; height: 245px; padding: 7px; }
  .hero-orbit { width: 286px; height: 286px; }
  .floating-note { padding: 8px 11px; font-size: 9px; }
  .note-top { top: 32px; right: -3px; }
  .note-bottom { bottom: 25px; left: -3px; }
  .filter-bar { gap: 6px; }
  .filter-chip { font-size: 9px; padding: 6px 10px; }
  .post-card { gap: 13px; min-height: 142px; padding: 12px; }
  .post-visual { width: 86px; min-height: 108px; }
  .visual-mark { font-size: 29px; }
  .visual-number { left: 8px; top: 7px; font-size: 7px; }
  .visual-label { font-size: 6px; bottom: 8px; }
  .post-title { font-size: 14px; line-height: 1.55; margin-top: 7px; }
  .post-excerpt { font-size: 10px; -webkit-line-clamp: 2; line-height: 1.8; }
  .post-meta { font-size: 8px; gap: 7px; }
  .post-category { font-size: 8px; }
  .post-tags { font-size: 8px; gap: 6px; margin-top: 7px; }
  .post-arrow { display: none; }
  .sidebar { gap: 11px; }
  .glass-card { padding: 18px 14px; border-radius: 12px; }
  .profile-card { padding-top: 0; }
  .profile-cover { margin-left: -14px; margin-right: -14px; font-size: 5px; letter-spacing: .06em; }
  .profile-card h3 { font-size: 13px; }
  .profile-card p { font-size: 9px; }
  .profile-stats { padding-top: 15px; margin-top: 15px; }
  .profile-stats strong { font-size: 17px; }
  .profile-stats > * { font-size: 8px; }
  .direction-link { font-size: 10px; padding: 7px 0; }
  .mini-label { font-size: 8px; margin-bottom: 12px; }
  .small-note { grid-column: 1 / -1; padding: 0; }
  .small-note p { font-size: 9px; }
  .small-note p br { display: none; }
  .star-grid { grid-template-columns: 1fr; gap: 11px; }
  .star-card { padding: 20px; }
  .repo-description { min-height: 0; }
  .repo-meta { margin-top: 14px; }
  .footer-inner { flex-direction: column; gap: 15px; }
  .footer-links { gap: 22px; }
  .article-title { font-size: 25px; }
  .article-body pre { margin-left: -3px; margin-right: -3px; padding: 16px; }
  .article-end { gap: 9px; }
  .article-end p { font-size: 10px; }
  .article-end p span { font-size: 8px; }
  .article-end .text-link { font-size: 8px; }
  .about-layout { padding: 25px; }
  .direction-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-art, .ambient-orb, .scene-background { transform: none !important; }
}
