/* /best/discord-bots-2026 (b26-). Loaded after builtin_services.css (the pa-
   vocabulary and the --yb-* token bridge on .pa-root) and all_in_one.css (the
   aio- sections, facts, plans, FAQ, related links and plugin rail), which this
   page reuses. Only what is new to this page lives here. */

/* ---- Hero: copy left, the job board right (one column below 981px, from
   all_in_one.css) ---- */
@media (min-width: 981px) {
  .b26-hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 2.6rem; }
}
.b26-title { max-width: 15ch; }

/* A bot's letter plate: its initial on a stable colour. */
.b26-plate { width: 22px; height: 22px; border-radius: 6px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 0.66rem; line-height: 1; color: #fff; background: linear-gradient(140deg, hsl(var(--h, 220), 52%, 48%), hsl(calc(var(--h, 220) + 24), 46%, 34%)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.b26-plate-lg { width: 44px; height: 44px; border-radius: 11px; font-size: 1.15rem; }

.b26-board { margin: 0; justify-self: end; width: 100%; max-width: 600px; background: var(--yb-abyss); border: 1px solid var(--yb-gold-dim); border-radius: 14px; padding: 0.9rem 0.95rem 0.8rem; box-shadow: 0 0 0 1px rgba(59,130,246,0.12), 0 22px 60px rgba(37,99,235,0.2); }
.b26-board-head { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-muted2); padding: 0 0.2rem 0.55rem; }
.b26-board-cols, .b26-board-row { display: grid; grid-template-columns: minmax(0, 9.4rem) minmax(0, 1fr) minmax(0, 7.4rem); gap: 0.7rem; align-items: center; }
.b26-board-cols { font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yb-muted); padding: 0.45rem 0.45rem; border-top: 1px dashed rgba(96,128,210,0.2); }
.b26-board-cols span:last-child, .b26-board-yb { text-align: right; }
.b26-board-list { list-style: none; margin: 0; padding: 0; }
.b26-board-row { padding: 0.4rem 0.45rem; border-radius: 8px; color: inherit; text-decoration: none; border-top: 1px dashed rgba(96,128,210,0.12); transition: background 0.15s ease; }
.b26-board-list li:first-child .b26-board-row { border-top-color: transparent; }
.b26-board-row:hover, .b26-board-row:focus-visible { background: var(--yb-overlay-soft); }
.b26-board-job { display: flex; align-items: center; gap: 0.45rem; min-width: 0; font-size: 0.8rem; font-weight: 600; color: var(--yb-text); }
/* Job names wrap rather than cut: several languages need two lines here. */
.b26-board-jobname { min-width: 0; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.b26-board-ic { width: 14px; height: 14px; flex: none; display: inline-flex; color: var(--yb-cyan); }
.b26-board-ic svg { width: 14px; height: 14px; }
.b26-board-bots { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; min-width: 0; }
.b26-board-bot { display: inline-flex; align-items: center; gap: 0.3rem; min-width: 0; }
.b26-board-bot .b26-plate { width: 17px; height: 17px; border-radius: 5px; font-size: 0.56rem; }
.b26-board-botname { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.02em; color: var(--yb-muted); white-space: nowrap; }
.b26-board-yb { font-family: var(--disp); font-weight: 600; font-size: 0.8rem; color: var(--yb-gold-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b26-board-foot { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yb-muted); margin-top: 0.55rem; padding: 0.55rem 0.2rem 0; border-top: 1px dashed rgba(96,128,210,0.2); }

/* ---- 01 Job by job: tabs left, the job's card right ---- */
.b26-jobs.is-tabs { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.b26-panels { display: grid; gap: 1rem; min-width: 0; }
.b26-jobs.is-tabs .b26-panel:not(.is-on) { display: none; }
.b26-tabs { display: flex; flex-direction: column; gap: 0.3rem; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 12px; padding: 0.55rem; position: sticky; top: calc(var(--nav-height, 64px) + 1rem); }
.b26-tabs[hidden] { display: none; }
.b26-tab { display: flex; align-items: center; gap: 0.65rem; width: 100%; padding: 0.5rem 0.6rem; border-radius: 9px; border: 1px solid transparent; background: transparent; cursor: pointer; text-align: left; color: var(--yb-muted); font-family: var(--body); transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.b26-tab:hover { background: var(--yb-overlay-soft); color: var(--yb-text); }
.b26-tab[aria-selected="true"] { background: var(--yb-gold-bg); border-color: var(--yb-gold-dim); color: var(--yb-text); }
.b26-tab:focus-visible { outline: 2px solid var(--yb-gold-light); outline-offset: 2px; }
.b26-tab-ic { width: 30px; height: 30px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--yb-cyan-bg); border: 1px solid var(--yb-cyan-dim); color: var(--yb-cyan); }
.b26-tab-ic svg { width: 15px; height: 15px; }
.b26-tab-txt { display: block; flex: 1; min-width: 0; }
.b26-tab-name { display: block; font-family: var(--disp); font-weight: 600; font-size: 0.86rem; line-height: 1.2; }
.b26-tab-hook { display: block; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.04em; color: var(--yb-muted2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b26-tab-idx { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.08em; color: var(--yb-muted2); flex: none; align-self: flex-start; padding-top: 3px; }
.b26-tab[aria-selected="true"] .b26-tab-idx { color: var(--yb-gold-light); }

.b26-panel { background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 14px; padding: 1.5rem 1.7rem 1.6rem; min-width: 0; scroll-margin-top: calc(var(--nav-height, 64px) + 1rem); }
.b26-panel:focus { outline: none; }
.b26-panel-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 0.7rem; }
.b26-panel-art { width: 92px; height: 92px; flex: none; display: flex; align-items: flex-end; justify-content: center; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 50% 62%, rgba(59,130,246,0.28), transparent 64%), linear-gradient(180deg, var(--yb-depth), var(--yb-abyss)); border: 1px solid var(--yb-border); }
.b26-panel-art img { display: block; width: 88%; height: auto; filter: drop-shadow(0 8px 14px rgba(0,0,0,0.4)); }
.b26-panel-titles { min-width: 0; }
.b26-panel-k { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-cyan); margin-bottom: 0.3rem; }
.b26-panel-t { font-family: var(--disp); font-weight: 700; font-size: 1.4rem; line-height: 1.2; }
.b26-panel-t a { color: var(--yb-text); text-decoration: none; }
.b26-panel-t a:hover { color: var(--yb-gold-light); }

.b26-picks { list-style: none; margin: 0; padding: 0; }
.b26-pick { display: grid; grid-template-columns: 1.2rem 34px minmax(0, 1fr); gap: 0.75rem; align-items: start; padding: 0.95rem 0 0.9rem; border-top: 1px dashed rgba(96,128,210,0.18); }
.b26-pick-n { font-family: var(--mono); font-size: 0.72rem; color: var(--yb-gold-light); padding-top: 0.45rem; text-align: center; }
.b26-pick .b26-plate { width: 34px; height: 34px; border-radius: 9px; font-size: 0.9rem; }
.b26-pick-body { min-width: 0; }
.b26-pick-top { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.65rem; min-height: 34px; }
.b26-pick-name { font-family: var(--disp); font-weight: 600; font-size: 1.05rem; color: var(--yb-text); }
.b26-pick-vs { margin-left: auto; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yb-gold-light); text-decoration: none; white-space: nowrap; }
.b26-pick-vs:hover { text-decoration: underline; text-underline-offset: 3px; }
.b26-pick-x { font-size: 0.9rem; line-height: 1.6; color: var(--yb-muted); margin-top: 0.25rem; }
.b26-pick-x b { color: var(--yb-text); font-weight: 600; }

.b26-yb { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0.75rem; align-items: start; margin-top: 0.3rem; padding: 0.95rem 1rem; border-radius: 12px; background: linear-gradient(135deg, var(--yb-gold-bg), transparent 70%); border: 1px solid var(--yb-gold-dim); }
.b26-yb-av { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--yb-depth); border: 1px solid var(--yb-gold-dim); }
.b26-yb-av img { width: 76%; height: auto; display: block; }
.b26-yb-k { flex-basis: 100%; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yb-cyan); }
.b26-yb .b26-pick-top { min-height: 0; }

