@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/inter-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/inter-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/space-grotesk-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/jetbrains-mono-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}

@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.47"}.katex .katex-mathml{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}

:root {
  /* Dark-only palette (Blogtinum) */
  --bg: #0b0f14;
  --bg-elev: #121821;
  --border: #1e2a36;
  --text: #e6edf3;
  --muted: #8b98a5;
  --accent: #22d3ee;
  --accent-deep: #06b6d4;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --maxw: 1600px;
  --maxw-prose: 960px;
  --site-header-h: 60px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Fluid type scale */
  --fs-hero: clamp(30px, 5vw, 52px);
  --fs-h1: clamp(27px, 3.4vw, 40px);
  --fs-h2: clamp(21px, 2.4vw, 28px);
  --fs-h3: clamp(18px, 1.7vw, 21px);
  --fs-body: clamp(15px, 0.4vw + 14px, 17px);
  --fs-small: 13px;
  --lh-tight: 1.15;
  --lh-body: 1.7;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.4);

  /* Z-index layers */
  --z-header: 10;
  --z-overlay: 60;
  --z-drawer: 70;

  /* Aurora layout accents (dark-only, gradient) */
  --accent-2: #d946ef;
  --accent-2-deep: #a21caf;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --gradient-soft: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 16%, transparent),
    color-mix(in srgb, var(--accent-2) 14%, transparent)
  );
  --gradient-deep: radial-gradient(
      120% 140% at 85% 15%,
      color-mix(in srgb, var(--accent-2-deep) 40%, transparent),
      transparent 60%
    ),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent-deep) 28%, var(--bg)),
      color-mix(in srgb, var(--accent-2-deep) 22%, var(--bg))
    );
  --glow: 0 10px 30px color-mix(in srgb, var(--accent) 12%, transparent), 0 0 0 1px
      var(--accent-soft);
  --pill-bg: color-mix(in srgb, var(--accent) 12%, transparent);

  /* Shared rendered-content semantics */
  --content-code-bg: #0d1117;
  --content-success: #3fb950;
  --content-important: #c084fc;
  --content-important-soft: color-mix(in srgb, var(--content-important) 10%, transparent);
  --content-warning: #f5a623;
  --content-warning-soft: color-mix(in srgb, var(--content-warning) 10%, transparent);
  --content-danger: #ff8080;
  --content-danger-soft: color-mix(in srgb, var(--content-danger) 10%, transparent);
  --content-code-action-h: 32px;
  --content-table-min: 32rem;
}

/*
 * Theme: Nova (blue → magenta). Dark-only accent variant selected via
 * <html data-theme="nova">. The high-specificity `html[data-theme]` selector
 * intentionally outranks the per-site inline `:root{--accent}` override emitted
 * by the document shell. Only the accent hex vars are set here; --accent-soft,
 * --gradient, --gradient-soft, --gradient-deep, --glow, and --pill-bg all derive
 * from them. Add a new theme by copying this block with a new data-theme value.
 */
html[data-theme='nova'] {
  --accent: #3b82f6;
  --accent-deep: #2563eb;
  --accent-2: #d946ef;
  --accent-2-deep: #a21caf;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--site-header-h);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0;
}
.brand-identity {
  display: inline-flex;
  align-items: flex-end;
  min-width: 0;
  line-height: inherit;
}
.brand-name {
  color: var(--text);
}
.brand-signature {
  margin-left: var(--space-2);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  white-space: nowrap;
}
.brand-dot {
  color: var(--accent);
}
.nav a {
  color: var(--muted);
  margin-left: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.nav a:hover {
  color: var(--accent);
  text-decoration: none;
}
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 32px 0;
}
.sidebar {
  position: sticky;
  top: 84px;
  align-self: start;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.profile {
  text-align: center;
}
.profile img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.profile h2 {
  margin: 12px 0 4px;
  font-size: 18px;
}
.profile p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.muted {
  color: var(--muted);
}
.post-labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.ai-generated-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--space-5);
  padding: var(--space-1) var(--space-2);
  border: 1px solid color-mix(in srgb, var(--accent-2) 55%, var(--border));
  border-radius: var(--radius-sm);
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 12%, var(--bg-elev));
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.ai-generated-label__icon {
  flex: none;
}
.ai-generated-label--overlay {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(2, 6, 12, 0.68);
}
.ai-generated-disclosure {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border: 1px solid color-mix(in srgb, var(--accent-2) 45%, var(--border));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent-2) 8%, var(--bg-elev));
  color: var(--text);
}
.ai-generated-disclosure p {
  margin: 0;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.post-card .cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border-bottom: 1px solid var(--border);
}
.post-card .body {
  padding: 16px;
}
.post-card h3 {
  margin: 8px 0;
  font-size: 18px;
}
.post-card h3 a {
  color: var(--text);
}
.post-card h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}
.tags a,
.chip {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
  margin: 2px 4px 2px 0;
}
.article {
  max-width: var(--maxw-prose);
}
.article h1 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.article pre {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  overflow: auto;
}
.article code {
  font-family: var(--font-mono);
  font-size: 0.92em;
}
.article :not(pre) > code {
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 6px;
}
.toc {
  font-size: 14px;
}
.container-tip,
.container-warning,
.container-danger {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 10px 16px;
  margin: 16px 0;
}
.container-warning {
  border-color: #f5a623;
  background: rgba(245, 166, 35, 0.1);
}
.container-danger {
  border-color: #ff5c5c;
  background: rgba(255, 92, 92, 0.1);
}
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  padding: 28px 0;
  text-align: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 40px;
  min-height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.theme-toggle-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}
.theme-toggle-label {
  font-weight: 600;
  font-size: 14px;
}
/* The compact header icon toggle is desktop-only; the mobile menu hosts the labeled one. */
@media (max-width: 767px) {
  .header-actions .theme-toggle {
    display: none;
  }
}
/* Labeled full-width variant rendered inside the mobile navigation panel. */
.nav-panel .theme-toggle-wide {
  width: 100%;
  justify-content: flex-start;
  min-height: 46px;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 6px;
  padding: 14px 12px 10px;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}
.nav-panel .theme-toggle-wide:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.article-navigation-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.article-navigation-trigger:hover,
.article-navigation-trigger[aria-expanded='true'] {
  border-color: var(--accent);
  color: var(--accent);
}
.article-navigation-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}
.article-navigation-trigger-label {
  display: inline;
  font-weight: 600;
}
@media (max-width: 1399px) {
  .article-navigation-trigger {
    display: inline-flex;
  }
}
@media (max-width: 767px) {
  .article-navigation-trigger {
    padding: 8px;
  }
  .article-navigation-trigger-label {
    display: none;
  }
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 18px;
  cursor: pointer;
}
button.chip {
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.chip.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #001018;
  padding: 8px 14px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 860px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    position: static;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .nav a {
    margin-left: 0;
    padding: 6px 0;
  }
}

