/* Add-on HALCYON : l'écran doit se lire comme celui d'un vrai smartphone.
   Fond d'écran et verre dépoli hors des apps, listes groupées claires dans les apps. */
:root {
  --blue: #007aff;
  --green: #34c759;
  --red: #ff3b30;
  --orange: #ff9500;
  --yellow: #ffcc00;
  --gold: #b8860b;
  --bg: #f2f2f7;
  --sep: #c6c6c8;
  --label2: #8e8e93;
  --ink: #000;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  background: #000;
  color: var(--ink);
  font: 17px/1.35 var(--font);
  -webkit-text-size-adjust: 100%;
  display: grid;
  place-items: center;
}
#app {
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  display: flex;
  overflow: hidden;
  position: relative;
  background: #000;
}
@media (min-width: 500px) and (min-height: 700px) {
  /* sur ordinateur : on dessine le téléphone autour */
  #app {
    width: 393px;
    height: min(852px, calc(100dvh - 24px));
    border-radius: 56px;
    border: 11px solid #1c1c1e;
    box-shadow:
      0 0 0 2px #3a3a3c,
      0 30px 80px rgba(0, 0, 0, 0.6);
  }
}
.scr {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px))
    calc(8px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.wall {
  color: #fff;
  background: radial-gradient(120% 70% at 15% 8%, #4263eb 0, transparent 60%),
    radial-gradient(90% 60% at 95% 30%, #c2255c 0, transparent 55%),
    radial-gradient(120% 80% at 50% 105%, #f08c00 0, transparent 60%), #0b1026;
}
.ios {
  background: var(--bg);
}
.center {
  align-items: center;
  text-align: center;
  justify-content: center;
}
.center > .sb {
  align-self: stretch;
  margin-bottom: auto;
}
.center > .homebar {
  margin-top: auto;
}
h1,
h2,
p {
  margin: 0;
}
.logo {
  font: 700 44px/1 var(--font);
  letter-spacing: 0.14em;
}
h2.big {
  font: 700 30px/1.1 var(--font);
  letter-spacing: -0.01em;
}
.sub {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}
.fine {
  font-size: 13px;
  opacity: 0.75;
}
ul.plain {
  margin: 6px 0;
  padding-left: 20px;
}
svg {
  width: 1em;
  height: 1em;
  flex: none;
}

/* verre dépoli */
.glass {
  background: rgba(255, 255, 255, 0.18);
  border: 0.5px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  border-radius: 22px;
}
.card {
  align-self: stretch;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

/* boutons */
button {
  font: inherit;
  color: inherit;
  border: 0;
  border-radius: 14px;
  padding: 13px 16px;
  min-height: 50px;
  cursor: pointer;
  background: #fff;
}
button.primary {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.wall button.primary {
  background: #fff;
  color: #000;
}
button.ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 0.5px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
}
.center > button {
  align-self: stretch;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field > span {
  font-size: 13px;
  opacity: 0.8;
}
.seg {
  display: flex;
  gap: 2px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 2px;
}
.seg button {
  flex: 1;
  min-height: 36px;
  padding: 6px 2px;
  border-radius: 8px;
  background: none;
  color: #fff;
  font-size: 15px;
  text-transform: capitalize;
}
.seg button.on {
  background: #fff;
  color: #000;
  font-weight: 600;
}
input {
  font: inherit;
  padding: 12px 14px;
  border: 0.5px solid var(--sep);
  border-radius: 12px;
  min-width: 0;
  flex: 1;
  background: #fff;
  color: #000;
  text-transform: uppercase;
}

/* barre d'état */
.sb {
  flex: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 50px;
  padding: 6px 10px 0;
  font-weight: 600;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.sbr {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}
.sbr > svg {
  font-size: 17px;
}
.island {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  border-radius: 20px;
  height: 34px;
  min-width: 118px;
  padding: 0 14px;
  justify-content: space-between;
  font-size: 14px;
}
.island .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1f2a44;
  box-shadow: inset 0 0 0 2px #0d1322;
}
.island.hot {
  color: var(--red);
}
.island.hot .dot {
  background: var(--red);
  box-shadow: none;
}
.bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}
.bars i {
  width: 3px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.3;
}
.bars i.on {
  opacity: 1;
}
.bars.hot i.on {
  background: var(--red);
}
.batt {
  position: relative;
  width: 27px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 4px;
  opacity: 0.95;
  display: grid;
  place-items: center;
  margin-right: 3px;
}
.batt::after {
  content: "";
  position: absolute;
  right: -3.5px;
  top: 3.5px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
}
.batt b {
  position: absolute;
  left: 1px;
  top: 1px;
  bottom: 1px;
  max-width: calc(100% - 2px);
  border-radius: 2px;
  background: currentColor;
  opacity: 0.35;
}
.batt em {
  position: relative;
  font: 700 9px/1 var(--font);
  font-style: normal;
}
.homebar {
  flex: none;
  width: 134px;
  height: 5px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.85;
  margin: auto auto 0;
  align-self: center;
}
.actions + .homebar,
.dock + .homebar {
  margin-top: 6px;
}

/* écran verrouillé */
.date {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 18px;
}
.clock {
  font: 300 96px/1 var(--font);
  text-align: center;
  letter-spacing: -0.03em;
  margin-top: -12px;
  font-variant-numeric: tabular-nums;
}
.nb {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  align-items: flex-start;
}
.nb > div {
  min-width: 0;
  flex: 1;
  font-size: 15px;
}
.nb.off {
  opacity: 0.45;
  text-decoration: line-through;
}
.nb p {
  opacity: 0.9;
}
.meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.75;
}
.fx {
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 16px;
}

/* icônes d'app */
.sq {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--g, linear-gradient(#3a3a3c, #1c1c1e));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.sq.sm {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  font-size: 22px;
}
.sq.big {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  font-size: 46px;
}
.k-messages {
  --g: linear-gradient(#5df777, #0cbd2a);
}
.k-photos {
  --g: linear-gradient(135deg, #ffd43b, #ff6b6b 55%, #cc5de8);
}
.k-notes {
  --g: linear-gradient(#ffe066, #f5b800);
}
.k-maps {
  --g: linear-gradient(135deg, #8ce99a, #339af0);
}
.k-navigateur {
  --g: linear-gradient(#63d2ff, #007aff);
}
.k-social {
  --g: linear-gradient(135deg, #ff8fab, #c2255c);
}
.k-reglages {
  --g: linear-gradient(#b8bcc6, #6e727c);
}
.k-scan,
.k-fin {
  --g: linear-gradient(#48484a, #1c1c1e);
}
.k-notif {
  --g: linear-gradient(#ff6b5e, #e0281c);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 4px;
}
.appi {
  background: none;
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  border-radius: 0;
}
.widget {
  align-self: flex-start;
  width: calc(50% - 4px);
  aspect-ratio: 1;
  max-height: 160px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 6px;
}
.widget small {
  font-size: 13px;
  opacity: 0.85;
}
.widget b {
  font: 600 40px/1 var(--font);
}
.pips {
  display: flex;
  gap: 6px;
  font-size: 22px;
}
.pips i {
  font-style: normal;
  opacity: 0.3;
}
.pips i.on {
  opacity: 1;
  color: var(--yellow);
}
.dock {
  margin-top: auto;
  display: flex;
  justify-content: space-evenly;
  padding: 12px 8px;
  border-radius: 30px;
}
.dock .appi {
  font-size: 11px;
}

/* apps : barre de navigation, grand titre, listes groupées */
.nav {
  flex: none;
  margin: -8px -8px -10px;
}
.backb {
  background: none;
  color: var(--blue);
  padding: 8px;
  min-height: 44px;
  font-size: 17px;
}
.a-notes .backb {
  color: #d4a000;
}
.lt {
  font: 700 34px/1.1 var(--font);
  letter-spacing: -0.01em;
}
.dt {
  font: 700 24px/1.15 var(--font);
  text-align: center;
}
.dsub {
  text-align: center;
  color: var(--label2);
  font-size: 13px;
  margin-top: -10px;
}
.group {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
}
.group.pad {
  padding: 14px 16px;
}
.rowi {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  border-radius: 0;
  text-align: left;
  position: relative;
  min-height: 58px;
}
.rowi + .rowi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 66px;
  right: 0;
  height: 0.5px;
  background: var(--sep);
}
.set + .set::before {
  left: 14px;
}
.rt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.rt b {
  font-weight: 600;
}
small {
  color: var(--label2);
  font-size: 13px;
  line-height: 1.3;
}
small.g {
  color: #3a3a3c;
}
.av {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(#b0b5c0, #8a8f9b);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 18px;
}
.av.lk {
  background: #e5e5ea;
  color: var(--label2);
}
.chev {
  color: #c7c7cc;
  font-size: 22px;
}
.chev.open {
  color: var(--green);
}
.note {
  font-size: 13px;
  color: var(--label2);
  padding: 0 14px;
}
.url {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e3e3e8;
  color: var(--label2);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bb {
  max-width: 80%;
  padding: 9px 14px;
  border-radius: 19px;
  background: #e9e9eb;
  align-self: flex-start;
}
.bb.me {
  background: var(--blue);
  color: #fff;
  align-self: flex-end;
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin: 0 -16px;
}
.ptile {
  aspect-ratio: 1;
  border-radius: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px;
  font-size: 13px;
  text-align: left;
  background: var(--g);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.ptile svg {
  font-size: 26px;
  opacity: 0.9;
}
.photo {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: var(--g);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 64px;
  flex: none;
}
.p0 {
  --g: linear-gradient(135deg, #74c0fc, #4263eb);
}
.p1 {
  --g: linear-gradient(135deg, #ffd8a8, #e8590c);
}
.p2 {
  --g: linear-gradient(135deg, #868e96, #343a40);
}
.p3 {
  --g: linear-gradient(135deg, #495057, #212529);
}
.cap {
  text-align: center;
}
.locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin-top: 20px;
}
.biglock {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e5e5ea;
  color: var(--label2);
  display: grid;
  place-items: center;
  font-size: 34px;
}
.locked form {
  align-self: stretch;
}
form {
  display: flex;
  gap: 8px;
}
.rowf {
  display: flex;
  gap: 8px;
}
.proof {
  align-self: center;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 8px;
  padding: 3px 12px;
}
.tog {
  flex: none;
  width: 51px;
  height: 31px;
  border-radius: 16px;
  background: #e9e9ea;
  position: relative;
}
.tog::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: left 0.15s;
}
.set.on .tog::after {
  left: 22px;
}
.set.good.on .tog {
  background: var(--green);
}
.set.bad.on .tog {
  background: var(--orange);
}

/* fin de tour et fin de partie */
.stats {
  display: flex;
  gap: 8px;
  align-self: stretch;
}
.stats div {
  flex: 1;
  padding: 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 18px;
}
.stats b {
  font: 600 40px/1 var(--font);
  font-variant-numeric: tabular-nums;
}
.stats b small {
  font-size: 18px;
  color: inherit;
  opacity: 0.7;
}
.stats span {
  font-size: 12px;
  opacity: 0.85;
}
.end-exposer .logo {
  color: #8ce99a;
}
.end-localises .logo {
  color: #ffa8a8;
}
.end-disparaitre .logo {
  color: #ffe066;
}
.wall small {
  color: inherit;
  opacity: 0.75;
}
.log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
.log li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  border-top: 0.5px solid rgba(255, 255, 255, 0.25);
  padding: 5px 0;
}
.log small {
  flex: none;
  width: 52px;
}
.log span {
  flex: 1;
  min-width: 0;
}
.log .up {
  color: #ffa8a8;
}
.log .down {
  color: #8ce99a;
}
.st {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.st th {
  font-weight: 500;
  font-size: 12px;
  opacity: 0.75;
  text-align: right;
  padding: 2px 4px;
}
.st td {
  text-align: right;
  padding: 5px 4px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.25);
}
.st td:first-child {
  text-align: left;
}
.st td small {
  display: block;
}
.st small.infiltre {
  color: #ffa8a8;
  opacity: 1;
}

/* scanner (feuille) et bannière */
#scan {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: end center;
  z-index: 10;
}
.scanbox {
  width: 100%;
  max-width: 430px;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scanbox h2 {
  font: 600 17px var(--font);
  text-align: center;
}
.scanbox > button {
  color: var(--blue);
  font-weight: 600;
}
.cam {
  aspect-ratio: 4/3;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}
.cam video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#codeform {
  flex-direction: column;
  gap: 6px;
}
#codeform label {
  font-size: 13px;
  color: var(--label2);
}
#scanmsg {
  min-height: 1.35em;
  font-weight: 500;
  text-align: center;
}
#scanmsg.ok {
  color: #1d8a3c;
}
#scanmsg.ko {
  color: #d70015;
}
#scanchoice {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#toast {
  position: fixed;
  left: 50%;
  top: calc(64px + env(safe-area-inset-top, 0px));
  transform: translateX(-50%);
  background: rgba(30, 30, 32, 0.92);
  color: #fff;
  padding: 10px 16px;
  border-radius: 18px;
  max-width: min(360px, calc(100% - 32px));
  z-index: 20;
  text-align: center;
  font-size: 15px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---------- bannière de notification ---------- */
.banner {
  position: absolute;
  top: 56px;
  left: 8px;
  right: 8px;
  z-index: 6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  padding: 10px 12px;
  border-radius: 20px;
  min-height: 0;
  background: rgba(30, 30, 34, 0.9);
  color: #fff;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  font-size: 14px;
  animation: drop 0.35s ease-out;
}
.banner .rt small {
  color: #fff;
  opacity: 0.7;
}
.banner.hot {
  background: rgba(125, 12, 18, 0.94);
}
@keyframes drop {
  from {
    transform: translateY(-130%);
  }
  to {
    transform: none;
  }
}

/* ---------- la traque : flash quand le signal monte, halo rouge quand il est haut ---------- */
#app::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  border-radius: inherit;
}
#app[data-sig="3"]::after {
  animation: pulse 2s infinite;
}
#app[data-sig="4"]::after,
#app[data-sig="5"]::after {
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: inset 0 0 30px 2px rgba(255, 59, 48, 0.15);
  }
  50% {
    box-shadow: inset 0 0 70px 12px rgba(255, 59, 48, 0.55);
  }
}
#app.alarm {
  animation: shake 0.5s;
}
#app.alarm::before,
#app.relief::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  border-radius: inherit;
  animation: fade 1s forwards;
}
#app.alarm::before {
  background: rgba(255, 30, 30, 0.55);
}
#app.relief::before {
  background: rgba(52, 199, 89, 0.3);
}
@keyframes fade {
  to {
    opacity: 0;
  }
}
@keyframes shake {
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
}
.threat {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0.85;
}
.threat.hot {
  color: #ff8a80;
  opacity: 1;
  font-weight: 600;
}
.hint {
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}
.pair {
  display: flex;
  gap: 8px;
}
.pair button {
  flex: 1;
  padding: 13px 6px;
}
@media (prefers-reduced-motion: reduce) {
  #app.alarm {
    animation: none;
  }
  #app::after {
    animation: none !important;
  }
  .banner {
    animation: none;
  }
}

/* ---------- une identité par app ---------- */
svg.art {
  width: 100%;
  height: 100%;
  display: block;
}
.count {
  text-align: center;
  color: var(--label2);
  font-size: 13px;
}
.who {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.who .av {
  width: 56px;
  height: 56px;
  font-size: 24px;
}
/* Photos : une grille serrée, sans texte */
.a-photos {
  background: #fff;
}
.pgrid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 0 -16px;
}
.ptile {
  aspect-ratio: 1;
  padding: 0;
  border-radius: 0;
  min-height: 0;
  overflow: hidden;
  display: block;
  background: #ddd;
}
.photo {
  aspect-ratio: 1;
  border-radius: 0;
  margin: 0 -16px;
  overflow: hidden;
  display: block;
  background: #000;
}
/* Notes : papier crème, accents jaunes */
.a-notes {
  background: #fbfaf3;
}
.paper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.paper > small {
  align-self: center;
}
.paper h2 {
  font: 700 26px/1.15 var(--font);
}
.paper > p {
  line-height: 1.5;
}
/* Plans : une carte, des épingles, une feuille qui remonte */
.a-maps {
  padding-left: 0;
  padding-right: 0;
  gap: 0;
  background: #fff;
}
.a-maps > .sb {
  padding: 6px 26px 0;
  background: #ece9dc;
}
.a-maps > .nav {
  margin: 0;
  padding: 0 8px;
  background: #ece9dc;
}
.map {
  position: relative;
  flex: 1;
  min-height: 230px;
  background: linear-gradient(90deg, transparent 46%, #fff 46% 50%, transparent 50%),
    linear-gradient(0deg, transparent 30%, #fff 30% 33%, transparent 33%),
    linear-gradient(0deg, transparent 64%, #fff 64% 66.5%, transparent 66.5%),
    linear-gradient(115deg, transparent 60%, #a5d8ff 60% 70%, transparent 70%),
    radial-gradient(circle at 20% 78%, #b9dba8 0 60px, transparent 61px),
    radial-gradient(circle at 82% 16%, #b9dba8 0 46px, transparent 47px), #ece9dc;
}
.map.low {
  flex: none;
  height: 210px;
}
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 3px solid #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.sheet {
  flex: none;
  background: #fff;
  border-radius: 16px 16px 0 0;
  margin-top: -14px;
  position: relative;
  padding: 8px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.14);
}
.grab {
  align-self: center;
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: #d1d1d6;
}
.sh {
  font-size: 20px;
}
.sheet .group,
.sheet .rowi {
  background: var(--bg);
}
.pinav {
  background: var(--red);
  font-size: 20px;
}
.dt.l {
  text-align: left;
}
.a-maps > .homebar {
  margin: 6px auto 8px;
}
/* Navigateur : des onglets en vignettes, une barre d'adresse */
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tab {
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  min-height: 150px;
  text-align: left;
}
.tabbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  background: #e9e9ee;
}
.tabbar i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  display: grid;
  place-items: center;
}
.tabbody {
  padding: 10px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #000;
}
.tabbody svg {
  color: var(--label2);
  font-size: 18px;
}
.url {
  justify-content: center;
  color: #3a3a3c;
}
.url svg {
  font-size: 13px;
}
.tabs + .url {
  margin-top: auto;
}
.page {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
}
.site {
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  font-size: 15px;
}
.pbody {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pbody h2 {
  font: 700 20px/1.2 var(--font);
}
/* Loop : un fil d'actualité */
.a-social {
  background: #fff;
  gap: 10px;
}
.soc {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wm {
  font: 800 30px/1 var(--font);
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #f76707, #c2255c, #7048e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dm {
  background: none;
  padding: 8px;
  min-height: 44px;
  font-size: 24px;
}
.stories {
  display: flex;
  gap: 16px;
  padding: 4px 2px 10px;
  border-bottom: 0.5px solid var(--sep);
}
.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.story .av {
  width: 56px;
  height: 56px;
  font-size: 22px;
}
.ring {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #e64980;
}
.post {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--sep);
}
.post header {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pimg {
  margin: 0 -16px;
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 24px var(--font);
  background: linear-gradient(135deg, #f76707, #c2255c);
}
.post:last-of-type .pimg {
  background: linear-gradient(135deg, #4263eb, #7048e8);
}
.post footer {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--label2);
  font-size: 13px;
}
.post footer svg {
  color: var(--red);
  font-size: 18px;
}
.post.visit {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px;
  border: 0;
}

/* ---------- écrans centrés (démarrage, fin) : le contenu se place au milieu, pas en haut ---------- */
.scr {
  padding-top: max(10px, env(safe-area-inset-top, 0px));
}
.center {
  gap: 18px;
}
.center > :first-child:not(.sb) {
  margin-top: auto;
}
.center > .sb + * {
  margin-top: auto;
}
.center > .sb {
  margin-bottom: 0;
}
.emblem {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.06),
    0 0 60px rgba(255, 255, 255, 0.25);
}
.logo {
  font-size: 46px;
  letter-spacing: 0.18em;
  margin-right: -0.18em;
}
.tagline {
  font-size: 18px;
  line-height: 1.35;
  opacity: 0.9;
  margin-top: -8px;
}
.center .card {
  gap: 16px;
  padding: 18px;
}
.center .seg button {
  min-height: 42px;
  font-size: 16px;
}
.center > button.primary {
  min-height: 56px;
  font-size: 18px;
  border-radius: 18px;
}

/* ================= contenu de vie : listes, recherche, albums ================= */
.homebar {
  padding: 0;
  min-height: 0;
  border: 0;
  display: block;
}
.ios > .homebar {
  position: sticky;
  bottom: 6px;
  z-index: 4;
  background: #000;
  margin-top: auto;
}
.search {
  flex: none;
  display: flex;
  gap: 6px;
  align-items: center;
  background: #e3e3e8;
  color: var(--label2);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 16px;
}
.a-messages .rowi {
  padding-left: 20px;
}
.unread {
  position: absolute;
  left: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.tm {
  color: var(--label2);
  font-size: 13px;
  align-self: flex-start;
  display: flex;
  gap: 4px;
  white-space: nowrap;
}
.pv {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.composer {
  flex: none;
  margin-top: auto;
  border: 0.5px solid var(--sep);
  border-radius: 18px;
  padding: 8px 14px;
  color: var(--label2);
  background: #fff;
}
.sec {
  font: 700 20px var(--font);
  margin-top: 6px;
}
.albums {
  display: flex;
  gap: 10px;
}
.alb {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: none;
  padding: 0;
  min-height: 0;
  text-align: left;
  font-size: 14px;
  border-radius: 0;
}
.alb > span {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.photo,
.pimg {
  flex: none;
}

/* ================= Loop : réseau social ================= */
.a-social {
  background: #fff;
  gap: 10px;
}
.soc {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: -6px -8px 0;
}
.soc .wm {
  margin-right: auto;
}
.st2 {
  flex: 1;
  text-align: center;
  font-size: 17px;
}
.ib2 {
  background: none;
  padding: 6px;
  min-height: 40px;
  min-width: 40px;
  font-size: 24px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.socr {
  display: flex;
}
.dot2 {
  position: absolute;
  top: 6px;
  right: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
  box-sizing: content-box;
}
.stories {
  flex: none;
  overflow-x: auto;
  gap: 14px;
  margin: 0 -16px;
  padding: 6px 16px 10px;
  scrollbar-width: none;
}
.stories::-webkit-scrollbar {
  display: none;
}
.story {
  flex: none;
  background: none;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  font-size: 11px;
}
.story small {
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #000;
}
.post {
  flex: none;
}
.post header {
  justify-content: space-between;
}
.pl {
  display: flex;
  gap: 10px;
  align-items: center;
  background: none;
  padding: 0;
  min-height: 0;
  text-align: left;
  border-radius: 0;
}
.more {
  font-weight: 700;
  letter-spacing: 1px;
}
.pimg {
  aspect-ratio: 1;
  display: block;
  background: #eee;
  font-size: 0;
}
.ptext {
  font-size: 20px;
  line-height: 1.3;
  padding: 14px 0;
  border-top: 0.5px solid var(--sep);
}
.pact {
  display: flex;
  gap: 14px;
  font-size: 25px;
  align-items: center;
}
.pact i {
  flex: 1;
}
.likes {
  font-weight: 600;
}
.post p {
  font-size: 14px;
}
.post small {
  font-size: 14px;
}
.cta {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}
.ltabs,
.gtabs {
  flex: none;
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: space-around;
  margin: auto -16px -8px;
  padding: 4px 0 22px;
  background: #fff;
  border-top: 0.5px solid var(--sep);
}
.ltabs + .homebar,
.gtabs + .homebar {
  margin-top: -18px;
}
.ltabs button {
  background: none;
  font-size: 26px;
  min-height: 44px;
  padding: 8px 18px;
  color: #000;
  opacity: 0.4;
}
.ltabs .on {
  opacity: 1;
}
.prof {
  display: flex;
  align-items: center;
  gap: 20px;
}
.av.xl {
  width: 84px;
  height: 84px;
  font-size: 34px;
}
.pstats {
  flex: 1;
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-size: 12px;
}
.pstats b {
  display: block;
  font-size: 17px;
}
.pbio {
  font-size: 14px;
}
.pbtn {
  display: flex;
  gap: 6px;
}
.pbtn > * {
  flex: 1;
  text-align: center;
  background: #efefef;
  border-radius: 8px;
  padding: 7px;
  font-size: 14px;
  font-weight: 600;
  min-height: 0;
}
.group.flat {
  border-radius: 0;
  margin: 0 -16px;
  background: none;
}
.group.flat .rowi {
  background: none;
}
.group.flat .rowi + .rowi::before {
  display: none;
}
.warnav {
  background: var(--red);
  font-size: 20px;
}
b.sec {
  font-size: 16px;
}

/* ================= Plans : carte façon appli de cartographie ================= */
.a-maps {
  padding: 0;
  gap: 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}
.a-maps > .sb {
  padding: max(10px, env(safe-area-inset-top, 0px)) 26px 6px;
  height: auto;
  background: #fff;
  position: relative;
  z-index: 4;
}
.a-maps > .homebar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}
.gmap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: none;
  background: #f1f3f4;
  touch-action: pan-x pan-y;
  cursor: grab;
}
.gmap::-webkit-scrollbar {
  display: none;
}
.gworld {
  position: relative;
}
.gsvg {
  display: block;
  width: auto;
  height: auto;
}
.gme {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -11px;
  border-radius: 50%;
  background: #4285f4;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 12px rgba(66, 133, 244, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.4);
}
.poi {
  position: absolute;
  transform: translate(-11px, -11px);
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--c, #5f6368);
  text-shadow:
    0 0 2px #fff,
    0 0 2px #fff,
    0 0 3px #fff,
    0 0 3px #fff;
  white-space: nowrap;
}
.poi i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c, #5f6368);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.poi.k-food {
  --c: #e8710a;
}
.poi.k-shop {
  --c: #4285f4;
}
.poi.k-fun {
  --c: #12a4af;
}
.poi.k-hotel {
  --c: #e83e8c;
}
.poi.k-transit {
  --c: #4285f4;
}
.poi.k-saved {
  --c: #f29900;
}
.poi.k-work {
  --c: #5f6368;
}
.poi.sel {
  z-index: 2;
  color: #d93025;
}
.poi.sel i {
  width: 34px;
  height: 34px;
  margin: -6px;
  background: #ea4335;
  font-size: 18px;
  border: 2px solid #fff;
}
.gtop {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
  pointer-events: none;
}
.gtop > * {
  pointer-events: auto;
}
.gsearch {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  padding: 0 8px 0 4px;
  font-size: 16px;
  color: #5f6368;
}
.gsearch > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gback {
  background: none;
  min-height: 40px;
  padding: 8px;
  font-size: 22px;
  color: #5f6368;
}
.gav {
  width: 32px;
  height: 32px;
  font-size: 15px;
  background: #7048e8;
}
.gchips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -12px;
  padding: 0 12px 4px;
}
.gchips::-webkit-scrollbar {
  display: none;
}
.gchips span {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  font-weight: 500;
  color: #3c4043;
}
.gfab {
  position: absolute;
  right: 12px;
  bottom: 96px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gfab span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #5f6368;
}
.gfab .b {
  color: #1a73e8;
}
.gtabs {
  position: relative;
  margin: 0;
  padding: 6px 0 24px;
}
.gtabs button {
  background: none;
  min-height: 0;
  padding: 4px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 500;
  color: #5f6368;
  border-radius: 0;
}
.gtabs button svg {
  font-size: 22px;
  width: 56px;
  height: 28px;
  padding: 3px 0;
  border-radius: 14px;
}
.gtabs .on {
  color: #1a73e8;
}
.gtabs .on svg {
  background: #d3e3fd;
}
.gsheet {
  position: relative;
  z-index: 3;
  flex: none;
  background: #fff;
  border-radius: 18px 18px 0 0;
  margin-top: -18px;
  padding: 8px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}
.gsheet h2 {
  font: 500 22px/1.2 var(--font);
}
.rate {
  font-size: 14px;
  color: #70757a;
}
.rate span {
  color: #fbbc04;
  letter-spacing: 1px;
}
.gtype {
  font-size: 14px;
  color: #70757a;
}
.open {
  color: #188038;
}
.closed {
  color: #d93025;
}
.gacts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gacts::-webkit-scrollbar {
  display: none;
}
.gacts span {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid #dadce0;
  color: #1a73e8;
  font-size: 14px;
  font-weight: 500;
}
.gacts .f {
  background: #1a73e8;
  border-color: #1a73e8;
  color: #fff;
}
.grow {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  padding-top: 8px;
  border-top: 1px solid #e8eaed;
}
.grow svg {
  font-size: 20px;
  color: #1a73e8;
  margin-top: 1px;
}
.gpage {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}
.gpage .group,
.gpage .rowi {
  background: var(--bg);
}
.gi {
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 20px;
}
.gi.k-saved {
  background: #fef7e0;
  color: #f29900;
}
.gi.k-work {
  background: #e8eaed;
  color: #5f6368;
}
.logo {
  line-height: 1.05;
}

/* ---------- icônes de jeu (game-icons.net) ---------- */
.sq svg.gic {
  width: 66%;
  height: 66%;
}
.emblem svg.gic {
  width: 62%;
  height: 62%;
}
.seti {
  background: #8e8e93;
  border-radius: 9px;
  width: 34px;
  height: 34px;
  font-size: 22px;
}
.set.good .seti {
  background: var(--green);
}
.set.bad .seti {
  background: var(--orange);
}
.set + .set::before {
  left: 60px;
}
.biglock svg.gic {
  width: 56%;
  height: 56%;
}
.end-exposer .emblem,
.end-localises .emblem,
.end-disparaitre .emblem {
  margin-top: auto;
}
.center > .emblem + .sub {
  margin-top: 0;
}

/* ================= Navigateur : un vrai navigateur ================= */
.a-navigateur {
  gap: 12px;
}
.favs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 6px;
}
.favb {
  background: none;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.fav {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.favb .fav {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  font-size: 26px;
}
.favb small {
  color: #000;
}
.tabbar .fav {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font-size: 11px;
}
.btool {
  flex: none;
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto -16px -8px;
  padding: 6px 18px 24px;
  background: rgba(249, 249, 249, 0.96);
  border-top: 0.5px solid var(--sep);
  color: var(--blue);
  font-size: 24px;
}
.btool button {
  background: none;
  padding: 6px;
  min-height: 40px;
  color: var(--blue);
  display: grid;
  place-items: center;
}
.btool .off {
  opacity: 0.3;
}
.btool + .homebar {
  margin-top: -18px;
}
.tcount {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  font-size: 13px;
}
.page {
  font-size: 15px;
}
.s-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid #e8eaed;
}
.s-logo {
  font: 800 26px var(--font);
  letter-spacing: -0.03em;
}
.s-q {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dadce0;
  border-radius: 22px;
  padding: 9px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.s-q svg {
  color: var(--label2);
}
.s-n {
  display: block;
  padding: 8px 14px 0;
}
.s-r {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  width: 100%;
  background: none;
  border-radius: 0;
  padding: 12px 14px;
  min-height: 0;
  border-bottom: 1px solid #f1f3f4;
  font-size: 14px;
}
.s-r small {
  color: #188038;
  font-size: 12px;
}
.s-r b {
  color: #1a0dab;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.25;
}
.s-r span {
  color: #4d5156;
}
div.s-r b {
  color: #681da8;
}
.kick {
  color: #c8323a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}
.k-news h2 {
  font:
    700 24px/1.2 Georgia,
    "Times New Roman",
    serif;
}
.k-news p {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}
.nimg {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 6px;
}
.k-recipe .nimg {
  border-radius: 0;
}
.dh2 {
  border-top: 2px solid #000;
  padding-top: 8px;
  margin-top: 6px;
}
.lnk {
  color: #1a0dab;
  text-decoration: underline;
  font-family: var(--font) !important;
}
.warnbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #fff4e5;
  border: 1px solid #ffa94d;
  border-radius: 8px;
  padding: 10px;
  color: #874100;
  font-size: 14px;
}
.warnbox svg {
  font-size: 18px;
  margin-top: 1px;
}
.filerow {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 12px;
}
.filerow svg {
  font-size: 26px;
  color: #5f3dc4;
}
.filerow span {
  display: flex;
  flex-direction: column;
}
.tk {
  border: 1.5px dashed #2f9e44;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f4fbf5;
}
.tk > b {
  font-size: 19px;
}
.tkr {
  display: flex;
  gap: 22px;
}
.tkr span {
  display: flex;
  flex-direction: column;
  font: 700 20px var(--font);
}
.tkr small {
  font-weight: 400;
}
.wx {
  color: #fff;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.wx b {
  font: 200 72px/1 var(--font);
}
.wx small {
  color: #fff;
  opacity: 0.85;
}
.wxr {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f3f4;
}
.wxr span {
  flex: 1;
  color: var(--label2);
}
.fp {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f1f3f4;
}
.fp .av {
  width: 32px;
  height: 32px;
  font-size: 14px;
  background: #862e9c;
}
.fp .rt b {
  font-size: 13px;
  color: #862e9c;
}

/* ================= le jeu : habillage d'espionnage ================= */
:root {
  --type: "Special Elite", "Courier New", monospace;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --paper: #e9dfc3;
  --inkp: #1d1a16;
  --stampr: #b3261e;
}
.spy {
  color: var(--paper);
  gap: 14px;
  background-color: #0d1012;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 28%, #1d2b25 0, #0d1012 72%);
  background-size:
    24px 24px,
    24px 24px,
    100% 100%;
  padding-top: 34px;
  padding-bottom: 20px;
}
.dossier {
  position: relative;
  flex: none;
  align-self: stretch;
  background-color: var(--paper);
  color: var(--inkp);
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  font-family: var(--type);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.65);
  transform: rotate(-0.7deg);
  border-radius: 2px 8px 3px 3px;
  background-image: linear-gradient(transparent calc(100% - 1px), rgba(0, 0, 0, 0.07) 1px);
  background-size: 100% 26px;
}
.dossier::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 128px;
  height: 16px;
  background: #d6c9a3;
  border-radius: 7px 7px 0 0;
}
.stamp {
  position: absolute;
  top: 20px;
  right: 8px;
  transform: rotate(11deg);
  border: 3px double var(--stampr);
  color: var(--stampr);
  padding: 3px 9px 1px;
  font: 700 13px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  border-radius: 4px;
  z-index: 1;
}
.end-exposer .stamp {
  border-color: #1b7a3d;
  color: #1b7a3d;
}
.end-disparaitre .stamp {
  border-color: #9a6700;
  color: #9a6700;
}
.ref {
  align-self: flex-start;
  font: 500 11px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  max-width: 62%;
  text-align: left;
}
.dossier .emblem {
  width: 84px;
  height: 84px;
  font-size: 42px;
  border: 2px solid var(--inkp);
  background: none;
  box-shadow: none;
  margin-top: 0;
}
.dossier .logo {
  font-family: var(--type);
  font-weight: 400;
  font-size: 40px;
  letter-spacing: 0.08em;
  margin-right: 0;
  color: var(--inkp) !important;
}
.dossier .tagline {
  font-size: 16px;
  margin-top: -6px;
}
.dossier .field {
  align-self: stretch;
}
.dossier .field > span {
  font: 500 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}
.dossier .seg {
  background: none;
  border: 1.5px solid var(--inkp);
  border-radius: 3px;
  padding: 0;
  gap: 0;
}
.dossier .seg button {
  color: var(--inkp);
  border-radius: 0;
  font: 500 15px var(--mono);
  min-height: 42px;
}
.dossier .seg button + button {
  border-left: 1.5px solid var(--inkp);
}
.dossier .seg button.on {
  background: var(--inkp);
  color: var(--paper);
}
.dossier button.primary {
  align-self: stretch;
  background: var(--inkp);
  color: var(--paper);
  border-radius: 3px;
  font: 700 15px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 54px;
}
.dossier button.ghost {
  align-self: stretch;
  background: none;
  border: 1.5px dashed var(--inkp);
  color: var(--inkp);
  border-radius: 3px;
  font: 500 14px var(--mono);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.spy > .fine {
  font: 500 10.5px/1.5 var(--mono);
  opacity: 0.55;
}
.dh {
  align-self: stretch;
  text-align: left;
  font: 700 12px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--inkp);
  padding-bottom: 3px;
  margin-top: 4px;
}
.dossier .log,
.dossier .st {
  align-self: stretch;
  font: 500 12px/1.4 var(--mono);
  text-align: left;
}
.dossier .log li,
.dossier .st td {
  border-color: rgba(0, 0, 0, 0.22);
}
.dossier .log .up {
  color: var(--stampr);
}
.dossier .log .down {
  color: #1b7a3d;
}
.dossier small {
  color: var(--inkp);
  opacity: 0.7;
}
.dossier .st small.infiltre {
  color: var(--stampr);
  opacity: 1;
}
.dossier .fine {
  font-family: var(--type);
  opacity: 0.8;
  font-size: 14px;
}
/* jauge de traque */
.trace {
  display: flex;
  align-items: center;
  gap: 4px;
  font: 700 10.5px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.trace span {
  margin-right: 4px;
}
.trace i {
  width: 18px;
  height: 9px;
  border: 1px solid currentColor;
  opacity: 0.45;
}
.trace i.on {
  background: #ff453a;
  border-color: #ff453a;
  opacity: 1;
}
.trace b {
  margin-left: 4px;
}
.intel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
}
.intel .threat {
  font: 500 13px var(--mono);
  opacity: 0.9;
}
.intel.hot {
  border-color: #ff453a;
  color: #ffb4ae;
}
.widgets {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.widgets .widget {
  flex: 1;
  width: auto;
  aspect-ratio: auto;
  height: 152px;
  max-height: none;
  margin: 0;
  gap: 4px;
}
.widget > small:first-child {
  font: 700 10.5px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}
.radar {
  font-size: 38px;
  line-height: 1;
  animation: sweep 4s linear infinite;
  align-self: flex-start;
  display: grid;
  width: 38px;
  height: 38px;
}
@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}
.tl {
  font-size: 11.5px !important;
  line-height: 1.25 !important;
  opacity: 0.9;
}
.w-trace.hot {
  background: rgba(255, 69, 58, 0.32);
  border-color: rgba(255, 120, 110, 0.7);
}
.banner .rt small {
  font: 700 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
#toast {
  font: 500 13px var(--mono);
}
/* viseur de scan */
.scanbox h2 {
  font: 700 13px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cam {
  position: relative;
}
.cam::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  pointer-events: none;
  --c: #39ff88;
  background:
    linear-gradient(var(--c), var(--c)) 0 0/26px 3px,
    linear-gradient(var(--c), var(--c)) 0 0/3px 26px,
    linear-gradient(var(--c), var(--c)) 100% 0/26px 3px,
    linear-gradient(var(--c), var(--c)) 100% 0/3px 26px,
    linear-gradient(var(--c), var(--c)) 0 100%/26px 3px,
    linear-gradient(var(--c), var(--c)) 0 100%/3px 26px,
    linear-gradient(var(--c), var(--c)) 100% 100%/26px 3px,
    linear-gradient(var(--c), var(--c)) 100% 100%/3px 26px;
  background-repeat: no-repeat;
}
.cam::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 2px;
  z-index: 1;
  background: #39ff88;
  box-shadow: 0 0 12px #39ff88;
  animation: scanl 2.2s ease-in-out infinite alternate;
}
@keyframes scanl {
  to {
    top: calc(100% - 16px);
  }
}
#codeform label {
  font: 700 10.5px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .radar,
  .cam::after {
    animation: none;
  }
}

/* retouches après vérification à l'écran */
.widgets .widget {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}
.widget > b {
  white-space: nowrap;
  font-size: 34px;
}
.widget .trace {
  flex-wrap: nowrap;
}
.widget .trace b {
  font: 700 10.5px var(--mono);
  margin-left: 2px;
}
.widget .trace span {
  display: none;
}
.widget .trace i {
  flex: 1;
  width: auto;
}
.btool {
  background: #f9f9f9;
}
.scanbox {
  background: #101416;
  color: var(--paper);
}
.scanbox input {
  background: #1b2226;
  color: var(--paper);
  border-color: #39ff88;
  font-family: var(--mono);
  letter-spacing: 0.3em;
}
.scanbox button.primary {
  background: #39ff88;
  color: #06140b;
  font: 700 14px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
}
.scanbox > button,
#scanchoice button {
  background: none;
  border: 1px solid rgba(233, 223, 195, 0.4);
  color: var(--paper);
  font: 500 14px var(--mono);
  border-radius: 8px;
}
#codeform label {
  color: var(--paper);
  opacity: 0.7;
}
#scanmsg {
  font-family: var(--mono);
  font-size: 14px;
}
#scanmsg.ok {
  color: #39ff88;
}
#scanmsg.ko {
  color: #ff8a80;
}
.hintc {
  display: flex;
  gap: 8px;
  align-items: center;
  align-self: stretch;
  text-align: left;
  background: #fff8e1;
  border: 1px dashed #b8860b;
  border-radius: 10px;
  padding: 8px 10px;
  font: 500 13px var(--mono);
  color: #5c4300;
}
.hintc svg {
  flex: none;
  width: 20px;
  height: 20px;
}

