/* MYKINO.CC — DLE compatibility and component bridging. No inline stylesheet. */
:root {
  --accent: #ff783e;
  --accent-hi: #ff9565;
  --bg: #0b0c10;
  --surface: #14161c;
  --line: #ffffff16;
  --text: #f7f7f8;
  --muted: #9699a2;
  color-scheme: dark;
}

html,
body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

.mk-dle {
  font-family: var(--mk-georgian-font, "BPG WEB 001", system-ui, sans-serif);
  overflow-x: hidden;
}

.mk-dle *,
.mk-dle *::before,
.mk-dle *::after {
  box-sizing: border-box;
}

.mk-dle button,
.mk-dle input,
.mk-dle select,
.mk-dle textarea {
  font: inherit;
}

.mk-dle a {
  color: inherit;
  text-decoration: none;
}

.mk-dle img {
  max-width: 100%;
}

.mk-dle [hidden] {
  display: none!important;
}

.mk-dle .mk-logo-mark {
  display: block;
  width: 30px;
  height: 39px;
  object-fit: contain;
}

.mk-dle .brand-icon-button {
  display: grid;
  place-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

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

.mk-dle .brand-word .brand-highlight,
.mk-dle .brand-word .brand-cc {
  color: var(--accent);
}

.mk-dle .desktop-nav a {
  display: inline-block;
}

.mk-dle .desktop-nav a:not(.active):hover {
  color: #fff;
}

.mk-dle .header-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
  position: relative;
}

.mk-dle .header-search input[type="search"] {
  border: 0!important;
  outline: none!important;
  box-shadow: none!important;
  background: transparent!important;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0!important;
  color: #fff;
}

.mk-dle .header-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

.mk-dle .header-search input[type="hidden"] {
  display: none;
}

.mk-dle .header-search-icon {
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.mk-dle .mk-header-login {
  flex: none;
  position: relative;
  z-index: 90;
}

.mk-dle #login_pane {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mk-dle #login_pane>.dropdown>a {
  min-width: 37px;
  max-width: 125px;
  height: 38px;
  border: 1px solid #8b514471;
  border-radius: 20px;
  background: #ffffff0b;
  color: #fff;
  padding: 7px 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  gap: 4px;
}

.mk-dle #login_pane .dropdown-form {
  z-index: 200;
  right: 0;
  left: auto;
  min-width: 290px;
  color: #191919;
}

.mk-dle #login_pane .pm_num {
  font-size: 10px;
  color: var(--accent);
}

.mk-dle .mobile-drawer {
  position: fixed;
  top: var(--header,78px);
  right: 0;
  bottom: 0;
  width: min(320px,88vw);
  background: #111218;
  border: 1px solid #ffffff1c;
  padding: 24px;
  z-index: 101;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: -20px 0 80px #000b;
}

.mk-dle .mobile-drawer a {
  padding: 12px 10px;
  border-bottom: 1px solid #ffffff11;
  color: #d5d6dd;
  font-weight: 750;
}

.mk-dle .drawer-scrim:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000b;
  display: block;
}

.mk-dle.mk-mobile-open {
  overflow: hidden;
}

/* Hero full-bleed V10, under sticky header */
.mk-dle .mk-home .hero {
  width: 100%;
  min-height: clamp(445px,38vw,630px);
  border: 0;
  border-radius: 0;
  margin: 0;
  overflow: hidden;
}

.mk-dle .mk-home .hero-slide {
  position: absolute;
  inset: 0;
}

.mk-dle .mk-home .hero-content {
  position: absolute;
  left: max(30px,calc((100vw - 1450px)/2));
  bottom: 40px;
  top: auto;
  width: min(620px,70%);
  padding: 0 0 55px 0;
}

