/* 主样式 */
:root {
    --primary: #5B3FA8;
    --primary-light: #7B5FC8;
    --accent: #FF791D;
    --accent-hover: #FF8F3D;
    --bg-gradient-start: #f8f6ff;
    --bg-gradient-end: #f0ecff;
    --card-shadow: 0 4px 24px rgba(91, 63, 168, 0.12);
    --card-radius: 20px;
    --btn-radius: 14px;
}
*{margin:0;padding:0;box-sizing:border-box;}
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0; }
body, button, input, select, textarea { font: 14px/1.6 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif; }
body { background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%); min-height: 100vh; }
h1, h2, h3, h4, h5, h6{ font-size:100%; }
address, cite, dfn, em, var { font-style:normal; }
code, kbd, pre, samp { font-family:couriernew, courier, monospace; }
small{ font-size:12px; }
ul, ol { list-style:none; }
a { text-decoration:none;color: inherit;}
a:hover { text-decoration:underline; }
sup { vertical-align:text-top; }
sub{ vertical-align:text-bottom; }
legend { color:#000; }
fieldset, img { border:0; }
table { border-collapse:collapse; border-spacing:0; }
#companyname{
    font-size: 13px;
    color: #8b7fb8;
    line-height: 20px;
    z-index: 1;
    word-break: break-all;
    padding: 20px 24px 40px;
    text-align: center;
    position: relative;
    font-weight: 500;
}
.focus{
    box-shadow: 0 0 2px 2px rgba(74,123,255,0.6) inset;
}

[dg]{
    cursor: pointer;
}
::-webkit-scrollbar-track
{
  border-radius: 10px;
  background-color: #f0ecff;
}

::-webkit-scrollbar
{
  width: 6px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb
{
  border-radius: 10px;
  background: linear-gradient(180deg, #a89dd4 0%, #7B5FC8 100%);
}
.theme-1 .theme-color{
  background-color:#FFB786;
}
.theme-2 .theme-color{
  background-color:#FF791D;
}
.theme-3 .theme-color{
  background-color:#CC5C0F;
}
.theme-4 .theme-color{
  background-color:#FF82C2;
}
.theme-5 .theme-color{
  background-color:#F95959;
}
.theme-6 .theme-color{
  background-color:#E61818;
}
.theme-7 .theme-color{
  background-color:#7EDFFF;
}
.theme-8 .theme-color{
  background-color:#4187FF;
}
.theme-9 .theme-color{
  background-color:#2A77D1;
}
.theme-10 .theme-color{
  background-color:#6AE27A;
}
.theme-11 .theme-color{
  background-color:#54BB46;
}
.theme-12 .theme-color{
  background-color:#0E8E31;
}
.theme-13 .theme-color{
  background-color:#AEA8D3;
}
.theme-14 .theme-color{
  background-color:#A36FF0;
}
.theme-15 .theme-color{
  background-color:#663399;
}
.theme-16 .theme-color{
  background-color:#112C6E;
}
.theme-17 .theme-color{
  background-color:#12575A;
}
.theme-18 .theme-color{
  background-color:#333234;
}

/* Frame 框架样式 */
.frame-bd > [_slot_inner_][data-v-7ea78059] {
  min-height: 500px;
  position: relative;
  padding: 24px 20px 20px;
}
.frame-bd[data-v-7ea78059] {
  position: relative;
}
#frame-wrap[data-v-7ea78059] {
  max-width: 480px;
  margin: 0 auto;
}

/* 图片图层样式 */
div[dg="0E3C601--images--layer"] {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(91, 63, 168, 0.15);
  margin-bottom: 20px;
}
div[dg="0E3C601--images--layer"] > img {
  width: 100%;
  height: inherit;
  display: block;
}

/* 按钮图层样式 */
div[dg="6F4369E--buttons--layer"].rect-container {
  width: 100%;
  overflow: hidden;
}
div[dg="6F4369E--buttons--layer"] .rect-button {
  margin: 0 auto;
  border: none;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
  background: linear-gradient(135deg, #FF791D 0%, #FF9F4D 100%) !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(255, 121, 29, 0.4);
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
div[dg="6F4369E--buttons--layer"] .rect-button:active {
  transform: scale(0.98);
  box-shadow: 0 4px 16px rgba(255, 121, 29, 0.35);
}
div[dg="6F4369E--buttons--layer"] .rect-button:before {
  content: "1";
  display: inline-block;
  opacity: 0;
  width: 0;
}
div[dg="6F4369E--buttons--layer"].icon-container {
  overflow: hidden;
  width: 60px;
  height: 60px;
  padding: 2px;
}
div[dg="6F4369E--buttons--layer"] .icon-button {
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  box-sizing: border-box;
  background-image: url(../static/image/button_icon.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 25px;
}

/* 隐私组件样式 */
.privacy-wrap[data-v-83decffc] {
  text-align: center;
  font-size: 12px;
  color: #7a6b9c;
  background: rgba(255,255,255,0.9);
  padding: 16px 20px;
  margin: 20px 20px 0;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(91, 63, 168, 0.08);
  backdrop-filter: blur(8px);
}
.privacy-wrap .privacy[data-v-83decffc],
.privacy-wrap .detail[data-v-83decffc] {
  color: #5B3FA8;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.privacy-wrap .privacy[data-v-83decffc]:hover,
.privacy-wrap .detail[data-v-83decffc]:hover {
  color: #7B5FC8;
}
/* 隐私弹窗 - 美观的模态框（需为 body 直系子元素，避免父级 transform/backdrop-filter 破坏 fixed 定位） */
.privacy-modal[data-v-83decffc] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.privacy-modal[data-v-83decffc].is-open {
  display: flex;
  animation: privacyModalFadeIn 0.25s ease;
}
@keyframes privacyModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.privacy-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 20, 40, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: privacyBackdropFadeIn 0.25s ease;
}
@keyframes privacyBackdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.privacy-modal-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(91, 63, 168, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: privacyModalSlideIn 0.3s ease;
}
@keyframes privacyModalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.privacy-modal-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, #5B3FA8 0%, #7B5FC8 100%);
  color: #fff;
}
.privacy-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.privacy-modal-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.privacy-modal-close:hover {
  background: rgba(255,255,255,0.35);
}
.privacy-modal-close:active {
  transform: scale(0.95);
}
.privacy-modal-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.privacy-modal-body .content[data-v-83decffc] {
  padding: 24px;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  white-space: pre-line;
  word-break: break-word;
}
.privacy-modal-body .content[data-v-83decffc]::-webkit-scrollbar {
  width: 6px;
}
.privacy-modal-body .content[data-v-83decffc]::-webkit-scrollbar-thumb {
  background: #c4b8e0;
  border-radius: 3px;
}
.privacy-modal-footer {
  flex-shrink: 0;
  padding: 16px 24px 24px;
  background: #faf9fc;
  border-top: 1px solid #ebe8f2;
}
.privacy-modal-btn {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF791D 0%, #FF9F4D 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(255, 121, 29, 0.35);
}
.privacy-modal-btn:hover {
  box-shadow: 0 6px 20px rgba(255, 121, 29, 0.45);
}
.privacy-modal-btn:active {
  transform: scale(0.98);
}
