:root{color-scheme:dark;--ink:#06140e;--cream:#f3ecda;--coral:#ff795e;--muted:#c6cabb;--hair:rgba(236,221,175,.48);--edge:clamp(20px,2.2vw,42px);font-family:Inter,"Helvetica Neue",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--ink);color:var(--cream);-webkit-font-smoothing:antialiased}button,input,a{font:inherit}button,a{color:inherit;-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #ff9d81;outline-offset:5px}button{border:0}a,button,input{touch-action:manipulation}[hidden]{display:none!important}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip:focus{position:fixed;z-index:30;padding:12px;background:var(--cream);color:var(--ink);top:8px;left:10px}
.masthead{position:absolute;top:0;left:0;right:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:clamp(16px,2.7vh,30px) var(--edge) 0;pointer-events:none}.masthead>*{pointer-events:auto}.brand{display:inline-flex;gap:.18em;align-items:center;font-size:clamp(34px,3.55vw,63px);font-weight:900;letter-spacing:-.072em;line-height:.9}.paper-hull,.paper-shadow{background:url("/assets/v/paper.252ca0016a3e.webp") center/100% 100% no-repeat;clip-path:polygon(6.1% 58.5%,17% 58%,33.2% 56%,33.4% 48.6%,58.5% 9.8%,55.7% 53.7%,94.1% 38.9%,70.7% 79.8%,17.6% 89%)}.boat-logo{width:1.25em;height:.8em;display:inline-block;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgNTgiPjxwYXRoIGZpbGw9IiNmZjY5NGQiIGQ9Im0yIDIxIDQ1IDExLTIxIDE2em0yNiAyOSA3MC0zNS0yMiAzMnptNi0yNSAyMS0xOCA0IDE5LTEwIDV6Ii8+PC9zdmc+Cg==") center/contain no-repeat}.switch{display:flex;border:1px solid var(--hair);border-radius:15px;overflow:hidden;background:rgba(4,18,12,.92)}.switch a{min-width:clamp(69px,6.2vw,98px);min-height:39px;display:grid;place-items:center;padding:.42em .82em;font-size:clamp(1rem,1.24vw,1.3rem);font-weight:650;letter-spacing:-.035em}.switch a[aria-current]{color:#142016;background:var(--cream);border-radius:12px}.switch a:focus-visible{outline-offset:-4px}
.boat-position{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;will-change:transform}.paper-craft{width:218px;height:148px;position:absolute;bottom:-19px;left:-109px;transform-origin:50% 88%;animation:bob 4.3s ease-in-out infinite}.paper-hull,.paper-shadow{position:absolute;inset:0}.paper-shadow{transform:translateY(131px) scaleY(-.88);opacity:.23;filter:blur(1.2px);mask-image:linear-gradient(to top,#000 4%,transparent 80%)}.wake{position:absolute;left:-72px;top:-7px;width:149px;height:16px;border:1px solid #c8ba89;border-left:4px solid #d6b98b;border-radius:50%;transform:rotate(-6deg);opacity:.35}.wake-outer{transform:scale(1.35,.92) rotate(-6deg);opacity:.23}.boat-position.sailing .wake{animation:wake 1.05s ease-out infinite}.boat-position.sailing .wake-outer{animation-delay:.48s}@keyframes bob{0%,100%{transform:translateY(0) rotate(-.55deg)}50%{transform:translateY(-2px) rotate(.65deg)}}@keyframes wake{from{opacity:.55;scale:.78}to{opacity:.04;scale:1.58}}
.alt-view{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 84% 0%,#23392b -12%,#0b1c13 47%,#07170f 90%)}body.alt .masthead{background:#091910f5;padding-bottom:14px}.alt-wrap{max-width:1240px;margin:auto;padding:clamp(110px,14vh,155px) max(24px,5vw) 48px}.directory-top{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}.alt-view h1{font-size:clamp(3rem,6.3vw,6.5rem);line-height:.97;outline:none}.directory-top p,.extension-copy>p{color:#d2d6c5;margin-top:.7em;font-size:clamp(1.06rem,1.6vw,1.45rem);letter-spacing:-.035em;line-height:1.4}.search{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--hair);padding:8px 2px;max-width:250px}.search input{width:100%;min-width:0;border:0;background:transparent;color:var(--cream);font-size:1rem;padding:4px}.search input::placeholder{color:#c4cbb9}.search-icon{border:1.7px solid var(--cream);width:15px;height:15px;border-radius:50%;position:relative;flex:none}.search-icon:after{content:'';position:absolute;width:7px;height:2px;background:var(--cream);bottom:-2px;right:-5px;transform:rotate(47deg)}.entry{display:grid;grid-template-columns:minmax(100px,17%) 1fr auto;align-items:center;gap:clamp(15px,2.8vw,42px);padding:clamp(15px,2.2vh,26px) 0;border-top:1px solid #81917c70}.entry:last-child{border-bottom:1px solid #81917c70}.entry img{width:100%;height:auto;aspect-ratio:1.75;object-fit:cover;border-radius:5px}.type{font-size:.88rem;color:#bfcab4}.entry h2{font-size:clamp(1.7rem,2.8vw,2.8rem);margin:.12em 0;line-height:1}.entry p{font-size:1rem;line-height:1.38;color:#e1e3d5}.entry-actions{display:flex;align-items:flex-end;flex-direction:column;gap:12px}.entry-open{background:#e8e4d0;font-size:1rem;min-height:36px}.on-map,.text-button{cursor:pointer;text-decoration:underline;text-underline-offset:4px;font-size:.94rem;color:#e2e5d7}.text-button{background:none;padding:0}.on-map:hover,.text-button:hover{color:var(--coral)}#empty{border-top:1px solid var(--hair);padding:30px 0}#empty p{margin-bottom:16px}.extension-wrap{display:grid;grid-template-columns:.86fr 1fr;gap:6%;align-items:center;min-height:85vh}.extension-art img{width:100%;height:auto;border-radius:8px}.extension-copy>p{margin-bottom:24px}.extension-copy>.on-map{display:inline-block;margin-top:22px}.release-detail{margin-top:17px;font-size:.95rem;line-height:1.5;color:#d6dfcc}.release-detail summary{cursor:pointer;color:var(--cream);font-weight:650}.release-detail ol{padding-left:1.25em;margin:.5em 0}.no-script{padding:18px;color:var(--cream);line-height:1.4}.no-script a{text-decoration:underline}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
h1,h2,p{margin:0}
.alt-view h1,.entry h2{font-weight:850;letter-spacing:-.07em}
.primary-action,.entry-open{display:inline-flex;align-items:center;justify-content:center;gap:.35em;min-height:44px;padding:.52em .82em;background:var(--coral);color:#171b12;font-weight:730;border-radius:7px;letter-spacing:-.028em}
.primary-action:hover,.entry-open:hover{background:#ffa188}
.switch a{min-height:44px}
@media(max-width:720px){
  :root{--edge:16px}
  .masthead{padding-top:max(11px,env(safe-area-inset-top))}
  .brand{font-size:clamp(28px,9vw,36px)}
  .switch{border-radius:12px}
  .switch a{min-width:55px}
  .alt-wrap{padding:105px 20px 35px}
  .directory-top{display:block;margin-bottom:18px}
  .search{margin-top:22px;max-width:none}
  .entry{grid-template-columns:76px 1fr;gap:12px 14px;padding:18px 0}
  .entry img{aspect-ratio:1.1}
  .entry h2{font-size:1.7rem}
  .entry-actions{grid-column:2;flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px}
  .extension-wrap{display:flex;flex-direction:column;align-items:stretch;gap:22px;min-height:0}
  .extension-art img{width:100%;height:clamp(130px,22vh,220px);object-fit:cover;object-position:50% 36%}
}

#harbour {
  position: relative;
  height: max(100svh, 540px);
  isolation: isolate;
  overflow: clip;
  background: #07170e;
}

.backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 55% 45%, #203627, #07170e 68%, #05100b);
  pointer-events: none;
}

#stage {
  position: absolute;
  inset: 0;
  overflow: clip;
  touch-action: auto;
  -webkit-user-select: none;
  user-select: none;
}

#stage:focus-visible {
  outline: none;
}

#stage:focus-visible::after {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 8;
  border: 2px solid #ffab90;
  border-radius: 11px;
  pointer-events: none;
}

#world {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  transform-origin: 0 0;
  will-change: transform;
}

#world[style*="transform:"] {
  visibility: visible;
}

