


.item .txts {
  margin-top: 8px;
  line-height: 1.4;
  height: calc(1.4em * 2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}




.swiper-container.bann { 
  width: 100%; 
}


.swiper-container.bann .swiper-slide a {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}


.swiper-container.bann .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.swiper-container.bann .swiper-slide p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 12px;
  color: #fff;
  line-height: 1.3;
  font-size: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
}


@media (max-width: 768px) {
  .swiper-container.bann .swiper-slide p { 
    font-size: 14px; 
  }
}


@media (min-width: 1200px) {
  .swiper-container.bann {
    max-width: 1100px;
    margin: 0 auto;
  }
}


@supports not (aspect-ratio: 1 / 1) {
  .swiper-container.bann .swiper-slide a { 
    position: relative; 
  }
  .swiper-container.bann .swiper-slide a::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
  .swiper-container.bann .swiper-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}



.copy-toast-global {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  transform: translate(-50%, -8px);
  z-index: 2147483647;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}

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

.copy-toast-global .msg {
  max-width: 90vw;
  padding: 10px 16px;
  border-radius: 999px;
  background: #e6f6fc; 
  color: #000; 
  line-height: 1.1;
  text-align: center;
  font-size: clamp(12px, 2.8vw, 16px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  backdrop-filter: saturate(160%) blur(6px);
  -webkit-backdrop-filter: saturate(160%) blur(6px);
  white-space: nowrap;
}




.friend-links {
  margin: 1px 0;
}

.friend-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.friend-links li {
  margin-bottom: 10px;
  padding: 5px;
}

.friend-links a {
  display: block;
  text-align: center;
  padding: 10px 0;
  border-radius: 25px;
  background: #e6f6fc;
  color: #333;
  font-size: 14px;
  transition: all 0.3s;
}

.friend-links a:hover {
  background: #d1eef8;
  color: #0078d7;
}



.list.pic-mode .item .imgs {
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.list.pic-mode .item .imgs::before {
  content: none !important;
  padding-top: 0 !important;
}
.list.pic-mode .item .imgs img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
.list.pic-mode .item .imgs .labs {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-size: 12px; color: #fff;
  background: rgba(0,0,0,.45);
  padding: 4px 8px;
}




.pic-detail{
  max-width:960px;
  margin:0 auto;
  padding:16px;
}
.pic-detail h1{
  font-size:20px;
  margin-bottom:10px;
  text-align:center;
}
.pic-detail .info{
  font-size:13px;
  color:#666;
  margin-bottom:14px;
  text-align:center;
}
.pic-detail .content img{
  width:100%;
  height:auto;
  border-radius:10px;
  display:block;
  margin:12px auto;
  cursor: zoom-in;
}


.lb-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  touch-action: manipulation;
}
.lb-overlay.show{ display:flex; }


.lb-stage{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  max-width:100vw;
  max-height:100vh;
  padding:24px;
  box-sizing:border-box;
}


.lb-img{
  max-width:96vw;
  max-height:92vh;
  object-fit:contain;
  display:block;
  border-radius:8px;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  margin:auto;
  cursor: zoom-out;
  touch-action: pan-y;
}


@media (min-width: 1025px){
  .lb-img{
    max-width: 96vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
  }
}


.lb-close, .lb-prev, .lb-next{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  color:#fff;
  line-height:1;
  border:none;
  cursor:pointer;
  border-radius:999px;
  user-select:none;
  background:rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  z-index:10000;


  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}


.lb-close{
  top:18px;
  right:18px;
  transform:none;
  width:42px;
  height:42px;
  font-size:20px;
}


.lb-prev{ left:20px; }
.lb-next{ right:20px; }


@media (max-width: 768px){
  .lb-prev{ left:10px; }
  .lb-next{ right:10px; }
}


.lb-close:hover, .lb-prev:hover, .lb-next:hover,
.lb-close:focus-visible, .lb-prev:focus-visible, .lb-next:focus-visible{
  background: rgba(0,0,0,.65);
  outline: none;
}


.lb-counter{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:18px;
  color:#fff;
  font-size:12px;
  opacity:.85;
  z-index:10000;
}


.view-tip{
  margin:-4px auto 12px;
  text-align:center;
  color:#8a8a8a;
  font-size:13px;
  line-height:1.6;
}


.view-tip__mobile{ display:inline; }
.view-tip__desktop{ display:none; }


@media (min-width:1025px){
  .view-tip__mobile{ display:none; }
  .view-tip__desktop{ display:inline; }
}




.novel-search-bar{
  width:100%;
  margin: 18px auto 6px;
  display:flex;
  justify-content:center;
}
.novel-search-bar .search{
  position:relative;
  width: 560px;
  max-width: calc(100% - 32px);
  height: 46px;
  border-radius: 28px;
  background: linear-gradient(90deg, #f2f7ff 0%, #ffeef3 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,.06) inset;
}

.novel-search-bar .search form{
  height:100%;
}

.novel-search-bar .search input[type="text"]{
  width:100%;
  height:100%;
  border:0;
  outline:0;
  background:transparent;
  border-radius: 28px;
  font-size:16px;
  color:#333;
  padding: 0 56px 0 18px;
  box-sizing: border-box;
}


.novel-search-bar .search input[type="submit"]{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border:0;
  background:transparent;
  cursor:pointer;
  opacity:0;
}




.novel-search-bar .search input::placeholder{
  color:#999;
}


@media (max-width: 768px){
  .novel-search-bar{ margin: 14px auto 0; }
  .novel-search-bar .search{ height:44px; width: 92%; }
  .novel-search-bar .search input[type="text"]{
    font-size:15px;
    padding: 0 52px 0 14px;
  }
  .novel-search-bar .search::after{
    right:12px;
    width:20px; height:20px;
  }
}