/*
All by Kiki .only for ebook store another page
*/

/* 
CATALOG:;
-----> [membercenter] 會員中心增加折價券
-----> [membercenter] 2024會員中心修改menu bar，增加左右箭頭
-----> [login icon] 2022登入帳號model調整外部連結帳號icon。
-----> [font-face] 網站font Icon [新增加的部分]，原始檔:10-hyread_ebook_stage\sample_Grant，由此新增font icon。
-----> [disabled] 增加書櫃disable樣式
-----> [buyPoint Page] 儲值點數
-----> [publisher Page]
-----> [practice Page]
-----> [article] 小編文摘
-----> [book_inside_page] 詳目頁，修正TreeView、修改套書btn
-----> [Auto Search 智慧搜尋]
-----> [APP Promo Banner]
-----> [author] 精選文章
-----> [首頁]新增暢銷書榜分類tab
-----> [詳目頁修正]
-----> [setbooks] 套書列表
-----> [購物車] 促銷區塊
-----> [themes] 系列書詳目頁新增
-----> [searchList] 列表頁 18禁 書封
-----> [my_bookcase_tag] 我的書櫃 分類tag/202306修正tag顏色
-----> [unlimited 飽讀]
-----> [PC Header 新增notice dailog dropdownmenu]
----->[font-face] 網站font Icon ，iconmoon 追加小鈴鐺。
----->[登入] 2026登入修改passkey。
----->[書籍詳目頁] 20260427 調整書封高度，col-lg-auto 改為 col-lg-3，.maskColor 改為 position: absolute 絕對定位，.coverBox 用 position: relative,.bookPic改為position: relative;。。
----->[HyReadPlay] 影音首頁/列表：新上架影音封面4:3、圖片contain、背景補色。
----->[HyReadPlay] 影音列表頁：一排六個列表排列、標題高度限制。
----->[HyReadPlay] 影音列表頁：麵包屑箭頭icon字型修正。
*/

/* 首頁套書 */
.booksetSlide .maskColor {
    position: relative !important;
}
.booksetSlide .bookPic {
    position: absolute !important;
}

/* [書籍詳目頁] 20260427 調整書封高度 */
.maskColor{position: absolute!important}
.coverBox{position: relative!important}
.bookPic{position: relative!important}
/* 2024會員中心修改menu bar，增加左右箭頭 [S] */
#page_member .swiper-container {width: 100%;}
#page_member .swiper-wrapper {width: 100%;margin: 0;}
#page_member .swiper-slide {
  text-align: center;
  font-size: 16px;
  width: auto !important;
  padding: 0 1rem;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
#page_member .swiper-button-next {right: 0px;text-align: right;}
#page_member .swiper-button-prev {left: 0px;text-align: left;}
#page_member .swiper-button-next,
#page_member .swiper-button-prev {background: hsla(0, 0%, 100%, 1);}
#page_member .slidenav_wrap .swiperNav li.activeNav a {color: #159ff0;}
#page_member .slidenav_wrap .swiperNav li.activeNav:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -35px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  margin: auto;
  content: "";
  width: 100%;
  height: 0;
  border: 2px solid #159ff0;
}
#page_member .swiper-container ul.swiperNav {padding-inline-start: 0px !important;}
#page_member .swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled {opacity: .0 !important;}
#page_member .swiper-button-prev.swiper-button-disabled {opacity: none;}
#page_member .slidenav_wrap:after {border: none !important;}

@media (max-width: 1280px) {
  #page_member .swiper-button-next,
  #page_member .swiper-button-prev {display: block;width: 20px;}
  #page_member .swiper-container {width: 100%;}
  #page_member .swiper-wrapper {width: 100%;margin: 0 0rem;}
}
/* 2024會員中心修改menu bar，增加左右箭頭 [E] */



/* 202303 書目資料使用 補充modal dailog 的格式設定 */
.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 5rem);
  overflow: hidden;
}

@media (min-width: 576px) {
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem) !important;
  }
}

@media (max-width: 576px) {
  .modal-fullscreen {
    width: 100vw !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
  }
}


@media (min-width: 992px) {

  .modal-lg,
  .modal-xl {
    max-width: 900px;
  }
}

#bookdetailModal .modal-body .item {
  border-bottom: 3px solid #159ff0;
  width: fit-content;
  font-weight: bold;
  margin-bottom: 6px;
  color: #159ff0;
}


/* [membercenter會員中心] 增加折價券 */

.coupon {
  padding: 0 4px 0 0;
  border-radius: 28px;
  border: solid 2px #159ff0;
  background-color: #f9f9f9;
}

.coupon_gaze {
  padding: 0 4px 0 0;
  border-radius: 28px;
  border: solid 2px #E91E63;
  background-color: #f9f9f9;
}

.coupon-used {
  padding: 0 4px 0 0;
  border-radius: 28px;
  border: solid 2px #707070;
  background-color: #f9f9f9;
}

.coupon-head {
  border-radius: 25px 0 0 25px;
  border: solid 2px #159ff0;
  background-color: #159ff0;
  background-image: url(../images/coupon_picicon-1.png);
  background-repeat: no-repeat;
  background-position: 61px -13px;
  text-align: center;
  color: #FFF;
}

/* 20230915 add */
.coupon-head_gaze {
  border-radius: 25px 0 0 25px;
  border: solid 2px #E91E63;
  background-color: #E91E63;
  background-image: url(../images/coupon_picicon.png);
  background-repeat: no-repeat;
  background-position: 61px -13px;
  text-align: center;
  color: #FFF;
}

.coupon-used-head {
  border-radius: 25px 0 0 25px;
  border: solid 2px #707070;
  background-color: #707070;
  text-align: center;
  color: #FFF;
}

.coupon-head_gaze .small,
.coupon-used-head .small,
.coupon-head .small {
  font-size: 90%;
  font-weight: 400;
}

.coupon-used-body,
.coupon-body {
  display: inline-block;
  padding: 0.5rem;
}

.coupon_gaze .btn:hover,
.coupon .btn:hover {
  color: #159ff0;
  background-color: transparent;
  border-color: #159ff0;
}

.coupon-used .btn:hover {
  color: #707070;
  background-color: transparent;
  border-color: #707070;
}

.coupon_gaze .btn,
.coupon .btn {
  color: #fff;
  background-color: #005ba2;
  background-image: none;
  border-color: #005ba2;
  border-radius: 3rem;
}

.coupon-used .btn {
  color: #fff;
  background-color: #707070;
  background-image: none;
  border-color: #707070;
  border-radius: 3rem;
}

.coupon-used .book_cont_list,
.coupon_gaze .book_cont_list,
.coupon .book_cont_list {
  margin-left: -44px !important;
}

.couponed {
  opacity: 0.3;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky+.contentd {
  padding-top: 60px;
}

#coupon-menu {
  background-color: #f9f9f9;
  z-index: 9999999999999;
  opacity: 1;
}

.custom-control {
  display: inline-flex;
}

.coupon-Rectangle {
  border-radius: 8px;
  padding: 4px;
  text-align: center;
  border: solid 2px #b83b3b;
  color: #FFFFFF;
  background-color: #fff;
}

.coupon-Rectangle .h4 {
  font-size: 2rem;
  color: #222222;
}

.coupon-h5 {
  font-size: 1.25rem;
  min-height: 3rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1;
  color: inherit;
}

.coupon-tag {
  background-color: #b83b3b;
  border-radius: 5px;
}

.lineH_1 {
  line-height: 1 !important;
}

/* [login icon] 2022登入帳號model調整外部連結帳號icon[S] */

.login-btn {
  display: inline-block;
  border-radius: .3rem;
  cursor: pointer;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}
.login-btn:hover{opacity: 0.85;}
.btn-google{
  background-color: #fff;
  border: 1px solid #9b9b9b;
}

.btn-facebook {
  background-color: #007bff;
  border: 1px solid #007bff;
}

.btn-openID {
  background-color: #f58000;
  border: 1px solid #f58000;
}

.btn-openID .icon-openid {
  font-size: 24px;
  top: 3px;
}

.btn-apple {
  background-color: #fff;
  border: 1px solid #9b9b9b;
}

.btn-line {
  background-color: #33cf33;
  border: 1px solid #33cf33;
}

/* 20260115 */
.btn-passkey {
    background-color: #fff;
    border: 1px solid #9b9b9b;
}

.login-passkey a {
    width: 100%;
    font-size: 1.1rem;
    color: #4a4a4a;
    padding: 3px;
    border-color: #014d97;
}
.login-passkey a span {
    vertical-align: middle;
    color: #014d97;
}
.btn-passkeyOK {
    background-color: #fff;
    border: 1px solid #9b9b9b;
    color: #4a4a4a;
}
.btn-passkey img{
    width: 30px;
}
.HyRead_Logo h2 {
    font-weight: normal;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}
#BiometricModal h3 {
    margin: 0;
    color: #3668bf;
    font-size: large;
}
#BiometricModal span {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1;
}

#BiometricModal .field {
    position: relative;
    margin: 0 0;
}

#BiometricModal form {border: 0px solid #f1f1f1;font-family: 微軟正黑體,"Open Sans",sans-serif;border-radius: 0.3rem;}
#BiometricModal form input::placeholder {color: #ccc;font-weight:100}
#BiometricModal input[type=text], input[type=password] {
width: 100%;
    font-size: 1em;
    padding: 19px 5px 9px 11px;
    /* margin: 8px 0; */
    display: inline-block;
    
    /* border-top: none;
    border-left: none;
    border-right: none; */
    background-color: white !important;
    box-sizing: border-box;
}
#BiometricModal input[type=text]:focus-visible, input[type=password]:focus-visible {
    outline: none;
}
#BiometricModal input[type=text]:focus, input[type=password]:focus {
    background-color: white !important;
}
#BiometricModal .btn {
    padding: 8px;
    margin: 8px auto;
    border-radius: 0.3rem;
    cursor: pointer;
    vertical-align: middle;
    width: 100%;
    text-align: center;
    font-size: 1.25em;
    display: inline-block;
    box-sizing: border-box;
    text-decoration: none;
}
#BiometricModal .btn:hover {opacity: 0.8;}