.mk-dle .mk-home .hero-slide::after {
  background: linear-gradient(90deg,#0b0c10e8 0%,#0b0c109d 40%,transparent 82%),linear-gradient(0deg,#0b0c10f8 0%,#0b0c1088 35%,transparent 72%);
}

.mk-dle .hero-title-link {
  display: block;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}

.mk-dle .hero-title-link h1 {
  margin: 0 0 8px;
  font-size: 30px;
}

.mk-dle .hero-title-link:hover h1 {
  color: #ff9e75;
}

.mk-dle .hero-original {
  color: #ccc7c6;
  font-size: 13px;
  margin-bottom: 12px;
}

.mk-dle .hero-facts {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  color: #c5c3c4;
  font-size: 12px;
  font-weight: 750;
}

.mk-dle .hero-fact-separator {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.mk-dle .hero-arrow {
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.mk-dle .hero-bottom {
  right: clamp(23px,5vw,130px);
  left: auto;
  bottom: 28px;
}

.mk-dle .hero-pagination {
  gap: 7px;
}

.mk-dle .hero-dot {
  height: 7px;
  background: #2b2d31;
  min-width: 25px;
  box-shadow: inset 0 0 0 1px #ffffff25;
}

.mk-dle .hero-dot.active:after {
  background: #ff783e;
  box-shadow: 0 0 12px #ff783e99;
}

.mk-dle .mk-home-shelves {
  padding-bottom: 18px;
}

.mk-dle .catalog-section {
  margin-top: 37px;
}

.mk-dle .section-heading h2 a {
  color: #f9f9f9;
}

.mk-dle .section-heading h2 a:hover {
  color: var(--accent);
}

.mk-shelf-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mk-shelf-arrows button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #ffffff25;
  color: #e6e5e7;
  background: #191b21;
  font-size: 24px;
  line-height: 0;
  cursor: pointer;
  transition: .2s;
}

.mk-shelf-arrows button:hover {
  color: var(--accent);
  border-color: #ff783e88;
}

.mk-dle .shelf {
  cursor: grab;
  scroll-snap-type: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.mk-dle .shelf.mk-is-dragging {
  cursor: grabbing!important;
  scroll-behavior: auto;
  user-select: none;
}

.mk-dle .shelf.mk-is-dragging a {
  pointer-events: none;
}

.mk-dle .poster-card {
  flex: 0 0 clamp(185px,16.8vw,240px);
  scroll-snap-align: start;
}

.mk-dle .poster-card.landscape-poster {
  flex-basis: clamp(310px,28vw,430px);
}

.mk-dle .poster-card.landscape-poster .poster-cover {
  aspect-ratio: 16/9;
}

.mk-dle .poster-card .poster-cover {
  aspect-ratio: 2/3;
  position: relative;
}

.mk-dle .mk-cover-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.mk-dle .mk-cover-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mk-dle .overlay-top-left {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.mk-dle .mk-poster-favs {
  display: block;
  position: relative;
  z-index: 3;
  cursor: pointer;
}

.mk-dle .mk-poster-favs .save-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 21px;
  border: 1px solid #ffffff73;
  border-radius: 50%;
  background: #101115c7;
  color: #fff;
  cursor: pointer;
}

.mk-dle .mk-poster-favs .save-button.active,
.mk-dle .mk-poster-favs .save-button:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.mk-dle .poster-info {
  margin-top: 0px;
  max-width: 100%;
}

.mk-dle .poster-info h3 {
  margin: 0 0 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  color: #f5f4f5;
}

.mk-dle .poster-info h3 a:hover {
  color: var(--accent);
}

.mk-dle .poster-info p {
  color: #9798a1;
  margin: 0;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.mk-dle .poster-bottom-data {
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 20px;
}

.mk-dle .poster-bottom-data .poster-year {
  font-weight: 800;
  font-size: 11px;
}

.mk-dle .mk-single-rating {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  font-weight: 700;
  color: #f6ca67;
  font-size: 11px;
}

.mk-dle .mk-rating-verified {
  white-space: nowrap;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.mk-dle .mk-rating-verified strong {
  color: #ffce67;
}

.mk-dle .mk-studio-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.mk-dle .mk-studio-grid .studio-card {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 2.25;
  display: block;
}

.mk-dle .mk-studio-grid .studio-card .studio-content {
  display: flex;
}

.mk-dle .mk-studio-grid .studio-bottom {
  display: block;
}

.mk-dle .footer {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0;
  padding: 30px 20px 40px;
  background: #090a0e;
}

.mk-dle .footer .footer-links {
  margin-top: 22px;
}

.mk-dle .footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 16px;
}

.mk-dle .footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c5c2c2;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 0;
}

.mk-dle .footer-social-link:hover {
  color: var(--accent);
}

.mk-dle .footer-note {
  max-width: 750px;
  margin-top: 16px;
  color: #8e8e97;
  font-size: 11px;
  line-height: 1.8;
}

.mk-dle .footer-copy {
  margin-top: 10px;
  color: #6b6f78;
}

/* DLE category, search and fallback pages */
.mk-page-content {
  padding-top: 0px;
  min-height: 50vh;
}

.mk-page-heading {
  padding: 20px 0 24px;
}

.mk-page-heading h1 {
  font-size: 27px;
  font-weight: 900;
}

.mk-news-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 26px 16px;
  padding: 80px 0 0 0;
}

.mk-news-grid .poster-card {
  min-width: 0;
  width: 100%;
}

.mk-paging {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 24px auto;
}

.mk-paging .navigation {
  width: 100%;
  background: transparent;
  border: 0;
}

.mk-dle-info:empty {
  display: none;
}

.mk-fast-result {
  display: block;
  padding: 9px 12px;
  border-bottom: 1px solid #ffffff15;
  color: #e6e6e8;
}

.mk-fast-result strong {
  display: block;
}

.mk-fast-result span {
  display: block;
  color: #999da5;
  font-size: 11px;
}

#searchsuggestions {
  background: #181a20!important;
  color: #fff!important;
  border: 1px solid #ff783e70!important;
  border-radius: 14px!important;
  z-index: 999!important;
  box-shadow: 0 15px 30px #0009!important;
}

#searchsuggestions a {
  color: #efefef!important;
}

#searchsuggestions a:hover {
  background: #ff783e1c!important;
}

/* DLE Fullstory artwork, metadata and real engine widgets */
.mk-dle .mk-fullstory .d2-player {
  position: relative;
  overflow: hidden;
  background: #13151b;
}

.mk-dle .mk-fullstory .d2-player>.d2-player-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .7;
}

.mk-dle .mk-fullstory .d2-player .d2-play {
  cursor: pointer;
  z-index: 4;
}

.mk-video-embed {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 6;
  background: #080808;
}

.mk-player-error {
  position: absolute;
  bottom: 18px;
  left: 15px;
  right: 15px;
  z-index: 8;
  background: #131219ee;
  color: #fff;
  border: 1px solid #ff783e99;
  padding: 14px 20px;
  border-radius: 10px;
  text-align: center;
}

.mk-data-hidden {
  display: none!important;
}

.mk-dle .mk-fullstory .v11-dd {
  z-index: 8;
}

.mk-dle .mk-fullstory .v11-dd.is-open {
  z-index: 50;
}

.mk-dle .mk-fullstory .d2-player-menus[hidden] {
  display: none!important;
}

.mk-dle .mk-fullstory .v11-dd-trigger {
  font-size: 12px!important;
}

.mk-dle .mk-fullstory .v11-dd-option {
  font-size: 11px;
}

.mk-dle .mk-fullstory .d2-player-top {
  pointer-events: none;
}

.mk-dle .mk-fullstory .d2-player-top>* {
  pointer-events: auto;
}

.mk-dle .mk-fullstory .d2-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mk-dle .mk-fullstory .d2-info-header .d2-socialbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.mk-dle .mk-fullstory .mk-native-rating {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 4px;
}

.mk-dle .mk-fullstory .mk-native-rating a,
.mk-dle .mk-fullstory .mk-native-rating span {
  cursor: pointer;
}

.mk-dle .mk-fullstory .mk-native-rating b {
  font-size: 12px;
}

.mk-dle .mk-fullstory .mk-native-rating.is-selected {
  color: var(--accent);
}

.mk-dle .mk-fullstory .d2-infogrid {
  min-width: 0;
}

.mk-dle .mk-fullstory .d2-dl {
  margin: 0;
}

.mk-dle .mk-fullstory .d2-dl a {
  color: #ddd;
}

.mk-dle .mk-fullstory .d2-dl a:hover {
  color: var(--accent);
}

.mk-dle .mk-fullstory .mk-full-rating-row:has(.mk-single-rating:empty) {
  display: none;
}

.mk-dle .mk-fullstory .mk-synopsis-content {
  font-size: 13px;
  color: #d2d3d8;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.mk-dle .mk-fullstory .mk-synopsis-content p {
  margin: 8px 0;
}

.mk-dle .mk-fullstory .mk-synopsis-content iframe {
  max-width: 100%;
}

.mk-dle .mk-fullstory .mk-related .mk-related-list {
  gap: 14px;
  flex-wrap: wrap;
  cursor: default;
}

.mk-dle .mk-related-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 190px;
  max-width: 320px;
  border-radius: 12px;
  border: 1px solid #ffffff1e;
  background: #191b23;
  padding: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.mk-dle .mk-related-link small {
  font-size: 11px;
  font-weight: 400;
  color: #9c9ea4;
}

