
.preview-explore-journey:disabled { opacity:.5;cursor:default;box-shadow:none; }
.journey-face-preview { width:auto;max-width:min(240px,calc(100vw - 28px));padding:7px 10px;border:0;border-left:2px solid #ee8d46;border-radius:0;background:linear-gradient(90deg,#fffffff2,#ffffffd9);box-shadow:none; }
.journey-face-preview small { margin:0 0 3px;font-size:12px; }
.journey-preview-items { display:flex;align-items:center;gap:8px; }
.journey-preview-items img { width:58px;max-height:58px;object-fit:cover;border-radius:2px;margin:0; }
.journey-preview-items p { max-width:150px;max-height:64px;font-size:12px; }
#pixel-journey-dialog [data-replace-face] { grid-template-columns:24px minmax(0,1fr);justify-items:start;align-items:center;gap:3px 8px;padding:10px;border-radius:6px;background:#ffffff45;border-color:#b7c2c366; }
#pixel-journey-dialog [data-replace-face] > i { grid-row:1 / 3;width:24px;height:24px;border-radius:1px; }
#pixel-journey-dialog [data-replace-face] small { grid-column:2; }
#pixel-journey-dialog [data-replace-face]:is(.is-previewing,[aria-pressed=true]) { border-color:#ee985e;background:color-mix(in srgb,var(--perspective-tone) 8%,#ffffff80);box-shadow:none; }
/* Make every disclosure movement continuous, including its surrounding title. */
.app-shell #overall-pixel { transition:width .42s cubic-bezier(.22,.8,.25,1); }
#overall-reading-disclosure { overflow:clip;transition:background-color .4s ease,box-shadow .4s ease; }
#overall-reading-disclosure .overall-reading-body { box-sizing:border-box;overflow:clip; }
#overall-reading-disclosure .disclosure-chevron { transition:transform .4s ease; }
/* Text cursors belong only to actual editable text. */
body { cursor:default; }
:where(p,span,b,strong,em,small,h1,h2,h3,h4,div,section,aside,figure,svg,path,text,polygon) { cursor:inherit; }
:is(button,a,summary,[role=button],label[for]),:is(button,a,summary,[role=button],label[for]) * { cursor:pointer; }
:is(input:not([type]),input[type=text],input[type=email],input[type=search],input[type=url],input[type=password],textarea,[contenteditable=true]) { cursor:text; }
:is(button:disabled,[aria-disabled=true]),:is(button:disabled,[aria-disabled=true]) * { cursor:default; }
.app-shell .map-title,.app-shell .map-title * { cursor:pointer; }
.app-shell #overall-pixel .overall-pixel-core:enabled { cursor:pointer; }
.app-shell:has(#public-preview-grid.is-picking:not([hidden])) #map { cursor:grab; }
#group-signal-draw { cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Crect x='5' y='5' width='18' height='18' rx='5' fill='%23ffffff44' stroke='%23ffffff' stroke-width='4'/%3E%3Crect x='5' y='5' width='18' height='18' rx='5' fill='none' stroke='%23515c64' stroke-width='1.5' stroke-dasharray='5 3'/%3E%3C/svg%3E") 14 14,pointer; }
.preview-send,.h101-pixel.is-owned,.preview-send *,.h101-pixel.is-owned * { cursor:grab; }
.preview-send:active,.h101-pixel.is-owned:active { cursor:grabbing; }
@media(max-width:600px){ .journey-replace-faces { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(prefers-reduced-motion:reduce){.app-shell #overall-pixel {transition:none;} }

#intent-gate .projector-code-dock[hidden] { display:grid !important;visibility:hidden;pointer-events:none; }

/* A fixed reading width avoids rewrapping its text during a height animation. */
.app-shell #overall-pixel,.app-shell #overall-pixel:has(details[open]) { width:min(520px,calc(100vw - 24px)); }
.app-shell #overall-reading-disclosure { width:min(440px,100%); }
.overall-reading-note { color:#778187;font-size:12px;line-height:1.4; }

.app-shell #overall-reading-disclosure .overall-reading-note { font-size:12px;line-height:1.4; }

/* Confirmation uses a compact summary, without repeating the figures' labels. */
#intent-gate[data-projector-step=send-preview] .handshake-demo-pair { margin:8px auto; }
#intent-gate[data-projector-step=send-preview] .handshake-pair-side :is(b,small),#intent-gate[data-projector-step=send-preview] .handshake-pair-type { display:none; }
#intent-gate[data-projector-step=send-preview] .handshake-draft { margin:8px 0;padding-top:8px;font-size:14px;line-height:1.4; }
#intent-gate:is([data-projector-step=send-preview],[data-projector-step=patreon]) .handshake-navigation { flex-wrap:nowrap;gap:8px; }
#intent-gate:is([data-projector-step=send-preview],[data-projector-step=patreon]) .handshake-navigation > :is(button,a) { flex:1;min-width:0;width:auto;padding:7px 8px;font-size:13px;line-height:1.3; }
#intent-gate[data-projector-step=patreon] .handshake-step > p { margin:8px 0;font-size:14px;line-height:1.4; }

/* The intention tool is translucent glass: a passing circle softens beneath it. */
#intent-gate.handshake-dialog.projector-connection[data-projector-step] .handshake-intent-caption { width:fit-content;max-width:240px;box-sizing:border-box;padding:7px 11px;border:1px solid #ffffffb0;border-radius:12px;background:#f6f8f877;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px); }
#intent-gate.handshake-dialog.projector-connection[data-projector-step] .handshake-intention-options button { background:linear-gradient(145deg,#ffffffa8,#edf1f14d);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px); }
#intent-gate.handshake-dialog.projector-connection[data-projector-step] .handshake-intention-options button:hover { background:linear-gradient(145deg,#ffffffc9,#f3f6f677); }
#intent-gate.handshake-dialog.projector-connection[data-projector-step] .handshake-person-dock { background:#e8edef70;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px); }
#intent-gate.handshake-dialog.projector-connection[data-projector-step] .handshake-shifter { background:#e7ebec88;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px); }
#intent-gate.handshake-dialog.projector-connection[data-projector-step] .handshake-intent-orbit b { display:grid;place-items:center;width:19px;height:19px;background:#f6f8f8a0;border-radius:5px; }
#intent-gate .handshake-intent-orbit b svg { width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }
#intent-gate.handshake-dialog.projector-connection[data-projector-step] .handshake-intent-orbit[data-arrow-side=left] b { left:-10px;right:auto; }
#intent-gate.handshake-dialog.projector-connection[data-projector-step] .handshake-intent-orbit[data-arrow-side=right] b { left:auto;right:-10px; }
#intent-gate .handshake-intent-orbit[data-arrow-side=left] svg { transform:rotate(180deg); }
/* Separators live with the words, leaving all five pixels uninterrupted. */
#intent-gate .projector-code { position:relative; }
#intent-gate.handshake-dialog.projector-connection[data-projector-step] .projector-code [data-code-index] { position:relative; }
#intent-gate .projector-code-divider { align-self:end;height:10px;width:.5px;margin:0 0 5px;background:#8b979b66; }
#intent-gate .projector-state-editor { position:absolute;z-index:25;bottom:calc(100% + 9px);left:0;width:184px;box-sizing:border-box;padding:10px;border:1px solid #ffffffdc;border-radius:15px;background:#f4f7f7d9;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 6px 22px #26323a20; }
#intent-gate .projector-state-editor[hidden] { display:none; }
#intent-gate .projector-state-editor > span { display:block;margin-bottom:7px;font-size:12px;color:#66747a; }
#intent-gate .projector-state-editor > div { display:flex;gap:8px; }
#intent-gate .projector-state-editor button { flex:1;display:grid;justify-items:center;gap:4px;min-height:56px;padding:7px;font-size:12px;background:#ffffff80; }
#intent-gate .projector-state-editor i { width:20px;height:20px;border:1px solid #5c676d;background:#fff; }
#intent-gate .projector-state-editor i[data-state="0"] { background:#242a2d; }
#intent-gate .projector-state-editor button[aria-pressed=true] { border-color:#ff8429;box-shadow:0 0 0 1px #ff842933;background:#fff9; }

/* Centre the cube between its six directions. The footprint stays fixed as it turns. */
#pixel-journey-dialog[data-replacing=true] .journey-layout {
 --face-scene:clamp(148px,48dvh,420px);
 --face-button-offset:clamp(6px,2dvh,17px);
 grid-template-columns:minmax(0,560px);grid-template-rows:auto var(--face-scene) auto auto;
 justify-content:center;gap:8px 0;align-items:center;
}
#pixel-journey-dialog[data-replacing=true] .journey-object {
 grid-area:2 / 1;justify-self:center;gap:2px;min-width:0;padding:0;
}
#pixel-journey-dialog[data-replacing=true] .preview-journey-art {
 width:clamp(100px,calc(var(--face-scene) * .66),272px);height:auto;aspect-ratio:1;
}
#pixel-journey-dialog[data-replacing=true] .journey-shape-label,
#pixel-journey-dialog[data-replacing=true] .journey-orientation {display:none}
#pixel-journey-dialog[data-replacing=true] .journey-replace-picker:not([hidden]) {display:contents}
.journey-replace-intro {grid-area:1 / 1;text-align:center}
#pixel-journey-dialog[data-replacing=true] .journey-replace-faces {
 grid-area:2 / 1;align-self:stretch;display:grid;
 grid-template-columns:minmax(52px,104px) 1fr minmax(52px,104px);
 grid-template-rows:repeat(4,minmax(0,1fr));align-items:center;
 pointer-events:none;
}
#pixel-journey-dialog[data-replacing=true] [data-replace-face] {
 justify-self:center;pointer-events:auto;grid-template-columns:1fr;
 justify-items:center;min-width:52px;min-height:42px;padding:4px 7px;gap:2px;
}
#pixel-journey-dialog[data-replacing=true] [data-replace-face] > i {grid-row:auto;width:18px;height:18px;font-size:10px}
#pixel-journey-dialog[data-replacing=true] [data-replace-face] small {grid-column:1;font-size:10px}
[data-replace-face="4"] {grid-area:1 / 2;align-self:start}
[data-replace-face="1"] {grid-area:2 / 1;translate:0 calc(-1 * var(--face-button-offset))}
[data-replace-face="3"] {grid-area:2 / 3;translate:0 calc(-1 * var(--face-button-offset))}
[data-replace-face="2"] {grid-area:3 / 1;translate:0 var(--face-button-offset)}
[data-replace-face="0"] {grid-area:3 / 3;translate:0 var(--face-button-offset)}
[data-replace-face="5"] {grid-area:4 / 2;align-self:end}
.journey-replace-detail {grid-area:3 / 1;text-align:center}
#pixel-journey-dialog[data-replacing=true] [data-journey=confirm-replace] {grid-area:4 / 1;justify-self:center}
#pixel-journey-dialog .preview-journey-art polygon[data-face]:focus-visible {outline:none;stroke:#e17c34;stroke-width:1.3}
.journey-axis-tip {stroke-width:.35;stroke-linejoin:round}
.preview-explore-journey[data-check-in-ready=true] {background:#fff3e7;border-color:#e69250;box-shadow:0 0 0 3px #ed994233}
@media(min-width:801px) and (min-height:541px) {
 .app-shell #signal-bridge {width:min(788px,calc(100vw - 92px))}
}
@media(max-width:600px), (max-height:540px) {
 #pixel-journey-dialog[data-replacing=true] .journey-layout {--face-scene:clamp(142px,45dvh,270px)}
 #pixel-journey-dialog[data-replacing=true] [data-replace-face] small {display:none}
 #pixel-journey-dialog[data-replacing=true] [data-replace-face] b {font-size:11px}
}
@media(max-width:600px) {
 #pixel-journey-dialog[data-replacing=true] .journey-replace-faces {grid-template-columns:72px 1fr 72px}
 #pixel-journey-dialog[data-replacing=true] .preview-journey-art {width:min(144px,calc(100vw - 172px))}
}
@media(max-height:540px) {
 #pixel-journey-dialog[data-replacing=true] .preview-journey-art {width:clamp(65px,calc(var(--face-scene) - 100px),146px)}
}

/* The focused first check-in remains above a phone's visible keyboard edge. */
@media(max-width:760px) {
 .signal-entry.is-keyboard-adjusted .entry-layout {transform:translateY(calc(-1 * var(--entry-keyboard-shift,0px)));transition:transform .22s cubic-bezier(.22,1,.36,1)}
}
@media(prefers-reduced-motion:reduce) { .signal-entry.is-keyboard-adjusted .entry-layout {transition:none} }

/* Leave a deliberate touch gap between the bridge glass and all three zoom controls. */
@media(max-width:350px) {
 .app-shell #signal-bridge {width:calc(100vw - 86px);left:calc(50% - 24px)}
}

.app-shell #overall-pixel #overall-reading-disclosure {
  position: relative; overflow: visible; width: max-content; max-width: 100%;
  background: transparent; box-shadow: none; backdrop-filter: none;
}
#overall-reading-disclosure .overall-reading-body {
  position: absolute; inset: auto auto calc(100% + var(--reading-clearance,80px)) 50%; translate: -50% 0;
  width: max-content; max-width: calc(100vw - 32px); padding: 11px 16px;
  gap: 7px; border: 1px solid #dce1de; border-radius: 14px;
  background: #fafbf8f5; color: #26312b; box-shadow: 0 4px 16px #25352c12;
}
#overall-reading-disclosure .signal-tally {
  display: flex; justify-content: center; gap: 18px; margin: 0; padding: 0;
  list-style: none; font-size: 13px; font-variant-numeric: tabular-nums;
}
.signal-tally li { display: flex; gap: 5px; align-items: center; }
.signal-tally i { width: 9px; height: 9px; border: 1px solid #424842; background: white; }
.signal-tally li:last-child i { background: #252825; }

.app-shell #concept-panel h2 {text-wrap:balance}
.app-shell #concept-panel .concept-section {max-width:55ch;margin:12px 0;line-height:1.48;text-wrap:pretty}
.app-shell #concept-panel .concept-section:last-child {margin-bottom:0}
#concept-panel .concept-film {display:flex;align-items:center;gap:12px;padding:10px 0;border-block:1px solid #dce1de;color:#303b35;text-decoration:none}
.concept-film .concept-play {display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#fafbf8;border:1px solid #dce1de;color:#a44b10;font-size:13px}
.concept-film strong,.concept-film small {display:block;font-family:var(--sans);line-height:1.4}
.concept-film strong {font-size:15px}
.concept-film small {font-size:13px;color:#4e595e}
.concept-film > :last-child {margin-left:auto}
.concept-film:hover strong,.concept-film:focus-visible strong {text-decoration:underline}
