@charset "UTF-8";
.onboarding-tour.ant-tour {
  width: min(520px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
}

.route-progress[data-v-1cdb606c] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2000;
  background: linear-gradient(90deg, #1989fa, #4fc3f7);
  animation: route-progress-anim-1cdb606c 1.2s ease-in-out infinite;
  transform-origin: left;
}
@keyframes route-progress-anim-1cdb606c {
0% {
    transform: scaleX(0);
    transform-origin: left;
}
50% {
    transform: scaleX(0.6);
    transform-origin: left;
}
100% {
    transform: scaleX(1);
    transform-origin: right;
    opacity: 0;
}
}

:root {
  --main-width: 0;
  --theme-bg-color: #fff;
  --container-width: 1180px;
  --mobile-width: 480px;
  --header-height: 40px;
  --box-shadow: 0px 4px 25px 0px rgb(0 0 0 / 10%);
  /* 卡片背景与边框：默认白底灰边，护眼主题下在 main-layout.scss 覆盖为暖调。
     变量兜底值保证非护眼下与改前一致；不写死 #fff 让 theme-eye 切换无需 !important。 */
  --card-bg: #fff;
  --card-border: #f0f0f0;
  /* 入口条/可点条 浅色层次与图标块底色（默认冷调浅灰蓝，护眼主题覆盖为暖调浅黄） */
  --entry-bg: #f7f9fc;
  --entry-border: #eef1f6;
  --entry-bg-hover: #f0f7ff;
  --entry-icon-bg: #e6f1fb;
}

@media (min-width: 1440px) {
  :root {
    --container-width: 1360px;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: "chewy";
  src: url("https://cdn.xnyd.net/starreader/game/robot/fonts/Chewy.woff2") format("woff2");
}
html, body {
  background-color: var(--theme-bg-color);
  padding: 0 !important;
  margin: 0;
  font-size: 14px;
  line-height: 1.5715;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

mark {
  padding: 0;
  background: #ffd800;
}

.center {
  text-align: center !important;
}

.fixed-center-x {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.fixed-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slow-warn {
  display: none;
  font-size: 13px;
  width: 350px;
  padding: 10px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

.fix-error {
  display: block;
  position: absolute;
  text-align: center;
  width: 100%;
  bottom: 5px;
}

.swiper-button-prev, .swiper-button-next {
  margin-top: 0;
  left: 5px;
}

.swiper-button-next {
  left: auto;
  right: 5px;
}

a {
  text-decoration: none;
  color: #1890ff;
  cursor: pointer;
}
a:active, a:hover {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0 10px;
}
ul.disc {
  list-style: disc;
}

.success, .green, success {
  color: green;
}

.red, .failed, failed {
  color: red;
}

main, .container {
  max-width: var(--container-width);
  margin: 0 auto;
}

main {
  padding: 20px;
}

/* antd v5 css-in-js 缓存冲突修复（2026-08-25 实测）：
   Modal 组件渲染时，cssinjs 会把 Modal 的定位样式（top:100px / pointer-events:none / max-width:calc(100vw-32px)）
   错误合并进 .ant-tabs 基础规则（style 标签 data-cache-path 形如 "…|Modal|ant-tabs|anticon"），
   导致同页面所有 .ant-tabs 被整体下推 100px、不可点、宽度被压成 calc(100vw-32px)。
   触发页面：/profile（MyProfile 播放/重命名 Modal）、书详情 BookHomepage（词汇表下载 Modal）、
   Admin 用户详情面板等「a-tabs + a-modal 共存」页面。
   这里重置为 antd 默认值：.ant-tabs 的 top 应为 auto（无定位偏移）、pointer-events 应为 auto（可交互）、
   max-width 应为 none（不设宽度上限）。选择器特异性 (0,1,0) 高于 :where() 注入规则（特异性 0），无需 !important。 */
.ant-tabs {
  top: auto;
  pointer-events: auto;
  max-width: none;
}

/* antd v5 modal wrap 居中防御（2026-08-27 实测）：
   现象：分享弹窗 ShareModal、词汇下载 Modal 等所有 a-modal 不垂直居中、位置异常。
   根因：ant-design-vue 4.2.6 cssinjs 注入了 .ant-modal-content / .ant-modal-header / .ant-modal-close 等内部样式，
   但 .ant-modal-wrap 的容器定位样式（position:fixed; display:flex; align-items:center; justify-content:center）
   与 .ant-modal 的 position:relative 漏注入 —— wrap 退化为默认 block 布局，modal 没有正确居中。
   这里强制覆盖为 antd 默认值（与 antd v4 / blazor 一致），特异性 (0,1,0) 高于 cssinjs :where()（特异性 0）。 */
.ant-modal-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ant-modal {
  position: relative;
  pointer-events: auto;
  margin: 0;
}

.card-shadow {
  box-shadow: var(--box-shadow);
}

.book-drawer {
  height: var(--drawer-height) !important;
}
.book-drawer .ant-drawer-content-wrapper {
  height: var(--drawer-height, auto) !important;
}
.book-drawer .actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 10px 10px;
  border-bottom: 1px solid #ccc;
  align-items: center;
}
.book-drawer .actions h3 {
  font-size: 14px;
  width: calc(100% - 70px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.book-drawer .ant-drawer-header-no-title {
  text-align: right;
}
.book-drawer .ant-drawer-body .swiper {
  width: 100%;
  height: 100%;
}
.book-drawer .swiper-slide {
  text-align: center;
}
.book-drawer img {
  max-width: 100%;
  max-height: 100%;
}

.recorder-drawer .actions {
  justify-content: space-around;
}
.recorder-drawer .actions .audio {
  width: 300px;
}
@media (max-width: 480px) {
  .recorder-drawer .actions {
    flex-direction: column-reverse;
  }
  .recorder-drawer .actions .audio {
    padding-top: 5px;
  }
}

.loading-box {
  position: fixed;
  text-align: center;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  line-height: 100vh;
  vertical-align: middle;
  font-size: 1.5rem;
}
.loading-box .iconfont {
  font-size: 1.5rem;
}

.loading-box-progress {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.loading-box-progress > div {
  width: 360px;
  max-width: min(360px, 86vw);
}

.ant-divider-horizontal {
  margin: 16px 0;
}

audio {
  width: 100%;
  height: 35px;
}
audio::-webkit-media-controls-enclosure {
  border-radius: 3px;
}

#sound {
  display: none;
}

.ant-tag {
  display: inline-flex;
}

.flex-center {
  display: flex;
  justify-content: center !important;
}

.hide {
  display: none;
}

.ant-select-dropdown {
  padding: 0;
}

@media (max-width: 480px) {
  main {
    padding: 5px;
  }
  .slow-warn {
    display: block;
  }
}
@media (display-mode: standalone) {
  html {
    padding: 0;
  }
}
.ant-input,
.ant-input-affix-wrapper,
.ant-input-affix-wrapper > .ant-input {
  border-radius: 2px !important;
}

.ant-select + .ant-select {
  margin-left: 8px;
}

.ant-alert {
  padding: 15px !important;
}

.ant-picker-cell {
  padding: 0 !important;
}

.ant-picker-cell-in-view .ant-picker-cell-inner {
  min-height: 22px !important;
  line-height: 22px !important;
  padding: 0 !important;
}

.ant-card-head-title {
  font-weight: 500 !important;
  padding: 16px 0 !important;
}

@media (max-width: 480px) {
  .ant-tabs-tab .ant-tabs-tab-btn {
    font-size: 12px;
  }
  .ant-tabs-tab + .ant-tabs-tab {
    margin-left: 16px !important;
  }
}
.record-silent-warn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1em;
  line-height: 1;
  vertical-align: -0.15em;
  margin-left: 4px;
  color: #ff4d4f;
  font-size: 13px;
  cursor: pointer;
}.theme-eye {
  background-color: #faf9de;
  --theme-bg-color: #faf9de;
  --card-bg: #fdfcec;
  --card-border: #e6e3c0;
  --entry-bg: #f5f3d9;
  --entry-border: #e6e3c0;
  --entry-bg-hover: #f7f4dc;
  --entry-icon-bg: #efeccb;
}
.theme-eye .page-index,
.theme-eye profile,
.theme-eye .ant-card,
.theme-eye .ant-tabs-tabpane,
.theme-eye .login-form {
  background-color: #fdfcec;
}
.theme-eye ::selection {
  background: #d6e8d0;
}

.login-form {
  width: 400px;
}
.login-form form > div:last-child {
  margin-top: 10px;
  text-align: right;
}
.login-form countdown {
  color: #999;
}

login-wrapper {
  height: calc(100vh - 80px);
  display: flex;
}

.main-footer {
  justify-content: center;
  gap: 10px;
  border-top: 1px solid #ccc;
  width: 100%;
  color: #999;
  display: none;
  position: fixed;
  bottom: 10px;
}
@media all and (display-mode: browser) {
  .main-footer {
    display: flex;
  }
}
.main-footer a {
  color: #999;
}

.login-form.fixed-center.ant-card,
.login-form.fixed-center[class*=ant-card] {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

@media (max-width: 480px) {
  .login-form {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    margin-top: env(safe-area-inset-top, 0);
  }
}.main-header {
  width: 100%;
  box-sizing: border-box;
  padding: 0 calc((100% - var(--container-width)) / 2);
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  height: var(--header-height);
  display: flex;
  border-radius: 0;
  align-items: center;
  justify-content: flex-end;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.1);
}
.main-header > a {
  display: flex;
  margin-left: 10px;
  align-items: center;
}
.main-header .ant-input-affix-wrapper {
  flex: 1;
}
.main-header .admin {
  margin-right: 10px;
}
.main-header .name {
  flex: 1;
  display: block;
  margin-right: 10px;
}
.main-header .stars {
  display: flex;
  align-items: center;
}
.main-header .stars img {
  width: 16px;
  height: 16px;
  margin-right: 3px;
}

search-result {
  margin: 0 auto;
  padding: 0;
  position: fixed;
  width: 100%;
  top: calc(var(--header-height) + 10px);
  height: calc(100% - var(--header-height) - 10px);
  z-index: 100;
  background: #fff;
  padding: 0 calc((100% - var(--container-width)) / 2);
  overflow-y: scroll;
}

.user-profile {
  padding: 0 calc((100% - var(--container-width)) / 2);
}
.user-profile panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
}
.user-profile panel h3 {
  font-size: 15px;
}
.user-profile panel label {
  color: #8493a5;
}
.user-profile panel .wrap h3 {
  display: block;
}
.user-profile .logout {
  text-align: center;
  margin-top: 15px;
}

@media (max-width: 480px) {
  header {
    padding: 0 10px;
    justify-content: space-between;
  }
  header .ant-input-affix-wrapper {
    width: 264px;
    position: static;
    transform: none;
  }
  header .name, header .admin {
    display: none;
  }
}
.modal-edit-password .footer {
  display: flex;
  justify-content: space-between;
}progress-bar {
  --width: 150px;
  display: block;
  position: relative;
  border: #ccc solid 1px;
  width: var(--width);
  height: 1.5em;
  line-height: 1.5em;
  vertical-align: midle;
  overflow: hidden;
}
progress-bar > b {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: hidden;
  font-weight: normal;
}
progress-bar > b:before {
  position: absolute;
  display: block;
  width: var(--width);
  height: 100%;
  text-align: center;
  content: var(--label);
}
progress-bar > b:first-child {
  background: var(--bar-color);
  left: 0;
  width: var(--p);
}
progress-bar > b:first-child:before {
  left: 0;
  color: #fff;
}
progress-bar > b:last-child {
  background: #fff;
  right: 0;
  width: calc(100% - var(--p));
}
progress-bar > b:last-child:before {
  right: 0;
  color: #333;
}
books-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 180px));
  grid-gap: 1em;
  justify-content: center;
  margin-top: 20px;
}
@media (min-width: 1440px) {
  books-list {
    grid-template-columns: repeat(7, 1fr);
  }
}
books-list > a {
  border: 1px solid #ccc;
  border-radius: 3px;
  display: block;
  position: relative;
  padding: 2px;
}
books-list > a img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  max-height: 100%;
  display: block;
}
books-list .ico-flag {
  position: absolute;
  font-size: 45px;
  left: -10px;
  top: -20px;
}
books-list label {
  position: absolute;
  display: inline-block;
  font-size: 80%;
  z-index: 10;
  right: 0;
  top: 0;
  height: 20px;
  text-align: center;
  min-width: 20px;
  background: gray;
  color: #fff !important;
  border-bottom-left-radius: 3px;
  border-top-right-radius: 3px;
}
books-list .fav .anticon {
  border-radius: 50%;
  color: red;
  border: 1px solid red;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
books-list .fav {
  background: #fff;
  font-size: 16px;
  left: 0;
  top: 35px;
  width: 20px;
}
books-list name {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  padding: 2px;
  text-align: center;
  width: 100%;
  color: #000;
  border-top: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.9);
  font-size: 90%;
  line-height: 1em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
books-list lock {
  left: 0;
  width: 100%;
  height: calc(100% - 2px);
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  color: #000;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}
books-list lock i {
  font-size: 32px !important;
}
books-list .studies {
  position: absolute;
  right: 0;
  top: 23px;
  width: 24px;
  background: #fff;
  color: gray;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
}
books-list .studies i {
  margin-bottom: 5px;
  position: relative;
}
books-list .studies i:after {
  content: "✔";
  color: green;
  position: absolute;
  left: 5px;
  top: 3px;
  font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", "DejaVu Sans", Arial, sans-serif;
}
books-list a:hover {
  box-shadow: var(--box-shadow);
}
books-list a:hover name {
  background: rgba(43, 34, 34, 0.6);
  color: #fff;
}
books-list ::-webkit-scrollbar {
  display: none;
}

@media (max-width: 480px) {
  books-list {
    grid-template-columns: repeat(3, 1fr);
  }
  books-list .ico-flag {
    font-size: 30px;
    top: -15px;
    left: -3px;
  }
  books-list .studies .ico {
    font-size: 80%;
  }
}calendar {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: var(--box-shadow);
}
calendar .calendar-header {
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
calendar .calendar-header > div {
  display: inline-block;
  margin-right: 10px;
}
calendar .calendar-header > div:last-child {
  float: right;
  margin-right: 0;
}
calendar .calendar-header b {
  color: red;
}
calendar .ant-select {
  width: 92px !important;
}
calendar .ant-select:last-child {
  width: 77px !important;
}
calendar .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner {
  color: #000 !important;
  background: #fff !important;
}
calendar .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner::before {
  border-width: 0;
}
calendar .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner {
  color: #fff !important;
  background: #1890ff !important;
}
calendar .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
  border-width: 1px;
}
calendar .study-summary {
  margin: 0 10px;
}
calendar .study-summary li {
  list-style: disc;
}
calendar .study-summary label {
  color: red;
}
calendar .study-summary .notes {
  color: gray;
  list-style: none;
}
calendar .study-summary .notes b {
  font-size: 200%;
  color: green;
  position: relative;
  top: 3px;
}
calendar .stars {
  display: flex;
  align-items: center;
}
calendar .stars img {
  width: 16px;
  height: 16px;
  margin-left: 5px;
}
calendar .stars a {
  margin-left: 10px;
}
calendar .month-nav {
  padding: 4px 10px;
}
calendar .studied-dot {
  width: 6px;
  height: 6px;
  background: green;
  border-radius: 50%;
  margin: 2px auto 0;
}

@media (max-width: 480px) {
  calendar {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}.robot-viewer {
  position: absolute;
  height: 700px;
  width: 400px;
  top: 50%;
  left: 50%;
}
.robot-viewer img {
  position: absolute;
}
.robot-viewer {
  /*  @media screen and (min-height: 800px) {
        & {
            bottom: 0;
            height: 700px;
            left: 0;
            margin: auto;
            right: 0;
            top: 0;
            position: absolute
        }
    }*/
}
.words-list words {
  display: block;
  max-height: 116px;
  overflow-y: auto;
}
.words-list words .ant-tag {
  margin: 0;
  cursor: pointer;
}
.words-list freq {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.words-list word-title {
  display: flex;
  align-items: center;
}
.words-list word-title .fav-word {
  color: red;
  font-size: 20px;
}
.words-list word-title tags {
  display: inline-block;
  display: inline-block;
}
.words-list word-title tags b {
  font-weight: normal;
  color: #333;
  border: 1px solid #333;
  border-radius: 3px;
  margin-right: 5px;
  padding: 0 2px;
}
.words-list word-audio {
  display: flex;
}
.words-list .tag-zk::before {
  content: "中考";
}
.words-list .tag-gk::before {
  content: "高考";
}
.words-list .tag-ky::before {
  content: "考研";
}
.words-list .tag-cet4::before {
  content: "四级";
}
.words-list .tag-cet6::before {
  content: "六级";
}
.words-list .tag-ielts::before {
  content: "雅思";
}
.words-list .tag-toefl::before {
  content: "托福";
}
.words-list .tag-gre::before {
  content: "GRE";
}
.words-list .cara {
  color: #8e0922;
  font-weight: bold;
}
.words-list .exp {
  color: #3e3e3e;
}
.words-list .eg {
  color: #8e0922;
}ai-container {
  margin: 0 auto;
  display: block;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: #fff;
}
ai-container > messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
ai-container message {
  display: flex;
  margin-bottom: 16px;
}
ai-container message.user {
  flex-direction: row-reverse;
}
ai-container message > content {
  padding: 4px 8px;
  width: calc(100% - 100px);
  position: relative;
  border-radius: 3px;
}
ai-container message > content > text {
  margin-bottom: 4px;
  line-height: 1.4;
}
ai-container message > content > text p {
  margin: 3px;
}
ai-container message .ico {
  display: flex;
  font-size: 32px;
  margin: 0 8px;
}
ai-container .user content {
  background-color: #4a6fa5;
  color: white;
  border-bottom-right-radius: 4px;
}
ai-container .ai content {
  background-color: #e9ecef;
  color: #333;
  border-bottom-left-radius: 4px;
}
ai-container .ai .message-time {
  text-align: left;
}
ai-container .typing-indicator {
  display: flex;
  padding: 12px 0;
}
ai-container .typing-indicator b {
  height: 8px;
  width: 8px;
  background-color: #6c757d;
  border-radius: 50%;
  margin: 0 2px;
  opacity: 0.6;
  animation: typing 1s infinite;
}
ai-container .typing-indicator b:nth-child(2) {
  animation-delay: 0.2s;
}
ai-container .typing-indicator b:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typing {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}.ant-splitter-horizontal {
  height: calc(100% - 60px);
}

.ant-splitter-panel {
  padding: 5px !important;
}

.ai-teacher.book-drawer {
  height: 100% !important;
}
.ai-teacher.book-drawer .ant-drawer-content-wrapper {
  height: 100% !important;
}
.ai-teacher book {
  max-width: 970px;
  padding: 20px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}
.ai-teacher book page section {
  font-size: 0;
  display: flex;
  flex-wrap: wrap;
}
.ai-teacher book page section > b {
  font-size: 14px;
}
.ai-teacher book page section > b:last-child {
  display: none;
}
.ai-teacher book page page-divider {
  align-items: center;
  border: 0 solid #1989fa;
  color: #1989fa;
  display: flex;
  font-size: 14px;
  line-height: 24px;
  margin: 16px 0;
}
.ai-teacher book page page-divider:after, .ai-teacher book page page-divider:before {
  border-width: 1px 0 0;
  box-sizing: border-box;
  flex: 1;
  height: 1px;
  border-style: inherit;
  content: "";
}
.ai-teacher book page page-divider:before {
  margin-right: 16px;
}
.ai-teacher book page page-divider:after {
  margin-left: 16px;
}
.ai-teacher book w {
  word-wrap: normal;
  font-size: 14px;
}
.ai-teacher book .current-phrase {
  background: #ff0;
}
.ai-teacher book .title-page {
  text-align: center;
}
.ai-teacher book .title-page phrase {
  display: inline-block;
  margin-left: 20px;
}
.ai-teacher book .title-page phrase:first-child {
  font-weight: bold;
  display: block;
}star-ranks .tip {
  margin-bottom: 10px;
}
star-ranks .tip span {
  font-weight: bold;
  margin: 0 5px;
}
star-ranks .tip li {
  list-style: disc;
}
star-ranks list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 480px) {
  star-ranks list {
    grid-template-columns: repeat(1, 1fr);
  }
}
star-ranks user {
  display: flex;
  height: 150px;
  align-items: center;
  border: 1px solid #ccc;
  padding: 10px;
}
star-ranks user robot {
  display: block;
  height: 150px;
  position: relative;
  width: 90px;
}
star-ranks user-info {
  display: flex;
  flex-direction: column;
  width: 170px;
  font-size: 18px;
}
star-ranks user-info name {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid red;
}
star-ranks user-info name b {
  font-family: chewy, verdana, arial;
  margin-right: 5px;
}
star-ranks user-info stars b {
  font-family: chewy, verdana, arial;
  font-weight: normal;
}

.robot-large {
  position: relative;
  height: 300px;
}
referrerd-users {
  display: block;
}
referrerd-users .ant-divider-inner-text b {
  color: green;
}
referrerd-users list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 360px);
  grid-gap: 1em;
  justify-content: center;
}
referrerd-users list > user {
  display: flex;
  justify-content: space-between;
  border: 1px solid #ccc;
  padding: 5px;
}
referrerd-users list > user phone::before {
  content: "手机：";
  font-weight: bold;
}
referrerd-users list > user time::before {
  content: "注册时间：";
  font-weight: bold;
}.page-index .categories {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  grid-gap: 30px;
}
.page-index .categories > a {
  width: 100%;
  display: block;
}
.page-index .categories > a:hover {
  box-shadow: var(--box-shadow);
}
.page-index .ant-tabs-tab + .ant-tabs-tab {
  margin-left: 24px;
}
.page-index game {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  aspect-ratio: 16/10;
  min-height: 120px;
  background: #e5dfdb;
  border: 2px solid #c0dd97;
  border-radius: 16px;
}
.page-index game img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  overflow: hidden;
}
.page-index game.game-robot img {
  object-fit: cover;
}
.page-index game.game-orchard img {
  object-fit: cover;
}
.page-index game h3 {
  font-size: 28px;
  font-weight: 700;
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.85), 0 0 10px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.6);
}
.page-index category {
  display: block;
  width: 100%;
  position: relative;
}
.page-index category h3 {
  position: absolute;
  width: 100%;
  bottom: 0;
  background: #1e1e1e;
  padding: 3px;
  margin: 0;
  color: #fff;
  text-align: center;
  opacity: 0.6;
  font-weight: normal;
}
.page-index cover {
  position: relative;
  height: 200px;
  display: block;
}
.page-index cover tip {
  position: absolute;
  display: block;
  padding: 10px;
  background: #fff;
  opacity: 0.9;
  font-size: 20px;
  color: green;
  width: 100%;
  text-align: center;
  border-radius: 3px;
  border: 2px solid #fff;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.page-index cover span {
  position: absolute;
  display: inline-block;
  top: 0;
  right: 0;
  background: #1e1e1e;
  padding: 2px 5px;
  margin: 0;
  color: #fff;
  opacity: 0.6;
  border-bottom-left-radius: 3px;
}
.page-index cover img {
  position: absolute;
  height: 87.5%;
  border: 1px solid #ccc;
}
.page-index cover img:nth-child(1) {
  left: 8px;
  top: 8px;
  transform: rotate(-8deg);
}
.page-index cover img:nth-child(2) {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}
.page-index cover img:nth-child(3) {
  left: auto;
  right: 12px;
  top: 8px;
  transform: rotate(8deg);
}
.page-index profile {
  display: block;
  padding: 15px;
  box-shadow: var(--box-shadow);
}
.page-index profile .ant-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 2px;
}
.page-index profile .ant-card-body {
  padding: 24px;
}
.page-index profile .ant-tabs-nav .anticon-heart {
  color: red;
  margin-right: 5px;
  font-size: 16px;
}
.page-index profile .ant-tabs-nav .ico-flag {
  font-size: 20px;
  position: absolute;
  top: 5px;
}
.page-index profile .ant-tabs-nav flags {
  display: flex;
  align-items: center;
}
.page-index profile .ant-tabs-nav flags .ico-flag {
  position: relative;
  display: inline-block;
  top: 1px;
  width: 14px;
}
.page-index profile .ant-tabs-nav flags span {
  margin-left: 3px;
}
.page-index profile panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
  max-width: 400px;
  margin: 0 auto;
}
.page-index profile .footer {
  margin-top: 15px;
  justify-content: space-evenly;
  border-bottom: none;
}
.page-index authorized-levels {
  display: block;
  margin-bottom: 15px;
}
.page-index authorized-levels > div h4 {
  border-bottom: 1px solid #ccc;
}
.page-index authorized-levels > div .ant-space {
  padding: 0 10px;
}

