/* The original standalone HTML requests a locally installed Inter, then native
   fonts. Keep that choice independent of the editor's downloaded web font. */
@font-face {
  font-family: BankLocalInter;
  src: local("Inter");
  font-weight: 100 900;
}

.bank-view {
  --bank-paper: #fcfcf8;
  --bank-ink: #142822;
  --bank-muted: #50645b;
  --bank-line: #dce5dd;
  --bank-positive: #006640;
  --bank-quiet: #e8f0e9;
  --bank-avatar-bg: #d6e7dc;
  --bank-avatar-ink: #1b4b38;
  --bank-hover: #edf5ed;
  --bank-plus: #f0f4ed;
  --bank-plus-ink: #466251;
  --bank-plus-line: #dbe4d9;
  --bank-plus-edge: #e3eae1;
  --bank-violet: #564179;
  --bank-violet-deep: #2e204d;
  --tile-sheen: #ffffffa8;
  --bank-outline: #273a2e25;
  --bank-type: BankLocalInter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --bank-display: BankLocalInter, system-ui, sans-serif;
  width: min(375px, 100%);
  min-width: 0;
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 29px;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px var(--bank-outline), 0 8px 22px -16px #192e3380;
  color: var(--bank-ink);
  background-color: var(--bank-paper);
  color-scheme: light dark;
  font: 400 14px/1.4 var(--bank-type);
  text-align: left;
  font-synthesis: weight style;
  letter-spacing: normal;
  container: bank-phone / inline-size;
}
.bank-view.bank-mint { --bank-violet: #386458; --bank-violet-deep: #153f33; }
.bank-view.bank-peach { --bank-violet: #845546; --bank-violet-deep: #583329; }
.bank-view *, .bank-view *::before, .bank-view *::after { box-sizing: border-box; }
.bank-view [hidden] { display: none !important; }
.bank-view :where(header, h2, h3, p, ul) { margin: 0; }
.bank-view header { background: transparent; border: 0; padding: 0; }
.bank-view button {
  font: 400 13.3333px/normal var(--bank-type);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  touch-action: manipulation;
  appearance: none;
}
.bank-view button:focus-visible, .bank-view a:focus-visible {
  outline: 2px solid var(--bank-positive);
  outline-offset: -2px;
}
.bank-view .rc-home { padding: 17px 17px 9px; background: var(--bank-paper); }
.bank-view .green-profile { margin: 0 0 10px; }
.bank-view .green-profile :is(h1, h2) { margin: 0; font: inherit; }
.bank-view .profile-open {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--bank-ink);
  font: inherit;
  text-align: start;
}
.bank-view .green-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bank-avatar-bg);
  color: var(--bank-avatar-ink);
  font: 700 12px/1 var(--bank-display);
  letter-spacing: -.04em;
}
.bank-view .profile-text { min-width: 0; }
.bank-view .profile-name {
  display: block;
  color: var(--bank-ink);
  font: 730 20px/1.12 var(--bank-display);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.bank-view .profile-role {
  display: block;
  margin: 3px 0 0;
  color: var(--bank-muted);
  font: 500 12px/1.29 var(--bank-display);
  overflow-wrap: anywhere;
}

/* The one new surface is the bank card from the studio. */
.bank-view .green-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 104px;
  padding: 17px 58px 17px 17px;
  border-radius: 18px;
  border: 1px solid #ffffff45;
  background: linear-gradient(135deg, var(--bank-violet), var(--bank-violet-deep));
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff23, inset 0 -1px 0 #25123b38;
}
.bank-view .green-engraving {
  position: absolute;
  z-index: -1;
  width: 145%;
  max-width: none;
  height: 170%;
  top: -46%;
  left: 34%;
  object-fit: cover;
  opacity: .33;
  pointer-events: none;
}
.bank-view .rc-total {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: .62em;
  color: #fff;
  white-space: nowrap;
  font-size: clamp(31px, 8.5vw, 39px);
  font-variant-numeric: lining-nums tabular-nums;
}
.bank-view .rc-part { display: inline-flex; align-items: baseline; gap: 5px; }
.bank-view .rc-part b { color: inherit; font: 650 1em/1 var(--bank-display); letter-spacing: -.065em; }
.bank-view .rc-part small {
  font: 620 .48em/1 var(--bank-display);
  letter-spacing: .035em;
  text-transform: uppercase;
  color: #f4ecff;
}
.bank-view .rc-nfc { position: absolute; top: 11px; right: 14px; width: 17px; height: 17px; color: #f4eaff; }
.bank-view .rc-nfc svg { display: block; width: 100%; height: 100%; stroke-width: 1.65; }
.bank-view .rc-chip {
  display: block;
  position: absolute;
  top: 36px;
  right: 17px;
  width: 32px;
  height: 25px;
  border-radius: 5px;
  border: 1px solid #e2d4ad;
  background:
    linear-gradient(90deg, transparent 30%, #85735c 31% 33%, transparent 34% 65%, #85735c 66% 68%, transparent 69%),
    linear-gradient(transparent 44%, #85735c 45% 48%, transparent 49%),
    linear-gradient(125deg, #f2e0b0, #bba379, #ede3bc);
}

.bank-view .rc-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin: 15px 0 13px;
}
.bank-view .rc-action {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--bank-ink);
  background: transparent;
}
.bank-view .rc-face {
  display: grid;
  place-items: center;
  width: min(100%, 44px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
  color: var(--cube-ink);
  background: linear-gradient(145deg, var(--cube-top), var(--cube-base) 84%);
  box-shadow: inset 0 1px 0 var(--tile-sheen), inset 0 -3px 0 var(--cube-edge);
}
.bank-view .rc-face svg { width: 25px; height: 25px; max-width: 75%; stroke-width: 1.8; transform: translateY(-1px); }
.bank-view [data-tone="0"] { --cube-top: #e4f2ff; --cube-base: #c2dff6; --cube-ink: #24567a; --cube-edge: #98bed9; }
.bank-view [data-tone="1"] { --cube-top: #f1e8fd; --cube-base: #ded0ef; --cube-ink: #62417c; --cube-edge: #bb9ed3; }
.bank-view [data-tone="2"] { --cube-top: #e4f2df; --cube-base: #c7e4bf; --cube-ink: #366541; --cube-edge: #a4c799; }
.bank-view [data-tone="3"] { --cube-top: #ffece7; --cube-base: #f3d4c9; --cube-ink: #884e41; --cube-edge: #d4afa4; }
.bank-view .rc-plus .rc-face {
  background: var(--bank-plus);
  color: var(--bank-plus-ink);
  border: 1px solid var(--bank-plus-line);
  box-shadow: inset 0 -2px 0 var(--bank-plus-edge);
}
.bank-view .rc-plus-count { font: 660 18px/1 var(--bank-display); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.bank-view .rc-letter-icon { font: 680 16px/1 var(--bank-display); letter-spacing: -.045em; }
.bank-view .rc-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-width: 0;
  max-width: 100%;
  max-height: 2.46em;
  overflow: hidden;
  overflow-wrap: anywhere;
  font: 610 12px/1.23 var(--bank-display);
  letter-spacing: -.026em;
  text-align: center;
}

.bank-view .rc-feed { border-top: 1px solid var(--bank-line); }
.bank-view .green-card + .rc-feed { margin-top: 15px; }
.bank-view .rc-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) max-content;
  gap: 9px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--bank-line);
  border-radius: 0;
  background: transparent;
  color: var(--bank-ink);
  text-align: left;
}
.bank-view .rc-row:last-child { border-bottom: 0; }
.bank-view .rc-mark {
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
}
.bank-view .rc-mark img { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; }
.bank-view .rc-brand-mark img { width: calc(100% - 4px); height: calc(100% - 4px); }
.bank-view .rc-monogram { background: var(--bank-quiet); color: var(--bank-positive); font: 680 16px/1 var(--bank-type); }
.bank-view .rc-info { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.bank-view .rc-company { font-size: 15px; font-weight: 690; line-height: 1.12; letter-spacing: -.025em; }
.bank-view .rc-role { font-size: 12px; font-weight: 480; line-height: 1.25; }
.bank-view .rc-date { color: var(--bank-muted); font-size: 11px; line-height: 1.24; }
.bank-view .rc-credit {
  display: grid;
  justify-items: end;
  gap: 2px;
  white-space: nowrap;
  color: var(--bank-positive);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.bank-view .rc-credit strong { color: inherit; font: 680 24px/.99 var(--bank-display); letter-spacing: -.055em; }
.bank-view .rc-credit small { color: inherit; font: 540 11px/1.1 var(--bank-display); }

.bank-view .rc-pane {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 18px 20px;
  min-height: 490px;
  max-height: min(620px, 88svh);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--bank-line) transparent;
  scroll-padding-block: 62px 18px;
  color: var(--bank-ink);
  background: var(--bank-paper);
}
.bank-view .rc-toolbar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: none;
  height: 61px;
  background: var(--bank-paper);
}
.bank-view .rc-back {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  color: var(--bank-ink);
  background: var(--bank-quiet);
  border: 0;
  border-radius: 50%;
}
.bank-view .rc-back svg { width: 22px; height: 22px; }
.bank-view .rc-leaf { padding: 5px 0 3px; margin: 0; }
.bank-view .rc-employer-head { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 12px; }
.bank-view .rc-employer-head .rc-mark { width: 48px; height: 48px; border-radius: 13px; }
.bank-view .rc-employer-head h2 { font-size: 23px; line-height: 1.13; font-weight: 680; color: var(--bank-ink); letter-spacing: -.034em; overflow-wrap: anywhere; }
.bank-view .rc-employer-head p { font-size: 14px; line-height: 1.32; color: var(--bank-muted); margin-top: 3px; overflow-wrap: anywhere; }
.bank-view .rc-period {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  justify-content: space-between;
  margin: 15px 0 13px;
  padding: 9px 0;
  border-block: 1px solid var(--bank-line);
  font-size: 12px;
  color: var(--bank-muted);
}
.bank-view .rc-period strong { font-size: 12px; line-height: 1.33; color: var(--bank-ink); font-weight: 620; }
.bank-view .rc-points, .bank-view .rc-points ul { padding-inline-start: 17px; list-style: disc; }
.bank-view .rc-points li { padding-left: 2px; margin: 0 0 10px; font-size: 14px; line-height: 1.52; color: var(--bank-ink); overflow-wrap: anywhere; text-align: start; }
.bank-view .rc-points li::marker { color: var(--bank-positive); }
.bank-view .rc-points ul { list-style: circle; margin: 7px 0 0; }
.bank-view .rc-points ul li { margin-bottom: 7px; }
.bank-view .rc-skill-detail h2 { margin: 7px 0 16px; font: 680 24px/1.2 var(--bank-display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.bank-view .rc-skills-list { list-style: none; padding: 0; }
.bank-view .rc-skills-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--bank-line); font-size: 15px; overflow-wrap: anywhere; }
.bank-view .rc-list-glyph { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 9px; background: var(--bank-quiet); color: var(--bank-positive); }
.bank-view .rc-list-glyph svg { width: 19px; height: 19px; }
.bank-view .rc-list-glyph .rc-letter-icon { font-size: 12px; }
.bank-view .rc-skill-evidence { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--bank-line); }
.bank-view .rc-skill-evidence h3 { font-size: 15px; margin-bottom: 4px; }
.bank-view .rc-skill-evidence p { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.bank-view .rc-empty { margin: 14px 0; color: var(--bank-muted); font-size: 14px; }
.bank-view .contacts-page h2 { margin: 4px 0 20px; font-size: 26px; line-height: 1.15; letter-spacing: -.045em; color: var(--bank-ink); }
.bank-view .contact-links { margin: 0; font-style: normal; border-top: 1px solid var(--bank-line); }
.bank-view .contact-links a {
  display: grid;
  align-items: center;
  grid-template-columns: 42px minmax(0,1fr) 17px;
  gap: 13px;
  min-height: 71px;
  padding: 8px 2px;
  color: var(--bank-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--bank-line);
}
.bank-view .contact-glyph { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--bank-quiet); color: var(--bank-positive); }
.bank-view .contact-glyph svg { width: 21px; height: 21px; stroke-width: 1.7; }
.bank-view .contact-links a > svg { width: 16px; height: 16px; color: var(--bank-muted); stroke-width: 1.7; }
.bank-view .contact-text { display: grid; gap: 2px; min-width: 0; }
.bank-view .contact-text small { font-size: 12px; line-height: 1.3; color: var(--bank-muted); }
.bank-view .contact-text span { font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
@media (hover:hover) {
  .bank-view .rc-action:hover .rc-face { filter: brightness(1.035); }
  .bank-view .rc-row:hover { background: var(--bank-hover); }
  .bank-view .profile-open:hover .profile-name, .bank-view .contact-links a:hover .contact-text span { text-decoration: underline; text-underline-offset: .18em; }
}
@container bank-phone (max-width:355px) {
  .bank-view .rc-home { padding-inline: 12px; }
  .bank-view .green-card { padding-inline: 14px 56px; }
  .bank-view .rc-total { font-size: 31px; }
  .bank-view .rc-row { grid-template-columns: 33px minmax(0,1fr) max-content; gap: 7px; }
  .bank-view .rc-row .rc-mark { width: 33px; height: 33px; border-radius: 10px; }
  .bank-view .rc-credit strong { font-size: 22px; }
  .bank-view .rc-actions { gap: 3px; }
  .bank-view .rc-label { font-size: 11px; }
  .bank-view .rc-pane { padding-inline: 14px; }
}
@media(max-height:550px) { .bank-view .rc-pane { min-height: 0; max-height: 88svh; } }
@media(max-width:430px) {
  .bank-standalone .bank-view { width: 100%; border-radius: 0; box-shadow: none; }
  .bank-standalone .rc-pane { min-height: 100svh; max-height: none; overflow: visible; }
}
@media(prefers-color-scheme:dark) {
  .bank-view {
    --bank-paper: #191e1d; --bank-ink: #eef5ef; --bank-muted: #adbbb4; --bank-line: #35403b;
    --bank-positive: #75dcad; --bank-quiet: #2b3b32; --bank-avatar-bg: #294739; --bank-avatar-ink: #bee1c7;
    --bank-hover: #223a30; --bank-plus: #29362e; --bank-plus-ink: #c7d4c8; --bank-plus-line: #46564a;
    --bank-plus-edge: #223025; --tile-sheen: #ffffff23; --bank-outline: #d0e5d62b;
  }
  .bank-view [data-tone="0"] { --cube-top: #294760; --cube-base: #244158; --cube-ink: #b9e2fd; --cube-edge: #152b3b; }
  .bank-view [data-tone="1"] { --cube-top: #493a58; --cube-base: #42334f; --cube-ink: #e3c8fc; --cube-edge: #32243e; }
  .bank-view [data-tone="2"] { --cube-top: #344f3d; --cube-base: #294634; --cube-ink: #bce9b9; --cube-edge: #203226; }
  .bank-view [data-tone="3"] { --cube-top: #604039; --cube-base: #51362f; --cube-ink: #ffd3bd; --cube-edge: #3b2824; }
}

/* Story mode */
.bank-view.bank-vice {
  --bank-ink: #f7efdd;
  --bank-paper: #171923;
  --bank-muted: #c2b8b1;
  --bank-positive: #ffd37d;
  --bank-line: #4a444a;
  --bank-quiet: #332f39;
  --vice-gold: #ffd383;
  --vice-aqua: #9fe3d2;
  --vice-pink: #ffa0b2;
  --vice-display: Inter, system-ui, sans-serif;
  --vice-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
  border-radius: 9px;
  font-family: var(--vice-display);
}
.bank-vice .rc-home { padding: 0; }
.bank-vice .vice-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 231px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: #402f42;
  border-bottom: 3px solid var(--vice-pink);
}
.vice-hero .vice-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.vice-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #21152845 0%, transparent 36%, #201c325c 53%, #171923ed 100%);
}
.vice-hud { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 13px 16px; }
.vice-location, .vice-menu > span {
  color: #ffcad1;
  font: italic 800 30px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.09em;
  transform: rotate(-6deg);
  text-shadow: 1px 1px #3e2242, 2px 2px #3e2242, 3px 3px #32233d;
}
.bank-vice .vice-contact, .bank-vice .vice-menu button {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 44px; padding: 0 8px; border: 0;
  color: #fff6eb;
  background: linear-gradient(180deg, transparent 6px, #201c2de8 6px, #201c2de8 calc(100% - 6px), transparent calc(100% - 6px));
  font: 650 12px/1 var(--vice-display);
}
.vice-player { display: flex; align-items: flex-end; gap: 9px; padding: 35px 15px 14px; }
.vice-player-text { flex: 1; min-width: 0; }
.vice-player-text :is(h1,h2) {
  color: #fff3da; margin: 0;
  font: italic 850 36px/.99 var(--vice-display);
  letter-spacing: -.035em; word-spacing: .14em; text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 1px 2px #472c35, 2px 3px #472c35;
}
.vice-player-text p {
  margin: 5px 0 0; color: #fff4e8; font: 580 14px/1.28 var(--vice-display);
  text-shadow: 0 1px 3px #171620; overflow-wrap: anywhere;
}
.vice-radar { display: block; flex: 0 0 62px; width: 62px; height: auto; }
.vice-skills { padding: 12px 16px 13px; background: #252330; border-bottom: 1px solid #463b4b; }
.vice-skills-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 21px; }
.vice-skills-head :is(h2,h3), .vice-section-kicker, .vice-detail-heading {
  margin: 0; color: var(--vice-pink); font: 650 12px/1.25 var(--vice-mono);
  text-transform: uppercase; letter-spacing: .10em;
}
.bank-vice .vice-all-skills {
  position: relative; min-height: 24px; min-width: 44px; padding: 0 5px;
  border: 1px solid #937a8d; border-radius: 3px; background: #322b39;
  color: #f2d8e7; font: 700 13px/1 var(--vice-mono);
}
.vice-all-skills::after { content: ""; position: absolute; inset: -6px -2px; }
.vice-stars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 6px; padding-top: 3px; }
.bank-vice .vice-skill { display: grid; align-content: start; justify-items: start; gap: 2px; min-width: 0; padding: 2px 1px; border: 0; background: transparent; color: #fff5e7; text-align: left; font: 630 12px/1.23 var(--vice-display); }
.vice-star { color: var(--vice-gold); width: 32px; height: 32px; flex: none; }
.vice-skill span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; max-width: 100%; }
.vice-journal { padding: 16px 15px 12px; }
.bank-vice .vice-journal-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; padding: 0 0 9px; }
.vice-journal-title :is(h2,h3) { margin: 0; color: var(--vice-gold); font: italic 800 25px/1.07 var(--vice-display); letter-spacing: -.038em; word-spacing: .075em; }
.vice-tenure { color: #d6c3b0; font: 550 12px/1.2 var(--vice-display); }
.vice-missions { border-collapse: collapse; table-layout: fixed; width: 100%; margin: 0; text-align: left; }
.vice-missions th {
  padding: 6px; color: #151925; background: #d3c9af;
  text-align: left; font: 750 12px/1.1 var(--vice-mono);
}
.vice-missions th:first-child { width: 78px; }
.vice-missions tbody tr { cursor: pointer; background: #242430; }
.vice-missions tbody tr:nth-child(even) { background: #1d1e29; }
.vice-missions td { padding: 0; vertical-align: top; border-bottom: 1px solid #48414b; }
.vice-missions .vice-dates { padding: 12px 5px 10px 6px; color: #d8ccc7; font: 400 12px/1.43 var(--vice-mono); border-right: 1px solid #453f49; }
.bank-vice .vice-mission-button {
  display: flex; align-items: flex-start; gap: 7px; width: 100%; min-height: 56px; padding: 10px 6px;
  border: 0; color: var(--bank-ink); background: transparent; text-align: left;
}
.vice-mission-button .rc-mark { flex: 0 0 25px; width: 25px; height: 25px; border-radius: 3px; }
.vice-brief { display: grid; gap: 2px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.vice-brief strong { font: 760 15px/1.18 var(--vice-display); }
.vice-brief > span:not(.vice-state) { color: #e5dce4; font: 470 13px/1.28 var(--vice-display); }
.vice-state {
  display: inline-flex; align-items: baseline; gap: 4px; justify-self: start;
  margin-top: 4px; color: var(--vice-aqua); font: 650 12px/1.2 var(--vice-mono);
}
.vice-state::before { content: "✓"; }
.vice-state[data-state="active"] { color: var(--vice-gold); }
.vice-state[data-state="active"]::before { content: "▶"; font-size: 9px; }
.vice-state[data-state="next"] { color: #c4b4ee; }
.vice-state[data-state="next"]::before { content: "◇"; }
.vice-state[data-state="unknown"] { display: none; }
.bank-vice .rc-pane { padding: 0; background: #1d1d29; }
.vice-menu {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 63px; padding: 6px 16px; border-bottom: 3px solid var(--vice-pink);
  background: linear-gradient(95deg,#211b2d 10%,#362238ae), url('vice-coast.webp') 50% 28% / cover;
}
.bank-vice .vice-menu button { background: #22202b; padding-inline: 9px; border: 1px solid #645466; }
.vice-menu button span { font-size: 20px; line-height: 1; }
.vice-menu > span { font-size: 22px; }
.vice-file { padding: 23px 16px 18px; }
.vice-file > h2, .vice-mission-heading h2 {
  margin: 0; color: #ffda94; font: italic 820 29px/1.07 var(--vice-display); letter-spacing: -.055em; overflow-wrap: anywhere;
}
.vice-file > .vice-star { margin: 12px 0 5px; width: 39px; height: 39px; }
.vice-section-kicker { display: flex; align-items: baseline; gap: 10px; }
.vice-section-kicker .vice-state { margin: 0; letter-spacing: normal; text-transform: none; }
.bank-vice .vice-mission-heading { display: flex; align-items: flex-start; gap: 10px; margin: 15px 0 0; }
.vice-mission-heading .rc-mark { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 5px; }
.vice-mission-heading div { min-width: 0; }
.vice-mission-heading p { margin: 4px 0 0; color: #f5e8dc; font-size: 15px; line-height: 1.32; overflow-wrap: anywhere; }
.vice-period { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 10px 0; margin: 10px 0 0; border-block: 1px solid var(--bank-line); color: #dbcec6; font: 500 12px/1.4 var(--vice-mono); }
.vice-period span { color: var(--vice-aqua); }
.vice-file .vice-detail-heading { margin: 18px 0 10px; }
.vice-file .rc-skills-list { margin: 14px 0 0; }
.vice-file .rc-skills-list .vice-star { width: 20px; height: 20px; }
.vice-file .rc-skill-evidence { margin-top: 15px; }
@media (hover:hover) {
  .vice-missions tbody tr:hover { background: #3a3042; }
  .vice-skill:hover, .vice-all-skills:hover, .vice-contact:hover { filter: brightness(1.16); }
}
@container bank-phone (max-width:355px) {
  .bank-vice .vice-player-text :is(h1,h2) { font-size: 32px; }
  .bank-vice .vice-radar { flex-basis: 48px; width: 48px; }
  .bank-vice .vice-hud, .bank-vice .vice-player, .bank-vice .vice-skills, .bank-vice .vice-journal { padding-inline: 12px; }
  .bank-vice .vice-hero { min-height: 216px; }
  .bank-vice .vice-missions th:first-child { width: 69px; }
}
@container bank-phone (max-width:310px) {
  .bank-vice .vice-stars { grid-auto-flow: row; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 8px; }
  .bank-vice .vice-skill { grid-template-columns: 25px minmax(0,1fr); align-items: center; align-content: center; gap: 3px; min-height: 43px; }
  .bank-vice .vice-skill .vice-star { width: 25px; height: 25px; }
}
