:root {
  --story-accent: #8fa9b7;
  --story-accent-hot: #8f1f22;
  --danger: #8f1f22;
  --danger-hot: #d45349;
  --janitor-ink: #07090a;
  --janitor-graphite: #131719;
  --janitor-slate: #263238;
  --janitor-steel: #8fa9b7;
  --janitor-champagne: #d8b46b;
  --janitor-gold-bright: #f1d28a;
  --janitor-red: #8f1f22;
  --janitor-glass: rgba(12, 15, 16, 0.78);
  --janitor-glass-strong: rgba(9, 11, 12, 0.92);
  --janitor-line: rgba(216, 180, 107, 0.28);
  --janitor-white: #fff7e8;
  --janitor-paper: #ead8b8;
  --janitor-paper-shadow: #9f7f55;
  --janitor-paper-ink: #2a2018;
  --janitor-evidence-red: #8f1f22;
  --janitor-paper-texture: none;
}

.app-shell[data-story-ui="janitor-secret"] {
  background:
    linear-gradient(180deg, rgba(232, 235, 232, 0.08), rgba(0, 0, 0, 0)),
    radial-gradient(circle at 50% -14%, rgba(143, 169, 183, 0.22), transparent 42%),
    #080a0b;
}

.app-shell[data-story-ui="janitor-secret"]::after {
  opacity: 0.08;
}