.stars-change {
  margin-bottom: 10px;
}
.stars-change td {
  border-bottom: 1px solid #ccc;
  padding: 3px;
  max-height: 50px;
  overflow: hidden;
}
.stars-change img {
  width: 30px;
}

.license-info .ant-modal-body {
  padding: 15px;
}

.parent-settings panel h3, .page-index profile panel h3 {
  font-size: 15px;
}
.parent-settings panel label, .page-index profile panel label {
  color: #8493a5;
}
.parent-settings panel .wrap h3, .page-index profile panel .wrap h3 {
  display: block;
}
.parent-settings panel .wrap .theme, .page-index profile panel .wrap .theme {
  display: flex;
  align-items: center;
}
.parent-settings panel .wrap .theme b, .page-index profile panel .wrap .theme b {
  margin-left: 5px;
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
}
.parent-settings panel .inline h3, .page-index profile panel .inline h3 {
  width: 100px;
  display: inline-block;
}
.parent-settings panel .ant-checkbox-group, .page-index profile panel .ant-checkbox-group {
  display: flex !important;
  flex-wrap: wrap;
}
.parent-settings panel .ant-checkbox-group > label, .page-index profile panel .ant-checkbox-group > label {
  width: 45%;
}
.parent-settings panel, .page-index profile panel {
  border-bottom: 1px solid #ccc;
}
.parent-settings footer, .page-index profile footer {
  display: flex;
  justify-content: end;
  padding-top: 8px;
  margin-top: 8px;
}
.parent-settings footer button, .page-index profile footer button {
  margin: 5px 0;
}
.parent-settings footer button:last-child, .page-index profile footer button:last-child {
  margin-left: 10px;
}
.parent-settings footer.parent-login, .page-index profile footer.parent-login {
  justify-content: space-between;
}