.mk-dle .mk-related-link:hover {
  border-color: var(--accent);
}

/* Comments integrated with DLE, not client-side demo comments. */
.mk-dle .mk-fullstory .d2-comments-wrap {
  display: block!important;
  padding-top: 15px;
}

.mk-dle .mk-fullstory .d2-comments {
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 22px;
}

.mk-dle .mk-comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mk-comment-card {
  background: #171920;
  border: 1px solid #ffffff17;
  border-radius: 14px;
  padding: 16px 18px;
  position: relative;
  color: #fff;
}

.mk-comment-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.mk-comment-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mk-comment-avatar {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 1px solid #ffffff25;
  overflow: hidden;
  background: #252a32;
  flex: none;
}

.mk-comment-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-comment-ident {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mk-comment-ident strong {
  font-size: 12px;
  font-weight: 850;
  color: #fff;
}

.mk-comment-ident time {
  font-size: 10px;
  color: #939cab;
}

.mk-comment-body {
  padding: 11px 12px;
  background: #0e1117;
  border-left: 2px solid #ff783e;
  border-radius: 9px;
  margin: 10px 0 9px 51px;
  color: #e3e7f0;
  line-height: 1.6;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.mk-comment-rating {
  color: #ff6682;
  font-size: 12px;
  border: 1px solid #ffffff18;
  border-radius: 8px;
  background: #21232b;
  padding: 6px 9px;
  white-space: nowrap;
}

.mk-comment-actions {
  display: flex;
  gap: 8px;
  margin-left: 51px;
  color: #a7acbb;
  font-size: 11px;
}

.mk-comment-actions a,
.mk-comment-actions span {
  color: #a7acbb;
  cursor: pointer;
}

.mk-comment-actions .mk-reply {
  padding: 5px 10px;
  background: #23252d;
  border: 1px solid #ffffff12;
  border-radius: 7px;
}

.mk-comment-actions .mk-reply:hover {
  color: var(--accent);
}

.mk-dle .mk-dle-compose {
  display: block!important;
  background: #171920;
  border: 1px solid #ffffff1e;
  border-radius: 15px;
  padding: 20px;
  margin: 22px 0 0;
  min-height: 0;
}

.mk-dle .mk-dle-compose .d2-compose-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.mk-dle .mk-dle-compose h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #fff;
}

.mk-dle .mk-dle-compose .d2-compose-heading-text p {
  margin: 0;
  color: #94a0b5;
  font-size: 11px;
}

.mk-dle .mk-dle-compose .mk-comment-decor {
  background: #242733;
  border: 1px solid #ffffff18;
  color: #ccd0d6;
  padding: 7px 10px;
  border-radius: 10px;
}

.mk-dle .mk-dle-compose #comment-editor {
  width: 100%;
  display: block;
  min-height: 180px;
}

.mk-dle .mk-dle-compose #comment-editor textarea,
.mk-dle .mk-dle-compose textarea {
  width: 100%!important;
  min-height: 200px!important;
  border: 1px solid #303440!important;
  border-radius: 10px!important;
  background: #1b1e27!important;
  color: #fff!important;
  padding: 15px!important;
  resize: vertical!important;
}

.mk-dle .mk-dle-compose .d2-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
  border-top: 1px solid #ffffff17;
  padding-top: 14px;
}

.mk-dle .mk-dle-compose .d2-submit {
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  background: #fafafa;
  color: #111;
  min-height: 41px;
  border: 0;
  border-radius: 9px;
  padding: 0 20px;
}

.mk-dle .mk-dle-compose .d2-submit:hover {
  background: var(--accent);
  color: #111;
}

.mk-dle .mk-dle-compose .mk-guest-fields {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.mk-dle .mk-dle-compose .mk-guest-fields label {
  flex: 1;
  font-size: 11px;
  color: #a8abb4;
}

.mk-dle .mk-dle-compose .mk-guest-fields input {
  display: block;
  min-height: 37px;
  width: 100%;
  background: #20232b;
  border: 1px solid #ffffff22;
  border-radius: 8px;
  padding: 9px;
  color: #fff;
}

.mk-dle .mk-captcha {
  padding: 12px 0;
}

.mk-dle .mk-captcha input {
  background: #262b33;
  color: #fff;
  padding: 8px;
}

.mk-video-modal {
  position: fixed;
  inset: 0;
  background: #000c;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  backdrop-filter: blur(9px);
}

.mk-video-dialog {
  position: relative;
  width: min(980px,94vw);
  min-height: 180px;
  aspect-ratio: 16/9;
  background: #0c0f17;
  border: 1px solid #ff783e7a;
  border-radius: 15px;
  padding: 16px;
  box-shadow: 0 25px 80px #000a;
  display: grid;
  place-items: center;
  color: #eee;
}

.mk-video-dialog iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.mk-video-dialog #mk-trailer-content {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.mk-modal-close {
  position: absolute;
  top: -18px;
  right: -12px;
  z-index: 2;
  width: 37px;
  height: 37px;
  border: 1px solid #ffffff33;
  border-radius: 50%;
  background: #13151d;
  color: #fff;
  font-size: 27px;
  cursor: pointer;
}

.mk-modal-open {
  overflow: hidden;
}

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

@media(max-width:979px) {
  .mk-dle .desktop-nav {
    display: none;
  }
  .mk-dle .menu-toggle {
    display: grid;
  }
}

@media(max-width:800px) {
  .mk-dle .container {
    width: min(100% - 32px,1450px);
  }
  .mk-dle .mk-home .hero-content {
    left: 25px;
    bottom: 38px;
  }
  .mk-news-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .mk-dle .mk-studio-grid {
    gap: 9px;
  }
}

