/* Inner pages: Learn, Products (Compare, Stacks, Kits, Mods) and Fresh drops */
.nav-flush { top: 12px; }
.sec-soft { background: var(--surface-raised); }
.narrow { max-width: 820px; }

/* blue band at the top of every inner page */
.page-hero { background: var(--cobalt); color: var(--on-blue); padding-block: 136px 56px; }
@media (min-width: 720px) { .page-hero { padding-block: 150px 64px; } }
.page-hero .eyebrow { color: rgba(255,255,255,.8); }
.page-hero .lead { color: rgba(255,255,255,.88); }
.page-title { font-size: clamp(52px, 8vw, 104px); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); }
.hero-stats b { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-right: 2px; }
.back { display: inline-block; margin-bottom: 20px; font-size: 14px; font-weight: 700; text-decoration: none; opacity: .85; }
.back:hover { opacity: 1; text-decoration: underline; }
.tsearch-sm { height: 42px; width: 100%; max-width: 280px; }
.soon { padding: 24px 28px; border-radius: var(--radius-lg); background: var(--pith); }
.soon p { margin: 8px 0 0; font-size: 17px; line-height: 26px; font-weight: 550; max-width: 60ch; }
.soon-pill { flex: none; align-self: flex-start; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--pith); color: var(--on-fill); font-size: 12px; font-weight: 800; }

/* product sub-nav */
.ptabs { display: flex; gap: 6px; margin-top: 32px; overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-pill); background: rgba(255,255,255,.12); font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.ptab:hover { background: rgba(255,255,255,.22); }
.ptab.on { background: #fff; color: var(--ink); }

/* shared card grid motion */
.lib-card, .hub-card, .dcard, .post-card, .kit-item, .stack, .mod { animation: yz-rise .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 50ms); }

