/* In-store styling and "New in, already yours" (business/templates/business/
 * includes/r13_*.html, business/js/r13-*.js), loaded on every business page
 * by base_business.html. Ink & Signal: paper, ink,
 * Signal only for picks and active states, square corners on cards and
 * images. Markup built by the scripts uses only the classes below, because
 * Tailwind does not scan business/static. Every motion has a still under
 * prefers-reduced-motion, and the pages read before the scripts run.
 */
.r13w, .r13s, .r13n, .r13x {
  --ink: #121110; --paper: #FFFFFF; --signal: #F5B82E; --graphite: #5E5B57;
  --stone: #B5B2AE; --control: #8E8A85; --mist: #F2F2F2; --hairline: #E6E4E1;
}
.r13-mono { font-family: 'DM Mono', ui-monospace, monospace; font-size: 12px; line-height: 1.45; color: var(--graphite); }
.r13-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  background: var(--paper); border: 1px solid var(--control); color: var(--ink); font-size: 14px; line-height: 1.2;
  cursor: pointer; transition: border-color .2s, background-color .2s;
}
.r13-chip:hover { border-color: var(--ink); }
.r13-chip[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); }
.r13-pk { display: block; background: var(--paper); aspect-ratio: 1; overflow: hidden; }
.r13-pk img { width: 100%; height: 100%; object-fit: contain; display: block; }
.r13-app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.r13-app-name { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.r13-app-name::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--signal); vertical-align: 1px; }
.r13-app-store { font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; color: var(--stone); }

/* ---- The store map (scan and style, navigator) ------------------------ */
.r13-map { width: 100%; height: auto; display: block; background: var(--paper); border: 1px solid var(--hairline); }
.r13-map .zn { fill: var(--mist); stroke: var(--hairline); stroke-width: 2; transition: fill .3s; }
.r13-map .zn.on { fill: #FFFFFF; stroke: var(--ink); }
.r13-map .zt { font: 500 13px 'DM Sans', sans-serif; fill: var(--graphite); }
.r13-map .ent { fill: var(--ink); }
.r13-map .route { fill: none; stroke: var(--ink); stroke-width: 3; }
/* The route and its pins appear one after the other (solid lines only). */
.r13-map .route.go, .r13-map .pin.go { animation: r13-in .5s ease-out both; }
@keyframes r13-in { from { opacity: 0; } to { opacity: 1; } }
.r13-map .pin circle { fill: var(--ink); }
.r13-map .pin text { font: 500 13px 'DM Mono', monospace; fill: var(--paper); text-anchor: middle; dominant-baseline: central; }
.r13-map .pin.end circle { fill: var(--signal); }
.r13-map .pin.end text { fill: var(--ink); }
.r13-map .here circle { fill: var(--signal); stroke: var(--ink); stroke-width: 2; }
.r13-map .here text { font: 600 14px 'DM Sans', sans-serif; fill: var(--ink); }
.r13-stops { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.r13-stops li { display: grid; grid-template-columns: 24px 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--hairline); font-size: 13.5px; line-height: 1.3; }
.r13-stops li > b { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); font: 500 12px 'DM Mono', monospace; }
.r13-stops li.end > b { background: var(--signal); color: var(--ink); }
.r13-stops small { display: block; font-family: 'DM Mono', monospace; font-size: 12px; color: var(--graphite); }

