* {
  box-sizing: border-box
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 24px 14px;
  font-family: PingFang SC, Microsoft YaHei, sans-serif;
  background: linear-gradient(175deg, #1f0d1a, #2a1322 50%, #190b14);
  color: #2d1a24
}

.page {
  width: min(100%, 480px);
  margin: auto
}

.card {
  padding: 38px 22px 30px;
  border-radius: 24px;
  text-align: center;
  background: #fffafd;
  border: 1px solid #f0a0b855;
  box-shadow: inset 0 2px #f0a0b8, 0 20px 50px #12050d70
}

.spark {
  font-size: 46px
}

.card h1 {
  font-size: 26px;
  margin: 12px 0 10px
}

.card h1 span {
  color: #d4788f
}

.desc {
  white-space: pre-line;
  color: #755363;
  line-height: 1.7
}

.proof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 14px auto 2px;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff1e2, #ffe3d0);
  color: #a3541c;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .06)
}

.proof b {
  font-size: 17px;
  color: #e53935
}

.pills {
  margin: 16px 0;
  display: flex;
  gap: 7px;
  justify-content: center;
  flex-wrap: wrap
}

.pill {
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 99px;
  background: #f8e6ec;
  color: #a45168
}

.links {
  display: grid;
  gap: 10px
}

.link {
  padding: 14px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 800
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, #d4788f, #ad4e68);
  box-shadow: 0 7px 16px #b45b7538
}

.secondary {
  color: #824b60;
  background: #f9e8ee;
  border: 1px solid #edcad5
}

.accent {
  color: #60384b;
  background: #fff;
  border: 1px solid #d9b9c4
}

.divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 2px;
  color: #bd7188;
  font-size: 12px;
  font-weight: 800
}

.divider:before,
.divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: #eccbd5
}

.foot {
  margin-top: 20px;
  color: #9a7a88;
  font-size: 11px
}

.back {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
  font-size: 13px;
  color: #fff;
}

.task-page {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 18px 55px #12050d66
}

.notice {
  white-space: pre-line;
  text-align: center;
  font-weight: 800;
  line-height: 1.65;
  color: #ee4e57;
  background: #fff0f1;
  border-left: 4px solid #ff525b;
  border-radius: 4px;
  padding: 15px 11px;
  margin: 0 0 18px
}

.step {
  background: #fff;
  border: 1px solid #edf0f3;
  border-radius: 12px;
  padding: 16px 13px;
  margin: 0 0 16px;
  box-shadow: 0 4px 16px #4e62720b
}

.step h2 {
  font-size: 17px;
  margin: 0 0 16px;
  color: #222
}

.step p {
  font-size: 14px;
  line-height: 1.75;
  color: #444
}

.task-img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 10px;
  margin: 12px auto
}

.save-box {
  padding: 13px;
  border: 1px solid #ffd8cf;
  border-radius: 11px;
  background: #fffaf7;
  text-align: center;
  color: #f05b51;
  font-weight: 750;
  line-height: 1.55
}

.platform {
  color: #f05252;
  font-weight: 800
}

.keyword-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid #ffd77b;
  border-radius: 10px;
  background: #fffdf3
}

.keyword {
  color: #ee5664;
  font-weight: 800
}


.submit {
  border: 0;
  color: white;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff796e, #ee4f58);
  padding: 10px 16px
}

.submit {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 18px auto 10px;
  text-decoration: none;
  background: linear-gradient(135deg, #278be8, #075cb8);
  box-shadow: 0 7px 18px #176fc33d
}

.muted {
  text-align: center;
  color: #999;
  font-size: 12px
}

.gallery {
  display: grid;
  gap: 9px
}

.gallery img {
  width: 100%;
  border-radius: 9px
}

.task-foot {
  text-align: center;
  color: #aaa;
  font-size: 12px;
  padding: 18px 0 6px
}

.comment-step {
  background: #fffaf5;
  border-color: #ffd9c2
}

.comment-step h2 {
  display: flex;
  align-items: center;
  gap: 9px
}

.step-num {
  display: inline-grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #ff7115;
  color: #fff;
  font-size: 12px
}

.comment-example {
  margin: 0 0 15px
}

.comment-text {
  white-space: pre-line;
  padding: 13px;
  border: 1px solid #ffd9c2;
  border-radius: 12px;
  background: #fff;
  color: #332820;
  font-size: 14px;
  line-height: 1.55;
  user-select: text;
  -webkit-user-select: text
}

.keyword {
  user-select: text;
  -webkit-user-select: text
}

.keyword-hint {
  text-align: center !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #244e8e !important;
  font-weight: 900 !important;
  margin: 14px 0 7px !important
}

.search-instruction {
  color: #181818 !important
}

.search-instruction .important-works {
  display: inline-block;
  color: #000 !important;
  font-size: 1.12em !important;
  line-height: 1.15;
  font-weight: 900
}

.comment-hint .important-works {
  color: #161616 !important;
  font-size: 1.16em;
  font-weight: 900
}

.comment-copy {
  display: block;
  margin: 9px auto 0;
  border: 0;
  border-radius: 14px;
  padding: 11px 20px;
  color: #fff;
  background: #ff7115;
  box-shadow: 0 5px 12px #ff71153b;
  font-weight: 800
}

.comment-hint {
  text-align: center !important;
  font-weight: 700;
  color: #533c30 !important;
  white-space: pre-line
}

.copy-toast {
  position: fixed;
  left: 50%;
  top: 80px;
  translate: -50% -14px;
  max-width: 88vw;
  padding: 13px 22px;
  border-radius: 999px;
  background: #24151eee;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  transition: .2s;
  z-index: 20;
  pointer-events: none
}

.copy-toast.show {
  opacity: 1;
  translate: -50% 0
}

.upload-page {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 55px #12050d66;
  background-size: cover;
  background-position: center
}

.upload-page h1 {
  text-align: center;
  font-size: 22px;
  margin: 6px 0 8px
}

.upload-intro {
  text-align: center;
  color: #7d6571;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line
}

.upload-zone {
  display: block;
  border: 2px dashed #e1b7c4;
  border-radius: 16px;
  padding: 28px 15px;
  text-align: center;
  background: #fff8fa;
  color: #a45168;
  cursor: pointer;
  margin-top: 18px
}

.upload-zone input {
  display: none
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0
}

.preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f2edf0
}

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

.preview-item button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #25151ecc;
  color: #fff
}

.upload-submit {
  width: 100%;
  border: 0;
  border-radius: 13px;
  padding: 14px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #278be8, #075cb8);
  box-shadow: 0 7px 18px #176fc33d
}

.upload-submit:disabled {
  opacity: .45;
  box-shadow: none
}

.counter {
  text-align: right;
  color: #a78d99;
  font-size: 12px;
  margin: 7px 2px
}

.upload-rules {
  white-space: pre-line;
  margin: 15px 0;
  padding: 14px;
  border-radius: 14px;
  background: #fff1ef;
  border: 1px solid #ffc9c1;
  color: #b23e35;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9
}

.privacy {
  text-align: center;
  color: #9b8790;
  font-size: 11px;
  line-height: 1.6
}

.result {
  display: none;
  text-align: center;
  padding: 20px 6px
}

.result.show {
  display: block
}

.result-icon {
  font-size: 52px
}

.resource {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
  padding: 13px 28px;
  border-radius: 12px;
  background: #f8e6ec;
  color: #a14f67;
  text-decoration: none;
  font-weight: 800;
  text-align: center
}

/* 按信息重要程度区分字号、颜色和视觉重量 */
body {
  background: linear-gradient(155deg, #3b172b 0%, #24101d 50%, #160b12 100%);
  padding: 18px 12px 32px
}

.page {
  max-width: 500px
}

.task-page {
  padding: 16px;
  background: linear-gradient(180deg, #fff, #fffbfd);
  border: 1px solid #ffffff80;
  box-shadow: 0 22px 65px #09030870
}

.notice {
  font-size: 16px;
  line-height: 1.8;
  color: #c92f43;
  background: linear-gradient(135deg, #fff0f3, #fff8f2);
  border: 1px solid #ffc9d0;
  border-left: 6px solid #ed4052;
  border-radius: 13px;
  padding: 17px 14px;
  box-shadow: 0 9px 24px #e8485c1c
}

.step {
  border-radius: 16px;
  padding: 18px 15px;
  margin-bottom: 17px;
  box-shadow: 0 8px 24px #40303a0d
}

.task-page>.step:nth-of-type(1) {
  background: linear-gradient(145deg, #fafcff, #f3f7ff);
  border-color: #d9e4ff
}

.task-page>.step:nth-of-type(2) {
  background: linear-gradient(145deg, #fffdf9, #fff8ef);
  border-color: #ffddb7
}

.step h2 {
  font-size: 18px;
  line-height: 1.5;
  color: #211a1e;
  margin-bottom: 15px
}

.task-page>.step:nth-of-type(1) h2 {
  color: #254e8d
}

.comment-step h2 {
  color: #a74726
}

.platform {
  font-size: 15px !important;
  color: #dc4e55 !important
}

.keyword-row {
  background: #fff;
  border-color: #bfd3ff;
  box-shadow: 0 5px 16px #315ca315
}

.keyword {
  font-size: 15px;
  color: #2456a2
}

.comment-text {
  font-size: 15px;
  line-height: 1.7;
  border-color: #ffd2a7;
  box-shadow: 0 5px 15px #c6782414
}

.comment-hint {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #b13f2e !important;
  background: #fff1e7;
  border-radius: 12px;
  padding: 12px !important
}

.step p {
  font-size: 14px;
  line-height: 1.8
}

.muted {
  font-size: 12px !important;
  color: #9c9096 !important
}


.submit {
  padding: 13px 22px;
  border-radius: 14px
}

.task-img {
  border: 1px solid #eadfe4;
  box-shadow: 0 8px 24px #37222c16
}

.task-foot {
  font-size: 11px;
  color: #b1a3aa
}

.upload-page {
  border: 1px solid #ffffff90;
  box-shadow: 0 22px 65px #09030870
}

.channel-home {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 0 18px;
  background: #f1f3f7;
  color: #213247;
  overflow: auto
}

.channel-home.is-hidden {
  display: none
}

.channel-panel {
  width: min(380px, 100%);
  margin: auto;
  padding: 46px 20px 56px;
  border-radius: 38px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(39, 57, 79, .11);
  text-align: center
}

.channel-spark {
  width: 65px;
  height: 58px;
  margin: 0 auto 12px;
  font-size: 50px;
  line-height: 58px
}

.channel-panel h1 {
  margin: 0 0 28px;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -1px;
  color: #213247
}

.channel-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 26px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f7f8fb;
  color: #8191ad;
  font-size: 14px
}

.channel-tip b {
  color: #f1bd00;
  font-size: 18px
}

.channel-card {
  padding: 28px 20px 30px;
  border: 1px solid #e8edf4;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(34, 53, 74, .06)
}

.channel-card+.channel-card {
  margin-top: 27px
}

.channel-card h2 {
  margin: 0 0 8px;
  color: #102844;
  font-size: 23px;
  font-weight: 900
}

.channel-card p {
  margin: 0 0 25px;
  color: #8391aa;
  font-size: 13px;
  line-height: 1.6
}

.channel-button {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  border: 1px solid #d2dff4;
  background: #edf4ff;
  color: #1271ed;
  font-size: 17px;
  font-weight: 800
}

.channel-button:active {
  transform: scale(.98)
}

.channel-button.vip {
  border-color: #ecd7b9;
  background: #f8ecdc;
  color: #d85d20
}

.channel-return {
  position: fixed;
  z-index: 90;
  top: 12px;
  left: 12px;
  display: none;
  border: 1px solid #ffffff55;
  border-radius: 999px;
  padding: 9px 13px;
  background: #ffffffed;
  color: #54354a;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 5px 18px #0003
}

.channel-return.show {
  display: block
}

.channel-toast {
  position: fixed;
  z-index: 101;
  left: 50%;
  bottom: 26px;
  translate: -50% 16px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #213247;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  white-space: nowrap
}

.channel-toast.show {
  opacity: 1;
  translate: -50% 0
}

.vip-page {
  width: min(100%, 480px);
  margin: auto;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  color: #25374c;
  box-shadow: 0 22px 65px #09030870
}

.vip-back {
  display: inline-block;
  margin-bottom: 15px;
  border: 0;
  background: none;
  color: #8b6e4a;
  font-size: 14px
}

.vip-page h1 {
  text-align: center;
  margin: 4px 0 12px;
  font-size: 24px
}

.vip-intro {
  white-space: pre-line;
  text-align: center;
  color: #74849b;
  font-size: 14px;
  line-height: 1.8
}

.vip-guide {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  margin: 10px auto 22px;
  border-radius: 16px;
  border: 1px solid #eee3d3
}

.vip-guide-text {
  white-space: pre-line;
  margin: 18px 0 10px;
  padding: 15px 16px;
  border-radius: 12px;
  background: #fff8ee;
  color: #8f4f28;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.8
}

.vip-upload {
  display: block;
  margin: 18px 0 10px;
  padding: 28px 14px;
  border: 2px dashed #e7cda8;
  border-radius: 16px;
  background: #fff9f0;
  color: #b66a2f;
  text-align: center;
  font-weight: 750;
  cursor: pointer
}

.vip-upload input {
  display: none
}

.vip-file {
  text-align: center;
  min-height: 22px;
  color: #8d99aa;
  font-size: 12px
}

.vip-submit,
.vip-resource {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ee974b, #d65a22);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 850
}

.vip-submit:disabled {
  opacity: .45
}

.vip-result {
  text-align: center;
  padding: 28px 4px
}

.vip-result-icon {
  font-size: 52px
}

.upload-zone {
  position: relative;
  overflow: hidden
}

.upload-zone input[type="file"] {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 100px
}

.channel-home {
  padding: 86px 18px 18px
}

.channel-home:before {
  content: "📢  本站所有资源均来自网络公开内容，如有侵权请联系客服删除";
  position: fixed;
  z-index: 102;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(676px, calc(100% - 24px));
  min-height: 64px;
  padding: 12px 18px;
  border: 1px solid #edc875;
  border-radius: 15px;
  background: #fff8e9;
  color: #956522;
  font-size: 14px;
  line-height: 1.5;
  text-align: center
}


body.home-mode {
  margin: 0;
  padding: 0;
  background: #f7f8fa;
  color: #171717
}

.home-mode>.page {
  width: min(100%, 500px);
  padding: 0 10px 36px
}

.store-home {
  min-height: 100vh
}

.store-top {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800
}

.store-hero {
  height: 190px;
  padding: 22px;
  border-radius: 15px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #217c80, #75c1b9)
}

.store-hero:before,
.store-hero:after {
  content: "";
  position: absolute;
  right: -30px;
  width: 230px;
  height: 76px;
  border-radius: 28px;
  transform: rotate(-15deg);
  background: #ffffff1c
}

.store-hero:before {
  top: 24px
}

.store-hero:after {
  bottom: -12px;
  right: 35px
}

.store-hero-in {
  position: relative;
  z-index: 1
}

.store-label {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: #ffffff30;
  font-size: 10px
}

.store-hero h1 {
  margin: 7px 0 2px;
  font-size: 20px
}

.store-hero p {
  margin: 0 0 12px;
  color: #ffffffd0;
  font-size: 11px
}

.store-hero a {
  display: inline-block;
  padding: 8px 17px;
  border-radius: 8px;
  background: #fff;
  color: #07978a;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800
}

.store-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 17px 0 8px;
  scrollbar-color: #999 transparent
}

.store-tabs button {
  flex: none;
  padding: 7px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 9px;
  background: #fff;
  color: #777
}

.store-tabs button.on {
  background: #222;
  color: #fff;
  border-color: #222
}

.store-sec {
  margin: 5px 3px 11px;
  font-size: 16px;
  font-weight: 800
}

.store-sec small {
  margin-left: 8px;
  color: #aaa;
  font-size: 10px;
  font-weight: 400
}

.store-list {
  display: grid;
  gap: 10px
}

.store-game {
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px
}

.store-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px dashed #d8dbe0;
  border-radius: 11px;
  background: #f3f4f6
}

.store-info {
  flex: 1;
  min-width: 0
}

.store-name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
  max-height: 2.7em;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-size: 14px;
  font-weight: 750
}

.store-meta {
  margin-top: 4px;
  color: #aaa;
  font-size: 10px
}

.store-tag {
  margin-right: 5px;
  padding: 1px 5px;
  border-radius: 3px;
  background: #e9faf7;
  color: #069f8f
}

.store-stars {
  color: #e19000
}

.store-get {
  flex: none;
  padding: 8px 17px;
  border-radius: 9px;
  background: #079f91;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750
}

.store-foot {
  text-align: center;
  padding: 28px;
  color: #c7c7c7;
  font-size: 11px
}

.store-search {
  position: relative;
  margin: 16px 0 0
}

.store-search:before {
  content: "⌕";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6f8199;
  font-size: 22px;
  line-height: 1;
  pointer-events: none
}

.store-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  border: 1px solid #e0e5ec;
  border-radius: 14px;
  background: #fff;
  color: #202b3a;
  font: inherit;
  font-size: 13px;
  outline: none;
  box-shadow: 0 8px 24px rgba(55, 77, 104, .08)
}

.store-search input:focus {
  border-color: #8fb7dd;
  box-shadow: 0 0 0 3px rgba(74, 144, 208, .12)
}

.store-search input::placeholder {
  color: #7f8b9c
}


.store-icon {
  display: grid;
  place-items: center;
  overflow: hidden
}

.store-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover
}

.store-hero.has-image {
  background-size: cover;
  background-position: center
}

.store-hero.has-image:before,
.store-hero.has-image:after {
  display: none
}


.task-page>.step {
  background: #fff !important;
  border-color: #e9e4dc !important;
  box-shadow: 0 6px 18px rgba(47, 35, 23, .06) !important
}

.step h2,
.task-page>.step:nth-of-type(1) h2,
.comment-step h2,
.step h2 span[style] {
  color: #111 !important
}

.keyword-row,
.comment-text,
.comment-hint {
  background: #fff !important;
  border-color: #ece6de !important
}


.comment-copy,
.submit {
  background: #ff6b00 !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(255, 107, 0, .22) !important
}

.keyword {
  color: #111 !important
}

.keyword-hint {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #b13f2e !important;
  white-space: pre-line !important
}

.keyword-hint .keyword-hint-fourth {
  color: #000 !important
}

.task-page {
  background: #f7f1e9 !important
}

@media(max-width:520px) {
  .notice {
    font-size: clamp(12px, 4vw, 15px) !important
  }

  .notice>strong {
    font-size: clamp(15px, 4.7vw, 18px) !important;
    white-space: nowrap
  }
}

.task-page>.step {
  background: #fff !important;
  margin-bottom: 22px !important;
  box-shadow: 0 10px 24px rgba(69, 47, 23, .12) !important
}

.claim-toast {
  position: fixed;
  z-index: 9999;
  top: calc(12px + env(safe-area-inset-top));
  left: 50%;
  transform: translate(-50%, -18px);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(33, 50, 71, .94);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 8px 24px #0003;
  opacity: 0;
  pointer-events: none;
  transition: .25s
}

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

.result .resource {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: min(100%, 320px) !important;
  min-height: 54px;
  margin: 12px auto 0 !important;
  padding: 12px 20px !important;
  box-sizing: border-box;
  border: 1px solid #f2c8d4 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #fff1f5, #f9e3ea) !important;
  color: #bd4f70 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(190, 79, 112, .12);
  transition: .18s
}

.result .resource:active {
  transform: scale(.98)
}

.store-search {
  display: block !important;
  margin: 18px 0 12px !important;
  padding: 11px 12px 12px !important;
  border: 2px solid #08a89a !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #eafffc, #f7fffe) !important;
  box-shadow: 0 8px 22px rgba(8, 168, 154, .18) !important
}

.store-search-title {
  display: block;
  margin: 0 0 8px 3px;
  color: #087e74;
  font-size: 14px;
  font-weight: 900
}

.store-search:before {
  content: "⌕" !important;
  left: 27px !important;
  top: 53px !important;
  color: #079f91 !important;
  font-size: 25px !important
}

.store-search input {
  height: 48px !important;
  padding-left: 44px !important;
  border: 1px solid #9bded8 !important;
  border-radius: 13px !important;
  background: #fff !important;
  color: #172b2a !important;
  font-size: 14px !important;
  box-shadow: inset 0 1px 2px rgba(25, 90, 84, .05) !important
}

.store-search input::placeholder {
  color: #708886 !important
}

.store-search input:focus {
  border-color: #079f91 !important;
  box-shadow: 0 0 0 4px rgba(7, 159, 145, .15) !important
}

.home-mode>.page {
  width: min(100%, 1040px);
  max-width: 1040px
}

.store-hero {
  height: 380px;
  align-items: stretch;
  gap: 24px;
  padding: 24px
}

.store-hero-in {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0
}

.store-hot {
  position: relative;
  z-index: 1;
  flex: 0 0 41%;
  align-self: stretch;
  padding: 16px 18px;
  border: 1px solid #ff5b54;
  border-radius: 14px;
  background: rgba(5, 19, 24, .78);
  backdrop-filter: blur(5px)
}

.store-hot h2 {
  margin: 0 0 12px;
  font-size: 24px
}

.store-hot-list {
  display: grid;
  gap: 10px
}

.store-hot-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 8px 12px;
  border: 1px solid #ff754c66;
  border-radius: 12px;
  background: rgba(45, 25, 22, .7);
  color: #fff;
  text-decoration: none
}

.store-hot-icon {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  flex: 0 0 54px !important;
  overflow: hidden;
  border: 1px solid #ffffff66;
  border-radius: 11px;
  background: #14343a
}

.store-hot-icon img {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  object-fit: cover !important
}

.store-hot-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.3;
  max-height: 2.6em;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-weight: 800
}

.store-hot-tag {
  flex: none;
  padding: 7px 11px;
  border-radius: 999px;
  background: #742b25;
  color: #ff6a5c;
  font-size: 12px;
  font-weight: 800
}

@media(max-width:700px) {
  .home-mode>.page {
    max-width: 500px
  }

  .store-hero {
    height: auto;
    min-height: 380px;
    display: block;
    padding: 20px
  }

  .store-hero-in {
    min-height: 175px
  }

  .store-hot {
    margin-top: 10px;
    padding: 13px
  }

  .store-hot h2 {
    font-size: 20px
  }

  .store-hot-item {
    min-height: 62px
  }

  .store-hot-icon {
    width: 44px;
    height: 44px
  }

  .store-hot-tag {
    padding: 6px 9px;
    font-size: 11px
  }
}

@media(max-width:700px) {
  .store-hero {
    min-height: 0 !important;
    padding: 16px !important;
    background-position: center top !important;
    overflow: hidden !important
  }

  .store-hero-in {
    min-height: 150px !important
  }

  .store-hot {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 12px !important;
    overflow: hidden !important
  }

  .store-hot h2 {
    margin-bottom: 9px !important;
    font-size: 19px !important
  }

  .store-hot-list {
    gap: 8px !important
  }

  .store-hot-item {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    padding: 6px 8px !important;
    gap: 8px !important
  }

  .store-hot-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    flex-basis: 44px !important
  }

  .store-hot-icon img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important
  }

  .store-hot-name {
    min-width: 0 !important;
    font-size: 13px !important
  }

  .store-hot-tag {
    padding: 5px 7px !important;
    font-size: 10px !important
  }

  .home-mode .feedback-entry {
    bottom: 16px !important
  }
}

.store-hero {
  height: auto !important;
  aspect-ratio: 1031/392
}

@media(max-width:700px) {
  .store-hero {
    display: flex !important;
    align-items: stretch !important;
    gap: 7px !important;
    min-height: 0 !important;
    padding: 7px !important
  }

  .store-hero-in {
    flex: 1 1 59% !important;
    min-width: 0 !important;
    min-height: 0 !important
  }

  .store-label {
    padding: 1px 4px !important;
    border-radius: 3px !important;
    font-size: 5px !important
  }

  .store-hero h1 {
    margin: 3px 0 1px !important;
    font-size: 10px !important
  }

  .store-hero p {
    margin: 0 0 5px !important;
    font-size: 5px !important
  }

  .store-hero-in>a {
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 6px !important
  }

  .store-hot {
    flex: 0 0 41% !important;
    align-self: stretch !important;
    width: auto !important;
    max-width: 41% !important;
    margin: 0 !important;
    padding: 5px !important;
    border-radius: 6px !important
  }

  .store-hot h2 {
    margin: 0 0 3px !important;
    font-size: 9px !important;
    line-height: 1.2 !important
  }

  .store-hot-list {
    gap: 3px !important
  }

  .store-hot-item {
    min-height: 0 !important;
    height: 30px !important;
    padding: 3px 4px !important;
    gap: 4px !important;
    border-radius: 5px !important
  }

  .store-hot-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    flex-basis: 24px !important;
    border-radius: 5px !important
  }

  .store-hot-icon img {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important
  }

  .store-hot-name {
    font-size: 6px !important
  }

  .store-hot-tag {
    padding: 3px 4px !important;
    font-size: 5px !important
  }
}

.store-hero {
  height: auto !important;
  aspect-ratio: 16/9 !important;
  background-size: cover !important;
  background-position: center center !important
}

.store-hero h1 {
  font-size: clamp(18px, 4.65vw, 48px) !important;
  line-height: 1.1 !important
}

.store-hero-in>p {
  font-size: clamp(10px, 2.45vw, 25px) !important
}

.store-hero-in>a {
  font-size: clamp(11px, 2.3vw, 24px) !important
}

@media(max-width:700px) {
  .store-hero {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
    min-height: 0 !important;
    padding: 9px !important
  }

  .store-hero-in {
    flex: 1 1 59% !important;
    min-width: 0 !important;
    min-height: 0 !important
  }

  .store-label {
    padding: 2px 5px !important;
    font-size: 7px !important
  }

  .store-hero h1 {
    margin: 5px 0 3px !important
  }

  .store-hero-in>p {
    margin: 0 0 8px !important;
    overflow-wrap: anywhere !important
  }

  .store-hero-in>a {
    padding: 6px 11px !important;
    border-radius: 5px !important
  }

  .store-hot {
    flex: 0 0 41% !important;
    align-self: stretch !important;
    width: auto !important;
    max-width: 41% !important;
    margin: 0 !important;
    padding: 7px !important;
    border-radius: 7px !important
  }

  .store-hot h2 {
    margin: 0 0 5px !important;
    font-size: 13px !important;
    line-height: 1.2 !important
  }

  .store-hot-list {
    gap: 5px !important
  }

  .store-hot-item {
    min-height: 0 !important;
    height: 40px !important;
    padding: 3px 5px !important;
    gap: 5px !important;
    border-radius: 6px !important
  }

  .store-hot-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex-basis: 32px !important;
    border-radius: 6px !important
  }

  .store-hot-icon img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important
  }

  .store-hot-name {
    font-size: 8px !important
  }

  .store-hot-tag {
    padding: 3px 4px !important;
    font-size: 6px !important
  }
}

.store-hot {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 80, 74, .72) !important;
  background: linear-gradient(145deg, rgba(3, 21, 26, .9), rgba(15, 18, 21, .82)) !important;
  box-shadow: inset 0 0 28px rgba(0, 174, 174, .06), 0 12px 34px rgba(0, 0, 0, .18) !important
}

.store-hot:before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, #03d6ce 12%, #03d6ce 88%, transparent);
  opacity: .9
}

.store-hot h2 {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .42)
}

.store-hot-item {
  border: 1px solid rgba(255, 111, 78, .24) !important;
  background: linear-gradient(100deg, rgba(14, 27, 29, .88), rgba(47, 25, 24, .72)) !important;
  color: #fff !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 5px 16px rgba(0, 0, 0, .17) !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease !important
}

.store-hot-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 100, 75, .55) !important;
  background: linear-gradient(100deg, rgba(14, 35, 37, .94), rgba(60, 28, 25, .82)) !important
}

.store-hot-icon {
  border: 1px solid rgba(255, 255, 255, .42) !important;
  box-shadow: 0 0 12px rgba(255, 94, 79, .28) !important
}

.store-hot-name {
  color: #fff !important;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .45)
}

.store-hot-tag {
  border: 1px solid rgba(255, 101, 84, .2) !important;
  background: rgba(105, 34, 29, .68) !important;
  color: #ff6558 !important
}

@media(max-width:700px) {
  .store-hot:before {
    left: -6px;
    width: 1px
  }

  .store-hot {
    box-shadow: inset 0 0 10px rgba(0, 174, 174, .06), 0 4px 10px rgba(0, 0, 0, .14) !important
  }

  .store-hot-item {
    box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 2px 6px rgba(0, 0, 0, .14) !important
  }

  .store-hot-icon {
    box-shadow: 0 0 5px rgba(255, 94, 79, .24) !important
  }
}

.store-hero-in {
  padding-left: 4.5% !important
}

.store-hero h1 {
  font-size: clamp(20px, 5.4vw, 56px) !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere !important
}

.store-hero-in>p {
  font-size: clamp(11px, 2.7vw, 28px) !important
}

.store-hero-in>a {
  font-size: clamp(12px, 2.5vw, 26px) !important
}

@media(max-width:700px) {
  .store-hero-in {
    padding-left: 4.5% !important
  }

  .store-hero h1 {
    margin-top: 6px !important
  }
}

@media(max-width:700px) {

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important
  }

  .home-mode>.page,
  .store-home,
  .store-list,
  .store-game {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important
  }

  .store-tabs {
    width: 100% !important;
    max-width: 100% !important;
    overscroll-behavior-inline: contain
  }

  .store-game {
    height: 96px !important;
    min-height: 96px !important;
    padding: 12px !important;
    gap: 10px !important;
    overflow: hidden !important
  }

  .store-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    flex-basis: 52px !important
  }

  .store-info {
    min-width: 0 !important;
    overflow: hidden !important
  }

  .store-name {
    display: -webkit-box !important;
    overflow: hidden !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-height: 1.35 !important;
    max-height: 2.7em !important
  }

  .store-meta {
    display: block !important;
    overflow: hidden !important;
    max-width: 100% !important;
    max-height: 38px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.5 !important
  }

  .store-get {
    flex: 0 0 auto !important
  }

  .home-mode .feedback-entry {
    right: 14px !important;
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    min-width: 132px !important;
    min-height: 48px !important;
    padding: 11px 17px !important;
    border-radius: 999px !important;
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #5572f2, #315ee8) !important;
    box-shadow: 0 10px 28px rgba(49, 94, 232, .35) !important
  }

  .home-mode .feedback-entry span {
    font-size: 16px !important;
    line-height: 1 !important;
    writing-mode: horizontal-tb !important;
    letter-spacing: 0 !important
  }

  .home-mode .feedback-entry b {
    font-size: 20px !important;
    line-height: 1 !important
  }
}

.upload-page {
  max-width: 480px;
  margin: auto
}

.result {
  padding: 18px 2px 8px
}

.claim-success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dff8ea, #bcefd4);
  color: #168553;
  font-size: 31px;
  font-weight: 900;
  box-shadow: 0 8px 22px #2b9d6b24
}

.result h1 {
  margin: 0 0 7px
}

.claim-success-main {
  margin: 0;
  text-align: center;
  color: #29242a;
  font-size: 18px;
  font-weight: 900
}

.claim-success-sub {
  margin: 7px 0 20px;
  text-align: center;
  color: #756c73;
  font-size: 14px
}

.claim-resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  text-decoration: none;
  color: #29242a;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease
}

.claim-resource-card:active {
  transform: scale(.98)
}

.claim-eyebrow {
  margin-bottom: 9px;
  color: #d84f78;
  font-size: 13px;
  font-weight: 900
}

.claim-countdown {
  margin-left: 5px;
  color: #e34a60;
  font-variant-numeric: tabular-nums
}

.claim-resource-name {
  padding-right: 58px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45
}

.claim-resource-card small {
  margin-top: 6px;
  color: #8e858d;
  font-size: 12px
}

.claim-resource-action {
  margin-top: 13px;
  color: #d84f78;
  font-size: 13px;
  font-weight: 850
}

.claim-primary {
  padding: 18px;
  border: 2px solid #ed7196;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #fff1f5);
  box-shadow: 0 10px 28px #b83d6630
}

.claim-primary .claim-resource-name {
  padding: 0;
  font-size: 18px
}

.claim-primary .claim-resource-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 15px;
  border-radius: 13px;
  background: linear-gradient(135deg, #e8678c, #c9456d);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 7px 18px #c9456d3d
}

.claim-boost {
  margin-top: 0;
  padding: 15px 17px;
  border: 1px solid #ebe7e9;
  border-radius: 16px;
  background: #fff
}

.claim-boost .claim-resource-action {
  position: absolute;
  right: 16px;
  bottom: 15px;
  margin: 0
}

.claim-resource-section {
  margin-top: 22px;
  text-align: left
}

.claim-resource-section h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #373138
}

.claim-like-grid,
.claim-more-list {
  display: grid;
  gap: 9px
}

.claim-like-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.claim-compact {
  min-height: 112px;
  padding: 14px;
  border: 1px solid #ece9eb;
  border-radius: 15px;
  background: #faf9fa
}

.claim-compact .claim-resource-name {
  padding: 0;
  font-size: 13px
}

.claim-compact .claim-resource-action {
  margin-top: auto
}

.claim-more {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 14px 15px;
  border: 1px solid #ece9eb;
  border-radius: 14px;
  background: #fff
}

.claim-more .claim-resource-name {
  padding: 0;
  font-size: 13px
}

.claim-more .claim-resource-action {
  margin: 0 0 0 10px;
  transition: transform .2s ease
}

.claim-more:hover .claim-resource-action {
  transform: translateX(3px)
}

@media(hover:hover) {
  .claim-resource-card:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 8px 20px #36212a14
  }
}

@media(max-width:390px) {
  .claim-like-grid {
    grid-template-columns: 1fr
  }

  .claim-compact {
    min-height: 0
  }

  .upload-page {
    padding: 18px 15px
  }
}

.entry-notice {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 6, 9, .72);
  backdrop-filter: blur(4px)
}

.entry-notice.is-hidden {
  display: none
}

.entry-notice-card {
  width: min(100%, 480px);
  max-height: 88vh;
  overflow: auto;
  padding: 25px 22px 20px;
  border-radius: 20px;
  background: #fff;
  color: #33242b;
  box-shadow: 0 24px 80px #0008
}

.entry-notice-card h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 23px;
  color: #c94f70
}

.entry-notice-card p {
  margin: 0;
  white-space: pre-line;
  font-size: 15px;
  line-height: 1.85
}

.entry-notice-card button {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #e77696, #c94f70);
  color: #fff;
  font-size: 16px;
  font-weight: 800
}

.channel-tip {
  margin-bottom: 12px !important
}

.channel-panel .proof {
  display: flex;
  width: max-content;
  margin: 0 auto 12px
}

.chat-scroll-region {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #f5f6f8
}

.chat-scroll-region .visitor-chat-messages {
  height: auto !important;
  min-height: 100%;
  overflow: visible !important
}

.chat-service-intro {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 16px 14px 10px;
  background: linear-gradient(180deg, #eaf0ff, #eef3ff)
}

.chat-service-avatar {
  width: 56px;
  height: 56px;
  border: 3px solid #5b8de8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  font-size: 30px;
  box-shadow: 0 3px 10px #315ca330
}

.chat-service-bubble {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 16px #26395718
}

.chat-service-bubble::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 20px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #fff
}

.chat-service-text {
  margin: 0;
  padding: 16px 17px;
  color: #222;
  font-size: 15px;
  line-height: 1.85;
  white-space: pre-line
}

.chat-service-bubble .chat-quick {
  display: grid;
  gap: 9px;
  padding: 13px;
  border-top: 1px solid #e5e7eb;
  background: #fff
}

.chat-service-bubble .chat-quick button {
  width: 100%;
  border: 1px solid #e3e9f5;
  border-radius: 11px;
  padding: 10px 11px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .15s
}

.chat-service-bubble .chat-quick button:before {
  content: "💬 ";
  color: #4169e1
}

.chat-service-bubble .chat-quick button:hover {
  border-color: #4169e1;
  background: #f0f4ff;
  color: #4169e1
}

.chat-service-bubble .chat-quick button:active {
  transform: scale(.98)
}

.visitor-chat-messages .chat-welcome {
  display: none
}

@media(max-width:420px) {
  .chat-service-intro {
    grid-template-columns: 48px 1fr;
    gap: 9px;
    padding: 12px 10px 8px
  }

  .chat-service-avatar {
    width: 46px;
    height: 46px;
    font-size: 25px
  }

  .chat-service-text {
    padding: 13px;
    font-size: 14px
  }
}

.feedback-entry #chatUnread {
  z-index: 2;
  right: -7px;
  top: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 13px;
  box-shadow: 0 2px 7px #0004;
  font: 800 12px/18px sans-serif;
  text-align: center
}

.keyword-row .keyword {
  flex: 0 0 100%;
  text-align: center
}

.keyword-row .copy {
  flex: 1;
  min-width: 0;
  padding: 9px 8px;
  font-size: 12px;
  white-space: nowrap
}

.keyword-row .pf-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.keyword-row .copy.pf {
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
  border: none;
  background: none;
}

.keyword-row .copy.pf img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.comment-hint .task-key {
  color: #000 !important;
  font-weight: 900
}

.feedback-entry {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 80;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: #222;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 24px #0004
}

.feedback-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px)
}

.feedback-mask.show {
  display: grid
}

.feedback-box {
  width: min(100%, 460px);
  max-height: 92vh;
  overflow: auto;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  color: #222;
  box-shadow: 0 20px 60px #0005
}

.feedback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px
}

.feedback-head h2 {
  margin: 0;
  font-size: 21px
}

.feedback-close {
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12);
  font-size: 22px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  transition: background .2s, transform .2s
}

.feedback-close:hover {
  background: rgba(255, 255, 255, .24);
  transform: rotate(90deg)
}

.feedback-box label {
  display: block;
  font-size: 13px;
  font-weight: 800
}

.feedback-box input,
.feedback-box select,
.feedback-box textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: #222;
  font: inherit
}

.feedback-box textarea {
  min-height: 130px;
  resize: vertical
}

.feedback-actions {
  display: flex;
  gap: 10px;
  margin-top: 17px
}

.feedback-actions button {
  flex: 1;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  font-weight: 800
}

.feedback-reset {
  background: #eee;
  color: #555
}

.feedback-submit {
  background: #ff6b00;
  color: #fff
}

.feedback-submit:disabled {
  opacity: .55
}

.feedback-note {
  margin: 14px 0 0;
  text-align: center;
  color: #999;
  font-size: 12px
}

.chat-image-pick {
  position: relative;

  justify-items: center;
  align-items: center;
  align-self: center;
  border: 1px solid #c7d5ff;
  border-radius: 12px;
  background: #eef3ff;
  color: #315dcc;
  cursor: pointer;
  box-shadow: 0 2px 7px #4169e122;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color .2s, background .2s, transform .15s
}

.chat-image-pick:hover {
  border-color: #4169e1;
  background: #e3ecff
}

.chat-image-pick:active {
  transform: scale(.96)
}

.chat-image-plus {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin: 8px 0;
  border-radius: 50%;
  background: #4169e1;
  color: #fff;
  font: bold 21px/21px sans-serif
}

.chat-image-pick small {
  font-size: 10px;
  font-weight: 700
}

.visitor-chat-form textarea {
  height: 48px;
  min-height: 48px;
  max-height: 90px;
  padding: 12px 10px;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 22px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow-y: auto;
  resize: none
}

.visitor-chat-preview {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 14px;
  background: #fff;
  border-top: 1px solid #eee
}

.visitor-chat-preview.show {
  display: flex
}

.visitor-chat-preview span {
  position: relative;
  flex: 0 0 58px
}

.visitor-chat-preview img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px
}

.visitor-chat-preview button {
  position: absolute;
  right: -5px;
  top: -5px;
  width: 19px;
  height: 19px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ef4444;
  color: #fff
}

.visitor-msg span a {
  display: inline-block;
  margin: 7px 6px 0 0
}

.visitor-msg span img {
  display: block;
  max-width: 180px;
  max-height: 180px;
  border-radius: 8px
}

.visitor-chat-messages>.chat-quick {
  margin: -14px -14px 12px;
  position: static
}

.upload-zone {
  position: relative;
  display: flex;
  min-height: 150px;
  padding: 24px 15px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent
}

.upload-zone-plus {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f7dce5;
  color: #9c4963;
  font: bold 36px/42px sans-serif
}

.upload-zone small {
  display: block
}

.upload-zone input[type="file"] {
  display: block !important;
  position: absolute !important;
  z-index: 3;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: .001 !important;
  cursor: pointer;
  font-size: 100px
}

.upload-zone>span,
.upload-zone>small {
  pointer-events: none
}

@media(max-width:360px) {
  .visitor-chat-form {
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px
  }

  .chat-image-pick {
    flex-basis: 47px
  }

  .visitor-chat-form button {
    flex-basis: 56px;
    height: 48px;
  }

  .visitor-chat-form textarea {
    font-size: 12px;
    padding-left: 8px;
    padding-right: 8px
  }
}

.feedback-entry {
  right: 0;
  bottom: 35%;
  width: 50px;
  border-radius: 12px 0 0 12px;
  padding: 12px 9px;
  background: #4169e1;
  display: none;
  gap: 7px;
  justify-items: center
}

.channel-mode .feedback-entry {
  display: grid;
  z-index: 120
}

.feedback-entry span {
  font-size: 17px;
  line-height: 1.35;
  writing-mode: vertical-rl;
  letter-spacing: 3px
}

.feedback-entry b {
  font-size: 20px
}

.feedback-entry i {
  display: none;
  position: absolute;
  right: 3px;
  top: 3px;
  min-width: 18px;
  height: 18px;
  padding: 1px 5px;
  border-radius: 12px;
  background: #f23;
  color: #fff;
  font: 700 11px/16px sans-serif
}

.feedback-entry i.show {
  display: block
}

.chat-box {
  width: min(100%, 480px);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 20px);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .3)
}

.feedback-mask.show .chat-box {
  animation: chatPop .3s cubic-bezier(.2, .9, .3, 1.15)
}

@keyframes chatPop {
  from {
    transform: translateY(16px) scale(.97);
    opacity: 0
  }
  to {
    transform: none;
    opacity: 1
  }
}

.feedback-head {
  flex: 0 0 auto;
  padding: 17px 18px;
  margin: 0;
  border-bottom: 0;
  background: linear-gradient(135deg, #5572f2, #315ee8);
  color: #fff
}

.feedback-head h2 {
  color: #fff;
  letter-spacing: .3px
}

.feedback-head small {
  color: rgba(255, 255, 255, .88)
}

.feedback-head .online {
  display: inline-block;
  padding: 1px 9px 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #d1fae5;
  font-size: 12px;
  font-weight: 700
}

.feedback-head .online::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .55);
  vertical-align: 1px;
  animation: chatPulse 1.8s ease-out infinite
}

@keyframes chatPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .55)
  }
  70%,
  100% {
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0)
  }
}

.feedback-head .offline {
  color: rgba(255, 255, 255, .7)
}

.chat-quick {
  flex: 0 0 auto;
  display: flex;
  gap: 7px;
  padding: 10px 14px;
  overflow: auto;
  background: #f7f8fa
}

.chat-quick button {
  white-space: nowrap;
  border: 1px solid #dbe4ff;
  border-radius: 18px;
  padding: 7px 10px;
  background: #fff;
  color: #4169e1
}

.visitor-chat-messages {
  height: 360px;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  background: #f5f6f8
}

.chat-welcome {
  text-align: center;
  color: #888;
  font-size: 13px
}

.visitor-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 10px 0
}

.visitor-msg span {
  position: relative;
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 14px 4px 14px 14px;
  background: linear-gradient(135deg, #5572f2, #4169e1);
  color: #fff;
  box-shadow: 0 1px 3px #0001;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 14px;
  line-height: 1.6;
  user-select: text;
  -webkit-user-select: text;
  min-width: 0
}

.visitor-msg span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 9px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 7px solid #4169e1
}

.visitor-msg.admin {
  align-items: flex-start
}

.visitor-msg.admin span {
  position: relative;
  background: #fff;
  color: #222;
  border-radius: 4px 14px 14px 14px;
  border: 1px solid #e8ebf0
}

.visitor-msg.admin span::after {
  right: auto;
  left: -7px;
  border-right: 7px solid #f5f6f8;
  border-left: 0
}

.visitor-msg.admin span b {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #4169e1;
  margin-bottom: 3px
}

.visitor-msg.auto span b {
  display: inline-block;
  font-size: 11px;
  color: #4169e1;
  margin-bottom: 4px
}

.visitor-msg time {
  margin: 4px 6px 0;
  color: #aaa;
  font-size: 10px;
  line-height: 1
}

.visitor-chat-form {
  position: sticky;
  bottom: 0;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  gap: 9px;
  padding: 12px calc(12px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #eef1f6;
  box-shadow: 0 -8px 20px rgba(15, 23, 42, .05)
}

.visitor-chat-form textarea {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  max-height: 90px;
  resize: none;
  transition: border-color .2s, box-shadow .2s
}

.visitor-chat-form textarea:focus {
  outline: none;
  border-color: #4169e1;
  box-shadow: 0 0 0 3px rgba(65, 105, 225, .15)
}

.visitor-chat-form button {
  flex: 0 0 72px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #5572f2, #315ee8);
  color: #fff;
  font-weight: 800;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(49, 94, 232, .32);
  transition: filter .2s, box-shadow .2s, transform .15s
}

.visitor-chat-form button:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 20px rgba(49, 94, 232, .4)
}

.visitor-chat-form button:active {
  transform: scale(.95)
}

@media(max-width:520px) {
  .feedback-entry {
    bottom: 26%
  }

  .feedback-mask {
    padding: 10px;
    align-items: end
  }

  .chat-box {
    width: 100%;
    height: calc(100dvh - 20px)
  }

  .visitor-chat-messages {
    flex: 1;
    height: auto
  }
}

/* ===== 客服按钮全站显示（原站仅 channel-mode 显示，通道已停用故放开） ===== */
.page .feedback-entry {
  display: grid
}

.home-mode .feedback-entry {
  display: flex;
  right: 16px;
  bottom: 18px;
  width: auto;
  min-width: 132px;
  min-height: 48px;
  padding: 11px 17px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5572f2, #315ee8);
  box-shadow: 0 10px 28px rgba(49, 94, 232, .35);
  align-items: center;
}

.home-mode .feedback-entry span {
  font-size: 16px;
  line-height: 1;
  writing-mode: horizontal-tb;
  letter-spacing: 0
}

.home-mode .feedback-entry b {
  font-size: 20px;
  line-height: 1
}

.visitor-chat-messages>* {
  position: static !important
}

.visitor-chat-messages>.chat-quick {
  display: none !important
}

.chat-service-bubble>.chat-quick {
  display: grid !important;
  position: static !important
}

.chat-image-pick {
  flex-basis: 48px;
  gap: 0
}

.chat-image-pick small {
  display: none
}

.chat-image-plus {
  width: 30px;
  height: 30px;
}

@media(max-width:700px) {
  .channel-home {
    place-items: start center;
    padding: 56px 10px 10px
  }

  .channel-home:before {
    top: 6px;
    width: calc(100% - 20px);
    min-height: 42px;
    padding: 7px 12px;
    border-radius: 11px;
    font-size: 11px;
    line-height: 1.35
  }

  .channel-panel {
    width: min(360px, 100%);
    margin: 0 auto;
    padding: 15px 14px 17px;
    border-radius: 24px
  }

  .channel-spark {
    width: 40px;
    height: 34px;
    margin-bottom: 4px;
    font-size: 31px;
    line-height: 34px
  }

  .channel-panel h1 {
    margin-bottom: 9px;
    font-size: 21px
  }

  .channel-tip {
    margin-bottom: 8px;
    padding: 5px 8px;
    font-size: 12px
  }

  .channel-tip b {
    font-size: 14px
  }

  .channel-panel>.proof {
    margin: 5px auto 9px;
    padding: 5px 12px;
    font-size: 11px
  }

  .channel-panel>.proof b {
    font-size: 14px
  }

  .channel-card {
    padding: 13px 14px 14px;
    border-radius: 19px
  }

  .channel-card+.channel-card {
    margin-top: 10px
  }

  .channel-card h2 {
    margin-bottom: 3px;
    font-size: 19px
  }

  .channel-card p {
    margin-bottom: 9px;
    font-size: 11px;
    line-height: 1.4
  }

  .channel-button {
    min-height: 42px;
    font-size: 15px
  }
}