:root {
    color-scheme: dark;
    --page-bg: #04070f;
    --panel-bg: rgba(8, 14, 31, 0.86);
    --panel-edge: rgba(120, 152, 255, 0.28);
    --panel-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
    --text-main: #f4f7ff;
    --text-sub: rgba(233, 239, 255, 0.72);
    --text-dim: rgba(213, 221, 255, 0.48);
    --gold: #f6d487;
    --blue: #71a6ff;
    --blue-strong: #5d87ff;
    --tab-bg: rgba(255, 255, 255, 0.05);
    --field-bg: rgba(255, 255, 255, 0.08);
    --field-border: rgba(155, 180, 255, 0.2);
    --primary-gradient: linear-gradient(135deg, #65a7ff 0%, #8578ff 55%, #b45eff 100%);
    --secondary-gradient: linear-gradient(135deg, rgba(101, 167, 255, 0.24), rgba(180, 94, 255, 0.24));
}
/*
* {
    box-sizing: border-box;
}
*/

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--page-bg) center center / cover no-repeat fixed;
    color: var(--text-main);
}

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
    padding: 0;
    background: none;
    color: inherit;
}

a {
    color: var(--blue);
    text-decoration: none;
}

.page-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: calc(env(safe-area-inset-top) + 18px) 18px calc(env(safe-area-inset-bottom) + 20px);
}

.page-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(97, 126, 255, 0.18), transparent 42%), linear-gradient(180deg, rgba(3, 5, 12, 0.32), rgba(3, 5, 12, 0.78));
    pointer-events: none;
}

.page-header,
.page-main,
.page-footer {
    position: relative;
    z-index: 1;
}

.page-header {
    display: flex;
    justify-content: flex-start;
}

.icon-button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    cursor: pointer;
    font-size: 28px;
}

.page-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: clamp(50px, 10vh, 100px) 0 20px;
}

.register-panel {
    width: min(100%, 500px);
    border: 2px solid #fff9ae;
    border-radius: clamp(20px, 2vw, 28px);
    background: linear-gradient(30deg,#301860, #151337);
    box-shadow: var(--panel-shadow);
}

.register-panel-000 {
    width: min(100%, 500px);
    padding: 0 clamp(18px, 3vw, 36px) clamp(8px, 1.5vw, 24px);
    border: 1px solid var(--panel-edge);
    border-radius: clamp(20px, 2vw, 28px);
    background: rgba(8, 14, 31, 0.92);
    box-shadow: var(--panel-shadow);
}


.brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: calc(clamp(44px, 7vw, 90px) * -1);
    gap: clamp(5px, 1.3vw, 10px);
    margin-bottom: clamp(6px, 1.6vw, 18px);
  }

.brand-logo {
    width: min(52vw, 144px);
    height: auto;
}

.version-text {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.06em;
  }

.panel-top {
    display: grid;
    margin-top: clamp(-18px, -2vw, -13px);
    gap: clamp(8px, 1.5vw, 16px);
    margin-bottom: clamp(8px, 1.8vw, 18px);
}

