:root {
  color-scheme: dark;
  --bg: #101317;
  --card: #23272d;
  --lime: #c9f76a;
  --muted: #bdbdbd;
  --line: #41464b;
  --orange: #efab5a;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #fff;
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 75% 0, #202922 0, transparent 36%),
    var(--bg);
  min-height: 100vh;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 1px solid var(--line);
  background: #292e34;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 650;
  min-height: 44px;
}
button:hover {
  border-color: var(--lime);
  background: #333a37;
}
button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
button.primary {
  background: var(--lime);
  color: #101317;
  border-color: var(--lime);
  font-weight: 800;
  width: 100%;
  letter-spacing: 0.04em;
}
button.primary:hover {
  background: #defca1;
}
header {
  max-width: 1100px;
  margin: auto;
  padding: 24px 24px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.brand {
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 950;
  letter-spacing: -1.8px;
  color: var(--lime);
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.head-actions button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 8px;
}
.head-actions #streak {
  color: var(--orange);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--lime);
  text-transform: uppercase;
}
.brand + .eyebrow {
  color: var(--muted);
  margin-top: 5px;
}
main {
  max-width: 1100px;
  margin: auto;
  padding: 20px 24px 120px;
  outline: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 8px 0 12px;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.6;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.intro {
  margin-bottom: 24px;
}
.layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}
.stack {
  display: grid;
  gap: 18px;
}
.card {
  background: linear-gradient(145deg, #282d33, #20242a);
  border: 1px solid #353b42;
  border-radius: 20px;
  overflow: hidden;
}
.pad {
  padding: 20px;
}
.card p {
  margin: 8px 0 14px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.rankrow {
  display: flex;
  align-items: center;
  gap: 18px;
}
.rankrow h2 {
  font-size: 30px;
}
.rankcard {
  border-color: #647746;
  background: radial-gradient(ellipse at 0 0, #35432b, transparent 70%), #23272d;
}
.emblem {
  width: 90px;
  height: 100px;
  flex: none;
  filter: drop-shadow(0 0 12px #c9f76a22);
}
.bar {
  height: 8px;
  background: #41464b;
  border-radius: 99px;
  overflow: hidden;
  margin: 12px 0;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--lime);
  border-radius: 99px;
  transition: width 0.35s;
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.link {
  border: 0;
  background: none;
  color: var(--lime);
  padding: 5px;
  min-height: 36px;
  font-size: 13px;
}
.art {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.heroart {
  position: relative;
}
.heroart .tag {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #101317e8;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.tag {
  color: var(--lime);
  font-weight: 800;
}
.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0;
}
.lime {
  color: var(--lime);
}
.orange {
  color: var(--orange);
}
.icon {
  width: 23px;
  height: 23px;
  vertical-align: middle;
  flex: none;
}
.categories,
.ranks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.category {
  text-align: left;
  background: #23272d;
  display: grid;
  gap: 8px;
  padding: 16px;
}
.category .icon {
  color: var(--lime);
}
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
  margin-top: 14px;
}
.day {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.day b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #35383b;
}
.day b.hit {
  background: var(--orange);
  color: #101317;
}
.radar {
  width: 100%;
  max-height: 260px;
  display: block;
}
.notice {
  font-size: 12px;
  color: #e8c58e;
  line-height: 1.5;
}
.locked {
  background: #35383b;
  color: #ccc;
  width: 100%;
}
.navitem {
  display: grid;
  justify-items: center;
  gap: 4px;
  border: 0;
  background: none;
  font-size: 12px;
  color: #bdbdbd;
  min-width: 60px;
  padding: 8px 12px;
}
.navitem.active {
  color: var(--lime);
  background: #c9f76a12;
}
.navitem .icon {
  width: 24px;
  height: 24px;
}
nav {
  position: fixed;
  z-index: 5;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 650px);
  display: flex;
  justify-content: space-around;
  background: #171a1df5;
  border: 1px solid #35383b;
  border-radius: 18px 18px 0 0;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  backdrop-filter: blur(16px);
}
.narrow {
  max-width: 720px;
  margin: auto;
}
.choice {
  width: 100%;
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 17px;
  margin: 9px 0;
  background: #23272d;
}
.choice.selected {
  border: 2px solid var(--lime);
  background: #c9f76a12;
}
.letter {
  border: 1px solid #59616a;
  border-radius: 8px;
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.selected .letter {
  background: var(--lime);
  color: #101317;
}
.actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.caseitem {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
  background: #23272d;
}
.caseitem .thumb {
  width: 76px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
.caseitem div {
  flex: 1;
}
.caseitem small {
  display: block;
  margin-top: 4px;
}
.ranks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ranktile {
  text-align: center;
  padding: 12px 5px;
  background: #23272d;
  border: 1px solid #41464b;
  border-radius: 14px;
}
.ranktile.current {
  border-color: var(--lime);
}
.ranktile .emblem {
  width: 65px;
  height: 75px;
}
.ranktile small {
  display: block;
}
.ranktile.future {
  opacity: 0.72;
}
.skillrow {
  margin: 14px 0;
}
.skillrow .bar {
  margin: 6px 0;
}
dialog {
  width: min(92vw, 480px);
  border: 1px solid #647746;
  border-radius: 22px;
  background: #23272d;
  color: white;
  padding: 25px;
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}
dialog .emblem {
  width: 150px;
  height: 170px;
  display: block;
  margin: auto;
  animation: rise 0.6s ease-out;
}
dialog p {
  margin: 12px 0;
}
input {
  width: 100%;
  background: #101317;
  color: white;
  border: 1px solid #59616a;
  border-radius: 10px;
  padding: 12px;
  margin: 8px 0 14px;
}
#toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #303b28;
  border-radius: 12px;
  padding: 12px 18px;
  z-index: 10;
  max-width: 90%;
  display: none;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  color: #111;
  z-index: 20;
}
.empty {
  padding: 24px;
  text-align: center;
}
.pill {
  font-size: 11px;
  border: 1px solid #59616a;
  border-radius: 99px;
  padding: 4px 8px;
  color: var(--muted);
}
@keyframes rise {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 720px) {
  header {
    padding: 20px 16px 8px;
  }
  main {
    padding: 16px 16px 110px;
  }
  .layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .layout > .stack {
    width: 100%;
    display: contents;
  }
  .rankcard {
    order: 0;
  }
  .boardcard {
    order: 1;
  }
  .dailycard {
    order: 2;
  }
  .streakcard {
    order: 3;
  }
  .dnacard {
    order: 4;
  }
  .mysterycard {
    order: 5;
  }
  .explorecard {
    order: 6;
  }
  .pad {
    padding: 17px;
  }
  .art {
    height: 160px;
  }
  .rankrow {
    gap: 12px;
  }
  .rankrow h2 {
    font-size: 25px;
  }
  .emblem {
    width: 76px;
    height: 85px;
  }
  .ranks {
    gap: 7px;
  }
  .ranktile h3 {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
article {
  background: #23272d;
  border: 1px solid #41464b;
  border-radius: 18px;
  padding: 20px;
  margin: 16px 0;
}
progress {
  width: 100%;
  accent-color: var(--lime);
}
.stat {
  display: flex;
  justify-content: space-between;
}
.notice {
  margin-top: 12px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  background: #101317;
  color: white;
  border: 1px solid #41464b;
  border-radius: 8px;
  padding: 12px;
  margin: 10px 0;
  font: inherit;
}
.card,
.explorecard {
  width: 100%;
  box-sizing: border-box;
  margin-inline: auto;
}
.eyebrow {
  margin-top: 2px;
}
nav .navitem {
  min-width: 0;
  flex: 1;
}
nav .navitem small {
  font-size: 10px;
}
progress {
  width: 100%;
  accent-color: #c9f76a;
}
a {
  color: var(--lime);
  overflow-wrap: anywhere;
}
.card + .card,
.narrow h2,
.narrow h3,
.narrow > button {
  margin-top: 1rem;
}
.card button + button {
  margin-top: 0.35rem;
}
input[type="checkbox"] {
  display: inline;
  width: auto;
  margin-right: 0.5rem;
}
#drafts {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 25rem;
  overflow: auto;
}
button.selected {
  border-color: var(--lime);
}
button[aria-pressed="true"] {
  border-color: var(--lime);
}
.art + small {
  display: block;
  margin-top: 0.5rem;
}

/* Marchio e strumenti di navigazione */
header > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
header .brand {
  display: block;
  line-height: 0.96;
}
.brand + .eyebrow {
  margin: 0;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.14em;
}
.ui-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex: none;
}
.head-actions #profile-icon {
  width: 48px;
  height: 48px;
  justify-content: center;
  border-radius: 50%;
  background: #242a2d;
  border: 1px solid #606966;
}
#profile-icon .ui-icon {
  width: 30px;
  height: 30px;
}
.head-actions #profile-icon:hover {
  border-color: var(--lime);
}
nav .navitem {
  gap: 4px;
  padding: 7px 4px;
  min-height: 55px;
}
nav .navitem .ui-icon {
  width: 28px;
  height: 28px;
}
nav .navitem small {
  font-size: 12px;
  font-weight: 620;
  line-height: 1.15;
  color: inherit;
}
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1c2126;
  color: #eee;
}
.back-button .ui-icon {
  width: 19px;
  height: 19px;
}
.career-badge {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  display: block;
}
.categories {
  gap: 10px;
  margin-top: 14px;
}
.categories .category {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 12px;
  min-height: 60px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--category-color) 54%, #23272d);
  background: linear-gradient(
    115deg,
    color-mix(in srgb, var(--category-color) 29%, #14191c),
    color-mix(in srgb, var(--category-color) 15%, #1b2026)
  );
  color: #fff;
  text-align: left;
  font-weight: 650;
}
.categories .category .ui-icon {
  width: 23px;
  height: 23px;
  color: var(--category-color);
}
.categories .category:hover {
  border-color: var(--category-color);
  background: color-mix(in srgb, var(--category-color) 36%, #14191c);
}
.card .categories button + button {
  margin-top: 0;
}
.board-photo {
  width: calc(100% + 40px);
  max-width: none;
  height: auto;
  aspect-ratio: 2.22;
  object-fit: cover;
  object-position: center;
  margin: -20px -20px 17px;
}
@media (max-width: 720px) {
  .board-photo {
    width: calc(100% + 34px);
    margin: -17px -17px 15px;
  }
  .career-badge {
    width: 74px;
    height: 74px;
  }
}
@media (max-width: 360px) {
  .categories .category {
    gap: 6px;
    padding: 12px 8px;
    font-size: 14px;
  }
}

/* Identità e gerarchia della plancia */
header {
  padding-block: 25px 20px;
  border-bottom: 1px solid #343b3c;
}
header .brand {
  width: 190px;
  display: flex;
  align-items: center;
  min-height: 48px;
}
.brand img {
  width: 100%;
  display: block;
}
.head-actions #profile-icon {
  width: 54px;
  height: 54px;
  background: #dce2d9;
  color: #1c2521;
  border: 3px solid #343d36;
  box-shadow: 0 0 0 1px #798475;
}
#profile-icon .ui-icon {
  width: 33px;
  height: 33px;
}
.head-actions {
  gap: 15px;
}
main {
  padding-block: 36px 160px;
}
.intro {
  margin: 3px 0 30px;
}
.intro h1 {
  font-size: clamp(33px, 4.5vw, 58px);
  margin: 10px 0 12px;
}
.intro p {
  color: #c8cdc8;
}
.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 22px;
}
.dashboard > section {
  min-width: 0;
  margin: 0;
  border-radius: 20px;
}
.board-cover {
  position: relative;
  isolation: isolate;
  min-height: 300px;
  overflow: hidden;
  background: #1c2221;
}
.board-cover img,
.board-cover:after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.board-cover:after {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #0d1112f7, transparent 85%);
}
.board-cover > div {
  position: absolute;
  bottom: 25px;
  left: 26px;
  right: 26px;
}
.board-cover h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  letter-spacing: -0.04em;
}
.board-cover p {
  color: #e7e9e7;
  margin: 5px 0 15px;
}
.cover-link {
  border: 1px solid #c7cebd;
  background: #f1f3e6;
  color: #18201b;
  border-radius: 10px;
  padding: 10px 18px;
}
.cover-link:hover {
  background: white;
  color: #18201b;
}
.career-panel,
.daily-panel,
.areas-panel {
  padding: 26px;
  border: 1px solid #424b42;
  background: #202625;
}
.career-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: radial-gradient(ellipse at 95% 0%, #3a4b36, transparent 75%),
    #1b211f;
}
.career-ident {
  display: flex;
  align-items: center;
  gap: 14px;
}
.career-ident h2 {
  font-size: 30px;
  margin-top: 4px;
}
.career-badge {
  width: 74px;
  height: 74px;
}
.career-total {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 24px 0 12px;
}
.career-panel progress {
  height: 6px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}