.parent-settings panel {
  display: block;
  margin-top: 8px;
}

profile {
  display: block;
  padding: 15px;
  box-shadow: var(--box-shadow);
}
profile .ant-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 2px;
}
profile .ant-card-body {
  padding: 24px;
}
profile panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
  max-width: 400px;
  margin: 0 auto;
}
profile panel h3 {
  font-size: 15px;
}
profile panel label {
  color: #8493a5;
}
profile panel .wrap h3 {
  display: block;
}
profile panel .wrap .theme {
  display: flex;
  align-items: center;
}
profile panel .wrap .theme b {
  margin-left: 5px;
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
}
profile panel .inline h3 {
  width: 100px;
  display: inline-block;
}
profile panel .ant-checkbox-group {
  display: flex !important;
  flex-wrap: wrap;
}
profile panel .ant-checkbox-group > label {
  width: 45%;
}
profile .footer {
  margin-top: 15px;
  justify-content: space-evenly;
  border-bottom: none;
}

@media (max-width: 480px) {
  .page-index .categories {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
  }
  .page-index cover {
    aspect-ratio: 6/5;
    height: auto;
    max-height: 260px;
  }
  .page-index cover tip {
    padding: 10px;
  }
  .page-index .favorites .ant-tabs-tab {
    margin-left: 10px;
  }
  .page-index .favorites books-list name {
    display: none;
  }
}
.page-category .ant-drawer-body {
  padding: 1em;
}
.page-category .ant-drawer-body a {
  display: flex;
  white-space: nowrap;
  border-bottom: 1px solid #ccc;
  font-size: 15px;
  text-decoration: none;
  color: #000;
  align-items: center;
}
.page-category .ant-drawer-body a:hover {
  background: #f8d591;
}
.page-category .ant-drawer-body a grade {
  margin: 0 5px;
}
.page-category .ant-drawer-body a name {
  display: block;
  opacity: 0.4;
  position: relative;
  padding: 2px 4px;
  width: 32px;
  text-align: center;
  font-weight: bold;
  padding-left: 5px;
  color: #fff;
}
.page-category .ant-drawer-body a name.selected {
  opacity: 1;
}
.page-category .ant-drawer-body a name.selected:before {
  position: absolute;
  content: "➤";
  color: red;
  left: -10px;
}
.page-category .ant-drawer-body a name.misc {
  width: 140px;
  margin-right: 5px;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: left;
  white-space: nowrap;
}
.page-category .ant-drawer-body a > label {
  display: inline-block;
  width: 75px;
  margin-left: 10px;
  text-align: right;
}
.page-category .ant-breadcrumb-link span {
  margin-left: 5px;
}
.page-category .ant-breadcrumb button {
  margin-left: 5px;
}
.page-category .ant-drawer-header {
  position: relative;
}
.page-category .ant-drawer-close {
  position: absolute !important;
  top: 8px;
  right: 12px;
}
.page-category .level-aa, .page-category .misc {
  background: #d81414;
  border-color: #810a0a;
}
.page-category .level-A {
  background: #f04d83;
  border-color: #841137;
}
.page-category .level-B {
  background: #c729a7;
  border-color: #6d0d5a;
}
.page-category .level-C {
  background: #8b1b66;
  border-color: #460932;
}
.page-category .level-D {
  background: #660066;
  border-color: #310231;
}
.page-category .level-E {
  background: #000066;
  border-color: #01012a;
}
.page-category .level-F {
  background: #1515af;
  border-color: #090958;
}
.page-category .level-G {
  background: #1e1ee5;
  border-color: #0b0b8a;
}
.page-category .level-H {
  background: #5353ee;
  border-color: #1212b5;
}
.page-category .level-I {
  background: #2f89e3;
  border-color: #12579c;
}
.page-category .level-J {
  background: #2ac0e5;
  border-color: #198daa;
}
.page-category .level-K {
  background: #1bdbdb;
  border-color: #0fabab;
}
.page-category .level-L {
  background: #1af1c6;
  border-color: #10b594;
}
.page-category .level-M {
  background: #1efaa2;
  border-color: #3bcb91;
}
.page-category .level-N {
  background: #00cc66;
  border-color: #13824b;
}
.page-category .level-O {
  background: #04934c;
  border-color: #046334;
}
.page-category .level-P {
  background: #009933;
  border-color: #046524;
}
.page-category .level-Q {
  background: #056625;
  border-color: #03471a;
}
.page-category .level-R {
  background: #00a329;
  border-color: #038423;
}
.page-category .level-S {
  background: #42d012;
  border-color: #31a60a;
}
.page-category .level-T {
  background: #a6ca15;
  border-color: #78930c;
}
.page-category .level-U {
  background: #d5d500;
  border-color: #b7b703;
}
.page-category .level-V {
  background: #e7bc12;
  border-color: #c59f09;
}
.page-category .level-W {
  background: #ffcc00;
  border-color: #cda60a;
}
.page-category .level-X {
  background: #ff9900;
  border-color: #c57906;
}
.page-category .level-Y {
  background: #ff6633;
  border-color: #b1411b;
}
.page-category .level-Z {
  background: #cc3300;
  border-color: #802507;
}
.page-category .level-Z1 {
  background: #B32D00;
  border-color: #802507;
}
.page-category .level-Z2 {
  background: #A42900;
  border-color: #802507;
}

.ant-drawer-header {
  position: relative;
}