.panel-title {
    margin: 0;
    text-align: center;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.tab-switch {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    background: #00000055;
    overflow: hidden;
}
.tab-switch-000 {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(6px, 1.6vw, 10px);
    padding: clamp(3px, 0.7vw, 6px);
    border-radius: clamp(12px, 1.5vw, 18px);
    background: var(--tab-bg);
    overflow: hidden;
}




.tab-indicator {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 0;
    background: url("./tab_button.png") center center / 100% 100% no-repeat;
    box-shadow: 0 10px 22px rgba(93, 135, 255, 0.26);
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1), width 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.tab-button {
    position: relative;
    z-index: 1;
    min-height: clamp(30px, 7.7vw, 44px);
    border-radius: 0;
    background: transparent;
    color: #F7C825;
    cursor: pointer;
    font-size: clamp(13px, 2.5vw, 17px);
}

.tab-button.is-active {
    background: url("./tab_button.png") center center / 100% 100% no-repeat;
    box-shadow: 0 16px 32px rgba(99, 118, 255, 0.34);
    color: #F7C825;
    font-weight: 700;
    border-radius: 0;
}

.register-form {
    display: grid;
	padding: 0 clamp(18px, 3vw, 36px) clamp(8px, 1.5vw, 24px);
    gap: clamp(6px, 1.6vw, 14px);
    color-scheme: light;
}

.register-form-000 {
    display: grid;
    gap: clamp(6px, 1.6vw, 14px);
    color-scheme: light;
}


.mode-panel {
    display: none;
}

.mode-panel.is-active {
    display: block;
}

.field-block {
    display: grid;
    gap: clamp(4px, 1.0vw, 8px);
}

.field-label {
    font-size: clamp(10px, 1.5vw, 13px);
    color: var(--text-sub);
}

.field-tip {
    margin: 0 2px 0;
    color: #E1B147;
    font-size: clamp(9px, 1.2vw, 12px);
}

.field-tip-link {
    color: #E1B147;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.field-row {
    display: flex;
}
.field-row-000 {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.6vw, 10px);
}

.field-input {
    width: 100%;
    min-height: clamp(34px, 8.8vw, 50px);
    padding: 0 clamp(10px, 1.5vw, 16px);
    border: 2px solid #7c60df;
	border-radius: 0px 0.8vw 0.8vw 0px;
    background: #fff;
    color: #000;
    outline: none;
    font-size: clamp(13px, 1.5vw, 16px);
}

.field-input-a {
	box-sizing: border-box;
    width: 100%;
    min-height: clamp(34px, 8.8vw, 50px);
    padding: 0 clamp(10px, 1.5vw, 16px);
    border: 2px solid #7c60df;
    border-radius: clamp(8px, 0.8vw, 16px);
    background: #fff;
    color: #000;
    outline: none;
    font-size: clamp(13px, 1.5vw, 16px);
}

.field-input-b {
	box-sizing: border-box;
    width: 100%;
    min-height: clamp(34px, 8.8vw, 50px);
    padding: 0 clamp(10px, 1.5vw, 16px);
    color: #000;
    outline: none;
	border: none;
	background: #ffffff00;
    font-size: clamp(13px, 1.5vw, 16px);
}

.field-input-c {
    border: 2px solid #7c60df;
    border-radius: clamp(8px, 0.8vw, 16px);
    background: #fff;
}

.field-select {
    width: 100%;
    min-height: clamp(34px, 8.8vw, 50px);
    padding: 0 clamp(10px, 1.5vw, 16px);
    border: 2px solid #7c60df;
	border-radius:0.8vw 0px 0px 0.8vw;
    background: #fff;
    color: #000;
    outline: none;
    font-size: clamp(13px, 1.5vw, 16px);
}

.field-select-b {
    width: auto;
    flex: 1;
    min-width: 0;
    min-height: clamp(34px, 8.8vw, 50px);
    padding: 0 clamp(10px, 1.5vw, 16px) 0 2px;
    outline: none;
    background: none;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: clamp(13px, 2.5vw, 17px);
}

.country-code-flag {
    width: 51px;
    height: 34px;
    margin-left: clamp(6px, 1.2vw, 12px);
    margin-right: 2px;
    flex-shrink: 0;
    object-fit: contain;
}


.field-input-000,
.field-select-000 {
    width: 100%;
    min-height: clamp(34px, 8.8vw, 50px);
    padding: 0 clamp(10px, 1.5vw, 16px);
    border: 1px solid var(--field-border);
    border-radius: clamp(8px, 1.2vw, 16px);
    background: #fff;
    color: #000;
    outline: none;
    font-size: clamp(13px, 1.5vw, 16px);
}

.field-input::-webkit-input-placeholder {
    color: #999;
    -webkit-text-fill-color: #999;
    opacity: 1;
}

.field-input::placeholder {
    color: #999;
    -webkit-text-fill-color: #999;
    opacity: 1;
}

