/* ninetiesexe.com: Danny's CRT. Windows 98 chrome, CRT blue glow, Claude orange (#DE7356) kept for him. */

@font-face {
  font-family: "PxVGA";
  src: url("/fonts/PxPlus_IBM_VGA_9x16.ttf") format("truetype");
  font-display: block;
}

:root {
  --room: #05070f;
  --desk: #0d6f73;          /* the teal desktop, a little dimmed by the dark room */
  --face: #c0c0c0;
  --hi: #ffffff;
  --lo: #808080;
  --dk: #0a0a0a;
  --navy: #000080;
  --blue: #1084d0;
  --glow: #8fd3ff;
  --claude: #de7356;
  --bigone: #1a3cff;        /* the TV stack's blue */
  --ui: Tahoma, Verdana, "Segoe UI", sans-serif;
  --mono: "PxVGA", "Courier New", monospace;
  --taskbar: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--room); }
body { color: #000; font: 13px/1.35 var(--ui); -webkit-font-smoothing: none; -webkit-text-size-adjust: 100%; overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
a { color: inherit; }

/* ---------------------------------------------------------------- the tube */

#crt {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  background: var(--desk);
  overflow: hidden;
  transition: filter .08s;
}
#crt::before {   /* scanlines + the curve's vignette, over everything, never in the way */
  content: ""; position: absolute; inset: 0; z-index: 900; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.14) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 58%, rgba(0,0,0,.5) 100%);
  mix-blend-mode: multiply;
}
#crt::after {    /* the glass: a soft blue bloom and a slow flicker */
  content: ""; position: absolute; inset: 0; z-index: 901; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, rgba(143,211,255,.09), transparent 70%);
  animation: flicker 4s infinite steps(1);
}
@keyframes flicker { 0%, 100% { opacity: 1 } 47% { opacity: .85 } 48% { opacity: 1 } 82% { opacity: .93 } }
#crt.on .desktop { animation: poweron .5s ease-out both; }
@keyframes poweron { 0% { transform: scaleY(.004) scaleX(.6); filter: brightness(4) } 60% { transform: scaleY(1.02); filter: brightness(1.6) } 100% { transform: none; filter: none } }

.desktop {
  position: relative; flex: 1; min-height: 0;
  overflow: hidden;
}

/* ---------------------------------------------------------------- the hook: readable at 0:00 */

.hook {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  width: max-content; max-width: calc(100% - 32px);
  text-align: center; color: #fff; pointer-events: none; user-select: none;
  text-shadow: 0 0 6px var(--glow), 0 0 22px rgba(143,211,255,.55), 2px 2px 0 #00303a;
}
.hook h1 { font: 400 clamp(36px, 8vw, 88px)/1 var(--mono); margin: 0; letter-spacing: .02em; white-space: nowrap; }
.hook .prompt { color: var(--glow); }
.hook p { font: 400 clamp(15px, 2.2vw, 22px)/1.35 var(--mono); margin: 14px 0 0; color: #e6f6ff; }
.caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0 } }

/* ---------------------------------------------------------------- desktop icons */

