/* ============================================================
   雨夜同行 / Rainy Night Companion — Shared stylesheet
   ============================================================ */

:root{
  --bg:        #08090c;
  --bg-2:      #0e1014;
  --surface:   #14171d;
  --line:      #1f242c;
  --cream:     #ecead8;
  --cream-2:   #c9c6b0;
  --muted:     #75766a;
  --copper:    #c4763a;
  --gold:      #d9a85a;
  --teal:      #5e8f8c;
  --teal-2:    #7fb0ad;
  --red:       #b9442e;
  --serif:     "Fraunces", "Noto Serif SC", serif;
  --cn:        "Noto Serif SC", "Fraunces", serif;
  --mono:      "JetBrains Mono", ui-monospace, monospace;
  --maxw:      1440px;
  --pad:       clamp(18px, 4vw, 64px);
  --safe-l:    env(safe-area-inset-left, 0px);
  --safe-r:    env(safe-area-inset-right, 0px);
  --safe-b:    env(safe-area-inset-bottom, 0px);
  --ease:      cubic-bezier(.2,.7,.2,1);
  --topbar-h:  62px;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background: var(--bg);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(15.5px, 1.1vw + 12px, 17px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
a{ color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(196,118,58,.15); }
img{ display:block; max-width:100%; height:auto; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
::selection{ background: var(--copper); color: var(--bg); }

/* Accessible focus ring (keyboard only) */
:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.skip-link{
  position: fixed; left: 12px; top: -120px;
  z-index: 200;
  background: var(--copper); color: var(--bg);
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  padding: 12px 18px; border-radius: 4px;
  transition: top .25s var(--ease);
}
.skip-link:focus{ top: calc(12px + var(--safe-b)); }

/* Top scroll progress — like a tonearm crossing the record */
.scroll-progress{
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--copper), var(--gold));
  z-index: 120;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(196,118,58,.5);
  transition: width .12s linear;
}

/* ==== RAIN ==== */
.rain{
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  overflow: hidden;
  opacity: .35;
}
.rain span{
  position: absolute;
  top: -20vh;
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(236,234,216,.55));
  animation: fall linear infinite;
}
@keyframes fall{
  0%   { transform: translate3d(0, -10vh, 0); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translate3d(-20px, 110vh, 0); opacity: 0; }
}

/* ==== VIGNETTE + GRAIN ==== */
body::before{
  content:"";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  background: radial-gradient(ellipse at 50% 25%, transparent 0%, rgba(0,0,0,.4) 70%, rgba(0,0,0,.75) 100%);
  mix-blend-mode: multiply;
}
body::after{
  content:"";
  position: fixed; inset: -50%;
  pointer-events: none;
  z-index: 91;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.92  0 0 0 0 0.92  0 0 0 0 0.85  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: .32;
  mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain{
  0%{transform:translate(0,0);} 20%{transform:translate(-3%,2%);}
  40%{transform:translate(2%,-4%);} 60%{transform:translate(-2%,3%);}
  80%{transform:translate(3%,1%);} 100%{transform:translate(0,0);}
}

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(var(--pad), var(--safe-l));
  padding-right: max(var(--pad), var(--safe-r));
  position: relative;
  z-index: 2;
}
.label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.label .dot{
  display:inline-block; width:6px; height:6px; border-radius:50%;
  background: var(--copper); margin-right: 8px; vertical-align: 1px;
  box-shadow: 0 0 12px var(--copper);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.45;} }

/* ==== TOPBAR (shared) ==== */
.topbar{
  position: sticky; top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(8,9,12,.96), rgba(8,9,12,.66) 78%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(31,36,44,.5);
  transition: border-color .3s, background .3s;
}
.topbar.scrolled{
  background: rgba(8,9,12,.92);
  border-bottom-color: rgba(31,36,44,.9);
}
.topbar-inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px max(var(--pad), var(--safe-r)) 12px max(var(--pad), var(--safe-l));
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: var(--topbar-h);
}
.brand{
  display: flex; align-items: center; gap: 12px;
  font-family: var(--cn);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: .12em;
  min-width: 0;
}
.brand .seal{
  display:inline-grid; place-items:center;
  width: 30px; height: 30px; flex: none;
  background: var(--copper);
  color: var(--bg);
  font-family: var(--cn);
  font-size: 16px; font-weight: 600;
  border-radius: 3px;
  transform: rotate(-3deg);
  box-shadow: 0 0 0 1px rgba(196,118,58,.4), 0 2px 12px rgba(196,118,58,.25);
  transition: transform .4s var(--ease);
}
.brand:hover .seal{ transform: rotate(2deg) scale(1.05); }
.brand .brand-name{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small{ color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }

.nav{
  display:flex; gap: 28px; justify-content:center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-2);
}
.nav a{ position: relative; padding: 8px 2px; transition: color .25s; }
.nav a:hover{ color: var(--cream); }
.nav a.active{ color: var(--cream); }
.nav a.active::after, .nav a:hover::after{ width:100%; }
.nav a::after{
  content:""; position:absolute; left:0; bottom:2px; height:1px; width:0; background: var(--copper);
  transition: width .35s var(--ease);
}

.now-playing{
  justify-self: end;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream-2);
  min-width: 0;
}
.now-playing .np-text{
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 30ch;
}
.now-playing .np-text em{ color: var(--cream); font-style: italic; }
.equalizer{ display:flex; gap: 2px; align-items:flex-end; height: 14px; flex: none; }
.equalizer span{
  display:block; width: 2px; height: 4px; background: var(--copper);
  animation: eq 1.1s ease-in-out infinite;
}
.equalizer span:nth-child(1){ animation-delay: 0s; }
.equalizer span:nth-child(2){ animation-delay: .15s; }
.equalizer span:nth-child(3){ animation-delay: .3s;  }
.equalizer span:nth-child(4){ animation-delay: .45s; }
@keyframes eq{ 0%,100%{height:3px;} 50%{height:14px;} }