.b26-panel-go { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-text); text-decoration: none; padding: 0.6rem 0.95rem; border-radius: 8px; border: 1px solid var(--yb-border2); background: var(--yb-overlay-soft); transition: border-color 0.15s ease, color 0.15s ease; }
.b26-panel-go:hover, .b26-panel-go:focus-visible { border-color: var(--yb-gold-dim); color: var(--yb-gold-light); }

.b26-method { margin-top: 1.1rem; font-size: 0.84rem; line-height: 1.6; color: var(--yb-muted); background: var(--yb-depth); border: 1px solid var(--yb-border); border-radius: 10px; padding: 0.8rem 1rem; }
.b26-method-k { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yb-gold-light); margin-right: 0.35rem; }

/* ---- 02 Three kinds ---- */
.b26-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.b26-kind { display: flex; flex-direction: column; gap: 0.45rem; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 14px; padding: 1.2rem 1.25rem 1.25rem; min-width: 0; }
.b26-kind-us { border-color: var(--yb-gold-dim); box-shadow: 0 0 0 1px rgba(59,130,246,0.1), 0 18px 46px rgba(37,99,235,0.16); background: linear-gradient(160deg, var(--yb-gold-bg), transparent 55%), var(--yb-abyss); }
.b26-kind-k { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yb-cyan); }
.b26-kind-dl { margin: 0.35rem 0 0; display: grid; gap: 0.7rem; }
.b26-kind-dl div { border-top: 1px dashed rgba(96,128,210,0.18); padding-top: 0.6rem; }
.b26-kind-dl dt { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yb-muted2); margin-bottom: 0.2rem; }
.b26-kind-dl dd { margin: 0; font-size: 0.88rem; line-height: 1.55; color: var(--yb-text); }