.ant-drawer-close {
  position: absolute !important;
  top: 8px;
  right: 12px;
}
.page-book-homepage book-header {
  display: flex;
  position: relative;
}
.page-book-homepage book-header cover {
  display: flex;
  flex-direction: column;
}
.page-book-homepage book-header cover .ico-flag {
  position: absolute;
  top: -22px;
  font-size: 50px;
}
.page-book-homepage book-header cover tag-color-selector {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.page-book-homepage book-header cover tag-color-selector a {
  flex: 1;
  margin: 3px;
  border: 1px solid #ccc;
  padding: 2px;
}
.page-book-homepage book-header cover tag-color-selector a.actived {
  position: relative;
}
.page-book-homepage book-header cover tag-color-selector a.actived:after {
  content: "✔";
  color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", "DejaVu Sans", Arial, sans-serif;
}
.page-book-homepage book-header cover tag-color-selector a b {
  display: block;
  height: 20px;
}
.page-book-homepage book-header img {
  width: 200px;
  height: 200px;
  border: 1px solid #ccc;
  padding: 3px;
}
.page-book-homepage book-header table {
  flex: 1;
  margin-left: 20px;
}
.page-book-homepage book-header table h3 {
  font-weight: 500;
}
.page-book-homepage book-header table td {
  padding: 3px;
}
.page-book-homepage book-header table td:first-child {
  width: 80px;
}
.page-book-homepage book-header table words-count {
  display: inline-block;
  width: 40px;
}
.page-book-homepage book-header .fav {
  position: absolute;
  left: 165px;
  top: 160px;
}
.page-book-homepage book-header .fav .anticon {
  border-color: red;
  color: red;
}
.page-book-homepage .record-name {
  max-width: 175px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.page-book-homepage .study-history .ant-tag-blue-inverse {
  cursor: pointer;
  margin-bottom: 5px;
}
.page-book-homepage .study-history .ant-tag b {
  margin-right: 8px;
}
.page-book-homepage .actions .anticon, .page-book-homepage .actions .ico, .page-book-homepage .fav .anticon, .page-book-homepage .fav .ico {
  color: #09bb07;
  border: 1px solid #09bb07;
  border-radius: 50%;
  font-size: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 5px 0 0;
  cursor: pointer;
}
.page-book-homepage .actions td {
  display: flex;
  height: 43px;
}
.page-book-homepage .actions .active {
  background: #1b8ce2;
  color: #fff;
  cursor: default;
}

@media (max-width: 480px) {
  .page-book-homepage book-header img {
    max-width: 160px;
    max-height: 160px;
  }
  .page-book-homepage book-header .fav {
    left: 125px;
    top: 120px;
  }
  .page-book-homepage book-header table {
    margin-left: 15px;
  }
}
.book-player {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  box-sizing: border-box;
  background: #fff;
}
.book-player .return {
  position: absolute;
  color: #666;
  top: -2px;
  left: 10px;
  z-index: 200;
}
.book-player .return .ico {
  font-size: 30px;
}
.book-player cover-btn {
  z-index: 100;
}
.book-player cover-btn:empty {
  display: none;
}
.book-player cover-btn .ico {
  font-size: 200px;
  height: 204px;
  line-height: 200px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
  cursor: pointer;
  padding: 2px;
}
@media (min-aspect-ratio: 1/1) and (max-height: 560px) {
  .book-player cover-btn .ico {
    font-size: min(200px, (100vh - 100px) * 0.28);
    height: 1.02em;
    line-height: 1em;
    padding: 0.01em;
  }
}
.book-player page-img-box {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.book-player page-img-box img {
  object-fit: contain;
  max-width: 100%;
  max-height: calc(100% - 100px);
  transform-origin: top center;
  transform: translateY(-40px);
}
.book-player word-indicator {
  height: 3px;
  background: #eb9b1e;
  position: absolute;
}
.book-player words-layer {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  transform: translateY(-40px);
}
.book-player words-layer w {
  position: absolute;
  display: inline-block;
  opacity: 0.2;
}
.book-player .dict-mini-btn {
  position: absolute;
  right: 12px;
  bottom: 64px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  background: rgba(24, 144, 255, 0.95);
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.book-player .dict-mini-btn .ico {
  font-size: 17px;
}
.book-player .pron-eval-card {
  position: absolute;
  right: 12px;
  bottom: 64px;
  z-index: 150;
  width: min(330px, 100% - 24px);
  box-sizing: border-box;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.book-player .pron-eval-card.pe-error {
  border-color: #ffccc7;
}
.book-player .pron-eval-card.pe-no-score {
  border-color: #ffe58f;
}
.book-player .pron-eval-card .pe-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.book-player .pron-eval-card .pe-head.pe-great {
  color: #237804;
}
.book-player .pron-eval-card .pe-head.pe-good {
  color: #d46b08;
}
.book-player .pron-eval-card .pe-head.pe-gibber {
  color: #cf1322;
}
.book-player .pron-eval-card .pe-score {
  font-size: 22px;
  line-height: 1;
}
.book-player .pron-eval-card .pe-verdict {
  font-size: 14px;
}
.book-player .pron-eval-card .pe-token-warn {
  font-size: 12px;
  font-weight: 400;
  color: #fa8c16;
  margin-left: auto;
}
.book-player .pron-eval-card .pe-ref {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  word-break: break-word;
}
.book-player .pron-eval-card .pe-word-ok {
  color: #237804;
}
.book-player .pron-eval-card .pe-word-bad {
  color: #cf1322;
  font-weight: 700;
  background: rgba(207, 19, 34, 0.12);
  border-radius: 3px;
  padding: 0 2px;
}
.book-player .pron-eval-card .pe-sub {
  margin-top: 6px;
  font-size: 12px;
  color: #888;
}
.book-player .pron-eval-card .pe-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.book-player .pron-eval-card.pe-disabled {
  border-color: #ffccc7;
}
.book-player .pron-eval-card .pe-head.pe-disabled {
  color: #cf1322;
}
.book-player .pron-eval-card .pe-card-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
  padding-top: 6px;
  border-top: 1px dashed #ececec;
  font-size: 12px;
  line-height: 1;
}
.book-player .pron-eval-card .pe-card-foot .pe-parent-entry {
  color: #999;
  cursor: pointer;
  user-select: none;
}
.book-player .pron-eval-card .pe-card-foot .pe-parent-entry:hover {
  color: #1890ff;
}
.book-player .tran-dict {
  z-index: 10;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  box-shadow: rgba(0, 0, 0, 0.5) 2px 2px;
}
.book-player .tran-dict.up {
  top: 0;
  bottom: auto;
}
.book-player .tran-dict.down {
  top: auto;
  bottom: 60px;
}
.book-player .tran-dict > div {
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.5) 2px 2px;
  border: 2px solid #666;
  border-radius: 3px;
  padding: 5px;
  box-sizing: border-box;
}
.book-player .tran-dict > div:empty {
  display: none;
}
.book-player .tran-dict > div > div {
  margin: 5px;
}
.book-player .tran-dict > div > div:nth-child(2) {
  border-top: 1px solid #ccc;
}
.book-player .tran-dict .phrase {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 480px) {
  .book-player .tran-dict .phrase {
    display: flex;
    flex-direction: column-reverse;
  }
}
.book-player .tran-dict .phrase .actions {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #ccc;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .book-player .tran-dict .phrase .actions {
    border-left: 0;
    border-bottom: 1px solid #ccc;
    justify-content: center;
    margin: 0;
    margin-bottom: 5px;
  }
}
.book-player .tran-dict .phrase .actions button {
  margin: 3px 5px;
}
.book-player .player-controller-b {
  position: relative;
  height: 45px;
  width: 100%;
  z-index: 10;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}
.book-player .player-controller-b .ico-left {
  margin-left: 10px;
}
.book-player .player-controller-b .ico-right {
  margin-right: 10px;
}
.book-player .player-controller-b .play-btn-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.book-player .player-controller-b .play-btn-cell a.ico {
  line-height: 1;
}
@media (max-width: 480px) {
  .book-player .player-controller-b:not(.rec-panel) > div {
    width: auto !important;
  }
  .book-player .player-controller-b:not(.rec-panel) > div:nth-child(1),
  .book-player .player-controller-b:not(.rec-panel) > div:nth-child(5) {
    flex: 0 0 30px;
  }
  .book-player .player-controller-b:not(.rec-panel) > div:nth-child(2) {
    flex: 1;
    min-width: 0;
    justify-content: flex-start !important;
  }
  .book-player .player-controller-b:not(.rec-panel) > div:nth-child(3) {
    flex: 0 0 42px;
  }
  .book-player .player-controller-b:not(.rec-panel) > div:nth-child(4) {
    flex: 1;
    min-width: 0;
  }
  .book-player .player-controller-b.rec-panel > div {
    width: auto !important;
  }
  .book-player .player-controller-b.rec-panel > div:nth-child(1),
  .book-player .player-controller-b.rec-panel > div:nth-child(7) {
    flex: 0 0 30px;
  }
  .book-player .player-controller-b.rec-panel > div:nth-child(2),
  .book-player .player-controller-b.rec-panel > div:nth-child(3),
  .book-player .player-controller-b.rec-panel > div:nth-child(5),
  .book-player .player-controller-b.rec-panel > div:nth-child(6) {
    flex: 0 0 auto;
  }
  .book-player .player-controller-b.rec-panel > div:nth-child(4) {
    flex: 1;
    min-width: 0;
  }
  .book-player .player-controller-b.rec-panel .ant-checkbox-wrapper,
  .book-player .player-controller-b.rec-panel .ant-btn {
    font-size: 12px;
    padding: 0 6px;
  }
  .book-player .player-controller-b.rec-panel .main-btn a span {
    font-size: 11px;
    white-space: nowrap;
  }
  .book-player .player-controller-b .ico-left,
  .book-player .player-controller-b .ico-right {
    margin-left: 0;
    margin-right: 0;
  }
  .book-player .player-controller-b speed-btn,
  .book-player .player-controller-b play-mode-btn {
    font-size: 12px;
  }
  .book-player .player-controller-b speed-btn > div > a:first-child,
  .book-player .player-controller-b play-mode-btn > div > a:first-child {
    padding: 2px 6px;
  }
}
.book-player .player-controller-b .main-btn > a {
  position: relative;
}
.book-player .player-controller-b .main-btn > a .ico {
  font-size: 26px;
  padding: 3px;
  border: 2px solid #1890ff;
  border-radius: 50%;
}
.book-player .player-controller-b .main-btn > a.running .ico {
  animation: blink 1s infinite;
}
.book-player .player-controller-b .main-btn > a > span {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  width: auto;
  white-space: nowrap;
  padding: 3px 8px;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
}
.book-player .player-controller-b .main-btn .vol-meter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 16px;
  margin-top: 2px;
}
.book-player .player-controller-b .main-btn .vol-meter .vol-cell {
  width: 6px;
  height: 8px;
  border-radius: 2px;
  background: #4a4a4a;
  opacity: 0.35;
  transition: background 0.1s, opacity 0.1s;
}
.book-player .player-controller-b .main-btn .vol-meter .vol-cell.on {
  opacity: 1;
  background: #52c41a;
}
.book-player .player-controller-b .main-btn .vol-meter.vol-low .vol-cell.on {
  background: #faad14;
}
.book-player .player-controller-b .main-btn .vol-meter.vol-silent .vol-cell.on {
  background: #ff4d4f;
  animation: blink 1s infinite;
}
.book-player .player-controller-b .main-btn .vol-meter .vol-hint {
  font-size: 11px;
  color: #faad14;
  margin-left: 6px;
  white-space: nowrap;
}
.book-player .player-controller-b .main-btn .vol-meter.vol-silent .vol-hint {
  color: #ff4d4f;
}
.book-player .player-controller-b .ant-btn {
  margin-left: 5px;
}
.book-player .player-controller-b .ant-btn .ico {
  font-size: 14px;
}
.book-player .player-controller-b a.ico {
  font-size: 36px;
}
.book-player .player-controller-b .ico-pause, .book-player .player-controller-b .ico-play {
  font-size: 42px !important;
}
.book-player .player-controller-b speed-btn, .book-player .player-controller-b play-mode-btn, .book-player .player-controller-b .auto-page {
  display: block;
  font-size: 14px;
  position: relative;
  height: 28px;
  text-align: center;
}
.book-player .player-controller-b speed-btn > div, .book-player .player-controller-b play-mode-btn > div, .book-player .player-controller-b .auto-page > div {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-direction: row;
  z-index: 100;
  top: 0;
  left: 5px;
  height: 28px;
  align-items: center;
}
.book-player .player-controller-b speed-btn > div a, .book-player .player-controller-b play-mode-btn > div a, .book-player .player-controller-b .auto-page > div a {
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.book-player .player-controller-b speed-btn > div > a:first-child, .book-player .player-controller-b play-mode-btn > div > a:first-child, .book-player .player-controller-b .auto-page > div > a:first-child {
  padding: 2px 10px;
  border: 1px solid #1890ff;
  border-radius: 1px;
}
.book-player .player-controller-b speed-btn > div .tag, .book-player .player-controller-b play-mode-btn > div .tag, .book-player .player-controller-b .auto-page > div .tag {
  position: absolute;
  right: -8px;
  top: -8px;
  height: 14px;
  line-height: 14px;
  vertical-align: middle;
  font-size: 10px;
  background: #fff;
  padding: 0 2px;
  color: #1890ff;
}
.book-player .player-controller-b play-mode-btn {
  margin-left: 8px;
}
.book-player .player-controller-b .ant-col {
  display: flex;
  justify-content: space-evenly;
}
.book-player .page-nav {
  font-size: 24px;
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
  border-radius: 3px;
  display: block;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  z-index: 5;
  opacity: 0.8;
  left: 0;
  cursor: pointer;
  transition: background-color, border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.book-player .page-nav.disabled {
  background: gray;
  transition: none;
  cursor: default;
}
.book-player .page-next {
  left: auto;
  right: 0;
}
.book-player player-controller {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: auto;
  background: #1b1b1b;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  z-index: 100;
  width: 60px;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
}
.book-player player-controller a {
  color: #fff;
  display: block;
  width: 60px;
  text-align: center;
}
.book-player player-controller a.active {
  color: #1890ff;
  cursor: default;
}
.book-player player-controller a.ico {
  font-size: min(36px, 5.5555555556vh);
}
.book-player player-controller a.disabled {
  color: gray;
}
.book-player player-controller .ico-settings {
  border-top: 1px solid #eee;
  margin-top: 5px;
}
.book-player w.current-phrase {
  background: #ff0;
}
.book-player w.current-phrase.highlight {
  animation: anim-opacity 0.5s infinite;
}
.book-player w.current-word {
  background: #34f334;
}
.book-player w.blinking {
  background: #34f334;
  animation: anim-opacity 0.5s infinite;
}
.book-player page-text-box {
  --ptb-font-size: 14px;
  max-width: 970px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  box-sizing: border-box;
  font-size: var(--ptb-font-size);
}
.book-player page-text-box page section {
  font-size: 0;
}
.book-player page-text-box page section > b {
  font-size: var(--ptb-font-size);
}
.book-player page-text-box page section > b:last-child {
  display: none;
}
.book-player page-text-box page page-divider {
  align-items: center;
  border: 0 solid #1989fa;
  color: #1989fa;
  display: flex;
  font-size: var(--ptb-font-size);
  line-height: 24px;
  margin: 16px 0;
}
.book-player page-text-box page page-divider.playing {
  color: green;
}
.book-player page-text-box page page-divider:after, .book-player page-text-box page page-divider:before {
  border-width: 1px 0 0;
  box-sizing: border-box;
  flex: 1;
  height: 1px;
  border-style: inherit;
  content: "";
}
.book-player page-text-box page page-divider:before {
  margin-right: 16px;
}
.book-player page-text-box page page-divider:after {
  margin-left: 16px;
}
.book-player page-text-box phrase {
  display: inline-block;
  font-size: var(--ptb-font-size);
}
.book-player page-text-box w {
  word-wrap: normal;
  font-size: var(--ptb-font-size);
}
.book-player page-text-box .title-page {
  text-align: center;
}
.book-player page-text-box .title-page phrase {
  display: inline-block;
}
.book-player page-text-box .title-page phrase:first-child {
  font-weight: bold;
  display: block;
}
.book-player page-text-box .title-page.playing phrase:first-child {
  color: green;
}
.book-player page-text-box cover-btn .ico {
  font-size: min(120px, 34vw);
  height: 1.02em;
  line-height: 1em;
  padding: 0.01em;
}
.book-player controller-wrapper {
  width: 100%;
  position: static;
  height: 50px;
  text-align: center;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.book-player controller-wrapper.actived {
  height: 130px;
  align-items: flex-start;
  padding-top: 5px;
}
@media (max-aspect-ratio: 1/1) {
  .book-player controller-wrapper {
    width: 100%;
  }
  .book-player .return {
    color: #fff;
  }
  .book-player player-controller {
    position: static;
    order: -1;
    height: 40px;
    width: 100%;
    top: auto;
    right: auto;
    bottom: auto;
    flex-direction: row;
    padding-left: 40px;
  }
  .book-player player-controller a.ico {
    font-size: 20px;
    margin-right: 4px;
  }
  .book-player player-controller a.ico:last-child {
    margin-right: 0;
  }
  .book-player player-controller .ico-settings {
    border-top: none;
    margin-top: 0;
    border-left: 1px solid #eee;
    margin-left: 5px;
    padding-left: 10px;
  }
}
@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
  .book-player .ant-checkbox-wrapper {
    display: flex;
    align-items: center;
  }
  .book-player .rec-panel {
    height: 60px;
  }
  .book-player .rec-panel .ant-btn {
    max-width: 80px;
    white-space: normal;
    height: auto;
  }
}
@media (max-aspect-ratio: 1/1) {
  .book-player cover-btn .ico {
    font-size: min(140px, 34vw);
    height: 1.02em;
    line-height: 1em;
    padding: 0.01em;
  }
  .book-player page-text-box {
    width: 100%;
    padding: 10px;
  }
  .book-player .tran-dict {
    transform: translate(-50%, 40px);
  }
  .book-player .tran-dict.down {
    transform: translate(-50%, 13px);
  }
}
@media (min-aspect-ratio: 1/1) {
  .book-player {
    padding-right: 60px;
  }
  .book-player .tran-dict {
    left: calc(50% - 30px);
  }
  .book-player controller-wrapper .player-controller-b {
    max-width: 725px;
  }
}

speed-selector label {
  width: 40px !important;
  text-align: center;
}

play-mode-selector {
  display: flex;
  flex-direction: row;
  align-items: center;
}
play-mode-selector > div {
  display: block;
}
play-mode-selector > div > div:first-child {
  display: block;
  margin-bottom: 3px;
}
play-mode-selector .ant-radio-button-wrapper {
  width: 60px;
  text-align: center;
}

.play-mode-popover {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.recorder-settings .ant-form-item-label {
  width: 126px;
}
.recorder-settings .record-play-speed .ant-radio-button-wrapper {
  width: 43px;
  text-align: center;
}
.recorder-settings .tip {
  border-top: 1px solid #ccc;
  color: #666;
  padding-top: 15px;
}

next-book-selector {
  display: flex;
  justify-content: space-between;
}
next-book-selector > a {
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 170px;
  height: 170px;
  display: block;
  position: relative;
  padding: 2px;
}
next-book-selector > a img {
  width: 100%;
}
next-book-selector > a > span {
  position: absolute;
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  bottom: 0;
  left: 0;
}
next-book-selector > a > label {
  position: absolute;
  display: inline-block;
  font-size: 80%;
  z-index: 10;
  right: 0;
  top: 0;
  height: 20px;
  text-align: center;
  min-width: 20px;
  background: gray;
  color: #fff !important;
  border-bottom-left-radius: 3px;
  border-top-right-radius: 3px;
}

@keyframes grow {
  from {
    transform: scale(0.01);
  }
  to {
    transform: scale(2);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opactity: 1;
  }
}
.star-animation {
  position: fixed;
  background-image: url("https://cdn.xnyd.net/starreader/game/robot/star-large.png");
  z-index: 10;
  width: 300px;
  height: 291px;
  -webkit-animation: grow 0.75s linear 1, fade 0.75s linear 1 reverse;
  animation: grow 0.75s linear 1, fade 0.75s linear 1 reverse;
}

@keyframes blink {
  0% {
    color: #1890ff;
    border-color: #1890ff;
  }
  50% {
    color: limegreen;
    border-color: limegreen;
  }
  100% {
    color: #1890ff;
    border-color: #1890ff;
  }
}
@keyframes anim-opacity {
  0% {
    background: #ff0;
  }
  50% {
    background: green;
  }
  100% {
    background: #ff0;
  }
}
.large-dict {
  font-size: 130%;
}
.large-dict .ant-alert-description {
  font-size: 130%;
}
.large-dict .ant-tag {
  font-size: 130%;
  line-height: 26px;
}

.zero-left {
  left: 0 !important;
}

.book-player .cont-rec-btn {
  width: 214px;
  padding-left: 8px;
  padding-right: 8px;
}
.book-player .cont-rec-btn .cont-rec-label {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.modal-record .record-quality-card {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid;
  font-size: 13px;
  line-height: 1.6;
}
.modal-record .record-quality-card.rq-pass {
  background: #f6ffed;
  border-color: #b7eb8f;
  color: #389e0d;
}
.modal-record .record-quality-card.rq-warn {
  background: #fffbe6;
  border-color: #ffe58f;
  color: #ad6800;
}
.modal-record .record-quality-card.rq-fail {
  background: #fff2f0;
  border-color: #ffccc7;
  color: #cf1322;
}
.modal-record .record-quality-card .rq-title {
  font-weight: 600;
}
.modal-record .record-quality-card .rq-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.modal-record .record-quality-card .rq-list li {
  margin: 2px 0;
}
.modal-record .record-quality-card .rq-meta {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.75;
}

.teacher-guide-layer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.32);
}

.teacher-guide-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(420px, 92vw);
  padding: 26px 24px 24px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
  text-align: center;
}
.teacher-guide-card .tg-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid #ffd800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.teacher-guide-card .tg-title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #333;
}
.teacher-guide-card .tg-sub {
  margin: 0;
  font-size: 15px;
  color: #777;
}
.teacher-guide-card .tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 12px 18px;
  border: none;
  border-radius: 28px;
  font-size: 18px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.12s ease-out;
}
.teacher-guide-card .tg-btn .tg-ico {
  width: 22px;
  height: 22px;
}
.teacher-guide-card .tg-btn:active {
  transform: scale(0.97);
}
.teacher-guide-card .tg-btn-main {
  background: #ffd800;
  color: #333;
  box-shadow: 0 4px 14px rgba(255, 216, 0, 0.45);
}
.teacher-guide-card .tg-btn-record {
  background: #fff3e6;
  color: #fa8c16;
  border: 1px solid #ffd591;
}