#plate,
#depth,
.landmark-hitareas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#plate {
  object-fit: fill;
  -webkit-user-drag: none;
}

.is-overview #plate,
.is-overview #depth {
  mask-image: linear-gradient(to bottom, transparent, #000 4% 95%, transparent),
              linear-gradient(to right, transparent, #000 1.8% 98.2%, transparent);
  mask-composite: intersect;
}

.landmark-hitareas [data-project] {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  pointer-events: fill;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .landmark-hitareas [data-project]:hover {
    fill: #ffd7a412;
    stroke: #f8cb9266;
  }
}

.intro {
  position: absolute;
  top: calc(max(17px, env(safe-area-inset-top)) + clamp(52px, 8vh, 90px));
  left: var(--edge);
  right: var(--edge);
  text-align: center;
  pointer-events: none;
}

.intro h1 {
  font-size: clamp(30px, min(5.3vw, 8vh), 74px);
  font-weight: 850;
  letter-spacing: -.068em;
  line-height: .96;
}

.intro p {
  max-width: 38em;
  margin: 9px auto 0;
  text-wrap: balance;
  color: #d6dacb;
  font-size: clamp(.9rem, 1.6vw, 1.2rem);
}

body:not(.alt) .masthead::before {
  content: "";
  position: absolute;
  inset: 0 0 -12px;
  z-index: -1;
  background: linear-gradient(#07170ef5 12%, #07170eeb 58%, transparent);
}

.island,
#island-preview {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  transform: translate(-50%, -50%) scale(var(--marker-scale, 1));
}

.island {
  z-index: 2;
  padding: 0 2px;
  background: transparent;
}

.island[aria-pressed="true"] {
  z-index: 3;
}

.plaque {
  display: block;
  padding: 7px 12px;
  border: 1px solid #b29768;
  border-bottom: 2px solid #87704a;
  border-radius: 5px;
  background: linear-gradient(105deg, #c0a97f, #e0c696 45%, #c1aa7b);
  color: #17190d;
  box-shadow: 1px 3px 7px #001006b0;
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 780;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.island[aria-pressed="true"] .plaque {
  background: linear-gradient(125deg, #ffc09f, #ff886d 72%);
  color: #26130e;
  border-color: #ffbb9b;
  border-bottom-color: #ad5238;
  box-shadow: 0 3px 6px #001006b0, 0 0 15px #ff96754a;
}

.island:focus-visible .plaque,
.island:hover .plaque {
  filter: brightness(1.15);
}

#island-preview {
  z-index: 5;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #ffbb9b;
  border-radius: 24px;
  background: #101e14f2;
  color: #fff0d5;
  box-shadow: 0 2px 12px #06140ec0;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
}

#island-preview::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

#island-preview:hover,
#island-preview[aria-expanded="true"] {
  background: var(--cream);
  color: var(--ink);
}

.inspector,
.map-controls,
.harbour-footer {
  position: absolute;
  z-index: 9;
}

.inspector {
  bottom: clamp(14px, 4vh, 38px);
  left: var(--edge);
  width: min(30vw, 430px);
  padding: clamp(13px, 1.6vw, 23px);
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: linear-gradient(118deg, #04140dfc, #071a10f5);
  box-shadow: 0 8px 30px #020a0630;
}

#selected-name {
  font-weight: 850;
  font-size: clamp(25px, 2.75vw, 43px);
  line-height: 1.04;
  letter-spacing: -.065em;
}

.inspector #selected-summary {
  margin: .45em 0 .65em;
  color: #eae7da;
  line-height: 1.32;
}

.inspector.preview-open #selected-summary {
  display: none;
}

