/* ============================================================
   TH3 Home v2 - look. Only loads on the v2 homepage (body.th3-v2).
   Sections: 0 page + preview tab · 1 ticker · 2 wall buttons · 3 films marquee
   4 records crate · 5 Lo-Life colour block · 6 street surfaces · 7 slap-on entrances
   8 boombox · 9 finale
   ============================================================ */

/* ---------- 0. page ---------- */
/* full-bleed, same rule the current homepage has for its own page id */
body.th3-v2 [class*="ct-container"]>article[class*="post"]{--has-boxed:var(--false);--has-wide:var(--true);--theme-boxed-content-spacing:0;--theme-boxed-content-box-shadow:none;--theme-boxed-content-border-radius:0;background:none;max-width:none;padding:0;box-shadow:none}
/* small tab on the right edge while this is a preview copy: jumps back to the current homepage */
.th3-v2-tab{position:fixed;right:0;top:38%;z-index:70;writing-mode:vertical-rl;background:#111;color:#fecf12!important;font:400 11px/1 ct_font_anton,Anton,Impact,sans-serif;letter-spacing:.16em;text-transform:uppercase;text-decoration:none!important;padding:12px 6px;border-radius:6px 0 0 6px;opacity:.82;box-shadow:-2px 2px 6px rgba(0,0,0,.4)}
.th3-v2-tab:hover,.th3-v2-tab:focus-visible{opacity:1;background:#c6272b;color:#fff!important}

/* ---------- 1. ticker (tape strip across the top poster) ---------- */
body.th3-v2 .th3-ticker{--th3-tick-h:46px;position:absolute;left:-12px;right:-12px;top:12px;z-index:3;height:var(--th3-tick-h);overflow:hidden;background:var(--thbp-yellow,#fecf12);color:#111;border-block:3px solid #111;transform:rotate(-.6deg);box-shadow:0 4px 0 rgba(0,0,0,.22)}
body.th3-v2 .th3-ticker__run{display:flex;width:max-content;height:100%;animation:th3-tick var(--th3-tick,70s) linear infinite}
body.th3-v2 .th3-ticker:hover .th3-ticker__run,body.th3-v2 .th3-ticker:focus-within .th3-ticker__run{animation-play-state:paused}
body.th3-v2 .th3-ticker__list{display:flex;flex:none;margin:0;padding:0;list-style:none;height:100%}
body.th3-v2 .th3-ticker li{display:flex;align-items:center;margin:0;padding:0}
/* hazard stripes between items */
body.th3-v2 .th3-ticker li::after{content:"";flex:none;width:38px;height:16px;margin:0 24px;background:repeating-linear-gradient(-55deg,#111 0 5px,transparent 5px 10px)}
body.th3-v2 .th3-ticker a{display:flex;align-items:center;gap:12px;height:100%;font-family:var(--thbp-anton);font-size:19px;line-height:1;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;color:#111;text-decoration:none}
body.th3-v2 .th3-ticker b{font-weight:400;background:#111;color:var(--thbp-yellow,#fecf12);padding:6px 10px 4px}
body.th3-v2 .th3-ticker i{font-style:normal;border-bottom:2px solid #111;padding-bottom:1px}
body.th3-v2 .th3-ticker a:hover span,body.th3-v2 .th3-ticker a:focus-visible span{text-decoration:underline;text-decoration-thickness:2px}
@keyframes th3-tick{to{transform:translateX(-50%)}}
/* make room for the strip on the top poster */
body.th3-v2 .thbp-site:not(.is-still) .th3-ticker~.thbp-wrap{padding-top:calc(var(--thbp-head-h) + 1.2vh + 56px)}
/* the wider tape takes some height: tighten the top poster so its buttons still clear the round buttons */
@media (min-width:821px){body.th3-v2 .th3-ticker~.thbp-wrap .thbp-now__copy{gap:1.1vh}}
@media (min-width:821px) and (min-height:821px){body.th3-v2 .th3-ticker~.thbp-wrap .thbp-now__logo{width:min(21vw,23vh)}
body.th3-v2 .th3-ticker~.thbp-wrap .thbp-now__copy{gap:.9vh}
/* keep the top poster's two buttons above the round Motion / Sound / Boombox buttons */
body.th3-v2 .thbp-site:not(.is-still) .thbp-sheet--now .thbp-wrap{padding-bottom:max(4vh,62px)}}
@media (min-width:821px) and (max-height:820px){body.th3-v2 .th3-ticker~.thbp-wrap .thbp-now__logo{max-height:9vh}body.th3-v2 .th3-ticker~.thbp-wrap .thbp-now__copy{gap:.7vh}}
/* motion off: no scrolling strip, swipe it sideways instead */
body.th3-v2 .thbp-site.is-still .th3-ticker{position:relative;left:0;right:0;top:0;transform:none;overflow-x:auto;scrollbar-width:none}
body.th3-v2 .thbp-site.is-still .th3-ticker::-webkit-scrollbar{display:none}
body.th3-v2 .thbp-site.is-still .th3-ticker__run{animation:none}
body.th3-v2 .thbp-site.is-still .th3-ticker__list[aria-hidden]{display:none}
@media (max-width:820px){
body.th3-v2 .th3-ticker{--th3-tick-h:36px;top:8px}
body.th3-v2 .th3-ticker a{font-size:15px;gap:9px}
body.th3-v2 .th3-ticker b{padding:5px 8px 3px}
body.th3-v2 .th3-ticker li::after{width:26px;height:13px;margin:0 16px}
body.th3-v2 .thbp-site:not(.is-still) .th3-ticker~.thbp-wrap{padding-top:calc(var(--thbp-head-h) + 1vh + 42px)}}

/* ---------- 2. wall buttons (Motion / Sound) ---------- */
/* gone once you are past the wall, so they never sit on the store, news or sign-up */
body.th3-v2.th3-past-wall .thbp-site .thbp-toggles{opacity:0;pointer-events:none;visibility:hidden;transition:opacity .3s,visibility 0s .3s}
/* notes at the bottom-left of the posters start to the right of the round buttons */
@media (min-width:821px){
body.th3-v2 .thbp-films__more,body.th3-v2 .thbp-records__note{margin-left:max(0px,calc(164px - clamp(16px,4vw,64px)))}}
@media (max-width:820px){
body.th3-v2 .thbp-films__more{margin-left:124px}
body.th3-v2 .thbp-records__note{padding-left:0}}

/* ---------- 3. films: marquee bulbs + brighter one-sheets ---------- */
body.th3-v2 .thbp-films__title{position:relative}
body.th3-v2 .thbp-films__title>.th3-bulbs{display:block!important;position:absolute;inset:-16px -20px -14px -20px;pointer-events:none;z-index:1}
body.th3-v2 .th3-bulbs i{position:absolute;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:#fff3c4;box-shadow:0 0 0 1.5px #b9861a,0 0 10px 3px rgba(255,196,60,.75);opacity:.28}
body.th3-v2 .th3-bulbs.is-live i{animation:th3-bulb 1.2s steps(1,end) infinite;animation-delay:calc(var(--i) * -.4s)}
@keyframes th3-bulb{0%{opacity:1}34%{opacity:.28}100%{opacity:.28}}
body.th3-v2 .thbp-site.is-still .th3-bulbs i{animation:none;opacity:1}
@media (max-width:820px){body.th3-v2 .thbp-films__title>.th3-bulbs{inset:-9px -10px -8px -10px}body.th3-v2 .th3-bulbs i{width:6px;height:6px;margin:-3px 0 0 -3px}}
/* one-sheets: lighter print so the art reads, full colour when pointed at or playing */
body.th3-v2 .thbp-site .thbp-onesheet__media video,body.th3-v2 .thbp-site .thbp-onesheet__media img{filter:grayscale(1) contrast(1.12) brightness(1.75);transition:filter .25s}
body.th3-v2 .thbp-onesheet__media::before{opacity:.86;transition:opacity .25s}
body.th3-v2 .thbp-onesheet__media::after{transition:opacity .25s}
body.th3-v2 .thbp-site .thbp-onesheet.is-playing .thbp-onesheet__media video,body.th3-v2 .thbp-site .thbp-onesheet.is-playing .thbp-onesheet__media img{filter:none}
body.th3-v2 .thbp-onesheet.is-playing .thbp-onesheet__media::before{opacity:0}
body.th3-v2 .thbp-onesheet.is-playing .thbp-onesheet__media::after{opacity:.3}
@media (hover:hover){
body.th3-v2 .thbp-site .thbp-onesheet:hover .thbp-onesheet__media video,body.th3-v2 .thbp-site .thbp-onesheet:hover .thbp-onesheet__media img,body.th3-v2 .thbp-site .thbp-onesheet:focus-visible .thbp-onesheet__media video{filter:none}
body.th3-v2 .thbp-onesheet:hover .thbp-onesheet__media::before,body.th3-v2 .thbp-onesheet:focus-visible .thbp-onesheet__media::before{opacity:0}
body.th3-v2 .thbp-onesheet:hover .thbp-onesheet__media::after,body.th3-v2 .thbp-onesheet:focus-visible .thbp-onesheet__media::after{opacity:.3}}
/* the screen shows the film's own picture until YouTube is ready */
body.th3-v2 .th3-screen__frame{background-color:#000;background-size:cover;background-position:50% 50%}

/* ---------- 4. records: crate digging ---------- */
/* the record slides out of the sleeve */
body.th3-v2 .thbp-cover::after{content:"";position:absolute;inset:3%;z-index:-1;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,#0c0c0c 0 5%,var(--thbp-red,#c6272b) 5.5% 17%,#0c0c0c 17.5% 19.5%,transparent 20%),conic-gradient(from 20deg,transparent 0 7%,rgba(255,255,255,.2) 10% 13%,transparent 16% 57%,rgba(255,255,255,.14) 60% 63%,transparent 66%),repeating-radial-gradient(circle,#141414 0 1.5px,#242424 1.5px 3px);
  transition:transform .45s cubic-bezier(.2,.9,.25,1)}
@media (hover:hover) and (min-width:821px){
body.th3-v2 .thbp-cover:hover::after,body.th3-v2 .thbp-cover:focus-visible::after{transform:translateX(47%) rotate(210deg)}
body.th3-v2 .thbp-cover:hover,body.th3-v2 .thbp-cover:focus-visible{transform:rotate(0) scale(1.18) translateX(-14%)}}
/* desktop: the wall of sleeves stops before the cutout */
@media (min-width:821px){body.th3-v2 .thbp-records{max-width:min(55vw,960px)}}
/* phones: two shelves you swipe sideways, bigger sleeves, the whole 18 */
@media (max-width:820px){
body.th3-v2 .thbp-wild{display:grid;grid-template-columns:none;grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:27.5vw;gap:8px;flex:0 0 auto;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -18px;padding:6px 18px 18px;touch-action:pan-x pan-y}
body.th3-v2 .thbp-wild::-webkit-scrollbar{display:none}
body.th3-v2 .thbp-wild .gspbgrid_item:nth-child(n){display:contents!important}
body.th3-v2 .thbp-wild .thbp-cover{scroll-snap-align:start;max-height:none}
body.th3-v2 .thbp-records__title small::after{content:"swipe the crate →";display:block;color:var(--thbp-red,#c6272b);margin-top:.35em}
body.th3-v2 .thbp-records__note{max-width:52vw}}

/* ---------- 5. Lo-Life: colour-block poster ---------- */
body.th3-v2 .thbp-sheet--lolife{color:#0b0b0b;background-color:#fecf12;
  background-image:url(https://new.thirstinhowlthe3rd.com/wp-content/uploads/th3bp/th3bp-tex-paper.webp),
    linear-gradient(90deg,transparent calc(34% - 5px),#0d0a08 calc(34% - 5px) calc(34% + 5px),transparent calc(34% + 5px) calc(70% - 5px),#0d0a08 calc(70% - 5px) calc(70% + 5px),transparent calc(70% + 5px)),
    linear-gradient(180deg,transparent calc(54% - 5px),#0d0a08 calc(54% - 5px) calc(54% + 5px),transparent calc(54% + 5px)),
    linear-gradient(180deg,#1a4fa3 0 54%,#12804a 54%),
    linear-gradient(#c6272b,#c6272b);
  background-size:560px auto,100% 100%,36% 100%,36% 100%,34% 100%;
  background-position:0 0,0 0,53.1% 0,53.1% 0,0 0;
  background-repeat:repeat,no-repeat,no-repeat,no-repeat,no-repeat;
  background-blend-mode:multiply,normal,normal,normal,normal}
body.th3-v2 .thbp-xerox__title{color:#f4f1ea;text-shadow:.04em .045em 0 #0d0a08}
body.th3-v2 .thbp-xerox__motto{color:var(--thbp-yellow,#fecf12);text-shadow:.05em .06em 0 #0d0a08}
body.th3-v2 .thbp-xerox__motto small{color:#f4f1ea;text-shadow:none;background:#0d0a08;display:inline-block;padding:4px 8px 2px;margin-top:10px}
body.th3-v2 .thbp-xerox__text{background:#f1eee7 url(https://new.thirstinhowlthe3rd.com/wp-content/uploads/th3bp/th3bp-tex-paper.webp) 0 0/420px;background-blend-mode:multiply;padding:16px 18px 18px;box-shadow:0 6px 12px rgba(0,0,0,.35);transform:rotate(.7deg)}
@media (min-width:821px){
body.th3-v2 .thbp-xerox{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);grid-template-rows:auto auto minmax(0,1fr);max-width:min(66vw,1120px);gap:2vh 2.6vw}
body.th3-v2 .thbp-xerox .thbp-photo{grid-column:1;grid-row:2/4}
body.th3-v2 .thbp-xerox__text{grid-column:2;grid-row:2}
body.th3-v2 .thbp-xerox .thbp-book{grid-column:2;grid-row:3;flex-direction:row;align-items:center;gap:18px}
body.th3-v2 .thbp-xerox .thbp-book img{max-height:min(19vh,180px)}
body.th3-v2 .thbp-photo img{max-height:36vh}
body.th3-v2 .thbp-xerox__head{flex-wrap:nowrap}
body.th3-v2 .thbp-xerox__motto{flex:1 1 0;min-width:0;padding-bottom:.25em}
body.th3-v2 .thbp-xerox__motto small{line-height:1.5}}
@media (max-width:820px){
body.th3-v2 .thbp-sheet--lolife{background-image:url(https://new.thirstinhowlthe3rd.com/wp-content/uploads/th3bp/th3bp-tex-paper.webp),linear-gradient(180deg,transparent calc(27% - 4px),#0d0a08 calc(27% - 4px) calc(27% + 4px),transparent calc(27% + 4px) calc(62% - 4px),#0d0a08 calc(62% - 4px) calc(62% + 4px),transparent calc(62% + 4px)),linear-gradient(180deg,#c6272b 0 27%,#1a4fa3 27% 62%,#12804a 62%);background-size:520px auto,100% 100%,100% 100%;background-position:0 0;background-repeat:repeat,no-repeat,no-repeat;background-blend-mode:multiply,normal,normal}
body.th3-v2 .thbp-xerox__text{padding:10px 12px}
/* the Lo-Life poster is full on phones: no cutout in front of it */
body.th3-v2[data-th3-layer="lolife"] .thbp-star{visibility:hidden!important}}

/* ---------- 6. street surfaces for the lower half ---------- */
/* Coming up = a blue roll-down gate */
body.th3-v2 #events{isolation:isolate;
  background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(0,0,0,0) 9%,rgba(0,0,0,0) 90%,rgba(0,0,0,.45)),
    repeating-linear-gradient(180deg,#2a62bd 0 13px,#2157ad 13px 20px,#173f85 20px 23px,#3b74cf 23px 25px);
  border-top:30px solid #24272c;border-bottom:22px solid #191b1f;
  box-shadow:inset 0 10px 0 rgba(255,255,255,.07),inset 0 -6px 0 rgba(0,0,0,.35)}
/* the gate's side rails */
body.th3-v2 #events::before,body.th3-v2 #events::after{content:"";position:absolute;top:0;bottom:0;width:clamp(10px,1.6vw,22px);z-index:-1;background:linear-gradient(90deg,#17191c,#3a3e45 45%,#1d1f23)}
body.th3-v2 #events::before{left:0}
body.th3-v2 #events::after{right:0}
body.th3-v2 #events .thbp-wall__title{color:var(--thbp-yellow,#fecf12);filter:url(#thbp-spray);text-shadow:0 0 18px rgba(254,207,18,.25)}
/* Word on the street = a green newsstand */
body.th3-v2 #news{isolation:isolate;
  background:linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,0) 10%,rgba(0,0,0,0) 88%,rgba(0,0,0,.4)),
    repeating-linear-gradient(90deg,rgba(0,0,0,.2) 0 2px,rgba(255,255,255,.035) 2px 4px,transparent 4px 72px),
    linear-gradient(180deg,#1b6a47,#114a31);
  border-top:16px solid #0b3222;border-bottom:16px solid #0b3222;
  box-shadow:inset 0 5px 0 #e2b93f,inset 0 -5px 0 #e2b93f}
body.th3-v2 #news .thbp-wall__title{text-shadow:.035em .04em 0 #072417}
body.th3-v2 #news .thbp-wall__title:not(.wp-block-kadence-advancedheading){color:#f3cf5a}

/* ---------- 7. things slap onto the wall as you reach them ---------- */
/* Speed note: no :has() in this file. body:has(...) made every style recalculation on the page about 3x slower (measured 2026-11-12),
   so the script adds body.th3-move when the wall's Motion is on and the rules below key off that class instead. */
@supports (animation-timeline:view()){
@media all{/* motion on/off follows the wall's Motion switch (.is-still), like the peel */
  body.th3-v2 .thbp-site:not(.is-still) :is(.th3-gig,.thbp-good,.thbp-flyer,.th3-book__paper){animation:th3-slapon linear backwards;animation-timeline:view();animation-range:entry 0% entry 75%}
  body.th3-v2 .thbp-site:not(.is-still) :is(.th3-gig:nth-child(3n+2),.gspbgrid_item:nth-child(4n+2) .thbp-good,.gspbgrid_item:nth-child(3n+2) .thbp-flyer){animation-range:entry 12% entry 88%}
  body.th3-v2 .thbp-site:not(.is-still) :is(.th3-gig:nth-child(3n),.gspbgrid_item:nth-child(4n+3) .thbp-good,.gspbgrid_item:nth-child(3n) .thbp-flyer){animation-range:entry 24% entry 100%}
  body.th3-v2 .thbp-site:not(.is-still) .gspbgrid_item:nth-child(4n) .thbp-good{animation-range:entry 34% entry 110%}
  body.th3-v2 .thbp-site:not(.is-still) :is(.thbp-wall__title,.thbp-awning h2){animation:th3-sprayon linear backwards;animation-timeline:view();animation-range:entry 10% entry 110%}
  body.th3-v2.th3-move .th3-list{animation:th3-slapon linear backwards;animation-timeline:view();animation-range:entry 0% entry 70%}
  @keyframes th3-slapon{from{opacity:0;transform:translateY(70px) rotate(calc(var(--r,0deg) + 9deg)) scale(1.16)}35%{opacity:1}}
  @keyframes th3-sprayon{from{clip-path:inset(0 100% 0 0);opacity:.2}to{clip-path:inset(-20% -5% -20% -5%);opacity:1}}
}}

/* ---------- 8. boombox ---------- */
body.th3-v2 .th3-boom{position:fixed;left:108px;bottom:16px;z-index:62;font-family:var(--thbp-anton);transition:left .3s}
body.th3-v2.th3-past-wall .th3-boom{left:16px}
/* round button next to Motion / Sound: two speaker dots, or dancing bars while it plays */
body.th3-v2 .th3-boom__lid{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;width:38px;height:38px;padding:0;border:0;border-radius:50%;cursor:pointer;background:var(--thbp-yellow,#fecf12);box-shadow:0 3px 0 rgba(0,0,0,.35),0 0 0 2px #111}
body.th3-v2 .th3-boom__lid i{display:block;width:9px;height:9px;border-radius:50%;background:#111;box-shadow:inset 0 0 0 2px #111,inset 0 0 0 3.5px var(--thbp-yellow,#fecf12)}
body.th3-v2 .th3-boom__lid::after{content:"";position:absolute;left:11px;right:11px;top:7px;height:4px;border:2px solid #111;border-bottom:0;border-radius:4px 4px 0 0}
body.th3-v2 .th3-boom.is-playing .th3-boom__lid{gap:3px;align-items:flex-end;padding-bottom:11px;background:var(--thbp-red,#c6272b)}
body.th3-v2 .th3-boom.is-playing .th3-boom__lid i,body.th3-v2 .th3-boom.is-playing .th3-boom__lid::after{position:static;border:0;border-radius:1px;width:4px;height:16px;background:#fff;box-shadow:none;transform-origin:50% 100%;animation:th3-eq .5s ease-in-out infinite alternate}
body.th3-v2 .th3-boom.is-playing .th3-boom__lid i+i{animation-duration:.34s;animation-delay:-.2s}
body.th3-v2 .th3-boom.is-playing .th3-boom__lid::after{animation-duration:.42s;animation-delay:-.1s}
/* a small label names the button for the first few seconds */
body.th3-v2 .th3-boom__lid::before{content:"Boombox";position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%) rotate(-2deg);background:#111;color:#f4f1ea;font:400 11px/1 var(--thbp-anton);letter-spacing:.14em;text-transform:uppercase;padding:5px 7px 4px;white-space:nowrap;pointer-events:none;opacity:0;animation:th3-hint 9s 1.5s both}
body.th3-v2 .th3-boom.is-open .th3-boom__lid::before,body.th3-v2 .th3-boom.is-playing .th3-boom__lid::before{display:none}
@keyframes th3-hint{0%{opacity:0}6%,82%{opacity:1}100%{opacity:0}}
@keyframes th3-eq{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
@media (hover:hover){body.th3-v2 .th3-boom__lid:hover{background:#fff}}
body.th3-v2 .th3-boom__lid:focus-visible{background:#fff;outline:2px solid #111;outline-offset:2px}
/* the box itself */
body.th3-v2 .th3-boom__body{position:absolute;left:-92px;bottom:54px;width:308px;display:grid;grid-template-columns:64px minmax(0,1fr) 64px;gap:10px;align-items:center;padding:12px 12px 11px;color:#f2ead6;
  background:linear-gradient(180deg,#34353a,#17181a);border:3px solid #0b0b0c;border-radius:12px;box-shadow:inset 0 0 0 2px #55575e,inset 0 12px 0 rgba(255,255,255,.05),0 16px 26px rgba(0,0,0,.55);
  transform-origin:30% 100%;transform:translateY(12px) scale(.6) rotate(-6deg);opacity:0;visibility:hidden;transition:transform .28s cubic-bezier(.2,1.5,.4,1),opacity .18s,visibility 0s .28s}
body.th3-v2.th3-past-wall .th3-boom__body{left:0}
body.th3-v2 .th3-boom.is-open .th3-boom__body{transform:rotate(-1.5deg);opacity:1;visibility:visible;transition:transform .28s cubic-bezier(.2,1.5,.4,1),opacity .18s,visibility 0s}
/* handle */
body.th3-v2 .th3-boom__body::before{content:"";position:absolute;left:20%;right:20%;top:-19px;height:17px;border:5px solid #0b0b0c;border-bottom:0;border-radius:10px 10px 0 0;box-shadow:inset 0 2px 0 #55575e}
body.th3-v2 .th3-boom__spk{display:block;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#0b0b0c 0 16%,#4a4b51 17% 23%,#101012 24% 54%,#3a3b40 55% 62%,#0b0b0c 63%);box-shadow:0 0 0 2px #73757d,0 0 0 4px #0b0b0c}
body.th3-v2 .th3-boom.is-playing .th3-boom__spk{animation:th3-thump .43s ease-in-out infinite alternate}
@keyframes th3-thump{from{transform:scale(1)}to{transform:scale(1.09)}}
body.th3-v2 .th3-boom__deck{min-width:0;text-align:center}
body.th3-v2 .th3-boom__tape{display:flex;align-items:center;justify-content:space-around;height:24px;padding:0 22%;background:#e9e2cf;border:2px solid #0b0b0c;border-radius:4px;box-shadow:inset 0 -7px 0 var(--thbp-red,#c6272b)}
body.th3-v2 .th3-boom__tape i{width:15px;height:15px;border-radius:50%;background:#111;border:3px dotted #e9e2cf;box-sizing:border-box}
body.th3-v2 .th3-boom.is-playing .th3-boom__tape i{animation:thbp-spin 1.4s linear infinite}
body.th3-v2 .th3-boom__now{margin:7px 0 6px;line-height:1.05}
body.th3-v2 .th3-boom__title{display:block;font-weight:400;font-size:13.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--thbp-yellow,#fecf12);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.th3-v2 .th3-boom__sub{display:block;font-family:var(--thbp-body);font-size:10.5px;letter-spacing:.02em;opacity:.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
body.th3-v2 .th3-boom__keys{display:flex;justify-content:center;gap:6px}
body.th3-v2 .th3-boom__keys button{position:relative;width:34px;height:24px;padding:0;border:0;border-radius:3px;cursor:pointer;background:#c9c5b8;box-shadow:0 3px 0 #0b0b0c,inset 0 1px 0 #fff}
body.th3-v2 .th3-boom__keys button:active{transform:translateY(2px);box-shadow:0 1px 0 #0b0b0c}
body.th3-v2 .th3-boom__keys button:focus-visible{outline:2px solid var(--thbp-yellow,#fecf12);outline-offset:2px}
body.th3-v2 .th3-boom__keys .th3-boom__play{width:44px;background:var(--thbp-yellow,#fecf12)}
body.th3-v2 .th3-boom__keys button::before{content:"";position:absolute;inset:0;margin:auto;width:0;height:0;border-style:solid;border-width:6px 0 6px 10px;border-color:transparent transparent transparent #111}
body.th3-v2 .th3-boom__play[aria-pressed="true"]::before{width:10px;height:12px;border:0;background:linear-gradient(90deg,#111 0 35%,transparent 35% 65%,#111 65%)}
body.th3-v2 .th3-boom__prev::before{transform:scaleX(-1)}
body.th3-v2 .th3-boom__prev::after,body.th3-v2 .th3-boom__next::after{content:"";position:absolute;top:6px;bottom:6px;width:2px;background:#111}
body.th3-v2 .th3-boom__prev::after{left:9px}
body.th3-v2 .th3-boom__next::after{right:9px}
body.th3-v2 .th3-boom__bar{height:3px;margin-top:9px;background:#0b0b0c;border-radius:2px;overflow:hidden}
body.th3-v2 .th3-boom__bar i{display:block;height:100%;width:0;background:var(--thbp-yellow,#fecf12)}
body.th3-v2 .thbp-site.is-still .th3-boom :not(.th3-boom__lid),body.th3-v2 .thbp-site.is-still .th3-boom *::after{animation:none!important}
@media (max-width:820px){
body.th3-v2 .th3-boom{left:96px;bottom:12px}
body.th3-v2.th3-past-wall .th3-boom{left:12px}
body.th3-v2 .th3-boom__lid{width:34px;height:34px}
body.th3-v2 .th3-boom__lid::after{left:9px;right:9px;top:6px}
body.th3-v2 .th3-boom__body{left:-84px;bottom:48px;width:min(296px,calc(100vw - 24px))}}

/* ---------- 9. finale (Content Block "Homepage v2 finale", above the footer) ---------- */
/* three lines of big type slide in from the sides and come to rest centred and fully readable; the logo is stamped between them.
   Sizes follow the window's width AND height so the whole sign-off fits on screen above the footer. */
/* overflow:clip, not hidden: hidden would make this box its own scroller and the lines would time themselves against it instead of the page */
body.th3-v2 .th3-finale{position:relative;overflow:hidden;overflow:clip;margin:0;padding:clamp(20px,3.4vh,40px) 4vw clamp(18px,2.8vh,30px);text-align:center;max-width:none}
body.th3-v2 .th3-finale__line{margin:0 auto;font-family:ct_font_anton,Anton,Impact,sans-serif;font-weight:400;font-size:min(5.8vw,11vh,150px);line-height:1;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;color:#f2ead6;text-shadow:.035em .04em 0 rgba(0,0,0,.6)}
body.th3-v2 .th3-finale__line--b{color:#fecf12}
body.th3-v2 .th3-finale__line--c{font-size:min(3.55vw,6.7vh,92px);margin-top:.3em;letter-spacing:.04em}
body.th3-v2 .th3-finale__logo{position:relative;z-index:2;width:min(24vw,29vh,340px);margin:clamp(10px,1.8vh,20px) auto clamp(12px,2.2vh,24px);transform:rotate(-4deg);filter:drop-shadow(0 8px 0 rgba(0,0,0,.4))}
body.th3-v2 .th3-finale__logo img{display:block;width:100%;height:auto}
@media (max-width:820px){
/* phones: the lines wrap instead of shrinking */
body.th3-v2 .th3-finale{padding-top:30px}
body.th3-v2 .th3-finale__line{font-size:11.5vw;white-space:normal;line-height:.98}
body.th3-v2 .th3-finale__line--c{font-size:6.4vw;line-height:1.1}
body.th3-v2 .th3-finale__logo{width:min(52vw,240px);margin:16px auto 18px}}
@supports (animation-timeline:view()){
@media all{/* motion on/off follows the wall's Motion switch (.is-still), like the peel. Each piece lands shortly after it scrolls into view */
  body.th3-v2.th3-move :is(.th3-finale__line,.th3-finale__logo){animation-timing-function:linear;animation-fill-mode:both;animation-timeline:view()}
  body.th3-v2.th3-move .th3-finale__line--a{animation-name:th3-in-left;animation-range:entry 0% entry 260%}
  body.th3-v2.th3-move .th3-finale__line--b{animation-name:th3-in-right;animation-range:entry 0% entry 260%}
  body.th3-v2.th3-move .th3-finale__line--c{animation-name:th3-in-left;animation-range:entry 0% entry 330%}
  body.th3-v2.th3-move .th3-finale__logo{animation-name:th3-stamp;animation-range:entry 15% entry 125%}
  @keyframes th3-in-left{from{transform:translateX(-85vw)}to{transform:translateX(0)}}
  @keyframes th3-in-right{from{transform:translateX(85vw)}to{transform:translateX(0)}}
  @keyframes th3-stamp{from{opacity:0;transform:rotate(14deg) scale(1.9)}40%{opacity:1}to{opacity:1;transform:rotate(-4deg) scale(1)}}
}}

/* ---------- 10. store front: his logo on the sign, a real awning, tidier goods ---------- */
/* awning leans out from the wall (the stripes narrow toward the top) and throws a shadow */
body.th3-v2 #shop .thbp-awning{background:none;box-shadow:none;height:clamp(96px,10vw,150px);perspective:700px;z-index:2}
body.th3-v2 #shop .thbp-awning::before{content:"";position:absolute;inset:0;transform-origin:50% 100%;transform:rotateX(36deg);
  background:linear-gradient(180deg,rgba(0,0,0,.36),rgba(0,0,0,0) 40%,rgba(255,255,255,.1) 80%,rgba(0,0,0,.14)),repeating-linear-gradient(90deg,var(--thbp-red,#c6272b) 0 64px,#e9e2cf 64px 128px);
  box-shadow:0 30px 30px -14px rgba(0,0,0,.7)}
/* the sign board: logo + "Store" */
body.th3-v2 #shop .thbp-awning h2.th3-storesign{position:relative;z-index:2;display:flex;align-items:center;gap:clamp(10px,1.5vw,24px);margin:0;padding:clamp(8px,1vw,14px) clamp(16px,2.4vw,36px) clamp(6px,.8vw,10px);background:#0d0a08;border:4px solid var(--thbp-yellow,#fecf12);border-radius:8px;box-shadow:0 0 0 3px #0d0a08,0 16px 24px rgba(0,0,0,.6);transform:translateY(-20%) rotate(-1.5deg);font-size:clamp(36px,5.2vw,80px);line-height:.9;color:var(--thbp-yellow,#fecf12)}
body.th3-v2 #shop .th3-storesign__logo{display:block;height:clamp(78px,9.6vw,140px);width:auto;max-width:none}
body.th3-v2 #shop .th3-storesign__word{font-family:var(--thbp-cooper);font-weight:400;text-shadow:.05em .06em 0 var(--thbp-red,#c6272b)}
/* window: warm light inside, metal frame with a kick plate */
body.th3-v2 #shop .thbp-window{background:radial-gradient(90% 55% at 50% 0,rgba(255,206,110,.2),transparent 70%),linear-gradient(180deg,rgba(18,22,26,.95),rgba(30,36,40,.96));border-style:solid;border-color:#3b3d42;border-width:14px 14px 30px;box-shadow:inset 0 0 0 2px #17181a,inset 0 0 80px rgba(0,0,0,.6),0 0 0 2px #17181a,0 26px 30px -18px rgba(0,0,0,.75)}
/* goods: same height per row, clean titles, a proper "Shop it" tag at the bottom */
body.th3-v2 .thbp-goods{align-items:stretch}
body.th3-v2 .thbp-goods a.thbp-good{display:flex;flex-direction:column;height:100%;padding:10px 10px 12px;text-decoration:none!important;background:#f4f1ea url(https://new.thirstinhowlthe3rd.com/wp-content/uploads/th3bp/th3bp-tex-paper.webp) 0 0/400px;background-blend-mode:multiply;box-shadow:0 10px 16px rgba(0,0,0,.45)}
body.th3-v2 .thbp-goods a.thbp-good :is(h3,p,span){text-decoration:none!important}
body.th3-v2 .thbp-goods a.thbp-good h3{margin:10px 2px 12px}
body.th3-v2 .thbp-goods a.thbp-good p{margin:auto 0 0 2px;align-self:flex-start;opacity:1;background:#111;color:var(--thbp-yellow,#fecf12);font-family:var(--thbp-anton);font-size:12px;line-height:1;letter-spacing:.12em;text-transform:uppercase;padding:6px 9px 5px;transition:background-color .15s,color .15s}
@media (hover:hover){body.th3-v2 .thbp-goods a.thbp-good:hover p{background:var(--thbp-red,#c6272b);color:#fff}}
body.th3-v2 .thbp-goods a.thbp-good:focus-visible p{background:var(--thbp-red,#c6272b);color:#fff}
@media (max-width:820px){
body.th3-v2 #shop .thbp-awning h2.th3-storesign{transform:translateY(-16%) rotate(-1.5deg);border-width:3px}}

/* ---------- 11. Brownsville poster: the two words never split ---------- */
/* on big monitors the title grew wider than its 980px text column and "Brownsville," broke in the middle; the title may run past the column instead */
body.th3-v2 .thbp-bricks__where{white-space:nowrap;overflow-wrap:normal;word-break:normal}

/* ---------- 12. Brownsville poster: the red-brown brick wall (the rest of the site stays grey brick) ---------- */
body.th3-v2 .thbp-sheet--bricks{background:#3a2019 url(https://new.thirstinhowlthe3rd.com/wp-content/uploads/th3bp/th3bp-tex-red-brick.webp) 0 0/768px auto}
@media (max-width:820px){body.th3-v2 .thbp-sheet--bricks{background-size:560px auto}}
/* a strip of sidewalk along the bottom of the red wall, so it ends on purpose where the grey wall begins (he stands on it) */
body.th3-v2 .thbp-sheet--bricks::after{content:"";position:absolute;left:0;right:0;bottom:0;height:clamp(12px,2.2vh,22px);z-index:1;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 238px,rgba(0,0,0,.28) 238px 240px),linear-gradient(180deg,#a09e98,#77756f);box-shadow:inset 0 2px 0 rgba(255,255,255,.28),0 -6px 10px rgba(0,0,0,.35)}

/* ---------- 13. small device fixes ---------- */
/* Lo-Life book cover keeps its shape (it was being stretched to the column width on phones) */
body.th3-v2 .thbp-book img{align-self:flex-start;object-fit:contain}

/* ---------- 14. accessibility fixes (2026-11-13) ---------- */
/* ticker: the site's yellow dashed focus ring cannot be seen on yellow tape, so a focused item turns black with yellow type */
body.th3-v2 .thbp-site .th3-ticker a:focus-visible{outline:3px solid #111;outline-offset:-3px;background:#111;color:var(--thbp-yellow,#fecf12);padding:0 10px;margin:0 -10px}
body.th3-v2 .thbp-site .th3-ticker a:focus-visible b{background:var(--thbp-yellow,#fecf12);color:#111}
body.th3-v2 .thbp-site .th3-ticker a:focus-visible i{border-bottom-color:var(--thbp-yellow,#fecf12)}
body.th3-v2 .thbp-site .th3-ticker a:focus-visible span{text-decoration:none}
/* news flyers: the category tag is a full 24px+ tap target that nothing overlaps */
body.th3-v2 .thbp-flyer__cat a{position:relative;z-index:2;display:inline-flex;align-items:center;min-height:28px;padding-top:4px;padding-bottom:3px}
/* very short, wide windows (landscape phones): the wall script stacks the posters (class is-short); the Motion button has nothing to switch there */
body.th3-v2 .thbp-site.is-short .thbp-motion{display:none}
body.th3-v2 .thbp-site.is-short .th3-ticker{margin-bottom:6px}
/* short laptop windows: the Lo-Life poster and the top poster tighten so nothing is cut off */
@media (min-width:821px) and (max-height:760px){
body.th3-v2 .thbp-photo img{max-height:27vh}
body.th3-v2 .thbp-xerox .thbp-book img{max-height:13vh}
body.th3-v2 .thbp-xerox__text{padding:10px 14px 12px;font-size:13.5px;line-height:1.42}
body.th3-v2 .thbp-xerox{gap:1.3vh 2.4vw}
body.th3-v2 .thbp-xerox__title{font-size:min(13vw,19vh)}}
@media (min-width:821px) and (max-height:720px){
body.th3-v2 .th3-ticker~.thbp-wrap .thbp-now__logo{max-height:7vh}
body.th3-v2 .th3-ticker~.thbp-wrap .thbp-now__copy{gap:.5vh}}
/* keyboard focus inside the ticker: the tape stops at its start so the focused item is on screen */
body.th3-v2 .th3-ticker.is-kb .th3-ticker__run{animation:none}
/* stacked layout on very short windows: the Now playing screen's size was worked out from the window height and collapsed there */
body.th3-v2 .thbp-site.is-short .th3-screen{width:min(100%,52vw)}

/* ---------- 15. Kadence blocks on the homepage: only what Kadence's block settings cannot do ---------- */
/* (colours, fonts, sizes, spacing, backgrounds, borders and shadows of these blocks are set on the blocks themselves) */
/* label buttons (class th3-label): the theme's minimum button height off, so they stay as slim as the other labels; the label sheen over the block's own colour; lift on hover; optional tilt (th3-tilt-l / th3-tilt-r) */
body.th3-v2 .thbp-main .kb-button{min-height:0}
body.th3-v2 .kb-buttons-wrap .kb-button.th3-label,body.th3-v2 .kb-buttons-wrap .kb-button.th3-label:hover,body.th3-v2 .kb-buttons-wrap .kb-button.th3-label:focus{background-image:linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,0) 40%,rgba(0,0,0,.25))}
body.th3-v2 .th3-label{transform:rotate(var(--r,0deg));transition:transform .15s,background-color .15s}
body.th3-v2 .th3-label:hover,body.th3-v2 .th3-label:focus-visible{transform:rotate(var(--r,0deg)) translateY(-2px)}
body.th3-v2 .th3-tilt-l{--r:-1.5deg}
body.th3-v2 .th3-tilt-r{--r:1deg}
/* New book poster: slight tilt and two strips of tape */
body.th3-v2 .th3-kbook__poster{position:relative;transform:rotate(-.5deg)}
body.th3-v2 .th3-kbook__poster::before,body.th3-v2 .th3-kbook__poster::after{content:"";position:absolute;top:-13px;width:96px;height:28px;background:rgba(236,226,190,.85);box-shadow:0 1px 2px rgba(0,0,0,.25);z-index:3}
body.th3-v2 .th3-kbook__poster::before{left:8%;transform:rotate(-4deg)}
body.th3-v2 .th3-kbook__poster::after{right:8%;transform:rotate(3deg)}
/* the cover sits crooked and straightens when pointed at */
body.th3-v2 .th3-kbook__cover img{transform:rotate(-2deg);transition:transform .25s}
body.th3-v2 .th3-kbook__cover a:hover img,body.th3-v2 .th3-kbook__cover a:focus-visible img{transform:rotate(0) scale(1.02)}
/* its two buttons and the inside pages are a little crooked too */
body.th3-v2 .th3-kbook__buy{transform:rotate(-1deg);transition:transform .15s}
body.th3-v2 .th3-kbook__more{transform:rotate(1deg);transition:transform .15s}
body.th3-v2 .th3-kbook__buy:hover,body.th3-v2 .th3-kbook__buy:focus-visible,body.th3-v2 .th3-kbook__more:hover,body.th3-v2 .th3-kbook__more:focus-visible{transform:rotate(0) translateY(-2px)}
body.th3-v2 .th3-kbook .th3-book__inside .wp-block-kadence-column:nth-child(1) figure{transform:rotate(-1.5deg)}
body.th3-v2 .th3-kbook .th3-book__inside .wp-block-kadence-column:nth-child(2) figure{transform:rotate(1deg) translateY(6px)}
body.th3-v2 .th3-kbook .th3-book__inside .wp-block-kadence-column:nth-child(3) figure{transform:rotate(-.6deg)}
@media (max-width:781px){
/* phones: the poster hangs straight and the inside pages swipe sideways */
body.th3-v2 .th3-kbook__poster{transform:none}
body.th3-v2 .th3-kbook .th3-book__inside>.kt-row-column-wrap{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x mandatory}
body.th3-v2 .th3-kbook .th3-book__inside>.kt-row-column-wrap>.wp-block-kadence-column{flex:0 0 78%;scroll-snap-align:start}}
body.th3-v2 .th3-kbook .th3-book__inside>.kt-row-column-wrap:focus-visible{outline:3px solid #c6272b;outline-offset:3px}
@supports (animation-timeline:view()){
body.th3-v2.th3-move .th3-kbook__poster{animation:th3-slapon linear backwards;animation-timeline:view();animation-range:entry 0% entry 60%}}

/* ---------- 16. Kadence Query Loop grids (record crate, store products, latest news): only what the card blocks cannot do ---------- */
/* (which posts show, columns and gaps are in each Query Loop; colours, fonts, sizes, padding and shadows are on the card's blocks) */
body.th3-v2 .thbp-site .kb-query-grid-wrap{margin:0;padding:0;list-style:none}
body.th3-v2 .thbp-site .kb-query-item{margin:0;padding:0;min-width:0}
body.th3-v2 .thbp-site .kb-query-item::before,body.th3-v2 .thbp-site .kb-query-item::after{content:none}
body.th3-v2 .thbp-site .kb-query-item .wp-block-kadence-image{margin:0}
/* shared tape strip */
body.th3-v2 .th3-kgood::before,body.th3-v2 .th3-kflyer::before{content:"";position:absolute;left:10%;top:-12px;width:86px;height:26px;background:rgba(236,226,190,.78);box-shadow:0 1px 2px rgba(0,0,0,.25);z-index:4;
  clip-path:polygon(2% 10%,8% 0,16% 12%,24% 2%,33% 10%,42% 0,52% 9%,61% 1%,70% 11%,80% 0,90% 8%,98% 2%,100% 90%,92% 100%,83% 88%,74% 100%,65% 90%,55% 100%,46% 91%,37% 100%,27% 90%,18% 100%,9% 91%,0 100%)}
/* --- store products: equal-height cards, a tilt per column, lift on hover, sticker pinned to the corner, whole card is the link --- */
body.th3-v2 #shop .kb-query-item{display:flex;flex-direction:column}
body.th3-v2 .th3-kgood{position:relative;flex:1 1 auto;display:flex;flex-direction:column;transform:rotate(var(--r,0deg));transition:transform .18s}
body.th3-v2 .th3-kgood>.kt-inside-inner-col{flex:1 1 auto;display:flex;flex-direction:column;justify-content:flex-start}
body.th3-v2 .kb-query-item:nth-child(4n+1) .th3-kgood{--r:-2deg}
body.th3-v2 .kb-query-item:nth-child(4n+2) .th3-kgood{--r:1.6deg}
body.th3-v2 .kb-query-item:nth-child(4n+3) .th3-kgood{--r:-1deg}
body.th3-v2 .kb-query-item:nth-child(4n) .th3-kgood{--r:2deg}
body.th3-v2 .th3-kgood:hover,body.th3-v2 .th3-kgood:focus-within{transform:rotate(0) translateY(-6px)}
body.th3-v2 .th3-kgood .thbp-price{right:-12px;top:-14px}
body.th3-v2 a.th3-kgood__title{display:block}
body.th3-v2 a.th3-kgood__title,body.th3-v2 a.th3-kgood__title h3{text-decoration:none!important}
body.th3-v2 a.th3-kgood__title::after,body.th3-v2 a.th3-kflyer__title::after,body.th3-v2 a.th3-kcover__tag::after{content:"";position:absolute;inset:0;z-index:5}
body.th3-v2 a.th3-kgood__title:focus-visible,body.th3-v2 a.th3-kcover__tag:focus-visible{outline:none}
body.th3-v2 .th3-kgood:has(a:focus-visible),body.th3-v2 .th3-kcover:has(a:focus-visible){outline:3px dashed #fecf12;outline-offset:3px}
body.th3-v2 .th3-kgood .th3-kgood__go{margin-top:auto}
body.th3-v2 .th3-kgood__go mark{display:inline-block;line-height:1;transition:background-color .15s,color .15s}
body.th3-v2 .th3-kgood:hover .th3-kgood__go mark,body.th3-v2 .th3-kgood:focus-within .th3-kgood__go mark{background:#c6272b;color:#fff}
@media (max-width:689px){body.th3-v2 .th3-kgood .thbp-price{right:-6px;top:-12px}
body.th3-v2 .th3-kgood::before{left:6%;width:56px}}
@media (max-width:380px){body.th3-v2 .th3-kgood .thbp-price{right:-4px}
body.th3-v2 .th3-kgood::before{left:3%;width:36px}}
/* --- latest news: tilt and paper colour by position, tape, headline link covers photo and headline, tear-off tabs in a row --- */
body.th3-v2 .th3-kflyer{position:relative;transform:rotate(var(--r,0deg))}
body.th3-v2 .th3-kflyer::before{left:40%}
body.th3-v2 .kb-query-item:nth-child(3n+1) .th3-kflyer{--r:-1.6deg}
body.th3-v2 .kb-query-item:nth-child(3n+2) .th3-kflyer{--r:1.2deg}
body.th3-v2 .kb-query-item:nth-child(3n) .th3-kflyer{--r:-.8deg}
body.th3-v2 .kb-query-item:nth-child(3n+2) .th3-kflyer>.kt-inside-inner-col{background-color:#fecf12}
body.th3-v2 .kb-query-item:nth-child(3n) .th3-kflyer>.kt-inside-inner-col{background-color:#e5413f}
body.th3-v2 .kb-query-item:nth-child(3n) .th3-kflyer :is(h3,p,a){color:#fff}
body.th3-v2 .kb-query-item:nth-child(3n) .th3-kflyer .th3-kflyer__cat a{background:#fff!important;color:#111!important}
body.th3-v2 .th3-kflyer__top{position:relative}
body.th3-v2 a.th3-kflyer__title{display:block;text-decoration:none}
body.th3-v2 a.th3-kflyer__title::after{z-index:1}
body.th3-v2 .th3-kflyer__catbar{position:relative;z-index:2}
body.th3-v2 .th3-kflyer__cat{display:flex;flex-wrap:wrap;gap:0 6px;margin:0;padding:0;list-style:none}
body.th3-v2 .th3-kflyer__cat li{margin:0;padding:0}
body.th3-v2 .th3-kflyer__cat a{display:inline-flex;align-items:center;min-height:28px;padding:0 8px;text-decoration:none}
body.th3-v2 .th3-kflyer .thbp-tabs>.kt-inside-inner-col{width:100%;flex-wrap:nowrap;align-items:stretch}
body.th3-v2 .th3-kflyer .thbp-tabs a{color:inherit}
/* --- record crate: sleeves fit the poster, title tag and the record slide out on hover, phones swipe two shelves --- */
body.th3-v2 #music .wp-block-kadence-query{flex:1 1 0;min-height:0}
body.th3-v2 #music .kb-query-grid-wrap{align-content:start}
/* (the sleeves also keep the class thbp-cover: the wall script gives each one its own slight tilt through it) */
body.th3-v2 .th3-kcover{position:relative;aspect-ratio:auto;max-height:none;cursor:pointer;transform:rotate(var(--r,0deg)) translate(var(--x,0),var(--y,0));transition:transform .18s,z-index .18s}
body.th3-v2 .th3-kcover__img .kb-is-ratio-image{padding-bottom:min(100%,22vh)}
body.th3-v2 .th3-kcover::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(115deg,rgba(255,255,255,.18),transparent 30%,transparent 70%,rgba(0,0,0,.18));pointer-events:none}
body.th3-v2 .th3-kcover::after{content:"";position:absolute;inset:3%;z-index:-1;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,#0c0c0c 0 5%,var(--thbp-red,#c6272b) 5.5% 17%,#0c0c0c 17.5% 19.5%,transparent 20%),conic-gradient(from 20deg,transparent 0 7%,rgba(255,255,255,.2) 10% 13%,transparent 16% 57%,rgba(255,255,255,.14) 60% 63%,transparent 66%),repeating-radial-gradient(circle,#141414 0 1.5px,#242424 1.5px 3px);
  transition:transform .45s cubic-bezier(.2,.9,.25,1)}
body.th3-v2 .th3-kcover:hover,body.th3-v2 .th3-kcover:focus-within{z-index:5;transform:rotate(0) scale(1.18)}
body.th3-v2 a.th3-kcover__tag{position:static;text-decoration:none}
body.th3-v2 a.th3-kcover__tag>*{position:absolute;left:50%;bottom:-14px;z-index:3;display:inline-flex;gap:.35em;align-items:baseline;transform:translateX(-50%) rotate(-4deg);white-space:nowrap;opacity:0;transition:opacity .15s;pointer-events:none}
body.th3-v2 a.th3-kcover__tag b{color:#c6272b;font-weight:400}
body.th3-v2 .th3-kcover:hover a.th3-kcover__tag>*,body.th3-v2 .th3-kcover:focus-within a.th3-kcover__tag>*{opacity:1}
@media (hover:hover) and (min-width:821px){
body.th3-v2 .th3-kcover:hover::after,body.th3-v2 .th3-kcover:focus-within::after{transform:translateX(47%) rotate(210deg)}
body.th3-v2 .th3-kcover:hover,body.th3-v2 .th3-kcover:focus-within{transform:rotate(0) scale(1.18) translateX(-14%)}}
@media (max-width:820px){
body.th3-v2 #music .wp-block-kadence-query{flex:0 0 auto}
body.th3-v2 #music .kb-query-grid-wrap{display:grid!important;grid-template-columns:none!important;grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:27.5vw;gap:8px!important;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -18px;padding:6px 18px 18px;touch-action:pan-x pan-y}
body.th3-v2 #music .kb-query-grid-wrap::-webkit-scrollbar{display:none}
body.th3-v2 #music .kb-query-item{scroll-snap-align:start}
body.th3-v2 .th3-kcover__img .kb-is-ratio-image{padding-bottom:100%}}
/* cards slap onto the wall as they scroll in */
@supports (animation-timeline:view()){
body.th3-v2 .thbp-site:not(.is-still) :is(.th3-kgood,.th3-kflyer){animation:th3-slapon linear backwards;animation-timeline:view();animation-range:entry 0% entry 75%}
body.th3-v2 .thbp-site:not(.is-still) :is(.kb-query-item:nth-child(4n+2) .th3-kgood,.kb-query-item:nth-child(3n+2) .th3-kflyer){animation-range:entry 12% entry 88%}
body.th3-v2 .thbp-site:not(.is-still) :is(.kb-query-item:nth-child(4n+3) .th3-kgood,.kb-query-item:nth-child(3n) .th3-kflyer){animation-range:entry 24% entry 100%}
body.th3-v2 .thbp-site:not(.is-still) .kb-query-item:nth-child(4n) .th3-kgood{animation-range:entry 34% entry 110%}}

/* ---------- 17. event and news cards lift a little when pointed at (the same move as the store cards) ---------- */
body.th3-v2 .th3-gig,body.th3-v2 .th3-kflyer,body.th3-v2 .thbp-flyer{transition:transform .18s}
body.th3-v2 .th3-gig:hover,body.th3-v2 .th3-gig:focus-within,body.th3-v2 .th3-kflyer:hover,body.th3-v2 .th3-kflyer:focus-within,body.th3-v2 .thbp-flyer:hover,body.th3-v2 .thbp-flyer:focus-within{transform:rotate(0) translateY(-6px)}

/* ---------- 18. motion test page (2026-11-23, /home-motion-test/ only): the slap-on cards and finale run from Motion.page timelines there (the section title wipes stay CSS: Motion.page cannot animate clip-path), so the CSS versions above are off ---------- */
body.th3-mtest :is(.th3-gig,.thbp-good,.thbp-flyer,.th3-book__paper,.th3-list,.th3-kbook__poster,.th3-kgood,.th3-kflyer,.th3-finale__line,.th3-finale__logo){animation:none!important}
/* Motion.page leaves its end position as an inline transform, which would beat the cards' own lift when pointed at; this puts the lift back */
body.th3-mtest :is(.th3-gig,.thbp-flyer,.th3-kflyer,.thbp-good,.th3-kgood):is(:hover,:focus-within){transform:rotate(0) translateY(-6px)!important}
/* tablets 690-820px wide (test page only, 2026-11-23): New heat card fits its text; Brownsville text column leaves the right side to a bigger cutout (the peel script sizes it to the free space) */
@media (min-width:690px) and (max-width:820px){
body.th3-mtest .thbp-single{width:max-content;max-width:min(100%,430px)}
body.th3-mtest .thbp-single__tag{top:-38px;right:-36px}
body.th3-mtest .thbp-bricks__bio,body.th3-mtest .thbp-bricks .thbp-facts{max-width:46%}
body.th3-mtest .thbp-bricks .thbp-scroll-on{width:max-content;max-width:46%}}
/* narrow windows with a mouse: the record still slides out of the sleeve on hover */
@media (hover:hover) and (max-width:820px){
body.th3-mtest .thbp-cover:hover::after,body.th3-mtest .thbp-cover:focus-visible::after{transform:translateX(47%) rotate(210deg)}}
