.tycoon-career-shell {
  position: relative;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(153, 126, 255, 0.38);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 79% 7%,
      rgba(255, 191, 78, 0.18),
      transparent 29%
    ),
    radial-gradient(
      circle at 11% 100%,
      rgba(96, 80, 226, 0.24),
      transparent 43%
    ),
    linear-gradient(125deg, #0c1022, #151a36 55%, #10172d);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.28);
}
.tycoon-career-shell:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent);
}
.tycoon-onboarding,
.tycoon-active {
  position: relative;
  padding: clamp(20px, 4vw, 48px);
}
.tycoon-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f9c96c;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.tycoon-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #65e8bd;
  box-shadow: 0 0 14px #65e8bd;
}
.tycoon-onboarding h2,
.tycoon-active h2 {
  max-width: 750px;
  margin: 10px 0 9px;
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.75rem);
  line-height: 1.03;
  color: #fff;
}
.tycoon-onboarding > p,
.tycoon-lead {
  max-width: 720px;
  margin: 0;
  color: #aeb8d8;
  line-height: 1.6;
}
.tycoon-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0 22px;
}
.tycoon-steps span {
  padding: 8px 11px;
  border: 1px solid rgba(174, 184, 216, 0.16);
  border-radius: 999px;
  color: #8d99bc;
  font-size: 0.72rem;
  font-weight: 800;
}
.tycoon-steps span.active {
  border-color: rgba(255, 198, 91, 0.74);
  background: rgba(255, 184, 58, 0.14);
  color: #ffe1a0;
}
.tycoon-identity-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(340px, 1.4fr);
  gap: 24px;
  margin-top: 26px;
}
.tycoon-identity-panel,
.tycoon-avatar-panel,
.tycoon-workbench,
.tycoon-objectives,
.tycoon-event,
.tycoon-history {
  border: 1px solid rgba(184, 194, 243, 0.15);
  border-radius: 20px;
  background: rgba(4, 8, 24, 0.48);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}
