/* MYKINO.CC — Orange Noir V10 FINAL design tokens and components */
:root {
  color-scheme: dark;
  --accent: #ff783e;
  --accent-hi: #ff9565;
  --bg: #0b0c10;
  --surface: #14161c;
  --surface2: #1c1e26;
  --line: #ffffff16;
  --text: #f7f7f8;
  --muted: #9699a2;
  --soft: #c8c9ce;
  --max: 1450px;
  --header: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--mk-georgian-font, "BPG WEB 001", system-ui, sans-serif);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

body::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  top: 50px;
  left: 0;
  right: 0;
  height: 900px;
  background: radial-gradient(ellipse at 80% 0%,#ff783e0b 0%,transparent 55%);
}

.container {
  width: min(100% - 88px,var(--max));
  margin: 0 auto;
}

.site-header {
  height: var(--header);
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(11,12,16,.91);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #ffffff13;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  flex: none;
}

.brand-icon {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 7px 20px #ff783e3c;
}

.brand-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.brand-word {
  font-family: var(--mk-georgian-font, "BPG WEB 001", system-ui, sans-serif);
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -1.45px;
}

.brand-word span {
  color: var(--accent);
}

.brand-word sup {
  font-weight: 800;
  font-size: 8px;
  letter-spacing: 1px;
  position: relative;
  top: -12px;
  margin-left: 3px;
  color: #93949d;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.desktop-nav a,
.desktop-nav button {
  background: transparent;
  border: 0;
  color: #a7a9b1;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  padding: 27px 0;
  position: relative;
  transition: color .2s;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.desktop-nav .active {
  color: #fff;
}

.desktop-nav .active::after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 15px;
  left: 0;
  right: 0;
  background: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: none;
}

.search-trigger {
  height: 40px;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 194px;
  padding: 0 14px;
  background: #ffffff0b;
  border: 1px solid #ffffff15;
  border-radius: 10px;
  color: #9498a2;
  font-size: 11px;
  text-align: left;
}

.search-trigger svg,
.icon-button svg,
.arrows svg,
.view-all svg,
.mobile-bottom svg,
.menu-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button {
  background: #ffffff0b;
  border: 1px solid #ffffff14;
  color: #d6d8dd;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  position: relative;
}

.icon-button:hover,
.search-trigger:hover {
  border-color: #ff783e66;
}

.notification-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  right: 10px;
  box-sizing: content-box;
}

.user-circle {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: #383138;
  border: 1px solid #ff783e55;
}

.menu-toggle {
  display: none;
}

.mobile-drawer {
  display: none;
}

.top-strip {
  padding: 17px 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.eyebrow .orange-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 7px;
  box-shadow: 0 0 15px #ff783e88;
}

.top-strip .secondary {
  font-size: 10px;
  letter-spacing: .4px;
  color: #6e717a;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 530px;
  border: 1px solid #ffffff12;
  border-radius: 21px;
  overflow: hidden;
  isolation: isolate;
  background: #1c1b20;
  box-shadow: 0 24px 60px #00000055;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .75s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#0a0b10f9 1%,#0b0c10f0 26%,#0b0c10bf 48%,#0b0c1030 76%),linear-gradient(0deg,#0a0b10ee 0%,transparent 42%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(660px,76%);
  padding: 85px 0 100px 88px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff783e1b;
  border: 1px solid #ff783e50;
  padding: 8px 13px;
  border-radius: 40px;
  color: #ffae89;
  font-size: 11px;
  font-weight: 850;
}

.hero-label svg {
  height: 12px;
  width: 12px;
  fill: var(--accent);
}

.hero h1 {
  font-size: clamp(37px,4.25vw,64px);
  line-height: 1.15;
  letter-spacing: -2.6px;
  margin: 24px 0 15px;
  font-weight: 950;
}

.hero-description {
  max-width: 495px;
  margin: 20px 0 26px;
  font-size: 13px;
  line-height: 1.95;
  color: #c7c5c6;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  color: #d0ced1;
  font-size: 12px;
  font-weight: 750;
}

.meta-sep {
  width: 3px;
  height: 3px;
  background: #777a83;
  border-radius: 50%;
}

.meta-quality {
  border: 1px solid #ffffff65;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 9px;
  font-weight: 900;
  color: #fff;
}

.hero-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  border-radius: 10px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 850;
  border: 0;
}

.primary-action {
  background: var(--accent);
  color: #16110e;
  box-shadow: 0 10px 26px #ff783e39;
}

.primary-action:hover {
  background: var(--accent-hi);
}

.secondary-action {
  background: #ffffff1b;
  border: 1px solid #ffffff3d;
  color: #fff;
  backdrop-filter: blur(8px);
}

.secondary-action:hover {
  background: #ffffff30;
}

.primary-action svg,
.secondary-action svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-arrow {
  position: absolute;
  top: 48%;
  z-index: 10;
  border-radius: 50%;
  height: 45px;
  width: 45px;
  background: #121318a1;
  backdrop-filter: blur(12px);
  border: 1px solid #ffffff3a;
  color: #fff;
  display: grid;
  place-items: center;
  transition: .2s;
}

.hero-arrow:hover {
  background: var(--accent);
  color: #141414;
  border-color: var(--accent);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-counter {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 28px;
  border: 1px solid #ffffff28;
  background: #090a0e5e;
  border-radius: 8px;
  padding: 8px 12px;
  color: #d8d6da;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 800;
}

.hero-counter b {
  color: var(--accent);
}

.hero-bottom {
  position: absolute;
  left: 88px;
  right: 34px;
  bottom: 27px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.hero-pagination {
  display: flex;
  gap: 7px;
  align-items: center;
}

.hero-dot {
  position: relative;
  width: 26px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: #ffffff4d;
  overflow: hidden;
}

.hero-dot.active {
  background: #ffffff56;
}

.hero-dot.active:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: var(--accent);
  transform-origin: left;
  animation: hero-progress 5.5s linear forwards;
}

@keyframes hero-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-bottom-note {
  font-size: 10px;
  color: #c1bfc0;
  letter-spacing: .3px;
}

.main-sections {
  padding-top: 18px;
}

.catalog-section {
  margin-top: 43px;
  position: relative;
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 19px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-marker {
  width: 4px;
  height: 25px;
  border-radius: 4px;
  background: var(--accent);
  flex: none;
  box-shadow: 0 0 14px #ff783e55;
}

.section-heading h2 {
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -.5px;
  margin: 0;
}

.section-caption {
  font-size: 11px;
  color: #898d97;
  margin: 7px 0 0 16px;
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a9abb2;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  margin-right: 13px;
  background: transparent;
  border: 0;
}

.view-all:hover {
  color: var(--accent);
}

.view-all svg {
  width: 15px;
  height: 15px;
}

.arrows {
  display: flex;
  gap: 7px;
}

.scroll-arrow {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  background: #1b1d24;
  border: 1px solid #ffffff1a;
  border-radius: 9px;
  color: #f0f0f1;
  transition: background .15s,border .15s;
}

.scroll-arrow:hover:not(:disabled) {
  border-color: var(--accent);
  background: #ff783e20;
  color: var(--accent);
}

.scroll-arrow:disabled {
  opacity: .28;
  cursor: default;
}

.shelf {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 1px 2px 9px;
  margin: 0 -2px;
}

.shelf::-webkit-scrollbar {
  display: none;
}

.poster-card {
  position: relative;
  min-width: 0;
  flex: 0 0 clamp(161px,15.15vw,199px);
  scroll-snap-align: start;
  cursor: pointer;
}

.poster-cover {
  width: 100%;
  aspect-ratio: 0.705;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #1b1c20;
  border: 1px solid #ffffff15;
  transition: border-color .2s,transform .2s;
}

.poster-card:hover .poster-cover {
  border-color: #ff783e85;
  transform: translateY(-3px);
}

.poster-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
  filter: saturate(.88);
}

.poster-card:hover .poster-cover img {
  transform: scale(1.055);
}

.poster-cover:after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#08090be0,transparent 29%);
}