/* ---------- Aurora layout variant ---------- */
.aurora .site-header {
  border-bottom: none;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
}
.aurora .site-header .container {
  position: relative;
}
.aurora .site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0.55;
}
.aurora .brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-size: 18px;
  line-height: 1;
}
.aurora .site-header .brand {
  text-decoration: none;
}
.aurora .site-header .brand::after {
  content: '\258c';
  flex: 0 0 0.65em;
  margin-left: var(--space-1);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.72em;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.aurora .brand-name {
  color: var(--text);
  white-space: nowrap;
}
.aurora .brand-signature {
  margin-left: var(--space-2);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
}
.brand-mark {
  width: 24px;
  height: 26px;
  margin-right: 9px;
  flex: none;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--accent) 52%, transparent));
}
.aurora .site-header .brand-name,
.aurora .site-header .brand-signature {
  transition: color 0.16s ease;
}
.aurora .site-header .brand-mark {
  transition: filter 0.18s ease;
}
.aurora .site-header .brand:is(:hover, :focus-visible)::after {
  animation: banner-caret-blink 1.15s steps(1, end) infinite;
}
.aurora .site-header .brand:is(:hover, :focus-visible) .brand-name {
  color: var(--accent);
}
.aurora .site-header .brand:is(:hover, :focus-visible) .brand-signature {
  color: var(--accent-2);
}
.aurora .site-header .brand:is(:hover, :focus-visible) .brand-mark {
  filter: drop-shadow(0 0 9px color-mix(in srgb, var(--accent) 72%, transparent))
    drop-shadow(0 0 14px color-mix(in srgb, var(--accent-2) 28%, transparent));
}
.aurora .brand-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.aurora .layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}
.highlights-band {
  margin: 8px 0 4px;
}
.aurora-highlights {
  display: grid;
  gap: 20px;
  margin-top: 12px;
}
.aurora-highlights.n-1 {
  grid-template-columns: 1fr;
  grid-auto-rows: 340px;
}
.aurora-highlights.n-2 {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 300px;
}
.aurora-highlights.n-3 {
  grid-template-columns: 1.7fr 1fr;
  grid-auto-rows: 210px;
}
.aurora-highlights.n-3 .feature-lg {
  grid-row: span 2;
}
.feature-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: #fff;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: var(--glow);
  text-decoration: none;
}
.cover-media {
  position: absolute;
  inset: 0;
}
.feature-body {
  position: relative;
  width: 100%;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(2, 6, 12, 0.92), rgba(2, 6, 12, 0.32) 62%, transparent);
}
.feature-card .pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
}
.feature-card h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  margin: 10px 0 6px;
  color: #fff;
}
.feature-card h3 {
  font-size: 19px;
  line-height: 1.2;
  margin: 8px 0 6px;
  color: #fff;
}
.feature-card .excerpt {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 6px;
  max-width: 54ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature-card .card-meta {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 8px;
}
.aurora-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
  gap: 20px;
  margin-top: 12px;
}
.aurora-list-item {
  --list-accent: var(--accent);
  --list-rotation: 0deg;
  position: relative;
  display: block;
  min-height: 190px;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  color: var(--text);
  background: radial-gradient(
      circle at 92% 12%,
      color-mix(in srgb, var(--list-accent) 15%, transparent),
      transparent 42%
    ),
    var(--bg-elev);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.aurora-list-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    circle,
    color-mix(in srgb, var(--list-accent) 32%, transparent) 1px,
    transparent 1.5px
  );
  background-size: 24px 24px;
  opacity: 0.2;
  mask-image: linear-gradient(to left, #000, transparent 58%);
}
.aurora-list-item.visual-1,
.aurora-list-item.visual-3 {
  --list-accent: var(--accent-2);
}
.aurora-list-item.visual-1 {
  --list-rotation: 30deg;
}
.aurora-list-item.visual-2 {
  --list-rotation: -18deg;
}
.aurora-list-item.visual-3 {
  --list-rotation: 12deg;
}
.list-card-mark {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -24px;
  width: 156px;
  aspect-ratio: 1 / 1.15;
  transform: translateY(-50%) rotate(var(--list-rotation));
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  background: linear-gradient(145deg, var(--list-accent), var(--accent-2));
  opacity: 0.2;
}
.list-card-mark::after {
  content: '';
  position: absolute;
  inset: 12px;
  clip-path: inherit;
  background: var(--bg-elev);
}
.aurora-list-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: var(--glow);
  text-decoration: none;
}
.aurora-list-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.aurora-list-item .body {
  position: relative;
  z-index: 1;
  padding: 20px clamp(72px, 18%, 116px) 20px 22px;
}
.aurora-list-item h3 {
  margin: 8px 0;
  font-size: 18px;
  color: var(--text);
}
.aurora-list-item:hover h3 {
  color: var(--accent);
}
.aurora-list-item .excerpt {
  font-size: 14px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cover {
  display: block;
}
.cover-img,
.cover-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cover-fill {
  --cover-a: var(--accent);
  --cover-b: var(--accent-2);
  --cover-x: 76%;
  --cover-y: 38%;
  --cover-rotation: 0deg;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cover-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    circle,
    color-mix(in srgb, var(--text) 18%, transparent) 1px,
    transparent 1.5px
  );
  background-size: 28px 28px;
  opacity: 0.34;
  mask-image: linear-gradient(135deg, transparent 12%, #000 72%);
}
.cover-fill::after {
  content: '';
  position: absolute;
  left: var(--cover-x);
  top: var(--cover-y);
  width: min(42%, 240px);
  aspect-ratio: 1 / 1.15;
  transform: translate(-50%, -50%) rotate(var(--cover-rotation));
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  background: linear-gradient(145deg, var(--cover-a), var(--cover-b));
  box-shadow: 0 0 64px color-mix(in srgb, var(--cover-a) 35%, transparent);
  opacity: 0.34;
}
.aurora .post-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.aurora .post-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: var(--glow);
}
.aurora .post-card .cover {
  display: block;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--border);
}
.aurora .post-card .body {
  padding: 16px;
}
.aurora .post-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
}
.aurora .post-card h3 a {
  color: var(--text);
}
.aurora .post-card .excerpt {
  font-size: 14px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--pill-bg);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px;
  padding: 3px 10px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 12px;
}
.card-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}
.cover-0 {
  background: radial-gradient(circle at 18% 20%, var(--accent-soft), transparent 42%),
    linear-gradient(145deg, var(--bg) 12%, var(--bg-elev) 54%, var(--accent-deep));
}
.cover-1 {
  --cover-a: var(--accent-2);
  --cover-b: var(--accent);
  --cover-x: 28%;
  --cover-y: 32%;
  --cover-rotation: 30deg;
  background: radial-gradient(circle at 82% 76%, var(--gradient-soft), transparent 48%),
    linear-gradient(135deg, var(--bg-elev), var(--accent-2-deep));
}
.cover-2 {
  --cover-x: 68%;
  --cover-y: 60%;
  --cover-rotation: -18deg;
  background: radial-gradient(circle at 22% 78%, var(--accent-soft), transparent 44%),
    linear-gradient(155deg, var(--accent-deep), var(--bg) 54%, var(--accent-2-deep));
}
.cover-3 {
  --cover-a: var(--accent-2);
  --cover-b: var(--accent-deep);
  --cover-x: 32%;
  --cover-y: 62%;
  --cover-rotation: 12deg;
  background: radial-gradient(circle at 78% 18%, var(--gradient-soft), transparent 42%),
    linear-gradient(160deg, var(--bg), var(--accent-2-deep) 56%, var(--accent-deep));
}
.aurora-profile .avatar-ring {
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
  padding: 3px;
  border-radius: 50%;
  background: var(--gradient);
}
.aurora-profile .avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--bg-elev);
}
.profile .profile-signature {
  margin: 0 0 var(--space-3);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 700;
}
.cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.aurora-footer {
  position: relative;
  margin-top: 44px;
  border-top: 1px solid var(--border);
}
.aurora-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}
.aurora-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  padding: 36px 0 20px;
}
.aurora-footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0 0 12px;
}
.aurora-footer .cols a {
  color: var(--muted);
  display: block;
  padding: 4px 0;
  font-size: 14px;
}
.aurora-footer .cols .brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--text);
  font-size: 18px;
}
.aurora-footer .footer-description {
  max-width: 38ch;
  margin: var(--space-3) 0 0;
}
.aurora-footer .cols a:hover {
  color: var(--accent);
  text-decoration: none;
}
.aurora-footer .copyright {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
@media (max-width: 860px) {
  .aurora .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .aurora-footer .cols {
    grid-template-columns: 1fr 1fr;
  }
  .aurora-highlights.n-1,
  .aurora-highlights.n-2,
  .aurora-highlights.n-3 {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .aurora-highlights.n-3 .feature-lg {
    grid-row: auto;
  }
}
@media (max-width: 720px) {
  .aurora-list-item .body {
    padding-left: 18px;
  }
}

/* ---------- Aurora post page ---------- */
.aurora-article {
  width: 100%;
  min-width: 0;
  max-width: var(--maxw-prose);
  margin-inline: auto;
}
.aurora-article .post-head {
  margin-bottom: 8px;
}
.aurora-article h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 12px 0 12px;
}
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.post-author-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.post-author {
  color: var(--text);
  font-weight: 600;
}
.post-author-identity {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
}
.post-author-signature,
.author-card-signature {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 700;
}
.lang-links {
  margin: 8px 0 0;
}
.post-header {
  position: relative;
  margin: 6px 0 28px;
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border);
}
.post-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 3px;
  border-radius: 999px;
  background: var(--gradient);
}
.post-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
  margin: 12px 0 12px;
  color: var(--text);
}
.post-header .post-meta {
  color: var(--muted);
}
.post-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 500px;
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
}
.post-cover .cover-img {
  object-position: center;
}
.prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.pn-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elev);
  color: var(--text);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.pn-card:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: var(--glow);
  text-decoration: none;
}
.pn-card.next {
  text-align: right;
}
.pn-label {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.pn-title {
  font-weight: 600;
}
@media (max-width: 640px) {
  .prev-next {
    grid-template-columns: 1fr;
  }
}

/* ---------- MS-Learn-style content ---------- */
.article-body h2,
.article-body h3 {
  scroll-margin-top: calc(var(--site-header-h) + var(--space-5));
}
.article-body h2 {
  margin-top: 1.8em;
}
.article-body h3 {
  margin-top: 1.4em;
}
.article-body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.article-body > *,
.code-block,
.tabs,
.table-scroll,
.math-block,
.mermaid {
  min-width: 0;
  max-width: 100%;
}
.article-body p,
.article-body li,
.article-body dd,
.article-body a,
.article-body :not(pre) > code {
  overflow-wrap: anywhere;
}
.article-body img,
.article-body video,
.article-body iframe,
.article-body svg {
  max-width: 100%;
}
.article-body iframe,
.article-body video {
  width: 100%;
}
.header-anchor {
  margin-left: 8px;
  color: var(--muted);
  font-weight: 400;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.article-body h2:hover .header-anchor,
.article-body h3:hover .header-anchor,
.header-anchor:focus {
  opacity: 1;
  color: var(--accent);
}

/* Code block chrome */
.code-block {
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #0d1117;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: color-mix(in srgb, var(--bg-elev) 70%, #0d1117);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.code-lang {
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
.code-copy {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 12px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
.code-copy:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.code-copy.copied {
  color: #3fb950;
  border-color: #3fb950;
}
.code-block pre {
  margin: 0;
  border: 0;
  border-radius: 0;
  max-width: 100%;
  overflow-x: auto;
}
.code-block .shiki {
  background: #0d1117 !important;
}

/* Admonitions */
.admonition-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.container-note {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 10px 16px;
  margin: 16px 0;
}
.container-note .admonition-title,
.container-tip .admonition-title {
  color: var(--accent);
}
.container-important {
  border-left: 3px solid #a855f7;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 8px;
  padding: 10px 16px;
  margin: 16px 0;
}
.container-important .admonition-title {
  color: #c084fc;
}
.container-caution {
  border-left: 3px solid #ff5c5c;
  background: rgba(255, 92, 92, 0.1);
  border-radius: 8px;
  padding: 10px 16px;
  margin: 16px 0;
}
.container-caution .admonition-title,
.container-danger .admonition-title {
  color: #ff8080;
}
.container-warning .admonition-title {
  color: #f5a623;
}

/* Content tables */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}
.article-body th,
.article-body td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}
.article-body thead th {
  background: var(--bg-elev);
  font-weight: 600;
}
.article-body tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--bg-elev) 45%, transparent);
}