.icons {
  position: absolute; left: 6px; top: 8px; bottom: 30px; z-index: 1;
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 78px); grid-auto-columns: 82px; gap: 4px 6px;
  align-content: start;
}
.icon {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 2px;
  background: none; border: 0; cursor: pointer; color: #fff; font-size: 11.5px; line-height: 1.2; text-align: center;
}
.icon span { padding: 1px 2px; text-shadow: 1px 1px 0 #000; overflow-wrap: anywhere; }
.icon .ico { width: 32px; height: 32px; }
.icon:focus { outline: none; }
.icon:focus span, .icon.sel span { background: var(--navy); outline: 1px dotted #ff0; text-shadow: none; }
.icon:focus .ico, .icon.sel .ico { filter: brightness(.6) sepia(1) hue-rotate(190deg) saturate(4); }

.ico { display: inline-block; flex: none; width: 16px; height: 16px; background: center/contain no-repeat; image-rendering: pixelated; vertical-align: middle; }
.ico-pc { background-image: url("/img/pc.svg"); }
.ico-txt { background-image: url("/img/txt.svg"); }
.ico-folder { background-image: url("/img/folder.svg"); }
.ico-bin { background-image: url("/img/bin.svg"); }
.ico-dun { background-image: url("/img/dun.svg"); }
.ico-web { background-image: url("/img/web.svg"); }
.ico-jpg { background-image: url("/img/jpg.svg"); }
.ico-avi { background-image: url("/img/avi.svg"); }
.ico-notepad { background-image: url("/img/notepad.svg"); }
.ico-wmp { background-image: url("/img/wmp.svg"); }
.ico-cam { background-image: url("/img/cam.svg"); }
.ico-win { background-image: url("/img/win.svg"); }
.ico-drive { background-image: url("/img/drive.svg"); }
.ico-floppy { background-image: url("/img/floppy.svg"); }

.fine {
  position: absolute; right: 10px; bottom: 6px; margin: 0; max-width: 360px; z-index: 0;
  color: #d6eef0; font-size: 11px; text-align: right; text-shadow: 1px 1px 0 #003; opacity: .8;
}

/* ---------------------------------------------------------------- Windows 98 chrome */

.windows { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.win {
  position: absolute; pointer-events: auto;
  display: flex; flex-direction: column;
  background: var(--face);
  border: 2px solid; border-color: #dfdfdf var(--dk) var(--dk) #dfdfdf;
  box-shadow: inset -1px -1px 0 var(--lo), inset 1px 1px 0 var(--hi), 2px 2px 18px rgba(0,0,0,.35);
  padding: 3px;
  min-width: 220px; min-height: 120px;
  max-width: 100%; max-height: 100%;
}
.win.max { inset: 0 !important; width: auto !important; height: auto !important; }
.win.pop { animation: pop .14s ease-out; }
@keyframes pop { from { transform: scale(.92); opacity: .4 } }
.title {
  flex: none; display: flex; align-items: center; gap: 4px;
  background: linear-gradient(90deg, #808080, #b5b5b5);
  color: #d4d0c8; font-weight: 700; padding: 2px 2px 2px 3px; height: 20px;
  user-select: none; touch-action: none; cursor: default;
}
.win.active > .title { background: linear-gradient(90deg, var(--navy), var(--blue)); color: #fff; }
.title .ico { margin-right: 2px; }
.title .t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tbtns { display: flex; gap: 2px; flex: none; }
.tbtns button {
  width: 18px; height: 16px; min-width: 0; min-height: 0; padding: 0; display: grid; place-items: center;
  font: 700 11px/1 var(--ui); color: #000;
}
.tbtns button.x { margin-left: 2px; }
.win .menu { flex: none; display: flex; gap: 2px; padding: 2px 2px 3px; font-size: 12px; user-select: none; }
.win .menu span { padding: 1px 6px; }
.win .menu span:hover { background: var(--navy); color: #fff; }
.win .client { flex: 1; min-height: 0; display: flex; flex-direction: column; }

.sunken {
  background: #fff;
  border: 2px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo); box-shadow: inset 1px 1px 0 var(--dk);
}
.status-bar { flex: none; display: flex; gap: 2px; margin-top: 2px; font-size: 11.5px; }
.status-bar span { flex: 1; padding: 1px 4px; border: 1px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-bar span:last-child { flex: 0 0 auto; }

button.b {
  min-width: 80px; min-height: 26px; padding: 3px 12px; cursor: pointer;
  background: var(--face); color: #000; border-radius: 0;
}
button.b, .tbtns button, .start, .task {
  border: 2px solid; border-color: var(--hi) var(--dk) var(--dk) var(--hi);
  box-shadow: inset -1px -1px 0 var(--lo), inset 1px 1px 0 #dfdfdf;
  background: var(--face);
}
button.b.default { outline: 1px solid #000; outline-offset: 0; }
button.b:active, .tbtns button:active, .start[aria-expanded="true"], .task.on {
  border-color: var(--dk) var(--hi) var(--hi) var(--dk); box-shadow: inset 1px 1px 0 var(--lo);
}
button.b:active { padding: 4px 11px 2px 13px; }
button.b:focus-visible { outline: 1px dotted #000; outline-offset: -5px; }
button.b:disabled { color: var(--lo); text-shadow: 1px 1px 0 var(--hi); cursor: default; }
.buttons { display: flex; justify-content: flex-end; gap: 8px; }
input.field {
  min-width: 0; padding: 3px 4px; background: #fff; color: #000;
  border: 2px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo); box-shadow: inset 1px 1px 0 var(--dk);
  border-radius: 0; font-size: 16px; /* 16px: iOS won't zoom */
}
input.field[readonly] { color: #222; }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px) } 75% { transform: translateX(6px) } }

/* ---------------------------------------------------------------- Notepad */

.paper {
  flex: 1; min-height: 0; width: 100%; resize: none; overflow-y: auto; margin: 0;
  padding: 6px 8px; font: 16px/1.3 var(--mono); color: #000; white-space: pre-wrap; overflow-wrap: anywhere;
}
textarea.paper { display: block; }
textarea.paper:focus { outline: none; }

/* ---------------------------------------------------------------- Explorer */

.addr { flex: none; display: flex; align-items: center; gap: 6px; padding: 2px 2px 4px; font-size: 12px; }
.addr .field { flex: 1; font-size: 12px; padding: 2px 4px; display: flex; align-items: center; gap: 4px; }
.files { flex: 1; min-height: 0; overflow: auto; padding: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; align-content: start; }
.file {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; background: none; border: 0; cursor: pointer;
  font-size: 11.5px; line-height: 1.2; text-align: center; color: #000;
}
.file .thumb { width: 64px; height: 112px; object-fit: cover; border: 1px solid #000; background: #000; image-rendering: auto; }
.file .ico { width: 32px; height: 32px; }
.file span { padding: 1px 2px; overflow-wrap: anywhere; }
.file:focus { outline: none; }
.file:focus span, .file.sel span { background: var(--navy); color: #fff; outline: 1px dotted #ff0; }
.file:focus .thumb { outline: 2px solid var(--navy); }
.files .empty { grid-column: 1 / -1; color: var(--lo); font-size: 12px; padding: 12px; }

/* ---------------------------------------------------------------- Media Player */

.wmp .client { background: #000; }
.wmp .screen { flex: 1; min-height: 0; position: relative; background: #000; overflow: hidden; }
/* pinned to the screen box, so the video letterboxes inside it at any window size (it never sizes the window) */
.wmp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.wmp .screen .msg { position: absolute; inset: auto 0 42%; text-align: center; color: var(--glow); font: 16px var(--mono); }
.wmp .screen .msg a { color: var(--glow); }
.wmp .controls { flex: none; display: flex; align-items: center; gap: 4px; padding: 4px 2px 2px; background: var(--face); }
.wmp .controls button.b { min-width: 0; width: 28px; height: 24px; min-height: 0; padding: 0; display: grid; place-items: center; }
.wmp .controls button.b:active, .wmp .controls button.b[aria-pressed="true"] { padding: 1px 0 0 1px; }
.glyph { width: 11px; height: 11px; fill: #000; display: block; }
.wmp .msg .next { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.wmp .controls .time { font: 12px var(--mono); padding: 0 4px; white-space: nowrap; }
.wmp input[type=range] { flex: 1; min-width: 40px; accent-color: var(--navy); }
.wmp input.vol { flex: 0 0 64px; }

/* ---------------------------------------------------------------- dialogs (Dial-Up, download, properties) */

.dialog .client { padding: 10px 12px 10px; gap: 8px; }
.dialog .who { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.dialog .who .ico { width: 36px; height: 36px; }
.dialog label { display: grid; grid-template-columns: 100px 1fr; align-items: center; }
.dialog .status { min-height: 1.4em; margin: 2px 0 0; font: 15px/1.35 var(--mono); }
.dialog .status .his { color: var(--claude); }
.dialog .status.plain { font: 13px/1.45 var(--ui); white-space: pre-wrap; }
.dialog .status.his { white-space: pre-wrap; }
.progress { height: 18px; padding: 2px; display: flex; gap: 2px; overflow: hidden; }
.progress i { flex: 0 0 9px; background: var(--navy); }
.dialog dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 0; }
.dialog dt { color: #222; }
.dialog dd { margin: 0; }
.his { color: var(--claude); }
.viewer .client { background: #000; position: relative; overflow: hidden; }
.viewer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------------------------------------------------------------- Internet Explorer: Danny's homepage (never uploaded) */

.ie .toolbar { flex: none; display: flex; gap: 2px; padding: 2px; border-bottom: 1px solid var(--lo); }
.ie .toolbar span { padding: 2px 8px; font-size: 12px; color: #444; }
.ie .page { flex: 1; min-height: 0; overflow: auto; background: #000 repeating-linear-gradient(0deg, #000 0 31px, #001 31px 32px); color: #0f0; font: 15px/1.4 "Times New Roman", serif; padding: 14px 16px 30px; text-align: center; }
.ie .page h2 { font: 700 28px/1.1 "Comic Sans MS", "Comic Sans", cursive; color: #ff0; margin: 6px 0 4px; text-shadow: 2px 2px 0 #f0f; }
.ie .page .marquee { overflow: hidden; white-space: nowrap; color: #0ff; font: 700 14px var(--ui); border-block: 1px solid #0ff; padding: 2px 0; margin: 10px 0; }
.ie .page .marquee span { display: inline-block; padding-left: 100%; animation: marquee 14s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%) } }
.ie .page .uc { display: inline-block; margin: 12px auto; padding: 6px 12px; color: #000; font: 700 13px var(--ui); background: repeating-linear-gradient(45deg, #ff0 0 12px, #000 12px 24px); }
.ie .page .uc b { background: #ff0; padding: 2px 6px; }
.ie .page ul { list-style: none; padding: 0; margin: 12px 0; }
.ie .page li { margin: 4px 0; }
.ie .page a { color: #66f; }
.ie .page a:visited { color: #c6f; }
.ie .page .dead { color: #66f; text-decoration: underline; cursor: pointer; }
.ie .page .counter { display: inline-block; font: 18px var(--mono); background: #000; color: #f33; border: 2px inset #888; padding: 0 6px; letter-spacing: 2px; }
.ie .page hr { border: 0; height: 4px; background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f); margin: 16px 0; }
.ie .page .added { margin: 20px auto 0; max-width: 420px; padding: 10px; border: 1px dashed var(--claude); color: var(--claude); font: 15px/1.4 var(--mono); text-align: left; }
.ie .page .added a { color: #fff; font-size: 18px; }
.ie .page small { color: #888; font: 11px var(--ui); }

/* ---------------------------------------------------------------- Start menu, taskbar */

.start-menu {
  position: absolute; left: 2px; bottom: calc(var(--taskbar) + env(safe-area-inset-bottom) - 2px); z-index: 800;
  display: flex; min-width: 220px;
  background: var(--face);
  border: 2px solid; border-color: #dfdfdf var(--dk) var(--dk) #dfdfdf;
  box-shadow: inset -1px -1px 0 var(--lo), inset 1px 1px 0 var(--hi), 2px 2px 10px rgba(0,0,0,.4);
  padding: 2px;
}
.start-menu .band {
  writing-mode: vertical-rl; transform: rotate(180deg); padding: 6px 3px;
  background: linear-gradient(0deg, var(--navy), var(--blue)); color: #c0c0c0; font: 700 18px/1 var(--ui); letter-spacing: .02em;
}
.start-menu .band b { color: #fff; }
.start-menu ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.start-menu li > button, .start-menu li > a {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 22px 6px 6px;
  background: none; border: 0; cursor: pointer; text-decoration: none; color: #000; font-size: 13px; text-align: left;
}
.start-menu li > button .ico, .start-menu li > a .ico { width: 24px; height: 24px; }
.start-menu li > button:hover, .start-menu li > a:hover, .start-menu li > button:focus-visible, .start-menu li > a:focus-visible { background: var(--navy); color: #fff; outline: none; }
.start-menu .sep { height: 0; margin: 3px 2px; border-top: 1px solid var(--lo); border-bottom: 1px solid var(--hi); }

.taskbar {
  position: relative; z-index: 850; flex: none; display: flex; align-items: center; gap: 4px;
  height: calc(var(--taskbar) + env(safe-area-inset-bottom)); padding: 3px 3px calc(3px + env(safe-area-inset-bottom));
  background: var(--face); border-top: 2px solid var(--hi); box-shadow: 0 -1px 0 #dfdfdf;
}
.start { display: flex; align-items: center; gap: 4px; height: 24px; padding: 0 6px 0 4px; font-weight: 700; cursor: pointer; }
.quick { display: flex; align-items: center; gap: 2px; padding: 0 4px; border-left: 1px solid var(--lo); box-shadow: inset 1px 0 0 var(--hi); height: 22px; }
.quick a { display: grid; place-items: center; width: 22px; height: 22px; }
.quick a:hover { outline: 1px solid; outline-color: var(--hi) var(--dk) var(--dk) var(--hi); }
.tasks { flex: 1; min-width: 0; display: flex; gap: 3px; overflow: hidden; }
.task {
  flex: 0 1 160px; min-width: 40px; height: 24px; display: flex; align-items: center; gap: 4px; padding: 0 6px;
  overflow: hidden; white-space: nowrap; cursor: pointer; font-size: 12px; text-align: left;
}
.task span { overflow: hidden; text-overflow: ellipsis; }
.task.on { background: repeating-conic-gradient(#fff 0 25%, #dcdcdc 0 50%) 0 0/2px 2px; font-weight: 700; }
.tray { display: flex; align-items: center; gap: 8px; height: 24px; padding: 0 8px; border: 1px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo); font-size: 12px; white-space: nowrap; }
.modem { display: flex; gap: 2px; }
.modem i { width: 6px; height: 6px; background: #204020; border: 1px solid #000; }
.modem i.on { background: #3f3; box-shadow: 0 0 4px #3f3; }

/* ---------------------------------------------------------------- every screen goes black */

.black {
  position: absolute; inset: 0; z-index: 880; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 24px;
  animation: off .35s ease-in both;
}
@keyframes off { 0% { background: #fff; clip-path: inset(49.6% 0 49.6% 0) } 40% { background: #fff; clip-path: inset(49.6% 0 49.6% 0) } 100% { background: #000; clip-path: inset(0) } }
.black pre { margin: 0; color: #d9f2ff; font: clamp(22px, 5vw, 34px)/1.35 var(--mono); text-shadow: 0 0 8px rgba(143,211,255,.7); white-space: pre-wrap; text-align: left; min-height: 3em; }
.black pre .his { color: var(--claude); text-shadow: 0 0 10px rgba(222,115,86,.7); }
.black.safe { cursor: pointer; }
.black .hint { color: #5a5a5a; font: 14px var(--mono); }
.black.safe pre { color: #e8a33c; text-shadow: 0 0 10px rgba(232,163,60,.6); text-align: center; }

/* ---------------------------------------------------------------- phones: one window at a time, full screen */

@media (max-width: 640px) {
  :root { --taskbar: 40px; }
  .hook { top: 58%; }
  .hook h1 { font-size: clamp(30px, 10vw, 48px); }
  .hook p { font-size: 15px; }
  .icons {
    left: 0; right: 0; top: 10px; bottom: auto; padding: 0 8px;
    grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; gap: 8px 4px;
  }
  .icon { font-size: 12px; }
  .icon .ico { width: 40px; height: 40px; }
  .fine { left: 12px; right: 12px; max-width: none; text-align: center; bottom: 8px; }
  .win { inset: 0 !important; width: auto !important; height: auto !important; }
  .win .title { height: 30px; font-size: 14px; }
  .tbtns button { width: 28px; height: 24px; font-size: 14px; }
  .tbtns .max { display: none; }
  .start { height: 32px; font-size: 15px; }
  .task { height: 32px; }
  .tray { height: 32px; }
  .start-menu li > button, .start-menu li > a { padding: 10px 28px 10px 8px; font-size: 15px; }
  .dialog label { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  #crt::after, .caret, .ie .page .marquee span { animation: none; }
  #crt.on .desktop, .black, .win.pop { animation: none; }
}

/* ---------------------------------------------------------------- the chat: Untitled - Notepad */

.paper.chat { display: block; cursor: text; }
.chat p { margin: 0 0 .55em; white-space: pre-wrap; }
.chat .you { color: #666; }
.chat .you::before { content: "> "; }
.chat .sys { color: #888; font-style: italic; }
.chat .rec { color: #aaa; font-size: 13px; }
.chat .typing::after { content: "_"; animation: blink .8s steps(1) infinite; }
.prompt-line { display: flex; align-items: baseline; margin: 0; }
.prompt-line .gt { color: #666; white-space: pre; }
.prompt-line input {
  flex: 1; min-width: 0; padding: 0; border: 0; background: none; outline: none;
  font: 16px/1.3 var(--mono); color: #666; caret-color: #000;
}
.prompt-line input::placeholder { color: #bbb; }
.prompt-line input:disabled { visibility: hidden; }

/* ---------------------------------------------------------------- the big one: the TV stack's blue floods in */

.bigone {
  position: absolute; inset: 0; z-index: 870; display: grid; place-items: center;
  background: radial-gradient(ellipse at center, #3a5cff, var(--bigone) 60%, #0a1a8a);
  animation: tvon .25s steps(3) both;
}
@keyframes tvon { 0% { opacity: 0; filter: brightness(3) } 100% { opacity: 1; filter: none } }
.bigone .words { display: flex; flex-direction: column; align-items: center; gap: .2em; color: #fff; font: clamp(56px, 14vw, 160px)/1 var(--mono); text-shadow: 0 0 18px rgba(255,255,255,.6), 4px 4px 0 #001070; }
.bigone .words span { animation: tvon .2s steps(2) both; }

/* ---------------------------------------------------------------- the call (js/call.js) */
.dialog .status.bad { color: #a00000; }
.dialog .fineprint { margin: 2px 0 0; color: #555; font: 11px/1.4 var(--ui); }
.dialog input.code { text-transform: uppercase; letter-spacing: 1px; color: #000; background: #fff; }
.ico-dun.anim { animation: dunblink .6s steps(2) infinite; }
@keyframes dunblink { 50% { opacity: .45 } }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px) } 75% { transform: translateX(6px) } }
.call .client { display: flex; flex-direction: column; gap: 6px; }
.call .paper { flex: 1; min-height: 0; overflow: auto; }
.chat .him.cut::after { content: "—"; }
.callbar { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 2px 2px 4px; font: 12px var(--ui); }
.callbar .stats { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.callbar .meters { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: center; gap: 6px; font-size: 11px; }
.callbar .meter { height: 12px; border: 2px solid; border-color: var(--lo) var(--hi) var(--hi) var(--lo); background: #000; }
.callbar .meter i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, #00c000 0 6px, transparent 6px 8px); transition: width .06s linear; }
.callbar .meter.him i { background: repeating-linear-gradient(90deg, var(--claude) 0 6px, transparent 6px 8px); }
@media (prefers-reduced-motion: reduce) { .ico-dun.anim, .shake { animation: none; } }
.callbar .tapwake { width: 100%; padding: 10px; font-size: 15px; font-weight: bold; }
.callbar .tapwake[hidden] { display: none; }
