/* HOLOCHAT — estética de la interfaz de mensajes/holollamadas de Cyberpunk 2077:
   fondo casi negro con tinte rojo, texto rojo salmón, cian para lo interactivo/propio,
   amarillo para avisos y marca, esquinas cortadas, líneas finas y scanlines. */
:root {
  --bg: #0b0a0f;
  --bg2: #120d12;
  --panel: #150f14;
  --red: #ff5b51;
  --red-2: #ff003c;
  --red-dim: #6b2228;
  --red-faint: #2a1218;
  --cyan: #5ef6ff;
  --cyan-dim: #1e5c63;
  --cyan-faint: #0d2226;
  --yellow: #fcee0a;
  --text: #ffd1cc;
  --muted: #a5686a;
  --cut: 12px;
  --font: 'Rajdhani', 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --mono: 'Share Tech Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--red-dim) transparent; }
html, body { margin: 0; height: 100%; }
body {
  background:
    radial-gradient(1200px 600px at 80% -10%, #2a0c14 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, #0a2226 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  font: 500 17px/1.35 var(--font);
  letter-spacing: 0.02em;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.dim { color: var(--muted); }
kbd {
  font: 12px var(--mono); padding: 0 4px; margin-right: 6px;
  border: 1px solid currentColor; opacity: 0.9;
}
::selection { background: var(--yellow); color: #000; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--red-dim); }

/* scanlines globales */
.scan {
  position: fixed; inset: 0; pointer-events: none; z-index: 50;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* ---------- marco con esquinas cortadas (borde de 1px) ---------- */
.frame, .bubble, .btn, .contact, .icon-btn, .choice, .avatar {
  --c: var(--cut);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.frame {
  position: relative;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--red-dim);
  border: 1px solid transparent;
}

/* ---------- botones ---------- */
.btn {
  --c: 8px;
  position: relative; border: 0; padding: 1px; background: var(--red);
  text-transform: uppercase; font-weight: 700; letter-spacing: 0.12em;
}
.btn > span {
  display: block; padding: 8px 18px; background: var(--bg2); color: var(--red);
  clip-path: inherit; transition: background .12s, color .12s;
}
.btn:hover > span, .btn:focus-visible > span { background: var(--red); color: #120406; }
.btn.primary { background: var(--yellow); }
.btn.primary > span { color: var(--yellow); background: #15130a; }
.btn.primary:hover > span, .btn.primary:focus-visible > span { background: var(--yellow); color: #000; }
.btn.danger { background: var(--red-2); }
.btn.danger > span { color: #ff7a8f; background: #1c070c; }
.btn.danger:hover > span { background: var(--red-2); color: #fff; }
.btn.ghost { background: var(--red-dim); }
.btn.ghost > span { color: var(--muted); }
.icon-btn {
  --c: 7px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--cyan-faint); color: var(--cyan); border: 0;
  padding: 7px 12px; font-weight: 700; letter-spacing: .1em; font-size: 14px;
  box-shadow: inset 0 0 0 1px var(--cyan-dim);
}
.icon-btn svg { width: 16px; height: 16px; fill: currentColor; }
.icon-btn:hover, .icon-btn:focus-visible { background: var(--cyan); color: #001518; }
.icon-btn.off { color: var(--red); background: var(--red-faint); box-shadow: inset 0 0 0 1px var(--red-dim); }
:focus-visible { outline: 1px solid var(--yellow); outline-offset: 2px; }

/* ---------- logo con glitch ---------- */
.logo {
  font-size: 54px; line-height: 1; margin: 8px 0 4px; color: var(--yellow);
  font-weight: 700; letter-spacing: 0.08em; text-shadow: 0 0 18px rgba(252,238,10,.25);
}
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; overflow: hidden;
}
.glitch::before { color: var(--cyan); transform: translate(-2px, 0); clip-path: inset(0 0 65% 0); animation: gl1 3.2s infinite steps(1); mix-blend-mode: screen; }
.glitch::after  { color: var(--red-2); transform: translate(2px, 0); clip-path: inset(60% 0 0 0); animation: gl2 2.7s infinite steps(1); mix-blend-mode: screen; }
@keyframes gl1 { 0%,92%{clip-path:inset(0 0 100% 0)} 93%{clip-path:inset(10% 0 60% 0)} 96%{clip-path:inset(40% 0 30% 0)} 99%{clip-path:inset(0 0 100% 0)} }
@keyframes gl2 { 0%,88%{clip-path:inset(100% 0 0 0)} 89%{clip-path:inset(55% 0 20% 0)} 94%{clip-path:inset(75% 0 5% 0)} 97%{clip-path:inset(100% 0 0 0)} }

/* ---------- acceso ---------- */
.screen { position: fixed; inset: 0; }
.login { display: grid; place-items: center; padding: 20px; }
.login-box { width: min(420px, 100%); padding: 34px 28px 26px; }
.corner-tag {
  position: absolute; top: 0; left: 0; padding: 2px 10px;
  background: var(--red); color: #160406; font: 12px var(--mono); letter-spacing: .1em;
}
.sub { margin: 0 0 22px; color: var(--muted); }
.tabs { display: flex; gap: 2px; margin-bottom: 18px; }
.tab {
  flex: 1; background: transparent; border: 0; border-bottom: 2px solid var(--red-dim);
  color: var(--muted); padding: 8px; letter-spacing: .12em; font-weight: 700;
}
.tab.active { color: var(--red); border-color: var(--red); background: linear-gradient(transparent, var(--red-faint)); }
label { display: block; font-size: 13px; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
input:not([type=checkbox]):not([type=file]) {
  display: block; width: 100%; margin-top: 4px; padding: 9px 10px;
  background: #0d090c; border: 0; border-bottom: 1px solid var(--red-dim);
  color: var(--text); font-size: 18px; letter-spacing: .04em; outline: none;
}
input:focus { border-bottom-color: var(--yellow); background: #140f0d; }
.login .btn { width: 100%; margin-top: 6px; }
.error { color: var(--red-2); min-height: 1.3em; margin: 12px 0 0; font-weight: 600; }

/* ---------- app ---------- */
.app { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
.topbar {
  display: flex; align-items: center; gap: 18px; padding: 8px 18px;
  padding-top: max(8px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--red-dim);
  background: linear-gradient(90deg, rgba(255,91,81,.08), transparent 40%);
}
.brand { display: flex; align-items: baseline; gap: 8px; }
.logo-sm { color: var(--yellow); font-weight: 700; font-size: 22px; letter-spacing: .14em; }
.tag { font: 11px var(--mono); color: var(--muted); }
.net { display: flex; align-items: center; gap: 6px; font: 13px var(--mono); color: var(--muted); }
.dot { width: 8px; height: 8px; background: var(--muted); display: inline-block; transform: rotate(45deg); }
.dot.on { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.dot.bad { background: var(--red-2); box-shadow: 0 0 8px var(--red-2); }
.clock { margin-left: auto; color: var(--red); font-size: 15px; }
.me-btn {
  display: flex; align-items: center; gap: 8px; background: none; border: 0;
  color: var(--red); font-weight: 700; letter-spacing: .08em;
}
.layout { flex: 1; display: grid; grid-template-columns: 320px 1fr; min-height: 0; }

/* contactos */
.contacts { border-right: 1px solid var(--red-dim); overflow-y: auto; padding: 14px 10px; }
.panel-title {
  display: flex; justify-content: space-between; padding: 0 6px 8px; margin-bottom: 8px;
  font-weight: 700; letter-spacing: .2em; color: var(--red); border-bottom: 1px solid var(--red-faint);
}
#contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.contact {
  --c: 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  padding: 8px 10px; background: transparent; cursor: pointer; position: relative;
  border-left: 2px solid transparent;
}
.contact:hover { background: var(--red-faint); }
.contact.active { background: linear-gradient(90deg, rgba(255,91,81,.22), rgba(255,91,81,.04)); border-left-color: var(--red); }
.contact .c-name { font-weight: 700; font-size: 18px; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.contact .c-last { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact .c-meta { display: grid; justify-items: end; gap: 4px; font: 11px var(--mono); color: var(--muted); }
.badge { background: var(--yellow); color: #000; font: 700 12px var(--mono); padding: 0 6px; min-width: 20px; text-align: center; }
.empty-contacts { padding: 20px 8px; line-height: 1.5; }

/* avatares */
.avatar {
  --c: 6px; display: inline-block; flex: none; position: relative;
  background: var(--av, var(--red)) center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.avatar.sm { width: 26px; height: 26px; --c: 5px; }
.avatar.md { width: 44px; height: 44px; }
.avatar.lg { width: 48px; height: 48px; }
.avatar.xl { width: 110px; height: 110px; --c: 14px; }
.avatar .on-dot {
  position: absolute; right: 2px; bottom: 2px; width: 9px; height: 9px;
  background: var(--cyan); box-shadow: 0 0 6px var(--cyan); transform: rotate(45deg);
}
.avatar.editable { cursor: pointer; margin: 0; }
.avatar.editable::after {
  content: 'CAMBIAR'; position: absolute; inset: auto 0 0 0; text-align: center;
  background: rgba(0,0,0,.7); color: var(--yellow); font: 11px var(--mono); padding: 3px 0;
}

/* hilo */
.thread { position: relative; min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.thread-empty { margin: auto; text-align: center; color: var(--muted); }
.big-icon { font-size: 64px; color: var(--red-dim); letter-spacing: -.1em; }
.thread-inner { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.thread-head {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--red-dim);
  background: linear-gradient(90deg, var(--red-faint), transparent 70%);
}
.back { display: none; background: none; border: 0; color: var(--red); font-size: 34px; line-height: 1; padding: 0 6px 0 0; }
.th-name { font-size: 24px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; line-height: 1.05; }
.th-status { font-size: 12px; color: var(--muted); }
.th-status.on { color: var(--cyan); }
.th-actions { margin-left: auto; display: flex; gap: 8px; }

.messages { flex: 1; overflow-y: auto; padding: 18px 18px 8px; display: flex; flex-direction: column; gap: 10px; }
.day-sep {
  align-self: center; font: 11px var(--mono); color: var(--muted); letter-spacing: .2em;
  padding: 2px 12px; border: 1px solid var(--red-faint); margin: 8px 0;
}
.msg { display: flex; flex-direction: column; max-width: min(78%, 560px); }
.msg.in { align-self: flex-start; }
.msg.out { align-self: flex-end; align-items: flex-end; }
.msg .who { font: 11px var(--mono); letter-spacing: .14em; color: var(--muted); margin: 0 4px 3px; text-transform: uppercase; }
.bubble {
  --c: 10px; position: relative; padding: 1px; white-space: pre-wrap; overflow-wrap: anywhere;
}
.bubble > div { padding: 8px 14px 9px; clip-path: inherit; font-size: 18px; }
.msg.in .bubble { background: var(--red-dim); }
.msg.in .bubble > div { background: linear-gradient(100deg, #2a1117, #1a0d11); color: var(--text); }
.msg.in .bubble::before { /* barra lateral roja, como los mensajes del juego */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); z-index: 1;
}
.msg.out .bubble { background: var(--cyan-dim); }
.msg.out .bubble > div { background: linear-gradient(100deg, #0c2025, #0a1518); color: #c9fbff; }
.msg.out .bubble::after {
  content: ''; position: absolute; right: 0; top: var(--c); bottom: 0; width: 3px; background: var(--cyan); z-index: 1;
}
.bubble img { display: block; max-width: 100%; max-height: 340px; margin: 2px 0; cursor: zoom-in; }
.msg .meta { font: 11px var(--mono); color: var(--muted); margin: 3px 4px 0; display: flex; gap: 8px; }
.msg .meta .seen { color: var(--cyan); }
.msg.pending { opacity: .55; }
.msg.new .bubble { animation: materialize .35s ease-out; }
@keyframes materialize {
  0% { opacity: 0; transform: translateX(var(--from, -10px)); filter: brightness(2) hue-rotate(-20deg); }
  40% { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%, 0 55%, 100% 55%, 100% 100%, 0 100%); }
  100% { transform: none; filter: none; }
}
.msg.out.new { --from: 10px; }
.sys-call {
  align-self: center; display: flex; align-items: center; gap: 10px;
  font: 13px var(--mono); letter-spacing: .1em; color: var(--yellow);
  padding: 5px 14px; border: 1px solid rgba(252,238,10,.25); background: rgba(252,238,10,.04);
}
.sys-call.missed { color: var(--red-2); border-color: rgba(255,0,60,.35); background: rgba(255,0,60,.05); }

.typing { padding: 0 22px 4px; font-size: 12px; color: var(--red); }
.typing span { display: inline-block; width: 6px; height: 6px; background: var(--red); margin-right: 3px; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

/* respuestas rápidas: como las opciones de diálogo del juego */
.choices { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 8px; }
.choice {
  --c: 6px; border: 0; background: rgba(252,238,10,.06); color: var(--yellow);
  padding: 4px 12px 4px 8px; font-weight: 600; font-size: 15px; letter-spacing: .03em;
  border-left: 3px solid var(--yellow);
}
.choice b { font-family: var(--mono); font-weight: 400; margin-right: 6px; opacity: .7; }
.choice:hover, .choice:focus-visible { background: var(--yellow); color: #000; }

.composer {
  position: relative; display: flex; align-items: flex-end; gap: 8px; margin: 4px 18px 16px;
  margin-bottom: max(16px, env(safe-area-inset-bottom));
  padding: 6px 6px 6px 10px; background: var(--panel); border: 1px solid var(--red-dim);
}
.composer::before { /* esquina marcada arriba a la izquierda */
  content: ''; position: absolute; left: -1px; top: -1px; width: 14px; height: 14px;
  border-left: 2px solid var(--red); border-top: 2px solid var(--red);
}
.composer:focus-within { border-color: var(--red); }
.composer:focus-within::before { border-color: var(--yellow); }
.composer .prompt { color: var(--red); padding: 8px 0; }
.composer textarea {
  flex: 1; min-width: 0; resize: none; border: 0; background: transparent; outline: none; color: var(--text);
  font-size: 18px; padding: 7px 0; max-height: 140px; line-height: 1.3;
}
.composer textarea::placeholder { color: #6e4446; }
.attach { margin: 0; padding: 4px 6px; color: var(--cyan); font-size: 22px; cursor: pointer; letter-spacing: 0; }
.attach:hover { color: var(--yellow); }

/* ---------- holollamada (arriba a la izquierda, como en el HUD) ---------- */
.holo { position: fixed; top: 64px; left: 18px; z-index: 40; width: min(360px, calc(100vw - 24px)); }
.holo-frame {
  position: relative; padding: 12px 12px 12px; background: rgba(6,13,16,.97);
  backdrop-filter: blur(6px); border-left: 2px solid var(--cyan);
  box-shadow: 0 0 40px rgba(94,246,255,.12), inset 0 0 0 1px rgba(94,246,255,.18);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  animation: holo-in .45s cubic-bezier(.2,.9,.3,1);
}
.holo.ringing .holo-frame { border-left-color: var(--yellow); box-shadow: 0 0 40px rgba(252,238,10,.15), inset 0 0 0 1px rgba(252,238,10,.25); }
@keyframes holo-in {
  0% { opacity: 0; transform: translateX(-30px) skewX(-8deg); filter: hue-rotate(60deg) brightness(2); }
  30% { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 20%, 0 20%, 0 45%, 100% 45%, 100% 70%, 0 70%); }
  60% { transform: translateX(4px); }
  100% { transform: none; filter: none; }
}
.holo-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--cyan); letter-spacing: .2em; }
.holo.ringing .holo-head { color: var(--yellow); }
.holo-label::before { content: '◆ '; animation: blink 1s infinite steps(1); }
.holo-name { font-size: 28px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin: 2px 0 8px; }
.holo.ringing .holo-name { color: var(--yellow); }
.holo-view {
  position: relative; aspect-ratio: 4/3; overflow: hidden; background: #031014;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.holo-portrait {
  position: absolute; inset: 12% 22%; background: var(--av, var(--cyan)) center/cover no-repeat;
  filter: sepia(1) hue-rotate(140deg) saturate(3) brightness(.9) contrast(1.2);
  opacity: .9; animation: flicker 4s infinite;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.holo.ringing .holo-portrait { filter: sepia(1) hue-rotate(10deg) saturate(3) brightness(.95); }
#remote-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none;
  filter: sepia(.65) hue-rotate(140deg) saturate(1.6) contrast(1.15) brightness(1.05);
}
.holo.has-video #remote-video { display: block; }
.holo.has-video .holo-portrait { display: none; }
.holo.raw #remote-video { filter: none; }
#holo-wave { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: 44px; opacity: .9; }
.holo-scan {
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(94,246,255,.10) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.6));
  animation: roll 6s linear infinite;
}
.holo-glitch {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(transparent 40%, rgba(255,0,60,.35) 40% 43%, transparent 43% 70%, rgba(94,246,255,.3) 70% 72%, transparent 72%);
  animation: glitchbar 5s infinite steps(1);
}
@keyframes roll { to { background-position: 0 60px, 0 0; } }
@keyframes flicker { 0%, 96%, 100% { opacity: .9; } 97% { opacity: .4; transform: translateX(3px); } 98% { opacity: .85; transform: none; } }
@keyframes glitchbar { 0%, 90% { opacity: 0; } 91% { opacity: 1; transform: translateY(-20%); } 93% { opacity: 1; transform: translateY(15%); } 95% { opacity: 0; } }
#local-video {
  position: absolute; right: 22px; top: 92px; width: 92px; aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid var(--cyan-dim); display: none; transform: scaleX(-1); background: #000;
}
.holo.cam-on #local-video { display: block; }
.holo-actions { display: flex; gap: 8px; margin-top: 10px; }
.holo-actions .btn { flex: 1; }
.holo-actions .btn > span { text-align: center; padding: 8px 6px; }
.holo.big { width: min(720px, calc(100vw - 24px)); }
.holo.big #local-video { width: 160px; top: 100px; }
.holo-view { cursor: zoom-in; }
.holo.big .holo-view { cursor: zoom-out; }

/* ---------- perfil ---------- */
.dialog {
  padding: 34px 24px 22px; width: min(460px, calc(100vw - 24px)); color: var(--text);
}
.dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(2px); }
.profile-row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 14px; }
.profile-fields { flex: 1; }
.pf-name { font-size: 28px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 22px; height: 22px; border: 0; transform: rotate(45deg) scale(.8); }
.swatches button.sel { outline: 2px solid #fff; outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: .06em; color: var(--text); font-weight: 500; }
.check input { accent-color: var(--red); width: 16px; height: 16px; }
.dialog-actions { display: flex; justify-content: space-between; margin-top: 18px; }

/* ---------- franja de instalación / avisos ---------- */
.banner {
  display: flex; align-items: center; gap: 12px; padding: 8px 14px;
  background: rgba(252,238,10,.07); border-bottom: 1px solid rgba(252,238,10,.3);
  color: var(--yellow); font-weight: 600; font-size: 15px;
}
.banner #banner-text { flex: 1; }
.banner .btn > span { padding: 5px 12px; font-size: 13px; }
.banner-x { background: none; border: 0; color: var(--muted); font-size: 16px; padding: 4px; }
.pf-hint { font-size: 14px; margin: -6px 0 10px 26px; line-height: 1.3; }

/* ---------- aviso ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 60;
  padding: 8px 18px; background: var(--yellow); color: #000; font-weight: 700; letter-spacing: .08em;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.9); display: grid; place-items: center; cursor: zoom-out; }
.lightbox img { max-width: 94vw; max-height: 92vh; }

/* ---------- móvil ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .layout { grid-template-columns: 1fr; }
  .contacts { border-right: 0; }
  .app.in-thread .contacts { display: none; }
  .app:not(.in-thread) .thread { display: none; }
  .back { display: block; }
  .topbar { gap: 10px; padding: 8px 12px; }
  .net #net-label, .tag { display: none; }
  .th-actions span { display: none; }
  .thread-head { padding: 10px 12px; }
  .messages { padding: 12px 10px 6px; }
  .msg { max-width: 88%; }
  .composer { margin: 4px 8px 10px; }
  .choices { padding: 0 10px 6px; }
  .holo { top: max(56px, env(safe-area-inset-top)); left: 12px; }
  .holo.big { width: calc(100vw - 24px); }
}
@media (pointer: coarse) { .holo kbd { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