/* 修改：调整分割行的样式 */
.field-row-split .field-click-area {	
    width: 145px;
    flex: 0 0 145px;
    cursor: pointer;
    display: flex;
    align-items: center;
	min-height: clamp(34px, 8.8vw, 50px);
	border-radius:0.8vw 0px 0px 0.8vw;
	background: var(--secondary-gradient);
    border: 2px solid #7c60df;
    overflow: hidden;
}


/* 国家区号弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
}

.modal.is-open {
    display: flex;
    animation: modalOverlayIn 0.25s ease forwards;
}

.modal.is-open .modal-content {
    animation: modalContentIn 0.35s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes modalOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalContentIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    background-color: #1a1f2e;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    border: 1px solid rgba(120, 152, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-main);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header-title {
    margin: 0;
    font-size: 18px;
    color: var(--text-main);
}

.close {
    color: #aaa;
    font-weight: bold;
    font-size: 24px;
    cursor: pointer;
    padding: 0 4px;
}

.close:hover {
    color: #fff;
}

.country-search {
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    margin-bottom: 8px;
    border: 1px solid var(--field-border);
    border-radius: 10px;
    background: #fff;
    color: #000;
    outline: none;
    box-sizing: border-box;
}

.country-search::placeholder {
    color: #999;
    -webkit-text-fill-color: #999;
    opacity: 1;
}

.country-search:focus {
    border-color: rgba(122, 155, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(93, 135, 255, 0.18);
}

#countryList {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 360px;
    overflow-y: auto;
}

.country-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s;
    border-radius: 6px;
    margin-bottom: 4px;
}

.country-item span:nth-child(2) {
    flex-shrink: 1;
    min-width: 0;
}

.country-item span:last-child {
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.country-flag {
    width: 24px;
    height: auto;
    margin-right: 8px;
    flex-shrink: 0;
}

.country-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.country-item:last-child {
    border-bottom: none;
}

.field-row-code .field-input {
    flex: 1;
}

.field-row-code .secondary-button {
    flex: 0 0 clamp(120px, 16vw, 150px);
	
}

.secondary-button,
.ghost-button,
.primary-button,
.text-button,
.language-button,
.data-safety-link {
    cursor: pointer;
}

.secondary-button {
    flex: 0 0 clamp(82px, 12vw, 150px);
/*    min-height: clamp(34px, 8.8vw, 50px);  */
    min-height: clamp(34px, 8.8vw, 50px);  
    padding: 0 clamp(8px, 1vw, 12px);
	border-radius: 0px 0.8vw 0.8vw 0px;
    background: var(--secondary-gradient);
    border: 2px solid #7c60df;
    color: var(--text-main);
    font-weight: 700;
    font-size: clamp(13px, 2.5vw, 17px);
    white-space: nowrap;
}

.secondary-button-000 {
    flex: 0 0 clamp(82px, 12vw, 118px);
    min-height: clamp(34px, 8.8vw, 50px);
    padding: 0 clamp(8px, 1vw, 12px);
    border-radius: clamp(10px, 1.5vw, 16px);
    background: var(--secondary-gradient);
    border: 1px solid rgba(132, 138, 255, 0.32);
    color: var(--text-main);
    font-weight: 700;
    font-size: clamp(13px, 2.5vw, 17px);
}

.secondary-button:disabled {
    opacity: 0.6;
    cursor: default;
}

.secondary-button.is-loading {
    color: transparent;
    pointer-events: none;
    position: relative;
}
.secondary-button.is-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: button-spin 0.6s linear infinite;
}
@keyframes button-spin {
    to { transform: rotate(360deg); }
}

.field-row-password .field-input {
    flex: 1;
}

.ghost-button {
    flex: 0 0 clamp(52px, 8vw, 74px);
    min-height: clamp(34px, 8.8vw, 50px);
    border-radius: clamp(10px, 1.5vw, 16px);
    color: #1a1548;
    font-size: clamp(13px, 2.5vw, 17px);
}
.ghost-button-000 {
    flex: 0 0 clamp(52px, 8vw, 74px);
    min-height: clamp(34px, 8.8vw, 50px);
    border-radius: clamp(10px, 1.5vw, 16px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-sub);
    font-size: clamp(13px, 2.5vw, 17px);
}