/* 底線 + 內距 + 字體 */
#BiometricModal .field input {
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.2;
  padding: 18px 12px 10px;     /* 上多一點給 label */
  border: 1px solid #9b9b9b;   /* Apple 常見邊框 */
  border-radius: 0.3rem;         /* Apple 的圓角感 */
  outline: none;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* focus 時的藍色高亮 */
#BiometricModal .field input:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 1px #014d97;
}

/* 浮動 label（預設在框內） */
#BiometricModal .field label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #6e6e73;
  pointer-events: none;
  transition: all .15s ease;
  background: transparent;
}

/* 有輸入內容或 focus 時，label 上浮縮小 */
#BiometricModal .field input:focus + label,
#BiometricModal .field input:not(:placeholder-shown) + label {
  top: 10px;
  transform: translateY(0);
  font-size: 12px;
  color: #0071e3;
}
#BiometricModal .hyread-btn {
    background-color: #014d97;
    color: white;
}



.btn-facebook img,
.btn-line img,
.btn-apple img,
.btn-google img {
  width: 30px;
}

/* [login icon] 2022登入帳號model調整外部連結帳號icon[E] */

.header_simple{background:#014d97}
.header_simple .navbar .nav-link{padding:.55rem 1.5rem;font-size:18px;color:#fff;text-align:center}
.header_simple .navbar .nav-link:hover{color:#014d97;background:#fff}
.header_simple .navbar{padding-top:0;padding-bottom:0}.header_simple .navbar .navbar-brand img{height:28px;margin:.2rem 0}.navbar-toggler .icon-bar{width:18px;height:2px;background:#014d97;position:relative;top:-1px}.navbar-toggler.mobilemenu{height:30px;width:30px;background:#fff;border-radius:50%;line-height:0;padding:0;font-size:12px}.navbar-toggler.mobilemenu .icon-bar{transition:.4s}.navbar-toggler.mobilemenu .icon-bar:first-child{-webkit-transform:rotate(-45deg) translate(-3px,3px);transform:rotate(-45deg) translate(-3px,3px)}.navbar-toggler.mobilemenu .icon-bar:nth-child(2){opacity:0}.navbar-toggler.mobilemenu .icon-bar:nth-child(3){-webkit-transform:rotate(45deg) translate(-4px,-4px);transform:rotate(45deg) translate(-4px,-4px)}.navbar-toggler.mobilemenu.collapsed .icon-bar{-webkit-transform:rotate(0);transform:rotate(0);opacity:1}@media (min-width:320px) and (max-width:991.98px){.js-auto-show-top-bar{-webkit-transform:translateZ(0);transform:translateZ(0);transition:all .3s ease-in-out}.js-auto-show-top-bar.header-top-is-visible{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);transition:all .3s ease-in-out}}@media (min-width:320px) and (max-width:991.98px){.navbar-collapse{margin:0 -1rem}.header .navbar .nav-link{text-align:center;padding-top:2rem;padding-bottom:2rem}}



@font-face {
  font-family: "custfont";
  src: url("../fonts/hyread-store.eot");
  src: url("../fonts/hyread-store.eot?#iefix") format("embedded-opentype"),
    url("../fonts/hyread-store.woff") format("woff"),
    url("../fonts/hyread-store.ttf") format("truetype"),
    url("../fonts/hyread-store.svg#hyread-store") format("svg");
  font-weight: normal;
  font-style: normal;

}


/* [data-icon]:before {
  font-family: "custfont" !important;
  content: attr(data-icon);
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: "custfont" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
} */

.icon-facebook-official:before {
  content: "\61";
}

.icon-twitter:before {
  content: "\62";
}

.icon-share-square-o:before {
  content: "\65";
}

.icon-share-square:before {
  content: "\64";
}

.icon-bookmark:before {
  content: "\66";
}

.icon-bookmark-o:before {
  content: "\67";
}

.icon-openid:before {
  content: "\63";
}

.icon-movie-1:before {
  content: "\6d";
}

.icon-ios-film:before {
  content: "\68";
}

.icon-google:before {
  content: "\69";
}

.icon-header-alert:before {
  content: "\e9b4";
}

/* disabled */
.disabled {
  opacity: .2;
}

/* 修改雜誌訂閱按鈕 */
.subscribe_plan .btn {
  display: block !important;
  margin: 0 auto;
}

/* publisher Page */
.publisher-book {
  border: 1px solid #979797;
  border-radius: 5px;
  padding: 5px;
}

/* practice Page */
.ecourse .deta {
  font-size: 12px;
  display: inline-block;
  text-align: left;
}

.ecourse {
  margin: 12px 0;
  background-color: #fafafa;
  padding: 10px 0px;
}

.ecourse mark {
  /*background: #FFF;*/
  color: #000;
  padding: 0px;
  margin-left: 4px;
}
.deta meter{width:150px;}

/* buyPoint Page */

.buyPoint_plan {
  transition: .3s ease;
  border: 2px solid transparent;
}
.buyPoint_plan .custom_blue_solid_style{ color: #FFF ;background-color: #159ff0}
.buyPoint_plan .custom_blue_solid_style:hover{background-color: #014d97;box-shadow: 0 5px 0 -1px #D9D9D9}
.buyPoint_plan .btn{border-radius: 1.5rem}
.buyPoint_plan .card{transition:.3s ease;border:2px solid #d9d9d9 ;border-radius: 1.2rem}
.buyPoint_plan .card:hover{border:2px solid #014d97;box-shadow:1px 1px 6px 5px rgba(0,0,0,.1)}
.buyPoint_plan .card:hover .btn{display:initial;}
.buyPoint_plan .card:hover .gifttxt{display:none}

/* article */

/*==============================Htmedit==================================*/
.article .htmedit{font-size:100%;}
.article .htmedit h6{font-size: 110%;font-weight: 600}
.article .htmedit h5{font-size: 120%;font-weight: 600}
.article .htmedit h4{font-size: 130%;font-weight: 600}
.article .htmedit h3{font-size: 150%;font-weight: 600;color: #343a40;}
.article .htmedit h2{font-size: 150%;font-weight: 600;color: #343a40;}
.article .htmeditdete{ font-size:100%;color: #444}
.article .htmedit p{color: #444;line-height:180%}
.article .htmedit strong{ font-weight: 600}
.article .htmedit p a{font-size: 100%;color: #d53505;display: initial;}
.article .htmedit img{padding: 10px;}
.article .htmedit p img,
.article .htmedit div img {
  margin: 0 auto;
  display: block;
  max-width: 100%;
  height: auto;
}


.article .topcard {
  border: solid 2px #2e547a;
}

.slidenav_wrap:after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  width: 100%;
  height: 20px;
  background: #FFFFFF !important;
}

.article p {
  line-height: 200%;
  font-size: 1rem;
}

.article p img {
  width: auto !important;
  height: auto !important;
}

.article .img {
  margin: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

/* Add a hover effect (blue shadow) */
.article .img:hover {
  box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

.tag,
.article .badge {
  display: inline-block;
  padding: 5px 15px;
  font-size: 90%;
  font-weight: normal;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
}

.tag,
.badge-article {
  color: rgba(255, 255, 255, 1);
  background-color: #2e547a;
}

.tag:hover,
.badge-article:hover,
.article .badge.active {
  background-color: #d9d9d9;
  color: #333333;
}

.tag {
  padding: 5px 15px !important;
}

.scrollmenu {
  overflow: auto;
  white-space: nowrap;
}

.scrollmenu .tag a {
  display: inline-block;
  color: white;
  text-align: center;
  text-decoration: none;

}



/* 搜尋下方關鍵字 */
.keyword_list {
  overflow: hidden;
  height: 26px;
}

/* 修正主題列表頁 */
.event-list-pic {
  width: 100%;
  overflow: hidden;
  position: relative;

}

.event-list span a span {
  display: block;
  background-color: whitesmoke;
  display: none;
}

.event-list img {
  width: 100%;
  transition: all 0.3s ease-out;
  background-color: rgba(0, 0, 0, 0.3);
}

.event-list img::before {
  background-color: rgba(0, 0, 0, 0);
}

.event-list img:hover {
  transform: scale(1.02);
  opacity: 0.8;
  transition: all 0.3s ease-out;
}

/* 修正主題活動上稿 */
.event-text span {
  background-color: #f8e71c;
  font-weight: bold;
  display: block;
  padding: 5px;
  margin: 5px 0;
}

.event-list span p {
  background-color: #999;
  display: none;
}


/* 修正MENU TAG 選單Active*/
.bgcolor {
  transition: 0s ease;
}

.bgcolor.activedSlide {
  background-color: #d4d4d4 !important;
  color: #222222;
  transition: 0s ease;
}

/* 加入購物車 按鈕動作 */
.custom_blue_outline_style-add {
  background-color: #159ff0 !important;
  color: #fff !important;
}


/* 修正首頁MENUBar */
#pcHeader .main_logo img {
  max-width: 500px !important;
}

.dropdown-menu-S {
  width: auto !important;
}


/* 修正buypoint多語切換跑版*/

.buyPoint_plan .card-text button {
  white-space: inherit;
}

/* book_inside_page 詳目頁，修正TreeView */
ul, #TreeView {
  list-style-type: none;
}

/*  修改套書btn  */

@media (max-width: 576px) {

  .setbtn a {
    font-size: 4.2vw;
  }

}

#TreeView {
  margin: 0;
  padding: 0;
}

#TreeView .caret {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
}

#TreeView .caret:hover,
#TreeView .caret {
  color: #014D97;
}

#TreeView .caret::before {
  content: "\25B6";
  color: #014D97;
  display: inline-block;
  margin-right: 6px;
}

#TreeView .caret-down::before {
  -ms-transform: rotate(90deg); /* IE 9 */
  -webkit-transform: rotate(90deg); /* Safari */
  transform: rotate(90deg);  
}

#TreeView .nested {
  display: none;
}

#TreeView .active {
  display: block;
}

/* 多語修正跑版 */
.book_price_group [title~="purchase"],
.card-text.book_price_group button {
  font-size: 4.2vw;
}

/* 購物車 */
@media (max-width: 991.98px) {
  .shopping_page_totalprice .btn-step {
    min-width: max-content !important;
    margin: 5px;
    white-space: nowrap !important;
  }

  .tab_slector .item {
    font-size: 1rem !important;
  }

  .table_style_01 .bookcase_list_item .checkMark {
    font-size: 30px !important;
  }


  .table_style_01 .bookcase_list_item .checkMark:after,
  .table_style_01 .bookcase_list_item .checkMark:before {
    width: 100px !important;
    height: 100px !important;
  }


}

/* 書櫃 */
@media (max-width: 374px) {

  .mb-book-toolPanel .btn,
  .mb-book-toolPanel .dropdown-item {
    font-size: 4vw !important;
  }

  .dropdown-item {
    padding: .25rem 0.5rem !important;
  }

  .btn {
    white-space: normal !important;
  }

  .tab_slector .item {
    font-size: 0.8rem !important;
  }

  /* 修改贈送名單處 */
  .edit_gift_namelist_table .action,
  .edit_gift_namelist_table .nickname {
    width: 35% !important;
  }

  table.transform_table.no_border_top.layout_fixed.edit_gift_namelist_table {
    font-size: 4vw !important;
    line-height: 5vw !important;
  }

}

/* 書櫃 */
.mb-book-toolPanel .btn {
  text-align: left;
}

.mb-book-toolPanel .dropdown-item {
  padding: .25rem 0.5rem !important;
}

/* 多語修正跑版 */

/* 修正列表跑版 */
.book-wrap .book-title-01 {
  word-break: break-all;
  word-wrap: break-word;
}

/* gotop */
/* #myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #ff5252;
    color: #ffffff;
    cursor: pointer;
    padding: 14px 11px;
    border-radius: 52px;
}

  #myBtn:hover {
    background-color: #ff9e80;
  } */

/* 20201104 新增gotop[S] */
#myBtn {
  position: fixed;
  bottom: 55px;
  right: 10px;
  z-index: 99;
  font-size: 18px;
  border: 1px solid #149ff0;
  outline: none;
  background-color: rgb(20 159 240 / 12%);
  color: white;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
}

#myBtn:hover {
  color: rgb(143, 143, 143);
  background-color: rgb(143, 143, 143);
}

#myBtn .icon-expand_less {
  font-size: 32px;
  padding-top: 2px;
  width: 40px;
  height: 40px;
  color: #149ff0;
}

/* gotop */


/* 購物車 */
.promo_info_text_yello {
  background-color: #ffc107;
  font-size: .875rem;
  height: 1.875rem;
  line-height: .875rem;
  vertical-align: middle;
  color: #212529;
  border-radius: 20px;
  padding: .3rem 1.5rem;
  font-weight: normal;
}

/* header 處修正*/
#pcHeader .main_logo img {
  max-width: 470px !important;
}

/*   APP Promo Banner */
/* img.img-fluid.qr_code {
  width: 60%;
} */

/* Auto Search 智慧搜尋 */
.ui-widget {
  z-index: 9999999;
}

.ui-widget-content {
  padding: 30px 10px 10px;
  margin: 10px 0;
  list-style: none;
  font-size: 15px;
  text-align: left;
  background-color: #FFFFFF;
  border: 2px solid #014d97;
  border-radius: 5px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.ui-menu-item{padding:10px 0;margin: 10px 0 ;}
.ui-menu-item:hover{
    background-color: #e9ecef;
}

.ui-menu-item .keyword{color: brown;}

.ui-menu-item::before {
  color: #159ff0;
  padding-right: 5px;
}

.ui-menu-item::before {
  content: "❑"attr(type);
}

/* author 精選文章*/

.article-content p.small {
  font-size: 0.9rem;
}

.article-content p {
  font-size: 1rem;
  margin-bottom: 0rem;
}

/* 精選文章列表用 */
.article-content .h6 {
  font-size: 1.1rem;
  height: fit-content !important;
}

.badge,
.article-content .badge-article {
  display: inline-block;
  padding: .25em .4em;
  font-size: 0.8rem;
  font-weight: normal;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
}

/* 同步調首頁、整精選文章、小編文摘 tag  */
.badge-article {
  background: #f1f1f1;
  color: #4a4a4a;
  border: 1px solid #dee2e6;
}

.badge-article:hover {
  background: #159ff0;
  color: #FFFFFF;
  border: 1px solid #159ff0;
  transition: .3s ease;
}

.book-date .ft-warm-grey.small {
  height: 1.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-cover-cont .h6.bold {
  height: 2.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.1rem;
}

/* 延伸閱讀 */
.article .read-around ul {
  list-style: disc;
}

.read-around li a {
  color: #d53505;
}

.read-around li a:hover {
  color: #d53505;
  text-decoration: underline;
}

.articlepic {
  overflow: hidden;
  position: relative;
}

/* 同步調首頁及整精選文章 列表插圖 */
.article_b {
  width: 100%;
  height: 155px;
  max-height: 155px;
  overflow: hidden;
}

.article_b img {
  -webkit-transition: -webkit-transform ease;
  -webkit-transition-delay: .8s;
  -moz-transition: -moz-transform ease .8s;
  -o-transition: -o-transform ease .8s;
  transition: transform ease .8s;
  opacity: 1;
}

.article_b img:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  opacity: .7;
}

.book-cover-cont p.small {
  max-height: 4rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-more {
  font-size: 0.8rem;
  background: #FFFFFF;
  border: 1px solid #ccc;
  padding: 2px 4px;
  color: #ccc;
}
.article a{color: #4a4a4a;}
.article a:hover{text-decoration: none;}



/* 首頁暢銷書榜TAG [S]  update-20200311*/
.prd_tab_nav .t2 {
  width: 3rem !important
}

.prd_tab_nav .t3 {
  width: 4rem !important
}

.prd_tab_nav .t4 {
  width: 7rem !important
}

.prd_tab_nav .t5 {
  width: 6rem !important
}

.prd_tab_nav .t6 {
  width: 7rem !important
}

.prd_tab_nav .t7 {
  width: 8rem !important
}

.prd_tab_nav .t8 {
  width: 9rem !important
}

.prd_tab_nav .t9 {
  width: 10rem !important
}

.prd_tab_nav .t10 {
  width: 11rem !important
}

.prd_tab_nav .t11 {
  width: 12rem !important
}

.prd_tab_nav .t12 {
  width: 13rem !important
}

.prd_tab_nav .t13 {
  width: 14rem !important
}

.prd_tab_nav .t14 {
  width: 15rem !important
}

.prd_tab_nav .t15 {
  width: 16rem !important
}

.limited_nav .swiper-slide {
  cursor: pointer;
}

.tag_cont_slide {
  padding: 0 !important
}

.featuredType .limited_nav .swiper-slide {
  height: auto !important;
  padding: 7px;
  border-radius: 30px
}

.featuredType .limited_nav .swiper-slide-thumb-active {
  background: #159ff0;
  color: #fff
}

/* 更改統一暢銷書左右箭頭 */
[data-featured-slider] .swiper-button-next,
[data-featured-slider] .swiper-button-prev {
  border-radius: 50%;
  border: 1px solid #159ff0;
  margin-top: -70px
}

[data-featured-slider] .swiper-button-next:before,
[data-featured-slider] .swiper-button-prev:before {
  color: #159ff0
}


.container-1320 [data-featured-slider] {
  padding: 0 35px
}


@media (max-width: 575.98px) {
  .container-1320 [data-featured-slider] {
    padding: 0 15px;
    margin: 0 -40px;
  }
}


@media (min-width: 576px) and (max-width: 767.98px) {
  .container-1320 [data-featured-slider] {
    padding: 0 15px;
    margin: 0 -40px;
  }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  .container-1320 [data-featured-slider] {
    padding: 0 15px;
  }
}

.book-wrap .text-center {
  border-bottom: 3px solid #000;
  margin-bottom: 1px;
  font-size: 0.9rem;
  font-weight: 600;
}

.book-wrap .text-cente b{ font-size: 1.1rem;}
/* 首頁暢銷書榜TAG [E] */


/* 搜尋清單增加看更多20200601 */

.navopenmore {
  background-color: #FFF;
  border: 1px solid #CCC;
  color: #444;
  font-weight: 600;;
  cursor: pointer;
  padding: 10px 10px 10px 7px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.navopenmore:focus {
  outline: 0px dotted;
  outline: 0px auto -webkit-focus-ring-color;
}

.navactive, .navopenmore:hover {
  background-color: #eee;
  color: #444;
  border-radius: 10px;
  border: none;
}

.navopenmore:after {
  content: '看更多 \002B';
  color: #444;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.navactive:after {
  content: "看更少 \2212";
}

.navpanel {
  padding: 0px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* 詳目頁修正 */



/* setbooks 套書列表頁 */

.setbooks-text {
  max-height: 9rem;
  min-height: 5rem;
  display: block;
  overflow: hidden;
}

.card-title.h5 a {
  color: #014D97
}

.card-title.h5 a:hover {
  text-decoration: none;
  color: #149ff0;
}

/* 購物車 - 促銷優惠 */

.promo_info_text a {
  color: #f16c5d;
  line-height: 1.2rem;
}

.promo_info_text a:hover {
  color: #ffb776;
}

.page_shopping_cart .promo_info_text,
.right_side_info .promo_info_text {
  background-color: transparent !important;
  color: #f16c5d !important;
  padding: .5rem .5rem .2rem !important;
  height: auto !important;
}

.table_style_01 .tr_row {
  position: relative;
  /* display: block!important; */
}

.tr_row.saletag .book_promo_info {
  background-color: #ffefec;
  max-width: 1366px;
  padding: 5px;
  border-radius: .5rem;
}

.right_side_info .tr_row.saletag .book_promo_info {
  background-color: #ffefec;
  width: 100%;
  padding: 5px;
  border-radius: .5rem;
}


/* themes 系列書 */

.themes::after {
  content: "看更多";
  background-color: #9b9b9b;
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 0.7rem;
  padding: 2px 7px;
  margin-left: 2px;
}

.themes-list {}

.themes-col {
  padding: 2px !important;
}

.themes-col img {
  border: 1px solid #222222;
}

.themes-col .contTxt {
  font-size: .9rem;
  text-align: center;
  word-break: break-all;
}

/* break-all讓非CJK(Chinese、Japanese、Korean)語言的文字，任意斷行 */

/* searchList 列表頁 18禁 書封 */
.book-overlay .for18{

}
.for18 .maskPic{
  opacity: 1;
}

/* my_bookcase_tag 我的書櫃 分類tag */

:root {
  --tag_grapefruit: #ff5252;
  --tag_orange: #ff8216;
  --tag_dandelion: #f8e71c;
  --tag_teal: #0097a7;
  --tag_leaf: #689f38;
  --tag_frenchblue: #162684;
  --tag_waterblue: #1976d2;
  --tag_purple: #9e37de;
  --tag_lightgray: #D3D3D3;
  --tag_black: #000000;
}

#addtag .bg-grapefruit{background:var(--tag_grapefruit)!important;}
#addtag .bg-orange {background: var(--tag_orange)!important;}
#addtag .bg-dandelion{background: var(--tag_dandelion)!important;}
#addtag .bg-teal{background: var(--tag_teal)!important;}
#addtag .bg-leaf{background: var(--tag_leaf)!important;}
#addtag .bg-frenchblue{background: var(--tag_frenchblue)!important;}
#addtag .bg-waterblue{background: var(--tag_waterblue)!important;}
#addtag .bg-purple {background: var(--tag_purple)!important;}
#addtag .bg-lightgray {background: var(--tag_lightgray)!important;}
#addtag .bg-black {background: var(--tag_black)!important;}


.edit_tag {
  width: 300px;
}

.badgedot {
  padding: 0 3px;
}

#addtag .bg-teal,
#addtag .bg-leaf,
#addtag .bg-dandelion,
#addtag .bg-grapefruit,
#addtag .bg-frenchblue,
#addtag .bg-waterblue,
#addtag .bg-purple,
#addtag .bg-lightgray,
#addtag .bg-black,
#addtag .bg-orange {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 2rem;
  /* border: 6px double none; */
  display: inline-block;
}

/* #addtag .btn {
  border: none;
  border: 4px #ffffff;
  border-style: solid;
  cursor: pointer;
} */
#addtag .btn {
  outline: none;
  cursor: pointer;
  border: 6px #ffffff;
  border-style: solid;
  width: 2.4rem;
  height: 2.4rem;
}

#addtag .actived {
  border: 6px #ffffff;
  border-style: double;
  width: 2.4rem;
  height: 2.4rem;
}


.tag_slidenav_wrap .tag-01.bgcolor {
  background-color: var(--tag_grapefruit) !important;
  color: #fff;
}

.tag_slidenav_wrap .tag-02.bgcolor {
  background-color: var(--tag_orange) !important;
  color: #4a4a4a;
}

.tag_slidenav_wrap .tag-03.bgcolor {
  background-color: var(--tag_dandelion) !important;
  color: #333;
}

.tag_slidenav_wrap .tag-04.bgcolor {
  background-color: var(--tag_teal) !important;
  color: #fff;
}

.tag_slidenav_wrap .tag-05.bgcolor {
  background-color: var(--tag_leaf) !important;
  color: #fff;
}

.tag_slidenav_wrap .tag-06.bgcolor {
  background-color: var(--tag_frenchblue) !important;
  color: #fff;
}

.tag_slidenav_wrap .tag-07.bgcolor {
  background-color: var(--tag_purple) !important;
  color: #fff;
}

.tag_slidenav_wrap .tag-08.bgcolor {
  background-color: var(--tag_lightgray) !important;
  color: #333;
}

.tag_slidenav_wrap .tag-09.bgcolor {
  background-color: var(--tag_black) !important;
  color: #fff;
}


/* unlimited 飽讀[S] */


.UnlimitedLet .UnlimitedLet_cover {
  float: left;
  /* max-width: 180px; */
}

.UnlimitedLet .book_title_group,
.UnlimitedLet .book_price_group{width: 100%!important;}


#unlimited .note {
  background-color: #ffffff;
  padding: 2.3rem 0 2rem;
  font-size: 1rem;
  color: #596273;
}
#unlimited .t1{ font-size: 18px; font-weight: bold;}
#unlimited .t2 {
  font-size: 16px;
}

#unlimited .saletag {
  font-size: 15px;
  color: #F16C5D;
  width: auto;
  display: inline-block;
  letter-spacing: 0.4px;
  text-align: right;
  padding: 4px 8px;
  margin: 3px;
  border: 2px solid #FF5252;
  border-radius: 30px;
}

