:root {
  color-scheme: dark;
  font-family: Onest, Arial, sans-serif;
  color: #f3f0fa;
  background: #0b0814;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(850px 420px at 75% -10%, #47307755, transparent), #0b0814; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #d0baff; outline-offset: 3px; }
.top { min-height: 76px; max-width: 1456px; margin: auto; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; white-space: nowrap; }
.wordmark img { width: 46px; height: 34px; object-fit: contain; }
.wordmark span { font-weight: 500; color: #b9aadf; }
.top nav { display: flex; align-items: center; gap: 30px; }
.top nav a { color: #b8b1c8; text-decoration: none; font-size: 14px; transition: color .2s; }
.top nav a:hover, .top nav [aria-current] { color: #fff; }
@media (max-width: 1050px) { .top { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; } .top nav { width: 100%; overflow-x: auto; white-space: nowrap; } }
main { max-width: 1456px; margin: auto; padding: 0 42px 90px; }
.intro { min-height: 296px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #ffffff25; border-radius: 22px; margin: 0 0 28px; padding: 40px 48px; position: relative; overflow: hidden; background: #1b112f; isolation: isolate; }
.intro::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0c0815 0%, #0c0815ed 36%, #0c08156b 76%, #0c081520), url('/img/art/w/city_blossom_spire-1600.webp') center right / cover no-repeat; }
.eyebrow { color: #c3adff; font-size: 11px; letter-spacing: .16em; font-weight: 800; margin: 0; }
h1, h2 { font-family: Unbounded, Onest, sans-serif; letter-spacing: -.045em; }
h1 { font-size: clamp(35px, 4.6vw, 60px); font-weight: 620; line-height: 1.15; margin: 17px 0; }
.intro p { color: #d2cadf; font-size: 16px; max-width: 615px; margin: 0; }
.filters { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; padding: 22px; border: 1px solid #ffffff20; border-radius: 17px; background: #ffffff08; }
.filters label { min-width: 170px; display: grid; gap: 7px; color: #d0c4df; font-size: 12px; font-weight: 650; }
.filters .search { flex: 1; min-width: 230px; }
.filters input, .filters select { width: 100%; height: 47px; border: 1px solid #ffffff2c; border-radius: 11px; outline: none; background: #100b1d; color: #f3f0fa; padding: 0 14px; }
.filters input:focus, .filters select:focus { border-color: #bb9aff; }
.count { color: #aa9ebe; font-size: 13px; min-height: 26px; margin: 26px 0 11px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 13px; }
.card { min-height: 250px; border: 1px solid #ffffff22; border-radius: 17px; background: #21172f; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: end; padding: 21px; text-decoration: none; transition: transform .2s, border-color .2s; isolation: isolate; }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0b0814 0%, #0b0814d3 40%, #0b081438 100%); }
.card-art { position: absolute; z-index: -2; right: 0; top: -5%; width: 100%; height: 110%; object-fit: cover; opacity: .65; transition: transform .35s; }
.card:hover { transform: translateY(-3px); border-color: #b69afb; }
.card:hover .card-art { transform: scale(1.04); }
.card h2 { font-size: 18px; font-weight: 620; line-height: 1.25; margin: 12px 0 8px; }
.card .bottom { font-size: 12px; color: #c8badc; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { border-radius: 999px; background: #8b5cf63d; color: #e1d4ff; padding: 5px 9px; font-size: 11px; font-weight: 750; }
.tag.mode { background: #22484aa8; color: #a8eeeb; }
.empty { grid-column: 1/-1; border: 1px dashed #ffffff38; border-radius: 17px; padding: 30px; color: #c4b8d3; }
.empty p { margin: 0 0 14px; }
.empty a { color: #d8c5ff; text-decoration: none; font-weight: 700; }
.empty a:hover { text-decoration: underline; }
.back { display: inline-block; margin: 0 0 20px; color: #cbb3ff; text-decoration: none; }
.back:hover { text-decoration: underline; }
.panel { border: 1px solid #ffffff22; border-radius: 18px; background: #ffffff0a; padding: 27px; margin: 14px 0; }
.panel h2 { margin: 0 0 18px; font-size: 22px; font-weight: 560; }
.meta, .muted { color: #b8adcb; }
.meta { font-size: 13px; }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.slot { padding: 15px; border: 1px solid #ffffff1e; border-radius: 12px; background: #100b1d; }
.slot b { display: block; color: #c3adff; margin-bottom: 8px; }
.slot ol { margin: 0; padding-left: 21px; color: #e2dcef; }
.slot li { padding: 2px 0; }
.notes { white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-actions { display: flex; gap: 10px; margin: 24px 0; }
.button { border: 0; border-radius: 11px; background: #8b5cf6; color: #fff; padding: 12px 17px; font-weight: 700; }
.button:hover { background: #a173fa; }
footer { border-top: 1px solid #ffffff19; color: #938aa5; font-size: 12px; text-align: center; padding: 25px 20px; }
@media (max-width: 650px) {
  .top { padding: 12px 18px; min-height: 62px; flex-wrap: wrap; }
  .wordmark { font-size: 14px; }
  .wordmark img { width: 38px; height: 28px; }
  .top nav { width: 100%; justify-content: flex-start; gap: 17px; }
  .top nav a { font-size: 12px; }
  main { padding: 0 14px 70px; }
  .intro { min-height: 265px; padding: 27px 24px; }
  .intro::before { background: linear-gradient(90deg, #0c0815f8, #0c081580), url('/img/art/w/city_blossom_spire-800.webp') center / cover no-repeat; }
  .intro p { font-size: 14px; }
  .filters { padding: 15px; gap: 10px; }
  .filters label { flex: 1; min-width: 130px; }
  .filters .search { flex-basis: 100%; }
  .panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .top nav a, .card, .card-art { transition: none; } .card:hover { transform: none; } }
@media (max-width: 650px) { .top nav { flex-wrap: wrap; overflow: visible; white-space: normal; row-gap: 5px; } }
