/* ═══════════════════════════════════════════════════════════════════════
   הספרייה החכמה — סרגל קטגוריות, קפיצה מהירה, מפרשים וחלונות צפים
   JS: assets/js/lib-nav.js · lib-comm.js · lib-desk.js
   ═══════════════════════════════════════════════════════════════════════ */
:root { --ln-ink: #16161c; --ln-mut: #6b7280; --ln-line: #e7e9ef; --ln-soft: #f6f7fa; --ln-acc: #E70F57; --ln-gold: #9a6a08; --ln-goldbg: #fbf5e4; --ln-goldline: #ecd9a8; --ln-navy: #15203A; }

/* ── סרגל הקטגוריות ── */
.ln-bar { position: sticky; top: 54px; z-index: 28; display: flex; align-items: center; gap: 6px; padding: 6px max(10px, calc((100vw - 64rem) / 2)); background: #fff; border-bottom: 1px solid var(--ln-line); font-family: Rubik, 'Heebo', Arial, sans-serif; direction: rtl; }
.ln-cats { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; -webkit-overflow-scrolling: touch; }
.ln-cats::-webkit-scrollbar { display: none; }
.ln-g { flex: none; text-decoration: none; color: #3a3f4d; font-weight: 600; font-size: .9rem; padding: 7px 12px; border-radius: 10px; white-space: nowrap; border: 0; background: none; cursor: pointer; font-family: inherit; }
.ln-g:hover, .ln-g[aria-expanded="true"] { background: var(--ln-soft); color: var(--ln-ink); }
.ln-g.cur { color: var(--ln-acc); }
.ln-g[aria-expanded="true"] { box-shadow: inset 0 -2px 0 var(--ln-acc); }
.ln-jw { position: relative; flex: 0 1 240px; min-width: 130px; }
.ln-jw input { width: 100%; height: 36px; border: 1px solid var(--ln-line); border-radius: 10px; padding: 0 34px 0 10px; font: 500 .88rem Rubik, Arial, sans-serif; background: var(--ln-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; color: var(--ln-ink); }
.ln-jw input:focus { outline: 0; border-color: #c9cede; background-color: #fff; }
.ln-sug { position: absolute; top: calc(100% + 4px); inset-inline: 0; min-width: 260px; background: #fff; border: 1px solid var(--ln-line); border-radius: 12px; box-shadow: 0 14px 40px rgba(21,32,58,.18); padding: 4px; z-index: 45; }
.ln-o { padding: 8px 10px; border-radius: 9px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; }
.ln-o b { font-weight: 700; font-size: .92rem; } .ln-o em { font-style: normal; color: var(--ln-acc); }
.ln-o span { font-size: .76rem; color: var(--ln-mut); }
.ln-o.on, .ln-o:hover { background: var(--ln-soft); }
.ln-sug-e { padding: 10px; font-size: .82rem; color: var(--ln-mut); line-height: 1.6; }
@media (max-width: 640px) {
  .ln-bar { flex-wrap: wrap; padding: 6px 10px; gap: 4px; }
  .ln-jw { order: -1; flex: 1 1 100%; }
  .ln-g { padding: 6px 10px; font-size: .86rem; }
}

/* ── תפריט נפתח ── */
.ln-mega { position: sticky; top: 103px; z-index: 40; background: #fff; border-bottom: 1px solid var(--ln-line); box-shadow: 0 18px 40px rgba(21,32,58,.14); max-height: calc(100vh - 120px); overflow: auto; font-family: Rubik, 'Heebo', Arial, sans-serif; direction: rtl; animation: lnIn .16s ease; }
@keyframes lnIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ln-mega-in { max-width: 64rem; margin: 0 auto; padding: 14px 16px 18px; }
.ln-mega-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ln-mega-h > div { flex: 1; display: flex; flex-direction: column; } .ln-mega-h b { font-size: 1.15rem; } .ln-mega-h span { font-size: .82rem; color: var(--ln-mut); }
.ln-all { text-decoration: none; color: var(--ln-acc); font-weight: 700; font-size: .86rem; white-space: nowrap; }
.ln-x { border: 0; background: var(--ln-soft); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: #3a3f4d; }
.ln-bks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 14px; }
.ln-bks.big { grid-template-columns: 1fr; }
.ln-bk { border: 1px solid var(--ln-line); border-radius: 12px; padding: 9px 11px; background: #fff; }
.ln-bk-h { display: flex; align-items: center; gap: 6px; }
.ln-bk-h a { flex: 1; text-decoration: none; color: var(--ln-ink); font-size: .95rem; } .ln-bk-h a:hover { color: var(--ln-acc); }
.ln-cmtag { font-size: .68rem; font-weight: 700; color: var(--ln-gold); background: var(--ln-goldbg); border: 1px solid var(--ln-goldline); border-radius: 6px; padding: 1px 6px; }
.ln-win { border: 1px solid var(--ln-line); background: #fff; border-radius: 8px; width: 28px; height: 26px; cursor: pointer; color: #3a3f4d; font-size: .95rem; line-height: 1; flex: none; }
.ln-win:hover { border-color: var(--ln-navy); color: var(--ln-navy); }
.ln-au { font-size: .76rem; color: var(--ln-mut); margin-top: 3px; }
.ln-secs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.ln-secs a { text-decoration: none; font-size: .8rem; color: #3a3f4d; background: var(--ln-soft); border-radius: 7px; padding: 3px 8px; white-space: nowrap; }
.ln-secs a.sub { background: #fff; border: 1px solid var(--ln-line); font-size: .76rem; }
.ln-secs a:hover { background: var(--ln-goldbg); color: var(--ln-gold); }
.ln-bks.big .ln-secs.many a { font-size: .78rem; }

/* ── בורר מיקום (ספר ▾ · חלק ▾ · פרק ▾) ── */
.ln-where { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 4px; margin: -6px 0 10px; font-family: Rubik, Arial, sans-serif; }
.ln-where > i { font-style: normal; color: #b3b8c4; }
.ln-pill { border: 1px solid var(--ln-line); background: #fff; border-radius: 999px; padding: 4px 10px; font: 600 .82rem Rubik, Arial, sans-serif; color: #3a3f4d; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; max-width: 16rem; }
.ln-pill s { text-decoration: none; font-size: .7em; opacity: .55; }
.ln-pill:hover { border-color: #c9cede; } .ln-pill.cur { border-color: var(--ln-goldline); background: var(--ln-goldbg); color: var(--ln-gold); }
.ln-pop { position: absolute; top: 100%; z-index: 42; width: 280px; max-height: 340px; overflow: auto; background: #fff; border: 1px solid var(--ln-line); border-radius: 12px; box-shadow: 0 14px 40px rgba(21,32,58,.18); padding: 6px; margin-top: 4px; text-align: right; }
.ln-pop.grid { width: min(420px, 92vw); }
.ln-pop input { width: 100%; height: 32px; border: 1px solid var(--ln-line); border-radius: 8px; padding: 0 8px; margin-bottom: 6px; font: inherit; position: sticky; top: 0; }
.ln-pop-l { display: flex; flex-direction: column; } .ln-pop.grid .ln-pop-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 3px; }
.ln-pop a { text-decoration: none; color: var(--ln-ink); padding: 6px 9px; border-radius: 8px; font-size: .86rem; } .ln-pop.grid a { text-align: center; background: var(--ln-soft); }
.ln-pop a:hover { background: var(--ln-soft); } .ln-pop a.on { background: var(--ln-goldbg); color: var(--ln-gold); font-weight: 700; }
.ln-pop a[hidden] { display: none; }

/* ── לימוד מקביל / עוד בתחום ── */
.ln-rel { margin: 18px 0 6px; padding: 12px 14px; border: 1px solid var(--ln-line); border-radius: 14px; background: #fbfbfd; font-family: Rubik, Arial, sans-serif; }
.ln-rel-r { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .ln-rel-r + .ln-rel-r { margin-top: 8px; }
.ln-rel-r > b { font-size: .84rem; margin-inline-end: 4px; }
.ln-rel-i { display: inline-flex; align-items: center; border: 1px solid var(--ln-line); background: #fff; border-radius: 999px; overflow: hidden; }
.ln-rel-i a { text-decoration: none; color: #3a3f4d; font-size: .82rem; padding: 4px 10px; } .ln-rel-i a:hover { color: var(--ln-acc); }
.ln-rel-i button { border: 0; border-inline-start: 1px solid var(--ln-line); background: none; padding: 4px 8px; cursor: pointer; color: var(--ln-mut); }
.ln-rel-i button:hover { color: var(--ln-navy); background: var(--ln-soft); }
.ln-rel-all { font-size: .8rem; color: var(--ln-acc); text-decoration: none; font-weight: 700; }

/* ── עמוד קטגוריה (/sefer/cat/…) ── */
.ln-catpage .rd-cards { margin-top: 10px; }
.ln-catsecs { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 4px; }
.ln-catsecs a { text-decoration: none; font-size: .84rem; color: #3a3f4d; background: var(--ln-soft); border-radius: 8px; padding: 4px 10px; }
.ln-catsecs a:hover { background: var(--ln-goldbg); color: var(--ln-gold); }
.ln-catbook { border: 1px solid var(--ln-line); border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; background: #fff; }
.ln-catbook h3 { margin: 0; font-size: 1.12rem; } .ln-catbook h3 a { text-decoration: none; color: var(--ln-ink); }
.ln-catbook .au { color: var(--ln-mut); font-size: .84rem; } .ln-catbook p { margin: 6px 0; color: #444a58; font-size: .9rem; line-height: 1.6; }
.ln-catbook .cm { font-size: .78rem; color: var(--ln-gold); }

/* ═════════ מפרשים ═════════ */
.cm-mk { font: 700 .5em Rubik, Arial, sans-serif; color: var(--ln-navy); background: #eef1f8; border: 1px solid #d6dcea; border-radius: 999px; min-width: 1.9em; height: 1.75em; padding: 0 .45em; margin-inline-start: .4em; vertical-align: .3em; cursor: pointer; line-height: 1; display: inline-flex; align-items: center; justify-content: center; gap: .2em; }
.cm-mk::before { content: "💬"; font-size: .85em; filter: grayscale(.2); }
.cm-mk:hover, .cm-mk.on { background: var(--ln-navy); color: #fff; border-color: var(--ln-navy); }
p.cm-sel { background: #f3f6fd; box-shadow: 0 0 0 6px #f3f6fd; border-radius: 4px; }
.cm-pane { position: fixed; z-index: 51; background: #fff; display: flex; flex-direction: column; font-family: Rubik, 'Heebo', Arial, sans-serif; direction: rtl; color: var(--ln-ink); }
.cm-pane[hidden] { display: none !important; }
body.cm-dock .cm-pane { top: 54px; bottom: 0; left: 0; width: 420px; border-inline-start: 1px solid var(--ln-line); box-shadow: 8px 0 30px rgba(21,32,58,.06) inset; }
body.cm-dock .cm-grip { display: none; }
body.cm-sheet .cm-pane { left: 0; right: 0; bottom: 0; height: 52vh; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgba(21,32,58,.22); transition: height .2s ease, transform .15s; }
body.cm-sheet .cm-pane.big { height: 88vh; }
@media (min-width: 1100px) {
  body.cm-dock .rd-main { margin-left: 440px; margin-right: max(20px, calc((100vw - 440px - var(--rd-w, 46rem)) / 2)); }
  body.cm-dock .rd-top, body.cm-dock .ln-bar { padding-left: 440px; }
  body.cm-dock .sd-ses-main { padding-left: 430px; }
  body.cm-dock .sd-ses .cm-pane, body.cm-dock .cm-pane { top: 54px; }
}
body.cm-sheet .rd-main, body.cm-sheet .sd-ses-main { padding-bottom: 54vh; }
.cm-grip { padding: 8px 0 2px; display: flex; justify-content: center; cursor: grab; touch-action: none; } .cm-grip i { width: 44px; height: 5px; border-radius: 3px; background: #d5d9e2; }
.cm-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px 8px; border-bottom: 1px solid var(--ln-line); }
.cm-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .cm-t b { font-size: 1rem; } .cm-where { font-size: .78rem; color: var(--ln-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-hb { display: flex; gap: 3px; } .cm-hb button { border: 1px solid var(--ln-line); background: #fff; border-radius: 9px; min-width: 32px; height: 32px; cursor: pointer; font: 600 .82rem Rubik, Arial, sans-serif; color: #3a3f4d; padding: 0 8px; }
.cm-hb button:hover { background: var(--ln-soft); } .cm-hb button.on { background: var(--ln-navy); color: #fff; border-color: var(--ln-navy); }
.cm-hb button[hidden] { display: none; }
.cm-chips { display: flex; gap: 5px; padding: 8px 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ln-line); flex: none; }
.cm-chips button { flex: none; border: 1px solid var(--ln-line); background: #fff; border-radius: 999px; padding: 4px 11px; font: 600 .8rem Rubik, Arial, sans-serif; color: var(--ln-mut); cursor: pointer; display: inline-flex; gap: 5px; align-items: center; }
.cm-chips button.on { background: var(--ln-goldbg); border-color: var(--ln-goldline); color: var(--ln-gold); }
.cm-chips button.none { opacity: .45; } .cm-chips small { font-size: .72rem; background: rgba(0,0,0,.06); border-radius: 999px; padding: 0 5px; }
.cm-b { flex: 1; overflow: auto; padding: 6px 16px 30px; font-family: var(--rd-font, 'RD Heebo', 'Heebo', Arial, sans-serif); font-size: 1.04rem; line-height: 1.75; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.cm-s h4 { font: 800 .86rem Rubik, Arial, sans-serif; color: var(--ln-gold); margin: 14px 0 4px; position: sticky; top: -6px; background: #fff; padding: 4px 0; }
.cm-s p { margin: 0 0 .6em; text-align: justify; } .cm-s b { font-weight: 700; }
.cm-hint { color: var(--ln-mut); font-family: Rubik, Arial, sans-serif; font-size: .88rem; padding: 14px 0; }

/* ═════════ חלונות צפים ═════════ */
.yd-layer { position: fixed; inset: 0; pointer-events: none; z-index: 52; }
.yd-win { position: fixed; pointer-events: auto; display: flex; flex-direction: column; background: #fff; border: 1px solid #d9dde6; border-radius: 14px; box-shadow: 0 18px 50px rgba(21,32,58,.22), 0 2px 6px rgba(21,32,58,.08); overflow: hidden; resize: both; min-width: 280px; min-height: 220px; font-family: Rubik, 'Heebo', Arial, sans-serif; direction: rtl; color: var(--ln-ink); }
.yd-win[hidden] { display: none !important; }
.yd-win.yd-front { border-color: #b9c0d0; box-shadow: 0 24px 60px rgba(21,32,58,.3), 0 2px 6px rgba(21,32,58,.1); }
.yd-win.yd-drag { opacity: .92; user-select: none; }
.yd-win.yd-max { left: 10px !important; right: 10px; top: 64px !important; bottom: 52px; width: auto !important; height: auto !important; resize: none; }
.yd-h { display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 6px; background: linear-gradient(#fafbfd, #f2f4f8); border-bottom: 1px solid var(--ln-line); cursor: grab; touch-action: none; user-select: none; flex: none; }
.yd-comm .yd-h { background: linear-gradient(#fdfaf1, #f8f1de); }
.yd-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; padding-inline-start: 4px; }
.yd-t { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .yd-s { font-size: .74rem; color: var(--ln-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yd-hb { display: flex; gap: 1px; flex: none; }
.yd-hb button, .yd-hb a { border: 0; background: none; min-width: 27px; height: 28px; border-radius: 7px; cursor: pointer; color: #3a3f4d; font: 700 .8rem Rubik, Arial, sans-serif; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 0 3px; }
.yd-hb button:hover, .yd-hb a:hover { background: rgba(21,32,58,.08); } .yd-hb button:disabled { opacity: .3; cursor: default; }
.yd-hb [aria-pressed="true"] { background: var(--ln-navy); color: #fff; } .yd-hb [hidden] { display: none; }
.yd-hb [data-nik] { font-size: 1.2rem; font-family: 'RD Heebo', Arial, sans-serif; } .yd-hb [data-nik]::before { content: "א"; font-size: .7rem; }
.yd-hb [data-close]:hover { background: #fde4ea; color: var(--ln-acc); }
.yd-b { flex: 1; overflow: auto; padding: 10px 16px 24px; font-family: var(--rd-font, 'RD Heebo', 'Heebo', Arial, sans-serif); font-size: 19px; line-height: 1.75; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.yd-b p { margin: 0 0 .7em; text-align: justify; } .yd-b h4 { font-size: 1em; margin: .8em 0 .3em; color: #2c3140; } .yd-hb2 { font-weight: 700; margin: .4em 0; }
.yd-sub { font-weight: 700; color: #444a58; margin-bottom: .5em; }
.yd-n { font: 700 .62em Rubik, Arial, sans-serif; color: var(--ln-gold); background: var(--ln-goldbg); border: 1px solid var(--ln-goldline); border-radius: 6px; padding: .05em .45em; margin-inline-end: .5em; vertical-align: .18em; }
.yd-cm { margin: -.3em 0 .9em; padding: 8px 12px; background: #f6f8fc; border-inline-start: 3px solid #c9d2e6; border-radius: 6px; font-size: .86em; line-height: 1.65; }
.yd-cm-s b:first-child { display: block; font: 800 .78rem Rubik, Arial, sans-serif; color: var(--ln-gold); margin: 6px 0 2px; }
.yd-cm-s p { margin: 0 0 .5em; } .yd-comm .yd-cm-s b:first-child { font-size: .84rem; margin-top: 12px; }
.yd-pn { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--ln-line); }
.yd-pn button { border: 1px solid var(--ln-line); background: #fff; border-radius: 9px; padding: 6px 10px; font: 600 .78rem Rubik, Arial, sans-serif; cursor: pointer; color: #3a3f4d; }
.yd-mut { color: var(--ln-mut); font: .86rem Rubik, Arial, sans-serif; }
.yd-toc { flex: none; max-height: 60%; display: flex; flex-direction: column; border-bottom: 1px solid var(--ln-line); background: #fcfcfe; }
.yd-toc[hidden] { display: none; }
.yd-toc input { margin: 8px; height: 32px; border: 1px solid var(--ln-line); border-radius: 8px; padding: 0 8px; font: inherit; font-size: .86rem; }
.yd-toc-l { overflow: auto; padding: 0 8px 8px; }
.yd-tg { margin-bottom: 6px; } .yd-tg[hidden] { display: none; } .yd-tg > b { display: block; font-size: .76rem; color: var(--ln-mut); margin: 6px 2px 3px; }
.yd-tg button { border: 1px solid var(--ln-line); background: #fff; border-radius: 7px; padding: 3px 8px; margin: 2px; font: 500 .8rem Rubik, Arial, sans-serif; cursor: pointer; }
.yd-tg button.on { background: var(--ln-goldbg); border-color: var(--ln-goldline); color: var(--ln-gold); font-weight: 700; } .yd-tg button[hidden] { display: none; }
/* סרגל החלונות */
.yd-dock { position: fixed; left: 12px; bottom: 10px; z-index: 58; display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 24px); background: rgba(21,32,58,.94); backdrop-filter: blur(8px); border-radius: 14px; padding: 5px; box-shadow: 0 10px 30px rgba(21,32,58,.3); font-family: Rubik, Arial, sans-serif; direction: rtl; overflow-x: auto; scrollbar-width: none; }
.yd-dock[hidden] { display: none; }
.yd-dock button { flex: none; border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 10px; padding: 6px 10px; font: 600 .8rem Rubik, Arial, sans-serif; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; max-width: 13rem; }
.yd-dock button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yd-dock .yd-tab.on { background: #fff; color: var(--ln-navy); } .yd-dock .yd-tab.min { opacity: .6; }
.yd-dock .yd-act { background: transparent; border: 1px solid rgba(255,255,255,.25); } .yd-dock .yd-x { padding: 6px 9px; }
.yd-sp { flex: 0 0 4px; }
/* טלפון: כל חלון הוא גיליון תחתון, והסרגל — לשוניות */
@media (max-width: 759px) {
  .yd-win.yd-sheet { left: 6px !important; right: 6px; bottom: calc(62px + env(safe-area-inset-bottom)); top: auto !important; width: auto !important; height: calc(84vh - 62px) !important; border-radius: 18px; resize: none; z-index: 57 !important; }
  .yd-win.yd-sheet .yd-h { cursor: default; } .yd-win.yd-sheet [data-max] { display: none; }
  .yd-dock { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); }
  body.yd-has .rd-main { padding-bottom: 70px; }
}
/* בחירת ספר לחלון */
.yd-pick { position: fixed; inset: 0; z-index: 90; background: rgba(15,20,35,.4); display: flex; align-items: flex-start; justify-content: center; padding: 8vh 12px 12px; font-family: Rubik, 'Heebo', Arial, sans-serif; direction: rtl; }
.yd-pick-in { width: min(720px, 100%); max-height: 82vh; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; }
.yd-pick header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--ln-line); }
.yd-pick header b { white-space: nowrap; } .yd-pick header input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--ln-line); border-radius: 10px; padding: 0 10px; font: inherit; font-size: .9rem; }
.yd-pick header button { border: 0; background: var(--ln-soft); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.yd-pick-g { display: flex; gap: 4px; padding: 8px 12px; overflow-x: auto; border-bottom: 1px solid var(--ln-line); flex: none; scrollbar-width: none; }
.yd-pick-g button { flex: none; border: 0; background: var(--ln-soft); border-radius: 999px; padding: 5px 13px; font: 600 .84rem Rubik, Arial, sans-serif; cursor: pointer; color: #3a3f4d; }
.yd-pick-g button.on { background: var(--ln-navy); color: #fff; }
.yd-pick-l { overflow: auto; padding: 10px 12px 16px; }
.yd-pb { border: 1px solid var(--ln-line); border-radius: 12px; padding: 8px; margin-bottom: 8px; }
.yd-pb > button:first-child { display: flex; flex-direction: column; align-items: flex-start; width: 100%; border: 0; background: none; cursor: pointer; text-align: right; padding: 2px 4px; font-family: inherit; }
.yd-pb > button:first-child:hover b { color: var(--ln-acc); } .yd-pb b { font-size: .95rem; } .yd-pb span { font-size: .76rem; color: var(--ln-mut); }
.yd-cont { border: 1px solid var(--ln-goldline); background: var(--ln-goldbg); color: var(--ln-gold); border-radius: 8px; padding: 3px 9px; margin: 5px 4px 0; font: 600 .78rem Rubik, Arial, sans-serif; cursor: pointer; }
.yd-ps { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.yd-ps button { border: 0; background: var(--ln-soft); border-radius: 7px; padding: 3px 8px; font: 500 .78rem Rubik, Arial, sans-serif; cursor: pointer; color: #3a3f4d; }
.yd-ps button:hover { background: var(--ln-goldbg); color: var(--ln-gold); }
@media print { .ln-bar, .ln-mega, .ln-where, .ln-rel, .cm-pane, .cm-mk, .yd-layer, .yd-dock { display: none !important; } }
.rd-cat h2 a { text-decoration: none; color: inherit; } .rd-cat h2 a:hover { color: var(--ln-acc); }