.tycoon-identity-panel {
  padding: 22px;
}
.tycoon-field {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}
.tycoon-field label,
.tycoon-section-label {
  color: #8691b5;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.tycoon-field input,
.tycoon-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 13px;
  border: 1px solid rgba(180, 194, 240, 0.2);
  border-radius: 12px;
  background: #0c1125;
  color: #fff;
  font: inherit;
  outline: none;
}
.tycoon-field input:focus,
.tycoon-field select:focus {
  border-color: #8d7dff;
  box-shadow: 0 0 0 3px rgba(141, 125, 255, 0.15);
}
.tycoon-choice-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 7px 0 16px;
}
.tycoon-choice-row button {
  border: 1px solid rgba(181, 194, 240, 0.16);
  border-radius: 10px;
  padding: 9px 10px;
  background: #10162d;
  color: #aeb8d8;
  font: inherit;
  font-size: 0.78rem;
}
.tycoon-choice-row button.active {
  color: #12111b;
  background: linear-gradient(135deg, #ffe19b, #f5b640);
  border-color: #ffd476;
}
.tycoon-avatar-panel {
  padding: 18px;
}
.tycoon-avatar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 1fr));
  gap: 9px;
  margin: 12px 0;
}
.tycoon-avatar-choice {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 13px;
  background-color: #10162d;
  background-image: url("./assets/avatars/tycoon-avatar-gallery.png");
  background-size: 500% 200%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.tycoon-avatar-choice:hover,
.tycoon-avatar-choice:focus-visible {
  transform: translateY(-3px);
  border-color: #f9c96c;
}
.tycoon-avatar-choice.selected {
  border-color: #fff0b8;
  box-shadow:
    0 0 0 3px rgba(249, 201, 108, 0.32),
    0 12px 21px rgba(0, 0, 0, 0.4);
}
.profile-tycoon-avatar {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(126, 172, 255, 0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 31, 65, 0.88), rgba(20, 30, 57, 0.76));
}
.profile-tycoon-avatar-grid {
  grid-template-columns: repeat(5, minmax(44px, 58px));
  max-width: 350px;
  margin-bottom: 0;
}
.tycoon-start-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
}
.tycoon-muted {
  color: #93a0c6;
  font-size: 0.78rem;
  line-height: 1.45;
}
.tycoon-job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 25px;
}
.tycoon-job-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: 21px;
  border: 1px solid rgba(184, 194, 243, 0.18);
  border-radius: 19px;
  background: linear-gradient(
    145deg,
    rgba(26, 36, 74, 0.94),
    rgba(8, 13, 31, 0.9)
  );
  text-align: left;
  color: inherit;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.tycoon-job-card:before {
  content: "";
  position: absolute;
  inset: auto -25px -48px auto;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: var(--job-glow, rgba(103, 219, 177, 0.2));
  filter: blur(4px);
}
.tycoon-job-card:hover {
  transform: translateY(-5px);
  border-color: #f9c96c;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}
.tycoon-job-card > * {
  position: relative;
}
.tycoon-job-card b {
  display: block;
  margin: 13px 0 5px;
  color: #fff;
  font-size: 1.1rem;
}
.tycoon-job-card p {
  min-height: 44px;
  color: #aeb8d8;
  font-size: 0.82rem;
  line-height: 1.45;
}
.tycoon-job-data {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tycoon-job-data span {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #c8d0e9;
  font-size: 0.7rem;
}
.tycoon-job-card em {
  display: block;
  margin-top: 18px;
  color: #f9c96c;
  font-size: 0.77rem;
  font-style: normal;
  font-weight: 800;
}
.tycoon-linked-profile {
  display: inline-flex;
  max-width: 100%;
  margin: 11px 0 0;
  padding: 8px 11px;
  border: 1px solid rgba(114, 232, 192, 0.28);
  border-radius: 10px;
  background: rgba(61, 196, 156, 0.08);
  color: #b3e9d7;
  font-size: 0.72rem;
  line-height: 1.4;
}
.career-rewards-arena {
  margin: 0 0 30px;
}
.tycoon-difficulty-picker {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(249, 201, 108, 0.3);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(95, 54, 27, 0.24),
    rgba(10, 15, 33, 0.75)
  );
}
.tycoon-difficulty-picker h3 {
  margin: 4px 0 6px;
  color: #fff;
  font-size: 1.08rem;
}
.tycoon-difficulty-picker p {
  margin: 0;
  color: #abb5d4;
  font-size: 0.8rem;
  line-height: 1.45;
}
.tycoon-difficulty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 14px;
}
.tycoon-difficulty-grid button {
  padding: 13px;
  border: 1px solid rgba(183, 196, 240, 0.18);
  border-radius: 13px;
  background: #101730;
  color: #c6cfe9;
  text-align: left;
  font: inherit;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.tycoon-difficulty-grid button:hover {
  transform: translateY(-2px);
  border-color: #f9c96c;
}
.tycoon-difficulty-grid button.active {
  border-color: #f8ca61;
  background: linear-gradient(
    135deg,
    rgba(241, 162, 54, 0.32),
    rgba(47, 29, 27, 0.7)
  );
  box-shadow: 0 0 0 2px rgba(249, 201, 108, 0.12);
}
.tycoon-difficulty-grid button.legend:not(.active) {
  border-color: rgba(255, 97, 109, 0.26);
}
.tycoon-difficulty-grid b,
.tycoon-difficulty-grid span,
.tycoon-difficulty-grid small {
  display: block;
}
.tycoon-difficulty-grid b {
  color: #fff;
  font-size: 0.88rem;
}
.tycoon-difficulty-grid span {
  margin-top: 4px;
  color: #f1ca86;
  font-size: 0.69rem;
  font-weight: 800;
}
.tycoon-difficulty-grid small {
  margin-top: 5px;
  color: #92a0c2;
  font-size: 0.66rem;
}
.tycoon-active-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.tycoon-portrait {
  width: 82px;
  aspect-ratio: 1;
  border: 2px solid #f9cb74;
  border-radius: 22px;
  background-image: url("./assets/avatars/tycoon-avatar-gallery.png");
  background-size: 500% 200%;
  box-shadow: 0 9px 28px rgba(249, 201, 108, 0.22);
}
.tycoon-rank {
  margin: 3px 0;
  color: #aeb8d8;
  font-size: 0.84rem;
}
.tycoon-month {
  justify-self: end;
  border: 1px solid rgba(255, 211, 127, 0.4);
  border-radius: 14px;
  padding: 11px 13px;
  background: rgba(254, 177, 48, 0.1);
  text-align: right;
}
.tycoon-month small {
  display: block;
  color: #f4c46e;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}
.tycoon-month b {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 0.95rem;
}
.tycoon-wealth-row {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 0.8fr);
  gap: 10px;
  margin: 24px 0 20px;
}
.tycoon-stat {
  padding: 16px;
  border: 1px solid rgba(177, 193, 242, 0.13);
  border-radius: 16px;
  background: rgba(6, 11, 28, 0.48);
}
.tycoon-stat small {
  display: block;
  color: #8290b6;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.tycoon-stat strong {
  display: block;
  margin: 7px 0 3px;
  color: #fff;
  font-size: 1.2rem;
}
.tycoon-stat span {
  color: #9ba8c9;
  font-size: 0.73rem;
}
.tycoon-stat.wealth {
  background: linear-gradient(
    135deg,
    rgba(34, 73, 73, 0.72),
    rgba(11, 18, 38, 0.85)
  );
  border-color: rgba(100, 231, 190, 0.32);
}
.tycoon-stat.wealth strong {
  font-size: 1.6rem;
  color: #70e6bd;
}
.tycoon-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 20px;
}
.tycoon-zone {
  position: relative;
  min-height: 122px;
  padding: 17px;
  border: 1px solid rgba(176, 190, 239, 0.14);
  border-radius: 17px;
  background: linear-gradient(
    145deg,
    rgba(28, 39, 75, 0.9),
    rgba(9, 13, 30, 0.92)
  );
  text-align: left;
  color: #d9e0f6;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.tycoon-zone:after {
  content: attr(data-icon);
  position: absolute;
  right: 8px;
  bottom: -17px;
  color: rgba(255, 255, 255, 0.07);
  font-size: 5.2rem;
  font-weight: 900;
}
.tycoon-zone:hover,
.tycoon-zone.active {
  border-color: #f9c96c;
  transform: translateY(-3px);
}
.tycoon-zone b,
.tycoon-zone span {
  position: relative;
  display: block;
}
.tycoon-zone b {
  font-size: 0.95rem;
}
.tycoon-zone span {
  margin-top: 7px;
  color: #96a3c6;
  font-size: 0.72rem;
  line-height: 1.4;
}
.tycoon-zone i {
  position: relative;
  display: inline-block;
  margin-top: 13px;
  color: #f9c96c;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}
.tycoon-main-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 16px;
}
.tycoon-workbench,
.tycoon-objectives,
.tycoon-event,
.tycoon-history {
  padding: 20px;
}
.tycoon-workbench-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}
.tycoon-workbench h3,
.tycoon-objectives h3,
.tycoon-event h3,
.tycoon-history h3 {
  margin: 4px 0 7px;
  color: #fff;
  font-size: 1.18rem;
}
.tycoon-workbench p,
.tycoon-objectives p,
.tycoon-event p {
  margin: 0;
  color: #aeb8d8;
  font-size: 0.83rem;
  line-height: 1.55;
}
.tycoon-primary {
  margin-top: 18px;
  border: 0;
  border-radius: 13px;
  padding: 14px 17px;
  background: linear-gradient(135deg, #f8c95d, #f19e3d);
  color: #191320;
  font: 800 0.86rem inherit;
  box-shadow: 0 10px 22px rgba(238, 161, 56, 0.22);
}
.tycoon-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.tycoon-outline {
  border: 1px solid rgba(249, 201, 108, 0.42);
  border-radius: 11px;
  padding: 10px 12px;
  background: rgba(249, 201, 108, 0.08);
  color: #ffdc91;
  font: 800 0.78rem inherit;
}
.tycoon-investments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 18px;
}
.tycoon-investment {
  padding: 13px;
  border: 1px solid rgba(179, 193, 241, 0.14);
  border-radius: 13px;
  background: rgba(12, 18, 38, 0.8);
}
.tycoon-investment small {
  color: #8290b6;
  font-size: 0.64rem;
  font-weight: 800;
}
.tycoon-investment b {
  display: block;
  margin: 5px 0;
  color: #fff;
  font-size: 0.96rem;
}
.tycoon-investment span {
  font-size: 0.72rem;
  color: #aeb8d8;
}
.tycoon-investment button {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid rgba(100, 229, 190, 0.35);
  border-radius: 8px;
  background: rgba(100, 229, 190, 0.1);
  color: #78eac3;
  font: 800 0.71rem inherit;
}
.tycoon-side {
  display: grid;
  gap: 16px;
}
.tycoon-objective {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(178, 192, 239, 0.09);
}
.tycoon-objective:last-child {
  border-bottom: 0;
}
.tycoon-objective i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(249, 201, 108, 0.13);
  color: #f9c96c;
  font-style: normal;
  font-size: 0.7rem;
}
.tycoon-objective.done i {
  background: rgba(103, 228, 181, 0.16);
  color: #72e9c0;
}
.tycoon-objective b {
  display: block;
  color: #e6ebfb;
  font-size: 0.79rem;
}
.tycoon-objective span {
  color: #8d9abe;
  font-size: 0.7rem;
  line-height: 1.4;
}
.tycoon-event {
  margin-top: 16px;
  border-color: rgba(249, 201, 108, 0.33);
  background: linear-gradient(
    135deg,
    rgba(77, 51, 34, 0.3),
    rgba(10, 15, 33, 0.82)
  );
}
.tycoon-event-options {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.tycoon-event-options button {
  padding: 11px;
  border: 1px solid rgba(231, 205, 141, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #dce5ff;
  text-align: left;
  font: inherit;
  font-size: 0.77rem;
}
.tycoon-event-options button:hover {
  border-color: #f9c96c;
  background: rgba(249, 201, 108, 0.08);
}
.tycoon-history {
  margin-top: 16px;
}
.tycoon-ledger {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}
.tycoon-ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(178, 192, 239, 0.1);
}
.tycoon-ledger-row:first-child {
  border-top: 0;
}
.tycoon-ledger-row b {
  display: block;
  color: #e7ebfa;
  font-size: 0.78rem;
}
.tycoon-ledger-row small {
  display: block;
  color: #8290b6;
  font-size: 0.67rem;
}
.tycoon-ledger-row strong {
  align-self: center;
  color: #73e8be;
  font-size: 0.8rem;
}
.tycoon-ledger-row strong.negative {
  color: #ff8497;
}
.tycoon-promotion {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(111, 228, 189, 0.38);
  border-radius: 15px;
  background: rgba(71, 199, 161, 0.1);
}
.tycoon-promotion b {
  display: block;
  color: #8ff1ce;
}
.tycoon-promotion p {
  margin: 6px 0 !important;
}
.tycoon-empty {
  padding: 18px;
  border: 1px dashed rgba(178, 192, 239, 0.22);
  border-radius: 14px;
  color: #90a0c7;
  font-size: 0.8rem;
}
.tycoon-market-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 17px;
  border: 1px solid rgba(102, 229, 190, 0.32);
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(46, 122, 109, 0.22),
    rgba(12, 18, 38, 0.82)
  );
}
.tycoon-market-link small,
.tycoon-market-link span {
  display: block;
  color: #96b9b2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}
.tycoon-market-link strong {
  display: block;
  margin: 5px 0;
  color: #80ecc7;
  font-size: 1.45rem;
}
.tycoon-market-link span {
  font-weight: 600;
  letter-spacing: 0;
}
.legend-incident-alert {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 15px;
  align-items: center;
  max-width: min(760px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(255, 160, 164, 0.7);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(121, 20, 35, 0.98),
    rgba(54, 12, 24, 0.98)
  );
  box-shadow: 0 22px 60px rgba(42, 0, 8, 0.55);
  animation: legendAlertPulse 1.3s ease-in-out infinite;
}
.legend-alert-signal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ff5968;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(255, 89, 104, 0.9);
}
.legend-alert-copy p {
  margin: 0;
  color: #ffc5c9;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.legend-alert-copy h2 {
  margin: 3px 0;
  color: #fff;
  font-size: 1.05rem;
}
.legend-alert-copy span {
  display: block;
  color: #ffdce0;
  font-size: 0.76rem;
  line-height: 1.35;
}
.legend-alert-copy strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 0.76rem;
}
.legend-alert-copy strong b {
  color: #ffd25f;
}
.legend-alert-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.legend-alert-actions button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 9px;
  padding: 9px 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font: 800 0.7rem inherit;
}
.legend-alert-actions .legend-settle {
  background: #fff;
  color: #8f1627;
}
.legend-alert-actions .legend-loan {
  border-color: #ffd26d;
  color: #ffe3a3;
}
.legend-alert-actions .legend-sell {
  border-color: #b4d3ff;
  color: #dbeaff;
}
.legend-alert-actions small {
  font-size: 0.61rem;
  font-weight: 700;
}
@keyframes legendAlertPulse {
  50% {
    box-shadow:
      0 22px 60px rgba(42, 0, 8, 0.55),
      0 0 0 5px rgba(255, 75, 95, 0.12);
  }
}
@media (max-width: 900px) {
  .tycoon-identity-grid,
  .tycoon-main-grid {
    grid-template-columns: 1fr;
  }
  .tycoon-job-grid {
    grid-template-columns: 1fr;
  }
  .tycoon-active-top {
    grid-template-columns: auto 1fr;
  }
  .tycoon-month {
    grid-column: 1/-1;
    justify-self: stretch;
    text-align: left;
  }
  .tycoon-wealth-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .tycoon-map {
    grid-template-columns: repeat(2, 1fr);
  }
  .tycoon-difficulty-grid {
    grid-template-columns: 1fr;
  }
  .legend-incident-alert {
    grid-template-columns: auto 1fr;
  }
  .legend-alert-actions {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
}
@media (max-width: 540px) {
  .tycoon-onboarding,
  .tycoon-active {
    padding: 18px;
  }
  .tycoon-avatar-grid {
    gap: 7px;
  }
  .tycoon-active-top {
    gap: 12px;
  }
  .tycoon-portrait {
    width: 64px;
    border-radius: 17px;
  }
  .tycoon-wealth-row {
    grid-template-columns: 1fr;
  }
  .tycoon-map {
    gap: 8px;
  }
  .tycoon-zone {
    min-height: 108px;
    padding: 13px;
  }
  .tycoon-investments {
    grid-template-columns: 1fr;
  }
  .tycoon-start-actions,
  .tycoon-market-link {
    align-items: stretch;
    flex-direction: column;
  }
  .tycoon-primary {
    width: 100%;
  }
  .legend-incident-alert {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
    padding: 13px;
    gap: 10px;
  }
  .legend-alert-actions button {
    flex: 1 1 auto;
  }
}

/* Investi et deviens riche : cartes cartoon, choix horizontaux et trésorerie unique. */
.investi-launcher {
  margin-top: 18px;
  padding: 19px;
  border: 1px solid rgba(91, 219, 203, 0.32);
  border-radius: 19px;
  background:
    radial-gradient(circle at 96% 8%, rgba(59, 206, 190, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(16, 56, 69, 0.66), rgba(11, 17, 38, 0.9));
}
.investi-launcher h3 {
  margin: 5px 0;
  color: #fff;
  font-size: 1.2rem;
}
.investi-launcher > div > p:not(.tycoon-kicker) {
  margin: 0;
  color: #b0cbe0;
  font-size: 0.8rem;
  line-height: 1.5;
}
.investi-launch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 15px;
}
.investi-launch-card {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(177, 216, 241, 0.17);
  border-radius: 15px;
  background: rgba(5, 13, 31, 0.58);
  color: #e9f5ff;
  text-align: left;
  transition:
    transform 0.18s,
    border-color 0.18s,
    background 0.18s;
}
.investi-launch-card:hover,
.investi-launch-card:focus-visible {
  border-color: #62e5c9;
  background: rgba(42, 130, 137, 0.24);
  transform: translateY(-2px);
  outline: 0;
}
.investi-launch-card b,
.investi-launch-card small {
  display: block;
}
.investi-launch-card b {
  font-size: 0.9rem;
}
.investi-launch-card small {
  margin-top: 4px;
  color: #a2b9cf;
  font-size: 0.67rem;
  line-height: 1.35;
}
.investi-launch-card em {
  color: #76ecd0;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}
.investi-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 11px;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 7px 16px rgba(0, 0, 0, 0.27);
}
.investi-art.property {
  background-image: url("./assets/investi-property-brand-atlas.png");
  background-position: var(--investi-x) var(--investi-y);
  background-size: 300% 500%;
}
.investi-art.property.property-individual {
  background-image: none;
  overflow: hidden;
}
.property-individual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}
.investi-brand-form select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  color: #eef7ff;
  background: #0a1b34;
  border: 1px solid rgba(181,199,238,.3);
  border-radius: 10px;
}
.investi-art.city {
  background-image: url("./assets/investi-city-atlas.png");
  background-position: var(--investi-x) var(--investi-y);
  background-size: 400% 300%;
}
.investi-zone {
  border-color: rgba(103, 226, 200, 0.2);
  background: linear-gradient(
    145deg,
    rgba(17, 75, 83, 0.88),
    rgba(8, 18, 36, 0.92)
  );
}
.investi-workbench {
  overflow: hidden;
}
.investi-step {
  margin-top: 20px;
}
.investi-step > b,
.investi-price-panel label,
.investi-brand-form label {
  display: block;
  margin-bottom: 9px;
  color: #dbeaff;
  font-size: 0.78rem;
  font-weight: 800;
}
.investi-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(142px, 19%);
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(113, 226, 203, 0.58) rgba(255, 255, 255, 0.05);
}
.investi-choice-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 6px;
  min-height: 178px;
  padding: 9px;
  border: 1px solid rgba(181, 199, 238, 0.17);
  border-radius: 15px;
  background: rgba(8, 16, 35, 0.76);
  color: #dfeaff;
  text-align: left;
  scroll-snap-align: start;
  transition:
    transform 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.investi-choice-card:hover:not(:disabled),