/* ---------- écran verrouillé : barre d'icônes ---------- */
.lockbar {
  flex: none;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 6px 4px;
}
.lb {
  width: 86px;
  background: none;
  padding: 0;
  min-height: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #fff;
}
.lb > span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.2);
  border: 0.5px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.lb > span svg.gic {
  width: 58%;
  height: 58%;
}
.lb small {
  color: #fff;
  opacity: 0.9;
  font-size: 12px;
}
.lb.main > span {
  width: 88px;
  height: 88px;
  background: #fff;
  color: #000;
  border: 0;
  box-shadow:
    0 0 0 9px rgba(255, 255, 255, 0.16),
    0 10px 34px rgba(0, 0, 0, 0.45);
  animation: breathe 2.4s ease-in-out infinite;
}
.lb.main small {
  font-size: 15px;
  font-weight: 600;
  opacity: 1;
}
.lb:active > span {
  transform: scale(0.94);
}
@keyframes breathe {
  50% {
    box-shadow:
      0 0 0 16px rgba(255, 255, 255, 0.07),
      0 10px 34px rgba(0, 0, 0, 0.45);
  }
}
.lockbar + .homebar {
  margin-top: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .lb.main > span {
    animation: none;
  }
}

/* ---------- écran verrouillé allégé, heure en gras, fond d'écran propre à chaque partie ---------- */
.wall {
  background: radial-gradient(120% 70% at var(--x1, 15%) var(--y1, 8%), var(--wa, #4263eb) 0, transparent 60%),
    radial-gradient(90% 60% at var(--x2, 95%) var(--y2, 30%), var(--wb, #c2255c) 0, transparent 55%),
    radial-gradient(120% 80% at var(--x3, 50%) 105%, var(--wc, #f08c00) 0, transparent 60%), var(--w0, #0b1026);
}
.clock {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.strip {
  display: flex;
  align-items: stretch;
  padding: 12px 4px;
  border-radius: 22px;
}
.chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px;
}
.chip + .chip {
  border-left: 0.5px solid rgba(255, 255, 255, 0.3);
}
.chip.grow {
  flex: 1;
}
.chip small {
  font: 700 10px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.8;
}
.chip b {
  font: 700 20px/1 var(--font);
}
.chip .pips {
  font-size: 19px;
  gap: 3px;
}
.segs {
  display: flex;
  gap: 4px;
  align-self: stretch;
  align-items: center;
  height: 20px;
}
.segs i {
  flex: 1;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
}
.segs i.on {
  background: #ff453a;
  box-shadow: 0 0 8px #ff453a;
}
.strip.hot {
  background: rgba(255, 69, 58, 0.3);
  border-color: rgba(255, 120, 110, 0.7);
}
.threat1 {
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  text-wrap: balance;
}
.wall > .hint {
  margin-top: auto;
  font-size: 13px;
}
.hint + .lockbar {
  margin-top: 6px;
}

/* ---------- à qui le tour, et saisie du prénom ---------- */
.who2 {
  text-align: center;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: -4px;
}
.who2 b {
  font-weight: 700;
}
.who2 small {
  color: #fff;
  opacity: 0.75;
  font-size: 13px;
}
#nameform {
  flex-direction: column;
  gap: 6px;
}
#nameform label {
  font: 700 10.5px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.7;
}
#scan:not(.naming) #nameform,
#scan.naming .cam,
#scan.naming #codeform {
  display: none;
}
.scanbox #pname {
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ---------- demande d'autorisation (alerte système) ---------- */
.veil {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fadein 0.15s;
}
.alert {
  width: 100%;
  max-width: 280px;
  background: rgba(245, 245, 247, 0.97);
  color: #000;
  border-radius: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  animation: pop 0.18s ease-out;
}
.alert > b {
  font-size: 17px;
  line-height: 1.25;
  padding: 18px 16px 0;
}
.alert > small {
  padding: 2px 16px 0;
  color: var(--label2);
}
.alert > p {
  font-size: 13px;
  line-height: 1.3;
  padding: 4px 16px 18px;
}
.alert.sms > b {
  text-align: left;
}
.alert.sms > small,
.alert.sms > p {
  text-align: left;
}
.alert.sms > p {
  font-size: 15px;
}
.abtn {
  display: flex;
  border-top: 0.5px solid var(--sep);
}
.abtn button {
  flex: 1;
  background: none;
  border-radius: 0;
  color: var(--blue);
  font-size: 17px;
  min-height: 44px;
  padding: 10px 4px;
}
.abtn button + button {
  border-left: 0.5px solid var(--sep);
}
.abtn .strong {
  font-weight: 600;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
}
@keyframes pop {
  from {
    transform: scale(1.12);
    opacity: 0;
  }
}

/* ---------- débrief : ce qui a exposé l'équipe ---------- */
.cause {
  align-self: stretch;
  display: flex;
  gap: 10px;
  text-align: left;
  align-items: flex-start;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
}
.cause > b {
  flex: none;
  font: 700 20px var(--mono);
  color: var(--stampr);
  min-width: 36px;
}
.cause div b {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.cause p {
  font-size: 14px;
  line-height: 1.3;
}
.cause .todo {
  font-family: var(--mono);
  font-size: 11.5px;
  margin-top: 3px;
}
.cause .todo::before {
  content: "→ ";
}
.jr {
  align-self: stretch;
  text-align: left;
}
.jr summary {
  font: 700 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 0;
}
@media (prefers-reduced-motion: reduce) {
  .veil,
  .alert {
    animation: none;
  }
}

/* ---------- transitions d'écran (data-nav est posé par render, uniquement quand l'écran change) ---------- */
#app[data-nav] .scr {
  animation: 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
#app[data-nav="open"] .scr {
  animation-name: n-open;
}
#app[data-nav="home"] .scr {
  animation-name: n-home;
}
#app[data-nav="push"] .scr {
  animation-name: n-push;
}
#app[data-nav="pop"] .scr {
  animation-name: n-pop;
}
#app[data-nav="tab"] .scr {
  animation-name: n-tab;
  animation-duration: 0.18s;
}
#app[data-nav="lock"] .scr {
  animation-name: n-lock;
  animation-duration: 0.42s;
}
#app[data-nav="setup"] .scr,
#app[data-nav="end"] .scr {
  animation-name: n-tab;
  animation-duration: 0.5s;
}
#app[data-nav="home"] .appi {
  animation: n-icon 0.4s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