/* products hub cards */
.hub { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 720px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .hub { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hub-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.hub-card h2, .hub-card h3 { margin: 6px 0 0; font-size: 24px; line-height: 28px; font-weight: 800; letter-spacing: -.03em; }
.hub-card p { margin: 0; flex: 1; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.hub-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--lemon); transition: transform .4s cubic-bezier(.3,.7,.3,1.5); }
.hub-card:hover .hub-ic { transform: scale(1.08, .9); }
.hub-stacks .hub-ic { background: var(--cobalt); color: #fff; }
.hub-kits .hub-ic { background: var(--lemon); color: var(--ink); }
.hub-mods .hub-ic { background: var(--sky); color: #fff; }
.hub-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--cobalt); }
.hub-go svg { transition: transform .3s ease; }
a:hover > .hub-go svg { transform: translateX(4px); }

/* ---------- Learn: library ---------- */
.lib { display: grid; gap: 12px; margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.lib-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.lib-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.lib-card:hover .ticon { transform: translateY(-2px) rotate(-4deg); }
.lib-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; }
.lib-count { padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-muted); font-size: 12px; font-weight: 800; }
.lib-count.has { background: var(--lemon); color: var(--on-fill); }
.lib-card h3 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 800; letter-spacing: -.02em; }
.lib-card p { margin: 0; flex: 1; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.lib-meta { font-size: 12px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Learn: deck ---------- */
.deck-head { display: flex; align-items: center; gap: 18px; }
.deck-name { margin: 0; font-size: clamp(44px, 6vw, 72px); line-height: .95; font-weight: 800; letter-spacing: -.05em; }
.page-hero .td-by, .page-hero .flag { color: rgba(255,255,255,.88); }
.page-hero .td-feats { margin-top: 18px; }
.page-hero .td-feats li { color: rgba(255,255,255,.9); }
.level + .level { margin-top: 40px; }
.level-name { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.level-name span { font-size: 14px; font-weight: 700; color: var(--ink-muted); letter-spacing: 0; }
.deck { display: grid; gap: 12px; }
@media (min-width: 760px) { .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .deck { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.dcard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lemon); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.dcard:hover::after { transform: scaleX(1); }
.dcard-n { font-size: 13px; font-weight: 800; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.dcard h3 { margin: 0; font-size: 21px; line-height: 26px; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.dcard p { margin: 0; flex: 1; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.dcard-meta { font-size: 13px; font-weight: 700; color: var(--ink-muted); }

/* ---------- Learn: card reader ---------- */
.reader { min-height: 100vh; min-height: 100svh; background: var(--cobalt); color: var(--on-blue); padding-block: 108px 48px; }
.rd-wrap { max-width: 760px; }
.rd-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rd-tool { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; text-decoration: none; }
.rd-tool .ticon { width: 40px; height: 40px; border-radius: 12px; }
.rd-tool .ticon-glyph { width: 22px; height: 22px; }
.rd-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 24px; text-decoration: none; }
.rd-close:hover { background: rgba(255,255,255,.24); }
.rd-bars { display: flex; gap: 6px; margin-top: 22px; }
.rd-bar { flex: 1; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.24); cursor: pointer; position: relative; overflow: hidden; }
.rd-bar::after { content: ""; position: absolute; inset: 0; background: var(--lemon); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.rd-bar.past::after, .rd-bar.now::after { transform: scaleX(1); }
.rd-card { margin-top: 22px; min-height: 380px; padding: 32px; border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(6,16,52,.6); animation: rd-in .5s cubic-bezier(.3,.7,.3,1.2); transform-origin: 50% 100%; }
@keyframes rd-in { from { opacity: 0; transform: translateY(14px) scale(1.02, .96); } }
@media (max-width: 560px) { .rd-card { padding: 22px; min-height: 340px; } }
.rd-label { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
.rd-squeeze h1 { margin: 12px 0 0; font-size: clamp(32px, 5vw, 48px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.rd-squeeze p { margin: 22px 0 0; padding: 18px 20px; border-radius: var(--radius-md); background: var(--pith); font-size: 19px; line-height: 28px; font-weight: 650; }
.rd-text { margin: 0; font-size: 21px; line-height: 32px; font-weight: 500; text-wrap: pretty; }
.rd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.rd-steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface); font-size: 17px; line-height: 25px; font-weight: 550; animation: yz-rise .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
.rd-steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--lemon); font-size: 14px; font-weight: 800; }
.rd-prompt { padding: 20px; border-radius: var(--radius-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.rd-prompt p { margin: 12px 0 0; font-size: 18px; line-height: 28px; font-weight: 500; }
.rd-good pre { margin: 12px 0 0; padding: 20px; border-radius: var(--radius-md); background: var(--ink); color: #fff; font-family: var(--font-sans); font-size: 16px; line-height: 26px; white-space: pre-wrap; }
.rd-tip { display: grid; gap: 14px; }
.rd-tip-pro { padding: 20px; border-radius: var(--radius-md); background: var(--pith); }
.rd-tip-pro p { margin: 8px 0 0; font-size: 18px; line-height: 27px; font-weight: 600; }
.rd-tip-watch { padding: 20px; border-radius: var(--radius-md); background: var(--surface); }
.rd-tip-watch ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 16px; line-height: 24px; }
.rd-q { margin: 0; font-size: 22px; line-height: 30px; font-weight: 750; letter-spacing: -.01em; }
.rd-opts { display: grid; gap: 10px; margin-top: 18px; }
.rd-opt { text-align: left; padding: 14px 18px; border: 0; border-radius: var(--radius-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-sans); font-size: 16px; line-height: 23px; font-weight: 600; color: var(--ink); cursor: pointer; transition: box-shadow .2s ease, background-color .2s ease, transform .2s ease; }
.rd-opt:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--cobalt); transform: translateX(3px); }
.rd-opt:disabled { cursor: default; }
.rd-opt.right { background: var(--mint); box-shadow: inset 0 0 0 2px var(--success); animation: rd-pop .45s cubic-bezier(.3,.7,.3,1.6); }
.rd-opt.wrong { background: var(--blush); box-shadow: inset 0 0 0 2px var(--danger); animation: rd-shake .4s ease; }
.rd-opt.dim { opacity: .5; }
@keyframes rd-pop { 40% { transform: scale(1.03, .95); } }
@keyframes rd-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.rd-explain { margin: 16px 0 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--danger); }
.rd-explain.right { color: var(--success); }
.rd-end { text-align: center; padding-top: 24px; }
.rd-end h2 { margin: 18px 0 0; font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.rd-end p { margin: 10px auto 0; max-width: 40ch; font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.rd-end .yz-btn-glass { background: var(--surface); color: var(--ink); }
.rd-end-mark { display: inline-block; width: 72px; height: 72px; border-radius: 50%; background: var(--lemon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230e1a33' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 38px no-repeat; animation: rd-squish .7s cubic-bezier(.3,.7,.3,1.5); }
@keyframes rd-squish { 0% { transform: scale(.3); } 50% { transform: scale(1.15, .85); } }
.rd-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.rd-back { padding: 10px 6px; border: 0; background: none; color: #fff; font-family: var(--font-sans); font-size: 15px; font-weight: 700; cursor: pointer; }
.rd-back:disabled { opacity: .35; cursor: default; }
.rd-nav .yz-btn:disabled { opacity: .6; cursor: default; }
.rd-hint { margin: 22px 0 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.65); }
@media (hover: none) { .rd-hint { display: none; } }

/* ---------- Compare ---------- */
.cmp-tray { padding: 18px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tchip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 0; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--ink); cursor: grab; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.tchip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-soft); }
.tchip:active { cursor: grabbing; transform: scale(.96); }
.tchip.on { background: var(--ink); color: #fff; box-shadow: none; }
.ticon-xs { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.ticon-xs .ticon-glyph { width: 15px; height: 15px; }
.ticon-sm { width: 34px; height: 34px; border-radius: 10px; }
.ticon-sm .ticon-glyph { width: 18px; height: 18px; }
.cmp { margin-top: 20px; overflow-x: auto; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-soft); }
.cmp-row { display: grid; grid-template-columns: 150px repeat(var(--cols), minmax(200px, 1fr)); min-width: 760px; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-k { padding: 16px 20px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.cmp-v { padding: 16px 20px; font-size: 15px; line-height: 22px; font-weight: 500; }
.cmp-slot { position: relative; display: grid; place-items: center; gap: 10px; min-height: 170px; margin: 12px 8px; border-radius: var(--radius-md); text-align: center; transition: background-color .2s ease, box-shadow .2s ease, transform .3s cubic-bezier(.3,.7,.3,1.4); }
.cmp-slot:not(.full) { box-shadow: inset 0 0 0 2px var(--line); background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(14,26,51,.025) 10px 20px); }
.cmp-slot.full { animation: rd-pop .45s cubic-bezier(.3,.7,.3,1.6); }
.cmp-slot.over { box-shadow: inset 0 0 0 2px var(--cobalt); background: rgba(33,81,193,.06); transform: scale(1.03, .97); }
.cmp-slot h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.cmp-empty { display: grid; justify-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.cmp-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--surface); font-size: 18px; color: var(--ink-muted); cursor: pointer; }
.cmp-x:hover { background: var(--blush); color: var(--ink); }
.cmp-list { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* compare: guided picker */
.gb { text-align: left; padding: 28px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-soft); }
.gb-line { display: flex; justify-content: center; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.25; font-weight: 800; letter-spacing: -.03em; }
.gb-line + .gb-line { margin-top: 6px; }
.gb-line > span:first-child { color: var(--ink-muted); }
.gb-sel { position: relative; display: inline-flex; max-width: 100%; }
.gb-val { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: 0; padding: 0 2px 2px 0; border: 0; border-bottom: 3px solid var(--lemon); background: none; font: inherit; letter-spacing: inherit; text-align: left; color: var(--cobalt); cursor: pointer; transition: border-color .2s ease, transform .3s cubic-bezier(.3,.7,.3,1.6); }
.gb-val:hover { border-bottom-color: var(--lemon-rind); }
.gb-val:active { transform: scale(.98, .95); }
.gb-val:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.gb-chev { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pith); transition: transform .35s cubic-bezier(.3,.7,.3,1.4), background-color .2s ease; }
.gb-val:hover .gb-chev { background: var(--lemon); }
.gb-sel.open .gb-chev { transform: rotate(180deg); background: var(--lemon); }
.gb-menu { position: absolute; z-index: 30; top: calc(100% + 12px); left: 0; width: max-content; min-width: 260px; max-width: min(420px, calc(100vw - 48px)); max-height: min(520px, 62vh); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 8px; list-style: none; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-float); font-size: 16px; line-height: 20px; font-weight: 650; letter-spacing: 0; text-align: left; color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97, .94); transform-origin: 24px 0; transition: opacity .18s ease, transform .3s cubic-bezier(.3,.7,.3,1.3), visibility 0s linear .3s; scrollbar-width: thin; }
.gb-sel.open .gb-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .35s cubic-bezier(.3,.7,.3,1.3), visibility 0s; }
.gb-hi { position: absolute; top: 8px; left: 8px; right: 8px; height: 44px; border-radius: 12px; background: var(--pith); pointer-events: none; transition: transform .22s cubic-bezier(.3,.7,.3,1.15); }
.gb-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 44px; padding: 0 14px; border-radius: 12px; white-space: nowrap; cursor: pointer; transition: color .15s ease; }
.gb-opt > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.gb-opt.sel { color: var(--cobalt); }
.gb-tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lemon); color: var(--on-fill); font-size: 12px; font-weight: 900; }
@media (max-width: 640px) { .gb-chev { width: 28px; height: 28px; } .gb-chev svg { width: 20px; height: 20px; } .gb-menu { min-width: 0; width: calc(100vw - 72px); } }
@media (prefers-reduced-motion: reduce) { .gb-menu, .gb-hi, .gb-chev { transition: none !important; } }
.gb-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.gb-quick .cat { font-size: 13px; padding: 7px 14px; }

.verdict { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 24px; align-items: center; margin-top: 20px; padding: 22px 28px; border-radius: var(--radius-lg); background: var(--pith); }
.verdict .yz-yuzi { grid-row: span 2; }
.verdict-body h3 { margin: 6px 0 6px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.verdict-tool { display: inline-flex; align-items: center; gap: 10px; vertical-align: bottom; }
.verdict-tool .ticon-xs { width: 34px; height: 34px; }
.verdict-body p { margin: 0; max-width: 62ch; font-size: 16px; line-height: 24px; font-weight: 550; }
.verdict-alt { margin-top: 6px !important; color: var(--on-fill-muted); font-size: 14px !important; line-height: 21px !important; }
.verdict-go { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .verdict { grid-template-columns: 1fr; justify-items: start; padding: 20px; } .verdict .yz-yuzi { grid-row: auto; width: 88px; } }

.tiers { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.tier { display: grid; gap: 12px; }
.tier-head { display: flex; gap: 12px; align-items: flex-start; padding: 4px 4px 6px; }
.tier-head h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.tier-head p { margin: 2px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.tier-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lemon); color: var(--on-fill); }
.tier-rising .tier-ic { background: var(--mint); }
.tier-pro .tier-ic { background: var(--periwinkle); color: #fff; }
.pick { position: relative; display: grid; gap: 12px; padding: 18px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); animation: rd-pop .45s cubic-bezier(.3,.7,.3,1.4) both; animation-delay: calc(var(--i) * 45ms); transition: box-shadow .2s ease, transform .2s ease; }
.pick:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-soft); }
.pick.on { box-shadow: inset 0 0 0 2px var(--ink); }
.pick.top { background: linear-gradient(180deg, var(--pith), var(--surface-raised) 70%); }
.pick-top { position: absolute; top: -10px; right: 14px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--lemon); color: var(--on-fill); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.pick-head { display: flex; gap: 12px; align-items: center; }
.pick-head h4 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.pick-head > div > span { font-size: 13px; color: var(--ink-muted); font-weight: 600; }
.pick p { margin: 0; font-size: 15px; line-height: 22px; font-weight: 500; }
.pick-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface); font-size: 12px; line-height: 16px; font-weight: 700; color: var(--ink); }
.tag-free, .tag-open { background: var(--mint); }
.tag-limited, .tag-trial { background: var(--pith); }
.tag-paid { background: var(--blush); }
.pick-add { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 6px 14px 6px 6px; border: 0; border-radius: var(--radius-pill); background: var(--surface); font-family: var(--font-sans); font-size: 13px; font-weight: 750; color: var(--ink); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s cubic-bezier(.3,.7,.3,1.6); }
.pick-add:active { transform: scale(.94, .9); }
.pick-add:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pick-box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 13px; font-weight: 900; }
.pick.on .pick-add { background: var(--ink); color: #fff; }
.pick.on .pick-box { background: var(--lemon); color: var(--on-fill); box-shadow: none; }

.sec-cmp .tools-head { margin-bottom: 20px; }
.sec-cmp .tools-head .copy { justify-self: start; }
@media (min-width: 900px) { .sec-cmp .tools-head { grid-template-columns: minmax(0, 1fr) auto; } }
.cmp-slot.full { align-content: start; padding-top: 18px; }
.cmp-slot.full .yz-chip { margin-top: -2px; }
.cmp-row.hot { background: rgba(255,210,10,.14); }
.cmp-hot { display: block; margin-top: 8px; width: max-content; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--lemon); color: var(--on-fill); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.cmp-made { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ease { display: inline-flex; align-items: center; gap: 4px; }
.ease i { width: 18px; height: 6px; border-radius: 3px; background: var(--line); }
.ease i.on { background: var(--cobalt); }
.ease b { margin-left: 6px; font-weight: 600; }
.any { margin-top: 24px; }
.any summary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14px; font-weight: 750; cursor: pointer; list-style: none; }
.any summary::-webkit-details-marker { display: none; }
.any[open] summary { margin-bottom: 14px; }
.any[open] summary .yz-icon { transform: rotate(45deg); }
.any summary .yz-icon { transition: transform .25s ease; }

.asks { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: ask; }
@media (min-width: 900px) { .asks { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.asks li { counter-increment: ask; padding: 20px; border-radius: var(--radius-md); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.asks li::before { content: counter(ask); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%; background: var(--lemon); color: var(--on-fill); font-weight: 800; font-size: 14px; }
.asks h3 { margin: 0 0 6px; font-size: 17px; line-height: 22px; font-weight: 800; }
.asks p { margin: 0; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.88); }
.yz-test { margin-top: 18px; padding: 20px 24px; border-radius: var(--radius-md); background: var(--lemon); color: var(--on-fill); }
.yz-test .label { color: var(--on-fill-muted); }
.yz-test p { margin: 6px 0 0; font-size: 17px; line-height: 25px; font-weight: 650; max-width: 70ch; }

/* ---------- Stacks ---------- */
.stacks { display: grid; gap: 18px; margin-top: 28px; }
.stack { padding: 26px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 90px; }
.stack-head { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .stack-head { grid-template-columns: minmax(0, 1fr) auto; } .stack-icons { grid-column: 1 / -1; } }
.stack-head h2 { margin: 10px 0 0; font-size: 28px; line-height: 32px; font-weight: 800; letter-spacing: -.03em; }
.stack-head p { margin: 6px 0 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.stack-meta { display: flex; gap: 18px; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.stack-meta b { color: var(--ink); font-weight: 800; }
.stack-icons { display: none; }
.flow { list-style: none; margin: 22px 0 0; padding: 0 0 6px; display: grid; gap: 12px; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; scrollbar-width: thin; }
.flow-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--radius-md); background: var(--surface); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 34px; right: -12px; width: 12px; height: 2px; background: var(--line-strong); }
.flow-step:not(:last-child)::before { content: ""; position: absolute; z-index: 2; top: 30px; right: -10px; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); animation: flow-dot 2.4s linear infinite; animation-delay: calc(var(--j) * .4s); }
@keyframes flow-dot { 0% { transform: translateX(-8px); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateX(14px); opacity: 0; } }
.flow-tool { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.flow-tool .ticon { width: 40px; height: 40px; border-radius: 12px; }
.flow-tool .ticon-glyph { width: 22px; height: 22px; }
.flow-tool b { display: block; font-size: 15px; font-weight: 800; }
.flow-tool small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.flow-tool:hover b { color: var(--cobalt); }
.flow-step p { margin: 0; flex: 1; font-size: 14px; line-height: 21px; }
.flow-hand { align-self: flex-start; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--pith); font-size: 12px; font-weight: 800; }
.flow-hand::before { content: "→ "; }
@media (max-width: 640px) { .flow { grid-auto-flow: row; overflow: visible; } .flow-step:not(:last-child)::after, .flow-step:not(:last-child)::before { display: none; } .stack { padding: 20px; } }

/* ---------- Department kits ---------- */
.kits { display: grid; gap: 20px; }
@media (min-width: 900px) { .kits { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } .kit-list { position: sticky; top: 90px; flex-direction: column; } }
.kit-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.kit-tab { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--ink); font-family: var(--font-sans); text-align: left; cursor: pointer; transition: background-color .2s ease; }
.kit-tab b { font-size: 15px; font-weight: 800; }
.kit-tab span { font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.kit-tab:hover { background: var(--surface-raised); }
.kit-tab.on { background: var(--ink); color: #fff; }
.kit-tab.on span { color: rgba(255,255,255,.7); }
.kit { padding: 26px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-soft); animation: swap .45s cubic-bezier(.2,.8,.2,1); }
.kit-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.kit-head h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.04em; }
.kit-head p { margin: 6px 0 0; font-size: 16px; color: var(--ink-muted); }
.kit-items { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 700px) { .kit-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kit-item { padding: 18px; border-radius: var(--radius-md); background: var(--surface); transition: transform .3s cubic-bezier(.2,.8,.2,1), background-color .3s ease, box-shadow .3s ease; }
.kit-item:hover { background: #fff; box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.kit-item h3 { margin: 12px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.kit-item p { margin: 6px 0 0; font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.kit-legend { display: grid; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.kit-legend p { margin: 0; font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.kit-legend b { color: var(--ink); margin-right: 4px; }

/* ---------- Mods ---------- */
.mods { display: grid; gap: 16px; }
@media (min-width: 760px) { .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mod { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.mod:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.mod-info { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.mod-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mod-top h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.mod-info p { margin: 0; flex: 1; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.mod-dl { align-self: flex-start; }
.mod-dl:disabled { cursor: default; opacity: .7; }
.mod-dl:disabled::before { display: none; }
.mod-dl:disabled:hover { color: var(--ink); }
/* the little interface previews */
.mock { margin: 14px 14px 0; border-radius: 14px; background: var(--cobalt); padding: 0 0 12px; aspect-ratio: 16 / 10; display: flex; flex-direction: column; overflow: hidden; }
.mk-bar { display: flex; gap: 5px; padding: 10px 12px; }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); }
.mk-body { flex: 1; display: flex; gap: 8px; padding: 0 12px; min-height: 0; }
.mk-chat { position: relative; flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 10px; background: #fff; min-width: 0; }
.mk-msg { display: block; height: 10px; border-radius: 5px; background: var(--surface); }
.mk-msg.me { align-self: flex-end; background: var(--pith); }
.mk-input { margin-top: auto; position: relative; padding: 7px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-size: 10px; font-weight: 600; color: var(--ink-muted); }
.mk-status { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 9px; font-weight: 800; }
.mk-status span { padding: 2px 6px; border-radius: 6px; background: var(--surface); color: var(--ink-muted); }
.mk-status span.ok { background: var(--mint); color: var(--success); }
.mk-status b { margin-left: auto; color: var(--cobalt); }
.mk-pane { width: 38%; display: flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 10px; background: var(--pith); font-size: 10px; font-weight: 700; animation: mk-slide .8s cubic-bezier(.2,.8,.2,1) both; }
.mk-pane b { font-size: 11px; font-weight: 800; }
.mk-pane span { padding: 4px 6px; border-radius: 6px; background: #fff; }
.mk-pane span.done { text-decoration: line-through; color: var(--ink-muted); }
@keyframes mk-slide { from { transform: translateX(20px); opacity: 0; } }
.mk-band { padding: 5px 8px; border-radius: 6px; background: var(--lemon); font-size: 10px; font-weight: 700; animation: mk-slide .8s cubic-bezier(.2,.8,.2,1) both; }
.mk-toast { position: absolute; top: 8px; right: 8px; padding: 5px 9px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 9px; font-weight: 700; box-shadow: var(--shadow-soft); animation: mk-drop 3s ease-in-out infinite; }
@keyframes mk-drop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.mk-slash { position: absolute; left: 6px; bottom: calc(100% + 4px); display: grid; gap: 2px; padding: 5px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-soft); }
.mk-slash span { padding: 2px 8px; border-radius: 5px; color: var(--ink); }
.mk-slash span:first-child { background: var(--pith); }

/* ---------- Fresh drops ---------- */
.posts { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.post-card h3 { margin: 4px 0 0; font-size: 23px; line-height: 28px; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.post-card p { margin: 0; flex: 1; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.page-hero .post-tags { color: rgba(255,255,255,.85); }
.post-title { margin: 16px 0 0; font-size: clamp(38px, 5.6vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.post-sec + .post-sec { margin-top: 32px; }
.post-sec h2 { margin: 0; font-size: 26px; line-height: 30px; font-weight: 800; letter-spacing: -.03em; }
.post-sec p { margin: 10px 0 0; font-size: 19px; line-height: 31px; font-weight: 450; text-wrap: pretty; }
.takeaways { margin-top: 40px; padding: 24px; border-radius: var(--radius-lg); background: var(--pith); }
.takeaways .ticks { margin-top: 12px; }
.try { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.try > div { flex: 1; min-width: 180px; }
.try p { margin: 4px 0 0; font-size: 17px; font-weight: 750; }
.sec-more { background: var(--surface-raised); }
.gloss { display: grid; gap: 10px; margin: 32px 0 0; }
@media (min-width: 760px) { .gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .gloss { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gloss > div { padding: 18px; border-radius: var(--radius-md); background: rgba(255,255,255,.1); transition: background-color .2s ease; }
.gloss > div:hover { background: rgba(255,255,255,.16); }
.gloss dt { font-size: 17px; font-weight: 800; color: var(--lemon); }
.gloss dd { margin: 6px 0 0; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.9); }
#glossary .tsearch { background: #fff; }

a:focus-visible, .tchip:focus-visible, .kit-tab:focus-visible, .rd-opt:focus-visible, .rd-bar:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.page-hero a:focus-visible, .reader a:focus-visible, .reader button:focus-visible, .ptab:focus-visible { outline-color: var(--lemon); }

@media (prefers-reduced-motion: reduce) {
  .lib-card, .hub-card, .dcard, .post-card, .kit-item, .stack, .mod, .rd-card, .rd-steps li, .rd-opt, .rd-end-mark, .cmp-slot, .pick, .kit, .mk-pane, .mk-band, .mk-toast, .flow-step::before { animation: none !important; }
}
/* compare on small screens: chips scroll in one row, table labels stay pinned while you swipe */
.cmp .cmp-k { position: sticky; left: 0; z-index: 1; background: var(--surface-raised); }
.cmp-row.hot, .cmp-row.hot .cmp-k { background: #fff9dd; }
@media (max-width: 640px) {
  .gb { padding: 22px 18px; }
  .gb-line { justify-content: flex-start; }
  .gb-quick { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .gb-quick::-webkit-scrollbar { display: none; }
  .gb-quick .cat { flex: none; }
  .cmp-row { grid-template-columns: 108px repeat(var(--cols), 220px); min-width: 0; width: max-content; }
  .cmp-hot { width: auto; white-space: normal; letter-spacing: .02em; }
  .cmp .cmp-k { padding: 14px 12px; font-size: 11px; box-shadow: 1px 0 0 var(--line); }
  .cmp-v { padding: 14px 16px; }
}
/* compare: every pick card has the same size, whatever the tool */
.pick { grid-template-rows: auto auto auto auto auto; height: 252px; align-content: start; }
.pick p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.pick-head h4, .pick-head > div > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-head > div { min-width: 0; }
.pick-tags { flex-wrap: nowrap; overflow: hidden; }
.pick-tags .tag { white-space: nowrap; }
.pick-price { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-price b { font-weight: 700; color: var(--ink); }
.pick-add { align-self: end; }
.tier-head { min-height: 72px; }
.tag-check { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
/* compare table: grouped rows and price cells */
.cmp-group { background: var(--surface); }
.cmp-group .cmp-k { padding-top: 12px; padding-bottom: 12px; background: var(--surface); color: var(--ink); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 800; }
.cmp-price { display: grid; gap: 4px; }
.cmp-price span { font-weight: 650; }
.cmp-price a { width: max-content; font-size: 13px; font-weight: 700; color: var(--cobalt); text-decoration: none; }
.cmp-price a:hover { text-decoration: underline; }

/* ================= stacks v2: themes, picks, combination cards, articles ================= */
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.theme { display: grid; gap: 4px; justify-items: start; padding: 14px; border: 0; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-sans); text-align: left; color: var(--ink); cursor: pointer; transition: transform .25s cubic-bezier(.3,.7,.3,1.4), box-shadow .2s ease, background-color .2s ease; }
.theme:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-soft); }
.theme:active { transform: scale(.97, .94); }
.theme:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.theme.on { background: var(--ink); color: #fff; box-shadow: none; }
.theme.on small { color: rgba(255,255,255,.7); }
.theme b { margin-top: 8px; font-size: 15px; line-height: 20px; font-weight: 800; }
.theme small { font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.theme-stack { display: flex; }
.theme-stack .ticon { width: 30px; height: 30px; border-radius: 9px; }
.theme-stack .ticon + .ticon { margin-left: -8px; }
.theme-stack .ticon-glyph { width: 16px; height: 16px; }
.theme-stack .ticon-letter { font-size: 11px; }
.theme-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--lemon); color: var(--on-fill); }
.tpicks { margin-top: 28px; padding: 22px; border-radius: var(--radius-lg); background: var(--pith); animation: yz-rise .45s cubic-bezier(.2,.8,.2,1) both; }
.tpicks-head p { margin: 6px 0 0; font-size: 18px; line-height: 26px; font-weight: 650; }
.tpicks-row { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 900px) { .tpicks-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tpick { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); text-decoration: none; transition: transform .25s cubic-bezier(.3,.7,.3,1.4), box-shadow .2s ease; }
.tpick:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.tpick-n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lemon); font-size: 12px; font-weight: 800; }
.tpick b { display: block; font-size: 16px; font-weight: 800; }
.tpick small { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.shead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 36px 0 14px; }
.h2-sm { margin: 0; font-size: 28px; line-height: 32px; font-weight: 800; letter-spacing: -.03em; }
.shead > span { font-size: 14px; font-weight: 650; color: var(--ink-muted); }
.scards { display: grid; gap: 14px; }
.snote { margin-top: 32px; max-width: 72ch; }
@media (min-width: 700px) { .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .scards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scard { display: grid; grid-template-rows: auto auto 48px auto 1fr auto; gap: 12px; height: 300px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; animation: yz-rise .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 45ms); transition: transform .25s cubic-bezier(.3,.7,.3,1.3), box-shadow .2s ease; }
.scard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-soft); }
.scard:active { transform: scale(.985, .97); }
.scard:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.scard-top { display: flex; justify-content: space-between; align-items: center; }
.scard-time { font-size: 13px; font-weight: 650; color: var(--ink-muted); }
.scard h3 { margin: 0; font-size: 21px; line-height: 26px; font-weight: 800; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard p { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 650; color: var(--ink-muted); }
.scard-go { display: inline-flex; align-items: center; gap: 6px; color: var(--cobalt); font-weight: 750; }
.scard:hover .scard-go .yz-icon { transform: translateX(3px); }
.scard-go .yz-icon { transition: transform .25s ease; }
.tag-lvl-free { background: var(--mint); }
.tag-lvl-pro { background: var(--periwinkle); color: #fff; }
.tag-lvl-team { background: var(--pith); }
.chain { display: flex; align-items: center; flex-wrap: nowrap; overflow: hidden; }
.chain .ticon-sm { width: 40px; height: 40px; border-radius: 12px; }
.chain-arrow { flex: none; width: 16px; height: 2px; margin: 0 3px; border-radius: 2px; background: var(--line-strong); position: relative; }
.chain-arrow::after { content: ""; position: absolute; right: -1px; top: -3px; width: 6px; height: 6px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: rotate(45deg); }
@media (max-width: 699px) { .scard { height: auto; } }
@media (max-width: 480px) { .scard .chain .ticon-sm { width: 34px; height: 34px; border-radius: 10px; } .scard .chain-arrow { width: 10px; margin: 0 2px; } }
.art-chain { margin-top: 26px; }
.art-chain .chain { flex-wrap: wrap; gap: 6px 0; }
.art-chain .chain-arrow, .art-chain .chain-arrow::after { background: rgba(255,255,255,.5); border-color: rgba(255,255,255,.5); }
.art-chain .chain-arrow::after { background: none; }
.art-chain .ticon { width: 56px; height: 56px; border-radius: 16px; }

.art { display: grid; gap: 32px; }
@media (min-width: 1000px) { .art { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } .art-side { position: sticky; top: 96px; } }
.art-main { max-width: 760px; }
.art-short { padding: 20px 22px; border-radius: var(--radius-md); background: var(--pith); }
.art-short p { margin: 6px 0 0; font-size: 19px; line-height: 28px; font-weight: 650; }
.art-h { margin: 44px 0 16px; font-size: 26px; line-height: 30px; font-weight: 800; letter-spacing: -.03em; }
.art-p { margin: -6px 0 14px; font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.art-fit { display: grid; gap: 12px; }
@media (min-width: 700px) { .art-fit { grid-template-columns: 1fr 1fr; } }
.art-fit > div { padding: 18px 20px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.art-fit h3 { margin: 0 0 10px; font-size: 16px; font-weight: 800; }
.art-fit ul, .art-watch { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.art-fit li, .art-watch li { position: relative; padding-left: 26px; font-size: 15px; line-height: 22px; }
.art-fit li::before, .art-watch li::before { position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 900; }
.fit-yes li::before { content: "✓"; background: var(--mint); }
.fit-no li::before { content: "–"; background: var(--blush); }
.art-watch li::before { content: "!"; background: var(--lemon); }
.art-jobs { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-radius: var(--radius-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.art-jobs li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface-raised); }
.art-jobs li + li { border-top: 1px solid var(--line); }
.art-jobs b { display: block; font-size: 15px; font-weight: 800; }
.art-jobs span { font-size: 14px; color: var(--ink-muted); }
.art-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: none; }
.astep { padding: 20px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.astep-head { display: flex; align-items: center; gap: 12px; }
.astep-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--lemon); font-size: 14px; font-weight: 800; }
.astep-head small { display: block; font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.astep-head h3 { margin: 0; font-size: 19px; line-height: 24px; font-weight: 800; letter-spacing: -.02em; }
.astep-body { display: grid; gap: 14px; margin-top: 16px; padding-left: 42px; }
@media (max-width: 640px) { .astep-body { padding-left: 0; } }
.astep-row p { margin: 4px 0 0; font-size: 15px; line-height: 23px; }
.astep-prompt { background: var(--surface); }
.astep-prompt p { color: var(--ink); }
.astep-tip { padding: 10px 14px; border-radius: 12px; background: var(--pith); font-size: 14px; line-height: 21px; }
.astep-tip b { font-weight: 800; }
.cost { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-radius: var(--radius-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.cost li { display: grid; grid-template-columns: auto 120px auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface-raised); font-size: 14px; }
.cost li + li { border-top: 1px solid var(--line); }
.cost-name { font-weight: 800; }
.cost-paid { font-weight: 600; }
.cost a { font-size: 13px; font-weight: 700; color: var(--cobalt); text-decoration: none; white-space: nowrap; }
@media (max-width: 640px) { .cost li { grid-template-columns: auto 1fr auto; } .cost-paid { grid-column: 2 / -1; } .cost li .tag { grid-column: 2; justify-self: start; } }
.art-swaps { display: grid; gap: 10px; }
.swap { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.swap b { display: block; font-size: 15px; font-weight: 800; }
.swap span { font-size: 14px; color: var(--ink-muted); }
.art-card { display: grid; gap: 16px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-soft); }
.art-card dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.art-card dt { font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.art-card dd { margin: 2px 0 0; font-size: 17px; font-weight: 800; }
.art-tools { margin: 0; padding: 14px 0 0; list-style: none; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.art-tools a { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
.art-tools a:hover { color: var(--cobalt); }
.art-card .copy { justify-self: start; }
@media (prefers-reduced-motion: reduce) { .scard, .tpicks, .theme { animation: none !important; transition: none !important; } }

/* ================= stacks v3: routes and capability map ================= */
.caps { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 760px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cap-group { padding: 16px; border-radius: var(--radius-md); background: var(--surface-raised); }
.cap-group h3 { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--ink-muted); }
.cap-group ul { margin: 0; padding: 0; list-style: none; }
.cap { padding: 10px 0; border-top: 1px solid var(--line); }
.cap:first-child { border-top: 0; padding-top: 2px; }
.cap-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cap-top b { font-size: 15px; font-weight: 800; }
.cap-st { flex: none; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 750; }
.cap-yes .cap-st { background: var(--mint); }
.cap-part .cap-st { background: var(--pith); }
.cap-no .cap-st { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-muted); }
.cap p { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.solo-chain { gap: 10px; }
.solo-feats { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; max-height: 64px; overflow: hidden; }
.feat { padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 750; white-space: nowrap; color: var(--ink); }
.art-chain .solo-chain .ticon { width: 56px; height: 56px; border-radius: 16px; }
.art-chain .feat { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); color: #fff; font-size: 14px; padding: 6px 14px; }
.art-chain .solo-feats { max-height: none; }

.art-main > .bases { margin: 14px 0 16px; }
.route { animation: yz-rise .35s cubic-bezier(.2,.8,.2,1) both; }
.route-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--pith); }
.route-sum p { margin: 0 0 4px; font-size: 16px; line-height: 23px; }
.route-sum small { font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.route-big { display: grid; justify-items: center; min-width: 72px; }
.route-big b { font-size: 44px; line-height: 44px; font-weight: 800; letter-spacing: -.04em; }
.route-big span { font-size: 13px; font-weight: 750; color: var(--ink-muted); }
.route-steps { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rstep { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.rstep-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.rstep-top b { font-size: 15px; font-weight: 800; }
.rstep p { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.rs-tag { padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 750; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.rs-in .rs-tag { background: var(--mint); box-shadow: none; }
.rs-part .rs-tag { background: var(--pith); box-shadow: none; }
.art-more a { font-weight: 750; }
@media (prefers-reduced-motion: reduce) { .route { animation: none; } .base, .base:hover, .base:active { transform: none; } }

/* ================= stacks v4: one tool vs multi-tool ================= */
.bases { display: flex; flex-wrap: wrap; gap: 8px; }
.base { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px 6px 8px; border: 0; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-sans); font-size: 14px; font-weight: 750; color: var(--ink); cursor: pointer; transition: transform .25s cubic-bezier(.3,.7,.3,1.4), box-shadow .2s ease, background-color .2s ease; }
.base:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-soft); transform: translateY(-1px); }
.base:active { transform: scale(.96, .92); }
.base:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.base.on { background: var(--ink); color: #fff; box-shadow: none; }
.base .ticon { width: 30px; height: 30px; border-radius: 50%; }
.base-none { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pith); color: var(--ink); }

/* ---------- stacks v5: one sentence, one Yuzi, one grid ---------- */
.gb + .verdict { margin-bottom: 28px; }
.verdict .eyebrow { display: block; margin-bottom: 6px; }
.verdict-body .verdict-go { margin-top: 14px; }
.verdict-body .yz-btn { text-decoration: none; }
.yz-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.yz-picks a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px 4px 5px; border-radius: var(--radius-pill); background: #fff; color: var(--on-fill); font-size: 14px; font-weight: 750; text-decoration: none; transition: transform .3s cubic-bezier(.3,.7,.3,1.5); }
.yz-picks a:hover { transform: translateY(-2px) rotate(-1.5deg); }
.yz-picks a:active { transform: scale(.95, .9); }
.yz-picks .ticon { width: 30px; height: 30px; border-radius: 50%; }

/* the Yuzoki card: wallet proportions, logo top left, tools top right, title at the bottom */
.pcards { display: grid; gap: 16px; }
@media (min-width: 700px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pc { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; aspect-ratio: 1.586 / 1; min-height: 200px; padding: 20px 22px; border-radius: var(--radius-md); background: #fff; box-shadow: 0 1px 2px rgba(14,26,51,.06), inset 0 0 0 1px var(--line); color: var(--on-fill); text-decoration: none; animation: yz-rise .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 40ms); transition: transform .35s cubic-bezier(.3,.7,.3,1.4), box-shadow .25s ease; }
.pc > :not(.yz-arcs) { position: relative; z-index: 1; }
.pc .yz-arcs { max-width: 40%; opacity: .8; transition: transform .6s cubic-bezier(.3,.7,.3,1.2); transform-origin: right bottom; }
.pc:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-float); }
.pc:hover .yz-arcs { transform: scale(1.08); }
.pc:active { transform: scale(.98, .95); transition-duration: .12s; }
.pc:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-brand { color: var(--on-fill); }
.pc-icons { display: flex; }
.pc-icons .ticon { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; transition: transform .35s cubic-bezier(.3,.7,.3,1.5); }
.pc-icons .ticon + .ticon { margin-left: -8px; }
.pc:hover .pc-icons .ticon { transform: translateX(calc(var(--j, 0) * 4px)); }
.pc-body { display: grid; gap: 6px; max-width: 66%; }
.pc-body h3 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.pc-meta { font-size: 13px; line-height: 16px; font-weight: 650; color: var(--on-fill-muted); }
.pc-start { background: var(--lemon); box-shadow: none; } .pc-start .yz-arcs { opacity: .35; }
.pc-start .pc-icons .ticon { box-shadow: 0 0 0 2px var(--lemon); }
.pc-tag { padding: 4px 11px; border-radius: var(--radius-pill); background: var(--ink); color: var(--lemon); font-size: 12px; font-weight: 800; }
.wrap > .pcards + .note { margin-top: 22px; }
@media (max-width: 640px) {
  .verdict-row { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 18px; }
  .verdict-row .yz-yuzi { width: 64px; }
  .verdict-row .verdict-body p { font-size: 15px; line-height: 22px; }
  .pc { aspect-ratio: auto; min-height: 176px; }
  .pc-body { max-width: 80%; }
}

/* setup article, no sidebar */
.art-solo { max-width: 820px; }
@media (min-width: 1000px) { .art-solo { grid-template-columns: minmax(0, 1fr); } }
.astep-p { margin: 0; font-size: 16px; line-height: 25px; color: var(--ink); }
.art-main > .note { margin-top: 14px; }

/* article additions */
.art-short { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.art-setup { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.art-setup li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 22px; font-weight: 650; }
.art-setup li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--line-strong); }
@media (max-width: 560px) { .art-yuzi { display: none; } .art-short { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pc, .pc .yz-arcs, .pc-icons .ticon, .yz-picks a { animation: none; transition: none; } }

/* ================= stacks v6: search, themed sections, recipe article ================= */
.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; }

/* search inside the sentence card */
.sfind { position: relative; display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 22px auto 0; padding: 6px 8px 6px 18px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s ease, background-color .2s ease; }
.sfind:focus-within, .sfind.on { background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong), 0 0 0 4px var(--lemon); }
.sfind-ic { display: grid; color: var(--ink-muted); }
.sfind input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); }
.sfind input::-webkit-search-cancel-button { display: none; }
.sfind-ghost { position: absolute; left: 50px; right: 50px; top: 50%; transform: translateY(-50%); pointer-events: none; overflow: hidden; white-space: nowrap; font-size: 17px; font-weight: 600; color: var(--ink-muted); }
.sfind-x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ink); color: var(--lemon); font-size: 20px; line-height: 1; cursor: pointer; transition: transform .25s cubic-bezier(.3,.7,.3,1.5); }
.sfind-x:hover { transform: rotate(90deg); }
.gb-dim .gb-line { opacity: .45; transition: opacity .25s ease; }

/* the wide lemon start card */
.pc.pc-start { aspect-ratio: auto; min-height: 150px; margin-bottom: 34px; flex-direction: row; align-items: flex-end; }
.pc.pc-start .pc-top { position: absolute; top: 20px; left: 22px; right: 22px; }
.pc.pc-start .pc-body { max-width: 70%; padding-top: 44px; }
.pc.pc-start .pc-body h3 { font-size: clamp(22px, 3vw, 30px); line-height: 1.1; }

/* themed sections */
.sgroups { display: grid; gap: 40px; }
.sgroup { animation: yz-rise .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 60ms); }
.sgroup-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 16px; margin-bottom: 14px; }
.sgroup-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 24px; line-height: 30px; font-weight: 800; letter-spacing: -.03em; }
.sgroup-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--flavor); box-shadow: inset 0 0 0 1px rgba(14,26,51,.2); }
.sgroup-head p { grid-column: 1; margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.sgroup-n { grid-row: 1; grid-column: 2; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 800; }

/* ---------- the recipe article ---------- */
.ax-hero { position: relative; overflow: hidden; padding-bottom: 72px; }
.ax-hero > .yz-arcs { max-width: 40%; opacity: .28; }
.ax-hero-in { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .ax-hero-in { grid-template-columns: minmax(0, 1fr) 340px; } }
.ax-hero-art { position: relative; display: grid; place-items: center; width: 320px; height: 300px; justify-self: center; }
.ax-plate { position: absolute; inset: 28px; border-radius: 50%; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.ax-hero-art .yz-yuzi { position: relative; }
.ax-st { position: absolute; width: 86px; height: 86px; font-size: 15px; line-height: 1.05; padding: 8px; animation: ax-pop .6s cubic-bezier(.3,.7,.3,1.6) both; }
.ax-st-0 { left: 0; top: 18px; animation-delay: .15s; }
.ax-st-1 { right: 0; top: 54px; animation-delay: .3s; }
.ax-st-2 { left: 26px; bottom: 6px; animation-delay: .45s; }
@keyframes ax-pop { from { scale: 0; opacity: 0; } }

.ax-nav { position: sticky; top: 76px; z-index: 20; margin-top: -26px; pointer-events: none; }
.ax-nav-in { display: inline-flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: var(--radius-pill); background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); box-shadow: var(--shadow-soft); pointer-events: auto; }
.ax-nav-in::-webkit-scrollbar { display: none; }
.ax-nav a { flex: none; padding: 9px 16px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; color: var(--on-fill); text-decoration: none; transition: background-color .2s ease, transform .25s cubic-bezier(.3,.7,.3,1.5); }
.ax-nav a:hover { background: var(--lemon); }
.ax-nav a:active { transform: scale(.94, .88); }

.ax { max-width: 900px; padding-block: 40px 24px; }
.ax-sec { margin-top: 56px; scroll-margin-top: 150px; }
.ax-sec:first-child { margin-top: 12px; }
.ax-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 20px; }
.ax-head h2 { margin: 4px 0 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.08; font-weight: 800; letter-spacing: -.04em; }
.ax-head p { margin: 6px 0 0; max-width: 60ch; font-size: 15px; line-height: 22px; color: var(--ink-muted); }

.ax-big { margin: 10px 0 0; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.3; font-weight: 750; letter-spacing: -.025em; text-wrap: pretty; }
.ax-fit { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 700px) { .ax-fit { grid-template-columns: 1fr 1fr; } }
.ax-fit > div { padding: 20px 22px; border-radius: var(--radius-lg); }
.ax-fit-yes { background: var(--mint); }
.ax-fit-no { background: var(--blush); }
.ax-fit h3 { margin: 0 0 10px; font-size: 17px; font-weight: 800; }
.ax-fit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ax-fit li { position: relative; padding-left: 30px; font-size: 15px; line-height: 22px; font-weight: 600; }
.ax-fit li::before { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; font-size: 12px; font-weight: 900; }
.ax-fit-yes li::before { content: "✓"; color: var(--success); }
.ax-fit-no li::before { content: "×"; color: var(--danger); font-size: 16px; }

/* ingredients */
.ax-ingr { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ax-ingr li { display: flex; align-items: center; gap: 8px; }
.ax-ing { flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; min-height: 56px; padding: 10px 16px; border: 0; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); font: inherit; text-align: left; color: var(--ink); cursor: pointer; transition: transform .3s cubic-bezier(.3,.7,.3,1.5), background-color .2s ease; }
.ax-ing:hover { transform: translateX(4px); }
.ax-ing:active { transform: scale(.98, .94); }
.ax-ing:focus-visible, .ax-tick:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ax-ing.on { background: var(--pith); box-shadow: none; }
.ax-ing.on .ax-ing-name { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--lemon-rind); }
.ax-ing .ticon { width: 28px; height: 28px; border-radius: 50%; }
.ax-ing-name { flex: 1 1 180px; font-size: 15px; line-height: 21px; font-weight: 700; }
.ax-ing-price { font-size: 13px; font-weight: 650; color: var(--ink-muted); }
.ax-ing-link { flex: none; font-size: 13px; font-weight: 700; }
.ax-tick-box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--line-strong); font-size: 13px; font-weight: 900; transition: transform .3s cubic-bezier(.3,.7,.3,1.8), background-color .2s ease; }
.on > .ax-tick-box, [aria-pressed="true"] > .ax-tick-box { background: var(--lemon); box-shadow: none; transform: rotate(-8deg) scale(1.1); }
.ax-ing-foot { margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.ax-ing-foot.on { color: var(--success); animation: ax-pop .5s cubic-bezier(.3,.7,.3,1.6); }
.ax-ing-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; font-size: 15px; font-weight: 700; }

/* the method */
.ax-meter { position: relative; overflow: hidden; height: 44px; margin-bottom: 18px; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.ax-meter-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--lemon); transition: width .6s cubic-bezier(.3,.7,.3,1.2); }
.ax-meter b { position: relative; display: grid; place-items: center; height: 100%; font-size: 14px; font-weight: 800; }
.ax-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: none; }
.ax-step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-soft); animation: yz-rise .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); transition: background-color .3s ease, transform .35s cubic-bezier(.3,.7,.3,1.4); }
.ax-step.done { background: var(--pith); box-shadow: none; transform: scale(.99); }
.ax-step-n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--cobalt); color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.04em; transition: transform .4s cubic-bezier(.3,.7,.3,1.8), background-color .3s ease; }
.ax-step.done .ax-step-n { background: var(--lemon); color: var(--on-fill); transform: rotate(-10deg); }
.ax-step-main { display: grid; gap: 12px; min-width: 0; }
.ax-step-top { display: grid; gap: 6px; justify-items: start; }
.ax-step-tool { display: inline-flex; align-items: center; gap: 7px; padding: 3px 12px 3px 4px; border-radius: var(--radius-pill); background: var(--surface); font-size: 13px; font-weight: 750; }
.ax-step-tool .ticon { width: 24px; height: 24px; border-radius: 50%; }
.ax-step h3 { margin: 0; font-size: 22px; line-height: 27px; font-weight: 800; letter-spacing: -.025em; }
.ax-do { margin: 0; font-size: 16px; line-height: 25px; }
.ax-prompt { padding: 14px 16px; border-radius: var(--radius-md); background: var(--ink); color: #fff; }
.ax-prompt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 12px; font-weight: 800; color: var(--lemon); }
.ax-prompt p { margin: 0; font-size: 15px; line-height: 23px; color: rgba(255,255,255,.92); }
.ax-step-foot { display: grid; gap: 10px; }
@media (min-width: 700px) { .ax-step-foot { grid-template-columns: 1fr 1fr; } }
.ax-get, .ax-tip { padding: 12px 14px; border-radius: var(--radius-md); }
.ax-get { background: var(--mint); }
.ax-tip { background: var(--pith); transform: rotate(-.8deg); box-shadow: 0 6px 14px -10px rgba(14,26,51,.4); }
.ax-step.done .ax-tip { background: #fff; }
.ax-get span, .ax-tip span { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 800; }
.ax-get p, .ax-tip p { margin: 0; font-size: 14px; line-height: 21px; }
.ax-tick { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 16px 6px 8px; border: 0; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 14px; font-weight: 750; color: var(--ink); cursor: pointer; transition: transform .25s cubic-bezier(.3,.7,.3,1.5); }
.ax-tick:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.ax-tick:active { transform: scale(.94, .88); }
.ax-tick[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.ax-party { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 18px; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--cobalt); color: #fff; animation: ax-pop .6s cubic-bezier(.3,.7,.3,1.5); }
.ax-party h3 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.035em; }
.ax-party p { margin: 4px 0 0; color: rgba(255,255,255,.85); font-size: 15px; line-height: 22px; }

/* watch out and swaps */
.ax-watch { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ax-watch li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 23px; animation: yz-rise .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
.ax-watch li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--melon); color: #fff; font-weight: 900; }
.ax-swaps { display: grid; gap: 12px; }
@media (min-width: 700px) { .ax-swaps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ax-swap { padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.ax-swap-ic { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ax-swap-arrow { font-size: 22px; font-weight: 800; color: var(--cobalt); transition: transform .5s cubic-bezier(.3,.7,.3,1.4); }
.ax-swap:hover .ax-swap-arrow { transform: rotate(180deg); }
.ax-swap b { display: block; font-size: 16px; font-weight: 800; }
.ax-swap p { margin: 4px 0 0; font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.ax .caps { margin-top: 4px; }
.ax > .note { margin-top: 14px; }

@media (max-width: 640px) {
  .sfind { margin-top: 18px; }
  .sfind-ghost, .sfind input { font-size: 15px; }
  .pc.pc-start .pc-body { max-width: 100%; }
  .ax-hero-art { width: 280px; height: 250px; transform: scale(.9); }
  .ax-nav { top: 68px; }
  .ax-head { gap: 12px; }
  .ax-head .yz-yuzi { width: 64px !important; height: 64px !important; }
  .ax-head .yz-yuzi svg { width: 64px; height: 64px; }
  .ax-step { grid-template-columns: 1fr; padding: 18px; }
  .ax-step-n { width: 48px; height: 48px; font-size: 26px; border-radius: 16px; }
  .ax-party { grid-template-columns: auto minmax(0, 1fr); }
  .ax-party > .copy { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .ax-st, .ax-step, .ax-watch li, .ax-party, .sgroup, .ax-ing-foot.on { animation: none; } .ax-meter-fill, .ax-step, .ax-step-n, .ax-tick-box { transition: none; } }
.ax-party .copy, .ax-prompt .copy { background: var(--lemon); color: var(--on-fill); border: 0; box-shadow: none; }
.ax-party .copy { padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 800; }
.ax-ing-more .yz-btn { text-decoration: none; }

/* static article pages (fresh/*.html): long-form essay layout */
.art-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--glass); color: var(--on-fill); font-size: 13px; font-weight: 700; }
.art-body > p, .art-body > h2 { max-width: 68ch; }
.art-body p { margin: 0 0 20px; font-size: 19px; line-height: 31px; font-weight: 450; text-wrap: pretty; }
.art-body .art-open { font-size: 22px; line-height: 34px; font-weight: 500; }
.art-body h2 { margin: 48px 0 14px; font-size: 28px; line-height: 32px; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.art-body a { color: var(--cobalt); font-weight: 600; text-underline-offset: 3px; }
.art-chart { margin: 32px 0; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.art-chart figcaption { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.art-chart .bars { display: grid; gap: 14px; margin-top: 18px; }
.art-chart .bar { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 52px; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.art-chart .bar-track { height: 18px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.art-chart .bar-fill { display: block; width: var(--w); height: 100%; border-radius: 999px; background: var(--cobalt); }
.art-chart .bar-fill.hot { background: var(--zest); }
.art-chart .bar-fill.calm { background: var(--leaf); }
.art-chart .bar-val { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.art-body .art-note { margin: 16px 0 0; font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.art-sources { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.art-sources h2 { margin: 0 0 10px; font-size: 15px; line-height: 20px; letter-spacing: 0; color: var(--ink-muted); }
.art-sources ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 20px; }
.art-sources a { color: var(--ink-muted); font-weight: 500; }
@media (max-width: 560px) {
  .art-chart .bar { grid-template-columns: 1fr 52px; }
  .art-chart .bar-label { grid-column: 1 / -1; }
  .art-body .art-open { font-size: 20px; line-height: 31px; }
}

/* ---------- phones: shorter sections, swipe rows instead of tall stacks, comfortable tap sizes ---------- */
@media (max-width: 719px) {
  .sec { min-height: 0; padding-block: 88px 48px; }
  .h2 { font-size: clamp(38px, 11vw, 48px); }
  .lead { font-size: 16px; line-height: 25px; }
  .hero-wrap .yz-hero { min-height: 0; }
  .hero-wrap .yz-hero-copy { padding-top: 132px; padding-bottom: 300px; }
  .hero-wrap .yz-hero-art { inset: auto 0 0 0; height: 340px; }
  .hero-wrap .yz-hero-img, .hero-wrap .yz-hero-splash { height: 100%; }
  /* swipe rows: one card and a peek of the next */
  .drops { display: flex; gap: 12px; margin-inline: calc(var(--space-4) * -1); padding: 4px var(--space-4) 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--space-4); scrollbar-width: none; }
  .drops::-webkit-scrollbar { display: none; }
  .drops > * { flex: 0 0 86%; scroll-snap-align: start; }
  .drops { margin-top: 24px; }
  /* products: a compact 2 x 2 grid */
  .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .hub-card { gap: 6px; padding: 16px; }
  .hub-card h2, .hub-card h3 { font-size: 18px; line-height: 22px; }
  .hub-card p { font-size: 13px; line-height: 18px; }
  .hub-ic { width: 38px; height: 38px; border-radius: 12px; }
  .hub-peek { display: none; }
  .race { height: 150px; }
  .race-words { font-size: 56px; }
  .cat, .ptab, .kit-tab { min-height: 40px; }
  h1, h2, h3 { overflow-wrap: break-word; }
  /* learn library: two compact columns instead of 48 full-width cards */
  .lib { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lib-card { gap: 6px; padding: 14px; }
  .lib-card .ticon { width: 42px; height: 42px; border-radius: 13px; }
  .lib-card h3 { font-size: 16px; line-height: 20px; }
  .lib-card p { flex: 0 1 auto; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 18px; }
  .lib-meta { display: none; }
  .lib-count { padding: 3px 8px; font-size: 11px; }
  /* fresh drops: tighter cards, two-line summaries */
  .posts { gap: 10px; }
  .post-card { gap: 8px; padding: 18px; }
  .post-card h3 { font-size: 19px; line-height: 24px; }
  .post-card p { flex: 0 1 auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 20px; }
}
