.door{position:absolute;inset:0;visibility:hidden;transition:background-color .5s}
#run,#mult{left:0;top:0;line-height:.9;color:var(--black);transform-origin:0 0}
#run,#mult{z-index:3}
.bare .g .sh{visibility:hidden}
/* Not #tags/.tag: those belong to the walk, and its tie line was piercing these labels. */
#ptags{position:absolute;inset:0;z-index:5;pointer-events:none}
.ptag{position:absolute;left:0;top:0;line-height:14px;font-size:12px;visibility:hidden;color:var(--black)}
.ptag strong{display:block;font-weight:400;text-transform:uppercase}
#nPrice,#nGap{left:20px;bottom:auto;top:64px;color:var(--black);max-width:250px}
/* The spread: both prices at one height, each cut by the seam with its page. */
#pa,#pb{left:0;top:0;line-height:.9;transform-origin:0 0}
#seam{position:absolute;z-index:7;top:0;bottom:0;left:0;width:1px;visibility:hidden}
#times{z-index:8;left:0;top:0;padding:3px 8px;background:var(--paper);color:var(--black);transition:scale .35s var(--ease);font-variant-numeric:tabular-nums}
#times.held{scale:1.22 .86}
#seamKey{position:absolute;z-index:9;left:0;top:0;width:96px;height:26px;opacity:0;visibility:hidden;appearance:none;background:none;cursor:ew-resize}
#seamKey:focus-visible{opacity:1;outline:2px solid currentColor;outline-offset:2px;color:var(--black)}
.cap{position:absolute;z-index:8;top:60px;visibility:hidden}
.cap strong{display:block;font-weight:400;text-transform:uppercase}
#capA{left:84px}#capB{right:84px;text-align:right}
/* The rack: a column of real cutouts in price order, packed so sleeves overlap. */
.pick{position:absolute;z-index:8;top:76px;bottom:70px;width:52px;display:flex;flex-direction:column;visibility:hidden}
#pickA{left:16px}#pickB{right:16px}
.pick button{position:relative;flex:1 1 0;min-height:0;display:block;transition:scale .28s var(--ease);transform-origin:center}
#pickA button{transform-origin:left center}#pickB button{transform-origin:right center}
.pick img{position:absolute;left:50%;top:50%;width:58px;height:58px;margin:-29px 0 0 -29px;pointer-events:none;user-select:none;-webkit-user-drag:none}
.pick b{position:absolute;top:50%;translate:0 -50%;font-weight:400;white-space:nowrap;background:var(--paper);color:var(--black);padding:3px 7px;opacity:0;pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
#pickA b{left:calc(100% + 8px)}#pickB b{right:calc(100% + 8px)}
.pick button[aria-pressed=true]::after{content:"";position:absolute;top:50%;width:9px;height:1px;background:currentColor}
#pickA button[aria-pressed=true]::after{left:-12px}#pickB button[aria-pressed=true]::after{right:-12px}
@media (hover:hover){
  .pick button:hover{scale:2.3;z-index:3}
  .pick button:hover b{opacity:1;scale:.435}
  #pickA button:hover b{transform-origin:left center}#pickB button:hover b{transform-origin:right center}
  .pick button:has(+button:hover),.pick button:hover+button{scale:1.45;z-index:2}
}
.pick button:focus-visible{scale:2.3;z-index:3;outline-offset:-2px}
.pick button:focus-visible b{opacity:1;scale:.435}
@media (max-width:760px){
  /* The skyline's dearest piece fills the phone, so the sentence needs its own paper. */
  #nGap{background:var(--paper);padding:4px 6px;max-width:calc(100% - 40px)}
  #capA{left:20px}#capB{right:20px}
  .cap{top:50px}
  /* Phone: two thumb rails under the spread. Horizontal pan belongs to the rail here, not the seam. */
  .pick{top:auto;bottom:auto;left:0!important;right:0!important;width:auto;height:46px;flex-direction:row;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:0 12px;touch-action:pan-x}
  .pick::-webkit-scrollbar{display:none}
  #pickA{bottom:102px}#pickB{bottom:56px}
  /* The corner bar closes the paper band under the two rails, edge to edge, so the seam never shows between them. */
  .pos[data-room=splice]{left:0;right:0;bottom:0;height:56px;padding:0 6px 6px;justify-content:space-between}
  .pos[data-room=splice] i{flex:none;background:none}
  .pick button{flex:0 0 44px;height:46px}
  .pick img{width:50px;height:50px;margin:-25px 0 0 -25px}
  .pick b{display:none}
  #pickA button[aria-pressed=true]::after,#pickB button[aria-pressed=true]::after{left:16px;right:auto;top:auto;bottom:0;width:12px}
}

/* v5: the rule of the price room, said at the top in plain words, on its own ground so passing cloth never strikes it. */
#nPrice{top:62px;max-width:none;font-size:17px;line-height:22px;font-weight:500;color:var(--black);background:var(--ground);padding:2px 6px 2px 0}
#mult small{display:block;font:600 max(12px,.075em)/1.2 Arc,sans-serif;font-stretch:75%;letter-spacing:.07em;text-align:right;margin-top:.15em}
#mult.sky small{display:none}
/* Which side each rack sets. */
.pickL{position:absolute;z-index:8;top:58px;font-size:11px;line-height:14px;font-weight:600;font-stretch:75%;letter-spacing:.07em;text-transform:uppercase;visibility:hidden}
#pickAL{left:16px}#pickBL{right:16px;text-align:right}
/* The rows: A's value, the row's name, B's value, so each row reads across the seam. */
#specs{position:absolute;z-index:8;overflow:hidden;left:50%;bottom:14px;width:min(640px,calc(100% - 460px));min-width:300px;translate:-50% 0;padding:10px 14px 8px;background:var(--paper);color:var(--black);font-size:13px;line-height:17px;visibility:hidden}
/* The caption and the switch share one line: what differs, and the way to see only that. */
#specHead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;margin-bottom:8px}
#specSay{flex:1 1 240px;font-size:15px;line-height:20px;font-weight:500}
/* A pill switch: outlined when off, filled black when on. The label stays on the pill either way. */
#specDiff.btn{flex:none;gap:10px;padding:0 7px 0 16px;background:transparent;color:#111;box-shadow:inset 0 0 0 1px #111;font-size:13px}
#specDiff.btn:hover{background:rgba(17,17,17,.07)}
#specDiff i{position:relative;width:34px;height:20px;border-radius:999px;background:#6d6d6a;transition:background-color .25s}
#specDiff i::after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#f6f6f4;transition:transform .25s var(--ease),background-color .25s}
#specDiff[aria-checked=true]{background:#111;color:#f6f6f4}
#specDiff[aria-checked=true] i{background:#f6f6f4}
#specDiff[aria-checked=true] i::after{transform:translateX(14px);background:#111}
#specs table{width:100%;border-collapse:collapse;table-layout:fixed}
#specs th,#specs td{padding:3px 0;vertical-align:top;border-top:1px solid rgba(11,11,11,.12)}
#specs thead th{border-top:0;font-weight:600;font-stretch:75%;letter-spacing:.07em;text-transform:uppercase;font-size:12px}
#specs td:first-child,#specs thead th:first-child{text-align:right;padding-right:14px}
#specs td:last-child,#specs thead th:last-child{text-align:left;padding-left:14px}
#specs tbody th{width:84px;text-align:center;font-weight:600;font-stretch:75%;letter-spacing:.07em;text-transform:uppercase;font-size:11px;color:#555}
#specs thead th:nth-child(2){width:84px}
#specs a{text-decoration:underline;text-underline-offset:2px}
/* Inline padding grows the thumb target to 44px without moving the row. */
@media (pointer:coarse){#specs a{padding-block:15px}}
#specs.diff tr.same{display:none}
/* A phone on its side: the rows would cover the pieces, so they keep to the lower part of the screen and scroll. */
@media (min-width:761px) and (max-height:520px){#specs{max-height:42svh;overflow:auto;bottom:8px;padding-top:6px}#specSay{font-size:12px;line-height:15px}}
@media (max-width:760px){
  .pickL{top:auto;left:0!important;right:auto!important;width:44px;height:46px;line-height:46px;text-align:center;background:var(--paper);z-index:9}
  #pickAL{bottom:102px}#pickBL{bottom:56px}
  .pick{background:var(--paper);padding-left:48px}
  #specs{bottom:148px;width:100%;padding:8px 12px 2px;font-size:12px;line-height:15px;border-bottom:1px solid rgba(11,11,11,.12)}
  #specSay{font-size:14px;line-height:18px;flex-basis:150px}
  #specHead{margin-bottom:4px;gap:4px 10px}
  #specDiff.btn{font-size:12px;padding:0 6px 0 12px;gap:8px}
  #specs tbody th,#specs thead th:nth-child(2){width:64px;font-size:10px}
  #specs td:first-child,#specs thead th:first-child{padding-right:8px}
  #specs td:last-child,#specs thead th:last-child{padding-left:8px}
  #specs th,#specs td{padding:2px 0}

  #nPrice{top:54px;font-size:15px;line-height:20px;max-width:calc(100% - 100px)}
}
/* Six Caps has no lower case: the multiplier's x is set in the text face, so it reads "x" as it does everywhere else. */
#mult .x{font:400 .5em/1 Arc,sans-serif;text-transform:none;margin-left:.04em}