.app-shell[data-story-ui="janitor-secret"] .entry-screen {
  padding-top: calc(28px + env(safe-area-inset-top));
  background:
    linear-gradient(180deg, rgba(235, 239, 238, 0.18), rgba(12, 15, 16, 0.24) 42%, #080a0b 100%);
}

.app-shell[data-story-ui="janitor-secret"] .entry-background-video {
  opacity: 0.92;
  filter: contrast(1.04) brightness(0.9) saturate(0.8);
}

.app-shell[data-story-ui="janitor-secret"] .entry-screen::before {
  background:
    linear-gradient(180deg, rgba(239, 244, 243, 0.08) 0%, rgba(7, 9, 10, 0.04) 35%, rgba(7, 9, 10, 0.76) 78%, #07090a 100%),
    linear-gradient(90deg, rgba(7, 9, 10, 0.36), transparent 28%, transparent 72%, rgba(7, 9, 10, 0.24));
}

.app-shell[data-story-ui="janitor-secret"] .entry-screen::after {
  content: "K";
  left: 50%;
  top: calc(58px + env(safe-area-inset-top));
  right: auto;
  bottom: auto;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  color: rgba(235, 214, 169, 0.74);
  border: 0;
  font-family: var(--font-title);
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.62);
  transform: translateX(-50%);
}

.app-shell[data-story-ui="janitor-secret"] .entry-copy {
  width: min(100%, 320px);
  margin: 24vh auto 0;
}

.app-shell[data-story-ui="janitor-secret"] .subtitle {
  color: rgba(241, 210, 138, 0.9);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.app-shell[data-story-ui="janitor-secret"] h1,
.app-shell[data-story-ui="janitor-secret"] h2 {
  color: var(--janitor-white);
  text-shadow:
    0 3px 18px rgba(0, 0, 0, 0.82),
    0 0 28px rgba(216, 180, 107, 0.2);
}

.app-shell[data-story-ui="janitor-secret"] .description {
  color: rgba(255, 247, 232, 0.72);
}

.app-shell[data-story-ui="janitor-secret"] .entry-energy-bar {
  top: calc(25px + env(safe-area-inset-top));
  right: 18px;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--janitor-white);
  background:
    linear-gradient(180deg, rgba(36, 38, 37, 0.88), rgba(8, 9, 10, 0.82)),
    radial-gradient(circle at 20% 0%, rgba(216, 180, 107, 0.24), transparent 58%);
  border-color: rgba(216, 180, 107, 0.38);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.app-shell[data-story-ui="janitor-secret"] .entry-energy-bar[data-state="full"] {
  background:
    linear-gradient(180deg, rgba(35, 39, 36, 0.9), rgba(8, 10, 9, 0.84)),
    radial-gradient(circle at 20% 0%, rgba(241, 210, 138, 0.3), transparent 60%);
  border-color: rgba(241, 210, 138, 0.46);
}

.app-shell[data-story-ui="janitor-secret"] .energy-icon,
.app-shell[data-story-ui="janitor-secret"] .commerce-balance[data-type="energy"]::before {
  background: linear-gradient(180deg, #fff0a8, #d8b46b 58%, #a86d28);
  filter: drop-shadow(0 0 7px rgba(216, 180, 107, 0.55));
}

.app-shell[data-story-ui="janitor-secret"] .entry-actions {
  gap: 10px;
}

.app-shell[data-story-ui="janitor-secret"] .primary-button,
.app-shell[data-story-ui="janitor-secret"] .commerce-action-primary {
  color: #271b0a;
  background:
    linear-gradient(180deg, #f3d990 0%, #d8b46b 52%, #a97935 100%);
  border-color: rgba(255, 233, 169, 0.72);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(216, 180, 107, 0.2);
  letter-spacing: 0.02em;
  text-transform: none;
}

.app-shell[data-story-ui="janitor-secret"] .primary-button:disabled {
  color: rgba(255, 247, 232, 0.46);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.app-shell[data-story-ui="janitor-secret"] .route-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 14px;
}

.app-shell[data-story-ui="janitor-secret"] .route-option {
  min-height: 38px;
  padding: 0 10px;
  color: rgba(255, 247, 232, 0.82);
  background: rgba(8, 10, 11, 0.52);
  border-color: rgba(255, 247, 232, 0.2);
  backdrop-filter: blur(12px);
  font-size: 11px;
}

.app-shell[data-story-ui="janitor-secret"] .route-option.selected {
  color: var(--janitor-white);
  border-color: rgba(216, 180, 107, 0.64);
  background: rgba(216, 180, 107, 0.12);
}

.app-shell[data-story-ui="janitor-secret"] .commerce-modal {
  background:
    linear-gradient(180deg, rgba(7, 9, 10, 0.04), rgba(7, 9, 10, 0.78)),
    rgba(7, 9, 10, 0.28);
  backdrop-filter: blur(5px);
}

.app-shell[data-story-ui="janitor-secret"] .commerce-dialog {
  position: relative;
  overflow: hidden;
  gap: 12px;
  padding: 22px 16px 16px;
  color: var(--janitor-white);
  background:
    linear-gradient(180deg, rgba(32, 36, 37, 0.96), rgba(9, 12, 13, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(216, 180, 107, 0.18), transparent 58%);
  border-color: rgba(216, 180, 107, 0.3);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.app-shell[data-story-ui="janitor-secret"] .commerce-dialog::before {
  content: "";
  width: 44px;
  height: 4px;
  justify-self: center;
  margin: -10px 0 6px;
  background: rgba(255, 247, 232, 0.34);
  border-radius: 999px;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-dialog[data-tone="success"]::after {
  content: "✓";
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  justify-self: center;
  order: -1;
  margin-bottom: -4px;
  color: var(--janitor-gold-bright);
  border: 1px solid rgba(241, 210, 138, 0.68);
  border-radius: 50%;
  background: rgba(216, 180, 107, 0.06);
  box-shadow: 0 0 30px rgba(216, 180, 107, 0.22);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  animation: access-success-pop 440ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-dialog h2 {
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-dialog p {
  max-width: 260px;
  justify-self: center;
  color: rgba(255, 247, 232, 0.68);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42;
  text-align: center;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-detail-list {
  display: grid;
  gap: 0;
  margin: 4px 0 0;
  border: 1px solid rgba(255, 247, 232, 0.13);
  border-radius: 6px;
  overflow: hidden;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-detail-row {
  min-height: 42px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 247, 232, 0.1);
}

.app-shell[data-story-ui="janitor-secret"] .commerce-detail-row:last-child {
  border-bottom: 0;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-detail-row::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid rgba(216, 180, 107, 0.42);
  border-radius: 50%;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-detail-row[data-icon="energy"]::before {
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #fff0a8, #d8b46b);
  clip-path: polygon(62% 0, 24% 47%, 52% 47%, 38% 100%, 78% 38%, 50% 38%);
}

.app-shell[data-story-ui="janitor-secret"] .commerce-detail-row[data-icon="clock"]::before,
.app-shell[data-story-ui="janitor-secret"] .commerce-detail-row[data-icon="calendar"]::before {
  background:
    radial-gradient(circle, transparent 46%, rgba(216, 180, 107, 0.8) 48% 56%, transparent 58%),
    linear-gradient(90deg, transparent 47%, rgba(216, 180, 107, 0.8) 48% 53%, transparent 54%);
}

.app-shell[data-story-ui="janitor-secret"] .commerce-detail-row dt {
  color: rgba(255, 247, 232, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-detail-row dd {
  margin: 0;
  color: var(--janitor-white);
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-action {
  border-radius: 6px;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-action-ghost {
  color: rgba(255, 247, 232, 0.66);
}

.app-shell[data-story-ui="janitor-secret"] .player-screen::before {
  background:
    linear-gradient(180deg, rgba(7, 9, 10, 0.36) 0%, transparent 20%, transparent 60%, rgba(7, 9, 10, 0.76) 100%);
}

.app-shell[data-story-ui="janitor-secret"] .player-video,
.app-shell[data-story-ui="janitor-secret"] video {
  filter: contrast(1.03) brightness(0.96) saturate(0.86);
}

.app-shell[data-story-ui="janitor-secret"] .metric-hud {
  top: calc(12px + env(safe-area-inset-top));
  left: 12px;
  min-width: 0;
}

.app-shell[data-story-ui="janitor-secret"] .metric-item {
  min-height: 36px;
  grid-template-columns: 30px auto;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  background: rgba(8, 10, 11, 0.58);
  border-color: rgba(255, 247, 232, 0.18);
  border-radius: 999px;
}

.app-shell[data-story-ui="janitor-secret"] .metric-item:first-child {
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-shell[data-story-ui="janitor-secret"] .metric-icon {
  width: 28px;
  height: 28px;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 107, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 28%, #ead6c7 0 18%, transparent 19%),
    linear-gradient(160deg, #c7c4bc, #55443b 56%, #191b1c);
}

.app-shell[data-story-ui="janitor-secret"] .metric-icon::before,
.app-shell[data-story-ui="janitor-secret"] .metric-icon::after {
  display: none;
}

.app-shell[data-story-ui="janitor-secret"] .metric-label {
  color: rgba(255, 247, 232, 0.82);
  font-size: 11px;
}

.app-shell[data-story-ui="janitor-secret"] .metric-value {
  display: none;
}

.app-shell[data-story-ui="janitor-secret"] .metric-toast {
  top: calc(62px + env(safe-area-inset-top));
  right: 12px;
  left: auto;
  max-width: min(300px, calc(100% - 24px));
  align-items: flex-end;
  transform: none;
  gap: 10px;
}

.app-shell[data-story-ui="janitor-secret"] .metric-toast-card {
  position: relative;
  min-width: 0;
  width: max-content;
  grid-template-columns: 40px auto;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  overflow: hidden;
  color: #ffffff;
  background: rgba(12, 12, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  clip-path: none;
  transform: none;
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
}

.app-shell[data-story-ui="janitor-secret"] .metric-toast-card::before {
  display: none;
}

.app-shell[data-story-ui="janitor-secret"] .metric-toast-card.secondary {
  opacity: 0.8;
  transform: translateY(-3px) translateX(-4px) scale(0.92);
}

.app-shell[data-story-ui="janitor-secret"] .metric-toast-avatar {
  width: 40px;
  height: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 30%, rgba(200, 180, 160, 0.6) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 70%, rgba(80, 60, 50, 0.7) 0 28%, transparent 29%),
    linear-gradient(145deg, #3a4a52, #121416);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-family: var(--font-title);
  font-size: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.app-shell[data-story-ui="janitor-secret"] .metric-toast-name {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.app-shell[data-story-ui="janitor-secret"] .metric-toast-relation {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.app-shell[data-story-ui="janitor-secret"] .metric-toast-delta {
  min-width: auto;
  padding: 0;
  color: #ff7a66;
  border: 0;
  border-radius: 0;
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1;
  text-align: center;
  transform: none;
  text-shadow: 0 0 14px rgba(255, 90, 70, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.app-shell[data-story-ui="janitor-secret"] .metric-toast-card.negative .metric-toast-delta {
  color: #7dd3e0;
  text-shadow: 0 0 14px rgba(100, 200, 220, 0.4), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.app-shell[data-story-ui="janitor-secret"] .text-layer {
  left: 16px;
  right: 16px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  padding: 12px 14px;
  color: var(--janitor-white);
  background: rgba(8, 10, 11, 0.6);
  border: 1px solid rgba(255, 247, 232, 0.18);
  border-radius: 6px;
  backdrop-filter: blur(14px);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.app-shell[data-story-ui="janitor-secret"] .text-layer:empty {
  display: none;
}

.app-shell[data-story-ui="janitor-secret"] .text-layer i,
.app-shell[data-story-ui="janitor-secret"] .text-layer em {
  font-style: italic;
  color: rgba(255, 247, 232, 0.76);
  font-weight: 500;
}

.app-shell[data-story-ui="janitor-secret"] .choice-overlay {
  gap: 14px;
  padding: 14px 16px 24px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 6, 10, 0.7) 100%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.app-shell[data-story-ui="janitor-secret"] .choice-overlay .choice-button {
  min-height: 76px;
}

.app-shell[data-story-ui="janitor-secret"] .choice-overlay[data-choice-layout="stacked"] .choice-button,
.app-shell[data-story-ui="janitor-secret"] .choice-overlay[data-choice-layout="triple-stacked"] .choice-button {
  width: min(100%, 620px);
}

.app-shell[data-story-ui="janitor-secret"] .choice-overlay[data-choice-layout="stacked"] .choice-button:nth-of-type(even),
.app-shell[data-story-ui="janitor-secret"] .choice-overlay[data-choice-layout="triple-stacked"] .choice-button:nth-of-type(even) {
  justify-self: end;
}

.app-shell[data-story-ui="janitor-secret"] .choice-panel-header {
  min-height: 38px;
  padding-inline: 6px;
}

.app-shell[data-story-ui="janitor-secret"] .choice-prompt {
  color: rgba(255, 247, 232, 0.86);
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
}

.app-shell[data-story-ui="janitor-secret"] .choice-prompt::before {
  content: "CASE DECISION";
  display: inline-grid;
  place-items: center;
  min-height: 26px;
  padding: 4px 14px 3px;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(15, 15, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.app-shell[data-story-ui="janitor-secret"] .choice-timer {
  position: relative;
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(15, 15, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 13px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transform: none;
}

.app-shell[data-story-ui="janitor-secret"] .choice-timer::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background:
    conic-gradient(#ff6b52 calc(var(--choice-progress, 1) * 1turn), rgba(255, 255, 255, 0.1) 0);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 64%);
  mask: radial-gradient(circle, transparent 62%, #000 64%);
}

.app-shell[data-story-ui="janitor-secret"] .choice-button {
  min-height: 58px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  padding: 14px 20px 13px;
  color: #ffffff;
  background: rgba(12, 12, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  clip-path: none;
  transform: none;
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.app-shell[data-story-ui="janitor-secret"] .choice-button:nth-of-type(even) {
  clip-path: none;
  transform: none;
}

.app-shell[data-story-ui="janitor-secret"] .choice-button::before {
  display: none;
}

.app-shell[data-story-ui="janitor-secret"] .choice-button > * {
  position: relative;
  z-index: 1;
}

.app-shell[data-story-ui="janitor-secret"] .choice-button i {
  display: none;
}

.app-shell[data-story-ui="janitor-secret"] .choice-button .choice-label {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.app-shell[data-story-ui="janitor-secret"] .choice-impact {
  align-self: start;
  padding: 3px 10px 2px;
  color: #ffffff;
  background: rgba(255, 90, 70, 0.45);
  border: 1px solid rgba(255, 110, 90, 0.35);
  border-radius: 8px;
  clip-path: none;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.app-shell[data-story-ui="janitor-secret"] .choice-button.locked {
  position: relative;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(12, 12, 18, 0.5);
  border-color: rgba(255, 255, 255, 0.08);
  border-style: solid;
  opacity: 1;
}

.app-shell[data-story-ui="janitor-secret"] .choice-button.locked .choice-label {
  color: rgba(255, 255, 255, 0.45);
  text-shadow: none;
}

.app-shell[data-story-ui="janitor-secret"] .choice-button.locked::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: none;
  z-index: 2;
}

.app-shell[data-story-ui="janitor-secret"] .choice-requirement {
  grid-column: 1 / -1;
  margin-top: -2px;
  color: rgba(255, 140, 130, 0.9);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.app-shell[data-story-ui="janitor-secret"] .choice-access-label {
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.app-shell[data-story-ui="janitor-secret"] .choice-button:active,
.app-shell[data-story-ui="janitor-secret"] .choice-button:hover:not(:disabled),
.app-shell[data-story-ui="janitor-secret"] .choice-button:focus-visible:not(:disabled) {
  color: #ffffff;
  background: rgba(25, 25, 35, 0.88);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 24px rgba(255, 255, 255, 0.08);
  transform: translateY(-3px) scale(1.015);
}

.app-shell[data-story-ui="janitor-secret"] .choice-button:nth-of-type(even):active,
.app-shell[data-story-ui="janitor-secret"] .choice-button:nth-of-type(even):hover:not(:disabled),
.app-shell[data-story-ui="janitor-secret"] .choice-button:nth-of-type(even):focus-visible:not(:disabled) {
  transform: translateY(-3px) scale(1.015);
}

.app-shell[data-story-ui="janitor-secret"] .gift-button {
  width: 52px;
  height: 52px;
  background: rgba(12, 12, 18, 0.78);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.app-shell[data-story-ui="janitor-secret"] .gift-button::after {
  content: "";
  right: 2px;
  left: auto;
  top: 2px;
  bottom: auto;
  width: 10px;
  height: 10px;
  padding: 0;
  background: #ff5f5f;
  border: 1px solid rgba(255, 200, 200, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 95, 95, 0.5);
  transform: none;
}

.app-shell[data-story-ui="janitor-secret"] .result-screen {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(24px + env(safe-area-inset-top)) 18px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(31, 33, 31, 0.98), #0a0c0d),
    radial-gradient(circle at 50% 0%, rgba(216, 180, 107, 0.14), transparent 48%);
}

.app-shell[data-story-ui="janitor-secret"] .result-dossier {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 6px;
  margin-block: auto;
  padding: 0 4px;
}

.app-shell[data-story-ui="janitor-secret"] .result-screen::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 247, 232, 0.028) 0 1px, transparent 1px 8px),
    linear-gradient(90deg, rgba(216, 180, 107, 0.08), transparent 24%, transparent 76%, rgba(216, 180, 107, 0.08));
}

.app-shell[data-story-ui="janitor-secret"] .result-screen::after {
  content: "CONFIDENTIAL";
  left: auto;
  right: 18px;
  top: calc(36px + env(safe-area-inset-top));
  bottom: auto;
  padding: 3px 8px;
  width: auto;
  height: auto;
  color: rgba(212, 83, 73, 0.76);
  border: 2px solid rgba(212, 83, 73, 0.54);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(-8deg);
}

.app-shell[data-story-ui="janitor-secret"] .result-screen .subtitle {
  margin: 0;
  color: rgba(216, 180, 107, 0.82);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.app-shell[data-story-ui="janitor-secret"] .result-screen h2 {
  font-size: clamp(24px, 7vw, 34px);
  line-height: 1.08;
}

.app-shell[data-story-ui="janitor-secret"] .result-screen .description {
  margin-top: 0;
  font-size: 12px;
  line-height: 1.35;
}

.app-shell[data-story-ui="janitor-secret"] .ending-progress,
.app-shell[data-story-ui="janitor-secret"] .metric-list,
.app-shell[data-story-ui="janitor-secret"] .chapter-stats,
.app-shell[data-story-ui="janitor-secret"] .achievement-section,
.app-shell[data-story-ui="janitor-secret"] .result-screen section {
  flex: 0 0 auto;
  background: rgba(255, 247, 232, 0.045);
  border: 1px solid rgba(216, 180, 107, 0.22);
  border-radius: 6px;
}

.app-shell[data-story-ui="janitor-secret"] .ending-progress {
  width: 100%;
  padding: 6px 10px;
  color: var(--janitor-white);
  border-radius: 6px;
  font-size: 11px;
}

.app-shell[data-story-ui="janitor-secret"] .metric-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  padding: 8px 10px;
}

.app-shell[data-story-ui="janitor-secret"] .metric-list dt {
  color: rgba(255, 247, 232, 0.68);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.app-shell[data-story-ui="janitor-secret"] .metric-list dd {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 247, 232, 0.08);
  font-size: 12px;
}

.app-shell[data-story-ui="janitor-secret"] .metric-list dd:last-child {
  border-bottom: 0;
}

.app-shell[data-story-ui="janitor-secret"] .chapter-stats {
  display: grid;
  gap: 3px;
  margin-top: 4px;
  padding: 6px 10px;
  color: rgba(255, 247, 232, 0.72);
  font-size: 10px;
  font-weight: 600;
}

.app-shell[data-story-ui="janitor-secret"] .chapter-stats p {
  margin: 0;
}

.app-shell[data-story-ui="janitor-secret"] .result-screen section {
  padding: 6px 10px;
}

.app-shell[data-story-ui="janitor-secret"] .result-screen h3 {
  margin: 0 0 4px;
  color: rgba(216, 180, 107, 0.86);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.app-shell[data-story-ui="janitor-secret"] .choice-history {
  max-height: 60px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.35;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-bar {
  display: flex;
  justify-content: space-between;
  padding: 9px 10px;
  background: rgba(255, 247, 232, 0.045);
  border: 1px solid rgba(216, 180, 107, 0.22);
  border-radius: 6px;
  pointer-events: auto;
}

.app-shell[data-story-ui="janitor-secret"] .commerce-balance {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.app-shell[data-story-ui="janitor-secret"] .result-actions {
  position: sticky;
  bottom: 0;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 0;
  padding-top: 4px;
  background: linear-gradient(180deg, rgba(10, 12, 13, 0), rgba(10, 12, 13, 0.96) 22%);
}

.app-shell[data-story-ui="janitor-secret"] .result-actions .primary-button,
.app-shell[data-story-ui="janitor-secret"] .result-actions .secondary-button {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

@keyframes access-success-pop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
