@media screen and (max-width:768px) {
  .navbar-toggle {
    left: auto;
    right: 20px;
    top: 20px;
    width: 32px;
    height: 32px;
  }

  .toggle-svg {
    width: 30px;
    height: 30px;
    margin: 1px;
  }

  .C-btn {
    width: 136px;
    height: 42px;
    background-size: 100% 100%;
  }

  .C-btn:hover {
    transform: translateY(-2px);
  }

  .C-bar {
    width: 3px;
    height: 123px;
    border-radius: 500px;
  }

  .C-bar .thumb {
    width: 100%;
    height: 60px;
    border-radius: 500px;
  }

  .navMenu {
    width: 100%;
    height: 100%;
  }

  .navMenu-mask {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .navMenu-list {
    left: 20px;
    top: 100px;
    width: calc(100% - 40px);
  }

  .navMenu-item {
    width: 100%;
    margin-bottom: 27px;
    letter-spacing: 1px;
    transform: translateY(15px);
  }

  .navMenu-item::after {
    bottom: -13px;
    width: 100%;
    height: 1px;
  }

  .newbook {
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
  }

  .newbook1 {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 80px 20px 40px;
    transform: none;
  }

  .newbook1-main {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .newbook1-cover {
    width: 200px;
  }

  .newbook1-right {
    width: 100%;
    margin-top: 0;
  }

  .newbook1-title {
    width: 200px;
  }

  .newbook1-info {
    height: 200px;
    margin-top: 20px;
  }

  .newbook1-txt {
    height: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .newbook1-bar {
    display: none;
  }

  .newbook1-btns {
    margin-top: 24px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .otherbook1 {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 80px 20px 40px;
    transform: none;
  }

  .otherbook1-panel {
    display: none;
    width: 100%;
  }

  .otherbook1-panel.on {
    display: flex;
  }

  .otherbook1-main {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .otherbook1-cover {
    width: 200px;
  }

  .otherbook1-right {
    width: 100%;
    margin-top: 0;
  }

  .otherbook1-title {
    letter-spacing: 1px;
  }

  .otherbook1-info {
    height: 200px;
    margin-top: 20px;
  }

  .otherbook1-txt {
    height: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .otherbook1-bar {
    display: none;
  }

  .otherbook1-btns {
    margin-top: 24px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .newbook .ai1 {
    height: calc(100vh - 80px);
    min-height: 480px;
    margin: 50px 20px 20px;
    overflow: hidden;
  }

  .newbook.chat-open .ai1 {
    height: calc(100vh - 80px);
    min-height: 480px;
    margin: 50px 20px 20px;
  }

  .newbook.chat-open .newbook1,
  .newbook.chat-open .otherbook1 {
    display: none;
  }

  .newbook1,
  .otherbook1,
  .outerbook1,
  .about1,
  .newbook .ai1 {
    display: none;
  }

  .newbook[data-page="newbook"]:not(.chat-open) .newbook1,
  .newbook[data-page="otherbook"]:not(.chat-open) .otherbook1,
  .newbook[data-page="outerbook"] .outerbook1,
  .newbook[data-page="about"] .about1,
  .newbook[data-page="ai"] .ai1,
  .newbook.chat-open .ai1 {
    display: flex;
  }

  .outerbook1 {
    flex-direction: column;
  }

  .about1 {
    flex-direction: column;
  }

  .newbook[data-page="newbook"] .newbook1-tabs,
  .newbook[data-page="otherbook"] .newbook1-tabs,
  .newbook[data-page="outerbook"] .newbook1-tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    position: relative;
    width: 90%;
    height: auto;
    overflow: auto;
    margin: 0 auto 40px;
    z-index: 4;
  }

  .newbook[data-page="outerbook"] .newbook1-tabs{
    top: auto;
    bottom: 0;
    display: none;
  }

  .newbook1-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .newbook1-list {
    width: max-content;
    min-width: 100%;
    height: 23px;
    border-right: 2px solid #FFF3EA;
  }

  .newbook1-tab {
    width: auto;
    min-width: 90px;
    height: 23px;
  }

  .newbook1-tabs::before,
  .newbook1-tabs::after {
    width: 100%;
    height: 1px;
  }

  .newbook1-tabs::before {
    
  }

  .newbook1-tabs::after {

  }

  .newbook1-list {
    width: max-content;
    min-width: 100%;
    height: 23px;
    border-right: 2px solid #FFF3EA;
  }

  .newbook1-tab {
    width: auto;
    min-width: 90px;
    height: 23px;
    border-left: 2px solid #FFF3EA;
    flex-shrink: 0;
  }

  .newbook1-tab a {
    width: 100%;
    height: 100%;
    padding: 0 8px 7px 8px;
  }

  .newbook1-tab.on::after {
    left: -1px;
    top: 19px;
    width: calc(100% + 2px);
    height: 4px;
  }

  .about {
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
  }

  .about1 {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 80px 20px 40px;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .about1-card {
    width: 100%;
    height: auto;
    padding: 20px;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    border-radius: 12px;
    backdrop-filter: blur(23px);
    -webkit-backdrop-filter: blur(23px);
  }

  .about1-pic {
    width: 180px;
  }

  .about1-pic img {
    border-radius: 10px;
  }

  .about1-right {
    width: 100%;
  }

  .about1-title {
    margin-top: 0;
    letter-spacing: 1px;
    text-align: center;
  }

  .about1-txt {
    height: 220px;
    margin-top: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .about1-txt .lead {
    margin-bottom: 12px;
  }

  .about1-btn {
    margin-top: 24px;
  }

  .about1-bar {
    display: none !important;
  }

  .outerbook {
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
  }

  .outerbook1 {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 80px 20px 40px;
    transform: none;
    height: 100vh;
  }

  .outerbook1-title {
    margin-left: 0;
    letter-spacing: 1px;
  }

  .outerbook1-stage {
    height: 80vh;
    margin-top: 24px;
  }

  .outerbook1-list {
    width: 100%;
    height: 100%;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
  }

  .outerbook1-item {
    width: 100%;
    height: auto;
    flex-shrink: 0;
  }

  .outerbook1-mask {
    left: auto;
    right: -1px;
    top: 0;
    width: 60px;
    height: 106%;
    background: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0) 100%);
    filter: blur(1px);
  }

  .outerbook1-flower {
    width: 160px;
    opacity: 0.5;
  }

  @keyframes outerbookFlowerFloat {
    0%,
    100% {
      transform: translate3d(0, 0, 0);
    }
    50% {
      transform: translate3d(0, -6px, 0);
    }
  }

  @keyframes innerEnterFlower {
    from {
      opacity: 0;
    }
    to {
      opacity: 0.5;
    }
  }

  .ai-page {
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
  }

  .ai1 {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: calc(100vh - 80px);
    min-height: 480px;
    margin: 50px 20px 20px;
    transform: none;
  }

  .ai1-inner {
    padding: 24px 20px 80px;
  }

  .ai1-close {
    right: 12px;
    top: 12px;
    width: 24px;
    height: 24px;
  }

  .ai1-hero {
    margin-top: 40px;
  }

  .ai1.chatting .ai1-input {
    margin-top: 15px;
  }

  .ai1-input {
    height: 80px;
    border-radius: 10px;
    padding: 1px;
    box-shadow: 5px 7px 9px rgba(0, 0, 0, .15);
    background: linear-gradient(91.72deg, rgb(26, 133, 255) 1.48%, rgb(255, 195, 142) 59.88%, rgb(220, 167, 255) 98.61%);
  }

  .ai1-input .box {
    border-radius: 10px;
  }

  .ai1-glass {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(23px);
    -webkit-backdrop-filter: blur(23px);
  }

  .ai1.chatting .ai1-hero {
    transform: translateY(-10px);
  }

  .ai1-sub {
    margin-top: 8px;
  }

  .ai1-field {
    left: 12px;
    right: 12px;
    top: 13px;
    width: auto;
    height: 29px;
    padding: 0 4px 0 0;
  }

  .ai1-field::-webkit-scrollbar {
    width: 2px;
  }

  .ai1-field::-webkit-scrollbar-track {
    margin: 2px 0;
    border-radius: 500px;
  }

  .ai1-field::-webkit-scrollbar-thumb {
    border-radius: 500px;
  }

  .ai1-bar {
    left: 12px;
    right: 10px;
    bottom: 11px;
    height: 32px;
  }

  .ai1-attach {
    width: 24px;
    height: 24px;
  }

  .ai1-attach img {
    width: 24px;
    height: 24px;
  }

  .ai1-send {
    width: 32px;
    height: 32px;
    border-radius: 500px;
  }

  .ai1-send img {
    width: 12px;
    height: 12px;
  }

  .ai1-send:hover {
    transform: translateY(-1px);
  }

  .ai-msg {
    margin-bottom: 16px;
  }

  .ai-msg.me {
    display: flex;
    justify-content: flex-end;
  }

  .ai-msg.me .bubble {
    max-width: calc(100% - 40px);
    padding: 6px 16px 6px 23px;
    border-radius: 10px;
  }

  .ai-think {
    margin-bottom: 9px;
  }

  .ai-think-head {
    display: inline-flex;
    gap: 5px;
  }

  .ai-think-arrow {
    width: 4px;
    height: 4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
  }

  .ai-msg.open .ai-think-body {
    max-height: 300px;
  }

  .ai-think-inner {
    padding-top: 7px;
    padding-left: 8px;
    border-left: 2px solid rgba(255, 255, 255, .12);
  }

  .ai-answer p+p {
    margin-top: 2px;
  }
}