.investi-choice-card:focus-visible:not(:disabled),
.investi-choice-card.selected {
  border-color: #7ae9d0;
  box-shadow: 0 0 0 2px rgba(96, 227, 200, 0.14);
  transform: translateY(-2px);
  outline: 0;
}
.investi-choice-card:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}
.investi-choice-card .investi-art {
  height: 94px;
}
.investi-choice-card strong {
  color: #fff;
  font-size: 0.76rem;
  line-height: 1.2;
}
.investi-choice-card span {
  color: #83efd3;
  font-size: 0.73rem;
  font-weight: 900;
}
.investi-choice-card small {
  align-self: end;
  color: #91a2c6;
  font-size: 0.62rem;
  line-height: 1.3;
}
.investi-choice-card.city-card {
  grid-template-rows: auto auto 1fr;
  min-height: 154px;
}
.investi-choice-card.city-card .investi-art {
  height: 78px;
}
.investi-choice-card.city-card small {
  align-self: auto;
}
.investi-step.is-locked,
.investi-price-panel.is-locked,
.investi-brand-form.is-locked {
  opacity: 0.5;
}
.investi-price-panel {
  display: grid;
  gap: 10px;
  margin-top: 19px;
  padding: 15px;
  border: 1px solid rgba(109, 222, 198, 0.24);
  border-radius: 15px;
  background: rgba(29, 75, 79, 0.16);
}
.investi-price-panel > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.investi-price-panel input,
.investi-brand-form input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid rgba(182, 207, 244, 0.24);
  border-radius: 10px;
  background: #091228;
  color: #fff;
  font: inherit;
  outline: none;
}
.investi-price-panel input:focus,
.investi-brand-form input:focus {
  border-color: #75ebd1;
  box-shadow: 0 0 0 3px rgba(101, 230, 202, 0.13);
}
.investi-price-panel > div span {
  flex: 0 0 auto;
  color: #a6b8d1;
  font-size: 0.73rem;
}
.investi-price-panel p {
  margin: 0 !important;
  color: #aebed5 !important;
}
.investi-price-panel p b {
  color: #eff6ff;
}
.investi-price-panel p strong {
  color: #7cedcf;
}
.investi-price-panel .tycoon-primary {
  justify-self: start;
  margin-top: 0;
}
.investi-portfolio {
  display: grid;
  gap: 12px;
  margin-top: 21px;
  padding-top: 19px;
  border-top: 1px solid rgba(181, 199, 238, 0.13);
}
.investi-portfolio h3 {
  margin: 4px 0 0;
}
.investi-portfolio > p {
  margin: 0 !important;
  color: #97a9c8 !important;
}
.investi-carousel.holdings {
  grid-auto-columns: minmax(205px, 30%);
}
.investi-holding {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 9px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(178, 195, 237, 0.15);
  border-radius: 12px;
  background: rgba(7, 14, 32, 0.6);
}
.investi-holding .investi-art {
  height: 50px;
}
.investi-holding b,
.investi-holding span {
  display: block;
}
.investi-holding b {
  color: #f2f6ff;
  font-size: 0.73rem;
}
.investi-holding span {
  margin-top: 4px;
  color: #81e6c7;
  font-size: 0.64rem;
  line-height: 1.35;
}
.investi-brand-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 19px;
}
.investi-brand-form > div {
  display: grid;
  gap: 8px;
}
.investi-brand-live {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(116, 224, 201, 0.22);
  border-radius: 15px;
  background: rgba(10, 27, 47, 0.6);
}
.investi-brand-live + .investi-brand-live {
  margin-top: 10px;
}
.investi-brand-live > .investi-art {
  height: 64px;
}
.investi-brand-live b,
.investi-brand-live span,
.investi-brand-live small {
  display: block;
}
.investi-brand-live b {
  color: #fff;
  font-size: 0.85rem;
}
.investi-brand-live span {
  margin-top: 4px;
  color: #b8c8e1;
  font-size: 0.68rem;
}
.investi-brand-live small {
  margin-top: 4px;
  color: #82ead0;
  font-size: 0.63rem;
  line-height: 1.4;
}
.investi-ad-row {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 2px;
}
.investi-ad-row button {
  display: grid;
  gap: 2px;
  padding: 8px 9px;
  border: 1px solid rgba(241, 200, 103, 0.27);
  border-radius: 9px;
  background: rgba(249, 190, 71, 0.09);
  color: #ffe7a9;
  font: 800 0.66rem inherit;
}
.investi-ad-row button:hover,
.investi-ad-row button:focus-visible {
  border-color: #f9cf76;
  background: rgba(249, 190, 71, 0.17);
  outline: 0;
}
.investi-ad-row small {
  margin: 0;
  color: #fff0c2;
  font-size: 0.61rem;
}
@media (max-width: 900px) {
  .investi-launch-grid {
    grid-template-columns: 1fr;
  }
  .investi-carousel {
    grid-auto-columns: minmax(150px, 38%);
  }
  .investi-carousel.holdings {
    grid-auto-columns: minmax(210px, 52%);
  }
}
@media (max-width: 540px) {
  .investi-launcher {
    padding: 15px;
  }
  .investi-carousel {
    grid-auto-columns: minmax(132px, 65%);
  }
  .investi-choice-card {
    min-height: 166px;
  }
  .investi-brand-form {
    grid-template-columns: 1fr;
  }
  .investi-brand-live {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .investi-brand-live > .investi-art {
    height: 54px;
  }
  .investi-carousel.holdings {
    grid-auto-columns: minmax(210px, 78%);
  }
  .investi-price-panel .tycoon-primary {
    width: 100%;
  }
}

/* L'entrée Investi devient le choix principal immédiatement sous l'identité. */
.tycoon-active {
  display: flex;
  flex-direction: column;
}
.tycoon-active-top {
  order: 1;
}
.tycoon-active > .investi-launcher {
  order: 2;
}
.tycoon-active > .tycoon-difficulty-picker {
  order: 3;
}
.tycoon-active > .tycoon-wealth-row {
  order: 4;
}
.tycoon-active > .tycoon-map {
  order: 5;
}
.tycoon-active > .tycoon-main-grid {
  order: 6;
}
.investi-launcher.spotlight {
  display: grid;
  place-content: center;
  min-height: clamp(260px, 35vh, 390px);
  margin: 22px 0 24px;
  padding: clamp(24px, 3vw, 42px);
  text-align: center;
  border-color: rgba(105, 237, 211, 0.54);
  background:
    radial-gradient(
      circle at 50% -15%,
      rgba(77, 230, 204, 0.3),
      transparent 44%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(107, 127, 255, 0.16),
      transparent 36%
    ),
    linear-gradient(135deg, rgba(13, 63, 77, 0.92), rgba(8, 15, 36, 0.97));
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.1);
}
.investi-launcher.spotlight > div:first-child {
  max-width: 710px;
  margin-inline: auto;
}
.investi-launcher.spotlight h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  letter-spacing: -0.035em;
}
.investi-launcher.spotlight > div > p:not(.tycoon-kicker) {
  max-width: 61ch;
  margin-inline: auto;
  font-size: 0.9rem;
}
.investi-launcher.spotlight .investi-launch-grid {
  width: min(960px, 100%);
  margin: 25px auto 0;
  gap: 18px;
}
.investi-launcher.spotlight .investi-launch-card {
  grid-template-columns: 124px minmax(0, 1fr) auto;
  min-height: 142px;
  padding: 15px 18px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(5, 19, 41, 0.82),
    rgba(17, 76, 84, 0.52)
  );
  box-shadow: 0 13px 26px rgba(0, 0, 0, 0.2);
}
.investi-launcher.spotlight .investi-launch-card:hover,
.investi-launcher.spotlight .investi-launch-card:focus-visible {
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 17px 30px rgba(0, 0, 0, 0.32),
    0 0 0 3px rgba(92, 229, 203, 0.14);
}
.investi-launcher.spotlight .investi-launch-card .investi-art {
  width: 124px;
  height: 108px;
  aspect-ratio: auto;
  border-radius: 16px;
}
.investi-launcher.spotlight .investi-launch-card b {
  font-size: 1.18rem;
}
.investi-launcher.spotlight .investi-launch-card small {
  margin-top: 7px;
  font-size: 0.8rem;
}
.investi-launcher.spotlight .investi-launch-card em {
  font-size: 0.83rem;
}
.investi-carousel-shell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 7px;
  align-items: stretch;
}
.investi-carousel {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: thin;
}
.investi-carousel::-webkit-scrollbar {
  height: 8px;
}
.investi-carousel::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(111, 227, 204, 0.55);
}
.investi-carousel-control {
  align-self: center;
  display: grid;
  place-items: center;
  width: 42px;
  height: 60px;
  border: 1px solid rgba(120, 231, 208, 0.38);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(33, 92, 102, 0.74),
    rgba(9, 19, 40, 0.94)
  );
  color: #aaffeb;
  font: 900 2rem/1 inherit;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.16s,
    border-color 0.16s,
    background 0.16s;
}
.investi-carousel-control:hover,
.investi-carousel-control:focus-visible {
  border-color: #91f4da;
  background: rgba(48, 139, 139, 0.74);
  transform: scale(1.06);
  outline: 0;
}
.investi-carousel-control:active {
  transform: scale(0.96);
}
@media (max-width: 900px) {
  .investi-launcher.spotlight {
    min-height: 0;
  }
  .investi-launcher.spotlight .investi-launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .investi-launcher.spotlight .investi-launch-card {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 118px;
    padding: 13px;
  }
  .investi-launcher.spotlight .investi-launch-card .investi-art {
    width: 82px;
    height: 82px;
  }
  .investi-launcher.spotlight .investi-launch-card em {
    grid-column: 2;
  }
  .investi-carousel-shell {
    grid-template-columns: 37px minmax(0, 1fr) 37px;
    gap: 5px;
  }
  .investi-carousel-control {
    width: 37px;
    height: 52px;
  }
}
@media (max-width: 540px) {
  .investi-launcher.spotlight {
    margin: 16px 0 20px;
    padding: 22px 15px;
  }
  .investi-launcher.spotlight .investi-launch-grid {
    grid-template-columns: 1fr;
  }
  .investi-launcher.spotlight .investi-launch-card {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    min-height: 104px;
  }
  .investi-launcher.spotlight .investi-launch-card .investi-art {
    width: 92px;
    height: 78px;
  }
  .investi-launcher.spotlight .investi-launch-card b {
    font-size: 1rem;
  }
  .investi-launcher.spotlight .investi-launch-card small {
    font-size: 0.73rem;
  }
  .investi-carousel-shell {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 4px;
  }
  .investi-carousel-control {
    width: 32px;
    height: 48px;
    border-radius: 11px;
    font-size: 1.65rem;
  }
  .investi-carousel {
    grid-auto-columns: minmax(132px, 72%);
  }
}