/* AI 教师入口（2026-09-09 审核门改造）：工具栏老师头像，与书首页 rt-avatar 同款视觉 */
.bp-teacher-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f5b942;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  vertical-align: middle;
  transition: transform 0.2s;
}
.bp-teacher-avatar:hover {
  transform: scale(1.08);
}:root {
  --drawer-height: 250px;
}

.book-drawer .ant-drawer-content-wrapper {
  height: var(--drawer-height, auto) !important;
}
.book-drawer .ant-drawer-content {
  height: 100%;
}
.book-drawer .ant-drawer-body {
  height: 100%;
  padding: 24px;
}
.book-drawer .swiper {
  width: 100%;
  height: 100%;
}
.book-drawer .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.book-drawer .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.page-book-quiz .ant-breadcrumb {
  line-height: 1.5;
}
.page-book-quiz .ant-breadcrumb a,
.page-book-quiz .ant-breadcrumb .ant-breadcrumb-link {
  display: inline-flex;
  align-items: center;
}
.page-book-quiz .ant-breadcrumb .ico {
  vertical-align: middle;
  margin-right: 5px;
}
.page-book-quiz .selector {
  border-bottom: 1px solid #ccc;
  margin-bottom: 5px;
  padding-bottom: 5px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.page-book-quiz .selector .actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 50px;
}
.page-book-quiz .selector .ant-radio-button-wrapper {
  padding: 0 12px;
}
.page-book-quiz question {
  font-size: 20px;
  align-items: center;
}
.page-book-quiz question > div {
  display: inline;
}
.page-book-quiz question > div:first-child {
  width: 40px;
}
.page-book-quiz question > div:first-child .ico {
  font-size: 32px;
  line-height: 32px;
  vertical-align: middle;
}
.page-book-quiz choices {
  display: block;
}
.page-book-quiz choices choice {
  display: flex;
  align-items: center;
  font-size: 18px;
  position: relative;
}
.page-book-quiz choices choice > b {
  color: green;
  position: absolute;
  left: 28px;
  top: 15px;
  font-size: 25px;
}
.page-book-quiz choices choice div {
  flex: 1;
  padding: 5px;
}
.page-book-quiz choices choice div label {
  font-size: 20px;
  margin-right: 5px;
}
.page-book-quiz choices choice div:hover {
  background: #fffbe6;
  cursor: pointer;
}
.page-book-quiz choices choice img {
  max-width: 250px;
}
.page-book-quiz choices choice .ico-sound {
  font-size: 26px;
  margin-right: 5px;
  position: relative;
  top: 2px;
}
.page-book-quiz choices.submitted choice div:hover {
  background: inherit;
  cursor: default;
}
.page-book-quiz .choiced {
  border-bottom: 5px solid #ffd800 !important;
}
.page-book-quiz .correct {
  border-bottom: 5px solid green !important;
}
.page-book-quiz .incorrect {
  border-bottom: 5px solid red !important;
}
.page-book-quiz .quiz-history .title button {
  margin-left: 20px;
}
.page-book-quiz .quiz-history h3 {
  border-bottom: 1px solid #ccc;
  margin-top: 15px;
}
.page-book-quiz .quiz-history b {
  margin: 0 5px;
}
.page-book-quiz .quiz-history .choices {
  display: inline-block;
  margin-left: 15px;
}
.page-book-quiz .quiz-history .choices b {
  font-weight: normal;
}