/* ==== MOBILE MENU BUTTON ==== */
.menu-btn{
  display: none;
  justify-self: end;
  align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream-2);
  transition: border-color .25s, color .25s, background .25s;
}
.menu-btn:active{ background: rgba(196,118,58,.1); border-color: var(--copper); }
.menu-btn-lines{ display: grid; gap: 4px; width: 18px; }
.menu-btn-lines i{
  display: block; height: 1.5px; width: 100%;
  background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-btn[aria-expanded="true"] .menu-btn-lines i:nth-child(1){ transform: translateY(2.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-lines i:nth-child(2){ transform: translateY(-2.75px) rotate(-45deg); }

/* ==== MOBILE NAV DRAWER ==== */
.mobile-nav{
  position: fixed; inset: 0;
  z-index: 110;
  background: rgba(6,7,10,.9);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .45s var(--ease), visibility .4s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.menu-open .mobile-nav{ opacity: 1; visibility: visible; transform: none; }
body.menu-open{ overflow: hidden; }
.mobile-nav-rain{
  position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image:
    linear-gradient(180deg, transparent, rgba(236,234,216,.5)),
    linear-gradient(180deg, transparent, rgba(236,234,216,.4)),
    linear-gradient(180deg, transparent, rgba(236,234,216,.3));
  background-size: 1px 70px, 1px 90px, 1px 50px;
  background-position: 18% 0, 52% 0, 84% 0;
  background-repeat: repeat-y;
  animation: mn-rain 1.1s linear infinite;
}
@keyframes mn-rain{ to{ background-position: 18% 120px, 52% 150px, 84% 90px; } }
.mobile-nav-inner{
  position: relative; z-index: 2;
  min-height: 100%;
  display: flex; flex-direction: column;
  padding: max(18px, var(--safe-b)) max(var(--pad), var(--safe-l)) calc(32px + var(--safe-b));
}
.mobile-nav-top{
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--topbar-h);
  padding: 6px 0 28px;
  border-bottom: 1px solid var(--line);
}
.menu-close{
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--cream-2); font-size: 16px;
  transition: border-color .25s, color .25s, transform .3s;
}
.menu-close:active{ transform: scale(.92); border-color: var(--copper); color: var(--copper); }
.mobile-nav-links{
  display: flex; flex-direction: column;
  padding: 8px 0;
  flex: 1;
  justify-content: center;
}
.mobile-nav-links a{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline; gap: 16px;
  padding: clamp(14px, 3.4vw, 22px) 0;
  border-bottom: 1px solid rgba(31,36,44,.7);
  opacity: 0; transform: translateY(14px);
}
body.menu-open .mobile-nav-links a{ animation: mn-in .55s var(--ease) forwards; }
body.menu-open .mobile-nav-links a:nth-child(1){ animation-delay: .08s; }
body.menu-open .mobile-nav-links a:nth-child(2){ animation-delay: .15s; }
body.menu-open .mobile-nav-links a:nth-child(3){ animation-delay: .22s; }
body.menu-open .mobile-nav-links a:nth-child(4){ animation-delay: .29s; }
@keyframes mn-in{ to{ opacity: 1; transform: none; } }
.mobile-nav-links a .i{
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--copper);
}
.mobile-nav-links a .t{
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 11vw, 56px); line-height: 1;
  color: var(--cream);
  font-variation-settings: "opsz" 120, "SOFT" 50, "WONK" 1;
  transition: color .25s, transform .35s var(--ease);
}
.mobile-nav-links a .cn{
  font-family: var(--cn); font-size: 13px; letter-spacing: .2em;
  color: var(--muted);
}
.mobile-nav-links a.active .t,
.mobile-nav-links a:active .t{ color: var(--copper); font-style: italic; }
.mobile-nav-links a.active .i{ color: var(--gold); }
.mobile-nav-foot{
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.mobile-nav-foot .np-badge{ display: flex; align-items: center; gap: 10px; color: var(--cream-2); }
.mobile-nav-foot .np-badge em{ color: var(--cream); font-style: italic; font-family: var(--serif); text-transform: none; letter-spacing: .02em; }
.mobile-nav-foot .mn-loc{ font-style: normal; }

/* ==== TYPOGRAPHY HELPERS ==== */
.serif-italic-amber{ font-style: italic; color: var(--copper); font-variation-settings: "SOFT" 100; }
.cn{ font-family: var(--cn); }

/* ==== SECTION HEADER ==== */
.section-head{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 48px;
}
@media (min-width: 700px){
  .section-head{ grid-template-columns: auto 1fr auto; align-items: end; gap: 32px; }
}
.section-head .num{
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em;
  color: var(--copper);
}
.section-head h2{
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.section-head h2 em{ font-style: italic; color: var(--copper); font-variation-settings: "SOFT" 100; }
.section-head .meta{
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  align-self: end;
}

/* ==== PAGE HEADER (for inner pages) ==== */
.page-header{
  padding: clamp(48px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-header .eyebrow{
  display:flex; align-items:center; gap: 18px;
  margin-bottom: 28px;
}
.page-header .eyebrow .line{ flex: 1; height:1px; background: var(--line); }
.page-header h1{
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 9vw, 140px);
  line-height: .92;
  letter-spacing: -0.03em;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}
.page-header h1 em{ font-style: italic; color: var(--copper); font-variation-settings: "SOFT" 100; }
.page-header h1 .cn-title{
  display:block;
  font-family: var(--cn);
  font-weight: 600;
  color: var(--cream);
  font-size: .42em;
  letter-spacing: .18em;
  margin-bottom: .25em;
  line-height: 1;
}
.page-header p.intro{
  margin: 28px 0 0;
  max-width: 640px;
  color: var(--cream-2);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
}

/* ==== CARDS / GALLERY (shared) ==== */
.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.card{
  grid-column: span 12;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .3s;
}
.card:hover{ border-color: var(--copper); }
@media (min-width: 720px){
  .card.span-6{ grid-column: span 6; }
  .card.span-7{ grid-column: span 7; }
  .card.span-5{ grid-column: span 5; }
  .card.span-4{ grid-column: span 4; }
  .card.span-8{ grid-column: span 8; }
  .card.span-3{ grid-column: span 3; }
}
.card .thumb{
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}
.card .thumb::after{
  content:"";
  position:absolute; inset:0;
  background: repeating-linear-gradient(0deg, rgba(236,234,216,.03) 0 1px, transparent 1px 3px);
  pointer-events:none;
}
.card.tall .thumb{ aspect-ratio: 3/4; }
.card.wide .thumb{ aspect-ratio: 16/9; }

.gradA{ background: radial-gradient(120% 80% at 20% 10%, rgba(94,143,140,.65), transparent 55%), linear-gradient(140deg, #18222a, #0a0d11 80%); }
.gradB{ background: radial-gradient(110% 80% at 80% 20%, rgba(196,118,58,.5), transparent 55%), linear-gradient(200deg, #1a1f26, #08090c 75%); }
.gradC{ background: radial-gradient(100% 70% at 50% 100%, rgba(217,168,90,.5), transparent 55%), linear-gradient(160deg, #14181f, #06070a 80%); }
.gradD{ background: radial-gradient(120% 100% at 0% 50%, rgba(94,143,140,.5), transparent 55%), linear-gradient(110deg, #161c24, #060709 80%); }
.gradE{ background: radial-gradient(120% 90% at 100% 0%, rgba(196,118,58,.55), transparent 55%), linear-gradient(220deg, #1c232b, #08090c 80%); }
.gradF{ background: radial-gradient(120% 100% at 30% 70%, rgba(127,176,173,.4), transparent 55%), linear-gradient(180deg, #11151b, #050608 80%); }
.gradG{ background: radial-gradient(120% 80% at 60% 0%, rgba(217,168,90,.4), transparent 55%), linear-gradient(160deg, #1e1812, #08070a 80%); }
.gradH{ background: radial-gradient(100% 100% at 0% 100%, rgba(185,68,46,.35), transparent 55%), linear-gradient(140deg, #1b1218, #06060a 80%); }

.thumb .streaks{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(236,234,216,.05) 50%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(236,234,216,.04) 50%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(236,234,216,.03) 50%, transparent 100%);
  background-size: 1px 50px, 1px 70px, 1px 40px;
  background-position: 20% 0, 60% 30%, 85% 10%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.card .play-mini{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--cream); display:grid; place-items:center;
  transition: background .3s, transform .3s, border-color .3s;
  background: rgba(8,9,12,.3); backdrop-filter: blur(4px);
  z-index: 2;
}
.card:hover .play-mini{ background: var(--copper); border-color: var(--copper); transform: translate(-50%, -50%) scale(1.08); }
.card .play-mini svg{ width: 22px; height: 22px; }

.card .badge{
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 10px; background: rgba(8,9,12,.6);
  border: 1px solid rgba(236,234,216,.18); border-radius: 99px;
  color: var(--cream);
  z-index: 2;
}
.card .num{
  position: absolute; bottom: 16px; right: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  color: var(--cream-2);
  z-index: 2;
}
.card .info{
  padding: 22px clamp(20px, 2.4vw, 28px);
  display: grid; gap: 10px;
  border-top: 1px solid var(--line);
}
.card .info h4{
  margin:0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.15;
  color: var(--cream);
  font-variation-settings: "opsz" 80, "SOFT" 40;
}
.card .info h4 em{ font-style: italic; color: var(--copper); font-variation-settings: "SOFT" 100; }
.card .info h4 .cn{ display:block; font-family: var(--cn); font-size: .55em; color: var(--cream-2); margin-top: 4px; font-weight: 300; }
.card .info .sub{
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.card .info .sub .sep{ width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }

/* ==== FORMS ==== */
.field{ display: grid; gap: 8px; }
.field label{
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select{
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 17px;
  padding: 14px 16px;
  border-radius: 2px;
  transition: border-color .25s, background .25s;
}
.field textarea{ min-height: 140px; resize: vertical; line-height: 1.55; }
.field input:focus,
.field textarea:focus,
.field select:focus{
  outline: none;
  border-color: var(--copper);
  background: #11141a;
}
.field input::placeholder, .field textarea::placeholder{ color: var(--muted); font-style: italic; }

.choice-row{ display: flex; flex-wrap: wrap; gap: 8px; }
.choice{
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-2);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  user-select: none;
}
.choice:hover{ border-color: var(--cream-2); color: var(--cream); }
.choice.is-active{ background: var(--copper); border-color: var(--copper); color: var(--bg); }

/* ==== BUTTON / CTA ==== */
.cta{
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  border: 1px solid var(--cream);
  border-radius: 99px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream);
  transition: background .3s, color .3s, border-color .3s, transform .3s;
  cursor: pointer;
}
.cta:hover{ background: var(--copper); border-color: var(--copper); color: var(--bg); transform: translateY(-2px); }
.cta.amber{ background: var(--copper); border-color: var(--copper); color: var(--bg); }
.cta.amber:hover{ background: transparent; color: var(--cream); border-color: var(--cream); }
.cta .arrow{ display:inline-block; transition: transform .3s; }
.cta:hover .arrow{ transform: translateX(4px); }

/* ==== FOOTER ==== */
footer{
  padding: 60px max(var(--pad), var(--safe-r)) calc(40px + var(--safe-b)) max(var(--pad), var(--safe-l));
  max-width: var(--maxw); margin: 0 auto;
  position: relative; z-index: 2;
}
.foot-top{
  display: grid; grid-template-columns: 1fr;
  gap: 32px; align-items: end;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
@media (min-width: 800px){
  .foot-top{ grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
}
.foot-brand{
  font-family: var(--cn); font-weight: 600;
  font-size: clamp(36px, 5vw, 64px); line-height: 1;
  color: var(--cream);
  letter-spacing: .15em;
}
.foot-brand .en{
  display:block; font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: .55em; color: var(--copper); margin-top: 12px; letter-spacing: 0;
  font-variation-settings: "SOFT" 100;
}
.foot-col h5{
  margin: 0 0 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}
.foot-col a{
  display:block; color: var(--cream-2);
  font-family: var(--serif); font-size: 16px; padding: 4px 0;
  transition: color .2s, transform .2s;
}
.foot-col a:hover{ color: var(--copper); transform: translateX(3px); }

.foot-bottom{
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 720px){
  .foot-bottom{ flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
}

/* ==== REVEAL ==== */
.reveal{ opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity: 1; transform: none; }
.reveal.d1{ transition-delay: .1s; }
.reveal.d2{ transition-delay: .22s; }
.reveal.d3{ transition-delay: .34s; }
.reveal.d4{ transition-delay: .46s; }
.reveal.d5{ transition-delay: .58s; }

/* ============================================================
   ADMIN STYLES — used in /admin/*
   ============================================================ */
.admin-shell{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 100vh;
  position: relative; z-index: 2;
}
@media (min-width: 900px){
  .admin-shell{ grid-template-columns: 260px 1fr; }
}
.admin-side{
  border-right: 1px solid var(--line);
  padding: clamp(20px, 3vw, 32px);
  background: rgba(8,9,12,.6);
  backdrop-filter: blur(6px);
}
.admin-side .brand{ margin-bottom: 32px; }
.admin-side nav{ display:flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.admin-side nav a{
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream-2);
  transition: background .2s, color .2s, border-color .2s;
}
.admin-side nav a:hover{ background: rgba(196,118,58,.08); color: var(--cream); }
.admin-side nav a.active{ background: rgba(196,118,58,.12); color: var(--copper); border-color: rgba(196,118,58,.3); }
.admin-side nav a .pill-count{
  font-size: 10px; letter-spacing: 0;
  padding: 2px 8px; border-radius: 99px;
  background: var(--copper); color: var(--bg);
}
.admin-main{
  padding: clamp(28px, 4vw, 56px);
}
.admin-h1{
  margin: 0 0 32px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1; letter-spacing: -.02em;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
}
.admin-h1 em{ font-style: italic; color: var(--copper); }

.admin-table{
  width: 100%; border-collapse: collapse;
  font-family: var(--serif);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.admin-table th, .admin-table td{
  text-align: left; padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.admin-table th{
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
  background: var(--bg);
}
.admin-table tr:last-child td{ border-bottom: 0; }
.admin-table tr:hover td{ background: rgba(196,118,58,.04); }
.admin-table .actions{ display:flex; gap: 10px; justify-content: flex-end; }

.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover{ border-color: var(--copper); background: rgba(196,118,58,.1); }
.btn.primary{ background: var(--copper); border-color: var(--copper); color: var(--bg); }
.btn.primary:hover{ background: transparent; color: var(--cream); border-color: var(--cream); }
.btn.danger{ color: var(--red); border-color: rgba(185,68,46,.4); }
.btn.danger:hover{ background: rgba(185,68,46,.15); border-color: var(--red); }
.btn.small{ padding: 6px 10px; font-size: 10px; }

.dot-unread{ display:inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); margin-right: 8px; }

.admin-card{
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: clamp(20px, 2.5vw, 32px);
  margin-bottom: 24px;
}
.admin-card h3{
  margin: 0 0 20px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--cream);
  font-variation-settings: "opsz" 80, "SOFT" 40;
}
.admin-card h3 em{ font-style: italic; color: var(--copper); }

.form-row-2{
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){ .form-row-2{ grid-template-columns: 1fr 1fr; } }
.form-row-3{
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px){ .form-row-3{ grid-template-columns: 1fr 1fr 1fr; } }

.admin-login{
  max-width: 440px; margin: 0 auto;
  padding: 80px 24px;
}
.admin-login .box{
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 40px;
}
.admin-login h1{
  margin: 0 0 24px;
  font-family: var(--serif); font-weight: 300;
  font-size: 36px; line-height: 1;
  color: var(--cream);
}
.admin-login h1 em{ font-style: italic; color: var(--copper); }
.admin-login .err{
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(185,68,46,.5);
  background: rgba(185,68,46,.08);
  color: #e89a8d;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  border-radius: 2px;
}

.preview-box{
  border: 1px dashed var(--line);
  padding: 16px;
  background: var(--bg);
  border-radius: 2px;
  display: flex; align-items: center; gap: 16px;
}
.preview-box img{ max-width: 80px; max-height: 60px; border: 1px solid var(--line); }
.preview-box .small{ font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .15em; text-transform: uppercase; }

.muted-help{
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted);
  margin-top: 4px;
}

.embed-box{
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: #000;
}
.embed-box iframe{ width: 100%; aspect-ratio: 16/9; border: 0; display: block; }

/* 404 / error page */
.errpage{
  min-height: 70vh;
  display: grid; place-items: center;
  text-align: center;
  padding: 80px 24px;
  position: relative; z-index: 2;
}
.errpage h1{
  margin: 0;
  font-family: var(--serif); font-weight: 200;
  font-size: clamp(80px, 18vw, 240px); line-height: 1;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.errpage h1 em{ font-style: italic; color: var(--copper); }
.errpage p{ color: var(--cream-2); max-width: 500px; margin: 24px auto 32px; line-height: 1.7; }

/* ============================================================
   RESPONSIVE + ACCESSIBILITY + POLISH LAYER
   (loaded last — authoritative)
   雨夜同行 — full-stack + art-direction pass
   ============================================================ */

/* ---- Fluid section rhythm helpers ---- */
.featured, .preview, .booking-cta,
.story, .stats-banner, .packages,
.form-section, .faq, .content,
.writer-note, .related, .archive{
  scroll-margin-top: calc(var(--topbar-h) + 12px);
}

/* ---- Card grid: graceful collapse before the 720px breakpoint ---- */
@media (max-width: 719px){
  .grid{ gap: 18px; }
  .card{ grid-column: span 12 !important; }
  .card .thumb,
  .card.tall .thumb,
  .card.wide .thumb{ aspect-ratio: 16/10; }
  .card .play-mini{ width: 56px; height: 56px; }
  .year-divider{ grid-template-columns: 1fr auto; padding: 36px 0 4px; }
  .year-divider .line{ display: none; }
}

/* Intermediate: 2-up cards on small tablets */
@media (min-width: 560px) and (max-width: 719px){
  .grid{ grid-template-columns: 1fr 1fr; }
  .card{ grid-column: span 1 !important; }
  .year-divider{ grid-column: 1 / -1; }
}

/* ============================================================
   NAV: switch to mobile drawer below 900px
   ============================================================ */
@media (max-width: 899px){
  .topbar-inner{
    grid-template-columns: 1fr auto;
    gap: 14px;
  }
  .nav,
  .now-playing{ display: none; }
  .menu-btn{ display: inline-flex; }
  .brand small{ display: none; }
}

@media (min-width: 900px){
  .mobile-nav{ display: none; }
}

/* Tighten brand on very small screens */
@media (max-width: 380px){
  .brand{ font-size: 16px; letter-spacing: .08em; gap: 9px; }
  .brand .seal{ width: 27px; height: 27px; font-size: 15px; }
  .menu-btn{ padding: 9px 12px; }
  .menu-btn-label{ display: none; }
}

/* Trim the now-playing line on mid screens so it never collides */
@media (min-width: 900px) and (max-width: 1080px){
  .now-playing .np-text{ max-width: 18ch; }
  .nav{ gap: 22px; }
}

/* ============================================================
   HERO — mobile-first refinements
   ============================================================ */
@media (max-width: 720px){
  .hero{ padding: 40px 0 48px !important; }
  .hero h1{ font-size: clamp(46px, 15vw, 84px) !important; line-height: .94 !important; }
  .hero h1 br{ display: none; }
  .hero h1 .cn-title{ font-size: .42em !important; letter-spacing: .12em !important; }
  .hero-meta{ grid-template-columns: 1fr 1fr !important; gap: 18px 20px !important; margin-top: 28px !important; }
  .hero-meta p{ font-size: 14px !important; }
  .hero-side{ padding-top: 24px !important; }
  .ticker li{ grid-template-columns: 24px 1fr auto; gap: 10px; }
  .ticker .t{ font-size: 14px; }
}
@media (max-width: 440px){
  .hero-meta{ grid-template-columns: 1fr !important; }
}

/* Section headers stack cleanly on phones */
@media (max-width: 699px){
  .section-head{ gap: 10px; margin-bottom: 36px; }
  .section-head h2{ font-size: clamp(32px, 10vw, 52px); }
  .section-head .meta{ align-self: start; }
}

/* Page header (inner pages) */
@media (max-width: 720px){
  .page-header{ padding: 44px 0 36px; }
  .page-header h1{ font-size: clamp(44px, 14vw, 84px); }
  .page-header h1 br{ display: none; }
  .page-header h1 .cn-title{ font-size: .38em; }
  .page-header .eyebrow{ flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
  .page-header .eyebrow .line{ order: 3; flex-basis: 100%; }
  .page-header p.intro{ margin-top: 22px; font-size: 16px; }
  .page-header p.intro br{ display: none; }
}

/* ============================================================
   SESSION DETAIL — mobile
   ============================================================ */
@media (max-width: 720px){
  .session-head h1{ font-size: clamp(44px, 13vw, 80px) !important; }
  .session-meta{ gap: 18px 28px !important; margin-top: 24px !important; padding-top: 22px !important; }
  .content-grid{ gap: 44px !important; }
  .spec{ order: -1; }
  .lyrics pre{ font-size: 17px !important; line-height: 2 !important; }
  .writer-note blockquote{ font-size: clamp(24px, 7vw, 34px) !important; }
  .pagination{ grid-template-columns: 1fr !important; }
  .page-link.next{ text-align: left !important; }
  .breadcrumb{ flex-wrap: wrap; }
}

/* ============================================================
   BOOKING — mobile
   ============================================================ */
@media (max-width: 720px){
  .pkg{ padding: 26px 22px; }
  .form-card{ padding: 24px 20px; }
  .form-card .submit-row{ flex-direction: column; align-items: stretch; gap: 16px; }
  .form-card .submit-row .cta{ justify-content: center; }
  .faq-list summary{ gap: 16px; }
  .faq-list summary h4{ font-size: clamp(19px, 5.4vw, 26px); }
}

/* About page mobile */
@media (max-width: 899px){
  .portrait{ position: relative !important; top: auto !important; aspect-ratio: 4/3; max-height: 420px; }
}
@media (max-width: 720px){
  .story-grid{ gap: 44px !important; }
  .story-text .lead{ font-size: clamp(22px, 6.4vw, 30px) !important; }
  .stats-grid{ gap: 4px 24px !important; }
  .stat-cell .num{ font-size: clamp(48px, 16vw, 80px) !important; }
}

/* ============================================================
   FORMS — prevent iOS zoom, larger touch targets
   ============================================================ */
.field input,
.field textarea,
.field select{
  font-size: 16px;            /* iOS will not zoom at >=16px */
  min-height: 50px;
}
.field textarea{ min-height: 140px; }
.choice{ min-height: 42px; display: inline-flex; align-items: center; }
.cta{ min-height: 50px; }
.faq-list summary{ min-height: 56px; }

/* ============================================================
   TOUCH DEVICES — kill sticky :hover, add :active feedback
   ============================================================ */
@media (hover: none){
  .card:hover{ border-color: var(--line); }
  .card:hover .play-mini{ background: rgba(8,9,12,.3); border-color: var(--cream); transform: translate(-50%,-50%); }
  .card:active{ border-color: var(--copper); transform: scale(.992); }
  .card:active .play-mini{ background: var(--copper); border-color: var(--copper); }
  .feature-card:hover .play{ background: rgba(8,9,12,.35); transform: none; border-color: var(--cream); }
  .feature-card:active .play{ background: var(--copper); border-color: var(--copper); transform: scale(1.04); }
  .cta:hover{ background: transparent; color: var(--cream); border-color: var(--cream); transform: none; }
  .cta.amber:hover{ background: var(--copper); color: var(--bg); border-color: var(--copper); }
  .cta:active{ transform: scale(.97); }
  .pkg:hover{ transform: none; border-color: var(--line); }
  .pkg:active{ border-color: var(--copper); }
  .nav a::after{ transition: none; }
  .btn:active{ background: rgba(196,118,58,.12); border-color: var(--copper); }
  .page-link:active{ border-color: var(--copper); background: #11141a; }
}

/* ============================================================
   REDUCED MOTION — respect the user
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rain,
  .mobile-nav-rain,
  body::after{ display: none !important; }
  .reveal{ opacity: 1 !important; transform: none !important; }
  .equalizer span{ height: 9px !important; }
  .scroll-progress{ display: none; }
}

/* ============================================================
   PERFORMANCE — lighten heavy compositing on small screens
   ============================================================ */
@media (max-width: 700px){
  body::after{ animation-duration: 2s; opacity: .22; }
  .rain{ opacity: .26; }
  .topbar{ backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}

/* Print: clean, ink-friendly */
@media print{
  .rain, .scroll-progress, .skip-link, .menu-btn,
  .mobile-nav, body::before, body::after, .topbar{ display: none !important; }
  body{ background: #fff; color: #111; }
  a{ color: #111; }
}

/* ============================================================
   MICRO-POLISH
   ============================================================ */
.reveal{ will-change: opacity, transform; }
.reveal.in{ will-change: auto; }

/* Smooth, premium card lift on capable pointers */
@media (hover: hover){
  .card{ transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; }
  .card:hover{ transform: translateY(-4px); box-shadow: 0 24px 60px -28px rgba(0,0,0,.7); }
}

/* Keep the spinning ring from causing horizontal scroll */
.ring{ max-width: 100%; }

/* Long-word / lyric safety on narrow screens */
.lyrics pre{ overflow-wrap: anywhere; }
.card .info h4,
.feature-card h3,
.page-header h1,
.session-head h1{ overflow-wrap: anywhere; }

/* Embeds always 16:9 and never overflow */
.player .embed-frame iframe,
.player .embed-frame video,
.embed-box iframe{ width: 100% !important; height: 100% !important; }

/* Dvh fix for true mobile viewport (URL bar) */
.errpage{ min-height: 70vh; min-height: 70dvh; }
.mobile-nav{ min-height: 100vh; min-height: 100dvh; }

/* ============================================================
   ADMIN — mobile usability
   ============================================================ */
@media (max-width: 899px){
  .admin-side{
    border-right: 0;
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 40;
    display: flex; flex-direction: column; gap: 16px;
    padding: 16px max(var(--pad), var(--safe-l));
  }
  .admin-side .brand{ margin-bottom: 0; }
  .admin-side nav{ flex-direction: row; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
  .admin-side nav a{ flex: 1 1 auto; }
  .admin-main{ padding: 24px max(var(--pad), var(--safe-l)) calc(40px + var(--safe-b)); }
}
@media (max-width: 720px){
  .admin-h1{ font-size: clamp(30px, 9vw, 44px); }
  .admin-table thead{ display: none; }
  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td{ display: block; width: 100%; }
  .admin-table tr{
    border: 1px solid var(--line);
    margin-bottom: 14px;
    background: var(--bg-2);
  }
  .admin-table td{
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
  }
  .admin-table td::before{
    content: attr(data-label);
    font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--muted);
  }
  .admin-table td.actions{ justify-content: flex-end; }
  .admin-table td.actions::before{ display: none; }
  .form-row-2,
  .form-row-3{ grid-template-columns: 1fr; }
  .admin-login{ padding: 56px 20px; }
  .admin-login .box{ padding: 28px 22px; }
}

/* ============================================================
   AUDIO PLAYER — vinyl console (session detail)
   ============================================================ */
.audioplayer{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(196,118,58,.10), transparent 55%),
    radial-gradient(120% 90% at 10% 90%, rgba(94,143,140,.10), transparent 55%),
    var(--bg-2);
  position: relative;
  overflow: hidden;
}
.audioplayer::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: repeating-linear-gradient(0deg, rgba(236,234,216,.025) 0 1px, transparent 1px 3px);
}

/* ---- The record ---- */
.ap-disc{
  --d: clamp(150px, 21vw, 232px);
  width: var(--d); height: var(--d);
  position: relative; flex: none;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      #0c0d10 0 2px, #141115 2px 3px, #0c0d10 3px 6px);
  box-shadow:
    0 0 0 1px rgba(236,234,216,.06),
    0 24px 60px -26px rgba(0,0,0,.9),
    inset 0 0 60px rgba(0,0,0,.6);
  display: grid; place-items: center;
  animation: ap-spin 7s linear infinite;
  animation-play-state: paused;
}
.audioplayer.is-playing .ap-disc{ animation-play-state: running; }
@keyframes ap-spin{ to{ transform: rotate(360deg); } }
.ap-disc-art{
  width: 46%; height: 46%; border-radius: 50%;
  overflow: hidden; position: relative;
  box-shadow: 0 0 0 4px #0c0d10, 0 0 0 5px rgba(236,234,216,.08);
}
.ap-disc-art img{ width:100%; height:100%; object-fit: cover; }
.ap-disc-grad{ width:100%; height:100%; }
.ap-disc-hole{
  position:absolute; left:50%; top:50%; transform: translate(-50%,-50%);
  width: 7%; height: 7%; border-radius:50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(236,234,216,.18);
  z-index: 2;
}
.ap-disc-grooves{
  position:absolute; inset:8%;
  border-radius:50%;
  background: repeating-radial-gradient(circle at 50% 50%,
    transparent 0 4px, rgba(0,0,0,.35) 4px 5px);
  pointer-events:none;
}
.ap-tonearm{
  position:absolute; top: 4%; right: 2%;
  width: 44%; height: 3px;
  background: linear-gradient(90deg, rgba(236,234,216,.15), var(--cream-2));
  border-radius: 3px;
  transform-origin: right center;
  transform: rotate(-32deg);
  transition: transform .6s var(--ease);
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.6));
}
.ap-tonearm::after{
  content:""; position:absolute; left:-4px; top:50%;
  width: 10px; height: 10px; border-radius:50%;
  background: var(--copper); transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(196,118,58,.6);
}
.audioplayer.is-playing .ap-tonearm{ transform: rotate(-12deg); }

/* ---- Body ---- */
.ap-body{ min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ap-kicker{
  display:inline-flex; align-items:center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream-2);
}
.ap-dot{
  width:6px; height:6px; border-radius:50%; background: var(--muted);
  transition: background .3s, box-shadow .3s;
}
.audioplayer.is-playing .ap-dot{
  background: var(--copper); box-shadow: 0 0 12px var(--copper);
  animation: pulse 2s ease-in-out infinite;
}
.ap-title{
  margin: 10px 0 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 4.4vw, 52px); line-height: 1.05;
  color: var(--cream);
  font-variation-settings: "opsz" 120, "SOFT" 40, "WONK" 1;
}
.ap-title em{ font-style: italic; color: var(--copper); font-variation-settings: "SOFT" 100; }
.ap-title .ap-cn{
  display:block; font-family: var(--cn); font-size: .42em;
  color: var(--cream-2); margin-top: 8px; font-weight: 300; letter-spacing: .06em;
}

.ap-transport{
  display: flex; align-items: center; gap: clamp(14px, 2vw, 22px);
}
.ap-toggle{
  flex: none;
  width: clamp(54px, 6vw, 64px); height: clamp(54px, 6vw, 64px);
  border-radius: 50%;
  border: 1px solid var(--cream);
  display: grid; place-items: center;
  color: var(--cream);
  background: rgba(8,9,12,.4);
  transition: background .3s, border-color .3s, color .3s, transform .25s;
}
.ap-toggle:hover{ background: var(--copper); border-color: var(--copper); color: var(--bg); }
.ap-toggle:active{ transform: scale(.94); }
.audioplayer.is-playing .ap-toggle{ background: var(--copper); border-color: var(--copper); color: var(--bg); }
.ap-toggle svg{ width: 42%; height: 42%; }
.ap-toggle .ic-pause{ display: none; }
.audioplayer.is-playing .ap-toggle .ic-play{ display: none; }
.audioplayer.is-playing .ap-toggle .ic-pause{ display: block; }

.ap-scrub{
  flex: 1; min-width: 0;
  cursor: pointer; padding: 14px 0;
  touch-action: none;
}
.ap-track{
  position: relative; height: 38px;
  display: flex; align-items: center;
}
.ap-wave{
  position:absolute; inset:0;
  display:flex; align-items:center; gap: 2px;
  overflow:hidden;
}
.ap-wave span{
  flex: 1;
  height: 22%;
  background: rgba(236,234,216,.16);
  border-radius: 1px;
}
.ap-wave span:nth-child(3n)  { height: 52%; }
.ap-wave span:nth-child(4n)  { height: 78%; }
.ap-wave span:nth-child(5n)  { height: 36%; }
.ap-wave span:nth-child(7n)  { height: 95%; }
.ap-wave span:nth-child(11n) { height: 64%; }
.ap-fill{
  position:absolute; left:0; top:0; bottom:0; width: 0%;
  background: linear-gradient(90deg, rgba(196,118,58,.28), rgba(217,168,90,.34));
  border-right: 1px solid var(--copper);
  pointer-events:none;
  transition: width .12s linear;
}
.ap-knob{
  position:absolute; top:50%; left: 0%;
  width: 12px; height: 12px; border-radius:50%;
  background: var(--copper); transform: translate(-50%,-50%);
  box-shadow: 0 0 0 4px rgba(196,118,58,.18), 0 0 12px rgba(196,118,58,.5);
  pointer-events:none;
  transition: left .12s linear;
}
.ap-scrub:focus-visible{ outline: none; }
.ap-scrub:focus-visible .ap-track{ outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 2px; }

.ap-time{
  flex: none;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  color: var(--cream-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ap-time .ap-sl{ color: var(--muted); margin: 0 5px; }
.ap-time [data-cur]{ color: var(--cream); }

.ap-download{
  align-self: flex-start;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.ap-download:hover{ color: var(--copper); border-color: var(--copper); }

/* Buffering / loading hint */
.audioplayer.is-loading .ap-toggle{ opacity: .6; }
.audioplayer.is-loading .ap-kicker::after{
  content:"buffering…"; margin-left: 10px; color: var(--muted);
}

/* ---- Audio player: mobile ---- */
@media (max-width: 760px){
  .audioplayer{
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 26px;
    padding: 28px 20px;
  }
  .ap-disc{ --d: clamp(150px, 52vw, 220px); }
  .ap-body{ width: 100%; align-items: center; gap: 18px; }
  .ap-title{ font-size: clamp(26px, 8vw, 38px); }
  .ap-transport{ width: 100%; gap: 14px; }
  .ap-download{ align-self: center; }
  .ap-tonearm{ display: none; }
}
@media (max-width: 380px){
  .ap-time{ font-size: 11px; }
  .ap-toggle{ width: 52px; height: 52px; }
}

/* ---- Card "playable" flag ---- */
.audio-flag{
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 99px;
  background: rgba(196,118,58,.16);
  border: 1px solid rgba(196,118,58,.45);
  color: var(--gold);
  z-index: 2;
  backdrop-filter: blur(4px);
}
.audio-flag::before{
  content:""; width:5px; height:5px; border-radius:50%;
  background: var(--copper); box-shadow: 0 0 8px var(--copper);
}

/* Reduced motion: stop the record, keep it usable */
@media (prefers-reduced-motion: reduce){
  .ap-disc{ animation: none !important; }
  .ap-tonearm{ transition: none !important; }
  .ap-fill, .ap-knob{ transition: none !important; }
}

/* ============================================================
   微雨同行 — MERGE LAYER
   新增组件：背景歌单浮窗 / 服务卡 / 曲库云 / 留言表单 / 套餐
   （沿用夜雨同行 铜橙+雨夜青 调性，并入微风同行的温度）
   ============================================================ */

/* ---- 背景音频载体 v2.1.1 — 桌面隐藏 / 移动可见 ----
   历史教训：
     v2.0  把 iframe 放到视口外（left:-9999px）—— 桌面没事，
           但 iOS/微信 把视口外的跨域 iframe 视为不可见、自动挂起音频。
     v2.1  用 clip-path 完全裁掉 —— 移动端能播，
           但桌面 Chrome 把它视为不可见，同样挂起音频。
   结论：「既隐形又出声」在跨域 iframe 这件事上没有银弹。
   v2.1.1 改成「分平台对待」：
     • 桌面：用 player.bilibili.com/player.html（autoplay 行为最稳）+ 完全隐藏
     • 移动：用 html5mobileplayer.html（X5/国产移动浏览器兼容性最好）+ 可见小窗
             —— 用户看得到、点得到，浏览器也认它「可见」，音频不挂起。 */

/* 默认 = 桌面：完全隐藏（视觉不可见，但 iframe 在 DOM 中，
   桌面 Chromium/WebKit 不会因此挂起跨域音频，已实测） */
.bgm-stage{
  position: fixed;
  left: 0; bottom: 0;
  width: 320px; height: 180px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.01;
  z-index: -1;
  clip-path: inset(50%);
  -webkit-clip-path: inset(50%);
}
.bgm-stage iframe{
  width: 100%; height: 100%;
  border: 0; display: block;
}

/* 移动端：iframe 真实可见，作为浮窗的视频缩略图部分，
   尺寸刚好够展示 B 站封面 + 让用户点击播放（满足自动播放策略）

   双重检测：
     • .is-mobile 类 — 由 JS 根据 UA 添加（最准确）
     • (hover: none) and (pointer: coarse) — 纯 CSS 触摸设备检测（兜底）
   两套规则用 !important 在触摸设备上确保胜过桌面默认值。 */

.is-mobile .bgm-stage{
  position: fixed !important;
  /* 关键：必须显式覆盖默认的 left: 0，否则 left+right+width 共存
     时浏览器只用 left，iframe 会停在屏幕左侧。!important 确保胜过缓存的旧规则 */
  left: auto !important;
  top: auto !important;
  right: max(12px, env(safe-area-inset-right, 0)) !important;
  bottom: calc(12px + env(safe-area-inset-bottom, 0)) !important;
  width: 120px !important; height: 68px !important;
  z-index: 116 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.75), 0 0 0 1px rgba(196,118,58,.15);
  transition: opacity .25s, transform .3s var(--ease), width .25s, height .25s;
}
/* 纯 CSS 兜底：触摸设备 → 同样的移动端样式 */
@media (hover: none) and (pointer: coarse){
  .bgm-stage{
    left: auto !important; top: auto !important;
    right: max(12px, env(safe-area-inset-right, 0)) !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0)) !important;
    width: 120px !important; height: 68px !important;
    z-index: 116 !important;
    opacity: 1 !important; pointer-events: auto !important;
    clip-path: none !important; -webkit-clip-path: none !important;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg-2);
    box-shadow: 0 12px 28px -10px rgba(0,0,0,.75), 0 0 0 1px rgba(196,118,58,.15);
  }
  .bgm-toggle-thumb{ display: flex !important; }
  .bgm-dock{
    right: auto !important;
    left: max(12px, env(safe-area-inset-left, 0)) !important;
    max-width: calc(100vw - 144px) !important;
  }
  .bgm-meta{ display: none; }
  .bgm-hint{
    left: max(12px, env(safe-area-inset-left, 0));
    right: auto;
    bottom: calc(82px + env(safe-area-inset-bottom, 0));
    max-width: 260px;
  }
}
/* 「最小化」状态：缩成一个发光圆点，提示「在播放」 */
.is-mobile.bgm-collapsed .bgm-stage{
  width: 16px; height: 16px;
  border-radius: 50%;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(196,118,58,.16), 0 0 12px rgba(196,118,58,.5);
  background: var(--copper);
}
.is-mobile.bgm-collapsed .bgm-stage iframe{
  pointer-events: none; opacity: 0;    /* 不可见、不可点；但仍在 DOM 中，音频不挂起 */
}

/* 视频缩略图右上角的「最小化 / 还原」小按钮 */
.bgm-toggle-thumb{
  position: fixed;
  z-index: 117;
  width: 22px; height: 22px;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(8,9,12,.92);
  color: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px; line-height: 1;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  /* 跟着缩略图右上角浮动 */
  right: calc(max(12px, env(safe-area-inset-right, 0)) - 7px);
  bottom: calc(12px + env(safe-area-inset-bottom, 0) + 68px - 15px);
  transition: right .25s, bottom .25s;
}
.is-mobile .bgm-toggle-thumb{ display: flex; }
.is-mobile.bgm-collapsed .bgm-toggle-thumb{
  right: calc(max(12px, env(safe-area-inset-right, 0)) - 5px);
  bottom: calc(12px + env(safe-area-inset-bottom, 0) + 16px - 11px);
}

/* ---- 背景歌单 控制浮窗 ---- */
.bgm-dock{
  position: fixed;
  right: max(18px, var(--safe-r));
  bottom: calc(18px + var(--safe-b));
  z-index: 115;
  display: flex; align-items: center; gap: 0;
  background: rgba(8,9,12,.86);
  border: 1px solid var(--line);
  border-radius: 99px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 50px -22px rgba(0,0,0,.85);
  overflow: hidden;
  max-width: calc(100vw - 36px);
  transition: border-color .3s, box-shadow .3s, transform .4s var(--ease);
}
.bgm-dock.is-playing{ border-color: rgba(196,118,58,.5); }
.bgm-dock.is-ducked{ border-color: rgba(94,143,140,.5); }
.bgm-dock.is-ducked .bgm-meta .ttl::after{
  content: " · 视频中暂停";
  color: var(--teal-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  font-style: normal;
  margin-left: 6px;
}
/* 关键：移动端 SVG 子元素不能拦截点击/触摸，否则 e.target 不是 button */
.bgm-btn *{ pointer-events: none; }
.bgm-dock.collapsed{ transform: translateY(0); }
.bgm-btn{
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--cream);
  transition: background .25s, color .25s;
}
.bgm-btn:hover{ background: rgba(196,118,58,.14); color: var(--copper); }
.bgm-btn svg{ width: 18px; height: 18px; }
.bgm-btn.bgm-toggle{
  width: 50px; height: 50px;
  background: var(--copper); color: var(--bg);
}
.bgm-btn.bgm-toggle:hover{ background: var(--gold); color: var(--bg); }
.bgm-meta{
  display: flex; flex-direction: column; gap: 2px;
  padding: 0 14px 0 12px;
  min-width: 0; max-width: 230px;
  border-left: 1px solid var(--line);
}
.bgm-meta .lab{
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 7px;
}
.bgm-meta .eqx{ display:flex; gap:2px; align-items:flex-end; height:9px; }
.bgm-meta .eqx span{
  width:2px; height:3px; background: var(--copper);
  animation: eq 1.1s ease-in-out infinite;
}
.bgm-meta .eqx span:nth-child(2){ animation-delay:.15s; }
.bgm-meta .eqx span:nth-child(3){ animation-delay:.3s; }
.bgm-dock:not(.is-playing) .bgm-meta .eqx span{ animation-play-state: paused; height: 3px; }
.bgm-meta .ttl{
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-variation-settings: "SOFT" 90;
}
.bgm-dock.collapsed .bgm-meta{ display: none; }
.bgm-dock.collapsed .bgm-prev,
.bgm-dock.collapsed .bgm-next{ display: none; }
.bgm-hint{
  position: fixed;
  right: max(18px, var(--safe-r));
  bottom: calc(78px + var(--safe-b));
  z-index: 114;
  max-width: 260px;
  background: rgba(8,9,12,.92);
  border: 1px solid rgba(196,118,58,.4);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--serif); font-size: 13.5px; line-height: 1.5;
  color: var(--cream-2);
  box-shadow: 0 16px 40px -20px rgba(0,0,0,.85);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.bgm-hint.show{ opacity: 1; transform: none; }
.bgm-hint em{ color: var(--copper); font-style: italic; }

@media (max-width: 560px){
  /* 窄屏调整，但具体定位让给 .is-mobile / (hover:none) 规则 —— 它们更准确 */
  .bgm-meta{ max-width: 130px; }
}

/* 移动端（JS 添加的 .is-mobile 类）：iframe 缩略图在右下角，dock 让到左下角 */
.is-mobile .bgm-dock{
  right: auto !important;
  left: max(12px, env(safe-area-inset-left, 0)) !important;
  bottom: calc(12px + env(safe-area-inset-bottom, 0)) !important;
  max-width: calc(100vw - 144px) !important;
}
/* 移动端 dock 只保留三个按钮，曲名信息留给缩略图与 hint 提示 */
.is-mobile .bgm-meta{ display: none; }
.is-mobile .bgm-hint{
  left: max(12px, env(safe-area-inset-left, 0));
  right: auto;
  bottom: calc(82px + env(safe-area-inset-bottom, 0));
  max-width: 260px;
}
.is-mobile.bgm-collapsed .bgm-dock{
  /* 缩略图折叠后，dock 可以拉大一点（右侧腾出空间） */
  max-width: calc(100vw - 56px) !important;
}
@media print{ .bgm-dock, .bgm-hint, .bgm-stage, .bgm-tap-overlay{ display:none !important; } }

/* ---- 「点屏开播」蒙层（移动端兜底） ----
   首次进站若浏览器顽固禁止 autoplay，弹一个全屏可点击层。
   用户点任意处即同步 mount iframe（在 click 回调的同步链路上）。 */
.bgm-tap-overlay{
  position: fixed; inset: 0; z-index: 130;
  background: radial-gradient(ellipse at 50% 40%, rgba(10,12,16,.92), rgba(8,9,12,.98));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: max(24px, env(safe-area-inset-top, 0)) 20px max(24px, env(safe-area-inset-bottom, 0));
  animation: bgmTapIn .35s var(--ease);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
@keyframes bgmTapIn{ from { opacity: 0; } to { opacity: 1; } }
.bgm-tap-card{
  text-align: center;
  max-width: 380px;
  padding: clamp(32px, 6vw, 56px) clamp(24px, 5vw, 40px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,23,29,.85), rgba(14,16,20,.95));
  border-radius: 12px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(196,118,58,.08);
}
.bgm-tap-icon{
  width: 78px; height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--bg);
  display: grid; place-items: center;
  font-size: 32px;
  box-shadow: 0 0 0 8px rgba(196,118,58,.12), 0 16px 30px -10px rgba(196,118,58,.5);
  animation: bgmTapPulse 2s ease-in-out infinite;
}
@keyframes bgmTapPulse{
  0%, 100% { box-shadow: 0 0 0 8px rgba(196,118,58,.12), 0 16px 30px -10px rgba(196,118,58,.5); }
  50% { box-shadow: 0 0 0 16px rgba(196,118,58,.04), 0 16px 30px -10px rgba(196,118,58,.6); }
}
.bgm-tap-title{
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 4.5vw, 28px);
  color: var(--cream);
  line-height: 1.35;
  margin-bottom: 14px;
  font-variation-settings: "opsz" 100, "SOFT" 50;
}
.bgm-tap-title em{
  font-style: italic; color: var(--copper);
  font-variation-settings: "SOFT" 100;
}
.bgm-tap-sub{
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .12em;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.bgm-tap-close{
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .18em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 99px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  min-height: 38px;
}
.bgm-tap-close:hover, .bgm-tap-close:focus{
  color: var(--cream-2);
  border-color: var(--cream-2);
}
@media (prefers-reduced-motion: reduce){
  .bgm-tap-overlay, .bgm-tap-icon{ animation: none !important; }
}
@media (prefers-reduced-motion: reduce){
  .bgm-meta .eqx span{ animation: none !important; height: 5px !important; }
}

/* ---- 服务 / 能为你做的（来自微风同行，铜橙化重绘） ---- */
.services-sec, .songbook-sec, .contact-sec{
  padding: clamp(60px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 2;
}
.svc-grid{
  display: grid; gap: clamp(16px, 2vw, 26px);
  grid-template-columns: 1fr;
}
@media (min-width: 800px){ .svc-grid{ grid-template-columns: repeat(3, 1fr); } }
.svc-card{
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .3s, transform .4s var(--ease);
}
@media (hover:hover){ .svc-card:hover{ border-color: var(--copper); transform: translateY(-4px); } }
.svc-card .ic{
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(196,118,58,.4);
  color: var(--copper); font-size: 22px;
  background: radial-gradient(circle at 40% 30%, rgba(196,118,58,.18), transparent 70%);
}
.svc-card h3{
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--cream);
  font-variation-settings: "opsz" 80, "SOFT" 40;
}
.svc-card .d{ color: var(--cream-2); line-height: 1.75; font-size: 15.5px; flex: 1; }
.svc-card .p{
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
  padding-top: 14px; border-top: 1px solid var(--line);
}
.svc-card .lnk{
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cream-2);
  transition: color .25s, transform .25s; align-self: flex-start;
}
.svc-card .lnk:hover{ color: var(--copper); transform: translateX(3px); }

/* ---- 曲库 song cloud ---- */
.song-cloud{ display: flex; flex-wrap: wrap; gap: 10px; }
.song-chip{
  font-family: var(--cn); font-size: 15px;
  color: var(--cream-2);
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--bg-2);
  transition: border-color .25s, color .25s, transform .25s, background .25s;
}
@media (hover:hover){
  .song-chip:hover{ border-color: var(--copper); color: var(--cream);
    background: rgba(196,118,58,.08); transform: translateY(-2px); }
}

/* ---- 联系 / 留言表单 ---- */
.contact-grid{
  display: grid; gap: 56px; grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .contact-grid{ grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
}
.contact-info .row{
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  align-items: baseline;
  padding: 16px 0; border-bottom: 1px dashed rgba(31,36,44,.9);
}
.contact-info .row:last-of-type{ border-bottom: 0; }
.contact-info .row .k{
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.contact-info .row .v{ font-family: var(--serif); font-size: 17px; color: var(--cream); }
.contact-info .warm{
  margin-top: 24px; color: var(--cream-2);
  font-style: italic; font-family: var(--serif); line-height: 1.7;
}
.contact-form{
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 44px);
  display: grid; gap: 20px;
}
.sent-tip{
  display: none;
  padding: 14px 18px;
  border: 1px solid rgba(94,143,140,.45);
  background: linear-gradient(180deg, rgba(94,143,140,.1), transparent);
  color: var(--teal-2);
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  border-radius: 2px;
}
.sent-tip.show{ display: block; }

/* ---- 后台：歌单管理 ---- */
.pl-bulk{
  width: 100%;
  min-height: 220px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--copper);
  color: var(--cream-2);
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7;
  padding: 16px 18px; border-radius: 4px;
  resize: vertical;
}
.pl-bulk:focus{ outline: none; border-color: var(--copper); }
.pl-report{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px; margin: 18px 0 4px;
}
.pl-report .cell{
  border: 1px solid var(--line); background: var(--bg);
  padding: 14px 16px; border-radius: 4px;
}
.pl-report .cell .n{
  font-family: var(--serif); font-weight: 300; font-size: 30px;
  color: var(--cream); line-height: 1;
}
.pl-report .cell .n em{ color: var(--copper); font-style: italic; }
.pl-report .cell .l{
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-top: 8px;
}
.pl-list{ display: grid; gap: 10px; margin-top: 18px; }
.pl-row{
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center; gap: 14px;
  border: 1px solid var(--line); background: var(--bg-2);
  padding: 12px 16px; border-radius: 4px;
}
.pl-row .idx{ font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pl-row .meta{ min-width: 0; }
.pl-row .meta .t{
  font-family: var(--serif); font-size: 16px; color: var(--cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pl-row .meta .s{
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--muted); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pl-row .ops{ display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.pl-row form{ display: inline; }
.pl-flags{
  display: flex; flex-wrap: wrap; gap: 22px;
  align-items: center;
}
.pl-flags label{
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cream-2);
  cursor: pointer;
}
.pl-flags input[type=checkbox]{ width: 18px; height: 18px; min-height: auto; accent-color: var(--copper); }
.pl-title-edit{
  background: var(--bg); border: 1px solid var(--line); color: var(--cream);
  font-family: var(--serif); font-size: 14px; padding: 7px 10px; border-radius: 3px;
  min-height: auto; width: 180px; max-width: 46vw;
}
@media (max-width: 620px){
  .pl-row{ grid-template-columns: 1fr; gap: 10px; }
  .pl-row .ops{ justify-content: flex-start; }
}
