/* Bots Leveling: cream / walnut / sage palette, spirit-level motif */
:root, html[data-theme="dark"] {
  --bg:#1c1610; --bg-elevated:rgba(28,22,16,.78); --bg-card:#261e15; --bg-card-hover:#2e241a;
  --bg-soft:rgba(255,255,255,.02); --text:#f3ecdc; --muted:#b9ab93; --blue:#6f8f72; --cyan:#a9c8a0;
  --line:rgba(169,200,160,.18); --glow:rgba(169,200,160,.22); --hero-glow-1:rgba(111,143,114,.22);
  --hero-glow-2:rgba(169,200,160,.08); --header-border:rgba(255,255,255,.05); --btn-primary-text:#1c1610;
  --btn-primary-shadow:0 0 0 1px rgba(169,200,160,.15),0 10px 30px rgba(111,143,114,.25);
  --toggle-bg:rgba(255,255,255,.06); --toggle-border:rgba(169,200,160,.28);
  --free:#4ade80; --free-bg:rgba(74,222,128,.10); --free-line:rgba(74,222,128,.35);
  --lock:#f0c14b; --lock-bg:rgba(240,193,75,.10); --lock-line:rgba(240,193,75,.32);
  --radius:18px; --max:1080px;
}
html[data-theme="light"] {
  --bg:#f6f1e7; --bg-elevated:rgba(246,241,231,.88); --bg-card:#fffaf0; --bg-card-hover:#fbf6ea;
  --bg-soft:rgba(91,70,54,.03); --text:#2b2118; --muted:#6a5a49; --blue:#5b4636; --cyan:#4f7052;
  --line:rgba(91,70,54,.14); --glow:rgba(91,70,54,.12); --hero-glow-1:rgba(91,70,54,.12);
  --hero-glow-2:rgba(79,112,82,.08); --header-border:rgba(43,33,24,.08); --btn-primary-text:#fff;
  --btn-primary-shadow:0 0 0 1px rgba(91,70,54,.12),0 10px 28px rgba(91,70,54,.18);
  --toggle-bg:rgba(43,33,24,.04); --toggle-border:rgba(91,70,54,.2);
  --free:#15803d; --free-bg:rgba(21,128,61,.08); --free-line:rgba(21,128,61,.3);
  --lock:#8a5a00; --lock-bg:rgba(180,120,0,.08); --lock-line:rgba(180,120,0,.3);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:5.5rem}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:radial-gradient(1000px 500px at 50% -10%,var(--hero-glow-1),transparent 60%),
  radial-gradient(700px 400px at 80% 20%,var(--hero-glow-2),transparent 50%),var(--bg);
  color:var(--text);line-height:1.6;min-height:100vh}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-999px;top:.5rem;background:var(--bg-card);padding:.5rem 1rem;border-radius:8px;z-index:50}