#unlimited .card-deck {
  background-color: #fbfafa;
}

#unlimited h2 {
  color: #333;
}

#unlimited .event-page_h3 {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 0px;
}
#unlimited b{font-size: 22px;}
.unlimited-overlay{
    margin: 0 -0.8rem;
    padding: 0.8rem;
    border-radius: 0.5rem;
    position: relative;
    border: 2px solid transparent;
    background: #fff;
}

.unlimitedNav {
  font-size: 20px;
}

/* unlimited 飽讀[E] */

/* PC Header 新增notice dailog dropdownmenu[S] */
.notice {
  width: 385px;
}

.notice-dailgo {
  display: flex;
  flex-wrap: wrap;

}

.notice-dailog_img {
  flex: 20%;
}

.notice-dailgo_img img {
  width: 70px;
}

.notice-dailgo_content {
  flex: 80%;
}

/* PC Header 新增notice dailog dropdownmenu[E] */

.book-favorite-list {
  color: #ccc;
  font-size: 70%;
}

#noticebody ul span a,
#noticebody ul p a {
  background-color: red;
  width: fit-content;
  padding: 0px 6px;
  border-radius: 4px;
  color: white;
  animation: mymove 2s infinite;
}

#noticebody ul span a:hover,
#noticebody ul p a:hover {
  background-color: gray;
  animation: none;
}

