/* Timetable pages of lepszypoznan.pl /komunikacja/ — direction C ("Tablica dworcowa")
   with the route diagram of direction D. Sizes measured from design/mockup/c_*.png and
   d_tabliczka.png (desktop mock-ups are 2x of a 1280 px page). Everything is under .rz,
   so it does not touch the theme. The index, line, search and message pages had no
   mock-up; they reuse the same tokens. */

@font-face { font-family: "RZ Mono"; font-weight: 400; font-display: swap;
  src: url(fonts/jetbrains-mono-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "RZ Mono"; font-weight: 400; font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "RZ Mono"; font-weight: 700; font-display: swap;
  src: url(fonts/jetbrains-mono-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "RZ Mono"; font-weight: 700; font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

.rz {
  --rz-page: #F6F9FB;          /* page background around the cards */
  --rz-card: #FFFFFF;
  --rz-ink: #111418;
  --rz-muted: #5B6470;
  --rz-rule: #DDE2E7;
  --rz-link: #0A63C9;
  --rz-accent: #157EEB;        /* switch, active tab */
  --rz-board: #14191D;         /* the dark station board */
  --rz-board-rule: #29323A;    /* row separators on the board */
  --rz-board-col: #262C32;     /* column separators */
  --rz-amber: #F5B10F;         /* times on the board */
  --rz-hour: #A8ABAF;
  --rz-next: #2A2618;          /* next-departure row */
  --rz-passed: #C0C1C5;        /* route: stops already passed */
  --rz-pin: #02A9F3;           /* route: "Jesteś tutaj" */
  --rz-line: #72C4E7;          /* the line's own colour, set inline per page */
  --rz-mono: "RZ Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --rz-row: 17.25px;           /* board row pitch (34.5 px / 2) */
  color: var(--rz-ink);
  background: var(--rz-page);
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  padding: 0 12px;
}
.rz *, .rz *::before, .rz *::after { box-sizing: border-box; }
/* the theme's table, list and button styles stop at .rz (these come first, the rules below win) */
.rz table { margin: 0; border: 0; background: none; }
.rz th, .rz td { border-right: 0; border-bottom: 0; background: none; vertical-align: middle; }
.rz ul, .rz ol { margin: 0; padding: 0; list-style: none; }
.rz a.rz-badge:hover { text-decoration: none; filter: brightness(1.12); }
.rz-wrap { max-width: 1146px; margin: 0 auto; padding: 0 0 32px; }
.rz-crumbs { font-size: 14px; color: #3D444C; padding: 14px 8px 12px; }
.rz-crumbs a { color: var(--rz-link); }

/* line badges */
.rz-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px;
  padding: 0 6px; border-radius: 4px; font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; }
.rz-badge--big { min-width: 82px; height: 64px; border-radius: 6px; font-size: 48px; }
.rz-badge--row { min-width: 46px; height: 23px; font-size: 15px; }
.rz-badge--chip { min-width: 36px; height: 25px; font-size: 15px; }
.rz-badge.is-on { box-shadow: 0 0 0 2px var(--rz-page), 0 0 0 4px var(--rz-accent); }

/* header card */
.rz-head { display: grid; grid-template-columns: auto 1fr auto; gap: 0 24px; align-items: start;
  background: var(--rz-card); padding: 10px 22px 12px; border-radius: 6px; }
.rz-kind { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--rz-muted); text-transform: uppercase; margin-top: 2px; }
.rz-title { font-size: 25px; font-weight: 700; margin: 2px 0 4px; line-height: 1.15; }
.rz-meta { font-size: 14px; color: #3D444C; }
.rz-meta b { color: var(--rz-ink); font-weight: 600; }
.rz-others { text-align: right; padding-top: 8px; }
.rz-others .rz-label { font-size: 14px; color: #3D444C; margin-right: 10px; vertical-align: middle; }
.rz-others .rz-badges { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; vertical-align: middle; }
.rz-others a.rz-more { display: block; margin-top: 12px; font-size: 14px; color: var(--rz-link); }

/* route diagram (direction D) */
.rz-route { background: var(--rz-card); border-radius: 6px; margin-top: 12px; padding: 10px 22px 12px; }
.rz-route h2 { font-size: 15px; font-weight: 600; margin: 0; }
.rz-diagram { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-top: 112px; margin-right: 80px; }  /* room for the last rotated name */
.rz-stop { position: relative; height: 44px; }
.rz-stop::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 6px; background: var(--rz-line); }
.rz-stop:first-child::before { left: 50%; }
.rz-stop:last-child::before { right: 50%; }
.rz-stop.is-passed::before, .rz-stop.is-here::before { background: var(--rz-passed); }
.rz-stop.is-here::before { right: 50%; }
.rz-stop.is-here::after { content: ""; position: absolute; left: 50%; right: 0; top: 11px; height: 6px; background: var(--rz-line); }
.rz-stop.is-here:last-child::after { display: none; }
.rz-dot { position: absolute; left: 50%; top: 14px; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%;
  background: #fff; border: 3px solid var(--rz-line); z-index: 1; }
.is-passed .rz-dot { background: var(--rz-passed); border-color: var(--rz-passed); }
.is-here .rz-dot { width: 28px; height: 28px; margin: -14px 0 0 -14px; border-width: 5px; box-shadow: inset 0 0 0 3px #fff; background: var(--rz-line); }
.rz-name { position: absolute; left: 50%; bottom: 34px; transform-origin: 0 100%; transform: rotate(-40deg);
  font-size: 13px; line-height: 1.15; color: #222; text-decoration: none; white-space: nowrap; }
a.rz-name:hover { color: var(--rz-link); text-decoration: underline; }
.is-passed .rz-name { color: #8A9099; }
.is-here .rz-name { font-weight: 700; bottom: 60px; }  /* clear of the 28 px marker */
.rz-min { position: absolute; left: 0; right: 0; top: 26px; text-align: center; font-size: 12px; color: #3D444C; white-space: nowrap; }
.rz-pin { position: absolute; left: 50%; top: 34px; transform: translateX(-50%); background: var(--rz-pin); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 4px; white-space: nowrap; z-index: 2; }
.rz-pin::after { content: ""; position: absolute; left: 50%; top: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom-color: var(--rz-pin); border-top: 0; }
.rz-stop.is-here { height: 58px; }
.rz-route-toggle { display: none; }

/* validity + date */
.rz-dates { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; margin: 14px 0 6px; padding: 0 8px; }
.rz-valid { font-size: 12px; color: #3D444C; }
.rz-week { font-size: 14px; color: var(--rz-link); margin-left: auto; }
.rz-date { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.rz-date label { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: #3D444C; font-weight: 400; white-space: nowrap; }
.rz-date input { height: 29px; padding: 0 8px; background: var(--rz-card); border: 1px solid var(--rz-rule); border-radius: 4px;
  font: inherit; color: var(--rz-ink); }
.rz-date button, .rz-search button { height: 29px; padding: 0 12px; border: 1px solid var(--rz-accent); border-radius: 4px;
  background: var(--rz-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.rz-js .rz-date button { display: none; }  /* the date applies on change */

/* the station board */
.rz-board { background: var(--rz-board); border-radius: 4px; overflow: hidden; color: var(--rz-amber); font-family: var(--rz-mono); }
.rz-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.rz-grid col.rz-h { width: 58px; }
.rz-grid th { height: 25px; padding: 4px 0 0 17px; text-align: left; font-family: system-ui, sans-serif; font-size: 13px; font-weight: 700;
  color: #fff; letter-spacing: .04em; border: 0; border-left: 1px solid var(--rz-board-col); }
.rz-grid th:first-child { border-left: 0; }
.rz-grid td { height: calc(var(--rz-row) - 1px); padding: 0 0 0 18px; font-size: 13px; line-height: var(--rz-row); white-space: nowrap;
  border: 0; border-top: 1px solid var(--rz-board-rule); border-left: 1px solid var(--rz-board-col); }
.rz-board--one .rz-grid td { white-space: normal; }
.rz-grid td.rz-hour { padding: 0; text-align: center; color: var(--rz-hour); border-left: 0; }
.rz-grid tr.is-now td { background: var(--rz-next); }
.rz-grid tr.is-now td.rz-hour { color: var(--rz-amber); font-weight: 700; }
.rz-m { display: inline-block; width: 28.5px; }
.rz-m sup { position: relative; top: -.45em; bottom: auto; vertical-align: baseline; font-size: .7em; line-height: 0; margin-left: 1px; }  /* the theme moves sup down */
.rz-tabs { display: none; }
.rz-empty { margin: 0; padding: 18px 22px; color: #fff; font-family: system-ui, sans-serif; font-size: 15px; }

.rz-legend { margin: 10px 8px 0; font-size: 12px; color: #3D444C; display: flex; justify-content: space-between; gap: 24px; }
.rz-legend p { margin: 0 0 2px; }
.rz-source { color: var(--rz-muted); white-space: nowrap; align-self: end; }

/* departures page */
.rz-dephead { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 8px 0; }
.rz-dephead h1 { font-size: 28px; font-weight: 700; margin: 0; line-height: 1.2; }
.rz-sub { font-size: 17px; color: var(--rz-muted); margin-top: 2px; }
.rz-switch { display: inline-flex; border: 1px solid var(--rz-rule); border-radius: 4px; overflow: hidden; background: var(--rz-card); }
.rz-switch a { display: block; padding: 6px 18px; font-size: 15px; color: var(--rz-ink); text-decoration: none; min-width: 96px; text-align: center; }
.rz-switch a.is-on { background: var(--rz-accent); color: #fff; }
.rz-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 8px 16px; }
.rz-chips-label { font-size: 13px; color: var(--rz-muted); margin-left: 10px; }
.rz-chips-all { font-size: 14px; color: var(--rz-link); margin-left: 10px; }
.rz-depgrid { display: grid; grid-template-columns: 1fr 256px; gap: 24px; align-items: start; }
.rz-deps { width: 100%; border-collapse: collapse; font-family: var(--rz-mono); }
.rz-deps th { text-align: left; font-size: 12px; font-weight: 400; color: #9AA3AD; padding: 10px 0 8px 22px; border: 0; }
.rz-deps td { height: 24px; padding: 0 0 0 22px; font-size: 16px; line-height: 24px; color: var(--rz-amber); white-space: nowrap;
  border: 0; border-top: 1px solid var(--rz-board-rule); }
.rz-deps td.rz-dir { color: #fff; white-space: normal; }
.rz-deps tr.is-next { background: var(--rz-next); outline: 1px solid #6B5414; outline-offset: -1px; }
.rz-deps tr.is-past td { opacity: .45; }
.rz-deps td .rz-badge { vertical-align: middle; font-family: system-ui, sans-serif; }
.rz-panel { background: var(--rz-card); border-radius: 6px; padding: 14px 16px; }
.rz-panel h2 { font-size: 17px; margin: 0 0 8px; }
.rz-panel dl { margin: 0; display: grid; grid-template-columns: 70px 1fr; }
.rz-panel dt, .rz-panel dd { margin: 0; padding: 7px 0; border-top: 1px solid var(--rz-rule); font-size: 14px; }
.rz-panel dt { font-weight: 700; }
.rz-panel .rz-night { margin: 10px 0 0; font-size: 13px; color: var(--rz-muted); font-style: italic; }
.rz-note { font-size: 12px; color: var(--rz-muted); font-style: italic; margin: 12px 8px 0; }

/* live times (rozklady live): "+3" late, "−2" early, a dot on rows with live data */
.rz { --rz-late: #FF8A65; --rz-early: #7FD1FF; --rz-live: #4CD964; }
.rz-shift { font-size: .72em; font-weight: 700; margin-left: 4px; vertical-align: .15em; }
.rz-shift.is-late { color: var(--rz-late); }
.rz-shift.is-early { color: var(--rz-early); }
.rz-dot-live, .rz-deps tr.is-live td.rz-in::before { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rz-live);
  margin-right: 6px; vertical-align: .1em; content: ""; }
.rz-next { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-top: 12px; padding: 9px 22px;
  background: var(--rz-board); color: var(--rz-amber); border-radius: 6px; font-family: var(--rz-mono); font-size: 15px; }
.rz-next[hidden] { display: none; }
.rz-next-label { font-family: system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.rz-next-item b { font-weight: 700; }
.rz-next .rz-sched { color: #8A9099; font-size: 11px; }
.rz-next-src { margin-left: auto; font-family: system-ui, sans-serif; font-size: 12px; color: #9AA3AD; }
.rz-next-src::before { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rz-live); margin-right: 6px; content: ""; }

/* the line lists other pages print (komunikacja_spis_linii, e.g. on the home page) */
.rz.rz-inline { background: none; padding: 0; }
.rz-inline .rz-cat { background: none; padding: 0; margin: 0 0 12px; }
.rz-inline .title { font-weight: 700; margin: 0 0 6px; }
.rz-ends td { padding: 3px 10px 3px 0; border: 0; }

/* index, search, line page, messages (no mock-up: same tokens as above) */
.rz-h1 { font-size: 28px; font-weight: 700; margin: 12px 8px 14px; line-height: 1.2; }
.rz-search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 8px 18px; }
.rz-search label { font-size: 15px; font-weight: 600; }
.rz-search input { flex: 0 1 340px; min-width: 0; height: 29px; padding: 0 10px; background: var(--rz-card); border: 1px solid var(--rz-rule);
  border-radius: 4px; font: inherit; font-size: 15px; color: var(--rz-ink); }
.rz-cat { background: var(--rz-card); border-radius: 6px; padding: 12px 22px 16px; margin-bottom: 12px; }
.rz-cat h2 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.rz-lines { display: flex; flex-wrap: wrap; gap: 8px; }
.rz-found { background: var(--rz-card); border-radius: 6px; padding: 6px 22px; columns: 3 220px; }
.rz-found li { padding: 5px 0; break-inside: avoid; }
.rz-found a, .rz-dir a, .rz-msg a { color: var(--rz-link); }
.rz-head--line { grid-template-columns: auto 1fr; }
.rz-hint { margin: 12px 8px; color: var(--rz-muted); }
.rz-dirs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.rz-dir { background: var(--rz-card); border-radius: 6px; padding: 12px 22px 14px; }
.rz-dir h2 { font-size: 17px; margin: 0 0 8px; }
.rz-stops { position: relative; }
.rz-stops li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 5px 0 5px 26px; border-top: 1px solid var(--rz-rule); }
.rz-stops li:first-child { border-top: 0; }
.rz-stops li::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 4px; background: var(--rz-line); }
.rz-stops li:first-child::before { top: 50%; }
.rz-stops li:last-child::before { bottom: 50%; }
.rz-stops li::after { content: ""; position: absolute; left: 2px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: #fff; border: 3px solid var(--rz-line); }
.rz-stops .rz-min { position: static; color: var(--rz-muted); font-size: 13px; }
.rz-end { font-weight: 600; }
.rz-msg { background: var(--rz-card); border-radius: 6px; padding: 18px 22px; margin-top: 16px; }
.rz-msg h1 { font-size: 24px; margin: 0 0 12px; }
.rz-msg .rz-search { margin: 16px 0; }
.rz-msg ul { margin: 0 0 12px; }
.rz-msg li { padding: 3px 0; }

/* phone */
@media (max-width: 720px) {
  .rz { font-size: 15px; --rz-row: 28px; padding: 0; }
  .rz-wrap { padding: 0 14px 24px; }
  .rz-crumbs { padding: 10px 0; }
  /* phone order as in mock-up C: board first, route under it */
  [data-rz="board"] { display: flex; flex-direction: column; }
  [data-rz="board"] .rz-route { order: 5; }
  [data-rz="board"] .rz-legend { order: 6; }
  .rz-head { grid-template-columns: auto 1fr; padding: 12px; gap: 0 12px; }
  .rz-badge--big { min-width: 52px; height: 46px; font-size: 32px; }
  .rz-kind { display: none; }
  .rz-title { font-size: 20px; }
  .rz-meta { font-size: 14px; }
  .rz-long { display: none; }
  .rz-others { grid-column: 1 / -1; text-align: left; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .rz-others .rz-badges { display: contents; }
  .rz-others a.rz-more { flex-basis: 100%; margin-top: 8px; }
  .rz-others .rz-label { margin-right: 6px; }
  .rz-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 8px; }
  .rz-tabs button { height: 40px; border: 1px solid var(--rz-rule); border-radius: 4px; background: var(--rz-card); font: inherit; color: var(--rz-ink); }
  .rz-tabs button[aria-selected="true"] { background: var(--rz-accent); border-color: var(--rz-accent); color: #fff; font-weight: 600; }
  .rz-dates { margin: 0 0 10px; padding: 0; }
  .rz-valid { display: none; }
  .rz-date, .rz-date label { width: 100%; }
  .rz-date input { flex: 1; height: 40px; }
  .rz-date button { height: 40px; }
  .rz-grid { table-layout: auto; }  /* the two hidden day columns must not keep their width */
  .rz-grid col { display: none; }
  .rz-grid td.rz-hour { width: 52px; }
  .rz-grid thead { display: none; }
  .rz-grid td { font-size: 15px; padding-left: 14px; white-space: normal; }
  .rz-m { width: 34px; }
  .rz-board[data-day="weekday"] .rz-saturday, .rz-board[data-day="weekday"] .rz-sunday,
  .rz-board[data-day="saturday"] .rz-weekday, .rz-board[data-day="saturday"] .rz-sunday,
  .rz-board[data-day="sunday"] .rz-weekday, .rz-board[data-day="sunday"] .rz-saturday { display: none; }
  /* route: the diagram turns vertical */
  .rz-route { margin-top: 14px; padding: 12px; }
  .rz-diagram { display: block; padding: 6px 0 0; margin-right: 0; }
  .rz-stop, .rz-stop.is-here { height: 32px; }
  .rz-name { width: auto; white-space: nowrap; }
  .rz-stop::before, .rz-stop.is-here::after { left: 13px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; }
  .rz-stop:first-child::before { top: 50%; left: 13px; }
  .rz-stop:last-child::before { bottom: 50%; right: auto; }
  .rz-stop.is-here::before { bottom: 50%; right: auto; }
  .rz-stop.is-here::after { top: 50%; left: 13px; }
  .rz-dot { left: 16px; top: 50%; }
  .rz-name, .is-here .rz-name { left: 40px; bottom: auto; top: 50%; transform: translateY(-50%); font-size: 15px; }
  .rz-min { left: auto; right: 0; top: 50%; transform: translateY(-50%); font-size: 14px; }
  .rz-pin { left: auto; right: 0; bottom: auto; top: 50%; transform: translateY(-50%); }
  .rz-pin::after { display: none; }
  .rz-route:not(.is-open) .rz-stop.is-passed, .rz-route:not(.is-open) .rz-stop.is-far { display: none; }
  .rz-route-toggle { display: block; margin: 8px 0 0 40px; padding: 0; border: 0; background: none; font: inherit; color: var(--rz-link); }
  .rz-legend { display: block; }
  .rz-next { padding: 9px 12px; gap: 4px 16px; }
  .rz-next-label, .rz-next-src { flex-basis: 100%; margin-left: 0; }
  /* departures */
  .rz-dephead { display: block; padding: 8px 0 0; }
  .rz-dephead h1 { font-size: 26px; }
  .rz-sub { font-size: 16px; }
  .rz-switch { margin-top: 12px; width: 100%; }
  .rz-switch a { flex: 1; padding: 9px 0; }
  .rz-chips { flex-wrap: nowrap; overflow-x: auto; margin: 14px 0; padding: 4px 2px; }
  .rz-chips > * { flex: none; }
  .rz-depgrid { display: block; }
  .rz-deps, .rz-deps tbody { display: block; }
  .rz-deps thead { display: none; }
  .rz-deps tr { display: grid; grid-template-columns: 52px 1fr auto; grid-template-rows: auto auto; align-items: center;
    padding: 8px 12px; border-top: 1px solid var(--rz-board-rule); column-gap: 12px; }
  .rz-deps td { border: 0; padding: 0; height: auto; line-height: 1.25; }
  .rz-deps td.rz-line { grid-row: 1 / 3; }
  .rz-deps td.rz-dir { grid-column: 2; grid-row: 1; font-size: 16px; }
  .rz-deps td.rz-code { grid-column: 2; grid-row: 2; font-size: 12px; color: #8A9099; }
  .rz-deps td.rz-in { grid-column: 3; grid-row: 1; text-align: right; font-weight: 700; }
  .rz-deps td.rz-time { grid-column: 3; grid-row: 2; text-align: right; font-size: 12px; color: #8A9099; }
  .rz-deps .rz-badge--row { min-width: 40px; height: 27px; }
  .rz-panel { display: none; }
  /* index, line page */
  .rz-h1 { font-size: 24px; margin: 8px 0 12px; }
  .rz-search { margin: 0 0 14px; }
  .rz-search input { flex: 1; height: 40px; }
  .rz-search button { height: 40px; }
  .rz-cat, .rz-dir, .rz-found { padding: 12px; }
  .rz-dirs { grid-template-columns: 1fr; }
}

/* favourite stops and the home screen shortcut (rozklady.js shows them) */
.rz-mine { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rz-mine[hidden], .rz-mine button[hidden], .rz-home-help[hidden], .rz-fav[hidden] { display: none; }
.rz-mine button { height: 32px; padding: 0 12px; border: 1px solid var(--rz-rule); border-radius: 4px; background: var(--rz-card);
  font: inherit; font-size: 14px; color: var(--rz-ink); cursor: pointer; }
.rz-star::before { content: "☆"; margin-right: 6px; color: var(--rz-muted); }
.rz-star[aria-pressed="true"] { border-color: var(--rz-amber); }
.rz-star[aria-pressed="true"]::before { content: "★"; color: var(--rz-amber); }
.rz-add-home::before { content: "+"; margin-right: 6px; font-weight: 700; color: var(--rz-accent); }
.rz-home-help { margin: 8px 0 0; font-size: 14px; color: var(--rz-muted); max-width: 46em; }
.rz-fav { background: var(--rz-card); border-radius: 6px; padding: 12px 22px 16px; margin-bottom: 12px; }
.rz-fav h2 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.rz-fav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rz-fav li { display: flex; align-items: center; border: 1px solid var(--rz-rule); border-radius: 4px; background: var(--rz-card); }
.rz-fav a { padding: 6px 4px 6px 12px; font-size: 15px; color: var(--rz-link); text-decoration: none; }
.rz-fav a::before { content: "★"; color: var(--rz-amber); margin-right: 6px; }
.rz-fav-del { border: 0; background: none; padding: 6px 10px; font-size: 16px; line-height: 1; color: var(--rz-muted); cursor: pointer; }
@media (max-width: 720px) {
  .rz-fav { padding: 12px; }
  .rz-mine button { height: 40px; flex: 1 1 auto; }
  .rz-fav a { padding: 10px 4px 10px 12px; }
  .rz-fav-del { padding: 10px 12px; }
}