/* ---- 03 Bots on more than one list ---- */
.b26-bots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.b26-bot { display: flex; flex-direction: column; gap: 0.7rem; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 14px; padding: 1.2rem 1.25rem 1.2rem; min-width: 0; }
.b26-bot-top { display: flex; align-items: center; gap: 0.8rem; }
.b26-bot-titles { min-width: 0; }
.b26-bot-count { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yb-gold-light); margin-top: 0.2rem; }
.b26-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.b26-chip { display: inline-block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; color: var(--yb-cyan); padding: 0.22rem 0.6rem; border-radius: 999px; background: var(--yb-cyan-bg); border: 1px solid var(--yb-cyan-dim); text-decoration: none; }
.b26-chip:hover, .b26-chip:focus-visible { color: var(--yb-text); }
.b26-bot-x { font-size: 0.87rem; line-height: 1.6; color: var(--yb-muted); }
.b26-bot .b26-pick-x { margin-top: 0; padding-top: 0.6rem; border-top: 1px dashed rgba(96,128,210,0.18); }
.b26-bot-go { margin-left: 0; margin-top: auto; }
/* The bot on the most lists gets two columns: five cards then fill two rows. */
.b26-bot-lead { grid-column: span 2; }

/* ---- 04 Where YourBot fits ---- */
.b26-not { margin-top: 1.1rem; background: var(--yb-abyss); border: 1px dashed var(--yb-border2); border-radius: 14px; padding: 1.2rem 1.4rem; }
.b26-not-list { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem 1rem; }
.b26-not-list li { position: relative; padding-left: 1.35rem; font-size: 0.9rem; line-height: 1.45; color: var(--yb-text); }
.b26-not-list li::before, .b26-not-list li::after { content: ''; position: absolute; left: 0.15rem; top: 0.68em; width: 0.7rem; height: 2px; border-radius: 1px; background: #f37c7c; }
.b26-not-list li::before { transform: rotate(45deg); }
.b26-not-list li::after { transform: rotate(-45deg); }
.b26-not-note { font-size: 0.86rem; line-height: 1.55; color: var(--yb-muted); margin-top: 0.8rem; }

/* ---- 05 How to choose ---- */
.b26-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.b26-rule { position: relative; display: flex; flex-direction: column; gap: 0.35rem; background: var(--yb-abyss); border: 1px solid var(--yb-border); border-radius: 12px; padding: 1.15rem 1.15rem 1.2rem; overflow: hidden; }
.b26-rule::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--yb-cyan), var(--yb-gold)); opacity: 0.75; }
.b26-rule-k { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yb-cyan); }
.b26-rule-t { font-family: var(--disp); font-weight: 600; font-size: 1.08rem; line-height: 1.25; color: var(--yb-text); }
.b26-rule-x { font-size: 0.87rem; line-height: 1.55; color: var(--yb-muted); }

