:root {
  color-scheme: dark;
  --bg: #141018;
  --surface: #211925;
  --text: #fff7ed;
  --muted: #c7b7c9;
  --line: #ffffff21;
  --accent: #ffb28f;
  --accent-hover: #ffccae;
  --gutter: clamp(18px, 5vw, 72px);
  font: 16px/1.5 system-ui, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; z-index: 6; top: .6rem; left: .6rem; transform: translateY(-180%); padding: .65rem 1rem; border-radius: 8px; background: var(--accent); color: var(--bg); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { border-bottom: 1px solid var(--line); background: #171019; }
.header-inner { display: flex; align-items: center; gap: clamp(16px, 4vw, 56px); min-height: 70px; }
.brand { display: inline-flex; align-items: center; white-space: nowrap; font-size: 1.25rem; font-weight: 890; letter-spacing: -.065em; line-height: 1; }
.brand-icon { width: 30px; height: 30px; border-radius: 9px; margin-right: 9px; background: var(--accent) url("./assets/icon.svg") center/100% 100%; flex: none; }
.brand-period { color: var(--accent); }
.brand-label { margin-left: .62rem; font-size: .64rem; font-weight: 650; letter-spacing: .14em; color: var(--muted); }
.header-inner nav { display: flex; gap: 1.55rem; color: var(--muted); font-size: .92rem; }
.header-inner nav a, .footer-inner nav a, .footer-inner nav button { padding-block: .5rem; }
.header-inner nav a:hover, .footer-inner nav a:hover, .footer-inner nav button:hover { color: var(--accent); }
.header-watch { background-color: transparent; margin-left: auto; display: inline-flex; align-items: center; white-space: nowrap; gap: .6rem; padding: .54rem .85rem; border-radius: 999px; border: 1px solid #665566; color: var(--text); font-size: .86rem; }
.prime-word { color: #b6dff0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.07em; line-height: 1; }

.feature { display: grid; align-items: center; isolation: isolate; position: relative; overflow: hidden; border: 1px solid #ffffff24; border-radius: 25px; min-height: clamp(390px, 37vw, 530px); margin-top: 28px; background: #291d31; }
.feature-art { z-index: -3; position: absolute; inset: 0 0 0 29%; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--art-position, 50% 43%); }
.feature::before { content: ""; z-index: -2; position: absolute; inset: 0; background: linear-gradient(90deg,#221829 0%,#221829 25%,#221829e9 38%,#26192b80 54%,transparent 78%), linear-gradient(0deg,#16101ac4,transparent 60%); }
.feature-body { max-width: 610px; padding: 45px clamp(28px, 5vw, 76px) 54px; }
.kicker { display: flex; align-items: center; gap: .55rem; color: #ffc6ab; font-size: .79rem; font-weight: 740; letter-spacing: .1em; text-transform: uppercase; }
.kicker > span:first-child { width: 13px; height: 2px; background: currentColor; flex: none; }
.kicker .sep { opacity: .6; }
.feature h1 { margin: .16em 0 .19em -.025em; font-size: clamp(3.05rem, 6.5vw, 6.2rem); line-height: .98; font-weight: 820; letter-spacing: -.07em; text-wrap: balance; }
.feature-hook { max-width: 39ch; color: #efe0ed; font-size: clamp(1rem, 1.55vw, 1.17rem); text-wrap: pretty; }
.feature-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .55rem .99rem; gap: .59rem; border: 1px solid transparent; border-radius: 9px; font-size: .93rem; font-weight: 760; white-space: nowrap; }
.button.primary { background: var(--accent); color: #251320; }
.button.primary:hover { background: var(--accent-hover); }
.button.secondary { background: #160f1aab; border-color: #ffffff59; }
.button.secondary:hover { background: #362638; border-color: #ffffffa6; }
.play { flex: none; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.destination-note { margin-top: .65rem; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.feature-length { position: absolute; right: 21px; bottom: 18px; padding: .35rem .65rem; border-radius: 999px; background: #170e1ad6; border: 1px solid #ffffff3b; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }

.catalog { padding-top: clamp(33px, 5vw, 58px); scroll-margin-top: 22px; }
.catalog-lead h2, .handoff h2 { margin-top: .28rem; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.1; font-weight: 800; letter-spacing: -.057em; text-wrap: balance; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.12rem 0 1.9rem; }
.filters a { display: inline-flex; align-items: center; gap: .38rem; min-height: 42px; padding: .46rem .8rem; background: #241b2a; border: 1px solid #ffffff2b; border-radius: 999px; font-size: .89rem; font-weight: 650; white-space: nowrap; }
.filters a:hover { border-color: #fff7ed8a; }
.filters a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #271622; }
.shelf + .shelf { margin-top: clamp(25px, 4vw, 48px); }
.shelf-header { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-bottom: .73rem; }
.shelf-header h3 { font-size: clamp(1.25rem, 2.3vw, 1.8rem); font-weight: 780; letter-spacing: -.035em; }
.shelf-controls { display: flex; gap: .45rem; }
.shelf-controls button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #251b2b; font-size: 1.25rem; line-height: 1; }
.shelf-controls button:disabled { cursor: default; opacity: .38; }
.shelf-controls button:not(:disabled):hover { border-color: #ffd0baa0; }
.shelf-track { display: grid; grid-auto-columns: max(147px, calc((100% - 5rem) / 6)); grid-auto-flow: column; overflow: auto hidden; gap: 1rem; margin: -4px -4px 0; padding: 4px 4px 6px; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shelf-track::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
.card { min-width: 0; scroll-snap-align: start; }
.card-art { display: block; width: 100%; border: 1px solid #ffffff29; border-radius: 13px; background: #2c2231; position: relative; overflow: hidden; aspect-ratio: 10/14.15; padding: 0; text-align: left; }
.card-art::after { content: ""; inset: 0; position: absolute; background: linear-gradient(0deg,#160f1a65,transparent 31%); pointer-events: none; }
.card-art img { height: 100%; object-fit: cover; transition: transform .24s ease; }
button.card-art:hover img, .card-art:focus-visible img { transform: scale(1.055); }
.card-match .card-art { border-color: var(--accent); }
.card-length { position: absolute; top: 8px; left: 8px; z-index: 1; padding: .17rem .39rem; border-radius: 5px; background: #1a101fe8; color: #fff8ed; font-size: .76rem; font-weight: 720; }
.card-preview { position: absolute; bottom: 9px; left: 9px; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; padding: .29rem .53rem; border: 1px solid #ffffff43; border-radius: 999px; background: #201427e8; color: #fff7ed; font-size: .76rem; font-weight: 700; }
.card-preview .play { border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; }
.card-title { margin-top: .58rem; color: var(--text); font-size: 1.04rem; font-weight: 780; line-height: 1.25; }
.card-meta { margin-top: .2rem; color: var(--muted); font-size: .81rem; }
.card-cta { display: inline-flex; align-items: center; min-height: 39px; padding: .36rem .62rem; margin-top: .38rem; border-radius: 7px; border: 1px solid #bd806a7a; background: #2b1d2b; color: #ffc3a7; font-size: .83rem; font-weight: 740; white-space: nowrap; }
.card-cta:hover { border-color: #ffb28f; background: #45303d; color: var(--accent-hover); }
[data-full][aria-busy="true"] { cursor: progress; opacity: .8; }
.noscript { padding: .75rem; background: var(--surface); border-radius: 9px; }

.handoff { margin: clamp(40px, 5.8vw, 81px) 0 38px; padding: clamp(21px, 4.4vw, 52px); display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; border: 1px solid #ffffff2d; border-radius: 17px; background: radial-gradient(ellipse at 95% 12%,#483047,transparent 65%), #211925; }
.member-lockup { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #829aab75; border-radius: 7px; padding: .38rem .55rem; color: #d0eaf7; font-size: .8rem; }
.handoff h2 { margin-top: .54rem; font-size: clamp(1.55rem, 3.1vw, 2.6rem); }
.handoff p { margin-top: .32rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: .9rem 1.5rem; min-height: 80px; padding-block: .82rem; color: var(--muted); font-size: .89rem; }
.footer-inner .brand { font-size: 1.01rem; color: var(--text); }
.footer-inner .brand-icon { width: 25px; height: 25px; border-radius: 6px; }
.footer-inner nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: .2rem 1.12rem; }
.footer-inner nav button { background: transparent; border: 0; padding-inline: 0; }
.mobile-watch { display: none; }

dialog { width: min(590px, calc(100% - 27px)); max-height: calc(100% - 27px); padding: 0; margin: auto; border-radius: 16px; border: 1px solid #705c74; background: var(--surface); color: var(--text); box-shadow: 0 24px 95px #000a; }
dialog::backdrop { background: #0d0812d6; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-body { padding: 27px clamp(19px, 4.8vw, 36px); }
.dialog-body h2 { padding-right: 40px; margin: .25rem 0 .75rem; font-size: clamp(1.45rem, 4.1vw, 2.33rem); font-weight: 790; line-height: 1.12; letter-spacing: -.04em; }
.dialog-body h3 { margin-top: 1rem; font-size: 1.05rem; }
.dialog-body p:not(.kicker) { margin-top: .6rem; color: #ebdbea; }
.dialog-body ul { padding-left: 1.15em; color: #ebdbea; }
.dialog-body li + li { margin-top: .65rem; }
.dialog-body .button { margin-top: .8rem; }
.dialog-body .destination-note, .dialog-body .dialog-note { color: var(--muted); }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.close-button { position: absolute; right: .61rem; top: .61rem; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid #ffffff3e; background: #1b1321eb; font-size: 1.55rem; line-height: 1; }
.close-button:hover { background: #46324b; }
.preview-body video, .preview-body img { display: block; width: 100%; max-height: 52dvh; background: #0d0910; border-radius: 9px; }
.preview-body img { max-height: 240px; object-fit: cover; }
.preview-body p.video-error { color: #ffc7aa; }

@media (max-width: 940px) {
  .shelf-track { grid-auto-columns: max(148px, calc((100% - 3rem) / 4)); }
}
@media (max-width: 660px) {
  body { padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)); }
  .header-inner { min-height: 61px; gap: .55rem; }
  .header-inner nav, .brand-label { display: none; }
  .brand { font-size: 1.1rem; }
  .brand-icon { width: 25px; height: 25px; margin-right: .43rem; border-radius: 7px; }
  .header-watch { gap: .39rem; font-size: .76rem; padding: .5rem .6rem; }
  .header-watch .prime-word { font-size: 1rem; }
  .feature { min-height: 400px; margin-top: 14px; border-radius: 17px; align-items: end; }
  .feature-art { inset: 0 0 17%; }
  .feature-art img { object-position: var(--mobile-position, 65% center); }
  .feature::before { background: linear-gradient(0deg,#231729 0%,#231729f5 24%,#2317299a 54%,transparent 79%); }
  .feature-body { padding: 145px 14px 18px; }
  .feature h1 { font-size: clamp(2.65rem,10vw,3.65rem); text-wrap: initial; }
  .feature-hook { font-size: .96rem; line-height: 1.43; }
  .feature-actions { margin-top: .95rem; gap: .42rem; }
  .feature-actions .button { min-height: 43px; padding-inline: .65rem; font-size: .87rem; }
  .feature-length { top: 10px; right: 10px; bottom: auto; font-size: .64rem; }
  .catalog { padding-top: 30px; }
  .filters { flex-wrap: nowrap; overflow: auto hidden; margin: .62rem calc(-1 * var(--gutter)) 1.04rem; padding: 4px var(--gutter); scrollbar-width: none; }
  .filters a { min-height: 39px; }
  .shelf-track { grid-auto-columns: clamp(134px, 38vw, 188px); gap: .55rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .shelf-controls button { width: 33px; height: 33px; }
  .card-title { font-size: .98rem; }
  .handoff { display: grid; align-items: start; }
  .handoff .button { justify-self: start; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner nav { width: 100%; margin-left: 0; }
  .mobile-watch { position: fixed; z-index: 3; inset: auto 0 0; display: flex; gap: .65rem; justify-content: space-between; align-items: center; padding: .58rem var(--gutter) calc(.58rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #69536d; background: #1d1521f5; }
  .mobile-watch div { min-width: 0; }
  .mobile-watch p { color: var(--muted); font-size: .77rem; }
  .mobile-watch strong { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .91rem; }
  .mobile-watch .button { flex: none; min-height: 43px; font-size: .86rem; }
  body:has(dialog[open]) .mobile-watch { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.shelf-controls button span { width: 8px; height: 8px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); margin-right: 3px; }
.shelf-controls button:first-child span { transform: rotate(-135deg); margin-right: 0; margin-left: 3px; }
.dialog-body p.media-credit { color: var(--muted); font-size: .79rem; line-height: 1.45; }

.card-synopsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: .32rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}
.card-cta { max-width: 100%; white-space: normal; line-height: 1.25; }
.header-watch { line-height: 1.2; }
.feature h1 { overflow-wrap: anywhere; }
.mobile-watch .button { max-width: 65%; white-space: normal; line-height: 1.25; text-align: center; }
@media (max-width: 660px) {
  .header-watch { max-width: 61%; min-height: 39px; white-space: normal; }
  .feature-actions .button { max-width: 100%; white-space: normal; line-height: 1.25; }
  .handoff .button { max-width: 100%; white-space: normal; }
}

@media (max-width: 660px) {
  :lang(ja) .feature h1 { font-size: clamp(1.9rem, 8.2vw, 3.15rem); letter-spacing: -.045em; text-wrap: balance; }
  :lang(ja) .catalog-lead h2 { font-size: clamp(1.53rem, 6.6vw, 2.2rem); letter-spacing: -.04em; }
}

button.text-link, button.card-cta { background: transparent; border: 0; padding-inline: 0; }