@media(max-width:650px) {
  .mk-dle .header-inner {
    gap: 9px;
  }
  .mk-dle .site-header {
    height: auto;
    min-height: 62px;
  }
  .mk-dle .mk-home .hero {
    min-height: 420px;
  }
  .mk-dle .mk-home .hero-content {
    width: calc(100% - 65px);
    left: 24px;
    bottom: 42px;
  }
  .mk-dle .hero-title-link h1 {
    font-size: 29px;
  }
  .mk-dle .hero-bottom {
    right: 20px;
    bottom: 16px;
  }
  .mk-dle .hero-facts {
    font-size: 11px;
  }
  .mk-dle .poster-card {
    flex-basis: 165px;
  }
  .mk-dle .poster-card.landscape-poster {
    flex-basis: 278px;
  }
  .mk-dle .section-heading h2 {
    font-size: 17px;
  }
  .mk-dle .section-top {
    margin-bottom: 12px;
  }
  .mk-shelf-arrows button {
    width: 30px;
    height: 30px;
  }
  .mk-dle .mk-studio-grid {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
  }
  .mk-dle .mk-studio-grid .studio-card {
    flex: 0 0 min(270px,85%);
    scroll-snap-align: start;
    aspect-ratio: 2.25;
  }
  .mk-news-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px;
  }
  .mk-dle .mk-fullstory .d2-player {
    aspect-ratio: 16/10;
  }
  .mk-dle .mk-fullstory .d2-info-header .d2-socialbar {
    justify-content: flex-start;
  }
  .mk-dle .mk-fullstory .d2-dl div {
    grid-template-columns: minmax(86px,35%) 1fr;
    gap: 8px;
  }
  .mk-dle .mk-comment-card {
    padding: 12px;
  }
  .mk-dle .mk-comment-body {
    margin-left: 0;
  }
  .mk-dle .mk-comment-actions {
    margin-left: 0;
  }
  .mk-dle .mk-dle-compose {
    padding: 14px;
  }
  .mk-dle .mk-dle-compose .d2-compose-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .mk-dle .mk-dle-compose .d2-submit {
    width: 100%;
  }
  .mk-dle .mk-dle-compose .mk-guest-fields {
    flex-direction: column;
  }
}

/* Final DLE header fit: six labels must remain legible on a desktop. */
@media(min-width:1121px) {
  .mk-dle .header-inner {
    gap: clamp(16px,1.5vw,25px);
  }
  .mk-dle .desktop-nav {
    display: flex;
    gap: clamp(14px,1.45vw,25px);
    align-items: center;
    justify-content: flex-start;
  }
  .mk-dle .desktop-nav a {
    font-size: clamp(11px,.82vw,13px);
    letter-spacing: 0;
    font-weight: 750;
    white-space: nowrap;
  }
  .mk-dle .header-search {
    width: 180px;
    flex: 0 1 180px;
  }
}

@media(min-width:980px) and (max-width:1120px) {
  .mk-dle .desktop-nav {
    gap: 8px;
  }
  .mk-dle .desktop-nav a {
    font-size: 10px;
  }
  .mk-dle .header-search {
    width: 145px;
    flex: 0 1 145px;
  }
}

.mk-admin-edit {
  margin: 14px 0 0;
  font-size: 11px;
  color: #888;
  text-align: right;
}

.mk-admin-edit a {
  color: #b0b3ba!important;
}

.mk-admin-edit a:hover {
  color: var(--accent)!important;
}

/* ========================================================================== 
   MYKINO.CC — Orange Noir FastSearch V1 | Native DLE #searchsuggestions
   Standalone UI; does not use engine.css or styles.css.
   ========================================================================== */
#searchsuggestions {
  box-sizing: border-box !important;
  position: fixed !important;
  z-index: 99999 !important;
  width: min(450px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  min-width: 0 !important;
  max-height: min(68vh, 552px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding: 8px !important;
  border: 1px solid rgba(255, 120, 62, .32) !important;
  border-radius: 14px !important;
  background: #14161c !important;
  color: #f6f6f8 !important;
  box-shadow: 0 25px 65px rgba(0, 0, 0, .74), 0 0 0 1px rgba(255, 255, 255, .025) !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 120, 62, .5) transparent;
  font-family: var(--mk-georgian-font, "BPG WEB 001", system-ui, sans-serif);
  text-align: left;
}
#searchsuggestions,
#searchsuggestions *,
#searchsuggestions *::before,
#searchsuggestions *::after { box-sizing: border-box; }

#searchsuggestions .mk-fast-result {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 13px !important;
  width: 100% !important;
  min-width: 0;
  min-height: 101px;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid transparent !important;
  border-bottom-color: rgba(255, 255, 255, .065) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #f4f5f8 !important;
  text-decoration: none !important;
  text-align: left !important;
  overflow: hidden;
  transition: border-color .18s ease, background .18s ease;
}
#searchsuggestions .mk-fast-result:last-of-type { border-bottom-color: transparent !important; }
#searchsuggestions .mk-fast-result:hover,
#searchsuggestions .mk-fast-result:focus-visible,
#searchsuggestions .mk-fast-result.selected,
#searchsuggestions .mk-fast-result.active {
  border-color: rgba(255, 120, 62, .50) !important;
  background: rgba(255, 120, 62, .10) !important;
  outline: none !important;
}
#searchsuggestions .mk-fast-poster {
  position: relative;
  display: grid !important;
  place-items: center;
  width: 56px;
  height: 79px;
  flex: 0 0 56px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: linear-gradient(145deg, #2b2625, #1b1d26 78%);
  color: #ff9364;
}
#searchsuggestions .mk-fast-poster-empty {
  width: 25px;
  height: 25px;
  opacity: .7;
}
#searchsuggestions .mk-fast-poster-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  border-radius: inherit;
  background: #1d1c21;
}
#searchsuggestions .mk-fast-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  gap: 5px;
  margin: 0;
}
#searchsuggestions .mk-fast-title {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: #f6f6f9 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.48;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color .18s ease;
}
#searchsuggestions .mk-fast-result:hover .mk-fast-title,
#searchsuggestions .mk-fast-result:focus-visible .mk-fast-title {
  color: #ff9a70 !important;
}
#searchsuggestions .mk-fast-original {
  display: block;
  max-width: 100%;
  color: #a7abb7 !important;
  font-size: 11px !important;
  font-weight: 400;
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#searchsuggestions .mk-fast-year {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 120, 62, .21);
  border-radius: 6px;
  background: rgba(255, 120, 62, .085);
  color: #ffb18b !important;
  font-size: 10px !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  white-space: nowrap;
}
#searchsuggestions .mk-fast-year-dot {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff783e;
}
#searchsuggestions .mk-fast-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 17px;
  color: #666c78;
  transition: color .18s ease, transform .18s ease;
}
#searchsuggestions .mk-fast-chevron svg { width: 17px; height: 17px; }
#searchsuggestions .mk-fast-result:hover .mk-fast-chevron,
#searchsuggestions .mk-fast-result:focus-visible .mk-fast-chevron {
  color: #ff783e;
  transform: translateX(2px);
}
/* Engine-generated advanced search links are removed by mykino-fastsearch.js.
   This backup rule covers the common DLE markup in case JS is deferred. */
#searchsuggestions :is(a, button).mk-fs-advanced,
#searchsuggestions .mk-fs-advanced { display: none !important; }