/* Parcours dédiés Investi : aucune sélection ne pousse les offres sous la Carrière. */
.investi-page {
  padding-top: clamp(18px, 3vw, 40px);
}
.investi-experience {
  width: min(1280px, 100%);
  margin: 0 auto;
}
.investi-experience-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: clamp(20px, 3vw, 38px);
  border: 1px solid rgba(106, 238, 211, 0.42);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 0, rgba(80, 220, 201, 0.21), transparent 35%),
    linear-gradient(135deg, rgba(12, 45, 64, 0.95), rgba(7, 13, 34, 0.98));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}
.investi-experience-head h1 {
  margin: 3px 0 6px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.055em;
}
.investi-experience-head p:not(.tycoon-kicker) {
  max-width: 62ch;
  margin: 0;
  color: #b5cce1;
  line-height: 1.55;
}
.investi-experience-cash {
  min-width: 190px;
  padding: 14px 16px;
  border: 1px solid rgba(127, 236, 214, 0.24);
  border-radius: 16px;
  background: rgba(2, 12, 31, 0.5);
  text-align: right;
}
.investi-experience-cash small,
.investi-experience-cash span {
  display: block;
  color: #9db8ce;
  font-size: 0.7rem;
}
.investi-experience-cash strong {
  display: block;
  margin: 5px 0;
  color: #7ff0d3;
  font-size: 1.3rem;
}
.investi-experience-body {
  margin-top: 18px;
}
.investi-experience-body .investi-workbench {
  min-height: min(70vh, 780px);
  padding: clamp(18px, 2.8vw, 34px);
  border-color: rgba(105, 237, 211, 0.28);
  background: linear-gradient(
    145deg,
    rgba(11, 31, 54, 0.96),
    rgba(5, 12, 29, 0.98)
  );
}
.investi-experience-empty {
  max-width: 760px;
  margin: 5vh auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(105, 237, 211, 0.32);
  border-radius: 26px;
  background: linear-gradient(
    145deg,
    rgba(12, 48, 69, 0.9),
    rgba(5, 12, 29, 0.98)
  );
  text-align: center;
}
.investi-experience-empty h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.investi-experience-empty p {
  max-width: 52ch;
  margin: 14px auto 24px;
  color: #b5cce1;
  line-height: 1.6;
}
.investi-experience-empty .tycoon-primary {
  margin: auto;
}
.investi-choice-card .investi-art,
.investi-choice-card.city-card .investi-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.investi-launcher.spotlight .investi-launch-card .investi-art {
  height: 124px;
  aspect-ratio: 1;
}
@media (max-width: 900px) {
  .investi-launcher.spotlight .investi-launch-card .investi-art {
    height: 82px;
  }
  .investi-experience-head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .investi-experience-cash {
    grid-column: 2;
    text-align: left;
    justify-self: start;
  }
}
@media (max-width: 600px) {
  .investi-page {
    padding-top: 12px;
  }
  .investi-experience-head {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 16px;
    border-radius: 19px;
  }
  .investi-experience-head .tycoon-outline {
    justify-self: start;
  }
  .investi-experience-cash {
    grid-column: auto;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }
  .investi-experience-body {
    margin-top: 12px;
  }
  .investi-experience-body .investi-workbench {
    min-height: 0;
    padding: 16px 12px;
  }
  .investi-launcher.spotlight .investi-launch-card .investi-art {
    height: 92px;
  }
}