@keyframes mymove {
  0%,100%{
    background-color: red;
  }

  50% {
    background-color: rgb(0, 51, 255);
  }
}

.hicoin {
  background-color: #ffd424;
  color: #fff;
  padding: 1em;
  width: fit-content;
  border-radius: 1em;
}

.hicoin span.text2.bold {
  color: #795548;
}

/*=======================================================================================================================================*/

/* swiper KV [S] */
/* *:not(html) {
  -webkit-transform: translate3d(0,0,0);
} */
@media (max-width:768px) {
  #KV .swiper-slide img {
    opacity: 1 !important;
  }
}

.kvSwiper,
.swiperkv {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

#KV .kvSwiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#KV .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

#KV .swiper-slide-active img {
  opacity: 1;
}

#KV .swiper-pagination {
  position: inherit;
  opacity: 0.4;
}

#KV .swiper-pagination-bullet {
  margin: 0 5px;
}

#KV .swiper-button-next {
  right: 15%;
  left: auto;
}

#KV .swiper-button-prev {
  left: 15%;
  right: auto;
}

#KV .swiper-button-next,
#KV .swiper-button-prev {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  z-index: 1;
  cursor: pointer;
  color: transparent;
  border-radius: 50%;
  border: 1px solid #159ff0;
  outline: none;
  background-size: 27px 44px;
  background-position: 50%;
  background-repeat: no-repeat;
  background: hsla(0, 0%, 100%, .3);
  transition: 0.6s ease;
}

#KV .swiper-button-next:hover,
#KV .swiper-button-prev:hover {
  background-color: rgb(255, 255, 255);
}

#KV .swiper-button-next:before,
#KV .swiper-button-prev:before {
  top: 12px;
  margin: 0 12px;
  font-weight: 800;
  color: #159ff0;
}

#KV .swiper-button-next:before {
  content: "\e902";
}

#KV .swiper-button-prev:before {
  content: "\e901";
}

#KV .swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  opacity: 1;
  cursor: auto;
  pointer-events: auto !important;
}

@media (max-width:1179px) {
  #KV .swiper-wrapper {
    margin-left: 0em !important;
  }

  #KV .swiper-button-next {
    right: 2% !important;
  }

  #KV .swiper-button-prev {
    left: 2% !important;
  }
}

@media (max-width:1200px) {
  #KV .swiper-wrapper {
    margin-left: 0em !important;
  }

  #KV .swiper-button-next {
    right: 5% !important;
  }

  #KV .swiper-button-prev {
    left: 5% !important;
  }
}

@media (max-width:1025px) {
  /* .KVswiper-button-next, .KVswiper-button-prev{display: none;} */
}

