@font-face { font-family: 'Great Vibes'; src: url('/assets/great-vibes.ttf') format('truetype'); font-display: swap; }
:root { color-scheme: dark; --navy: #001927; --wine: #790d29; --gold: #efbb70; --border: #9e824e; --cream: #fff0dd; }
* { box-sizing: border-box; }
html { background: var(--navy); scroll-padding-top: 16px; }
body { margin: 0; color: var(--cream); font: 15px/1.45 Arial, Helvetica, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.page { max-width: 580px; margin: auto; padding: 0 12px; }
.masthead { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 12px 12px 3px; border: 1px solid var(--border); border-top: 0; background: var(--wine); }
.brand { display: flex; align-items: center; gap: 7px; text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: -.6px; }
.brand img { width: 40px; height: 28px; }
nav { display: flex; gap: 12px; align-items: center; }
nav a, nav button { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; }
.text-link { color: inherit; border: 0; padding: 0 3px; background: none; text-decoration: underline; text-underline-offset: 2px; }
nav a:hover, .text-link:hover { color: var(--gold); }
.lights { position: absolute; inset: 0 5px auto; display: flex; justify-content: space-around; border-top: 1px solid #6c7541; pointer-events: none; }
.lights i { width: 4px; height: 7px; margin-top: 3px; background: #ffbd54; border-radius: 40% 40% 50% 50%; box-shadow: 0 0 5px #ffbd5480; }
.lights i:nth-child(3n) { background: #67c482; box-shadow: 0 0 5px #67c48280; }
.lights i:nth-child(4n) { background: #ee6571; box-shadow: 0 0 5px #ee657180; }
.lights i:nth-child(5n) { background: #86bfff; box-shadow: 0 0 5px #86bfff80; }
@media (prefers-reduced-motion: no-preference) {
  .lights i { animation: holiday-glow 3.6s ease-in-out infinite; }
  .lights i:nth-child(4n + 1) { animation-delay: -2.7s; }
  .lights i:nth-child(4n + 2) { animation-delay: -1.8s; }
  .lights i:nth-child(4n + 3) { animation-delay: -.9s; }
}
@keyframes holiday-glow {
  0%, 50%, 100% { opacity: .45; filter: brightness(.85); }
  25% { opacity: 1; filter: brightness(1.35); }
}
h1 { font: 400 44px/1.15 'Great Vibes', cursive; color: var(--gold); text-align: center; margin: 26px 0 24px; }
.panel { border: 1px solid var(--border); margin: 0 0 8px; }
h2 { margin: 0; padding: 4px 9px; background: var(--wine); border-bottom: 1px solid var(--border); font: 400 19px/1.25 Georgia, serif; }
h3, p { margin: 0; }
strong, .blurb h3 { color: var(--gold); }
.profile { display: flex; align-items: center; gap: 16px; padding: 9px; }
.album { width: 44%; max-width: 215px; height: auto; }
.profile-details { flex: 1; font-size: 14px; }
.profile-details p + p { margin-top: 16px; }
.release-body { text-align: center; padding: 12px 8px 15px; }
.release h3 { font: 700 23px/1.3 Georgia, serif; color: var(--gold); }
.countdown { display: flex; justify-content: center; align-items: flex-start; gap: clamp(4px, 1.5vw, 10px); margin: 7px 0 13px; font-variant-numeric: tabular-nums; }
.countdown span, .countdown b { font: 700 clamp(32px, 9vw, 44px)/1.15 Georgia, serif; }
.countdown b { font-size: 28px; padding-top: 3px; }
.countdown small { display: block; color: var(--gold); text-transform: uppercase; font-size: 10px; letter-spacing: .5px; }
.release-date { font-size: 13px; }
.release-date small { display: block; font-size: 11px; margin-top: 3px; }
.released { margin: 15px 0; font-size: 18px; }
[hidden] { display: none !important; }
.blurb { padding: 10px; }
.blurb h3 { font-size: 16px; margin-bottom: 2px; }
.blurb p + h3 { margin-top: 12px; }
.friends-body { padding: 9px; }
.friend-count { font-weight: 700; margin-bottom: 9px; }
.friends { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 5px; }
.friends li { text-align: center; font-size: 11px; }
.friends img { display: block; width: 60px; max-width: 100%; height: 60px; margin: 0 auto 3px; border: 1px solid var(--border); object-fit: cover; image-rendering: pixelated; }
.friends span { text-decoration: underline; text-underline-offset: 2px; }
.comments { margin: 0; padding: 0; list-style: none; }
.comments li { display: flex; gap: 12px; padding: 9px; align-items: flex-start; }
.comments li + li { border-top: 1px solid var(--border); }
.comments img { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--border); image-rendering: pixelated; }
.comments h3 { font-size: 12px; font-weight: 400; text-decoration: underline; margin-bottom: 4px; }
.comments p { font-size: 14px; }
footer { text-align: center; color: #c4b9a8; font: 11px/1.5 Arial, Helvetica, sans-serif; padding: 8px 0 20px; }
footer a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; vertical-align: middle; font-size: 12px; text-decoration: none; }
dialog { color: var(--cream); background: var(--navy); border: 1px solid var(--gold); padding: 0; width: min(340px, calc(100% - 32px)); max-height: calc(100dvh - 40px); box-shadow: 0 15px 65px #0008; }
dialog::backdrop { background: #000a; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-title { display: flex; align-items: center; justify-content: space-between; background: var(--wine); border-bottom: 1px solid var(--border); }
.dialog-title h2 { border: 0; font-size: 22px; }
.dialog-title button { border: 0; background: none; color: inherit; width: 44px; height: 44px; font-size: 28px; }
.dialog-title button:hover, .button:hover { background: #9a1837; }
.dialog-body { text-align: center; padding: 14px 18px 24px; }
.music-note { color: var(--gold); font-size: 44px; }
.dialog-body h3 { font-size: 22px; line-height: 1.4; margin: 8px 0 14px; }
.dialog-body p { margin-bottom: 22px; }
.button { border: 1px solid var(--gold); background: var(--wine); color: inherit; min-width: 120px; min-height: 44px; padding: 8px 20px; }
.skip-link { position: fixed; top: -70px; left: 12px; z-index: 5; background: var(--wine); padding: 12px; }
.skip-link:focus { top: 12px; }
@media (max-width: 359px) { .brand { font-size: 18px; gap: 4px; } .brand img { width: 30px; } nav { gap: 8px; } .profile { gap: 10px; } .profile-details { font-size: 12px; } h2 { font-size: 17px; } }
@media (min-width: 600px) { .page { padding-top: 16px; } h1 { font-size: 55px; } .profile { padding: 14px; gap: 28px; } .profile-details { font-size: 16px; } .friends img { width: 82px; height: 82px; } .friends li { font-size: 13px; } }