/* Actualités : l’accès visuel est présent dans le premier écran du Marché. */
.market-news-entry {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 205px;
  padding: 6px 11px 6px 7px;
  border: 1px solid rgba(94, 210, 255, 0.4);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(18, 69, 111, 0.8),
    rgba(13, 23, 55, 0.94)
  );
  color: #edf8ff;
  text-align: left;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.16s,
    border-color 0.16s,
    background 0.16s;
}
.market-news-entry:hover,
.market-news-entry:focus-visible {
  border-color: #8ce8ff;
  background: linear-gradient(
    135deg,
    rgba(28, 102, 150, 0.86),
    rgba(17, 30, 70, 0.98)
  );
  transform: translateY(-2px);
  outline: 0;
}
.market-news-entry img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.market-news-entry b,
.market-news-entry small {
  display: block;
}
.market-news-entry b {
  font-size: 0.83rem;
}
.market-news-entry small {
  margin-top: 3px;
  color: #b8d7ec;
  font-size: 0.67rem;
}
.market-news-entry i {
  color: #8ce8ff;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 900;
}
@media (max-width: 700px) {
  .market-news-entry {
    min-width: 0;
    width: 100%;
    grid-template-columns: 50px minmax(0, 1fr) auto;
  }
  .market-news-entry img {
    width: 50px;
    height: 50px;
  }
}

/* Banque : un espace Tycoon distinct du portefeuille de marché. */
.tycoon-asset-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.investi-launcher.spotlight .investi-launch-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1440px;
}
.investi-launcher.spotlight .investi-launch-card {
  grid-template-columns: 96px minmax(0, 1fr);
  align-content: center;
}
.investi-launcher.spotlight .investi-launch-card .tycoon-asset-art {
  width: 96px;
  height: 112px;
}
.investi-launch-card.bank {
  border-color: rgba(114, 182, 255, 0.34);
  background: linear-gradient(
    135deg,
    rgba(11, 39, 78, 0.86),
    rgba(13, 80, 112, 0.45)
  );
}
.investi-launch-card.bank:hover,
.investi-launch-card.bank:focus-visible {
  border-color: #9ed7ff;
  background: linear-gradient(
    135deg,
    rgba(17, 65, 119, 0.9),
    rgba(15, 111, 132, 0.58)
  );
}
.investi-choice-card .brand-type-art {
  width: 100%;
  height: clamp(116px, 13vw, 158px);
  min-height: 94px;
  object-fit: contain;
}
.investi-brand-live > .brand-type-art {
  width: 64px;
  height: 64px;
}
.bank-page {
  padding-top: clamp(18px, 3vw, 40px);
}
.bank-experience {
  width: min(1280px, 100%);
  margin: 0 auto;
}
.bank-experience-body {
  margin-top: 18px;
}
.bank-account-overview {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 0.9fr;
  gap: 16px;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid rgba(91, 169, 255, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 93% 6%, rgba(64, 158, 255, 0.2), transparent 31%),
    linear-gradient(135deg, rgba(10, 39, 78, 0.95), rgba(5, 13, 34, 0.98));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}