/* swiper KV [E] */





/* 網站font Icon ，iconmoon 202302追加小鈴鐺 */
/* link: fonts/fonts/icomoon */

@font-face {
  font-family: 'icon_202302';
  src: url('../fonts/fonts/icon_202302.eot?nvmlak');
  src: url('../fonts/fonts/icon_202302.eot?nvmlak#iefix') format('embedded-opentype'),
    url('../fonts/fonts/icon_202302.ttf?nvmlak') format('truetype'),
    url('../fonts/fonts/icon_202302.woff?nvmlak') format('woff'),
    url('../fonts/fonts/icon_202302.svg?nvmlak#icon_202302') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="iconAdd-"],
[class*=" iconAdd-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icon_202302' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Enable Ligatures ================ */
  letter-spacing: 0;
  -webkit-font-feature-settings: "liga";
  -moz-font-feature-settings: "liga=1";
  -moz-font-feature-settings: "liga";
  -ms-font-feature-settings: "liga"1;
  font-feature-settings: "liga";
  -webkit-font-variant-ligatures: discretionary-ligatures;
  font-variant-ligatures: discretionary-ligatures;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.iconAdd-headphones:before {
  content: "\e9b4";
}

.iconAdd-alarm1:before {
  content: "\10ffff";
}

.iconAdd-header-alert:before {
  content: "\e9b41";
}

.iconAdd-zoom_out1:before {
  content: "\e9b3";
}

.iconAdd-equalizer1:before {
  content: "\e9ad";
}

.iconAdd-filter-solid:before {
  content: "\e9ae";
}

.iconAdd-search-01:before {
  content: "\e9a8";
}

.iconAdd-header-wishlist:before {
  content: "\e9a6";
}

.iconAdd-indicator:before {
  content: "\e9a7";
}

.iconAdd-share-line:before {
  content: "\e9a5";
}

.iconAdd-favorite_border_02:before {
  content: "\e9a4";
}

.iconAdd-cover-voice:before {
  content: "\e982";
}

.iconAdd-phone-01:before {
  content: "\e97e";
}

.iconAdd-Rewards-gift-01:before {
  content: "\e96f";
}

.iconAdd-card:before {
  content: "\e93e";
}

.iconAdd-mailto:before {
  content: "\e93f";
}

.iconAdd-package:before {
  content: "\e940";
}

.iconAdd-personal:before {
  content: "\e941";
}

.iconAdd-print:before {
  content: "\e942";
}

.iconAdd-rimp:before {
  content: "\e92a";
}

.iconAdd-error:before {
  content: "\e929";
}

.iconAdd-location:before {
  content: "\e914";
}

.iconAdd-play:before {
  content: "\e90a";
}

.iconAdd-youtube-line:before {
  content: "\e908";
}

.iconAdd-fb-line:before {
  content: "\e909";
}

.iconAdd-line-square:before {
  content: "\e904";
}

.iconAdd-add:before {
  content: "\e900";
}

.iconAdd-arrow-left-01:before {
  content: "\e901";
}

.iconAdd-arrow-right-01:before {
  content: "\e902";
}

.iconAdd-close-01:before {
  content: "\e903";
}

.iconAdd-cut:before {
  content: "\e905";
}

.iconAdd-arrow-top-01:before {
  content: "\e906";
}

.iconAdd-arrow-down-01:before {
  content: "\e907";
}

.iconAdd-trash-o:before {
  content: "\f014";
}

.iconAdd-thumbs-o-up:before {
  content: "\f087";
}

.iconAdd-thumbs-o-down:before {
  content: "\f088";
}

.iconAdd-heart-o:before {
  content: "\f08a";
}

.iconAdd-chain:before {
  content: "\f0c1";
}

.iconAdd-link2:before {
  content: "\f0c1";
}

.iconAdd-caret-down:before {
  content: "\f0d7";
}

.iconAdd-caret-up:before {
  content: "\f0d8";
}

.iconAdd-caret-left:before {
  content: "\f0d9";
}

.iconAdd-caret-right:before {
  content: "\f0da";
}

.iconAdd-angle-double-left:before {
  content: "\f100";
}

.iconAdd-angle-double-right:before {
  content: "\f101";
}

.iconAdd-angle-double-up:before {
  content: "\f102";
}

.iconAdd-angle-double-down:before {
  content: "\f103";
}

.iconAdd-star-half-empty:before {
  content: "\f123";
}

.iconAdd-star-half-full:before {
  content: "\f123";
}

.iconAdd-star-half-o:before {
  content: "\f123";
}

.iconAdd-ellipsis-h:before {
  content: "\f141";
}

.iconAdd-ellipsis-v:before {
  content: "\f142";
}

.iconAdd-sliders1:before {
  content: "\f1de";
}

.iconAdd-commenting:before {
  content: "\f27a";
}

.iconAdd-commenting-o:before {
  content: "\f27b";
}

.iconAdd-pen:before {
  content: "\e919";
}

.iconAdd-news2:before {
  content: "\e91a";
}

.iconAdd-note:before {
  content: "\e91b";
}

.iconAdd-paperplane:before {
  content: "\e91c";
}

.iconAdd-params:before {
  content: "\e91d";
}

.iconAdd-cog:before {
  content: "\e94d";
}

.iconAdd-cogs:before {
  content: "\e94e";
}

.iconAdd-cog2:before {
  content: "\e94f";
}

.iconAdd-warning2:before {
  content: "\e958";
}

.iconAdd-dollar:before {
  content: "\e943";
}

.iconAdd-male:before {
  content: "\e944";
}

.iconAdd-female:before {
  content: "\e945";
}

.iconAdd-paperplane2:before {
  content: "\e959";
}

.iconAdd-barcode:before {
  content: "\e954";
}

.iconAdd-barcode2:before {
  content: "\e955";
}

.iconAdd-clipboard:before {
  content: "\e956";
}

.iconAdd-star2:before {
  content: "\e975";
}

.iconAdd-microphone:before {
  content: "\e983";
}

.iconAdd-phone3:before {
  content: "\e97d";
}

.iconAdd-heart2:before {
  content: "\e985";
}

.iconAdd-check-square:before {
  content: "\e91e";
}

.iconAdd-edit2:before {
  content: "\e91f";
}

.iconAdd-edit-3:before {
  content: "\e921";
}

.iconAdd-file-text3:before {
  content: "\e922";
}

.iconAdd-navigation:before {
  content: "\e923";
}

.iconAdd-settings:before {
  content: "\e90d";
}

.iconAdd-shopping-cart2:before {
  content: "\e924";
}

.iconAdd-sliders:before {
  content: "\e925";
}

.iconAdd-user-check:before {
  content: "\e90e";
}

.iconAdd-users2:before {
  content: "\e912";
}

.iconAdd-account_box:before {
  content: "\e851";
}

.iconAdd-account_circle:before {
  content: "\e853";
}

.iconAdd-add_box:before {
  content: "\e146";
}

.iconAdd-add_shopping_cart:before {
  content: "\e854";
}

.iconAdd-queue:before {
  content: "\e03c";
}

.iconAdd-arrow_back:before {
  content: "\e5c4";
}

.iconAdd-arrow_downward:before {
  content: "\e5db";
}

.iconAdd-arrow_drop_down_circle:before {
  content: "\e5c6";
}

.iconAdd-arrow_forward:before {
  content: "\e5c8";
}

.iconAdd-arrow_upward:before {
  content: "\e5d8";
}

.iconAdd-assignment_ind:before {
  content: "\e85e";
}

.iconAdd-attach_file:before {
  content: "\e226";
}

.iconAdd-autorenew:before {
  content: "\e863";
}

.iconAdd-av_timer:before {
  content: "\e01b";
}

.iconAdd-border_color:before {
  content: "\e22b";
}

.iconAdd-phone:before {
  content: "\e0cd";
}

.iconAdd-chat_bubble:before {
  content: "\e0ca";
}

.iconAdd-chat_bubble_outline:before {
  content: "\e0cb";
}

.iconAdd-check:before {
  content: "\e5ca";
}

.iconAdd-check_box:before {
  content: "\e834";
}

.iconAdd-check_box_outline_blank:before {
  content: "\e835";
}

.iconAdd-check_circle:before {
  content: "\e86c";
}

.iconAdd-navigate_before:before {
  content: "\e408";
}

.iconAdd-navigate_next:before {
  content: "\e409";
}

.iconAdd-close:before {
  content: "\e5cd";
}

.iconAdd-cloud_off:before {
  content: "\e2c1";
}

.iconAdd-cloud_queue:before {
  content: "\e2c2";
}

.iconAdd-laptop:before {
  content: "\e31e";
}

.iconAdd-content_copy:before {
  content: "\e14d";
}

.iconAdd-content_paste:before {
  content: "\e14f";
}

.iconAdd-mode_edit:before {
  content: "\e254";
}

.iconAdd-delete:before {
  content: "\e872";
}

.iconAdd-done:before {
  content: "\e876";
}

.iconAdd-done_all:before {
  content: "\e877";
}

.iconAdd-drafts:before {
  content: "\e151";
}

.iconAdd-exit_to_app:before {
  content: "\e879";
}

.iconAdd-expand_less:before {
  content: "\e5ce";
}

.iconAdd-expand_more:before {
  content: "\e5cf";
}

.iconAdd-get_app:before {
  content: "\e884";
}

.iconAdd-find_in_page:before {
  content: "\e880";
}

.iconAdd-first_page:before {
  content: "\e5dc";
}

.iconAdd-people:before {
  content: "\e7fb";
}

.iconAdd-group_add:before {
  content: "\e7f0";
}

.iconAdd-keyboard_arrow_down:before {
  content: "\e313";
}

.iconAdd-keyboard_arrow_left:before {
  content: "\e314";
}

.iconAdd-keyboard_arrow_right:before {
  content: "\e315";
}

.iconAdd-keyboard_arrow_up:before {
  content: "\e316";
}

.iconAdd-keyboard_backspace:before {
  content: "\e317";
}

.iconAdd-keyboard_capslock:before {
  content: "\e318";
}

.iconAdd-keyboard_tab:before {
  content: "\e31c";
}

.iconAdd-last_page:before {
  content: "\e5dd";
}

.iconAdd-shopping_cart:before {
  content: "\e8cc";
}

.iconAdd-lock_open:before {
  content: "\e898";
}

.iconAdd-lock_outline:before {
  content: "\e899";
}

.iconAdd-person_pin:before {
  content: "\e55a";
}

.iconAdd-search2:before {
  content: "\e8b6";
}

.iconAdd-settings_phone:before {
  content: "\e8c5";
}

.iconAdd-swap_horiz:before {
  content: "\e8d4";
}

.iconAdd-swap_vert:before {
  content: "\e8d5";
}

.iconAdd-touch_app:before {
  content: "\e913";
}

.iconAdd-unfold_less:before {
  content: "\e5d6";
}

.iconAdd-unfold_more:before {
  content: "\e5d7";
}

.iconAdd-view_comfy:before {
  content: "\e42a";
}

.iconAdd-view_compact:before {
  content: "\e42b";
}

.iconAdd-view_day:before {
  content: "\e8ed";
}

.iconAdd-view_headline:before {
  content: "\e8ee";
}

.iconAdd-view_list:before {
  content: "\e8ef";
}

.iconAdd-view_module:before {
  content: "\e8f0";
}

.iconAdd-view_quilt:before {
  content: "\e8f1";
}

.iconAdd-view_stream:before {
  content: "\e8f2";
}

.iconAdd-view_week:before {
  content: "\e8f3";
}

.iconAdd-zoom_in:before {
  content: "\e8ff";
}

.iconAdd-zoom_out:before {
  content: "\e90b";
}

.iconAdd-zoom_out_map:before {
  content: "\e56b";
}

.iconAdd-arrow_back2:before {
  content: "\e5c5";
}

.iconAdd-arrow_downward2:before {
  content: "\e5de";
}

.iconAdd-arrow_forward2:before {
  content: "\e5c9";
}

.iconAdd-arrow_upward2:before {
  content: "\e5d9";
}

.iconAdd-assignment:before {
  content: "\e85d";
}

.iconAdd-border_color2:before {
  content: "\e22c";
}

.iconAdd-cake:before {
  content: "\e7e9";
}

.iconAdd-check2:before {
  content: "\e5cb";
}

.iconAdd-close2:before {
  content: "\e5d0";
}

.iconAdd-content_copy2:before {
  content: "\e14e";
}

.iconAdd-crop_original:before {
  content: "\e3c4";
}

.iconAdd-delete2:before {
  content: "\e873";
}

.iconAdd-drafts2:before {
  content: "\e152";
}

.iconAdd-dvr:before {
  content: "\e1b2";
}

.iconAdd-markunread:before {
  content: "\e159";
}

.iconAdd-error_outline:before {
  content: "\e001";
}

.iconAdd-get_app2:before {
  content: "\e885";
}

.iconAdd-file_upload:before {
  content: "\e2c6";
}

.iconAdd-filter:before {
  content: "\e3d3";
}

.iconAdd-filter_1:before {
  content: "\e3d0";
}

.iconAdd-filter_2:before {
  content: "\e3d1";
}

.iconAdd-filter_3:before {
  content: "\e3d2";
}

.iconAdd-filter_4:before {
  content: "\e3d4";
}

.iconAdd-filter_5:before {
  content: "\e3d5";
}

.iconAdd-filter_6:before {
  content: "\e3d6";
}

.iconAdd-filter_7:before {
  content: "\e3d7";
}

.iconAdd-filter_8:before {
  content: "\e3d8";
}

.iconAdd-filter_9:before {
  content: "\e3d9";
}

.iconAdd-filter_9_plus:before {
  content: "\e3da";
}

.iconAdd-format_list_bulleted:before {
  content: "\e241";
}

.iconAdd-help:before {
  content: "\e887";
}

.iconAdd-help_outline:before {
  content: "\e8fd";
}

.iconAdd-http:before {
  content: "\e950";
}

.iconAdd-info2:before {
  content: "\e88e";
}

.iconAdd-info_outline:before {
  content: "\e88f";
}

.iconAdd-insert_comment:before {
  content: "\e24c";
}

.iconAdd-keyboard_arrow_down2:before {
  content: "\e319";
}

.iconAdd-keyboard_arrow_left2:before {
  content: "\e31a";
}

.iconAdd-keyboard_arrow_right2:before {
  content: "\e31b";
}

.iconAdd-keyboard_arrow_up2:before {
  content: "\e31d";
}

.iconAdd-keyboard_capslock2:before {
  content: "\e31f";
}

.iconAdd-library_books:before {
  content: "\e02f";
}

.iconAdd-local_atm:before {
  content: "\e53e";
}

.iconAdd-shopping_cart2:before {
  content: "\e8cd";
}

.iconAdd-print2:before {
  content: "\e8ad";
}

.iconAdd-room:before {
  content: "\e8b4";
}

.iconAdd-lock_open2:before {
  content: "\e89a";
}

.iconAdd-lock_outline2:before {
  content: "\e89b";
}

.iconAdd-mail_outline:before {
  content: "\e0e1";
}

.iconAdd-phone_iphone:before {
  content: "\e325";
}

.iconAdd-phonelink_ring:before {
  content: "\e0dd";
}

.iconAdd-pin_drop:before {
  content: "\e55e";
}

.iconAdd-playlist_add:before {
  content: "\e03b";
}

.iconAdd-playlist_add_check:before {
  content: "\e065";
}

.iconAdd-playlist_play:before {
  content: "\e05f";
}

.iconAdd-pregnant_woman:before {
  content: "\e946";
}

.iconAdd-priority_high:before {
  content: "\e645";
}

.iconAdd-publish:before {
  content: "\e255";
}

.iconAdd-receipt:before {
  content: "\e8b0";
}

.iconAdd-redo:before {
  content: "\e15a";
}

.iconAdd-refresh:before {
  content: "\e5d5";
}

.iconAdd-star_border:before {
  content: "\e83a";
}

.iconAdd-undo:before {
  content: "\e166";
}

.iconAdd-vertical_align_bottom:before {
  content: "\e258";
}

.iconAdd-vpn_key:before {
  content: "\e0da";
}

.iconAdd-wallpaper:before {
  content: "\e1bc";
}

.iconAdd-warning:before {
  content: "\e947";
}

.iconAdd-user2:before {
  content: "\e948";
}

.iconAdd-lock-open:before {
  content: "\e949";
}

.iconAdd-lock-closed:before {
  content: "\e94a";
}

.iconAdd-group:before {
  content: "\e95a";
}

.iconAdd-info-large:before {
  content: "\e95b";
}

.iconAdd-sort-numerically:before {
  content: "\e951";
}

.iconAdd-sort-alphabetically:before {
  content: "\e952";
}

.iconAdd-phone2:before {
  content: "\e94b";
}

.iconAdd-media-stop:before {
  content: "\e95c";
}

.iconAdd-media-record:before {
  content: "\e95d";
}

.iconAdd-media-play:before {
  content: "\e95e";
}

.iconAdd-media-fast-forward:before {
  content: "\e95f";
}

.iconAdd-media-eject:before {
  content: "\e962";
}

.iconAdd-info-outline:before {
  content: "\e963";
}

.iconAdd-clipboard2:before {
  content: "\e964";
}

.iconAdd-gift2:before {
  content: "\e970";
}

.iconAdd-media-stop-outline:before {
  content: "\e965";
}

.iconAdd-media-rewind-outline:before {
  content: "\e966";
}

.iconAdd-media-record-outline:before {
  content: "\e967";
}

.iconAdd-media-play-outline:before {
  content: "\e968";
}

.iconAdd-media-fast-forward-outline:before {
  content: "\e969";
}

.iconAdd-media-eject-outline:before {
  content: "\e96a";
}

.iconAdd-settings1:before {
  content: "\e9ab";
}

.iconAdd-autorenew1:before {
  content: "\e864";
}

.iconAdd-chat_bubble2:before {
  content: "\e0ce";
}

.iconAdd-chat_bubble_outline2:before {
  content: "\e0cc";
}

.iconAdd-cloud_off2:before {
  content: "\e2c4";
}

.iconAdd-cloud_queue2:before {
  content: "\e2c3";
}

.iconAdd-drafts3:before {
  content: "\e153";
}

.iconAdd-expand_less1:before {
  content: "\e5d2";
}

.iconAdd-expand_more1:before {
  content: "\e5d3";
}

.iconAdd-search22:before {
  content: "\e8b7";
}

.iconAdd-touch_app2:before {
  content: "\e981";
}

.iconAdd-unfold_less1:before {
  content: "\e5da";
}

.iconAdd-unfold_more1:before {
  content: "\e5df";
}

.iconAdd-zoom_out_map2:before {
  content: "\e56c";
}

.iconAdd-alarm:before {
  content: "\e855";
}

.iconAdd-access_alarms:before {
  content: "\e191";
}

.iconAdd-schedule:before {
  content: "\e8b5";
}

.iconAdd-add_shopping_cart2:before {
  content: "\e856";
}

.iconAdd-close22:before {
  content: "\e5d1";
}

.iconAdd-favorite:before {
  content: "\e87d";
}

.iconAdd-favorite_border:before {
  content: "\e87e";
}

.iconAdd-star3:before {
  content: "\e838";
}

.iconAdd-language:before {
  content: "\e894";
}

.iconAdd-radio_button_unchecked:before {
  content: "\e836";
}

.iconAdd-textsms:before {
  content: "\e0d8";
}

.iconAdd-home2:before {
  content: "\e980";
}

.iconAdd-phone22:before {
  content: "\e97c";
}

.iconAdd-th-large-outline:before {
  content: "\e986";
}

.iconAdd-th-small-outline:before {
  content: "\e987";
}

.iconAdd-th-menu-outline:before {
  content: "\e988";
}

.iconAdd-th-list-outline:before {
  content: "\e989";
}

.iconAdd-home-outline:before {
  content: "\e98a";
}

.iconAdd-heart-outline:before {
  content: "\e98b";
}

.iconAdd-user-outline:before {
  content: "\e98c";
}

.iconAdd-user-delete-outline:before {
  content: "\e98d";
}

.iconAdd-user-add-outline:before {
  content: "\e98e";
}

.iconAdd-group-outline:before {
  content: "\e98f";
}

.iconAdd-thumbs-up:before {
  content: "\e990";
}

.iconAdd-thumbs-down:before {
  content: "\e991";
}

.iconAdd-phone-outline:before {
  content: "\e992";
}

.iconAdd-volume:before {
  content: "\e993";
}

.iconAdd-volume-up:before {
  content: "\e994";
}

.iconAdd-volume-mute:before {
  content: "\e995";
}

.iconAdd-volume-down:before {
  content: "\e996";
}

.iconAdd-chevron-with-circle-down:before {
  content: "\e92b";
}

.iconAdd-chevron-with-circle-left:before {
  content: "\e92e";
}

.iconAdd-chevron-with-circle-right:before {
  content: "\e92f";
}

.iconAdd-chevron-with-circle-up:before {
  content: "\e930";
}

.iconAdd-controller-fast-forward:before {
  content: "\e915";
}

.iconAdd-controller-jump-to-start:before {
  content: "\e916";
}

.iconAdd-controller-next:before {
  content: "\e917";
}

.iconAdd-controller-paus:before {
  content: "\e918";
}

.iconAdd-controller-play:before {
  content: "\e928";
}

.iconAdd-triangle-down:before {
  content: "\e931";
}

.iconAdd-triangle-left:before {
  content: "\e932";
}

.iconAdd-triangle-right:before {
  content: "\e933";
}

.iconAdd-triangle-up:before {
  content: "\e934";
}

.iconAdd-info-with-circle:before {
  content: "\e935";
}

.iconAdd-info:before {
  content: "\e936";
}

.iconAdd-keyboard:before {
  content: "\e937";
}

.iconAdd-new-message:before {
  content: "\e938";
}

.iconAdd-facebook3:before {
  content: "\e939";
}

.iconAdd-google:before {
  content: "\e93a";
}

.iconAdd-instagram2:before {
  content: "\e93b";
}

.iconAdd-linkedin3:before {
  content: "\e93c";
}

.iconAdd-pinterest:before {
  content: "\e93d";
}

.iconAdd-star-outlined:before {
  content: "\e974";
}

.iconAdd-star-5:before {
  content: "\e973";
}

.iconAdd-facebook5:before {
  content: "\e976";
}

.iconAdd-twitter2:before {
  content: "\e977";
}

.iconAdd-vimeo-with-circle:before {
  content: "\e978";
}

.iconAdd-vimeo:before {
  content: "\e979";
}

.iconAdd-youtube2:before {
  content: "\e97a";
}

.iconAdd-triangle-left2:before {
  content: "\e9af";
}

.iconAdd-triangle-right2:before {
  content: "\e9b0";
}

.iconAdd-log-out:before {
  content: "\e997";
}

.iconAdd-login:before {
  content: "\e998";
}

.iconAdd-star-outlined2:before {
  content: "\e9aa";
}

.iconAdd-star:before {
  content: "\e9a9";
}

.iconAdd-spinner11:before {
  content: "\e984";
}

.iconAdd-loop2:before {
  content: "\ea2e";
}

.iconAdd-circle-up:before {
  content: "\ea41";
}

.iconAdd-circle-right:before {
  content: "\ea42";
}

.iconAdd-circle-down:before {
  content: "\ea43";
}

.iconAdd-circle-left:before {
  content: "\ea44";
}

.iconAdd-share2:before {
  content: "\ea82";
}

.iconAdd-facebook:before {
  content: "\ea90";
}

.iconAdd-facebook2:before {
  content: "\ea91";
}

.iconAdd-instagram:before {
  content: "\ea92";
}

.iconAdd-twitter:before {
  content: "\ea96";
}

.iconAdd-youtube:before {
  content: "\ea9d";
}

.iconAdd-linkedin:before {
  content: "\eac9";
}

.iconAdd-linkedin2:before {
  content: "\eaca";
}

.iconAdd-menu2:before {
  content: "\e90f";
}

.iconAdd-r-left:before {
  content: "\e910";
}

.iconAdd-r-right:before {
  content: "\e911";
}

.iconAdd-chevron-down:before {
  content: "\f0a3";
}

.iconAdd-chevron-left:before {
  content: "\f0a4";
}

.iconAdd-chevron-right:before {
  content: "\f078";
}

.iconAdd-chevron-up:before {
  content: "\f0a2";
}

.iconAdd-file-symlink-file:before {
  content: "\f0b0";
}

.iconAdd-file-text:before {
  content: "\f011";
}

.iconAdd-light-bulb:before {
  content: "\f000";
}

.iconAdd-link:before {
  content: "\f05c";
}

.iconAdd-search:before {
  content: "\f02e";
}

.iconAdd-sign-in:before {
  content: "\f036";
}

.iconAdd-sign-out:before {
  content: "\f032";
}

.iconAdd-pencil:before {
  content: "\e90c";
}

.iconAdd-books:before {
  content: "\e920";
}

.iconAdd-file-text2:before {
  content: "\e926";
}

.iconAdd-file-picture:before {
  content: "\e927";
}

.iconAdd-copy:before {
  content: "\e92c";
}

.iconAdd-paste:before {
  content: "\e92d";
}

.iconAdd-user:before {
  content: "\e971";
}

.iconAdd-users:before {
  content: "\e972";
}

.iconAdd-bin:before {
  content: "\e9ac";
}

.iconAdd-enter:before {
  content: "\ea13";
}

.iconAdd-exit:before {
  content: "\ea14";
}

.iconAdd-home:before {
  content: "\e97b";
}

.iconAdd-office:before {
  content: "\e957";
}

.iconAdd-cart:before {
  content: "\e953";
}

.iconAdd-credit-card:before {
  content: "\e94c";
}

.iconAdd-download:before {
  content: "\e960";
}

.iconAdd-upload:before {
  content: "\e961";
}

.iconAdd-undo2:before {
  content: "\e96b";
}

.iconAdd-redo2:before {
  content: "\e96c";
}

.iconAdd-forward:before {
  content: "\e96d";
}

.iconAdd-reply:before {
  content: "\e96e";
}

.iconAdd-trophy:before {
  content: "\e99e";
}

.iconAdd-gift:before {
  content: "\e99f";
}

.iconAdd-heart:before {
  content: "\e9da";
}

.iconAdd-facebook4:before {
  content: "\ea93";
}

.iconAdd-twitch:before {
  content: "\ea9f";
}

.iconAdd-appleinc:before {
  content: "\eabe";
}

.iconAdd-finder:before {
  content: "\eabf";
}

.iconAdd-android:before {
  content: "\eac0";
}

.iconAdd-windows8:before {
  content: "\eac2";
}

.iconAdd-office2:before {
  content: "\e97f";
}

.iconAdd-price-tags:before {
  content: "\e999";
}

.iconAdd-phone4:before {
  content: "\e99a";
}

.iconAdd-bubble:before {
  content: "\e99b";
}

.iconAdd-bubbles:before {
  content: "\e99c";
}

.iconAdd-bubbles2:before {
  content: "\e99d";
}

.iconAdd-bubble2:before {
  content: "\e9a1";
}

.iconAdd-bubbles3:before {
  content: "\e9a2";
}

.iconAdd-bubbles4:before {
  content: "\e9a3";
}

.iconAdd-equalizer:before {
  content: "\e9b1";
}

.iconAdd-equalizer2:before {
  content: "\e9b2";
}

.iconAdd-trophy2:before {
  content: "\e9a0";
}

.HyReadPlay .flexbox_center.py-2 {
    margin-bottom: .5rem;
    height: 53px;
    overflow: hidden;
    line-height: 1.5rem;
    word-break: break-all;
    word-wrap: break-word;
    justify-content: center;
    align-items: start;
}

.mov {
    aspect-ratio: 7 / 5;
    overflow: hidden;
}

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

.new-video-list .mov {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.new-video-list .book-overlay,
.new-video-list .book-link,
.new-video-list .coverBox {
    width: 100%;
    height: 100%;
}

.new-video-list .coverBox {
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-video-list .mov img {
    object-fit: contain;
}

.video-cover-bg-01 {
    background-color: #e8f0e7;
}

.video-cover-bg-02 {
    background-color: #93d7cb;
}

.video-cover-bg-03 {
    background-color: #6fc2ee;
}

.video-cover-bg-04 {
    background-color: #343746;
}

.HyReadPlay-video-list-page {
    min-height: 420px;
}

.HyReadPlay-video-list-page .book-wrap {
    width: 100%;
}

.HyReadPlay-video-list-page .book-title-01 {
    height: 48px;
    margin-bottom: .5rem;
    overflow: hidden;
    line-height: 1.5rem;
    text-align: center;
    word-break: break-all;
    word-wrap: break-word;
}

.bread_nav .breadcrumb-item + .breadcrumb-item:before {
    content: "\e902";
    font-family: "icon_202302" !important;
    font-size: 12px;
    line-height: 1;
    color: #9b9b9b;
    vertical-align: middle;
}

/* 今日新增 2026-08-31：影音分類標籤 dark outline hover */
.custom_dark_outline_style:hover {
    border-color: #343a40 !important;
    background-color: #fff !important;
    color: #343a40 !important;
}

/* 2026-09-03：搜尋列表 AI 喜好推薦頁籤 */
.ai-preference-tabs.tab_slector {
    margin-bottom: 0;
}

.ai-preference-tabs.tab_slector .ai-preference-tab.item.active {
    border-bottom-color: #6a35d5;
}

.ai-preference-tabs.tab_slector .ai-preference-tab.item.active a {
    color: #6a35d5;
    font-weight: 700;
}

.ai-preference-tabs .ai-preference-tab span {
    margin-right: 2px;
}

.ai-preference-note {
    padding: 9px 0 12px;
    color: #6f7782;
    font-size: 14px;
    line-height: 1.5;
}

.ai-preference-note span {
    margin-right: 3px;
    color: #6f7782;
}

.ai-preference-note a {
    color: #159ff0;
    font-weight: 700;
    text-decoration: underline;
}

.ai-recommend-list-title {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.ai-recommend-list-title span {
    margin-right: 4px;
}

.ai-recommend-list-title small {
    margin-left: 8px;
    color: #9b9b9b;
    font-size: 13px;
    font-weight: 400;
}

/* 2026-09-03：首頁 AI 找書搜尋框 */
#headerSearch {
    position: relative;
    z-index: 20;
}

#headerSearch .ai-search-wrap {
    position: relative;
    width: 520px;
    max-width: calc(100vw - 520px);
    min-width: 430px;
    transform: translateX(-110px);
}

#headerSearch .ai-search-form {
    position: relative;
    z-index: 2;
}

#headerSearch .ai-search-row {
    display: block;
}

