/* Lust theme — MacCMS v10, written from scratch */
:root {
  --bg: #000000;
  --bg-elevated: #121212;
  --bg-nav: #000000;
  --bg-input: #111111;
  --bg-page: #2f2f2f;
  --bg-page-hover: #363636;
  --bg-badge: rgba(0, 0, 0, 0.5);
  --text: #ffffff;
  --text-title-pc: #dcdcdc;
  --text-muted: #888888;
  --text-soft: #c6c6c6;
  --line: #333333;
  --line-section: #86173c;
  --accent: #e50914;
  --accent-2: #ff236d;
  --grad-a: #F3C622;
  --grad-b: #F953C6;
  --grad: linear-gradient(270deg, #F3C622 0%, #F953C6 75%);
  --radius-card: 8px;
  --radius-pill: 20px;
  --radius-badge: 6px;
  --nav-h: 64px;
  --gap: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; border: 0; vertical-align: middle; }
button, input { font: inherit; }
.container { width: 100%; margin: 0 auto; padding: 0 10px; }
@media (min-width: 991px) {
  .container { width: 55%; padding: 0; }
}

/* header */
.navbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0;
  background: var(--bg-nav);
}
.navbar .logo {
  display: flex; align-items: center;
  flex: 1 1 auto; min-width: 0;
  width: auto; max-width: calc(100% - 128px);
  height: 52px; overflow: hidden;
}
.navbar .logo img {
  display: block;
  width: auto; height: 52px;
  max-width: 100%; max-height: 52px;
  object-fit: contain; object-position: left center;
}
.navbar .logo-text { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.navbar .nav-right { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; }
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border: 1px solid #c6c6c6; border-radius: var(--radius-pill);
  background: transparent; color: #c6c6c6; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.btn-pill:hover { color: #fff; border-color: #fff; }
.nav-search { font-size: 24px; color: #fff; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* dialogs */
.lust-mask { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 80; }
.lust-dialog { display: none; position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 90%; max-width: 360px; background: var(--bg-elevated); border-radius: 12px; padding: 20px; z-index: 90; color: #fff; }
.lust-dialog h3 { margin: 0 0 12px; font-size: 16px; }
.lust-dialog p { margin: 6px 0; color: var(--text-soft); font-size: 13px; word-break: break-all; }
.lust-dialog .qr { display: flex; justify-content: center; margin: 12px 0; background: #fff; padding: 8px; border-radius: 8px; }
.lust-dialog.is-open, .lust-mask.is-open { display: block; }

/* type tabs */
.type-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.type-tabs::-webkit-scrollbar { display: none; }
.type-tab { flex: none; padding: 6px 14px; border-radius: 16px; color: var(--text-soft); font-size: 14px; }
.type-tab.is-on, .type-tab:hover { color: #fff; background: var(--bg-elevated); }
.sub-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: none; }
.sub-tabs a { flex: none; color: var(--text-soft); font-size: 13px; white-space: nowrap; }
.sub-tabs a:hover, .sub-tabs a.is-on { color: #fff; }

/* featured */
.featured { background: #000; padding-top: 15px; }
.featured-tabs { display: flex; gap: 8px; margin: 0 5px 15px; padding: 10px; background: #121212; border-radius: 5px; overflow-x: auto; scrollbar-width: none; }
.featured-tab {
  flex-shrink: 0; height: 40px; min-width: 80px; padding: 0 12px;
  border-radius: 20px; border: 1px solid #212121; background: transparent;
  color: #C6C6C6; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; white-space: nowrap;
}
.featured-tab.is-on { border: 0; background: var(--grad); color: #fff; }
.featured-pane { display: none; }
.featured-pane.is-on { display: block; }

/* section */
.home-section { margin: 16px 0 24px; }
.home-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; border-bottom: 1px solid var(--line-section); padding-bottom: 8px; }
.home-header { margin: 0; font-size: 18px; font-weight: 700; }
.home-section-head .more { color: var(--accent-2); font-size: 13px; }
.ad-slot { min-height: 0; }
.ad-slot:empty, .ad-slot:blank { display: none; }

/* cards */
.grid-display { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.video-element { margin-bottom: 0; }
@media (min-width: 991px) {
  .video-element { margin-bottom: 32px; }
}
.video-cover { position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; background: #1a1a1a; }
.video-cover img {
  width: 100%; height: 129px; object-fit: cover; display: block; border-radius: var(--radius-card);
}
@media (min-width: 991px) {
  .video-cover img { height: 213px; }
  .video-title { font-size: 15px; color: var(--text-title-pc); }
}
.list-heat-badge {
  position: absolute; top: 6px; left: 6px; z-index: 4;
  padding: 4px 8px; border-radius: var(--radius-badge);
  background: var(--bg-badge); color: #fff; font-size: 12px; line-height: 1.2; pointer-events: none;
}
.video-duration {
  position: absolute; right: 8px; bottom: 8px; z-index: 4;
  padding: 3px 6px; border-radius: 5px; background: #00000099; color: #ccc; font-size: 11px; pointer-events: none;
}
.video-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin: 8px 0 0; padding: 0; font-size: 12px; font-weight: 500; color: #fff; word-break: break-all;
}

/* pager */
.page_navi { width: 100%; line-height: 36px; text-align: center; overflow: hidden; padding-top: 5px; padding-bottom: 20px; }
.page_navi .pagenum, .page_navi a {
  padding: 5px 10px; margin: 5px 2px; text-decoration: none; display: inline-block;
  color: #888; line-height: 26px; font-size: 14px; white-space: nowrap; min-width: 46px;
  border-radius: 5px; background: #2f2f2f;
}
.page_navi a:hover, .page_navi .pagenum:hover { background: #363636; color: #fff; }
.page_navi .current, .page_navi .active a, .page_navi li.active a {
  color: #000; font-weight: 700; background: #ff236d;
}

/* play — explicit heights; collapse official table so iOS has no left gap */
.play-wrap, #video {
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  background: #000;
  position: relative;
  overflow: hidden;
}
#video, #video .MacPlayer {
  width: 100% !important;
  height: 250px !important;
  max-height: 250px;
  background: #000;
  border: 0;
}
#video .MacPlayer table {
  width: 100% !important;
  height: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  table-layout: fixed;
}
#video .MacPlayer td,
#video #playleft {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  vertical-align: top;
}
#video #playright, .MacPlayer #playright { display: none !important; }
#video .MacPlayer iframe,
#video #playleft iframe,
#video iframe {
  display: block !important;
  width: 100% !important;
  min-width: 100%;
  max-width: 100%;
  height: 100% !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top;
  background: #000;
}
@media only screen and (min-width: 1000px) {
  #video, #video .MacPlayer {
    height: 504px !important;
    max-height: 504px;
  }
}
.play-title { font-size: 18px; margin: 12px 0 8px; }
.play-meta { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.play-lines, .play-eps { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.play-lines a, .play-eps a { padding: 4px 10px; border: 1px solid #333; border-radius: 4px; font-size: 13px; color: var(--text-soft); }
.play-lines a.is-on, .play-eps a.is-on { border-color: var(--accent-2); color: #fff; }
.play_actions_ct {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #333; padding: 12px 0; margin-top: 8px;
}
.play_actions { display: flex; align-items: center; gap: 4px; cursor: pointer; font-size: 14px; color: #c6c6c6; background: none; border: 0; }
.play_actions.share { background-image: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.unable-btn { margin-left: auto; padding: 3.5px 6px; height: 24px; background: rgba(255,45,85,.1); border-radius: 6px; color: #ff2d55; font-size: 12px; border: 0; cursor: pointer; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.tag-list a { padding: 3px 10px; border-radius: 12px; background: #1c1c1c; color: var(--text-soft); font-size: 12px; }
.vod-content { color: var(--text-soft); font-size: 13px; line-height: 1.6; margin: 10px 0 20px; }
.share-box { display: none; margin: 8px 0; padding: 10px; background: #121212; border-radius: 8px; }
.share-box.is-open { display: flex; gap: 8px; align-items: center; }
.share-box input { flex: 1; background: #111; border: 1px solid #333; color: #fff; padding: 6px 8px; border-radius: 4px; }
.sheet { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; padding: 16px; background: #121212; border-radius: 16px 16px 0 0; min-height: 160px; }
.sheet.is-open { display: block; }

/* search / user */
.search-form { display: flex; gap: 8px; margin: 16px 0; }
.search-form input[type=text] {
  flex: 1; background: #111; border: 1px solid #323232; color: #e4e4e4; border-radius: 6px; padding: 10px 12px;
}
.search-form input[type=text]::placeholder { color: #c9c9c9; }
.search-form button { background: var(--accent-2); color: #000; border: 0; border-radius: 6px; padding: 0 16px; font-weight: 700; cursor: pointer; }
.user-page { max-width: 400px; margin: 40px auto; padding: 0 16px; }
.user-page h1 { font-size: 22px; margin: 0 0 8px; }
.user-page h2 { font-size: 16px; font-weight: 500; color: var(--text-soft); margin: 0 0 16px; }
.user-page .field { margin-bottom: 12px; }
.user-page input[type=text], .user-page input[type=password] {
  width: 100%; background: #111; border: 1px solid #323232; color: #e4e4e4; border-radius: 6px; padding: 12px;
}
.user-page .submit { width: 100%; background: var(--accent-2); color: #000; border: 0; border-radius: 6px; padding: 12px; font-weight: 700; cursor: pointer; }
.user-links { display: flex; justify-content: space-between; margin-top: 12px; color: var(--text-soft); font-size: 13px; }
.tip { color: #e1356e; font-size: 13px; min-height: 18px; }

/* footer */
.site-footer { margin-top: 40px; padding: 24px 12px 80px; text-align: center; color: var(--text-muted); font-size: 12px; line-height: 1.8; }
.back-top {
  position: fixed; right: 12px; bottom: var(--lust-back-top-bottom, 24px); width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.4); z-index: 9998; font-size: 16px;
  transition: bottom .25s ease;
}
body.has-bottom-nav .back-top {
  bottom: calc(var(--lust-bottom-nav-height, 110px) + var(--lust-back-top-gap, 16px));
}
.empty { text-align: center; color: var(--text-muted); padding: 40px 0; }


/* ===== category rows: 1 row = 4 equal sub-buttons, PC and mobile ===== */
.cat-nav { margin: 0 0 8px; }
.one_category {
  position: relative;
  background-color: #121212;
  padding: 6px 6px 6px 8px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}
.one_category:nth-child(even) { background-color: #1a1a1a; }
.one_category.is-on-row { background-color: #1c1013; }
.category_name, .category_name_warp {
  flex: 0 0 auto;
  width: auto;
  max-width: 4.8em;
  font-size: 15px;
  color: #fff;
  position: relative;
  text-align: left;
  padding-right: 10px;
  line-height: 1.3;
  white-space: nowrap;
}
.category_name:after {
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 15px;
  margin-top: -7px;
  content: "";
  background-color: #e50914;
}
.nav_s {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin-left: 0;
  font-size: 15px;
}
.nav_flex {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
  width: 100%;
  line-height: 22px;
}
.nav_flex a {
  min-width: 0;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.secondLevelName, .event_nav {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: #2e2e2e;
  border: 1px solid #5b5b5b;
  border-radius: 5px;
  font-size: 13px;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding: 2px 4px;
  line-height: 22px;
  color: #fff !important;
  cursor: pointer;
}
.secondLevelName.is-on, .event_nav.is-on {
  background-color: #e50914;
  border-color: #e50914;
  color: #fff !important;
  font-weight: 700;
}
@media (max-width: 640px) {
  .one_category { padding: 5px 4px 5px 6px; gap: 6px; }
  .category_name, .category_name_warp { font-size: 12px; max-width: 3.6em; padding-right: 8px; }
  .secondLevelName, .event_nav { font-size: 11px; padding: 2px 2px; line-height: 20px; border-radius: 4px; }
}

/* ===== nav icon grid ===== */
.display-blank {
  text-align: center;
  z-index: 20;
  top: 0;
  position: sticky;
  background-color: #000;
  border-radius: 0 0 10px 10px;
  margin: 0 0 5px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px 0;
  padding: 4px 2px 8px;
}
.apptubiao {
  margin-top: 5px;
  text-align: center;
  width: auto;
  float: none;
}
.apptubiao a { display: block; color: #fff; }
.apptubiao a img {
  margin: 0 auto;
  width: 70%;
  max-width: 72px;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}
.apptubiao span {
  display: block;
  font-size: 12px;
  color: #fff;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== colored text links: 5 per row, 10 items = 2 rows (PC and mobile) ===== */
.nv_btext_main {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  margin: 0 0 10px;
  box-sizing: border-box;
}
.nv_btext_cell {
  padding: 0;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
}
.nv_btext_cell a { display: block; width: 100%; height: 100%; }
.nv_btext {
  background-color: #212121;
  border: 1px #5b5b5b solid;
  border-radius: 5px;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 5px 4px;
  line-height: 1.3;
  cursor: pointer;
  color: #ff0;
  box-sizing: border-box;
}
.nv_btext-gradient-pink, .nv_btext-gradient-pink:link, .nv_btext-gradient-pink:visited, .nv_btext-gradient-pink:hover {
  color: transparent !important;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(270deg, #F3C622 0%, #F953C6 75%);
}
.nv_btext-gradient-blue, .nv_btext-gradient-blue:link, .nv_btext-gradient-blue:visited, .nv_btext-gradient-blue:hover {
  color: transparent !important;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(270deg, #00BBFF 0%, #22F333 100%);
}
@media (max-width: 640px) {
  .nv_btext_main { gap: 5px 4px; }
  .nv_btext_cell { width: auto; }
  .nv_btext { font-size: 12px; padding: 5px 2px; }
}

/* ===== list_banner ===== */
.list_banner, .navb_banner {
  width: 100%;
  margin: 8px 0;
}
.list_banner a, .list_banner_item { display: block; width: 100%; }
.list_banner img, .list_banner_item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ===== category top/bottom banners (1300x200) ===== */
.cat_banner {
  width: 100%;
  margin: 8px 0;
}
.cat_banner a, .cat_banner_item {
  display: block;
  width: 100%;
}
.cat_banner img, .cat_banner_item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1300 / 200;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

/* ===== play page ad grid ===== */
.play_adv_blist {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 8px 0 12px;
}
.play_adv_cell {
  position: relative;
  text-align: center;
  padding: 6px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.play_adv_cell img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.play_adv_cell span { margin-top: 4px; color: #dcdcdc; }
@media (max-width: 640px) {
  .play_adv_blist { grid-template-columns: repeat(3, 1fr); }
}

/* ===== notice / save popups ===== */
.popup-overlay, .lust-mask.is-open {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 9998;
}
.popup-overlay { display: none; }
.popup-overlay.is-open { display: block; }
.popup, .lust-dialog {
  display: none;
  position: fixed;
  z-index: 9999;
  max-height: 100%;
}
.popup.is-open, .lust-dialog.is-open { display: block; }
.popup-center {
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);
}
.popup-notice {
  width: 80%;
  max-width: 320px;
  background: 0 0;
  overflow: visible;
}
.popup-notice .notice {
  padding-bottom: 15px;
  background-color: #fef3ef;
  position: relative;
  border-radius: 10px;
}
.popup-notice .notice .notice-header {
  padding: 25px 20px 5px;
  color: #ff4d03;
  background: linear-gradient(#ff4d03, #fef3ef 70%, #fef3ef);
  border-radius: 10px;
}
.popup-notice .notice .notice-header h3 {
  margin: 0;
  line-height: 24px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #ff4d03;
}
.popup-notice .notice .notice-header h3 span { margin-left: 2px; font-size: 14px; }
.popup-notice .notice .notice-content {
  margin: 10px 15px 0;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
}
.popup-notice .notice .notice-content-scrollbar {
  padding: 15px 20px;
  color: #ff4d03;
  overflow: auto;
  max-height: 300px;
}
.popup-notice .notice .notice-content p { margin: 0 0 8px; line-height: 1.6; word-wrap: break-word; }
.popup-notice .notice .notice-content .site-qrcode {
  margin: 0 0 10px 8px;
  float: right;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #ff4d03;
  font-size: 12px;
}
.popup-notice .notice .notice-content .site-qrcode canvas,
.popup-notice .notice .notice-content .site-qrcode img { width: 72px; height: 72px; }
.popup-notice .notice .notice-tip {
  clear: both;
  display: block;
  box-sizing: border-box;
  width: calc(100% - 30px);
  margin: 10px 15px 0;
  padding: 4px 15px;
  color: #391404;
  font-weight: 600;
  text-align: center;
  border: 2px solid #ff4d03;
  border-radius: 4px;
  font-size: 16px;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
button.notice-tip:active { opacity: .82; }
button.notice-tip.is-busy { opacity: .55; pointer-events: none; }
.lust-capture-layer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0,0,0,.82);
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.lust-capture-layer.is-open { display: flex; align-items: center; justify-content: center; }
.lust-capture-layer-inner {
  width: min(420px, 100%);
  text-align: center;
  color: #fff;
}
.lust-capture-layer-tip {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
}
.lust-capture-layer-inner img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(70vh, 640px);
  margin: 0 auto 16px;
  border-radius: 10px;
  background: #fff;
  -webkit-touch-callout: default;
  pointer-events: auto;
}
.lust-capture-layer-close {
  display: inline-block;
  min-width: 120px;
  padding: 8px 18px;
  border: 0;
  border-radius: 20px;
  background: #ff4d03;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.popup-close-icon {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background-color: rgba(0,0,0,.75);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  z-index: 2;
}
.js-copy-domain { cursor: pointer; text-decoration: underline; }

@media (max-width: 420px) {
  .popup-notice {
    width: calc(100vw - 32px);
    max-width: 320px;
    box-sizing: border-box;
  }
  .popup-notice .notice { overflow: hidden; }
  .popup-notice .notice .notice-content { margin: 10px 12px 0; }
  .popup-notice .notice .notice-content-scrollbar {
    padding: 12px;
    max-height: min(300px, 50vh);
    overflow-x: hidden;
  }
  .popup-notice .notice .notice-content p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.55;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .popup-notice .notice .notice-content .site-qrcode {
    margin: 0 0 8px 8px;
    max-width: 80px;
    font-size: 11px;
    text-align: center;
  }
  .popup-notice .notice .notice-content .site-qrcode p {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.3;
  }
  .popup-notice .notice .notice-tip {
    width: calc(100% - 24px);
    margin: 8px 12px 0;
    padding: 4px 8px;
    font-size: 14px;
  }
}

/* ===== shared ad close button (independent of <a>, large hit area) ===== */
.ad-close {
  position: absolute;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.45);
}
.ad-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
}

/* ===== floats ===== */
.ad-container-you, .ad-container-zuo {
  position: fixed;
  z-index: 9997;
  overflow: visible;
}
.ad-container-you { right: 10px; top: 40%; }
.ad-container-zuo { left: 10px; top: 40%; }
.ad-iconA { width: 66px; height: 66px; position: relative; }
.ad-iconA img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
/* close sits on the inward top corner so it is never clipped by the viewport edge */
.ad-container-zuo .ad-close { top: -8px; right: -4px; left: auto; }
.ad-container-you .ad-close { top: -8px; left: -4px; right: auto; }

/* ===== bottom banner ===== */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9996;
  background: transparent;
  border: 0;
  pointer-events: none;
}
.bottom-nav-blank {
  position: relative;
  pointer-events: auto;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  line-height: 0;
  background: #000;
}
.bottom-nav-banner-link { display: block; width: 100%; line-height: 0; }
.bottom-nav-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: center;
  background: #000;
}
.bottom-nav-banner-text {
  display: block;
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}
.bottom-nav .ad-close {
  top: 4px;
  right: 4px;
  left: auto;
}
@media only screen and (min-width: 1000px) {
  .bottom-nav-blank {
    width: calc(100% - 96px);
    max-width: 800px;
    margin: 0 auto 8px;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 4px 18px rgba(0,0,0,.45);
  }
  .bottom-nav-banner-img {
    max-height: 80px;
    border-radius: 8px;
  }
  .bottom-nav .ad-close { top: 6px; right: 6px; }
}
:root { --lust-back-top-bottom: 24px; --lust-back-top-gap: 16px; --lust-bottom-nav-height: 68px; --lust-top-sticky-height: 0px; }
body.has-bottom-nav { padding-bottom: calc(var(--lust-bottom-nav-height, 68px) + 16px); }
body.has-top-sticky { padding-top: var(--lust-top-sticky-height, 86px); }
body.has-top-sticky .navbar {
  position: relative;
  top: auto;
  height: var(--nav-h);
  padding-top: 0;
}

/* ===== top sticky icon row ===== */
.lust-top-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 980;
  background: #000;
  border-bottom: 1px solid #222;
  padding-top: env(safe-area-inset-top);
}
.lust-top-sticky-inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px 6px;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 8px 5px;
}
.lust-top-sticky-item {
  min-width: 0;
  text-align: center;
  color: #fff;
}
.lust-top-sticky-item img {
  display: block;
  width: 50px;
  height: 50px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto;
  background: #111;
}
.lust-top-sticky-item span {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media only screen and (min-width: 991px) {
  .lust-top-sticky-inner {
    width: 55%;
    margin: 0 auto;
    padding: 8px 0 6px;
    gap: 8px 12px;
  }
  .lust-top-sticky-item img {
    width: 64px;
    height: 64px;
  }
  .lust-top-sticky-item span { font-size: 12px; }
}
@media (max-width: 640px) {
  .lust-top-sticky-inner { gap: 4px 4px; padding: 5px 6px 4px; }
  .lust-top-sticky-item img { width: 50px; height: 50px; }
  .lust-top-sticky-item span { font-size: 11px; }
}

/* navbar logo — horizontal wordmark, fills width (no empty 120×40 tile slot) */
.navbar .left-img, .navbar .logo {
  display: flex; align-items: center;
  flex: 1 1 auto; min-width: 0;
  width: auto; max-width: calc(100% - 128px);
  height: 52px; overflow: hidden;
}
.navbar .logo img {
  display: block;
  width: auto; height: 52px;
  max-width: 100%; max-height: 52px;
  object-fit: contain; object-position: left center;
}
@media (min-width: 991px) {
  .navbar .left-img, .navbar .logo { height: 56px; max-width: 360px; }
  .navbar .logo img { height: 56px; max-height: 56px; }
}
.right-text-button { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 8px; }


/* in-page player (no iframe) */
.play-wrap { position: relative; }
#lust-player, .lust-player {
  width: 100%;
  height: 250px;
  background: #000;
  position: relative;
  overflow: hidden;
}
@media only screen and (min-width: 1000px) {
  #lust-player, .lust-player { height: 504px; }
}
#lust-native-video,
#lust-player video,
#lust-player .dplayer,
#lust-player .dplayer-video-wrap,
#lust-player .dplayer-video {
  width: 100% !important;
  height: 100% !important;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  object-fit: contain;
  object-position: center;
}
.lust-player-status {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 6;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  font-size: 14px;
  line-height: 1.5;
}
.lust-player-status.is-error,
.lust-player-status:not([hidden]) {
  display: flex;
}
.lust-player-retry {
  margin-top: 4px;
  padding: 6px 14px;
  border: 0;
  border-radius: 6px;
  background: #e50914;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