.bank-card-visual {
  display: grid;
  align-content: center;
  gap: 9px;
  min-height: 190px;
  padding: 12px;
  border: 1px solid rgba(151, 211, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(6, 18, 48, 0.75),
    rgba(26, 97, 139, 0.24)
  );
}
.bank-card-visual img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}
.bank-card-visual span {
  color: #9acbf2;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}
.bank-account-detail {
  padding: 5px 4px;
}
.bank-account-detail h2 {
  margin: 5px 0 8px;
  color: #fff;
  font-size: 1.25rem;
}
.bank-account-detail > strong {
  display: block;
  color: #85f1d2;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}
.bank-account-detail dl {
  display: grid;
  gap: 8px;
  margin: 17px 0 0;
}
.bank-account-detail dl div {
  padding-top: 8px;
  border-top: 1px solid rgba(173, 207, 248, 0.14);
}
.bank-account-detail dt {
  color: #8faac9;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.bank-account-detail dd {
  margin: 3px 0 0;
  color: #e5f4ff;
  font-size: 0.78rem;
  font-weight: 700;
  word-break: break-word;
}
.bank-income-summary {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 16px;
  border: 1px solid rgba(134, 224, 207, 0.22);
  border-radius: 18px;
  background: rgba(5, 23, 49, 0.52);
}
.bank-income-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #b5cce2;
  font-size: 0.75rem;
}
.bank-income-summary b {
  color: #eef8ff;
}
.bank-income-summary > strong {
  margin-top: 7px;
  padding-top: 12px;
  border-top: 1px solid rgba(139, 224, 205, 0.22);
  color: #78ebcd;
  font-size: 0.93rem;
}
.bank-tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 18px;
}
.bank-loan-card,
.bank-savings-card {
  padding: clamp(18px, 2.7vw, 30px);
  border: 1px solid rgba(128, 191, 255, 0.25);
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(10, 35, 70, 0.94),
    rgba(5, 13, 32, 0.98)
  );
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}
.bank-loan-card.active {
  border-color: rgba(249, 201, 108, 0.46);
  background:
    radial-gradient(
      circle at 93% 7%,
      rgba(255, 193, 73, 0.14),
      transparent 27%
    ),
    linear-gradient(145deg, rgba(61, 44, 40, 0.8), rgba(10, 18, 38, 0.98));
}
.bank-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.bank-panel-heading h2,
.bank-savings-card h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 1.28rem;
}
.bank-panel-heading > span {
  padding: 7px 9px;
  border: 1px solid rgba(124, 213, 253, 0.28);
  border-radius: 999px;
  color: #b7e5ff;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}
.bank-loan-card p {
  margin: 13px 0;
  color: #b3c8de;
  font-size: 0.8rem;
  line-height: 1.55;
}
.bank-loan-form,
.bank-repay-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  margin-top: 17px;
}
.bank-loan-form label,
.bank-repay-row label {
  display: grid;
  gap: 7px;
  color: #b8d1e8;
  font-size: 0.7rem;
  font-weight: 800;
}
.bank-loan-form label:first-child {
  grid-column: 1/-1;
}
.bank-loan-form input,
.bank-loan-form select,
.bank-repay-row input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid rgba(152, 205, 249, 0.26);
  border-radius: 10px;
  background: #081830;
  color: #fff;
  font: inherit;
  outline: 0;
}
.bank-loan-form input:focus,
.bank-loan-form select:focus,
.bank-repay-row input:focus {
  border-color: #72dffa;
  box-shadow: 0 0 0 3px rgba(90, 192, 255, 0.15);
}
.bank-loan-form .tycoon-primary,
.bank-repay-row .tycoon-primary {
  align-self: end;
  margin: 0;
  white-space: nowrap;
}
.bank-loan-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 17px;
}
.bank-loan-stats div {
  padding: 10px;
  border: 1px solid rgba(248, 202, 106, 0.2);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.14);
}
.bank-loan-stats small {
  display: block;
  color: #cfba88;
  font-size: 0.6rem;
  font-weight: 800;
}
.bank-loan-stats b {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 0.81rem;
}
.bank-empty {
  margin-top: 15px;
  padding: 13px;
  border: 1px dashed rgba(143, 198, 242, 0.26);
  border-radius: 13px;
  color: #9ab6d0;
  font-size: 0.78rem;
  line-height: 1.5;
}
.bank-savings-intro {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.bank-savings-intro > .tycoon-asset-art {
  width: 118px;
  height: 112px;
}
.bank-savings-intro p:not(.tycoon-kicker) {
  margin: 8px 0 0;
  color: #afc5dc;
  font-size: 0.8rem;
  line-height: 1.5;
}
.bank-savings-card .panel-heading {
  margin-top: 23px;
}
.bank-savings-card .plan-intro {
  color: #9eb7cf;
}
.bank-savings-card .investment-plan-form label,
.bank-savings-card .investment-plan-row {
  color: #dcecff;
}
.bank-savings-card .investment-plan-form select,
.bank-savings-card .investment-plan-form input {
  background: #081a33;
  border-color: rgba(146, 204, 248, 0.28);
}
@media (max-width: 1050px) {
  .investi-launcher.spotlight .investi-launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bank-account-overview {
    grid-template-columns: 1fr 1fr;
  }
  .bank-income-summary {
    grid-column: 1/-1;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
  .bank-income-summary > strong {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .bank-tools-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .bank-experience-head {
    grid-template-columns: 1fr;
  }
  .bank-experience-head .investi-experience-cash {
    grid-column: auto;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }
  .bank-account-overview {
    grid-template-columns: 1fr;
  }
  .bank-income-summary {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .bank-income-summary > strong {
    margin-top: 7px;
    padding-top: 12px;
    border-top: 1px solid rgba(139, 224, 205, 0.22);
  }
  .bank-card-visual {
    min-height: 145px;
  }
  .bank-loan-form,
  .bank-repay-row {
    grid-template-columns: 1fr;
  }
  .bank-loan-form .tycoon-primary,
  .bank-repay-row .tycoon-primary {
    width: 100%;
  }
  .bank-loan-stats {
    grid-template-columns: 1fr;
  }
  .bank-savings-intro {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }
  .bank-savings-intro > .tycoon-asset-art {
    width: 92px;
    height: 92px;
  }
}
@media (max-width: 540px) {
  .investi-launcher.spotlight .investi-launch-grid {
    grid-template-columns: 1fr;
  }
  .investi-launcher.spotlight .investi-launch-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .investi-launcher.spotlight .investi-launch-card .tycoon-asset-art {
    width: 88px;
    height: 88px;
  }
  .bank-account-overview,
  .bank-loan-card,
  .bank-savings-card {
    border-radius: 17px;
  }
  .bank-savings-intro {
    grid-template-columns: 1fr;
  }
  .bank-savings-intro > .tycoon-asset-art {
    width: 118px;
    height: 100px;
  }
  .bank-savings-card .investment-plan-form {
    grid-template-columns: 1fr;
  }
  .bank-savings-card .investment-plan-form button {
    width: 100%;
  }
}

/* Activités Investi : financement, commerce et Tech. */
.investi-launch-card.funding {
  border-color: rgba(255, 205, 100, 0.34);
  background: linear-gradient(135deg, rgba(76, 48, 15, 0.84), rgba(17, 42, 66, 0.7));
}
.investi-launch-card.grocery {
  border-color: rgba(91, 226, 159, 0.34);
  background: linear-gradient(135deg, rgba(16, 77, 59, 0.8), rgba(11, 29, 49, 0.86));
}
.investi-launch-card.tech {
  border-color: rgba(90, 185, 255, 0.38);
  background: linear-gradient(135deg, rgba(19, 61, 116, 0.86), rgba(24, 20, 68, 0.82));
}
.investi-launch-card.funding:hover,
.investi-launch-card.funding:focus-visible,
.investi-launch-card.grocery:hover,
.investi-launch-card.grocery:focus-visible,
.investi-launch-card.tech:hover,
.investi-launch-card.tech:focus-visible {
  border-color: #fff0a7;
}
.business-workbench .tycoon-workbench-head {
  margin-bottom: 4px;
}
.business-choice-card {
  grid-template-rows: minmax(116px, 1fr) auto 1fr;
}
.business-choice-art {
  width: 100%;
  height: 132px;
  object-fit: contain;
}
.grocery-budget {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 21px;
  padding: 14px 16px;
  border: 1px solid rgba(100, 232, 174, 0.24);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(14, 69, 61, 0.56), rgba(8, 20, 44, 0.75));
}
.grocery-budget span,
.grocery-budget small {
  color: #a5c5d3;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.grocery-budget strong {
  color: #83efd3;
  font-size: 1.1rem;
}
.grocery-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.grocery-product {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 211, 233, 0.16);
  border-radius: 14px;
  background: rgba(5, 14, 33, 0.66);
  transition: border-color 0.16s, transform 0.16s, background 0.16s;
}
.grocery-product.selected {
  border-color: rgba(103, 234, 176, 0.72);
  background: rgba(15, 87, 72, 0.4);
}
.grocery-product > button {
  display: grid;
  width: 100%;
  gap: 4px;
  padding: 12px;
  color: #eaf7ff;
  text-align: left;
}
.grocery-product > button:hover,
.grocery-product > button:focus-visible {
  color: #fff;
  outline: 0;
}
.grocery-product > button b {
  font-size: 0.78rem;
}
.grocery-product > button span,
.grocery-product label small {
  color: #9cb6ca;
  font-size: 0.66rem;
}
.grocery-product label {
  display: grid;
  gap: 5px;
  padding: 0 12px 12px;
  color: #bad2e5;
  font-size: 0.66rem;
}
.grocery-product input,
.tech-identity input {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(146, 206, 231, 0.27);
  border-radius: 9px;
  background: rgba(4, 14, 33, 0.8);
  color: #fff;
  font: inherit;
}
.tech-identity {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 21px;
  padding: 15px 18px;
  border: 1px solid rgba(100, 190, 255, 0.27);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 74, 132, 0.66), rgba(15, 14, 59, 0.82));
}
.business-hero-art {
  width: 112px;
  height: 130px;
  object-fit: contain;
}
.tech-identity label {
  display: grid;
  gap: 8px;
  color: #eaf6ff;
  font-size: 0.78rem;
  font-weight: 800;
}
.tech-identity > strong {
  color: #8ee5ff;
  font-size: 0.82rem;
  text-align: right;
}
.tech-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.tech-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  min-height: 93px;
  padding: 14px;
  border: 1px solid rgba(166, 200, 248, 0.2);
  border-radius: 14px;
  background: rgba(7, 17, 48, 0.72);
  color: #ecf6ff;
  text-align: left;
}
.tech-choice:hover,
.tech-choice:focus-visible,
.tech-choice.selected {
  border-color: #76cfff;
  background: rgba(33, 99, 157, 0.42);
  outline: 0;
}
.tech-choice b {
  font-size: 0.84rem;
}
.tech-choice span {
  color: #91e6ff;
  font-size: 0.78rem;
  font-weight: 900;
}
.tech-choice small {
  grid-column: 1 / -1;
  color: #a8bed7;
  font-size: 0.68rem;
  line-height: 1.42;
}
.business-status-list {
  display: grid;
  gap: 9px;
}
.business-status-card {
  position: relative;
  display: grid;
  gap: 4px;
  overflow: hidden;
  padding: 13px 15px;
  border: 1px solid rgba(177, 211, 240, 0.17);
  border-radius: 13px;
  background: rgba(4, 15, 34, 0.6);
}
.business-status-card b {
  color: #fff;
  font-size: 0.84rem;
}
.business-status-card span {
  color: #a3bed3;
  font-size: 0.72rem;
}
.business-status-card strong {
  color: #83efd3;
  font-size: 0.75rem;
}
.business-status-card.declined strong {
  color: #ff9b9b;
}
.business-status-card.submitted strong {
  color: #ffe298;
}
.business-status-card i {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #70eed1, #78bbff);
}
.grocery-workbench .investi-step {
  margin-top: 18px;
}
.grocery-category-stage {
  padding: 18px;
  border: 1px solid rgba(128, 208, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 59, 100, 0.46), rgba(8, 19, 47, 0.76));
}
.grocery-category-stage > b,
.grocery-stage-heading b {
  display: block;
  margin-bottom: 12px;
  color: #eaf7ff;
  font-size: 0.9rem;
}
.grocery-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grocery-category-choice {
  min-height: 118px;
}
.grocery-category-choice.artisan {
  border-color: rgba(255, 205, 109, 0.34);
  background: linear-gradient(135deg, rgba(91, 58, 19, 0.48), rgba(27, 25, 57, 0.78));
}
.grocery-category-choice.artisan:hover,
.grocery-category-choice.artisan:focus-visible,
.grocery-category-choice.artisan.selected {
  border-color: #ffd76c;
  background: rgba(112, 76, 25, 0.52);
}
.grocery-selection-stage {
  padding: 18px;
  border: 1px solid rgba(112, 222, 183, 0.24);
  border-radius: 18px;
  background: rgba(8, 31, 47, 0.7);
}
.grocery-selection-stage .grocery-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grocery-stage-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.grocery-stage-heading b {
  margin: 0;
}
.grocery-stage-heading span {
  color: #a8c5d9;
  font-size: 0.72rem;
}
.grocery-product {
  display: grid;
  align-content: start;
}
.grocery-product > button {
  min-height: 72px;
}
.grocery-product > button {
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 118px;
  padding: 10px 12px;
  border: 0;
  background: linear-gradient(135deg, rgba(10, 31, 59, 0.96), rgba(8, 62, 70, 0.84));
}
.grocery-product > button:hover,
.grocery-product > button:focus-visible { background: linear-gradient(135deg, rgba(14, 51, 88, 0.98), rgba(13, 92, 91, 0.9)); }
.grocery-product-art {
  display: block;
  width: 92px;
  aspect-ratio: 1;
  background-image: url('./assets/tycoon-grocery-products-v2.png');
  background-repeat: no-repeat;
  background-position: var(--grocery-art-position);
  background-size: 400% 300%;
  filter: drop-shadow(0 8px 11px rgba(0, 0, 0, 0.35));
  transform: scale(0.94);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.grocery-product > button:hover .grocery-product-art,
.grocery-product > button:focus-visible .grocery-product-art,
.grocery-product.selected .grocery-product-art {
  filter: drop-shadow(0 8px 13px rgba(102, 230, 180, 0.32));
  transform: scale(1);
}
.grocery-product-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.grocery-product-meta b {
  font-size: 0.94rem;
}
.grocery-product-meta small {
  color: #70dfbd;
  font-size: 0.64rem;
  font-weight: 700;
}
.grocery-product > button b {
  font-size: 0.88rem;
}
.grocery-product-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 0 12px 12px;
}
.grocery-product-fields label {
  display: grid;
  gap: 5px;
  color: #c1dcea;
  font-size: 0.68rem;
  font-weight: 800;
}
.grocery-product-fields input,
.grocery-product-fields select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 9px;
  border: 1px solid rgba(146, 206, 231, 0.3);
  border-radius: 9px;
  background: rgba(4, 14, 33, 0.8);
  color: #fff;
  font: inherit;
}
.grocery-product-fields small {
  color: #9ebcd1;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.3;
}
.artisan-selection {
  border-color: rgba(255, 211, 104, 0.3);
  background: linear-gradient(135deg, rgba(84, 61, 28, 0.45), rgba(10, 24, 50, 0.76));
}
.artisan-supply-grid .grocery-product.selected {
  border-color: rgba(255, 218, 117, 0.82);
  background: rgba(103, 75, 27, 0.46);
}
.grocery-forecast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-top: 20px;
}
.grocery-forecast h3 {
  margin: 3px 0 11px;
  color: #f2fbff;
  font-size: 1.15rem;
}
.grocery-forecast > div > small {
  display: block;
  margin-top: 12px;
  color: #abc7d8;
  font-size: 0.68rem;
  line-height: 1.45;
}
.grocery-tax-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.grocery-tax-summary > div {
  display: grid;
  gap: 4px;
  padding: 9px;
  border: 1px solid rgba(168, 217, 243, 0.16);
  border-radius: 10px;
  background: rgba(4, 16, 36, 0.5);
}
.grocery-tax-summary span {
  color: #b5cce0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.grocery-tax-summary b {
  color: #dff5ff;
  font-size: 0.76rem;
}
.grocery-tax-summary .net {
  border-color: rgba(100, 235, 181, 0.45);
  background: rgba(13, 85, 69, 0.42);
}
.grocery-tax-summary .net b {
  color: #83efd3;
}
.grocery-empty-copy {
  margin: 0;
  color: #b9cfdf;
  font-size: 0.78rem;
  line-height: 1.55;
}
@media (max-width: 920px) {
  .grocery-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grocery-category-grid,
  .grocery-tax-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grocery-tax-summary .net { grid-column: span 2; }
}
@media (max-width: 700px) {
  .grocery-budget,
  .tech-identity,
  .grocery-forecast { grid-template-columns: 1fr; }
  .grocery-budget strong,
  .tech-identity > strong { text-align: left; }
  .business-hero-art { width: 100px; height: 112px; }
  .grocery-stage-heading { display: grid; }
  .grocery-product-fields { grid-template-columns: 1fr; }
  .grocery-product > button {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 100px;
  }
  .grocery-product-art { width: 74px; }
}
@media (max-width: 480px) {
  .grocery-product-grid,
  .grocery-selection-stage .grocery-product-grid,
  .tech-choice-grid,
  .grocery-category-grid,
  .grocery-tax-summary { grid-template-columns: 1fr; }
  .grocery-tax-summary .net { grid-column: auto; }
  .business-choice-art { height: 104px; }
}