@media (max-width: 650px) {
  #searchsuggestions { border-radius: 12px !important; padding: 5px !important; }
  #searchsuggestions .mk-fast-result { min-height: 88px; gap: 10px !important; padding: 8px !important; }
  #searchsuggestions .mk-fast-poster { width: 49px; height: 69px; flex-basis: 49px; }
  #searchsuggestions .mk-fast-title { font-size: 11px !important; }
  #searchsuggestions .mk-fast-original { font-size: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #searchsuggestions .mk-fast-result,
  #searchsuggestions .mk-fast-title,
  #searchsuggestions .mk-fast-chevron { transition: none !important; }
}

/* ===========================================================================
   MYKINO.CC — FAST SEARCH V3 | Stable scrolling + full-width results
   Does not change DLE's AJAX search or the poster card components.
   =========================================================================== */

/* IMPORTANT: body overflow-x:hidden from the old DLE bridge creates a
   scrolling ancestor and breaks position:sticky on .site-header.  When the
   user focuses #story after scrolling, the browser jumps back to the header.
   overflow-x:clip clips horizontal overflow WITHOUT creating a scrollport,
   so the sticky header stays in view at the current reading position. */
body.mk-dle {
  overflow-x: clip;
}

/* The native suggestion popup MUST remain outside page layout.  Prevent
   results appearing/disappearing from participating in scroll anchoring. */
#searchsuggestions {
  position: fixed !important;
  overflow-anchor: none !important;
  overscroll-behavior: contain;
}

/* The theme's global html { scroll-behavior:smooth } can make a focus/scroll
   adjustment look like repeated up/down animation while the user is typing.
   Suppress only that automatic animation while the header input is focused.
   Ordinary wheel/touch scrolling is unaffected. */
html:has(#header-search #story:focus) {
  scroll-behavior: auto !important;
  scroll-padding-top: 0 !important;
}

/* Hide legacy search.tpl fragments even if DLE temporarily renders a cached
   copy. Removed nodes are also filtered in search.tpl (V3). */
body.mk-dle .mk-news-grid > article.searchpage,
body.mk-dle .mk-news-grid > .searchpage,
body.mk-dle .mk-news-grid > .mk-search-results-summary,
body.mk-dle .mk-news-grid > .search_result_num,
body.mk-dle .mk-news-grid > #searchtable,
body.mk-dle .mk-news-grid > .searchtable {
  display: none !important;
}

/* The first real result now starts in column 1; no hidden sidebar column. */
body.mk-dle .mk-news-grid > .poster-card:first-of-type {
  grid-column: auto;
}


/* MYKINO.CC Fast Search V4 — search-page grid normalization only.
   JS removes the legacy block; this scoped CSS is an extra safeguard. */
body.mk-dle #mk-page-content .mk-news-grid.mk-search-results-clean > :not(.poster-card) {
  display: none !important;
}
body.mk-dle #mk-page-content .mk-news-grid.mk-search-results-clean > .poster-card {
  grid-column: auto;
  grid-row: auto;
}


/* MYKINO.CC — Footer Social V1 | Orange Noir
   Scoped to the four links in footer.tpl. No scripts or external assets. */
body.mk-dle #site-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 640px;
  margin: 20px auto 0;
}
body.mk-dle #site-footer .footer-social > .footer-social-link[data-social] {
  --social-rgb: 255, 120, 62;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 132px;
  min-height: 46px;
  padding: 10px 13px;
  margin: 0;
  border: 1px solid rgba(var(--social-rgb), .27);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(var(--social-rgb), .075), #14161c 80%);
  color: #e4e6ec;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 #ffffff06;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}
body.mk-dle #site-footer .footer-social-link[data-social="facebook"] { --social-rgb: 100, 159, 255; }
body.mk-dle #site-footer .footer-social-link[data-social="tiktok"] { --social-rgb: 231, 234, 242; }
body.mk-dle #site-footer .footer-social-link[data-social="discord"] { --social-rgb: 150, 155, 255; }
body.mk-dle #site-footer .footer-social-link[data-social="mail"] { --social-rgb: 255, 120, 62; }
body.mk-dle #site-footer .footer-social-link .mk-footer-social-icon {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: rgb(var(--social-rgb));
  fill: currentColor;
  stroke: none;
}
body.mk-dle #site-footer .footer-social-link[data-social="mail"] .mk-footer-social-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.mk-dle #site-footer .footer-social-link[data-social="tiktok"] .mk-footer-social-icon {
  filter: drop-shadow(-.65px 0 0 #25f4ee) drop-shadow(.65px .45px 0 #fe2c55);
}
@media (hover: hover) {
  body.mk-dle #site-footer .footer-social > .footer-social-link[data-social]:hover {
    color: #fff;
    border-color: rgba(var(--social-rgb), .7);
    background: linear-gradient(145deg, rgba(var(--social-rgb), .15), #1b1e25 85%);
    box-shadow: 0 5px 18px rgba(var(--social-rgb), .09);
    transform: translateY(-2px);
  }
}
body.mk-dle #site-footer .footer-social > .footer-social-link[data-social]:focus-visible {
  outline: 2px solid #ff783e;
  outline-offset: 3px;
  border-color: rgba(var(--social-rgb), .75);
}
@media (max-width: 650px) {
  body.mk-dle #site-footer .footer-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 340px;
    gap: 9px;
    margin-top: 18px;
  }
  body.mk-dle #site-footer .footer-social > .footer-social-link[data-social] {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 9px 8px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.mk-dle #site-footer .footer-social > .footer-social-link[data-social] { transition: none; }
  body.mk-dle #site-footer .footer-social > .footer-social-link[data-social]:hover { transform: none; }
}