/* Wide rendered content scrolls inside the article instead of widening the page. */
.math-block,
.mermaid {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  -webkit-overflow-scrolling: touch;
}
.math-block .katex-display {
  width: max-content;
  min-width: 100%;
  margin: 0;
}
.mermaid {
  white-space: pre;
}
.mermaid[data-processed='true'] {
  white-space: normal;
}
.mermaid svg {
  display: block;
  height: auto;
  margin: 0 auto;
}

/* Code line highlight (```ts {1,3-4}) */
.code-block .shiki .line.highlighted {
  display: block;
  margin: 0 -14px;
  padding: 0 14px;
  background: rgba(34, 211, 238, 0.12);
  box-shadow: inset 3px 0 var(--accent);
}

/* ---------- Reading-progress bar ---------- */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
}
.scroll-progress > i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient);
}

/* ---------- Tabbed content ---------- */
.tabs {
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 8px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
}
.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  border-radius: 7px;
  padding: 5px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.tab-btn:hover {
  color: var(--text);
}
.tab-btn.active {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  background: var(--pill-bg);
}
.tab-panel {
  padding: 14px 16px;
}
.tabs-ready .tab-panel {
  display: none;
}
.tabs-ready .tab-panel.active {
  display: block;
}
.tabs:not(.tabs-ready) .tab-panel + .tab-panel {
  border-top: 1px solid var(--border);
}
.tabs:not(.tabs-ready) .tab-panel::before {
  content: attr(data-tab);
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 6px;
}

/* ---------- Archives timeline ---------- */
.archive h1 {
  margin-bottom: 8px;
}
.archive-year {
  margin-top: 24px;
}
.archive-year-label {
  font-size: 22px;
  color: var(--accent);
  margin: 0 0 8px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--border);
}
.timeline-item {
  position: relative;
  padding: 8px 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -23px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}
.timeline-link {
  display: flex;
  gap: 14px;
  align-items: baseline;
  color: var(--text);
}
.timeline-link:hover {
  text-decoration: none;
}
.timeline-link:hover .timeline-title {
  color: var(--accent);
}
.timeline-date {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  flex: none;
  min-width: 92px;
}
.timeline-title {
  font-weight: 600;
}
.timeline-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  min-width: 0;
}
@media (max-width: 560px) {
  .ai-generated-disclosure {
    grid-template-columns: minmax(0, 1fr);
  }
  .ai-generated-disclosure .ai-generated-label {
    width: max-content;
  }
  .timeline-link {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-1);
  }
  .timeline-date {
    min-width: 0;
  }
}

/* ---------- Tags cloud ---------- */
.tags-page h1 {
  margin-bottom: 12px;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
}
.tag-cloud-item {
  color: var(--muted);
  line-height: 1.4;
}
.tag-cloud-item:hover {
  color: var(--accent);
  text-decoration: none;
}
.tag-cloud-item sup {
  font-size: 0.6em;
  color: var(--accent);
  margin-left: 2px;
}