@media (max-width: 480px) {
  .page-book-quiz .selector {
    flex-direction: column !important;
    align-items: center;
  }
  .page-book-quiz .selector .actions {
    margin-bottom: 10px;
    margin-left: 0;
  }
}.page-share-record audio, .page-share-record .no-audio {
  width: 400px;
  height: 35px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-share-record .swiper-wrapper, .page-share-record .swiper-slide {
  height: calc(100vh - 45px - 35px - 25px - 33px);
}
.page-share-record .swiper-slide img {
  max-height: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.page-share-record .no-audio {
  border-radius: 3px;
  background: #ffd800;
  font-weight: bold;
}.page-admin user {
  display: block;
  margin: 10px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
.page-admin user .name {
  margin-right: 15px;
}
.page-admin user clients {
  display: inline-block;
}
.page-admin user client {
  margin-right: 8px;
}
.page-admin levels-for-license {
  display: grid;
  grid-template-columns: repeat(auto-fill, 90px);
  grid-gap: 1em;
  justify-content: center;
}
.page-admin levels-for-license .ant-checkbox-wrapper {
  margin-left: 0;
}
.page-admin .actions {
  display: flex;
  justify-content: space-between;
}
.page-admin login-histories {
  display: block;
  max-width: 800px;
}
.page-admin login-histories table {
  width: 100%;
}
.page-admin login-histories td {
  border: 1px solid #ccc;
  padding: 5px;
}
.page-admin login-histories .time {
  width: 140px;
}
.page-admin login-histories .screen {
  width: 130px;
}
.page-admin login-histories .ua {
  width: 190px;
}
.page-admin login-histories .login-type {
  width: 80px;
}
.page-admin .trans-box {
  display: flex;
}
.page-admin .trans-box > textarea {
  flex: 1;
}.page-robot {
  max-width: 100vw;
  padding: 0;
  user-select: none;
}
.page-robot .robot-wrapper {
  align-items: center;
  background: url(https://cdn.xnyd.net/starreader/game/robot/avatar-interface-pipes.png) center -60px no-repeat, url(https://cdn.xnyd.net/starreader/game/robot/avatar-bg.jpg) center top no-repeat, #d2d9df;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding: 0;
  width: auto;
}
.page-robot .robot-wrapper:before, .page-robot .robot-wrapper:after {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
}
.page-robot .robot-wrapper:before {
  background: url(https://cdn.xnyd.net/starreader/game/robot/avatar-interface-left.png) no-repeat;
  left: -280px;
  width: 493px;
}
@media screen and (min-width: 1940px) {
  .page-robot .robot-wrapper:before {
    left: 0;
  }
}
@media screen and (max-width: 1250px) {
  .page-robot .robot-wrapper:before {
    display: none;
  }
}
.page-robot .robot-wrapper:after {
  background: url(https://cdn.xnyd.net/starreader/game/robot/avatar-interface-right.png) no-repeat;
  right: -300px;
  width: 494px;
}
@media screen and (min-width: 1940px) {
  .page-robot .robot-wrapper:after {
    right: 0;
  }
}
@media screen and (max-width: 1250px) {
  .page-robot .robot-wrapper:after {
    display: none;
  }
}
.page-robot .catalog-selector {
  bottom: 0;
  height: 135px;
  left: 0;
  margin: 0 auto;
  padding: 0;
  position: absolute;
  right: 0;
  width: 900px;
}
.page-robot .catalog-selector .slide-pane {
  display: flex;
  align-items: center;
}
.page-robot .catalog-selector .slide-button {
  position: absolute;
  top: 5px;
  z-index: 1;
  cursor: pointer;
  transition: all 0.1s ease-out;
  border-radius: 0 90px 90px 0;
  box-shadow: 0 0 0 2px #0273b0;
  height: 90px;
  width: 45px;
  background: url(https://cdn.xnyd.net/starreader/game/robot/arrow.svg) #fff center center no-repeat;
  background-size: 30px 70px;
  right: 0;
}
.page-robot .catalog-selector .slide-button:hover {
  transform: scale(1.1);
}
.page-robot .catalog-selector .slide-button:first-child {
  right: auto;
  transform: rotate(180deg);
}
.page-robot .catalog-selector .slide-button:first-child:hover {
  transform: scale(1.1) rotate(180deg);
}
.page-robot .catalog-selector > button {
  position: absolute;
  bottom: 0;
  background: #d12256;
  border-radius: 10px 10px 0 0;
  height: 31px;
  width: 325px;
  transition: all 0.2s;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: left;
  border: none;
  cursor: pointer;
}
.page-robot .catalog-selector > button img {
  position: absolute;
  width: 17px;
  height: 10px;
  top: 50%;
  transform: scaleX(2) translate(-50%, -50%);
  transform-origin: left;
}
.page-robot .catalog-selector > button:hover {
  background: #fff;
  box-shadow: 0 0 0 2px #d12256;
  transform: scale(1.1) translateX(-50%);
}
.page-robot .catalog-selector > button:hover img:last-child {
  opacity: 0;
}
.page-robot .slide-view {
  position: absolute;
  left: 45px;
  top: 0;
  display: block;
  width: 810px;
  background: #a2d9ec;
  border: 1px solid #6baecc;
  height: 100px;
  overflow: hidden;
}
.page-robot .slide-view .items {
  display: flex;
  position: relative;
  transition: all 0.1s ease-out;
}
.page-robot .slide-view .items .item {
  transition: all 0.2s;
  border-left: 1px solid #6baecc;
  cursor: pointer;
  width: 90px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.page-robot .slide-view .items .item div {
  width: 90px;
  height: 70px;
  text-align: center;
}
.page-robot .slide-view .items .item:hover, .page-robot .slide-view .items .item:focus {
  background: #f0ffff;
}
.page-robot .slide-view .items .item.selected {
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
  box-shadow: inset 0 -1px 0 2px #fff;
  transition: all 0.2s;
  background-color: #15c22d;
  background-image: linear-gradient(45deg, #13B329 25%, transparent 25%), linear-gradient(-45deg, #13B329 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #13B329 75%), linear-gradient(-45deg, transparent 75%, #13B329 75%);
}
.page-robot .slide-view .items .item.selected:hover {
  background-color: #00ccc8;
  background-image: linear-gradient(45deg, #2c7dcc 25%, transparent 25%), linear-gradient(-45deg, #2c7dcc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #2c7dcc 75%), linear-gradient(-45deg, transparent 75%, #2c7dcc 75%);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}
.page-robot .slide-view .items .item b {
  display: flex;
  color: #565656;
  align-items: center;
  font-family: chewy, verdana, arial;
}
.page-robot .slide-view .items .item b:after {
  margin-left: 4px;
  display: inline-block;
  content: "";
  width: 15px;
  height: 15px;
  background: url(https://cdn.xnyd.net/starreader/game/robot/star-blank2.svg) no-repeat;
}
.page-robot .slide-view .items .item i {
  display: flex;
  background: #fff;
  position: absolute;
  color: #a2d9ec;
  right: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}
.page-robot .slide-view .items img {
  max-width: 90%;
  max-height: 90%;
  transition: all 0.1s ease-out;
}
.page-robot .slide-view.catalog .item div {
  width: 90px;
  height: 100px;
  line-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-robot .slide-view.catalog .item div img {
  vertical-align: middle;
}

header.page-robot {
  width: 100%;
  background: #015182;
  display: flex;
  height: 50px;
  align-items: center;
  color: #fff;
  font-size: 22px;
  z-index: 10;
  line-height: 30px;
  padding: 0 25px;
  position: fixed;
  justify-content: space-between;
  top: 0;
  font-family: chewy, verdana, arial;
}
header.page-robot:after {
  background: #50bdff;
  backface-visibility: hidden;
  content: "";
  height: 2px;
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
}
header.page-robot > a {
  color: #fff;
  background: #31ab2a;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
  position: relative;
  transition: all 0.1s ease-out;
  font-size: 26px;
}
header.page-robot > a:after {
  border-bottom: 20px solid transparent;
  border-right: 16px solid #31ab2a;
  border-top: 20px solid transparent;
  content: "";
  display: block;
  left: -16px;
  height: 0;
  position: absolute;
  top: 0;
  transition: all 0.1s ease-out;
  width: 0;
}
header.page-robot > a:hover, header.page-robot > a:focus {
  color: #31ab2a !important;
  background: #fff !important;
}
header.page-robot > a:hover:after, header.page-robot > a:focus:after {
  border-right: 16px solid #fff;
}
header.page-robot > div {
  display: flex;
  align-items: center;
}
header.page-robot > div > div {
  margin: 0 1vw;
}
header.page-robot .head-stars {
  font-family: chewy, verdana, arial;
  display: flex;
  align-items: center;
  font-size: 22px;
}
header.page-robot .head-stars:after {
  content: "";
  background: url(https://cdn.xnyd.net/starreader/game/robot/star-blank.svg) no-repeat;
  display: block;
  height: 20px;
  width: 20px;
  margin-left: 5px;
}
header.page-robot .avatar {
  position: relative;
  background: #13d5eb;
  width: 50px;
  height: 50px;
  overflow: hidden;
}
header.page-robot .avatar .robot-viewer {
  top: 80px;
}

.robot-buy-confirm {
  text-align: center;
  font-family: chewy, verdana, arial;
  font-size: 50px;
}
.robot-buy-confirm .ant-drawer-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.robot-buy-confirm img {
  widows: 40px;
  height: 40px;
}
.robot-buy-confirm div {
  color: #1e69a3;
  display: flex;
  align-items: center;
}
.robot-buy-confirm div b {
  color: #565656;
  margin: 0 10px;
}
.robot-buy-confirm button {
  border-radius: 10px;
  color: #fff;
  text-align: center;
  transition: all 0.2s;
  width: 120px;
  background: #379f0c;
  border: solid 2px #379f0c;
  margin: 0 15px;
  cursor: pointer;
}
.robot-buy-confirm button:hover {
  transform: scale(1.2);
  background: transparent;
  color: #379f0c;
}
.robot-buy-confirm button:first-child {
  background: #e21d46;
  border: solid 2px #e21d46;
}
.robot-buy-confirm button:first-child:hover {
  background: transparent;
  color: #e21d46;
}

.robot-login-tip {
  padding: 60px 20px;
  text-align: center;
  font-size: 18px;
}
.robot-login-tip a {
  color: #0273b0;
  text-decoration: underline;
}.planet-page {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 20px 40px;
  min-height: calc(100vh - 64px);
  background: #f7faf6;
}
.planet-page .ant-btn {
  border-radius: 999px;
  font-weight: 600;
  border: none;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.1s, box-shadow 0.1s;
}
.planet-page .ant-btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}
.planet-page .ant-btn:disabled {
  opacity: 0.55;
  box-shadow: none;
}
.planet-page .ant-btn.ant-btn-primary {
  background: linear-gradient(180deg, #6BCB8A 0%, #2E8B57 100%);
  color: #fff;
}
.planet-page .ant-btn.ant-btn-default {
  background: linear-gradient(180deg, #FFFDF6 0%, #F2E8D5 100%);
  color: #173404;
  box-shadow: 0 3px 0 rgba(139, 90, 43, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.planet-page .planet-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  background: rgba(255, 248, 236, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.planet-page .planet-topbar .topbar-left {
  flex: 0 0 auto;
}
.planet-page .planet-topbar .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8BC34A 0%, #558B2F 100%);
  box-shadow: 0 3px 0 rgba(46, 82, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.1s, box-shadow 0.1s;
}
.planet-page .planet-topbar .back:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(46, 82, 22, 0.4);
}
.planet-page .planet-topbar .orchard-sign {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #A9742F 0%, #8B5A2B 100%);
  border: 2px solid #6B4423;
  border-radius: 14px;
  padding: 6px 18px 6px 10px;
  box-shadow: 0 3px 8px rgba(107, 68, 35, 0.35);
  flex: 0 0 auto;
}
.planet-page .planet-topbar .orchard-sign .sign-emoji {
  font-size: 26px;
  line-height: 1;
}
.planet-page .planet-topbar .orchard-sign .sign-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.planet-page .planet-topbar .orchard-sign .sign-name {
  font-size: 17px;
  font-weight: 700;
  color: #FFF8EC;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.planet-page .planet-topbar .orchard-sign .sign-title {
  font-size: 11px;
  color: #F2C94C;
}
.planet-page .planet-topbar .assets {
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.planet-page .planet-topbar .asset {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 4px 14px 4px 6px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s;
}
.planet-page .planet-topbar .asset:hover {
  border-color: #c0dd97;
}
.planet-page .planet-topbar .asset .asset-icon {
  font-size: 22px;
  line-height: 1;
}
.planet-page .planet-topbar .asset .asset-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: center;
}
.planet-page .planet-topbar .asset .asset-num {
  font-size: 16px;
  font-weight: 600;
  color: #173404;
}
.planet-page .planet-topbar .asset .asset-label {
  font-size: 11px;
  color: #888;
}
.planet-page .planet-topbar .asset.asset-click {
  cursor: pointer;
}
.planet-page .planet-topbar .asset.asset-click:hover {
  border-color: #F2A93B;
  background: #FFF8EC;
}
.planet-page .planet-topbar .shop-btn {
  background: #2E8B57;
  border-color: #2E8B57;
}
.planet-page .planet-topbar .weather-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #EAF6FF 0%, #D6ECFA 100%);
  border: 1.5px solid #B8DDF0;
  border-radius: 999px;
  padding: 4px 12px 4px 6px;
  flex: 0 0 auto;
  cursor: default;
}
.planet-page .planet-topbar .weather-bar .weather-emoji {
  font-size: 22px;
  line-height: 1;
}
.planet-page .planet-topbar .weather-bar .weather-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.planet-page .planet-topbar .weather-bar .weather-day {
  font-size: 12px;
  font-weight: 600;
  color: #1B4D6E;
}
.planet-page .planet-topbar .weather-bar .weather-name {
  font-size: 11px;
  color: #5E87A8;
}
.planet-page .planet-topbar .weather-bar .weather-forecast {
  font-size: 13px;
  padding: 1px 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #5E87A8;
}
.planet-page .orchard-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.planet-page .orchard-panel .panel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #E8EFE2;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.planet-page .orchard-panel .panel-item .panel-icon {
  font-size: 24px;
  line-height: 1;
}
.planet-page .orchard-panel .panel-item .panel-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.planet-page .orchard-panel .panel-item .panel-meta b {
  font-size: 17px;
  font-weight: 700;
  color: #173404;
}
.planet-page .orchard-panel .panel-item .panel-meta span {
  font-size: 11px;
  color: #5f5e5a;
}
.planet-page .orchard-panel .panel-item.panel-arrange {
  cursor: pointer;
  transition: all 0.2s;
}
.planet-page .orchard-panel .panel-item.panel-arrange:hover {
  border-color: #2E8B57;
}
.planet-page .orchard-panel .panel-item.panel-arrange.active {
  background: linear-gradient(180deg, #DFF5E7 0%, #C8ECD6 100%);
  border-color: #2E8B57;
  box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.2);
}
.planet-page .orchard-scene {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #a8d8ea;
}
.planet-page .orchard-scene .orchard-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}
.planet-page .orchard-scene .orchard-overlay > * {
  pointer-events: auto;
}
.planet-page .orchard-scene .orchard-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #145a3d;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 10px 24px;
  z-index: 5;
}
.planet-page .orchard-scene .orchard-loading .loading-icon {
  font-size: 22px;
  animation: icon-bounce 1s ease-in-out infinite;
}
.planet-page .orchard-scene .fx-float {
  position: absolute;
  z-index: 6;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #F2A93B 0%, #E85D4A 100%);
  border-radius: 999px;
  padding: 4px 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  animation: fx-float-up 2.2s ease-out forwards;
  white-space: nowrap;
}
.planet-page .orchard-scene .fruit-fx {
  position: absolute;
  z-index: 6;
  font-size: 24px;
  line-height: 1;
  transform: translateX(-50%);
  pointer-events: none;
  animation: fruit-fly 1.6s ease-out forwards;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.planet-page .orchard-scene .orchard-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #145a3d;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  padding: 32px 48px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.planet-page .orchard-scene .orchard-empty .empty-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 12px;
}
.planet-page .orchard-scene .orchard-empty .empty-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
}
.planet-page .orchard-scene .orchard-empty .empty-sub {
  font-size: 14px;
  color: #5f5e5a;
  margin: 0 0 20px;
}
.planet-page .orchard-scene .tree-on-ground {
  position: absolute;
  text-align: center;
  z-index: 3;
  animation: tree-sway 4s ease-in-out infinite;
  cursor: default;
  user-select: none;
}
.planet-page .orchard-scene .tree-on-ground .tree-img {
  display: block;
  height: 88px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}
.planet-page .orchard-scene .tree-on-ground .tree-emoji {
  font-size: 64px;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}
.planet-page .orchard-scene .tree-on-ground .pest-mark, .planet-page .orchard-scene .tree-on-ground .wilt-mark {
  position: absolute;
  top: -8px;
  right: -6px;
  font-size: 20px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  animation: sick-pulse 1.2s ease-in-out infinite;
}
.planet-page .orchard-scene .tree-on-ground.tree-wilted {
  filter: grayscale(0.85);
  animation: none;
  opacity: 0.85;
}
.planet-page .orchard-scene .tree-on-ground.tree-wilted .wilt-mark {
  filter: none;
  animation: sick-pulse 1.2s ease-in-out infinite;
}
.planet-page .orchard-scene .tree-on-ground.tree-draggable {
  cursor: grab;
  outline: 2px dashed rgba(46, 139, 87, 0.55);
  outline-offset: 3px;
  border-radius: 12px;
}
.planet-page .orchard-scene .tree-on-ground.tree-draggable:active {
  cursor: grabbing;
}
.planet-page .orchard-scene .robot-shed {
  position: absolute;
  right: 9%;
  bottom: 7%;
  z-index: 3;
}
.planet-page .orchard-scene .robot-shed .shed-img {
  display: block;
  width: 190px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
}
.planet-page .orchard-scene .robot-shed .shed-robot {
  position: absolute;
  left: 40%;
  bottom: 3%;
  z-index: 2;
}
.planet-page .creature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.planet-page .creature-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  border: 2px solid #c0dd97;
  box-shadow: 0 4px 12px rgba(23, 52, 4, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.planet-page .creature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 52, 4, 0.15);
}
.planet-page .creature-card .creature-icon {
  position: relative;
  flex: 0 0 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4faf6 0%, #e8f5e9 100%);
  border-radius: 16px;
  min-height: 96px;
}
.planet-page .creature-card .creature-icon .creature-emoji {
  font-size: 52px;
  line-height: 1;
}
.planet-page .creature-card .creature-icon .stage-badge {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #fff;
  background: #1b7d54;
  border-radius: 999px;
  padding: 1px 10px;
  white-space: nowrap;
}
.planet-page .creature-card.card-wilted {
  border-color: #d8c3a5;
  background: linear-gradient(180deg, #faf8f4 0%, #f2ede4 100%);
}
.planet-page .creature-card.card-wilted .creature-icon {
  background: linear-gradient(135deg, #f0ece6 0%, #e5dfd6 100%);
}
.planet-page .creature-card .creature-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.planet-page .creature-card .creature-info .name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.planet-page .creature-card .creature-info .name-row .name {
  font-size: 16px;
  font-weight: 500;
  color: #173404;
}
.planet-page .creature-card .creature-info .name-row .sick-tag {
  font-size: 11px;
  color: #fff;
  background: #E85D4A;
  border-radius: 999px;
  padding: 1px 8px;
  animation: sick-pulse 1.2s ease-in-out infinite;
}
.planet-page .creature-card .creature-info .name-row .pest-tag {
  font-size: 11px;
  color: #fff;
  background: #E8A13A;
  border-radius: 999px;
  padding: 1px 8px;
  animation: sick-pulse 1.2s ease-in-out infinite;
}
.planet-page .creature-card .creature-info .weather-stats {
  display: flex;
  gap: 10px;
}
.planet-page .creature-card .creature-info .weather-stats .stat {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #f4faf6;
  border: 1px solid #E8EFE2;
  border-radius: 999px;
  padding: 1px 8px;
}
.planet-page .creature-card .creature-info .weather-stats .stat .stat-icon {
  font-size: 12px;
}
.planet-page .creature-card .creature-info .weather-stats .stat .stat-val {
  font-size: 12px;
  font-weight: 600;
  color: #173404;
}
.planet-page .creature-card .creature-info .weather-stats .stat.stat-sick .stat-val {
  color: #E85D4A;
}
.planet-page .creature-card .creature-info .weather-stats .stat.stat-pest {
  border-color: #E8A13A;
  background: #FDF3E3;
}
.planet-page .creature-card .creature-info .weather-stats .stat.stat-pest .stat-val {
  color: #B97A16;
}
.planet-page .creature-card .creature-info .care-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.planet-page .creature-card .creature-info .btn-ico {
  display: inline-block;
  width: 24px;
  text-align: center;
  margin-right: 2px;
}
.planet-page .creature-card .creature-info .harvest-btn {
  align-self: flex-start;
}
.planet-page .creature-card .creature-info .care-hint {
  font-size: 12px;
  color: #5f5e5a;
}

.ant-modal-root .shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 8px 0;
}

.ant-modal-root .shop-card {
  display: flex;
  gap: 14px;
  background: linear-gradient(180deg, #fff 0%, #fafdfb 100%);
  border: 2px solid #e0ebd6;
  border-radius: 16px;
  padding: 14px;
  cursor: default;
  transition: all 0.2s;
}
.ant-modal-root .shop-card:hover {
  border-color: #1b7d54;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(23, 52, 4, 0.12);
}
.ant-modal-root .shop-card .ant-btn {
  border-radius: 999px;
  font-weight: 600;
  border: none;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.1s, box-shadow 0.1s;
}
.ant-modal-root .shop-card .ant-btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}
.ant-modal-root .shop-card .ant-btn:disabled {
  opacity: 0.55;
  box-shadow: none;
}
.ant-modal-root .shop-card .ant-btn.ant-btn-primary {
  background: linear-gradient(180deg, #6BCB8A 0%, #2E8B57 100%);
  color: #fff;
}
.ant-modal-root .shop-card .shop-thumb {
  position: relative;
  flex: 0 0 96px;
  height: 96px;
  background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ant-modal-root .shop-card .shop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ant-modal-root .shop-card .shop-thumb .shop-icon {
  font-size: 44px;
  line-height: 1;
}
.ant-modal-root .shop-card .shop-thumb .thumb-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 10px;
  color: #fff;
  background: rgba(46, 139, 87, 0.88);
  border-radius: 999px;
  padding: 1px 8px;
  white-space: nowrap;
}
.ant-modal-root .shop-card .shop-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ant-modal-root .shop-card .shop-info .shop-name {
  font-size: 15px;
  font-weight: 600;
  color: #173404;
  margin-bottom: 4px;
}
.ant-modal-root .shop-card .shop-info .shop-desc {
  font-size: 12px;
  color: #5f5e5a;
  line-height: 1.4;
}
.ant-modal-root .shop-card .shop-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
}
.ant-modal-root .shop-card .shop-bottom .shop-price {
  font-size: 15px;
  font-weight: 600;
  color: #854f0b;
  background: linear-gradient(180deg, #faeeda 0%, #ffe9c4 100%);
  border: 1px solid #ef9f27;
  border-radius: 999px;
  padding: 2px 12px;
}
.ant-modal-root .shop-card .shop-bottom .shop-lock {
  font-size: 13px;
  font-weight: 600;
  color: #9e9e9e;
  background: #f0f0f0;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  padding: 2px 12px;
}
.ant-modal-root .shop-card .shop-bottom .shop-stock {
  font-size: 12px;
  color: #2e7d32;
  background: #e8f5e9;
  border-radius: 999px;
  padding: 2px 10px;
}

.ant-modal-root .sell-empty {
  text-align: center;
  color: #5f5e5a;
  padding: 32px 0;
}

.ant-modal-root .sell-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ant-modal-root .sell-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #fff 0%, #fafdfb 100%);
  border: 2px solid #e0ebd6;
  border-radius: 14px;
  padding: 12px 14px;
}
.ant-modal-root .sell-row .sell-fruit {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #173404;
  white-space: nowrap;
}
.ant-modal-root .sell-row .sell-count {
  font-size: 13px;
  color: #2e7d32;
  background: #e8f5e9;
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}
.ant-modal-root .sell-row .sell-price {
  font-size: 14px;
  font-weight: 600;
  color: #854f0b;
  background: linear-gradient(180deg, #faeeda 0%, #ffe9c4 100%);
  border: 1px solid #ef9f27;
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}
.ant-modal-root .sell-row .ant-btn {
  border-radius: 999px;
  font-weight: 600;
}

@keyframes fx-float-up {
  0% {
    opacity: 0;
    transform: translate(-50%, 12px) scale(0.8);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1.05);
  }
  30% {
    transform: translate(-50%, -6px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -46px) scale(0.95);
  }
}
@keyframes sun-glow {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(255, 220, 120, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 16px rgb(255, 220, 120));
  }
}
@keyframes fruit-fly {
  0% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -60px) scale(0.9);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -100px) scale(0.4);
  }
}
@keyframes cloud-drift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(120vw);
  }
}
@keyframes tree-sway {
  0%, 100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}
@keyframes robot-patrol {
  0% {
    left: 10%;
    transform: scaleX(1);
  }
  45% {
    left: 28%;
    transform: scaleX(1);
  }
  50% {
    left: 28%;
    transform: scaleX(-1);
  }
  95% {
    left: 10%;
    transform: scaleX(-1);
  }
  100% {
    left: 10%;
    transform: scaleX(1);
  }
}
@keyframes robot-bob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-2px) rotate(-1.2deg);
  }
  75% {
    transform: translateY(0) rotate(1.2deg);
  }
}
@keyframes icon-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes sick-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
@media (max-width: 480px) {
  .planet-page {
    padding: 12px 12px 32px;
  }
  .planet-page .orchard-scene {
    height: 280px;
  }
  .planet-page .planet-topbar {
    flex-wrap: wrap;
  }
  .planet-page .planet-topbar .orchard-sign {
    order: 3;
    margin: 0 auto;
  }
  .planet-page .planet-topbar .assets {
    order: 4;
    width: 100%;
  }
  .planet-page .orchard-panel {
    grid-template-columns: repeat(2, 1fr);
  }
  .planet-page .garden-scene {
    height: 260px;
  }
}
.garden-page .unlock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #FFF0F5 0%, #FFE4EC 100%);
  border: 1.5px solid #F4C6D2;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 12px;
  cursor: default;
}
.garden-page .unlock-bar .unlock-ico {
  font-size: 20px;
  line-height: 1;
}
.garden-page .unlock-bar .unlock-track {
  flex: 1;
  height: 10px;
  background: #FCE3EA;
  border-radius: 999px;
  overflow: hidden;
}
.garden-page .unlock-bar .unlock-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #F7A9C4 0%, #EC5F9B 100%);
  transition: width 0.4s ease;
}
.garden-page .unlock-bar .unlock-text {
  font-size: 12px;
  font-weight: 600;
  color: #B34E7E;
  white-space: nowrap;
}
.garden-page .garden-scene {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #a8d8ea;
  perspective: 900px;
  perspective-origin: 50% 18%;
}
.garden-page .garden-scene .garden-ground {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -38%;
  height: 58%;
  transform: rotateX(58deg);
  transform-origin: bottom;
  background: linear-gradient(180deg, #8FD177 0%, #58B95A 55%, #3D9E4E 100%);
  border-radius: 50%;
  box-shadow: inset 0 12px 24px rgba(0, 0, 0, 0.08);
}
.garden-page .garden-scene .garden-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}
.garden-page .garden-scene .garden-overlay > * {
  pointer-events: auto;
}
.garden-page .garden-scene .flower-3d {
  position: absolute;
  width: 64px;
  margin-left: -32px;
  text-align: center;
  transform-style: preserve-3d;
  user-select: none;
  cursor: default;
}
.garden-page .garden-scene .flower-3d .flower-shadow {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 12px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.28) 0%, transparent 70%);
  border-radius: 50%;
}
.garden-page .garden-scene .flower-3d .flower-stem {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 62px;
  background: linear-gradient(180deg, #6BB35A 0%, #3D8B40 100%);
  border-radius: 3px;
}
.garden-page .garden-scene .flower-3d .flower-color {
  position: absolute;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.garden-page .garden-scene .flower-3d .flower-head {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%) rotateX(18deg);
  font-size: 40px;
  line-height: 1;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.28));
  transition: transform 0.3s;
}
.garden-page .garden-scene .flower-3d .flower-head.flower-head-open {
  transform: translateX(-50%) rotateX(8deg) scale(1.08);
}
.garden-page .garden-scene .flower-3d .flower-shape {
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 16px;
  line-height: 1;
  z-index: 3;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.garden-page .garden-scene .flower-3d .flower-mark {
  position: absolute;
  top: -6px;
  right: -4px;
  font-size: 18px;
  line-height: 1;
  z-index: 4;
  animation: sick-pulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}
.garden-page .garden-scene .flower-3d.flower-wilted {
  filter: grayscale(0.85);
  opacity: 0.9;
  animation: none;
}
.garden-page .garden-scene .flower-3d.flower-draggable {
  cursor: grab;
  outline: 2px dashed rgba(236, 95, 155, 0.6);
  outline-offset: 3px;
  border-radius: 14px;
}
.garden-page .garden-scene .flower-3d.flower-draggable:active {
  cursor: grabbing;
}
.garden-page .creature-card .creature-info .name-row .threat-tag {
  font-size: 11px;
  color: #fff;
  background: #E8A13A;
  border-radius: 999px;
  padding: 1px 8px;
  animation: sick-pulse 1.2s ease-in-out infinite;
}
.garden-page .creature-card .creature-info .name-row .collected-tag {
  font-size: 11px;
  color: #1b7d54;
  background: #E8F5E9;
  border-radius: 999px;
  padding: 1px 8px;
}
.garden-page .weather-stats .stat.stat-bad {
  border-color: #E85D4A;
  background: #FDECEA;
}
.garden-page .weather-stats .stat.stat-bad .stat-val {
  color: #E85D4A;
}

.ant-modal-root .sell-petal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #FFF0F5 0%, #FFE4EC 100%);
  border: 2px solid #F4C6D2;
  border-radius: 16px;
  padding: 16px 18px;
}
.ant-modal-root .sell-petal .sell-petal-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ant-modal-root .sell-petal .sell-petal-info .sell-petal-emoji {
  font-size: 36px;
  line-height: 1;
}
.ant-modal-root .sell-petal .sell-petal-info .sell-petal-num {
  font-size: 17px;
  font-weight: 700;
  color: #173404;
}
.ant-modal-root .sell-petal .sell-petal-info .sell-petal-price {
  font-size: 12px;
  color: #B34E7E;
}
.ant-modal-root .sell-petal .sell-petal-btns {
  display: flex;
  gap: 8px;
}
.ant-modal-root .sell-petal .sell-petal-btns .ant-btn {
  border-radius: 999px;
  font-weight: 600;
}

