/* Crumbs Чтение on the site: what the generated reading.css cannot know. Motion values come from the site's tokens
   (design-tokens.css) so there is one source; the owner's decisions of 11.11 override the system here. */
.rd {
  --t-press: var(--motion-fast);
  --t-text: var(--motion-medium);
  --t-reveal: var(--motion-screen);
  --t-sheet-in: var(--motion-sheet);
  --t-sheet-out: 240ms;
  --t-pencil: 500ms;
  --t-line: 1200ms;
  --ease-in: var(--ease-enter);
  --ease-out: var(--ease-exit);
}

/* drawings of the system inline (web/static/art/read): colours are classes, the container sets the variables */
.rd .a-line { stroke: var(--ic, var(--orange)); }
.rd .a-fill { fill: var(--ic, var(--orange)); }
.rd .a-bg { fill: var(--art-bg, var(--cream)); }
.rd .a-bgs { stroke: var(--art-bg, var(--cream)); }
.rd .a-soft { fill: var(--art-soft, var(--orange-soft)); }
.rd .a-rule { fill: var(--line); }

/* ---------------------------------------------------------------- frame of the article on the site (PLAN R3) */
.rd [hidden] { display: none !important; }
.rd.post { display: block; }
.rd .r-tail { padding-bottom: var(--space-48); }
.rd .r-tail .art-more { margin-top: 0; }
.rd .r-crumbs a { color: inherit; }
.rd .r-crumbs a:hover { color: var(--orange-deep); }
.rd .r-crumbs span { margin: 0 4px; }
/* the cover's line is under the photo, never a plate on it; no author (owner, 05.11) */
.rd .r-cover figcaption { position: static; margin-top: var(--space-8); padding: 0; background: none; font-size: var(--r-note); line-height: var(--r-note-lh); color: var(--graphite); }
.rd .r-h2 { color: var(--orange); scroll-margin-top: var(--space-24); } /* places and sections in orange (owner, 11.11) */
.rd .r-h3 { scroll-margin-top: var(--space-24); }
.rd .r-place.r-first { margin-top: 0; padding-top: 0; border-top: 0; }
.rd .r-pflow { margin-top: var(--space-24); }
.rd .r-pre + .r-place, .rd .r-flow + .r-place { margin-top: var(--space-48); }
.rd .r-main > .r-flow:first-child:empty { display: none; }
/* a part between two h2 is not drawn while off screen; the size it guesses keeps a jump to an anchor on target (E-22 p.6) */
@supports (content-visibility: auto) {
  .rd .post-sec + .post-sec { content-visibility: auto; contain-intrinsic-size: auto 1200px; }
}
.rd .r-flow > p, .rd .r-open p { font-size: var(--r-body); line-height: var(--r-body-lh); }
.rd .r-flow mark { background: linear-gradient(var(--lime-mark), var(--lime-mark)) 0 92% / 100% .46em no-repeat; color: inherit; padding: 0; border-radius: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rd .r-list { padding-left: 24px; list-style: disc; font-size: var(--r-body); line-height: var(--r-body-lh); }
.rd .r-list.ol { list-style: decimal; }
.rd .r-list li + li { margin-top: var(--space-8); }
.rd .r-list li::marker { color: var(--orange); font-weight: 600; }
.rd .r-flow a:not([class]), .rd .r-flow p a:not(.r-dl):not(.r-dish) { color: var(--ink); }
.rd .r-a { color: var(--ink); }
/* the site's own blocks inside the column keep their look, in the reading scale */
.rd .r-old .art-trio figcaption, .rd .r-old .post-fig figcaption, .rd .r-fig figcaption { font-size: var(--r-note); line-height: var(--r-note-lh); color: var(--graphite); }
.rd .r-fig figcaption { margin-top: var(--space-8); }
.rd .r-sumb .r-sum { margin-top: var(--space-12); }
.rd .r-open-ph { min-width: 0; }
.rd .r-open-ph img { display: block; }
.rd .r-open-ph figcaption { margin-top: var(--space-8); font-size: var(--r-note); line-height: var(--r-note-lh); color: var(--graphite); }
@media (max-width: 599px) { .rd .r-open { grid-template-columns: 1fr; gap: var(--space-16); } }
.rd .r-facts img { width: 20px; height: 20px; flex: none; }
.rd .r-facts > span { white-space: nowrap; max-width: 100%; }
.rd .r-facts > span:last-child { white-space: normal; } /* the address may be longer than a phone line: it wraps inside, the others move whole */

/* ---------------------------------------------------------------- share and the toast */
.rd .r-meta .r-btn .ico, .rd .r-meta .r-btn svg { width: 18px; height: 18px; }
.rd .r-toast.err { background: var(--orange-strong); color: #fff; }
.rd .r-copy { position: fixed; left: -9999px; top: 0; }

/* ---------------------------------------------------------------- dishes in the text ◇ (PLAN R4) */
.rd a.r-dl { color: var(--ink); text-decoration: underline dotted var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color var(--t-press); }
.rd a.r-dl:hover, .rd a.r-dl[aria-expanded="true"] { color: var(--orange-deep); }
.rd a.r-dl:focus-visible, .rd .r-dish:focus-visible, .rd .r-tile:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 2px; border-radius: 4px; }
.rd .r-dish { color: var(--ink); text-decoration: none; }
.rd .r-dish .r-ico.s { width: 20px; height: 20px; }
.rd .r-pop .r-pop-art { display: none; }
.rd .r-pop.nophoto { height: auto; background: var(--surface); box-shadow: var(--shadow-float), inset 0 0 0 1.5px var(--line-strong); }
.rd .r-pop.nophoto::after, .rd .r-pop.nophoto img { display: none; }
.rd .r-pop.nophoto .r-pop-t { position: static; margin: 12px 16px 0; display: inline-block; background: none; color: var(--graphite); -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }
.rd .r-pop.nophoto .r-pop-b { position: static; padding: 4px 16px 14px; color: var(--ink); }
.rd .r-pop.nophoto .r-pop-b span { color: var(--orange-deep); font-weight: 600; }

/* DishCard: the dish over the article, the article blurred under it (owner, 11.11; design D3) */
.rd .r-dscrim { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: var(--scrim); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 240ms var(--ease-in); }
.rd .r-dscrim.on { opacity: 1; }
.rd .r-dscrim.out { opacity: 0; transition: opacity 200ms var(--ease-out); }
.rd .r-dcardx { position: relative; width: min(100vw - 48px, 340px); aspect-ratio: 3 / 4; max-height: calc(100dvh - 48px); border-radius: 28px; overflow: hidden; background: var(--ink); color: var(--cream-fixed); box-shadow: var(--shadow-card); outline: none;
  opacity: 0; transform: translateY(24px) scale(.94); transition: opacity 320ms var(--ease-in), transform 320ms var(--ease-in); touch-action: pan-x; }
.rd .r-dscrim.on .r-dcardx { opacity: 1; transform: none; }
.rd .r-dscrim.out .r-dcardx { opacity: 0; transform: scale(.96); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.rd .r-dcardx.drag { transition: none; }
.rd .r-dcardx.back { transition: transform 320ms var(--ease-spring); }
.rd .r-dcardx-ph { position: absolute; inset: 0; }
.rd .r-dcardx-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd .r-dcardx-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 26, 24, .32) 0, rgba(29, 26, 24, 0) 26%, rgba(29, 26, 24, 0) 40%, rgba(29, 26, 24, .86) 100%); }
.rd .r-dcardx-p { position: absolute; z-index: 1; left: 16px; top: 16px; max-width: calc(100% - 88px); padding: 4px 10px; border-radius: var(--radius-xs); background: rgba(29, 26, 24, .34); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 13px; line-height: 18px; font-weight: 600; color: var(--cream-fixed); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd .r-dcardx-x { position: absolute; z-index: 2; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(29, 26, 24, .34); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--cream-fixed); transition: background-color var(--t-press), transform var(--t-press); }
.rd .r-dcardx-x svg { width: 20px; height: 20px; }
.rd .r-dcardx-x:hover { background: rgba(29, 26, 24, .56); }
.rd .r-dcardx-x:active { transform: scale(.94); }
.rd .r-dcardx-x:focus-visible, .rd .r-dcardx-go:focus-visible { outline: 2px solid var(--cream-fixed); outline-offset: 2px; }
.rd .r-dcardx-b { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; }
.rd .r-dcardx-n { margin: 0; font: 600 24px/28px var(--font-text); color: var(--cream-fixed); text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rd .r-dcardx-a { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: rgba(255, 251, 248, .86); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rd .r-dcardx-a:empty { display: none; }
.rd .r-dcardx-pr { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.rd .r-dcardx-pr b { padding: 4px 10px; border-radius: var(--radius-xs); background: var(--cream-fixed); color: #1d1a18; font-size: 15px; line-height: 20px; font-weight: 700; }
.rd .r-dcardx-pr b:empty, .rd .r-dcardx-pr span:empty { display: none; }
.rd .r-dcardx-pr span { font-size: 13px; line-height: 18px; color: rgba(255, 251, 248, .86); }
.rd .r-dcardx-go { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 16px; border-radius: var(--radius-m); background: var(--cream-fixed); color: #1d1a18; font-size: 16px; line-height: 20px; font-weight: 600; text-decoration: none; transition: transform var(--t-press); }
.rd .r-dcardx-go:active { transform: scale(.97); }
/* without a photo: the card on surface, the drawing of the dish above, ink text, the price orange */
.rd .r-dcardx.nophoto { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
/* without a photo nothing is reserved for it: the card is as tall as its text, the whole description and КБЖУ */
.rd .r-dcardx.nophoto { aspect-ratio: auto; height: auto; overflow-y: auto; }
.rd .r-dcardx.nophoto .r-dcardx-ph { display: none; }
.rd .r-dcardx.nophoto .r-dcardx-b { position: static; padding: 64px 20px 20px; }
.rd .r-dcardx.nophoto .r-dcardx-a { display: block; -webkit-line-clamp: unset; overflow: visible; }
.rd .r-dcardx-k { display: none; }
.rd .r-dcardx.nophoto .r-dcardx-k:not(:empty) { display: block; margin: 8px 0 0; font-size: 13px; line-height: 18px; color: var(--graphite); }
.rd .r-dcardx.nophoto .r-dcardx-ph::after, .rd .r-dcardx.nophoto .r-dcardx-ph img { display: none; }
.rd .r-dcardx.nophoto .r-dcardx-p { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; color: var(--graphite); }
.rd .r-dcardx.nophoto .r-dcardx-x { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.rd .r-dcardx.nophoto .r-dcardx-n { color: var(--ink); }
.rd .r-dcardx.nophoto .r-dcardx-a { color: var(--graphite); }
.rd .r-dcardx.nophoto .r-dcardx-pr b { background: none; padding: 0; color: var(--orange-deep); font-size: 22px; line-height: 28px; font-weight: 600; }
.rd .r-dcardx.nophoto .r-dcardx-pr span { color: var(--graphite); }
.rd .r-dcardx.nophoto .r-dcardx-go { background: none; box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--ink); }
.rd .r-dcardx.nophoto .r-dcardx-x:focus-visible, .rd .r-dcardx.nophoto .r-dcardx-go:focus-visible { outline-color: var(--orange-deep); }
@media (min-width: 1080px) { .rd .r-dcardx { width: 360px; } }
@media (max-height: 479px) { .rd .r-dcardx { aspect-ratio: auto; height: calc(100dvh - 32px); } .rd .r-dscrim { padding: 16px; } }
body.r-lock { overflow: hidden; }

/* ---------------------------------------------------------------- the place: hints, «По деньгам», card, neighbours (PLAN R5, R7) */
.rd .r-money { padding: 16px 20px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-m); }
.rd .r-money .r-frame-t { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--orange-deep); }
.rd .r-money p { margin-top: var(--space-4); font-size: 17px; line-height: 28px; }
.rd .r-row b { font-variant-numeric: tabular-nums; }
/* a long name wraps: the dots start right after its last word and run to the price (no gap, nothing on the first line).
   The leader is a zero-advance box after the name, clipped by the name's own column. */
.rd .r-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-8); align-items: last baseline; }
.rd .r-row > i { display: none; }
.rd .r-row:has(> b) > span:first-child { overflow: hidden; }
.rd .r-row:has(> b) > span:first-child::after { content: ""; display: inline-block; width: 100vw; margin: 0 -100vw 0 var(--space-8); border-bottom: 1px dotted var(--rule); vertical-align: 0.3em; }
.rd .r-note p { margin: 0; font-size: 16px; line-height: 26px; color: var(--ink); }
.rd .r-note b { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.rd .r-note b .r-ico { width: 20px; height: 20px; }
.rd .r-nt-important b { color: var(--orange-deep); --ic: var(--orange-deep); }
.rd .r-nt-checked b { color: var(--lime-deep); --ic: var(--lime-deep); }
.rd .r-nt-tip b { color: var(--graphite); --ic: var(--graphite); }
.rd .r-card { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }
.rd .r-card.r-card-x { padding-top: 0; border-top: 0; }
.rd .r-card-ph { display: block; width: 72px; height: 72px; border-radius: var(--radius-xs); overflow: hidden; }
.rd .r-card-ph .r-art { width: 72px; height: 72px; }
.rd .r-card-h { position: relative; display: flex; align-items: center; gap: 8px; padding-right: 48px; }
.rd .r-card-h .card-fav { top: -6px; right: 0; }
.rd .r-card-n { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--ink); text-decoration: none; }
.rd .r-card-n:hover { color: var(--orange-deep); }
.rd .r-card-s { font-size: 13px; line-height: 18px; color: var(--graphite); }
.rd .r-card-about { margin-top: 2px; }
.rd .r-card-a { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-4); }
.rd .r-card-a .r-btn .ico, .rd .r-card-a .r-btn svg { width: 18px; height: 18px; }
/* phone: the call is the one wide button, «Маршрут» and «Всё меню» share the row under it (owner 12.11: less stacked) */
@media (max-width: 599px) { .rd .r-card-a .r-btn { flex: 1 1 0; min-width: 0; height: var(--control-m); } .rd .r-card-a .r-btn.fill { flex-basis: 100%; } }
.rd .r-card-ph { background: var(--paper); } /* no photo: plain paper, no drawn dish at 72 px */
/* the cover's caption is a line under the photo, not a framed note */
.rd .r-cover figcaption.r-note { border: 0; border-radius: 0; padding: 0; }

/* ---------------------------------------------------------------- places: list beside, chips, phone bar and sheet (PLAN R6) */
.rd .r-as-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; line-height: 22px; font-weight: 600; }
.rd .r-as-h span { font-size: 13px; font-weight: 400; color: var(--graphite); }
.rd .r-as-p { margin-top: 8px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rd .r-as-p i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); transition: transform var(--t-text) var(--ease-in); }
.rd .r-aside { max-height: calc(100vh - 48px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.rd .r-as-l a { color: var(--ink); text-decoration: none; }
.rd .r-as-l a:hover b { color: var(--orange-deep); }
.rd .r-as-l a[aria-current="true"] b { font-weight: 600; }
.rd .r-as-art { width: 44px; height: 44px; display: grid; place-items: center; flex: none; }
.rd .r-as-art .r-art { width: 40px; height: 40px; }
.rd .r-chips.short .r-more { display: none; }
.rd .r-plist { display: none; }
.rd .r-plist summary { cursor: pointer; font-size: 15px; line-height: 22px; font-weight: 600; }
.rd .r-plist ol { margin: var(--space-8) 0 0; padding-left: 24px; list-style: decimal; font-size: 16px; line-height: 28px; }
.rd .r-plist ol li::marker { color: var(--orange-deep); font-weight: 600; }
.rd .r-plist a { color: var(--ink); }
@media (max-width: 1079px) { .rd .r-plist { display: block; } }
.rd .r-pbar { border-top: 1px solid var(--line); background: var(--surface); }
.rd .r-pbar.on { display: grid; }
.rd .r-pbar { transform: translateY(0); transition: transform var(--t-sheet-out) var(--ease-out), opacity var(--t-sheet-out); }
.rd .r-pbar.away { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
@media (max-width: 833px) {
  .rd .r-pbar { left: max(12px, calc(50% - 240px)); right: max(12px, calc(50% - 240px)); bottom: calc(16px + 64px + 8px + env(safe-area-inset-bottom)); border: 1px solid var(--line); border-radius: var(--radius-sheet); box-shadow: var(--shadow-float); padding: 8px 8px 8px 12px; }
}
@media (min-width: 1080px) { .rd .r-pbar, .rd .r-psheet { display: none !important; } }
.rd .r-psheet { z-index: 80; }
.rd .r-psheet .r-as-l { max-height: calc(80dvh - 96px); overflow: auto; }
.rd .r-psheet { max-height: 80dvh; }
/* the jump: an orange line under the heading for 0.9 s, never a pale fill (owner, 11.11) */
.rd .r-h2.flash::after { content: ""; position: absolute; inset: auto auto -4px 0; width: var(--flash-w, 100%); height: 3px; border-radius: 2px; background: var(--orange); z-index: 0; transform-origin: 0 50%; animation: r-jump 900ms both; }
@keyframes r-jump { 0% { transform: scaleX(0); opacity: 1; animation-timing-function: cubic-bezier(.2,0,0,1); } 22% { transform: scaleX(1); opacity: 1; } 78% { transform: scaleX(1); opacity: 1; animation-timing-function: cubic-bezier(.4,0,1,1); } 100% { transform: scaleX(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rd .r-h2.flash::after { animation: r-jump-r 620ms both; } @keyframes r-jump-r { 0%, 80% { opacity: 1; } 100% { opacity: 0; } } }

/* ---------------------------------------------------------------- figures grow in once (PLAN R8): only with JS, never without */
.rd .r-seg { transform: none; }
.r-anim .rd .r-chart[data-grow]:not(.play) .r-seg { transform: scaleX(0); }
.rd .r-ring .val { animation: none; }
.r-anim .rd .r-ring.play .val { animation: r-ringin 900ms var(--ease-in) both; }
.r-anim .rd .r-ring:not(.play) .val { stroke-dasharray: 0 100; }
.rd .r-axis div { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; color: var(--grey); }
.rd .r-axis { margin-top: var(--space-8); }
.rd .sr-only, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- motion of the reading (PLAN R9) */
.r-anim .rd .r-u { background-size: 0 .22em; transition: background-size var(--t-pencil) var(--ease-in); }
.r-anim .rd .r-u.drawn { background-size: 100% .22em; }
.r-anim .rd [data-reveal]:not(.in) { opacity: 0; transform: translateY(24px); }
.rd [data-reveal] { transition: opacity var(--t-reveal) var(--ease-in), transform var(--t-reveal) var(--ease-in); }
@media (prefers-reduced-motion: reduce) {
  .r-anim .rd .r-u { background-size: 100% .22em; transition: none; }
  .r-anim .rd [data-reveal]:not(.in) { opacity: 1; transform: none; }
  .r-anim .rd .r-chart[data-grow]:not(.play) .r-seg { transform: none; }
  .r-anim .rd .r-ring:not(.play) .val { stroke-dasharray: inherit; }
}

/* ---------------------------------------------------------------- the end: how we wrote it, where next (PLAN R7, R9) */
.rd .r-endflow { margin-top: var(--space-48); }
.rd .r-how { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rd .r-how dd { margin: 2px 0 0; }
@media (max-width: 599px) { .rd .r-how { grid-template-columns: 1fr 1fr; } }
.rd .r-endscene { margin-top: var(--space-48); border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.rd .r-end-art .r-art { width: 176px; height: auto; margin-bottom: -6px; }
@media (max-width: 599px) { .rd .r-end-art { display: none; } .rd .r-endscene { grid-template-columns: 1fr; padding: var(--space-24); } }
.rd .r-facts .r-fact-i { width: 20px; height: 20px; flex: none; }
.rd .r-secline { display: flex; justify-content: center; }
.rd .r-secline .r-ln { width: min(100%, 320px); height: auto; overflow: visible; }
.rd .r-secline path { stroke-width: 1.75px; }
.r-anim .rd [data-line] path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--t-line) var(--ease-in); }
.r-anim .rd [data-line].drawn path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .r-anim .rd [data-line] path { stroke-dashoffset: 0; transition: none; } }
/* the site's .num is a big orange display figure; inside the article it only means tabular digits */
.rd :where(.num) { font: inherit; color: inherit; font-variant-numeric: tabular-nums; }
.rd .r-aside { overflow-x: hidden; }
/* the layer of overlays at the end of the page (reading.js): over the site's header and tab bar */
.rd.r-layer { position: relative; z-index: 60; }
.rd .r-pbar:not(.on) { display: none !important; } /* shown once the first place's heading has passed the top */
.rd .r-tail .art-more-grid { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
.rd .r-page.r-tail { padding-top: 0; }
@media (min-width: 834px) { .rd .r-tail .art-more-grid { margin-inline: 0; padding-inline: 0; } }
.rd > .r-page:first-of-type { padding-bottom: 0; }
.rd .r-secline .r-ln { height: 48px; width: auto; max-width: 100%; }
/* buttons of the system start bare (the system's own reset is not taken: it would reach the site's blocks) */
.rd :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rd :where(ul, ol).r-sum, .rd :where(ol).r-steps, .rd :where(ol).r-time, .rd .r-fit ul, .rd .r-as-l, .rd .r-dend ul { list-style: none; margin: 0; padding: 0; }
.rd :where(h1, h2, h3, h4, p, dl, dd, figure, blockquote) { margin: 0; }

/* a compare table wider than the column scrolls inside it, its first column stays (PLAN R7) */
.rd .r-tw { overflow-x: auto; overscroll-behavior-x: contain; }
.rd .r-table tbody th, .rd .r-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--cream); }
.rd .r-table .best svg { display: inline-block; }
.rd .r-band a, .rd .r-band a:hover { color: #1d1a18; text-decoration: none; } /* the cream button on the band keeps its dark word in both themes */
.rd .r-row-note span { color: var(--graphite); }
/* a drawing as two images (Art: light and dark): .r-art is display:block, so the theme switch is repeated here */
.rd .r-art.art-dark { display: none; }
:root[data-theme="dark"] .rd .r-art.art-light { display: none; }
:root[data-theme="dark"] .rd .r-art.art-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rd .r-art.art-light { display: none; } :root:not([data-theme="light"]) .rd .r-art.art-dark { display: block; } }
.rd .r-chip { color: var(--ink); } /* the number of a place is orange, its name ink */
.rd .r-chip.on { color: #fff; }
.rd .r-card-b { padding-right: 44px; } /* the heart sits over the name, the lines under it never run beneath it */
.rd .r-card-h { padding-right: 0; }
.rd .r-flow > :first-child { margin-top: 0; } /* the rhythm is between blocks: the first one of a flow starts at the flow */
.rd .r-card-b { position: relative; }
.rd .r-card-h { position: static; } /* the heart takes the right margin of the card's text, not a part of the name */

.rd .r-cover img { max-height: min(56vh, 480px); }

/* «Удиви меня»: a long address ends with «…» inside its chip instead of running out of the card (owner 12.11) */
.rd .r-dcard-f span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 28px; }
