/* NIGHTLIFE player experience: one identity, focused places, a clear week boundary. */
:root {
  --night: #0d0b15;
  --panel: #191522;
  --ink: #f7f1fa;
  --muted: #bcb1c9;
  --line: #3c334b;
  --copper: #ed79bf;
  --mint: #93e2d3;
  --red: #ff9cae;
  --nav-height: 70px;
  --dock-height: 76px;
}
body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(ellipse at 80% -15%, #4b255a38, transparent 55%),
    var(--night);
  color: var(--ink);
  line-height: 1.55;
}
h1,
h2,
h3 {
  font-family: inherit;
  text-transform: none;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 18px;
}
p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
button,
input,
select {
  font: inherit;
  font-size: 14px;
  border-radius: 12px;
}
button {
  min-height: 46px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
button.primary {
  background: #ec80c3;
  color: #211020;
  border: 1px solid #f6a0d6;
  box-shadow: none;
  font-weight: 750;
}
button.primary:hover {
  background: #f5a5d9;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #d5bbff;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
}
input,
select {
  background: #100e19;
  border: 1px solid #63536f;
  max-width: 100%;
  color: var(--ink);
  min-width: 0;
}
small {
  letter-spacing: 0;
  text-transform: none;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 10px;
  font-weight: 750;
  color: #cbb1df;
}
.shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  max-width: 1450px;
  margin: auto;
}
aside {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  height: 100vh;
  padding: 28px 20px;
  background: #100e19;
  border-right: 1px solid var(--line);
}
aside .brand {
  font-size: 16px;
  letter-spacing: 0.12em;
  margin-bottom: 35px;
}
nav[aria-label="Sections"] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
}
nav[aria-label="Sections"] button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 12px 16px;
  text-align: left;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}