#headerSearch .ai-original-search-field {
    min-width: 0;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    padding-right: 4px;
    border: 1px solid #159ff0;
    border-radius: 19px;
    background: #fff;
}

#headerSearch .ai-search-wrap.is-open .ai-original-search-field {
    border-color: #6a35d5;
}

#headerSearch .ai-original-search-field > input {
    min-width: 0;
    flex: 1 1 auto;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none;
}

#headerSearch .ai-original-search-field > input:focus {
    border: 0;
    box-shadow: none;
}

#headerSearch .ai-original-search-field > input + div > span {
    border: 0 !important;
    background: transparent;
}

#headerSearch .ai-spark-icon {
    display: none;
    color: #6a35d5;
    font-size: 17px;
    line-height: 1;
}

#headerSearch .ai-search-wrap.is-open .ai-default-icon {
    display: none;
}

#headerSearch .ai-search-wrap.is-open .ai-spark-icon {
    display: inline-block;
}

#headerSearch .ai-search-actions {
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    padding-left: 4px;
}

#headerSearch .ai-search-mode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #d5dce2;
    border-radius: 16px;
    background: #fff;
    color: #4a4a4a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

#headerSearch .ai-book-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    height: 30px;
    margin-left: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 16px;
    background: #6a35d5;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

#headerSearch .ai-book-btn span {
    margin-right: 5px;
}

