:root{
  --bg:#050607;
  --bg2:#080908;
  --ink:#f6f2ea;
  --ink-strong:#fffaf0;
  --muted:#a6a19a;
  --muted2:#77716a;
  --panel:#0a0b0b;
  --panel2:#11110f;
  --panel3:#15130f;
  --line:rgba(255,255,255,.12);
  --line2:rgba(255,255,255,.20);
  --gold:#d9b46d;
  --gold2:#ffe1a3;
  --green:#8dd4b8;
  --shadow:rgba(0,0,0,.44);
  --radius:18px;
  --radius2:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden;-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;overflow-x:hidden;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.45;text-rendering:optimizeLegibility}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.05;background-image:radial-gradient(circle at 1px 1px,#fff 1px,transparent 0);background-size:3px 3px;mix-blend-mode:screen}
body::after{content:"";position:fixed;inset:-18%;z-index:-1;pointer-events:none;background:radial-gradient(circle at 70% 12%,rgba(217,180,109,.16),transparent 22%),radial-gradient(circle at 26% 64%,rgba(87,130,113,.14),transparent 28%),radial-gradient(circle at 80% 80%,rgba(230,220,195,.06),transparent 22%);filter:blur(18px)}
body.light-mode{--bg:#f4f0e8;--bg2:#f8f5ee;--ink:#10100e;--ink-strong:#050505;--muted:#605b54;--muted2:#837c72;--panel:#fbf8f1;--panel2:#f1ece3;--panel3:#ebe3d4;--line:rgba(28,24,18,.14);--line2:rgba(28,24,18,.22);--gold:#9b6f2e;--gold2:#6e481b;--green:#2d7e62;--shadow:rgba(48,34,16,.14)}
body.light-mode::before{opacity:.18;mix-blend-mode:multiply;background-image:radial-gradient(circle at 1px 1px,#111 1px,transparent 0)}
body.light-mode::after{background:radial-gradient(circle at 72% 10%,rgba(217,180,109,.20),transparent 22%),radial-gradient(circle at 20% 68%,rgba(141,212,184,.16),transparent 28%)}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}img{max-width:100%;display:block}p{margin-top:0}.wrap{width:min(1160px,calc(100vw - 44px));margin:0 auto;position:relative;z-index:1}.narrow{max-width:940px}
.top{position:fixed;top:0;left:0;right:0;z-index:50;height:78px;display:flex;align-items:center;background:linear-gradient(to bottom,rgba(5,6,7,.92),rgba(5,6,7,.70));border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}
body.light-mode .top{background:linear-gradient(to bottom,rgba(244,240,232,.92),rgba(244,240,232,.74))}
.nav{display:flex;align-items:center;justify-content:space-between;gap:28px}.brand a{display:inline-flex;align-items:center;gap:12px}.brand-logo{width:38px;height:38px;border-radius:12px;object-fit:cover;border:1px solid rgba(217,180,109,.30);box-shadow:0 0 24px rgba(217,180,109,.12)}.brand-text{font-size:24px;font-weight:820;letter-spacing:-.045em;color:var(--ink)}.world-dot{color:var(--gold2)}
.navlinks{display:flex;align-items:center;gap:clamp(18px,2.6vw,34px);font-size:14px;font-weight:700;color:rgba(246,242,234,.72)}body.light-mode .navlinks{color:rgba(16,16,14,.70)}.navlinks a{padding:8px 0;border-bottom:1px solid transparent;transition:color .18s,border-color .18s}.navlinks a:hover{color:var(--ink);border-color:var(--gold)}.theme-toggle{min-width:38px;height:38px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.025);color:var(--ink);cursor:pointer;font-weight:800;letter-spacing:.02em}.theme-toggle:hover{border-color:var(--gold)}
.hero{min-height:88svh;display:grid;align-content:center;justify-items:center;text-align:center;padding:132px 0 74px;border-bottom:1px solid var(--line);position:relative;isolation:isolate}.hero::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.42;background-image:linear-gradient(to right,rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.07) 1px,transparent 1px);background-size:min(15vw,190px) min(15vw,190px);mask-image:linear-gradient(to bottom,transparent 0,#000 18%,#000 84%,transparent 100%)}body.light-mode .hero::before{opacity:.25;background-image:linear-gradient(to right,rgba(0,0,0,.07) 1px,transparent 1px),linear-gradient(to bottom,rgba(0,0,0,.07) 1px,transparent 1px)}
.kicker,.label{margin:0 0 18px;color:var(--gold);text-transform:uppercase;letter-spacing:.42em;font-size:11px;font-weight:850}.label{letter-spacing:.18em;margin-bottom:12px}h1,h2,h3{margin-top:0;text-wrap:balance}h1{max-width:880px;margin:0 0 24px;font-size:clamp(42px,5.35vw,78px);line-height:.99;letter-spacing:-.058em;font-weight:780}h2{margin:0 0 18px;font-size:clamp(32px,3.6vw,56px);line-height:1.04;letter-spacing:-.045em;font-weight:760}h3{font-size:clamp(22px,2vw,30px);line-height:1.08;letter-spacing:-.035em;margin:0 0 12px}.lead{max-width:690px;margin:0 0 34px;color:rgba(246,242,234,.72);font-size:clamp(18px,1.5vw,23px);line-height:1.42;letter-spacing:-.018em}body.light-mode .lead{color:rgba(16,16,14,.66)}.muted{color:var(--muted)}
.searchbox{display:flex;width:min(860px,100%);background:rgba(255,255,255,.028);border:1px solid rgba(217,180,109,.28);border-radius:16px;padding:7px;box-shadow:0 28px 80px var(--shadow),inset 0 1px 0 rgba(255,255,255,.06)}body.light-mode .searchbox{background:rgba(255,255,255,.55)}.searchbox input{flex:1;min-width:0;background:transparent;border:0;color:var(--ink);font-size:17px;padding:17px 20px;outline:0}.searchbox input::placeholder{color:rgba(246,242,234,.42)}body.light-mode .searchbox input::placeholder{color:rgba(16,16,14,.40)}.btn,.form button,.searchbox button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:0 22px;background:linear-gradient(135deg,var(--ink),#fff2c7);color:#050607;font-weight:850;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.btn:hover,.form button:hover,.searchbox button:hover{transform:translateY(-1px);box-shadow:0 0 28px rgba(217,180,109,.18);border-color:rgba(217,180,109,.42)}body.light-mode .btn,body.light-mode .form button,body.light-mode .searchbox button{background:#12110f;color:#fff8ea}.hero-discovery{width:100%;margin-top:34px}.soft-title{margin:0 0 14px;color:var(--muted);font-size:12px;letter-spacing:.22em;text-transform:uppercase;font-weight:850;text-align:center}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:970px;margin:0 auto}.quick-chip,.card{position:relative;display:block;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,rgba(255,255,255,.050),rgba(255,255,255,.016)),radial-gradient(circle at 24% 0,rgba(217,180,109,.105),transparent 35%);box-shadow:inset 0 1px 0 rgba(255,255,255,.045);transition:border-color .18s ease,background .18s ease,transform .18s ease}.quick-chip{padding:20px;min-height:112px;text-align:left}.quick-chip:hover,.card:hover{border-color:rgba(217,180,109,.42);background:linear-gradient(145deg,rgba(255,255,255,.066),rgba(255,255,255,.018)),radial-gradient(circle at 24% 0,rgba(217,180,109,.16),transparent 38%)}.quick-chip strong{display:block;color:var(--ink);font-size:17px;margin-bottom:7px}.quick-chip span{display:block;color:var(--muted);font-size:14px;line-height:1.45}
.section{padding:clamp(62px,7.5vw,108px) 0;border-bottom:1px solid var(--line)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.compact-grid{margin-top:26px}.card{padding:28px;min-height:188px}.card p{color:var(--muted);font-size:15px;line-height:1.58}.pill,.chip{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.13);border-radius:999px;padding:6px 11px;color:rgba(246,242,234,.74);font-size:12px;margin:3px 4px 3px 0;background:rgba(255,255,255,.018)}body.light-mode .pill,body.light-mode .chip{color:rgba(16,16,14,.70);background:rgba(255,255,255,.34)}.pill.accent{border-color:rgba(217,180,109,.44);color:var(--ink);background:rgba(217,180,109,.10)}.tagline{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin:12px 0;min-height:auto}.notice{border:1px solid rgba(217,180,109,.32);background:rgba(217,180,109,.08);padding:16px;border-radius:14px;color:var(--ink);margin-bottom:18px}
/* Entity profile */
.entity-page{padding-bottom:78px}.wiki-hero{display:grid;grid-template-columns:190px minmax(0,1fr) 330px;gap:32px;align-items:start;padding:134px 0 64px;min-height:560px;border-bottom:1px solid var(--line);position:relative}.wiki-hero::before{content:"";position:absolute;inset:78px -14vw 0 -14vw;z-index:-1;background:radial-gradient(circle at 74% 12%,rgba(217,180,109,.16),transparent 22%),radial-gradient(circle at 10% 74%,rgba(87,130,113,.18),transparent 26%)}.entity-portrait{width:190px;height:190px;border:1px solid rgba(217,180,109,.36);border-radius:26px;overflow:hidden;background:radial-gradient(circle at 40% 30%,rgba(217,180,109,.20),rgba(255,255,255,.035) 62%,rgba(0,0,0,.12));display:grid;place-items:center;box-shadow:0 28px 80px rgba(0,0,0,.20)}.entity-portrait img{width:100%;height:100%;object-fit:cover}.avatar-fallback{font-size:58px;font-weight:900;letter-spacing:-.08em;color:var(--gold)}.entity-title{font-size:clamp(44px,4.8vw,72px);line-height:.98;letter-spacing:-.065em;margin:0 0 16px}.entity-summary{font-size:clamp(18px,1.55vw,23px);color:rgba(246,242,234,.72);max-width:760px;margin:0;line-height:1.42}body.light-mode .entity-summary{color:rgba(16,16,14,.68)}.infobox{background:linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.016));border:1px solid var(--line);border-radius:18px;padding:24px}.infobox dl{margin:12px 0 0}.infobox dt{font-size:11px;color:var(--gold);letter-spacing:.16em;text-transform:uppercase;margin-top:14px;font-weight:850}.infobox dd{margin:4px 0 0;color:var(--ink)}
.section-tabs{display:flex;gap:10px;flex-wrap:wrap;padding:18px 20px;margin:0 0 0;border:1px solid var(--line);border-radius:0 0 18px 18px;background:linear-gradient(to bottom,rgba(5,6,7,.96),rgba(8,9,8,.86));position:sticky;top:78px;z-index:20;backdrop-filter:blur(18px)}body.light-mode .section-tabs{background:linear-gradient(to bottom,rgba(244,240,232,.96),rgba(248,245,238,.86))}.section-tabs a{border:1px solid var(--line);border-radius:999px;padding:9px 14px;color:var(--muted);font-size:13px;font-weight:720}.section-tabs a:hover{border-color:var(--gold);color:var(--ink)}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:42px;padding:54px 0}.human-article{font-size:18px}.human-article p{max-width:800px;color:rgba(246,242,234,.76);line-height:1.7}body.light-mode .human-article p{color:rgba(16,16,14,.72)}.human-article h2{font-size:clamp(30px,3vw,46px);margin-top:34px}.side-stack{display:grid;gap:18px;align-content:start}.index-card h3{margin:8px 0 12px}.meter{height:9px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;margin:14px 0}.meter span{display:block;height:100%;background:linear-gradient(90deg,var(--gold),var(--gold2));border-radius:99px;box-shadow:0 0 18px rgba(217,180,109,.45)}.scoregrid{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin-top:16px;color:var(--muted)}.scoregrid b{color:var(--ink)}.timeline{list-style:none;margin:8px 0 28px;padding:0;border-left:1px solid rgba(217,180,109,.38)}.timeline li{padding:0 0 22px 18px;position:relative}.timeline li:before{content:"";position:absolute;left:-5px;top:5px;width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 18px rgba(217,180,109,.55)}.timeline span{display:block;color:var(--gold);font-size:12px;text-transform:uppercase;letter-spacing:.15em;font-weight:850}.timeline strong{display:block;margin:4px 0}.timeline p{margin:0;color:var(--muted)}.chips{display:flex;flex-wrap:wrap;gap:8px}.muted-chip{color:var(--muted)}.data-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.data-grid.two-cols{grid-template-columns:repeat(2,1fr)}.relationship-map{display:grid;grid-template-columns:260px repeat(auto-fit,minmax(220px,1fr));gap:18px;align-items:stretch}.node{display:flex;align-items:center;justify-content:center;text-align:center;border-radius:18px;padding:28px;border:1px solid rgba(217,180,109,.38);background:linear-gradient(145deg,rgba(217,180,109,.16),rgba(141,212,184,.055));font-weight:900;font-size:22px}.edge-card{border:1px solid var(--line);background:rgba(255,255,255,.022);border-radius:18px;padding:22px}.edge-card span{display:block;color:var(--gold);font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:850;margin-bottom:10px}.edge-card p{color:var(--muted);margin:8px 0 0}.machine-block{background:#050505;color:#e8e2d5;border:1px solid var(--line);border-radius:18px;padding:20px;overflow:auto;max-height:520px;font-size:13px;line-height:1.55}.references a,.temporal-card a,.human-article a{border-bottom:1px solid rgba(217,180,109,.65)}.temporal-card strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.field{display:grid;gap:8px;margin-bottom:16px}.field label{color:var(--gold);font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:850}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.035);color:var(--ink);padding:13px 14px;outline:0}.field textarea{min-height:120px}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:14px 10px;border-bottom:1px solid var(--line);text-align:left}.table th{color:var(--gold);font-size:11px;text-transform:uppercase;letter-spacing:.16em}
.info-hero{padding:150px 0 52px}.info-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:34px}.info-nav{position:sticky;top:102px;align-self:start;display:grid;gap:10px}.info-nav a{padding:12px 14px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:14px}.info-nav a:hover{color:var(--ink);border-color:var(--gold)}.info-body{display:grid;gap:18px}.adminbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;margin-bottom:18px;border-bottom:1px solid var(--line)}
.footer{position:relative;z-index:1;border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:14px}.footer-inner{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.35fr);gap:24px;align-items:start}.footer-credit{display:grid;gap:5px}.footer-credit strong{color:var(--ink)}.footer-links{display:flex;justify-content:flex-end;gap:20px;flex-wrap:wrap}.footer-links a{color:var(--muted);border-bottom:1px solid transparent}.footer-links a:hover{color:var(--ink);border-color:var(--gold)}
@media(max-width:1080px){.wiki-hero,.content-layout,.info-layout{grid-template-columns:1fr}.infobox{max-width:540px}.side-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-grid,.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-tabs{top:72px}.info-nav{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.navlinks{gap:18px}.brand-text{font-size:22px}}
@media(max-width:760px){.wrap{width:min(100% - 28px,1160px)}.top{height:auto;min-height:70px;padding:10px 0}.nav{align-items:flex-start}.navlinks{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;font-size:12px}.theme-toggle{width:34px;height:34px}.brand-logo{width:34px;height:34px}.brand-text{font-size:19px}.hero{min-height:auto;padding:118px 0 58px}.hero h1{font-size:clamp(38px,11vw,54px)}.lead{font-size:18px}.searchbox{display:grid;grid-template-columns:1fr;gap:8px}.searchbox button{width:100%}.quick-grid,.grid,.data-grid,.data-grid.two-cols,.side-stack,.relationship-map{grid-template-columns:1fr}.wiki-hero{padding-top:120px;min-height:auto}.entity-portrait{width:150px;height:150px}.entity-title{font-size:clamp(38px,10vw,56px)}.section-tabs{position:relative;top:auto;border-radius:18px;margin-top:18px}.content-layout{padding-top:38px}.info-nav{grid-template-columns:1fr}.footer-inner{grid-template-columns:1fr}.footer-links{justify-content:flex-start}.card{padding:22px}.quick-chip{text-align:left}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* LXKeys.world premium polish */
:root{
  --cyan:#8dd4b8;
  --blue:#62a7ff;
  --focus:rgba(217,180,109,.68);
}
html.prelight body{background:#f4f0e8;color:#10100e}
.top{
  height:74px;
  background:linear-gradient(to bottom,rgba(5,6,7,.86),rgba(5,6,7,.58));
  box-shadow:0 14px 60px rgba(0,0,0,.18);
}
body.light-mode .top{background:linear-gradient(to bottom,rgba(249,246,239,.88),rgba(249,246,239,.66))}
.brand a{gap:13px;min-width:0}
.brand-logo{
  width:42px;
  height:42px;
  border-radius:11px;
  object-fit:contain;
  padding:0;
  background:#050607;
  border:1px solid rgba(217,180,109,.44);
  box-shadow:0 12px 34px rgba(0,0,0,.22),0 0 28px rgba(217,180,109,.16);
}
.brand-text{
  font-size:23px;
  letter-spacing:-.03em;
  font-weight:780;
}
.world-dot{color:var(--gold2)}
.navlinks{
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
body.light-mode .navlinks{
  border-color:rgba(26,22,16,.09);
  background:rgba(255,255,255,.36);
}
.navlinks a{
  border-radius:999px;
  padding:8px 10px;
}
.navlinks a:hover{
  background:rgba(217,180,109,.10);
  border-color:transparent;
}
.theme-toggle{
  position:relative;
  width:58px;
  min-width:58px;
  height:34px;
  display:inline-grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.025));
  color:var(--ink);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 12px 34px rgba(0,0,0,.16);
}
.theme-toggle-track{
  position:absolute;
  inset:3px;
  border-radius:inherit;
  background:linear-gradient(90deg,rgba(141,212,184,.10),rgba(217,180,109,.14));
}
.theme-toggle-track::before,
.theme-toggle-track::after{
  content:"";
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border-radius:50%;
}
.theme-toggle-track::before{
  left:9px;
  width:7px;
  height:7px;
  background:var(--gold2);
  box-shadow:0 0 12px rgba(217,180,109,.7);
}
.theme-toggle-track::after{
  right:9px;
  width:8px;
  height:8px;
  border:1px solid currentColor;
  opacity:.68;
}
.theme-toggle-thumb{
  position:absolute;
  left:3px;
  top:3px;
  width:26px;
  height:26px;
  border-radius:50%;
  background:linear-gradient(145deg,#fff8e7,#d9b46d);
  box-shadow:0 8px 20px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.82);
  transition:transform .22s cubic-bezier(.2,.8,.2,1),background .22s ease;
}
.theme-toggle[data-theme="light"] .theme-toggle-thumb{
  transform:translateX(24px);
  background:linear-gradient(145deg,#161512,#39352c);
}
.hero{
  min-height:86svh;
  padding-top:124px;
  border-bottom-color:rgba(217,180,109,.16);
}
.hero::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:34px;
  width:min(760px,80vw);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(217,180,109,.42),rgba(141,212,184,.26),transparent);
}
h1{letter-spacing:-.052em}
.lead,.entity-summary,.human-article p{color:rgba(246,242,234,.78)}
body.light-mode .lead,
body.light-mode .entity-summary,
body.light-mode .human-article p{color:rgba(16,16,14,.72)}
.searchbox{
  border-color:rgba(217,180,109,.36);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.020));
}
.btn,.form button,.searchbox button{
  border-radius:8px;
  letter-spacing:0;
  box-shadow:0 16px 46px rgba(217,180,109,.12);
}
.quick-chip,.card,.infobox,.edge-card,.node,.notice,.field input,.field select,.field textarea,.machine-panel,.machine-block{
  border-radius:8px;
}
.quick-chip,.card,.infobox,.edge-card{
  border-color:rgba(255,255,255,.13);
  background:linear-gradient(145deg,rgba(255,255,255,.058),rgba(255,255,255,.018)),radial-gradient(circle at 24% 0,rgba(217,180,109,.12),transparent 36%);
}
body.light-mode .quick-chip,
body.light-mode .card,
body.light-mode .infobox,
body.light-mode .edge-card{
  border-color:rgba(25,22,16,.13);
  background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.34)),radial-gradient(circle at 24% 0,rgba(217,180,109,.18),transparent 38%);
}
.quick-chip:hover,.card:hover{
  transform:translateY(-3px);
  border-color:rgba(217,180,109,.48);
  box-shadow:0 24px 70px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.07);
}
.card p,.quick-chip span{color:rgba(246,242,234,.70)}
body.light-mode .card p,
body.light-mode .quick-chip span,
body.light-mode .muted{color:rgba(16,16,14,.66)}
.pill,.chip{
  border-color:rgba(255,255,255,.16);
  color:rgba(246,242,234,.82);
}
body.light-mode .pill,
body.light-mode .chip{
  border-color:rgba(16,16,14,.14);
  color:rgba(16,16,14,.74);
}
.section{border-bottom-color:rgba(217,180,109,.13)}
.info-nav a,
.section-tabs a{
  border-radius:8px;
  background:rgba(255,255,255,.018);
}
.section-tabs{
  border-radius:0 0 8px 8px;
  border-color:rgba(217,180,109,.15);
}
.entity-portrait{
  border-radius:8px;
  background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.018)),radial-gradient(circle at 45% 25%,rgba(217,180,109,.26),transparent 62%);
}
.machine-panel{
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(255,255,255,.046),rgba(255,255,255,.014));
  padding:22px;
  overflow:hidden;
}
.machine-panel pre{
  margin:16px 0 0;
  max-height:560px;
  overflow:auto;
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:#050505;
  color:#eee5d6;
  padding:18px;
  font-size:13px;
  line-height:1.55;
}
.field input:focus,.field select:focus,.field textarea:focus,
.searchbox:focus-within{
  border-color:var(--focus);
  box-shadow:0 0 0 3px rgba(217,180,109,.11);
}
.btn:focus-visible,.theme-toggle:focus-visible,.navlinks a:focus-visible,.card:focus-visible,.quick-chip:focus-visible,.pill:focus-visible{
  outline:2px solid var(--focus);
  outline-offset:3px;
}
.table th,.table td{vertical-align:top}
.table td{color:rgba(246,242,234,.78)}
body.light-mode .table td{color:rgba(16,16,14,.74)}
@media(max-width:1080px){
  .nav{gap:16px}
  .navlinks{gap:6px;flex-wrap:wrap;justify-content:flex-end;border-radius:8px}
}
@media(max-width:760px){
  .top{position:sticky}
  .nav{align-items:center;gap:12px}
  .brand-text{font-size:18px}
  .brand-logo{width:36px;height:36px;border-radius:9px}
  .navlinks{
    order:3;
    width:100%;
    justify-content:flex-start;
    overflow-x:auto;
    flex-wrap:nowrap;
    padding:6px;
    scrollbar-width:none;
  }
  .navlinks::-webkit-scrollbar{display:none}
  .navlinks a{white-space:nowrap;font-size:12px}
  .theme-toggle{width:54px;min-width:54px;height:32px}
  .theme-toggle-thumb{width:24px;height:24px}
  .theme-toggle[data-theme="light"] .theme-toggle-thumb{transform:translateX(22px)}
  .hero{padding-top:86px}
  .kicker,.label{letter-spacing:.24em}
  .quick-chip,.card{min-height:auto}
  .result{grid-template-columns:1fr}
  .footer-links{gap:12px}
}