nav[aria-label="Sections"] button svg {
  width: 23px;
  height: 23px;
  flex: none;
}
nav[aria-label="Sections"] button.selected {
  border-radius: 14px;
  background: #312039;
  color: #f7a2d9;
  box-shadow: none;
}
main {
  min-width: 0;
  padding-bottom: 110px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 32px;
  border-bottom: 1px solid #352b4038;
  min-height: 70px;
  background: transparent;
}
header > div:last-child {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wordmark {
  font-weight: 850;
  font-size: 12px;
  letter-spacing: 0.13em;
}
.wordmark span {
  display: block;
  color: var(--copper);
  font-size: 9px;
  letter-spacing: 0.4em;
}
.profile-shortcut {
  width: 44px;
  padding: 0;
  font-size: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #261a34;
}
.profile-shortcut:before {
  content: "◇";
  font-size: 24px;
  color: #d8b1f1;
}
header small {
  font-size: 11px;
  white-space: nowrap;
}
.content {
  max-width: 1050px;
  padding: 20px 32px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.page-heading h1 {
  font-size: 24px;
  margin: 0;
}
.back-link {
  padding: 5px 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.week-dock {
  position: fixed;
  z-index: 60;
  bottom: 0;
  left: 210px;
  right: 0;
  min-height: 76px;
  padding: 12px max(28px, calc((100vw - 1100px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #14101ef5;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.week-dock > div {
  min-width: 110px;
}
.week-dock b {
  font-size: 24px;
  line-height: 1.1;
}
.week-dock b span {
  font-size: 15px;
  color: var(--muted);
  font-weight: 450;
}
.week-dock small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.week-dock > button {
  min-width: 190px;
  min-height: 48px;
}
.recap-dock {
  justify-content: center;
}
.recap-dock > button {
  min-width: 260px;
}
.identity-card {
  border: 1px solid #594060;
  background: linear-gradient(125deg, #2f1b3f, #1c1527 66%, #22233a);
  border-radius: 21px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.identity-top {
  display: flex;
  align-items: center;
  gap: 16px;
}
.identity-top > div {
  flex: 1;
  min-width: 0;
}
.identity-top h2 {
  font-size: 26px;
  margin: 4px 0 5px;
  overflow-wrap: anywhere;
}
.identity-top p {
  margin: 0;
  font-size: 12px;
  color: #d1c4dc;
}
.identity-top > .quiet {
  align-self: flex-start;
  padding: 8px 10px;
  min-height: 40px;
  font-size: 12px;
}
.portrait {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border: 2px solid #a689bb;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: #30263c;
}
.portrait svg {
  width: 100%;
  height: 100%;
  display: block;
}
.portrait-large {
  width: 75px;
  height: 75px;
}
.tone-1 {
  background: #263846;
  border-color: #82acae;
}
.tone-2 {
  background: #382b48;
  border-color: #b594d0;
}
.tone-3 {
  background: #403039;
  border-color: #d4a0b9;
}
.identity-stats {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #ad8ebc35;
}
.identity-stats small {
  font-size: 11px;
  color: #d1bfdc;
  display: block;
  margin-bottom: 4px;
}
.identity-stats b {
  font-size: 22px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.identity-stats b span {
  font-size: 11px;
  color: #b9a8c7;
  margin-left: 2px;
  font-weight: 400;
}
.reputation-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  font-size: 10px;
  color: #d4bfdc;
}
.home-heading {
  margin: 25px 0 7px;
}
.home-heading h2 {
  font-size: 24px;
  margin: 4px 0;
}
.life-intro {
  font-size: 13px;
  margin: 0 0 17px;
}
.quick-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 19px;
}
.life-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1a1624;
  border: 1px solid var(--line);
  text-align: left;
  padding: 17px;
  width: 100%;
  min-width: 0;
  white-space: normal;
  color: var(--ink);
}
.life-link > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.life-link b {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 680;
  overflow-wrap: anywhere;
}
.life-link small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 4px;
}
.link-symbol {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: #32203f;
  color: #e9a6d6;
  font-size: 23px;
}
.quick-pair .life-link {
  padding: 14px 12px;
  gap: 9px;
  align-items: flex-start;
}
.quick-pair .life-link .link-symbol {
  width: 29px;
  height: 29px;
  font-size: 20px;
}
.quick-pair .life-link b {
  font-size: 13px;
}
.quick-pair .life-link small {
  font-size: 10px;
}
.quick-pair .life-link > span:last-child {
  display: none;
}
.moment-card {
  padding: 23px;
  background: linear-gradient(135deg, #2e1d41, #1b1529);
  border: 1px solid #795086;
  border-radius: 18px;
  margin: 15px 0 23px;
  box-shadow: inset 3px 0 #ca89d7;
}
.moment-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #ceb6d7;
}
.moment-heading .pill {
  font-size: 10px;
  color: #eab2e3;
  border-color: #7c4e8c;
}
.moment-card h3 {
  font-size: 22px;
  margin: 14px 0 8px;
}
.moment-card p {
  font-size: 13px;
  margin-bottom: 18px;
  color: #d1c1db;
}
.moment-card button {
  width: 100%;
}
.week-ahead {
  margin: 22px 0;
}
.week-ahead h3 {
  margin: 0 0 10px;
}
.week-ahead > .life-link {
  margin: 8px 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.section-heading h3 {
  margin: 0;
}
.section-heading button {
  font-size: 11px;
  padding: 6px 10px;
}
.home-links,
.menu-list {
  display: grid;
  gap: 10px;
}
.quiet-week {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.pacing-invite {
  padding: 18px;
  border: 1px solid #9e82ad;
  background: #2c1d36;
  border-radius: 16px;
  margin: 16px 0;
}
.pacing-invite button {
  width: 100%;
}
.more-world {
  margin: 28px 0;
}
.career-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 22px;
}
.career-identity h2 {
  margin: 4px 0;
}
.career-identity p {
  margin: 0;
  font-size: 12px;
}
.action-feedback {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  margin-bottom: 16px;
  border: 1px solid #45665f;
  background: #152923;
  border-radius: 13px;
  font-size: 13px;
}
.action-feedback > div {
  flex: 1;
  min-width: 0;
}
.action-feedback p {
  font-size: 12px;
  color: #c6e6da;
  margin: 4px 0 0;
}
.action-feedback button {
  font-size: 11px;
  min-height: 38px;
  padding: 5px 8px;
}
.action-feedback.error {
  border-color: #a15e73;
  background: #3a1d2a;
}
.action-feedback.info {
  border-color: #6e5283;
  background: #271b34;
}
.card {
  border-radius: 16px;
  background: #191521;
  box-shadow: none;
}
.hint {
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  padding: 15px;
}
.pill {
  font-size: 11px;
}
.training-studio {
  margin-top: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: #1b1626;
}
.training-studio h2 {
  margin: 7px 0 10px;
}
.training-studio > p {
  font-size: 13px;
}
.training-studio form {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
.training-studio label {
  font-size: 12px;
}
.field-purpose {
  font-size: 12px;
  padding: 8px 0;
}
.training-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.training-options > div {
  padding: 16px;
  border: 1px solid var(--line);
  background: #120f1c;
  border-radius: 14px;
}
.training-options h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.training-options p {
  font-size: 12px;
}
.training-options button {
  width: 100%;
  min-height: 48px;
  padding: 9px;
  font-size: 12px;
}
.recovery-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 20px;
}
.recovery-row p {
  margin: 3px 0 0;
  font-size: 11px;
}
.recovery-row button {
  font-size: 12px;
  flex: none;
}
.attribute-overview {
  margin-top: 23px;
}
.attribute-overview h2 {
  font-size: 21px;
}
.attribute-meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.attribute-meters span {
  float: right;
  font-size: 12px;
  color: var(--muted);
}
.ability-number {
  float: right;
  font-size: 17px;
  color: #edb0df;
}
.ability-number small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 3px;
}
.skills {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.skill {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.skill b {
  font-size: 12px;
}
.skill small {
  font-size: 10px;
}
.skill .meter {
  margin: 8px 0 0;
}
.section-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.section-tabs button {
  font-size: 12px;
  flex: 1;
  white-space: nowrap;
  padding: 9px;
}
.section-tabs .selected {
  background: #3a2348;
  color: #efb1df;
  border-color: #94679e;
}
.job-current {
  background: linear-gradient(110deg, #2a1a39, #1b1725);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid #5e426b;
}
.job-current h2 {
  margin: 8px 0;
}
.role-list {
  display: grid;
  gap: 10px;
}
.role-entry {
  border: 1px solid var(--line);
  border-radius: 13px;
}
.role-entry > summary {
  padding: 15px;
  font-weight: 650;
  justify-content: space-between;
}
.role-entry > summary:after {
  content: "+";
  color: var(--copper);
}
.role-entry[open] > summary:after {
  content: "−";
}
.role-entry .card {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0 0 13px 13px;
  margin: 0;
  padding: 18px;
}
.role-entry .stat {
  font-size: 25px;
}
.standing-details {
  margin: 15px 0;
}
.career-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.week-review {
  max-width: 680px;
  margin: auto;
}
.recap-title {
  text-align: center;
  padding: 12px 0 19px;
}
.recap-title h2 {
  font-size: 32px;
  margin: 9px 0;
}
.recap-title p {
  margin: 0;
  font-size: 13px;
}
.recap-money {
  background: linear-gradient(140deg, #2c1a3b, #1a202d);
  border: 1px solid #67516c;
  border-radius: 19px;
  padding: 23px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.recap-money small {
  color: var(--muted);
  font-size: 12px;
}
.recap-money strong {
  font-size: 39px;
  letter-spacing: -0.05em;
  line-height: 1.2;
}
.recap-money > span {
  font-size: 14px;
  font-weight: 650;
}
.recap-finance {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.recap-finance .row,
.recap-attributes .row {
  padding: 8px 0;
  font-size: 12px;
}
.recap-finance summary {
  font-size: 12px;
  color: #d3aedf;
}
.recap-finance details p {
  font-size: 12px;
}
.week-review > section {
  margin: 23px 0;
}
.week-review > section h3 {
  font-size: 18px;
  margin-bottom: 11px;
}
.week-review .row {
  font-size: 12px;
  gap: 12px;
}
.recap-attributes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 12px 0;
}
.recap-highlights > p {
  padding: 14px 16px;
  background: #1c1728;
  border-left: 2px solid #ab7ec3;
  border-radius: 0 11px 11px 0;
  margin: 10px 0;
  font-size: 13px;
}
.recap-next {
  display: flex;
  flex-direction: column;
  gap: 13px;
  border: 1px solid #805f8b;
  border-radius: 14px;
  padding: 18px;
  margin: 22px 0;
}
.recap-next b {
  font-size: 14px;
}
.milestone {
  padding: 18px;
  background: #322141;
  border: 1px solid #b69762;
  border-radius: 15px;
  margin: 20px 0;
}
.milestone b {
  color: #f2d79a;
}
.recap-continue {
  display: none;
}
.positive {
  color: #9ee3ca;
}
.negative {
  color: #ffa0b6;
}
.life-person {
  display: flex;
  gap: 13px;
  align-items: center;
}
.life-person h3 {
  margin: 0 0 4px;
}
.life-person p {
  margin: 0;
  font-size: 11px;
}
.scene-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #262141, #172633);
  border: 1px solid #625070;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 20px;
}
.scene-card:after {
  content: "";
  position: absolute;
  width: 140px;
  height: 160px;
  right: 10px;
  bottom: 0;
  opacity: 0.3;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, #ac8bcc 18px 20px),
    linear-gradient(0deg, #693c84, transparent);
  clip-path: polygon(
    0 100%,
    0 40%,
    17% 40%,
    17% 15%,
    28% 15%,
    28% 33%,
    40% 33%,
    40% 0,
    53% 0,
    53% 45%,
    73% 45%,
    73% 20%,
    87% 20%,
    87% 60%,
    100% 60%,
    100% 100%
  );
  pointer-events: none;
}
.scene-card h2 {
  font-size: 31px;
  margin: 8px 0;
}
.scene-card p {
  max-width: 75%;
  font-size: 13px;
}
.scene-venue {
  padding: 18px;
  border: 1px solid var(--line);
  background: #191421;
  border-radius: 15px;
}
.scene-venue h3 {
  margin: 7px 0;
}
.scene-venue p {
  font-size: 12px;
}
.scene-venue .venue-poster {
  height: 55px;
  background: linear-gradient(115deg, #452844, #1c3445);
  border-left: 3px solid #d188bd;
  border-radius: 6px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  padding: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f5d4ec;
}
.scene-venue .actions {
  margin-top: 12px;
}
.compact-people {
  display: grid;
  gap: 12px;
}
.compact-people .card {
  padding: 17px;
}
.compact-people .actions {
  margin-top: 13px;
}
.forecast-details {
  margin-top: 14px;
}
#notice {
  position: static;
  transform: none;
  max-width: none;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}
#notice:empty {
  display: none;
}
.landing {
  max-width: 1100px;
}
.landing .hint {
  font-size: 12px;
}
.landing-grid {
  gap: 35px;
}
.landing h1 {
  font-family: inherit;
  font-weight: 850;
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: -0.06em;
  text-transform: none;
}
.landing h1 em {
  color: #eb9bd0;
}
.landing form h2 {
  font-size: 25px;
}
.landing .brand {
  font-size: 15px;
}
.landing .world-list h2 {
  font-size: 23px;
}
@media (max-width: 720px) {
  .shell {
    display: block;
  }
  aside {
    display: contents;
  }
  aside > .brand {
    display: none;
  }
  nav[aria-label="Sections"] {
    position: fixed;
    z-index: 80;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--nav-height) + env(safe-area-inset-bottom));
    padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    background: #110e1bfa;
    border-top: 1px solid var(--line);
    backdrop-filter: blur(15px);
    margin: 0;
  }
  nav[aria-label="Sections"] button {
    min-width: 0;
    min-height: 55px;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    text-align: center;
    padding: 5px 2px;
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
    border-radius: 10px;
    background: transparent;
    border: 0;
  }
  nav[aria-label="Sections"] button svg {
    width: 21px;
    height: 21px;
  }
  nav[aria-label="Sections"] button.selected {
    background: #322039;
    box-shadow: none;
    border-radius: 11px;
  }
  header {
    padding: 10px 17px;
    min-height: 65px;
  }
  header > div:last-child {
    gap: 10px;
  }
  .content {
    padding: 17px 17px 25px;
  }
  .page-heading {
    margin-bottom: 15px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  main {
    padding-bottom: calc(
      var(--nav-height) + var(--dock-height) + env(safe-area-inset-bottom)
    );
  }
  .week-dock {
    left: 0;
    bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
    padding: 10px 17px;
    min-height: var(--dock-height);
    gap: 13px;
  }
  .week-dock > button {
    min-width: 0;
    flex: 1;
    min-height: 48px;
    padding: 12px;
  }
  .week-dock > div {
    min-width: 95px;
  }
  .recap-dock > button {
    max-width: 600px;
  }
  .identity-card {
    padding: 18px;
    border-radius: 18px;
  }
  .identity-top {
    gap: 12px;
  }
  .identity-top h2 {
    font-size: 23px;
  }
  .identity-top > .quiet {
    font-size: 10px;
    padding: 7px;
    min-height: 34px;
  }
  .portrait-large {
    width: 62px;
    height: 62px;
  }
  .identity-stats {
    margin-top: 17px;
    padding-top: 14px;
    gap: 8px;
  }
  .identity-stats b {
    font-size: 22px;
  }
  .identity-stats small {
    font-size: 10px;
  }
  .reputation-line {
    font-size: 9px;
    gap: 5px;
  }
  .moment-card {
    padding: 19px;
  }
  .moment-card h3 {
    font-size: 21px;
  }
  .home-heading h2 {
    font-size: 22px;
  }
  .life-link {
    padding: 16px 14px;
  }
  .card {
    padding: 18px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .skills {
    grid-template-columns: 1fr 1fr;
  }
  .training-studio {
    padding: 17px;
  }
  .training-options {
    gap: 9px;
  }
  .training-options > div {
    padding: 13px 11px;
  }
  .training-options h3 {
    font-size: 14px;
  }
  .training-options p {
    font-size: 11px;
    line-height: 1.55;
  }
  .training-options button {
    font-size: 11px;
  }
  .recovery-row {
    align-items: flex-start;
  }
  .recovery-row button {
    max-width: 125px;
    white-space: normal;
  }
  .section-tabs {
    overflow: visible;
  }
  .section-tabs button {
    white-space: normal;
    font-size: 11px;
    padding: 8px 5px;
  }
  .recap-title h2 {
    font-size: 30px;
  }
  .recap-money strong {
    font-size: 36px;
  }
  .scene-card {
    padding: 22px;
  }
  .landing {
    padding: 24px 18px;
  }
  .landing-top {
    margin-bottom: 22px;
  }
  .landing-grid {
    gap: 25px;
  }
  .landing h1 {
    font-size: 53px;
  }
  .landing-grid > div > .hint {
    display: none;
  }
  .landing-grid > div > p {
    font-size: 14px;
  }
  .landing form {
    padding: 20px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .action-feedback {
    font-size: 12px;
  }
  .subnav {
    gap: 5px;
  }
  .subnav button {
    font-size: 11px;
    padding: 8px;
    min-height: 44px;
  }
}
@media (max-width: 360px) {
  .content {
    padding: 14px 13px 22px;
  }
  .identity-top > .quiet {
    display: none;
  }
  .identity-stats b {
    font-size: 20px;
  }
  .quick-pair {
    gap: 8px;
  }
  .quick-pair .life-link {
    padding: 12px 9px;
    gap: 7px;
  }
  .quick-pair .link-symbol {
    display: none;
  }
  .training-options {
    grid-template-columns: 1fr;
  }
  .skills {
    grid-template-columns: 1fr;
  }
  .reputation-line {
    flex-direction: column;
    gap: 2px;
  }
  .wordmark {
    font-size: 10px;
  }
  .week-dock {
    padding: 10px 13px;
  }
  .week-dock > div {
    min-width: 80px;
  }
  .week-dock > button {
    font-size: 13px;
  }
  .scene-card p {
    max-width: 90%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.character-hero {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0 15px;
  border-bottom: 1px solid var(--line);
}
.character-hero h2 {
  font-size: 21px;
  margin: 0 0 4px;
}
.character-hero p {
  font-size: 11px;
  margin: 0;
}
.character-hero + .training-studio {
  margin-top: 17px;
}
.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.skill-top b {
  font-size: 12px;
}
.skill-top strong {
  color: #e7add9;
  font-size: 17px;
  white-space: nowrap;
}
.skill-top strong small {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 2px;
}
.scene-more,
.people-paging {
  margin: 18px 0;
}
.scene-news {
  padding: 14px;
  border-left: 2px solid #8e6ca5;
  background: #1a1524;
  border-radius: 0 10px 10px 0;
}
.scene-news small {
  font-size: 10px;
  color: #c4a5d6;
}

.venue-shortcuts.section-tabs {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
  gap: 7px;
  margin: 18px 0;
  scroll-margin-top: 16px;
}
.venue-shortcuts.section-tabs button {
  flex: 1 1 22%;
  min-width: 65px;
  padding: 9px 7px;
}
.venue-grid {
  display: block;
}
.operating-brief,
.portfolio-details,
.venue-exit,
.play-settings,
.decision-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
}
.operating-brief > summary,
.portfolio-details > summary,
.venue-exit > summary,
.play-settings > summary,
.decision-list > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 13px;
}
.decision-preview {
  text-align: left;
  padding: 13px 15px;
  white-space: normal;
}
.decision-preview b,
.decision-preview small {
  display: block;
}
.decision-preview small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.decision-preview.selected {
  border-color: #c994d6;
  background: #2a1d37;
}
.decision-list .menu-list {
  margin-top: 12px;
}
.opportunities .subnav {
  flex-wrap: wrap;
}

.header-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}
.header-status .cash-figure {
  font-size: 12px;
  font-weight: 650;
  color: #d5c5df;
  line-height: 1.3;
}
.sr-announcement {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.save-advanced {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.save-advanced summary,
.recovery-options summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}

button.back-link,
.identity-top > .quiet,
.action-feedback button {
  min-height: 44px;
  min-width: 44px;
}
.eyebrow {
  font-size: 12px;
}
nav[aria-label="Sections"] button span {
  font-size: 12px;
}
@media (max-width: 900px) {
  .shell small,
  .wordmark span,
  header small,
  .eyebrow,
  .reputation-line,
  .quick-pair .life-link small,
  .moment-heading,
  .moment-heading .pill,
  .life-link small,
  .week-dock small,
  .scene-news small,
  .skill small,
  .skill-top strong small,
  .character-hero p,
  .section-heading button,
  .recap-finance summary,
  .recovery-row p {
    font-size: 12px;
  }
  .wordmark span {
    font-size: 10px;
  }
  .moment-heading {
    flex-wrap: wrap;
    gap: 5px;
  }
  .identity-card {
    padding: 17px;
  }
  .home-heading {
    margin-top: 18px;
  }
  .home-heading h2 {
    font-size: 22px;
  }
  .quick-pair .life-link {
    padding: 12px 10px;
  }
  .quick-pair .life-link .link-symbol {
    display: none;
  }
  .training-options p {
    line-height: 1.45;
  }
  .training-studio {
    padding: 16px;
  }
  .training-studio > p {
    margin: 8px 0 12px;
  }
  .field-purpose {
    padding: 0;
  }
  .training-options > div {
    padding: 12px;
  }
  .training-options h3 {
    font-size: 15px;
  }
  .character-hero {
    padding: 6px 0 12px;
  }
  .character-hero + .training-studio {
    margin-top: 12px;
  }
}
@media (max-width: 340px) {
  .training-studio .eyebrow {
    letter-spacing: 0.05em;
    font-size: 11px;
  }
  .training-studio h2 {
    font-size: 23px;
  }
  .training-options > div {
    padding: 12px;
  }
  .training-options p {
    margin: 8px 0;
  }
  .training-studio > p {
    font-size: 12px;
  }
  .character-hero p {
    font-size: 12px;
  }
  .wordmark span {
    font-size: 10px;
  }
  .identity-top h2 {
    font-size: 22px;
  }
}

.money-housing,
.money-books,
.money-insolvency {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.money-housing > summary,
.money-books > summary,
.money-insolvency > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 13px;
}

.wordmark,
.wordmark span {
  font-size: 12px;
}
.pill,
.action-feedback button {
  font-size: 12px;
}
.profile-shortcut {
  font-size: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.profile-shortcut:before {
  display: none;
}
.profile-shortcut .portrait {
  border: 0;
  width: 40px;
  height: 40px;
}
@media (max-width: 340px) {
  .wordmark,
  .wordmark span,
  .training-studio .eyebrow {
    font-size: 12px;
  }
}

.shell small,
.reputation-line,
.moment-heading,
.moment-heading .pill,
.life-link small,
.quick-pair .life-link small,
.week-dock small,
.skill-top strong small,
.section-heading button,
.character-hero p,
.recovery-row p,
.scene-news small,
.identity-top p,
.identity-top > .quiet,
.career-identity p,
.recap-finance summary {
  font-size: 12px;
}
.shell main button {
  font-size: 14px;
}
.shell main .back-link,
.shell main .quiet,
.shell main .section-tabs button,
.shell main .training-options button {
  font-size: 12px;
}
.shell main .life-link b {
  font-size: 14px;
}
.shell main .life-link small {
  font-size: 12px;
}

.identity-stats b span {
  font-size: 12px;
}

.training-options p,
.life-person p,
.venue-poster {
  font-size: 12px;
}
@media (max-width: 900px) {
  .identity-top .eyebrow,
  .home-heading .eyebrow {
    display: none;
  }
  .identity-stats {
    margin-top: 12px;
    padding-top: 12px;
  }
  .reputation-line {
    margin-top: 10px;
  }
  .home-heading {
    margin-top: 16px;
  }
}

.scene-venue .venue-poster {
  font-size: 12px;
}

.subnav .count {
  color: #fff1fa;
  background: #4a2a62;
}

/* Role rows: name on top, pay and status underneath, so long reasons wrap cleanly on phones. */
.role-entry > summary .role-line { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.role-entry > summary .role-meta { font-weight: 400; line-height: 1.35; }

/* Goals and achievements */
.goals-card .goal-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.goal { padding: 10px 0; }
.goal + .goal { border-top: 1px solid var(--line); }
.goal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.goal .fineprint { margin: 4px 0 8px; }
.card.goal { padding: 14px; }
.goal-done { border-color: var(--copper); }
.ach-tier { font-size: .72rem; }
.ach-1 { color: #d9a066; } .ach-2 { color: #c9ced6; } .ach-3 { color: #f3c94a; }

/* Status and story */
.chapter-line { margin: 4px 0 0; color: var(--copper); font-size: .85rem; font-weight: 600; }
.timeline { border-left: 2px solid var(--line); padding-left: 14px; display: grid; gap: 14px; }
.timeline-item small { color: var(--muted, #a99fb8); display: block; }
.timeline-item b { display: block; margin: 2px 0; }
.timeline-item p { margin: 0; }
