.official-depth {
  width: min(760px, calc(100vw - 32px));
  min-height: 0;
  max-height: calc(100svh - 40px);
  overflow: auto;
  border: 1px solid #344451;
  background: #071019;
  color: #e5edf2;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}

.official-depth::backdrop {
  background: rgba(2, 7, 11, .76);
  backdrop-filter: blur(4px);
}

.official-depth .official-depth-shell {
  width: 100%;
  min-height: 0;
  padding: 0;
}

.official-depth .official-depth-shell::before { display: none; }

.official-depth-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 10px 20px;
  border-bottom: 1px solid #263540;
}

.official-depth-header .prediction-depth-kicker {
  margin: 0;
  color: #e5edf2;
  font: 700 16px/1.25 var(--jp);
  letter-spacing: .03em;
}

.official-depth .prediction-depth-close {
  position: static;
  width: 38px;
  height: 38px;
  border: 1px solid #344451;
  background: transparent;
  color: #aebdc7;
}

.official-depth-global-actions {
  display: flex;
  gap: 8px;
}

.official-depth-global-actions button {
  min-width: 76px;
  min-height: 38px;
  border: 1px solid #526675;
  padding: 0 18px;
  background: transparent;
  color: #dbe5eb;
  font: 700 13px/1 var(--jp);
  cursor: pointer;
}

.official-depth-global-actions .official-depth-global-edit,
.official-depth-global-actions .official-depth-global-save {
  min-width: 88px;
  border-color: #cfdbe2;
  background: #cfdbe2;
  color: #08131b;
}

.official-depth-global-actions button[hidden] { display: none; }

.official-depth-save-status {
  margin: 10px 20px 0;
  border-left: 2px solid rgba(69, 208, 242, .72);
  padding: 8px 12px;
  color: rgba(174, 219, 240, .9);
  font: 650 11px/1.6 var(--jp);
  letter-spacing: .035em;
}

.official-depth-save-status.is-warning {
  border-left-color: rgba(255, 157, 73, .8);
  color: rgba(255, 195, 141, .9);
}

.official-depth-fields {
  margin: 0 20px;
}

.official-depth-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  min-height: 72px;
  padding: 13px 0;
  border-bottom: 1px solid #263540;
}

.official-depth-item-head {
  padding-top: 0;
}

.official-depth-item-head > span {
  color: #8ea0ad;
  font: 700 12px/1.4 var(--jp);
  letter-spacing: .04em;
}

.official-depth .prediction-depth-title {
  margin: 0;
  color: #e5edf2;
  font: 700 14px/1.6 var(--jp);
  letter-spacing: .02em;
}

.official-depth .prediction-depth-lede {
  max-width: none;
  margin: 0;
  color: #a9b7c1;
  font: 500 14px/1.6 var(--jp);
  letter-spacing: .01em;
}

.official-depth .prediction-depth-meta {
  display: block;
  margin: 0;
  padding: 0;
}

.official-depth .prediction-depth-meta > div {
  display: block;
  min-width: 0;
  min-height: 0;
  border: 0;
  padding: 0;
}

.official-depth .prediction-depth-meta dt {
  margin: 0;
  color: #718592;
  font-size: 10px;
}

.official-depth .prediction-depth-meta dd {
  margin: 0;
  color: #d7e1e7;
  font: 500 14px/1.6 var(--jp);
  letter-spacing: .02em;
}

