@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--bg:#020818;--panel:#061326;--panel2:#0a1d34;--line:#164267;--cyan:#49bfff;--blue:#007eb9;--gold:#fecb8b;--white:#f0f8ff;--muted:#9db5c9;--pixel:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;--body:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--white);font-family:var(--body);font-size:21px;line-height:1.35;overflow-x:hidden}a{color:inherit;text-decoration:none}#water{position:fixed;inset:0;width:100%;height:100%;z-index:-2;opacity:.48}.shade{position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 10%,rgba(2,8,24,.35),rgba(2,8,24,.82) 75%),linear-gradient(180deg,rgba(2,8,24,.2),#020818)}.wrap{width:min(1160px,calc(100% - 48px));margin:0 auto}.site-header{height:82px;padding:0 max(24px,calc((100% - 1160px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #0e3453;background:rgba(2,12,28,.85);backdrop-filter:blur(9px);position:relative;z-index:5}.logo{display:flex;align-items:center;gap:12px;font:11px var(--pixel);letter-spacing:-1px}.logo small{display:block;font:9px var(--body);letter-spacing:2px;color:var(--cyan);margin-top:6px}.logo-mark{display:grid;place-items:center;width:38px;height:38px;background:var(--cyan);color:#00101d;border:3px solid white;box-shadow:4px 4px 0 #075486;font:20px var(--pixel)}nav{display:flex;gap:25px;align-items:center;font:9px var(--pixel);color:#c4dced}nav a{transition:.15s}nav a:hover{color:var(--cyan);text-shadow:0 0 12px #00bfff}.nav-github{border:1px solid var(--cyan);padding:12px;color:var(--cyan)}.hero{min-height:610px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:65px;padding-top:72px;padding-bottom:75px}.eyebrow{font:9px var(--pixel);letter-spacing:.4px;color:var(--gold);margin:0 0 22px}.pulse,.live-dot{color:#74f3ac}.pulse{display:inline-block;width:8px;height:8px;background:#74f3ac;border-radius:50%;box-shadow:0 0 12px #74f3ac;margin-right:8px}h1,h2,h3,p{margin-top:0}h1{font:clamp(28px,4.4vw,56px)/1.55 var(--pixel);letter-spacing:-2px;margin-bottom:24px;text-shadow:4px 4px 0 #07375b}.cyan{color:var(--cyan)}.hero-desc{max-width:520px;color:#b8cbd9;font-size:27px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}.pixel-btn{font:9px var(--pixel);padding:17px 16px;border:2px solid var(--cyan);clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));transition:.15s}.pixel-btn:hover{transform:translateY(-3px);filter:brightness(1.25);box-shadow:0 0 18px #007eb966}.primary{background:#078bc6;color:#00101d;border-color:#7ad7ff}.ghost{color:var(--cyan);background:#061326}.hero-meta{display:flex;gap:22px;margin-top:42px;flex-wrap:wrap;color:#779ab6;font:8px var(--pixel)}.hero-art{position:relative}.art-frame{border:2px solid #2c8cc0;background:#06162a;box-shadow:12px 12px 0 rgba(0,0,0,.35),0 0 25px #00aaff20}.art-top,.art-bottom{display:flex;justify-content:space-between;padding:13px 15px;font:8px var(--pixel);color:#91cce9}.pixel-ocean{height:350px;position:relative;overflow:hidden;background-color:#06406a;background-image:linear-gradient(90deg,rgba(13,139,193,.22) 1px,transparent 1px),linear-gradient(rgba(13,139,193,.18) 1px,transparent 1px),radial-gradient(ellipse at 55% 48%,#0876a0,#033050 65%,#021a35);background-size:18px 18px,18px 18px,auto}.pixel-ocean:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 5px,rgba(110,220,255,.045) 5px 6px)}.island{position:absolute;background:#598b43;border:7px solid #223e32;box-shadow:inset 0 0 0 5px #a7c76a,8px 10px 0 #021627;transform:rotate(-12deg)}.island:before{content:'';position:absolute;inset:13px;background:repeating-linear-gradient(45deg,#345f36 0 8px,#6e9848 8px 16px)}.island-a{width:220px;height:150px;left:16%;top:23%;clip-path:polygon(10% 5%,75% 0,100% 28%,86% 83%,54% 100%,0 75%)}.island-b{width:100px;height:78px;right:10%;bottom:18%;background:#b89a60;border-color:#5e4a36;transform:rotate(24deg)}.island-c{width:55px;height:38px;left:12%;bottom:13%;background:#b89a60;border:4px solid #5e4a36;transform:rotate(8deg)}.coord{position:absolute;color:#d5f5ff;font:7px var(--pixel);text-shadow:2px 2px #001}.coord-a{top:15%;right:8%}.coord-b{bottom:13%;left:45%}.crosshair{position:absolute;top:50%;left:55%;color:#fff;font:32px var(--body);text-shadow:0 0 8px #00bfff}.art-bottom{border-top:1px solid #174c6b}.floating-label{position:absolute;right:-23px;bottom:42px;background:var(--gold);color:#1b2330;padding:12px;font:8px/1.7 var(--pixel);box-shadow:5px 5px 0 #09172a;transform:rotate(3deg)}.ticker{background:#087eae;border-top:2px solid #64d5ff;border-bottom:2px solid #64d5ff;color:#001827;overflow:hidden;white-space:nowrap;padding:15px 0;font:10px var(--pixel)}.ticker div{width:max-content;animation:marquee 36s linear infinite}.ticker b{color:white;margin:0 22px}@keyframes marquee{to{transform:translateX(-50%)}}.section{padding-top:94px;padding-bottom:100px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.section-head h2,.status-inner h2,.about h2{font:22px/1.7 var(--pixel);margin:0}.section-note{color:var(--muted);max-width:350px;font-size:23px}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.project-card{position:relative;display:grid;grid-template-columns:43% 1fr;min-height:245px;background:linear-gradient(145deg,#081c32,#041020);border:1px solid #16517c;box-shadow:5px 5px 0 rgba(0,0,0,.22);transition:.18s}.project-card:hover{border-color:var(--cyan);transform:translateY(-4px);box-shadow:0 0 22px #00bfff22,5px 8px 0 #010914}.project-visual{min-height:245px;position:relative;overflow:hidden;border-right:1px solid #16517c;background:#07314c}.visual-label,.visual-code{position:absolute;left:12px;z-index:2;color:#aeeaff;font:7px var(--pixel)}.visual-label{top:13px}.visual-code{bottom:13px;color:#77b4d2}.bot-visual{background:radial-gradient(circle at 50% 48%,#12618a,#061c33 75%)}.bot-head{position:absolute;left:50%;top:70px;transform:translateX(-50%);width:76px;height:62px;background:#b5c7ce;border:6px solid #273f4c;box-shadow:inset 0 -9px #7f969d,7px 7px 0 #03101b}.bot-head i{position:absolute;top:22px;left:14px;width:9px;height:9px;background:#00c9ff;box-shadow:28px 0 #00c9ff}.bot-body{position:absolute;left:50%;top:139px;transform:translateX(-50%);width:84px;height:57px;background:#687f8d;border:6px solid #273f4c}.bot-shadow{position:absolute;left:50%;top:205px;transform:translateX(-50%);width:100px;height:9px;background:#02101c}.fog-visual{background:linear-gradient(#0b4163,#092943 56%,#071a29)}.fog-moon{position:absolute;width:58px;height:58px;border-radius:50%;background:#d9f3ff;box-shadow:0 0 28px #6acfff;top:55px;left:36%}.fog-horizon{position:absolute;bottom:0;width:100%;height:105px;background:linear-gradient(150deg,transparent 22%,#183e43 23% 34%,transparent 35%),linear-gradient(25deg,#244b43 0 43%,transparent 44%)}.ore-visual{background:#1b2333;display:grid;place-items:center}.ore-block{width:118px;height:118px;position:relative;background:repeating-linear-gradient(0deg,#606b75 0 24px,#3c4854 24px 48px),repeating-linear-gradient(90deg,transparent 0 24px,#263342 24px 48px);border:7px solid #111d2b;box-shadow:10px 10px 0 #07101b;transform:rotate(6deg)}.ore-block b{position:absolute;width:14px;height:14px;background:#8b75b9;box-shadow:0 0 9px #9a8bdc}.ore-block b:nth-child(1){top:14px;left:22px}.ore-block b:nth-child(2){top:44px;left:68px}.ore-block b:nth-child(3){top:80px;left:35px}.ore-block b:nth-child(4){top:19px;left:82px}.ore-block b:nth-child(5){top:76px;left:85px}.font-visual{background:radial-gradient(circle at center,#164b6c,#071a2d)}.font-sample{position:absolute;inset:0;display:grid;place-content:center;text-align:center;font:52px var(--pixel);color:#e4f7ff;text-shadow:5px 5px #087eb4}.font-sample small{font:15px var(--pixel);color:var(--gold)}.project-info{padding:24px 19px}.tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:17px}.tags span{font:7px var(--pixel);padding:7px 6px;color:#83cdeb;border:1px solid #1b5676}.project-info h3{font:12px/1.8 var(--pixel);margin:0 0 12px;color:#fff}.project-info p{font-size:20px;color:#a9bfd0;margin:0 0 18px}.card-links{display:flex;gap:17px;flex-wrap:wrap;font:8px var(--pixel);color:var(--gold)}.card-links a:hover{color:var(--cyan)}.number{position:absolute;right:10px;top:8px;color:#4f7997;font:8px var(--pixel)}.status-strip{background:rgba(3,24,43,.85);border-top:1px solid #185276;border-bottom:1px solid #185276}.status-inner{padding-top:40px;padding-bottom:40px;display:flex;align-items:center;justify-content:space-between;gap:30px}.status-items{display:flex;gap:55px}.status-items div{display:grid;gap:10px}.status-items b{font:20px var(--pixel);color:var(--cyan)}.status-items span{font:7px var(--pixel);color:#9db5c9}.about{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.about>div:nth-child(2)>p{font-size:25px;color:#b9cedd}.about-links{display:flex;flex-direction:column;gap:13px;margin-top:27px;color:var(--cyan);font:8px var(--pixel)}.about-links a:hover{color:var(--gold)}.site-footer{border-top:2px solid #164267;background:#020b19}.footer-inner{min-height:95px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#83a4bb;font:8px var(--pixel)}.footer-inner>a:last-child{color:var(--cyan)}@media(max-width:900px){.hero{gap:30px}.project-card{grid-template-columns:1fr}.project-visual{min-height:180px;border-right:0;border-bottom:1px solid #16517c}.project-grid{gap:14px}.project-info{padding:19px}.status-items{gap:25px}}@media(max-width:640px){.wrap{width:calc(100% - 30px)}.site-header{height:auto;min-height:75px;padding:15px;align-items:flex-start;gap:15px;flex-direction:column}nav{width:100%;gap:14px;overflow-x:auto;padding-bottom:4px;font-size:8px}.hero{grid-template-columns:1fr;padding-top:65px;gap:45px}.hero-art{max-width:470px;width:calc(100% - 12px);margin:auto}.pixel-ocean{height:270px}.floating-label{right:-10px}.hero-meta{gap:12px;font-size:7px}.section{padding:65px 0}.section-head{display:block}.section-note{margin-top:16px}.project-grid{grid-template-columns:1fr}.project-card{grid-template-columns:38% 1fr}.project-visual{min-height:245px;border-right:1px solid #16517c;border-bottom:0}.project-info{padding:18px 13px}.project-info h3{font-size:10px}.status-inner{align-items:flex-start;flex-direction:column}.status-items{width:100%;justify-content:space-between;gap:8px}.status-items b{font-size:16px}.status-items span{font-size:6px}.about{grid-template-columns:1fr;gap:20px}.footer-inner{padding:25px 0;align-items:flex-start;flex-direction:column}.footer-inner .logo{margin-bottom:5px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}

.pixel-ocean .thinking-island{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:fill;z-index:0}


