/* @generated ARK: PUBLISHED COPY -- DO NOT EDIT THIS COPY
   This file is PUBLISHED to site/weave/engine/ by site/world_engine/build-browser-runtime.mjs.
   site/world_engine/ is the declared source. Edits made to the published copy are destroyed by
   the next publish -- measured 2026-09-30: over 91 commit-states the output carried work the
   source lacked in 57 of them. The publisher now refuses rather than overwriting, and
   verify-projector-source-parity.mjs reports it. Edit the source; this banner is in both copies. */
:root{color-scheme:dark;--ground:#0a1014;--ink:#edf3f1;--muted:#a9b4b1;--faint:#84918d;--rule:rgba(142,184,179,.2);--admit:#73d0c6;--gold:#d7b66b;--open:#f0a06d;--mono:ui-monospace,"Cascadia Code","JetBrains Mono",Menlo,Consolas,monospace;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
*{box-sizing:border-box}
html,body{width:100%;min-height:100vh;margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}
body{background:var(--ground)}
a{color:inherit}a:focus-visible{outline:2px solid var(--admit);outline-offset:2px;border-radius:2px}button,input{font:inherit}

#ark-surface{position:relative;min-height:100vh;display:flex;flex-direction:column}

/* The galaxy — full viewport background, alive */
#ark-galaxy{position:fixed;inset:0;z-index:0;overflow:hidden;transition:opacity .35s ease,filter .35s ease}
#ark-galaxy>svg{width:100%;height:100%;display:block}
#ark-surface[data-projector-depth="background"] #ark-galaxy{opacity:.42;filter:saturate(.72)}
#ark-surface[data-search-active="true"] #ark-galaxy{opacity:.16;filter:saturate(.45) blur(.4px)}
#ark-surface[data-projector-depth="background"] #ark-galaxy text{opacity:.2;transition:opacity .25s ease}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy{opacity:1;filter:none;cursor:grab;z-index:2;touch-action:none}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy:active{cursor:grabbing}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .node text,#ark-surface[data-projector-depth="foreground"] #ark-galaxy .face{opacity:0;transition:opacity .2s ease}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .node{opacity:.7;transition:opacity .2s ease}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .node.is-open{opacity:1}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .node.is-open text{opacity:1;font-size:12px;paint-order:stroke;stroke:rgba(5,10,13,.92);stroke-width:3px;stroke-linejoin:round}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .node.is-open .story{opacity:0}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .node.is-open .core{r:14px}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .node.is-open .halo{r:28px;stroke-opacity:.72;stroke-width:1.5}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .node.is-seeded{opacity:1}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .node.is-seeded .halo{stroke-opacity:.55}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .node.is-distant{opacity:.2}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .seeded-edge{opacity:.08}
#ark-surface[data-projector-depth="foreground"] #ark-galaxy .seeded-edge.is-open-edge{opacity:.82;stroke:var(--gold);stroke-width:1.4}

/* All content floats above the galaxy */
#ark-content{position:relative;z-index:1;min-height:100vh;display:flex;flex-direction:column}

/* Top bar */
#ark-top{display:flex;justify-content:space-between;align-items:center;padding:24px 40px;background:linear-gradient(180deg,rgba(5,10,13,.92),rgba(5,10,13,0))}
.mark-bow{display:inline-block;vertical-align:-.18em;margin-left:.3em;width:2.4em;height:1.5em;flex:none}
#ark-top .mark{font-family:var(--mono);font-size:20px;font-weight:600;letter-spacing:-.02em;text-decoration:none}
#ark-top .mark span{color:var(--gold)}
#ark-top .mark .ark-tag{display:block;font-size:9px;letter-spacing:.15em;color:var(--muted);font-weight:400;margin-top:2px}
#ark-hero a{color:inherit;text-decoration:none;transition:border-color .15s,color .15s}
#ark-hero h1 a{border-bottom:1px solid transparent}
#ark-hero h1 a:hover{border-bottom-color:var(--gold)}
#ark-hero .lead a{border-bottom:1px solid transparent}
#ark-hero .lead a:hover{color:var(--ink);border-bottom-color:var(--admit)}
#ark-routes{display:flex;gap:20px;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
#ark-routes a{color:var(--muted);text-decoration:none;transition:color .12s}
#ark-routes a:hover{color:var(--ink)}

/* Hero — text left, open space right where the galaxy breathes */
#ark-hero{flex:1;display:flex;flex-direction:column;justify-content:center;padding:0 40px;max-width:600px;min-height:min(55vh,480px)}
#ark-hero h1{font-family:var(--mono);font-size:clamp(28px,4vw,42px);font-weight:600;letter-spacing:-.02em;line-height:1.15;margin:0 0 20px}
#ark-hero .lead{color:var(--muted);font-size:15px;line-height:1.6;margin:0;max-width:42ch}

/* Search — the wide bar, centered */
#ark-search-area{padding:0 40px 20px;max-width:900px;margin:0 auto;width:100%}
#ark-input{width:100%}
#ark-input .field{position:relative;display:flex;align-items:center;border-bottom:1px solid rgba(142,184,179,.25);background:rgba(10,16,20,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
#ark-input label{font-family:var(--mono);font-size:clamp(14px,2.2vw,18px);letter-spacing:.2em;text-transform:uppercase;color:var(--faint);padding:0 12px;white-space:nowrap}
#ark-input input{flex:1;padding:16px 12px;border:0;outline:0;background:transparent;color:var(--ink);font-family:var(--mono);font-size:clamp(14px,2.2vw,18px);letter-spacing:.06em}
#ark-input input::placeholder{color:var(--faint)}
#ark-input input:focus-visible{outline:none}#ark-input .field:focus-within{border-bottom-color:var(--admit)}
#ark-input button{width:40px;height:40px;border:0;background:transparent;color:var(--gold);cursor:pointer;font-size:20px;transition:color .12s}
#ark-input button:hover{color:var(--admit)}
#ark-input #ark-check-search,#ark-input #ark-resume-search,#ark-input #ark-start-fresh,#ark-input #ark-first-return,#ark-input #ark-held-court-row{width:auto;max-width:100%;height:auto;min-height:44px;padding:8px 12px;font:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;border:1px solid currentColor;border-radius:8px}
#ark-check-search[hidden],#ark-resume-search[hidden],#ark-first-return[hidden],#ark-held-court-row[hidden]{display:none}
#ark-input button:focus-visible{outline:2px solid var(--admit);outline-offset:2px;border-radius:4px}
#ark-status{display:block;text-align:center;min-height:16px;margin:8px 0 0;color:var(--muted);font-family:var(--mono);font-size:12px}

/* Boundary */
#ark-boundary{text-align:center;padding:8px 40px 0;font-family:var(--mono);font-size:11px;letter-spacing:.04em;color:var(--faint);line-height:1.6}

/* Ways */
#ark-ways{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 24px;padding:20px 40px 0;font-family:var(--mono);font-size:11px;letter-spacing:.04em}
#ark-ways a{color:var(--faint);text-decoration:none;transition:color .12s}
#ark-ways a:hover{color:var(--admit)}

/* Result panels */
#ark-result-wrap{max-width:900px;margin:0 auto;width:100%;padding:24px 40px}
#ark-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}
.ark-mini{padding:12px 14px;border:1px solid var(--rule);background:rgba(10,16,20,.65);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.ark-mini .eyebrow{display:block;margin-bottom:5px;font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.ark-mini p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
#ark-result{display:grid;gap:10px}
.ark-section{padding:14px 16px;border:1px solid var(--rule);background:rgba(10,16,20,.65);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.ark-section h2{margin:0 0 6px;font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.ark-history-section{border-style:dashed;background:rgba(10,16,20,.48)}
.ark-history-section h2{color:var(--faint)}
.ark-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.ark-section-heading h2{margin:0}
.ark-state{padding:3px 7px;border:1px solid var(--rule);border-radius:999px;color:var(--faint);font-family:var(--mono);font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.ark-state.is-grounded{border-color:rgba(115,208,198,.36);color:var(--admit);background:rgba(115,208,198,.05)}
.ark-answer-card>p{font-size:clamp(15px,2vw,17px);line-height:1.62;max-width:72ch}
.ark-answer-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--rule)}
#ark-open-story,#ark-gift-open,.ark-gift-controls button{min-height:40px;padding:8px 13px;border:1px solid rgba(215,182,107,.52);border-radius:999px;background:rgba(5,10,13,.55);color:var(--gold);cursor:pointer;font-family:var(--mono);font-size:11px;letter-spacing:.04em}
#ark-open-story:hover,#ark-gift-open:hover,.ark-gift-controls button:hover{border-color:var(--gold);color:var(--ink)}
#ark-open-story:focus-visible,#ark-gift-open:focus-visible,.ark-gift-controls button:focus-visible{outline:2px solid var(--admit);outline-offset:3px}
#ark-story-context{color:var(--faint);font-family:var(--mono);font-size:10px;line-height:1.45}
.ark-gift-form{display:grid;gap:12px;margin-top:14px;padding:16px;border:1px solid rgba(215,182,107,.38);background:rgba(5,10,13,.72)}
.ark-gift-form[hidden]{display:none}.ark-gift-form h3{margin:0;color:var(--gold);font:600 13px/1.4 var(--mono)}
.ark-gift-form p{color:var(--muted);font-size:13px}.ark-gift-form label{display:grid;gap:6px;color:var(--ink);font:11px/1.5 var(--mono)}
.ark-gift-form textarea{width:100%;resize:vertical;padding:10px;border:1px solid var(--rule);border-radius:4px;background:rgba(10,16,20,.92);color:var(--ink);font:14px/1.5 var(--sans)}
.ark-gift-form textarea:focus-visible{outline:2px solid var(--admit);outline-offset:2px}.ark-gift-consent{grid-template-columns:auto 1fr!important;align-items:start}.ark-gift-consent input{margin-top:3px}
.ark-gift-controls{display:flex;flex-wrap:wrap;gap:8px}.ark-gift-controls button:last-child{border-color:var(--rule);color:var(--muted)}#ark-gift-status{min-height:18px;color:var(--muted);font:11px/1.5 var(--mono)}
.ark-context{margin:-1px 0 9px!important;color:var(--muted)!important;font-size:12px!important}
.ark-section p,.ark-section li{margin:0;color:var(--ink);line-height:1.55;font-size:15px}
.ark-section ul{margin:0;padding-left:18px;display:grid;gap:5px}
.ark-section li a{color:var(--admit);border-bottom:1px solid transparent}
.ark-section li a:hover{border-bottom-color:var(--admit)}
.ark-section li small{display:block;color:var(--faint);font-size:12px;margin-top:2px;word-break:break-all}
.ark-source{padding:8px 0 10px}
.ark-source+.ark-source{border-top:1px solid var(--rule)}
.ark-source-head{display:grid;grid-template-columns:minmax(120px,max-content) minmax(0,1fr);align-items:baseline;gap:12px}
.ark-source-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:normal!important}
.ark-source details{margin-top:8px}
.ark-source summary{width:max-content;max-width:100%;cursor:pointer;color:var(--muted);font-family:var(--mono);font-size:11px;letter-spacing:.02em}
.ark-source summary:hover{color:var(--ink)}
.ark-source summary:focus-visible{outline:2px solid var(--admit);outline-offset:3px;border-radius:2px}
.ark-empty{color:var(--faint)}
.ark-cite{margin:6px 0 0;padding:6px 10px;border-left:2px solid var(--rule);color:var(--muted);font-size:13px;line-height:1.5;font-style:italic}

/* Directory */
#ark-directory{max-width:900px;margin:0 auto;width:100%;padding:28px 40px 0;border-top:1px solid var(--rule)}
#ark-directory>h2{margin:0 0 14px;font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);text-align:center}
.ark-dir-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ark-dir-card{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--rule);background:rgba(10,16,20,.65);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);text-decoration:none;transition:border-color .15s}
.ark-dir-card:hover{border-color:rgba(142,184,179,.25)}
.ark-dir-card.ark-dir-current{opacity:.6;pointer-events:none}
.ark-dir-domain{font-family:var(--mono);font-size:13px;color:var(--admit)}
.ark-dir-label{font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.ark-dir-desc{font-size:12px;color:var(--muted);line-height:1.5}

/* Trust */
#ark-trust{max-width:660px;margin:0 auto;width:100%;padding:40px 40px 0;display:grid;gap:24px}
.trust-point h3{margin:0 0 4px;font-family:var(--mono);font-size:14px;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.trust-point p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.trust-close p{margin:0;color:var(--faint);font-family:var(--mono);font-size:13px;line-height:1.6;letter-spacing:.01em;border-top:1px solid var(--rule);padding-top:20px}

/* Footer */
#ark-footer{padding:40px;text-align:center;font-family:var(--mono);font-size:11px;color:var(--faint);letter-spacing:.02em;margin-top:auto}
#ark-footer a{color:var(--faint);border-bottom:1px solid transparent}
#ark-footer a:hover{color:var(--muted);border-bottom-color:var(--muted)}

.tone-open{color:var(--open)}.tone-read{color:var(--admit)}

/* One universe, two depths. The page stays intact; only attention and touch move. */
#projector-actions{position:fixed;right:40px;bottom:30px;z-index:4;display:flex;flex-direction:column;align-items:flex-end;gap:7px;max-width:min(360px,calc(100vw - 40px));font-family:var(--mono)}
#projector-depth{min-height:44px;padding:10px 15px;border:1px solid rgba(215,182,107,.55);border-radius:999px;background:rgba(5,10,13,.88);color:var(--gold);cursor:pointer;font-family:var(--mono);font-size:12px;letter-spacing:.04em;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:border-color .15s,color .15s,background .15s}
#projector-depth:hover{color:var(--ink);border-color:var(--gold)}
#projector-depth:focus-visible{outline:2px solid var(--admit);outline-offset:3px}
#projector-depth[aria-pressed="true"]{background:rgba(10,16,20,.96);color:var(--admit);border-color:rgba(115,208,198,.7)}
#projector-hint{margin:0;padding:5px 8px;color:var(--muted);background:rgba(5,10,13,.72);font-size:10px;line-height:1.45;text-align:right;max-width:34ch;opacity:0;transform:translateY(4px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
#projector-actions:focus-within #projector-hint,#projector-actions:hover #projector-hint,#ark-surface[data-projector-depth="foreground"] #projector-hint{opacity:1;transform:none}
#projector-stars{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:min(520px,calc(100vw - 40px));max-height:min(36vh,280px);overflow:auto;padding:8px;border:1px solid rgba(115,208,198,.28);border-radius:14px;background:rgba(5,10,13,.9);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#projector-stars[hidden]{display:none}
#projector-stars button{min-height:44px;max-width:min(30ch,100%);padding:7px 10px;border:1px solid rgba(215,182,107,.3);border-radius:999px;background:rgba(16,24,29,.92);color:var(--ink);font:11px/1.3 var(--mono);cursor:pointer;white-space:normal;overflow-wrap:anywhere}
#projector-stars button:hover{border-color:var(--gold);color:var(--gold)}
#projector-stars button:focus-visible{outline:2px solid var(--admit);outline-offset:2px}
#ark-surface[data-projector-depth="foreground"] #ark-content{z-index:3;pointer-events:none}
#ark-surface[data-projector-depth="foreground"] #ark-content>*{opacity:.12;transition:opacity .3s ease}
#ark-surface[data-projector-depth="foreground"] #ark-top{opacity:.72;pointer-events:auto}
#ark-surface[data-projector-depth="foreground"] #ark-top a{pointer-events:auto}
#ark-surface[data-projector-depth="foreground"] #projector-actions{opacity:1;pointer-events:auto}

@media(max-width:800px){
  #ark-top{padding:18px 20px;align-items:flex-start;gap:16px}
  #ark-routes{max-width:210px;justify-content:flex-end;gap:10px 14px;flex-wrap:wrap;line-height:1.4}
  #ark-hero{padding:0 20px;min-height:auto}
  #ark-search-area{padding:0 20px 16px}
  #ark-result-wrap{padding:16px 20px}
  #ark-summary{grid-template-columns:1fr}
  #ark-boundary{padding:8px 20px 0}
  #ark-ways{padding:16px 20px 0}
  #ark-directory{padding:20px 20px 0}
  .ark-dir-grid{grid-template-columns:1fr}
  #ark-trust{padding:28px 20px 0}
  #ark-footer{padding:28px 20px}
  #projector-actions{right:20px;bottom:20px}
}
@media(max-width:480px){
  #ark-top{padding:16px;flex-direction:column}
  #ark-routes{max-width:none;width:100%;justify-content:space-between}
  #ark-hero{padding:28px 16px 0}
  #ark-search-area,#ark-result-wrap{padding-left:16px;padding-right:16px}
  #ark-search-area{background:#050a0d}
  #ark-input .field{background:#050a0d}
  #ark-boundary{background:#050a0d;padding:12px 20px}
  .ark-answer-actions{align-items:flex-start;flex-direction:column}
  .ark-source-head{grid-template-columns:1fr;gap:0}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

#ark-held-return{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
#ark-held-return[hidden]{display:none}
#ark-held-return label{flex-basis:100%}
#ark-held-searches{min-width:0;max-width:100%;min-height:44px;flex:1 1 240px;background:rgba(16,24,29,.92);color:var(--ink);font:inherit}
#ark-input #ark-open-held-search{width:auto;height:auto;min-height:44px;max-width:100%;padding:8px 12px;font:inherit;white-space:normal;border:1px solid currentColor;border-radius:8px}

#ark-save-current{min-height:44px;padding:8px 12px;max-width:100%;font:inherit;white-space:normal;color:var(--gold);background:transparent;border:1px solid currentColor;border-radius:8px}
#ark-save-current[hidden]{display:none}
