/* tobuscus.com, "the classics are coming back" design:
   warm cream page, royal blue + lime accents, big tight headline, photo cards, navy bedtime band. */
:root {
  --cream: #f7f1e8;
  --ink: #141414;
  --muted: #4b4b4b;
  --blue: #1a3fd1;
  --blue-deep: #1230a8;
  --lime: #c6f33a;
  --navy: #0d1834;
  --line: #2a2a2a;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.5 Inter, system-ui, -apple-system, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* blue strip */
.strip { background: var(--blue); color: var(--lime); text-align: center; font: 700 13px/1 Inter, sans-serif; letter-spacing: .28em; text-transform: uppercase; padding: 11px 16px; }

/* header */
.top { background: #0b0b0b; color: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top .bar { height: 76px; }
.brand { flex: 0 1 300px; min-width: 120px; }
.brand img { width: 100%; max-width: 300px; height: auto; }
.top nav { flex: none; }
.top nav, .foot nav { display: flex; gap: 40px; }
.top nav a, .foot nav a { font: 800 17px Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: 4px 0; }
.top nav a.on { box-shadow: inset 0 -4px 0 var(--lime); }
.top nav a:hover, .foot nav a:hover { box-shadow: inset 0 -4px 0 var(--lime); }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 40%, #f3ead9 62%, #b9cdf0 100%); min-height: 450px; }
.hero-grid { position: relative; z-index: 2; display: flex; align-items: center; min-height: 450px; }
.hero-text { max-width: 560px; padding: 40px 0; }
.hero .lead { max-width: 24em; }
.hero h1 { font: 800 clamp(42px, 6.2vw, 68px)/1.02 "Inter Tight", Inter, sans-serif; letter-spacing: -.035em; margin: 0 0 22px; }
.swash { background: linear-gradient(transparent 82%, var(--lime) 82%, var(--lime) 94%, transparent 94%); }
.lead { font-size: 19px; color: #222; margin: 0 0 28px; max-width: 30em; }
.btn-dark { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; text-decoration: none; font: 700 19px Inter, sans-serif; padding: 15px 34px; border-radius: 999px; }
.btn-dark:hover { background: #000; }
.perk { font-style: italic; color: #333; margin: 26px 0 0; display: flex; align-items: center; gap: 12px; }
.slash { display: inline-block; width: 5px; height: 18px; background: var(--lime); transform: skewX(-22deg); border-radius: 2px; }
.hero-pic { position: absolute; top: 0; right: 0; bottom: 0; width: 47%; z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* vault */
.vault { padding: 30px 24px 50px; }
.rule { display: flex; align-items: center; gap: 30px; font: 700 20px Inter, sans-serif; letter-spacing: .32em; text-transform: uppercase; margin: 10px 0 28px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card .pic { aspect-ratio: 330 / 270; overflow: hidden; background: #ece6dc; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font: 800 26px/1.2 "Inter Tight", Inter, sans-serif; letter-spacing: -.02em; margin: 14px 0 10px; }
.pill { display: inline-block; border: 2px solid var(--blue); color: var(--blue); border-radius: 9px; font: 700 15px Inter, sans-serif; padding: 4px 26px; text-decoration: none; background: #fff; }
.pill:hover { background: var(--blue); color: #fff; }
.pill.soon { cursor: default; }
.pill.soon:hover { background: #fff; color: var(--blue); }

/* bedtime band */
.bedtime { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.bed-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; background: url(img/v2/bedtime.webp) right center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }

.bed-grid { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 320px; padding-top: 36px; padding-bottom: 36px; }
.bed-text { max-width: 520px; }
.kicker { display: flex; align-items: center; gap: 12px; font: 700 14px Inter, sans-serif; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 16px; }
.bedtime h2 { font: 800 clamp(36px, 5vw, 54px)/1.05 "Inter Tight", Inter, sans-serif; letter-spacing: -.03em; margin: 0 0 14px; }
.bed-text p { color: #e6e9f2; margin: 0 0 22px; }
.link-lime { color: #fff; font: 800 19px Inter, sans-serif; text-decoration: none; box-shadow: inset 0 -3px 0 var(--lime); padding-bottom: 3px; }
.link-lime.soon { color: #cfd5e6; cursor: default; }
.phone { width: 190px; flex: none; border: 6px solid #1b1b1f; border-radius: 30px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.5); transform: rotate(4deg); margin-right: 40px; }

/* footer */
.foot { padding: 26px 0; }
.foot-logo { width: 170px; max-width: 40vw; height: auto; }

/* phones */
@media (max-width: 820px) {
  .top nav { gap: 22px; }
  .hero { background: var(--cream); min-height: 0; }
  .hero-grid { min-height: 0; }
  .hero-pic { position: static; width: 100%; height: 300px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .bedtime { display: flex; flex-direction: column; }
  .bed-bg { position: relative; order: 2; width: 100%; height: 230px; background-position: center; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .bed-grid { min-height: 0; padding-bottom: 8px; }
  .phone { display: none; }
}
@media (max-width: 520px) {
  .top .bar { height: 64px; }
  .top nav { gap: 14px; }
  .top nav a { font-size: 14px; }
  .strip { font-size: 11px; letter-spacing: .2em; }
  .cards { grid-template-columns: 1fr; }
  .rule { font-size: 14px; gap: 14px; letter-spacing: .22em; }
  .foot nav { gap: 18px; }
  .foot nav a { font-size: 14px; }
}

/* black top: header + hero */
.hero { background: #0b0b0b; color: #fff; }
.hero .lead { color: #d8d8d8; }
.hero .perk { color: #cfcfcf; }
.hero .btn-dark { background: #fff; color: #0b0b0b; }
.hero .btn-dark:hover { background: var(--lime); }
.hero-pic {
  -webkit-mask-image: radial-gradient(ellipse 50% 56% at 55% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 56% at 55% 50%, #000 62%, transparent 100%);
}
@media (max-width: 820px) {
  .hero { background: #0b0b0b; }
}

.bedtime .bed-sub { font: 700 20px/1.3 Inter, sans-serif; color: var(--lime); margin: -4px 0 12px; }

@media (max-width: 520px) {
  .foot .bar { flex-direction: column; gap: 14px; }
}

/* notify-me email box */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.notify { display: flex; flex-wrap: wrap; gap: 10px; max-width: 540px; }
.notify input { flex: 1 1 220px; min-width: 0; font: 500 17px Inter, sans-serif; padding: 14px 20px; border-radius: 999px; border: 2px solid #3a3a3a; background: #161616; color: #fff; }
.notify input::placeholder { color: #8a8a8a; }
.notify input:focus { outline: none; border-color: var(--lime); }
.notify button { border: 0; cursor: pointer; }
.hero .notify .btn-dark { background: #fff; color: #0b0b0b; }
.hero .notify .btn-dark:hover { background: var(--lime); }
.fine { flex-basis: 100%; margin: 4px 0 0 6px; font-size: 13px; color: #a9a9a9; }
.fine.err { color: #ff8a7a; }
.notify.done input, .notify.done button { display: none; }
.notify.done .fine { font-size: 17px; color: var(--lime); margin-left: 0; }

[hidden] { display: none !important; }

/* hero carousel */
.hero { display: grid; }
.hero .slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.hero .slide.on { opacity: 1; visibility: visible; transition: opacity 1.2s ease; }
.s-sleepy { background: #0b0b0b; overflow: hidden; }
.s-sleepy .rooms img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; opacity: 0; transition: opacity 1.4s ease; }
.s-sleepy .rooms img.on { opacity: 1; }
.s-sleepy .rooms::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,.92) 0%, rgba(11,11,11,.75) 35%, rgba(11,11,11,.1) 65%, transparent 100%); }
.s-sleepy .hero-grid { position: relative; z-index: 2; }
.s-sleepy .kicker { color: #fff; }
.hero h2.big { font: 800 clamp(40px, 6vw, 64px)/1.02 "Inter Tight", Inter, sans-serif; letter-spacing: -.035em; margin: 0 0 10px; }
.s-sleepy .bed-sub { font: 700 20px/1.3 Inter, sans-serif; color: var(--lime); margin: 0 0 14px; }
.dots { position: absolute; z-index: 5; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero { position: relative; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.dots button.on { background: var(--lime); width: 26px; border-radius: 6px; }
@media (max-width: 820px) {
  .s-sleepy .rooms::after { background: linear-gradient(180deg, rgba(11,11,11,.9) 0%, rgba(11,11,11,.7) 55%, rgba(11,11,11,.2) 100%); }
  .s-sleepy .hero-grid { min-height: 520px; align-items: flex-start; }
}

/* "Remember this?": big stage reel + a scrollable strip of old TVs */
.classics { background: #0b0b0b; color: #fff; padding: 56px 0 60px; }
.cl-head { font: 800 clamp(40px, 6vw, 64px)/1.02 "Inter Tight", Inter, sans-serif; letter-spacing: -.035em; margin: 0 0 8px; }
.cl-head .swash { background: linear-gradient(transparent 82%, var(--lime) 82%, var(--lime) 94%, transparent 94%); }
.cl-sub { color: #cfcfcf; font-size: 19px; font-style: italic; margin: 0 0 26px; }
.reel { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 2px #1d1d1d, 0 20px 50px rgba(0,0,0,.6); }
.reel video, .tv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reel video { opacity: 0; transition: opacity .7s ease; }
.reel video.on { opacity: 1; }
.tv video { pointer-events: none; }
/* old-tape look: soft scanlines + a little vignette */
.reel::after, .tv::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.45) 100%); }
.vhs, .vhs-time { position: absolute; z-index: 2; font: 700 clamp(14px, 2.2vw, 24px)/1 "Courier New", ui-monospace, monospace; color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.6), 0 0 8px rgba(255,255,255,.35); letter-spacing: .06em; }
.vhs { top: 5%; left: 4%; }
.vhs-time { bottom: 6%; right: 4%; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.reel.is-yt::after { display: none; }
.reel-back { position: absolute; z-index: 4; top: 12px; right: 12px; font: 700 13px/1 Inter, sans-serif; color: #0b0b0b; background: #fffaf2; border: 2px solid #b8a88f; border-radius: 999px; padding: 8px 12px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.reel-back:hover { box-shadow: 0 0 0 3px var(--lime); }
.reel-back[hidden] { display: none; }
.tvs-wrap { position: relative; margin: 16px 0 30px; }
.tvs { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 2px; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-x; }
.tvs::-webkit-scrollbar { display: none; }
.tvs.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.tv { position: relative; flex: 0 0 calc((100% - 42px) / 4); aspect-ratio: 4 / 3; background: #111; border-radius: 22px / 18px; overflow: hidden; border: 6px solid #222; box-shadow: inset 0 0 0 2px #2e2e2e, 0 10px 24px rgba(0,0,0,.5); scroll-snap-align: start; cursor: pointer; }
.tv.active { outline: 3px solid var(--lime); outline-offset: 2px; }
.tv:nth-child(odd) { transform: rotate(-1.2deg); }
.tv:nth-child(even) { transform: rotate(1deg); }
@media (max-width: 820px) {
  .tv { flex-basis: calc((100% - 28px) / 2.3); }
}
@media (max-width: 520px) {
  .classics { padding: 40px 0 46px; }
  .tv { border-width: 4px; }
}

/* watch + link buttons */
.watch { background: #0b0b0b; padding: 28px 0 40px; }
.watch .links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.watch .links a { font-family: "Inter Tight", Inter, sans-serif; font-weight: 800; font-size: 16px; color: #0b0b0b; background: #fff; text-decoration: none; padding: 11px 20px; border-radius: 999px; }
.watch .links a:hover { background: var(--lime); }
.watch .player { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.watch .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch .socials { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin: -6px 0 24px; }
.watch .socials a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; text-decoration: none; font: 600 11px/1 Inter, sans-serif; opacity: .85; }
.watch .socials a:hover { opacity: 1; color: var(--lime); }
.watch .socials svg { width: 26px; height: 26px; fill: currentColor; padding: 11px; border: 2px solid currentColor; border-radius: 50%; box-sizing: content-box; }
.watch .watch-row { display: flex; gap: 22px; align-items: flex-start; justify-content: center; max-width: 1000px; margin: 0 auto; }
.watch .watch-row .player { flex: 1; margin: 0; }
.watch .watch-row .socials { flex-direction: column; flex-wrap: nowrap; gap: 14px; margin: 0; }
@media (max-width: 760px) {
  .watch .watch-row { flex-direction: column; align-items: stretch; }
  .watch .watch-row .socials { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}


/* from the blog */
.watch .from-blog { margin: 4px 0 32px; color: #fff; }
.from-blog .blog-head {
  font: 800 clamp(32px, 5vw, 48px)/1.05 "Inter Tight", Inter, sans-serif;
  letter-spacing: -.03em;
  margin: 0 0 18px;
  text-align: center;
  color: #fff;
}
.blog-cards, .blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.blog-list { grid-template-columns: 1fr; max-width: 720px; margin: 28px 0 0; }
.blog-card {
  display: flex; flex-direction: column;
  background: #fffaf2; color: var(--ink);
  border-radius: 16px; overflow: hidden; text-decoration: none;
}
.blog-card:hover { box-shadow: 0 0 0 3px var(--lime); }
.blog-card .pic { aspect-ratio: 16 / 10; overflow: hidden; background: #ece6dc; }
.blog-card .pic.icon { background: #0b0b0b; }
.blog-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .pic.icon img { object-fit: contain; padding: 10% 16%; }
.blog-card .meta { padding: 16px 18px 20px; flex: 1; }
.blog-card time, .post-page time {
  font: 700 13px/1 Inter, sans-serif;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.blog-card h2, .blog-card h3 {
  font: 800 24px/1.2 "Inter Tight", Inter, sans-serif;
  letter-spacing: -.02em; margin: 8px 0 8px;
}
.blog-card p { margin: 0; color: var(--muted); }
.blog-all { text-align: center; margin: 18px 0 0; }
.blog-all a {
  color: #fff; font: 800 16px Inter, sans-serif;
  text-decoration: none; box-shadow: inset 0 -3px 0 var(--lime); padding-bottom: 3px;
}
.blog-all a:hover { color: var(--lime); }
.blog-sentinel { height: 1px; }
@media (max-width: 620px) {
  .blog-cards { grid-template-columns: 1fr; }
}

/* blog post + index pages (cream) */
.post-page { padding: 48px 0 70px; max-width: 740px; }
.post-page > .kicker { margin: 0 0 14px; }
.post-page > .kicker a { text-decoration: none; }
.post-page > .kicker a:hover { color: var(--blue); }
.post-page > time { display: block; margin: 0 0 10px; }
.post-page h1 {
  font: 800 clamp(36px, 6vw, 58px)/1.05 "Inter Tight", Inter, sans-serif;
  letter-spacing: -.035em; margin: 0 0 22px;
}
.post-page .lead { font-size: 20px; color: #222; margin: 0 0 22px; max-width: 36em; }
.post-page p { margin: 0 0 18px; max-width: 38em; }
.post-page a { color: var(--blue); font-weight: 700; text-decoration: none; box-shadow: inset 0 -3px 0 var(--lime); padding-bottom: 1px; }
.post-page a:hover { color: var(--blue-deep); }
.post-page .fine-line { font-size: 14px; color: var(--muted); margin-top: 28px; }
.post-fig { margin: 8px 0 26px; }
.post-fig img { width: 100%; height: auto; border-radius: 16px; background: #ece6dc; }
.post-fig.icon { background: #0b0b0b; border-radius: 16px; padding: 28px; text-align: center; }
.post-fig.icon img { width: min(220px, 60%); margin: 0 auto; background: transparent; border-radius: 0; }
.post-more-label {
  font: 700 13px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase;
  margin: 36px 0 12px; color: var(--muted);
}
.post-more { display: flex; flex-wrap: wrap; gap: 12px; }
.post-more a {
  display: inline-block; border: 2px solid var(--blue); color: var(--blue);
  border-radius: 9px; font: 700 15px Inter, sans-serif; padding: 6px 18px;
  text-decoration: none; background: #fff; box-shadow: none;
}
.post-more a:hover { background: var(--blue); color: #fff; }
.blog-list .blog-card { flex-direction: column; align-items: stretch; }
.blog-list .blog-card .pic { width: 240px; flex: none; aspect-ratio: auto; min-height: 150px; }
@media (max-width: 620px) {
  .blog-list .blog-card { flex-direction: column; }
  .blog-list .blog-card .pic { width: 100%; aspect-ratio: 16 / 10; min-height: 0; }
  .post-page { padding: 32px 0 50px; }
}

.talk-wrap { margin: 28px 0 8px; }
.talk-x {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 15px Inter, sans-serif;
}
.talk-x svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.post-page .talk-x { box-shadow: none; padding: 6px 18px; }
.post-page .talk-x:hover { color: #fff; }
.blog-card .talk-wrap { margin: 12px 18px 18px; }
.blog-card .talk-x { padding: 5px 14px; font-size: 14px; }

.blog-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.blog-card-link:hover { color: inherit; }
.blog-list .blog-card-link { flex-direction: row; align-items: stretch; flex: 1; min-width: 0; }
@media (max-width: 620px) {
  .blog-list .blog-card-link { flex-direction: column; }
}

.post-page .blog-card-link,
.post-page .blog-card-link h2,
.post-page .blog-card-link p,
.post-page .blog-card-link time {
  color: inherit;
  box-shadow: none;
  font-weight: inherit;
  padding-bottom: 0;
}
.post-page .blog-card-link h2 { color: var(--ink); font-weight: 800; }
.post-page .blog-card-link p { color: var(--muted); }
.post-page .blog-card-link:hover { color: inherit; }
/* darker borders on cards */
.card .pic { border: 2px solid #b8a88f; border-radius: 12px; }
.blog-card { border: 2px solid #b8a88f; }

/* blog carousel: one row, arrow through to the right */
.blog-carousel { position: relative; }
.blog-track { display: flex; grid-template-columns: none; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; margin: -4px; }
.blog-track::-webkit-scrollbar { display: none; }
.blog-track .blog-card { flex: 0 0 calc((100% - 16px) / 2); scroll-snap-align: start; }
.blog-arrow { position: absolute; top: 38%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #b8a88f; background: #fffaf2; color: #0b0b0b; font-size: 32px; line-height: 40px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.blog-arrow:hover { box-shadow: 0 0 0 3px var(--lime); }
.blog-arrow.prev { left: -22px; }
.blog-arrow.next { right: -22px; }
.blog-arrow[hidden] { display: none; }
@media (max-width: 760px) {
  .blog-track .blog-card { flex-basis: 86%; }
  .blog-arrow.prev { left: -6px; } .blog-arrow.next { right: -6px; }
}
#watch, #blog, #socials, #apps { scroll-margin-top: 90px; }
@media (max-width: 520px) {
  .top nav { gap: 10px; }
  .top nav a { font-size: 12px; letter-spacing: .02em; }
  .top .brand img { max-width: 108px; }
}

/* video titles on the TVs, and the WATCH heading (17 Nov) */
.tv-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 10px 8px; font: 700 12px/1.25 Inter, sans-serif; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); background: linear-gradient(transparent, rgba(0,0,0,.75)); pointer-events: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.watch .watch-head { font: 800 clamp(32px, 5vw, 48px)/1.05 "Inter Tight", Inter, sans-serif; letter-spacing: -.03em; margin: 8px 0 18px; text-align: center; color: #fff; }
.classics .cl-head { margin-top: 0; }
@media (max-width: 520px) { .tv-title { font-size: 11px; padding: 14px 8px 6px; } }

/* social icons: a slim rail fixed on the left edge (wide screens), a row under the menu (everything else) */
.social-rail { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; background: #0b0b0b; padding: 2px 16px 14px; }
.social-rail a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: #0b0b0b; border: 2px solid rgba(255,255,255,.75); text-decoration: none; transition: color .15s, border-color .15s, transform .15s; }
.social-rail a:hover, .social-rail a:focus-visible { color: var(--lime); border-color: var(--lime); transform: scale(1.08); }
.social-rail svg { width: 18px; height: 18px; fill: currentColor; }
.social-rail span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 1240px) {
  .social-rail { position: fixed; z-index: 60; left: 18px; top: 50%; transform: translateY(-50%); flex-direction: column; flex-wrap: nowrap; gap: 10px; padding: 12px 8px; background: rgba(11,11,11,.88); border-radius: 999px; box-shadow: 0 6px 24px rgba(0,0,0,.35); backdrop-filter: blur(6px); }
}

/* Socials page */
.socials-page { background: #0b0b0b; color: #fff; }
.soc-main { padding: 46px 0 70px; }
.soc-head { font: 800 clamp(44px, 7vw, 72px)/1 "Inter Tight", Inter, sans-serif; letter-spacing: -.035em; margin: 0 0 10px; }
.soc-total { font-size: 20px; color: #d8d8d8; margin: 0 0 30px; }
.soc-total strong { color: #fff; background: linear-gradient(transparent 70%, var(--lime) 70%, var(--lime) 92%, transparent 92%); color: #fff; }
.soc-list { display: grid; gap: 12px; }
.soc-card { display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 16px; background: #161616; border: 2px solid #232323; color: #fff; text-decoration: none; transition: border-color .15s, transform .15s; }
.soc-card:hover, .soc-card:focus-visible { border-color: var(--lime); transform: translateY(-2px); }
.soc-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); }
.soc-icon svg { width: 24px; height: 24px; fill: currentColor; }
.soc-who { display: flex; flex-direction: column; min-width: 0; }
.soc-plat { font: 700 12px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 5px; }
.soc-who strong { font: 800 22px/1.15 "Inter Tight", Inter, sans-serif; }
.soc-handle { color: #bdbdbd; font-size: 15px; }
.soc-blurb { color: #9a9a9a; font-size: 14px; margin-top: 3px; }
.soc-count { text-align: right; display: flex; flex-direction: column; }
.soc-count strong { font: 800 30px/1 "Inter Tight", Inter, sans-serif; color: var(--lime); }
.soc-count span { font-size: 13px; color: #bdbdbd; }
.soc-btn { font: 800 15px Inter, sans-serif; background: #fff; color: #0b0b0b; padding: 10px 18px; border-radius: 999px; }
.soc-card:hover .soc-btn { background: var(--lime); }
.soc-kofi { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; color: #fff; font: 700 18px Inter, sans-serif; text-decoration: none; }
.soc-kofi .soc-icon { width: 44px; height: 44px; }
.soc-kofi:hover { color: var(--lime); }
.soc-note { color: #7d7d7d; font-size: 13px; margin-top: 26px; }
@media (max-width: 640px) {
  .soc-card { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 14px; }
  .soc-icon { width: 42px; height: 42px; }
  .soc-icon svg { width: 20px; height: 20px; }
  .soc-btn { display: none; }
  .soc-who strong { font-size: 18px; }
  .soc-count strong { font-size: 24px; }
  .soc-blurb { display: none; }
}

/* phones: logo on top, menu centered underneath (the menu has 5-6 items now) */
@media (max-width: 600px) {
  .top .bar { height: auto; flex-direction: column; gap: 10px; padding-top: 14px; padding-bottom: 12px; }
  .brand { flex: none; width: 190px; min-width: 0; }
  .top nav { flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
  .top nav a { font-size: 14px; }
}

/* Games page */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.game-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #161616; border: 2px solid #232323; color: #fff; text-decoration: none; transition: border-color .15s, transform .15s; }
a.game-card:hover, a.game-card:focus-visible { border-color: var(--lime); transform: translateY(-2px); }
.game-pic { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1a3fd1, #0d1834); display: flex; align-items: center; justify-content: center; }
.game-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-pic span { font: 800 64px/1 "Inter Tight", Inter, sans-serif; color: var(--lime); }
.game-play { position: absolute; right: 12px; bottom: 12px; font: 800 14px Inter, sans-serif; background: #fff; color: #0b0b0b; padding: 8px 14px; border-radius: 999px; }
a.game-card:hover .game-play { background: var(--lime); }
.game-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.game-text strong { font: 800 21px/1.2 "Inter Tight", Inter, sans-serif; }
.game-text span { color: #bdbdbd; font-size: 15px; }
.game-text a, .games-page .soc-note a { color: #fff; }
.game-card.soon { border-style: dashed; }

/* instant hover label on the social icons, showing the link */
.social-rail a { position: relative; }
.social-rail a::after { content: attr(data-tip); position: absolute; z-index: 70; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 13px/1 Inter, sans-serif; color: #0b0b0b; background: var(--lime); padding: 7px 10px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.35); opacity: 0; pointer-events: none; }
.social-rail a:hover::after, .social-rail a:focus-visible::after { opacity: 1; }
@media (min-width: 1240px) {
  .social-rail a::after { top: 50%; left: calc(100% + 14px); transform: translateY(-50%); }
}
.social-rail { position: relative; z-index: 20; }
@media (min-width: 1240px) { .social-rail { position: fixed; z-index: 60; } }

/* TobyGames carousel on the Games page */
.tg { margin: 44px 0 10px; }
.tg-screen img.tg-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tg-start { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; background: rgba(0,0,0,.18); cursor: pointer; }
.tg-start:hover { background: rgba(0,0,0,.05); }
.tg-start .vhs { top: 5%; left: 4%; }
.tg-now { position: absolute; z-index: 2; bottom: 6%; left: 4%; font: 700 clamp(14px, 2.2vw, 24px)/1 "Courier New", ui-monospace, monospace; color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.7); letter-spacing: .04em; pointer-events: none; }
.tg-screen.is-yt .tg-start, .tg-screen.is-yt .tg-now { display: none; }
.tg-seasons { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; min-height: 0; }
.tg-seasons .pill { cursor: pointer; font-size: 14px; padding: 5px 16px; }
.tg-seasons .pill.on { background: var(--lime); border-color: var(--lime); color: #0b0b0b; }
.tv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
#tgTvs .tv img { transform: scale(1.34); }
/* TobyGames TVs: the playing YouTube moment, zoomed so the player's own buttons and title sit outside the TV */
#tgTvs .tv .tv-yt { position: absolute; z-index: 1; top: 50%; left: 50%; width: 180%; height: 180%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
#tgTvs .tv .tv-title { z-index: 2; }
/* tan band behind the TobyGames carousel (full width, like the vault on the home page) */
.tg { background: var(--cream); color: var(--ink); box-shadow: 0 0 0 100vmax var(--cream); clip-path: inset(0 -100vmax); padding: 34px 0 30px; margin-top: 56px; }
.tg .tv { border-color: #2a2a2a; }
