/* Only the two foundational-learning artwork panels. */
.bb-home .card .learning-art{display:flex;align-items:center;justify-content:center;position:relative;isolation:isolate;overflow:hidden;width:100%;height:112px;border:1px solid #5a4a35;border-radius:10px;background:radial-gradient(ellipse at 50% 100%,#78511d55,transparent 62%),linear-gradient(130deg,#12243b,#040b15);box-shadow:inset 0 0 12px #d9a54a22}
.bb-home .card .project-art{gap:clamp(8px,2vw,18px);border-color:#b59455;background:radial-gradient(ellipse at 20% 45%,#8c46bb38,transparent 45%),radial-gradient(ellipse at 80% 45%,#24a89d30,transparent 45%),linear-gradient(140deg,#101e33,#040b14)}
.bb-home .learning-coin{--rim:#f4cd77;display:grid;place-items:center;width:clamp(43px,16vw,58px);aspect-ratio:1;flex:0 0 auto;position:relative;isolation:isolate;margin-bottom:12px;border:2px solid transparent;border-radius:50%;background:radial-gradient(ellipse at 30% 12%,#344054,#080f1f 68%) padding-box,conic-gradient(from 25deg,#fff8d8,var(--rim),#473222,#ffefb5,var(--rim),#1b2030,#fff8d8) border-box;box-shadow:0 0 9px var(--rim),-3px 2px 0 #a7742e}
.bb-home .learning-coin:after{content:"";position:absolute;bottom:-12px;width:112%;height:15px;z-index:-1;border-radius:50% / 35%;background:linear-gradient(90deg,#663409,#fff0b5 22%,#aa6412 40%,#ffe69e 62%,#8c4a08);box-shadow:inset 0 -4px 0 #805019,0 0 8px #e3ac4b88}
.bb-home .learning-coin img{display:block;width:70%;height:70%;object-fit:contain}
.bb-home .learning-coin.coin-purple{--rim:#c084fc}.bb-home .learning-coin.coin-teal{--rim:#4de5d6}.bb-home .learning-coin.coin-gold{width:clamp(51px,18vw,68px);z-index:1}
.bb-home .dictionary-art img{display:block;width:100%;height:100%;object-fit:contain}
.bb-home .card[href="/projects"]:hover .learning-art,.bb-home .card[href="/dictionary"]:hover .learning-art{border-color:#f4d18a}
@media(max-width:720px){.bb-home .card .learning-art{height:112px}.bb-home .learning-coin{width:58px}.bb-home .learning-coin.coin-gold{width:70px}}
@media(max-width:340px){.bb-home .learning-coin{width:48px}.bb-home .learning-coin.coin-gold{width:58px}}

/* Match the full premium Project Library card, not just its illustration. */
body.bb-dark.bb-home a.card.premium-project-card{border:1px solid #e8c67c;background:radial-gradient(ellipse at 0 0,#90652536,transparent 55%),radial-gradient(ellipse at 100% 70%,#3470aa20,transparent 62%),linear-gradient(145deg,#132238,#060b14 72%);box-shadow:0 0 3px #e8c67c,0 0 13px #d8aa4e55,inset 0 0 16px #d8aa4e25;isolation:isolate}
body.bb-dark.bb-home a.card.premium-project-card:hover{border-color:#fff0b7;box-shadow:0 0 15px #e8c67c88,inset 0 0 18px #d8aa4e33}
body.bb-dark.bb-home a.card.premium-project-card h3{color:#fff4d7;font-weight:800}
body.bb-dark.bb-home a.card.premium-project-card p{color:#ced9e8}
body.bb-dark.bb-home a.card.premium-project-card .go{color:#ffdc88}
body.bb-dark.bb-home a.card.premium-project-card .project-art{border-color:#d2ad64;background:radial-gradient(ellipse at 18% 55%,#cc7b2433,transparent 48%),radial-gradient(ellipse at 50% 45%,#668ac63d,transparent 50%),radial-gradient(ellipse at 84% 50%,#d6e2f026,transparent 46%),linear-gradient(145deg,#14253d,#040911);box-shadow:inset 0 0 10px #d3aa4a38}
.bb-home .learning-coin.coin-bitcoin{--rim:#f8ae43}
.bb-home .learning-coin.coin-ethereum{--rim:#99baff;width:clamp(51px,18vw,68px);z-index:1}
.bb-home .learning-coin.coin-xrp{--rim:#b8d4ec;background:radial-gradient(ellipse at 30% 12%,#9ba8b7,#dce4ed 68%) padding-box,conic-gradient(from 25deg,#fff8d8,var(--rim),#473222,#ffefb5,var(--rim),#1b2030,#fff8d8) border-box}
@media(max-width:720px){.bb-home .learning-coin.coin-ethereum{width:70px}}
@media(max-width:340px){.bb-home .learning-coin.coin-ethereum{width:58px}}

/* Dictionary homepage card shares the interior's midnight, gold and teal palette. */
body.bb-dark.bb-home a.card.premium-dictionary-card{border:1px solid #71ddce;background:radial-gradient(ellipse at 15% 0,#286f6d3d,transparent 58%),radial-gradient(ellipse at 100% 90%,#9c733222,transparent 64%),linear-gradient(145deg,#10283a,#050b15 75%);box-shadow:0 0 3px #71ddce,0 0 12px #4dcaba44,inset 0 0 15px #4dcaba22}
body.bb-dark.bb-home a.card.premium-dictionary-card:hover{border-color:#d5fff3;box-shadow:0 0 14px #71ddce88}
body.bb-dark.bb-home a.card.premium-dictionary-card h3{color:#fff4d7;font-weight:800}
body.bb-dark.bb-home a.card.premium-dictionary-card p{color:#ced9e8}
body.bb-dark.bb-home a.card.premium-dictionary-card .go{color:#ffdc88}
body.bb-dark.bb-home a.card.premium-dictionary-card .dictionary-art{border-color:#cba65d;background:radial-gradient(ellipse at 50% 45%,#398b8938,transparent 65%),linear-gradient(145deg,#132a3c,#050b15)}

/* Academy feature card; keep approved Dictionary and Project Library artwork untouched. */
body.bb-dark.bb-home a.card.premium-academy-card{grid-column:1/-1;display:block;border:1px solid #ffe0a0;background:radial-gradient(ellipse at 90% 15%,#b07a283c,transparent 52%),linear-gradient(135deg,#12283e,#040a13 75%);box-shadow:0 0 4px #ffda83,0 0 15px #d8aa4e55,inset 0 0 18px #d8aa4e25}
.bb-home .academy-home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(105px,36%);gap:12px;align-items:center}
.bb-home .academy-home-brand{display:flex;align-items:center;gap:6px;color:#ffdc88;font-size:.85rem;font-weight:750}
.bb-home .academy-home-brand img{width:26px;height:32px;object-fit:contain}
body.bb-dark.bb-home .premium-academy-card h3{font-size:clamp(25px,4vw,36px);color:#fff;margin:5px 0;line-height:1.15}
.bb-home .academy-home-badge{display:inline-block;padding:3px 9px;border:1px solid #d3ac62;border-radius:99px;color:#ffdc88;font-weight:750;font-size:.7rem;letter-spacing:.06em}
body.bb-dark.bb-home .premium-academy-card p{margin:9px 0;color:#d7e3ef}
.bb-home .academy-home-art{position:relative;display:block;min-width:0}
.bb-home .academy-home-art>img:first-child{width:100%;height:auto;display:block;filter:drop-shadow(0 0 9px #ffd47855)}
.bb-home .academy-home-emblem{position:absolute;left:45%;top:67%;width:10%;height:auto}
.bb-home .academy-home-features{display:flex;flex-wrap:wrap;gap:7px 12px;border-block:1px solid #75613a;padding:10px 0;color:#f0e1bd;font-size:.78rem}
body.bb-dark.bb-home .premium-academy-card .go{display:block;text-align:center;color:#ffdc88;font-size:1rem;padding-top:10px}
@media(max-width:340px){.bb-home .academy-home-hero{grid-template-columns:1fr}.bb-home .academy-home-art{max-width:170px;justify-self:center}}