/* MYKINO.CC — Feedback V1 | Orange Noir. Contact page only. */
body.mk-dle .mk-news-grid:has(.mk-feedback) {
  display: block;
}
body.mk-dle .mk-feedback {
  --fb-accent: #ff783e;
  box-sizing: border-box;
  width: min(100%, 860px);
  min-width: 0;
  margin: 24px auto 0;
  padding: clamp(16px, 3vw, 34px);
  background: radial-gradient(ellipse at 100% 0%, #ff783e0b, transparent 45%), #14161c;
  border: 1px solid #ffffff20;
  border-radius: 20px;
  color: #f7f7f8;
  text-align: left;
  box-shadow: 0 24px 65px #0004;
}
body.mk-dle .mk-feedback svg {
  display: block; width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
body.mk-dle .mk-feedback-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-bottom: 23px; margin-bottom: 24px; border-bottom: 1px solid #ffffff15;
}
body.mk-dle .mk-feedback-heading { min-width: 0; }
body.mk-dle .mk-feedback-kicker {
  display: flex; align-items: center; gap: 7px; color: #ff9a70;
  font-size: 10px; font-weight: 750; line-height: 1.5;
}
body.mk-dle .mk-feedback-kicker > span {
  display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--fb-accent);
  box-shadow: 0 0 10px #ff783e80;
}
body.mk-dle .mk-feedback h1 { margin: 9px 0 7px; font-size: clamp(22px, 3vw, 30px); line-height: 1.3; color: #fff; }
body.mk-dle .mk-feedback-heading p { margin: 0; font-size: 12px; color: #a7aab5; line-height: 1.8; }
body.mk-dle .mk-feedback-emblem {
  display: grid; place-items: center; flex: 0 0 56px; height: 56px;
  color: var(--fb-accent); border: 1px solid #ff783e45; background: #ff783e12; border-radius: 15px;
}
body.mk-dle .mk-feedback-emblem svg { width: 27px; height: 27px; }
body.mk-dle .mk-feedback-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
body.mk-dle .mk-feedback-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
body.mk-dle .mk-feedback-full { grid-column: 1/-1; }
body.mk-dle .mk-feedback-field > label,
body.mk-dle .mk-feedback-label { font-size: 12px; font-weight: 750; line-height: 1.6; color: #e4e6ec; }
body.mk-dle .mk-feedback-field > label > span { color: var(--fb-accent); }
body.mk-dle .mk-feedback-field > label > small { margin-left: 6px; font-size: 10px; color: #9298a5; font-weight: 400; }
body.mk-dle .mk-feedback :is(input[type="text"],input[type="email"],textarea,select) {
  display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 46px;
  box-sizing: border-box; padding: 12px 13px; margin: 0; border: 1px solid #343741; border-radius: 10px;
  background: #101218; color: #f5f5f7; font: inherit; font-size: 13px; line-height: 1.5;
  transition: border-color .18s ease, box-shadow .18s ease; outline: none;
}
body.mk-dle .mk-feedback :is(input,textarea)::placeholder { color: #838995; opacity: 1; }
body.mk-dle .mk-feedback :is(input,textarea,select):focus { border-color: var(--fb-accent); box-shadow: 0 0 0 3px #ff783e20; }
body.mk-dle .mk-feedback textarea { min-height: 158px; resize: vertical; }
body.mk-dle .mk-feedback-recipient-label { display: flex; flex-direction: column; gap: 8px; }
body.mk-dle .mk-feedback-select { display: block; position: relative; min-width: 0; }
body.mk-dle .mk-feedback .mk-feedback-select select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff9565' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
body.mk-dle .mk-feedback-select option { background: #191b23; color: #f5f5f7; }
body.mk-dle .mk-feedback-upload {
  display: flex; align-items: flex-start; gap: 13px; padding: 15px;
  background: #101218; border: 1px dashed #ff783e4a; border-radius: 12px; min-width: 0;
}
body.mk-dle .mk-feedback-upload-icon {
  display: grid; place-items: center; flex: 0 0 40px; height: 40px;
  color: var(--fb-accent); background: #ff783e12; border: 1px solid #ff783e25; border-radius: 10px;
}
body.mk-dle .mk-feedback-upload-content { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
body.mk-dle .mk-feedback-upload-content strong { font-size: 12px; color: #e4e6ec; }
body.mk-dle .mk-feedback-upload-content small { font-size: 11px; line-height: 1.65; color: #999eab; }
body.mk-dle .mk-feedback input[type="file"] { display: block; width: 100%; min-width: 0; margin: 3px 0 0; color: #a7adb9; font: inherit; font-size: 12px; cursor: pointer; }
body.mk-dle .mk-feedback input[type="file"]::file-selector-button {
  padding: 9px 12px; margin-right: 10px; border: 1px solid #ff783e48; border-radius: 8px;
  background: #ff783e12; color: #ffae89; font: inherit; font-weight: 750; cursor: pointer;
}
body.mk-dle .mk-feedback input[type="file"]::file-selector-button:hover { background: #ff783e25; }
body.mk-dle .mk-feedback-captcha { max-width: 100%; min-width: 0; overflow-x: auto; padding: 2px 0; }
body.mk-dle .mk-feedback-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
body.mk-dle .mk-feedback-code input { flex: 1 1 170px; }
body.mk-dle .mk-feedback-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #ffffff15; }
body.mk-dle .mk-feedback-note { display: flex; align-items: center; gap: 9px; min-width: 0; margin: 0; color: #a0a6b2; font-size: 11px; line-height: 1.7; }
body.mk-dle .mk-feedback-note svg { color: var(--fb-accent); width: 19px; height: 19px; }
body.mk-dle .mk-feedback-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: none; min-height: 46px;
  max-width: 100%; margin: 0; padding: 12px 20px; border: 1px solid transparent; border-radius: 10px;
  background: var(--fb-accent); color: #18100c; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 24px #ff783e22; transition: background .18s ease, box-shadow .18s ease;
}
body.mk-dle .mk-feedback-submit:hover { background: #ff9565; box-shadow: 0 8px 24px #ff783e38; }
body.mk-dle .mk-feedback-submit:focus-visible { outline: 2px solid #ffb28f; outline-offset: 3px; }
body.mk-dle .mk-feedback-submit:disabled { opacity: .6; cursor: not-allowed; }
body.mk-dle .mk-feedback-submit svg { width: 18px; height: 18px; }
@media (max-width: 650px) {
  body.mk-dle .mk-feedback { margin-top: 16px; padding: 16px; border-radius: 14px; }
  body.mk-dle .mk-feedback-head { gap: 10px; margin-bottom: 19px; padding-bottom: 18px; }
  body.mk-dle .mk-feedback-emblem { flex-basis: 42px; height: 42px; border-radius: 11px; }
  body.mk-dle .mk-feedback-emblem svg { width: 22px; height: 22px; }
  body.mk-dle .mk-feedback-fields { grid-template-columns: minmax(0,1fr); gap: 16px; }
  body.mk-dle .mk-feedback :is(input[type="text"],input[type="email"],textarea,select) { font-size: 16px; }
  body.mk-dle .mk-feedback-upload { gap: 9px; padding: 12px; }
  body.mk-dle .mk-feedback-upload-icon { flex-basis: 30px; height: 30px; }
  body.mk-dle .mk-feedback-footer { flex-direction: column; align-items: stretch; }
  body.mk-dle .mk-feedback-submit { width: 100%; }
}
@media (max-width: 400px) {
  body.mk-dle .mk-feedback-captcha .g-recaptcha { zoom: .82; }
}
@media (prefers-reduced-motion: reduce) {
  body.mk-dle .mk-feedback :is(input,textarea,select,button) { transition: none; }
}


/* MYKINO.CC — Footer / TOP.GE V3. Style the surrounding frame only. */
body.mk-dle #site-footer .mk-footer-statistics {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px; width: fit-content; max-width: 100%; margin: 18px auto 4px;
  padding: 7px; border: 1px solid #ff783e38; border-radius: 12px;
  background: linear-gradient(125deg,#ff783e0c,#14161c 75%);
}
body.mk-dle #site-footer .mk-footer-stat-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px;
  max-width: 100%; padding: 5px 9px 5px 5px; border: 1px solid transparent;
  border-radius: 8px; background: transparent; color: #e7e9ef;
  text-align: left; text-decoration: none;
  transition: border-color .18s, background .18s;
}
body.mk-dle #site-footer .mk-footer-stat-icon {
  display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px;
  border: 1px solid #ff783e2e; border-radius: 8px; background: #ff783e12; color: #ff8954;
}
body.mk-dle #site-footer .mk-footer-stat-icon svg { display: block; width: 20px; height: 20px; }
body.mk-dle #site-footer .mk-footer-stat-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.mk-dle #site-footer .mk-footer-stat-copy strong { color: #f7f7f8; font-size: 12px; font-weight: 800; line-height: 1.2; }
body.mk-dle #site-footer .mk-footer-stat-copy small { color: #a0a5b0; font-size: 10px; line-height: 1.4; }
body.mk-dle #site-footer .mk-footer-stat-arrow { flex: 0 0 14px; width: 14px; height: 14px; color: #ff8954; }
body.mk-dle #site-footer .mk-footer-stat-link:hover { border-color: #ff783e55; background: #ff783e0b; }
body.mk-dle #site-footer .mk-footer-stat-link:focus-visible { outline: 2px solid #ff783e; outline-offset: 2px; }
/* Provider markup and artwork are untouched; no overlay, filter, scale or clipping. */
body.mk-dle #site-footer .mk-footer-top-counter {
  display: flex; align-items: center; justify-content: center; flex: 0 1 auto;
  max-width: 100%; padding: 6px 9px; border-left: 1px solid #ffffff15;
}
body.mk-dle #site-footer .mk-footer-top-counter > .footer-counter {
  display: flex; align-items: center; justify-content: center; margin: 0; padding: 0;
}
/* Collapse only the surrounding padding while waiting for the provider; keep its container in layout. */
body.mk-dle #site-footer .mk-footer-top-counter:has(#top-ge-counter-container:empty) { padding: 0; border-left: 0; }
@media (max-width: 400px) {
  body.mk-dle #site-footer .mk-footer-statistics { gap: 4px 6px; margin-top: 16px; padding: 6px; }
  body.mk-dle #site-footer .mk-footer-top-counter { padding: 5px 7px; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) { body.mk-dle #site-footer .mk-footer-stat-link { transition: none; } }


/* ======================================================================
   MYKINO.CC — Poster Hover V13 — Home + listing pages | Orange Noir
   Homepage shelves and DLE listing grids. DLE favorite links and poster navigation are intact.
   ====================================================================== */
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .overlay-top-left {
  pointer-events: none;
  z-index: 5;
}
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-poster-favs {
  pointer-events: auto;
}
/* Replace the typographic heart with a precisely centered vector silhouette.
   The original text, title, DLE anchor and active state stay in the DOM. */
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-poster-favs .save-button {
  display: inline-grid;
  position: relative;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: 1px solid #ffffff45;
  border-radius: 9px;
  background: #101217df;
  color: #f6f6f8;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 3px 12px #0005;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-poster-favs .save-button::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 19px;
  height: 19px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M20.8%204.7a5.5%205.5%200%200%200-7.8%200l-1%201-1-1a5.5%205.5%200%200%200-7.8%207.8l8.8%208.8%208.8-8.8a5.5%205.5%200%200%200%200-7.8Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M20.8%204.7a5.5%205.5%200%200%200-7.8%200l-1%201-1-1a5.5%205.5%200%200%200-7.8%207.8l8.8%208.8%208.8-8.8a5.5%205.5%200%200%200%200-7.8Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  pointer-events: none;
}
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-poster-favs .save-button.active {
  color: #ff783e;
  border-color: #ff783eab;
  background: #211915e8;
}
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-poster-favs .save-button.active::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M20.8%204.7a5.5%205.5%200%200%200-7.8%200l-1%201-1-1a5.5%205.5%200%200%200-7.8%207.8l8.8%208.8%208.8-8.8a5.5%205.5%200%200%200%200-7.8Z%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M20.8%204.7a5.5%205.5%200%200%200-7.8%200l-1%201-1-1a5.5%205.5%200%200%200-7.8%207.8l8.8%208.8%208.8-8.8a5.5%205.5%200%200%200%200-7.8Z%22%2F%3E%3C%2Fsvg%3E");
}
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-poster-favs a:focus-visible .save-button,
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-poster-favs .save-button:hover {
  color: #ff9565;
  background: #261b16;
  border-color: #ff783e;
}
/* The play emblem is purely decorative; the existing full-link remains the
   actual click target. No new button, nested link, event listener or JS. */
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-cover-link::before,
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-cover-link::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity .24s ease, transform .24s ease;
}
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-cover-link::before {
  inset: 0;
  z-index: 1;
  background: #08090e30;
}
body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-cover-link::after {
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid #ffbd9b;
  background: #ff783e url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%2317110e%22%20d%3D%22M8%205.5a.8.8%200%200%200-1.2.7v11.6a.8.8%200%200%200%201.2.7l10-5.8a.8.8%200%200%200%200-1.4Z%22%2F%3E%3C%2Fsvg%3E") center / 24px 24px no-repeat;
  box-shadow: 0 6px 24px #0009, 0 0 0 6px #ff783e22;
  transform: translate(-50%, -50%) scale(.82);
}
/* On mouse devices, controls fade in on hover or keyboard focus.
   Unlike :focus-within, :focus-visible avoids keeping the overlay after a mouse click. */
@media (hover: hover) and (pointer: fine) {
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .overlay-top-left {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity .24s ease, transform .24s ease;
  }
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .overlay-top-left .mk-poster-favs {
    pointer-events: none;
  }
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card:is(:hover, :has(:focus-visible)) .overlay-top-left {
    opacity: 1;
    transform: translateY(0);
  }
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card:is(:hover, :has(:focus-visible)) .overlay-top-left .mk-poster-favs {
    pointer-events: auto;
  }
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card:is(:hover, :has(:focus-visible)) .mk-cover-link::before,
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card:is(:hover, :has(:focus-visible)) .mk-cover-link::after {
    opacity: 1;
  }
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card:is(:hover, :has(:focus-visible)) .mk-cover-link::after {
    transform: translate(-50%, -50%) scale(1);
  }
}
/* Touch users can always reach favorites without a first tap being consumed. */
@media (hover: none), (pointer: coarse) {
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-cover-link:is(:active,:focus-visible)::before,
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-cover-link:is(:active,:focus-visible)::after {
    opacity: 1;
  }
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-cover-link:is(:active,:focus-visible)::after {
    transform: translate(-50%, -50%) scale(1);
  }
}
@media (max-width: 650px) {
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-poster-favs .save-button { width: 32px; height: 32px; }
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-poster-favs .save-button::before { width: 18px; height: 18px; }
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-cover-link::after { width: 46px; height: 46px; background-size: 21px 21px; }
}
/* Do not show hover effects while a shelf is being dragged. */
body.mk-dle .mk-home .shelf:is(.mk-is-dragging,.mouse-dragging) .poster-card .overlay-top-left,
body.mk-dle .mk-home .shelf:is(.mk-is-dragging,.mouse-dragging) .poster-card .mk-cover-link::before,
body.mk-dle .mk-home .shelf:is(.mk-is-dragging,.mouse-dragging) .poster-card .mk-cover-link::after {
  opacity: 0 !important;
}
body.mk-dle .mk-home .shelf:is(.mk-is-dragging,.mouse-dragging) .poster-card .mk-poster-favs {
  pointer-events: none !important;
}
@media (prefers-reduced-motion: reduce) {
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .overlay-top-left,
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-cover-link::before,
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-cover-link::after,
  body.mk-dle :is(.mk-home .shelf, .mk-news-grid) .poster-card .mk-poster-favs .save-button { transition: none; }
}


/* MYKINO.CC — Hero Layout V1: positions only; keep Orange Noir artwork,
   typography, dot design, transitions, and existing JavaScript unchanged. */
body.mk-dle .mk-home #hero .mk-hero-title-alignment {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  z-index: 3;
  pointer-events: none;
}
body.mk-dle .mk-home #hero .mk-hero-title-alignment .hero-content {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: min(620px, 70vw, 100%);
  padding: 0;
  display: flow-root;
  pointer-events: auto;
}
body.mk-dle .mk-home #hero .hero-original {
  margin-bottom: 0;
}
body.mk-dle .mk-home #hero .hero-bottom {
  left: 0;
  right: 0;
  bottom: 40px;
  width: auto;
  pointer-events: none;
}
body.mk-dle .mk-home #hero .mk-hero-dots-alignment {
  display: flex;
  justify-content: flex-end;
}
body.mk-dle .mk-home #hero .hero-pagination {
  pointer-events: auto;
}
@media (max-width: 650px) {
  body.mk-dle .mk-home #hero .mk-hero-title-alignment {
    bottom: 52px;
  }
  body.mk-dle .mk-home #hero .mk-hero-title-alignment .hero-content {
    width: min(100%, calc(100vw - 65px));
    max-width: min(100%, calc(100vw - 78px));
  }
  body.mk-dle .mk-home #hero .hero-bottom {
    bottom: 16px;
  }
}
@media (max-width: 374px) {
  body.mk-dle .mk-home #hero .mk-hero-title-alignment .hero-content {
    max-width: min(100%, calc(100vw - 64px));
  }
}