/* ---------- Aurora topic topology ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tag-topology-page {
  width: 100%;
  min-width: 0;
  padding: var(--space-5) 0 var(--space-8);
}
.tag-topology-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--space-6);
  margin-top: var(--space-4);
  padding: var(--space-6) 0 var(--space-5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tag-topology-copy {
  min-width: 0;
}
.tag-topology-copy h1 {
  margin: var(--space-2) 0;
}
.tag-topology-copy p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
}
.tag-topology-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  align-self: stretch;
  width: min(100%, 390px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tag-topology-stat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3) var(--space-4);
}
.tag-topology-stat + .tag-topology-stat {
  border-left: 1px solid var(--border);
}
.tag-topology-stat strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--fs-h3);
  font-variant-numeric: tabular-nums;
}
.tag-topology-stat span {
  color: var(--muted);
  font-size: var(--fs-small);
  overflow-wrap: anywhere;
}
.tag-topology-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 560px) auto;
  justify-content: space-between;
  gap: var(--space-4);
  margin: var(--space-5) 0;
}
.tag-search-control {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  min-height: 44px;
  padding: 0 var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  color: var(--muted);
}
.tag-search-control:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
  color: var(--accent);
}
.tag-search-control svg {
  flex: none;
}
.tag-search-control input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}
.tag-search-control input::placeholder {
  color: var(--muted);
}
.tag-view-control {
  display: inline-flex;
  align-self: start;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
}
.tag-view-control button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: 112px;
  min-height: 42px;
  padding: 0 var(--space-3);
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.tag-view-control button + button {
  border-left: 1px solid var(--border);
}
.tag-view-control button:hover,
.tag-view-control button.active {
  background: var(--accent-soft);
  color: var(--accent);
}
.tag-view-control button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.tag-topology-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  align-items: start;
  gap: var(--space-6);
  min-width: 0;
}
.tag-topology-map {
  min-width: 0;
  border-top: 1px solid var(--border);
  background-image: linear-gradient(
      color-mix(in srgb, var(--border) 42%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 42%, transparent) 1px, transparent 1px);
  background-size: var(--space-6) var(--space-6);
}
.tag-namespace {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  min-width: 0;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.tag-namespace-head {
  min-width: 0;
  padding: var(--space-4);
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
}
.tag-namespace-path {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.tag-namespace-path svg {
  flex: none;
  color: var(--accent);
}
.tag-namespace.is-cross-cutting .tag-namespace-path,
.tag-namespace.is-cross-cutting .tag-namespace-path svg {
  color: var(--accent-2);
}
.tag-namespace-meta {
  display: block;
  margin-top: var(--space-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}
.tag-namespace-track {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  min-width: 0;
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-6);
}
.tag-namespace-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--space-3);
  width: 1px;
  background: linear-gradient(var(--accent), var(--accent-2));
  opacity: 0.5;
}
.tag-topic-node {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 100%;
  min-height: 44px;
  margin-left: var(--space-3);
  padding: 0 var(--space-2);
  border: 1px solid transparent;
  border-bottom-color: color-mix(in srgb, var(--border) 72%, transparent);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  transition:
    color 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    opacity 140ms ease;
}
.tag-topic-node::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  width: var(--space-3);
  border-top: 1px solid var(--border);
}
.tag-node-port {
  position: absolute;
  top: calc(50% - var(--space-1));
  left: calc(-1 * var(--space-3) - var(--space-1));
  width: var(--space-2);
  height: var(--space-2);
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--border);
  box-shadow: 0 0 0 1px var(--border);
}
.tag-node-label {
  display: flex;
  min-width: 0;
  gap: 0;
  overflow-wrap: anywhere;
}
.tag-node-label > :first-child {
  color: var(--accent);
}
.tag-node-count {
  flex: none;
  color: var(--muted);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}
.tag-topic-node.is-active {
  color: var(--text);
  font-size: 0.925rem;
  font-weight: 600;
}
.tag-topic-node.is-core {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}
.tag-topic-node:hover,
.tag-topic-node:focus-visible,
.tag-topic-node.is-selected {
  border-color: color-mix(in srgb, var(--accent) 56%, var(--border));
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
  opacity: 1;
}
.tag-topic-node:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.tag-topic-node.is-selected .tag-node-port {
  background: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 0 14px var(--accent);
}
.tag-topic-node.is-related {
  border-bottom-color: var(--accent-2);
  color: color-mix(in srgb, var(--accent-2) 72%, var(--text));
}
.tag-topic-node.is-related .tag-node-port {
  background: var(--accent-2);
  box-shadow: 0 0 0 1px var(--accent-2);
}
.tag-topic-node.is-muted {
  opacity: 0.38;
}
.tag-topic-inspector {
  position: sticky;
  top: calc(var(--site-header-h) + var(--space-4));
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(
      145deg,
      color-mix(in srgb, var(--accent) 7%, transparent),
      transparent 45%
    ),
    var(--bg-elev);
}
.tag-inspector-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  padding: 0 var(--space-3);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 64%, transparent);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}
.tag-inspector-head svg {
  color: var(--accent);
}
.tag-inspector-body {
  min-width: 0;
  padding: var(--space-4);
}
.tag-inspector-topic {
  display: block;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--fs-h3);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.tag-inspector-topic:hover {
  color: var(--accent);
  text-decoration: none;
}
.tag-inspector-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: var(--space-4) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tag-inspector-facts div {
  min-width: 0;
  padding: var(--space-3) 0;
}
.tag-inspector-facts div + div {
  padding-left: var(--space-3);
  border-left: 1px solid var(--border);
}
.tag-inspector-facts dt {
  color: var(--muted);
  font-size: var(--fs-small);
}
.tag-inspector-facts dd {
  margin: var(--space-1) 0 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  overflow-wrap: anywhere;
}
.tag-inspector-relations h3 {
  margin: 0 0 var(--space-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  text-transform: uppercase;
}
.tag-inspector-relations ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.tag-inspector-relations li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 36px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}
.tag-inspector-relations li a {
  min-width: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}
.tag-inspector-relations li a:hover {
  color: var(--accent);
  text-decoration: none;
}
.tag-inspector-relations li span {
  flex: none;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}
.tag-inspector-relations p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-small);
}
.tag-inspector-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 44px;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-weight: 700;
}
.tag-inspector-open:hover {
  color: var(--text);
  text-decoration: none;
}
.tag-symbol-index {
  min-width: 0;
  border-top: 1px solid var(--border);
}
.tag-symbol-group {
  display: grid;
  grid-template-columns: minmax(48px, 72px) minmax(0, 1fr);
  gap: var(--space-4);
  min-width: 0;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}
.tag-symbol-letter {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-h2);
}
.tag-symbol-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 0 var(--space-5);
  min-width: 0;
}
.tag-symbol-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  min-height: 44px;
  border-bottom: 1px dashed color-mix(in srgb, var(--border) 72%, transparent);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}
.tag-symbol-item:hover {
  color: var(--accent);
  text-decoration: none;
}
.tag-index-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tag-index-count {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.tag-topology-empty {
  display: grid;
  justify-items: center;
  padding: var(--space-8) var(--space-4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
}
.tag-topology-empty svg {
  color: var(--accent);
}
.tag-topology-empty h2 {
  margin: var(--space-3) 0 0;
  color: var(--text);
  font-size: var(--fs-h3);
}
.tag-topology-empty p {
  margin: var(--space-1) 0 0;
}
@media (max-width: 1024px) {
  .tag-topology-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .tag-topic-inspector {
    position: static;
  }
  .tag-inspector-body {
    display: grid;
    grid-template-columns: minmax(160px, 0.8fr) minmax(200px, 1fr) minmax(220px, 1.2fr);
    align-items: start;
    gap: var(--space-5);
  }
  .tag-inspector-facts {
    margin: 0;
  }
  .tag-inspector-relations h3 {
    margin-top: 0;
  }
  .tag-inspector-open {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}
@media (max-width: 720px) {
  .tag-topology-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .tag-topology-summary {
    justify-self: start;
  }
  .tag-topology-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }
  .tag-view-control {
    width: 100%;
  }
  .tag-view-control button {
    min-width: 0;
    flex: 1;
  }
  .tag-namespace {
    grid-template-columns: minmax(0, 1fr);
  }
  .tag-namespace-head {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .tag-namespace-track {
    align-items: stretch;
    flex-direction: column;
    padding-left: var(--space-7);
  }
  .tag-topic-node {
    width: 100%;
    margin-left: 0;
  }
  .tag-namespace-track::before {
    left: var(--space-5);
  }
  .tag-topic-node::before {
    right: 100%;
    width: var(--space-5);
  }
  .tag-node-port {
    left: calc(-1 * var(--space-5) - var(--space-1));
  }
  .tag-inspector-body {
    display: block;
  }
  .tag-inspector-facts {
    margin: var(--space-4) 0;
  }
  .tag-inspector-open {
    margin-top: var(--space-4);
  }
}
@media (max-width: 420px) {
  .tag-topology-summary {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  .tag-topology-stat {
    min-width: 96px;
    flex: 1 1 30%;
  }
  .tag-topology-stat + .tag-topology-stat {
    border-left: 1px solid var(--border);
  }
  .tag-symbol-group {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: var(--space-3);
  }
}

/* ---------- Aurora developer profile ---------- */
.about-page {
  min-width: 0;
  padding: var(--space-5) 0 var(--space-8);
}