#app[data-nav="home"] .appi:nth-child(2n) {
  animation-delay: 0.04s;
}
#app[data-nav="home"] .appi:nth-child(3n) {
  animation-delay: 0.08s;
}
#app[data-nav="end"] .stamp {
  animation: n-stamp 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) 0.45s both;
}
@keyframes n-open {
  from {
    transform: scale(0.82);
    opacity: 0;
    border-radius: 44px;
  }
}
@keyframes n-home {
  from {
    transform: scale(1.07);
    opacity: 0.3;
  }
}
@keyframes n-push {
  from {
    transform: translateX(38%);
    opacity: 0;
  }
}
@keyframes n-pop {
  from {
    transform: translateX(-30%);
    opacity: 0;
  }
}
@keyframes n-tab {
  from {
    opacity: 0.25;
  }
}
@keyframes n-lock {
  from {
    transform: translateY(-100%);
  }
}
@keyframes n-icon {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}
@keyframes n-stamp {
  from {
    transform: scale(2.4) rotate(-18deg);
    opacity: 0;
  }
}
.appi,
.lb,
.abtn {
  transition: transform 0.12s ease-out;
}
.appi:active,
.lb:active {
  transform: scale(0.9);
}
.abtn:active {
  transform: scale(0.97);
}
@media (prefers-reduced-motion: reduce) {
  #app[data-nav] .scr,
  #app[data-nav] .appi,
  #app[data-nav] .stamp {
    animation: none;
  }
}