/* World Engine · édition et voyages */
.book-identity {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(244, 199, 103, .3);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(91, 57, 21, .45), rgba(10, 25, 56, .82));
}
.book-identity label { display: grid; gap: 7px; color: #fff0cb; font-size: .75rem; font-weight: 800; }
.book-identity input { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid rgba(255, 216, 137, .32); border-radius: 10px; background: rgba(4, 14, 33, .82); color: #fff; font: inherit; }
.book-choice-grid,.book-publishing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.book-publishing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.book-marketing { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 11px; padding: 13px 15px; border: 1px solid rgba(150, 203, 255, .3); border-radius: 13px; background: rgba(7, 22, 53, .7); color: #dbeeff; text-align: left; cursor: pointer; }
.book-marketing.selected { border-color: #77d9ff; background: linear-gradient(100deg, rgba(21, 91, 138, .58), rgba(38, 38, 90, .68)); }
.book-marketing b { font-size: .84rem; }.book-marketing span { color: #9be4ff; font-size: .7rem; font-weight: 800; }
.travel-hero { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 18px; align-items: center; min-height: 154px; padding: 15px 19px; border: 1px solid rgba(100, 203, 255, .35); border-radius: 20px; background: linear-gradient(135deg, rgba(8, 64, 119, .66), rgba(20, 24, 72, .86)); }
.travel-hero-art { width: 138px; height: 128px; object-fit: contain; }.travel-hero span,.travel-hero b,.travel-hero small { display: block; }.travel-hero span { color: #9be5ff; font-size: .67rem; font-weight: 900; letter-spacing: .13em; }.travel-hero b { margin: 5px 0; color: #fff; font-size: 1.5rem; }.travel-hero small { color: #c0ddf5; }
.travel-airline { border-color: color-mix(in srgb, var(--airline) 48%, rgba(145, 205, 255, .22)); }.travel-airline i,.travel-destination i { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px; border-radius: 50%; background: color-mix(in srgb, var(--airline, #53c9ff) 28%, #102e5c); color: var(--airline, #b9edff); font-style: normal; font-weight: 900; }.travel-destination i { --airline:#ffda74; }
.travel-options { display: grid; grid-template-columns: minmax(0, 1fr) 180px 180px; gap: 11px; }.travel-class-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.travel-counter { display: grid; grid-template-columns: 32px 1fr 32px; grid-template-rows: auto 39px auto; gap: 6px; align-items: center; padding: 11px; border: 1px solid rgba(152, 212, 251, .26); border-radius: 13px; background: rgba(5, 21, 47, .72); color: #cde5fa; text-align: center; }.travel-counter span { grid-column: 1 / -1; font-size: .67rem; font-weight: 900; }.travel-counter button { height: 32px; border: 1px solid rgba(130, 211, 255, .38); border-radius: 8px; background: #173a6f; color: #fff; font: inherit; cursor: pointer; }.travel-counter b { color: #fff; }.travel-counter small { grid-column: 1 / -1; min-height: 22px; color: #a7c7e5; font-size: .58rem; line-height: 1.25; }
.travel-quote { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; margin-top: 20px; padding: 18px; border: 1px solid rgba(119, 221, 183, .35); border-radius: 18px; background: linear-gradient(120deg, rgba(15, 91, 73, .47), rgba(8, 28, 60, .83)); }.travel-quote h3 { margin: 4px 0 11px; color: #fff; }.travel-quote > div > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; color: #b9d1e8; font-size: .76rem; }.travel-quote strong { padding-top: 6px; border-top: 1px solid rgba(178, 232, 255, .24); color: #84f0cb; font-size: .88rem; }.travel-quote small { display: block; margin-top: 12px; color: #a7c9df; font-size: .63rem; line-height: 1.45; }
@media (max-width: 920px) { .book-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.travel-options { grid-template-columns: 1fr 1fr; }.travel-class-grid { grid-column: 1 / -1; } }
@media (max-width: 620px) { .book-identity { grid-template-columns: 92px minmax(0, 1fr); }.book-identity label:last-child { grid-column: 1 / -1; }.book-choice-grid,.book-publishing-grid,.travel-options,.travel-class-grid { grid-template-columns: 1fr; }.travel-hero { grid-template-columns: 1fr; text-align: center; }.travel-hero-art { margin: 0 auto; }.travel-quote { grid-template-columns: 1fr; }.travel-quote .tycoon-primary { width: 100%; }.book-marketing { display: grid; } }
.tycoon-page-return{max-width:1240px;margin:0 auto 14px;padding:0 4px}.tycoon-context-return[hidden]{display:none!important}

/* Tech Empires + impact communautaire : même carrière, même portefeuille. */
.tycoon-popularity-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.7fr);gap:18px;align-items:center;margin:18px 0;padding:17px 19px;border:1px solid rgba(255,112,112,.38);border-radius:18px;background:linear-gradient(118deg,rgba(101,25,39,.48),rgba(8,26,55,.85));box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.tycoon-popularity-card.known{border-color:rgba(255,203,92,.48);background:linear-gradient(118deg,rgba(100,70,22,.48),rgba(8,26,55,.85))}.tycoon-popularity-card.famous{border-color:rgba(91,232,166,.48);background:linear-gradient(118deg,rgba(13,91,69,.48),rgba(8,26,55,.85))}
.tycoon-popularity-card h3{margin:3px 0 5px;color:#fff;font-size:1.3rem}.tycoon-popularity-card p:last-child{margin:0;color:#c7d9ed;font-size:.78rem;line-height:1.5}.tycoon-popularity-meter{display:grid;gap:8px;text-align:right}.tycoon-popularity-meter b{color:#ffb5bb;font-size:.78rem;text-transform:uppercase;letter-spacing:.07em}.known .tycoon-popularity-meter b{color:#ffe185}.famous .tycoon-popularity-meter b{color:#8df5cd}.tycoon-popularity-meter span{display:block;overflow:hidden;height:9px;border-radius:99px;background:rgba(2,11,29,.68)}.tycoon-popularity-meter span i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff5b70,#ff9c6e)}.known .tycoon-popularity-meter span i{background:linear-gradient(90deg,#f4b641,#ffe68c)}.famous .tycoon-popularity-meter span i{background:linear-gradient(90deg,#34c88c,#a5f5cf)}.tycoon-popularity-meter small{color:#b9d2e9;font-size:.68rem}
.tech-empire-catalog>div,.community-initiative-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}.tech-empire-card,.community-initiative{position:relative;display:grid;grid-template-rows:126px auto auto;gap:8px;overflow:hidden;padding:0 0 12px;border:1px solid rgba(126,207,255,.24);border-radius:15px;background:linear-gradient(154deg,rgba(21,63,116,.8),rgba(5,19,46,.94));color:#e8f6ff;text-align:left;cursor:pointer}.tech-empire-card:hover,.community-initiative:hover,.tech-empire-card.selected,.community-initiative.selected{border-color:#80e2ff;box-shadow:0 0 0 2px rgba(76,198,255,.16),0 13px 25px rgba(1,10,31,.34);transform:translateY(-2px)}.tech-empire-card[disabled],.community-initiative[disabled]{opacity:.58;cursor:not-allowed;transform:none}.tech-empire-art,.community-initiative-art{width:100%;height:126px;object-fit:cover;background:#092653}.tech-empire-card span,.community-initiative span{display:grid;gap:4px;padding:0 12px}.tech-empire-card b,.community-initiative b{color:#fff;font-size:.84rem}.tech-empire-card small,.community-initiative small{min-height:33px;color:#bad6eb;font-size:.66rem;line-height:1.35}.community-initiative em{color:#8ff4cc;font-size:.63rem;font-style:normal;font-weight:800}.tech-empire-card>em,.community-initiative>i{padding:0 12px;color:#91dcff;font-size:.68rem;font-style:normal;font-weight:800}.community-initiative>i{color:#ffdb8c}.tech-budget-panel,.tech-public-program{margin-top:14px;padding:15px;border:1px solid rgba(132,209,255,.28);border-radius:15px;background:rgba(5,25,56,.7);color:#d5edff}.tech-budget-panel>b,.tech-public-program>b{color:#fff;font-size:.84rem}.tech-budget-panel>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.tech-budget-panel label{display:grid;gap:6px;color:#cceaff;font-size:.68rem;font-weight:800}.tech-budget-panel input{min-width:0;padding:10px;border:1px solid rgba(132,209,255,.32);border-radius:9px;background:#071b40;color:#fff;font:inherit}.tech-budget-panel small,.tech-public-program p{margin:0;color:#a9c8df;font-size:.7rem;line-height:1.5}.tech-public-program{border-color:rgba(246,203,104,.42);background:linear-gradient(120deg,rgba(108,74,21,.42),rgba(7,28,60,.78))}.tech-public-program>b{color:#ffe28d}
.community-workbench .tycoon-popularity-card{margin-top:0}.community-initiative-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-initiative{grid-template-columns:150px minmax(0,1fr);grid-template-rows:auto auto;min-height:150px;padding:0}.community-initiative-art{grid-row:1 / span 2;height:100%}.community-initiative span{padding:12px 12px 0}.community-initiative>i{padding:0 12px 12px}.investi-launch-card.community{border-color:rgba(103,239,180,.38);background:linear-gradient(135deg,rgba(18,105,84,.54),rgba(9,31,69,.88))}.investi-launch-card.community img{object-fit:cover}
@media (max-width:1050px){.tech-empire-catalog>div{grid-template-columns:repeat(2,minmax(0,1fr))}.tech-empire-card{grid-template-columns:130px minmax(0,1fr);grid-template-rows:auto auto;min-height:126px;padding:0}.tech-empire-art{grid-row:1 / span 2;height:100%}.tech-empire-card span{padding:12px 12px 0}.tech-empire-card>em{padding:0 12px 12px}.tech-budget-panel>div{grid-template-columns:1fr}}
@media (max-width:700px){.tycoon-popularity-card{grid-template-columns:1fr;padding:14px}.tycoon-popularity-meter{text-align:left}.community-initiative-grid{grid-template-columns:1fr}.tech-empire-card,.community-initiative{grid-template-columns:110px minmax(0,1fr);min-height:110px}.tech-empire-art,.community-initiative-art{height:100%}.tech-empire-card b,.community-initiative b{font-size:.78rem}.tech-empire-card small,.community-initiative small{font-size:.62rem}.tech-budget-panel>div{grid-template-columns:1fr}}