/* Hero — terminal/editor-style developer card */
.about-hero {
  position: relative;
  margin-top: var(--space-4);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 45%),
    linear-gradient(305deg, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 45%),
    var(--bg-elev);
  box-shadow: var(--shadow-1);
}
.about-window {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
}
.about-dots {
  display: inline-flex;
  gap: 7px;
}
.about-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
}
.about-dot:nth-child(1) {
  background: var(--accent);
}
.about-dot:nth-child(2) {
  background: var(--accent-2);
}
.about-tab {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}
.about-hero-body {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-7);
  padding: var(--space-7);
}
.about-avatar-frame {
  width: min(100%, 240px);
  aspect-ratio: 1;
  justify-self: center;
  padding: var(--space-1);
  overflow: hidden;
  background: var(--gradient);
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
  filter: drop-shadow(0 0 24px color-mix(in srgb, var(--accent) 28%, transparent));
}
.about-avatar-frame > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--bg-elev);
  clip-path: inherit;
}
.about-avatar-frame > .about-avatar-fallback {
  padding: 28%;
  object-fit: contain;
}
.about-identity {
  min-width: 0;
}
.about-identity h1 {
  margin: var(--space-2) 0 var(--space-3);
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
}
/* Exact developer signature · role · location */
.about-signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}
.about-sig-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.about-sig-item + .about-sig-item::before {
  content: '·';
  margin: 0 var(--space-3);
  color: color-mix(in srgb, var(--muted) 55%, transparent);
}
.about-sig-signature {
  color: var(--accent);
}
.about-signature svg {
  color: var(--accent);
}
.about-bio {
  max-width: 66ch;
  margin: var(--space-5) 0 0;
  color: var(--text);
  font-size: var(--fs-h3);
  line-height: var(--lh-body);
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.about-social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
}
.about-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* Numbered sections (focus / toolchain / notes) */
.about-section {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: var(--space-5) var(--space-7);
  padding: var(--space-7) 0;
  border-bottom: 1px solid var(--border);
}
.about-section-head h2 {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-h2);
}

/* 01 Current focus — cards that fill the width */
.about-focus-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.about-focus-list li {
  min-width: 0;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-left: 3px solid color-mix(in srgb, var(--accent) 60%, var(--border));
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  color: var(--text);
  font-weight: 600;
  line-height: var(--lh-body);
}
.about-focus-index {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}

/* 02 Toolchain — grouped chips */
.about-tool-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6) var(--space-5);
}
.about-tool-group {
  min-width: 0;
}
.about-tool-group-label {
  display: block;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.about-tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0;
  margin: 0;
  list-style: none;
}
.about-tool {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}
.about-tool svg {
  flex: none;
  color: var(--accent);
}

/* 03 Notes — narrative, capped to a readable measure */
.about-story {
  max-width: var(--maxw-prose);
  margin: 0;
}
@media (max-width: 1399px) {
  .about-signature {
    display: grid;
    justify-items: start;
    gap: var(--space-2);
  }
  .about-sig-item {
    min-width: 0;
    max-width: 100%;
  }
  .about-sig-item + .about-sig-item::before {
    content: none;
  }
  .about-sig-item > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .about-signature svg {
    flex: none;
  }
}
@media (max-width: 1024px) {
  .about-hero-body,
  .about-section {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }
  .about-hero-body {
    text-align: center;
  }
  .about-avatar-frame {
    width: min(62vw, 220px);
  }
  .about-signature {
    justify-items: center;
  }
  .about-sig-item {
    display: block;
    text-align: center;
  }
  .about-sig-item > span {
    display: inline;
  }
  .about-signature svg {
    display: inline;
    margin-right: var(--space-2);
    vertical-align: text-bottom;
  }
  .about-links {
    justify-content: center;
  }
  .about-bio {
    margin-inline: auto;
  }
}
@media (max-width: 560px) {
  .about-page {
    padding-top: var(--space-4);
  }
  .about-section {
    padding: var(--space-6) 0;
  }
  .about-hero-body {
    padding: var(--space-5);
  }
}

/* ==========================================================================
   v0.5.0 — Responsive overhaul + redesign (MS Dev Blogs / MS Learn inspired)
  Aurora dev site focus; dark-only. Later rules intentionally override above.
   ========================================================================== */

/* --- Fluid typography + web fonts --- */
body {
  font-size: var(--fs-body);
}
h1,
h2,
h3,
.brand {
  font-family: var(--font-display, var(--font-sans));
}
.article h1,
.article-body h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
}
.article-body h2 {
  font-size: var(--fs-h2);
}
.article-body h3 {
  font-size: var(--fs-h3);
}

/* --- Responsive container padding --- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .layout {
    gap: 24px;
    padding: 24px 0;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
}

/* --- Larger touch targets on touch devices --- */
@media (pointer: coarse) {
  .nav a,
  .toc a,
  .aurora-footer .cols a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }
}

/* --- Breadcrumbs (MS Learn) --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0 4px;
}
.breadcrumbs a {
  color: var(--muted);
}
.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration: none;
}
.breadcrumbs .sep {
  opacity: 0.45;
}
.breadcrumbs .current {
  color: var(--text);
}

/* --- Post top bar: Back link (progressive history.back()) + breadcrumb --- */
.post-topbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 0 4px;
}
.post-topbar > .breadcrumbs {
  padding: 0;
}
.post-topbar-plain {
  padding: 18px 0 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
.back-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}
.back-link .back-ico {
  flex: none;
}

/* --- Header layout: desktop nav inline, compact modal for mobile --- */
.nav-desktop {
  display: flex;
}
.nav-toggle {
  display: none;
}
@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
  }
}