.skip:focus{left:1rem}
.wrap{width:min(var(--max),calc(100% - 2.5rem));margin:0 auto}
header{position:sticky;top:0;z-index:20;backdrop-filter:blur(14px);background:var(--bg-elevated);border-bottom:1px solid var(--header-border)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:.9rem 0;gap:1rem}
.nav-brand{display:flex;align-items:center;gap:.75rem;font-weight:700;letter-spacing:.02em}
.nav-brand img{width:34px;height:34px;object-fit:contain}
.nav-brand small{color:var(--muted);font-weight:500}
.nav-links{display:flex;gap:1rem;align-items:center;color:var(--muted);font-size:.95rem}
.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--cyan)}
.theme-toggle{width:42px;height:42px;border-radius:999px;border:1px solid var(--toggle-border);background:var(--toggle-bg);color:var(--text);display:inline-grid;place-items:center;cursor:pointer}
.theme-toggle svg{width:18px;height:18px;display:none}
html[data-theme="dark"] .icon-sun{display:block}
html[data-theme="light"] .icon-moon{display:block}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:999px;padding:.8rem 1.25rem;font-weight:600;border:1px solid transparent;transition:.2s ease;cursor:pointer}
.btn-primary{background:linear-gradient(135deg,var(--blue),var(--cyan));color:var(--btn-primary-text);box-shadow:var(--btn-primary-shadow)}
.btn-primary:hover{transform:translateY(-1px)}
.btn-ghost{border-color:var(--line);color:var(--text);background:var(--bg-soft)}
.hero{padding:4rem 0 2.5rem;text-align:center}
.eyebrow{display:inline-block;color:var(--cyan);font-weight:600;letter-spacing:.12em;text-transform:uppercase;font-size:.8rem;margin-bottom:.8rem}
.hero h1{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.15;letter-spacing:-.03em;margin:0 auto 1rem;max-width:18ch}
.hero h1 span{background:linear-gradient(135deg,#e3d3a8,#a9c8a0 40%,#6f8f72);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-theme="light"] .hero h1 span{background:linear-gradient(135deg,#4f7052,#5b4636 55%,#3b2c20);-webkit-background-clip:text;background-clip:text}
.hero p.lead{color:var(--muted);font-size:1.08rem;max-width:46rem;margin:0 auto 2rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.85rem;justify-content:center;margin-bottom:2rem}
.pill-row{display:flex;flex-wrap:wrap;gap:.5rem}
.hero .pill-row{justify-content:center}
.pill{border:1px solid var(--line);background:var(--bg-soft);color:var(--muted);border-radius:999px;padding:.3rem .75rem;font-size:.82rem}
section{padding:2rem 0}
.section-title{font-size:1.55rem;letter-spacing:-.02em;margin-bottom:.5rem}
.section-sub{color:var(--muted);margin-bottom:1.5rem;max-width:44rem}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.card{background:linear-gradient(180deg,var(--bg-soft),transparent);border:1px solid var(--line);border-radius:var(--radius);padding:1.35rem}
html[data-theme="light"] .card{background:var(--bg-card);box-shadow:0 8px 24px rgba(43,33,24,.04)}
.card-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;margin-bottom:.9rem;background:linear-gradient(135deg,rgba(111,143,114,.18),rgba(169,200,160,.10));border:1px solid var(--line);color:var(--cyan);font-weight:700}
.card h3{font-size:1.08rem;margin-bottom:.45rem}
.card p{color:var(--muted);font-size:.95rem}
.panel{border:1px solid var(--line);border-radius:calc(var(--radius) + 4px);background:radial-gradient(500px 200px at 10% 0%,var(--hero-glow-1),transparent 55%),linear-gradient(180deg,var(--bg-soft),transparent);padding:1.75rem}
html[data-theme="light"] .panel{background:radial-gradient(500px 200px at 10% 0%,rgba(91,70,54,.08),transparent 55%),var(--bg-card);box-shadow:0 10px 30px rgba(43,33,24,.05)}
.panel h2{font-size:1.35rem;margin-bottom:.5rem}
.panel p{color:var(--muted)}
.soon{display:flex;gap:.8rem;align-items:flex-start;margin-top:1.25rem;border:1px dashed var(--lock-line);background:var(--lock-bg);border-radius:14px;padding:.9rem 1.1rem;color:var(--text)}
.soon strong{color:var(--lock)}
.soon svg{flex:0 0 auto;width:20px;height:20px;margin-top:.15rem;color:var(--lock)}
.list{list-style:none;display:grid;gap:.6rem;color:var(--muted)}
.list li{display:flex;gap:.7rem;align-items:flex-start}
.list li::before{content:"";width:8px;height:8px;border-radius:50%;margin-top:.55rem;background:linear-gradient(135deg,var(--cyan),var(--blue));flex:0 0 auto}
.stats{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:.5rem}
.stat{min-width:9rem;text-align:center;border:1px solid var(--line);border-radius:14px;padding:.8rem 1rem;background:var(--bg-soft)}
.stat b{display:block;font-size:1.6rem;color:var(--cyan);line-height:1.2}
.stat span{color:var(--muted);font-size:.85rem}
/* Library */
.catnav{position:sticky;top:67px;z-index:10;background:var(--bg-elevated);backdrop-filter:blur(14px);border-bottom:1px solid var(--header-border);padding:.6rem 0}
.catnav ul{list-style:none;display:flex;gap:.45rem;overflow-x:auto;padding-bottom:.2rem;scrollbar-width:thin}
.catnav a{display:inline-flex;gap:.4rem;align-items:center;white-space:nowrap;border:1px solid var(--line);border-radius:999px;padding:.3rem .75rem;font-size:.85rem;color:var(--muted);background:var(--bg-soft)}
.catnav a:hover{color:var(--cyan);border-color:var(--cyan)}
.catnav a span{font-size:.75rem;opacity:.8}
.tools{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin:1.25rem 0 .25rem}
.tools input[type=search]{flex:1 1 16rem;min-width:0;border:1px solid var(--line);background:var(--bg-card);color:var(--text);border-radius:999px;padding:.65rem 1rem;font:inherit}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden}
.seg button{font:inherit;font-size:.9rem;border:0;background:transparent;color:var(--muted);padding:.55rem 1rem;cursor:pointer}
.seg button[aria-pressed="true"]{background:linear-gradient(135deg,var(--blue),var(--cyan));color:var(--btn-primary-text);font-weight:600}
.status{color:var(--muted);font-size:.9rem;min-height:1.5em}
.cat{border-top:1px solid var(--header-border);padding:2rem 0}
.cat-head{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:baseline;justify-content:space-between;margin-bottom:.4rem}
.cat-head h2{font-size:1.35rem;letter-spacing:-.02em}
.cat-meta{color:var(--muted);font-size:.85rem}
.cat-blurb{color:var(--muted);margin-bottom:.75rem;max-width:48rem}
.cat .pill-row{margin-bottom:1.1rem}
.items{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}
.item{border:1px solid var(--line);border-radius:14px;padding:.9rem 1rem;background:var(--bg-soft);display:flex;flex-direction:column;gap:.35rem}
html[data-theme="light"] .item{background:var(--bg-card)}
.item.free{border-color:var(--free-line)}
.item h3{font-size:1rem;font-weight:600;line-height:1.35}
.badge{align-self:flex-start;display:inline-flex;align-items:center;gap:.35rem;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:.15rem .55rem}
.badge.free{color:var(--free);background:var(--free-bg);border:1px solid var(--free-line)}
.badge.lock{color:var(--lock);background:var(--lock-bg);border:1px solid var(--lock-line);text-transform:none;letter-spacing:0;font-weight:600}
.badge svg{width:12px;height:12px}
.cite{color:var(--muted);font-size:.85rem}
.item a.orig{color:var(--cyan);font-size:.9rem;font-weight:600}
.item a.orig:hover{text-decoration:underline}
.body{white-space:pre-wrap;font-size:.88rem;background:var(--bg-card);border:1px solid var(--line);border-radius:10px;padding:.75rem;max-height:22rem;overflow:auto}
.empty{color:var(--muted);font-style:italic}
[hidden]{display:none!important}
footer{border-top:1px solid var(--header-border);padding:1.5rem 0 2rem;color:var(--muted);font-size:.9rem;margin-top:2rem}
.footer-inner{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;justify-content:space-between;align-items:center}
@media (max-width:860px){.grid{grid-template-columns:1fr}.items{grid-template-columns:1fr}.nav-links .hide-sm{display:none}.hero{padding-top:2.5rem}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.nav-links a{white-space:nowrap}
@media (max-width:520px){.nav-brand small{display:none}.nav-links{gap:.75rem;font-size:.9rem}.catnav{top:63px}}
/* Privacy page */
.privacy-main{padding-bottom:2rem}
.privacy-hero{padding-bottom:1rem}
.privacy-hero h1{max-width:none}
.privacy-updated{color:var(--muted);font-size:.95rem}
.privacy-doc{max-width:52rem;margin:0 auto}
.privacy-doc h2{font-size:1.25rem;margin:1.75rem 0 .55rem}
.privacy-doc h2:first-child{margin-top:0}
.privacy-doc p{color:var(--muted);margin:.75rem 0}
.privacy-doc .list{margin:.5rem 0 1rem}
.privacy-doc a{color:var(--cyan);text-decoration:underline;text-underline-offset:3px}

/* Notify-me link + dialog (mailto botmaster@, no form) */
.notify{align-self:flex-start;font-size:.85rem;font-weight:600;color:var(--cyan);text-decoration:underline;text-underline-offset:3px}
.notify:hover{color:var(--blue)}
.notice-banner{flex-wrap:wrap}
.notice-banner p{flex:1 1 auto}
.notify-all{white-space:nowrap}
.notify-dialog{width:min(92vw,28rem);max-height:90vh;overflow:auto;margin:auto;border:1px solid var(--line);border-radius:18px;background:var(--bg-card);color:var(--text);padding:1.6rem 1.4rem 1.2rem;box-shadow:0 20px 60px rgba(0,0,0,.45)}
.notify-dialog::backdrop{background:rgba(3,6,10,.62);backdrop-filter:blur(2px)}
.notify-dialog h2{font-size:1.25rem;margin:0 2rem .5rem 0}
.notify-guide{font-weight:700;color:var(--cyan);margin-bottom:.6rem;overflow-wrap:anywhere}
.notify-dialog p{margin-bottom:.9rem}
.notify-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.1rem 0 .8rem}
.notify-actions .btn{flex:1 1 12rem}
.notify-small{font-size:.8rem;color:var(--muted);margin:0!important}
.notify-x{position:absolute;top:.6rem;right:.7rem;width:2.4rem;height:2.4rem;border-radius:999px;border:1px solid var(--line);background:var(--bg-soft);color:var(--text);font-size:1.4rem;line-height:1;cursor:pointer}
.notify-dialog{position:fixed}
.notify-dialog button.btn{font:inherit;font-weight:600}
.pm-get{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;margin-top:1.25rem;border:1px solid var(--line);background:var(--bg-soft);border-radius:14px;padding:1rem 1.1rem}
.pm-desc{flex:1 1 18rem;color:var(--text);margin:0}
.pm-get .btn{flex:0 0 auto}
/* 2026-09-26 bot cards + provenance + Used by badges */
.bot{margin-bottom:1.25rem;scroll-margin-top:84px}
.bot h3{font-size:1.35rem;letter-spacing:-.02em;margin-bottom:.6rem}
.bot .bot-copy{color:var(--text);max-width:52rem}
.bot .pm-get{justify-content:flex-start}
.bot-note{margin-top:1rem;color:var(--muted);font-style:italic}
.prov{margin-top:1.25rem;border-top:1px solid var(--line);padding-top:1rem}
.prov h4{font-size:1rem;margin:.2rem 0 .6rem}
.prov-list{list-style:none;display:grid;gap:.45rem;margin-bottom:.75rem}
.prov-list li{color:var(--muted);font-size:.92rem;line-height:1.45;overflow-wrap:anywhere}
.prov-list li>a:first-child{color:var(--text);font-weight:600}
.prov-list li>a:first-child:hover,.prov-src a,.prov-line a{color:var(--cyan);text-decoration:underline;text-underline-offset:2px}
.prov-src{display:block}
.prov-rest{font-size:.92rem;margin-bottom:.9rem}
.item-no{color:var(--muted);font-weight:600;font-size:.82em;margin-right:.15rem}
.orig-tag,.prov-line.original{color:var(--free)}
.orig-tag{font-size:.8rem;font-weight:700;border:1px solid var(--free-line);background:var(--free-bg);border-radius:999px;padding:.05rem .5rem}
.prov-line{overflow-wrap:anywhere}
.prov-line.original{font-weight:600}
.prov-note{display:inline-block;margin-left:.3rem;font-size:.78rem;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:0 .45rem}
.used-by{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;font-size:.8rem}
.used-by-label{color:var(--muted);font-weight:600;margin-right:.1rem}
.ub{border:1px solid var(--line);background:var(--bg-card);color:var(--cyan);border-radius:999px;padding:.1rem .6rem;font-weight:600}
.ub:hover{border-color:var(--cyan)}
.item{scroll-margin-top:140px}
.item:target{outline:2px solid var(--cyan);outline-offset:2px}
.bot-copy a{color:var(--cyan);text-decoration:underline;text-underline-offset:3px;font-weight:600}
/* nested helper cards + About Prompt Master */
.workers{display:grid;grid-template-columns:repeat(2,1fr);gap:.9rem;margin:-.4rem 0 1.25rem 2.25rem;padding-left:1.1rem;border-left:2px solid var(--line);position:relative}
.worker{scroll-margin-top:84px;display:flex;flex-direction:column;gap:.55rem}
.worker h4{font-size:1.05rem}
.worker .worker-copy{color:var(--muted);font-size:.93rem}
.worker-install{align-self:flex-start;margin-top:auto;color:var(--cyan);font-weight:600;font-size:.9rem;text-decoration:underline;text-underline-offset:3px}
.worker-install:hover{color:var(--blue)}
.about-pm{margin-top:1.1rem;border:1px solid var(--line);border-radius:14px;background:var(--bg-soft)}
.about-pm summary{cursor:pointer;padding:.8rem 1.1rem;font-weight:600;color:var(--cyan)}
.about-pm[open] summary{border-bottom:1px solid var(--line)}
.about-body{padding:.4rem 1.1rem 1rem;max-width:52rem}
.about-body h4{font-size:1rem;margin:1rem 0 .4rem}
.about-body p{margin:.5rem 0;color:var(--muted)}
.about-body p strong{color:var(--text)}
.about-list{margin:.3rem 0 .6rem 1.2rem;display:grid;gap:.3rem;color:var(--muted);font-size:.94rem}
@media (max-width:860px){.workers{grid-template-columns:1fr;margin-left:.9rem;padding-left:.8rem}}