.poster-badge {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 10px;
  border: 1px solid #ffffff2b;
  background: #07090cb9;
  backdrop-filter: blur(6px);
  border-radius: 5px;
  padding: 5px 7px;
  font-size: 9px;
  font-weight: 850;
  color: #fff;
}

.poster-badge.new {
  background: var(--accent);
  color: #170e08;
  border-color: var(--accent);
}

.save-button {
  position: absolute;
  z-index: 5;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #101115af;
  border: 1px solid #ffffff37;
  color: #fff;
}

.save-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.save-button.active {
  color: var(--accent);
  border-color: #ff783e9c;
}

.save-button.active svg {
  fill: #ff783e77;
}

.poster-info h3 {
  font-weight: 800;
  margin: 0 0 5px;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-info p {
  font-size: 10px;
  color: #878991;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rating-star {
  color: var(--accent);
}

.continue-card {
  flex: 0 0 clamp(263px,24vw,342px);
  scroll-snap-align: start;
  cursor: pointer;
  min-width: 0;
  background: #15161c;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 7px;
  transition: border-color .2s;
}

.continue-card:hover {
  border-color: #ff783e75;
}

.continue-cover {
  position: relative;
  aspect-ratio: 1.84;
  border-radius: 10px;
  overflow: hidden;
  background: #25232a;
}

.continue-cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.continue-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#08090bd9,transparent 66%);
}

.continue-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff95;
  color: #fff;
  background: #08090a74;
  backdrop-filter: blur(8px);
  border-radius: 50%;
  font-size: 16px;
}

.episode-pill {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 12px;
  border-radius: 6px;
  padding: 6px 8px;
  background: #08090bb8;
  font-size: 10px;
  font-weight: 750;
}

.continue-data {
  padding: 13px 7px 10px;
}

.continue-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.continue-data h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 850;
}

.continue-data small {
  font-size: 10px;
  color: #888d97;
  white-space: nowrap;
}

.progress-track {
  height: 4px;
  background: #303239;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 13px;
}

.progress-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 20px;
}

.studio-card {
  flex: 0 0 clamp(270px,31.15vw,440px);
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 2.13;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #ffffff1c;
  cursor: pointer;
  background: #17191d;
}

.studio-card>img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .60;
  filter: saturate(.6);
}

.studio-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#08090de8,#0a0c1166 80%),linear-gradient(0deg,#08090bb3,transparent 60%);
}

.studio-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.studio-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: #ff9d75;
  font-weight: 900;
}

.studio-name {
  font-family: var(--mk-georgian-font, "BPG WEB 001", system-ui, sans-serif);
  font-size: 43px;
  letter-spacing: -2px;
  line-height: 1;
  font-weight: 950;
}

.studio-name.disney {
  font-style: italic;
  letter-spacing: -1px;
}

.studio-card .studio-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #c5c7cd;
}

.round-more {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #ff783e6a;
  color: var(--accent);
  font-size: 19px;
  background: #ff783e12;
}

.studio-card:hover {
  border-color: #ff783e99;
}

.ann-card {
  flex: 0 0 clamp(255px,25vw,350px);
  scroll-snap-align: start;
  cursor: pointer;
}

.ann-cover {
  position: relative;
  aspect-ratio: 1.8;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid #ffffff20;
}

.ann-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ann-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#06070bc0,transparent 50%);
}

.ann-label {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  background: #ff783e;
  color: #190c06;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .6px;
  border-radius: 5px;
  padding: 6px 10px;
}

.ann-info {
  margin-top: 11px;
}

.ann-info h3 {
  font-size: 13px;
  margin: 0 0 6px;
}

.ann-info p {
  font-size: 11px;
  color: #8d9099;
  margin: 0;
}