.island-signal {
  margin-bottom: 5px;
  color: #c6d0b8;
  display: block;
  font-size: .78rem;
  font-weight: 650;
}

.inspector-actions,
#selected-secondary-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1px 12px;
}

.inspector-actions a,
.inspector-actions button,
.harbour-footer a,
#overview {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

#selected-secondary-links:empty {
  display: none;
}

#selected-secondary-links a,
#share-island {
  color: #eef0e2;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: .9rem;
}

#share-island {
  min-width: 96px;
  text-align: left;
}

#preview-detail:not(:has(article)) {
  padding: 9px 0;
}

.manual-share {
  display: grid;
  gap: 5px;
  padding-top: 4px;
  font-size: .9rem;
}

.manual-share input {
  width: 100%;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid var(--hair);
  border-radius: 5px;
  background: #13271a;
  color: var(--cream);
}

.map-controls {
  right: var(--edge);
  bottom: clamp(14px, 4vh, 38px);
}

#overview {
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: #081a11;
  font-size: .95rem;
  font-weight: 700;
}

#overview:hover {
  background: #203426;
}

.frame-icon {
  width: 16px;
  height: 14px;
  border: 2px dashed currentColor;
  border-radius: 3px;
}

.harbour-footer {
  inset-inline: var(--edge);
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 17px;
}

