/* Sweezy Guides — matching the site's bold editorial / playful design. */
.tone-lime{--guide-accent:#C8F135;--guide-alt:#91DA75;--guide-ink:#16280C}
.tone-sky{--guide-accent:#B6E6FF;--guide-alt:#4CC9F0;--guide-ink:#15293A}
.tone-pink{--guide-accent:#FFD3E6;--guide-alt:#FF8FC7;--guide-ink:#3A1A2C}
.tone-violet{--guide-accent:#D7D0FF;--guide-alt:#6B4EFF;--guide-ink:#20134A}
.tone-sun{--guide-accent:#FFE7A7;--guide-alt:#FFD23F;--guide-ink:#423011}
.tone-mint{--guide-accent:#C9F8E0;--guide-alt:#49DDA0;--guide-ink:#143C2A}
.guide-list-hero{border-bottom:2px solid var(--line);padding:3rem 0 4rem;background:radial-gradient(circle at 87% 15%,color-mix(in srgb,var(--acc) 26%,transparent),transparent 32%)}
.guide-list-hero .crumbs{margin-bottom:2rem}
.guide-list-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.74fr);gap:3.5rem;align-items:center}
.guide-pill{display:inline-flex;align-items:center;gap:.35rem;background:var(--acc);color:#141414;border:2px solid var(--line);border-radius:999px;padding:.42rem .9rem;font-weight:800;font-size:.77rem;letter-spacing:.055em;text-transform:uppercase;box-shadow:3px 3px 0 var(--line)}
.guide-list-hero h1{font-size:clamp(3.5rem,7.2vw,6.3rem);max-width:760px;line-height:.91;letter-spacing:-.06em;margin:1.2rem 0}
.guide-highlight{position:relative;z-index:0;white-space:nowrap}
.guide-highlight:before{content:"";z-index:-1;position:absolute;inset:30% -.08em 4%;background:var(--pink);border:2px solid var(--line);border-radius:.15em;transform:rotate(-3deg)}
.guide-lead{color:var(--muted);font-size:clamp(1.05rem,1.7vw,1.22rem);line-height:1.67;max-width:660px}
.guide-hero-stats{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.6rem}
.guide-hero-stats span{font-size:.82rem;font-weight:700;padding:.42rem .72rem;border-radius:999px;border:1.5px solid var(--line);background:var(--paper)}
.guide-list-art{aspect-ratio:1.08;max-width:500px;width:100%;border:2px solid var(--line);border-radius:32px;position:relative;overflow:hidden;box-shadow:9px 9px 0 var(--line);background:radial-gradient(circle at 22% 30%,#FFD23F 0 13%,transparent 13.3%),linear-gradient(130deg,#FF8FC7,#B0DDF7 62%,#C8F135)}
.guide-list-art:before{content:"";position:absolute;inset:0;background:radial-gradient(#14141435 1px,transparent 1px);background-size:20px 20px}
.guide-list-art .art-pointer{position:absolute;font-family:var(--f);font-weight:800;font-size:clamp(10rem,20vw,20rem);line-height:.8;top:24%;left:24%;color:#fff;-webkit-text-stroke:7px #141414;filter:drop-shadow(12px 14px 0 #141414);transform:rotate(-14deg)}
.guide-list-art .art-star{position:absolute;top:4%;right:9%;font-size:7rem;color:#fff;-webkit-text-stroke:3px #141414;transform:rotate(20deg)}
.guide-list-art .art-dot{position:absolute;bottom:17%;left:7%;font-size:5rem;color:#FF5B2E;-webkit-text-stroke:3px #141414}
.guide-list-art .art-caption{position:absolute;bottom:1.3rem;right:1.5rem;background:#141414;color:#fff;padding:.5rem .8rem;font:700 .65rem var(--m);letter-spacing:.1em;transform:rotate(-3deg)}
.guide-catalog{padding:3.6rem 0 5rem}
.guide-section-heading{display:flex;justify-content:space-between;gap:1.2rem;align-items:end;margin-bottom:1.7rem}
.guide-section-heading .mono{color:var(--tang);font-weight:700}
.guide-section-heading h2{font-size:clamp(2.15rem,4vw,3.3rem);letter-spacing:-.045em;line-height:1.08;margin:.3rem 0}
.guide-section-heading h2 em{font-weight:400}
.guide-section-heading p{color:var(--muted)}
.guide-filters{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;margin-bottom:1rem}
.guide-search{display:flex;align-items:center;gap:.5rem;min-height:48px;border:2px solid var(--line);border-radius:14px;background:var(--paper);padding:.35rem .85rem;flex:0 1 320px;box-shadow:3px 3px 0 var(--line)}
.guide-search span{font-size:1.5rem;line-height:1}
.guide-search input{min-width:0;width:100%;background:none;border:none;outline:none;font-family:var(--f);font-size:.95rem}
.guide-search:focus-within{outline:3px solid var(--violet);outline-offset:2px}
.guide-filter-pills{display:flex;gap:.45rem;flex-wrap:wrap}
.guide-filter-pills button{font-weight:700;font-size:.8rem;padding:.54rem .76rem;border:1.5px solid var(--line);background:var(--paper);border-radius:999px;transition:background .15s,transform .15s}
.guide-filter-pills button:hover{transform:translateY(-2px)}
.guide-filter-pills button.on{background:var(--ink);color:var(--bg)}
.guide-results{margin-bottom:1rem;color:var(--muted);font-size:.82rem;font-family:var(--m)}
.guide-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.guide-card-grid>div{min-width:0}
.guide-card-grid>div[hidden]{display:none!important}
.guide-card{display:flex;flex-direction:column;min-width:0;height:100%;overflow:hidden;background:var(--paper);border:2px solid var(--line);border-radius:24px;box-shadow:5px 5px 0 var(--line);transition:transform .2s,box-shadow .2s}
.guide-card:hover{transform:translate(-3px,-3px);box-shadow:8px 8px 0 var(--line)}
.guide-card:focus-visible{outline:4px solid var(--violet);outline-offset:6px}
.guide-visual{height:195px;flex:none;display:grid;place-items:center;position:relative;overflow:hidden;border-bottom:2px solid var(--line);background:radial-gradient(circle at 23% 34%,#fff7 0 15%,transparent 15.5%),repeating-linear-gradient(40deg,transparent 0 21px,#1414140c 22px 24px),linear-gradient(125deg,var(--guide-accent),var(--guide-alt))}
.guide-visual:after{content:"";position:absolute;left:-30px;bottom:-50px;border:3px solid #14141430;width:140px;height:140px;border-radius:50%}
.guide-visual-emoji{display:block;font-size:5.6rem;filter:drop-shadow(5px 6px 0 #1414143a);transform:rotate(-12deg);transition:transform .2s;z-index:1}
.guide-card:hover .guide-visual-emoji{transform:rotate(1deg) scale(1.1)}
.guide-visual-stamp{position:absolute;bottom:12px;right:13px;font:700 .58rem var(--m);letter-spacing:.09em;padding:.3rem .5rem;border:1.5px solid #141414;background:#fff;transform:rotate(-3deg);color:#141414}
.guide-card-content{display:flex;flex-direction:column;gap:.65rem;padding:1.3rem 1.35rem 1.2rem;flex:1}
.guide-category{color:var(--muted);font-size:.67rem;font-weight:700}
.guide-card-content strong{font-size:clamp(1.24rem,1.8vw,1.6rem);letter-spacing:-.025em;line-height:1.16;font-weight:800}
.guide-excerpt{color:var(--muted);font-size:.93rem;line-height:1.55;flex:1}
.guide-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:.5rem;border-top:1.5px solid var(--soft);padding-top:.85rem;margin-top:.45rem;font-size:.82rem;font-weight:700}
.guide-card-bottom span:first-child{color:var(--muted);font-family:var(--m);font-size:.7rem}
.guide-empty{border:2px dashed var(--line);background:var(--paper);padding:3rem;border-radius:24px;text-align:center}
.guide-empty p{margin:.3rem 0 1.5rem;color:var(--muted)}
.guide-bottom-banner{display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap;padding:2.1rem 2.4rem;margin-bottom:5rem;border:2px solid var(--line);border-radius:26px;background:var(--acc);color:#141414;box-shadow:6px 6px 0 var(--line)}
.guide-bottom-banner h2{font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.1;letter-spacing:-.035em;margin:.5rem 0}
.guide-bottom-banner p{color:#333}
.guide-bottom-actions{display:flex;gap:.8rem;flex-wrap:wrap}
.guide-bottom-banner .btn{border-color:#141414;box-shadow:4px 4px 0 #141414}
.guide-bottom-banner .btn-ink{background:#141414;color:#fff}
/* Article */
.guide-article-hero{padding:3rem 0 3.3rem;border-bottom:2px solid var(--line);background:radial-gradient(ellipse at 90% 30%,var(--guide-accent),transparent 50%)}
.guide-article-hero-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(210px,.65fr);gap:2.8rem;align-items:center;margin-top:2rem}
.guide-article-intro h1{font-size:clamp(2.4rem,5vw,4.6rem);line-height:1;letter-spacing:-.045em;max-width:810px;margin:1.3rem 0 1rem}
.guide-article-hero .crumbs{margin-bottom:0}
.guide-byline{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-top:1.5rem;font-size:.83rem;font-weight:700;color:var(--muted)}
.guide-article-illustration{border:2px solid var(--line);border-radius:28px;aspect-ratio:1;display:grid;place-items:center;background:linear-gradient(135deg,var(--guide-accent),var(--guide-alt));position:relative;overflow:hidden;box-shadow:8px 8px 0 var(--line)}
.guide-article-illustration:before{content:"";position:absolute;inset:0;background:radial-gradient(#14141428 1px,transparent 1px);background-size:22px 22px}
.guide-article-illustration>span{font-size:clamp(6rem,12vw,11rem);z-index:1;transform:rotate(-8deg);filter:drop-shadow(7px 9px 0 #14141445)}
.guide-article-illustration>small{position:absolute;left:1.1rem;bottom:1rem;font:700 .7rem var(--m);background:#fff;color:#141414;padding:.35rem .55rem;border:2px solid #141414;transform:rotate(-4deg)}
.guide-reading-layout{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start;gap:2rem;margin-top:3rem;margin-bottom:3rem}
.guide-reading-aside{position:sticky;top:98px}
.guide-aside-card{background:var(--paper);border:2px solid var(--line);border-radius:19px;box-shadow:4px 4px 0 var(--line);padding:1.25rem}
.guide-aside-card>.mono{display:block;color:var(--tang);font-size:.66rem;font-weight:700;margin-bottom:.85rem}
.guide-mini-toc{display:grid;gap:.6rem;color:var(--muted);font-size:.77rem;line-height:1.5}
.guide-mini-toc span{border-bottom:1px solid var(--soft);padding-bottom:.5rem}
.guide-aside-note{font-size:.72rem;color:var(--muted);line-height:1.6;margin-top:1rem}
.guide-article{max-width:930px;min-width:0;padding:clamp(1.5rem,3vw,2.75rem)!important;overflow-wrap:break-word}
.guide-article .guide-chapter{padding:0 0 1.65rem;margin:0 0 1.7rem;border-bottom:1.5px solid var(--soft)}
.guide-article .guide-chapter:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.guide-article h2{display:block;letter-spacing:-.03em;line-height:1.17;font-size:clamp(1.45rem,2.7vw,2rem);margin:0 0 .9rem}
.guide-article p{font-size:1.055rem;line-height:1.84;color:var(--muted);margin:0}
.guide-related{padding:1rem 0 5rem}
.guide-related .guide-plain-link{font-weight:800;border-bottom:2px solid var(--tang)}
.guide-related .related-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:950px}
.guide-related .guide-card{min-width:0}
.home-guides-section .home-guide-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-guides-section{padding-top:2.4rem!important}
@media(max-width:980px){.guide-list-hero-grid{grid-template-columns:1fr 300px;gap:2rem}.guide-card-grid,.home-guides-section .home-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-reading-layout{grid-template-columns:1fr}.guide-reading-aside{position:static}.guide-mini-toc{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-article-hero-layout{grid-template-columns:1fr 250px;gap:1.5rem}}
@media(max-width:680px){.guide-list-hero{padding:2rem 0 3rem}.guide-list-hero-grid,.guide-article-hero-layout{grid-template-columns:1fr}.guide-list-hero h1{font-size:clamp(3rem,13vw,4.7rem)}.guide-list-art{width:100%;max-width:370px;aspect-ratio:1.6}.guide-list-art .art-pointer{font-size:10rem;top:12%;left:35%}.guide-list-art .art-star{font-size:5rem}.guide-list-art .art-caption{bottom:.8rem;right:.8rem}.guide-article-illustration{display:none}.guide-card-grid,.home-guides-section .home-guide-grid,.guide-related .related-grid{grid-template-columns:1fr}.guide-visual{height:175px}.guide-search{flex:1 1 100%}.guide-filters{gap:.85rem}.guide-section-heading{align-items:start;flex-direction:column}.guide-reading-layout{margin-top:1.5rem}.guide-mini-toc{grid-template-columns:1fr}.guide-reading-aside{display:none}.guide-article-hero{padding:2rem 0}.guide-article-hero-layout{margin-top:1.3rem}.guide-bottom-banner{padding:1.5rem}.guide-bottom-actions .btn{white-space:normal}.guide-article p{font-size:1rem}}
@media(prefers-reduced-motion:reduce){.guide-card,.guide-visual-emoji{transition:none}}

/* Keep filter selection text/background in sync without a color-transition flash. */
.guide-filter-pills button{transition:transform .15s}