/* ---- Light theme ---- */
[data-theme="light"] .b26-board { box-shadow: 0 0 0 1px rgba(37,99,235,0.1), 0 18px 44px rgba(37,99,235,0.14); }
[data-theme="light"] .b26-kind-us { box-shadow: 0 14px 34px rgba(37,99,235,0.12); }
[data-theme="light"] .b26-panel-art { background: radial-gradient(circle at 50% 62%, rgba(59,130,246,0.2), transparent 64%), linear-gradient(180deg, #dfe6f6, var(--yb-abyss)); }
[data-theme="light"] .b26-panel-art img { filter: drop-shadow(0 8px 12px rgba(20,30,60,0.22)); }
/* Cyan and light-blue small labels fall under 4.5:1 on the light page; the
   deeper accent passes (as on the all-in-one page). */
[data-theme="light"] .b26-board-yb, [data-theme="light"] .b26-pick-n, [data-theme="light"] .b26-pick-vs, [data-theme="light"] .b26-panel-k, [data-theme="light"] .b26-yb-k, [data-theme="light"] .b26-kind-k, [data-theme="light"] .b26-bot-count, [data-theme="light"] .b26-rule-k, [data-theme="light"] .b26-method-k, [data-theme="light"] .b26-tab[aria-selected="true"] .b26-tab-idx { color: var(--yb-gold); }
[data-theme="light"] .b26-chip { color: var(--yb-gold); border-color: var(--yb-gold-dim); background: var(--yb-gold-bg); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .b26-bots { grid-template-columns: 1fr 1fr; }
  .b26-not-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .b26-board { justify-self: stretch; max-width: none; }
  .b26-jobs.is-tabs { grid-template-columns: 1fr; }
  .b26-tabs { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .b26-tab-idx { display: none; }
  .b26-kinds, .b26-rules { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .b26-board-cols { display: none; }
  .b26-board-row { grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 0.6rem; padding: 0.55rem 0.4rem; }
  .b26-board-bots { grid-column: 1 / -1; grid-row: 2; }
  .b26-panel { padding: 1.15rem 1rem 1.2rem; }
  .b26-panel-art { width: 72px; height: 72px; }
  .b26-panel-t { font-size: 1.2rem; }
  .b26-pick { grid-template-columns: 1rem 30px minmax(0, 1fr); gap: 0.6rem; }
  .b26-pick .b26-plate { width: 30px; height: 30px; }
  .b26-pick-vs { margin-left: 0; flex-basis: 100%; }
  .b26-bots { grid-template-columns: 1fr; }
  .b26-bot-lead { grid-column: auto; }
  /* Mono labels: legible floor on a phone, nothing below ~10px. */
  .b26-board-head, .b26-board-foot, .b26-board-botname, .b26-tab-hook, .b26-panel-k, .b26-pick-vs, .b26-yb-k, .b26-panel-go, .b26-method-k, .b26-kind-k, .b26-kind-dl dt, .b26-bot-count, .b26-chip, .b26-rule-k { font-size: 0.66rem; }
}
@media (max-width: 560px) {
  /* Ten tabs stay two to a row; the bot names under each one go, so the row
     of tabs stays short above the card. */
  .b26-tabs { gap: 0.25rem; padding: 0.4rem; }
  .b26-tab { padding: 0.45rem 0.45rem; gap: 0.5rem; }
  .b26-tab-ic { width: 26px; height: 26px; }
  .b26-tab-hook { display: none; }
  .b26-not-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .b26-tab, .b26-board-row, .b26-panel-go { transition: none; }
}