#headerSearch .ai-search-mode-btn:focus,
#headerSearch .ai-search-mode-btn:active,
#headerSearch .ai-book-btn:focus,
#headerSearch .ai-book-btn:active {
    outline: none;
    box-shadow: none;
}

#headerSearch .ai-search-panel {
    display: none;
    position: absolute;
    top: 46px;
    left: 0;
    width: 100%;
    padding: 19px 17px 16px;
    border: 1px solid #c8b9f0;
    border-radius: 12px;
    background: #fbf9ff;
    box-shadow: 0 8px 20px rgba(69, 44, 130, .12);
}

#headerSearch .ai-search-wrap.is-open .ai-search-panel {
    display: block;
}

#headerSearch .ai-panel-title {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #5d2dc7;
    font-size: 14px;
    font-weight: 700;
}

#headerSearch .ai-panel-title span {
    margin-right: 6px;
}

#headerSearch .ai-prompt-list,
#headerSearch .ai-recent-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#headerSearch .ai-prompt-list button {
    height: 34px;
    padding: 0 16px;
    border: 1px solid #bba3ef;
    border-radius: 18px;
    background: #fff;
    color: #5e34c6;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

#headerSearch .ai-recent-title {
    margin-top: 13px;
    margin-bottom: 7px;
    color: #aaa5b5;
    font-size: 13px;
}