.notify-privacy{font-size:.85rem;margin:0!important}.notify-privacy a{color:var(--cyan);text-decoration:underline;text-underline-offset:3px}
.notice-banner{display:flex;gap:.7rem;align-items:center;margin:1.5rem 0 0;border:1px solid var(--lock-line);background:var(--lock-bg);border-radius:14px;padding:.85rem 1.1rem}.notice-banner strong{color:var(--lock)}.notice-banner svg{flex:0 0 auto;width:18px;height:18px;color:var(--lock)}
.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}
/* Bot cards: responsive card grid. Scoped to .bots-*; nothing else changes. */
.bots-wrap{width:min(1180px,calc(100% - 2.5rem));margin:0 auto}
/* 3 or fewer bots (.bots-few, set by the site build): container capped at 1160px at all widths, three columns from laptop width, one centered column below. */
.bots-wrap.bots-few{width:min(1160px,calc(100% - 2.5rem))}
.bots-wrap .section-title,.bots-wrap .section-sub{max-width:44rem}
/* 4+ bots (.bots-many): container widens on very wide screens so extra columns fit. */
@media (min-width:1680px){.bots-wrap.bots-many{width:min(1600px,calc(100% - 2.5rem))}}
.bots-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));grid-auto-rows:1fr;gap:1rem}
/* few bots: 1 column (cards centered, max 640px) under 960px, exactly 3 equal columns from 960px up. */
.bots-grid.bots-few{grid-template-columns:minmax(0,1fr);max-width:640px;margin-inline:auto}
@media (min-width:960px){.bots-grid.bots-few{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}}
.bot-card{display:flex;flex-direction:column;gap:.9rem;min-width:0;scroll-margin-top:84px;border:1px solid var(--line);border-radius:var(--radius);padding:1.15rem;background:radial-gradient(360px 160px at 0% 0%,var(--hero-glow-1),transparent 60%),linear-gradient(180deg,var(--bg-soft),transparent)}
html[data-theme="light"] .bot-card{background:radial-gradient(360px 160px at 0% 0%,rgba(91,70,54,.07),transparent 60%),var(--bg-card);box-shadow:0 8px 24px rgba(43,33,24,.05)}
.bot-card-top{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;flex:1 1 auto}
.bot-card h3{font-size:1.2rem;letter-spacing:-.02em;line-height:1.25}
.bot-tagline{color:var(--muted);font-size:.93rem;line-height:1.45;margin-bottom:.4rem}
.btn-get{margin-top:auto;padding:.55rem 1.05rem;font-size:.92rem}
.bot-desc{flex:0 0 auto;height:260px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;border:1px solid var(--line);border-radius:12px;background:var(--bg-soft);padding:.8rem .9rem;font-size:.92rem;line-height:1.55;color:var(--text);overflow-wrap:break-word;scrollbar-width:thin;scrollbar-color:rgba(169,200,160,.35) transparent}
html[data-theme="light"] .bot-desc{background:var(--bg);scrollbar-color:rgba(91,70,54,.3) transparent}
.bot-desc::-webkit-scrollbar{width:8px}
.bot-desc::-webkit-scrollbar-track{background:transparent}
.bot-desc::-webkit-scrollbar-thumb{background:rgba(169,200,160,.3);border-radius:8px}
html[data-theme="light"] .bot-desc::-webkit-scrollbar-thumb{background:rgba(91,70,54,.28)}
.bot-desc:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.bot-desc p+p{margin-top:.6rem}
.bot-desc .helpers{color:var(--muted)}
.bot-desc .helpers strong{color:var(--text);font-weight:600}
/* #apollo / #hermes: empty targets inside the helpers line, positioned at the card top (containing block = .bot-card, outside
   the scroll box), so old links land on the Prompt Master card with the helpers line visible; the line gets a soft highlight. */