.primary-button-box {
	width:100%; 
	text-align: center;
}

.primary-button {
	min-width:200px;
    min-height: clamp(32px, 9.2vw, 50px);
	border: none;
    border-radius: 10px;
    color: #523719;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 700;
	
	
  
  /* 渐变背景 */
    background:
    linear-gradient(20deg, rgba(237, 109, 60,0.2), transparent),
    linear-gradient(to top, #fed366, #f49555, #fed366);
  
  /* 立体阴影 */
    cursor: pointer;
	box-shadow: 0 2px 0 #c05627;
    transition: 0.2s;
}

.primary-button.is-loading {
    color: transparent;
    pointer-events: none;
    position: relative;
}
.primary-button.is-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(82, 55, 25, 0.3);
    border-top-color: #523719;
    border-radius: 50%;
    animation: button-spin 0.6s linear infinite;
}

.primary-button-000 {
    min-height: clamp(36px, 9.2vw, 54px);
    border-radius: clamp(12px, 1.5vw, 18px);
    background: var(--primary-gradient);
    color: #fff;
    font-size: clamp(13px, 2.5vw, 17px);
    font-weight: 700;
    box-shadow: 0 16px 32px rgba(99, 118, 255, 0.34);
}

.text-button {
    justify-self: center;
    color: var(--blue);
    font-weight: 600;
}

.page-footer {
    display: grid;
    gap: 10px;
    justify-items: center;
    padding-top: 4px;
}

.version-display {
    font-size: clamp(9px, 1.2vw, 12px);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.language-picker {
    position: relative;
}

.language-button {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 0.8vw, 10px);
    min-height: clamp(34px, 8.7vw, 42px);
    padding: 0 clamp(10px, 1.2vw, 14px);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-size: clamp(13px, 2.5vw, 17px);
}

.language-button[aria-expanded="true"] {
    box-shadow: 0 0 0 1px rgba(122, 155, 255, 0.38);
}

.language-flag {
    width: clamp(22px, 2vw, 28px);
    height: clamp(22px, 2vw, 28px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(113, 166, 255, 0.18);
    color: #cbd8ff;
    font-size: 11px;
    font-weight: 700;
}

.language-arrow {
    color: var(--text-dim);
}

.language-menu {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) scaleY(0);
  transform-origin: bottom center;
  width: min(280px, calc(100vw - 32px));
  max-height: 520px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(120, 152, 255, 0.22);
  background: rgba(7, 12, 24, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.15s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.12s cubic-bezier(0.19, 1, 0.22, 1);
}

.language-menu.is-open {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.language-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-main);
  text-align: left;
}

.language-option.is-active {
  background: rgba(113, 166, 255, 0.14);
}

.language-option:hover,
.language-option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.language-option-code {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(113, 166, 255, 0.18);
  color: #cbd8ff;
  font-size: 11px;
  font-weight: 700;
}

.language-option-name {
  flex: 1;
}

.legal-links,
.data-safety-link {
  font-size: 13px;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}

.data-safety-link {
  color: var(--blue);
}

.text-button-hasaccount{
  justify-self: center;
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.toast {
  position: fixed; 
  top: 25%;
  left: 50%;
  transform: translate(-50%, -60%) scaleX(0);
  transform-origin: center;
  
  z-index: 9999; 

  min-width: 400px;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border-radius: 14px;
  text-align: center;
  box-sizing: border-box;

  color: #ffffff !important;
  
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.19, 1, 0.22, 1), transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 黑色背景层 */
.toast::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: -1;
}

/* 显示状态 */
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -60%) scaleX(1);
  pointer-events: auto;
}

