:root {
  --paper: #f5f6f2;
  --ink: #242a23;
  --muted: #7a8176;
  --line: #e1e5dc;
  --green: #607456;
  --surface: #ffffff;
  --soft: #edf0e8;
}
body { letter-spacing: .02em; }
.shell { max-width: 1392px; padding-left: 56px; padding-right: 56px; }
.site-header { height: 96px; }
.wordmark { gap: 11px; font-size: 23px; letter-spacing: -.8px; }
.brand-mark { width: 36px; height: 36px; color: var(--ink); }
.brand-text { line-height: 1.2; }
.brand-text small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 450; letter-spacing: 1.5px; }
.header-right { gap: 26px; }
.nav-link { font-size: 13px; color: #636c5e; padding: 12px 0; }
.nav-link:hover { color: var(--ink); }
.header-edition { display: block; color: #939a8b; font-size: 10px; letter-spacing: 1.4px; }
.header-share { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 10px 15px; border: 1px solid #dce2d5; border-radius: 10px; background: #ffffffb8; font-size: 12px; transition: background .2s, border-color .2s; }
.header-share:hover { background: white; border-color: #b9c4ae; }
.header-share svg { width: 17px; height: 17px; }
.header-share span { font-size: 16px; margin-left: 9px; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: end; gap: 44px; padding: 44px 0 48px; border-top: 1px solid var(--line); }
.intro .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 1.2px; gap: 10px; color: #6e7866; }
.status-dot { width: 6px; height: 6px; box-shadow: 0 0 0 4px #e5ebdf; }
.eyebrow-divider { margin: 0 1px; color: #b2baaa; }
.intro h1 { font-size: clamp(46px, 5vw, 68px); line-height: 1.22; letter-spacing: -3px; font-weight: 550; margin: 22px 0 0; }
.intro h1 > span { color: #818b78; }
.intro-aside { padding-left: 26px; border-left: 1px solid var(--line); margin-bottom: 5px; }
.intro-description { color: #7b8374; font-size: 13px; line-height: 1.95; letter-spacing: .4px; }
.intro-bottom { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: 27px; }
.collection-stat { display: flex; align-items: baseline; gap: 9px; }
.collection-stat strong { font-size: 42px; font-weight: 400; letter-spacing: -2px; line-height: 1; }
.collection-stat > span { font-size: 11px; color: var(--muted); }
.browse-link { display: flex; align-items: center; gap: 9px; font-size: 11px; white-space: nowrap; }
.browse-link > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #d3dbca; border-radius: 50%; font-size: 15px; transition: background .2s; }
.browse-link:hover > span { background: #e4eadd; }

.section-topline { padding-top: 26px; border-top: 1px solid var(--line); }
.section-topline h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 550; letter-spacing: -.4px; }
.section-topline h2 span { margin-left: 0; font-size: 9px; color: #969e8f; letter-spacing: 1px; }
.series-label { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8a9380; letter-spacing: .4px; }
#visible-count { color: #5d6a53; font-variant-numeric: tabular-nums; }
.works-toolbar { padding: 22px 0 24px; }
.filters { gap: 6px; }
.filter { min-height: 38px; padding: 9px 16px; font-size: 12px; border-radius: 9px; color: #7d8774; }
.filter.active { background: #293125; color: white; box-shadow: 0 2px 4px #2830240b; }
.filter span { font-size: 9px; margin-left: 7px; }
.filter:not(.active):hover { background: #e8ede2; }
.watch-hint { font-size: 11px; color: #929b89; gap: 8px; }
.hint-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #a4b196; }
.works-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; min-height: 0; }
.work-card { min-width: 0; }
.work-button { padding: 11px 11px 15px; background: var(--surface); border: 1px solid #e6e9e1; border-radius: 16px; box-shadow: 0 2px 4px #28302403; transition: transform .25s, border-color .25s, box-shadow .25s; }
.work-button:hover { transform: translateY(-5px); border-color: #c7d1bc; box-shadow: 0 11px 24px #2d3d1f0b; }
.poster-wrap { border-radius: 9px; background: #e3e7dd; }
.poster-wrap:after { background: linear-gradient(transparent 35%, #00000030); }
.poster-wrap img { object-fit: contain; transition: opacity .25s; }
.work-button:hover .poster-wrap img { transform: none; }
.poster-number { top: 10px; left: 10px; font-size: 9px; letter-spacing: .8px; padding: 5px 7px; line-height: 1; border: 1px solid #ffffff6b; border-radius: 5px; background: #ffffffdf; color: #3f4739; text-shadow: none; backdrop-filter: blur(8px); }
.poster-duration { right: 9px; bottom: 10px; padding: 5px 7px; font-size: 9px; letter-spacing: .5px; line-height: 1; border-radius: 5px; background: #18201387; backdrop-filter: blur(8px); }
.play-circle { width: 40px; height: 40px; left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); background: #ffffff30; border-color: #ffffffb0; box-shadow: 0 3px 10px #00000013; }
.play-circle svg { width: 13px; height: 13px; }
.work-button:hover .play-circle { transform: translate(-50%, -50%) scale(1.08); background: #ffffffed; }
.card-info { margin-top: 13px; gap: 5px; }
.card-title { font-size: 14px; font-weight: 550; line-height: 1.55; letter-spacing: -.4px; }
.card-arrow { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f3f5ef; color: #7d8b70; font-size: 14px; }
.card-meta { margin-top: 7px; color: #939b8a; font-size: 9px; letter-spacing: .5px; gap: 7px; }
.meta-dot { background: #b5bdad; }
.placeholder { background: #e8ece3; border-radius: 16px; }
.load-error { margin: 24px 0; padding: 26px; border-radius: 12px; border: 1px solid var(--line); background: white; }

.share-strip { margin-top: 50px; padding: 29px 30px; border: 1px solid #e0e6d8; border-radius: 18px; background: linear-gradient(105deg, #eef2e8, #f1f4ed 60%, #f7f8f4); }
.share-intro { display: flex; align-items: center; gap: 22px; }
.share-emblem { display: grid; place-items: center; flex-shrink: 0; width: 63px; height: 63px; border: 1px solid #dbe3d2; border-radius: 17px; color: #6d805d; background: #ffffff8c; }
.share-emblem svg { width: 28px; height: 28px; }
.share-strip .eyebrow { font-size: 8px; letter-spacing: 1.8px; color: #91a27f; }
.share-strip h2 { font-size: 23px; font-weight: 500; margin: 9px 0 7px; letter-spacing: -.6px; }
.share-strip p { font-size: 11px; color: #8b987f; }
.strip-share { min-height: 43px; padding: 12px 18px; border: 1px solid #ccd7bf; border-radius: 10px; background: #ffffffa6; color: #5d6e4f; font-size: 12px; gap: 19px; }
.strip-share:hover { background: white; }
.strip-share > span:last-child { display: inline; margin-left: 0; font-size: 17px; }
.site-footer { height: 100px; }
.footer-brand { display: flex; align-items: baseline; font-size: 14px; font-weight: 550; }
.footer-note { margin-left: 14px; font-size: 10px; color: #9aa38f; font-weight: 400; letter-spacing: .3px; }
.site-footer a { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #929e86; }
.site-footer a span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #dce4d2; border-radius: 50%; margin-left: 0; }

dialog::backdrop { background: #1c241bb8; backdrop-filter: blur(12px); }
.player-dialog { border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 25px 100px #111b0d33; }
.player-top { height: 54px; padding-left: 20px; border-bottom: 1px solid #e9ece5; }
.player-series { color: #7c8b70; font-size: 9px; letter-spacing: 1.5px; }
.icon-button { width: 34px; height: 34px; color: inherit; }
.icon-button:hover { background: #edf1e7; }
.close-player, .close-share { background: #f1f4ec; }
.player-stage { height: min(calc(100dvh - 184px), 620px); }
.player-bottom { padding: 18px 20px 20px; }
.player-category { color: #91a17e; font-size: 10px; letter-spacing: .5px; margin-bottom: 6px; }
.player-bottom h2 { font-size: 15px; font-weight: 550; }
.player-navigation { gap: 6px; }
.player-navigation .icon-button { border: 1px solid #e0e6d8; font-size: 17px; }
.player-navigation > span { color: #869779; font-size: 10px; }
.video-error { color: white; }
.share-dialog { border: 1px solid #e0e6d9; border-radius: 20px; background: #fbfcf8; box-shadow: 0 25px 100px #111b0d33; }
.share-dialog .eyebrow { font-size: 10px; letter-spacing: 1.7px; }
.share-dialog h2 { margin-top: 16px; font-size: 24px; }
.share-description { color: #8e9a82; }
.qr-frame { border-radius: 12px; border-color: #e1e7d9; padding: 10px; }
.primary-button, .secondary-button { border-radius: 9px; min-height: 43px; }
.primary-button { background: #34432b; border-color: #34432b; }
.secondary-button { border-color: #d7e0cd; color: #6e825d; }
.share-url { color: #96a189; font-size: 9px; }
.copy-status { color: #66854d; }

@media (min-width: 1600px) {
  .intro { padding: 54px 0 54px; }
}
@media (max-width: 1150px) {
  .shell { padding-left: 36px; padding-right: 36px; }
  .intro { grid-template-columns: minmax(0, 1fr) 245px; gap: 30px; }
  .intro h1 { font-size: 58px; }
  .intro-aside { padding-left: 20px; }
  .intro-bottom { flex-wrap: wrap; gap: 15px; }
  .collection-stat strong { font-size: 37px; }
  .works-grid { gap: 13px; }
  .work-button { padding: 9px 9px 13px; border-radius: 14px; }
  .card-title { font-size: 12px; }
  .card-arrow { width: 21px; height: 21px; font-size: 12px; }
  .card-meta { font-size: 8px; gap: 5px; }
}
@media (max-width: 850px) {
  .site-header { height: 88px; }
  .header-right { gap: 20px; }
  .header-edition { display: none; }
  .intro { grid-template-columns: minmax(0, 1fr) 210px; padding: 38px 0; gap: 24px; }
  .intro h1 { font-size: 46px; letter-spacing: -2px; }
  .intro-description { font-size: 12px; }
  .intro-bottom { gap: 10px; margin-top: 22px; }
  .collection-stat strong { font-size: 32px; }
  .collection-stat > span { font-size: 10px; }
  .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; }
  .watch-hint { display: none; }
  .card-title { font-size: 13px; }
  .card-meta { font-size: 9px; }
  .share-strip { padding: 26px 24px; }
  .share-intro { gap: 16px; }
  .share-emblem { width: 52px; height: 52px; border-radius: 14px; }
  .share-strip h2 { font-size: 21px; }
}
@media (max-width: 600px) {
  .shell { padding-left: 20px; padding-right: 20px; }
  .site-header { height: 80px; }
  .brand-mark { width: 31px; height: 31px; }
  .wordmark { font-size: 21px; gap: 9px; }
  .brand-text small { font-size: 6px; letter-spacing: 1px; margin-top: 4px; }
  .header-right { gap: 17px; }
  .nav-link { font-size: 11px; }
  .header-share { min-height: 39px; padding: 9px 11px; gap: 7px; font-size: 10px; border-radius: 9px; }
  .header-share svg { width: 15px; height: 15px; }
  .header-share span { display: none; }
  .intro { display: block; padding: 31px 0 30px; }
  .intro .eyebrow { font-size: 10px; letter-spacing: .8px; }
  .intro h1 { margin-top: 19px; font-size: 43px; line-height: 1.24; letter-spacing: -2.2px; }
  .intro-aside { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-left: 0; margin: 22px 0 0; border: 0; }
  .intro-description { font-size: 11px; line-height: 1.8; letter-spacing: .15px; }
  .intro-bottom { margin-top: 0; }
  .collection-stat { display: none; }
  .browse-link { gap: 7px; font-size: 10px; }
  .browse-link > span { width: 27px; height: 27px; font-size: 14px; }
  .section-topline { padding-top: 24px; }
  .section-topline h2 { gap: 9px; font-size: 18px; }
  .section-topline h2 span { font-size: 7px; letter-spacing: .7px; }
  .series-label { font-size: 10px; gap: 4px; }
  .works-toolbar { padding: 18px 0 20px; }
  .filters { width: 100%; gap: 4px; justify-content: space-between; }
  .filter { font-size: 11px; padding: 8px 11px; min-height: 37px; border-radius: 8px; }
  .filter span { margin-left: 5px; font-size: 8px; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .work-button { padding: 8px 8px 12px; border-radius: 14px; }
  .poster-wrap { border-radius: 8px; }
  .poster-number { top: 8px; left: 8px; font-size: 8px; padding: 5px 6px; }
  .poster-duration { bottom: 8px; right: 8px; font-size: 8px; padding: 5px 6px; }
  .play-circle { width: 35px; height: 35px; }
  .play-circle svg { width: 12px; height: 12px; }
  .card-info { margin-top: 11px; gap: 3px; }
  .card-title { font-size: 13px; letter-spacing: -.5px; }
  .card-arrow { width: 19px; height: 19px; font-size: 11px; }
  .card-meta { margin-top: 6px; font-size: 8px; letter-spacing: .2px; gap: 5px; }
  .share-strip { flex-direction: column; align-items: stretch; margin-top: 32px; padding: 22px; border-radius: 16px; gap: 22px; }
  .share-intro { gap: 15px; }
  .share-emblem { width: 46px; height: 46px; border-radius: 12px; }
  .share-emblem svg { width: 23px; height: 23px; }
  .share-strip .eyebrow { font-size: 7px; letter-spacing: 1.5px; }
  .share-strip h2 { font-size: 19px; margin: 8px 0 6px; letter-spacing: -.7px; }
  .share-strip p { font-size: 10px; }
  .strip-share { justify-content: space-between; min-height: 41px; padding: 10px 13px; border-radius: 9px; font-size: 11px; }
  .site-footer { height: 88px; }
  .footer-brand { font-size: 13px; }
  .footer-note { font-size: 8px; margin-left: 10px; letter-spacing: 0; }
  .site-footer a { font-size: 9px; gap: 7px; }
  .site-footer a span { width: 24px; height: 24px; }
  .player-top { padding-left: 16px; }
  .player-bottom { padding: 17px 16px 19px; }
  .player-bottom h2 { font-size: 14px; }
  .player-navigation { gap: 5px; }
  .player-navigation .icon-button { width: 31px; height: 31px; }
}
@media (max-width: 360px) {
  .shell { padding-left: 16px; padding-right: 16px; }
  .wordmark { font-size: 20px; }
  .header-right { gap: 12px; }
  .header-share { padding: 9px; }
  .header-share svg { display: none; }
  .intro h1 { font-size: 37px; }
  .intro .eyebrow { font-size: 9px; }
  .intro-description { font-size: 10px; }
  .section-topline h2 { font-size: 17px; gap: 8px; }
  .section-topline h2 span { display: none; }
  .filter { padding: 8px 9px; font-size: 10px; }
  .card-title { font-size: 12px; }
  .footer-note { display: none; }
}

.filters.game-filters { width: auto; justify-content: flex-start; gap: 12px; }
.game-filters .filter { min-width: 116px; min-height: 46px; padding: 11px 24px; font-size: 14px; border-radius: 10px; }
.empty-state { margin: 0; padding: 48px 24px; border: 1px solid var(--line); border-radius: 16px; background: #ffffffb8; color: var(--muted); font-size: 13px; line-height: 1.8; text-align: center; }
