* { box-sizing: border-box }
html { color-scheme: dark; background: #0a101a; color: #f7f7fa; font: 100%/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 32% 42%, #1f4252 0%, transparent 53%), radial-gradient(ellipse at 78% 70%, #332a3f 0%, transparent 50%), #0a101a }
main, footer { width: min(88%, 96rem); margin-inline: auto }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 4vh 0 2vh }
h1 { font-size: clamp(2rem, 4.6vw, 5rem); font-weight: 650; line-height: 1.05; letter-spacing: -.055em; margin: 0 0 3vh }
main:has(.tile:only-child) h1 { text-align: center }
.shelf-head { align-self: flex-end }
#library { --cols: 3; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1)*1.35rem)/var(--cols)); gap: 1.35rem; padding: .85rem; margin: 0 -.85rem; overflow-x: auto; scroll-snap-type: x mandatory }
#library.two-rows { grid-template-rows: repeat(2, auto) }
#library:has(.tile:only-child) { grid-auto-columns: min(100%, 99vh, 60rem); justify-content: center }
.tile { display: block; scroll-snap-align: center; text-decoration: none; color: inherit; border-radius: 1.25rem; background: #192631; overflow: hidden; box-shadow: inset 0 0 0 1px #ffffff24 }
.tile:focus, .tile:hover { outline: 3px solid #fff; outline-offset: 4px }
a:focus-visible, button:focus-visible { outline: 3px solid white; outline-offset: 4px }
.wordmark { color: #fff5df }
.wordmark i { color: #ffc181 }
.cover{aspect-ratio:2.35;background:#0a526a url('/studio.jpg') center/cover;display:flex;align-items:center;justify-content:center;gap:5%;container-type:inline-size}
.wordmark{font:bold 2em/.85 Georgia,serif;font-size:clamp(1.6rem,8cqw,4.4rem);letter-spacing:-.065em;text-shadow:0 3px #07394b}
.wheel{width:21%;aspect-ratio:1;border-radius:50%;border:.34em solid #efba76;background:radial-gradient(circle,#fff0b2 0 9%,#173951 10% 22%,transparent 23%),repeating-conic-gradient(from -15deg,#e77f42 0 29deg,#173950 29deg 30deg,#38aaa2 30deg 59deg,#173950 59deg 60deg,#f4bd56 60deg 89deg,#173950 89deg 90deg);box-shadow:0 5px 0 #143340}

.caption { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .95rem 1.45rem }
.caption strong, .caption small { display: block }
.caption strong { font-size: clamp(1.1rem, 1.9vw, 1.8rem); letter-spacing: -.025em }
.caption small { font-size: clamp(.85rem, 1.15vw, 1.15rem); color: #d1dbe2 }
.play { display: grid; place-items: center; width: 2.6em; height: 2.6em; padding-left: .15em; border-radius: 50%; background: #eff4f7; color: #15232e }
footer { padding: 1rem 0 4vh; text-align: center }
footer a { color: #b7c1ce; text-decoration: none }
button { font: inherit; border: 0; border-radius: 1rem; padding: .4rem 1rem; background: #354757; color: white }
button:disabled { opacity: .4 }
@media (max-width: 700px) { #library { --cols: 2 } }
@media (max-width: 480px) { #library { --cols: 1 } .caption { padding: .85rem } }

.hub-title {
  display: grid;
  justify-items: start;
  gap: .07em;
  line-height: .96;
  padding-bottom: .08em;
}
main:has(.tile:only-child) .hub-title { justify-items: center }
.signature {
  color: #ffcb8b;
  font: bold italic .55em/1 Georgia, serif;
  letter-spacing: -.055em;
  transform: rotate(-6deg);
}
.show-title {
  font: 900 italic 1em/.95 "Arial Black", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.055em;
  color: #fff2d8;
  text-shadow: 0 .035em #d39155, 0 .075em #78462f, 0 .13em .18em #09121d;
}

.hub-title { grid-template-columns: auto auto; column-gap: .16em; justify-content: start; align-items: center }
main:has(.tile:only-child) .hub-title { justify-content: center }
.host-mark { width: 1.72em; height: 1.72em; grid-column: 1; grid-row: 1 / span 2 }
.hub-title .signature, .hub-title .show-title { grid-column: 2 }

.cover.poker-cover { background: radial-gradient(ellipse, #367353, #10352a); color: #f3d08a }
.poker-cover > span { font: 6em/1 Georgia, serif }