/* ---------- applications en aplats : aucun dégradé sur les icônes ni dans les apps ---------- */
.sq {
  background: var(--g, #2c2c2e);
}
.k-messages {
  --g: #30d158;
}
.k-photos {
  --g: #ff9f0a;
}
.k-notes {
  --g: #ffd60a;
}
.k-maps {
  --g: #12a594;
}
.k-navigateur {
  --g: #0a84ff;
}
.k-social {
  --g: #e64980;
}
.k-reglages {
  --g: #8e8e93;
}
.k-scan,
.k-fin {
  --g: #2c2c2e;
}
.k-notif {
  --g: #ff453a;
}
/* blanc sur jaune/orange ≈ 1.4:1 et 2.1:1 : pictogramme sombre (≈ 12:1 et 8:1) */
.sq.k-notes,
.sq.k-photos {
  color: #1c1c1e;
}
.av {
  background: #9a9fab;
}
.p0 {
  --g: #4c8dea;
}
.p1 {
  --g: #f08c3c;
}
.p2 {
  --g: #5c636a;
}
.p3 {
  --g: #343a40;
}
.wm {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #e64980;
}
.pimg {
  background: #e8590c;
}
.post:last-of-type .pimg {
  background: #5f3dc4;
}

/* dernier dossier : à la révélation, le monde perd ses couleurs */
.scr.grey .dossier {
  animation: togrey 4s 1s ease-in both;
}
@keyframes togrey {
  to {
    filter: grayscale(1) contrast(1.1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scr.grey .dossier {
    animation: none;
    filter: grayscale(1);
  }
}

/* ---------- exposition par joueur sur l'écran verrouillé ---------- */
.exps {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  justify-content: center;
  align-self: stretch;
}
.exp {
  display: flex;
  align-items: center;
  gap: 3px;
  font: 600 11px var(--font);
  opacity: 0.75;
}
.exp em {
  font-style: normal;
  margin-right: 2px;
  max-width: 52px;
  overflow: hidden;
  white-space: nowrap;
}
.exp i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.exp i.on {
  background: #ff453a;
  box-shadow: 0 0 6px #ff453a;
}
.exp.cur {
  opacity: 1;
}
.exp.cur em {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.exp.out em {
  text-decoration: line-through;
  opacity: 0.7;
}
.group .pips {
  display: flex;
  gap: 3px;
  font-size: 13px;
  color: #d1d1d6;
  align-self: center;
}
.group .pips i {
  font-style: normal;
}
.group .pips i.on {
  color: #ff3b30;
}

/* ---------- glitchs : une Notification scannée dérègle l'écran pendant la fouille ---------- */
#app[data-glitch~="flip"] .scr {
  transform: rotate(180deg);
}
#app[data-glitch~="tiny"] .scr {
  transform: scale(0.6);
}
#app[data-glitch~="tiny"][data-glitch~="flip"] .scr {
  transform: rotate(180deg) scale(0.6);
}
#app[data-glitch~="mono"] .scr {
  filter: grayscale(1) contrast(1.1);
}
#app[data-glitch~="dim"] .scr {
  filter: brightness(0.25);
}
#app[data-glitch~="dim"][data-glitch~="mono"] .scr {
  filter: grayscale(1) brightness(0.25);
}
#app[data-glitch~="static"] .scr {
  text-shadow:
    2px 0 rgba(255, 0, 80, 0.75),
    -2px 0 rgba(0, 220, 255, 0.75);
}
#app[data-glitch~="static"] .scr > *:not(.banner) {
  animation: flick 1.4s steps(1) infinite;
}
@keyframes flick {
  0%,
  100% {
    opacity: 1;
    transform: none;
  }
  7% {
    opacity: 0.3;
    transform: translateX(4px);
  }
  11% {
    opacity: 1;
    transform: none;
  }
  52% {
    opacity: 0.55;
    transform: translateX(-3px);
  }
  56% {
    opacity: 1;
    transform: none;
  }
}
#app[data-glitch~="mute"] .sb .time::after {
  content: " · LISTENING";
  color: #ff453a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
@media (prefers-reduced-motion: reduce) {
  #app[data-glitch~="static"] .scr > * {
    animation: none;
  }
}

/* choix du dossier : les dossiers de l'add-on en liste */
.seg.col {
  display: grid;
  grid-template-columns: 1fr;
}
.dossier .seg.col button + button {
  border-left: 0;
  border-top: 1.5px solid var(--inkp);
}