/* --- Mobile navigation modal --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(68px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
    max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}
.nav-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.62);
  backdrop-filter: blur(3px);
  animation: overlay-fade-in 0.18s ease-out;
}
.nav-panel {
  position: relative;
  width: clamp(210px, 62vw, 260px);
  max-height: calc(100dvh - 82px - env(safe-area-inset-top));
  overflow-y: auto;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: nav-panel-in 0.18s ease-out;
}
.nav-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  margin-bottom: 4px;
  padding-left: 10px;
}
.nav-panel-head span {
  font-family: var(--font-display, var(--font-sans));
  font-weight: 700;
}
.nav-panel a {
  display: flex;
  align-items: center;
  min-height: 46px;
  color: var(--text);
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 8px;
}
.nav-panel a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}
.drawer-close,
.search-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  font-size: 16px;
  cursor: pointer;
  flex: none;
}

/* --- Search: trigger button + full-screen overlay (desktop + mobile) --- */
.search {
  display: none;
}
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}
.search-trigger:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.search-ico {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: none;
}
.search-ico::after {
  content: '';
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
@media (max-width: 560px) {
  .search-label {
    display: none;
  }
  .search-trigger {
    padding: 8px;
  }
}
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10vh 16px 16px;
}
.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.72);
  backdrop-filter: blur(4px);
}
.search-panel {
  position: relative;
  width: min(680px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  max-height: 78vh;
  display: flex;
  flex-direction: column;
}
.search-panel-head {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.search-panel-head input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px;
}
.search-panel-head input:focus-visible {
  border-color: var(--accent);
}
.search-results {
  overflow-y: auto;
  padding: 6px;
}
.search-hit {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
}
.search-hit:hover {
  background: var(--accent-soft);
  text-decoration: none;
}
.search-hit-title {
  display: block;
  font-weight: 600;
}
.search-hit-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.search-hit-heading .ai-generated-label {
  flex: none;
}
.search-hit-ex {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
}

/* --- Post navigation: category rail + article + contents rail --- */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    'breadcrumbs'
    'article';
  row-gap: 0;
  align-items: start;
  padding-bottom: 32px;
}
.post-layout > .post-topbar {
  grid-area: breadcrumbs;
  width: 100%;
  max-width: var(--maxw-prose);
  margin-inline: auto;
}
.post-layout > .article {
  grid-area: article;
  width: 100%;
  margin-inline: auto;
}
.post-browse-slot {
  grid-area: post-browse;
}
.article-nav-slot {
  grid-area: article-nav;
}
.post-browse-slot,
.article-nav-slot {
  display: none;
}
.post-navigation-control {
  display: flex;
}
.post-browse {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.post-browse-rail {
  max-height: calc(100vh - var(--site-header-h) - var(--space-6));
  max-height: calc(100dvh - var(--site-header-h) - var(--space-6));
  padding-right: var(--space-4);
  border-right: 1px solid var(--border);
}
.post-browse-label {
  display: block;
  margin-bottom: var(--space-3);
}
.post-browse-track {
  min-height: 0;
}
.post-browse-rail .post-browse-track {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: var(--space-2);
}
.post-browse-group {
  border-bottom: 1px solid var(--border);
}
.post-browse-group:first-child {
  border-top: 1px solid var(--border);
}
.post-browse-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.post-browse-group summary::-webkit-details-marker {
  display: none;
}
.post-browse-group summary::marker {
  content: '';
}
.post-browse-group summary:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.post-browse-category {
  min-width: 0;
  overflow-wrap: anywhere;
}
.post-browse-count {
  min-width: 24px;
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.post-browse-chevron {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 0.15s ease;
}
.post-browse-group[open] .post-browse-chevron {
  transform: rotate(180deg);
}
.post-browse-group ul {
  margin: 0;
  padding: 0 0 var(--space-2);
  list-style: none;
}
.post-browse-link {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 40px;
  padding: 7px var(--space-2) 7px var(--space-4);
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.post-browse-link:hover,
.post-browse-link.active {
  border-left-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}
.post-browse-link.active {
  font-weight: 650;
}
.article-nav {
  min-width: 0;
}
.article-nav-aurora {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--site-header-h) - var(--space-6));
  max-height: calc(100dvh - var(--site-header-h) - var(--space-6));
  padding: var(--space-4);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--bg-elev) 84%, transparent);
  box-shadow: var(--shadow-1);
}
.article-nav-label {
  display: block;
  margin-bottom: 10px;
}
.article-nav-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.article-nav-aurora .article-nav-content {
  min-height: 0;
  flex: 1;
}
.article-nav-track {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.article-nav-aurora .article-nav-track {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: var(--space-1);
}
.article-nav-link {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px 8px calc(10px + var(--toc-depth, 0) * 12px);
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.article-nav-top-icon {
  width: 16px;
  height: 16px;
  margin-right: var(--space-2);
  flex: none;
}
.article-nav-aurora .article-nav-top {
  margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}
.article-nav-link:hover,
.article-nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-left-color: var(--accent);
  text-decoration: none;
}
.article-nav-default .article-nav-label {
  display: none;
}
.article-nav-default {
  display: flex;
  max-height: calc(100vh - var(--site-header-h) - var(--space-6));
  max-height: calc(100dvh - var(--site-header-h) - var(--space-6));
  flex-direction: column;
  padding-left: var(--space-4);
  overflow: hidden;
  border-left: 1px solid var(--border);
}
.article-nav-default .article-nav-content,
.article-nav-default .article-nav-track {
  min-height: 0;
}
.article-nav-default .article-nav-track {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.article-nav-default .article-nav-link {
  min-height: 0;
  padding: 4px 0 4px calc(var(--toc-depth, 0) * 12px);
  border: 0;
  border-radius: 0;
  background: transparent;
}
.article-nav-default .article-nav-link:hover,
.article-nav-default .article-nav-link.active {
  border: 0;
  background: transparent;
  color: var(--accent);
}
@media (min-width: 1400px) {
  .post-layout {
    grid-template-columns:
      minmax(280px, 1fr) minmax(0, var(--maxw-prose))
      minmax(280px, 1fr);
    grid-template-areas:
      'post-browse breadcrumbs .'
      'post-browse article article-nav';
  }
  .post-layout > .post-rail-slot {
    display: block;
    width: min(280px, calc(100% - var(--space-4)));
    position: sticky;
    top: calc(var(--site-header-h) + var(--space-4));
    align-self: start;
  }
  .post-layout > .post-browse-slot {
    justify-self: start;
  }
  .post-layout > .article-nav-slot {
    justify-self: end;
  }
}

/* --- Full-screen article navigation dialog (mobile + iPad) --- */
.article-navigation-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  min-height: 100vh;
  min-height: 100dvh;
}
.article-navigation-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.article-navigation-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-width: 0;
  background: var(--bg);
  color: var(--text);
}
.article-navigation-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: calc(var(--site-header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(var(--space-4), env(safe-area-inset-right)) 0
    max(var(--space-4), env(safe-area-inset-left));
  border-bottom: 1px solid var(--border);
}
.article-navigation-dialog-head h2 {
  margin: 2px 0 0;
  font-size: var(--fs-h3);
}
.article-navigation-close {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}
.article-navigation-dialog-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-5) max(var(--space-4), env(safe-area-inset-right))
    max(var(--space-5), env(safe-area-inset-bottom)) max(var(--space-4), env(safe-area-inset-left));
}
.post-navigation-dialog .article-navigation-dialog-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.post-navigation-tabs {
  display: flex;
  width: min(100%, 720px);
  flex: none;
  gap: var(--space-1);
  margin: 0 auto var(--space-4);
  padding: var(--space-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
}
.post-navigation-tab {
  min-width: 0;
  min-height: 44px;
  flex: 1;
  border: 0;
  border-radius: calc(var(--radius-sm) - 2px);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.post-navigation-tab:hover,
.post-navigation-tab.active {
  background: var(--accent-soft);
  color: var(--accent);
}
.post-navigation-panel {
  width: min(100%, 720px);
  min-height: 0;
  flex: 1;
  margin: 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.post-navigation-panel[hidden] {
  display: none;
}
.post-browse-overlay .post-browse-label {
  display: none;
}
.post-browse-overlay .post-browse-group summary {
  min-height: 48px;
  padding-inline: var(--space-3);
}
.post-browse-overlay .post-browse-link {
  min-height: 48px;
  padding-inline: var(--space-5) var(--space-3);
}
.article-nav-overlay {
  width: min(100%, 720px);
  margin: 0 auto;
}
.article-nav-overlay .article-nav-label {
  display: none;
}
.article-nav-overlay .article-nav-content,
.article-nav-overlay .article-nav-track {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-nav-overlay .article-nav-link {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px 12px calc(14px + var(--toc-depth, 0) * 16px);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  white-space: normal;
}
.article-nav-overlay .article-nav-link:hover,
.article-nav-overlay .article-nav-link.active {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
  background: var(--accent-soft);
  color: var(--accent);
}
.article-nav-overlay .article-nav-top {
  margin-bottom: var(--space-3);
  border-color: var(--border);
}

/* --- Content table horizontal-scroll wrapper --- */
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}
.table-scroll table {
  margin: 0;
  border: 0;
  min-width: 520px;
}
.table-scroll[data-overflow='true']::after {
  content: '→ swipe';
  display: block;
  text-align: right;
  font-size: 11px;
  color: var(--muted);
  padding: 2px 8px;
  border-top: 1px solid var(--border);
}

/* --- Post actions (copy link) + last-updated --- */
.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}
.copy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
.copy-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.copy-link.copied {
  color: #3fb950;
  border-color: #3fb950;
}
.post-updated {
  color: var(--muted);
  font-style: italic;
}

/* --- Image lightbox --- */
.article-body img {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: grid;
  place-items: center;
  background: rgba(2, 6, 12, 0.9);
  padding: 24px;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: var(--shadow-2);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

@keyframes overlay-fade-in {
  from {
    opacity: 0;
  }
}
@keyframes nav-panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes banner-caret-blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0.18;
  }
}
.home-banner-caret {
  animation: banner-caret-blink 1.15s steps(1, end) infinite;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .nav-overlay-backdrop,
  .nav-panel,
  .home-banner-caret,
  .aurora .site-header .brand:is(:hover, :focus-visible)::after {
    animation: none;
  }
  .home-banner-caret,
  .aurora .site-header .brand:is(:hover, :focus-visible)::after {
    opacity: 1;
  }
}

/* --- iPad-portrait tuning (768px): keep highlights 2-up, footer 3-up --- */
@media (min-width: 641px) and (max-width: 1024px) {
  .aurora-highlights.n-3 {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
  }
  .aurora-highlights.n-3 .feature-lg {
    grid-row: auto;
    grid-column: span 2;
  }
}

/* --- Series banner --- */
.series-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 9px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
}
.series-banner:hover {
  text-decoration: none;
  border-color: var(--accent);
}
.series-banner strong {
  color: var(--accent);
}
.series-ico {
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 3px;
  background: var(--gradient);
}