@media (min-width: 768px) {
  .page-shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  body {
    background-image: url("./img_bg_pc.png");
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .page-main {
    flex: none;
  }
}

@media (max-width: 767px) {
  .page-shell {
    min-height: 100dvh;
  }

  .page-main {
    align-items: flex-start;
    justify-content: center;
    padding: clamp(35px, 7vh, 100px) 0 4px;
  }
  
  body {
    background-attachment: scroll;
    background-image: url("./img_bg.jpg");
  }

  .register-panel {
    width: min(92%, 420px);
  }

  .brand-logo {
    width: min(28vw, 72px);
  }

  .panel-top {
    margin-top: 0;
  }

  .field-row-split .field-click-area {
    border-radius: clamp(8px, 0.8vw, 16px);
  }

  .field-input,
  .secondary-button {
    border-radius: 0 clamp(8px, 0.8vw, 16px) clamp(8px, 0.8vw, 16px) 0;
  }

  .field-select {
    border-radius: clamp(8px, 0.8vw, 16px) 0 0 clamp(8px, 0.8vw, 16px);
  }

  .primary-button {
    margin-top: 12px;
  }

  .text-button-hasaccount {
    margin-bottom: 12px;
  }
}

/* --- 数据安全弹窗样式 --- */
#dataSafetyModal,
#errorModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
}

#dataSafetyModal.is-open,
#errorModal.is-open {
    display: flex;
    animation: modalOverlayIn 0.25s ease forwards;
}

#dataSafetyModal.is-open .modal-content-datasafety {
    animation: modalContentIn 0.35s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

/* 弹窗主体 */
.modal-content-datasafety {
    position: relative;
    background-color: #1a1f2e;
    padding: 16px 20px 0;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    border: 1px solid rgba(120, 152, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-main);
}

#errorModal .modal-content-datasafety {
    background: linear-gradient(30deg,#301860, #151337);
    border: 2px solid #fff9ae;
}

/* 弹窗头部 */
.modal-header-datasafety {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 6px;
}
.modal-header-title-datasafety {
    font-size: 25px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

/* 弹窗身体 */
.modal-body-datasafety {
    padding: 20px 4px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
    overflow: hidden;
}

/* 关闭按钮样式 */
.close-button-datasafety {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-dim);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 可下拉的文字框 */
.scroll-box-datasafety {
    background: transparent;
    border: none;
    overflow-y: auto;
    font-size: 14px;
    max-height: 53vh;
    flex: 1;
    line-height: 1.4;
    color: var(--text-sub);
    box-sizing: border-box;
    scrollbar-width: thin;
}

/* Webkit 滚动条样式 */
.scroll-box-datasafety::-webkit-scrollbar {
    width: 6px;
}

.scroll-box-datasafety::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* 弹窗底部按钮 */
.modal-footer-datasafety {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* Agree 按钮样式：加宽 */
.modal-footer-datasafety-agree-button {
    min-width: 200px;
    min-height: clamp(32px, 9.2vw, 50px);
    height: auto;
    border: none;
    border-radius: 10px;
    color: #523719;
    font-size: clamp(13px, 2.5vw, 17px);
    font-weight: 700;
    background: linear-gradient(20deg, rgba(237, 109, 60,0.2), transparent),
                linear-gradient(to top, #fed366, #f49555, #fed366);
    cursor: pointer;
    box-shadow: 0 2px 0 #c05627;
    transition: 0.2s;
    margin-top: 15px; 
    margin-bottom: 0;
}

.dataSafetyModal-text-block-title {
  margin-bottom: 4px;
  line-height: 2;
  color: #E1B147;
  font-size: 17px;
}

.dataSafetyModal-text-block {
  margin-bottom: 4px;
  line-height: 1.5;
  margin-left: 0;
  margin-right: 0;
}

.dataSafetyModal-text-block-color-light {
  color: #E2E2E2;
  font-size: 15px;
}

.dataSafetyModal-text-block-color-link {
  color: #E1B147;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #E1B147;
  cursor: pointer; 
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-frame {
  width: 72px;
  height: auto;
}

.start-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: #F9F9F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.start-loading-text {
  font-size: 32px;
  color: #364f7c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}