.footer {
  border-top: 1px solid #ffffff15;
  margin-top: 60px;
  padding: 31px 0 45px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer .brand {
  transform: scale(.83);
  transform-origin: left center;
}

.footer-note {
  margin: 5px 0 0;
  font-size: 10px;
  color: #777b85;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: #9b9da7;
  font-size: 11px;
}

.mobile-bottom {
  display: none;
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 74;
  display: none;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: #000c;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.overlay.open {
  display: flex;
}

.modal {
  width: min(100%,690px);
  max-height: min(84vh,800px);
  overflow: auto;
  background: #181a20;
  border: 1px solid #ffffff27;
  border-radius: 17px;
  box-shadow: 0 30px 80px #0009;
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid #ffffff1c;
}

.modal-head h2 {
  font-size: 17px;
  margin: 0;
  flex: 1;
}

.modal-close {
  background: #ffffff0e;
  color: #fff;
  border: 1px solid #ffffff18;
  border-radius: 9px;
  width: 35px;
  height: 35px;
  font-size: 20px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 17px 20px;
  background: #0f1116;
  border-radius: 10px;
  border: 1px solid #ffffff21;
  padding: 13px 15px;
}

.search-field svg {
  height: 18px;
  width: 18px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.search-field input {
  border: 0;
  background: transparent;
  outline: 0;
  color: #fff;
  width: 100%;
  font-size: 13px;
}

.modal-body {
  padding: 10px 20px 24px;
}

.modal-notice {
  font-size: 11px;
  color: #9e9fa8;
  margin: 5px 0 18px;
}

.results {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}

.result {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #ffffff09;
  color: #fff;
  border: 1px solid #ffffff12;
  padding: 8px;
  border-radius: 10px;
  min-width: 0;
}

.result:hover {
  border-color: #ff783e7c;
}

.result img {
  width: 48px;
  height: 66px;
  object-fit: cover;
  border-radius: 6px;
}

.result strong {
  display: block;
  font-size: 11px;
  margin-bottom: 7px;
}

.result small {
  color: #a5a7ae;
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 200;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%,25px);
  opacity: 0;
  pointer-events: none;
  background: #24252a;
  border: 1px solid #ff783e84;
  box-shadow: 0 10px 40px #0007;
  color: #fff;
  border-radius: 11px;
  padding: 13px 19px;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  max-width: min(93vw,450px);
  transition: all .22s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}

@media(min-width:1520px) {
  .poster-card {
    flex-basis: 197px;
  }
}

@media(max-width:1240px) {
  .header-inner {
    gap: 25px;
  }
  .desktop-nav {
    gap: 16px;
  }
  .desktop-nav a,
  .desktop-nav button {
    font-size: 11px;
  }
  .search-trigger {
    min-width: 43px;
    width: 43px;
    padding: 0;
    justify-content: center;
  }
  .search-trigger span {
    display: none;
  }
  .hero-content {
    padding-left: 77px;
  }
}

@media(max-width:950px) {
  :root {
    --header: 68px;
  }
  .container {
    width: min(100% - 50px,var(--max));
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .header-inner {
    gap: 14px;
  }
  .header-tools {
    gap: 8px;
  }
  .hero {
    min-height: 480px;
  }
  .hero-content {
    padding: 78px 30px 90px 74px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .mobile-drawer {
    position: fixed;
    z-index: 80;
    right: 0;
    top: var(--header);
    bottom: 0;
    width: min(330px,84vw);
    padding: 22px;
    background: #15161a;
    border-left: 1px solid #ffffff24;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateX(105%);
    transition: transform .22s;
  }
  .mobile-drawer.open {
    transform: translateX(0);
  }
  .mobile-drawer a,
  .mobile-drawer button {
    padding: 15px 17px;
    color: #dedfe5;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 13px;
    border-radius: 8px;
  }
  .mobile-drawer a:hover,
  .mobile-drawer button:hover {
    background: #ff783e19;
    color: var(--accent);
  }
  .drawer-scrim.open {
    display: block;
  }
}

@media(max-width:650px) {
  :root {
    --header: 62px;
  }
  .container {
    width: calc(100% - 28px);
  }
  .site-header {
    height: var(--header);
  }
  .header-inner {
    gap: 10px;
  }
  .brand-icon {
    height: 33px;
    width: 33px;
    border-radius: 9px;
  }
  .brand-icon svg {
    width: 17px;
    height: 17px;
  }
  .brand-word {
    font-size: 21px;
  }
  .brand-word sup {
    font-size: 7px;
  }
  .header-tools {
    gap: 7px;
  }
  .icon-button,
  .search-trigger {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .user-circle {
    display: none;
  }
  .top-strip {
    padding: 16px 1px 11px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: .8px;
  }
  .top-strip .secondary {
    font-size: 9px;
  }
  .hero {
    min-height: 520px;
    border-radius: 15px;
  }
  .hero-art {
    object-position: 67% center;
  }
  .hero-slide:after {
    background: linear-gradient(0deg,#07080bf9 3%,#090a0ef5 26%,#090a0ea3 56%,#0b0c1020 100%),linear-gradient(90deg,#0b0c104d,transparent 80%);
  }
  .hero-content {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 100%;
    padding: 0 24px 13px;
    z-index: 2;
  }
  .hero h1 {
    font-size: 36px;
    letter-spacing: -1.4px;
    line-height: 1.19;
    margin: 15px 0 11px;
    max-width: 380px;
  }
  .hero-label {
    font-size: 10px;
    padding: 7px 11px;
  }
  .hero-meta {
    font-size: 10px;
    gap: 8px;
  }
  .hero-description {
    font-size: 11px;
    line-height: 1.8;
    margin: 13px 0 17px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .primary-action,
  .secondary-action {
    min-height: 41px;
    padding: 10px 14px;
    font-size: 11px;
    border-radius: 8px;
  }
  .hero-arrow {
    width: 36px;
    height: 36px;
    top: 35%;
    background: #08090a7a;
  }
  .hero-prev {
    left: 10px;
  }
  .hero-next {
    right: 10px;
  }
  .hero-counter {
    top: 14px;
    right: 15px;
    font-size: 10px;
    padding: 7px 9px;
  }
  .hero-bottom {
    left: 24px;
    right: 20px;
    bottom: 23px;
  }
  .hero-bottom-note {
    font-size: 9px;
  }
  .hero-dot {
    width: 21px;
  }
  .main-sections {
    padding-top: 0;
  }
  .catalog-section {
    margin-top: 34px;
  }
  .section-top {
    margin-bottom: 14px;
    align-items: start;
  }
  .section-heading {
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 17px;
    letter-spacing: -.1px;
  }
  .section-marker {
    height: 21px;
    width: 3px;
  }
  .section-caption {
    font-size: 10px;
    margin: 6px 0 0 13px;
  }
  .section-controls {
    gap: 3px;
  }
  .view-all {
    font-size: 10px;
    margin-right: 5px;
  }
  .view-all svg {
    width: 12px;
    height: 12px;
  }
  .scroll-arrow {
    width: 31px;
    height: 31px;
    border-radius: 8px;
  }
  .scroll-arrow svg {
    width: 15px;
    height: 15px;
  }
  .arrows {
    gap: 4px;
  }
  .shelf {
    gap: 11px;
  }
  .poster-card {
    flex-basis: 145px;
  }
  .poster-cover {
    border-radius: 10px;
  }
  .poster-info h3 {
    font-size: 11px;
  }
  .poster-info p {
    font-size: 9px;
  }
  .continue-card {
    flex-basis: 274px;
  }
  .studio-card {
    flex-basis: 290px;
  }
  .studio-name {
    font-size: 39px;
  }
  .ann-card {
    flex-basis: 260px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 39px;
    padding-bottom: 100px;
  }
  .footer-links {
    gap: 16px;
  }
  .mobile-bottom {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 65;
    background: #111216ed;
    backdrop-filter: blur(18px);
    border-top: 1px solid #ffffff21;
    padding: 8px 8px max(9px,env(safe-area-inset-bottom));
    box-shadow: 0 -10px 40px #0008;
  }
  .mobile-bottom button {
    border: 0;
    background: transparent;
    color: #979aa3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    min-width: 0;
    padding: 2px;
  }
  .mobile-bottom button svg {
    width: 19px;
    height: 19px;
  }
  .mobile-bottom button.active {
    color: var(--accent);
  }
  .toast {
    bottom: 88px;
  }
  .overlay {
    padding: 12px;
  }
  .results {
    grid-template-columns: 1fr;
  }
}

@media(max-width:374px) {
  .brand-word {
    font-size: 19px;
  }
  .header-tools {
    gap: 4px;
  }
  .icon-button,
  .search-trigger {
    width: 32px;
    height: 32px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero-content {
    padding: 0 18px 16px;
  }
  .hero-bottom {
    left: 20px;
  }
  .section-heading h2 {
    font-size: 15px;
  }
  .view-all {
    margin-right: 0;
    font-size: 9px;
  }
  .scroll-arrow {
    width: 29px;
    height: 29px;
  }
  .poster-card {
    flex-basis: 136px;
  }
}

@media(max-width:650px) {
  .top-strip .secondary {
    display: none;
  }
  .hero-arrow {
    top: 82px;
  }
}

@media(max-width:375px) {
  .section-top {
    flex-wrap: wrap;
  }
  .section-controls {
    width: 100%;
    justify-content: flex-end;
    margin-top: -2px;
  }
}

@media(prefers-reduced-motion: reduce) {
  html,
  .shelf {
    scroll-behavior: auto;
  }
  .hero-slide {
    transition: none;
  }
  .hero-dot.active:after {
    animation: none;
  }
}

/* Orange Noir V3 — category navigation, consistent poster metadata, safer hover */
:root {
  --accent: #ff783e;
  --accent-hi: #ff9565;
}

.brand {
  gap: 0;
}

.brand-word {
  font-size: 26px;
  letter-spacing: -1.2px;
}

.brand-word span {
  color: var(--accent);
}

.home-wrapper {
  padding-top: 16px;
}

.hero {
  min-height: 578px;
}

.hero-content {
  padding-top: 105px;
}

.catalog-section {
  margin-top: 43px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading h2 a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .2s;
}

.section-heading h2 a:hover,
.section-heading h2 a:focus-visible {
  color: var(--accent);
}

.section-heading h2 a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  opacity: 0;
  transform: translateX(-4px);
  transition: .2s;
}

.section-heading h2 a:hover svg,
.section-heading h2 a:focus-visible svg {
  opacity: 1;
  transform: none;
}

.shelf {
  padding: 8px 2px 14px;
  margin-top: -8px;
  overflow-x: auto;
  overflow-y: hidden;
}

.poster-card {
  flex: 0 0 clamp(160px,15.15vw,199px);
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.poster-cover {
  isolation: isolate;
  border-radius: 12px;
  overflow: hidden;
  transform: none!important;
  transition: border-color .2s,box-shadow .2s;
  box-shadow: inset 0 0 0 0 transparent;
}

.poster-card:hover .poster-cover,
.poster-card:focus-within .poster-cover {
  border-color: #ff783eaa;
  box-shadow: inset 0 0 0 1px #ff783e33;
}

.poster-cover img {
  filter: saturate(.91);
  transition: transform .36s ease,filter .36s ease;
}

.poster-card:hover .poster-cover img,
.poster-card:focus-within .poster-cover img {
  transform: scale(1.035);
  filter: saturate(1.05) brightness(1.13);
}

.poster-cover:after {
  z-index: 1;
  background: linear-gradient(0deg,#050508e0,transparent 27%),linear-gradient(180deg,#00000082,transparent 24%);
}

.poster-card .poster-info h3 {
  transition: color .22s;
}

.poster-card:hover .poster-info h3,
.poster-card:focus-visible .poster-info h3,
.poster-card:focus-within .poster-info h3 {
  color: var(--accent);
}

.poster-info {
  padding: 5px 2px 4px;
}

.poster-info h3 {
  margin: 0 0 5px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-info p {
  font-size: 10px;
  color: #9799a2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overlay-top-left {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}

.corner-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #ffffff35;
  background: #08090bcc;
  color: #fff;
  backdrop-filter: blur(8px);
  padding: 6px 7px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .25px;
  min-height: 23px;
}

.corner-chip.language {
  background: #ff783e;
  color: #190f0a;
  border-color: #ff783e;
}

.corner-chip.status {
  background: #ff783e;
  color: #190f0a;
  border-color: #ff783e;
}

.corner-chip.quality {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  min-width: 32px;
}

.save-button,
.poster-card .save-button {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 31px;
  height: 31px;
  background: #090a0ed9;
  box-shadow: none;
  transition: color .2s,border-color .2s,background .2s;
}

.save-button:hover,
.save-button:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: #231915;
}

.poster-bottom-data {
  position: absolute;
  z-index: 4;
  bottom: 10px;
  left: 9px;
  right: 9px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  pointer-events: none;
}

.poster-year {
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-shadow: 0 1px 5px #000;
}

.poster-rating {
  font-size: 9px;
  font-weight: 900;
  color: #f9f9fa;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 6px;
  border: 1px solid #ffffff23;
  background: #08090bd9;
  border-radius: 6px;
  line-height: 1;
  max-width: 88px;
  white-space: nowrap;
}

.poster-rating span {
  color: var(--accent);
  font-size: 10px;
}

.poster-rating strong {
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-card.landscape-poster {
  flex-basis: clamp(265px,25vw,353px);
}

.landscape-poster .poster-cover {
  aspect-ratio: 1.8;
}

.landscape-poster .poster-info h3 {
  font-size: 13px;
}

.landscape-poster .poster-info p {
  font-size: 11px;
}

.ann-card {
  display: none;
}

.catalog-page {
  min-height: 65vh;
  padding: 35px 0 25px;
}

.catalog-page[hidden] {
  display: none!important;
}

.catalog-header {
  margin: 10px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.catalog-eyebrow {
  font-size: 11px;
  font-weight: 850;
  color: var(--accent);
  letter-spacing: 1px;
}

.catalog-title {
  font-size: clamp(28px,3.6vw,45px);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -.7px;
  margin: 9px 0 5px;
}

.catalog-summary {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aaaeb6;
  font-size: 12px;
  font-weight: 750;
  transition: color .2s;
}

.back-link:hover {
  color: var(--accent);
}

.back-link svg {
  height: 16px;
  width: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 25px 15px;
}

.catalog-grid .poster-card {
  flex: none;
  width: 100%;
}

.catalog-grid .poster-card.landscape-poster {
  grid-column: span 2;
}

.catalog-grid .poster-card.landscape-poster .poster-cover {
  aspect-ratio: 1.8;
}

.catalog-grid .studio-card {
  width: 100%;
  flex: none;
  grid-column: span 2;
}

.catalog-grid .continue-card {
  flex: none;
  width: 100%;
  grid-column: span 2;
}

.catalog-empty {
  padding: 40px;
  border: 1px dashed #ffffff29;
  border-radius: 14px;
  color: var(--muted);
}

.detail-modal {
  width: min(100%,660px);
  overflow: hidden;
  position: relative;
}

.detail-close {
  z-index: 8;
  position: absolute;
  right: 13px;
  top: 13px;
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff45;
  color: #fff;
  background: #121318bd;
  border-radius: 50%;
  font-size: 23px;
  cursor: pointer;
}

.detail-art {
  height: 255px;
  width: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.83);
}

.detail-body {
  padding: 22px 27px 27px;
}

.detail-body h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 0 0 6px;
}

.detail-original {
  color: #abaeb7;
  font-size: 13px;
  margin: 0 0 19px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #fff;
  margin: 0 0 20px;
}

.detail-tags span {
  padding: 6px 8px;
  background: #ffffff10;
  border: 1px solid #ffffff16;
  border-radius: 6px;
}

.detail-desc {
  font-size: 12px;
  color: #b1b3bc;
  line-height: 1.8;
}

.detail-button {
  margin-top: 14px;
}

.footer {
  margin-top: 75px;
  padding: 42px 22px 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  border-top: 1px solid #ffffff16;
  background: linear-gradient(180deg,#0d0e13,#0b0c10);
}

.footer-brand {
  font-family: var(--mk-georgian-font, "BPG WEB 001", system-ui, sans-serif);
  font-size: 27px;
  font-weight: 950;
  letter-spacing: -1px;
  color: #fff;
}

.footer-brand span {
  color: var(--accent);
}

.footer-links {
  margin-top: 30px;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #b5b7c0;
  font-size: 12px;
  font-weight: 650;
}

.footer-links a {
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-note {
  max-width: 710px;
  font-size: 11px;
  color: #8d929e;
  margin: 26px 0 0;
  line-height: 2;
}

.footer-copy {
  font-size: 9px;
  color: #5b5d64;
  margin: 24px 0 0;
}

@media(min-width:1520px) {
  .poster-card {
    flex-basis: 197px;
  }
}

@media(max-width:1100px) {
  .catalog-grid {
    grid-template-columns: repeat(5,minmax(0,1fr));
  }
  .catalog-grid .poster-card.landscape-poster,
  .catalog-grid .studio-card,
  .catalog-grid .continue-card {
    grid-column: span 2;
  }
}

@media(max-width:820px) {
  .catalog-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}

@media(max-width:650px) {
  .brand-word {
    font-size: 23px;
  }
  .home-wrapper {
    padding-top: 10px;
  }
  .hero {
    min-height: 535px;
  }
  .hero-content {
    padding-top: 0;
  }
  .section-top {
    align-items: center;
  }
  .section-heading h2 a svg {
    opacity: .65;
    transform: none;
    width: 13px;
    height: 13px;
  }
  .section-caption {
    margin-top: 6px;
  }
  .shelf {
    gap: 11px;
    padding-top: 9px;
  }
  .poster-card {
    flex-basis: 144px;
  }
  .landscape-poster.poster-card {
    flex-basis: 260px;
  }
  .landscape-poster .poster-info h3 {
    font-size: 12px;
  }
  .corner-chip {
    font-size: 9px;
    padding: 5px 6px;
    min-height: 22px;
  }
  .overlay-top-left {
    top: 9px;
    left: 8px;
    gap: 6px;
  }
  .corner-chip.quality {
    top: 9px;
    right: 8px;
  }
  .poster-rating {
    font-size: 8px;
    gap: 3px;
    padding: 5px 5px;
  }
  .poster-rating strong {
    font-size: 8px;
  }
  .poster-year {
    font-size: 9px;
  }
  .poster-bottom-data {
    bottom: 8px;
    left: 7px;
    right: 7px;
  }
  .footer {
    margin-top: 44px;
    padding: 33px 12px 116px;
    align-items: center;
    text-align: center;
  }
  .footer-brand {
    font-size: 23px;
  }
  .footer-links {
    gap: 12px 17px;
    font-size: 10px;
    margin-top: 25px;
  }
  .footer-note {
    font-size: 10px;
    line-height: 1.85;
    margin-top: 23px;
  }
  .catalog-page {
    padding: 20px 0 5px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 23px 11px;
  }
  .catalog-grid .poster-card.landscape-poster,
  .catalog-grid .studio-card,
  .catalog-grid .continue-card {
    grid-column: span 2;
  }
  .catalog-header {
    gap: 8px;
  }
  .catalog-title {
    font-size: 29px;
  }
  .detail-art {
    height: 190px;
  }
  .detail-body {
    padding: 19px;
  }
  .detail-body h2 {
    font-size: 21px;
  }
}

@media(max-width:374px) {
  .poster-card {
    flex-basis: 136px;
  }
  .landscape-poster.poster-card {
    flex-basis: 238px;
  }
  .section-top {
    flex-wrap: nowrap;
  }
  .section-controls {
    width: auto;
    margin-top: 0;
  }
}

@media(prefers-reduced-motion:reduce) {
  .poster-cover img,
  .poster-info h3 {
    transition: none;
  }
}

/* Orange Noir V4 — enlarged cinematic cards, customizable identity and footer links */
:root {
  --max: 1700px;
  --accent: #ff783e;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  min-width: 0;
}

.brand {
  gap: 0;
}

.brand-word {
  font-size: 25px;
  letter-spacing: -1.1px;
  line-height: 1;
  display: block;
}

.brand-word span {
  color: var(--accent);
}

.brand-icon-button {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  border: 1px solid #ff9b6d61;
  background: linear-gradient(145deg,#ff985e,#ff783e);
  display: grid;
  place-items: center;
  color: #201109;
  box-shadow: 0 6px 22px #ff783e1f;
  overflow: visible;
  padding: 0;
  transition: box-shadow .2s,transform .2s;
}

.brand-icon-button:hover,
.brand-icon-button:focus-visible {
  box-shadow: 0 7px 23px #ff783e55;
  transform: translateY(-1px);
}

.brand-default-mark {
  width: 27px;
  height: 27px;
}

.brand-icon-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  background: #111216;
  padding: 3px;
}

.brand-icon-button img:not([hidden])~.brand-edit-indicator {
  opacity: 0;
}

.brand-icon-button:hover .brand-edit-indicator {
  opacity: 1!important;
}

.brand-edit-indicator {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  background: #25252a;
  border: 1px solid #ff783e99;
  border-radius: 50%;
  transition: opacity .2s;
}

/* Reference proportions: taller portraits and generous cinematic landscape covers. */
.shelf {
  gap: 13px;
  padding-top: 10px;
  padding-bottom: 16px;
}

.poster-card {
  flex: 0 0 clamp(208px,13.3vw,238px);
}

.poster-cover {
  aspect-ratio: 0.67;
  border-radius: 10px;
}

.poster-info h3 {
  font-size: 13px;
  line-height: 1.5;
}

.poster-info p {
  font-size: 11px;
  line-height: 1.5;
}

.poster-card.landscape-poster {
  flex: 0 0 clamp(350px,23.7vw,435px);
}

.landscape-poster .poster-cover {
  aspect-ratio: 1.79;
}

.landscape-poster .poster-info h3 {
  font-size: 13px;
}

.landscape-poster .poster-info p {
  font-size: 11px;
}

.catalog-grid {
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 28px 16px;
}

.catalog-grid .poster-card {
  width: 100%;
  flex: none;
}

.catalog-grid .poster-card.landscape-poster {
  grid-column: span 2;
}

/* Taller displays remain unclipped: hover effects stay confined to the art, not the metadata. */
.poster-cover {
  isolation: isolate;
  transform: none!important;
  overflow: hidden;
  transition: box-shadow .2s,border-color .2s;
}

.poster-card:hover .poster-cover,
.poster-card:focus-within .poster-cover {
  border-color: #ff783e8c;
  box-shadow: 0 0 0 1px #ff783e33;
}

.poster-card:hover .poster-info h3,
.poster-card:focus-within .poster-info h3 {
  color: var(--accent);
}

/* Branded footer follows the user's centered reference layout. */
.footer {
  gap: 0;
  margin-top: 80px;
  padding: 50px 20px 44px;
}

.footer-brand {
  font-size: 29px;
  letter-spacing: -1.1px;
}

.footer-brand span {
  color: var(--accent);
}

.footer-links {
  margin-top: 29px;
  gap: 14px 28px;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 23px;
  width: 100%;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #b6b9c1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 650;
  font-size: 12px;
  padding: 8px 10px;
  transition: color .2s,background .2s,border-color .2s;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--accent);
  background: #ff783e0b;
  border-color: #ff783e38;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link[data-social="facebook"] svg,
.footer-social-link[data-social="tiktok"] svg,
.footer-social-link[data-social="discord"] svg {
  stroke: none;
  fill: currentColor;
}

.footer-note {
  margin-top: 19px;
}

.footer-copy {
  margin-top: 23px;
}

.footer-demo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #6f737e;
  font-size: 10px;
  margin-top: 18px;
}

.footer-demo-controls button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a4a7b0;
  font-size: 10px;
  transition: color .2s;
}

.footer-demo-controls button:hover {
  color: var(--accent);
}

@media(max-width:1250px) {
  .header-inner {
    gap: 18px;
  }
  .brand-word {
    font-size: 23px;
  }
  .brand-group {
    gap: 8px;
  }
  .desktop-nav {
    gap: 13px;
  }
  .poster-card {
    flex-basis: 210px;
  }
  .poster-card.landscape-poster {
    flex-basis: 350px;
  }
}

@media(max-width:950px) {
  .brand-word {
    font-size: 24px;
  }
}

@media(max-width:650px) {
  .brand-group {
    gap: 8px;
  }
  .brand-icon-button {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }
  .brand-default-mark {
    width: 22px;
    height: 22px;
  }
  .brand-word {
    font-size: 22px;
    letter-spacing: -1px;
  }
  .shelf {
    gap: 12px;
    padding-top: 11px;
    padding-bottom: 16px;
  }
  .poster-card {
    flex: 0 0 clamp(166px,44vw,190px);
  }
  .poster-cover {
    aspect-ratio: 0.68;
    border-radius: 10px;
  }
  .poster-info h3 {
    font-size: 12px;
  }
  .poster-info p {
    font-size: 10px;
  }
  .poster-card.landscape-poster {
    flex: 0 0 clamp(282px,81vw,355px);
  }
  .landscape-poster .poster-info h3 {
    font-size: 12px;
  }
  .landscape-poster .poster-info p {
    font-size: 10px;
  }
  .footer {
    margin-top: 52px;
    padding: 37px 12px 116px;
  }
  .footer-brand {
    font-size: 26px;
  }
  .footer-links {
    margin-top: 26px;
    gap: 13px 19px;
  }
  .footer-social {
    gap: 6px 9px;
    margin-top: 19px;
  }
  .footer-social-link {
    padding: 7px;
    font-size: 11px;
    gap: 5px;
  }
  .footer-social-link svg {
    width: 15px;
    height: 15px;
  }
  .footer-note {
    margin-top: 19px;
  }
}

@media(max-width:374px) {
  .brand-word {
    font-size: 18px;
  }
  .brand-icon-button {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 8px;
  }
  .brand-group {
    gap: 6px;
  }
  .brand-default-mark {
    width: 21px;
    height: 21px;
  }
  .header-inner {
    gap: 5px;
  }
  .header-tools {
    gap: 4px;
  }
  .icon-button,
  .search-trigger {
    width: 30px;
    height: 30px;
  }
  .poster-card {
    flex-basis: 157px;
  }
  .poster-card.landscape-poster {
    flex-basis: 267px;
  }
}

/* Orange Noir V5 — full-bleed cinematic slideshow + embedded, instant search */
:root {
  --header: 76px;
  --accent: #ff783e;
  --accent-hi: #ff9565;
}

.site-header {
  position: sticky;
  top: 0;
  margin-bottom: calc(-1 * var(--header));
  height: var(--header);
  background: linear-gradient(180deg,#0b0c10c9 0%,#0b0c1080 65%,transparent 100%);
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .3s,box-shadow .3s;
  z-index: 90;
}

.site-header.is-scrolled,
body.in-catalog .site-header {
  background: #0b0c10f2;
  box-shadow: 0 7px 32px #0005;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid #ffffff14;
}

.header-inner {
  gap: 22px;
}

.desktop-nav {
  gap: 22px;
}

.desktop-nav a,
.desktop-nav button {
  font-size: 12px;
}

.header-tools {
  margin-left: 0;
  gap: 10px;
}

.header-search {
  flex: 0 1 265px;
  width: clamp(190px,15vw,265px);
  min-width: 0;
  position: relative;
  margin-left: auto;
  height: 41px;
  border-radius: 22px;
  background: rgba(17,20,27,.88);
  border: 1px solid #525864b0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  transition: border-color .18s,box-shadow .18s,background .2s;
  z-index: 110;
}

.header-search:hover {
  border-color: #ffffff85;
}

.header-search:focus-within,
.header-search.open {
  border-color: #ff783e9b;
  background: #13151b;
  box-shadow: 0 0 0 3px #ff783e16,0 12px 32px #0005;
}

.header-search-icon {
  order: 2;
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #e5e6ec;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.header-search:focus-within .header-search-icon {
  stroke: var(--accent);
}

.header-search input {
  order: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  outline: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
}

.header-search input::placeholder {
  color: #a4a7b0;
  opacity: 1;
}

.header-search input::-webkit-search-cancel-button {
  display: none;
}

.header-search-clear {
  order: 3;
  flex: none;
  background: #30333b;
  border: 0;
  border-radius: 50%;
  color: #e7e8eb;
  width: 21px;
  height: 21px;
  font-size: 17px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}

[hidden] {
  display: none!important;
}

.header-search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(400px,calc(100vw - 24px));
  max-height: min(70vh,510px);
  overflow: auto;
  border-radius: 15px;
  background: #14161bf9;
  border: 1px solid #ffffff25;
  box-shadow: 0 24px 65px #000b;
  padding: 8px;
  z-index: 115;
  text-align: left;
}

.live-dropdown-heading {
  font-size: 10px;
  color: #a3a6af;
  font-weight: 800;
  letter-spacing: .25px;
  padding: 11px 11px 10px;
}

.live-result {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 8px;
  text-align: left;
  min-width: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff;
  transition: background .2s,border .2s;
}

.live-result:hover,
.live-result:focus-visible,
.live-result.is-focused {
  background: #ff783e13;
  border-color: #ff783e55;
  outline: none;
}

.live-result img {
  flex: none;
  width: 43px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  background: #222;
}

.live-result-copy {
  min-width: 0;
  flex: 1;
  display: block;
}

.live-result strong {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}

.live-result:hover strong,
.live-result.is-focused strong {
  color: var(--accent);
}

.live-result small {
  display: block;
  color: #9da0aa;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-result-meta {
  font-size: 10px;
  flex: none;
  text-align: right;
  color: #bdc0ca;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.live-result-meta em {
  font-size: 9px;
  font-style: normal;
  font-weight: 550;
  color: #ff955e;
}

.live-dropdown-footer {
  color: #6e737f;
  font-size: 9px;
  margin-top: 4px;
  padding: 10px 9px;
  border-top: 1px solid #ffffff12;
}

.live-search-empty {
  padding: 26px 13px;
  color: #a5a8b0;
  text-align: center;
  font-size: 12px;
}

/* Hero image bleeds to the viewport edge; header floats above it. */
.container.home-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero {
  min-height: 0;
  height: clamp(490px,30vw,585px);
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
  background: #0b0c10;
  overflow: hidden;
}

.hero-slides,
.hero-slide {
  inset: 0;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.93) contrast(1.06) brightness(.90);
  transform: scale(1.015);
  transition: transform 6s ease;
}

.hero-slide.active .hero-art {
  transform: scale(1.04);
}

.hero-slide:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,#090a1072 0%,transparent 19%,transparent 48%,#0b0c10a8 82%,#0b0c10 100%),linear-gradient(90deg,#08090c75 0%,#08090c12 46%,transparent 78%);
}

.hero-content {
  position: absolute;
  z-index: 3;
  left: max(5%,calc((100vw - 1700px)/2 + 35px));
  bottom: 66px;
  max-width: min(570px,70vw);
  width: auto;
  padding: 0;
  text-shadow: 0 3px 25px #000c;
}

.hero-original {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12px;
  text-transform: uppercase;
  color: #f6f6f9;
  margin-bottom: 5px;
}

.hero-title-link {
  display: block;
  max-width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.hero-title-link:hover h1,
.hero-title-link:focus-visible h1 {
  color: var(--accent);
}

.hero-title-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(26px,2.2vw,40px);
  font-weight: 920;
  letter-spacing: -.8px;
  line-height: 1.22;
  margin: 0;
  transition: color .2s;
}

.hero-arrow {
  position: absolute;
  top: 49%;
  width: 44px;
  height: 72px;
  border-radius: 24px;
  background: #08090dc2;
  border: 1px solid #ffffff21;
  color: #f5f5f5;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 12;
}

.hero-prev {
  left: 5px;
}

.hero-next {
  right: 5px;
}

.hero-arrow:hover {
  background: #ff783e;
  border-color: #ff783e;
  color: #16100d;
}

.hero-counter {
  display: none!important;
}

.hero-bottom {
  position: absolute;
  z-index: 4;
  left: auto;
  right: max(5.2%,calc((100vw - 1700px)/2 + 35px));
  bottom: 77px;
  justify-content: flex-end;
  gap: 0;
  width: auto;
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  background: #a4a5a8a1;
  border-radius: 12px;
  transition: width .25s,background .25s;
}

.hero-dot.active {
  width: 27px;
  background: var(--accent);
}

.hero-dot.active:after {
  background: #ffad80;
  opacity: .4;
}

.hero-bottom-note {
  display: none;
}

@keyframes hero-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* All shelves retain the dimensions and category interactions from V4. */
.main-sections {
  width: min(calc(100% - 90px),1700px);
  margin: 0 auto;
  padding-top: 18px;
}

.catalog-page {
  width: min(calc(100% - 90px),1700px);
  margin: 0 auto;
  min-height: 65vh;
}

body.in-catalog .catalog-page {
  padding-top: calc(var(--header) + 45px);
}

.footer {
  width: 100%;
  margin: 78px auto 0;
}

@media(max-width:1480px) {
  .desktop-nav {
    gap: 13px;
  }
  .desktop-nav a,
  .desktop-nav button {
    font-size: 11px;
  }
  .brand-group {
    gap: 8px;
  }
  .brand-word {
    font-size: 22px;
  }
  .header-inner {
    gap: 17px;
  }
  .header-search {
    flex-basis: 210px;
    width: 210px;
  }
}

@media(max-width:1180px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .header-search {
    flex-basis: 265px;
    width: 265px;
  }
}

@media(max-width:950px) {
  :root {
    --header: 68px;
  }
  .hero {
    height: 520px;
  }
  .hero-content {
    left: 6%;
    bottom: 75px;
  }
  .main-sections,
  .catalog-page {
    width: calc(100% - 50px);
  }
  .hero-bottom {
    right: 6%;
    bottom: 85px;
  }
}

@media(max-width:650px) {
  :root {
    --header: 110px;
  }
  .site-header {
    height: var(--header);
  }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: 47px 39px;
    grid-template-areas: 'brand tools' 'search search';
    gap: 4px 8px;
    align-content: center;
    height: 100%;
    padding: 8px 0;
  }
  .brand-group {
    grid-area: brand;
    min-width: 0;
  }
  .header-tools {
    grid-area: tools;
    display: flex;
    align-items: center;
    justify-self: end;
    margin: 0;
  }
  .header-search {
    grid-area: search;
    margin: 0;
    width: 100%;
    height: 38px;
    max-width: none;
    min-width: 0;
    border-radius: 12px;
    flex: none;
    padding: 0 13px;
    box-shadow: 0 5px 18px #0003;
  }
  .header-search-results {
    right: 0;
    left: 0;
    width: 100%;
    top: calc(100% + 6px);
    max-height: min(59vh,425px);
  }
  .header-search input {
    font-size: 12px;
  }
  .hero {
    height: clamp(455px,125vw,575px);
    border-radius: 0;
  }
  .hero-art {
    object-position: 63% center;
  }
  .hero-slide:after {
    background: linear-gradient(180deg,#090a10b3 0%,transparent 40%,#0b0c10bc 77%,#0b0c10 100%),linear-gradient(90deg,#090a106e,transparent 90%);
  }
  .hero-content {
    left: 20px;
    bottom: 83px;
    max-width: calc(100% - 95px);
    width: calc(100% - 95px);
    padding: 0;
  }
  .hero-original {
    font-size: 9px;
    margin-bottom: 7px;
  }
  .hero h1 {
    font-size: clamp(24px,7.2vw,33px);
    line-height: 1.25;
    letter-spacing: -.5px;
  }
  .hero-arrow {
    top: 45%;
    width: 33px;
    height: 50px;
    border-radius: 20px;
  }
  .hero-prev {
    left: 6px;
  }
  .hero-next {
    right: 6px;
  }
  .hero-bottom {
    left: auto;
    right: 18px;
    bottom: 41px;
    width: auto;
  }
  .hero-dot {
    width: 7px;
    height: 7px;
  }
  .hero-dot.active {
    width: 24px;
  }
  .main-sections,
  .catalog-page {
    width: calc(100% - 28px);
    padding-top: 10px;
  }
  body.in-catalog .catalog-page {
    padding-top: calc(var(--header) + 36px);
  }
  .footer {
    margin-top: 54px;
  }
}

@media(max-width:374px) {
  .hero {
    height: 465px;
  }
  .header-inner {
    grid-template-rows: 42px 38px;
  }
  .hero-content {
    max-width: calc(100% - 68px);
    width: calc(100% - 68px);
    bottom: 76px;
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero-bottom {
    bottom: 34px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .hero-art,
  .hero-slide,
  .hero-dot.active:after {
    transition: none!important;
    animation: none!important;
  }
}

/* Orange Noir V8 — flame wordmark, enriched hero & drag/wheel shelves */
.brand-group {
  gap: 5px;
}

.brand-icon-button {
  width: 39px;
  height: 46px;
  flex: 0 0 39px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  overflow: visible;
  filter: drop-shadow(0 3px 10px #ff783e30);
}

.brand-icon-button:hover,
.brand-icon-button:focus-visible {
  background: transparent;
  box-shadow: none;
  transform: translateY(-1px);
  filter: drop-shadow(0 2px 12px #ff783e87);
}

.brand-default-mark {
  width: 33px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 0 8px #ff783e38);
}

.brand-icon-button img {
  width: 39px;
  height: 43px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.brand-edit-indicator {
  bottom: 0;
  right: -3px;
  opacity: 0;
  background: #2b2220;
  border-color: #ff783e9c;
}

.brand-icon-button:focus-visible .brand-edit-indicator {
  opacity: 1;
}

.brand-word {
  font-family: var(--mk-georgian-font, "BPG WEB 001", system-ui, sans-serif);
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -1.3px;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.brand-word .brand-primary {
  color: #fff;
}

.brand-word .brand-highlight {
  color: var(--accent);
}

.brand-word .brand-cc {
  color: #cccdd1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-left: 3px;
  position: relative;
  top: -9px;
}

/* The search deliberately has no X icon; only its search magnifier remains. */
.header-search-clear {
  display: none!important;
}

.hero-content {
  bottom: 66px;
  max-width: min(650px,70vw);
}

.hero h1 {
  font-size: clamp(28px,2.6vw,47px);
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -1.15px;
  margin: 0;
  color: #fff;
}

.hero-original {
  font-size: clamp(11px,1.05vw,15px);
  font-weight: 750;
  letter-spacing: .35px;
  color: #e1dfe0;
  margin: 10px 0 0;
  text-transform: none;
}

.hero-facts {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 17px;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 750;
  color: #dedcdf;
  text-shadow: 0 2px 7px #000b;
}

.hero-kind {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid #ff783e95;
  color: #ff9b69;
  background: #ff783e1c;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 850;
}

.hero-fact-separator {
  width: 3px;
  height: 3px;
  background: #b9b8ba;
  border-radius: 50%;
  flex: none;
}

.hero-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.hero-duration svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shelf {
  cursor: grab;
}

.shelf.mouse-dragging {
  cursor: grabbing;
  scroll-behavior: auto!important;
  scroll-snap-type: none!important;
  user-select: none!important;
  -webkit-user-select: none!important;
}

.shelf.mouse-dragging * {
  cursor: grabbing!important;
  user-select: none!important;
  -webkit-user-select: none!important;
}

.shelf img {
  -webkit-user-drag: none;
  user-drag: none;
}

@media(max-width:1480px) {
  .brand-word {
    font-size: 23px;
  }
}

@media(max-width:650px) {
  .brand-group {
    gap: 3px;
  }
  .brand-icon-button {
    width: 31px;
    height: 38px;
    flex-basis: 31px;
  }
  .brand-default-mark {
    width: 28px;
    height: 35px;
  }
  .brand-icon-button img {
    width: 30px;
    height: 36px;
  }
  .brand-word {
    font-size: 22px;
    letter-spacing: -1.1px;
  }
  .brand-word .brand-cc {
    font-size: 8px;
    top: -7px;
    margin-left: 2px;
  }
  .hero-content {
    bottom: 86px;
    max-width: calc(100% - 78px);
    width: calc(100% - 78px);
  }
  .hero h1 {
    font-size: clamp(25px,7vw,34px);
    letter-spacing: -.65px;
  }
  .hero-original {
    font-size: 11px;
    margin-top: 8px;
  }
  .hero-facts {
    gap: 7px;
    font-size: 11px;
    margin-top: 13px;
  }
  .hero-kind {
    font-size: 10px;
    padding: 4px 8px;
  }
  .hero-duration svg {
    width: 13px;
    height: 13px;
  }
}

@media(max-width:374px) {
  .brand-word {
    font-size: 18px;
  }
  .brand-icon-button {
    width: 27px;
    height: 33px;
    flex-basis: 27px;
  }
  .brand-default-mark {
    width: 24px;
    height: 31px;
  }
  .brand-icon-button img {
    width: 26px;
    height: 32px;
  }
  .hero-content {
    bottom: 81px;
    max-width: calc(100% - 64px);
    width: calc(100% - 64px);
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero-original {
    font-size: 10px;
  }
  .hero-facts {
    font-size: 10px;
    gap: 6px;
    margin-top: 10px;
  }
}

/* MYKINO.CC — Orange Noir V7 polish */
/* Uniform full-size brand: MYKINO.CC is one line and .CC no longer becomes a superscript. */
.brand-word {
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.brand-word .brand-cc {
  font-size: inherit!important;
  font-weight: inherit!important;
  letter-spacing: inherit!important;
  position: static!important;
  top: auto!important;
  margin-left: 0!important;
  color: #ffffff!important;
  line-height: inherit!important;
}

/* Three complete studio cards fit together on desktop and stay swipeable on small screens. */
#shelf-studios .studio-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
}

#shelf-studios .studio-name {
  font-size: clamp(29px,3vw,43px);
}

#shelf-studios .studio-content {
  padding: clamp(15px,1.55vw,23px);
}

/* Make the playing hero progress unmistakable: dark track, solid bright-orange fill. */
.hero-pagination {
  gap: 9px;
}

.hero-dot {
  background: rgba(255,255,255,.52);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(12,12,14,.19);
}

.hero-dot.active {
  background: rgba(16,16,20,.8)!important;
  box-shadow: inset 0 0 0 1px rgba(255,120,62,.67),0 0 0 1px rgba(255,255,255,.12);
  overflow: hidden;
}

.hero-dot.active:after {
  background: #ff783e!important;
  opacity: 1!important;
  box-shadow: 0 0 5px #ff783ed0;
}

/* Do not hijack vertical scrolling above a horizontal catalog. */
.shelf {
  overscroll-behavior-y: auto;
}

@media(max-width:950px) {
  #shelf-studios .studio-card {
    flex: 0 0 clamp(252px,67vw,340px);
  }
  #shelf-studios .studio-name {
    font-size: 38px;
  }
}

@media(max-width:650px) {
  .brand-word {
    letter-spacing: -1.1px;
    font-size: 21px;
  }
  .brand-word .brand-cc {
    font-size: inherit!important;
    top: auto!important;
    margin-left: 0!important;
  }
  #shelf-studios .studio-card {
    flex-basis: 290px;
  }
}

@media(max-width:374px) {
  .brand-word {
    font-size: 18px;
  }
  #shelf-studios .studio-card {
    flex-basis: 252px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .hero-dot.active:after {
    transform: scaleX(1);
  }
}

/* MYKINO.CC — Orange Noir V8: restored navigation, precise catalogue drag & warm search */
.header-inner {
  gap: 16px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px,1.08vw,19px);
  flex: 1 1 auto;
  min-width: 0;
}

.desktop-nav a,
.desktop-nav button {
  font-size: clamp(10px,.78vw,12px);
  letter-spacing: 0;
  white-space: nowrap;
}

/* Resting search: subtle smoked-bronze edge. Hover: warm copper. Focus: signature orange. */
.header-search {
  flex: 0 1 clamp(162px,12vw,205px);
  width: clamp(162px,12vw,205px);
  height: 38px;
  border-radius: 14px;
  border: 1px solid #895344;
  background: rgba(28,23,25,.91);
  padding: 0 12px;
  box-shadow: inset 0 1px 0 #ffffff0c;
  transition: border-color .2s,background .2s,box-shadow .2s;
}

.header-search:hover:not(:focus-within):not(.open) {
  border-color: #c87b58;
  background: rgba(39,30,30,.96);
  box-shadow: 0 0 0 1px #ff783e13;
}

.header-search:focus-within,
.header-search.open {
  background: #251c1c;
  border-color: #ff783e;
  box-shadow: 0 0 0 2px rgba(255,120,62,.22),0 10px 27px #0007;
}

.header-search-icon {
  stroke: #f0c2ac;
  width: 17px;
  height: 17px;
}

.header-search:focus-within .header-search-icon,
.header-search.open .header-search-icon {
  stroke: #ff783e;
}

.header-search input::placeholder {
  color: #c0a7a0;
}

.header-search-results {
  border-color: #8b514471;
}

/* The former 1180px breakpoint hid navigation unnecessarily on ordinary laptops. */
@media(min-width:980px) and (max-width:1480px) {
  .header-inner {
    gap: 11px;
  }
  .brand-group {
    gap: 6px;
  }
  .desktop-nav {
    display: flex;
    gap: clamp(8px,.8vw,12px);
  }
  .desktop-nav a,
  .desktop-nav button {
    font-size: 10.5px;
  }
  .header-search {
    flex: 0 1 169px;
    width: 169px;
  }
  .menu-toggle {
    display: none;
  }
}

@media(min-width:980px) and (max-width:1120px) {
  .header-inner {
    gap: 8px;
  }
  .desktop-nav {
    gap: 7px;
  }
  .desktop-nav a,
  .desktop-nav button {
    font-size: 9.5px;
  }
  .brand-word {
    font-size: 20px;
  }
  .brand-icon-button {
    width: 32px;
    height: 35px;
    flex-basis: 32px;
  }
  .header-search {
    flex-basis: 150px;
    width: 150px;
  }
  .header-tools {
    gap: 6px;
  }
}

/* On smaller screens the same six links remain available in the existing mobile menu. */
@media(max-width:979px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .header-search {
    flex: 0 1 218px;
    width: 218px;
  }
}

@media(max-width:650px) {
  .header-search {
    flex: none;
    width: 100%;
    height: 36px;
    max-width: none;
    border-radius: 12px;
  }
}

/* Maintain wheel-based normal page scrolling and natural click-drag shelf navigation. */
.shelf {
  scroll-snap-type: none;
}

@media(pointer:coarse) {
  .shelf {
    scroll-snap-type: x mandatory;
  }
}

/* MYKINO.CC — Orange Noir V9: refined header proportions only. */
/* Give six primary links breathing room without changing navigation behaviour. */
@media (min-width:980px) {
  .header-inner {
    gap: clamp(13px,1.2vw,20px);
  }
  .brand-group {
    gap: 5px;
  }
  .brand-icon-button {
    width: 34px;
    height: 40px;
    flex: 0 0 34px;
  }
  .brand-default-mark {
    width: 29px;
    height: 37px;
  }
  .brand-icon-button img {
    width: 34px;
    height: 39px;
  }
  .brand-word {
    font-size: 23px;
    letter-spacing: -1.12px;
  }
  .desktop-nav {
    gap: clamp(14px,1.4vw,23px);
  }
  .desktop-nav a,
  .desktop-nav button {
    font-size: clamp(10.5px,.78vw,12px);
  }
}

/* Smaller desktops: retain every link instead of allowing overlap. */
@media (min-width:980px) and (max-width:1360px) {
  .header-inner {
    gap: clamp(9px,1vw,15px);
  }
  .desktop-nav {
    gap: clamp(9px,1.05vw,15px);
  }
  .brand-word {
    font-size: 21px;
  }
  .brand-icon-button {
    width: 32px;
    height: 37px;
    flex-basis: 32px;
  }
  .brand-default-mark {
    width: 27px;
    height: 34px;
  }
  .brand-icon-button img {
    width: 32px;
    height: 36px;
  }
}

@media (min-width:980px) and (max-width:1120px) {
  .header-inner {
    gap: 8px;
  }
  .desktop-nav {
    gap: 8px;
  }
  .desktop-nav a,
  .desktop-nav button {
    font-size: 10px;
  }
  .brand-word {
    font-size: 19.5px;
  }
  .brand-icon-button {
    width: 29px;
    height: 35px;
    flex-basis: 29px;
  }
  .brand-default-mark {
    width: 25px;
    height: 32px;
  }
  .brand-icon-button img {
    width: 29px;
    height: 34px;
  }
}

/* V10 – intentional Hero mouse drag, with buttons remaining clickable. */
@media (hover:hover) and (pointer:fine) {
  #hero {
    cursor: grab;
  }
  #hero.hero-mouse-dragging {
    cursor: grabbing!important;
    user-select: none!important;
    -webkit-user-select: none!important;
  }
  #hero.hero-mouse-dragging * {
    cursor: grabbing!important;
    user-select: none!important;
    -webkit-user-select: none!important;
  }
  #hero button,
  #hero a {
    cursor: pointer;
  }
}

#hero img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Studio cards keep their existing navigation: remove only the ornamental ↗ symbol. */
.studio-bottom {
  justify-content: flex-start;
}

/* ========================================================================== 
   MYKINO.CC — Orange Noir FastSearch V1 | Header field refinements
   The real DLE AJAX dropdown is styled in mykino-dle.css (#searchsuggestions).
   ========================================================================== */
.mk-dle .header-search {
  border-color: rgba(255, 120, 62, .40);
  background: rgba(19, 20, 26, .96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}
.mk-dle .header-search:hover:not(:focus-within) {
  border-color: rgba(255, 120, 62, .75);
  background: #201b1d;
}
.mk-dle .header-search:focus-within {
  border-color: #ff783e;
  background: #1c1a1e;
  box-shadow: 0 0 0 3px rgba(255, 120, 62, .15), 0 11px 28px rgba(0, 0, 0, .32);
}
.mk-dle .header-search input[type="search"] {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}
.mk-dle .header-search input[type="search"]::placeholder { color: #b1a5a5; }
.mk-dle .header-search .header-search-icon { stroke: #ff9365; }
.mk-dle .header-search:focus-within .header-search-icon { stroke: #ff783e; }


/* ========================================================================== 
   MYKINO.CC V11 — catalog mouse drag stability
   Applies ONLY to homepage shelves. Touch scrolling stays native.
   Explicit arrow-button scrollBy({behavior:"smooth"}) still animates normally.
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .shelf[data-mk-shelf] {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    cursor: grab;
  }
  .shelf[data-mk-shelf].mk-is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }
  .shelf[data-mk-shelf].mk-is-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }
}
.shelf[data-mk-shelf] img {
  -webkit-user-drag: none;
}