/* Minimal, consistent type and restrained motion */
body{font-family:var(--body);font-size:16px;line-height:1.6}
.logo{font:700 14px/1.2 var(--pixel);letter-spacing:-.035em}
.logo small{font:600 10px/1.3 var(--body);letter-spacing:.08em}
.logo-mark{font:700 18px/1 var(--pixel);border-radius:8px;box-shadow:none}
nav{font:600 12px/1.2 var(--pixel);gap:22px}
nav a{transition:color .2s ease,opacity .2s ease}
.nav-github{padding:9px 13px;border-radius:7px}
.eyebrow{font:700 10px/1.4 var(--pixel);letter-spacing:.09em}
h1{font:800 clamp(32px,4.2vw,50px)/1.12 var(--pixel);letter-spacing:-.055em;text-shadow:none}
h2{font:750 clamp(23px,2.7vw,32px)/1.2 var(--pixel);letter-spacing:-.04em;text-shadow:none}
h3{font:700 18px/1.3 var(--pixel);letter-spacing:-.025em}
.hero{gap:48px;min-height:565px;padding-top:52px;padding-bottom:55px}
.hero-desc,.section-note,.project-info p,.about p,.community-copy>p:not(.eyebrow){font:400 16px/1.65 var(--body);color:#b7c8d9}
.hero-actions{gap:12px;margin-top:26px}
.pixel-btn{font:650 12px/1.2 var(--pixel);padding:13px 16px;clip-path:none;border-radius:8px;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.pixel-btn:hover{transform:translateY(-2px);filter:none;box-shadow:0 5px 18px #007eb933}
.hero-meta{font:600 10px/1.4 var(--pixel);gap:16px}
.art-frame{border:1px solid #1b4b6c;border-radius:12px;overflow:hidden;box-shadow:0 12px 30px #0004}
.art-top,.art-bottom{font:600 10px/1.3 var(--pixel);padding:12px 14px}
.pixel-ocean{height:330px;background-image:linear-gradient(90deg,rgba(13,139,193,.12) 1px,transparent 1px),linear-gradient(rgba(13,139,193,.1) 1px,transparent 1px),radial-gradient(ellipse at 55% 48%,#0876a0,#033050 65%,#021a35);background-size:24px 24px,24px 24px,auto}
.pixel-ocean:after{z-index:3;pointer-events:none;opacity:.45}
.island{z-index:1;border-width:5px;box-shadow:inset 0 0 0 3px #a7c76a,5px 7px 0 #021627}
.island:before{inset:10px}
.island-a{width:200px;height:132px;left:14%;top:24%}
.island-b{width:84px;height:64px;right:9%;bottom:17%}
.island-c{width:48px;height:32px;left:10%;bottom:12%}
.coord{font:600 9px/1.2 var(--pixel);opacity:.72;z-index:2}
.crosshair{display:none}
.map-marker{position:absolute;left:57%;top:56%;z-index:5;display:flex;flex-direction:column;align-items:center;gap:5px;transform:translate(-50%,-50%)}
.marker-label{font:700 10px/1 var(--pixel);color:#eaf8ff;text-shadow:0 1px 5px #001b30;white-space:nowrap;letter-spacing:.01em}
.marker-dot{width:9px;height:9px;border-radius:50%;background:#5ce0ff;border:2px solid #e4fbff;box-shadow:0 0 0 4px #52d8ff36,0 0 15px #52d8ff;animation:markerPulse 2.4s ease-in-out infinite}
.idea-cloud{position:absolute;left:52%;top:13%;z-index:6;min-width:82px;padding:10px 15px;border-radius:22px;background:#f3f7ff;color:#10243a;text-align:center;box-shadow:0 5px 14px #001a2c66;transform:rotate(-2deg);animation:cloudFloat 5s ease-in-out infinite}
.idea-cloud:before,.idea-cloud:after{content:"";position:absolute;border-radius:50%;background:#f3f7ff}
.idea-cloud:before{width:11px;height:11px;left:17px;bottom:-7px}
.idea-cloud:after{width:6px;height:6px;left:9px;bottom:-15px}
.idea-cloud span{font:700 12px/1.1 var(--pixel);letter-spacing:-.02em}
.floating-label{display:none}
.ticker{background:#06182a;border-top:1px solid #164267;border-bottom:1px solid #164267;color:#9db5c9;font:600 10px/1.3 var(--pixel);padding:11px 0}
.ticker b{color:var(--cyan)}
.section{padding-top:68px;padding-bottom:68px}
.section-head{margin-bottom:25px}
.project-grid{gap:16px}
.project-card{border:1px solid #164267;border-radius:11px;overflow:hidden;box-shadow:none;transition:transform .24s ease,border-color .24s ease,background .24s ease;animation:cardEnter .55s both}
.project-card:hover{transform:translateY(-4px);border-color:#348ab5;box-shadow:0 10px 26px #0003}
.project-card:nth-child(2){animation-delay:.06s}.project-card:nth-child(3){animation-delay:.12s}.project-card:nth-child(4){animation-delay:.18s}
.project-visual{border-right:1px solid #164267}
.visual-label{font:600 9px/1.3 var(--pixel);letter-spacing:.06em}
.visual-code{font:600 10px/1.3 var(--pixel);letter-spacing:0}
.project-info{padding:20px 17px}
.tags{font:600 10px/1.3 var(--pixel);gap:7px}
.card-links{font:600 10px/1.4 var(--pixel);gap:12px;color:#fecb8b}
.number{font:600 10px/1 var(--pixel)}
.ore-visual{background:linear-gradient(145deg,#19212b,#0d1722)}
.netherite-block-image{width:150px;height:150px;max-width:85%;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 9px 12px #0007);transition:transform .25s ease}
.project-card:hover .netherite-block-image{transform:translateY(-3px) scale(1.035)}
.font-sample{font:700 42px/1.1 var(--pixel);text-shadow:none}
.font-sample small{font:600 12px/1.2 var(--pixel)}
.status-items b{font:750 25px/1.2 var(--pixel)}
.status-items span{font:600 10px/1.4 var(--pixel)}
.community-card{border:1px solid #245b7b;border-radius:12px;box-shadow:none;background:linear-gradient(145deg,#09213a,#07182b);padding:0 20px}
.community-card-top,.community-card-bottom{font:600 10px/1.4 var(--pixel)}
.community-card-main h3{font:700 17px/1.25 var(--pixel)}
.community-card-main p{font:400 14px/1.5 var(--body)}
.discord-server-icon{display:block;width:64px;height:64px;flex:0 0 64px;object-fit:cover;border-radius:16px;border:1px solid #5a7a9c;box-shadow:0 5px 16px #0004}
.discord-join{font:650 11px/1.2 var(--pixel);border-radius:7px;border:1px solid #7282ff;padding:11px 14px}
.site-footer{border-top:1px solid #164267}
.footer-inner{font:600 10px/1.4 var(--pixel)}
.about-links{gap:12px}
.about-links a{font:600 11px/1.4 var(--pixel)}
@keyframes markerPulse{0%,100%{box-shadow:0 0 0 3px #52d8ff32,0 0 12px #52d8ff}50%{box-shadow:0 0 0 7px #52d8ff16,0 0 17px #52d8ff}}
@keyframes cloudFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-5px) rotate(1deg)}}
@keyframes cardEnter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.hero{gap:30px;grid-template-columns:1fr .9fr}.pixel-ocean{height:300px}.project-card{grid-template-columns:38% 1fr}.card-links{gap:9px;font-size:9px}}
@media(max-width:700px){.hero{grid-template-columns:1fr;gap:28px;padding-top:42px}.hero-art{max-width:600px;width:100%;margin:0 auto}.pixel-ocean{height:275px}.project-grid{grid-template-columns:1fr}.project-card{grid-template-columns:36% 1fr}.site-header{padding:0 18px;gap:10px}.site-header nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}.logo{font-size:12px}.hero-meta{margin-top:26px}}
@media(max-width:430px){.project-card{grid-template-columns:1fr}.project-visual{min-height:170px;border-right:0;border-bottom:1px solid #16517c}.card-links{font-size:10px}.art-top,.art-bottom{font-size:9px}.idea-cloud{left:49%;top:10%}.map-marker{left:57%;top:57%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* Map-first hero and comfortable reading scale */
body{font-size:18px;line-height:1.65}
.wrap{width:min(1320px,calc(100% - 56px))}
.site-header{height:auto;min-height:78px;padding:12px max(28px,calc((100% - 1320px)/2));gap:22px}
nav{font:650 13px/1.35 var(--body);gap:20px;flex-wrap:wrap}
.hero{grid-template-columns:minmax(310px,.82fr) minmax(420px,1.18fr);gap:46px;min-height:0;padding-top:54px;padding-bottom:58px}
.hero-desc{font:400 18px/1.65 var(--body)}
.hero-meta{font:650 11px/1.5 var(--body)}
.eyebrow{font:700 11px/1.4 var(--body);letter-spacing:.08em}
.pixel-btn{font:650 13px/1.3 var(--body);padding:14px 18px}
.art-frame{border:1px solid #1b4b6c;border-radius:14px;overflow:hidden}
.art-top,.art-bottom{font:650 11px/1.4 var(--body)}
.pixel-ocean.minecraft-map{height:auto;min-height:340px;aspect-ratio:1.13;overflow:hidden;background:#081b2c;isolation:isolate}
.map-texture{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;image-rendering:pixelated;display:block;z-index:0}
.minecraft-map:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(2,8,24,.04),rgba(2,8,24,.14))}
.map-marker{position:absolute;left:54%;top:57%;z-index:5;display:flex;flex-direction:column;align-items:center;gap:8px;transform:translate(-50%,-50%)}
.marker-label{font:750 13px/1.2 var(--body);color:#effaff;background:#04172b;border:1px solid #78d9ff;border-radius:7px;padding:7px 11px;white-space:nowrap;box-shadow:0 4px 12px #001a2b88}
.marker-dot{width:12px;height:12px;border-radius:50%;background:#5ce0ff;border:2px solid #e4fbff;box-shadow:0 0 0 5px #52d8ff36,0 0 17px #52d8ff;animation:markerPulse 2.4s ease-in-out infinite}
.idea-cloud{position:absolute;left:60%;top:12%;z-index:6;min-width:92px;padding:11px 17px;border-radius:23px;background:#f3f7ff;color:#10243a;text-align:center;box-shadow:0 5px 14px #001a2c66;transform:rotate(-2deg);animation:cloudFloat 5s ease-in-out infinite}
.idea-cloud:before,.idea-cloud:after{content:"";position:absolute;border-radius:50%;background:#f3f7ff}
.idea-cloud:before{width:11px;height:11px;left:20px;bottom:-7px}.idea-cloud:after{width:6px;height:6px;left:12px;bottom:-15px}
.idea-cloud span{font:750 13px/1.15 var(--body)}
.map-compass{position:absolute;right:16px;top:14px;z-index:4;width:28px;height:28px;border:1px solid #ffffff66;border-radius:50%;display:grid;place-items:center;color:#fff;background:#031a2caa;font:700 11px var(--body)}
.steve-render{position:absolute;left:50%;top:50%;width:94px;height:150px;object-fit:contain;transform:translate(-50%,-43%);image-rendering:pixelated;filter:drop-shadow(0 8px 9px #0008)}
.fog-visual{display:grid;place-items:center;background:radial-gradient(ellipse at 50% 50%,#163952,#07192b 72%)}
.zeroxfog-art{display:block;max-width:116px;max-height:116px;width:44%;height:44%;object-fit:contain;border-radius:15px;filter:drop-shadow(0 8px 13px #0007)}
.project-visual{min-height:220px}
.project-info h3{font:750 15px/1.4 var(--body)}
.project-info p{font:400 16px/1.6 var(--body)}
.tags span,.card-links{font:650 11px/1.4 var(--body)}
.netherite-block-image{width:104px;height:104px;max-width:78%;object-fit:contain}
.community-card-main p,.community-copy>p:not(.eyebrow){font:400 16px/1.65 var(--body)}
.community-card-main h3{font:750 18px/1.3 var(--body)}
.comments-section{padding-top:48px;padding-bottom:78px}
.comments-heading{display:grid;grid-template-columns:.8fr 1.2fr;gap:32px;align-items:start;margin-bottom:22px}
.comments-heading h2{font:800 clamp(25px,3vw,38px)/1.15 var(--body);letter-spacing:-.04em}
.comments-tools p{margin:0 0 10px;color:#b7c8d9;font:400 16px/1.6 var(--body)}
.comment-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.comment-emojis{font-size:19px;letter-spacing:4px}
.gif-link{display:inline-flex;align-items:center;padding:9px 12px;border:1px solid #347497;border-radius:8px;color:#92ddff;font:650 12px/1.2 var(--body);transition:background .2s,border-color .2s}
.gif-link:hover{background:#0b2b45;border-color:#72d8ff}
.comments-tools small{display:block;margin-top:9px;color:#89a6bd;font:400 13px/1.5 var(--body)}
.discussion-shell{padding:20px;border:1px solid #194b6d;border-radius:13px;background:rgba(4,17,32,.88);min-height:180px}
.giscus{width:100%;min-height:110px}.giscus-frame{width:100%}
.comments-fallback{margin:12px 2px 0;color:#8ca9be;font:400 13px/1.5 var(--body)}
.comments-fallback a{color:#75d7ff}
@media(min-width:1500px){
 body{font-size:21px}.wrap{width:min(1480px,calc(100% - 76px))}
 .site-header{padding-left:max(38px,calc((100% - 1480px)/2));padding-right:max(38px,calc((100% - 1480px)/2))}
 nav{font-size:14px;gap:23px}h1{font-size:clamp(54px,4vw,68px)}
 .hero{grid-template-columns:minmax(360px,.76fr) minmax(560px,1.24fr);gap:54px;padding-top:62px;padding-bottom:66px}
 .hero-desc{font-size:20px}.pixel-ocean.minecraft-map{min-height:390px}
 .section{padding-top:78px;padding-bottom:78px}
 .project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
 .project-card{display:flex;flex-direction:column;min-width:0}
 .project-visual{min-height:148px;height:148px;border-right:0;border-bottom:1px solid #164267}
 .project-info{padding:19px 18px 22px;display:flex;flex-direction:column;flex:1}
 .project-info h3{font-size:17px}.project-info p{font-size:17px;min-height:78px}
 .card-links{gap:11px;font-size:12px}.tags span{font-size:12px}
 .netherite-block-image{width:94px;height:94px}.steve-render{height:130px;width:82px}
 .comments-tools p{font-size:18px}.doc-wrap{width:min(1280px,calc(100% - 80px))}
}
@media(max-width:900px){
 .hero{grid-template-columns:1fr;gap:34px}.hero-art{width:min(100%,650px);margin:0 auto}
 .pixel-ocean.minecraft-map{aspect-ratio:1.2;min-height:300px}.comments-heading{grid-template-columns:1fr;gap:12px}
}
@media(max-width:700px){
 .wrap{width:calc(100% - 30px)}.site-header{padding:14px 15px;align-items:flex-start;flex-direction:column}
 nav{justify-content:flex-start;gap:14px;font-size:12px}.hero{padding-top:40px;padding-bottom:42px}
 .pixel-ocean.minecraft-map{aspect-ratio:1.04;min-height:280px}.project-info p{font-size:15px}
 .comments-section{padding-top:38px;padding-bottom:52px}.discussion-shell{padding:12px}
}
@media(max-width:430px){
 .pixel-ocean.minecraft-map{aspect-ratio:1;min-height:260px}
 .map-marker{left:53%;top:58%}.idea-cloud{left:58%;top:9%}
 .steve-render{width:82px;height:126px}
}
@media(prefers-reduced-motion:reduce){.marker-dot,.idea-cloud,.project-card{animation:none!important;transition:none!important}}

/* Final repair pass: consistent hierarchy and readable desktop scaling */
html{font-size:16px}
body{font-size:18px;line-height:1.65}
h1{font-size:clamp(42px,4.2vw,60px);font-weight:850;line-height:1.08;letter-spacing:-.055em}
h2,.section-head h2,.status-inner h2,.about h2{font-size:clamp(30px,2.8vw,38px);font-weight:850;line-height:1.16;letter-spacing:-.045em}
h3{font-size:19px;font-weight:800;line-height:1.32;letter-spacing:-.025em}
.hero-desc,.section-note,.project-info p,.about>div:nth-child(2)>p{font-size:17px;line-height:1.65}
.eyebrow{font-size:11px;font-weight:750;letter-spacing:.09em}
.site-header{min-height:76px}
nav{font-size:13px;font-weight:700}
.pixel-btn{font-size:13px;font-weight:750}
.project-info h3{font-size:17px;font-weight:800;line-height:1.35}
.project-info p{font-size:15.5px;line-height:1.58}
.tags span,.card-links{font-size:11px;font-weight:700}
.project-visual-icon{display:grid;place-items:center;min-height:170px;position:relative}
.project-icon-real{width:88px;height:88px;max-width:42%;object-fit:contain;image-rendering:auto;border-radius:15px;border:1px solid #426d8b;box-shadow:0 8px 20px #0006;background:#07182b}
.netherite-project-icon{width:82px;height:82px}
.steve-mini{position:absolute;right:20px;bottom:17px;width:46px;height:68px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 5px 8px #0008)}
.project-visual-icon .visual-label{font-size:10px}
.project-visual-icon .visual-code{font-size:10px;max-width:calc(100% - 24px);overflow-wrap:anywhere}
.comments-section{padding-top:56px;padding-bottom:76px}
.comments-heading{display:grid;grid-template-columns:1fr 240px;gap:30px;align-items:center;margin-bottom:24px}
.comments-heading h2{font-size:clamp(30px,3vw,39px);font-weight:850;margin:0 0 12px}
.comments-intro{max-width:620px;color:#b7c8d9;font-size:17px;line-height:1.6;margin:0}
.comments-preview{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px;border:1px solid #1e4e70;border-radius:12px;background:#07192b}
.comment-gif-link{display:block}
.comment-gif{display:block;max-width:150px;max-height:115px;object-fit:contain;border-radius:8px}
.comment-emoji-row{display:flex;gap:8px;font-size:18px}
.comments-preview small{font-size:12px;color:#9eb6c9;text-align:center;line-height:1.4}
.discussion-card{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:24px 26px;border:1px solid #245b7b;border-radius:13px;background:linear-gradient(145deg,#09213a,#061528);box-shadow:0 12px 30px #0003}
.discussion-kicker{display:block;color:#83cdeb;font-size:11px;font-weight:750;letter-spacing:.08em;margin-bottom:10px}
.discussion-card h3{font-size:21px;font-weight:850;margin:0 0 8px}
.discussion-card p{font-size:15px;color:#afc4d5;line-height:1.6;margin:0;max-width:700px}
.discussion-button{flex:0 0 auto;padding:13px 17px;border:1px solid #6fd7ff;border-radius:8px;background:#087eae;color:#031323;font-size:13px;font-weight:800;white-space:nowrap;transition:transform .2s,filter .2s}
.discussion-button:hover{transform:translateY(-2px);filter:brightness(1.12)}
.comments-footnote{font-size:12px;color:#8ea8bf;margin:12px 2px 0}
.comments-footnote a{color:#83d9ff}
@media(min-width:1500px){
  .wrap{width:min(1480px,calc(100% - 80px))}
  .site-header{padding-left:max(40px,calc((100% - 1480px)/2));padding-right:max(40px,calc((100% - 1480px)/2))}
  .hero{grid-template-columns:minmax(360px,.78fr) minmax(600px,1.22fr);gap:54px}
  .hero-desc{font-size:19px}
  .pixel-ocean.minecraft-map{min-height:390px}
  .project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
  .project-card{display:flex;flex-direction:column;min-width:0}
  .project-visual{height:155px;min-height:155px;border-right:0;border-bottom:1px solid #164267}
  .project-visual-icon{height:155px;min-height:155px}
  .project-info{padding:20px;display:flex;flex-direction:column;flex:1}
  .project-info p{font-size:16px;min-height:76px}
  .card-links{gap:11px;font-size:11px}
  .project-icon-real{width:86px;height:86px}
  .netherite-project-icon{width:80px;height:80px}
  .steve-mini{width:44px;height:66px}
}
@media(max-width:900px){
  .comments-heading{grid-template-columns:1fr 200px}
  .discussion-card{align-items:flex-start;flex-direction:column}
}
@media(max-width:700px){
  body{font-size:16px}
  .comments-heading{grid-template-columns:1fr}
  .comments-preview{flex-direction:row;justify-content:flex-start;flex-wrap:wrap}
  .comments-preview small{flex-basis:100%;text-align:left}
  .discussion-card{padding:18px}
  .discussion-card h3{font-size:18px}
  .discussion-button{white-space:normal}
}
@media(max-width:430px){
  .project-visual-icon{min-height:160px}
  .project-icon-real{width:78px;height:78px}
}
@media(prefers-reduced-motion:reduce){
 .discussion-button{transition:none}
}

.project-icon-fallback{display:grid;place-items:center;width:88px;height:88px;border:1px solid #3c7193;border-radius:15px;background:linear-gradient(145deg,#123b57,#07182a);color:#cceeff;font-size:17px;font-weight:850;letter-spacing:.04em;box-shadow:0 8px 20px #0006}
@media(min-width:1500px){.project-icon-fallback{width:86px;height:86px}}

/* Hide fallback labels until an external icon actually fails to load. */
.project-icon-fallback[hidden]{display:none!important}
.project-icon-fallback:not([hidden]){display:grid}

/* Always show the comments media/reaction block, even when external GIF media is unavailable. */
.comments-preview{display:flex!important;visibility:visible!important;opacity:1!important;min-width:0}
.comment-gif-link{display:grid!important;place-items:center;min-width:140px;min-height:110px;text-decoration:none}
.comment-gif{display:block!important;max-width:150px;max-height:115px}
.comment-gif-fallback{display:none;align-items:center;justify-content:center;min-width:140px;min-height:90px;padding:12px;border:1px solid #347497;border-radius:10px;background:linear-gradient(145deg,#0c2e4b,#06172b);color:#9de7ff;font-size:13px;font-weight:800;letter-spacing:.04em}
.comment-gif-fallback:not([hidden]){display:flex!important}
.comment-emoji-row{display:flex!important;visibility:visible!important;opacity:1!important;align-items:center;justify-content:center;gap:9px;min-height:30px;font-size:21px}
.comments-preview small{display:block!important;visibility:visible!important;opacity:1!important}

/* Map-corner status tag */
.pixel-ocean.minecraft-map>.map-status{
  position:absolute!important;
  left:12px!important;
  bottom:12px!important;
  z-index:7!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  max-width:calc(100% - 24px)!important;
  padding:8px 11px!important;
  border:1px solid rgba(145,220,255,.62)!important;
  border-radius:7px!important;
  background:rgba(3,18,34,.9)!important;
  color:#e4f7ff!important;
  box-shadow:0 4px 12px rgba(0,0,0,.32)!important;
  font:750 10px/1.15 var(--body)!important;
  letter-spacing:.09em!important;
  white-space:nowrap!important;
  backdrop-filter:blur(5px);
}
.map-status-dot{
  display:block!important;
  flex:0 0 7px!important;
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#5ce0ff!important;
  box-shadow:0 0 9px rgba(92,224,255,.85)!important;
}
@media(max-width:430px){
 .pixel-ocean.minecraft-map>.map-status{left:8px!important;bottom:8px!important;padding:7px 9px!important;font-size:9px!important}
}

/* Brand identity: use the owner's actual Minecraft skin head instead of the Z tile. */
.logo-mark.logo-skin-head{
  display:block!important;
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  object-fit:cover!important;
  object-position:center!important;
  padding:0!important;
  border:1px solid rgba(116,220,255,.75)!important;
  border-radius:8px!important;
  background:#061728!important;
  box-shadow:0 0 12px rgba(0,191,255,.22)!important;
  image-rendering:pixelated;
}
@media(max-width:700px){
 .logo-mark.logo-skin-head{width:34px!important;height:34px!important;flex-basis:34px!important}
}

/* Compact world-map card: scale the entire map unit, not just its texture. */
@media(min-width:1100px){
  .hero{grid-template-columns:minmax(350px,1fr) minmax(0,560px)!important;gap:48px!important}
  .hero-art{width:min(100%,560px)!important;max-width:560px!important;justify-self:end!important}
  .art-frame{width:100%!important;max-width:560px!important}
  .pixel-ocean.minecraft-map{width:100%!important;aspect-ratio:1.13!important;height:auto!important;min-height:0!important}
}
@media(min-width:1500px){
  .hero{grid-template-columns:minmax(380px,1fr) minmax(0,590px)!important;gap:52px!important}
  .hero-art,.art-frame{max-width:590px!important}
  .pixel-ocean.minecraft-map{aspect-ratio:1.13!important}
}
@media(max-width:1099px){
  .hero-art,.art-frame{width:min(100%,560px)!important;max-width:560px!important;margin-inline:auto!important}
  .pixel-ocean.minecraft-map{aspect-ratio:1.13!important;height:auto!important;min-height:0!important}
}
.logo-mark.logo-skin-head{
  background:#07182b!important;
  border:1px solid rgba(116,220,255,.75)!important;
  box-shadow:0 0 12px rgba(0,191,255,.22)!important;
  object-fit:cover!important;
  image-rendering:pixelated;
}

/* First-build layout proportions: centred 1160px canvas, balanced hero and 2x2 project collection. */
@media(min-width:901px){
  .wrap{width:min(1160px,calc(100% - 48px))!important}
  .site-header{padding-left:max(24px,calc((100% - 1160px)/2))!important;padding-right:max(24px,calc((100% - 1160px)/2))!important}
  .hero{min-height:610px!important;grid-template-columns:1.05fr .95fr!important;align-items:center!important;gap:48px!important;padding-top:72px!important;padding-bottom:75px!important}
  .hero-art{width:100%!important;max-width:510px!important;justify-self:end!important}
  .art-frame{width:100%!important;max-width:510px!important}
  .pixel-ocean.minecraft-map{height:350px!important;min-height:350px!important;aspect-ratio:auto!important}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
  .project-card{display:grid!important;grid-template-columns:43% minmax(0,1fr)!important;min-height:245px!important}
  .project-visual{height:auto!important;min-height:245px!important;border-right:1px solid #164267!important;border-bottom:0!important}
  .project-info{padding:20px 18px!important}
}
@media(max-width:900px){
  .wrap{width:calc(100% - 36px)!important}
  .hero{grid-template-columns:1fr!important;gap:34px!important}
  .hero-art,.art-frame{width:min(100%,560px)!important;max-width:560px!important;margin-inline:auto!important}
  .pixel-ocean.minecraft-map{height:auto!important;min-height:0!important;aspect-ratio:1.13!important}
  .project-grid{grid-template-columns:1fr!important}
}
@media(max-width:430px){
  .pixel-ocean.minecraft-map{aspect-ratio:1!important}
}

/* Theme switch control */
.theme-toggle{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  padding:8px 11px!important;border:1px solid var(--cyan)!important;border-radius:999px!important;
  background:var(--panel)!important;color:var(--white)!important;font:700 10px/1.1 var(--body)!important;
  letter-spacing:.05em!important;white-space:nowrap!important;cursor:pointer!important;transition:background .2s,border-color .2s,transform .2s!important;
}
.theme-toggle:hover{transform:translateY(-1px);background:var(--panel2)!important}
.theme-toggle-icon{font-size:14px;line-height:1}
nav .theme-toggle{flex:0 0 auto}

/* Light theme */
html[data-theme="light"]{color-scheme:light;--bg:#edf4fa;--panel:#ffffff;--panel2:#e2edf6;--line:#b9ccdc;--cyan:#087fae;--blue:#087eae;--gold:#845019;--white:#14283a;--muted:#587085}
html[data-theme="light"] body{background:var(--bg)!important;color:var(--white)!important}
html[data-theme="light"] .shade{background:radial-gradient(ellipse at 50% 10%,rgba(255,255,255,.15),rgba(232,241,249,.86) 75%),linear-gradient(180deg,rgba(255,255,255,.2),#edf4fa)!important}
html[data-theme="light"] #water{opacity:.08!important}
html[data-theme="light"] .site-header{background:rgba(247,251,255,.92)!important;border-bottom:1px solid #bfd1df!important}
html[data-theme="light"] nav{color:#36536a!important}
html[data-theme="light"] nav a:hover{color:#006f9e!important}
html[data-theme="light"] .hero-desc,
html[data-theme="light"] .section-note,
html[data-theme="light"] .project-info p,
html[data-theme="light"] .community-copy>p:not(.eyebrow),
html[data-theme="light"] .about p{color:#405d73!important}
html[data-theme="light"] .hero-meta{color:#58758a!important}
html[data-theme="light"] .project-card{background:linear-gradient(145deg,#fff,#eef5fa)!important;border-color:#bfd1df!important;box-shadow:0 7px 20px #2a476015!important}
html[data-theme="light"] .project-info h3,
html[data-theme="light"] .comments-heading h2{color:#14283a!important}
html[data-theme="light"] .tags span{border-color:#b6cbdc!important;color:#42627a!important}
html[data-theme="light"] .status-strip{background:#e2edf6!important;border-color:#b5cbdc!important}
html[data-theme="light"] .status-inner h2,
html[data-theme="light"] .about h2{color:#14283a!important}
html[data-theme="light"] .status-items span{color:#587085!important}
html[data-theme="light"] .community-card{background:linear-gradient(145deg,#fff,#eaf2f8)!important;border-color:#aac7da!important;box-shadow:0 12px 25px #23445a18!important}
html[data-theme="light"] .community-card-top,
html[data-theme="light"] .community-card-bottom{color:#42627a!important}
html[data-theme="light"] .community-card-main h3{color:#14283a!important}
html[data-theme="light"] .community-card-main p{color:#48657a!important}
html[data-theme="light"] .comments-intro{color:#405d73!important}
html[data-theme="light"] .comment-board{background:linear-gradient(145deg,#fff,#e9f2f8)!important;border-color:#b5cadb!important}
html[data-theme="light"] .comment-board-head p,
html[data-theme="light"] .comment-form-bottom small{color:#536d82!important}
html[data-theme="light"] .comment-form label{color:#294459!important}
html[data-theme="light"] .comment-form input,
html[data-theme="light"] .comment-form textarea{background:#fff!important;color:#14283a!important;border-color:#b2c8d8!important}
html[data-theme="light"] .comment-entry{background:#fff!important;border-color:#c1d2df!important}
html[data-theme="light"] .comment-entry-top strong,
html[data-theme="light"] .comment-entry p{color:#243c50!important}
html[data-theme="light"] .empty-comments{color:#536d82!important;border-color:#b2c8d8!important}
html[data-theme="light"] .site-footer{background:#e1edf6!important;border-color:#bfd1df!important;color:#3e5a70!important}
html[data-theme="light"] .footer-inner{color:#3e5a70!important}
html[data-theme="light"] .doc-wrap{color:#14283a!important}
html[data-theme="light"] .doc-top{border-color:#bfd1df!important}
html[data-theme="light"] .doc-hero{border-color:#bfd1df!important}
html[data-theme="light"] .doc-hero h1{color:#14283a!important}
html[data-theme="light"] .doc-hero .lede,
html[data-theme="light"] .doc-section p,
html[data-theme="light"] .doc-section li,
html[data-theme="light"] .faq-item p,
html[data-theme="light"] .faq-item li{color:#405d73!important}
html[data-theme="light"] .doc-section{border-color:#c5d5e0!important}
html[data-theme="light"] .doc-section h2{color:#845019!important}
html[data-theme="light"] .doc-table{color:#294459!important}
html[data-theme="light"] .doc-table th,
html[data-theme="light"] .doc-table td{border-color:#c3d2df!important}
html[data-theme="light"] .doc-note,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .update-card,
html[data-theme="light"] .updates-note{background:#fff!important;border-color:#c1d2df!important;color:#14283a!important}
html[data-theme="light"] .update-body p,
html[data-theme="light"] .updates-note p{color:#405d73!important}
html[data-theme="light"] .update-meta{color:#516c82!important}
html[data-theme="light"] .comment-fallback{color:#48657a!important}
@media(max-width:700px){nav .theme-toggle{align-self:flex-start}}

/* Public embedded comments with the previous discussion card kept as a fallback. */
.giscus-shell{display:grid;gap:16px;margin-top:18px}
.giscus{width:100%;min-height:170px}
.giscus-frame{width:100%}
.discussion-fallback-card{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:20px 22px;border:1px solid #245b7b;border-radius:12px;background:linear-gradient(145deg,#09213a,#061528)}
.discussion-fallback-card h3{font-size:18px;font-weight:850;margin:0 0 7px}
.discussion-fallback-card p{margin:0;color:#afc4d5;font-size:13px;line-height:1.55}
.discussion-fallback-card .discussion-button{flex:0 0 auto}
.comments-preview{align-self:center}
@media(max-width:700px){.discussion-fallback-card{align-items:flex-start;flex-direction:column;padding:17px}.discussion-fallback-card .discussion-button{white-space:normal}}
html[data-theme="light"] .discussion-fallback-card{background:linear-gradient(145deg,#fff,#eaf2f8)!important;border-color:#b5cadb!important}
html[data-theme="light"] .discussion-fallback-card h3{color:#14283a!important}
html[data-theme="light"] .discussion-fallback-card p{color:#405d73!important}

/* Align the player marker with the ideas cloud near the top of the map. */
.pixel-ocean.minecraft-map>.map-marker{top:13%!important;left:53%!important}

/* Required first-visit disclaimer */
.disclaimer-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:22px;background:rgba(0,7,18,.88);backdrop-filter:blur(12px)}
.disclaimer-overlay[hidden]{display:none!important}
.disclaimer-card{width:min(620px,100%);max-height:min(88vh,760px);overflow:auto;padding:clamp(22px,4vw,36px);border:1px solid #3185a9;border-radius:16px;background:linear-gradient(145deg,#0b2035,#04101f);color:#eaf7ff;box-shadow:0 24px 90px #0009}
.disclaimer-kicker,.sidebar-kicker,.sidebar-section-label{font-size:10px;font-weight:850;letter-spacing:.14em;color:#80dfff}
.disclaimer-card h2{margin:10px 0 18px;font-size:clamp(25px,4vw,34px);line-height:1.12;font-weight:900;color:#fff}
.disclaimer-card p{margin:0 0 13px;color:#c0d3e1;font-size:14px;line-height:1.65}
.disclaimer-card p strong{color:#fff}
.disclaimer-card .disclaimer-last{margin-top:18px;color:#91e4ff;font-weight:700}
.disclaimer-accept{width:100%;display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding:15px 18px;border:1px solid #55d4ff;border-radius:9px;background:#0d9acb;color:#041321;font-size:13px;font-weight:900;letter-spacing:.06em;cursor:pointer}
.disclaimer-accept:hover{background:#55d4ff}
.disclaimer-note{display:block;margin-top:12px;color:#89a6ba;text-align:center;font-size:11px}
html.disclaimer-open,html.disclaimer-open body{overflow:hidden!important}
html[data-theme="light"] .disclaimer-card{background:linear-gradient(145deg,#fff,#eaf3f9);color:#14283a;border-color:#8dbbd4}
html[data-theme="light"] .disclaimer-card h2,html[data-theme="light"] .disclaimer-card p strong{color:#14283a}
html[data-theme="light"] .disclaimer-card p{color:#405d73}
html[data-theme="light"] .disclaimer-card .disclaimer-last{color:#087fae}
html[data-theme="light"] .disclaimer-note{color:#587085}

/* Slide-out page sidebar */
.sidebar-open{position:fixed;left:16px;top:96px;z-index:9000;display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #3c8db0;border-radius:8px;background:rgba(4,19,35,.94);color:#dff7ff;font:800 11px/1 var(--body);letter-spacing:.08em;cursor:pointer;box-shadow:0 5px 18px #0004;backdrop-filter:blur(8px)}
.sidebar-open:hover{border-color:#70ddff;color:#70ddff}
.site-sidebar-backdrop{position:fixed;inset:0;z-index:8998;background:#0009;backdrop-filter:blur(2px)}
.site-sidebar-backdrop[hidden]{display:none!important}
.site-sidebar{position:fixed;left:0;top:0;bottom:0;z-index:8999;width:min(310px,86vw);padding:24px 18px;overflow-y:auto;background:#061728;border-right:1px solid #245675;box-shadow:18px 0 50px #0006;transform:translateX(-105%);visibility:hidden;transition:transform .24s ease,visibility .24s}
.site-sidebar.is-open{transform:translateX(0);visibility:visible}
.sidebar-head{display:flex;justify-content:space-between;align-items:center;padding:4px 5px 20px;border-bottom:1px solid #24455e;margin-bottom:12px}
.sidebar-close{width:32px;height:32px;border:1px solid #315d78;border-radius:7px;background:#0b263c;color:#eaf7ff;font-size:22px;cursor:pointer}
.sidebar-link{display:flex;align-items:center;gap:12px;padding:11px 12px;margin:3px 0;border-radius:7px;color:#d2e5f2;text-decoration:none;font-size:13px;font-weight:700;transition:background .15s,color .15s}
.sidebar-link:hover,.sidebar-link:focus-visible{background:#10334d;color:#7cddff;outline:none}
.sidebar-sub{padding-left:24px;font-size:12px;color:#a8c1d2}
.sidebar-divider{height:1px;background:#24455e;margin:14px 5px}
.sidebar-section-label{display:block;padding:0 12px 8px;color:#83a9bf;font-size:9px}
html[data-theme="light"] .sidebar-open{background:rgba(255,255,255,.96);color:#173349;border-color:#9dbfd3}
html[data-theme="light"] .site-sidebar{background:#f4f9fd;border-color:#b6ccdc}
html[data-theme="light"] .sidebar-head{border-color:#c1d2df}
html[data-theme="light"] .sidebar-close{background:#e6f0f7;color:#173349;border-color:#b6ccdc}
html[data-theme="light"] .sidebar-link{color:#29475e}
html[data-theme="light"] .sidebar-link:hover{background:#deedf6;color:#087fae}
html[data-theme="light"] .sidebar-divider{background:#c1d2df}
html[data-theme="light"] .sidebar-section-label{color:#58758a}
@media(max-width:700px){.sidebar-open{top:84px;left:10px;padding:9px 10px}.disclaimer-card{padding:21px}}
@media(prefers-reduced-motion:reduce){.site-sidebar{transition:none}}

/* Map identity: the label rises directly from the glowing location dot. */
.pixel-ocean.minecraft-map>.map-marker{
  top:18%!important;left:53%!important;gap:4px!important;
  flex-direction:column!important;align-items:center!important;
}
.pixel-ocean.minecraft-map>.map-marker .marker-label{
  position:relative;z-index:2;transform-origin:center bottom;
  animation:markerNameRise .72s cubic-bezier(.2,.8,.2,1) both;
}
.pixel-ocean.minecraft-map>.map-marker .marker-label:after{
  content:"";position:absolute;left:50%;bottom:-7px;width:2px;height:7px;
  background:linear-gradient(#78d9ff,#5ce0ff);transform:translateX(-50%);
}
.pixel-ocean.minecraft-map>.map-marker .marker-dot{position:relative;z-index:3;margin-top:1px}
@keyframes markerNameRise{
  0%{opacity:0;transform:translateY(15px) scale(.92)}
  75%{opacity:1;transform:translateY(-2px) scale(1.015)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}

/* Put the menu trigger immediately to the left of the skin-head logo. */
.site-header{display:flex!important;align-items:center!important;gap:13px!important}
.site-header>.sidebar-open{
  position:static!important;left:auto!important;top:auto!important;z-index:20;
  flex:0 0 auto;padding:9px 10px!important;margin:0!important;
  border-radius:7px!important;box-shadow:none!important;backdrop-filter:none!important;
}
.site-header>.logo{flex:0 0 auto}
.site-header>nav{margin-left:auto}
@media(max-width:900px){
  .site-header{flex-wrap:wrap!important;gap:10px!important}
  .site-header>nav{order:3;width:100%;margin-left:0;flex-wrap:wrap}
  .site-header>.logo{margin-right:auto}
}
@media(max-width:430px){
  .site-header{padding-left:14px!important;padding-right:14px!important}
  .site-header>.sidebar-open{padding:8px 9px!important;font-size:10px!important}
}

/* Remove visible scrollbar rails while keeping wheel, touch, keyboard and trackpad scrolling. */
html,body,*{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html::-webkit-scrollbar,body::-webkit-scrollbar,*::-webkit-scrollbar{
  display:none!important;width:0!important;height:0!important;background:transparent!important;
}

/* Final marker rendering correction: keep the identity above the glowing pin and above the map texture. */
.pixel-ocean.minecraft-map .map-marker{
  position:absolute!important;left:53%!important;top:17%!important;
  z-index:40!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:flex-start!important;gap:4px!important;
  width:max-content!important;height:auto!important;visibility:visible!important;
  opacity:1!important;transform:translate(-50%,-50%)!important;pointer-events:none!important;
}
.pixel-ocean.minecraft-map .map-marker .marker-label{
  display:block!important;position:relative!important;z-index:42!important;
  visibility:visible!important;opacity:1!important;
  color:#effaff!important;background:#04172b!important;
  border:1px solid #78d9ff!important;border-radius:7px!important;
  padding:7px 11px!important;font:750 13px/1.2 var(--body)!important;
  white-space:nowrap!important;box-shadow:0 4px 12px #001a2b88!important;
  animation:markerNameRise .8s cubic-bezier(.2,.8,.2,1) both!important;
}
.pixel-ocean.minecraft-map .map-marker .marker-label:after{
  content:""!important;position:absolute!important;left:50%!important;
  bottom:-9px!important;width:2px!important;height:9px!important;
  background:#5ce0ff!important;transform:translateX(-50%)!important;
}
.pixel-ocean.minecraft-map .map-marker .marker-dot{
  display:block!important;position:relative!important;z-index:43!important;
  width:14px!important;height:14px!important;min-width:14px!important;
  border-radius:50%!important;background:#5ce0ff!important;
  border:2px solid #e4fbff!important;
  box-shadow:0 0 0 5px #52d8ff36,0 0 17px #52d8ff!important;
}
.pixel-ocean.minecraft-map .idea-cloud{z-index:41!important;top:12%!important}
@media(max-width:430px){
 .pixel-ocean.minecraft-map .map-marker{left:53%!important;top:18%!important}
}

/* === Theme system repair: balanced, full-site light palette === */
html[data-theme="light"]{
  color-scheme:light!important;
  --bg:#edf4f8;--panel:#ffffff;--panel2:#e2edf4;--line:#c2d2dd;
  --cyan:#087da9;--blue:#087eae;--gold:#92551e;--white:#172f43;--muted:#526c80;
}
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="light"] body{
  background:#edf4f8!important;color:#172f43!important;
}
html[data-theme="light"] .shade{
  background:radial-gradient(ellipse at 50% 8%,rgba(255,255,255,.96),rgba(237,244,248,.91) 76%),linear-gradient(180deg,#f8fbfd,#eaf2f7)!important;
}
html[data-theme="light"] #water{opacity:.035!important;filter:brightness(1.8) saturate(.55)}
html[data-theme="light"] .site-header{
  background:rgba(247,251,254,.97)!important;border-bottom:1px solid #c5d4df!important;
  box-shadow:0 5px 22px rgba(26,57,78,.06)!important;
}
html[data-theme="light"] .site-header .logo,
html[data-theme="light"] .site-header .logo span,
html[data-theme="light"] nav,
html[data-theme="light"] nav a,
html[data-theme="light"] .footer-inner,
html[data-theme="light"] .site-footer{color:#29485e!important}
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] .project-info h3,
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .status-inner h2,
html[data-theme="light"] .about h2,
html[data-theme="light"] .community-copy h2,
html[data-theme="light"] .comments-heading h2{color:#172f43!important}
html[data-theme="light"] p,
html[data-theme="light"] li,
html[data-theme="light"] .hero-desc,
html[data-theme="light"] .section-note,
html[data-theme="light"] .project-info p,
html[data-theme="light"] .community-copy>p:not(.eyebrow),
html[data-theme="light"] .about p,
html[data-theme="light"] .hero-meta{color:#526c80!important}
html[data-theme="light"] .eyebrow{color:#87521f!important}
html[data-theme="light"] .project-card,
html[data-theme="light"] .status-strip,
html[data-theme="light"] .community-card,
html[data-theme="light"] .comment-board,
html[data-theme="light"] .discussion-fallback-card,
html[data-theme="light"] .update-card,
html[data-theme="light"] .updates-note,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .doc-note{
  background:linear-gradient(145deg,#ffffff,#edf4f8)!important;
  border-color:#c5d5e0!important;
  box-shadow:0 8px 22px rgba(33,67,88,.055)!important;
}
html[data-theme="light"] .project-visual,
html[data-theme="light"] .project-visual-icon,
html[data-theme="light"] .fog-visual{color:#eef8ff}
html[data-theme="light"] .project-info{background:transparent!important}
html[data-theme="light"] .tags span,
html[data-theme="light"] .community-tags span{color:#365c74!important;border-color:#b5cbd9!important}
html[data-theme="light"] .status-items span,
html[data-theme="light"] .community-card-top,
html[data-theme="light"] .community-card-bottom{color:#526c80!important}
html[data-theme="light"] .community-card-main h3{color:#172f43!important}
html[data-theme="light"] .community-card-main p{color:#526c80!important}
html[data-theme="light"] .comments-intro,
html[data-theme="light"] .comments-preview small,
html[data-theme="light"] .comment-emoji-row{color:#526c80!important}
html[data-theme="light"] .comment-entry{background:#fff!important;border-color:#c5d5e0!important}
html[data-theme="light"] .comment-entry-top strong,
html[data-theme="light"] .comment-entry p{color:#29485e!important}
html[data-theme="light"] .comment-entry-top time,
html[data-theme="light"] .empty-comments{color:#60798b!important}
html[data-theme="light"] .comment-form label{color:#29485e!important}
html[data-theme="light"] .comment-form input,
html[data-theme="light"] .comment-form textarea{background:#fff!important;color:#172f43!important;border-color:#b8ccd9!important}
html[data-theme="light"] .comment-form-bottom small{color:#627c8e!important}
html[data-theme="light"] .site-footer{background:#e2edf4!important;border-top-color:#c2d2dd!important}
html[data-theme="light"] .ticker{background:#dcebf3!important;border-color:#bed3e0!important;color:#36576e!important}
html[data-theme="light"] .ticker b{color:#087da9!important}
html[data-theme="light"] .pixel-btn:not(.primary){background:#fff!important;color:#087da9!important;border-color:#1685ad!important}
html[data-theme="light"] .pixel-btn.primary{background:#087eae!important;color:#fff!important;border-color:#39b9e7!important}
html[data-theme="light"] .theme-toggle{background:#fff!important;color:#24465d!important;border-color:#8fb8cd!important}
html[data-theme="light"] .theme-toggle:hover{background:#e2f1f8!important}
html[data-theme="light"] .sidebar-open{background:#fff!important;color:#24465d!important;border-color:#9bbccd!important}
html[data-theme="light"] .sidebar-close{background:#eaf2f7!important;color:#24465d!important;border-color:#c1d3de!important}
html[data-theme="light"] .site-sidebar{background:#f8fbfd!important;border-right-color:#c3d5e0!important;box-shadow:18px 0 50px rgba(27,61,83,.16)!important}
html[data-theme="light"] .sidebar-head{border-bottom-color:#d0dce5!important}
html[data-theme="light"] .sidebar-link{color:#29485e!important}
html[data-theme="light"] .sidebar-link:hover,
html[data-theme="light"] .sidebar-link:focus-visible{background:#e5f1f7!important;color:#087da9!important}
html[data-theme="light"] .sidebar-divider{background:#d0dce5!important}
html[data-theme="light"] .sidebar-section-label{color:#607b8d!important}
html[data-theme="light"] .disclaimer-card{background:linear-gradient(145deg,#fff,#edf4f8)!important;color:#172f43!important;border-color:#9dc3d7!important}
html[data-theme="light"] .disclaimer-card h2,
html[data-theme="light"] .disclaimer-card p strong{color:#172f43!important}
html[data-theme="light"] .disclaimer-card p{color:#526c80!important}
html[data-theme="light"] .disclaimer-card .disclaimer-last{color:#087da9!important}
html[data-theme="light"] .disclaimer-note{color:#60798b!important}
html[data-theme="light"] .disclaimer-accept{background:#087eae!important;color:#fff!important;border-color:#249ac5!important}
html[data-theme="light"] .update-meta{color:#526c80!important}
html[data-theme="light"] .update-type{background:#e6f3f8!important;color:#087da9!important;border-color:#a8c8d8!important}
html[data-theme="light"] .update-links a{color:#087da9!important}
html[data-theme="light"] .doc-wrap{color:#172f43!important}
html[data-theme="light"] .doc-top{border-bottom-color:#c5d5e0!important}
html[data-theme="light"] .doc-hero{border-bottom-color:#c5d5e0!important}
html[data-theme="light"] .doc-hero h1{color:#172f43!important}
html[data-theme="light"] .doc-hero .lede,
html[data-theme="light"] .doc-section p,
html[data-theme="light"] .doc-section li,
html[data-theme="light"] .faq-item p,
html[data-theme="light"] .faq-item li{color:#526c80!important}
html[data-theme="light"] .doc-section{border-bottom-color:#c5d5e0!important}
html[data-theme="light"] .doc-section h2{color:#87521f!important}
html[data-theme="light"] .doc-tags span{color:#365c74!important;border-color:#b5cbd9!important}
html[data-theme="light"] .doc-actions a{color:#087da9!important;border-color:#9dbfd3!important}
html[data-theme="light"] .doc-actions a:first-child{background:#087eae!important;color:#fff!important}
html[data-theme="light"] .doc-table{color:#29485e!important}
html[data-theme="light"] .doc-table th,
html[data-theme="light"] .doc-table td{border-color:#c5d5e0!important}
html[data-theme="light"] .about-grid article{background:linear-gradient(145deg,#fff,#edf4f8)!important;border-color:#c5d5e0!important}
html[data-theme="light"] .about-grid h3{color:#172f43!important}
html[data-theme="light"] .about-grid p{color:#526c80!important}
html[data-theme="light"] .updates-note{border-left-color:#087da9!important}
html[data-theme="light"] .giscus-shell{color:#172f43}
html.theme-animate body,
html.theme-animate .site-header,
html.theme-animate .site-footer,
html.theme-animate .project-card,
html.theme-animate .status-strip,
html.theme-animate .community-card,
html.theme-animate .site-sidebar,
html.theme-animate .theme-toggle{transition:background-color .38s ease,color .38s ease,border-color .38s ease,box-shadow .38s ease!important}

/* Sidebar hover/focus affordance and improved panel motion. */
.site-header>.sidebar-open{z-index:9002!important;position:relative!important;transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease!important}
.site-header>.sidebar-open:hover,
.site-header>.sidebar-open:focus-visible{transform:translateY(-1px) scale(1.035)!important;border-color:var(--cyan)!important;box-shadow:0 5px 16px rgba(73,191,255,.18)!important;outline:none}
.site-sidebar{transition:transform .3s cubic-bezier(.2,.8,.2,1),visibility .3s,background .3s!important}
.site-sidebar.is-open .sidebar-link{animation:sidebarItemIn .28s both}
.site-sidebar.is-open .sidebar-link:nth-of-type(2){animation-delay:25ms}
.site-sidebar.is-open .sidebar-link:nth-of-type(3){animation-delay:45ms}
.site-sidebar.is-open .sidebar-link:nth-of-type(4){animation-delay:65ms}
.site-sidebar.is-open .sidebar-link:nth-of-type(5){animation-delay:85ms}
.site-sidebar.is-open .sidebar-link:nth-of-type(6){animation-delay:105ms}
@keyframes sidebarItemIn{from{opacity:0;transform:translateX(-9px)}to{opacity:1;transform:translateX(0)}}

/* More restrained motion across the interface. */
.theme-toggle-icon{display:inline-block;transition:transform .35s ease}
.theme-toggle:hover .theme-toggle-icon{transform:rotate(35deg) scale(1.12)}
.logo-skin-head{transition:transform .25s ease,box-shadow .25s ease}
.logo:hover .logo-skin-head{transform:rotate(-5deg) scale(1.07);box-shadow:0 0 18px rgba(73,191,255,.35)!important}
nav a{position:relative}
nav a:not(.nav-github)::after{content:"";position:absolute;left:0;right:100%;bottom:-5px;height:2px;background:var(--cyan);transition:right .22s ease}
nav a:not(.nav-github):hover::after{right:0}
.pixel-btn,.discussion-button,.disclaimer-accept{transition:transform .22s ease,filter .22s ease,box-shadow .22s ease!important}
.pixel-btn:hover,.discussion-button:hover,.disclaimer-accept:hover{transform:translateY(-2px)!important;filter:brightness(1.06);box-shadow:0 8px 22px rgba(45,174,225,.18)}
.project-card{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,border-color .28s ease!important}
.project-card:hover{transform:translateY(-5px)!important;box-shadow:0 14px 30px rgba(0,0,0,.16)!important}
.project-card:nth-child(2){animation-delay:.07s!important}
.project-card:nth-child(3){animation-delay:.14s!important}
.project-card:nth-child(4){animation-delay:.21s!important}
.hero-art{animation:heroMapFloat 8s ease-in-out infinite}
@keyframes heroMapFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.map-compass{transition:transform .35s ease,background .35s ease}
.pixel-ocean:hover .map-compass{transform:rotate(12deg)}
.map-status{transition:transform .25s ease,border-color .25s ease}
.pixel-ocean:hover .map-status{transform:translateY(-2px);border-color:#80e4ff!important}
@keyframes softGlowPulse{0%,100%{box-shadow:0 0 0 4px rgba(82,216,255,.18),0 0 13px rgba(82,216,255,.55)}50%{box-shadow:0 0 0 8px rgba(82,216,255,.08),0 0 20px rgba(82,216,255,.8)}}
.marker-dot{animation:softGlowPulse 2.6s ease-in-out infinite!important}
@keyframes ideaCloudBob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-5px) rotate(1deg)}}
.idea-cloud{animation:ideaCloudBob 5.4s ease-in-out infinite!important}
html.motion-ready .motion-reveal{opacity:0;transform:translateY(16px);transition:opacity .62s ease,transform .62s cubic-bezier(.2,.8,.2,1);transition-delay:var(--reveal-delay,0ms)}
html.motion-ready .motion-reveal.is-visible{opacity:1;transform:translateY(0)}
@media(hover:none){.project-card:hover{transform:none!important}.pixel-ocean:hover .map-compass{transform:none}}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  html.motion-ready .motion-reveal{opacity:1!important;transform:none!important}
}

/* Light theme correction: project cards use the same bright surface as other light-mode panels. */
html[data-theme="light"] .project-grid>.project-card,
html[data-theme="light"] .project-card{
  background:#ffffff!important;background-image:none!important;
  border:1px solid #c8d8e2!important;
  box-shadow:0 9px 24px rgba(25,61,83,.08)!important;
}
html[data-theme="light"] .project-card .project-info{background:#ffffff!important;color:#172f43!important}
html[data-theme="light"] .project-card .project-info h3{color:#172f43!important}
html[data-theme="light"] .project-card .project-info p{color:#526c80!important}
html[data-theme="light"] .project-card .tags span{color:#365c74!important;border-color:#b5cbd9!important}
html[data-theme="light"] .project-card .card-links a{color:#087da9!important}
html[data-theme="light"] .project-card:hover{box-shadow:0 15px 32px rgba(25,61,83,.13)!important}

/* Hover fallback is intentionally desktop-only; touch drawers use explicit open state. */
@media (hover:hover) and (pointer:fine){
  body:has(.site-header>.sidebar-open:hover) .site-sidebar,
  body:has(.site-header>.sidebar-open:focus-visible) .site-sidebar,
  body:has(.site-sidebar:hover) .site-sidebar,
  body:has(.site-sidebar:focus-within) .site-sidebar{
    transform:translateX(0)!important;visibility:visible!important;
  }
  body:has(.site-header>.sidebar-open:hover) .site-sidebar-backdrop,
  body:has(.site-header>.sidebar-open:focus-visible) .site-sidebar-backdrop,
  body:has(.site-sidebar:hover) .site-sidebar-backdrop,
  body:has(.site-sidebar:focus-within) .site-sidebar-backdrop{
    display:block!important;visibility:visible!important;opacity:1!important;
  }
}

/* More visible, lightweight entrance motion. */
html.motion-ready .project-card{animation:none!important}
html.motion-ready .hero .eyebrow,
html.motion-ready .hero h1,
html.motion-ready .hero-desc,
html.motion-ready .hero-meta,
html.motion-ready .hero .pixel-btn,
html.motion-ready .art-frame{will-change:opacity,transform}
.hero .eyebrow{animation:heroTextIn .48s .03s both}
.hero h1{animation:heroTextIn .62s .09s both}
.hero-desc{animation:heroTextIn .62s .17s both}
.hero .pixel-btn{animation:heroTextIn .55s .24s both}
@keyframes heroTextIn{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}
html[data-theme="light"] .site-sidebar-backdrop{background:rgba(26,48,64,.20)!important}
@media(prefers-reduced-motion:reduce){
 .hero .eyebrow,.hero h1,.hero-desc,.hero .pixel-btn{animation:none!important}
}

/* Restore the ZynAyush marker to the original open-water position. */
.pixel-ocean.minecraft-map .map-marker{
  top:57%!important;
  left:54%!important;
}

.idea-cloud{display:none!important}

/* Minimal menu control: no enclosing border or button box. */
.site-header>.sidebar-open{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:7px 8px!important;
  color:var(--white)!important;
}
.site-header>.sidebar-open:hover,
.site-header>.sidebar-open:focus-visible{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:var(--cyan)!important;
  transform:translateY(-1px)!important;
}
html[data-theme="light"] .site-header>.sidebar-open{
  color:#29485e!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
html[data-theme="light"] .site-header>.sidebar-open:hover,
html[data-theme="light"] .site-header>.sidebar-open:focus-visible{
  color:#087da9!important;
  background:transparent!important;
}

/* -------------------------------------------------------
   THREE THEME SYSTEM — Dark default / premium Light / OLED
-------------------------------------------------------- */
html[data-theme="dark"]{
  color-scheme:dark;
  --bg:#020818;--panel:#061326;--panel2:#0a1d34;--line:#164267;
  --cyan:#49bfff;--blue:#007eb9;--gold:#fecb8b;--white:#f0f8ff;--muted:#9db5c9;
}
html[data-theme="light"]{
  color-scheme:light;
  --bg:#f4f7f3;--panel:#fffefa;--panel2:#e9f0eb;--line:#d2ddd4;
  --cyan:#078e91;--blue:#087985;--gold:#bd913e;--white:#173d40;--muted:#5d7473;
}
html[data-theme="oled"]{
  color-scheme:dark;
  --bg:#000000;--panel:#07090a;--panel2:#0e1112;--line:#202627;
  --cyan:#57e1d8;--blue:#19b9b1;--gold:#d8b45e;--white:#f1f7f6;--muted:#9aa9a7;
}
html[data-theme="light"] body{background:#f4f7f3!important;color:#173d40!important}
html[data-theme="light"] .shade{
  background:radial-gradient(ellipse at 50% 7%,rgba(255,255,255,.96),rgba(244,247,243,.94) 76%),linear-gradient(180deg,#fffefa,#edf2ed)!important;
}
html[data-theme="light"] #water{opacity:.025!important;filter:saturate(.35) brightness(1.8)}
html[data-theme="light"] .site-header{
  background:rgba(250,252,248,.96)!important;border-bottom:1px solid #d4dfd6!important;
  box-shadow:0 7px 26px rgba(28,61,56,.055)!important;
}
html[data-theme="light"] .site-header .logo,
html[data-theme="light"] .site-header .logo span,
html[data-theme="light"] nav,
html[data-theme="light"] nav a,
html[data-theme="light"] .footer-inner,
html[data-theme="light"] .site-footer{color:#244b4a!important}
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] .project-info h3,
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .status-inner h2,
html[data-theme="light"] .about h2,
html[data-theme="light"] .community-copy h2,
html[data-theme="light"] .comments-heading h2{color:#173d40!important}
html[data-theme="light"] p,
html[data-theme="light"] li,
html[data-theme="light"] .hero-desc,
html[data-theme="light"] .section-note,
html[data-theme="light"] .project-info p,
html[data-theme="light"] .community-copy>p:not(.eyebrow),
html[data-theme="light"] .about p,
html[data-theme="light"] .hero-meta{color:#5d7473!important}
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .doc-section h2{color:#a77b2c!important}
html[data-theme="light"] .project-card,
html[data-theme="light"] .status-strip,
html[data-theme="light"] .community-card,
html[data-theme="light"] .discussion-card,
html[data-theme="light"] .discussion-fallback-card,
html[data-theme="light"] .update-card,
html[data-theme="light"] .updates-note,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .doc-note,
html[data-theme="light"] .about-grid article{
  background:linear-gradient(145deg,#fffefa,#f0f5ef)!important;
  border-color:#d5dfd5!important;
  box-shadow:0 9px 26px rgba(25,65,59,.065)!important;
}
html[data-theme="light"] .project-card .project-info{background:transparent!important}
html[data-theme="light"] .project-card .project-info h3,
html[data-theme="light"] .community-card-main h3{color:#173d40!important}
html[data-theme="light"] .project-card .project-info p,
html[data-theme="light"] .community-card-main p{color:#5d7473!important}
html[data-theme="light"] .tags span,
html[data-theme="light"] .community-tags span,
html[data-theme="light"] .doc-tags span{color:#356563!important;border-color:#c7d8ce!important}
html[data-theme="light"] .card-links a,
html[data-theme="light"] .update-links a,
html[data-theme="light"] .comments-footnote a{color:#087f82!important}
html[data-theme="light"] .status-items span,
html[data-theme="light"] .community-card-top,
html[data-theme="light"] .community-card-bottom{color:#5d7473!important}
html[data-theme="light"] .ticker{
  background:#e6efea!important;border-color:#d1dfd6!important;color:#416361!important;
}
html[data-theme="light"] .ticker b{color:#b58a35!important}
html[data-theme="light"] .pixel-btn:not(.primary){background:#fffefa!important;color:#087f82!important;border-color:#4da9a1!important}
html[data-theme="light"] .pixel-btn.primary{background:#087f82!important;color:#fffefa!important;border-color:#50b3a9!important}
html[data-theme="light"] .theme-toggle{background:transparent!important;color:#315e59!important;border:0!important}
html[data-theme="light"] .theme-toggle:hover{background:#e5efea!important;color:#087f82!important}
html[data-theme="light"] .sidebar-open{color:#315e59!important}
html[data-theme="light"] .site-sidebar{background:#fbfcf8!important;border-right-color:#d5dfd7!important;box-shadow:18px 0 50px rgba(28,61,56,.16)!important}
html[data-theme="light"] .sidebar-head{border-bottom-color:#d7e0d7!important}
html[data-theme="light"] .sidebar-close{color:#315e59!important}
html[data-theme="light"] .sidebar-link{color:#315b58!important}
html[data-theme="light"] .sidebar-link:hover,
html[data-theme="light"] .sidebar-link:focus-visible{background:#e8f1eb!important;color:#087f82!important}
html[data-theme="light"] .sidebar-divider{background:#d5dfd7!important}
html[data-theme="light"] .sidebar-section-label{color:#8a713f!important}
html[data-theme="light"] .site-footer{background:#e9f0eb!important;border-top-color:#d1ddd5!important}
html[data-theme="light"] .disclaimer-card,
html[data-theme="light"] .bug-report-panel{background:linear-gradient(145deg,#fffefa,#eef4ef)!important;color:#173d40!important;border-color:#c6d9cf!important}
html[data-theme="light"] .disclaimer-card h2,
html[data-theme="light"] .disclaimer-card p strong,
html[data-theme="light"] .bug-report-panel h2,
html[data-theme="light"] .bug-choice strong{color:#173d40!important}
html[data-theme="light"] .disclaimer-card p,
html[data-theme="light"] .bug-report-panel p,
html[data-theme="light"] .bug-choice small{color:#5d7473!important}
html[data-theme="light"] .disclaimer-card .disclaimer-last,
html[data-theme="light"] .bug-panel-kicker{color:#a77b2c!important}
html[data-theme="light"] .disclaimer-note{color:#6b807b!important}
html[data-theme="light"] .disclaimer-accept{background:#087f82!important;color:#fffefa!important;border-color:#4da9a1!important}
html[data-theme="light"] .doc-wrap{color:#173d40!important}
html[data-theme="light"] .doc-top,
html[data-theme="light"] .doc-hero,
html[data-theme="light"] .doc-section{border-color:#d5dfd7!important}
html[data-theme="light"] .doc-hero h1{color:#173d40!important}
html[data-theme="light"] .doc-hero .lede,
html[data-theme="light"] .doc-section p,
html[data-theme="light"] .doc-section li,
html[data-theme="light"] .faq-item p,
html[data-theme="light"] .faq-item li{color:#5d7473!important}
html[data-theme="light"] .doc-actions a{color:#087f82!important;border-color:#b8d2c8!important}
html[data-theme="light"] .doc-actions a:first-child{background:#087f82!important;color:#fffefa!important}
html[data-theme="light"] .doc-table{color:#315b58!important}
html[data-theme="light"] .doc-table th,
html[data-theme="light"] .doc-table td{border-color:#d2ded6!important}
html[data-theme="light"] .faq-item summary{color:#244b4a!important}
html[data-theme="light"] .about-grid h3{color:#173d40!important}
html[data-theme="light"] .about-grid p{color:#5d7473!important}
html[data-theme="light"] .update-meta{color:#647c76!important}
html[data-theme="light"] .update-type{background:#edf3ed!important;color:#a77b2c!important;border-color:#d5dfd5!important}
html[data-theme="light"] .discussion-kicker{color:#a77b2c!important}
html[data-theme="light"] .discussion-card h3{color:#173d40!important}
html[data-theme="light"] .discussion-card p{color:#5d7473!important}
html[data-theme="light"] .doc-footer{border-color:#d5dfd7!important;color:#5d7473!important}
html[data-theme="light"] .site-language-bar{background:#e9f0eb!important;border-color:#d5dfd7!important;color:#244b4a!important}
html[data-theme="light"] .site-language-bar select{background:#fffefa!important;color:#244b4a!important;border-color:#c8d8cd!important}
html[data-theme="light"] .backtop-float{background:#fffefa!important;color:#087f82!important;border-color:#fffefa!important}

/* OLED: true black canvas, discreet charcoal panels and luminous accents. */
html[data-theme="oled"] body{background:#000!important;color:#f1f7f6!important}
html[data-theme="oled"] .shade{background:linear-gradient(180deg,rgba(0,0,0,.72),#000 78%)!important}
html[data-theme="oled"] #water{opacity:.018!important;filter:grayscale(1) brightness(.35)}
html[data-theme="oled"] .site-header{background:rgba(0,0,0,.96)!important;border-bottom:1px solid #171d1e!important;box-shadow:0 5px 24px #000!important}
html[data-theme="oled"] .project-card,
html[data-theme="oled"] .status-strip,
html[data-theme="oled"] .community-card,
html[data-theme="oled"] .discussion-card,
html[data-theme="oled"] .discussion-fallback-card,
html[data-theme="oled"] .update-card,
html[data-theme="oled"] .updates-note,
html[data-theme="oled"] .faq-item,
html[data-theme="oled"] .doc-note,
html[data-theme="oled"] .about-grid article{
  background:linear-gradient(145deg,#090c0d,#030404)!important;
  border-color:#1a2425!important;
  box-shadow:0 8px 25px rgba(0,0,0,.6)!important;
}
html[data-theme="oled"] .project-info h3,
html[data-theme="oled"] .community-card-main h3,
html[data-theme="oled"] .discussion-card h3,
html[data-theme="oled"] .doc-hero h1{color:#f2f8f7!important}
html[data-theme="oled"] .hero-desc,
html[data-theme="oled"] .section-note,
html[data-theme="oled"] .project-info p,
html[data-theme="oled"] .doc-section p,
html[data-theme="oled"] .doc-section li,
html[data-theme="oled"] .faq-item p,
html[data-theme="oled"] .faq-item li,
html[data-theme="oled"] .discussion-card p{color:#9dacab!important}
html[data-theme="oled"] .site-footer,
html[data-theme="oled"] .site-language-bar{background:#030404!important;border-color:#1a2425!important;color:#a9b8b6!important}
html[data-theme="oled"] .ticker{background:#050707!important;color:#9aadaa!important;border-color:#192323!important}
html[data-theme="oled"] .ticker b{color:#d7b65e!important}
html[data-theme="oled"] .site-sidebar{background:#050707!important;border-color:#1c2526!important}
html[data-theme="oled"] .sidebar-link{color:#cbd7d5!important}
html[data-theme="oled"] .sidebar-link:hover{background:#111a1a!important;color:#57e1d8!important}
html[data-theme="oled"] .sidebar-close{background:transparent!important;color:#cbd7d5!important}
html[data-theme="oled"] .disclaimer-card,
html[data-theme="oled"] .bug-report-panel{background:#080b0b!important;border-color:#253030!important;color:#f1f7f6!important}
html[data-theme="oled"] .disclaimer-card h2,
html[data-theme="oled"] .bug-report-panel h2,
html[data-theme="oled"] .bug-choice strong{color:#f1f7f6!important}
html[data-theme="oled"] .disclaimer-card p,
html[data-theme="oled"] .bug-report-panel p,
html[data-theme="oled"] .bug-choice small{color:#a6b4b2!important}
html[data-theme="oled"] .comment-choice,
html[data-theme="oled"] .bug-choice{background:#0a0f0f!important;border-color:#263333!important}
html[data-theme="oled"] .site-language-bar select{background:#070a0a!important;color:#e7f2f0!important;border-color:#273333!important}
html[data-theme="oled"] .backtop-float{background:#080b0b!important;color:#57e1d8!important;border-color:#000!important}

/* Icon-only three-mode theme control. */
.site-header .theme-toggle{
  display:grid!important;place-items:center!important;flex:0 0 36px!important;
  width:36px!important;height:36px!important;padding:0!important;
  border:0!important;border-radius:50%!important;background:transparent!important;
  box-shadow:none!important;color:var(--white)!important;font-size:21px!important;
  cursor:pointer!important;transition:transform .25s ease,color .25s ease,background .25s ease!important;
}
.site-header .theme-toggle:hover{transform:rotate(-12deg) scale(1.1)!important;background:var(--panel2)!important}
.site-header .theme-toggle-icon{font-size:22px!important;line-height:1!important}
html[data-theme="light"] .site-header .theme-toggle{color:#a77b2c!important}
html[data-theme="oled"] .site-header .theme-toggle{color:#57e1d8!important}

/* Bug report choice modal */
.bug-report-overlay{position:fixed;inset:0;z-index:11000;display:grid;place-items:center;padding:20px;background:rgba(0,5,13,.78);backdrop-filter:blur(10px)}
.bug-report-overlay[hidden]{display:none!important}
.bug-report-panel{position:relative;width:min(480px,100%);padding:30px;border:1px solid #245675;border-radius:17px;background:linear-gradient(145deg,#0b2035,#04101f);color:var(--white);box-shadow:0 25px 90px #000a;animation:bugPanelIn .24s ease both}
@keyframes bugPanelIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.bug-report-close{position:absolute;right:16px;top:14px;width:32px;height:32px;border:0!important;outline:0!important;background:transparent!important;color:var(--muted);font-size:24px;cursor:pointer}
.bug-report-close:hover{color:var(--cyan)}
.bug-panel-kicker{font-size:10px;font-weight:850;letter-spacing:.15em;color:var(--gold)}
.bug-report-panel h2{margin:10px 0;font-size:28px;line-height:1.15;font-weight:900;color:var(--white)}
.bug-report-panel>p{margin:0 0 20px;font-size:14px;line-height:1.6;color:var(--muted)}
.bug-choice{display:flex;align-items:center;gap:13px;padding:14px;margin-top:10px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--white);transition:transform .2s,border-color .2s,background .2s}
.bug-choice:hover{transform:translateY(-2px);border-color:var(--cyan);background:var(--panel2)}
.bug-choice-symbol{width:37px;height:37px;display:grid;place-items:center;flex:0 0 37px;border-radius:9px;background:var(--panel2);color:var(--cyan);font-size:11px;font-weight:900;letter-spacing:.04em}
.bug-choice>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}
.bug-choice strong{font-size:14px;font-weight:850;color:var(--white)}
.bug-choice small{font-size:11px;color:var(--muted);line-height:1.4}
.bug-choice-arrow{font-size:17px;color:var(--gold)}
.bug-panel-footnote{display:block;margin-top:18px;color:var(--muted);font-size:10px;line-height:1.5}
html.bug-report-open,html.bug-report-open body{overflow:hidden!important}
html[data-theme="light"] .bug-choice{background:#fffefa;border-color:#d2ddd4;color:#173d40}
html[data-theme="light"] .bug-choice:hover{border-color:#078e91;background:#f1f7f1}
html[data-theme="oled"] .bug-choice{background:#0a0f0f;border-color:#263333;color:#f1f7f6}

/* Clean discussion card — no decorative GIF or emoji strip. */
.comments-heading{margin-bottom:20px}
.comments-heading .comments-intro{max-width:650px;font-size:16px;line-height:1.6;color:var(--muted)}
.discussion-card-clean{margin-top:14px;align-items:center}
.discussion-card-clean .discussion-button{flex:0 0 auto}
html[data-theme="light"] .discussion-card-clean{background:#fffefa!important;border-color:#d2ddd4!important}
html[data-theme="oled"] .discussion-card-clean{background:#070909!important;border-color:#202627!important}

/* Floating arrow-only back-to-top control. */
.backtop-float{
  position:fixed;right:22px;bottom:22px;z-index:8000;
  width:44px;height:44px;display:grid;place-items:center;
  border:1px solid var(--bg)!important;border-radius:50%;
  background:var(--panel2);color:var(--cyan);
  box-shadow:0 6px 20px rgba(0,0,0,.24);
  font:700 22px/1 var(--body);cursor:pointer;
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .22s,visibility .22s,transform .22s,background .22s,color .22s;
}
.backtop-float.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.backtop-float:hover{transform:translateY(-3px);color:var(--gold)}
html[data-theme="light"] .backtop-float{background:#fffefa;color:#078e91;border-color:#f4f7f3!important}
html[data-theme="oled"] .backtop-float{background:#070909;color:#57e1d8;border-color:#000!important}
@media(max-width:600px){.backtop-float{right:14px;bottom:14px;width:40px;height:40px}}

/* Last item on every page: whole-page translation language picker. */
.site-language-bar{padding:18px 24px 24px;border-top:1px solid var(--line);background:var(--panel);color:var(--muted)}
.site-language-inner{width:min(1160px,100%);margin:0 auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.language-caption{margin-right:5px;font-size:10px;font-weight:850;letter-spacing:.14em;color:var(--gold)}
.site-language-bar select{min-width:190px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel2);color:var(--white);font:500 12px/1.3 var(--body)}
.translate-page-button{padding:10px 13px;border:1px solid var(--cyan);border-radius:8px;background:transparent;color:var(--cyan);font:800 11px/1 var(--body);letter-spacing:.05em;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.translate-page-button:hover{background:var(--cyan);color:#001318;transform:translateY(-1px)}
.site-language-inner small{flex-basis:100%;text-align:right;color:var(--muted);font-size:10px}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[data-theme="light"] .site-language-bar{background:#e9f0eb!important;border-color:#d5dfd6!important;color:#244b4a!important}
html[data-theme="light"] .site-language-bar select{background:#fffefa!important;color:#244b4a!important;border-color:#c8d8cd!important}
html[data-theme="light"] .translate-page-button{color:#087f82;border-color:#078e91}
html[data-theme="light"] .translate-page-button:hover{background:#078e91;color:white}
html[data-theme="oled"] .site-language-bar{background:#030404!important;border-color:#1a2425!important}
html[data-theme="oled"] .site-language-bar select{background:#070a0a!important;color:#e7f2f0!important;border-color:#273333!important}
html[data-theme="oled"] .translate-page-button{color:#57e1d8;border-color:#57e1d8}
html[data-theme="oled"] .translate-page-button:hover{background:#57e1d8;color:#00100f}

/* Keep the existing moving characteristics ticker intentional and accessible. */
.ticker div{will-change:transform}
.ticker:hover div{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.ticker div{animation:none!important;transform:none!important}}

/* Sidebar close icon stays borderless in every theme. */
.sidebar-close{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
html[data-theme="light"] .sidebar-close{border:0!important;background:transparent!important}
html[data-theme="oled"] .sidebar-close{border:0!important;background:transparent!important}

/* Premium Light mode: deliberately warm/ivory + turquoise + antique gold. */
html[data-theme="light"]{
  --bg:#f7f4e9;--panel:#fffdf5;--panel2:#e9f1e9;--line:#d5dece;
  --cyan:#087f78;--blue:#0b827b;--gold:#b18432;--white:#193d3b;--muted:#536e68;
  color-scheme:light;
}
html[data-theme="light"] body{background:#f7f4e9!important;color:#193d3b!important}
html[data-theme="light"] .shade{background:radial-gradient(ellipse at 50% 8%,#fffef8 0%,#f7f4e9 70%,#e9efe4 100%)!important}
html[data-theme="light"] #water{opacity:.018!important;filter:grayscale(.6) sepia(.12)}
html[data-theme="light"] .site-header{background:rgba(255,253,245,.96)!important;border-bottom:1px solid #d5dece!important}
html[data-theme="light"] .project-card,
html[data-theme="light"] .status-strip,
html[data-theme="light"] .community-card,
html[data-theme="light"] .discussion-card,
html[data-theme="light"] .discussion-fallback-card,
html[data-theme="light"] .update-card,
html[data-theme="light"] .updates-note,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .doc-note,
html[data-theme="light"] .about-grid article,
html[data-theme="light"] .docs-index-card{
  background:#fffdf5!important;border-color:#d5dece!important;
  box-shadow:0 9px 26px rgba(54,82,55,.07)!important;
}
html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,
html[data-theme="light"] .project-info h3,html[data-theme="light"] .community-card-main h3,
html[data-theme="light"] .discussion-card h3{color:#193d3b!important}
html[data-theme="light"] p,html[data-theme="light"] li,
html[data-theme="light"] .hero-desc,html[data-theme="light"] .section-note,
html[data-theme="light"] .project-info p,html[data-theme="light"] .doc-section p,
html[data-theme="light"] .doc-section li,html[data-theme="light"] .community-copy>p:not(.eyebrow),
html[data-theme="light"] .discussion-card p{color:#536e68!important}
html[data-theme="light"] .eyebrow,html[data-theme="light"] .doc-section h2,
html[data-theme="light"] .discussion-kicker{color:#a57827!important}
html[data-theme="light"] .cyan,html[data-theme="light"] .card-links a,
html[data-theme="light"] .doc-actions a,html[data-theme="light"] .update-links a{color:#087f78!important}
html[data-theme="light"] .pixel-btn.primary,html[data-theme="light"] .discussion-button,
html[data-theme="light"] .disclaimer-accept{background:#087f78!important;color:#fffdf5!important;border-color:#087f78!important}
html[data-theme="light"] .theme-toggle{color:#a57827!important}
html[data-theme="light"] .site-sidebar{background:#fffdf5!important;border-color:#d5dece!important}
html[data-theme="light"] .sidebar-link{color:#244d49!important}
html[data-theme="light"] .sidebar-link:hover{background:#e6efe6!important;color:#087f78!important}
html[data-theme="light"] .disclaimer-card,html[data-theme="light"] .bug-report-panel{background:#fffdf5!important;color:#193d3b!important;border-color:#d5dece!important}
html[data-theme="light"] .disclaimer-card h2,html[data-theme="light"] .bug-report-panel h2,
html[data-theme="light"] .bug-choice strong{color:#193d3b!important}
html[data-theme="light"] .disclaimer-card p,html[data-theme="light"] .bug-report-panel p,
html[data-theme="light"] .bug-choice small{color:#536e68!important}
html[data-theme="light"] .ticker{background:#e6eee3!important;color:#355c52!important;border-color:#d2dfd1!important}
html[data-theme="light"] .ticker b{color:#a57827!important}
html[data-theme="light"] .site-footer,html[data-theme="light"] .site-language-bar{background:#ecefe3!important;color:#35574f!important;border-color:#d5dece!important}
html[data-theme="light"] .site-language-bar select{background:#fffdf5!important;color:#193d3b!important;border-color:#cad8c9!important}
html[data-theme="light"] .backtop-float{background:#fffdf5!important;color:#087f78!important;border-color:#fffdf5!important}
html[data-theme="light"] .doc-top,html[data-theme="light"] .doc-hero,html[data-theme="light"] .doc-section{border-color:#d5dece!important}
html[data-theme="light"] .doc-hero h1{color:#193d3b!important}
html[data-theme="light"] .doc-hero .lede,html[data-theme="light"] .doc-section p,
html[data-theme="light"] .doc-section li{color:#536e68!important}
html[data-theme="light"] .doc-table,html[data-theme="light"] .doc-table th,
html[data-theme="light"] .doc-table td{border-color:#d5dece!important;color:#35574f!important}
html[data-theme="light"] .docs-index-kind{color:#a57827!important}
html[data-theme="light"] .docs-index-open{color:#087f78!important}

/* Device profiles — phone, foldable, tablet, laptop, desktop and TV. */
@media(max-width:360px){
  .site-header{padding:10px 10px!important;gap:7px!important;min-height:68px!important}
  .site-header>.sidebar-open{font-size:9px!important;padding:6px!important}
  .site-header>.logo{gap:7px!important}
  .site-header .logo-skin-head{width:30px!important;height:30px!important;flex-basis:30px!important}
  .site-header nav{gap:9px!important;font-size:10px!important}
  .site-header .theme-toggle{width:30px!important;height:30px!important;flex-basis:30px!important}
  .wrap,.doc-wrap{width:calc(100% - 22px)!important}
  .hero{padding-top:28px!important;padding-bottom:32px!important;gap:22px!important}
  .hero h1{font-size:clamp(30px,11vw,40px)!important}
  .hero-desc{font-size:14px!important}
  .pixel-ocean.minecraft-map{aspect-ratio:1!important}
  .project-grid{grid-template-columns:1fr!important}
  .project-card{grid-template-columns:1fr!important}
  .project-visual{height:142px!important;min-height:142px!important;border-right:0!important;border-bottom:1px solid var(--line)!important}
  .project-info{padding:15px!important}
  .site-language-inner{justify-content:flex-start!important}
  .site-language-inner select{min-width:0;flex:1}
}
@media(min-width:361px) and (max-width:600px){
  .site-header{height:auto!important;min-height:76px!important;padding:12px 14px!important;gap:10px!important;flex-wrap:wrap!important}
  .site-header nav{order:3;width:100%;margin:0!important;gap:12px!important;flex-wrap:wrap!important;font-size:11px!important}
  .wrap,.doc-wrap{width:calc(100% - 30px)!important}
  .hero{grid-template-columns:1fr!important;padding:38px 0 42px!important;gap:26px!important}
  .hero h1{font-size:clamp(37px,10vw,48px)!important}
  .hero-art,.art-frame{width:100%!important;max-width:100%!important}
  .pixel-ocean.minecraft-map{aspect-ratio:1.08!important;height:auto!important;min-height:0!important}
  .project-grid{grid-template-columns:1fr!important}
  .project-card{grid-template-columns:39% minmax(0,1fr)!important;min-height:195px!important}
  .project-visual{height:auto!important;min-height:195px!important}
  .project-info{padding:14px!important}
  .project-info h3{font-size:15px!important}
  .project-info p{font-size:13px!important}
  .card-links{gap:8px!important;flex-wrap:wrap!important}
  .comments-section{padding-block:38px!important}
  .site-language-inner{justify-content:flex-start!important}
  .site-language-inner small{text-align:left!important}
}
@media(min-width:601px) and (max-width:900px){
  .site-header{height:auto!important;min-height:76px!important;padding:14px 22px!important;flex-wrap:wrap!important}
  .site-header nav{order:3;width:100%;margin:0!important;justify-content:space-between!important;gap:14px!important}
  .wrap,.doc-wrap{width:calc(100% - 48px)!important}
  .hero{grid-template-columns:1fr!important;gap:32px!important;padding-block:48px!important}
  .hero-copy{max-width:700px}
  .hero-art,.art-frame{width:min(100%,600px)!important;max-width:600px!important;margin-inline:auto!important}
  .pixel-ocean.minecraft-map{aspect-ratio:1.2!important;min-height:0!important;height:auto!important}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .project-card{grid-template-columns:1fr!important;min-height:0!important}
  .project-visual{height:160px!important;min-height:160px!important;border-right:0!important;border-bottom:1px solid var(--line)!important}
  .project-info{padding:17px!important}
  .about-grid,.docs-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(min-width:901px) and (max-width:1440px){
  .wrap,.doc-wrap{width:min(1160px,calc(100% - 56px))!important}
  .hero{grid-template-columns:1.05fr .95fr!important;gap:40px!important}
  .hero-art,.art-frame{max-width:510px!important}
  .pixel-ocean.minecraft-map{height:350px!important;min-height:350px!important}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(min-width:1441px) and (max-width:1919px){
  .wrap,.doc-wrap{width:min(1380px,calc(100% - 84px))!important}
  .hero{grid-template-columns:1.05fr .95fr!important;gap:58px!important}
  .hero-art,.art-frame{max-width:600px!important}
  .pixel-ocean.minecraft-map{height:410px!important;min-height:410px!important}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
  .hero h1{font-size:clamp(58px,4.1vw,76px)!important}
  .hero-desc{font-size:20px!important}
  .doc-hero .lede{font-size:20px!important}
  .doc-section p,.doc-section li{font-size:18px!important}
}
@media(min-width:1920px){
  .wrap,.doc-wrap{width:min(1640px,calc(100% - 160px))!important}
  .site-header{padding-inline:max(80px,calc((100% - 1640px)/2))!important;height:94px!important}
  .site-header nav{gap:30px!important;font-size:15px!important}
  .hero{grid-template-columns:1.05fr .95fr!important;gap:80px!important;min-height:760px!important}
  .hero-art,.art-frame{max-width:700px!important}
  .pixel-ocean.minecraft-map{height:480px!important;min-height:480px!important}
  .hero h1{font-size:clamp(72px,4.2vw,96px)!important}
  .hero-desc{font-size:23px!important;max-width:700px}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px!important}
  .project-info{padding:28px!important}
  .project-info h3{font-size:22px!important}
  .project-info p{font-size:18px!important;line-height:1.7!important}
  .doc-hero h1{font-size:clamp(64px,4vw,82px)!important}
  .doc-hero .lede,.doc-section p,.doc-section li{font-size:21px!important;line-height:1.75!important}
  .docs-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:25px!important}
  .site-language-inner{width:min(1640px,100%)}
}

/* Foldable / dual-screen devices: use the two panes as a deliberate split canvas. */
@media (horizontal-viewport-segments:2){
  .site-header{padding-left:max(16px,env(viewport-segment-left 0 0, 0px))!important}
  .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:22px!important}
  .hero-copy{padding-inline:clamp(12px,2vw,30px)}
  .hero-art{max-width:100%!important}
  .project-grid,.about-grid,.docs-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .site-sidebar{max-width:min(310px,calc(100vw - 24px))}
}

/* Respect landscape phones/tablets and foldable narrow panes. */
@media(max-height:520px) and (orientation:landscape){
  .site-header{min-height:62px!important;height:auto!important;padding-block:7px!important}
  .hero{padding-block:20px!important;min-height:0!important}
  .pixel-ocean.minecraft-map{height:250px!important;min-height:250px!important}
  .disclaimer-card{max-height:84vh!important}
}

/* Device capability tuning and motion accessibility. */
@media(hover:none) and (pointer:coarse){
  .project-card:hover{transform:none!important}
  .project-card:active{transform:scale(.99)!important}
  .site-header>.sidebar-open{min-width:40px;min-height:40px}
  .theme-toggle{min-width:42px;min-height:42px}
}
@media(prefers-reduced-motion:reduce){
  .ticker div{animation:none!important}
  .hero-art{animation:none!important}
}

/* TV / remote navigation ergonomics */
@media(min-width:1920px) and (hover:none){
  .site-header>.sidebar-open,.site-header .theme-toggle,.pixel-btn,
  .discussion-button,.translate-page-button,.backtop-float{
    min-width:48px;min-height:48px;
  }
  a:focus-visible,button:focus-visible,select:focus-visible{
    outline:3px solid var(--gold)!important;outline-offset:4px!important;
  }
  .site-sidebar{width:380px!important;padding:32px 25px!important}
  .sidebar-link{font-size:17px!important;padding:15px!important}
  .disclaimer-card{width:min(760px,80vw)!important;padding:44px!important}
  .disclaimer-card p{font-size:17px!important}
}
@media(max-width:600px){
  .docs-index-grid{grid-template-columns:1fr!important}
  .docs-index-card{min-height:170px!important}
}

/* Back-to-top: softer fade, longer glide and a restrained lift when revealed. */
.backtop-float{
  opacity:0;
  visibility:hidden;
  transform:translate3d(0,14px,0) scale(.88);
  transform-origin:center;
  transition:
    opacity .42s ease,
    transform .58s cubic-bezier(.16,1,.3,1),
    visibility 0s linear .58s,
    color .28s ease,
    background-color .28s ease,
    box-shadow .32s ease;
  will-change:opacity,transform;
}
.backtop-float.is-visible{
  opacity:1;
  visibility:visible;
  transform:translate3d(0,0,0) scale(1);
  transition:
    opacity .42s ease,
    transform .58s cubic-bezier(.16,1,.3,1),
    visibility 0s,
    color .28s ease,
    background-color .28s ease,
    box-shadow .32s ease;
}
.backtop-float:hover{
  transform:translate3d(0,-4px,0) scale(1.045);
  box-shadow:0 10px 26px rgba(0,0,0,.24);
}
.backtop-float:active{
  transform:translate3d(0,-1px,0) scale(.94);
}
html{scroll-behavior:smooth;scroll-padding-top:24px}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  .backtop-float,
  .backtop-float.is-visible,
  .backtop-float:hover,
  .backtop-float:active{
    transition:none!important;
    transform:none!important;
  }
}


/* === Final mobile layout + touch drawer correction === */
@media(max-width:600px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important}
  .site-header{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    grid-template-areas:"menu brand" "actions actions"!important;
    align-items:center!important;
    justify-content:initial!important;
    gap:9px 13px!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    padding:12px 15px 13px!important;
    flex-direction:initial!important;
    flex-wrap:initial!important;
  }
  .site-header>.sidebar-open{
    grid-area:menu!important;position:static!important;justify-self:start!important;
    align-self:center!important;display:inline-flex!important;align-items:center!important;
    min-width:42px!important;min-height:42px!important;padding:7px 8px!important;
    margin:0!important;border:0!important;border-radius:8px!important;
    background:transparent!important;box-shadow:none!important;transform:none!important;
    font-size:10px!important;letter-spacing:.07em!important;white-space:nowrap!important;
    touch-action:pan-y!important;-webkit-tap-highlight-color:transparent;
  }
  .site-header>.logo{
    grid-area:brand!important;justify-self:start!important;min-width:0!important;
    margin:0!important;gap:10px!important;font-size:13px!important;
  }
  .site-header .logo-skin-head{width:40px!important;height:40px!important;flex:0 0 40px!important}
  .site-header .logo small{font-size:9px!important;letter-spacing:.09em!important;margin-top:4px!important}
  .site-header>nav{
    grid-area:actions!important;order:initial!important;display:flex!important;
    flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;
    width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
    gap:10px!important;flex-wrap:nowrap!important;overflow:visible!important;
    font-size:11px!important;
  }
  .site-header>nav>a:not(.nav-github){display:none!important}
  .site-header>nav .nav-github{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    padding:8px 12px!important;font-size:10px!important;white-space:nowrap!important;
  }
  .site-header>nav .theme-toggle{
    display:grid!important;place-items:center!important;flex:0 0 42px!important;
    width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
    padding:0!important;border-radius:50%!important;
  }
  .wrap,.doc-wrap{width:calc(100% - 30px)!important;max-width:100%!important}
  .hero{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:24px!important;min-height:0!important;padding:38px 0 42px!important;
  }
  .hero-copy{width:100%!important;min-width:0!important;max-width:100%!important}
  .hero .eyebrow{font-size:10px!important;line-height:1.55!important;letter-spacing:.055em!important;flex-wrap:wrap!important}
  .hero h1{font-size:clamp(35px,9.7vw,46px)!important;line-height:1.06!important;letter-spacing:-.065em!important;overflow-wrap:normal!important}
  .hero-desc{font-size:16px!important;line-height:1.65!important;max-width:100%!important}
  .hero-meta{display:flex!important;flex-wrap:wrap!important;gap:8px 14px!important;font-size:10px!important;line-height:1.5!important}
  .hero .pixel-btn{min-height:46px!important;padding:12px 14px!important;font-size:11px!important}
  .hero-art,.art-frame{width:100%!important;max-width:100%!important;margin:0 auto!important}
  .pixel-ocean.minecraft-map{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1.12!important}
  .project-grid,.about-grid,.docs-index-grid{grid-template-columns:1fr!important}
  .project-card{grid-template-columns:1fr!important;min-height:0!important}
  .project-visual{height:155px!important;min-height:155px!important;border-right:0!important;border-bottom:1px solid var(--line)!important}
  .project-info{padding:17px!important}
  .project-info h3{font-size:17px!important}
  .project-info p{font-size:14px!important;line-height:1.6!important}
  .section{padding:48px 0!important}
  .section-head{display:block!important}
  .site-sidebar{width:min(320px,88vw)!important;padding:20px 16px!important;padding-top:max(20px,env(safe-area-inset-top))!important}
  .site-sidebar-backdrop{touch-action:pan-y}
  .sidebar-link{min-height:44px!important;padding:12px!important;font-size:14px!important}
  .sidebar-close{width:40px!important;height:40px!important;font-size:25px!important}
  .site-language-inner{justify-content:flex-start!important}
  .site-language-inner small{text-align:left!important}
}
@media(max-width:380px){
  .site-header{padding-inline:11px!important;gap:7px 9px!important}
  .site-header .logo-skin-head{width:34px!important;height:34px!important;flex-basis:34px!important}
  .site-header>.logo{font-size:12px!important}
  .hero h1{font-size:clamp(32px,9.5vw,38px)!important}
  .hero-desc{font-size:15px!important}
}

/* Light mode is parchment, clay and olive — deliberately unlike Dark/OLED blue-cyan. */
html[data-theme="light"]{
  color-scheme:light!important;
  --bg:#f6efe3!important;--panel:#fffaf1!important;--panel2:#eee2cf!important;--line:#d9c7ad!important;
  --cyan:#a4472b!important;--blue:#80533d!important;--gold:#6f7f45!important;
  --white:#34291f!important;--muted:#756454!important;
}
html[data-theme="light"] body{background:#f6efe3!important;color:#34291f!important}
html[data-theme="light"] .shade{background:radial-gradient(ellipse at 50% 5%,#fffdf7 0%,#f6efe3 72%,#e9dfcf 100%)!important}
html[data-theme="light"] #water{opacity:.012!important;filter:grayscale(1) sepia(.18)!important}
html[data-theme="light"] .site-header{background:rgba(255,250,241,.97)!important;border-bottom:1px solid #d9c7ad!important;box-shadow:0 7px 24px rgba(84,57,32,.07)!important}
html[data-theme="light"] .site-header .logo,html[data-theme="light"] .site-header .logo span,
html[data-theme="light"] nav,html[data-theme="light"] nav a,html[data-theme="light"] .footer-inner,
html[data-theme="light"] .site-footer{color:#44362a!important}
html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] h4,
html[data-theme="light"] .project-info h3,html[data-theme="light"] .section-head h2,
html[data-theme="light"] .doc-hero h1{color:#34291f!important}
html[data-theme="light"] p,html[data-theme="light"] li,html[data-theme="light"] .hero-desc,
html[data-theme="light"] .section-note,html[data-theme="light"] .project-info p,
html[data-theme="light"] .doc-section p,html[data-theme="light"] .doc-section li,
html[data-theme="light"] .faq-item p,html[data-theme="light"] .about p{color:#756454!important}
html[data-theme="light"] .eyebrow,html[data-theme="light"] .doc-section h2,
html[data-theme="light"] .discussion-kicker{color:#6f7f45!important}
html[data-theme="light"] .cyan,html[data-theme="light"] .card-links a,
html[data-theme="light"] .doc-actions a,html[data-theme="light"] .update-links a,
html[data-theme="light"] nav a:hover{color:#a4472b!important}
html[data-theme="light"] .project-card,html[data-theme="light"] .status-strip,
html[data-theme="light"] .community-card,html[data-theme="light"] .discussion-card,
html[data-theme="light"] .discussion-fallback-card,html[data-theme="light"] .update-card,
html[data-theme="light"] .updates-note,html[data-theme="light"] .faq-item,
html[data-theme="light"] .doc-note,html[data-theme="light"] .about-grid article,
html[data-theme="light"] .docs-index-card{
  background:#fffaf1!important;border-color:#d9c7ad!important;
  box-shadow:0 9px 25px rgba(84,57,32,.07)!important;
}
html[data-theme="light"] .project-info,html[data-theme="light"] .project-card .project-info{background:#fffaf1!important;color:#34291f!important}
html[data-theme="light"] .pixel-btn.primary,html[data-theme="light"] .discussion-button,
html[data-theme="light"] .disclaimer-accept{background:#a4472b!important;color:#fffaf1!important;border-color:#a4472b!important}
html[data-theme="light"] .pixel-btn:not(.primary){background:#fffaf1!important;color:#a4472b!important;border-color:#bd8b6f!important}
html[data-theme="light"] .nav-github{border-color:#a4472b!important;color:#a4472b!important}
html[data-theme="light"] .theme-toggle{background:#eee2cf!important;color:#6f7f45!important;border:1px solid #d9c7ad!important}
html[data-theme="light"] .site-header>.sidebar-open{color:#6f7f45!important;background:transparent!important;border:0!important}
html[data-theme="light"] .site-sidebar{background:#fffaf1!important;border-color:#d9c7ad!important}
html[data-theme="light"] .sidebar-head{border-color:#d9c7ad!important}
html[data-theme="light"] .sidebar-link{color:#44362a!important}
html[data-theme="light"] .sidebar-link:hover,html[data-theme="light"] .sidebar-link:focus-visible{background:#eee2cf!important;color:#a4472b!important}
html[data-theme="light"] .sidebar-divider{background:#d9c7ad!important}
html[data-theme="light"] .sidebar-section-label{color:#6f7f45!important}
html[data-theme="light"] .site-sidebar-backdrop{background:rgba(50,36,24,.34)!important}
html[data-theme="light"] .disclaimer-card,html[data-theme="light"] .bug-report-panel{background:#fffaf1!important;color:#34291f!important;border-color:#d9c7ad!important}
html[data-theme="light"] .disclaimer-card h2,html[data-theme="light"] .bug-report-panel h2,
html[data-theme="light"] .bug-choice strong{color:#34291f!important}
html[data-theme="light"] .disclaimer-card p,html[data-theme="light"] .bug-report-panel p,
html[data-theme="light"] .bug-choice small{color:#756454!important}
html[data-theme="light"] .ticker{background:#e9e4d2!important;color:#4d5938!important;border-color:#d5c8a8!important}
html[data-theme="light"] .ticker b{color:#a4472b!important}
html[data-theme="light"] .site-footer,html[data-theme="light"] .site-language-bar{background:#eee7d8!important;color:#514333!important;border-color:#d9c7ad!important}
html[data-theme="light"] .site-language-bar select{background:#fffaf1!important;color:#34291f!important;border-color:#d9c7ad!important}
html[data-theme="light"] .translate-page-button{color:#a4472b!important;border-color:#a4472b!important}
html[data-theme="light"] .backtop-float{background:#fffaf1!important;color:#a4472b!important;border-color:#fffaf1!important}
html[data-theme="light"] .doc-top,html[data-theme="light"] .doc-hero,html[data-theme="light"] .doc-section{border-color:#d9c7ad!important}
html[data-theme="light"] .doc-hero .lede,html[data-theme="light"] .doc-section p,
html[data-theme="light"] .doc-section li{color:#756454!important}
html[data-theme="light"] .doc-table,html[data-theme="light"] .doc-table th,
html[data-theme="light"] .doc-table td{border-color:#d9c7ad!important;color:#514333!important}
html[data-theme="light"] .docs-index-kind{color:#6f7f45!important}
html[data-theme="light"] .docs-index-open{color:#a4472b!important}
html[data-theme="light"] .pixel-ocean.minecraft-map{border-color:#bda98b!important;box-shadow:0 14px 36px rgba(84,57,32,.14)!important}
html[data-theme="light"] .pixel-ocean.minecraft-map .marker-dot{background:#a4472b!important;border-color:#fffaf1!important;box-shadow:0 0 0 5px rgba(164,71,43,.18),0 0 17px rgba(164,71,43,.55)!important}


/* === Light palette completion: remove leftover Dark-mode navy surfaces === */
html[data-theme="light"] .art-frame{
  background:#fff8eb!important;
  border:1px solid #cbb99b!important;
  box-shadow:0 18px 42px rgba(79,58,35,.15),0 3px 0 rgba(164,71,43,.08)!important;
}
html[data-theme="light"] .art-top,
html[data-theme="light"] .art-bottom{
  background:#e9dfca!important;
  color:#647044!important;
  border-color:#d1c1a1!important;
}
html[data-theme="light"] .art-top .live-dot{color:#6f7f45!important}
html[data-theme="light"] .pixel-ocean.minecraft-map{
  background-color:#d2cbb7!important;
  border-color:#c7b797!important;
}
html[data-theme="light"] .pixel-ocean.minecraft-map:after{opacity:.28!important}
html[data-theme="light"] .floating-label{
  background:#a4472b!important;color:#fff8eb!important;
  box-shadow:4px 4px 0 rgba(111,127,69,.25)!important;
}

/* Project artwork panels become warm stone/sage surfaces, not dark blue blocks. */
html[data-theme="light"] .project-visual{
  background:linear-gradient(145deg,#e8dfca,#d4d2bb)!important;
  border-color:#c8b99c!important;color:#44362a!important;
}
html[data-theme="light"] .bot-visual{
  background:radial-gradient(circle at 50% 42%,#f5ead6 0%,#d9dfc8 58%,#c6cfb5 100%)!important;
}
html[data-theme="light"] .fog-visual{
  background:linear-gradient(180deg,#d8e2d1 0%,#bbcbb9 56%,#8eaa91 100%)!important;
}
html[data-theme="light"] .ore-visual{
  background:linear-gradient(145deg,#e4d9c5,#c9c2ad)!important;
}
html[data-theme="light"] .project-visual .visual-label{
  color:#53633e!important;text-shadow:none!important;
}
html[data-theme="light"] .project-visual .visual-code{
  color:#8d4a32!important;text-shadow:none!important;
}
html[data-theme="light"] .project-icon-real{
  background:#fffaf1!important;border-color:#c7b797!important;
  box-shadow:0 8px 20px rgba(83,62,38,.16)!important;
}
html[data-theme="light"] .bot-head{
  border-color:#786b57!important;box-shadow:inset 0 -9px #a49b84,6px 6px 0 rgba(111,94,65,.2)!important;
}
html[data-theme="light"] .bot-head i{background:#a4472b!important;box-shadow:28px 0 #a4472b!important}
html[data-theme="light"] .bot-body{border-color:#786b57!important;background:#a9ad99!important}
html[data-theme="light"] .bot-shadow{background:rgba(90,77,56,.2)!important}
html[data-theme="light"] .ore-block{border-color:#786b57!important;box-shadow:8px 8px 0 rgba(90,77,56,.22)!important}
html[data-theme="light"] .ore-block b{background:#a4472b!important;box-shadow:0 0 8px rgba(164,71,43,.35)!important}

/* Docs and FAQ panels: keep all examples readable on a light surface. */
html[data-theme="light"] .doc-code,
html[data-theme="light"] .doc-wrap .doc-code,
html[data-theme="light"] .doc-section .doc-code,
html[data-theme="light"] .doc-section pre,
html[data-theme="light"] .doc-wrap pre{
  display:block!important;
  background:#eee4d1!important;
  color:#65472d!important;
  border:1px solid #d5c2a3!important;
  border-left:4px solid #a4472b!important;
  box-shadow:0 7px 18px rgba(81,61,39,.08)!important;
}
html[data-theme="light"] .doc-code code,
html[data-theme="light"] .doc-wrap pre code,
html[data-theme="light"] .doc-section pre code{color:#65472d!important}
html[data-theme="light"] .doc-code .token,
html[data-theme="light"] .doc-wrap pre .token{color:#805b33!important}
html[data-theme="light"] .doc-note{
  background:#e4e8d5!important;border-color:#cbd3b5!important;color:#52613e!important;
}
html[data-theme="light"] .faq-item{
  background:#fff8eb!important;border-color:#d9c7ad!important;color:#44362a!important;
}
html[data-theme="light"] .faq-item summary{color:#6f7f45!important}
html[data-theme="light"] .docs-index-art{
  background:linear-gradient(145deg,#d5ddc3,#a9b99a)!important;
  border-color:#cbb99b!important;
}
html[data-theme="light"] .docs-index-art-smooth{
  background:linear-gradient(145deg,#e8dec9,#bdc6a6)!important;
}
html[data-theme="light"] .smooth-font-sample{
  color:#684c37!important;text-shadow:0 3px 10px rgba(92,76,50,.12)!important;
}
html[data-theme="light"] .about-focus-grid article,
html[data-theme="light"] .about-grid article{
  background:linear-gradient(145deg,#fff8eb,#e9e7d6)!important;
  border-color:#d9c7ad!important;
}
html[data-theme="light"] .about-focus-grid h3,
html[data-theme="light"] .about-grid h3{color:#44362a!important}
html[data-theme="light"] .about-focus-grid p,
html[data-theme="light"] .about-grid p{color:#756454!important}
html[data-theme="light"] .status-strip,
html[data-theme="light"] .comment-board,
html[data-theme="light"] .discussion-card-clean{
  background:#fff8eb!important;border-color:#d9c7ad!important;color:#44362a!important;
}
html[data-theme="light"] .status-items b,
html[data-theme="light"] .comment-board h3{color:#6f7f45!important}

/* Mobile header alignment: keep menu, brand, GitHub and theme control on one balanced row. */
@media (max-width:600px){
  .site-header{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    grid-template-areas:"menu brand actions"!important;
    align-items:center!important;
    justify-content:initial!important;
    column-gap:clamp(7px,2.2vw,12px)!important;
    row-gap:0!important;
    min-height:68px!important;
    height:auto!important;
    padding:10px 14px!important;
  }
  .site-header>.sidebar-open{grid-area:menu!important;min-width:0!important;width:auto!important;min-height:42px!important;padding:6px 4px!important;font-size:10px!important;gap:5px!important}
  .site-header>.logo{grid-area:brand!important;min-width:0!important;justify-self:start!important;gap:8px!important;font-size:12px!important;white-space:nowrap!important}
  .site-header .logo-skin-head{width:36px!important;height:36px!important;flex:0 0 36px!important}
  .site-header .logo small{font-size:8px!important;letter-spacing:.08em!important;margin-top:3px!important}
  .site-header>nav{grid-area:actions!important;width:auto!important;min-width:0!important;justify-self:end!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin:0!important;padding:0!important}
  .site-header>nav>a:not(.nav-github){display:none!important}
  .site-header>nav .nav-github{padding:8px 10px!important;font-size:9px!important;white-space:nowrap!important;min-height:38px!important}
  .site-header>nav .theme-toggle{flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
}
@media(max-width:380px){
  .site-header{padding-inline:9px!important;column-gap:6px!important}
  .site-header>.sidebar-open{font-size:9px!important}
  .site-header>.logo{font-size:11px!important;gap:6px!important}
  .site-header .logo-skin-head{width:32px!important;height:32px!important;flex-basis:32px!important}
  .site-header .logo small{font-size:7px!important;letter-spacing:.06em!important}
  .site-header>nav{gap:5px!important}
  .site-header>nav .nav-github{padding:7px 8px!important;font-size:8px!important}
  .site-header>nav .theme-toggle{flex-basis:33px!important;width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important}
}

/* Responsive header alignment: keep the four header controls on one centered row on phones and tablets. */
@media (max-width:900px){
  .site-header{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    grid-template-areas:"menu brand actions"!important;
    align-items:center!important;
    justify-content:initial!important;
    column-gap:clamp(8px,2vw,14px)!important;
    row-gap:0!important;
    width:100%!important;
    min-height:68px!important;
    height:auto!important;
    padding:10px clamp(12px,2.5vw,22px)!important;
    flex-wrap:initial!important;
  }
  .site-header>.sidebar-open{
    grid-area:menu!important;justify-self:start!important;align-self:center!important;
    position:static!important;display:inline-flex!important;align-items:center!important;
    min-width:0!important;width:auto!important;min-height:42px!important;
    margin:0!important;padding:6px 4px!important;gap:5px!important;
    white-space:nowrap!important;font-size:10px!important;
  }
  .site-header>.logo{
    grid-area:brand!important;justify-self:start!important;min-width:0!important;
    margin:0!important;gap:8px!important;font-size:12px!important;
    white-space:nowrap!important;
  }
  .site-header .logo-skin-head{width:38px!important;height:38px!important;flex:0 0 38px!important}
  .site-header .logo small{font-size:8px!important;letter-spacing:.08em!important;margin-top:3px!important}
  .site-header>nav{
    grid-area:actions!important;justify-self:end!important;align-self:center!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;
    justify-content:flex-end!important;gap:clamp(6px,1.5vw,10px)!important;
    width:auto!important;min-width:0!important;margin:0!important;padding:0!important;
    flex-wrap:nowrap!important;overflow:visible!important;
  }
  .site-header>nav>a:not(.nav-github){display:none!important}
  .site-header>nav .nav-github{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-height:38px!important;padding:8px 10px!important;font-size:9px!important;
    white-space:nowrap!important;
  }
  .site-header>nav .theme-toggle{
    flex:0 0 36px!important;width:36px!important;height:36px!important;
    min-width:36px!important;min-height:36px!important;
  }
}
@media(max-width:380px){
  .site-header{padding-inline:9px!important;column-gap:6px!important}
  .site-header>.sidebar-open{font-size:9px!important}
  .site-header>.logo{font-size:11px!important;gap:6px!important}
  .site-header .logo-skin-head{width:32px!important;height:32px!important;flex-basis:32px!important}
  .site-header .logo small{font-size:7px!important;letter-spacing:.06em!important}
  .site-header>nav{gap:5px!important}
  .site-header>nav .nav-github{padding:7px 8px!important;font-size:8px!important}
  .site-header>nav .theme-toggle{flex-basis:33px!important;width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important}
}