.ant-modal-root .codex-hint {
  font-size: 12px;
  color: #B34E7E;
  margin-bottom: 12px;
}

.ant-modal-root .codex-section {
  margin-bottom: 16px;
}
.ant-modal-root .codex-section .codex-species {
  font-size: 15px;
  font-weight: 700;
  color: #173404;
  margin-bottom: 6px;
}
.ant-modal-root .codex-section .codex-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ant-modal-root .codex-section .codex-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ant-modal-root .codex-section .codex-row .codex-color-name {
  flex: 0 0 46px;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}
.ant-modal-root .codex-section .codex-row .codex-shapes {
  flex: 1;
  display: flex;
  gap: 6px;
}
.ant-modal-root .codex-section .codex-row .codex-cell {
  position: relative;
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: #F7F7F4;
  border: 1.5px solid #E5E2DA;
  border-radius: 10px;
  opacity: 0.55;
  cursor: default;
  transition: all 0.15s;
}
.ant-modal-root .codex-section .codex-row .codex-cell i {
  position: absolute;
  top: -4px;
  right: -3px;
  font-size: 12px;
  font-style: normal;
}
.ant-modal-root .codex-section .codex-row .codex-cell.codex-collected {
  background: linear-gradient(180deg, #FFF0F5 0%, #FFE4EC 100%);
  border-color: #EC5F9B;
  opacity: 1;
  box-shadow: 0 2px 6px rgba(236, 95, 155, 0.18);
}
.ant-modal-root .codex-section .codex-row .codex-cell.codex-locked {
  opacity: 0.3;
  filter: grayscale(0.8);
  cursor: not-allowed;
}