/* --- Related posts --- */
.related {
  margin-top: 40px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-top: 12px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elev);
  color: var(--text);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: var(--glow);
  text-decoration: none;
}
.related-card h4 {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.25;
}
.related-card .card-meta {
  margin-top: auto;
}

/* --- Author card (end of post) --- */
.author-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
}
.author-card-av {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.author-card-body h3 {
  margin: 0;
  font-size: 18px;
}
.author-card-identity {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 6px 0;
}
.author-card-body p {
  margin: 0 0 8px;
}
.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.author-links a {
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--muted);
}
.author-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}
@media (max-width: 480px) {
  .author-card {
    flex-direction: column;
  }
}

/* --- Home banner (site branding) + secondary highlights --- */
.home-main {
  min-width: 0;
}
.home-banner-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 var(--space-6);
  background: radial-gradient(
      48% 82% at 78% 8%,
      color-mix(in srgb, var(--accent) 40%, transparent),
      transparent 72%
    ),
    radial-gradient(
      52% 88% at 86% 84%,
      color-mix(in srgb, var(--accent-2) 42%, transparent),
      transparent 74%
    ),
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--accent-deep) 13%, var(--bg)),
      color-mix(in srgb, var(--accent-2-deep) 10%, var(--bg)) 72%,
      var(--bg)
    );
}
/* Faint star field continues through the full-width atmosphere behind the hero. */
.home-banner-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: 0.28;
  mix-blend-mode: screen;
  pointer-events: none;
}
.home-banner-band::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: var(--space-8);
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.home-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: var(--space-6);
  min-height: 400px;
  padding: var(--space-6) 0 var(--space-7);
}
.home-banner-copy,
.home-banner-art {
  position: relative;
  z-index: 1;
}
.home-banner-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.14em;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  margin: 0 0 12px;
  color: var(--text);
  letter-spacing: 0;
  white-space: nowrap;
}
.home-banner-name {
  color: var(--text);
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 20%, transparent));
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .home-banner-name {
    background: linear-gradient(
      105deg,
      var(--text) 5%,
      color-mix(in srgb, var(--accent) 78%, var(--text)) 48%,
      color-mix(in srgb, var(--accent-2) 78%, var(--text)) 92%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.home-banner-syntax {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.58em;
  font-weight: 700;
  line-height: 1;
}
.home-banner-syntax-open {
  color: var(--accent);
}
.home-banner-syntax-close {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
  color: var(--accent-2);
}
.home-banner-tag {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  width: fit-content;
  max-width: min(100%, 40ch);
  font-family: var(--font-mono);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: 0;
  color: color-mix(in srgb, var(--text) 84%, var(--muted));
  margin: 0;
}
.home-banner-prompt,
.home-banner-caret {
  flex: none;
  font-weight: 700;
}
.home-banner-prompt {
  color: var(--accent);
}
.home-banner-tagline {
  min-width: 0;
}
.home-banner-command {
  max-width: 100%;
  white-space: normal;
}
.home-banner-command-visual {
  flex: 0 1 auto;
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.home-banner-command-prompt {
  color: var(--muted);
  font-weight: 700;
}
.home-banner-command-variable {
  color: var(--accent);
}
.home-banner-command-method {
  color: var(--accent-2);
  font-weight: 700;
}
.home-banner-command-punctuation {
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
}
.home-banner-caret {
  color: var(--accent-2);
}
@media (forced-colors: active) {
  .home-banner-name {
    background: none;
    color: CanvasText;
    filter: none;
  }
  .home-banner-syntax,
  .home-banner-prompt,
  .home-banner-command-visual,
  .home-banner-caret {
    color: CanvasText;
  }
}
.home-banner-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner-illustration {
  width: min(460px, 46vw);
  height: auto;
  max-height: 340px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 65%, transparent))
    drop-shadow(0 0 34px color-mix(in srgb, var(--accent-2) 50%, transparent));
}
.home-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 220px;
  gap: 20px;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .home-banner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: var(--space-6) 0 var(--space-5);
  }
  .home-banner-art {
    position: absolute;
    top: 50%;
    right: calc(-1 * var(--space-6));
    z-index: 0;
    transform: translateY(-50%);
    opacity: 0.34;
    pointer-events: none;
  }
  .banner-illustration {
    width: clamp(180px, 46vw, 280px);
  }
}
@media (max-width: 560px) {
  .home-banner-band {
    margin-bottom: var(--space-5);
  }
}
@media (max-width: 480px) {
  .aurora .site-header .brand-with-signature .brand-name {
    display: none;
  }
  .home-banner-title {
    font-size: var(--fs-h1);
  }
  .home-banner-command {
    gap: var(--space-1);
    font-size: var(--fs-small);
  }
  .home-banner-art {
    right: calc(-1 * var(--space-7));
    opacity: 0.28;
  }
}

