/* Home hero: Garage TV | logo | Barn Hunter arcade | Event Calendar */
.hero__row {
  position: relative; z-index: 2; width: 100%; max-width: 1800px;
  display: grid; grid-template-columns: minmax(0, 1.35fr) auto minmax(0, .85fr) minmax(0, .9fr); align-items: center;
  gap: clamp(16px, 1.8vw, 36px); padding: 0 clamp(16px, 2.4vw, 40px);
}
.hero__row > * { min-width: 0; }
.hero__row .hero__content { padding: 0; }
.hero__row .hero__logo { width: min(440px, 26vw, 46vh); }

/* ---------- Garage TV: thin-bezel flat screen on a wall arm ---------- */
.bartv { justify-self: end; width: min(500px, 100%); position: relative; }
.bartv__mount {
  position: absolute; left: 50%; top: 36%; width: 90px; height: 70px; translate: -50% 0; z-index: -1;
  background: linear-gradient(90deg, #111 0 10px, transparent 10px 80px, #111 80px), linear-gradient(#1a1a1a, #0c0c0c);
  background-size: 100% 100%, 30px 100%; background-repeat: no-repeat; background-position: 0 0, 50% 0;
  border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,.6);
}
.bartv__set {
  background: linear-gradient(180deg, #1b1b1d, #0a0a0b); padding: 7px 7px 0; border-radius: 8px;
  box-shadow: 0 0 0 1px #2a2a2d, 0 30px 60px rgba(0,0,0,.75), 0 0 80px rgba(246,185,23,.08);
}
.bartv__screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 2px; }
.bartv__screen iframe, #barTvPlayer { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* screen glare + a soft vignette so it reads as a real panel */
.bartv__screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.07) 0 22%, transparent 22.5%), radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.35));
}
.bartv__static {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .15s;
  background: repeating-radial-gradient(circle at 17% 32%, #fff 0 1px, #000 1px 3px), repeating-linear-gradient(0deg, rgba(255,255,255,.15) 0 1px, transparent 1px 3px);
  background-size: 7px 7px, 100% 3px; animation: barStatic .12s steps(3) infinite;
}
@keyframes barStatic { 50% { background-position: 3px 2px, 0 1px; } 100% { background-position: -2px 4px, 0 2px; } }
.bartv.is-static .bartv__static, .bartv:not(.is-on) .bartv__static { opacity: .55; }
.bartv.is-idle .bartv__static { opacity: .35; }

/* the whole screen is one big "tap for sound" button (also keeps clicks off YouTube's own UI) */
.bartv__tap { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-start; padding: 12px; cursor: pointer; background: none; }
.bartv__sound {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 999px;
  background: rgba(0,0,0,.72); border: 1px solid rgba(246,185,23,.55); color: #fff;
  font-family: var(--cond); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem;
  box-shadow: 0 0 18px rgba(246,185,23,.25); animation: soundPulse 2.2s ease-in-out infinite;
}
.bartv__sound svg { width: 18px; height: 18px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bartv__sound--idle svg { fill: var(--yellow); stroke: none; }
@keyframes soundPulse { 50% { box-shadow: 0 0 26px rgba(246,185,23,.5); } }
.bartv__sound--idle { display: none; }
.bartv.is-idle .bartv__sound--off { display: none; }
.bartv.is-idle .bartv__sound--idle { display: inline-flex; }
.bartv.is-idle .bartv__tap { align-items: center; justify-content: center; }
.bartv.is-loud .bartv__sound { opacity: 0; animation: none; }
.bartv.is-loud .bartv__tap:hover .bartv__sound, .bartv.is-loud .bartv__tap:focus-visible .bartv__sound { opacity: 1; }
.bartv.is-loud .bartv__sound--off::after { content: " · tap to mute"; }

.bartv__osd {
  position: absolute; top: 9px; right: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--cond); font-weight: 800; font-size: .74rem; letter-spacing: .14em; color: #7CFF8A;
  text-shadow: 0 0 6px rgba(124,255,138,.8); pointer-events: none;
}
.bartv__osd i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 8px #ff3b30; animation: flicker 2s infinite; }
.bartv__chin { display: flex; justify-content: center; align-items: center; gap: 10px; height: 20px; }
.bartv__chin span { font-family: var(--cond); font-weight: 800; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: #6d6d70; }
.bartv__chin i { width: 5px; height: 5px; border-radius: 50%; background: #2ee66b; box-shadow: 0 0 6px #2ee66b; }

/* control bar: now playing + Shop It, then mute · volume slider · CH · Mini TV */
.bartv__bar {
  margin-top: 12px; padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px;
  background: rgba(10,8,7,.72); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(4px);
}
.bartv__row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bartv__now { flex: 1; min-width: 0; text-align: left; }
.bartv__now small { display: block; font-family: var(--cond); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .68rem; color: var(--yellow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bartv__now strong { display: block; font-size: .9rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bartv__bar button {
  height: 34px; min-width: 38px; padding: 0 10px; border-radius: 8px; cursor: pointer; flex: none;
  background: #1d1714; border: 1px solid rgba(255,255,255,.14); color: var(--paper);
  font-family: var(--cond); font-weight: 800; letter-spacing: .08em; font-size: .78rem; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.bartv__bar button:hover { border-color: var(--yellow); }
.bartv__bar svg, .bartv__mbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bartv__bar .bartv__shop { background: var(--red); border-color: var(--red); }
.bartv__bar .bartv__pop { color: var(--yellow); }
#barTvMute .ico-on, #barTvMiniMute .ico-on { display: none; }
#barTvMute.is-on, #barTvMiniMute.is-on { color: var(--yellow); border-color: var(--yellow); }
#barTvMute.is-on .ico-on, #barTvMiniMute.is-on .ico-on { display: block; }
#barTvMute.is-on .ico-off, #barTvMiniMute.is-on .ico-off { display: none; }

/* volume slider: amber fill up to the level, chrome knob */
.bartv__vol {
  --fill: 70%;
  flex: 1; min-width: 60px; height: 34px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.bartv__vol::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px; border: 1px solid rgba(0,0,0,.6);
  background: linear-gradient(90deg, #ffb33a, var(--yellow) var(--fill), #2b231e var(--fill));
  box-shadow: 0 0 10px rgba(246,185,23,.25);
}
.bartv__vol::-moz-range-track { height: 6px; border-radius: 999px; background: #2b231e; border: 1px solid rgba(0,0,0,.6); }
.bartv__vol::-moz-range-progress { height: 6px; border-radius: 999px; background: linear-gradient(90deg, #ffb33a, var(--yellow)); }
.bartv__vol::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #c9ccd1 45%, #6d7178); border: 1px solid #111;
  box-shadow: 0 2px 6px rgba(0,0,0,.6), 0 0 8px rgba(246,185,23,.35);
}
.bartv__vol::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; border: 1px solid #111;
  background: radial-gradient(circle at 35% 30%, #fff, #c9ccd1 45%, #6d7178);
}
.bartv__vol:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

/* filmstrip: 35mm frames with sprocket holes, scrolls sideways */
.filmstrip {
  margin-top: 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #5a4a3e transparent;
  background: #0b0908; border-radius: 6px; padding: 12px 0;
  background-image:
    radial-gradient(circle, #2e2622 0 2.2px, transparent 2.6px),
    radial-gradient(circle, #2e2622 0 2.2px, transparent 2.6px);
  background-size: 12px 12px, 12px 12px; background-repeat: repeat-x; background-position: 0 1px, 0 calc(100% - 1px);
  background-attachment: local;
  box-shadow: inset 0 0 0 1px #1d1714;
}
.filmstrip__track { display: flex; gap: 6px; padding: 0 8px; width: max-content; }
.filmstrip__frame {
  position: relative; width: 92px; aspect-ratio: 16 / 9; flex: none; padding: 0; cursor: pointer;
  border: 2px solid #1d1714; border-radius: 3px; overflow: hidden; background: #000;
  filter: sepia(.35) brightness(.72); transition: filter .2s, border-color .2s, transform .2s;
}
.filmstrip__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.filmstrip__frame span {
  position: absolute; left: 3px; bottom: 2px; font-family: var(--cond); font-weight: 800; font-size: .6rem; letter-spacing: .1em;
  color: #fff; text-shadow: 0 1px 2px #000;
}
.filmstrip__frame:hover { filter: none; transform: translateY(-2px); }
.filmstrip__frame.is-on { filter: none; border-color: var(--yellow); box-shadow: 0 0 12px rgba(246,185,23,.5); }

/* ---------- mini TV: small in the corner so the store stays in view ---------- */
.bartv__dock { position: relative; }
.bartv__away {
  display: none; position: absolute; inset: 0; z-index: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px;
  border: 2px dashed rgba(246,185,23,.35); border-radius: 8px; background: rgba(0,0,0,.35);
}
.bartv__away strong { font-family: var(--cond); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.bartv__away span { font-size: .85rem; color: var(--muted); }
.bartv__away .btn { margin-top: 6px; padding: 8px 16px; font-size: .85rem; }
.bartv__mini { display: none; }

.hero__row.has-popped-tv { z-index: auto; }        /* let the fixed mini TV sit above the rest of the page */
.bartv.is-popped .bartv__away { display: flex; }
.bartv.is-popped .bartv__dock { aspect-ratio: 16 / 9.8; }
.bartv.is-popped .bartv__set {
  position: fixed; right: 14px; bottom: 14px; z-index: 80; width: 250px; padding: 0 4px 4px;
  border-radius: 8px; animation: miniIn .28s cubic-bezier(.2,.8,.2,1.1);
  box-shadow: 0 0 0 1px #2a2a2d, 0 14px 34px rgba(0,0,0,.8), 0 0 22px rgba(246,185,23,.18);
}
@keyframes miniIn { from { opacity: 0; transform: translateY(20px) scale(.85); } }
.bartv.is-popped .bartv__chin { display: none; }
.bartv.is-popped .bartv__mini {
  display: flex; align-items: center; gap: 2px; height: 26px; padding: 0 2px 0 6px;
}
.bartv__mini-title {
  flex: 1; min-width: 0; font-family: var(--cond); font-weight: 800; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bartv__mbtn {
  width: 24px; height: 22px; flex: none; border-radius: 5px; cursor: pointer; color: var(--paper); font-size: .72rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; background: transparent;
}
.bartv__mbtn:hover { background: rgba(255,255,255,.1); color: var(--yellow); }
.bartv__mbtn svg { width: 15px; height: 15px; }
#barTvMiniClose { font-size: 1.1rem; }
/* small screen = small hints: the sound badge and channel number shrink */
.bartv.is-popped .bartv__tap { padding: 6px; }
.bartv.is-popped .bartv__sound { font-size: .62rem; padding: 4px 8px 4px 6px; gap: 5px; }
.bartv.is-popped .bartv__sound svg { width: 13px; height: 13px; }
.bartv.is-popped .bartv__osd { top: 5px; right: 6px; font-size: .6rem; }
@media (max-width: 700px) {
  .bartv.is-popped .bartv__set { width: 46vw; min-width: 168px; right: 10px; bottom: 10px; }
  .bartv__bar .bartv__pop span { display: none; }
  .bartv__bar button { padding: 0 9px; }
  .bartv.is-popped .bartv__sound span, .bartv.is-popped .bartv__sound { font-size: .56rem; }
}

.bartv__sponsor { margin-top: 8px; text-align: left; font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.bartv__sponsor a { color: var(--yellow); }


/* ---------- Barn Hunter arcade cabinet ---------- */
.arcade {
  justify-self: center; width: min(290px, 100%); padding: 12px 14px 12px; border-radius: 14px 14px 10px 10px;
  background: linear-gradient(90deg, #120d0b, #2a1b14 12%, #2a1b14 88%, #120d0b);
  border: 2px solid #0a0706; box-shadow: 0 30px 60px rgba(0,0,0,.75), inset 0 0 0 2px rgba(215,38,45,.35);
}
.arcade__marquee {
  text-align: center; padding: 6px 0 8px; margin: -2px -4px 10px; border-radius: 8px;
  background: linear-gradient(180deg, #1a0f0b, #0c0806); border-bottom: 2px solid var(--red);
  font-family: var(--display); font-size: 1.7rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  text-shadow: 0 0 12px rgba(246,185,23,.55);
}
.arcade__marquee span { color: var(--yellow); }
.arcade__marquee em { font-style: normal; color: var(--red); text-shadow: 0 0 12px rgba(215,38,45,.7); }
.arcade__screen { background: #000; padding: 6px; border-radius: 8px; box-shadow: inset 0 0 0 2px #000, inset 0 0 24px rgba(0,0,0,.9); }
#hunter {
  display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; border-radius: 4px; cursor: pointer;
  image-rendering: pixelated; touch-action: none; outline: none;
}
#hunter:focus-visible { box-shadow: 0 0 0 3px var(--yellow); }
.arcade__deck { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 12px; }
.arcade__btn {
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer; color: #fff; -webkit-tap-highlight-color: transparent; touch-action: none;
  font-family: var(--display); font-size: 1rem; letter-spacing: .06em;
  box-shadow: 0 5px 0 rgba(0,0,0,.6), inset 0 -4px 0 rgba(0,0,0,.25), inset 0 3px 0 rgba(255,255,255,.25);
  transition: transform .06s, box-shadow .06s;
}
.arcade__btn--dir { background: radial-gradient(circle at 40% 35%, #3a3a3e, #151517); font-size: .95rem; }
.arcade__btn--go { width: 60px; height: 60px; background: radial-gradient(circle at 40% 35%, #ff5a4f, var(--red) 55%, #8e1318); }
.arcade__btn:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0,0,0,.6), inset 0 -2px 0 rgba(0,0,0,.25); }
.arcade__help { margin-top: 9px; text-align: center; font-size: .7rem; color: var(--muted); letter-spacing: .04em; }


/* ---------- Event Calendar: a parts-counter wall calendar ---------- */
.events {
  justify-self: start; width: min(300px, 100%); position: relative; margin-top: 10px;
  background: #efe6d6; color: #1a1411; border-radius: 6px; padding-bottom: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.7), inset 0 0 40px rgba(120,80,40,.18);
  transform: rotate(.6deg);
}
.events__rings { position: absolute; top: -9px; left: 18px; right: 18px; display: flex; justify-content: space-between; z-index: 2; }
.events__rings i { width: 9px; height: 20px; border-radius: 5px; background: linear-gradient(90deg, #555, #cfd3d8 45%, #444); box-shadow: 0 2px 3px rgba(0,0,0,.5); }
.events__head { background: var(--red); color: #fff; padding: 18px 14px 12px; border-radius: 6px 6px 0 0; text-align: left; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.events__eyebrow { display: block; font-family: var(--cond); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: .68rem; color: var(--yellow); }
.events__title { display: block; font-family: var(--display); font-weight: 400; font-size: 1.55rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.05; }
.events__next { margin-top: 6px; font-size: .78rem; line-height: 1.3; }
.events__next b { font-family: var(--cond); letter-spacing: .08em; text-transform: uppercase; }
.events__next em { font-style: normal; color: var(--yellow); font-weight: 700; }
.events__chips { display: flex; flex-wrap: wrap; gap: 5px; padding: 10px 12px 4px; }
.events__chips button {
  padding: 3px 9px; border-radius: 999px; cursor: pointer; background: transparent; color: #3d3028;
  border: 1px solid #cbb9a0; font-family: var(--cond); font-weight: 800; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
}
.events__chips button:hover { border-color: var(--red); color: var(--red); }
.events__chips button.is-on { background: #1a1411; border-color: #1a1411; color: var(--yellow); }
.events__list { list-style: none; max-height: 340px; overflow-y: auto; padding: 2px 12px; scrollbar-width: thin; scrollbar-color: #bba88c transparent; text-align: left; }
.ev { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #cdbda5; }
.ev:last-child { border-bottom: 0; }
.ev--empty { display: block; font-size: .82rem; color: #6b5a4b; }
.ev__date { align-self: start; background: #fff; border: 1px solid #d8c9b2; border-radius: 6px; overflow: hidden; text-align: center; box-shadow: 0 2px 0 #d8c9b2; }
.ev__date b { display: block; background: #1a1411; color: #fff; font-family: var(--cond); font-weight: 800; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; padding: 2px 0; }
.ev__date strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.35; color: #1a1411; }
.ev.is-live .ev__date b { background: var(--red); }
.ev__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ev__name { font-weight: 700; font-size: .88rem; line-height: 1.2; color: #1a1411; text-decoration: none; }
.ev__name:hover { color: var(--red); }
.ev__name::after { content: " ↗"; font-size: .75em; color: #9a8672; }
.ev__where { font-size: .74rem; color: #5d4d3f; }
.ev__note { font-size: .7rem; color: #7a6a5a; font-style: italic; line-height: 1.3; }
.ev__tags { display: flex; align-items: center; gap: 8px; margin-top: 3px; flex-wrap: wrap; }
.ev__type { font-style: normal; font-family: var(--cond); font-weight: 800; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; background: #1a1411; color: var(--yellow); padding: 2px 6px; border-radius: 3px; }
.ev.is-live .ev__type { background: var(--red); color: #fff; }
.ev__cal { font-size: .68rem; font-weight: 700; color: var(--red); text-decoration: none; }
.ev__cal:hover { text-decoration: underline; }
.events__foot { font-size: .64rem; color: #7a6a5a; padding: 6px 14px 0; text-align: left; line-height: 1.3; }

/* ---------- full screen TV (and the "fill the window" fallback on a barn wall) ---------- */
.bartv__side, .bartv__vol--mini { display: none; }
html.tv-theater { overflow: hidden; }
.bartv.is-full .bartv__set, .bartv.is-theater .bartv__set {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 16px 20px; border-radius: 0; box-shadow: none;
  background:
    radial-gradient(ellipse at 50% -12%, rgba(255,205,130,.32), transparent 55%),
    radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,.7)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.5) 0 3px, rgba(255,255,255,.05) 3px 4px, transparent 4px 62px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, #6a1814, #86241d 25%, #71201a 50%, #8c2a22 75%, #6f1c17);
}
.bartv.is-theater .bartv__set { position: fixed; inset: 0; z-index: 130; width: auto; animation: none; }
.bartv.is-full .bartv__set { width: 100%; height: 100%; }
.bartv.is-full .bartv__screen, .bartv.is-theater .bartv__screen {
  flex: none; width: min(calc(100vw - 150px), calc((100vh - 48px) * 16 / 9));
  width: min(calc(100vw - 150px), calc((100dvh - 48px) * 16 / 9));
  border-radius: 4px; box-shadow: 0 0 0 10px #0b0b0c, 0 0 0 12px #2a2a2d, 0 30px 90px rgba(0,0,0,.85);
}
.bartv.is-full .bartv__chin, .bartv.is-theater .bartv__chin { display: none; }
/* channel buttons + a big mute down the right side */
.bartv.is-full .bartv__side, .bartv.is-theater .bartv__side { display: flex; flex-direction: column; gap: 12px; flex: none; transition: opacity .4s; }
.bartv__side .tv__chbtn { width: 76px; height: 68px; }
.bartv__side .tv__chbtn b { font-size: 1.4rem; }
.bartv__sidemute { margin-top: 10px; }
.bartv__sidemute b svg { width: 26px; height: 26px; fill: none; stroke: #ffd27a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bartv__sidemute .ico-on, .bartv__sidemute .lbl-on { display: none; }
.bartv__sidemute.is-on .ico-on, .bartv__sidemute.is-on .lbl-on { display: block; }
.bartv__sidemute.is-on .ico-off, .bartv__sidemute.is-on .lbl-off { display: none; }
.bartv__sidemute.is-on { --glow: #ff5a4f; }
/* top bar: title, volume, full screen / exit */
.bartv.is-full .bartv__mini, .bartv.is-theater .bartv__mini {
  display: flex; align-items: center; gap: 8px; position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  height: 58px; padding: 0 18px; background: linear-gradient(180deg, rgba(0,0,0,.8), transparent); transition: opacity .4s;
}
.bartv.is-full .bartv__mini-title, .bartv.is-theater .bartv__mini-title { font-size: .95rem; color: var(--paper); }
.bartv.is-full .bartv__mbtn, .bartv.is-theater .bartv__mbtn { width: 42px; height: 38px; }
.bartv.is-full .bartv__mbtn svg, .bartv.is-theater .bartv__mbtn svg { width: 22px; height: 22px; }
.bartv.is-full #barTvMiniClose, .bartv.is-theater #barTvMiniClose { font-size: 1.7rem; }
.bartv.is-full #barTvMiniDock, .bartv.is-theater #barTvMiniDock, .bartv.is-full #barTvMiniNext, .bartv.is-theater #barTvMiniNext { display: none; }
.bartv.is-full .bartv__vol--mini, .bartv.is-theater .bartv__vol--mini { display: block; flex: none; width: 170px; }
.bartv.is-full .bartv__osd, .bartv.is-theater .bartv__osd { top: 14px; right: 16px; font-size: .9rem; }
/* after a few quiet seconds the controls get out of the way */
.bartv.is-calm .bartv__mini { opacity: 0; pointer-events: none; }
.bartv.is-calm .bartv__side { opacity: .35; }
.bartv.is-calm .bartv__set { cursor: none; }
@media (orientation: portrait) {
  .bartv.is-full .bartv__set, .bartv.is-theater .bartv__set { flex-direction: column; gap: 26px; padding: 70px 12px 20px; }
  .bartv.is-full .bartv__screen, .bartv.is-theater .bartv__screen { width: calc(100vw - 24px); }
  .bartv.is-full .bartv__side, .bartv.is-theater .bartv__side { flex-direction: row; align-self: flex-end; margin-right: 6px; }
  .bartv__sidemute { margin: 0 0 0 10px; }
  .bartv.is-full .bartv__vol--mini, .bartv.is-theater .bartv__vol--mini { width: 110px; }
}
.bartv__ctrls .bartv__full { padding: 0 9px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1320px) {
  .hero__row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); row-gap: 28px; }
  .hero__row .hero__content { grid-column: 1 / -1; order: -1; }
  .hero__row .hero__logo { width: min(440px, 60vw, 38vh); }
  .bartv, .arcade, .events { align-self: start; }
  .events { justify-self: center; }
}
@media (max-width: 960px) {
  .hero__row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .events { grid-column: 1 / -1; width: min(640px, 100%); transform: none; }
  .events__list { max-height: 320px; }
}
@media (max-width: 700px) {
  .hero__row { grid-template-columns: 1fr; row-gap: 24px; }
  .bartv, .arcade, .events { justify-self: center; }
  .hero__row .hero__logo { width: min(420px, 82vw, 46vh); }
  .arcade { width: min(300px, 100%); }
  .events { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bartv__static, .bartv__sound, .bartv__osd i, .bartv__side .tv__chbtn b { animation: none; } }
/* Barnfind crew favorites (e.g. the GAA auction in Greensboro) */
.ev.is-fav { background: linear-gradient(90deg, rgba(246,185,23,.22), transparent 80%); margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.ev__fav { font-style: normal; font-family: var(--cond); font-weight: 800; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; background: var(--yellow); color: #1a1411; padding: 2px 6px; border-radius: 3px; }

/* backlight: a soft glow on the wall behind the Garage TV (brighter while it's playing) */
.bartv__dock::before {
  content: ""; position: absolute; inset: -14% -9% -10%; z-index: -1; pointer-events: none; border-radius: 40%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,196,92,.42) 0%, rgba(246,150,40,.22) 38%, rgba(215,38,45,.12) 58%, transparent 74%);
  filter: blur(26px); opacity: .45; transition: opacity 1.2s ease;
}
.bartv.is-on .bartv__dock::before { opacity: 1; animation: backlight 7s ease-in-out infinite; }
.bartv.is-popped .bartv__dock::before { opacity: 0; animation: none; }
@keyframes backlight { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .bartv.is-on .bartv__dock::before { animation: none; } }
/* stronger halo hugging the TV frame, like an LED strip on the back of a bar TV */
.bartv__dock::before { inset: -24% -16% -18%; filter: blur(34px);
  background: radial-gradient(ellipse at 50% 50%, rgba(255,190,90,.5) 30%, rgba(246,140,40,.32) 52%, rgba(215,38,45,.14) 68%, transparent 80%); }
.bartv.is-on:not(.is-popped):not(.is-full):not(.is-theater) .bartv__set {
  box-shadow: 0 0 0 1px #2a2a2d, 0 30px 60px rgba(0,0,0,.75), 0 0 46px 6px rgba(255,186,90,.34), 0 0 120px 30px rgba(246,140,40,.16);
}
.bartv__brandlink { color: inherit; text-decoration: none; }
.bartv__brandlink:hover, .bartv__brandlink:focus-visible { color: #fff; text-decoration: underline; }

/* filmstrip: amber arrows + a chunky amber drag bar so it's obvious there's more to scroll */
.filmstrip-wrap { position: relative; margin-top: 10px; }
.filmstrip-wrap .filmstrip { margin-top: 0; padding-bottom: 14px; scrollbar-width: auto; scrollbar-color: var(--yellow) #1d1714; cursor: grab; }
.filmstrip.is-dragging { cursor: grabbing; }
.filmstrip.is-dragging .filmstrip__frame { pointer-events: none; }
.filmstrip::-webkit-scrollbar { height: 9px; }
.filmstrip::-webkit-scrollbar-track { background: #1d1714; border-radius: 999px; margin: 0 10px; }
.filmstrip::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #ffb33a, var(--yellow)); border-radius: 999px; border: 2px solid #1d1714; box-shadow: 0 0 8px rgba(246,185,23,.5); }
.filmstrip::-webkit-scrollbar-thumb:hover { background: #ffd27a; }
.filmstrip__arrow {
  position: absolute; top: calc(50% - 6px); translate: 0 -50%; z-index: 2; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.6rem; line-height: 1; padding-bottom: 3px;
  background: rgba(13,11,10,.88); color: var(--yellow); border: 2px solid var(--yellow);
  box-shadow: 0 0 12px rgba(246,185,23,.45), 0 4px 10px rgba(0,0,0,.6); transition: transform .15s, background .15s;
}
.filmstrip__arrow--l { left: -8px; }
.filmstrip__arrow--r { right: -8px; animation: stripNudge 1.6s ease-in-out 3; }
.filmstrip__arrow:hover { background: var(--yellow); color: #1a1411; transform: scale(1.08); }
@keyframes stripNudge { 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .filmstrip__arrow--r { animation: none; } }

/* Barn Hunter on phones: holding a steer button must steer, not start text selection / the copy menu */
.arcade, .arcade * {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
}
.arcade__btn, #hunter { touch-action: none; }
