@charset "utf-8";

/* ====================================================
   基礎：字體與縮放
   ==================================================== */
@media only screen { html { font-size: 13px; } }
@media only screen and (min-width: 360px) and (max-width: 399px) { html { font-size: 15px; } }
@media only screen and (min-width: 400px) and (max-width: 479px) { html { font-size: 16px; } }
@media only screen and (min-width: 480px) and (max-width: 719px) { html { font-size: 20px; } }
@media only screen and (min-width: 720px) { html { font-size: 30px; } }

.grayColor { color: #949494; }
.wrapper a { color: #00a0e9; }
.wrapper a:hover { color: #00a0e9; }

.row { background-color: #fff; padding: 2%; border-top: 1px solid #d2d2d2; border-bottom: 1px solid #d2d2d2; margin-top: 0.33333rem; }
.row.rowA { padding: 0 0 2% 0; }
.row.rowA .mod_a .th_a { padding: 0 2%; }

.mod_z { margin-top: -2%; }
.mod_z .th_z { height: 2.53333rem; line-height: 2.53333rem; overflow: hidden; }
.mod_z .th_z .sMark { font-size: 1.06667rem; float: left; }
.mod_z .th_z .aMore { float: right; color: #00a0e3; font-size: 0.86667rem; }

/* ====================================================
   其他原有區塊樣式
   ==================================================== */
.numTabListCon { padding: 3.33333rem 0 0 0; position: relative; }
.numTabListCon .aMoreArrow { position: relative; height: 2.66667rem; overflow-x: hidden; display: block; }
.numTabListCon .aMoreArrow:after { content: ""; font-size: 0; line-height: 0; border: solid #949494; vertical-align: top; zoom: 1; -moz-transform: rotate(45deg); -o-transform: rotate(45deg); -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); width: 0.9rem; height: 0.9rem; border-width: 0 0.1rem 0.1rem 0; border-style: solid; overflow: hidden; position: absolute; top: 0.66667rem; left: 50%; z-index: 10; margin-left: -0.5rem; }

.tabList { height: 3.33333rem; overflow: hidden; background-color: #fff; line-height: 3.33333rem; position: absolute; top: 0; left: 0; padding: 0 2%; width: 96%; z-index: 50; }
.tabList .con { width: 3333.3rem; }
.tabList .pTab { float: left; }
.tabList .pTab a { float: left; margin-right: 1.66667rem; color: #666; font-size: 1.06667rem; }
.tabList .pTab a.cur { text-decoration: underline; color: #00a0e9; }

.numList { padding: 0 2%; overflow: hidden; }
.numList span { width: 18.4%; overflow: hidden; float: left; margin: 0 2% 2% 0; }
.numList span:nth-child(5n+5) { margin-right: 0; }
.numList span a { display: block; border: 1px solid #cccccc; line-height: 2.46667rem; height: 2.46667rem; text-align: center; font-size: 1.06667rem; color: #333; }
.numList span a:hover { color: #333; }
.numList span a.cur { background-color: #00a0e3; border-color: #3c9dfd; color: #fff; }

.pIntroTxt { font-size: 1rem; line-height: 1.4rem; text-indent: 2rem; color: #666; }
.pIntroTxt.pIntroTxtMore { padding-bottom: 1.56667rem; position: relative; height: 4.2rem; overflow: hidden; }
.pIntroTxt.pIntroTxtMore:before { content: ""; height: 1.6rem; position: absolute; width: 100%; left: 0; bottom: 0; background-color: #fff; overflow: hidden; z-index: 5; }
.pIntroTxt.pIntroTxtMore:after { content: ""; font-size: 0; line-height: 0; border: solid #949494; vertical-align: top; zoom: 1; -moz-transform: rotate(45deg); -o-transform: rotate(45deg); -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); width: 0.9rem; height: 0.9rem; border-width: 0 0.1rem 0.1rem 0; border-style: solid; overflow: hidden; position: absolute; top: 4.33333rem; left: 50%; z-index: 10; margin-left: -0.5rem; }
.pIntroTxt.pIntroTxtMore.pShowAll { height: auto; padding-bottom: 0; }
.pIntroTxt.pIntroTxtMore.pShowAll:after, .pIntroTxt.pIntroTxtMore.pShowAll:before { display: none; }

.picTxtA li { width: 96%; border-bottom: 1px solid #d2d2d2; position: relative; padding: 2%; }
.picTxtA li:last-child { padding-bottom: 0; border-bottom: 0 none; }
.picTxtA li .aMask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 20; display: block; }
.picTxtA li .pic { overflow: hidden; position: relative; z-index: 10; }
.picTxtA li .pic img { display: block; vertical-align: top; }
.picTxtA li .txt { position: relative; overflow: hidden; z-index: 5; }
.picTxtA li .txt span { display: block; line-height: 1.53333rem; height: 1.53333rem; overflow: hidden; font-size: 0.93333rem; }
.picTxtA li .txt span.sName { font-size: 1.2rem; line-height: 1.6rem; height: 1.6rem; margin-bottom: 0.66667rem; padding-top: 0.46667rem; }
.picTxtA li .txt span.sDes em { display: inline-block; }
.picTxtA li .txt span.sDes em.emYellow { color: #ff6b50; }

.guessLikeTab { height: 2.53333rem; overflow-x: hidden; border-bottom: 1px solid #d2d2d2; }
.guessLikeTab a { float: left; padding: 0 1.2rem; line-height: 2.53333rem; height: 2.53333rem; font-size: 0.93333rem; color: #666; }
.guessLikeTab a.cur { color: #00a0e9; }
.guessLikeTab i.iLine { width: 1px; height: 1rem; float: left; margin-top: 0.76667rem; display: inline; overflow-x: hidden; background-color: #d2d2d2; }

.guessLike li .pic { width: 4.6rem; height: 6.13333rem; }
.guessLike li .pic img { width: 4.6rem; height: 6.13333rem; }
.guessLike li .txt { margin-top: -6.13333rem; margin-left: 5.5rem; height: 6.13333rem; }

.numPeriodsList { margin-top: -1%; position: relative; z-index: 10; }
.numPeriodsList li:last-child { padding-bottom: 2%; border-bottom: 1px solid #d2d2d2; }
.numPeriodsList li .pic { width: 8rem; height: 4.66667rem; }
.numPeriodsList li .pic img { width: 8rem; height: 4.66667rem; }
.numPeriodsList li .txt { margin-top: -4.66667rem; margin-left: 9rem; height: 4.66667rem; }
.numPeriodsList li .txt span.sName { font-size: 1.06667rem; line-height: 1.4rem; height: 2.8rem; padding: 0; }
.numPeriodsList li .txt span.sBottom { position: absolute; bottom: 0; left: 0; color: #666; font-size: 0.8rem; line-height: 1.06667rem; height: 1.06667rem; }

.app_download_pop .closeBtn { position: absolute !important; top: 10px !important; right: 10px !important; width: 24px !important; height: 24px !important; background: url(/images/close.png) no-repeat center !important; background-size: contain !important; cursor: pointer !important; z-index: 1001 !important; display: block !important; }
.app_download_pop .tb { position: relative !important; }
.row { margin-bottom: 8px !important; }

/* ====================================================
   滾動標題列
   ==================================================== */
.detail-scroll-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; height: 56px; background: #3097fd; z-index: 700; display: flex; align-items: center; padding: 0 12px; box-sizing: border-box; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transform: translateY(-100%); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; pointer-events: none; }
.detail-scroll-header.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.detail-back-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: none; color: #fff; cursor: pointer; flex-shrink: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
.detail-back-btn svg { width: 22px; height: 22px; }
.detail-scroll-title { flex: 1; color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; min-width: 0; }

.site-header, .desktop-nav { transition: transform 0.3s ease, opacity 0.3s ease; }
.site-header.header-hidden, .desktop-nav.header-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }

.other_download_pop { position: relative; }
.closeBtn { position: absolute; top: 10px; right: 10px; z-index: 100; width: 24px; height: 24px; display: block; cursor: pointer; }
.closeBtn img { width: 100%; height: 100%; }

.detail-share-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.detail-share-btn:hover {
  opacity: 1;
}
.detail-share-btn svg {
  width: 18px;
  height: 18px;
}

/* ====================================================
   手機版預設：上下排列
   ==================================================== */
.desktop-recommend { display: none; }

.detailCon { height: auto !important; display: flex !important; flex-direction: row !important; align-items: flex-start !important; gap: 10px !important; }
.detailCon .detailPic { width: 30% !important; flex-shrink: 0 !important; height: auto !important; margin-bottom: 0 !important; }
.detailCon .detailPic picture, .detailCon .detailPic img { width: 100% !important; height: auto !important; display: block; border-radius: 6px; object-fit: cover; }
.detailCon .detailIntro { position: static !important; margin-top: 0 !important; margin-left: 0 !important; height: auto !important; width: 70% !important; flex: none !important; min-width: 0 !important; }

/* ====================================================
   actress-wiki-table（手機 + 桌面共用基礎）
   ==================================================== */
.actress-name-main { font-size: 1.1rem; font-weight: bold; color: #222; margin: 0 0 0.3rem 0; padding: 0; display: block; }
.actress-name-sub { font-size: 0.86667rem !important; color: #666 !important; height: auto !important; line-height: 1.6 !important; overflow: visible !important; white-space: normal !important; margin-bottom: 0.5rem; display: block !important; }

.actress-wiki-table { width: 100%; border-collapse: collapse; font-size: 0.93333rem; margin-top: 0.3rem; }
.actress-wiki-table tr { border-bottom: 1px solid #e8e8e8; }
.actress-wiki-table td { padding: 0.35rem 0.3rem; vertical-align: middle; line-height: 1.5; height: auto !important; overflow: visible !important; white-space: nowrap; }
.actress-wiki-table .td-label { color: #949494; width: 4rem; font-size: 0.86667rem; white-space: nowrap; }
.actress-wiki-table .td-value { color: #333; white-space: nowrap; }
.age-tag { color: #949494; font-size: 0.86667rem; }
.sep { color: #ccc; margin: 0 0.2rem; }
.cup-tag { color: #ff6b50; font-weight: bold; font-style: normal; }

.actress-social { display: flex !important; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; height: auto !important; overflow: visible !important; }
.btn-social { display: inline-flex; align-items: center; padding: 0.25rem 0.6rem; border-radius: 20px; font-size: 0.8rem; text-decoration: none; font-weight: bold; white-space: nowrap; }
.btn-twitter { background: #1a91da; color: #fff !important; }
.btn-instagram { background: #e1306c; color: #fff !important; }
.btn-fanclub { background: #e8a000; color: #fff !important; }

.actress-pagination { text-align: center; padding: 0.8rem 0; font-size: 0.93333rem; }
.page-btn { display: inline-block; margin: 0 0.2rem; padding: 0.3rem 0.6rem; border: 1px solid #d2d2d2; border-radius: 4px; color: #333; text-decoration: none; }
.page-cur { background: #ff6b50; border-color: #ff6b50; color: #fff !important; font-weight: bold; }
.page-info { color: #949494; font-size: 0.8rem; margin-left: 0.4rem; }
.total-count { font-size: 0.86667rem; color: #949494; font-weight: normal; font-style: normal; margin-left: 0.5rem; }
.no-result { text-align: center; padding: 2rem; color: #949494; }

.actress-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 0; }
.actress-photo-grid a img { width: 100%; height: auto; display: block; border-radius: 4px; object-fit: cover; }

/* ====================================================
   手機版 <768px 特殊處理
   ==================================================== */
@media screen and (max-width: 767px) {
  .main > .row:first-child .mod_z { margin-top: 0 !important; }
  .main > .row:first-child .mod_z .th_z { padding-top: 0.35rem !important; }
  .mod_z .th_z { overflow: visible !important; height: auto !important; line-height: normal !important; }
  .mod_z .th_z h2.sMark { float: none !important; display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; overflow: hidden !important; text-overflow: ellipsis !important; margin: 0 0 0.35rem 0 !important; padding: 0 !important; font-size: 1.06667rem !important; font-weight: 700 !important; line-height: 1.25 !important; max-height: calc(1.25em * 2) !important; }
  .row-intro .th_z, .row-intro .tb_z { display: block !important; float: none !important; width: 100% !important; clear: both !important; }
  .row-intro .th_z { margin-bottom: 8px !important; }
  .row-intro .pIntroTxt { padding-top: 12px !important; }
  .pIntroTxt.pIntroTxtMore:after { top: 5.33333rem; }
}

/* ====================================================
   桌面版 >=768px
   ==================================================== */
@media screen and (min-width: 768px) {
  html { font-size: 16px !important; }
  body { background: #eef0f4 !important; }

  .wrapper { max-width: 1200px !important; margin: 0 auto !important; background: #eef0f4 !important; box-shadow: 0 0 20px rgba(0,0,0,0.05); min-height: 100vh; }

  .detail-scroll-header { height: 64px; padding: 0 20px; }
  .detail-scroll-title { font-size: 16px; }
  .detail-ad-slot { display: none !important; }

  h2.sMark { font-size: 22px !important; font-weight: 700 !important; line-height: 1.35 !important; color: #222 !important; margin: 0 !important; padding: 0 !important; word-break: break-word; }

  .detailCon { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 24px !important; padding: 20px !important; position: relative !important; align-items: start !important; height: auto !important; flex-direction: unset !important; }

  .detailCon .detailPic { width: 100% !important; height: auto !important; overflow: hidden; position: relative; z-index: 30; margin-bottom: 0; }
  .detailCon .detailPic picture { display: block; width: 100%; }
  .detailCon .detailPic img { width: 100% !important; height: auto !important; aspect-ratio: 800 / 538; object-fit: contain; background: #0b0b0b; border-radius: 10px; display: block; }

  .detailCon .detailIntro { width: 100% !important; min-width: 0 !important; position: relative !important; margin: 0 !important; height: auto !important; display: flex !important; flex-direction: column !important; gap: 6px !important; }

  .detailCon .detailIntro span { height: auto !important; line-height: 1.9 !important; overflow: visible !important; font-size: 16px !important; white-space: normal !important; }

  .actress-name-main { font-size: 20px; font-weight: bold; margin-bottom: 4px; }
  .actress-name-sub { font-size: 14px !important; line-height: 1.8 !important; margin-bottom: 8px; }
  .actress-wiki-table { font-size: 14px; }
  .actress-wiki-table td { padding: 7px 8px; white-space: nowrap; }
  .actress-wiki-table .td-label { font-size: 13px; width: 60px; }
  .actress-wiki-table .td-value { white-space: nowrap; }
  .btn-social { font-size: 13px; padding: 4px 12px; }

  .actress-photo-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }

  .mobile-recommend { display: none !important; }
  .desktop-recommend { display: block !important; }

  .desktop-rec-tabs { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 2px solid #eee; }
  .desktop-rec-tab { background: none; border: 2px solid #ddd; padding: 6px 20px; font-size: 15px; color: #666; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
  .desktop-rec-tab:hover { border-color: #3097fd; color: #3097fd; }
  .desktop-rec-tab.active { background: #3097fd; border-color: #3097fd; color: #fff; }

  .desktop-rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 14px; }
  .desktop-rec-card { display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none; color: inherit; background: #fff; }
  .desktop-rec-card:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); color: inherit; }
  .desktop-rec-cover { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: #f0f0f0; }
  .desktop-rec-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .desktop-rec-info { padding: 10px; }
  .desktop-rec-title { font-size: 14px; font-weight: 500; line-height: 1.4; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .desktop-rec-meta { margin-top: 4px; font-size: 12px; color: #999; display: flex; align-items: center; gap: 8px; }
  .desktop-rec-rate { color: #ff6b50; font-weight: 500; }

  .pIntroTxt { font-size: 15px !important; line-height: 1.8 !important; }
  .pIntroTxt.pIntroTxtMore:after { top: 4.33333rem; }
  .mod_z .th_z { height: auto !important; line-height: 1.8 !important; padding: 8px 0 !important; }
  .mod_a .th_a .sMark { font-size: 18px !important; }
}

/* ====================================================
   小桌面 1024px+：5 欄
   ==================================================== */
@media screen and (min-width: 1024px) {
  .wrapper { max-width: 1200px !important; }
  .desktop-rec-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 16px; }
}

/* ====================================================
   大桌面 1440px+：6 欄
   ==================================================== */
@media screen and (min-width: 1440px) {
  .wrapper { max-width: 1400px !important; }
  .desktop-rec-grid { grid-template-columns: repeat(6, 1fr); gap: 20px; padding: 20px; }
}

/* ====================================================
   其他表單/彈窗樣式
   ==================================================== */
.line-div { display:-webkit-box; display:-moz-flex; display:-ms-flexbox; position:relative; -webkit-box-orient:horizontal; }
.input-style { -webkit-tap-highlight-color: rgba(255,255,255,0); -webkit-box-flex: 1; -ms-flex: 1; display: block; border: 0; background: #fff; color:#000; font-size: 0.866rem; -webkit-appearance: none; padding-right: 2rem; height: 2.7rem; }
.input-label { width:5.5rem; height:2.7rem; line-height:2.7rem; padding:0 10px; text-align:left; display:block; font-size:0.9rem; }
.btn-gray { width: 100%; height: 2.8rem; text-align: center; border-radius: 3px; color: #fff; background: #ff8d8b; border: 0; font-size: 1.2rem; margin-top: 1rem; cursor: pointer; }
.other_download_pop { font-size:0.96rem; position: fixed; left: 50%; top: 25%; z-index: 1000; border: 1px solid #000; background-color: #fff; border-radius: 0.3rem; width: 19.93333rem; height: 19.6rem; margin-left: -10rem; margin-top: -4.33333rem; display: none; color:#000; }
.other_download_pop p { margin: 25px 15px 0; }
.other_download_pop b { color:#ff00ce; }
.other_download_pop i { font-size:0.85rem; }
.pBtn a { font-size: 1.06667rem; line-height: 2.6rem; width: 8rem; display: inline-block; margin: 0 0.66667rem; }

/* ====================================================
   手機版社交 icon（圖片下方）
   ==================================================== */
.actress-social-mobile {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}
.btn-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  text-decoration: none;
}
.btn-icon-twitter   { background: #1a91da; color: #fff !important; }
.btn-icon-instagram { background: #e1306c; color: #fff !important; }
.btn-icon-fanclub   { background: #e8a000; color: #fff !important; }

.actress-social-desktop { display: none !important; }

@media screen and (min-width: 768px) {
  .actress-social-mobile  { display: none !important; }
  .actress-social-desktop { display: flex !important; }
}

@media screen and (max-width: 767px) {
  .actress-name-sub {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-break: break-all !important;
    color: #666 !important;
  }
  .actress-wiki-table .td-value {
    white-space: normal !important;
    word-break: break-all !important;
    max-width: 0;
    width: 100%;
  }
  .actress-wiki-table .td-value.td-ellipsis {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 130px;
    cursor: pointer;
    color: #00a0e9;
  }
  .actress-wiki-table .td-value.td-ellipsis.expanded {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: 100% !important;
    color: #333;
  }
}

/* ====================================================
   名字行截斷點擊展開（手機版）
   ==================================================== */
@media screen and (max-width: 767px) {
  .name-ellipsis {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100%;
    cursor: pointer;
    color: #00a0e9 !important;
    display: block !important;
  }
  .name-ellipsis.expanded {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    color: #666 !important;
  }
}

/* SVG icon 尺寸 */
.btn-social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.btn-social svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  flex-shrink: 0;
}

/* ====================================================
   修正 rowA 標題/內容浮動問題
   ==================================================== */
@media screen and (min-width: 768px) {
  .row.rowA .mod_a { display: block !important; width: 100% !important; }
  .row.rowA .mod_a .th_a { float: none !important; width: 100% !important; display: block !important; }
  .row.rowA .mod_a .tb_a { float: none !important; width: 100% !important; display: block !important; clear: both !important; }
}