/* ---- The wardrobe scene ----------------------------------------------- */
.r13w { background: #FFFFFF; color: var(--ink); border-top: 1px solid var(--ink); }
.r13w-scene { position: relative; }
.r13w-stage { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1000px; overflow: hidden;
  background: linear-gradient(#FFFFFF 0 80%, var(--mist) 80% 100%); }
.r13w-scene.is-live { height: 320vh; }
.r13w-scene.is-live .r13w-stage { position: sticky; top: 72px; height: calc(100vh - 72px); height: calc(100svh - 72px); max-height: none; }
.r13w-floor { position: absolute; left: 0; right: 0; top: 80%; height: 1px; background: var(--hairline); }
.r13w-copy { position: absolute; z-index: 20; left: max(16px, 4vw); top: max(28px, 7vh); max-width: min(520px, 40vw); display: flex; flex-direction: column; gap: 12px; }
.r13w-title { font-size: clamp(34px, 4.6vw, 68px); line-height: 1.04; }
.r13w-line { display: block; transition: opacity .35s; }
.r13w-scene.is-live .r13w-line[data-line="2"] { opacity: .22; }
.r13w-scene.is-live.is-out .r13w-line[data-line="1"] { opacity: .22; }
.r13w-scene.is-live.is-out .r13w-line[data-line="2"] { opacity: 1; }
/* The wardrobe: a black steel frame, warm-white doors with slim black pulls, its sign on top. */
.r13w-ward { position: absolute; z-index: 4; left: 50%; bottom: 20%; width: clamp(150px, 22vw, 330px); height: 64%; transform: translateX(-50%); }
/* Slim legs and a soft shadow ground it on the floor. */
.r13w-ward::before, .r13w-ward::after { content: ''; position: absolute; bottom: -2.4%; width: 5px; height: 2.4%; background: var(--ink); }
.r13w-ward::before { left: 6%; } .r13w-ward::after { right: 6%; }
.r13w-ward-shadow { position: absolute; left: -12%; right: -12%; bottom: -5%; height: 5%; background: radial-gradient(closest-side, rgba(18, 17, 16, .18), transparent); }
.r13w-sign { position: absolute; left: -4%; right: -4%; bottom: 100%; height: 13%; min-height: 34px; margin: 0 0 6px; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; gap: .5em; font: 400 clamp(15px, 1.9vw, 26px)/1 'Anton', Impact, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.r13w-sign::after { content: ''; width: .32em; height: .32em; background: var(--signal); }
.r13w-body { position: absolute; inset: 0; border: 6px solid var(--ink); background: var(--ink); perspective: 1400px; }
.r13w-inside { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.r13w-door { position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(90deg, #F4F1EC, #EAE5DD); border: 1px solid #D7D1C7; transform-style: preserve-3d; backface-visibility: hidden; z-index: 3; }
.r13w-door-l { left: 0; transform-origin: 0 50%; }
.r13w-door-r { right: 0; transform-origin: 100% 50%; }
.r13w-door i { position: absolute; top: 38%; width: 3px; height: 22%; background: var(--ink); }
.r13w-door-l i { right: 9%; } .r13w-door-r i { left: 9%; }
.r13w-fig { position: absolute; z-index: 6; bottom: 18.6%; height: 52%; width: auto; transform: translateX(-50%); pointer-events: none; }
.r13w-still-in { left: 22%; }
.r13w-still-out { left: 78%; }
.r13w-walk, .r13w-video { display: none; }
.r13w-shadow { display: none; }
.r13w-look { position: absolute; z-index: 20; right: max(16px, 4vw); top: max(28px, 7vh); display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.r13w-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; background: var(--paper); border: 1px solid var(--ink); font-size: 13px; }
.r13w-look .eyebrow { text-align: right; }
.r13w-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); display: none; }
/* Live: the script moves the walk frames; the stills step aside. */
.r13w-scene.is-live .r13w-still { display: none; }
.r13w-scene.is-live .r13w-walk { display: block; opacity: 0; will-change: left, transform, opacity; }
.r13w-scene.is-live .r13w-shadow { display: block; position: absolute; z-index: 5; bottom: 18.4%; height: 2.6%; width: 12%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(18, 17, 16, .25), transparent); }
.r13w-scene.is-live .r13w-look { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.r13w-scene.is-live.is-done .r13w-look { opacity: 1; transform: none; }
.r13w-scene.is-live .r13w-bar { display: block; }
.r13w-scene.has-video .r13w-walk, .r13w-scene.has-video .r13w-ward, .r13w-scene.has-video .r13w-shadow { display: none !important; }
.r13w-scene.has-video .r13w-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .r13w-stage { min-height: 560px; }
  .r13w-copy { max-width: none; right: 16px; }
  .r13w-title { font-size: clamp(30px, 9vw, 44px); }
  .r13w-copy .eyebrow { display: none; }
  .r13w-copy { gap: 4px; top: 20px; }
  .r13w-ward { height: 42%; bottom: 20%; width: clamp(120px, 34vw, 190px); }
  .r13w-fig { height: 39%; }
  .r13w-still-in { left: 20%; }
  .r13w-still-out { left: 76%; }
  .r13w-look { top: auto; bottom: 3%; right: 16px; left: 16px; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
  .r13w-look .eyebrow { display: none; }
  .r13w-look ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .r13w-chip { min-height: 26px; font-size: 12px; padding: 0 8px; }
}

/* Round 17, from md: the scene sits right of the headline, so she never
   walks under the words: the wardrobe at 60 %, she comes in from 26 % (fading
   in) to its left door, and leaves from its right door to 88 % (the script). */
@media (min-width: 768px) {
  .r13w-copy { max-width: min(420px, 27vw); }
  .r13w-title { font-size: clamp(34px, 3.7vw, 58px); }
  .r13w-ward { left: 60%; }
  .r13w-still-in { left: 37%; }
  .r13w-still-out { left: 85%; }
}

/* ---- Scan and style ----------------------------------------------------- */
.r13s { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .r13s { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 48px; } }
.r13s-floor { display: flex; flex-direction: column; gap: 18px; }
.r13s-rail { position: relative; padding-top: 6px; }
.r13s-rod { position: absolute; left: -2%; right: -2%; top: 6px; height: 6px; background: linear-gradient(#9A9895, #5E5B57); border-radius: 3px; }
.r13s-hangers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.r13s-hanger { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0 0 6px; background: none; border: 0; cursor: pointer; color: var(--ink);
  transform-origin: 50% 0; transition: transform .3s; }
.r13s-hanger:hover { transform: rotate(-1.5deg); }
.r13s-hook { width: 82%; height: auto; display: block; margin-top: -2px; }
.r13s-print { position: relative; display: block; width: 86%; margin-top: -3px; padding: 6px; background: var(--paper); box-shadow: 0 10px 22px rgba(18, 17, 16, .16); transform: rotate(.6deg); }
.r13s-hanger:nth-child(odd) .r13s-print, li:nth-child(2) .r13s-print { transform: rotate(-.8deg); }
.r13s-print img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
/* Two wooden clothes pegs hold the print to the hanger bar. */
.r13s-peg { position: absolute; top: -16px; width: 11px; height: 34px; background: linear-gradient(90deg, #D6B98F, #BC9A6A 50%, #D6B98F); border: 1px solid #94744A; }
.r13s-peg::after { content: ''; position: absolute; left: -2px; right: -2px; top: 13px; height: 4px; background: #8E8A85; }
.r13s-peg-l { left: 14%; } .r13s-peg-r { right: 14%; }
.r13s-tag { margin-top: 12px; display: inline-flex; align-items: center; min-height: 28px; padding: 2px 8px; font-size: 12.5px; line-height: 1.25; text-align: center; background: var(--paper); border: 1px solid var(--control); }
.r13s-hanger[aria-pressed="true"] .r13s-tag { background: var(--signal); border-color: var(--signal); }
.r13s-hanger[aria-pressed="true"] .r13s-print { box-shadow: 0 0 0 3px var(--signal), 0 12px 26px rgba(18, 17, 16, .2); }
.r13s-device { background: var(--ink); padding: 12px; border-radius: 22px; box-shadow: 0 24px 60px rgba(18, 17, 16, .18); }
.r13s-screen { position: relative; background: var(--paper); border-radius: 10px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; }
/* The tablet's app: the scanned piece, the three looks and the pane (Bring me / Look route).
   From md the chosen look stands large on the left, the piece and the pane on the right. */
.r13s-app { display: grid; grid-template-areas: "piece" "looks" "pane"; gap: 0 20px; padding: 0 16px 8px; }
.r13s-a-piece { grid-area: piece; } .r13s-a-looks { grid-area: looks; } .r13s-a-pane { grid-area: pane; min-width: 0; }
.r13s-a-looks .eyebrow { margin: 14px 0 8px; }
.r13s-hero { display: none; }
@media (min-width: 768px) {
  .r13s-app { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "looks piece" "looks pane"; grid-template-rows: auto 1fr; }
  .r13s-hero { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; margin-top: 8px; background: var(--mist); }
}
.r13s-piece { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 0 12px; border-bottom: 1px solid var(--hairline); }
.r13s-piece img { width: 72px; height: 72px; object-fit: contain; background: var(--paper); border: 1px solid var(--hairline); }
.r13s-name { font-size: 17px; line-height: 1.25; }
.r13s-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.r13s-sizes span { min-width: 30px; padding: 2px 6px; border: 1px solid var(--control); font: 400 12px 'DM Mono', monospace; text-align: center; }
.r13s-sizes span.no { color: var(--control); border-color: var(--hairline); text-decoration: line-through; }
.r13s-looks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.r13s-looks img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: var(--mist); }
.r13s-looks span { display: block; font-size: 12.5px; padding-top: 4px; }
.r13s-looks button { display: block; width: 100%; padding: 0; background: none; border: 2px solid transparent; text-align: left; cursor: pointer; color: var(--ink); }
.r13s-looks button[aria-pressed="true"] { border-color: var(--signal); }
.r13s-looks button[aria-pressed="true"] span { background: var(--signal); padding-left: 4px; }
.r13s-tabs { display: flex; gap: 0; margin-top: 10px; border-bottom: 1px solid var(--ink); }
.r13s-tabs button { flex: 1; min-height: 44px; background: none; border: 0; border-bottom: 3px solid transparent; font-size: 14px; color: var(--graphite); cursor: pointer; }
.r13s-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--signal); font-weight: 500; }
.r13s-pane { padding: 12px 0 16px; display: flex; flex-direction: column; gap: 10px; }
.r13s-rows { list-style: none; margin: 0; padding: 0; }
.r13s-rows li { display: grid; grid-template-columns: 22px 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--hairline); font-size: 13.5px; line-height: 1.3; }
.r13s-rows li img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--hairline); background: var(--paper); }
.r13s-rows input[type="checkbox"] { width: 18px; height: 18px; accent-color: #121110; }
.r13s-rows select { width: 78px; min-height: 36px; padding: 0 26px 0 8px; border: 1px solid var(--control); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121110' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 8px center;
  -webkit-appearance: none; appearance: none; font: 400 13px 'DM Mono', monospace; color: var(--ink); }
.r13s-rows small { display: block; font-family: 'DM Mono', monospace; font-size: 12px; color: var(--graphite); }
.r13s-done { background: var(--mist); border-left: 3px solid var(--signal); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.45; }
.r13s-done b { font-weight: 500; }
.r13s-reading { flex: 1; margin: 0 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px 0; }
.r13s-reading img { width: 120px; height: 120px; object-fit: contain; }
.r13s-scanline { position: absolute; left: 0; right: 0; top: 40px; height: 3px; background: var(--signal); box-shadow: 0 0 16px var(--signal); animation: r13-scan .75s ease-in-out; }
@keyframes r13-scan { from { transform: translateY(0); } to { transform: translateY(440px); } }
.r13-fade { animation: r13-fade .35s ease-out; }
@keyframes r13-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- The navigator -------------------------------------------------- */
.r13n-screen { background: var(--paper); border: 12px solid var(--ink); box-shadow: 0 24px 60px rgba(18, 17, 16, .16); }
.r13n-tabs { display: flex; border-bottom: 1px solid var(--ink); }
.r13n-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 8px; line-height: 1.2; background: var(--paper); border: 0; border-bottom: 3px solid transparent; font-size: 15px; color: var(--graphite); cursor: pointer; }
.r13n-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 500; border-bottom-color: var(--signal); }
.r13n-body { display: grid; }
@media (min-width: 1024px) { .r13n-body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .r13n-side { border-left: 1px solid var(--hairline); } }
.r13n-main, .r13n-side { padding: 18px; min-width: 0; }
.r13n-side { display: flex; flex-direction: column; gap: 10px; background: #FFFFFF; border-top: 1px solid var(--hairline); }
@media (min-width: 1024px) { .r13n-side { border-top: 0; } }
.r13n-panel { display: flex; flex-direction: column; gap: 12px; }
.r13n-panel[hidden] { display: none; }
.r13n-log { display: flex; flex-direction: column; gap: 10px; max-height: 520px; overflow-y: auto; }
.r13n-msg { max-width: 92%; padding: 10px 14px; font-size: 15px; line-height: 1.45; }
.r13n-bot { align-self: flex-start; background: var(--mist); }
.r13n-me { align-self: flex-end; background: var(--ink); color: var(--paper); }
.r13n-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.r13n-form { display: flex; gap: 8px; }
.r13n-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--control); font-size: 15px; color: var(--ink); background: var(--paper); }
.r13n-form input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.r13n-form .btn { min-height: 44px; height: auto; }
.r13n-results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.r13n-card { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--hairline); padding: 8px; background: var(--paper); font-size: 13.5px; line-height: 1.3; }
.r13n-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; display: block; }
.r13n-card small { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--graphite); }
.r13n-card button { margin-top: 4px; min-height: 36px; padding: 0 10px; background: var(--paper); border: 1px solid var(--ink); font-size: 13px; color: var(--ink); cursor: pointer; text-align: center; }
.r13n-card button:hover { background: var(--ink); color: var(--paper); }
.r13n-card button[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.r13n-looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.r13n-look { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.3; }
.r13n-look img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: var(--mist); }
.r13n-look small { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--graphite); }
.r13n-look button { min-height: 40px; padding: 0 10px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font-size: 13px; cursor: pointer; }
.r13n-look button[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.r13n-way { font-size: 14px; line-height: 1.4; }

/* ---- New in, already yours ------------------------------------------- */
.r13x { display: flex; flex-direction: column; gap: 14px; }
.r13x-channels { display: flex; flex-wrap: wrap; gap: 8px; }
.r13x-frame { background: var(--paper); border: 1px solid var(--ink); padding: 14px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.r13x-where { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--ink); color: var(--paper); font-size: 13.5px; line-height: 1.35; }
.r13x-where i { color: var(--signal); }
.r13x-row { display: flex; flex-direction: column; gap: 8px; }
.r13x-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
@media (min-width: 768px) { .r13x-items { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); } }
.r13x-items .r13-pk { border: 2px solid var(--hairline); transition: opacity .3s, border-color .3s; }
.r13x-new .r13-pk.is-in { border-color: var(--signal); }
.r13x-owned .r13-pk.is-in { border-color: var(--ink); }
.r13x-items .r13-pk.is-dim { opacity: .4; }
.r13x-mid { display: grid; gap: 14px; align-items: start; }
@media (min-width: 900px) { .r13x-mid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr); } }
.r13x-side { display: flex; flex-direction: column; gap: 10px; }
.r13x-title { font-size: 22px; font-weight: 300; line-height: 1.2; }
.r13x-ctl { display: flex; gap: 6px; }
.r13x-dot { width: 40px; height: 40px; background: var(--paper); border: 1px solid var(--control); font: 400 13px 'DM Mono', monospace; cursor: pointer; color: var(--ink); }
.r13x-dot[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.r13x-toast { min-height: 1.4em; font-size: 13.5px; color: var(--graphite); }
.r13x-stage { position: relative; background: var(--mist); aspect-ratio: 3 / 4; overflow: hidden; max-width: 420px; width: 100%; justify-self: center; }
.r13x-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .45s; }
.r13x-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 900px) { .r13x-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 899px) { .r13x-stage { max-width: 300px; } .r13x-slot { font-size: 11.5px; } }
.r13x-slot { position: relative; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.25; }
.r13x-slot .r13-pk { border: 1px solid var(--hairline); }
.r13x-own { position: absolute; top: 6px; left: 6px; padding: 2px 6px; background: var(--ink); color: var(--paper); font: 500 10px 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.r13x-own.is-new { background: var(--signal); color: var(--ink); }
.r13x-fly { position: absolute; z-index: 30; pointer-events: none; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.r13x-fly .r13-pk { width: 100%; height: 100%; border: 2px solid var(--signal); }

@media (max-width: 479px) { .r13n-tabs button { font-size: 14px; gap: 6px; } }

@media (prefers-reduced-motion: reduce) {
  .r13-map .route.go, .r13-map .pin.go { animation: none; }
  .r13s-scanline, .r13-fade { animation: none; }
  .r13s-hanger, .r13s-hanger:hover { transition: none; transform: none; }
  .r13x-stage img, .r13w-line, .r13x-fly { transition: none; }
}
/* The include checkbox sits in a label, so on touch the label can grow to a
   44 px target around it (business.css, pointer: coarse). */
.r13s-inc { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; cursor: pointer; }