.harbour-footer a {
  color: #f1f0e3;
  font-size: .94rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.harbour-footer a:hover {
  color: var(--coral);
}

@media (max-width: 720px) and (orientation: portrait) {
  .inspector {
    inset-inline: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    padding: 11px 14px 8px;
  }

  #selected-name {
    font-size: clamp(24px, 7vw, 31px);
  }

  .map-controls {
    right: 12px;
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + var(--inspector-height, 175px) + 8px);
  }

  .harbour-footer { gap: 0 12px; }
  .harbour-footer a { font-size: .85rem; }

  .is-overview .plaque {
    padding-inline: 7px;
    font-size: clamp(10px, 3.15vw, 13px);
  }
}

@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  #harbour {
    height: max(100svh, 345px);
  }

  .masthead {
    padding-top: 10px;
  }

  .brand {
    font-size: 31px;
  }

  .intro {
    top: 58px;
  }

  .intro h1 {
    font-size: clamp(23px, 3.5vw, 30px);
  }

  .intro br {
    display: none;
  }


  .intro p {
    margin-top: 4px;
    font-size: .88rem;
  }

  .inspector {
    left: 12px;
    bottom: 12px;
    width: min(36vw, 305px);
    min-width: 190px;
    padding: 10px 12px;
  }

  #selected-name {
    font-size: clamp(22px, 3.5vw, 28px);
  }

  .inspector #selected-summary {
    font-size: .89rem;
  }

  .map-controls {
    right: 12px;
    bottom: 12px;
  }

  .harbour-footer {
    bottom: 5px;
  }
}

#harbour.off-berth {
  height: auto;
  min-height: 100svh;
  padding: 110px var(--edge) 35px;
}

.off-berth .inspector {
  position: relative;
  inset: auto;
  max-width: 590px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(17px, 4vw, 34px);
}

.off-berth .inspector.preview-open #selected-summary {
  display: block;
}

.project-dates {
  margin-bottom: .65em;
  color: #cad2c0;
  font-size: .9rem;
  line-height: 1.45;
}