/* V2 visual direction: closer to Cybaxter registry pages */
.wrap{
  width:min(1280px,calc(100vw - 88px));
}
h1{
  font-weight:650;
  letter-spacing:-.048em;
}
h2{
  font-weight:640;
  letter-spacing:-.04em;
}
h3{
  font-weight:650;
}
.hero{
  min-height:calc(100svh - 74px);
  align-content:start;
  padding:118px 0 38px;
}
.hero::after{
  display:none;
}
.hero h1{
  max-width:820px;
  margin-bottom:20px;
  font-size:clamp(42px,4.45vw,68px);
  line-height:1.03;
  font-weight:640;
}
.hero .lead{
  max-width:650px;
  margin-bottom:28px;
  font-size:clamp(17px,1.22vw,20px);
  line-height:1.42;
}
.hero .kicker{
  margin-bottom:18px;
}
.searchbox{
  width:min(760px,100%);
  padding:6px;
}
.searchbox input{
  padding:14px 18px;
  font-size:15px;
}
.searchbox button{
  min-height:44px;
}
.hero-discovery{
  margin-top:26px;
}
.soft-title{
  margin-bottom:12px;
  font-size:11px;
}
.quick-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  max-width:910px;
  gap:12px;
}
.quick-chip{
  min-height:92px;
  padding:16px 18px;
}
.quick-chip strong{
  font-size:15px;
  font-weight:680;
  margin-bottom:6px;
}
.quick-chip span{
  font-size:13px;
  line-height:1.38;
}
.section{
  padding:clamp(58px,6vw,92px) 0;
}
.card h3{
  font-weight:640;
}
.entity-page{
  width:100%;
  max-width:none;
  padding-bottom:0;
}
.entity-page .section,
.entity-page .content-layout,
.entity-page .section-tabs{
  width:100%;
  padding-left:clamp(34px,5.2vw,84px);
  padding-right:clamp(34px,5.2vw,84px);
}
.wiki-hero{
  width:100%;
  min-height:520px;
  display:grid;
  grid-template-columns:170px minmax(360px,680px) minmax(260px,1fr);
  gap:clamp(26px,3.8vw,56px);
  align-items:center;
  padding:156px clamp(34px,5.2vw,84px) 96px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.wiki-hero::before{
  inset:74px 0 0;
  background:
    radial-gradient(circle at 18% 54%,rgba(141,212,184,.14),transparent 22%),
    radial-gradient(circle at 62% 26%,rgba(217,180,109,.13),transparent 30%);
}
.entity-portrait{
  width:170px;
  height:170px;
}
.avatar-fallback{
  font-size:48px;
  font-weight:760;
  letter-spacing:-.055em;
}
.entity-title{
  max-width:720px;
  margin-bottom:16px;
  font-size:clamp(40px,4.1vw,64px);
  line-height:1.02;
  font-weight:640;
  letter-spacing:-.052em;
}
.entity-summary{
  max-width:680px;
  font-size:clamp(18px,1.35vw,22px);
  line-height:1.45;
}
.tagline{
  margin-top:18px;
}
.infobox{
  max-width:420px;
  justify-self:start;
  padding:28px 30px;
  background:linear-gradient(145deg,rgba(255,255,255,.050),rgba(255,255,255,.015));
}
.infobox .label{
  margin-bottom:16px;
}
.infobox dt{
  margin-top:13px;
  font-size:10px;
  font-weight:780;
}
.section-tabs{
  position:relative;
  top:auto;
  z-index:2;
  margin:0;
  padding-top:24px;
  padding-bottom:24px;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.08);
  border-radius:0;
  background:transparent;
  backdrop-filter:none;
}
body.light-mode .section-tabs{
  background:transparent;
}
.section-tabs a{
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.026);
  font-size:12px;
  font-weight:650;
}
.content-layout{
  grid-template-columns:minmax(360px,.84fr) minmax(520px,1.16fr);
  gap:clamp(36px,6vw,96px);
  padding-top:64px;
  padding-bottom:72px;
}
.human-article{
  max-width:680px;
}
.human-article h2{
  font-size:clamp(31px,2.5vw,44px);
  font-weight:640;
}
.human-article p{
  max-width:620px;
  font-size:17px;
  line-height:1.68;
}
.side-stack{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.side-stack .index-card{
  grid-column:span 2;
}
.entity-page .card{
  min-height:auto;
  padding:30px;
}
.entity-page .card h3{
  font-size:clamp(24px,2vw,34px);
}
.data-grid,
.data-grid.two-cols{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.relationship-map{
  grid-template-columns:minmax(260px,.55fr) repeat(2,minmax(240px,1fr));
}
.machine-panel pre{
  background:rgba(0,0,0,.28);
}
@media(max-width:1120px){
  .wrap{width:min(100% - 44px,1160px)}
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wiki-hero,
  .content-layout{
    grid-template-columns:1fr;
  }
  .infobox{
    max-width:620px;
  }
  .side-stack{
    grid-template-columns:1fr;
  }
  .side-stack .index-card{
    grid-column:auto;
  }
}
@media(max-width:760px){
  .wrap{width:min(100% - 28px,1160px)}
  .hero{
    min-height:auto;
    padding:76px 0 42px;
  }
  .hero h1{
    font-size:clamp(34px,9vw,48px);
  }
  .quick-grid,
  .data-grid,
  .data-grid.two-cols,
  .relationship-map{
    grid-template-columns:1fr;
  }
  .quick-chip{
    min-height:auto;
  }
  .entity-page .section,
  .entity-page .content-layout,
  .entity-page .section-tabs,
  .wiki-hero{
    padding-left:18px;
    padding-right:18px;
  }
  .wiki-hero{
    padding-top:92px;
    padding-bottom:56px;
    min-height:auto;
  }
  .entity-portrait{
    width:134px;
    height:134px;
  }
  .entity-title{
    font-size:clamp(34px,9vw,48px);
  }
  .entity-summary{
    font-size:17px;
  }
}

/* V3 identity, theme control and profile column alignment */
:root{
  --profile-side:330px;
  --profile-gap:clamp(28px,3.6vw,54px);
}
.brand a{
  gap:12px;
}
.brand-logo{
  width:36px;
  height:36px;
  border-radius:10px;
  border-color:rgba(217,180,109,.34);
  box-shadow:0 10px 30px rgba(0,0,0,.20);
}
.brand-text{
  font-size:22px;
  font-weight:640;
  letter-spacing:-.035em;
  line-height:1;
}
.world-dot{
  color:#e5c985;
  font-weight:560;
}
.theme-toggle{
  width:62px;
  min-width:62px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:0;
  padding:3px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.17);
  background:rgba(255,255,255,.035);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}
.theme-toggle-track,
.theme-toggle-track::before,
.theme-toggle-track::after{
  display:none;
}
.theme-icon{
  position:relative;
  z-index:2;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:rgba(246,242,234,.62);
}
.theme-icon-sun::before{
  content:"";
  width:11px;
  height:11px;
  border-radius:50%;
  background:currentColor;
  box-shadow:
    0 -7px 0 -4px currentColor,
    0 7px 0 -4px currentColor,
    7px 0 0 -4px currentColor,
    -7px 0 0 -4px currentColor,
    5px 5px 0 -4px currentColor,
    -5px 5px 0 -4px currentColor,
    5px -5px 0 -4px currentColor,
    -5px -5px 0 -4px currentColor;
}
.theme-icon-moon::before{
  content:"";
  width:13px;
  height:13px;
  border-radius:50%;
  background:currentColor;
  box-shadow:5px -2px 0 0 rgba(5,6,7,.98);
}
.theme-toggle-thumb{
  z-index:1;
  left:3px;
  top:3px;
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(217,180,109,.96);
  box-shadow:0 7px 18px rgba(0,0,0,.24);
}
.theme-toggle[data-theme="light"] .theme-toggle-thumb{
  transform:translateX(28px);
  background:#f6f2ea;
}
.theme-toggle[data-theme="dark"] .theme-icon-moon,
.theme-toggle[data-theme="light"] .theme-icon-sun{
  color:#050607;
}
.theme-toggle[data-theme="dark"] .theme-icon-sun,
.theme-toggle[data-theme="light"] .theme-icon-moon{
  color:rgba(246,242,234,.58);
}
body.light-mode .theme-toggle{
  border-color:rgba(16,16,14,.18);
  background:rgba(16,16,14,.06);
}
body.light-mode .theme-icon-moon::before{
  box-shadow:5px -2px 0 0 #f4f0e8;
}
.wiki-hero{
  grid-template-columns:170px minmax(340px,1fr) var(--profile-side);
  gap:var(--profile-gap);
}
.infobox{
  width:var(--profile-side);
  max-width:var(--profile-side);
  justify-self:end;
}
.content-layout{
  grid-template-columns:minmax(0,1fr) var(--profile-side);
  gap:var(--profile-gap);
}
.side-stack{
  grid-template-columns:1fr;
  width:var(--profile-side);
  justify-self:end;
}
.side-stack .index-card{
  grid-column:auto;
}
.entity-page .section{
  padding-top:62px;
  padding-bottom:70px;
}
@media(max-width:1120px){
  .wiki-hero,
  .content-layout{
    grid-template-columns:1fr;
  }
  .infobox,
  .side-stack{
    width:min(100%,620px);
    max-width:620px;
    justify-self:start;
  }
}
@media(max-width:760px){
  .brand-logo{
    width:34px;
    height:34px;
  }
  .brand-text{
    font-size:20px;
  }
  .theme-toggle{
    width:58px;
    min-width:58px;
    height:32px;
  }
  .theme-icon{
    width:26px;
    height:26px;
  }
  .theme-toggle-thumb{
    width:26px;
    height:26px;
  }
  .theme-toggle[data-theme="light"] .theme-toggle-thumb{
    transform:translateX(26px);
  }
}

/* V4 Cybaxter-aligned finish */
:root{
  --gold:#d9b46d;
  --gold2:#fff0bd;
  --line:rgba(255,255,255,.12);
  --line2:rgba(255,255,255,.22);
}
body.light-mode{
  --gold:#9b6f2e;
  --gold2:#d9b46d;
}
.top{
  height:76px;
}
.nav{
  width:min(1280px,calc(100vw - 88px));
}
.brand-logo{
  width:34px;
  height:34px;
  border:0;
  background:transparent;
  border-radius:0;
  box-shadow:none;
}
.brand-text{
  font-size:22px;
  font-weight:690;
  letter-spacing:-.035em;
}
.world-dot{
  color:var(--gold);
  font-weight:620;
}
.theme-toggle{
  width:42px;
  min-width:42px;
  height:42px;
  padding:0;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(217,180,109,.42);
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 14px 40px rgba(0,0,0,.20);
}
.theme-icon,
.theme-icon::before,
.theme-icon::after,
.theme-toggle-thumb,
.theme-toggle-track{
  display:none!important;
}
.theme-toggle-ring{
  position:relative;
  width:28px;
  height:28px;
  border:1px solid rgba(217,180,109,.78);
  border-radius:50%;
  background:radial-gradient(circle at 34% 32%,rgba(217,180,109,.30),transparent 46%);
}
.theme-toggle-ring::after{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:50%;
  border:1px solid rgba(246,242,234,.45);
}
.theme-toggle-mark{
  position:absolute;
  left:6px;
  top:13px;
  width:16px;
  height:1px;
  background:var(--gold);
  transform:rotate(-38deg);
  transform-origin:center;
  box-shadow:0 0 14px rgba(217,180,109,.52);
  transition:transform .22s ease;
}
.theme-toggle[data-theme="light"] .theme-toggle-mark{
  transform:rotate(38deg);
}
body.light-mode .theme-toggle{
  border-color:rgba(155,111,46,.40);
  background:rgba(255,255,255,.36);
}
body.light-mode .theme-toggle-ring::after{
  border-color:rgba(16,16,14,.42);
}
.mobile-nav-toggle{
  display:none;
  cursor:pointer;
  width:42px;
  height:42px;
  place-items:center;
  border:1px solid var(--line2);
  border-radius:999px;
  background:rgba(255,255,255,.03);
  color:var(--ink);
}
.mobile-nav-toggle span,
.mobile-nav-toggle::before,
.mobile-nav-toggle::after{
  content:"";
  display:block;
  width:18px;
  height:1px;
  background:currentColor;
  transition:transform .2s ease,opacity .2s ease;
}
.mobile-nav-toggle::before{transform:translateY(-6px)}
.mobile-nav-toggle::after{transform:translateY(6px)}
body.nav-open{overflow:hidden}
body.nav-open .mobile-nav-toggle span{opacity:0}
body.nav-open .mobile-nav-toggle::before{transform:translateY(1px) rotate(45deg)}
body.nav-open .mobile-nav-toggle::after{transform:translateY(-1px) rotate(-45deg)}
.hero{
  min-height:auto;
  padding:112px 0 54px;
}
.hero h1{
  max-width:780px;
  font-size:clamp(40px,4vw,62px);
}
.hero-discovery,
.searchbox{
  width:min(920px,100%);
}
.quick-grid{
  max-width:none;
}
.section{
  padding:clamp(54px,5vw,82px) 0;
}
.content-layout{
  grid-template-columns:minmax(420px,.62fr) minmax(420px,.38fr);
}
.human-article{
  max-width:760px;
}
.human-article p{
  max-width:760px;
}
.side-stack{
  width:100%;
}
.relationship-map{
  grid-template-columns:minmax(260px,.8fr) repeat(3,minmax(240px,1fr));
}
@media(min-width:1440px){
  .wrap,
  .nav{
    width:min(1460px,calc(100vw - 120px));
  }
  .hero-discovery,
  .searchbox{
    width:min(980px,100%);
  }
  .quick-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .content-layout{
    grid-template-columns:minmax(520px,.58fr) minmax(520px,.42fr);
  }
}
@media(max-width:1080px){
  .nav{
    width:min(100% - 36px,1280px);
  }
  .mobile-nav-toggle{
    display:grid;
  }
  .navlinks{
    position:fixed;
    top:76px;
    left:18px;
    right:18px;
    display:grid;
    gap:0;
    padding:12px;
    border:1px solid var(--line);
    border-radius:8px;
    background:rgba(8,10,12,.96);
    box-shadow:0 24px 80px rgba(0,0,0,.42);
    backdrop-filter:blur(22px);
    opacity:0;
    pointer-events:none;
    transform:translateY(-8px);
    transition:opacity .2s ease,transform .2s ease;
  }
  body.light-mode .navlinks{
    background:rgba(248,245,238,.98);
  }
  .navlinks a{
    padding:15px 12px;
    border-radius:0;
    border-bottom:1px solid var(--line);
  }
  .navlinks a:last-child{
    border-bottom:0;
  }
  body.nav-open .navlinks{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
  }
  .content-layout,
  .relationship-map{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .top{
    min-height:66px;
    padding:0;
  }
  .nav{
    width:min(100% - 28px,1280px);
    align-items:center;
  }
  .brand-text{
    font-size:19px;
  }
  .brand-logo{
    width:31px;
    height:31px;
  }
  .theme-toggle,
  .mobile-nav-toggle{
    width:38px;
    min-width:38px;
    height:38px;
  }
  .theme-toggle-ring{
    width:25px;
    height:25px;
  }
  .hero{
    padding-top:82px;
  }
  .navlinks{
    top:66px;
  }
}

.brand-logo{
  object-fit:contain;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* V6 responsive navigation and admin command center */
.top .nav,
.adminbar .nav{
  display:grid;
  grid-template-columns:minmax(190px,1fr) auto minmax(120px,1fr);
  align-items:center;
  gap:18px;
  margin:0 auto;
}
.brand,
.adminbar .nav > strong{
  justify-self:start;
}
.navlinks{
  justify-self:center;
}
.theme-toggle{
  justify-self:end;
}
.adminbar{
  min-height:76px;
  padding:0;
  margin:0;
  border-bottom:1px solid var(--line);
}
.admin-page h1{
  max-width:none;
}
.admin-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin:28px 0 54px;
}
.admin-command-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:24px 0 34px;
}
.admin-two-col{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:24px 0 34px;
}
.admin-command{
  min-height:220px;
}
.admin-command .btn{
  margin-top:14px;
}
.inline-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.table-wrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius:8px;
}
.table-wrap .table th,
.table-wrap .table td{
  white-space:nowrap;
}
.admin-history{
  padding-left:0;
  padding-right:0;
}
@media(max-width:1080px){
  .top .nav,
  .adminbar .nav{
    display:flex;
    width:min(100% - 28px,1280px);
    gap:12px;
  }
  .brand,
  .adminbar .nav > strong{
    flex:1 1 auto;
    min-width:0;
  }
  .mobile-nav-toggle{
    display:grid;
    flex:0 0 auto;
  }
  .theme-toggle{
    flex:0 0 auto;
  }
  .navlinks{
    left:14px;
    right:14px;
    width:auto;
    justify-self:stretch;
    justify-content:stretch;
    text-align:left;
  }
  .navlinks a{
    width:100%;
    display:block;
    text-align:left;
  }
  .admin-kpi-grid,
  .admin-command-grid,
  .admin-two-col{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:700px){
  .admin-kpi-grid,
  .admin-command-grid,
  .admin-two-col{
    grid-template-columns:1fr;
  }
  .admin-command{
    min-height:auto;
  }
}

/* V7 submit validation and moderation controls */
.hp-field{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}
.submit-confirmation{
  max-width:860px;
}
.submit-confirmation h2{
  margin-top:10px;
  font-size:clamp(28px,3.2vw,48px);
  letter-spacing:0;
}
.submit-form .grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.moderation-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.moderation-card{
  min-height:0;
}
.moderation-card .mini-block{
  margin:12px 0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(255,255,255,.025);
}
.moderation-card .mini-block p{
  margin:6px 0 0;
}
.checkline{
  display:flex;
  align-items:center;
  gap:10px;
  margin:8px 0 18px;
  color:var(--muted);
  font-weight:750;
}
.checkline input{
  width:18px;
  height:18px;
  accent-color:var(--gold);
}
@media(max-width:760px){
  .submit-form .grid,
  .moderation-grid{
    grid-template-columns:1fr;
  }
}

/* V8 compact moderation queue */
.moderation-list{
  display:grid;
  gap:10px;
  margin:18px 0 42px;
}
.moderation-row{
  border:1px solid var(--line);
  border-radius:8px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  overflow:hidden;
}
.moderation-row summary{
  display:grid;
  grid-template-columns:220px minmax(180px,260px) minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:16px 18px;
  cursor:pointer;
  list-style:none;
}
.moderation-row summary::-webkit-details-marker{
  display:none;
}
.moderation-row summary::after{
  content:"+";
  justify-self:end;
  color:var(--gold);
  font-weight:900;
}
.moderation-row[open] summary::after{
  content:"-";
}
.moderation-row summary strong,
.moderation-row summary span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.moderation-body{
  border-top:1px solid var(--line);
  padding:18px;
}
.moderation-body .grid{
  grid-template-columns:1.2fr .8fr;
}
@media(max-width:860px){
  .moderation-row summary{
    grid-template-columns:1fr;
    gap:6px;
  }
  .moderation-row summary::after{
    justify-self:start;
  }
  .moderation-body .grid{
    grid-template-columns:1fr;
  }
}

/* V9 JSON entity append tools */
.json-helper{
  margin:0 0 24px;
}
.json-helper summary{
  cursor:pointer;
  display:grid;
  gap:8px;
}
.json-helper pre{
  overflow:auto;
  padding:16px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(0,0,0,.22);
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.json-import-panel{
  margin-top:18px;
}

/* V10 documentary maturity index */
.score-list{
  display:grid;
  gap:12px;
  margin-top:20px;
}
.score-row{
  display:grid;
  grid-template-columns:minmax(92px,1fr) auto minmax(92px,auto);
  align-items:center;
  gap:12px;
  color:var(--muted);
}
.score-row b{
  color:var(--ink);
  font-size:13px;
  text-align:right;
}
.score-dots{
  display:inline-flex;
  gap:5px;
}
.score-dots i{
  width:8px;
  height:8px;
  border-radius:50%;
  border:1px solid rgba(217,180,109,.42);
  background:rgba(255,255,255,.05);
}
.score-dots i.is-filled{
  background:var(--gold);
  box-shadow:0 0 14px rgba(217,180,109,.42);
}
.overall-maturity{
  margin:18px 0 0;
  padding-top:16px;
  border-top:1px solid var(--line);
  color:var(--ink);
  font-weight:850;
}
.score-method-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:22px 0;
}
.score-method-grid div{
  border:1px solid var(--line);
  border-radius:8px;
  padding:16px;
  background:rgba(255,255,255,.025);
}
.score-method-grid strong{
  display:block;
  color:var(--ink);
  margin-bottom:6px;
}
.score-method-grid span{
  display:block;
  color:var(--muted);
  line-height:1.55;
}
@media(max-width:700px){
  .score-row{
    grid-template-columns:1fr;
    gap:8px;
  }
  .score-row b{
    text-align:left;
  }
  .score-method-grid{
    grid-template-columns:1fr;
  }
}

/* V11 entity record alignment */
.entity-page{
  --record-side-width:clamp(360px,30vw,440px);
  --record-gap:clamp(34px,4.8vw,78px);
}
@media(min-width:1121px){
  .entity-page .content-layout{
    grid-template-columns:minmax(0,1fr) var(--record-side-width);
    gap:var(--record-gap);
    align-items:stretch;
    padding-top:64px;
  }
  .entity-page .human-article{
    max-width:760px;
    min-width:0;
  }
  .entity-page .human-article > .kicker:first-child,
  .entity-page .human-article h2:first-of-type{
    margin-top:0;
  }
  .entity-page .side-stack{
    width:var(--record-side-width);
    max-width:var(--record-side-width);
    justify-self:end;
    align-self:stretch;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto auto minmax(180px,1fr);
    gap:18px;
    align-content:stretch;
  }
  .entity-page .side-stack .card{
    width:100%;
  }
  .entity-page .side-stack .index-card{
    grid-column:auto;
    margin-top:0;
  }
  .entity-page .side-stack .temporal-card{
    min-height:180px;
  }
}
@media(min-width:1440px){
  .entity-page{
    --record-side-width:430px;
    --record-gap:clamp(52px,5vw,96px);
  }
  .entity-page .content-layout{
    grid-template-columns:minmax(620px,1fr) var(--record-side-width);
  }
}
@media(max-width:1120px){
  .entity-page .content-layout{
    grid-template-columns:1fr;
    gap:30px;
    align-items:start;
    padding-top:46px;
  }
  .entity-page .human-article{
    max-width:780px;
  }
  .entity-page .side-stack{
    width:100%;
    max-width:none;
    justify-self:stretch;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
  }
  .entity-page .side-stack .index-card{
    grid-column:auto;
  }
}
@media(max-width:900px){
  .entity-page .side-stack{
    grid-template-columns:1fr;
    max-width:620px;
    justify-self:start;
  }
}
@media(max-width:700px){
  .entity-page .content-layout{
    padding-top:34px;
  }
  .entity-page .side-stack{
    max-width:none;
  }
}
