/* squiggy.css — SQUIGGY'S BAR: black case, a thin wavy red line, bevels. 27 Sep 2026.
   Sum: "I am still seeing beige, can we try a black with red squiggle for skin." The beige was neo's CRT case (oz.css --neo-frame,
   the vintage plastic). This is the same CRT shape as neo.css (copied selector for selector) in black, with the squiggle for a head line.
   Tokens live HERE (not in oz.css) so the bar reads the same under any root skin. (no png; pure CSS.) */
:root {
  --sq-frame:      #0b0b0d;   /* the case — near black */
  --sq-frame-line: #26262c;   /* the case edge */
  --sq-screen:     #0e0e11;   /* the screen */
  --sq-text:       #e8e8ea;   /* bot text — warm-white, solid */
  --sq-user:       #f6f1e8;   /* user text */
  --sq-user-pre:   #e0242a;   /* the ~ before the human, squiggle red */
  --sq-bot-pre:    #e0242a;   /* the = before the bot */
  --sq-dim:        #5a5a62;   /* the empty placeholder */
  --sq-outline:    #1c1c21;   /* the bezel */
  --sq-ring:       #2a2a31;   /* the outer ring */
  --sq-ring-deep:  #000000;   /* the inner ring */
  --sq-head:       #141418;   /* the head bar */
  --sq-head-text:  #e8e8ea;
  --sq-red:        #e0242a;
  --sq-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6' viewBox='0 0 24 6'%3E%3Cpath d='M0 3 Q6 0 12 3 T24 3' fill='none' stroke='%23e0242a' stroke-width='1.5'/%3E%3C/svg%3E");
}
.convo[data-skin="squiggy"] {
  background: var(--sq-frame);
  border: 1px solid var(--sq-frame-line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.6), inset 1px 1px 0 rgba(255,255,255,0.10), inset -1px -1px 0 rgba(0,0,0,0.95);
}
.convo[data-skin="squiggy"] .convo-screen {
  background: var(--sq-screen);
  font-family: ui-monospace, 'SF Mono', 'Fira Code', monospace;
  color: var(--sq-text);
  line-height: 1.65;
  border-radius: 4px;
  outline: 6px solid var(--sq-outline);
  outline-offset: -1px;
  box-shadow: 0 0 0 9px var(--sq-ring), 0 0 0 10px var(--sq-ring-deep), inset 4px 4px 12px rgba(0,0,0,0.7);
}
.convo[data-skin="squiggy"] .msg-u   { color: var(--sq-user); }
.convo[data-skin="squiggy"] .msg-u::before   { content: '~ '; color: var(--sq-user-pre); }
.convo[data-skin="squiggy"] .msg-bot { color: var(--sq-text); }
.convo[data-skin="squiggy"] .msg-bot::before { content: '= '; color: var(--sq-bot-pre); }
.convo[data-skin="squiggy"] .msg-stream:empty::before { color: var(--sq-dim); }
/* the head — black plastic with the squiggle for its bottom line */
.agent-bar[data-skin="squiggy"] .ab-head {
  background: var(--sq-head);
  border-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -2px 0 rgba(0,0,0,0.6);
  position: relative;
}
.agent-bar[data-skin="squiggy"] .ab-head::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 0; height: 6px; background: var(--sq-wave) repeat-x; background-size: 24px 6px; pointer-events: none; }
.agent-bar[data-skin="squiggy"] .ab-name { color: var(--sq-head-text); }
.agent-bar[data-skin="squiggy"] .ab-grip { color: var(--sq-frame-line); }
/* the convo box's own top bar */
.convo[data-skin="squiggy"] .convo-head { background: var(--sq-head); border-bottom: 2px solid var(--sq-red); }
.convo[data-skin="squiggy"] .head-title { color: var(--sq-head-text); letter-spacing: 2px; }