.career-panel > small {
  margin-top: 10px;
}
.areas-panel {
  background: #1c2024;
  border-color: #353b40;
}
.daily-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(130deg, #283135, #192224);
}
.daily-panel h2 {
  font-size: clamp(29px, 3.6vw, 46px);
  line-height: 1.06;
}
.daily-panel button {
  margin-top: 8px;
}
.categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 78px;
  gap: 12px;
  margin-top: 22px;
}
.categories .category {
  margin: 0;
  height: 100%;
  min-height: 0;
  min-width: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 15px;
  color: #151b20;
  background: linear-gradient(
    115deg,
    var(--category-color),
    color-mix(in srgb, var(--category-color) 79%, #fff)
  );
  box-shadow: inset 0 1px #ffffff66;
  font-size: 16px;
  letter-spacing: -0.025em;
  transition:
    transform 0.16s,
    filter 0.16s;
}
.categories .category .ui-icon {
  width: 29px;
  height: 29px;
  color: inherit;
  stroke-width: 2;
}
.categories .category:hover {
  color: #10151a;
  filter: brightness(1.07);
  transform: translateY(-2px);
}
.categories .category:active {
  transform: translateY(1px);
}
.card.pad {
  padding: 26px;
}
.card h2 + p,
.card h3 + p {
  margin-top: 14px;
}
nav {
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: min(calc(100% - 32px), 620px);
  padding: 7px;
  gap: 3px;
  border-radius: 21px;
  background: #1c2125fa;
  border-color: #59615e;
  box-shadow: 0 12px 35px #0008;
}
nav .navitem {
  height: 62px;
  min-width: 0;
  padding: 5px 0;
  align-content: center;
  gap: 5px;
  border-radius: 13px;
  color: #dce0dc;
}
nav .navitem.active {
  color: #172014;
  background: #c9f76a;
}
nav .navitem .ui-icon {
  width: 31px;
  height: 31px;
}
nav .navitem small {
  font-size: 12px;
  font-weight: 700;
}
.narrow h2 {
  margin: 32px 0 20px;
  line-height: 1.3;
}
.narrow h3 {
  margin-top: 28px;
}
.choice {
  padding: 17px 18px;
  gap: 14px;
  line-height: 1.45;
}
.choice .letter {
  flex: none;
}
.choice.selected,
.choice[aria-pressed="true"] {
  border-color: var(--lime);
  background: #303b2c;
}
.decision-report {
  display: grid;
  gap: 26px;
  max-width: 760px;
  margin: 0 auto;
  background: none;
  padding: 0;
  border: 0;
}
.report-top {
  padding: 14px 0 22px;
  border-bottom: 1px solid #444b4b;
}
.report-top h1 {
  margin: 14px 0 20px;
}
.xp-chip {
  display: inline-block;
  border: 1px solid #6e8059;
  background: #273222;
  color: var(--lime);
  padding: 6px 13px;
  font-weight: 750;
  border-radius: 50px;
}
.decision-review,
.unlock-block {
  padding: 26px;
  border-radius: 18px;
}
.decision-review {
  border: 1px solid #4f5a4e;
  background: #242b27;
}
.decision-review h2,
.unlock-block h2 {
  margin: 12px 0 0;
  line-height: 1.28;
}
.decision-report p {
  line-height: 1.7;
}
.decision-review > p,
.history-block p,
.unlock-block p {
  margin: 16px 0 0;
  color: #d9ded9;
}
.alternative {
  margin-top: 22px;
  border-left: 3px solid #c9f76a;
  padding: 2px 0 2px 16px;
}
.alternative h3 {
  margin-top: 6px;
}
.history-block {
  padding: 2px 8px;
}
.unlock-block {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #7a865c;
  background: linear-gradient(115deg, #303a28, #202721);
}
.unlock-block .ui-icon {
  width: 32px;
  height: 32px;
  color: var(--lime);
}
.xp-dialog {
  padding: 0;
  width: min(400px, calc(100% - 36px));
  border: 1px solid #899a70;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0, #394735 0, transparent 64%),
    #1b211f;
  color: white;
  box-shadow: 0 24px 90px #0009;
}
.xp-dialog[open] {
  animation: award-enter 0.28s cubic-bezier(0.2, 0.75, 0.3, 1) both;
}
.xp-dialog::backdrop {
  background: #080b0dd4;
  backdrop-filter: blur(6px);
}
.award-content {
  padding: 32px 26px 24px;
  text-align: center;
}
.award-insignia {
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px #a8c48c55,
    inset 0 0 20px #c9f76a16;
  background: #242e24;
}
.award-insignia svg {
  width: 80px;
  height: 80px;
}
.xp-dialog[open] .award-insignia {
  animation: award-medal 0.65s ease-out both;
}
.award-content h2 {
  font-size: 64px;
  line-height: 1.04;
  color: var(--lime);
  letter-spacing: -0.06em;
  margin: 10px 0 12px;
  font-variant-numeric: tabular-nums;
}
.award-content h2 span {
  font-size: 0.48em;
  letter-spacing: 0;
}
.award-content p {
  color: #dde3da;
  margin: 0 0 25px;
}
@keyframes award-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes award-medal {
  from {
    transform: scale(0.8);
    box-shadow: 0 0 0 12px #c9f76a00;
  }
  55% {
    transform: scale(1.06);
    box-shadow: 0 0 0 7px #c9f76a25;
  }
  to {
    transform: scale(1);
  }
}
@media (max-width: 720px) {
  header {
    padding: 14px 16px;
  }
  .brand img {
    max-width: 165px;
  }
  .head-actions {
    gap: 7px;
  }
  .head-actions #profile-icon {
    width: 48px;
    height: 48px;
  }
  main {
    padding: 23px 16px 145px;
  }
  .dashboard {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .board-cover {
    min-height: 235px;
  }
  .career-panel,
  .daily-panel,
  .areas-panel,
  .card.pad {
    padding: 21px;
  }
  .career-total {
    margin-top: 14px;
  }
  .categories {
    grid-auto-rows: 70px;
    gap: 9px;
  }
  .categories .category {
    gap: 8px;
    padding: 0 10px;
    font-size: 15px;
  }
  .categories .category .ui-icon {
    width: 23px;
    height: 23px;
  }
  .board-cover > div {
    bottom: 19px;
    left: 20px;
  }
  .head-actions #profile-icon .ui-icon {
    width: 29px;
    height: 29px;
  }
  nav {
    width: calc(100% - 18px);
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .decision-report {
    gap: 22px;
  }
}
@media (max-width: 360px) {
  .categories .category {
    padding: 0 8px;
    gap: 5px;
    font-size: 13px;
  }
  .categories .category .ui-icon {
    width: 20px;
    height: 20px;
  }
  header .brand {
    width: 145px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .xp-dialog[open],
  .xp-dialog[open] .award-insignia {
    animation: none;
  }
  .categories .category {
    transition: none;
  }
  .categories .category:hover {
    transform: none;
  }
}

.career-panel progress {
  appearance: none;
  background: #495245;
}
.career-panel progress::-webkit-progress-bar {
  background: #495245;
}
.career-panel progress::-webkit-progress-value {
  background: var(--lime);
}
.career-panel progress::-moz-progress-bar {
  background: var(--lime);
}
.board-cover.upcoming img {
  filter: grayscale(0.72) brightness(0.58);
  opacity: 0.69;
}
.upcoming p {
  max-width: 38ch;
}
.career-panel {
  min-width: 0;
}
.charged-track {
  width: 100%;
  position: relative;
  height: 10px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.charged-track i {
  position: absolute;
  inset: 3px 0;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none;
}
.charged-track i:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #e4ff9f88, transparent);
  width: 22%;
  animation: trailshine 3.4s ease-in-out infinite;
}
@keyframes trailshine {
  from {
    transform: translateX(-120%);
  }
  65%,
  to {
    transform: translateX(570%);
  }
}
.rank-road {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 9px 5px;
  margin: 21px 0;
  padding: 0;
  list-style: none;
}
.rank-road li {
  text-align: center;
  color: #bec4bc;
  font-size: 11px;
  line-height: 1.2;
}
.rank-road .career-badge {
  width: 38px;
  height: 38px;
  margin: auto;
  filter: grayscale(1);
  opacity: 0.4;
}
.rank-road .here {
  color: var(--lime);
  font-weight: 750;
}
.rank-road .here .career-badge {
  opacity: 1;
  filter: drop-shadow(0 0 6px #b6df7659);
}
.rank-road span {
  display: block;
  margin-top: 3px;
}
.daily-panel {
  background: radial-gradient(ellipse at 90% 10%, #327c9e, transparent 65%),
    linear-gradient(145deg, #292264, #253576 52%, #103b58);
  box-shadow:
    inset 0 1px #bab8ff6e,
    0 14px 32px #09091d44;
  border: 1px solid #6976b6;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.daily-panel:before,
.daily-panel:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40px;
  background-image: radial-gradient(
      circle at 20% 25%,
      #fff9 1.2px,
      transparent 2px
    ),
    radial-gradient(circle at 74% 63%, #9ce5ffac 1.5px, transparent 2.5px);
  background-size:
    100px 90px,
    150px 139px;
  animation: starwind 9s ease-in-out infinite alternate;
}
.daily-panel:after {
  background-size: 187px 151px;
  opacity: 0.45;
  animation-duration: 13s;
}
.daily-panel p {
  max-width: 32ch;
}
.daily-panel .eyebrow,
.daily-panel small {
  color: #e1ebff;
}
.daily-panel button {
  background: #e6f1ff;
  color: #15275a;
  border: 0;
}
@keyframes starwind {
  to {
    transform: translate(20px, -27px);
  }
}
.xp-dialog.verdict::backdrop {
  background: #05080aee;
  backdrop-filter: blur(10px);
}
.verdict .award-content h2 {
  font-size: clamp(34px, 7vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.verdict .earned {
  display: block;
  font-size: 42px;
  line-height: 1.2;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin: 5px 0 22px;
}
.reward-label {
  font-size: 13px;
  color: #ced3cb;
}
.verdict-symbol {
  border: 1px solid currentColor;
  color: var(--lime);
  background: #c9f76a15;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  font-size: 40px;
  font-weight: 700;
}
.verdict[open] .verdict-symbol {
  animation: award-medal 0.6s both;
}
.verdict.miss {
  background: radial-gradient(ellipse at top, #493034, #211b20 70%);
  border-color: #a76870;
}
.miss .verdict-symbol,
.miss .award-content h2 {
  color: #ffadb1;
}
.vault,
.sprint-intro {
  max-width: 690px;
  margin: auto;
  padding: clamp(20px, 5vw, 38px);
  border: 1px solid #505b65;
  border-radius: 24px;
  background: linear-gradient(155deg, #28313b, #191d26);
}
.vault p,
.sprint-intro p {
  margin: 18px 0;
}
.sprint-intro h1 {
  font-size: clamp(29px, 4.4vw, 45px);
  margin: 20px 0;
}
.sprint-meta,
.case-tools,
.inventory li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sprint-meta b {
  color: #d9f8a4;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.company-art {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: #141822;
  border-radius: 16px;
  margin: 18px 0;
}
.inventory {
  padding: 0;
  list-style: none;
  margin: 18px 0;
}
.inventory li {
  padding: 12px 0;
  border-bottom: 1px solid #404751;
}
.inventory b {
  color: #d5edd2;
}
.case-tools {
  flex-wrap: wrap;
  margin: 16px 0;
  color: #efafb7;
}
.case-tools div {
  display: flex;
  gap: 8px;
}
.case-tools button {
  padding: 8px;
  font-size: 13px;
}
.choice[hidden] {
  display: none;
}
.life-summary {
  font-size: 14px;
  color: #d5dbd3;
}
.vault button + .primary {
  margin-top: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .charged-track i:after,
  .daily-panel:before,
  .daily-panel:after,
  .verdict[open] .verdict-symbol {
    animation: none;
  }
}
#home-lives {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 3px 0 15px;
}
.hearts {
  font-size: 20px;
  letter-spacing: 2px;
  color: #f5a8ae;
}
.hearts i {
  color: #5c5455;
  font-style: normal;
}
.firm-now {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #1b2531;
  border: 1px solid #435668;
  border-radius: 12px;
  overflow: hidden;
  margin: 12px 0 20px;
}
.firm-now img {
  width: 76px;
  height: 66px;
  object-fit: cover;
}
.firm-now small {
  display: block;
  margin-top: 5px;
}

/* RC5 — identità, carriera e superficie interattiva del radar */
.motto-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  border: 1px solid #384743;
  border-radius: 22px;
  padding: 28px 16px 22px;
  margin: 0 0 22px;
  background: radial-gradient(
    ellipse at 50% 105%,
    #345343 0%,
    #1b2925 42%,
    #141b1b 78%
  );
  box-shadow: inset 0 1px #92ad9419;
}
.motto-hero h1 {
  margin: 16px auto 10px;
  max-width: 970px;
  font-size: clamp(30px, 4.5vw, 60px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.058em;
  text-wrap: balance;
}
.motto-hero h1 span,
.motto-hero h1 em {
  display: inline-block;
}
.motto-hero h1 em {
  color: #c9f76a;
  font-style: normal;
}
.motto-hero p {
  color: #d7e6d9;
  font-size: 14px;
}
.build-stamp {
  display: inline-block;
  color: #d8edd6;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 750;
}
.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: repeating-radial-gradient(
    ellipse at 50% 160%,
    transparent 0 35px,
    #b4e1b90f 36px 37px,
    transparent 38px 57px
  );
}
.hero-orbit:before,
.hero-orbit:after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(ellipse at 18% 52%, #8be7ac31, transparent 24%),
    radial-gradient(ellipse at 84% 42%, #8aa6ef24, transparent 19%);
  animation: aurora-flow 8s ease-in-out infinite alternate;
}
.hero-orbit:after {
  background: radial-gradient(circle, #e0f5c894 1px, transparent 2px) 0 0 /
    117px 87px;
  opacity: 0.46;
  animation-duration: 15s;
}
@keyframes aurora-flow {
  to {
    transform: translate3d(8%, -6%, 0) rotate(4deg);
  }
}
.motto-hero h1 > * {
  animation: motto-in 0.65s backwards cubic-bezier(0.18, 0.75, 0.24, 1);
}
.motto-hero h1 > :nth-child(2) {
  animation-delay: 0.1s;
}
.motto-hero h1 > :nth-child(3) {
  animation-delay: 0.22s;
}
@keyframes motto-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.dashboard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dashboard .career-panel {
  order: -4;
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px 20px;
  background: radial-gradient(ellipse at 5% 0, #334a33, transparent 48%),
    #1c2420;
}
.career-panel .career-ident,
.career-panel .career-total {
  grid-row: 1;
  margin: 0;
}
.career-panel .career-total {
  text-align: right;
}
.career-panel .charged-track,
.career-panel > .road-title,
.career-panel > .rank-road,
.career-panel > small {
  grid-column: 1/-1;
}
.career-panel .road-title {
  font-size: 17px;
  margin: 12px 0 3px;
}
.career-panel .rank-road {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 5px;
  margin: 2px 0 12px;
}
.rank-road li {
  min-width: 0;
  padding: 6px 2px;
  border: 1px solid #646f614d;
  border-radius: 11px;
  background: #28302b;
  font-size: 12px;
  font-weight: 600;
  color: #dce1db;
}
.rank-road li > small {
  display: block;
  font-size: 10px;
  color: #bdc8bd;
  margin-top: 4px;
  font-weight: 500;
}
.rank-road li .career-badge {
  width: 48px;
  height: 48px;
  opacity: 0.72;
}
.rank-road .here {
  border-color: #b8e576;
  background: #344329;
}
.rank-road .here .career-badge {
  animation: insignia-pulse 3.4s ease-in-out infinite alternate;
}
.career-panel .back-button {
  margin: 0;
  justify-self: end;
}
.career-panel #home-lives {
  margin: 0;
}
@keyframes insignia-pulse {
  to {
    filter: drop-shadow(0 0 7px #bef27799);
    transform: translateY(-2px);
  }
}
.dashboard .upcoming {
  order: -3;
  min-height: 230px;
}
.upcoming img {
  filter: grayscale(1) brightness(0.45);
}
.wip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #312b1e;
  color: #ffe2a7;
  border: 1px solid #c69d59;
  font-size: 11px;
  letter-spacing: 0.13em;
  border-radius: 6px;
  padding: 6px 9px;
  margin-bottom: 9px;
}
.wip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd187;
  animation: signal 2.6s ease-in-out infinite alternate;
}
@keyframes signal {
  to {
    box-shadow: 0 0 0 4px #ffc57922;
  }
}
.dashboard > .dna-glass {
  order: -2;
}
.dna-glass {
  position: relative;
  perspective: 850px;
  min-width: 0;
  isolation: isolate;
}
.dna-surface {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  padding: 22px 24px 18px;
  border: 1px solid #629c96;
  border-radius: 20px;
  background: radial-gradient(
    ellipse at var(--gx, 50%) var(--gy, 20%),
    #325459 0%,
    #1c373c 33%,
    #122329 80%
  );
  box-shadow:
    inset 0 1px #d2fffa50,
    0 8px 24px #07141b45;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.16s ease-out;
}
.dna-surface:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    116deg,
    transparent 18%,
    #c1fff80b 30%,
    #c1fff823 33%,
    transparent 45%
  );
  background-size: 150% 100%;
  background-position: var(--gx, 50%) center;
  pointer-events: none;
}
.dna-surface small {
  color: #c1d8d4;
}
.dna-surface p {
  margin: 10px 0;
}
.dna-surface .radar {
  height: 224px;
  max-height: none;
}
.radar .rings {
  fill: none;
  stroke: #70afa877;
  stroke-width: 1;
}
.radar text {
  fill: #e4f5ef;
  font: 600 11px system-ui;
}
.scanner {
  transform-origin: 180px 135px;
  animation: dna-sweep 8s linear infinite;
}
.radar-core {
  animation: core-pulse 2s ease-in-out infinite alternate;
}
@keyframes dna-sweep {
  to {
    transform: rotate(360deg);
  }
}
@keyframes core-pulse {
  to {
    opacity: 0.6;
    filter: drop-shadow(0 0 5px #90ffff);
  }
}
.glass-spark {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 3px;
  height: 3px;
  background: #acfff0;
  border-radius: 50%;
  box-shadow: 0 0 6px #87ffeb;
  animation: escape 0.78s ease-out forwards;
}
@keyframes escape {
  to {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.25);
  }
}
@media (max-width: 760px) {
  .dashboard {
    grid-template-columns: minmax(0, 1fr);
  }
  .career-panel .rank-road {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .career-panel .rank-road li {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    text-align: left;
    padding: 5px 4px;
    column-gap: 3px;
    font-size: 11px;
  }
  .career-panel .rank-road .career-badge {
    width: 30px;
    height: 34px;
    grid-row: span 2;
  }
  .career-panel .rank-road li span,
  .career-panel .rank-road li small {
    margin: 0;
    line-height: 1.2;
  }
  .career-panel .rank-road li small {
    font-size: 9px;
  }
  .motto-hero h1 span {
    display: block;
  }
  .motto-hero {
    padding: 18px 12px;
  }
  .motto-hero h1 {
    font-size: clamp(32px, 8.6vw, 52px);
    margin: 11px auto;
  }
  .dashboard .upcoming {
    min-height: 190px;
  }
  .career-panel #home-lives {
    flex-wrap: wrap;
  }
}
@media (max-width: 400px) {
  .dashboard .career-panel {
    padding: 17px;
    gap: 5px 8px;
  }
  .career-panel .rank-road li {
    display: block;
    text-align: center;
    min-height: 69px;
  }
  .career-panel .rank-road li span,
  .career-panel .rank-road li small {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dna-surface {
    transform: none !important;
  }
  .hero-orbit:before,
  .hero-orbit:after,
  .motto-hero h1 > *,
  .rank-road .here .career-badge,
  .wip i,
  .scanner,
  .radar-core,
  .glass-spark {
    animation: none !important;
  }
}

/* Career, field notes and discipline instruments */
.life-cells,
.vault-lives {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.life-cells i {
  display: grid;
  place-items: center;
  width: 29px;
  height: 31px;
  border-radius: 8px;
  border: 1px solid #495050;
  background: #242a2b;
}
.life-cells svg {
  width: 15px;
  fill: #45484c;
  stroke: #7b7c80;
  stroke-width: 1.4;
}
.life-cells .charged {
  border-color: #ae6b78;
  background: linear-gradient(150deg, #693d50, #332831);
  box-shadow: inset 0 1px #ffc6cd35;
}
.life-cells .charged svg {
  fill: #ffb3bd;
  stroke: #ffd5d8;
  filter: drop-shadow(0 0 4px #ef889755);
}
.career-panel .career-total {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 9px 17px;
  border: 1px solid #b8da776b;
  border-radius: 13px;
  color: #e3ffad;
  background: radial-gradient(ellipse at bottom, #425521, #202c20 80%);
  text-shadow: 0 0 14px #bdff6460;
  font-variant-numeric: tabular-nums;
}
.career-total:after,
.weekly-widget:before,
.curiosity-widget:before,
.trophy-orbit:before {
  content: "";
  position: absolute;
  pointer-events: none;
}
.career-total:after {
  inset: -35%;
  background: radial-gradient(circle, #eeffc6 1px, transparent 1.6px) 2px
    1px/39px 23px;
  opacity: 0.5;
  z-index: -1;
  animation: xp-dust 4s ease-in-out infinite alternate;
}
@keyframes xp-dust {
  to {
    transform: translate(8px, -9px);
    opacity: 0.2;
  }
}
.explore-title,
.play-hero h1,
.ranking-hero h1 {
  letter-spacing: -0.055em;
  line-height: 1.04;
}
.explore-title em,
.play-hero em {
  font-style: normal;
  color: #bcdbd4;
}
.dashboard .areas-panel,
.play-areas {
  background: linear-gradient(135deg, #223b39, #172925 62%, #14221f);
  border: 1px solid #426057;
  border-radius: 20px;
  padding: clamp(18px, 3vw, 32px);
}
.explore-title {
  font-size: clamp(27px, 3.2vw, 43px);
}
.categories .category,
.categories .category:hover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  color: var(--category-color);
  border: 1px solid color-mix(in srgb, var(--category-color) 50%, #263331);
  background: linear-gradient(
    117deg,
    color-mix(in srgb, var(--category-color) 19%, #141b20),
    color-mix(in srgb, var(--category-color) 7%, #121b21)
  );
  box-shadow: inset 0 1px #ffffff15;
}
.categories .category .ui-icon,
.categories .category span {
  position: relative;
  z-index: 1;
}
.motif {
  position: absolute;
  width: 65px;
  height: 60px;
  right: -9px;
  bottom: -10px;
  opacity: 0.32;
  pointer-events: none;
}
.motif-strategy {
  background: repeating-conic-gradient(currentColor 0 25%, transparent 0 50%) 0
    0/18px 18px;
  transform: rotate(-16deg);
  animation: chess 7s infinite steps(4);
}
@keyframes chess {
  to {
    background-position: 36px 18px;
  }
}
.motif-finance {
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 5px,
    transparent 5px 10px
  );
  clip-path: polygon(
    0 80%,
    16% 65%,
    28% 74%,
    50% 42%,
    65% 53%,
    100% 5%,
    100% 100%,
    0 100%
  );
  transform-origin: bottom;
  animation: market 3s ease-in-out infinite alternate;
}
@keyframes market {
  to {
    transform: scaleY(0.64);
  }
}
.motif-marketing {
  background: repeating-radial-gradient(
    circle at 90% 80%,
    transparent 0 8px,
    currentColor 9px 11px,
    transparent 12px 16px
  );
  animation: broadcast 3s ease-out infinite;
}
@keyframes broadcast {
  from {
    transform: scale(0.72);
    opacity: 0.5;
  }
  to {
    transform: scale(1.18);
    opacity: 0.12;
  }
}
.motif-innovation {
  background: linear-gradient(
    126deg,
    transparent 36%,
    currentColor 36% 43%,
    transparent 43% 51%,
    currentColor 51% 56%,
    transparent 56%
  );
  animation: current-flow 3.5s ease-in-out infinite;
}
@keyframes current-flow {
  50% {
    transform: translate(7px, -8px);
    opacity: 0.55;
  }
}
.motif-operations {
  background: repeating-linear-gradient(
    150deg,
    transparent 0 9px,
    currentColor 10px 13px,
    transparent 14px 19px
  );
  animation: conveyor 3s linear infinite;
}
@keyframes conveyor {
  to {
    background-position: 38px 0;
  }
}
.motif-leadership {
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: network 9s linear infinite;
}
.motif-leadership i,
.motif-leadership:after {
  content: "";
  position: absolute;
  top: 8px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    42px 28px currentColor,
    10px 44px currentColor;
}
@keyframes network {
  to {
    transform: rotate(360deg);
  }
}
.weekly-widget,
.curiosity-widget,
.play-hero,
.ranking-hero,
.rank-console,
.skill-detail,
.case-brief,
.case-decision {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(21px, 3.2vw, 40px);
  border-radius: 22px;
  border: 1px solid #57605c;
}
.weekly-widget {
  background: linear-gradient(125deg, #42272c, #2c1e27 85%);
  border-color: #855d68;
}
.curiosity-widget {
  background: radial-gradient(ellipse at 98% 5%, #865d38, transparent 55%),
    #3e2e24;
  border-color: #957659;
}
.weekly-widget small,
.curiosity-widget small,
.play-hero small,
.ranking-hero small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffddbd;
  margin-bottom: 12px;
}
.weekly-widget h2,
.curiosity-widget h2 {
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.curiosity-widget p {
  max-width: 40ch;
  line-height: 1.55;
}
.weekly-widget strong {
  font-size: 32px;
  color: #ffc7ca;
}
.weekly-widget strong em {
  font-size: 17px;
  font-style: normal;
}
.weekly-widget:before {
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background: repeating-linear-gradient(
    110deg,
    transparent 0 36px,
    #e5aab3 37px 38px,
    transparent 39px 63px
  );
  animation: week-lines 12s linear infinite;
}
@keyframes week-lines {
  to {
    background-position: 67px 0;
  }
}
.curiosity-widget:before {
  width: 300px;
  height: 300px;
  right: -165px;
  top: -135px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    ellipse,
    transparent 0 14px,
    #ffe8bd35 15px 16px,
    transparent 17px 23px
  );
  transform: scaleX(0.84);
  z-index: -1;
  animation: field-lens 10s ease-in-out infinite alternate;
}
@keyframes field-lens {
  to {
    transform: translate(-20px, 15px) scale(0.9);
  }
}
.weekly-bars {
  display: flex;
  gap: 5px;
  margin: 13px 0;
  max-width: 360px;
}
.weekly-bars i {
  height: 8px;
  border-radius: 8px;
  flex: 1;
  background: #71545d;
}
.weekly-bars .done {
  background: #ffb6b1;
  box-shadow: 0 0 8px #f8ab9e55;
}
.widget-link,
.focus-control {
  width: auto;
  border: 1px solid #ffffff52;
  background: #171b206e;
  color: inherit;
  border-radius: 10px;
  padding: 11px 15px;
  margin: 8px 0 0;
  font-weight: 650;
}
.play-grid,
.skill-layout,
.case-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.play-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 388px;
  background:
    linear-gradient(0deg, #0b2422 2%, #0e2221c9 55%, #1222214f),
    url(assets/board.webp) center/cover;
}
.play-hero h1 {
  font-size: clamp(38px, 4.4vw, 62px);
  margin: 6px 0;
}
.play-hero small {
  color: #bde4d8;
}
.play-hero p {
  max-width: 35ch;
  line-height: 1.5;
}
.play-hero button,
.skill-detail .primary {
  width: auto;
  padding-inline: 20px;
}
.case-layout.narrow {
  width: 100%;
  max-width: 1150px;
  margin: auto;
  align-items: start;
}
.case-brief {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--tone) 16%, #202c28),
    #17201f
  );
  border-color: color-mix(in srgb, var(--tone) 50%, #232b2d);
}
.case-brief h1 {
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.06em;
}
.case-brief .card {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.case-brief img.art {
  aspect-ratio: 16/10;
  height: auto;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.case-brief small {
  display: block;
  margin: 7px 0;
  color: #b9c1bf;
}
.case-brief p {
  line-height: 1.6;
  font-size: 18px;
}
.case-decision {
  background: linear-gradient(150deg, #28312e, #191e21);
  border-color: #495650;
}
.case-decision h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.16;
  margin-top: 0;
}
.case-decision .choice {
  background: #242e2c;
  border-color: #58645d;
}
.case-decision .choice.selected {
  background: #34452e;
  border-color: var(--lime);
}
.case-decision .primary {
  margin-top: 12px;
}
.skill-layout {
  grid-template-columns: 1.3fr 1fr;
}
.detail-glass .dna-surface {
  display: grid;
  align-content: center;
  text-align: center;
  padding: 18px 6px;
}
.interactive-radar {
  width: 100%;
  max-width: 560px;
  margin: auto;
  aspect-ratio: 4/3;
  position: relative;
}
.interactive-radar .radar {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  max-width: none;
}
.interactive-radar .radar text {
  display: none;
}
.radar-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  min-height: 40px;
  width: auto;
  padding: 4px 8px;
  background: #132a2ae8;
  color: var(--tone);
  border: 1px solid #638a8260;
  border-radius: 9px;
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 700;
  margin: 0;
}
.radar-pin[aria-pressed="true"],
.skill-ledger [aria-pressed="true"] {
  border-color: var(--tone);
  box-shadow: 0 0 10px color-mix(in srgb, var(--tone) 22%, transparent);
}
.skill-detail {
  height: 100%;
  background: linear-gradient(
    130deg,
    color-mix(in srgb, var(--tone) 17%, #1d2928),
    #1b2526
  );
  border-color: color-mix(in srgb, var(--tone) 50%, #263236);
}
.skill-symbol {
  color: var(--tone);
}
.skill-symbol svg {
  width: 35px;
  height: 35px;
}
.skill-detail h2 {
  margin: 12px 0 8px;
  font-size: 36px;
}
.skill-detail p {
  line-height: 1.55;
}
.skill-numbers {
  display: flex;
  gap: 32px;
  margin: 15px 0;
}
.skill-numbers b,
.skill-numbers small {
  display: block;
}
.skill-numbers b {
  font-size: 25px;
  color: var(--tone);
}
.focus-control {
  display: block;
}
.skill-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 15px 0;
}
.skill-ledger button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  text-align: left;
  gap: 8px;
  padding: 12px;
  background: #202a29;
  border: 1px solid #4c5853;
  border-radius: 12px;
  color: #e4eee9;
  margin: 0;
}
.skill-ledger svg {
  width: 20px;
  color: var(--tone);
}
.skill-ledger b {
  font-size: 12px;
  color: var(--tone);
}
.ranking-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(ellipse at right, #6e5833, transparent 55%),
    linear-gradient(110deg, #272133, #352737);
  border-color: #8d7159;
}
.ranking-hero h1 {
  margin: 6px 0;
  font-size: clamp(42px, 5vw, 72px);
}
.trophy-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(85px, 13vw, 151px);
  aspect-ratio: 1;
  border: 1px solid #ffe5ac77;
  border-radius: 50%;
  background: radial-gradient(#ffdda71c, transparent 65%);
  color: #ffdb9c;
}
.trophy-orbit svg {
  width: 44%;
  height: 44%;
  filter: drop-shadow(0 0 12px #ffd38165);
}
.trophy-orbit:before {
  inset: 7%;
  border: 2px dashed #ffdfa459;
  border-radius: 50%;
  animation: network 45s linear infinite;
}
.rank-console {
  margin-top: 15px;
  background: linear-gradient(125deg, #292631, #21232c);
  border-color: #555061;
}
.rank-filters {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.rank-filters fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.rank-filters legend {
  margin-bottom: 6px;
  color: #d1bbc8;
}
.rank-filters button {
  background: #302c37;
  color: #e7dfed;
  border: 1px solid #625867;
  border-radius: 9px;
  margin: 0 4px 4px 0;
  padding: 9px 13px;
}
.rank-filters [aria-pressed="true"] {
  background: #e7d0aa;
  color: #302622;
  border-color: #ffe3ac;
}
#results {
  margin-top: 18px;
  padding: 18px 0 0;
  border-top: 1px solid #645766;
}
.rank-result {
  display: grid;
  grid-template-columns: 3em 1fr auto;
  padding: 13px;
  border-bottom: 1px solid #584d55;
}
.rank-result b,
.rank-result strong {
  color: #ffdaa7;
}
.vault {
  background: linear-gradient(135deg, #372832, #202b2d);
  border: 1px solid #846874;
}
.vault-lives {
  gap: 10px;
}
.vault .inventory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
}
.vault .inventory li {
  border: 1px solid #70616d;
  background: #ffffff09;
  border-radius: 10px;
  padding: 12px;
}
.vault .inventory b {
  color: #ffc9df;
}
@media (max-width: 750px) {
  .play-grid,
  .skill-layout,
  .case-layout.narrow {
    grid-template-columns: minmax(0, 1fr);
  }
  .play-hero {
    min-height: 275px;
  }
  .skill-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .play-grid .categories {
    grid-auto-rows: 68px;
  }
  .case-layout {
    gap: 12px;
  }
  .case-brief img.art {
    aspect-ratio: 2.4;
  }
  .case-decision,
  .case-brief {
    padding: 20px;
  }
  .weekly-widget,
  .curiosity-widget {
    min-height: 220px;
  }
}
@media (max-width: 455px) {
  .career-panel #home-lives {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
  .career-panel .back-button {
    grid-column: 1/-1;
    justify-self: start;
    margin-top: 6px;
  }
  .categories .category {
    gap: 6px;
  }
  .motif {
    width: 43px;
    opacity: 0.23;
  }
  .skill-ledger button {
    grid-template-columns: 18px 1fr;
    gap: 3px;
  }
  .skill-ledger b {
    grid-column: 2;
  }
  .rank-console {
    padding: 17px;
  }
  .rank-filters {
    gap: 12px;
  }
  .ranking-hero {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motif,
  .career-total:after,
  .trophy-orbit:before,
  .weekly-widget:before,
  .curiosity-widget:before {
    animation: none !important;
  }
}
.skill-layout .dna-glass,
.skill-detail {
  margin: 0;
}
.skill-sector {
  fill: var(--tone);
  fill-opacity: 0;
  pointer-events: all;
  cursor: pointer;
}
.skill-sector[data-current="true"] {
  fill-opacity: 0.12;
  stroke: var(--tone);
  stroke-width: 0.7;
  stroke-opacity: 0.65;
}
.skill-sector:hover {
  fill-opacity: 0.18;
}

/* Action controls and vitality */
button.primary,
.skill-detail button.primary,
.vault button.primary,
.daily-panel button.primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 21px;
  border: 1px solid #b7e994;
  border-radius: 13px;
  background: linear-gradient(105deg, #cdf593, #9de5b8 72%, #a3e2cf);
  color: #182c21;
  font:
    650 16px/1.25 system-ui,
    sans-serif;
  letter-spacing: -0.025em;
  box-shadow:
    inset 0 1px #ffffff80,
    0 4px 16px #0b201f35;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
button.primary:not(:disabled):after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
button.primary:not(:disabled):before {
  content: "";
  position: absolute;
  inset: -65% -100%;
  z-index: -1;
  background: linear-gradient(
    112deg,
    transparent 42%,
    #ffffff68 49%,
    transparent 55%
  );
  animation: action-glint 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes action-glint {
  0%,
  45% {
    transform: translateX(-46%);
  }
  85%,
  100% {
    transform: translateX(46%);
  }
}
button.primary:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px #b2f2ac23;
  background-color: #b7ebaa;
}
button.primary:disabled {
  opacity: 0.48;
}
.bonus-icon {
  width: 21px;
  height: 21px;
  flex: none;
  vertical-align: middle;
}
.bonus-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bonus-skip {
  color: #b9cdff;
}
.bonus-half {
  color: #d5b3ff;
}
.bonus-time {
  color: #8ce2db;
}
.bonus-life {
  color: #ffadc4;
}
.case-tools button .bonus-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}
.vault .inventory li {
  gap: 8px;
}
.vault .vault-lives {
  display: flex;
  width: fit-content;
}
.life-clock {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 11px;
  background: linear-gradient(110deg, #473743, #332c37);
  border: 1px solid #996f82;
  border-radius: 12px;
  padding: 9px 14px;
  margin: 14px 0;
  color: #ffe3ef;
  font-weight: 600;
  font-size: 15px;
}
.bonus-sand {
  color: #ffbfcf;
  animation: turn-hourglass 5s ease-in-out infinite;
}
@keyframes turn-hourglass {
  0%,
  68% {
    transform: rotate(0);
  }
  92%,
  100% {
    transform: rotate(180deg);
  }
}
#weekly-dialog {
  color: #f4f5ee;
  width: min(460px, calc(100% - 24px));
  max-height: 88dvh;
  margin: auto;
  padding: 0;
  border: 1px solid #96bba6;
  border-radius: 23px;
  background: radial-gradient(ellipse at 100% 0%, #455544, transparent 60%),
    linear-gradient(155deg, #233b35, #182a2a 60%, #212434);
  box-shadow: 0 28px 90px #040c0bc0;
}
#weekly-dialog[open] {
  animation: goal-arrive 0.32s ease-out;
}
#weekly-dialog::backdrop {
  background: #050c10af;
  backdrop-filter: blur(5px);
}
.goal-form {
  padding: clamp(20px, 5vw, 32px);
  text-align: left;
}
.goal-emblem {
  float: right;
  display: grid;
  place-items: center;
  font-size: 34px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #f4ff99;
  background: linear-gradient(140deg, #64783e, #324b38);
  border: 1px solid #bdd484;
  box-shadow: 0 0 24px #d4f98125;
  animation: goal-star 3s ease-in-out infinite alternate;
}
.goal-kicker {
  color: #cff4bd;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 750;
}
.goal-form h2 {
  max-width: 80%;
  font-size: clamp(33px, 5vw, 43px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 12px 0;
}
.goal-form p {
  color: #d6e1d8;
  line-height: 1.5;
  margin: 12px 0;
}
.goal-days,
.goal-choices {
  display: grid;
  gap: 5px;
}
.goal-days {
  grid-template-columns: repeat(7, 1fr);
  margin: 20px 0;
}
.goal-day {
  display: grid;
  gap: 5px;
  text-align: center;
  padding: 8px 0;
  border-radius: 9px;
  background: #ffffff09;
  border: 1px solid #68827455;
}
.goal-day small {
  font-size: 10px;
}
.goal-day.played {
  background: #c2e690;
  color: #213628;
}
.goal-day[aria-current="date"] {
  outline: 2px solid #adcfaa;
}
.goal-choices {
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  border: 0;
  margin: 0 0 17px;
}
.goal-choices legend {
  font-weight: 700;
  margin-bottom: 8px;
}
.goal-choices label {
  position: relative;
  cursor: pointer;
}
.goal-choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.goal-choices span {
  display: grid;
  text-align: center;
  padding: 9px 0;
  background: #23312f;
  border: 1px solid #688278;
  border-radius: 12px;
  color: #d2dfd6;
  font-size: 12px;
}
.goal-choices b {
  font-size: 22px;
}
.goal-choices input:checked + span {
  background: #3a5031;
  border-color: #ccf285;
  color: #dbffa2;
}
.goal-choices input:focus-visible + span {
  outline: 3px solid white;
}
.goal-form .primary,
.goal-later {
  width: 100%;
}
.goal-later {
  color: #d8e2dc;
  background: transparent;
  border: 0;
  margin-top: 6px;
  padding: 9px;
}
.goal-error:empty {
  display: none;
}
.weekly-bars i {
  min-width: 0;
}
@keyframes goal-star {
  to {
    transform: rotate(7deg);
    box-shadow: 0 0 22px #ceff773c;
  }
}
@keyframes goal-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
@media (max-width: 490px) {
  .vault .inventory {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  button.primary:not(:disabled):before,
  .bonus-sand,
  #weekly-dialog[open],
  .goal-emblem {
    animation: none;
  }
  button.primary:not(:disabled):hover {
    transform: none;
  }
}

/* Profile and identity */
.profile-hero,
.login-deck,
.play-focus {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #62847b;
  border-radius: 22px;
  padding: clamp(22px, 4vw, 42px);
}
.profile-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: radial-gradient(ellipse at 95% 15%, #4a7168, transparent 56%),
    linear-gradient(120deg, #182a29, #233d40);
  margin: 12px 0 16px;
}
.profile-hero h1 {
  font-size: clamp(32px, 4.8vw, 66px);
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 0;
}
.profile-hero p {
  margin: 10px 0 0;
}
.portrait-seal {
  position: relative;
  flex: none;
  width: clamp(76px, 12vw, 135px);
  aspect-ratio: 1;
  border: 1px solid #b8e3cc83;
  border-radius: 50%;
  color: #c9efdd;
  background: radial-gradient(circle at 30% 25%, #567d72, #213c3e 73%);
  display: grid;
  place-items: center;
}
.portrait-seal:before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 2px dashed #d3f7dd55;
  animation: network 40s linear infinite;
}
.portrait-seal svg {
  width: 85%;
  height: 85%;
}
.login-deck {
  display: grid;
  gap: 16px;
  background: linear-gradient(125deg, #253334, #1b252b);
  border-color: #465e5b;
}
.login-deck label {
  display: grid;
  gap: 7px;
  color: #d6e5dc;
  font-size: 14px;
  font-weight: 600;
}
.login-deck input {
  width: 100%;
  margin: 0;
  border-radius: 12px;
  background: #111e21;
  color: #edf6f0;
  border: 1px solid #50645f;
  padding: 13px;
}
.login-deck #login-feedback {
  margin: 0;
  color: #ffd3ba;
}
.login-deck #login-feedback:empty {
  display: none;
}
.login-deck [hidden] {
  display: none !important;
}
.auth-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.auth-tile {
  --a: #adf3bc;
  display: grid;
  grid-template-columns: 1fr auto;
  justify-items: start;
  align-content: space-between;
  text-align: left;
  gap: 13px;
  min-height: 110px;
  padding: 16px;
  margin: 0;
  color: var(--a);
  background: linear-gradient(
    128deg,
    color-mix(in srgb, var(--a) 24%, #1b292c),
    color-mix(in srgb, var(--a) 6%, #172426)
  );
  border: 1px solid color-mix(in srgb, var(--a) 54%, #203431);
  border-radius: 16px;
  box-shadow: inset 0 1px #ffffff29;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.auth-tile[data-act="signup"] {
  --a: #d3b6ff;
}
.auth-tile[data-act="guest"] {
  --a: #93d9ee;
}
.auth-tile .ui-icon {
  width: 27px;
  height: 27px;
}
.auth-tile i {
  grid-column: 2;
  grid-row: 1;
  font-style: normal;
}
.auth-tile strong {
  grid-row: 2;
  grid-column: 1/-1;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.auth-tile:hover,
.auth-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 6px 18px #08151260,
    inset 0 1px #ffffff55;
}
.privacy-foot {
  display: block;
  width: fit-content;
  margin: 20px auto;
  background: transparent;
  color: #c0cec6;
  border: 0;
  padding: 12px;
  font-weight: 600;
}
.dna-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0;
  border-radius: 20px;
  z-index: 1;
  cursor: pointer;
}
.dna-open:focus-visible {
  outline: 3px solid #bbfce1;
  outline-offset: 2px;
}
.play-hero .primary {
  margin-top: 18px;
}
.play-focus {
  border-color: color-mix(in srgb, var(--focus) 50%, #2a4640);
  background: radial-gradient(
      ellipse at 100% 0,
      color-mix(in srgb, var(--focus) 20%, transparent),
      transparent 72%
    ),
    #1c2b2c;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.play-focus:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: repeating-radial-gradient(
    ellipse at 100% 115%,
    transparent 0 18px,
    #eaffec10 19px 20px,
    transparent 21px 32px
  );
  animation: field-lens 12s ease-in-out infinite alternate;
}
.play-focus small {
  color: var(--focus);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.play-focus h3 {
  font-size: clamp(25px, 3vw, 40px);
  letter-spacing: -0.045em;
  margin: 7px 0;
}
.play-focus p {
  margin: 6px 0 9px;
}
.play-focus p b {
  font-size: 25px;
  color: var(--focus);
}
.focus-glyph {
  color: var(--focus);
  margin-bottom: 10px;
}
.focus-glyph svg {
  width: 30px;
  height: 30px;
}
.play-grid:has(.play-focus) .play-areas {
  grid-column: 1/-1;
}
.play-grid:has(.play-focus) .play-areas .categories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.case-decision .play-focus,
.decision-report .play-focus {
  margin-top: 17px;
  padding: 18px;
}
.case-decision .play-focus h3 {
  margin: 3px 0;
  font-size: 22px;
}
.case-decision .focus-glyph {
  display: none;
}
.source-pass {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  border: 1px solid #a4a5df;
  border-radius: 12px;
  background: linear-gradient(110deg, #35314e, #393c62, #28304c);
  background-size: 155% 100%;
  text-decoration: none;
  color: #eee9ff;
  font-weight: 700;
  animation: source-light 5s ease-in-out infinite alternate;
}
.source-pass small {
  display: block;
  color: #d0cef3;
  font-weight: 500;
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.source-pass b {
  font-size: 21px;
}
.source-pass:hover {
  border-color: #ebe6ff;
}
@keyframes source-light {
  to {
    background-position: 100% 0;
  }
}
.dashboard .career-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tier) 50%, #273a31);
  background: radial-gradient(
      ellipse at 6% 4%,
      color-mix(in srgb, var(--tier) 22%, #17231e),
      transparent 68%
    ),
    #1a231f;
}
.career-panel .career-total {
  color: var(--tier);
  border-color: color-mix(in srgb, var(--tier) 50%, transparent);
  background: color-mix(in srgb, var(--tier) 9%, #18231e);
  text-shadow: 0 0 var(--glow) color-mix(in srgb, var(--tier) 55%, transparent);
}
.career-panel progress::-webkit-progress-value {
  background: var(--tier);
}
.career-panel progress::-moz-progress-bar {
  background: var(--tier);
}
.tier-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.tier-sky i {
  position: absolute;
  width: var(--size);
  height: var(--size);
  background: var(--tier);
  clip-path: polygon(
    50% 0,
    61% 37%,
    100% 50%,
    61% 62%,
    50% 100%,
    37% 62%,
    0 50%,
    37% 37%
  );
  animation: tier-shine 3s ease-in-out infinite alternate;
}
.career-panel[data-display-tier="8"] {
  box-shadow:
    inset 0 0 56px #d8ab322e,
    0 0 22px #d3ac3224;
}
@keyframes tier-shine {
  0% {
    opacity: 0.15;
    transform: translateY(3px) scale(0.6);
  }
  100% {
    opacity: 0.85;
    transform: translateY(-6px) scale(1.25);
  }
}
.rank-road li.preview-tier {
  border-color: var(--tier);
  color: var(--tier);
  background: color-mix(in srgb, var(--tier) 13%, #212a24);
}
.rank-road li.preview-tier .career-badge {
  opacity: 1;
  filter: drop-shadow(0 0 4px var(--tier));
}
.rank-road li:focus-visible {
  outline: 2px solid white;
}
@media (max-width: 650px) {
  .auth-tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-tile {
    grid-template-columns: auto 1fr auto;
    min-height: 55px;
    align-items: center;
    align-content: center;
    padding: 13px;
  }
  .auth-tile strong {
    grid-row: 1;
    grid-column: 2;
  }
  .auth-tile i {
    grid-column: 3;
  }
  .play-grid:has(.play-focus) .play-areas .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-seal:before,
  .tier-sky i,
  .play-focus:before,
  .source-pass {
    animation: none;
  }
  .auth-tile:hover {
    transform: none;
  }
}
.welcome-dialog {
  width: min(640px, calc(100% - 26px));
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  color: #eff9f3;
  border: 1px solid #86aaa0;
  border-radius: 23px;
  background: radial-gradient(ellipse at 98% 0%, #365c50, transparent 60%),
    linear-gradient(140deg, #243634, #19272b);
  box-shadow: 0 24px 90px #070f12a0;
}
.welcome-dialog::backdrop {
  background: #050c10c2;
  backdrop-filter: blur(5px);
}
.entry-body,
.tour-card {
  padding: clamp(20px, 4vw, 36px);
}
.entry-brand,
.tour-card small {
  font-weight: 800;
  color: #d2f38e;
  letter-spacing: 0.1em;
  font-size: 12px;
}
.entry-body h2,
.tour-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 12px 0;
}
.entry-body p,
.tour-card p {
  line-height: 1.5;
  color: #d5e2da;
  margin: 10px 0 19px;
}
.entry-form label {
  display: grid;
  gap: 5px;
  margin: 10px 0;
}
.entry-body [hidden] {
  display: none !important;
}
.welcome-dialog.touring {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}
.welcome-dialog.touring::backdrop {
  background: transparent;
  backdrop-filter: none;
}
.tour-light {
  position: absolute;
  border: 2px solid #bbf6b5;
  border-radius: 15px;
  box-shadow:
    0 0 0 200vmax #06100ee6,
    0 0 18px #a7eb9e;
  pointer-events: none;
}
.tour-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, calc(100% - 18px));
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid #759b8a;
  border-radius: 20px;
  background: linear-gradient(125deg, #294039, #182b2b);
  box-shadow: 0 12px 48px #040e0d88;
  animation: tour-in 0.3s ease-out;
}
.tour-card h2 {
  font-size: clamp(23px, 4vw, 32px);
}
.tour-card > div {
  display: flex;
  gap: 9px;
  align-items: center;
}
.tour-card > div button {
  margin: 0;
}
.tour-skip {
  display: block;
  width: fit-content;
  margin: 10px 0 0 auto;
  border: 0;
  background: none;
  padding: 8px 3px;
  color: #d5f4e1;
  font-weight: 700;
}
.case-brief img.art {
  aspect-ratio: 68/30;
  object-fit: contain;
  background: #19272b;
}
@keyframes tour-in {
  from {
    opacity: 0;
    translate: 0 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tour-card {
    animation: none;
  }
}
.touring > .tour-skip {
  position: absolute;
  right: max(15px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  background: #1c302cf5;
  border: 1px solid #82a693;
  border-radius: 11px;
  padding: 10px 16px;
  min-height: 44px;
  margin: 0;
}
.touring > .tour-card {
  max-height: calc(100dvh - 72px);
}

/* Opening shot: brass-edged doors, forward dolly, a short descent into the chair. */
#arrival {position:fixed;inset:0;margin:0;padding:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;background:#101412;color:#fff;overflow:hidden;perspective:1050px}
#arrival::backdrop {background:#101412}
.arrival-view,.entrance-door,.invitation {position:absolute;inset:0}
.arrival-view {background:linear-gradient(0deg,#1014108c,transparent 60%),url("assets/board.webp") center 53%/cover;animation:take-chair 3.05s ease both}
.entrance-door {width:50.2%;background:repeating-linear-gradient(90deg,#24201c 0,#2e2923 3%,#28241f 3.4%,#1e1c19 3.8%);box-shadow:inset 0 0 80px #08090899;animation:open-door 1.65s cubic-bezier(.44,.02,.26,1) both}
.entrance-door:before {content:"";position:absolute;inset:8% 8%;border:1px solid #bca77a66;box-shadow:inset 0 0 0 6px #19191566}
.entrance-door:after {content:"";position:absolute;right:4%;top:44%;height:15%;width:7px;border-radius:8px;background:linear-gradient(90deg,#847051,#f3deac,#766142);box-shadow:2px 2px 6px #111}
.entrance-door.left {transform-origin:left;--open:-94deg}
.entrance-door.right {left:auto;right:0;transform-origin:right;--open:94deg}
.entrance-door.right:after {right:auto;left:4%}
@keyframes open-door {0%,9%{transform:rotateY(0)}100%{transform:rotateY(var(--open));visibility:hidden}}
@keyframes take-chair {0%,15%{transform:scale(1);filter:brightness(.75)}72%{transform:scale(1.24) translateY(-1.4%);filter:brightness(.98)}100%{transform:scale(1.29) translateY(-3%);filter:blur(4px) brightness(.49)}}
.invitation {display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;background:radial-gradient(ellipse,#12161355,transparent 75%);animation:invited .55s 2.7s both}
.invitation .eyebrow {color:#f4dfa8;letter-spacing:.2em}
.invitation h1 {font-size:clamp(2rem,5vw,4.8rem);letter-spacing:-.055em;line-height:1.04;margin:.42em 0 .6em;color:#fff}
.invitation h1 strong {font-size:1.2em;color:#efffa8}
#take-seat,.next-decision {position:relative;display:inline-flex;align-items:center;justify-content:center;gap:1em;border-radius:100px;font:inherit;font-weight:800;cursor:pointer;min-height:54px;overflow:hidden}
#take-seat {padding:.8em 1.7em;border:1px solid #f3db9d;background:linear-gradient(125deg,#211e18cb,#52442ee8);color:#ffebbf;box-shadow:0 0 32px #ffd37d42}
#take-seat span,.next-decision span {animation:urge 2.4s ease-in-out infinite}
@keyframes invited {from{opacity:0;visibility:hidden;transform:translateY(12px)}to{opacity:1;visibility:visible;transform:none}}
@keyframes urge {50%{transform:translateX(4px)}}
.decision-report {--verdict:#cffb7c}
.decision-report.incorrect {--verdict:#ffac99}
.decision-report .report-top {position:relative;isolation:isolate;overflow:hidden;text-align:center;padding:clamp(32px,6vw,78px) 12px;border:1px solid color-mix(in srgb,var(--verdict) 31%,transparent);border-radius:26px;background:radial-gradient(ellipse at 50% 115%,color-mix(in srgb,var(--verdict) 19%,transparent),transparent 72%),#141b21}
.report-top:before {content:"";position:absolute;inset:-35%;z-index:-1;opacity:.18;background:repeating-radial-gradient(ellipse at center,transparent 0 40px,var(--verdict) 41px,transparent 42px 65px);animation:report-ripple 6s ease-in-out infinite alternate}
@keyframes report-ripple {to{transform:scale(1.085);opacity:.07}}
.decision-report .report-top h1 {font-size:clamp(2.45rem,7vw,6rem);line-height:1;letter-spacing:-.06em;margin:.28em auto;color:#fff;animation:invited .65s ease-out both}
.report-top .xp-chip {display:inline-block;font-size:clamp(1.4rem,3.6vw,3rem);font-variant-numeric:tabular-nums;font-weight:850;color:var(--verdict);border-color:var(--verdict);background:#151c1e;padding:.12em .67em;animation:xp-heartbeat 2s ease-in-out infinite}
@keyframes xp-heartbeat {50%{transform:scale(1.055);box-shadow:0 0 25px color-mix(in srgb,var(--verdict) 34%,transparent)}}
.decision-report .archive {position:relative;isolation:isolate;overflow:hidden;padding:clamp(24px,4vw,46px);border:1px solid #858ed47a;border-radius:24px;background:linear-gradient(140deg,#292544,#162939);color:#f2f3ff}
.archive:after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,transparent 34%,#9da7ff12 48%,transparent 64%);background-size:220% 100%;animation:archive-light 8s ease-in-out infinite alternate}
@keyframes archive-light {to{background-position:100% 0}}
.archive .eyebrow {color:#c9baff}
.decision-report .archive h2,.decision-report .decision-review h2 {margin:.5em 0}
.decision-report .archive p,.decision-review p {max-width:74ch;line-height:1.65}
.unlock-block {flex-wrap:wrap}
.tree-link {margin:.6rem 0 .25rem auto;align-self:flex-end;padding:.65rem 1rem;background:#1e2a24;border:1px solid #bddf8b88;color:#d7f0b4;border-radius:12px;font:inherit;font-weight:700;cursor:pointer}
.next-decision {width:100%;padding:1rem 2rem;color:#24190c;border:1px solid #ffe1a2;background:linear-gradient(105deg,#ffb469,#ffe9b7 44%,#ffc56f 62%,#ffad80);background-size:170% 100%;animation:archive-light 3.4s ease infinite alternate;box-shadow:0 8px 26px #d8893c33;font-size:1.2rem}
.next-decision span {display:grid;place-items:center;width:2em;height:2em;background:#372711;color:#ffdda7;border-radius:50%}
.strategy-atlas {max-width:1000px;margin:auto}
.strategy-atlas>header {position:static;display:block;background:none;border:0;padding:24px 0}
.atlas-layout {display:grid;grid-template-columns:minmax(160px,1fr) 2.3fr;gap:clamp(16px,4vw,52px)}
.atlas-branches {display:grid;gap:9px;align-content:start}
.atlas-branches button,.tree-leaves li {padding:14px;border-radius:14px;border:1px solid #ffffff28;background:#1d242d;color:#f2f3f4}
.atlas-branches button {display:flex;align-items:center;gap:8px;font:inherit;font-weight:700;cursor:pointer;text-align:left}
.atlas-branches small,.tree-leaves small {margin-left:auto}
.atlas-layout .ui-icon {width:22px;height:22px;color:var(--tone)}
.atlas-branches [aria-pressed=true],.tree-leaves li:not(.locked) {border-color:var(--tone);background:color-mix(in srgb,var(--tone) 12%,#19232a)}
.atlas-layout section h2 {display:flex;align-items:center;gap:10px}
.tree-leaves {list-style:none;padding:0 0 0 23px;margin-left:10px;border-left:1px solid var(--tone)}
.tree-leaves li {position:relative;margin:10px 0}
.tree-leaves li:before {content:"";position:absolute;width:23px;right:100%;top:22px;border-top:1px solid var(--tone)}
.tree-leaves small {display:block;color:#c5ced6;font-size:.76em}
.tree-leaves summary {cursor:pointer;font-weight:750}
.tree-leaves .locked {color:#a6b3bf}
.dashboard .career-panel {background:radial-gradient(ellipse at 9% 0%,color-mix(in srgb,var(--tier) 24%,#1a202a),transparent 74%),#191e26}
.career-panel .rank-road li:is(.here,.preview-tier,:hover,:focus-visible) {color:var(--badge-tone);border-color:var(--badge-tone);background:color-mix(in srgb,var(--badge-tone) 17%,#1d232a);box-shadow:0 0 12px color-mix(in srgb,var(--badge-tone) 23%,transparent)}
.career-panel .rank-road li:is(.here,.preview-tier) .career-badge {filter:drop-shadow(0 0 5px var(--badge-tone));animation:none}
@media(max-width:650px){.atlas-layout{grid-template-columns:1fr}.atlas-branches{grid-template-columns:1fr 1fr}.atlas-branches button{padding:10px 7px;font-size:.86rem}.tree-link{margin-left:0}.unlock-block .tree-link{margin-left:auto}}
@media(prefers-reduced-motion:reduce){#arrival *, .decision-report *, .report-top:before,.archive:after{animation:none!important}.entrance-door{display:none}.arrival-view{filter:brightness(.45)}}

/* The luminance envelope is clipped to the career card. */
.dashboard .career-panel {
  background:radial-gradient(ellipse at 16% -8%,color-mix(in srgb,var(--tier) var(--wash,9%),#182028),transparent 69%),#171d24;
  box-shadow:inset 0 0 calc(5px + 25px * var(--power,0)) color-mix(in srgb,var(--tier) var(--wash,9%),transparent);
}
.tier-sky:before,.tier-sky:after {content:"";position:absolute;pointer-events:none}
.tier-sky:before {inset:-65% -25%;opacity:var(--power,0);background:repeating-conic-gradient(from 40deg at 18% 52%,transparent 0 9deg,color-mix(in srgb,var(--tier) 9%,transparent) 11deg,transparent 17deg 26deg);animation:rank-caustic 14s ease-in-out infinite alternate}
.tier-sky:after {inset:6px;border-radius:inherit;opacity:var(--power,0);border:1px solid color-mix(in srgb,var(--tier) 34%,transparent);mask-image:linear-gradient(125deg,black,transparent 35%,transparent 64%,black)}
.tier-sky i {box-shadow:0 0 7px var(--tier);animation-duration:4s}
.career-ident h2 {color:var(--tier);text-shadow:0 0 var(--glow) color-mix(in srgb,var(--tier) 34%,transparent)}
.dashboard .career-panel[data-display-tier="8"] {border-color:#ffdb80;background:radial-gradient(ellipse at 12% -16%,#9e752f 0%,#433722 36%,transparent 74%),linear-gradient(135deg,#302a20,#191c21 66%,#46371e);box-shadow:inset 0 0 40px #ffca665c,inset 0 1px 1px #fff1bd}
[data-display-tier="8"] .career-ident h2 {color:#ffe197;background:linear-gradient(100deg,#ffd079,#fff5c7,#f2b949,#fff2ad);background-size:200%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 0 22px #f6c35a44;animation:gilt-title 6s ease-in-out infinite alternate}
[data-display-tier="8"] .career-ident .career-badge {filter:drop-shadow(0 0 8px #ffd274)}
@keyframes gilt-title {to{background-position:100% 50%}}
@keyframes rank-caustic {to{transform:rotate(7deg) scale(1.04)}}
.modes-soon {position:relative;isolation:isolate;overflow:hidden;min-height:190px;display:grid;align-content:end;padding:clamp(22px,4vw,40px);border:1px solid #8981be77;border-radius:24px;background:linear-gradient(120deg,#27223a,#191e31 68%,#343356);color:#ece9ff}
.modes-soon h2 {margin:0;line-height:1.03;font-size:clamp(1.7rem,3.8vw,3.4rem);letter-spacing:-.05em}
.modes-soon em {color:#bdb1f5;font-style:normal}
.mode-orb {position:absolute;z-index:-1;width:170px;aspect-ratio:1;right:-12px;top:4%;transform:rotate(-25deg);background:radial-gradient(ellipse,#c1bbff4a,transparent 63%)}
.mode-orb i {position:absolute;inset:13%;border:1px solid #cfcbffaa;border-radius:50%;transform:rotateX(42deg);animation:orb-precess 12s linear infinite}
.mode-orb i:nth-child(2){animation-delay:-4s}.mode-orb i:nth-child(3){animation-delay:-8s}
@keyframes orb-precess {from{transform:rotate(0) scaleX(.42)}to{transform:rotate(360deg) scaleX(.42)}}
.head-actions #streak {display:grid;justify-items:center;gap:2px;padding:4px 8px;border:1px solid #82b5a83b;border-radius:12px;background:#192223;color:#e2ece6}
.series-seals {display:flex;gap:4px}.series-seals i{color:#697783;opacity:.55;line-height:0}
.series-seals i.lit {color:var(--seal);opacity:1;filter:drop-shadow(0 0 4px var(--seal))}
.series-seals svg {width:15px;height:15px}
#streak strong {font-size:.67rem;font-variant-numeric:tabular-nums;letter-spacing:.035em}
.series-panel {border-radius:18px;border:1px solid #86bea75e;background:linear-gradient(135deg,#213735,#19232c);padding:clamp(15px,3vw,28px);margin-top:20px}
.series-panel h2 em {display:inline-block;color:#a8e7cf;font-style:normal}.series-panel ol{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;padding:0}
.series-panel li{display:grid;gap:3px;padding:10px;border-radius:13px;border:1px solid #8999a34d;background:#19232b}.series-panel li[aria-current]{border-color:var(--seal)}
.series-panel li svg{width:24px;color:var(--seal)}.series-panel li small{font-size:.78rem}
.curiosity-close {color:#ffdf95;font-weight:700}.curiosity-widget .source-pass{margin:8px 10px 8px 0}
@media(max-width:450px){.series-seals{gap:2px}.series-seals svg{width:12px;height:12px}.head-actions #streak{padding:4px}.head-actions{gap:4px}.modes-soon{min-height:150px}}
@media(prefers-reduced-motion:reduce){.tier-sky:before,.tier-sky i,[data-display-tier="8"] .career-ident h2,.mode-orb i{animation:none}.mode-orb i:nth-child(2){transform:rotate(60deg) scaleX(.42)}.mode-orb i:nth-child(3){transform:rotate(120deg) scaleX(.42)}}

.case-stakes{font-size:.84rem;color:#d3dcdc}.case-stakes b{color:#b5edda}

.firm-art {position:relative;display:grid;place-items:center;isolation:isolate;min-width:0}
.firm-art:before {content:"";position:absolute;inset:45% 13% 5%;z-index:-1;border-radius:50%;background:radial-gradient(ellipse,#94e6cc33,transparent 68%)}
.firm-art img {display:block;width:100%;height:100%;max-height:210px;object-fit:contain;filter:drop-shadow(0 9px 12px #08151c66)}
.sprint-intro>.firm-art {height:165px}
.sprint-live,.sprint-result {width:min(780px,100%);margin:12px auto 0}
.firm-hud,.result-stage {isolation:isolate;overflow:hidden;border:1px solid #73beb57a;border-radius:24px;background:radial-gradient(ellipse at 18% 25%,#39615a,transparent 66%),#17262e}
.firm-hud {padding:14px 22px;display:grid;grid-template-columns:115px minmax(0,1fr);align-items:center;gap:8px 20px}
.firm-hud .firm-art {height:97px}.firm-info h2{margin:3px 0;font-size:clamp(1.3rem,3vw,2rem)}.firm-info span{font-size:.84rem;color:#c8e8dc}
.firm-info progress {display:block;width:100%;height:7px;margin-top:8px;accent-color:#b8efd8}
.growth-track {display:flex;list-style:none;padding:0;margin:16px 0 8px;grid-column:1/-1}
.growth-track li {position:relative;flex:1;min-width:0;text-align:center;display:grid;justify-items:center;align-content:start;gap:3px;color:#abb4bb;font-size:clamp(.66rem,1.4vw,.85rem);line-height:1.18}
.growth-track li:before{content:"";position:absolute;top:5px;left:-50%;width:100%;border-top:1px solid #687e82;z-index:-1}.growth-track li:first-child:before{display:none}
.growth-track i{width:11px;height:11px;border-radius:50%;background:#31434a;border:2px solid #8b9ea1}.growth-track .current i,.growth-track .reached i{background:#acf2cc;border-color:#d9ffec}.growth-track .current{color:#d4ffe7;font-weight:800}.growth-track .current i{box-shadow:0 0 12px #a0faca}.growth-track small{font-size:.95em}.growth-track li span{max-width:100%}
.sprint-live .sprint-meta {margin:18px 0 8px}.sprint-live>h1{font-size:clamp(1.3rem,3.4vw,2.25rem);line-height:1.16;margin:8px 0 14px}
.firm-hud.promoted {animation:firm-up 1.2s ease-out both}.firm-hud.promoted img{animation:firm-rise .65s ease-out}.firm-hud.scored .firm-info progress {animation:firm-up .6s}
@keyframes firm-up{0%{box-shadow:inset 0 0 42px #b2ffca85,0 0 25px #9affd250}100%{box-shadow:inset 0 0 0 transparent}}
@keyframes firm-rise{from{transform:translateY(6px) scale(.86);opacity:.4}to{transform:none;opacity:1}}
.result-stage {text-align:center;padding:clamp(22px,4vw,40px);background:radial-gradient(ellipse at 50% 60%,#355950,transparent 66%),#19282e}
.result-stage p{margin:14px 0 2px}.result-stage h1 {font-size:clamp(2.4rem,6vw,4.8rem);letter-spacing:-.055em;line-height:1.04;margin:0;color:#e4ffdb;animation:title-glow 3.4s ease-in-out infinite alternate}
@keyframes title-glow{to{text-shadow:0 0 24px #a7ecba69}}
.result-stage .firm-art{height:clamp(130px,20vw,205px);margin:12px auto}
.sprint-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}
.sprint-stats div{border:1px solid #58677088;border-radius:14px;background:#202a31;text-align:center;padding:11px 4px;font-size:.83rem}.sprint-stats b{display:block;color:#f3f7f0;font-size:1.35rem}
.prize-room{position:relative;isolation:isolate;overflow:hidden;border-radius:22px;padding:clamp(18px,4vw,32px);background:linear-gradient(125deg,#3a2b50,#202435);border:1px solid #c5a8f18c}.prize-room:before{content:"";position:absolute;inset:-12%;z-index:-1;background-image:radial-gradient(#dcb9ff88 1px,transparent 2px),radial-gradient(#ffdc8980 1px,transparent 2px);background-size:54px 49px,79px 61px;animation:prize-drift 8s linear infinite alternate}
@keyframes prize-drift{to{transform:translateY(-20px)}}
.prize-room h2{margin:0}.prize-grid{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:12px}.prize-grid li{display:flex;align-items:center;gap:9px;padding:8px 14px 8px 8px;border:1px solid #d3b2e26b;border-radius:15px;background:#241d30}
.prize-seal{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#e0b9ff,#9375bf);color:#291c3f;animation:firm-rise .65s ease-out}.prize-seal .bonus-icon{width:25px;height:25px;color:inherit}
.finish-notice{position:fixed;z-index:20;top:20%;left:50%;transform:translateX(-50%);display:grid;gap:5px;width:min(92vw,400px);text-align:center;padding:20px;border:1px solid #c9efd7;border-radius:18px;background:#20352ffc;box-shadow:0 10px 45px #0008;pointer-events:none;animation:notice 2.6s both}.finish-notice b{color:#d3fbd9;font-size:1.6rem}@keyframes notice{0%,100%{opacity:0}12%,82%{opacity:1}}
.case-decision p.case-source{margin:20px 0 8px}.case-source .source-pass{margin:0}.life-emblem{display:inline-flex;align-items:center;gap:8px;border:1px solid #e9879b73;border-radius:14px;background:#38252e;padding:4px 12px 4px 4px;color:#ffd6df}.life-emblem i{display:grid;place-items:center;background:linear-gradient(145deg,#ffbdc9,#d55777);width:35px;height:35px;color:#51162c;border-radius:10px}.life-emblem .bonus-icon{width:24px;height:24px;color:inherit}
.entry-body .privacy-foot,.entry-form .privacy-foot{display:block;text-align:center;margin:15px auto 0;color:#d8e4df}
@media(max-width:500px){.firm-hud{grid-template-columns:78px 1fr;gap:4px 10px;padding:10px 12px}.firm-hud .firm-art{height:70px}.growth-track{margin:9px 0 3px}.sprint-stats div{font-size:.75rem}.sprint-result .result-stage{padding:20px 12px}}
@media(prefers-reduced-motion:reduce){.firm-hud.promoted,.firm-hud.promoted img,.firm-hud.scored progress,.result-stage h1,.prize-room:before,.prize-seal,.finish-notice{animation:none}}
.privacy-sheet{width:min(760px,94%);margin:auto;padding:32px 12px 65px}.privacy-sheet section{margin:16px 0;padding:18px 22px;border:1px solid #82a79b55;border-radius:18px;background:#1e2a2b}.privacy-sheet h2{margin-top:0}.privacy-sheet p{line-height:1.65}