/* MYKINO V2.0 — Mobile Menu Fix V1. Only the shared mobile drawer. */
#mk-mobile-toggle .mk-menu-cross { display: none; }
#mk-mobile-toggle[aria-expanded="true"] .mk-menu-bars { display: none; }
#mk-mobile-toggle[aria-expanded="true"] .mk-menu-cross { display: block; }
html.mk-mobile-open { overflow: hidden; overscroll-behavior: none; }
body.mk-dle.mk-mobile-open { overflow: hidden; overscroll-behavior: none; }
body.mk-dle #mk-mobile-nav[hidden],
body.mk-dle #mk-mobile-scrim[hidden] { display: none !important; }
body.mk-dle #mk-mobile-nav:not([hidden]) {
  display: flex;
  position: fixed;
  top: var(--mk-menu-top, var(--header, 78px));
  right: 0;
  bottom: 0;
  left: auto;
  width: min(320px, 88vw);
  max-width: 100%;
  min-width: 0;
  height: auto;
  z-index: 1002;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px max(20px, env(safe-area-inset-bottom));
  background: #14161c;
  border: 0;
  border-left: 1px solid #ff783e38;
  box-shadow: -16px 0 45px #0008;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
  animation: mk-mobile-drawer-in .22s ease-out both;
}
body.mk-dle #mk-mobile-scrim:not([hidden]) {
  position: fixed;
  inset: 0;
  display: block;
  z-index: 1000;
  background: #000b;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Keep the real hamburger (now X) reachable above the scrim, but disable
   other header hit targets while the drawer is open. */
