:root {
  color-scheme: dark;
  --ink: #260b18;
  --dark: #1b0710;
  --cream: #fff0ed;
  --pink: #ff77b6;
  --neon: #ff318c;
  --script: "Snell Roundhand", "Segoe Script", "Apple Chancery", cursive;
  --edge: #ff9acb;
  --glow: 0 0 5px #fff7, 0 0 13px #ff2689b0, inset 0 0 10px #ff56a448;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--dark); color: var(--cream); font-family: Georgia, serif; }
a { color: inherit; }
button { cursor: pointer; font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #ffb9e3; outline-offset: 4px; }
.skip { position: absolute; z-index: 5; left: 1rem; top: 1rem; transform: translateY(-180%); background: var(--dark); padding: .75rem; }
.skip:focus { transform: none; }
.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem clamp(1rem, 5vw, 5.5rem) .65rem; min-height: 84px;
  background: radial-gradient(ellipse at 18% 100%, #9a174247, transparent 60%), #190910;
  border-bottom: 1px solid #e95c99; position: relative; z-index: 1;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; line-height: .92; flex: none; }
.brand strong { display: block; font-family: var(--script); font-size: clamp(1.8rem, 3.1vw, 3.4rem); color: #fff4f9; text-shadow: 0 0 7px #ff4e9e, 0 0 22px #ff1b75; font-weight: 700; white-space: nowrap; }
.brand small { display: block; font-size: clamp(.62rem, .94vw, .87rem); text-transform: uppercase; letter-spacing: .14em; margin: .35rem 0 0 .2rem; white-space: nowrap; }
.crown { color: #ffb6d1; font-size: clamp(2rem, 4.7vw, 5rem); transform: rotate(-15deg); line-height: 1; text-shadow: 0 0 7px #ff4e9e, 0 0 17px #ff1b75; }
.masthead nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.1rem, 1.1vw, 1.3rem); }
.masthead nav a { text-align: center; display: grid; place-items: center; gap: .12rem; min-width: 4rem; padding: .25rem .45rem; border: 1px solid transparent; border-radius: .65rem; text-decoration: none; font-size: clamp(.82rem, 1.2vw, 1.15rem); font-weight: 700; }
.masthead nav a span { color: #ffc4dd; font-size: 1.65rem; line-height: 1; }
.masthead nav a:hover, .masthead nav a[aria-current] { background: #7624429c; border-color: var(--edge); box-shadow: var(--glow); }
.parlor { position: relative; isolation: isolate; background: radial-gradient(ellipse at 48% 50%, #621332, #200b14 77%); padding-bottom: clamp(1rem, 2vw, 2rem); }
.parlor::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(transparent 44%, #220814b3), url("assets/cozy/hero.jpg") center / cover; opacity: .62; }
.hero { min-height: clamp(510px, 35vw, 660px); display: grid; grid-template-columns: minmax(240px, 23%) minmax(220px, 23%); justify-content: space-between; align-items: start; padding: clamp(1.4rem, 3.5vw, 4rem) clamp(1.3rem, 2.7vw, 3.5rem) 2.8rem; position: relative; isolation: isolate; }
.scene { position: absolute; z-index: -1; inset: 0; background: url("assets/cozy/hero.jpg") center 44% / cover no-repeat; }
.paper { color: var(--ink); position: relative; border: 2px solid #ffc5df; border-radius: 15% 8% 12% 9% / 8% 15% 7% 12%; padding: clamp(1.05rem, 2.1vw, 2.1rem); text-wrap: pretty; box-shadow: 0 0 8px #fff6, 0 0 23px #ff3289a8, inset 0 0 27px #d2376a64; background: radial-gradient(ellipse at 60% 43%, #ffe0d1 12%, transparent 78%), radial-gradient(circle at 19% 20%, #fff9 1px, transparent 2px) 0 0 / 13px 17px, radial-gradient(circle at 70% 70%, #fff8 1px, transparent 2px) 0 0 / 19px 13px, linear-gradient(142deg, #ff8eac, #ffc7be 60%, #f088a4); }
.paper p { margin: 0; }
.paper .hello, .paper .im { font: 700 clamp(2.15rem, 3.65vw, 4.2rem)/.9 var(--script); color: #5c062b; white-space: nowrap; }
.hello span, .im span { color: #ad1552; }
.paper .im { font-size: clamp(1.25rem, 2.2vw, 2.4rem); margin: .53rem 0 .25rem; }
.im span { display: inline-block; margin-left: .5rem; transform: rotate(10deg); }
.paper h1 { margin: 0; font-weight: 700; font-size: clamp(2.65rem, 4.25vw, 5.1rem); line-height: .83; letter-spacing: -.055em; color: #380719; }
.paper h1::first-line { color: #250711; }
.paper .princess { margin-top: .9rem; text-transform: uppercase; line-height: 1.15; letter-spacing: .075em; font-size: clamp(.82rem, 1.07vw, 1rem); font-weight: bold; text-align: center; border-bottom: 1px dashed #9e2c51; padding-bottom: .65rem; }
.paper .bio { margin: .72rem 0 .5rem; line-height: 1.25; font-weight: 600; font-size: clamp(1rem, 1.08vw, 1.18rem); }
.paper-charm { color: #9a1450; display: block; text-align: right; line-height: .9; font-size: 1.65rem; }
.current { margin-top: clamp(.1rem, 1.65vw, 1.8rem); }
.current h2 { color: #890a44; font-size: clamp(1.25rem, 1.95vw, 2.1rem); white-space: nowrap; margin: 0 0 .75rem; text-align: center; text-transform: uppercase; padding-bottom: .5rem; border-bottom: 1px dashed #9e2c51; }
.current dl { margin: 0; display: grid; gap: .55rem; }
.current dl div { display: grid; grid-template-columns: 1.35rem auto minmax(0,1fr); align-items: baseline; gap: .38rem; }
.current dl span { font-size: 1.18rem; color: #82153d; line-height: 1; }
.current dt { font-weight: 700; }
.current dt::after { content: ":"; }
.current dd { margin: 0; }
.current dt,.current dd { font-size: clamp(.88rem, 1.1vw, 1.14rem); }
.station { margin: -.6rem clamp(1rem, 2vw, 2rem) 1.1rem; min-height: 150px; position: relative; display: grid; grid-template-columns: auto minmax(180px, 1.15fr) minmax(155px, 1fr) minmax(110px,.65fr); align-items: center; gap: clamp(.65rem, 1.7vw, 1.7rem); padding: .6rem clamp(.8rem, 1.65vw, 1.65rem); border: 2px solid var(--edge); border-radius: 1.7rem; box-shadow: var(--glow); background: linear-gradient(105deg, #2a0b16ef, #340c1be8, #230812ee); }
.record { border: 1px solid #fba2cc; border-radius: 50%; width: clamp(85px, 9.1vw, 150px); aspect-ratio: 1; display: grid; place-items: center; background: conic-gradient(from 27deg, #46152e40, #090609d4 16%, #ffd3e985 23%, #aa336944 29%, #120a1450 52%, #ff80ad69 63%, #46152e40), repeating-radial-gradient(#130b16 0 2px, #6e3150 3px, #200c1b 4px); }
.record span { border-radius: 50%; width: 43%; aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(circle at 35% 26%, #ff73b4, #bd1f60); border: 1px solid #fff0f7; box-shadow: var(--glow); font-size: clamp(1rem, 2vw, 1.7rem); }
.station-copy h2 { font-family: var(--script); font-size: clamp(1.65rem, 3.2vw, 3.65rem); margin: 0 0 .25rem; line-height: 1; color: #fff0f8; text-shadow: 0 0 7px #ff3492, 0 0 17px #ff217a; }
.station-copy p { margin: .4rem 0; font-size: clamp(.97rem,1.25vw,1.22rem); line-height: 1.3; }
.station-controls { display: grid; justify-items: center; gap: .5rem; }
.pink-button { border: 1px solid #ffc2df; border-radius: 999px; background: linear-gradient(#96375f,#6b1b40); box-shadow: var(--glow); padding: .45rem 1rem; font-weight: 700; }
.pink-button:hover { background: #b82c70; }
.tune { padding-inline: 1.5rem; text-transform: uppercase; }
.waveform { display: flex; justify-content: space-between; align-items: center; gap: clamp(1px,.25vw,4px); width: 100%; height: 47px; padding-inline: .1rem; }
.waveform i { width: 3px; flex: 1; max-width: 3px; background-color: #ffb7d6; border-radius: 10px; box-shadow: 0 0 4px #ff2381, 0 0 11px #ff2381; transform-origin: center; }
.on-air .waveform i { animation: pulse .72s alternate infinite; animation-delay: var(--delay); }
@keyframes pulse { to { transform: scaleY(.45); } }
.station-note { color: #ffc9e0; font: 700 clamp(1.1rem,2.25vw,2.65rem)/.9 var(--script); text-shadow: 0 0 9px #f93588; margin: 0; text-align: center; transform: rotate(-8deg); }
.collections { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.65rem,1.2vw,1.3rem); margin-inline: clamp(1rem,2vw,2rem); }
.card { position: relative; overflow: hidden; border: 2px solid var(--edge); border-radius: 1.25rem; aspect-ratio: 2.1; min-height: 124px; box-shadow: var(--glow); isolation: isolate; background: #551334; }
.card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--card-image) center / cover no-repeat; }
.music-card { --card-image: url("assets/cozy/music.jpg"); }
.art-card { --card-image: url("assets/cozy/art.jpg"); }
.writing-card { --card-image: url("assets/cozy/writing.jpg"); }
.experiments-card { --card-image: url("assets/cozy/experiments.jpg"); }
.card a { display: grid; align-items: end; justify-items: center; height: 100%; padding: .45rem; text-decoration: none; background: linear-gradient(transparent 15%, #3b082631 52%, #3b0826aa); }
.card a:hover { background: linear-gradient(transparent 30%, #96325d66); }
.card a span { display: grid; justify-items: center; border: 1px solid #ffb9d9; background: linear-gradient(#ab5279ee,#691837f2); box-shadow: var(--glow); border-radius: 2rem; padding: .18rem .85rem .35rem; min-width: 66%; }
.card strong { font: 700 clamp(1.62rem, 2.8vw, 3.05rem)/.97 var(--script); }
.card small { margin-top: .15rem; text-transform: uppercase; letter-spacing: .09em; font-size: .63rem; }
.favorite { position: absolute; top: .45rem; right: .45rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: #2a091ad9; color: #ffb8de; border: 1px solid #ffafd6; border-radius: 50%; font-size: 1.5rem; }
.favorite[aria-pressed="true"] { background: #a02357; }
footer { text-align: center; background: #1c0911; padding: .9rem 1rem 1.3rem; color: #ffd1e2; border-top: 1px solid #68223f; }
footer p { margin: 0 0 .25rem; }
footer small { color: #f9c3d5; font-size: .8rem; }

dialog { max-width: min(830px, calc(100% - 1.5rem)); width: 100%; max-height: calc(100% - 1.5rem); padding: clamp(1.2rem, 4vw, 2.85rem); border: 2px solid var(--edge); border-radius: 1.35rem; box-shadow: var(--glow); background: radial-gradient(ellipse at 50% 0, #602039, #230a15 66%); color: var(--cream); overflow: auto; }
dialog::backdrop { background: #160610b8; backdrop-filter: blur(5px); }
.close { display: grid; place-items: center; position: sticky; top: 0; float: right; z-index: 2; width: 44px; height: 44px; margin: 0 0 .45rem .55rem; font-size: 1.8rem; border: 1px solid var(--edge); border-radius: 50%; background: #6b1c40; }
.collection-panel h2 { margin: .25rem 0 .5rem; font-family: var(--script); font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1; text-wrap: balance; }
.collection-panel > p { line-height: 1.46; max-width: 64ch; }
.eyebrow, .credit { color: #ffbddb; text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; font-weight: bold; }
.player { margin-top: 1.25rem; }
.now-playing { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .85rem; padding: .8rem; background: #1d0912; border: 1px solid #b1587d; border-radius: .9rem; }
.now-playing img { width: clamp(64px, 14vw, 120px); height: auto; border-radius: .5rem; }
.now-copy p, .now-copy h3 { margin: .25rem 0; }
.now-copy small { display: block; color: #ffc3da; }
.player-toggle { min-width: 44px; min-height: 44px; padding-inline: .65rem; }
.timeline { grid-column: 1/-1; display: grid; grid-template-columns: 3ch 1fr 3ch; align-items: center; gap: .65rem; font-variant-numeric: tabular-nums; min-width: 0; }
.timeline input { width: 100%; margin: 0; accent-color: #ff529e; }
#player-status { grid-column: 1/-1; margin: 0; }
#radio-status { margin: 0; font-size: .88rem; }
.track-list { list-style: none; padding: 0; margin: .5rem 0 0; }
.track-list li { display: grid; grid-template-columns: 1fr auto; gap: .35rem; align-items: center; border-bottom: 1px solid #81445c; }
.track-list button { min-width: 0; width: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .65rem; align-items: center; text-align: left; padding: .55rem .35rem; background: transparent; border: 0; }
.track-list button[aria-current] { color: #ffb2d6; }
.track-list button:hover { background: #e275a128; }
.track-list button small { display: block; margin-top: .2rem; }
.track-list a { font-size: .88rem; min-height: 44px; display: grid; place-items: center; }
.art-stack { position: relative; width: min(76%, 440px); height: clamp(185px, 45vw, 350px); margin: 1.2rem auto 1.5rem; }
.art-stack figure, .art-stack > img { position: absolute; width: 96%; height: 95%; margin: 0; inset: 2% 2%; border: 5px solid #ffe0eb; border-radius: .65rem; background: #1b0710; box-shadow: 0 0 16px #080308b0; }
.art-stack > img { object-fit: cover; }
.art-stack .stack-back { transform: rotate(9deg) translateX(5%); }
.art-stack .stack-middle { transform: rotate(-8deg) translateX(-5%); }
.art-stack figure img { width: 100%; height: 100%; object-fit: contain; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; text-align: center; }
.gallery-controls button { font-size: 1.4rem; min-width: 44px; min-height: 44px; padding: 0; }
.gallery-controls p { min-width: 10em; margin: 0; }
.gallery-controls span { display: block; margin-top: .22rem; color: #ffbedb; }
.notebook, .processes { display: grid; gap: .7rem; margin-top: 1rem; }
.notebook blockquote, .processes article { margin: 0; border: 1px solid #bd5c80; border-radius: .65rem; padding: .8rem 1rem; background: #2b0e1a; line-height: 1.4; }
.notebook time { display: block; margin-top: .28rem; color: #ffbedb; font-size: .86rem; }
.processes h3, .processes p { margin: .2rem 0; }
@media (min-width: 1500px) { .station { min-height: 165px; } }
@media (max-width: 1020px) {
  .masthead { padding-inline: 1rem; }
  .masthead nav { gap: .1rem; }
  .masthead nav a { min-width: auto; padding-inline: .45rem; }
  .hero { min-height: 465px; }
  .current dl { gap: .47rem; }
}
@media (max-width: 900px) {
  .masthead { display: grid; justify-content: stretch; justify-items: center; gap: .65rem; }
  .masthead nav { width: 100%; justify-content: safe center; overflow-x: auto; padding: .2rem .2rem .35rem; }
  .masthead nav a { min-height: 44px; flex: none; padding-inline: .55rem; }
}
@media (max-width: 760px) {
  .hero { padding: 0 1rem 1.6rem; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; min-height: auto; }
  .scene { position: relative; grid-column: 1/-1; min-height: 360px; margin-inline: -1rem; background-position: 50% 42%; }
  .paper { margin-top: -2.9rem; z-index: 1; }
  .paper .hello { font-size: clamp(1.85rem, 6vw, 2.8rem); }
  .paper h1 { font-size: clamp(2.55rem, 7.75vw, 3.65rem); }
  .current h2 { font-size: clamp(1.1rem, 3.6vw, 1.65rem); }
  .station { margin-top: 0; grid-template-columns: auto 1fr; }
  .station-controls { grid-column: 1/-1; margin-inline: .55rem; }
  .station-note { display: none; }
  .collections { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .masthead { padding-inline: .2rem; }
  .masthead nav { justify-content: safe center; gap: 0; }
  .masthead nav a { padding-inline: .32rem; font-size: .73rem; }
  .masthead nav a span { font-size: 1.3rem; }
  .hero { grid-template-columns: minmax(0,1fr); }
  .scene { min-height: 310px; }
  .paper { width: min(100%, 28rem); justify-self: center; padding: 1.1rem 1.5rem; }
  .current { margin-top: .1rem; }
  .paper .hello { font-size: 2.7rem; }
  .paper h1 { font-size: 3.65rem; }
  .paper h1 br { display: none; }
  .paper .princess { text-align: left; }
  .paper .princess br { display: none; }
  .card { min-height: 106px; }
  .card a span { padding-inline: .5rem; }
  .card strong { font-size: 1.45rem; }
  .card small { font-size: .56rem; }
  .favorite { width: 38px; height: 38px; }
}
@media (max-width: 365px) {
  .masthead nav { justify-content: flex-start; }
  .paper h1 { font-size: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