.trace-demo {
  --trace-border: #52614d;
  --trace-muted: #d0d4c3;
  --trace-panel: #17271f;
  --trace-dark: #091b13;
  --trace-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  max-width: 1080px;
}
.trace-demo-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(22px, 4vh, 38px);
}
.trace-demo-intro h1 { margin: 4px 0 8px; }
.trace-demo-intro p {
  color: var(--trace-muted);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.45;
}
.trace-back { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.trace-workbench {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.16fr);
  gap: 18px;
  align-items: start;
}
.trace-shop, .trace-timeline {
  min-width: 0;
  background: var(--trace-panel);
  border: 1px solid var(--trace-border);
  border-radius: 12px;
  box-shadow: 0 8px 28px #010d0840;
}
.trace-panel-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--trace-border);
}
.trace-panel-header h2 {
  font-size: clamp(1.09rem, 2vw, 1.28rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.trace-basket, .trace-local {
  color: var(--trace-muted);
  font-size: .83rem;
}
.trace-basket strong {
  margin-left: .2em;
  color: var(--cream);
  font-family: var(--trace-mono);
}
.trace-product {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 18px 14px;
}
.trace-product-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #655942;
  border-radius: 7px;
  background: radial-gradient(ellipse at 42% 32%, #7b6750, #4f4536);
}
.trace-notebook {
  position: relative;
  display: grid;
  place-items: start center;
  padding-top: 12px;
  width: 45px;
  height: 62px;
  transform: rotate(-12deg);
  border-radius: 2px 5px 5px 2px;
  border: solid #273d2e;
  border-width: 1px 1px 4px 5px;
  background: linear-gradient(98deg, #61735a, #435f48);
  box-shadow: 1px 2px 0 #dbc9a0, 3px 6px 8px #281e18d1;
}
.trace-notebook-label {
  display: block;
  width: 24px;
  height: 15px;
  border: 1px solid #b5a283;
  border-radius: 2px;
  background: #e5d8b7 repeating-linear-gradient(to bottom, transparent 0 2px, #af9c77 2px 3px) center/65% 5px no-repeat;
}
.trace-product-copy h3 {
  margin: 0 0 5px;
  letter-spacing: -.05em;
  line-height: 1.12;
  font-size: clamp(1.14rem, 2.4vw, 1.58rem);
}
.trace-product-copy p { color: var(--trace-muted); }
.trace-add {
  min-height: 46px;
  width: calc(100% - 36px);
  margin: 0 18px 16px;
  padding: 9px 12px;
  border-radius: 6px;
  font-weight: 750;
  color: #191810;
  background: var(--coral);
}
.trace-add:not(:disabled):hover { background: #ff9b85; }
.trace-add:disabled {
  color: var(--cream);
  background: #374439;
  cursor: default;
}
.trace-timeline { background: var(--trace-dark); }
.trace-timeline-body { padding: 14px 18px 12px; }
.trace-empty {
  min-height: 170px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 1px dashed var(--trace-border);
  border-radius: 8px;
  padding: 14px;
  color: var(--trace-muted);
  line-height: 1.4;
}
.trace-count {
  color: var(--cream);
  font: 650 clamp(1rem, 2vw, 1.16rem)/1.3 var(--trace-mono);
}
.trace-diagnosis {
  border-radius: 4px;
  border-left: 3px solid var(--coral);
  background: #26342a;
  padding: 10px 12px;
  scroll-margin-top: 78px;
}
.trace-diagnosis:focus {
  outline: 2px solid #ff9d81;
  outline-offset: 2px;
}
.trace-diagnosis p + p { margin-top: 4px; }
.trace-diagnosis strong { color: #ffad96; }
.trace-events {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.trace-events li { border-bottom: 1px solid var(--trace-border); }
.trace-events summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto 12px;
  align-items: center;
  min-height: 48px;
  column-gap: clamp(5px, 1vw, 12px);
  cursor: pointer;
  list-style: none;
  border-radius: 4px;
}
.trace-events summary::-webkit-details-marker { display: none; }
.trace-events summary:hover { background: #1c2e24; }
.trace-events summary:focus-visible {
  outline: 2px solid #ff9d81;
  outline-offset: 2px;
}
.trace-events summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--trace-muted);
  border-bottom: 2px solid var(--trace-muted);
  transform: rotate(45deg);
}
.trace-events details[open] summary::after { transform: rotate(225deg); }
.trace-event-number, .trace-events code { font-family: var(--trace-mono); }
.trace-event-number, .trace-event-source { color: var(--trace-muted); font-size: .8rem; }
.trace-events code { font-size: .92rem; color: var(--cream); }
.trace-events li:nth-child(2) .trace-event-source { color: #ffad96; }
.trace-event-details {
  margin: 1px 0 8px;
  padding: 9px 10px;
  background: #1c2e24;
  border-radius: 4px;
  font-size: .86rem;
  line-height: 1.45;
}
.trace-event-details > div {
  display: grid;
  grid-template-columns: minmax(75px, .8fr) minmax(0, 1.5fr);
  gap: 6px 10px;
}
.trace-event-details > div + div { margin-top: 4px; }
.trace-event-details dt { color: var(--trace-muted); }
.trace-event-details dd { margin: 0; }
.trace-reset {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 3px;
}

@media (max-width: 740px) {
  .trace-workbench { grid-template-columns: 1fr; gap: 14px; }
  .trace-demo-intro h1 { font-size: clamp(3rem, 13vw, 4rem); }
  .trace-product { grid-template-columns: 84px minmax(0, 1fr); }
  .trace-empty { min-height: 90px; }
}
@media (max-width: 480px) {
  .trace-demo-intro { display: grid; gap: 3px; margin-bottom: 12px; }
  .trace-back { justify-self: start; }
  .trace-panel-header { padding-inline: 13px; }
  .trace-product, .trace-timeline-body { padding-inline: 13px; }
  .trace-add { margin-inline: 13px; width: calc(100% - 26px); }
}
@media (max-width: 345px) {
  .trace-event-source { font-size: .73rem; }
  .trace-events code { font-size: .82rem; }
}

#preview-detail article {
  border-radius: 6px;
  margin: 6px 0 10px;
  padding: 10px 13px;
}

#preview-detail h3,
#preview-detail p {
  margin: 0;
  padding: 0;
  max-width: none;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: inherit;
}

#preview-detail h3 {
  margin-bottom: 4px;
}

.peek-letter {
  color: #322c1f;
  background: #f3e8cc;
  border-left: 4px solid #c05e46;
}

.peek-letter h3,
.peek-letter p {
  font-family: Georgia, serif;
}

.peek-trace {
  color: #daecd5;
  border: 1px solid #586e5b;
  background: #192d21;
}

.peek-trace code,
.peek-trace small {
  font-family: ui-monospace, monospace;
}

.peek-trace strong {
  color: #ffa988;
}

.peek-programme {
  color: #fff1de;
  background: #502722;
  border-left: 4px solid #f71930;
}

.peek-programme small {
  font-weight: 400;
}

.peek-programme a {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  min-height: 44px;
  text-decoration: underline;
  color: inherit;
  font-size: .9rem;
}
