/* Universal Jailbreak League.
   One black sheet, wired: hairline cells with cut corners, a magenta trace with dot terminals,
   gold for data and for the one thing you press. Read off his HUD poster, built flat. */

@font-face { font-family: "Chakra"; src: url("/fonts/chakrapetch-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Oxan"; src: url("/fonts/oxanium-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oxan"; src: url("/fonts/oxanium-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Martian"; src: url("/fonts/martianmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Martian"; src: url("/fonts/martianmono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #05030a;
  --ink-2: #0b0510;
  --pink: #ec3fb0;
  --pink-soft: #f78ed3;
  --pink-line: rgba(236, 63, 176, 0.55);
  --pink-dim: rgba(236, 63, 176, 0.22);
  --gold: #f3c50b;
  --gold-soft: #f8dd6a;
  --paper: #efe4f2;
  --mute: #b89cc4;
  --notch: 16px;
  --display: "Chakra", system-ui, sans-serif;
  --body: "Oxan", system-ui, sans-serif;
  --mono: "Martian", ui-monospace, monospace;
  --gap: 20px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: #0a0410; }

a { color: var(--pink-soft); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --- the living field ----------------------------------------------------- */
/* The haze comes in from the corners, the way the poster prints it, and the middle of the band stays
   black: the wordmark and the supply line must never sit on smoke. */
.smoke {
  position: fixed;
  left: 0;
  width: 100%;
  height: 30vh;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
  filter: blur(3px);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 40%, transparent), linear-gradient(to right, #000, transparent 34%, transparent 66%, #000);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent), linear-gradient(to right, #000, transparent 34%, transparent 66%, #000);
}
.smoke-top { top: 0; background-image: url("/img/haze-top.webp"); animation: drift-a 34s ease-in-out infinite alternate; }
.smoke-bottom {
  bottom: 0;
  background-image: url("/img/haze-bottom.webp");
  mask-image: linear-gradient(to top, #000 40%, transparent), linear-gradient(to right, #000, transparent 34%, transparent 66%, #000);
  -webkit-mask-image: linear-gradient(to top, #000 40%, transparent), linear-gradient(to right, #000, transparent 34%, transparent 66%, #000);
  animation: drift-b 44s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate3d(-2%, -2%, 0) scale(1.04); } to { transform: translate3d(3%, 2%, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(2%, 2%, 0) scale(1.08); } to { transform: translate3d(-3%, -1%, 0) scale(1.02); } }

.sheet {
  position: relative;
  z-index: 1;
  max-width: 1720px;
  margin: 0 auto;
  padding: 48px 48px 96px;
}

/* --- masthead ------------------------------------------------------------- */
.masthead { margin-bottom: 18px; }
.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.82vw, 104px);
  line-height: 1.02;
  letter-spacing: 0.055em;
  color: var(--pink);
  white-space: nowrap;
}
.rail { position: relative; height: 18px; }
.rail::before { content: ""; position: absolute; left: 0; right: 26px; top: 8px; height: 1px; background: var(--pink-line); }
.rail .dot {
  position: absolute; right: 0; top: 1px; width: 15px; height: 15px; border-radius: 50%; background: var(--pink);
  animation: terminal 3.2s ease-in-out infinite;
}
@keyframes terminal { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 63, 176, 0.55); } 50% { box-shadow: 0 0 0 9px rgba(236, 63, 176, 0); } }
.masthead-under { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; margin-top: 18px; }
.standfirst { margin: 0; max-width: 62ch; color: var(--mute); font-size: 18px; }
.chip-season { flex: none; }

/* --- the trace with nodes (navigation) ------------------------------------ */
.trace { position: relative; margin: 30px 0 40px; }
.nodes { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; list-style: none; }
.nodes li { display: flex; align-items: center; }
.nodes li::after { content: ""; width: 30px; height: 1px; margin: 0 14px; background: var(--pink-line); }
.nodes li:last-child::after { width: auto; flex: 1 1 60px; margin-right: 0; }
.nodes a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nodes a i { width: 13px; height: 13px; border: 1px solid var(--pink); border-radius: 50%; background: var(--ink); }
.nodes a:hover { color: var(--pink-soft); }
.nodes a[aria-current="page"] { color: var(--gold); }
.nodes a[aria-current="page"] i { background: var(--gold); border-color: var(--gold); }

/* --- shared parts --------------------------------------------------------- */
.cell, .console, .supply, .ticket, .verdict, .case, .patch, .feed-item, .mine-row, .league-row, .uni-card {
  position: relative;
  background: var(--ink);
}
.cell::before, .console::before, .supply::before, .ticket::before, .verdict::before,
.case::before, .patch::before, .feed-item::before, .mine-row::before, .league-row::before, .uni-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pink-line);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  z-index: 0;
}
.cell::after, .console::after, .supply::after, .ticket::after, .verdict::after,
.case::after, .patch::after, .feed-item::after, .mine-row::after, .league-row::after, .uni-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--ink);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  z-index: 0;
}
.cell > *, .console > *, .supply > *, .ticket > *, .verdict > *,
.case > *, .patch > *, .feed-item > *, .mine-row > *, .league-row > *, .uni-card > * { position: relative; z-index: 1; }

.title { margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-size: 36px; letter-spacing: 0.03em; color: var(--paper); }
.display-2 { margin: 0 0 16px; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.4vw, 68px); letter-spacing: 0.04em; color: var(--pink); }
.label { font-family: var(--mono); font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mute); }
.mono { font-family: var(--mono); font-size: 17px; letter-spacing: 0.01em; }
.gold { color: var(--gold); }
.body { margin: 0 0 18px; max-width: 70ch; color: var(--paper); }
.small { font-size: 16px; color: var(--mute); }
.big { font-size: 40px; font-weight: 700; }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 24px;
  border: 1px solid var(--pink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink-soft);
  white-space: nowrap;
}
.chip-gold { border-color: var(--gold); color: var(--gold); }
.chip-open { border-color: var(--pink); color: var(--pink-soft); }
.chip-breach { background: var(--gold); border-color: var(--gold); color: #120a02; }

.plate {
  display: block;
  width: 100%;
  min-height: 60px;
  padding: 16px 30px;
  border: 0;
  background: var(--gold);
  color: #140b01;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.plate:hover { background: var(--gold-soft); }
.plate:active { transform: translateY(1px); }
.plate[disabled] { background: #4a3c10; color: #a89468; cursor: not-allowed; }

.ghost {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid var(--pink-line);
  background: transparent;
  color: var(--pink-soft);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.ghost:hover { border-color: var(--pink); color: var(--paper); }
.ghost.small { width: auto; min-height: 48px; padding: 12px 24px; }

/* --- the five ------------------------------------------------------------- */
.five {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
  margin-bottom: var(--gap);
}
.cell { display: flex; flex-direction: column; gap: 14px; padding: 32px; min-width: 0; }
.cell-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cell-lab { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.04em; color: var(--paper); }
.cell-door { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #0a0410; }
.cell-door img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cell-door .patchmarks { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; }
.cell-door .patchmarks i { width: 18px; height: 18px; background: url("/img/plus.png") center/contain no-repeat; }
.cell-rows { display: flex; flex-direction: column; gap: 10px; }
.cell-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cell-row dt, .cell-row .k { font-family: var(--mono); font-size: 16px; color: var(--mute); }
.cell-row .v { font-family: var(--mono); font-size: 17px; color: var(--paper); }
.cell-balance { font-family: var(--mono); font-weight: 700; font-size: 30px; line-height: 1.2; color: var(--gold); }
.cell-balance.waiting, .waiting { font-size: 20px; font-weight: 400; color: var(--mute); }
.cell-model { font-family: var(--mono); font-size: 16px; line-height: 1.5; min-height: 3em; color: var(--mute); overflow-wrap: anywhere; }
.barstrip { height: 26px; border-bottom: 1px solid var(--pink-dim); }
.bars { height: 26px; background: url("/img/barcode.png") left center/auto 100% repeat-x; opacity: 0.9; }
.cell .ghost { margin-top: auto; }

.divider { position: relative; height: 30px; margin: 2px 0 var(--gap); background: url("/img/hatch.png") left center/auto 100% repeat-x; opacity: 0.55; }
.divider i { position: absolute; right: 0; top: -6px; width: 42px; height: 42px; background: #05030a url("/img/chevrons.png") center/70% auto no-repeat; }

/* --- console -------------------------------------------------------------- */
.console { padding: 36px; margin-bottom: var(--gap); }
.console-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.pickers { display: flex; flex-wrap: wrap; gap: 10px; }
.pickers button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--pink-line);
  background: transparent;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.pickers button[aria-pressed="true"] { border-color: var(--gold); color: #140b01; background: var(--gold); }
.console-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: var(--gap); align-items: stretch; }
.composer { display: flex; flex-direction: column; gap: 14px; position: relative; padding: 30px; background: #08040e; border: 1px solid var(--pink-dim); overflow: hidden; }
.composer::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: url("/img/mesh.png") center/cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
  animation: breathe 26s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.07) translate3d(-1.5%, -1%, 0); } }
.composer > * { position: relative; z-index: 1; }
.composer textarea {
  width: 100%;
  min-height: 220px;
  padding: 20px 22px;
  border: 1px solid var(--pink-dim);
  background: rgba(5, 3, 10, 0.86);
  color: var(--paper);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  resize: vertical;
}
.composer textarea::placeholder { color: #7c6686; }
.composer-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.count { font-family: var(--mono); font-size: 16px; color: var(--gold); }
.note { font-family: var(--body); font-size: 16px; color: var(--mute); max-width: 54ch; }
.ticket { display: flex; flex-direction: column; gap: 14px; padding: 26px; }
.rows { margin: 0 0 6px; display: flex; flex-direction: column; gap: 12px; }
.ticket { position: relative; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.row dt { font-family: var(--mono); font-size: 16px; color: var(--mute); }
.row dd { margin: 0; font-size: 17px; text-align: right; overflow-wrap: anywhere; }
.status { margin: 6px 0 0; min-height: 3.2em; font-size: 16px; color: var(--mute); }
.verdict { margin-top: var(--gap); padding: 26px 30px; }
.verdict-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.verdict-text { margin: 0; min-height: 3.2em; color: var(--paper); }
#v-id { font-size: 15px; color: var(--mute); overflow-wrap: anywhere; }

/* --- supply line ---------------------------------------------------------- */
.supply { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(360px, 1fr); gap: 40px; padding: 36px; }
.bus { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bus li { display: flex; align-items: baseline; gap: 18px; }
.bus li span:first-child { font-size: 24px; font-weight: 700; min-width: 4.5ch; }
.ca { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 12px 0 22px; padding: 18px 22px; border: 1px solid var(--pink-dim); background: #08040e; }
.ca code { font-family: var(--mono); font-size: 17px; color: var(--gold); overflow-wrap: anywhere; min-width: 0; }
.marks { display: flex; flex-wrap: wrap; gap: 14px; }
.marks a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 22px;
  border: 1px solid var(--pink-line);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.marks a img { width: 24px; height: 24px; object-fit: contain; }
.marks a:hover { border-color: var(--gold); }
.marks a[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.risk { margin: 22px 0 0; font-size: 16px; color: var(--mute); }

/* --- vault page ----------------------------------------------------------- */
.vault-actions { max-width: 360px; margin: 0 0 var(--gap); }
.vault-actions .plate { text-decoration: none; display: flex; align-items: center; justify-content: center; }
.vault-head { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: var(--gap); padding: 28px 32px; border: 1px solid var(--pink-dim); }
.vault-head img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.vault-facts { display: flex; flex-wrap: wrap; gap: 28px 44px; }
.vault-facts div { display: flex; flex-direction: column; gap: 6px; }
.vault-facts .k { font-family: var(--mono); font-size: 16px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.04em; }
.vault-facts .v { font-family: var(--mono); font-weight: 700; font-size: 28px; color: var(--gold); }
.vault-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: var(--gap); }
.feed { display: flex; flex-direction: column; gap: 14px; }
.feed-item { padding: 22px 26px; }
.feed-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.feed-who { font-family: var(--mono); font-size: 16px; color: var(--mute); }
.feed-text { margin: 0 0 14px; color: var(--paper); }
.feed-reply { margin: 0; padding: 16px 20px; border-left: 2px solid var(--gold); background: #0a0511; color: var(--paper); }
.feed-meta { margin-top: 12px; font-family: var(--mono); font-size: 15px; color: var(--mute); overflow-wrap: anywhere; }
.prompt { margin: 0 0 24px; padding: 22px 24px; border: 1px solid var(--pink-dim); background: #08040e; color: var(--pink-soft); font-family: var(--mono); font-size: 16px; line-height: 1.7; white-space: pre-wrap; }
.patches { display: flex; flex-direction: column; gap: 14px; }
.patch { padding: 20px 24px; }
.patch h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 17px; color: var(--gold); }
.patch p { margin: 0; font-size: 16px; color: var(--paper); }

/* --- universal ------------------------------------------------------------ */
.uni-head { margin-bottom: var(--gap); }
.uni-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.uni-results { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.uni-card { padding: 22px 24px; min-height: 180px; }
.uni-card h4 { margin: 0 0 12px; font-family: var(--display); font-size: 22px; letter-spacing: 0.03em; }
.uni-card p { margin: 10px 0 0; font-size: 16px; color: var(--paper); }
.near { display: flex; flex-direction: column; gap: 12px; }

/* --- cases, league, mine --------------------------------------------------- */
.cases { display: flex; flex-direction: column; gap: var(--gap); }
.case { padding: 32px 36px; }
.case-mark { width: 54px; height: 54px; background: url("/img/shackle.png") center/contain no-repeat; flex: none; }
.case-head { display: flex; align-items: center; gap: 18px; }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.case h3 { margin: 0; font-family: var(--display); font-size: 28px; letter-spacing: 0.03em; color: var(--gold); }
.case blockquote { margin: 0 0 16px; padding: 18px 22px; border-left: 2px solid var(--pink); background: #0a0511; }
.league { display: flex; flex-direction: column; gap: 12px; }
.league-row { display: grid; grid-template-columns: 56px minmax(140px, 1.2fr) repeat(5, minmax(0, 1fr)); gap: 18px; align-items: center; padding: 20px 26px; }
.league-row .k { font-family: var(--mono); font-size: 15px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.04em; display: block; }
.league-row .v { font-family: var(--mono); font-size: 20px; color: var(--paper); }
.league-row .lab { font-family: var(--display); font-size: 24px; letter-spacing: 0.03em; }
.league-row .pos { font-family: var(--mono); font-size: 22px; color: var(--gold); }
.mine { display: flex; flex-direction: column; gap: 14px; }
.mine-actions { margin-bottom: var(--gap); max-width: 320px; }
.mine-row { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; padding: 22px 26px; align-items: center; }

/* --- how ------------------------------------------------------------------ */
.steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.steps li { padding: 28px 26px; border: 1px solid var(--pink-dim); }
.step-n { display: block; margin-bottom: 14px; font-size: 34px; font-weight: 700; color: var(--gold); }
.steps h3 { margin: 0 0 12px; font-family: var(--display); font-size: 24px; letter-spacing: 0.03em; }
.steps p { margin: 0; font-size: 17px; color: var(--mute); }
.how-money { padding: 36px; border: 1px solid var(--pink-dim); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.how-grid p { margin: 8px 0 0; color: var(--mute); font-size: 17px; }

.empty { padding: 28px 32px; border: 1px dashed var(--pink-dim); color: var(--mute); font-family: var(--mono); font-size: 17px; }

/* --- widths --------------------------------------------------------------- */
@media (max-width: 1560px) {
  .cell-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cell-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cell-balance.waiting { font-size: 18px; }
  .cell { padding: 28px; }
  .cell-lab { font-size: 22px; }
  .cell-balance { font-size: 26px; }
}
@media (max-width: 1180px) {
  .sheet { padding: 40px 32px 72px; }
  .masthead-under { flex-direction: column; gap: 18px; }
  .five { grid-template-columns: repeat(2, 1fr); }
  .console-body, .uni-grid, .vault-grid, .supply { grid-template-columns: 1fr; }
  .uni-results, .steps, .how-grid { grid-template-columns: repeat(2, 1fr); }
  .league-row { grid-template-columns: 48px 1fr 1fr 1fr; row-gap: 14px; }
}
@media (max-width: 900px) {
  .wordmark { white-space: normal; font-size: clamp(38px, 9.4vw, 72px); line-height: 1.04; }
  /* the wordmark wraps to two lines here and fills the band: the haze keeps to the outer edges */
  .smoke {
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, #000 40%, transparent), linear-gradient(to right, #000, transparent 20%, transparent 80%, #000);
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent), linear-gradient(to right, #000, transparent 20%, transparent 80%, #000);
  }
  .smoke-bottom {
    mask-image: linear-gradient(to top, #000 40%, transparent), linear-gradient(to right, #000, transparent 20%, transparent 80%, #000);
    -webkit-mask-image: linear-gradient(to top, #000 40%, transparent), linear-gradient(to right, #000, transparent 20%, transparent 80%, #000);
  }
}
@media (max-width: 720px) {
  .sheet { padding: 28px 20px 64px; }
  .standfirst { font-size: 17px; }
  .masthead-under { gap: 14px; }
  .trace { margin: 18px 0 26px; }
  .nodes a { min-height: 44px; }
  .nodes li::after { width: 16px; margin: 0 10px; }
  .cell-door { aspect-ratio: 4 / 3; }
  :root { --gap: 16px; --notch: 12px; }
  .five { grid-template-columns: 1fr; }
  .uni-results, .steps, .how-grid { grid-template-columns: 1fr; }
  .vault-head { grid-template-columns: 1fr; }
  .vault-head img { max-width: 220px; }
  .league-row { grid-template-columns: 44px 1fr 1fr; }
  .mine-row { grid-template-columns: 1fr; }
  .console, .supply, .ticket, .composer, .case, .how-money, .cell { padding: 28px; }
  .title { font-size: 28px; }
  .bus li span:first-child { font-size: 22px; }
}
@media (max-width: 380px) {
  .sheet { padding: 24px 16px 56px; }
  .nodes { gap: 8px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .smoke { animation: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
