:root {
  color-scheme: light;
  --ink: #16243d;
  --navy: #101d33;
  --quiet: #4e617a;
  --blue: #194cd5;
  --light-blue: #9bc8ff;
  --edge: #d8e2f0;
  --surface: #f3f6fb;
  --white: #fff;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1rem; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--surface); line-height: 1.55; }
a { color: var(--blue); text-underline-offset: .18em; }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button, input, select, summary, a { -webkit-tap-highlight-color: #245add27; }
:focus-visible { outline: 3px solid #367aff; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h3 { font-size: 1.12rem; }
img { display: block; object-fit: contain; max-width: 100%; }
.wrap { width: min(100% - 2rem, 72rem); margin: 0 auto; }
.skip { position: absolute; z-index: 10; top: 0; left: .5rem; transform: translateY(-115%); padding: .75rem 1rem; background: var(--white); font-weight: 700; }
.skip:focus { transform: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--edge); }
.bar, .foot { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; color: var(--navy); font-size: .99rem; font-weight: 780; line-height: 1.18; text-decoration: none; }
.brand > svg { background: var(--blue); color: var(--white); width: 2.15rem; height: 2.15rem; padding: .35rem; border-radius: .52rem; }
.brand > span > span { font-size: .76rem; font-weight: 650; display: block; color: var(--quiet); }
.bar nav a { color: var(--ink); font-size: .93rem; font-weight: 680; padding: .6rem .15rem; text-decoration: none; }
.bar nav a:hover { text-decoration: underline; }
.hero { background: var(--navy); color: var(--white); }
.hero-layout { min-height: 19rem; display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(1.4rem, 6vw, 5.2rem); align-items: center; padding: 2.4rem 0; }
.hero h1 { font-size: clamp(2.35rem, 5.5vw, 4rem); font-weight: 780; letter-spacing: -.056em; text-wrap: balance; }
.intro > p { margin: .72rem 0 1.45rem; max-width: 35rem; color: #cfddf3; font-size: clamp(.98rem, 2.5vw, 1.15rem); }
.search { position: relative; }
.search label { display: block; margin-bottom: .36rem; color: #d9e8fc; font-size: .89rem; font-weight: 670; }
.search-box { display: flex; align-items: center; background: var(--white); color: var(--ink); border: 2px solid transparent; border-radius: .65rem; min-height: 3.35rem; padding: 0 .85rem; }
.search-box:focus-within { border-color: #5592ff; box-shadow: 0 0 0 3px #83baff52; }
.search-box svg { flex: 0 0 auto; color: var(--blue); margin-right: .55rem; }
.search-box input { width: 100%; min-width: 0; padding: .6rem 0; background: none; border: none; outline: none; font-size: 1rem; }
.search-box input::placeholder { color: #5b6e87; }
.suggestions { position: absolute; z-index: 4; top: 100%; left: 0; right: 0; padding: .32rem; margin: .36rem 0 0; color: var(--ink); list-style: none; background: var(--white); border: 1px solid var(--edge); border-radius: .65rem; box-shadow: 0 12px 28px #06101f46; }
.suggestions li { display: flex; justify-content: space-between; align-items: center; gap: .62rem; min-height: 2.7rem; padding: .42rem .6rem; border-radius: .4rem; cursor: pointer; }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: #e6efff; color: #153685; }
.suggestions small { color: var(--quiet); white-space: nowrap; }
.feature { display: grid; color: var(--white); padding: .6rem 1rem .65rem; border: 1px solid #829dd04a; border-radius: .95rem; text-decoration: none; background: #192a46; }
.feature:hover, .feature:focus-visible { border-color: var(--light-blue); }
.feature-art { display: grid; place-items: center; background: radial-gradient(ellipse at center, #283f68, transparent 72%); height: 11.3rem; }
.feature-art img { width: 100%; height: 100%; object-fit: contain; }
.feature-label { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: .3rem 0 0; border-top: 1px solid #829dd04a; font-size: .93rem; font-weight: 660; }
.feature-label svg { color: var(--light-blue); width: 1rem; }
.catalog { padding-block: 1.9rem 3rem; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 1.15rem; margin-bottom: 1.15rem; }
.catalog-head p { color: var(--quiet); font-size: .9rem; margin-top: .28rem; }
.filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .68rem; flex-shrink: 0; }
.filters label { display: grid; gap: .2rem; color: var(--quiet); font-size: .82rem; font-weight: 650; }
.filters select { width: 100%; min-width: 0; min-height: 2.75rem; padding: .42rem .55rem; border: 1px solid #b9c9e0; border-radius: .55rem; background: var(--white); color: var(--ink); font-size: 1rem; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .92rem; }
.card { border: 1px solid var(--edge); border-radius: .82rem; background: var(--white); box-shadow: 0 2px 9px #1023420b; min-width: 0; }
.card a { display: flex; flex-direction: column; color: inherit; border-radius: inherit; height: 100%; text-decoration: none; }
.card a:hover h3 { color: var(--blue); }
.card-art { display: grid; place-items: center; width: 100%; border-radius: .76rem .76rem 0 0; aspect-ratio: 1.85; min-height: 6.5rem; background: radial-gradient(ellipse, #2b426a, #16273f 70%); overflow: hidden; }
.card-art img { width: 94%; height: 100%; min-height: 0; object-fit: contain; }
.card-text { position: relative; padding: .75rem 2rem .86rem .85rem; }
.card-text > svg { position: absolute; right: .55rem; bottom: .78rem; width: .95rem; color: var(--blue); }
.category { font-size: .82rem; color: #2550a8; font-weight: 740; }
.category span { color: #506d9b; padding-inline: .14em; }
.card h3 { margin-top: .27rem; overflow-wrap: anywhere; }
.btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.65rem; padding: .52rem .82rem; border: 1px solid #b3c6e7; border-radius: .6rem; background: var(--white); color: #193d90; font-weight: 700; text-decoration: none; }
.btn:hover { background: #e9f1ff; border-color: #6e9bef; }
.btn svg, .back svg { width: 1rem; }
.more { display: flex; margin: 1.3rem auto 0; }
.empty { grid-column: 1 / -1; background: var(--white); border: 1px solid var(--edge); border-radius: .7rem; padding: 1.25rem; color: var(--quiet); }
.empty button { margin-top: .7rem; }
.site-footer { background: var(--white); color: var(--quiet); border-top: 1px solid var(--edge); font-size: .88rem; }
.foot { flex-wrap: wrap; padding: .8rem 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.foot a { color: #32538f; }
.detail { padding-block: 1.5rem 3rem; }
.detail h1 { font-size: clamp(2.1rem, 5vw, 3.55rem); letter-spacing: -.047em; }
.detail h1 + p { margin-top: .38rem; }
.back { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1rem; font-weight: 700; text-decoration: none; }
.detail-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
.detail-head .category { margin-bottom: .46rem; }
.share { text-align: right; min-width: 7.5rem; }
.share p { font-size: .82rem; color: var(--quiet); }
.share input { width: min(100%, 19rem); margin-top: .45rem; color: var(--ink); }
.en-name, .description { color: var(--quiet); }
.description { max-width: 67ch; margin-bottom: 1rem; }
.poses { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.poses.single { grid-template-columns: minmax(0,33rem); }
.poses figure { margin: 0; border: 1px solid var(--edge); border-radius: .8rem; overflow: hidden; background: var(--white); }
.pose { display: grid; place-items: center; aspect-ratio: 1.5; background: radial-gradient(ellipse, #2e4873, #16273f 74%); }
.pose img { width: 100%; height: 100%; max-height: 23rem; }
figcaption { padding: .46rem .64rem; font-size: .9rem; font-weight: 720; }
.credit { padding: .55rem 0 1rem; font-size: .84rem; color: var(--quiet); }
.credit p { margin-top: .2rem; }
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: .9rem; align-items: start; }
.panel { border: 1px solid var(--edge); border-radius: .8rem; background: var(--white); padding: clamp(.9rem,2.2vw,1.3rem); margin-bottom: .85rem; }
.panel h2 { margin-bottom: .75rem; font-size: 1.28rem; }
.panel h3 { margin-block: .92rem .25rem; font-size: 1rem; }
.panel li { padding-left: .12rem; margin-bottom: .35rem; }
.panel :is(ol,ul) { padding-left: 1.28rem; margin: .3rem 0 0; }
.panel dl { margin: 0; }
.panel dt { font-size: .87rem; color: var(--quiet); font-weight: 700; margin-top: .45rem; }
.panel dd { margin-left: 0; }
.video { max-width: 48rem; }
.video .btn { margin-right: .5rem; }
.video :is(video,iframe) { display: block; width: 100%; aspect-ratio: 16/9; height: auto; border: 0; margin-top: .65rem; }
.related { margin-top: 1rem; }
.related h2 { margin-bottom: .75rem; }
.credits-list { padding-left: 1.2rem; line-height: 1.8; }
@media(max-width: 730px) {
  .hero-layout { min-height: auto; display: block; padding-block: 1.8rem; }
  .feature { display: none; }
  .catalog-head { align-items: stretch; flex-direction: column; gap: .65rem; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .detail-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .detail-head { flex-wrap: wrap; }
  .share { text-align: left; }
}
@media(max-width: 390px) {
  .wrap { width: calc(100% - 1.5rem); }
  .suggestions small { display: none; }
  .card-text { padding: .58rem 1.32rem .62rem .57rem; }
  .card-text .category { font-size: .74rem; }
  .card h3 { font-size: 1rem; }
  .card-text > svg { right: .42rem; bottom: .6rem; width: .75rem; }
}
@media(prefers-reduced-motion:no-preference) { .card a { transition: color .15s ease; } }