.bot-card{position:relative}
.bot-anchor{position:absolute;top:0;left:0;width:0;height:0;scroll-margin-top:84px}
.helpers:has(.bot-anchor:target){background:var(--bg-soft);box-shadow:inset 3px 0 0 var(--cyan);border-radius:6px;padding:.2rem .45rem;margin-left:-.45rem;margin-right:-.45rem}
/* Bots Leveling theme layer: leveling as craft. Shared by the home page and the section pages. */
h1,h2,.section-title,.hero-wordmark{font-family:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif}
.eyebrow{display:inline-flex;align-items:center;gap:.55rem}
.eyebrow::before{content:"";width:2.1rem;height:.85rem;border-radius:999px;border:1.5px solid currentColor;background:radial-gradient(circle at 50% 50%,currentColor 0 .22rem,transparent .24rem)}
.tagline-sub{color:var(--text);font-size:1.15rem;max-width:40rem;margin:0 auto 1rem}
.ranks{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin:0 0 1rem;padding:0}
.rank{display:flex;flex-direction:column;gap:.3rem;border:1px solid var(--line);border-radius:14px;padding:.9rem 1rem;background:var(--bg-soft)}
html[data-theme="light"] .rank{background:var(--bg-card)}
.rank b{font-family:Georgia,"Iowan Old Style",serif;font-size:1.05rem;color:var(--text)}
.rank span:last-child{color:var(--muted);font-size:.9rem}
.lvl{position:relative;display:block;height:.9rem;width:100%;max-width:9rem;border:1.5px solid var(--cyan);border-radius:999px;background:var(--bg-soft)}
.lvl i{position:absolute;top:50%;left:var(--pos,50%);width:.55rem;height:.55rem;margin:-.275rem 0 0 -.275rem;border-radius:50%;background:var(--cyan)}
.ranks-note{color:var(--muted);font-size:.88rem}
@media (max-width:860px){.ranks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.ranks{grid-template-columns:1fr}}
.hero h1{max-width:20ch}
@media (max-width:520px){.nav{gap:.5rem}.nav-brand{gap:.45rem;font-size:.95rem}.nav-brand img{width:28px;height:28px}.nav-links{gap:.6rem;font-size:.85rem}.theme-toggle{width:36px;height:36px}}

/* Fully Tested star (2026-10-04) */
:root, html[data-theme="dark"] { --star:#f5c542; --star-bg:rgba(245,197,66,.10); --star-line:rgba(245,197,66,.38); }
html[data-theme="light"] { --star:#8a5a00; --star-bg:rgba(201,138,0,.10); --star-line:rgba(138,90,0,.38); }
.star{display:inline-flex;color:var(--star);vertical-align:-.12em}
.star svg{width:1.05em;height:1.05em}
html[data-theme="light"] .item.tested .star,html[data-theme="light"] .star-legend .star{color:#c98a00}
.tested-line{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;align-self:flex-start;border:1px solid var(--star-line);background:var(--star-bg);border-radius:999px;padding:.15rem .7rem .15rem .55rem;font-size:.82rem}
.tested-line strong{color:var(--star)}
.tested-meta{color:var(--muted)}
.tested-why{font-size:.9rem;color:var(--muted)}
.tested-why strong{color:var(--text)}
.star-legend{margin-top:1rem;padding:1.1rem 1.4rem}
.star-legend h2{font-size:1.1rem;display:flex;align-items:center;gap:.4rem;color:var(--star)}
.star-legend p{font-size:.92rem}
