.dd-deck {
  position: relative;
  width: 100%;
  color-scheme: dark;
  color: #edf5f7;
  background: #101c28;
  font: 400 1rem/1.5 "DM Sans", "Segoe UI", sans-serif;
  --dd-line: #3a5160;
  --dd-mint: #a6e9db;
  --dd-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.dd-deck *, .dd-deck *::before, .dd-deck *::after { box-sizing: border-box; }
.dd-deck [hidden] { display: none !important; }
.dd-deck button { cursor: pointer; font: inherit; color: inherit; }
.dd-deck button:focus-visible { outline: 2px solid #ffe6c0; outline-offset: 3px; }
.dd-wrap { width: min(1320px, calc(100% - clamp(36px, 9vw, 160px))); margin-inline: auto; }
.dd-picture {
  position: relative; isolation: isolate; overflow: hidden; touch-action: pan-y; cursor: grab;
  background: linear-gradient(#12243b, #645c72 54%, #485766 85%, #253543);
  border-block: 1px solid #425665;
}
.dd-picture:active { cursor: grabbing; }
.dd-panorama { line-height: 0; }
.dd-panorama svg { display: block; width: 100%; height: auto; user-select: none; }
.dd-overlay {
  position: absolute; inset: 0 0 auto; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,22,38,.94), rgba(12,27,43,.55) 55%, rgba(12,27,43,0));
}
.dd-overhead { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: clamp(1.45rem, 3.1vw, 3rem) 0 clamp(1.75rem, 3.8vw, 3.8rem); }
.dd-kicker { display: flex; align-items: center; gap: .6rem; margin: 0 0 .4rem; color: #c3d3dc; font: 600 .72rem/1.4 var(--dd-mono); text-transform: uppercase; letter-spacing: .12em; }
.dd-kicker i { width: 1.35rem; height: 2px; background: var(--dd-mint); }
.dd-kicker span { color: #8497a4; }
.dd-overhead h2 { margin: 0; color: #f2f6f8; font-weight: 650; font-size: clamp(1.65rem, 3.6vw, 3.35rem); line-height: 1.09; letter-spacing: -.05em; }
.dd-route { display: flex; align-items: center; flex-wrap: wrap; gap: .46rem; margin: .48rem 0 0; color: #dbe4e9; font-size: clamp(.82rem, 1.2vw, 1.04rem); }
.dd-route span { color: #b5cac9; }
.dd-play, .dd-docrow button { display: inline-flex; align-items: center; justify-content: center; gap: .49rem; min-height: 2.65rem; border-radius: 6px; padding: .42rem .85rem; font-size: .83rem !important; font-weight: 600 !important; }
.dd-play { flex-shrink: 0; pointer-events: auto; background: #102330d9; border: 1px solid #78939e; }
.dd-play:hover { background: #284351; border-color: #c3d8da; }
.dd-play svg, .dd-docrow svg { width: 1.1rem; height: 1.1rem; color: var(--dd-mint); }
.dd-location { display: flex; align-items: center; gap: .43rem; position: absolute; inset-inline-end: clamp(.9rem, 4.5vw, 6rem); bottom: .32rem; padding: .2rem .5rem; border-radius: 3px; border: 1px solid #5d7178; background: #132632ed; pointer-events: none; }
.dd-location span { width: .35rem; height: .35rem; border-radius: 50%; background: var(--dd-mint); }
.dd-location b { color: #e0edea; font: 500 .65rem/1.45 var(--dd-mono); }
.dd-ramp { opacity: 0; }
.dd-deck[data-stage="2"] .dd-ramp, .dd-deck[data-stage="4"] .dd-ramp { opacity: 1; }
.dd-body { background: radial-gradient(ellipse at 85% 105%, #1d3240, transparent 60%), #101d29; padding: 0 0 clamp(1.2rem, 2.5vw, 2.25rem); }
.dd-timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: .7rem 0 .85rem; border-bottom: 1px solid var(--dd-line); }
.dd-timeline button { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: .45rem; min-height: 2.8rem; border: 1px solid transparent; border-radius: 4px; padding: 0 .35rem; color: #bdcbd2; font-size: clamp(.82rem, 1.35vw, 1.02rem); font-weight: 550; background: transparent; text-align: start; }
.dd-timeline button::after { content: ""; height: 1px; flex: 1; margin-inline: .4rem; min-width: .25rem; background: #4b6572; }
.dd-timeline button:last-child::after { display: none; }
.dd-step-pin { display: grid; place-items: center; flex: 0 0 auto; width: 1.72rem; height: 1.72rem; border: 1px solid #607a88; color: #abbfc9; background: #182b37; border-radius: 50%; font: 500 .76rem/1 var(--dd-mono); }
.dd-timeline button[data-passed="true"]::after { background: #6da99e; }
.dd-timeline button[data-passed="true"] .dd-step-pin { border-color: #63948d; color: #b1d2cc; }
.dd-timeline button[aria-pressed="true"] { color: #f2fbfa; }
.dd-timeline button[aria-pressed="true"] .dd-step-pin { border-color: #c4f1df; color: #092329; background: #a6e9db; box-shadow: 0 0 0 3px #335852; }
.dd-timeline button:hover .dd-step-pin { border-color: #d6eee6; }
.dd-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(1.3rem, 4.3vw, 4.8rem); align-items: start; padding: 1.3rem 0; }
.dd-event h3 { margin: 0; color: #f1f6f8; font-size: clamp(1.22rem, 2.3vw, 2.12rem); line-height: 1.17; letter-spacing: -.032em; }
.dd-event p { margin: .5rem 0 0; max-width: 58ch; color: #bacbd5; font-size: .92rem; line-height: 1.47; }
.dd-handoffs, .dd-manifest { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.3rem; }
.dd-handoffs > div { padding-left: .85rem; border-left: 2px solid #54766a; }
.dd-handoffs > div + div { border-color: #896f59; }
.dd-handoffs span, .dd-manifest dt { font: 600 .68rem/1.3 var(--dd-mono); text-transform: uppercase; letter-spacing: .06em; color: #b2cec9; }
.dd-handoffs > div + div span { color: #dabda4; }
.dd-handoffs p { margin: .32rem 0 0; color: #dce7ec; font-size: .87rem; line-height: 1.47; }
.dd-docrow { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding-top: .75rem; border-top: 1px solid #304653; }
.dd-docrow button { border: 1px solid #54717d; background: #172e39; min-height: 2.45rem; }
.dd-docrow button:hover { border-color: #aaccc8; }
.dd-docrow button b { font: inherit; color: var(--dd-mint); }
.dd-docrow > span { color: #bdd0d8; font: 450 .78rem/1.4 var(--dd-mono); }
.dd-manifest { grid-template-columns: repeat(3,minmax(0,1fr)); margin: .85rem 0 0; padding: .8rem 1rem; border: 1px solid #3b5563; border-radius: 5px; background: #122530; }
.dd-manifest dd { margin: .24rem 0 0; color: #e6eef0; font-size: .88rem; }
.dd-assist { position: absolute; width: 1px; height: 1px; margin: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
@media(max-width:760px){
  .dd-detail { grid-template-columns: 1fr; gap: 1rem; }
  .dd-timeline button { justify-content: center; flex-direction: column; font-size: .79rem; gap: .28rem; padding: 0 .12rem; }
  .dd-timeline button::after { position: absolute; top: .84rem; left: calc(50% + 1.15rem); width: calc(100% - 2.3rem); margin: 0; }
  .dd-timeline button:last-child::after { display: none; }
  .dd-overhead { align-items: start; padding-top: 1.25rem; }
  .dd-play { min-height: 2.4rem; }
  .dd-manifest { gap: .65rem; }
}
@media(max-width:460px){
  .dd-wrap { width: calc(100% - 1.65rem); }
  .dd-overhead { gap: .4rem; padding-top: .9rem; }
  .dd-overhead h2 { font-size: clamp(1.25rem, 5.4vw, 1.6rem); }
  .dd-kicker { font-size: .62rem; gap: .35rem; }
  .dd-route { font-size: .73rem; gap: .25rem; }
  .dd-play { min-height: 2.2rem; padding: .3rem .48rem; font-size: .72rem !important; gap: .25rem; }
  .dd-play svg { width: .95rem; }
  .dd-location { bottom: .2rem; inset-inline-end: .5rem; }
  .dd-location b { font-size: .58rem; }
  .dd-timeline { padding: .6rem 0; }
  .dd-timeline button { font-size: .71rem; min-height: 3rem; }
  .dd-handoffs { gap: .78rem; }
  .dd-manifest { grid-template-columns: 1fr; }
}