/* Shared presentation contract for HTML emitted by @blogtinum/core.
   Public articles and the admin live preview both opt in with .rendered-content. */
.rendered-content {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.rendered-content > *,
.rendered-content .code-block,
.rendered-content .tabs,
.rendered-content .table-scroll,
.rendered-content .math-block,
.rendered-content .mermaid {
  min-width: 0;
  max-width: 100%;
}

.rendered-content p,
.rendered-content li,
.rendered-content dd,
.rendered-content a,
.rendered-content :not(pre) > code {
  overflow-wrap: anywhere;
}

.rendered-content img,
.rendered-content video,
.rendered-content iframe,
.rendered-content svg {
  max-width: 100%;
}

.rendered-content iframe,
.rendered-content video {
  width: 100%;
}

.rendered-content h2,
.rendered-content h3 {
  scroll-margin-top: calc(var(--site-header-h) + var(--space-5));
}

.rendered-content h2 {
  margin-top: 1.8em;
}

.rendered-content h3 {
  margin-top: 1.4em;
}

.rendered-content .header-anchor {
  margin-left: var(--space-2);
  color: var(--muted);
  font-weight: 400;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.rendered-content h2:hover .header-anchor,
.rendered-content h3:hover .header-anchor,
.rendered-content .header-anchor:focus-visible {
  opacity: 1;
  color: var(--accent);
}

.rendered-content :not(pre) > code {
  padding: 1px var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* Code-block chrome */
.rendered-content .code-block {
  margin: var(--space-5) 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--content-code-bg);
}

.rendered-content .code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--content-code-action-h);
  padding: var(--space-1) var(--space-3);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elev) 70%, var(--content-code-bg));
  font-size: var(--fs-small);
}

.rendered-content .code-lang {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rendered-content .code-copy {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--content-code-action-h);
  padding: 0 var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.rendered-content .code-copy:hover,
.rendered-content .code-copy:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.rendered-content .code-copy.copied {
  border-color: var(--content-success);
  color: var(--content-success);
}

.rendered-content .code-block pre,
.rendered-content .code-block .shiki {
  max-width: 100%;
  margin: 0;
  padding: var(--space-4);
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: var(--content-code-bg) !important;
  font-family: var(--font-mono);
  font-size: 0.92em;
  line-height: 1.65;
  tab-size: 2;
  -webkit-overflow-scrolling: touch;
}

.rendered-content .code-block pre code {
  display: block;
  width: max-content;
  min-width: 100%;
}

.rendered-content .code-block .shiki .line.highlighted {
  display: block;
  margin: 0 calc(var(--space-4) * -1);
  padding: 0 var(--space-4);
  background: var(--accent-soft);
  box-shadow: inset 3px 0 var(--accent);
}

/* Admonitions */
.rendered-content .admonition {
  margin: var(--space-4) 0;
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.rendered-content .admonition > :last-child {
  margin-bottom: 0;
}

.rendered-content .admonition-title {
  margin: 0 0 var(--space-2);
  color: var(--accent);
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
}

.rendered-content .container-important {
  border-left-color: var(--content-important);
  background: var(--content-important-soft);
}

.rendered-content .container-important .admonition-title {
  color: var(--content-important);
}

.rendered-content .container-warning {
  border-left-color: var(--content-warning);
  background: var(--content-warning-soft);
}

.rendered-content .container-warning .admonition-title {
  color: var(--content-warning);
}

.rendered-content .container-caution,
.rendered-content .container-danger {
  border-left-color: var(--content-danger);
  background: var(--content-danger-soft);
}

.rendered-content .container-caution .admonition-title,
.rendered-content .container-danger .admonition-title {
  color: var(--content-danger);
}

.rendered-content .container-details {
  margin: var(--space-4) 0;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
}

/* Tables and bounded rich media */
.rendered-content .table-scroll {
  width: 100%;
  max-width: 100%;
  margin: var(--space-5) 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch;
}

.rendered-content table {
  width: 100%;
  min-width: var(--content-table-min);
  margin: 0;
  border: 0;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.rendered-content th,
.rendered-content td {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  text-align: left;
}

.rendered-content thead th {
  background: var(--bg-elev);
  font-weight: 600;
}

.rendered-content tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--bg-elev) 45%, transparent);
}

.rendered-content .math-block,
.rendered-content .mermaid {
  margin: var(--space-5) 0;
  padding: var(--space-4);
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  -webkit-overflow-scrolling: touch;
}

.rendered-content .math-block .katex-display {
  width: max-content;
  min-width: 100%;
  margin: 0;
}

.rendered-content .mermaid {
  white-space: pre;
}

.rendered-content .mermaid[data-processed='true'] {
  white-space: normal;
}

.rendered-content .mermaid svg {
  display: block;
  height: auto;
  margin: 0 auto;
}

/* Progressive tabs remain readable as stacked panels before enhancement. */
.rendered-content .tabs {
  margin: var(--space-5) 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.rendered-content .tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  padding: var(--space-2);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}

.rendered-content .tab-btn {
  min-height: var(--content-code-action-h);
  padding: 0 var(--space-3);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.rendered-content .tab-btn:hover,
.rendered-content .tab-btn:focus-visible {
  color: var(--text);
}

.rendered-content .tab-btn.active {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  background: var(--pill-bg);
  color: var(--accent);
}

.rendered-content .tab-panel {
  padding: var(--space-4);
}

.rendered-content.tabs-ready .tab-panel,
.rendered-content .tabs-ready .tab-panel {
  display: none;
}

.rendered-content.tabs-ready .tab-panel.active,
.rendered-content .tabs-ready .tab-panel.active {
  display: block;
}

.rendered-content .tabs:not(.tabs-ready) .tab-panel + .tab-panel {
  border-top: 1px solid var(--border);
}

.rendered-content .tabs:not(.tabs-ready) .tab-panel::before {
  content: attr(data-tab);
  display: block;
  margin-bottom: var(--space-2);
  color: var(--accent);
  font-size: var(--fs-small);
  font-weight: 700;
}

@media (max-width: 720px) {
  .rendered-content .code-copy,
  .rendered-content .tab-btn {
    min-height: 44px;
  }
}

.rendered-content .code-copy-icon {
  width: 1em;
  height: 1em;
}

.rendered-content blockquote {
  margin: var(--space-4) 0;
  padding: var(--space-2) var(--space-4);
  border-left: 3px solid var(--accent);
  color: var(--muted);
}

.rendered-content blockquote > :first-child {
  margin-top: 0;
}

.rendered-content blockquote > :last-child {
  margin-bottom: 0;
}