#headerSearch .ai-recent-list button {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 16px;
    background: #ebecef;
    color: #6b6a72;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

#headerSearch .ai-recent-list button i {
    margin-right: 5px;
    font-size: 12px;
}

@media (min-width: 1200px) and (max-width: 1320px) {
    #headerSearch .ai-search-wrap {
        width: 500px;
        min-width: 500px;
        transform: translateX(-90px);
    }
}

/* 2026-09-03：手機搜尋 / AI找書頁籤 */
@media (max-width: 575.98px) {
    #mobileSearchBar {
        padding-right: 0;
        padding-left: 0;
        background: #d3d3d3;
        margin-top: -10px;
    }

    #mobileSearchBar:after {
        display: none;
    }

    #mobileSearchBar > .row {
        margin-right: 0;
        margin-left: 0;
    }

    #mobileSearchBar > .row > .col {
        padding: 8px 10px 14px;
        background: #d3d3d3;
    }

    .mobile-search-tabs {
        display: flex;
        align-items: flex-end;
        padding-left: 0;
        margin-bottom: 0;
    }

    .mobile-search-tab {
        min-width: 105px;
        height: 36px;
        padding: 0 18px;
        border: 0;
        border-bottom: 0;
        background: #f7f7f7;
        color: #777;
        font-size: 20px;
        font-weight: 700;
        line-height: 36px;
        text-align: center;
        border-radius: 8px 8px 0 0;
        cursor: pointer;
    }

    .mobile-search-tab + .mobile-search-tab {
        margin-left: 2px;
    }

    .mobile-search-tab.is-active {
        position: relative;
        z-index: 1;
    }

    .mobile-search-tab:focus,
    .mobile-search-tab:active {
        outline: none;
        box-shadow: none;
    }

    .mobile-search-tab[data-mobile-search-tab="normal"].is-active {
        background: #fff;
        color: #333;
    }

    .mobile-search-tab[data-mobile-search-tab="ai"] {
        min-width: 116px;
        background: #a98fe2;
        color: #fff;
    }

    #mobileSearchBar.is-ai-mode .mobile-search-tab[data-mobile-search-tab="normal"] {
        background: #bcdcff;
        color: #184d85;
    }

    #mobileSearchBar.is-ai-mode .mobile-search-tab[data-mobile-search-tab="ai"] {
        background: #fff;
        color: #5d2dc7;
    }

    .mobile-search-panels {
        min-height: 153px;
        padding: 16px 12px 14px;
        border: 0;
        background: #fff;
        border-radius: 0 12px 12px 12px;
    }

    #mobileSearchBar.is-ai-mode > .row > .col {
        padding-bottom: 12px;
    }

    .mobile-search-panel[hidden] {
        display: none;
    }

    .mobile-tab-search-input {
        flex-wrap: nowrap;
        align-items: center;
        overflow: hidden;
        border: 0;
        border-radius: 18px;
        background: #fff;
        box-shadow: inset 0 0 0 1px #159ff0;
    }

    .mobile-tab-search-input .form-control {
        min-width: 0;
        height: 34px;
        padding: 0 8px;
        border: 0;
        color: #555;
        background-color: transparent;
        font-size: 17px;
        line-height: 34px;
        box-shadow: none;
    }

    .mobile-tab-search-input .form-control::placeholder {
        color: #777;
        opacity: 1;
    }

    .mobile-tab-search-input .input-group-append {
        flex: 0 0 auto;
    }

    .mobile-tab-search-input .input-group-text {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 34px;
        padding: 0;
        border: 0;
        border-radius: 0 18px 18px 0;
        background: transparent;
        color: #4a4a4a;
        cursor: pointer;
    }

    .mobile-tab-keyword-list {
        height: 76px;
        line-height: 24px;
    }

    .mobile-tab-keyword-list a {
        display: inline-block;
        margin-bottom: 4px;
        font-size: 14px;
    }

    .mobile-ai-tab-search-input {
        border-radius: 18px;
        box-shadow: inset 0 0 0 1px #6a35d5;
    }

    .mobile-ai-spark {
        flex: 0 0 auto;
        padding-left: 10px;
        color: #6a35d5;
        font-size: 18px;
        line-height: 1;
    }

    .mobile-ai-info {
        padding-top: 11px;
    }

    .mobile-ai-title {
        margin-bottom: 10px;
        color: #5d2dc7;
        font-size: 15px;
        font-weight: 700;
    }

    .mobile-ai-title span {
        margin-right: 5px;
    }

    .mobile-ai-prompt-list,
    .mobile-ai-recent-list {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .mobile-ai-prompt-list button {
        min-height: 30px;
        padding: 0 12px;
        border: 1px solid #bba3ef;
        border-radius: 16px;
        background: #fff;
        color: #5e34c6;
        font-size: 13px;
    }

    .mobile-ai-recent-title {
        margin-top: 12px;
        margin-bottom: 7px;
        color: #9b95a8;
        font-size: 13px;
    }

    .mobile-ai-recent-list button {
        min-height: 28px;
        padding: 0 10px;
        border: 0;
        border-radius: 14px;
        background: #ebecef;
        color: #6b6a72;
        font-size: 13px;
    }
}
