:root {
  color-scheme: dark; --bg:#100e18; --panel:#181521; --line:#30283d;
  --muted:#b9b0c7; --text:#f7effb; --pink:#ff9cbc; --peach:#ffc08f;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing:border-box }
html { scroll-behavior:smooth; scroll-padding-top:1.5rem }
body { margin:0; background:var(--bg); color:var(--text); line-height:1.65; font-size:16px }
a { color:inherit; text-decoration:none }
button,input { font:inherit }
button { cursor:pointer }
:focus-visible { outline:2px solid #ffc08f; outline-offset:4px }
.wrap { width:min(1184px,calc(100% - 80px)); margin-inline:auto }
.top { background:#120f1b; border-bottom:1px solid #2e2436 }
.bar { display:flex; gap:1.25rem; min-height:72px; align-items:center; justify-content:space-between }
.brand { display:inline-flex; align-items:center; gap:.8rem; flex-shrink:0; font-weight:850; font-size:1.12rem; line-height:1.25 }
.brand small { display:block; color:#cb91b1; font-size:.67rem; letter-spacing:.19em; margin-top:.25rem; font-weight:700 }
.mark { width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,#901e64,#402957);border:1px solid #b25593;color:#fff;font-size:1rem;letter-spacing:-.08em }
.nav { display:flex; gap:clamp(1rem,3vw,2.6rem); color:#dbd2e2; align-items:center; white-space:nowrap;font-size:.92rem }
.nav a:hover,.footer a:hover,.breadcrumbs a:hover { color:var(--pink) }
.languages { display:flex; align-items:center; gap:.25rem; flex-wrap:wrap; color:#ded4e6; font-size:.85rem }
.languages a { padding:.25rem .5rem; border:1px solid transparent; border-radius:5px; white-space:nowrap }
.languages a:hover { color:var(--pink) }
.languages [aria-current="page"] { border-color:#62475f; color:#ffd2e3; background:#282030 }
html[lang="ja"] { font-family:Inter,"Hiragino Sans","Yu Gothic","Noto Sans CJK JP",sans-serif }
.hero { position:relative; isolation:isolate; min-height:570px; display:flex; align-items:center; overflow:hidden; background:#27172e }
.hero img { position:absolute; width:100%; height:100%; inset:0; object-fit:cover; object-position:50% 52%; z-index:-2 }
.hero::after { position:absolute; content:""; inset:0; z-index:-1; background:linear-gradient(90deg,#180f25f5 0%,#21132ae0 24%,#26143059 57%,#230c2511 100%),linear-gradient(0deg,#130e1cf5 0%,transparent 33%); }
.hero-inner { padding-block:68px 70px }
.hero h1 { font-size:clamp(3.35rem,8.2vw,7.55rem); margin:.25rem 0 .13rem; line-height:1; font-family:Inter,Arial,sans-serif; letter-spacing:-.078em; font-weight:950; color:#fff0ee; text-shadow:0 5px 38px #1d102766 }
.hero h1 span { color:#ffb2a2 }
.eyebrow { text-transform:uppercase; color:#f3b0c8; letter-spacing:.19em; font-size:.82rem; font-weight:750; display:flex; align-items:center; gap:.75rem }
.eyebrow::before { content:""; display:inline-block; width:1.8rem;height:1px;background:#f3b0c8 }
.hero h2 { overflow-wrap:anywhere; font-size:clamp(1.55rem,3.3vw,2.85rem); line-height:1.2; letter-spacing:.055em; margin:.7rem 0 1rem }
.hero p { color:#eee1eb; max-width:29rem; margin:0 0 1.65rem }
.actions { display:flex; align-items:center; flex-wrap:wrap; gap:.72rem }
.button,.share { display:inline-flex; gap:.48rem; align-items:center; justify-content:center; border-radius:7px; padding:.66rem 1.1rem; font-weight:750; background:#292032; border:1px solid #62475f; color:#fff0f8 }
.button.primary { color:#211020; background:linear-gradient(120deg,#ffa7c5,#ffbf91); border-color:transparent }
.button:hover,.share:hover { filter:brightness(1.13) }
.icon { width:1.18rem; height:1.18rem; flex:none }
.hero .art-credit { text-align:right; position:absolute; bottom:.8rem; right:max(1rem,calc((100% - 1184px)/2)); font-size:.78rem; color:#e5d6ea }
.strip { background:#181320; border-block:1px solid #312638 }
.strip-inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-block:.85rem; font-size:.91rem }
.strip-inner a { color:#ffb9cb; font-weight:720 }
.strip-inner strong { color:#ffd3e0 }
.section { padding-block:3.65rem }
.section + .section { border-top:1px solid var(--line) }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.35rem }
.section-head h2 { margin:0; font-size:clamp(1.85rem,4vw,2.7rem); line-height:1.22; letter-spacing:-.04em }
.section-head p { color:var(--muted); margin:.5rem 0 0 }
.search { position:relative; color:var(--muted); width:min(100%,255px); flex:none }
.search .icon { position:absolute; inset:.78rem auto auto .85rem; pointer-events:none }
.search input { width:100%; min-height:45px; padding:.55rem .8rem .55rem 2.45rem; color:var(--text); background:var(--panel); border:1px solid var(--line); border-radius:8px }
.search input::placeholder { color:#ada3bd }
.filters { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.2rem }
.filter { color:#d7cce2; background:transparent; border:1px solid #392e45; border-radius:30px; padding:.37rem .85rem; font-size:.875rem }
.filter:hover { border-color:#ae70a0 }
.filter[aria-pressed=true] { color:#231222; background:#ffb0cc; border-color:#ffb0cc; font-weight:800 }
.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem }
.card { border:1px solid var(--line); border-radius:11px; overflow:hidden; background:var(--panel); display:flex; flex-direction:column; min-width:0; transition:border-color .2s }
.card:hover { border-color:#985a87 }
.card[hidden],[hidden] { display:none!important }
.card-art { position:relative; height:91px; display:flex; align-items:center; padding-inline:1.15rem; overflow:hidden; border-bottom:1px solid #ffffff12; color:var(--tone); background:radial-gradient(ellipse at 21% 110%,var(--glow),transparent 62%),repeating-linear-gradient(142deg,transparent 0 15px,#fff 15px 16px,transparent 16px 33px),var(--ground); background-blend-mode:normal,soft-light,normal }
.card-art .art-icon { width:45px;height:45px;display:grid;place-items:center;border:1px solid color-mix(in srgb, currentColor 44%, transparent);border-radius:11px;background:#160f2490 }
.art-icon .icon { width:25px;height:25px }
.purple { --tone:#efb1ff; --glow:#61467f; --ground:#2d1e42 }
.peach { --tone:#ffba9d; --glow:#7b4357; --ground:#401f32 }
.teal { --tone:#95efd6; --glow:#285b6c; --ground:#162e3b }
.card-body { display:flex; flex-direction:column; gap:.32rem; padding:.95rem 1.12rem 1.1rem; flex:1 }
.meta { color:var(--tone,#ffc4dd); font-size:.84rem; font-weight:750 }
.card h3 { margin:0; font-size:1.18rem; line-height:1.42 }
.card p { color:var(--muted); font-size:.96rem; margin:0 0 .45rem }
.card time { color:var(--muted); font-size:.8rem; margin-top:auto }
.resources { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem }
.resource { display:flex; align-items:center; gap:.85rem; background:var(--panel); border:1px solid var(--line); padding:1rem 1.05rem; border-radius:9px }
.resource:hover { border-color:#985a87 }
.resource .icon { color:#ffa7c6; width:1.35rem; height:1.35rem }
.resource b { display:block }
.resource small { color:var(--muted); display:block; font-size:.9rem }
.footer { border-top:1px solid var(--line); background:#14101d; padding:1.6rem 0; color:var(--muted); font-size:.9rem }
.footer-inner { display:flex; justify-content:space-between; gap:.85rem; flex-wrap:wrap }
.footer nav { display:flex; gap:1rem }
.read { max-width:760px; padding-block:2.75rem 4rem }
.breadcrumbs { color:var(--muted); margin-bottom:1.6rem }
.read h1 { font-size:clamp(2.1rem,6vw,3.55rem); letter-spacing:-.045em; line-height:1.15; margin:.35rem 0 .8rem }
.read .intro { font-size:1.14rem; color:#e4cedf }
.read h2 { margin:1.7rem 0 .3rem; line-height:1.35;font-size:1.32rem }
.read p { margin:.45rem 0 .9rem }
.read section p,.read li { color:#d9cfe1 }
.read ul { padding-left:1.3rem }
.read li a,.read p a { color:#ffb4d1; text-decoration:underline; text-underline-offset:3px }
.read .date,.feedback { color:var(--muted);font-size:.9rem }
.read .actions { margin-block:1.2rem 1.7rem; min-height:2.8rem }
.empty { color:var(--muted); padding:.5rem 0 }
@media(max-width:820px) {
  .wrap { width:calc(100% - 42px) }
  .cards { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .hero { min-height:500px }
  .bar { gap:.75rem; flex-wrap:wrap; padding-block:.65rem }
  .nav { gap:1rem; white-space:normal }
  .languages { margin-left:auto }
}
@media(max-width:540px) {
  .wrap { width:calc(100% - 30px) }
  .bar { flex-wrap:wrap; justify-content:flex-start; gap:.65rem; padding:.75rem 0 }
  .nav { gap:.6rem 1rem; width:100%; flex-wrap:wrap }
  .languages { margin-left:0 }
  .hero { min-height:454px }
  .hero img { object-position:63% center }
  .hero::after { background:linear-gradient(90deg,#180f25ed,#1e112863 85%),linear-gradient(0deg,#130e1cf5 0%,transparent 37%) }
  .hero-inner { padding-block:52px 58px }
  .strip-inner { align-items:flex-start; flex-direction:column; gap:.28rem }
  .section { padding-block:2.35rem }
  .section-head { align-items:flex-start; flex-direction:column }
  .cards,.resources { grid-template-columns:1fr }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto }
  *,*::before,*::after { transition:none!important }
}
.sr-only { position:absolute; width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap }
