:root {
  --ds-bg: #f4f7fb;
  --ds-surface: #ffffff;
  --ds-surface-soft: #f8fafc;
  --ds-border: #dfe7f2;
  --ds-text: #172033;
  --ds-muted: #667085;
  --ds-blue: #1f4fb8;
  --ds-blue-dark: #163a86;
  --ds-green: #0f8a61;
  --ds-amber: #b7791f;
  --ds-red: #c53030;
  --ds-shadow: 0 14px 36px rgba(17, 36, 80, .08);
  /* 全站背景图片入口：以后替换 frontend/src/site-bg.jpg 即可更换网站背景 */
  --site-bg-image: url("../site-bg1.jpg");
}

/* 网页内置预设字体：来自 frontend/src/fonts，用户无需在电脑上安装。 */
@font-face { font-family: "Preset_SourceHanSans_Bold"; src: url("../fonts/source-han-sans-cn-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Preset_SourceHanSans_Regular"; src: url("../fonts/source-han-sans-cn-regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Preset_AlimamaShuHei"; src: url("../fonts/alimama-shuhei.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Preset_AlimamaFangYuan_Bold"; src: url("../fonts/alimama-fangyuan.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Preset_AlimamaFangYuan_Regular"; src: url("../fonts/alimama-fangyuan.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Preset_YousheTitleHei"; src: url("../fonts/youshe-title-hei.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Preset_HarmonyOS_Bold"; src: url("../fonts/harmonyos-sans-sc-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Preset_HarmonyOS_Regular"; src: url("../fonts/harmonyos-sans-sc-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Preset_Douyu"; src: url("../fonts/douyu-font.otf") format("opentype"); font-weight: 400; font-display: swap; }

html {
  background: var(--ds-bg);
}

body {
  color: var(--ds-text);
  background-color: var(--ds-bg) !important;
  background-image: var(--site-bg-image) !important;
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;
  background-attachment: fixed;
  letter-spacing: 0;
}

a {
  color: var(--ds-blue);
}

.wrap {
  border-radius: 10px !important;
  border: 1px solid var(--ds-border);
  box-shadow: var(--ds-shadow) !important;
  padding: 34px !important;
}

.wrap h1,
.container > h1,
.card h2,
.panel h2,
.modal h3 {
  color: var(--ds-blue-dark) !important;
  letter-spacing: 0;
}

.sub,
.intro,
.muted,
.tip {
  color: var(--ds-muted) !important;
}

input,
textarea,
select {
  border: 1px solid #cfd9e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--ds-text) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--ds-blue) !important;
  box-shadow: 0 0 0 3px rgba(31, 79, 184, .14) !important;
  outline: none !important;
}

button,
.btn,
.buy,
.code-btn,
.cancel,
label[for="bg-upload"],
label[for="list-upload"] {
  border-radius: 8px !important;
  font-weight: 650 !important;
  letter-spacing: 0;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, opacity .16s ease;
}

button:hover:not(:disabled),
.btn:hover:not(:disabled),
.buy:hover:not(:disabled),
.code-btn:hover:not(:disabled),
label[for="bg-upload"]:hover,
label[for="list-upload"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17, 36, 80, .12);
}

.btn,
.buy,
.btn-primary,
button.primary,
#submit,
#save-token,
#search,
#save-member,
#save-credit,
#save-profile,
#save-email {
  background: var(--ds-blue) !important;
  color: #fff !important;
}

.code-btn,
.btn.secondary {
  background: #eef4ff !important;
  color: var(--ds-blue) !important;
  border-color: #bed0f5 !important;
}

.card,
.panel,
.plan,
.modal,
dialog {
  border: 1px solid var(--ds-border) !important;
  border-radius: 10px !important;
  box-shadow: var(--ds-shadow) !important;
  background: var(--ds-surface) !important;
}

.container {
  max-width: 1120px;
}

.plans {
  align-items: stretch;
}

.plan {
  text-align: left !important;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.plan h3 {
  color: var(--ds-blue-dark) !important;
  font-size: 20px !important;
}

.plan .price {
  color: #0f172a !important;
  font-size: 40px !important;
}

.plan ul {
  flex: 1;
}

.plan li::before {
  color: var(--ds-green) !important;
}

.plan.hot {
  border-color: var(--ds-amber) !important;
  transform: translateY(-4px);
}

.plan.hot::before {
  background: var(--ds-amber) !important;
}

.plan.hot .buy {
  background: var(--ds-amber) !important;
}

.mask {
  backdrop-filter: blur(2px);
}

.modal {
  width: min(380px, calc(100vw - 32px)) !important;
}

.err,
.msg {
  color: var(--ds-red) !important;
}

.err.ok,
.msg.ok,
.ok {
  color: var(--ds-green) !important;
}

/* 首页工具界面 */
body.app-shell {
  padding: 0 clamp(18px, 5.35vw, 112px) 38px !important;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
  background-color: #eef5ff !important;
  background-image: var(--site-bg-image) !important;
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;
  background-attachment: fixed;
}

body.app-shell::before {
  content: none;
}

body.app-shell::after {
  content: none;
}

body.app-shell > .flex,
body.app-shell > .max-w-7xl {
  position: relative;
  z-index: 1;
}

body.app-shell > .flex > .bg-gradient-to-r {
  width: 100%;
  max-width: 1844px;
  height: 90px;
  margin: 0 auto 22px !important;
  padding: 0 74px !important;
  background: rgba(255, 255, 255, .58) !important;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 0 0 20px 20px !important;
  box-shadow: 0 16px 42px rgba(69, 95, 170, .13), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
}

body.app-shell > .flex > .bg-gradient-to-r > .max-w-7xl {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

body.app-shell > .flex > .bg-gradient-to-r img {
  height: 58px !important;
  width: auto !important;
  max-width: 280px;
  filter: drop-shadow(0 4px 10px rgba(66, 91, 176, .12));
}

body.app-shell > .max-w-7xl {
  width: 100%;
  max-width: 1844px !important;
  min-height: 1250px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.42), rgba(238,246,255,.24) 46%, rgba(244,238,255,.22)),
    rgba(255,255,255,.24) !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,.58) !important;
  box-shadow: 0 22px 64px rgba(75, 96, 160, .12), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(24px) saturate(1.18);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  padding: 42px 50px 34px !important;
}

body.app-shell header {
  border-bottom: 1px solid rgba(191, 204, 230, .65) !important;
  padding-bottom: 14px !important;
  margin-bottom: 16px !important;
}

body.app-shell header h1 {
  color: var(--ds-blue-dark) !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
}

body.app-shell header h1 span {
  background: rgba(213, 247, 255, .72) !important;
  color: #2873c9 !important;
  border: 1px solid rgba(151, 214, 255, .6);
  box-shadow: 0 4px 14px rgba(64, 148, 255, .12);
}

body.app-shell #tutorial-btn {
  background: rgba(255,255,255,.72) !important;
  color: var(--ds-blue) !important;
  border: 1px solid rgba(185, 199, 232, .72) !important;
  box-shadow: 0 8px 18px rgba(74, 89, 145, .1);
  padding: 9px 18px !important;
  right: 10px !important;
  top: 0 !important;
  font-size: 16px !important;
  border-radius: 16px !important;
}

body.app-shell #tutorial-modal {
  z-index: 10000 !important;
}

body.app-shell #tutorial-modal > div {
  z-index: 10001;
}

body.app-shell .rounded-lg {
  border-radius: 14px !important;
}

body.app-shell .shadow-md,
body.app-shell .shadow-sm,
body.app-shell .shadow-lg {
  box-shadow: 0 12px 30px rgba(62, 84, 145, .10), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.app-shell .grid.lg\:grid-cols-3 {
  grid-template-columns: 582px minmax(0, 1fr) !important;
  gap: 22px !important;
}

body.app-shell .lg\:col-span-1 > div,
body.app-shell .lg\:col-span-2 > div {
  background: rgba(255,255,255,.62) !important;
  border: 1px solid rgba(255,255,255,.84) !important;
  box-shadow: 0 14px 34px rgba(61, 84, 145, .10), inset 0 1px 0 rgba(255,255,255,.86) !important;
  backdrop-filter: blur(12px);
  border-radius: 14px !important;
}

body.app-shell .lg\:col-span-2 > div {
  padding: 22px 26px !important;
}

body.app-shell .lg\:col-span-1 {
  gap: 14px !important;
  grid-column: 1 / 2 !important;
}

body.app-shell .lg\:col-span-2 {
  gap: 16px !important;
  grid-column: 2 / 3 !important;
}

body.app-shell .lg\:col-span-1 > div {
  padding: 20px 22px !important;
  position: relative;
  overflow: visible;
}

body.app-shell .lg\:col-span-1 > div p {
  color: #65708b !important;
  line-height: 1.55 !important;
}

body.app-shell .lg\:col-span-1 > div:nth-child(1) {
  min-height: 186px;
}

body.app-shell .lg\:col-span-1 > div:nth-child(1)::after {
  display: none;
  content: none;
}

body.app-shell .lg\:col-span-1 > div:nth-child(2) {
  min-height: 232px;
}

body.app-shell .lg\:col-span-1 > div:nth-child(3) {
  min-height: 263px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 34px;
  align-content: start;
}

body.app-shell .lg\:col-span-1 > div:nth-child(3)::after {
  display: none;
  content: none;
}

body.app-shell .lg\:col-span-1 > div:nth-child(3) > .flex,
body.app-shell .lg\:col-span-1 > div:nth-child(3) > p,
body.app-shell .lg\:col-span-1 > div:nth-child(3) > div:nth-child(3) {
  grid-column: 1 / -1;
}

body.app-shell .lg\:col-span-1 > div:nth-child(3) > div:nth-child(4),
body.app-shell .lg\:col-span-1 > div:nth-child(3) > div:nth-child(5) {
  margin-bottom: 0 !important;
}

body.app-shell .lg\:col-span-1 textarea {
  min-height: 72px !important;
  resize: vertical;
}

body.app-shell .lg\:col-span-1 > div:nth-child(4),
body.app-shell .lg\:col-span-1 > div:nth-child(5) {
  min-height: 200px;
  overflow: visible;
}

body.app-shell .lg\:col-span-1 > div:nth-child(4) {
  z-index: 80;
}

body.app-shell .lg\:col-span-1 > div:nth-child(5) {
  z-index: 70;
}

body.app-shell .font-select-container {
  position: relative;
  z-index: 120;
}

body.app-shell .font-dropdown {
  z-index: 9999 !important;
  max-height: 360px !important;
  height: auto !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.98) !important;
  border: 1px solid rgba(178, 194, 232, .95) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 44px rgba(31, 56, 116, .22) !important;
}

body.app-shell .font-options {
  max-height: 320px;
  overflow-y: auto;
}

body.app-shell .lg\:col-span-2 > div:nth-child(1) {
  min-height: 560px;
}

body.app-shell .lg\:col-span-2 > div:nth-child(2) {
  min-height: 164px;
}

body.app-shell .lg\:col-span-2 > div:nth-child(3) {
  min-height: 312px;
}

body.app-shell .flex.items-center.text-blue-800.font-bold {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px !important;
}

body.app-shell .flex.items-center.text-blue-800.font-bold > span:first-child {
  width: 30px !important;
  height: 30px !important;
  font-size: 17px !important;
  background: linear-gradient(135deg, #1683ff, #6455f5) !important;
  box-shadow: 0 8px 16px rgba(57, 105, 239, .2);
}

body.app-shell .text-blue-800 {
  color: var(--ds-blue-dark) !important;
}

body.app-shell .bg-blue-600,
body.app-shell .bg-blue-500,
body.app-shell .bg-blue-700 {
  background: linear-gradient(135deg, #1683ff, #7057f2) !important;
}

body.app-shell .bg-green-600 {
  background: linear-gradient(135deg, #18b789, #23a6f2) !important;
}

body.app-shell label[for="bg-upload"],
body.app-shell label[for="list-upload"] {
  padding: 12px 28px !important;
  border: none !important;
  box-shadow: 0 10px 22px rgba(63, 99, 235, .18);
  font-size: 19px !important;
  line-height: 1 !important;
  margin-top: 14px;
}

body.app-shell label[for="list-upload"] {
  min-width: 284px;
  text-align: center;
}

body.app-shell input,
body.app-shell textarea,
body.app-shell select {
  background: rgba(255,255,255,.72) !important;
  border-color: rgba(191, 204, 230, .8) !important;
  min-height: 32px;
}

body.app-shell input[type="radio"] + label {
  min-height: 76px;
  padding: 16px 20px !important;
  border-radius: 10px !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

body.app-shell input[type="radio"]:checked + label,
body.app-shell .peer:checked ~ label {
  background: linear-gradient(100deg, #1683ff, #9b69ee) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(88, 97, 232, .22);
}

body.app-shell .mode-demo {
  border: 0;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  font-size: 13px;
  color: #5e6a86;
  background: rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 5px 14px rgba(66, 88, 148, .08);
  cursor: pointer;
}

body.app-shell .peer:checked ~ label .mode-demo {
  color: #59637d;
}

body.demo-open {
  overflow: auto;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  padding: 48px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(15, 23, 42, .68);
  backdrop-filter: blur(6px);
  text-align: center;
}

.demo-modal.hidden {
  display: none !important;
}

.demo-modal-panel {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: min(920px, 88vw);
  max-height: none;
  margin: 0 auto;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 80px rgba(15, 23, 42, .26);
  border: 1px solid rgba(255,255,255,.88);
  text-align: left;
}

.demo-modal-panel h2 {
  margin: 0 52px 14px 0;
  color: var(--ds-blue-dark);
  font-size: 20px;
  font-weight: 800;
}

.demo-modal-panel img {
  display: block;
  width: auto;
  max-width: min(820px, 82vw);
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
}

.demo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px !important;
  background: #eef4ff !important;
  color: var(--ds-blue-dark) !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.feedback-fab {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 80;
  width: 74px;
  height: 74px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .9) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #1683ff, #7461ff) !important;
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(32, 91, 220, .35), inset 0 1px 0 rgba(255, 255, 255, .65) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow-y: auto;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(7px);
}

.feedback-modal.hidden {
  display: none !important;
}

.feedback-panel {
  position: relative;
  width: min(980px, 94vw);
  padding: 52px 58px 48px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .82) 0 8%, transparent 9%),
    radial-gradient(circle at 98% 44%, rgba(255, 255, 255, .46) 0 19%, transparent 20%),
    linear-gradient(132deg, rgba(255, 255, 255, .96) 0%, rgba(239, 248, 255, .94) 48%, rgba(219, 234, 255, .92) 100%);
  border: 2px solid rgba(255, 255, 255, .92);
  box-shadow: 0 30px 90px rgba(15, 23, 42, .36), inset 0 0 0 1px rgba(167, 198, 255, .38);
}

.feedback-panel::before,
.feedback-panel::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.feedback-panel::before {
  right: 130px;
  top: 145px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .72);
}

.feedback-panel::after {
  right: 128px;
  bottom: 54px;
  width: 520px;
  height: 260px;
  border-radius: 56% 44% 0 0;
  background: rgba(255, 255, 255, .24);
}

.feedback-hero,
.feedback-panel form {
  position: relative;
  z-index: 1;
}

.feedback-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 50px;
}

.feedback-icon {
  position: relative;
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 12px 30px rgba(55, 111, 230, .18), inset 0 0 24px rgba(68, 132, 255, .18);
}

.feedback-icon span,
.feedback-icon span::before {
  position: absolute;
  display: block;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f86ff, #5865f2);
}

.feedback-icon span {
  left: 25px;
  top: 30px;
  width: 36px;
  height: 28px;
}

.feedback-icon span::before {
  content: '';
  right: -14px;
  bottom: -8px;
  width: 28px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, .95);
}

.feedback-icon::after {
  content: '';
  position: absolute;
  left: 35px;
  top: 41px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 10px 0 0 #fff, 20px 0 0 #fff;
}

.feedback-panel h2 {
  margin: 0 76px 18px 0;
  color: #07194d;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.feedback-panel p {
  margin: 0;
  color: #687386;
  font-size: 22px;
  line-height: 1.6;
}

.feedback-label {
  display: block;
  position: relative;
  margin: 0 0 18px;
  padding-left: 22px;
  color: #07194d;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
}

.feedback-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 8px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1683ff, #6e64ff);
}

.feedback-panel select,
.feedback-panel textarea {
  width: 100%;
  border: 1px solid rgba(126, 166, 234, .58);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  color: #07194d;
  box-shadow: 0 8px 20px rgba(54, 105, 206, .08), inset 0 1px 0 rgba(255, 255, 255, .75);
  outline: none;
}

.feedback-panel select {
  width: min(360px, 100%);
  height: 62px;
  margin-bottom: 44px;
  padding: 0 24px;
  font-size: 24px;
  font-weight: 700;
}

.feedback-panel textarea {
  min-height: 260px;
  padding: 26px 28px 56px;
  resize: vertical;
  font-size: 22px;
  line-height: 1.55;
}

.feedback-panel textarea::placeholder {
  color: #8a95a8;
}

.feedback-textarea-wrap {
  position: relative;
}

.feedback-count {
  position: absolute;
  right: 28px;
  bottom: 22px;
  color: #95a0b4;
  font-size: 20px;
  font-weight: 600;
}

.feedback-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  margin-top: 42px;
}

.feedback-cancel {
  height: 62px;
  min-width: 124px;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, .74) !important;
  color: #667085 !important;
  border: 1px solid rgba(149, 163, 184, .5) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
}

.feedback-submit {
  height: 62px;
  min-width: 190px;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, .8) !important;
  background: linear-gradient(135deg, #1683ff, #4464f6) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(30, 100, 240, .35), inset 0 1px 0 rgba(255, 255, 255, .55);
  font-size: 23px !important;
  font-weight: 800 !important;
}

.feedback-close {
  position: absolute;
  top: 38px;
  right: 38px;
  z-index: 2;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .9) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .56) !important;
  color: #244cae !important;
  box-shadow: 0 10px 26px rgba(42, 85, 170, .16), inset 0 0 22px rgba(255, 255, 255, .72);
  font-size: 44px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.feedback-msg {
  min-height: 22px;
  margin-top: 14px;
  color: var(--ds-blue);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 720px) {
  .feedback-modal {
    padding: 18px;
  }

  .feedback-panel {
    padding: 28px 22px 26px;
    border-radius: 24px;
  }

  .feedback-hero {
    gap: 14px;
    margin-bottom: 32px;
  }

  .feedback-icon {
    width: 58px;
    height: 58px;
  }

  .feedback-icon span {
    left: 16px;
    top: 20px;
  }

  .feedback-panel p {
    font-size: 16px;
  }

  .feedback-close {
    top: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
    font-size: 32px !important;
  }

  .feedback-label {
    font-size: 22px;
  }

  .feedback-panel textarea {
    min-height: 210px;
  }

  .feedback-actions {
    gap: 12px;
  }
}

body.app-shell #generate-btn,
body.app-shell #download-zip-btn,
body.app-shell #download-pdf-btn {
  min-width: 250px;
  height: 56px;
  border-radius: 10px !important;
  font-size: 19px;
  background: rgba(255,255,255,.76) !important;
  color: var(--ds-blue) !important;
  border: 1px solid rgba(185, 199, 232, .86) !important;
}

body.app-shell #generate-btn:not(:disabled),
body.app-shell #download-zip-btn:not(:disabled),
body.app-shell #download-pdf-btn:not(:disabled) {
  background: #fff !important;
  color: var(--ds-blue-dark) !important;
}

body.app-shell #generate-btn::before {
  content: '✦ ';
}

body.app-shell #download-zip-btn::before {
  content: '▣ ';
}

body.app-shell #download-pdf-btn::before {
  content: 'PDF ';
  font-size: 12px;
  color: #7c6ee6;
}

body.app-shell .clear-btn:disabled {
  display: none !important;
}

body.app-shell .clear-btn:not(:disabled) {
  position: relative;
  z-index: 2;
}

body.app-shell .bg-checkerboard {
  background-color: #fff !important;
  background-image:
    linear-gradient(45deg, #e8eefc 25%, transparent 25%),
    linear-gradient(-45deg, #e8eefc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e8eefc 75%),
    linear-gradient(-45deg, transparent 75%, #e8eefc 75%) !important;
}

body.app-shell .border-dashed {
  min-height: 430px !important;
  border-color: rgba(199, 210, 234, .9) !important;
  background: #fff !important;
}

body.app-shell .border-dashed canvas {
  max-width: 100% !important;
}

body.app-shell .lg\:col-span-2 h3 {
  font-size: 21px !important;
  line-height: 1.3 !important;
}

body.app-shell #auth-area a[title],
body.app-shell #auth-area a[aria-label] {
  border-color: #cdd8ed !important;
}

body.app-shell #auth-area {
  gap: 16px !important;
}

body.app-shell #auth-area > a[href="login.html"],
body.app-shell #auth-area > a[href="register.html"],
body.app-shell #auth-area > a[href="/login.html"],
body.app-shell #auth-area > a[href="/register.html"] {
  min-width: 96px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 20px !important;
  font-size: 18px !important;
  border-radius: 24px !important;
  letter-spacing: 0 !important;
}

body.app-shell #auth-area > a[href="account.html"],
body.app-shell #auth-area > a[href="/account.html"] {
  width: 46px !important;
  height: 46px !important;
}

body.app-shell canvas {
  border-radius: 8px;
}

body.app-shell #preview-container {
  min-height: 224px !important;
  background: rgba(255,255,255,.42) !important;
  border-color: rgba(199, 210, 234, .82) !important;
  border-radius: 12px !important;
}

@media (max-width: 1024px) {
  body.app-shell .grid.lg\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
}

/* 个人中心 */
.avatar {
  background: #e8f0ff !important;
  color: var(--ds-blue-dark) !important;
}

.stat {
  background: var(--ds-surface-soft) !important;
  border-color: var(--ds-border) !important;
}

.stat .num {
  color: var(--ds-blue-dark) !important;
}

.tag.vip {
  background: #fff4dc !important;
  color: #9a5a05 !important;
}

.cta {
  background: linear-gradient(135deg, var(--ds-blue-dark), var(--ds-blue)) !important;
  border-radius: 10px !important;
}

/* 后台 */
body.admin-page header {
  background: #fff !important;
  color: var(--ds-text) !important;
  border-bottom: 1px solid var(--ds-border);
}

body.admin-page header h1 {
  color: var(--ds-blue-dark);
}

body.admin-page button.ghost {
  color: var(--ds-blue) !important;
  border-color: #b8c7e6 !important;
}

body.admin-page th {
  background: var(--ds-surface-soft) !important;
}

@media (max-width: 760px) {
  .wrap {
    margin: 28px 14px !important;
    padding: 26px 20px !important;
  }

  body.app-shell {
    padding: 10px !important;
  }
}