body.mk-dle.mk-mobile-open #mk-header { z-index: 1001; pointer-events: none; }
body.mk-dle.mk-mobile-open #mk-header #mk-mobile-toggle {
  pointer-events: auto;
  color: #ff9565;
  border-color: #ff783e70;
  background: #ff783e15;
}
#mk-mobile-nav .mk-mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex: 0 0 auto; padding: 0 2px 12px; margin-bottom: 3px;
  border-bottom: 1px solid #ffffff17;
  color: #f7f7f8; font-size: 15px; font-weight: 800;
}
#mk-mobile-nav .mk-mobile-close {
  display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px;
  padding: 0; border: 1px solid #ffffff22; border-radius: 9px;
  color: #e1e2e6; background: #20222a;
}
body.mk-dle #mk-mobile-nav > a:not(.mk-voice-nav-link) {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex: 0 0 auto; min-height: 43px; padding: 10px 12px;
  border: 1px solid transparent; border-radius: 8px;
  font-size: 13px; line-height: 1.5; color: #dedfe5;
  white-space: normal; text-decoration: none;
}
body.mk-dle #mk-mobile-nav > a:not(.mk-voice-nav-link)::after {
  content: ""; display: block; width: 7px; height: 7px; flex: 0 0 7px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .55; margin-right: 3px;
}
body.mk-dle #mk-mobile-nav > a:not(.mk-voice-nav-link):is(.active,:hover,:focus-visible) {
  color: #ff9565; background: #ff783e13; border-color: #ff783e35;
}
body.mk-dle #mk-mobile-nav > a.mk-voice-nav-link { margin-top: 9px; flex: 0 0 auto; }
@keyframes mk-mobile-drawer-in { from { transform: translateX(105%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  body.mk-dle #mk-mobile-nav:not([hidden]) { animation: none; }
}