.official-depth-source {
  color: #a9d8f0;
  font: 500 14px/1.6 var(--jp);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.official-depth-source:hover,
.official-depth-source:focus-visible {
  color: #e7f6fd;
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

.official-depth-source[hidden],
.official-depth-empty[hidden],
.official-depth-inline-form[hidden],
.official-depth-art-current[hidden] { display: none; }

.official-depth-empty {
  margin: 0;
  color: #718592;
  font: 500 13px/1.6 var(--jp);
}

.official-depth-art-current {
  display: block;
}

.official-depth-art-cell {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 42px;
}

.official-depth-art-current img {
  width: 72px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #344451;
}

.official-depth-inline-form {
  display: grid;
  gap: 10px;
}

.official-depth-inline-form > input,
.official-depth-inline-form > textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #526675;
  border-radius: 0;
  padding: 5px 9px;
  background: #030a10;
  color: #edf3f6;
  font: 500 14px/1.6 var(--jp);
  outline: none;
}

.official-depth-inline-form > textarea {
  min-height: 52px;
  resize: vertical;
}

.official-depth-inline-form > input:focus,
.official-depth-inline-form > textarea:focus {
  border-color: #9fcce3;
}

.official-depth-art-options {
  display: flex;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}

.official-depth-art-form {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.official-depth-art-actions {
  display: flex;
  margin-left: auto;
  gap: 8px;
}

.official-depth-art-actions button,
.official-depth-art-picker button {
  min-height: 42px;
  border: 1px solid #526675;
  padding: 0 12px;
  background: transparent;
  color: #dbe5eb;
  font: 600 12px/1 var(--jp);
}

.official-depth-art-picker {
  min-width: 0;
  flex: 1 0 100%;
}

.official-depth-art-picker[hidden] { display: none; }

.official-depth-art-option {
  position: relative;
  display: block;
  min-width: 0;
  border: 1px solid #344451;
  background: #030a10;
  color: #dce6eb;
  cursor: pointer;
  flex: 0 0 112px;
}

.official-depth-art-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.official-depth-art-option img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .7;
}

.official-depth-art-option > span:last-child {
  display: block;
  overflow: hidden;
  padding: 7px 8px;
  font: 600 10px/1.3 var(--jp);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-depth-art-option:has(input:checked) {
  border-color: #b8dff2;
  box-shadow: inset 0 0 0 1px #b8dff2;
}

.official-depth-art-option:has(input:checked) img { opacity: 1; }

.official-depth-art-none {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  color: #8193a1;
  font: 700 10px/1 var(--mono);
}

.official-depth-art-help {
  margin: 0;
  color: #718592;
  font: 500 11px/1.5 var(--jp);
}

.official-depth-art-picker > div:last-child {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.official-depth.is-editing .official-depth-item > .prediction-depth-title,
.official-depth.is-editing .official-depth-item > .prediction-depth-lede,
.official-depth.is-editing .official-depth-item > .prediction-depth-meta,
.official-depth.is-editing .official-depth-item > .official-depth-source,
.official-depth.is-editing .official-depth-item > .official-depth-empty,
.official-depth.is-editing .official-depth-item > .official-depth-art-current {
  display: none;
}

body.official-depth-open { overflow: hidden; }

body.official-depth-open .crossroad-hero,
body.official-depth-open .actual-history {
  filter: saturate(.42) brightness(.5) blur(1.4px);
}

.latest-official[data-official-id],
.official-event[data-official-id] { cursor: pointer; }

.latest-official[data-official-id]:focus-visible,
.official-event[data-official-id]:focus-visible {
  outline: 1px solid rgba(196, 228, 245, .68);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .official-depth {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .official-depth-header {
    grid-template-columns: minmax(0, 1fr) auto 38px;
    padding: 8px 10px;
  }

  .official-depth-fields { margin: 0 18px; }

  .official-depth-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15px 0;
  }

  .official-depth .prediction-depth-meta {
    gap: 24px;
  }
}

/* Official and Prediction share one depth-view grammar. Official-only art and
   source data remain, but the read view is no longer presented as a field table. */
.official-depth {
  width: min(760px, calc(100vw - 48px));
  min-height: min(570px, calc(100svh - 70px));
  max-height: calc(100svh - 42px);
  border-color: rgba(130, 205, 252, .18);
  border-top-color: rgba(215, 240, 253, .48);
  background:
    radial-gradient(ellipse 70% 56% at 12% 0, rgba(78, 151, 192, .13), transparent 72%),
    linear-gradient(150deg, rgba(8, 20, 31, .99), rgba(2, 7, 12, .995) 64%);
  box-shadow:
    0 38px 110px rgba(0, 0, 0, .74),
    0 0 44px rgba(67, 150, 199, .08),
    inset 1px 0 0 rgba(178, 224, 248, .14);
}

.official-depth .official-depth-shell {
  position: relative;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  padding: clamp(28px, 5vw, 58px) clamp(24px, 6vw, 68px) 34px;
}

.official-depth .official-depth-shell::before {
  display: block;
}

.official-depth-header {
  display: contents;
}

.official-depth-header .prediction-depth-kicker {
  order: 1;
  margin: 0 58px 22px 0;
  color: rgba(183, 219, 239, .62);
  font: 650 10px/1.3 var(--mono);
  letter-spacing: .22em;
}

.official-depth .prediction-depth-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-color: rgba(205, 228, 241, .2);
  background: rgba(3, 9, 15, .46);
  color: rgba(224, 238, 247, .76);
}

.official-depth-fields {
  order: 2;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto minmax(24px, 1fr) auto;
  grid-template-areas:
    "title title"
    "description description"
    "art art"
    ". ."
    "date source";
  column-gap: 18px;
  margin: 0;
}

.official-depth-item {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
}

.official-depth-item[data-official-field="title"] { grid-area: title; }
.official-depth-item[data-official-field="description"] { grid-area: description; }
.official-depth-item[data-official-field="art"] { grid-area: art; }
.official-depth-item[data-official-field="date"] { grid-area: date; }
.official-depth-item[data-official-field="source"] { grid-area: source; }

.official-depth-item[data-official-field="title"] > .official-depth-item-head,
.official-depth-item[data-official-field="description"] > .official-depth-item-head {
  display: none;
}

.official-depth .prediction-depth-title {
  max-width: 650px;
  margin: 0;
  color: rgba(239, 246, 250, .96);
  font-size: clamp(27px, 4.2vw, 43px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: .025em;
}

.official-depth .prediction-depth-lede,
.official-depth .official-depth-empty#official-depth-lede-empty {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(173, 193, 207, .72);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .055em;
}

.official-depth .official-depth-empty#official-depth-lede-empty {
  border-left: 1px solid rgba(150, 202, 231, .24);
  padding-left: 16px;
  color: rgba(151, 177, 193, .62);
  font-size: 14px;
}

.official-depth-item[data-official-field="art"] {
  display: block;
  margin-top: 24px;
}

.official-depth-item[data-official-field="art"] .official-depth-item-head {
  margin-bottom: 9px;
}

.official-depth-item[data-official-field="art"] .official-depth-item-head > span {
  color: rgba(149, 185, 207, .48);
  font: 650 9px/1 var(--mono);
  letter-spacing: .2em;
}

.official-depth-art-cell {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.official-depth-art-current img {
  width: 92px;
  border-color: rgba(162, 205, 230, .18);
}

.official-depth-item[data-official-field="date"],
.official-depth-item[data-official-field="source"] {
  min-height: 82px;
  border-top: 1px solid rgba(162, 205, 230, .13);
  padding: 14px 18px 10px 0;
}

.official-depth-item[data-official-field="date"] .official-depth-item-head,
.official-depth-item[data-official-field="source"] .official-depth-item-head {
  margin-bottom: 9px;
}

.official-depth-item[data-official-field="date"] .official-depth-item-head > span,
.official-depth-item[data-official-field="source"] .official-depth-item-head > span {
  color: rgba(149, 185, 207, .48);
  font: 650 9px/1 var(--mono);
  letter-spacing: .2em;
}

.official-depth .prediction-depth-meta dd,
.official-depth-source {
  color: rgba(221, 234, 242, .84);
  font: 560 15px/1.45 var(--mono);
  letter-spacing: .06em;
}

.official-depth-source {
  display: block;
  color: rgba(169, 216, 240, .86);
  font-size: 12px;
}

.official-depth-global-actions {
  order: 3;
  justify-content: space-between;
  margin-top: 26px;
}

.official-depth-global-actions button,
.official-depth-global-actions .official-depth-global-edit,
.official-depth-global-actions .official-depth-global-save {
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(190, 220, 237, .18);
  background: transparent;
  color: rgba(192, 211, 223, .65);
  padding: 0 16px;
  font: 650 11px/1 var(--jp);
  letter-spacing: .1em;
}

.official-depth-global-actions .official-depth-global-save {
  border-color: rgba(216, 239, 251, .56);
  background: rgba(210, 235, 248, .92);
  color: #07111a;
}

.official-depth.is-editing .official-depth-fields {
  grid-template-rows: auto;
  row-gap: 18px;
}

.official-depth.is-editing .official-depth-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin: 0;
  border-bottom: 1px solid rgba(162, 205, 230, .13);
  padding: 12px 0;
}

.official-depth.is-editing .official-depth-item > .official-depth-item-head {
  display: block;
  padding-top: 8px;
}

@media (max-width: 720px) {
  .official-depth {
    inset: 11px;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
  }

  .official-depth .official-depth-shell {
    min-height: calc(100svh - 22px);
    padding: 24px 20px 18px;
  }

  .official-depth-header .prediction-depth-kicker {
    margin-bottom: 18px;
  }

  .official-depth-fields {
    flex: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "title"
      "description"
      "art"
      "date"
      "source";
  }

  .official-depth .prediction-depth-title {
    font-size: clamp(24px, 7.2vw, 32px);
    line-height: 1.36;
  }

  .official-depth .prediction-depth-lede,
  .official-depth .official-depth-empty#official-depth-lede-empty {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.72;
  }

  .official-depth-item[data-official-field="art"] {
    margin-top: 18px;
  }

  .official-depth-item[data-official-field="date"],
  .official-depth-item[data-official-field="source"] {
    min-height: 54px;
    padding: 11px 12px 8px 0;
  }

  .official-depth-global-actions {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .official-depth.is-editing .official-depth-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
