/* Shared presentation for MetaDaD; page-specific layouts keep their data density. */
html{color-scheme:dark}
body input:focus-visible,body textarea:focus-visible,body select:focus-visible,body button:focus-visible,body a:focus-visible,body summary:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
button:disabled{cursor:default}
.btn:disabled{opacity:.5}
.page-eyebrow{font-size:10px!important;letter-spacing:2.6px;line-height:1.6;font-weight:700;color:var(--acc)!important;margin:0 0 12px!important}
.page-lead{color:var(--dim);font-size:14px;line-height:1.9;margin:12px 0 28px}
.site-header{gap:24px;padding:14px max(24px,calc((100vw - 1320px)/2));flex-wrap:wrap;background:#111318;border-bottom:1px solid #292b32}
.site-brand{text-decoration:none;color:#f5f3ee;flex:none}
.site-brand .brand-name{display:block;font-size:23px;letter-spacing:-.7px;line-height:1.2}
.site-brand .brand-name>span{color:#d9b777}
.site-brand .brand-sub{display:block;font-size:8px;letter-spacing:1.5px;margin-top:5px;color:#a2a4af}
.site-brand img.brand-mark{width:39px;height:39px;border-radius:7px}
.site-nav{display:flex;align-items:center;gap:6px;flex:1;justify-content:center}
.site-nav a{padding:11px 13px;text-decoration:none;color:#a8aab5;font-size:12px;white-space:nowrap;border-radius:5px;transition:background .15s,color .15s}
.site-nav a:hover{background:#25262e;color:#fff}
.site-nav a[aria-current=page]{color:#e9ca8b;background:#28251f}
.site-header .builder-nav{margin-left:0;flex:none}
.site-header .builder-nav-link{display:none}
.site-header .builder-nav{width:auto}
.site-header .brand{gap:10px}
.site-account{margin-left:auto;flex:none;max-width:min(200px,70vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e9ca8b;font-size:12px;padding:9px 12px;border:1px solid #4a4850;border-radius:5px;text-decoration:none}
.site-account[href]:hover{background:#25262e}
.site-account-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:100%}
.site-account-actions .site-account{margin-left:0;min-width:0}
.site-logout{flex:none;font:inherit;font-size:12px;padding:9px 12px;border:1px solid #4a4850;border-radius:5px;background:transparent;color:#c9c5ce;cursor:pointer}
.site-logout:hover{background:#25262e;color:#fff}
.site-logout:disabled{opacity:.6;cursor:wait}
.site-account-status{flex-basis:100%;font-size:12px;color:#f2a8af;text-align:right}
.site-header a:focus-visible,.home-page a:focus-visible{outline:2px solid #e9ca8b;outline-offset:4px}
.builder-shell .site-header{gap:24px;padding:14px max(24px,calc((100vw - 1320px)/2))}
.site-skip{position:absolute;left:16px;top:-60px;z-index:1000;background:#eee;color:#111;padding:10px 18px;border-radius:6px}
.site-skip:focus{top:10px}
.home-page{background:#101115;color:#f4f2ee;font-family:"Segoe UI","Yu Gothic UI",Meiryo,sans-serif}
.home-wrap{max-width:1240px;margin:auto;padding:0 28px}
.home-notice{border-bottom:1px solid #292b32;background:#191b21;padding:10px 24px;text-align:center;font-size:12px;color:#b7b8c1}
.home-notice a{color:#e0bf80;text-underline-offset:4px;margin-left:14px}
.home-notice .notice-dot{display:inline-block;width:6px;height:6px;margin-right:8px;border-radius:100%;background:#b99b60}
.home-hero{position:relative;overflow:hidden;border:1px solid #34323a;border-radius:14px;margin-top:38px;min-height:466px;display:grid;grid-template-columns:1.05fr 1fr;background:radial-gradient(ellipse at 95% 35%,#4a283348,transparent 65%),linear-gradient(120deg,#22232b,#191a20 60%,#262026)}
.home-hero::after{content:"";position:absolute;right:-80px;top:-120px;width:440px;height:650px;border:1px solid #b59a6830;transform:rotate(28deg);pointer-events:none}
.hero-copy{padding:62px 0 56px 48px;position:relative;z-index:1}
.home-eyebrow{color:#d7b879;font-size:10px;letter-spacing:3px;font-weight:700;margin:0 0 20px}
.hero-copy h1{font-size:clamp(30px,3.2vw,46px);line-height:1.45;letter-spacing:-1.8px;margin:0 0 20px;font-weight:750}
.hero-copy h1 em{font-style:normal;color:#e7c68b}
.hero-description{color:#b5b5c1;line-height:1.95;font-size:14px;max-width:440px;margin:0 0 28px}
.home-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-entry{color:#e2e0e6;font-size:13px;line-height:1.8;margin:0 0 18px}
.hero-note a{color:#c9c5ce;text-underline-offset:3px}
.home-button{display:inline-flex;justify-content:center;align-items:center;gap:24px;padding:13px 20px;border-radius:6px;background:#b9444f;color:white;text-decoration:none;font-size:13px;font-weight:700;border:1px solid #c65460;transition:background .15s,transform .15s}
.home-button:hover{background:#cd505c;transform:translateY(-1px)}
.home-button.secondary{background:#ffffff08;border-color:#4a4850;color:#e2e0e6}
.home-button.secondary:hover{background:#ffffff12}
.hero-note{font-size:11px;color:#9999a8;margin:18px 0 0}
.hero-preview{display:flex;align-items:center;justify-content:center;padding:34px 36px 34px 24px;position:relative;z-index:1}
.preview-window{width:100%;border:1px solid #55505b;border-radius:10px;overflow:hidden;background:#14161d;box-shadow:0 24px 60px #0005;transform:perspective(1000px) rotateY(-7deg) rotateZ(2deg)}
.preview-bar{padding:13px 18px;background:#242630;border-bottom:1px solid #3b3c46;display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1.5px;color:#c4c4cc}
.preview-dots{display:flex;gap:4px}.preview-dots i{height:5px;width:5px;border-radius:50%;background:#66616e}
.preview-body{padding:25px;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.preview-loadout{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-content:center}
.preview-slot{position:relative;min-width:0;min-height:0;overflow:hidden;aspect-ratio:1;background:radial-gradient(ellipse,#9b6bd51a,#191b25);border:1px solid #65517b;border-radius:6px;display:grid;place-items:center}
.preview-slot.empty{border:1px dashed #363944;background:#191b2280}
.preview-slot img{position:absolute;inset:10%;width:80%;height:80%;object-fit:contain;filter:drop-shadow(0 4px 5px #0008)}
.preview-summary{border-left:1px solid #323440;padding-left:18px;display:flex;flex-direction:column;justify-content:center}
.preview-summary small{color:#d2b37c;font-size:9px;letter-spacing:2px}
.preview-summary h2{font-size:20px;letter-spacing:-.6px;margin:8px 0 15px}
.preview-summary p{padding:8px 0;margin:0;border-bottom:1px solid #2c2f39;color:#b6b7c4;font-size:11px;display:flex;justify-content:space-between;gap:8px}
.preview-summary p span{color:#d6b97e}.preview-footer{border-top:1px solid #30323c;padding:12px 18px;color:#9fa2b2;font-size:10px;text-align:center;letter-spacing:.4px}
.home-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:26px 4px 32px;border-bottom:1px solid #2b2c34}
.home-proof strong{display:block;color:#ddd9d2;font-size:13px;margin-bottom:5px}.home-proof p{color:#9597a6;font-size:12px;line-height:1.8;margin:0}
.home-section{padding-top:44px}.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.home-section-heading h2{font-size:25px;letter-spacing:-.8px;margin:0}.home-section-heading p{color:#9698a6;font-size:12px;margin:7px 0 0}
.home-section-heading>a{color:#c4ad80;font-size:12px;text-decoration:none;white-space:nowrap}
.home-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.tool-card{position:relative;display:flex;flex-direction:column;padding:25px 22px;background:#1b1d24;border:1px solid #30323c;border-radius:9px;text-decoration:none;color:inherit;min-height:218px;transition:background .15s,border-color .15s,transform .15s}
.tool-card:hover{background:#22242d;border-color:#817154;transform:translateY(-3px)}
.tool-icon{font-size:22px;color:#dcc18e;width:42px;height:42px;border:1px solid #504737;background:#302a2160;border-radius:8px;display:grid;place-items:center;margin-bottom:20px;font-family:Georgia,serif}
.tool-card h3{font-size:16px;margin:0 0 10px}.tool-card p{font-size:12px;color:#a2a4b3;line-height:1.85;margin:0 0 18px}.tool-card .card-go{font-size:11px;color:#d8bc88;margin-top:auto;display:flex;justify-content:space-between}
.home-bottom{display:grid;grid-template-columns:1.1fr 1fr;gap:22px;margin:42px 0 48px}
.home-guide,.home-community{border:1px solid #30323c;border-radius:10px;background:#1a1c23;padding:30px}
.home-bottom h2{font-size:21px;letter-spacing:-.6px;margin:0 0 22px}
.home-steps{list-style:none;counter-reset:steps;padding:0;margin:0;display:grid;gap:20px}
.home-steps li{counter-increment:steps;position:relative;padding-left:42px}.home-steps li::before{content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:0;font-size:12px;font-weight:700;color:#d8ba82;border:1px solid #5a4e3b;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}
.home-steps strong{font-size:13px;display:block;margin-bottom:3px}.home-steps p{color:#9c9fad;line-height:1.8;font-size:12px;margin:0}
.home-community{background:radial-gradient(ellipse at 100% 0,#5865f222,transparent 70%),#1a1c23;display:flex;flex-direction:column;align-items:flex-start}
.home-community .home-eyebrow{margin-bottom:14px;color:#a7afff}.home-community h2{line-height:1.6;margin-bottom:10px}.home-community p{font-size:12px;color:#aeb0c1;line-height:1.95;margin:0 0 22px}
.home-community .home-button{margin-top:auto;background:#5865d8;border-color:#6a75e7}.home-community .home-button:hover{background:#6975ed}
.home-community small{color:#9396a9;font-size:10px;line-height:1.8;margin-top:12px}
.home-footer{border-top:1px solid #2b2d35;padding:25px 0 30px;color:#858896;font-size:11px;line-height:1.9}
.home-footer-inner{display:flex;justify-content:space-between;gap:24px}.home-footer strong{display:block;color:#c7c3bc;font-size:16px;margin-bottom:5px}.home-footer a{color:#aaa5a0;text-underline-offset:3px}
/* References share the same typography and surfaces as the home page. */
.reference-page .pn,.reference-page .changelog{max-width:900px;margin:auto;padding:44px 28px 72px;line-height:1.9;overflow-wrap:anywhere}
.reference-page h1,.drops-page .dr h1,.samples-page .lb-main h1,.compare-page .page-heading h1{font-size:30px;font-weight:700;line-height:1.45;letter-spacing:-.8px;color:var(--txt);margin:0 0 12px}
.reference-page .pn-lead{font-size:14px;color:var(--dim);margin:0 0 28px;line-height:1.9}
.reference-page :is(.pn,.changelog) a{color:var(--acc);text-underline-offset:4px}
.reference-page :is(.pn,.changelog) a:hover{color:var(--acc2)}
.reference-page .pn-toc{padding:22px 24px 22px 42px;margin:0 0 28px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-size:13px}
.reference-page .pn-toc li+li{margin-top:9px}
.reference-page .pn-toc span{display:block;color:var(--dim2);font-size:11px}
.reference-page .pn article{background:var(--panel);border:1px solid var(--line);border-radius:10px;margin:22px 0;padding:28px;scroll-margin-top:24px}
.reference-page .pn h2{font-size:20px;line-height:1.6;letter-spacing:-.3px;color:var(--acc);margin:0 0 8px}
.reference-page .pn .pn-date{font-size:11px;color:var(--dim2);margin:0 0 24px}
.reference-page .pn h3,.reference-page .changelog h3{font-size:17px;line-height:1.7;color:var(--txt);margin:26px 0 10px}
.reference-page .pn h4{font-size:14px;color:var(--txt);margin:20px 0 8px}
.reference-page .pn p,.reference-page .pn li,.reference-page .changelog p,.reference-page .changelog li{font-size:14px;line-height:1.95}
.reference-page .pn p,.reference-page .changelog p{margin:10px 0;color:var(--dim)}
.reference-page .pn ul,.reference-page .changelog ul{padding-left:22px;margin:10px 0;color:var(--dim)}
.reference-page li+li{margin-top:7px}
.reference-page .pn blockquote{font-size:13px;color:var(--dim);margin:18px 0;padding:12px 16px;background:var(--bg2);border-left:2px solid var(--acc);border-radius:0 6px 6px 0}
.reference-page .changelog h2{font-size:15px;letter-spacing:.7px;color:var(--acc);border-top:1px solid var(--line);padding-top:26px;margin:32px 0 14px}
.drops-page .dr{max-width:1240px;padding:44px 28px 72px;gap:20px}
.drops-page .dr-lead{font-size:14px;line-height:1.9;color:var(--dim);margin:0 0 8px;max-width:800px}
.drops-page .dr-list,.drops-page .dr-tbl,.lb-card{border-radius:10px}
.drops-page .dr a{color:var(--acc)}
.drops-page .dr-tabs{border-radius:6px}
.drops-page .dr-tabs button{padding:10px 15px}
.drops-page .dr-tabs button[aria-selected=true]{background:#28251f;color:var(--acc2)}
.drops-page #dr-q{min-height:40px;border-radius:6px;background:var(--bg2)}
.drops-page .dr-row{padding:10px 14px}
.drops-page .dr-detail h2{font-size:19px;line-height:1.6}
.drops-page .dr-note{color:var(--dim);font-size:13px;line-height:1.9}
.compare-page{max-width:1240px;padding:44px 28px 72px}
.compare-page .page-heading{display:block;margin-bottom:26px}
.compare-page .page-heading>span{font-size:14px;line-height:1.9;color:var(--dim)}
.compare-page .compare-inputs{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:22px}
.compare-page .compare-inputs input{height:40px;border-radius:6px}
.compare-page .compare-actions{height:40px}
.compare-page .compare-actions .btn{border-radius:6px}
.compare-page .damage-comparison,.compare-page .context-diff{border-radius:10px;background:var(--panel)}
.compare-page .section-heading{padding:14px 16px}
.compare-page .section-heading h2{font-size:15px}
.samples-page .lb-main{max-width:1000px;padding:44px 28px 72px}
.samples-page .lb-lead{font-size:14px;color:var(--dim);line-height:1.9;margin-bottom:24px}
.samples-page .lb-help{font-size:13px;margin-bottom:20px}
.samples-page #lb-zone{padding:36px 20px;background:var(--panel);border-radius:10px;font-size:14px}
.builder-shell .panel{border-radius:10px}
.builder-shell .panel-head{background:var(--panel2)}
.builder-shell .stat-row{border-bottom-color:var(--line)}
.builder-shell .builder-toolbar{background:var(--bg2)}
@media(max-width:1050px){.site-header{gap:12px 20px}.site-nav{order:3;flex-basis:100%;justify-content:flex-start;overflow-x:auto}.site-header .builder-nav{margin-left:auto}.home-hero{grid-template-columns:1fr 1fr}.hero-copy{padding:40px 0 40px 30px}.hero-preview{padding:25px}.preview-body{padding:16px;gap:12px}.preview-summary{padding-left:12px}.preview-summary h2{font-size:17px}.home-tools{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.site-header,.builder-shell .site-header{padding:12px 16px;gap:12px}.site-nav{gap:2px;min-width:0;scrollbar-width:thin}.site-nav a{padding:9px 11px}.site-brand .brand-name{font-size:21px}.home-wrap{padding-inline:18px}.home-notice{font-size:10px;padding:10px 16px;line-height:1.9}.home-hero{grid-template-columns:1fr;margin-top:22px}.hero-copy{padding:30px 24px 12px}.hero-copy h1{font-size:32px}.hero-description{font-size:13px}.hero-preview{padding:20px 25px 30px}.preview-window{max-width:420px;transform:none}.preview-body{padding:22px}.preview-summary h2{font-size:20px}.home-proof{gap:18px;padding:24px 4px;grid-template-columns:1fr}.home-proof strong{font-size:13px}.home-section{padding-top:30px}.home-section-heading{align-items:start}.home-section-heading h2{font-size:22px}.home-tools{gap:10px}.tool-card{padding:19px 16px;min-height:228px}.tool-card h3{font-size:14px}.tool-card p{font-size:11px}.home-bottom{grid-template-columns:1fr;margin:28px 0;gap:14px}.home-guide,.home-community{padding:25px}.home-footer-inner{flex-direction:column;gap:12px}.home-button{padding:12px 16px;font-size:12px;gap:16px}}
@media(max-width:700px){
  .reference-page .pn,.reference-page .changelog,.drops-page .dr,.compare-page,.samples-page .lb-main{padding:28px 18px 48px}
  .reference-page h1,.drops-page .dr h1,.samples-page .lb-main h1,.compare-page .page-heading h1{font-size:26px}
  .reference-page .pn article{padding:20px 18px}
  .reference-page .pn-toc{padding:18px 18px 18px 34px}
  .reference-page .pn h2{font-size:18px}
  .compare-page .compare-inputs{padding:16px;gap:14px}
  .compare-page .compare-actions{height:38px}
  .compare-page .page-heading>span{font-size:13px}
  .drops-page .dr-tabs button{padding:10px 12px}
  .preview-body{padding:16px;gap:12px}
  .preview-summary h2{font-size:clamp(11px,3.3vw,15px);line-height:1.75;letter-spacing:-.4px}
  .preview-summary p{font-size:9px;padding:6px 0}
  .preview-summary small{font-size:7px;letter-spacing:1px}
}
@media(prefers-reduced-motion:reduce){.home-page *{transition:none!important}.tool-card:hover,.home-button:hover{transform:none}}
