/* The newswire remains readable with scripting, motion or color turned off. */
.newswire { background:#101a23; color:#e6edf0; border-block:1px solid #32414d; position:relative; z-index:2; }
.newswire-in { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:20px; min-height:48px; }
.wire-identity { display:flex; align-items:center; gap:9px; font:600 15px/1 var(--head); letter-spacing:.115em; text-transform:uppercase; white-space:nowrap; color:#ffcc87; }
.wire-emblem { display:flex; gap:2px; align-items:center; height:18px; }
.wire-emblem i { height:7px; width:2px; background:currentColor; }
.wire-emblem i:nth-child(2) { height:15px; }
.wire-emblem i:nth-child(3) { height:10px; }
.wire-viewport { min-width:0; overflow-x:auto; scrollbar-width:thin; scrollbar-color:#526471 #111b23; }
.wire-track,.wire-group { display:flex; width:max-content; align-items:center; margin:0; padding:0; }
.wire-group { list-style:none; }
.wire-group li { display:flex; align-items:center; }
.wire-group li::after { content:""; display:block; width:4px; height:4px; margin-inline:24px; background:#ae9875; transform:rotate(45deg); }
.wire-group a { display:flex; align-items:baseline; gap:9px; padding:9px 2px; color:#ecf0f0; font:500 14px/1.4 system-ui,sans-serif; white-space:nowrap; text-decoration:none; }
.wire-group a:hover span,.wire-group a:focus-visible span { text-decoration:underline; }
.wire-group time { color:#b8cbd3; font:11px var(--mono); }
.wire-group b { color:#8edcf2; font-weight:650; }
.wire-group a i { color:#e6bd82; font-style:normal; }
.wire-controls { display:flex; align-items:center; gap:12px; }
.wire-pause { border:1px solid #52636d; border-radius:3px; background:#172630; color:#ffe4b4; width:34px; height:32px; line-height:1; cursor:pointer; }
.wire-latest { font:11px var(--mono); color:#d9e7ed; white-space:nowrap; }
.newswire.is-running .wire-viewport { overflow:hidden; }
.newswire.is-running .wire-track { animation:newswire-move 80s linear infinite; }
.newswire.is-running .wire-viewport:hover .wire-track,.newswire.is-resting .wire-track { animation-play-state:paused; }
.wire-group[aria-hidden=true] { display:none; }
.newswire.is-running .wire-group[aria-hidden=true] { display:flex; }
@keyframes newswire-move { to { transform:translateX(-50%); } }

.field-guide { scroll-margin-top:30px; }
.guide-screen { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr); min-height:340px; border:1px solid #52616d; border-radius:12px 12px 0 0; background:#121d27; overflow:hidden; isolation:isolate; box-shadow:0 18px 48px #0004; }
.guide-stage { position:relative; overflow:hidden; min-width:0; min-height:325px; isolation:isolate; background:radial-gradient(ellipse at 24% 64%,#b67b392a,transparent 46%),radial-gradient(ellipse at 76% 45%,#16546a85,transparent 54%),linear-gradient(145deg,#22333c,#0b141d 68%); }
.guide-stage::after { position:absolute; content:""; inset:10px; pointer-events:none; border:1px solid #b8cad326; clip-path:polygon(0 0,19px 0,19px 2px,2px 2px,2px 17px,0 17px,0 0,100% 0,100% 17px,calc(100% - 2px) 17px,calc(100% - 2px) 2px,calc(100% - 19px) 2px,calc(100% - 19px) 0,100% 0,100% 100%,calc(100% - 19px) 100%,calc(100% - 19px) calc(100% - 2px),calc(100% - 2px) calc(100% - 2px),calc(100% - 2px) calc(100% - 17px),100% calc(100% - 17px),100% 100%,0 100%,0 calc(100% - 17px),2px calc(100% - 17px),2px calc(100% - 2px),19px calc(100% - 2px),19px 100%,0 100%); }
.stage-grid { position:absolute; inset:42% -30% -36%; background:repeating-linear-gradient(90deg,transparent 0 46px,#72bbd123 47px 48px),repeating-linear-gradient(0deg,transparent 0 36px,#72bbd12b 37px 38px); transform:perspective(220px) rotateX(52deg); mask-image:linear-gradient(transparent,#000); }
.stage-orbit { position:absolute; width:52%; aspect-ratio:1; border:1px solid #7fa7b32b; border-radius:50%; left:-2%; top:-2%; }
.orbit-two { width:64%; left:-8%; top:-15%; border-style:dashed; }
.stage-label { position:absolute; top:24px; left:24px; display:flex; align-items:center; gap:8px; color:#d9ebed; font:10px/1.2 var(--mono); text-transform:uppercase; letter-spacing:.13em; }
.stage-label i { width:6px; height:6px; border:1px solid #e3be7e; transform:rotate(45deg); }
.guide-character { position:absolute; width:51%; height:80%; left:2%; top:15%; transform-origin:50% 60%; z-index:3; }
.guide-portrait,.guide-pose { position:absolute; inset:0; background-repeat:no-repeat; background-position:center; background-size:contain; transition:opacity .35s,transform .75s cubic-bezier(.2,.8,.2,1); }
.guide-pose { opacity:0; }
.field-guide.poses-ready[data-step="1"] .guide-portrait,.field-guide.poses-ready[data-step="2"] .guide-portrait,.field-guide.poses-ready[data-step="3"] .guide-portrait { opacity:0; }
.field-guide.poses-ready[data-step="1"] .plate-read,.field-guide.poses-ready[data-step="2"] .plate-read,.field-guide.poses-ready[data-step="3"] .plate-show { opacity:1; }
.field-guide[data-step="1"] .guide-character { rotate:2deg; }
.field-guide[data-step="2"] .guide-character { translate:2% -2%; }
.field-guide[data-step="3"] .guide-character { translate:-2% -3%; rotate:-3deg; }
.guide-character { transition:rotate .65s ease,translate .65s ease; }
.field-guide.is-playing .guide-character { animation:guide-float 3.1s ease-in-out infinite alternate; }
@keyframes guide-float { from{transform:translateY(1px) rotate(-1deg)}to{transform:translateY(-7px) rotate(1.6deg)} }
.guide-beam { position:absolute; top:50%; left:39%; width:20%; height:22%; background:linear-gradient(90deg,#92e5ff0d,#74d6ed44); clip-path:polygon(0 38%,100% 0,100% 100%); opacity:.64; }
.guide-evidence { position:absolute; top:24%; right:5%; width:40%; height:58%; min-height:174px; z-index:2; padding:10px 13px; background:linear-gradient(145deg,#152d3af5,#0b1923f2); color:#d2ecf3; border:1px solid #518197; border-radius:6px; box-shadow:0 0 0 3px #9bd8f21a,0 18px 30px #030c13a8; transform:perspective(510px) rotateY(-7deg) rotateZ(1deg); overflow:hidden; }
.evidence-frame { display:flex; align-items:center; gap:7px; color:#a8cbd7; font:8px/1.3 var(--mono); letter-spacing:.12em; padding-bottom:9px; border-bottom:1px solid #344e5b; }
.doc-led { width:5px; height:5px; background:#e9b56e; border-radius:50%; }
.doc-edge { margin-left:auto; width:13px; height:4px; border-block:1px solid #84a3af; }
.scene-card { display:none; padding-top:11px; }
.field-guide[data-step="0"] .scene-address,.field-guide[data-step="1"] .scene-rules,.field-guide[data-step="2"] .scene-offer,.field-guide[data-step="3"] .scene-proof { display:grid; align-content:start; gap:6px; }
.card-overline,.scene-card small { font:10px/1.3 var(--mono); color:#adccd8; }
.scene-card strong { font:600 clamp(15px,2.4vw,27px)/1.03 var(--head); color:#ecf4f2; }
.scene-card small { color:#f1c887; }
.scene-card code { color:#b2e8f5; font:10px/1.45 var(--mono); overflow-wrap:anywhere; }
.scene-card p { font-size:12px; line-height:1.3; margin:0; }
.scene-card em { font-style:normal; color:#8de3f7; }
.stage-price { color:#ffd496; font:600 23px/1.1 var(--head); }
.stage-price em { font:10px var(--mono); }
.route-points { display:flex; align-items:center; padding:7px 0 6px; }
.route-points i { width:8px; height:8px; border:1px solid #8dd8ea; border-radius:50%; }
.route-points b { width:20%; border-top:1px dotted #74a0b0; }
.guide-scanline { position:absolute; inset:25% 0 auto; height:2px; background:#8ee3fc; box-shadow:0 0 10px #9bdffa; opacity:0; }
.field-guide.is-playing .guide-scanline { animation:guide-trace 4s ease-in-out infinite; }
@keyframes guide-trace { 0%,85%,100%{transform:translateY(0);opacity:0}15%{opacity:.75}70%{transform:translateY(96px);opacity:.35} }
.guide-script { padding:clamp(21px,3.2vw,44px); display:flex; flex-direction:column; justify-content:center; background:radial-gradient(ellipse at 100% 0,#293337,#14212b 68%); border-left:1px solid #425664; }
.guide-chapter { display:flex; align-items:center; gap:10px; color:#f6c887; font:11px/1.5 var(--mono); }
.chapter-rule { width:25px; border-top:2px solid #eeb469; }
.guide-script h3 { font:600 clamp(29px,3vw,44px)/1 var(--head); margin:12px 0 9px; letter-spacing:-.02em; }
.guide-script p { color:#d0dee4; font-size:15px; line-height:1.53; margin:0; }
.guide-transport { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:22px; }
.guide-transport .button { min-height:42px; padding:8px 16px; border-radius:3px; }
.guide-voice { font:11px var(--mono); padding:8px 4px; background:transparent; border:0; color:#a5e2f4; text-decoration:underline; cursor:pointer; min-height:36px; }
.guide-sequence { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid #52616d; border-top:0; border-radius:0 0 10px 10px; overflow:hidden; }
.guide-step { min-height:47px; background:#121e28; border:0; border-right:1px solid #344653; color:#cbd9df; display:flex; align-items:center; justify-content:center; gap:8px; font-size:13px; cursor:pointer; box-shadow:inset 0 2px transparent; }
.guide-step:last-child { border-right:0; }
.guide-step span { font:10px var(--mono); color:#9bb5c2; }
.guide-step[aria-current=step] { box-shadow:inset 0 3px #efb66c; color:#ffdda6; background:#263137; }
.guide-step:focus-visible { outline-offset:-4px; }
.guide-notes { display:flex; align-items:baseline; justify-content:space-between; gap:20px; padding:12px 2px 0; }
.guide-transcript { max-width:730px; color:#b9c9d2; font-size:14px; }
.guide-transcript summary,.guide-try { cursor:pointer; color:#b9e7f2; font:12px/1.5 var(--mono); padding:5px 0; }
.guide-transcript ol { padding-left:22px; }
.guide-transcript li+li { margin-top:9px; }
.guide-try { white-space:nowrap; }
.field-guide [hidden],.newswire [hidden] { display:none!important; }
.agent .agent-heading { margin:16px 0 7px; font:600 32px/1.1 var(--head); }
@media(max-width:830px){.guide-screen{grid-template-columns:minmax(0,1.25fr) minmax(230px,.85fr)}.guide-stage{min-height:300px}.stage-label{left:16px;top:16px}.newswire-in{gap:12px}.wire-latest{display:none}}
@media(max-width:640px){.newswire-in{gap:9px;min-height:42px}.wire-identity{font-size:12px;letter-spacing:.06em}.wire-group a{font-size:12px}.wire-group time{font-size:10px}.wire-controls{gap:0}.wire-pause{height:29px;width:29px}.guide-screen{grid-template-columns:minmax(0,1fr)}.guide-stage{min-height:0;aspect-ratio:1.9}.guide-script{border-left:0;border-top:1px solid #354957;padding:18px 20px 20px}.guide-transport{margin-top:14px}.guide-character{height:88%;top:10%;width:49%}.guide-evidence{top:19%;right:5%;height:72%;min-height:0;padding:8px 9px;width:43%}.evidence-frame{padding-bottom:5px;font-size:7px}.scene-card{padding-top:6px}.scene-card strong{font-size:19px}.scene-card code{font-size:8px}.scene-card small,.card-overline{font-size:8px}.scene-card p{font-size:10px}.stage-label{left:12px;top:10px;font-size:8px}.guide-step{gap:4px;font-size:12px;min-height:43px}.guide-notes{gap:10px}.guide-script h3{margin:7px 0}.guide-wire{gap:5px}.guide-beam{top:49%}}
@media(max-width:370px){.guide-stage{aspect-ratio:1.65}.guide-step{flex-direction:column;gap:1px;min-height:46px}.guide-notes{flex-wrap:wrap;gap:4px}.guide-script{padding:15px}.wire-emblem{display:none}}
@media(prefers-reduced-motion:reduce){.newswire.is-running .wire-viewport{overflow:auto}.newswire.is-running .wire-track{animation:none}.wire-group[aria-hidden=true]{display:none!important}.field-guide *{animation:none!important;transition:none!important}}
@media(forced-colors:active){.stage-grid,.stage-orbit,.guide-beam,.guide-scanline{display:none}.guide-evidence,.guide-screen,.guide-step[aria-current=step],.wire-pause{border:1px solid CanvasText}}
@media(max-width:640px){
 .newswire-in{grid-template-columns:minmax(0,1fr) auto;row-gap:0;padding-block:5px}
 .wire-identity{grid-column:1;grid-row:1}
 .wire-controls{grid-column:2;grid-row:1;gap:6px}
 .wire-controls .wire-latest{display:inline;font-size:10px}
 .wire-viewport{grid-column:1/-1;grid-row:2}
 .wire-group a{padding-block:6px}
}
