Files
qtalker---/frontend/src/pages/SeancePage.css
Indiana f5320fcdec feat: guest passage — slip through as a wanderer
POST /auth/guest mints a real user row (wanderer-<4 hex>, collision
retry, unusable random password) and issues the normal session cookie,
per-IP rate limited at 5/hour. EnterPage gains the guest action;
the séance shows a dismissible claim-a-name note for wanderer- users.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-28 17:18:16 +00:00

1505 lines
31 KiB
CSS

/* SeancePage — the main séance screen.
Tokens: bg #07070d · panel rgba(16,16,26,0.85) · phosphor #7cffb2 ·
violet #b26bff · blood #ff3b5c (sparingly) · border rgba(124,255,178,0.18).
Display type: Cinzel, serif. UI/terminal type: 'IBM Plex Mono', monospace. */
/* ---------- loading veil (auth check) ---------- */
.seance-loading {
position: fixed;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1.2rem;
background:
radial-gradient(ellipse at 50% 40%, rgba(178, 107, 255, 0.08), transparent 55%),
#07070d;
color: #7cffb2;
font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
z-index: 10;
}
.loading-sigil {
font-size: 3.2rem;
color: #b26bff;
text-shadow: 0 0 24px rgba(178, 107, 255, 0.8);
animation: sigilPulse 2.2s ease-in-out infinite;
}
.loading-text {
letter-spacing: 0.22em;
font-size: 0.85rem;
opacity: 0.8;
animation: flickerAnim 3.5s linear infinite;
}
/* ---------- page shell ---------- */
.seance-page {
position: fixed;
inset: 0;
display: flex;
flex-direction: column;
overflow: hidden;
background: #07070d;
color: #d3e9db;
font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 14px;
}
.seance-ghost {
z-index: 0;
}
.seance-page .dim {
opacity: 0.55;
}
/* CRT overlays: above everything, never interactive */
.seance-scanlines {
position: absolute;
inset: 0;
z-index: 60;
pointer-events: none;
background: repeating-linear-gradient(
0deg,
rgba(0, 0, 0, 0.14) 0px,
rgba(0, 0, 0, 0.14) 1px,
transparent 1px,
transparent 3px
);
animation: scanDrift 9s linear infinite;
}
.seance-vignette {
position: absolute;
inset: 0;
z-index: 59;
pointer-events: none;
background: radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, 0.6) 100%);
}
/* ---------- top bar ---------- */
.seance-topbar {
position: relative;
z-index: 20;
display: flex;
align-items: center;
gap: 1.1rem;
min-height: 54px;
padding: 0 16px;
background: linear-gradient(180deg, rgba(16, 16, 26, 0.95), rgba(16, 16, 26, 0.78));
border-bottom: 1px solid rgba(124, 255, 178, 0.18);
backdrop-filter: blur(4px);
}
.seance-brand {
font-family: 'Cinzel', serif;
font-weight: 700;
letter-spacing: 0.18em;
font-size: 0.95rem;
color: #7cffb2;
text-shadow: 0 0 14px rgba(124, 255, 178, 0.45);
white-space: nowrap;
}
.brand-sigil {
color: #b26bff;
margin-right: 0.4rem;
text-shadow: 0 0 10px rgba(178, 107, 255, 0.7);
}
.seance-modes {
display: flex;
gap: 4px;
flex: 1 1 auto;
justify-content: center;
min-width: 0;
}
.mode-tab {
background: transparent;
border: 1px solid transparent;
border-radius: 3px;
color: rgba(211, 233, 219, 0.55);
font-family: 'IBM Plex Mono', monospace;
font-size: 0.78rem;
letter-spacing: 0.12em;
text-transform: uppercase;
padding: 0.42rem 0.7rem;
cursor: pointer;
transition: color 140ms ease, border-color 140ms ease, text-shadow 140ms ease,
background 140ms ease;
}
.mode-tab:hover {
color: #7cffb2;
text-shadow: 0 0 10px rgba(124, 255, 178, 0.5);
}
.mode-tab.active {
color: #7cffb2;
border-color: rgba(124, 255, 178, 0.45);
background: rgba(124, 255, 178, 0.07);
text-shadow: 0 0 12px rgba(124, 255, 178, 0.75);
box-shadow: inset 0 0 12px rgba(124, 255, 178, 0.08), 0 0 10px rgba(124, 255, 178, 0.12);
}
.seance-top-right {
display: flex;
align-items: center;
gap: 0.9rem;
flex-shrink: 0;
}
/* passive listening switch */
.passive-toggle {
display: flex;
align-items: center;
gap: 0.45rem;
cursor: pointer;
user-select: none;
}
.passive-toggle input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.passive-track {
position: relative;
width: 30px;
height: 16px;
border-radius: 999px;
border: 1px solid rgba(124, 255, 178, 0.35);
background: rgba(16, 16, 26, 0.9);
transition: background 160ms ease, box-shadow 160ms ease;
}
.passive-track::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 10px;
height: 10px;
border-radius: 50%;
background: rgba(211, 233, 219, 0.5);
transition: transform 160ms ease, background 160ms ease;
}
.passive-toggle input:checked + .passive-track {
background: rgba(124, 255, 178, 0.22);
box-shadow: 0 0 10px rgba(124, 255, 178, 0.35);
}
.passive-toggle input:checked + .passive-track::after {
transform: translateX(14px);
background: #7cffb2;
box-shadow: 0 0 8px rgba(124, 255, 178, 0.9);
}
.passive-toggle input:focus-visible + .passive-track {
outline: 1px solid #7cffb2;
outline-offset: 2px;
}
.passive-label {
font-size: 0.72rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: rgba(211, 233, 219, 0.7);
}
.passive-toggle input:checked ~ .passive-label {
color: #7cffb2;
text-shadow: 0 0 8px rgba(124, 255, 178, 0.6);
}
/* language toggle */
.lang-toggle {
display: flex;
border: 1px solid rgba(124, 255, 178, 0.25);
border-radius: 3px;
overflow: hidden;
}
.lang-toggle button {
background: transparent;
border: none;
color: rgba(211, 233, 219, 0.55);
font-family: 'IBM Plex Mono', monospace;
font-size: 0.72rem;
letter-spacing: 0.08em;
padding: 0.3rem 0.5rem;
cursor: pointer;
}
.lang-toggle button + button {
border-left: 1px solid rgba(124, 255, 178, 0.25);
}
.lang-toggle button.active {
background: rgba(124, 255, 178, 0.14);
color: #7cffb2;
text-shadow: 0 0 8px rgba(124, 255, 178, 0.6);
}
.seance-codex-link {
color: #b26bff;
text-decoration: none;
font-size: 0.78rem;
letter-spacing: 0.14em;
text-transform: uppercase;
text-shadow: 0 0 10px rgba(178, 107, 255, 0.4);
transition: text-shadow 140ms ease;
}
.seance-codex-link:hover {
text-shadow: 0 0 16px rgba(178, 107, 255, 0.9);
}
.seance-user {
font-size: 0.78rem;
color: rgba(211, 233, 219, 0.65);
max-width: 140px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.seance-user::before {
content: '☏ ';
color: rgba(124, 255, 178, 0.6);
}
.seance-logout {
background: transparent;
border: 1px solid rgba(178, 107, 255, 0.35);
border-radius: 3px;
color: rgba(178, 107, 255, 0.85);
font-family: 'IBM Plex Mono', monospace;
font-size: 0.72rem;
letter-spacing: 0.12em;
text-transform: uppercase;
padding: 0.32rem 0.6rem;
cursor: pointer;
transition: box-shadow 140ms ease, color 140ms ease, border-color 140ms ease;
}
.seance-logout:hover {
color: #b26bff;
border-color: rgba(178, 107, 255, 0.7);
box-shadow: 0 0 12px rgba(178, 107, 255, 0.3);
}
/* connection dot */
.conn-dot {
width: 9px;
height: 9px;
border-radius: 50%;
flex-shrink: 0;
}
.conn-dot.conn-open {
background: #7cffb2;
box-shadow: 0 0 8px rgba(124, 255, 178, 0.9);
}
.conn-dot.conn-connecting {
background: #b26bff;
box-shadow: 0 0 8px rgba(178, 107, 255, 0.9);
animation: recBlink 1s ease-in-out infinite;
}
.conn-dot.conn-unstable {
background: #ff3b5c;
box-shadow: 0 0 8px rgba(255, 59, 92, 0.9);
animation: recBlink 0.5s ease-in-out infinite;
}
.conn-dot.conn-closed {
background: rgba(211, 233, 219, 0.3);
}
/* ---------- connection banner ---------- */
.seance-wanderer-note {
position: absolute;
top: 62px;
left: 50%;
transform: translateX(-50%);
z-index: 29;
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 0.9rem;
background: rgba(16, 16, 26, 0.92);
border: 1px dashed rgba(216, 230, 221, 0.3);
border-radius: 3px;
color: rgba(216, 230, 221, 0.65);
font-size: 0.72rem;
letter-spacing: 0.06em;
white-space: nowrap;
}
.seance-wanderer-note a {
color: #8dffc0;
text-decoration: none;
border-bottom: 1px dotted rgba(141, 255, 192, 0.5);
}
.seance-wanderer-note a:hover {
border-bottom-style: solid;
}
.wanderer-note-dismiss {
margin-left: 0.2rem;
background: transparent;
border: none;
color: rgba(216, 230, 221, 0.45);
font-size: 0.9rem;
line-height: 1;
cursor: pointer;
padding: 0 0.2rem;
}
.wanderer-note-dismiss:hover {
color: #d8e6dd;
}
.seance-conn-banner {
position: absolute;
top: 62px;
left: 50%;
transform: translateX(-50%);
z-index: 30;
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.5rem 1.1rem;
background: rgba(16, 16, 26, 0.92);
border: 1px solid rgba(178, 107, 255, 0.5);
border-radius: 3px;
color: #b26bff;
font-size: 0.8rem;
letter-spacing: 0.12em;
text-shadow: 0 0 10px rgba(178, 107, 255, 0.6);
box-shadow: 0 0 22px rgba(178, 107, 255, 0.22);
animation: bannerIn 240ms ease-out, flickerAnim 4s linear infinite;
}
.seance-conn-banner.conn-unstable,
.seance-conn-banner.conn-closed {
border-color: rgba(255, 59, 92, 0.55);
color: #ff3b5c;
text-shadow: 0 0 10px rgba(255, 59, 92, 0.6);
box-shadow: 0 0 22px rgba(255, 59, 92, 0.2);
}
.conn-glyph {
animation: sigilPulse 1.6s ease-in-out infinite;
}
/* ---------- main layout ---------- */
.seance-main {
position: relative;
z-index: 2;
flex: 1 1 auto;
min-height: 0;
display: flex;
gap: 14px;
padding: 12px 14px 0;
}
.seance-board-wrap {
position: relative;
flex: 1 1 auto;
min-width: 0;
min-height: 0;
}
.planchette-board {
filter: drop-shadow(0 0 18px rgba(7, 7, 13, 0.9));
}
/* status overlay (attuning / summoning / gathering) */
.seance-status-overlay {
position: absolute;
top: 14px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 0.7rem;
padding: 0.55rem 1.2rem;
background: rgba(16, 16, 26, 0.85);
border: 1px solid rgba(124, 255, 178, 0.35);
border-radius: 999px;
pointer-events: none;
box-shadow: 0 0 26px rgba(124, 255, 178, 0.18);
animation: bannerIn 260ms ease-out;
}
.status-sigil {
width: 12px;
height: 12px;
border-radius: 50%;
background: #7cffb2;
box-shadow: 0 0 12px rgba(124, 255, 178, 0.9);
animation: sigilPulse 1.1s ease-in-out infinite;
}
.status-text {
color: #7cffb2;
font-size: 0.82rem;
letter-spacing: 0.14em;
text-shadow: 0 0 10px rgba(124, 255, 178, 0.55);
animation: flickerSoft 3s linear infinite;
}
/* ---------- side column: dossier + mode panel ---------- */
.seance-side {
width: 344px;
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 12px;
min-height: 0;
overflow-y: auto;
padding-bottom: 10px;
scrollbar-width: thin;
scrollbar-color: rgba(124, 255, 178, 0.3) transparent;
}
.spirit-dossier,
.mode-panel {
background: rgba(16, 16, 26, 0.85);
border: 1px solid rgba(124, 255, 178, 0.18);
border-radius: 6px;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
backdrop-filter: blur(3px);
}
.dossier-header {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
background: transparent;
border: none;
border-bottom: 1px solid transparent;
padding: 0.65rem 0.9rem;
cursor: pointer;
color: #7cffb2;
}
.spirit-dossier.open .dossier-header {
border-bottom-color: rgba(124, 255, 178, 0.14);
}
.dossier-title {
font-family: 'Cinzel', serif;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.22em;
text-shadow: 0 0 10px rgba(124, 255, 178, 0.4);
}
.dossier-chevron {
color: rgba(124, 255, 178, 0.6);
font-size: 0.8rem;
}
.dossier-body {
padding: 0.8rem 0.95rem 0.95rem;
display: flex;
flex-direction: column;
gap: 0.7rem;
}
.dossier-name {
margin: 0;
font-family: 'Cinzel', serif;
font-size: 1.25rem;
letter-spacing: 0.1em;
text-shadow: 0 0 16px currentColor;
}
.dossier-epithet {
margin: -0.4rem 0 0;
font-style: italic;
font-size: 0.82rem;
color: rgba(211, 233, 219, 0.65);
}
.dossier-badges {
display: flex;
flex-wrap: wrap;
gap: 0.45rem;
}
.rarity-badge,
.dossier-badge {
font-size: 0.66rem;
letter-spacing: 0.16em;
text-transform: uppercase;
padding: 0.18rem 0.5rem;
border-radius: 999px;
border: 1px solid;
}
.rarity-common {
color: rgba(211, 233, 219, 0.7);
border-color: rgba(211, 233, 219, 0.3);
}
.rarity-uncommon {
color: #7cffb2;
border-color: rgba(124, 255, 178, 0.5);
box-shadow: 0 0 10px rgba(124, 255, 178, 0.15);
}
.rarity-rare {
color: #b26bff;
border-color: rgba(178, 107, 255, 0.55);
box-shadow: 0 0 10px rgba(178, 107, 255, 0.2);
}
.rarity-mythic {
color: #ff3b5c;
border-color: rgba(255, 59, 92, 0.6);
box-shadow: 0 0 12px rgba(255, 59, 92, 0.25);
animation: flickerSoft 2.4s linear infinite;
}
.badge-new {
color: #b26bff;
border-color: rgba(178, 107, 255, 0.5);
}
.badge-known {
color: rgba(211, 233, 219, 0.6);
border-color: rgba(124, 255, 178, 0.25);
}
.dossier-section h4 {
margin: 0 0 0.3rem;
font-family: 'Cinzel', serif;
font-size: 0.68rem;
letter-spacing: 0.24em;
text-transform: uppercase;
color: rgba(124, 255, 178, 0.75);
}
.dossier-persona {
margin: 0;
font-size: 0.8rem;
line-height: 1.5;
color: rgba(211, 233, 219, 0.85);
}
.voice-params {
margin: 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.25rem 0.8rem;
}
.voice-params div {
display: flex;
justify-content: space-between;
gap: 0.5rem;
border-bottom: 1px dotted rgba(124, 255, 178, 0.14);
padding-bottom: 0.15rem;
}
.voice-params dt {
color: rgba(211, 233, 219, 0.5);
font-size: 0.72rem;
}
.voice-params dd {
margin: 0;
color: #7cffb2;
font-size: 0.72rem;
max-width: 110px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dossier-quotes {
margin: 0;
padding-left: 1rem;
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.dossier-quotes li {
font-size: 0.78rem;
font-style: italic;
color: rgba(211, 233, 219, 0.75);
}
.dossier-none {
margin: 0;
font-family: 'Cinzel', serif;
letter-spacing: 0.12em;
font-size: 0.85rem;
color: rgba(211, 233, 219, 0.55);
}
.dossier-nonehint {
margin: 0;
font-size: 0.75rem;
line-height: 1.5;
}
/* ---------- mode panels ---------- */
.mode-panel {
padding: 0.85rem 0.95rem;
display: flex;
flex-direction: column;
}
.panel-title {
margin: 0 0 0.6rem;
font-family: 'Cinzel', serif;
font-size: 0.72rem;
letter-spacing: 0.24em;
color: rgba(124, 255, 178, 0.8);
}
.panel-action {
margin-top: 0.7rem;
align-self: flex-start;
background: rgba(124, 255, 178, 0.08);
border: 1px solid rgba(124, 255, 178, 0.45);
border-radius: 3px;
color: #7cffb2;
font-family: 'IBM Plex Mono', monospace;
font-size: 0.78rem;
letter-spacing: 0.14em;
text-transform: uppercase;
padding: 0.5rem 0.95rem;
cursor: pointer;
transition: box-shadow 150ms ease, background 150ms ease;
}
.panel-action:hover:not(:disabled) {
background: rgba(124, 255, 178, 0.16);
box-shadow: 0 0 14px rgba(124, 255, 178, 0.3);
}
.panel-action:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.panel-notice {
border: 1px solid rgba(178, 107, 255, 0.35);
border-radius: 4px;
background: rgba(178, 107, 255, 0.06);
padding: 0.7rem 0.85rem;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.panel-notice h4 {
margin: 0;
font-family: 'Cinzel', serif;
font-size: 0.78rem;
letter-spacing: 0.14em;
color: #b26bff;
}
.panel-notice p {
margin: 0;
font-size: 0.78rem;
line-height: 1.55;
color: rgba(211, 233, 219, 0.8);
}
.panel-notice.error {
border-color: rgba(255, 59, 92, 0.4);
background: rgba(255, 59, 92, 0.05);
}
.panel-notice.error h4 {
color: #ff3b5c;
}
.troubleshoot {
font-size: 0.7rem;
}
/* wire */
.telemetry-grid {
display: flex;
flex-direction: column;
gap: 0.35rem;
}
.tel-row {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 0.8rem;
border-bottom: 1px dotted rgba(124, 255, 178, 0.14);
padding-bottom: 0.28rem;
}
.tel-key {
font-size: 0.72rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: rgba(211, 233, 219, 0.55);
}
.tel-val {
font-size: 0.88rem;
color: #7cffb2;
text-shadow: 0 0 8px rgba(124, 255, 178, 0.5);
font-variant-numeric: tabular-nums;
}
.wire-count {
margin: 0.7rem 0 0;
font-size: 0.74rem;
color: rgba(178, 107, 255, 0.85);
letter-spacing: 0.06em;
}
.wire-hint {
margin: 0.45rem 0 0;
font-size: 0.74rem;
line-height: 1.55;
font-style: italic;
}
/* evp */
.evp-panel,
.radio-panel,
.ouija-panel,
.wire-panel,
.emf-panel {
display: flex;
flex-direction: column;
gap: 0.55rem;
}
/* .evp-scope and .radio-waterfall lived here until both panels moved to the
shared SpectrumScope, which owns its own frame (SpectrumScope.css). Only
the EMF gauge still draws its own canvas. */
.emf-gauge {
width: 100%;
height: 140px;
border: 1px solid rgba(124, 255, 178, 0.18);
border-radius: 4px;
background: rgba(7, 7, 13, 0.75);
display: block;
}
.evp-readout,
.radio-readout,
.emf-readout {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 0.8rem;
font-size: 0.74rem;
}
.evp-level,
.tuned-freq {
color: #7cffb2;
font-size: 0.85rem;
text-shadow: 0 0 8px rgba(124, 255, 178, 0.55);
font-variant-numeric: tabular-nums;
}
.evp-listening {
margin: 0;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.76rem;
color: rgba(211, 233, 219, 0.75);
}
/* emf */
.emf-level {
color: #7cffb2;
font-size: 1.5rem;
text-shadow: 0 0 14px rgba(124, 255, 178, 0.65);
font-variant-numeric: tabular-nums;
}
.emf-baseline {
font-size: 0.72rem;
letter-spacing: 0.08em;
font-variant-numeric: tabular-nums;
}
.emf-listening {
margin: 0;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.76rem;
color: rgba(211, 233, 219, 0.75);
}
.emf-actions {
display: flex;
align-items: center;
gap: 0.6rem;
margin-top: 0.7rem;
}
.emf-actions .panel-action {
margin-top: 0;
}
/* smaller secondary control (calibrate, try again) */
.panel-subaction {
align-self: flex-start;
background: transparent;
border: 1px solid rgba(124, 255, 178, 0.3);
border-radius: 3px;
color: rgba(124, 255, 178, 0.75);
font-family: 'IBM Plex Mono', monospace;
font-size: 0.7rem;
letter-spacing: 0.12em;
text-transform: uppercase;
padding: 0.32rem 0.7rem;
cursor: pointer;
transition: box-shadow 150ms ease, color 150ms ease;
}
.panel-subaction:hover:not(:disabled) {
color: #7cffb2;
box-shadow: 0 0 10px rgba(124, 255, 178, 0.25);
}
.panel-subaction:disabled {
opacity: 0.35;
cursor: not-allowed;
}
.panel-notice .panel-subaction {
margin-top: 0.2rem;
}
.rec-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #ff3b5c;
box-shadow: 0 0 8px rgba(255, 59, 92, 0.9);
animation: recBlink 1.1s ease-in-out infinite;
}
/* ouija */
.ouija-spelling-label {
font-size: 0.72rem;
letter-spacing: 0.18em;
text-transform: uppercase;
}
.ouija-word {
margin-top: 0.4rem;
display: flex;
gap: 0.3rem;
flex-wrap: wrap;
font-family: 'Cinzel', serif;
font-size: 1.5rem;
letter-spacing: 0.1em;
}
.ouija-word span {
color: rgba(211, 233, 219, 0.3);
transition: color 120ms ease, text-shadow 120ms ease;
}
.ouija-word span.done {
color: rgba(124, 255, 178, 0.55);
}
.ouija-word span.lit {
color: #7cffb2;
text-shadow: 0 0 18px rgba(124, 255, 178, 0.95);
animation: sigilPulse 0.5s ease-in-out infinite;
}
.ouija-drift {
margin: 0;
font-size: 0.78rem;
font-style: italic;
line-height: 1.55;
}
.ouija-history {
margin: 0;
font-size: 0.72rem;
letter-spacing: 0.14em;
word-break: break-word;
}
/* ---------- bottom: transcript + direct contact ---------- */
.seance-bottom {
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
gap: 8px;
padding: 8px 14px 12px;
background: linear-gradient(0deg, rgba(7, 7, 13, 0.96) 55%, rgba(7, 7, 13, 0));
}
.seance-transcript-wrap {
display: flex;
flex-direction: column;
height: 168px;
min-height: 120px;
background: rgba(16, 16, 26, 0.85);
border: 1px solid rgba(124, 255, 178, 0.18);
border-radius: 6px;
overflow: hidden;
}
.seance-transcript-title {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 1rem;
padding: 0.4rem 0.8rem;
border-bottom: 1px solid rgba(124, 255, 178, 0.14);
font-family: 'Cinzel', serif;
font-size: 0.68rem;
letter-spacing: 0.26em;
color: rgba(124, 255, 178, 0.8);
}
.anomaly-count {
font-family: 'IBM Plex Mono', monospace;
font-size: 0.68rem;
letter-spacing: 0.06em;
color: rgba(178, 107, 255, 0.75);
}
/* Transcript component (global class names from Transcript.tsx) */
.transcript {
flex: 1 1 auto;
overflow-y: auto;
padding: 0.5rem 0.8rem;
display: flex;
flex-direction: column;
gap: 0.28rem;
font-size: 0.8rem;
line-height: 1.45;
scrollbar-width: thin;
scrollbar-color: rgba(124, 255, 178, 0.3) transparent;
}
.transcript::-webkit-scrollbar {
width: 6px;
}
.transcript::-webkit-scrollbar-thumb {
background: rgba(124, 255, 178, 0.25);
border-radius: 3px;
}
.tx-row {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0.35rem;
word-break: break-word;
}
.tx-anomaly {
color: #b26bff;
text-shadow: 0 0 8px rgba(178, 107, 255, 0.35);
font-variant-numeric: tabular-nums;
}
.tx-glyph {
animation: recBlink 1.4s ease-in-out infinite;
}
.tx-src {
text-transform: uppercase;
font-size: 0.68rem;
letter-spacing: 0.14em;
opacity: 0.8;
}
.tx-question .tx-speaker {
color: rgba(211, 233, 219, 0.6);
font-style: italic;
}
.tx-question .tx-text {
color: rgba(211, 233, 219, 0.9);
}
.tx-system {
color: rgba(178, 107, 255, 0.9);
letter-spacing: 0.08em;
font-family: 'Cinzel', serif;
font-size: 0.78rem;
}
.tx-system.dim {
font-family: 'IBM Plex Mono', monospace;
color: rgba(211, 233, 219, 0.4);
font-style: italic;
}
.tx-utterance .tx-speaker {
color: #7cffb2;
text-shadow: 0 0 8px rgba(124, 255, 178, 0.4);
font-size: 0.74rem;
letter-spacing: 0.08em;
}
.tx-utterance .tx-text {
color: rgba(211, 233, 219, 0.92);
}
.tx-utterance.kind-reply .tx-text {
color: #d9f5e4;
text-shadow: 0 0 6px rgba(124, 255, 178, 0.2);
}
.tx-utterance.kind-ambient .tx-text,
.tx-utterance.kind-fragment .tx-text {
font-style: italic;
opacity: 0.75;
}
/* Unprompted speech: nobody asked for this. Treated as an intrusion
rather than a reply — a violet edge marks it as arriving from outside
the conversation, and it sits at full opacity (unlike the deliberately
faded ambient/fragment murmurs) because the unsettling part is that it
is perfectly clear and completely unbidden. */
.tx-utterance.kind-manifest {
border-left: 2px solid rgba(178, 107, 255, 0.6);
padding-left: 0.6rem;
margin-left: -0.2rem;
}
.tx-utterance.kind-manifest .tx-text {
color: #ecdcff;
text-shadow: 0 0 9px rgba(178, 107, 255, 0.45);
animation: manifestArrive 620ms ease-out both;
}
@keyframes manifestArrive {
from {
opacity: 0;
transform: translateX(-5px);
filter: blur(2.5px);
}
to {
opacity: 1;
transform: none;
filter: none;
}
}
@media (prefers-reduced-motion: reduce) {
.tx-utterance.kind-manifest .tx-text {
animation: none;
}
}
.tx-utterance.speaking .tx-speaker {
animation: flickerAnim 1.2s linear infinite;
}
.tx-replay {
background: transparent;
border: 1px solid rgba(124, 255, 178, 0.3);
border-radius: 3px;
color: #7cffb2;
font-size: 0.62rem;
padding: 0.05rem 0.35rem;
cursor: pointer;
line-height: 1.3;
transition: box-shadow 140ms ease;
}
.tx-replay:hover {
box-shadow: 0 0 8px rgba(124, 255, 178, 0.4);
}
.tx-streaming .tx-stream-label {
color: rgba(124, 255, 178, 0.6);
font-size: 0.7rem;
letter-spacing: 0.14em;
text-transform: uppercase;
animation: flickerSoft 1.6s linear infinite;
}
.tx-streaming .tx-text {
color: #7cffb2;
}
.smoke-text {
text-shadow: 0 0 10px rgba(124, 255, 178, 0.45);
}
/* Low-stability possession: the channel is unsteady, so the streamed text
itself trembles — kept subtle (opacity/skew jitter, no color change) so
the glitched characters underneath stay legible. */
.possession-glitch {
display: inline-block;
animation: possessionJitter 0.6s steps(2, end) infinite;
text-shadow:
0 0 10px rgba(124, 255, 178, 0.45),
1px 0 rgba(178, 107, 255, 0.35),
-1px 0 rgba(255, 59, 92, 0.25);
}
@keyframes possessionJitter {
0%, 100% { opacity: 1; transform: translateX(0); }
20% { opacity: 0.86; transform: translateX(-0.5px); }
45% { opacity: 1; transform: translateX(0.5px); }
70% { opacity: 0.9; transform: translateX(0); }
}
.tx-cursor {
color: #7cffb2;
animation: cursorBlink 0.8s steps(1) infinite;
}
/* direct contact row */
.seance-contact {
display: flex;
gap: 10px;
}
.seance-contact input {
flex: 1 1 auto;
min-width: 0;
background: rgba(16, 16, 26, 0.9);
border: 1px solid rgba(124, 255, 178, 0.25);
border-radius: 4px;
color: #d3e9db;
font-family: 'IBM Plex Mono', monospace;
font-size: 0.88rem;
padding: 0.6rem 0.85rem;
transition: border-color 150ms ease, box-shadow 150ms ease;
}
.seance-contact input::placeholder {
color: rgba(211, 233, 219, 0.35);
font-style: italic;
}
.seance-contact input:focus {
outline: none;
border-color: rgba(124, 255, 178, 0.65);
box-shadow: 0 0 16px rgba(124, 255, 178, 0.22), inset 0 0 8px rgba(124, 255, 178, 0.06);
}
.seance-contact input:disabled {
opacity: 0.45;
}
.ask-btn {
background: rgba(124, 255, 178, 0.1);
border: 1px solid rgba(124, 255, 178, 0.5);
border-radius: 4px;
color: #7cffb2;
font-family: 'IBM Plex Mono', monospace;
font-size: 0.82rem;
letter-spacing: 0.16em;
text-transform: uppercase;
padding: 0 1.3rem;
cursor: pointer;
transition: box-shadow 150ms ease, background 150ms ease;
}
.ask-btn:hover:not(:disabled) {
background: rgba(124, 255, 178, 0.18);
box-shadow: 0 0 16px rgba(124, 255, 178, 0.35);
}
.ask-btn:disabled {
opacity: 0.35;
cursor: not-allowed;
}
.summon-btn {
background: rgba(178, 107, 255, 0.1);
border: 1px solid rgba(178, 107, 255, 0.6);
border-radius: 4px;
color: #b26bff;
font-family: 'Cinzel', serif;
font-weight: 700;
font-size: 0.88rem;
letter-spacing: 0.3em;
padding: 0 1.6rem;
cursor: pointer;
text-shadow: 0 0 12px rgba(178, 107, 255, 0.6);
animation: summonGlow 3s ease-in-out infinite;
transition: background 150ms ease, box-shadow 150ms ease;
}
.summon-btn:hover:not(:disabled) {
background: rgba(178, 107, 255, 0.2);
box-shadow: 0 0 26px rgba(178, 107, 255, 0.5);
}
.summon-btn:disabled {
opacity: 0.5;
cursor: wait;
animation: none;
}
/* ---------- toasts ---------- */
.seance-toasts {
position: absolute;
top: 64px;
right: 16px;
z-index: 40;
display: flex;
flex-direction: column;
gap: 8px;
max-width: 340px;
}
.seance-toast {
display: flex;
align-items: flex-start;
gap: 0.6rem;
background: rgba(16, 16, 26, 0.94);
border: 1px solid rgba(255, 59, 92, 0.45);
border-left-width: 3px;
border-radius: 4px;
padding: 0.6rem 0.75rem;
font-size: 0.78rem;
color: rgba(211, 233, 219, 0.9);
box-shadow: 0 4px 22px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 59, 92, 0.12);
animation: toastIn 260ms ease-out;
}
.toast-glyph {
color: #ff3b5c;
text-shadow: 0 0 8px rgba(255, 59, 92, 0.7);
}
.toast-msg {
flex: 1 1 auto;
line-height: 1.45;
}
.toast-dismiss {
background: transparent;
border: none;
color: rgba(211, 233, 219, 0.5);
font-size: 1rem;
line-height: 1;
cursor: pointer;
padding: 0 0.1rem;
transition: color 140ms ease;
}
.toast-dismiss:hover {
color: #ff3b5c;
}
/* ---------- shared flicker helpers ---------- */
.flicker {
animation: flickerAnim 3.2s linear infinite;
}
.flicker-soft {
animation: flickerSoft 4.5s linear infinite;
}
/* ---------- keyframes ---------- */
@keyframes flickerAnim {
0%, 100% { opacity: 1; }
3% { opacity: 0.72; }
5% { opacity: 1; }
42% { opacity: 1; }
44% { opacity: 0.6; }
46% { opacity: 1; }
71% { opacity: 0.85; }
73% { opacity: 1; }
}
@keyframes flickerSoft {
0%, 100% { opacity: 1; }
8% { opacity: 0.88; }
10% { opacity: 1; }
55% { opacity: 1; }
57% { opacity: 0.8; }
59% { opacity: 1; }
}
@keyframes sigilPulse {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.18); opacity: 0.75; }
}
@keyframes recBlink {
0%, 100% { opacity: 1; }
50% { opacity: 0.25; }
}
@keyframes cursorBlink {
0%, 49% { opacity: 1; }
50%, 100% { opacity: 0; }
}
@keyframes toastIn {
from { transform: translateX(24px); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
@keyframes bannerIn {
from { transform: translate(-50%, -8px); opacity: 0; }
to { transform: translate(-50%, 0); opacity: 1; }
}
@keyframes summonGlow {
0%, 100% { box-shadow: 0 0 10px rgba(178, 107, 255, 0.2); }
50% { box-shadow: 0 0 24px rgba(178, 107, 255, 0.45); }
}
@keyframes scanDrift {
from { background-position: 0 0; }
to { background-position: 0 120px; }
}
/* ---------- responsive ---------- */
@media (max-width: 960px) {
.seance-main {
flex-direction: column;
overflow-y: auto;
}
.seance-board-wrap {
min-height: 320px;
}
.seance-side {
width: auto;
overflow-y: visible;
}
.seance-topbar {
flex-wrap: wrap;
padding: 6px 10px;
gap: 0.6rem;
}
.seance-brand {
display: none;
}
}
/* --- phones -------------------------------------------------------------
The 960px breakpoint above handles tablets by stacking the columns, but
left everything between 320px and 960px on one layout. Real phones sit at
390-430px, where the five mode tabs, the ask-form row, and the board all
need their own handling.
Principles: nothing horizontally scrolls the page; every interactive
target clears 44px (Apple's HIG floor, and Android's 48dp is close
enough that one rule serves both); and the board keeps enough height to
still read as a board rather than a strip. */
@media (max-width: 560px) {
/* Mode tabs scroll horizontally rather than wrapping into a tall stack
that pushes the board off screen. */
.seance-modes {
overflow-x: auto;
flex-wrap: nowrap;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.seance-modes::-webkit-scrollbar {
display: none;
}
.mode-tab {
flex: 0 0 auto;
min-height: 44px;
padding: 0.35rem 0.7rem;
font-size: 0.68rem;
}
/* The ask row is an input plus two buttons — far too much for one line
at this width. The input takes the full row, the buttons share the
next one. */
.seance-contact {
flex-wrap: wrap;
}
.seance-contact input {
flex: 1 1 100%;
min-height: 44px;
/* 16px exactly: iOS Safari zooms the whole page when a focused input
is any smaller, which then leaves the layout zoomed after blur. */
font-size: 16px;
}
.ask-btn,
.summon-btn {
flex: 1 1 0;
min-height: 44px;
}
.seance-board-wrap {
/* Shorter than the tablet stack so the transcript stays visible
without scrolling, but tall enough that the planchette still has a
board to wander. */
min-height: 240px;
}
.seance-topbar {
padding: 6px 8px;
}
/* Two columns of voice params is unreadable this narrow. */
.voice-params {
grid-template-columns: 1fr;
}
}
/* Very small / older phones (SE-class, 320-375px). */
@media (max-width: 380px) {
.seance-board-wrap {
min-height: 200px;
}
.mode-tab {
font-size: 0.62rem;
padding: 0.3rem 0.55rem;
}
}