﻿html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding-top: 4rem;
  background: #ffffff;
  color: #1d2129;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(22, 93, 255, 0.25);
}

.app-site-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #f2f3f5;
  z-index: 1050;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(29, 33, 41, 0.02);
}

.app-site-nav-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.1rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-shell-subnav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
}

.admin-shell-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.app-site-nav-shell-page {
  width: min(calc(100vw - 40px), 1680px);
  max-width: none;
}

.app-site-nav-shell-page-left {
  margin-left: 0;
  margin-right: auto;
}

.app-site-nav-shell-page-centered {
  margin-left: auto;
  margin-right: auto;
}

.app-site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.app-site-brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.65rem;
  flex: 0 0 auto;
}

.app-site-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.app-site-brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.app-site-brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1d2129;
}

.app-site-brand-subtitle {
  font-size: 0.72rem;
  color: #86909c;
}

.app-site-nav {
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.app-site-nav-member {
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-site-nav-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 1rem;
  margin-right: 0.25rem;
  border-right: 1px solid #e5e7eb;
}

.app-site-nav-group:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.app-site-nav-group-title {
  color: #86909c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.app-site-nav-group-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-site-header-member {
  background: rgba(255, 255, 255, 0.98);
}

.app-site-member-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

.app-site-member-nav-link.is-active {
  background: rgba(22, 93, 255, 0.08);
}

.app-site-member-nav-link.is-active::after {
  display: none;
}

.app-site-nav-link,
.app-site-nav-link:visited {
  color: #6b7280 !important;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.25rem 0;
  letter-spacing: 0.01em;
}

.app-site-nav-link:hover,
.app-site-nav-link:focus {
  color: #4e5969 !important;
}

.app-site-nav-link.is-active {
  color: #165dff !important;
  font-weight: 600;
}

.app-site-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 1.3rem;
  height: 2px;
  background: #165dff;
  border-radius: 999px;
  transform: translateX(-50%);
}

.app-site-actions {
  align-items: center;
  gap: 0.9rem;
  flex: 0 0 auto;
}

.app-site-actions-member {
  margin-left: auto;
  gap: 0.7rem;
}

.app-site-actions-member .app-site-btn-ghost {
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
}

.app-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22, 93, 255, 0.03);
}

.app-site-btn-primary {
  background: #165dff;
  border-color: #165dff;
  color: #ffffff;
}

.app-site-btn-primary:hover,
.app-site-btn-primary:focus {
  background: #0f4fe0;
  border-color: #0f4fe0;
  color: #ffffff;
}

.app-site-btn-secondary {
  background: #ffffff;
  border-color: #165dff;
  color: #165dff;
}

.app-site-btn-secondary:hover,
.app-site-btn-secondary:focus {
  background: rgba(22, 93, 255, 0.05);
  color: #165dff;
}

.admin-shell-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(10px);
}

.admin-shell-header-inner {
  padding-top: 0.55rem;
  padding-bottom: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.admin-shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex: 0 0 auto;
}

.admin-shell-brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.admin-shell-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.admin-shell-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: center;
}

.admin-shell-brand-name {
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
}

.admin-shell-brand-subtitle {
  color: #6b7280;
  font-size: 0.76rem;
}

.admin-shell-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  justify-content: flex-start;
  padding: 0;
}

.admin-shell-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.28rem 0.72rem;
  border-radius: 0.6rem;
  text-decoration: none;
  color: #475569;
  white-space: nowrap;
  border: 1px solid #e5e7eb;
  background: #fff;
  flex: 0 0 auto;
}

.promotion-current-month-pills {
  flex-wrap: nowrap !important;
  min-width: 0;
}

.promotion-current-month-dates-viewport {
  overflow: hidden;
  flex: 0 0 auto;
  min-width: 0;
}

.promotion-current-month-dates-track {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  min-width: max-content;
  will-change: transform;
}

.promotion-current-month-date {
  flex: 0 0 6rem;
  min-width: 6rem;
  justify-content: center;
}

.admin-shell-nav-link:hover,
.admin-shell-nav-link:focus {
  color: #165dff;
  background: rgba(22, 93, 255, 0.05);
  border-color: rgba(22, 93, 255, 0.2);
}

.admin-shell-nav-link.is-active {
  color: #165dff;
  background: rgba(22, 93, 255, 0.1);
  border-color: rgba(22, 93, 255, 0.28);
  font-weight: 600;
}

/* 固定表格列宽，点击排序或 DOM 重排时保持列宽不变（避免出现横向滚动条） */
.table-fixed {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}
.table-fixed th,
.table-fixed td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 如果需要 JS 帮助同步列宽，请为表格添加类：js-table-fixed */

/* Footer styles */
.app-site-footer {
  background: #fbfcfe;
  border-top: 1px solid #eceff3;
  padding: 1rem 0;
}

.app-site-footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.1rem;
  text-align: center;
}

.app-site-footer-domain {
  margin: 0 0 0.25rem 0;
  color: #6b7280;
  font-size: 0.95rem;
}

/* Make the copyright/license line slightly smaller */
.app-site-footer-copy {
  margin: 0.25rem 0;
  color: #6b7280;
  font-size: 0.85rem; /* smaller font for the whole line */
}

/* Ensure ICP link does not show underline and matches surrounding font */
.app-site-footer-icp a,
.app-site-footer-copy a {
  text-decoration: none;
  color: inherit;
  font-size: inherit;
}

.app-site-footer-icp a:hover,
.app-site-footer-copy a:hover {
  text-decoration: none; /* no underline on hover */
  color: #165dff; /* keep hover color for visibility */
}

.app-site-footer-slogan {
  margin: 0.25rem 0 0.5rem 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.app-site-footer {
  background: #fafafa;
  border-top: 1px solid #eee;
  padding: 1.2rem 0;
  margin-top: 2rem;
}

.app-site-footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.1rem;
  text-align: center;
}

.app-site-footer-icp {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0.15rem 0;
}

.app-site-footer-icp a {
  margin-left: 0.6rem;
  color: #165dff;
  text-decoration: none;
}

.app-site-footer-icp a:hover {
  text-decoration: underline;
}

.admin-shell-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.admin-shell-user {
  color: #475569;
  font-weight: 600;
  white-space: nowrap;
}

.admin-shell-container {
  padding-top: 1rem;
}

@media (max-width: 991.98px) {
  .admin-shell-header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .admin-shell-actions {
    margin-left: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .admin-shell-nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    padding-bottom: 0.15rem;
  }
}

.app-site-btn-ghost {
  background: #ffffff;
  border-color: #d0d7e2;
  color: #4e5969;
}

.app-site-btn-ghost:hover,
.app-site-btn-ghost:focus {
  background: #f8fafc;
  border-color: #b6c2d2;
  color: #1d2129;
}

.app-site-member-status {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.2rem;
  color: #6b7280;
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
}

.app-site-member-status-compact {
  max-width: 13rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-value-sm {
  font-size: 1.15rem;
}

.member-center-card {
  border-radius: 1rem;
}

.member-center-pending-order {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(22, 93, 255, 0.12);
  border-radius: 0.85rem;
  background: rgba(22, 93, 255, 0.03);
  margin-bottom: 1rem;
}

.member-center-pending-label {
  color: #165dff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.member-center-order-no {
  font-size: 1rem;
  font-weight: 700;
  color: #1d2129;
  margin-bottom: 0.35rem;
  word-break: break-all;
}

.member-center-empty-state {
  color: #4e5969;
  line-height: 1.8;
}

.member-center-tips {
  color: #4e5969;
}

.member-center-tips ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.member-center-tips li {
  margin-bottom: 0.35rem;
}

.member-admin-inline-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.member-admin-inline-actions form {
  margin: 0;
}

.app-site-mobile-member-status {
  color: #6b7280;
  font-size: 0.88rem;
  font-weight: 500;
}

.app-site-menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.26rem;
  border: 0;
  background: transparent;
  padding: 0;
}

.app-site-menu-toggle span {
  width: 1.2rem;
  height: 2px;
  background: #4e5969;
  border-radius: 999px;
}

.app-site-mobile-menu {
  display: none;
  border-top: 1px solid #f2f3f5;
  background: #ffffff;
}

.app-site-mobile-menu.is-open {
  display: block;
}

.app-site-mobile-links,
.app-site-mobile-actions {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.app-site-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.app-site-mobile-link {
  color: #4e5969;
  text-decoration: none;
  font-weight: 500;
}

.app-site-mobile-link.is-active {
  color: #165dff;
}

.app-site-mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #f2f3f5;
}

.app-site-mobile-nav-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.app-site-mobile-nav-group-title {
  color: #86909c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.app-site-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid #f2f3f5;
}

.home-reference-page {
  background: #ffffff;
}

.admin-shell-body {
  padding-top: 0;
  background: #f7f8fa;
}

.admin-shell-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e5e6eb;
  box-shadow: 0 4px 24px rgba(29, 33, 41, 0.04);
}

.admin-shell-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 4.25rem;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-shell-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.admin-shell-brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  background: #1d2129;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-right: 0.7rem;
}

.admin-shell-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.admin-shell-brand-name {
  color: #1d2129;
  font-size: 1.05rem;
  font-weight: 700;
}

.admin-shell-brand-subtitle {
  color: #86909c;
  font-size: 0.75rem;
}

.admin-shell-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-shell-user {
  color: #4e5969;
  font-size: 0.95rem;
}

.admin-shell-container {
  padding-top: 1.75rem;
}

.admin-shell-section-wrap {
  padding-top: 1.75rem;
}

.admin-shell-section-card {
  padding: 1.8rem 1.9rem;
  border-radius: 1.2rem;
}

.admin-shell-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.admin-shell-section-title {
  margin: 0;
  color: #1d2129;
  font-size: 2.45rem;
  font-weight: 500;
  line-height: 1.2;
}

.admin-shell-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.admin-shell-inline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
}

.admin-shell-inline-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  margin-left: auto;
}

.admin-shell-inline-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.admin-shell-inline-nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.admin-shell-section-link {
  min-width: 7rem;
}

.app-page-home-shell {
  width: 100%;
  max-width: none;
}

.home-reference-banner {
  position: relative;
  overflow: hidden;
  padding: 5.1rem 1.25rem 3.9rem;
  background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}

.home-reference-banner-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(12vw, 10rem);
  pointer-events: none;
  opacity: 0.42;
}

.home-reference-banner-edge-left {
  left: 0;
  background:
    radial-gradient(circle at left 22%, rgba(22, 93, 255, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(22, 93, 255, 0.04), transparent 55%);
}

.home-reference-banner-edge-right {
  right: 0;
  background:
    radial-gradient(circle at right 68%, rgba(22, 93, 255, 0.09), transparent 44%),
    linear-gradient(180deg, rgba(22, 93, 255, 0.03), transparent 58%);
}

.home-reference-banner-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.home-reference-banner-left-icon {
  position: absolute;
  left: min(4vw, 4.5rem);
  top: 33%;
  width: 12rem;
  height: 4rem;
  pointer-events: none;
  opacity: 0.18;
}

.home-reference-banner-left-icon span {
  position: absolute;
  height: 1px;
  background: #165dff;
  border-radius: 999px;
  transform-origin: left center;
}

.home-reference-banner-left-icon span:nth-child(1) {
  left: 0;
  top: 2.25rem;
  width: 4.2rem;
  transform: rotate(-16deg);
}

.home-reference-banner-left-icon span:nth-child(2) {
  left: 3.9rem;
  top: 1.15rem;
  width: 4rem;
  transform: rotate(22deg);
}

.home-reference-banner-left-icon span:nth-child(3) {
  left: 7.55rem;
  top: 2.35rem;
  width: 4.5rem;
  transform: rotate(-18deg);
}

.home-reference-banner-left-icon span:nth-child(4) {
  left: 10.55rem;
  top: 1.55rem;
  width: 1.55rem;
  transform: rotate(17deg);
}

.home-reference-banner-bg {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  opacity: 0.08;
  background: linear-gradient(90deg, transparent 0%, #165dff 20%, #165dff 80%, transparent 100%);
}

.home-reference-banner-bg-line1 { top: 34%; transform: translateY(-50%) rotate(-3deg); }
.home-reference-banner-bg-line2 { top: 51%; transform: translateY(-50%) rotate(1.5deg); }
.home-reference-banner-bg-line3 { top: 68%; transform: translateY(-50%) rotate(-1.5deg); }

.home-reference-banner-mark {
  position: absolute;
  right: 8%;
  bottom: 3rem;
  width: 10rem;
  height: 7rem;
  opacity: 0.035;
  border: 3px solid #165dff;
  border-radius: 55% 45% 35% 30%;
  transform: rotate(-14deg);
  filter: blur(0.15px);
}

.home-reference-banner-side-icon {
  position: absolute;
  right: min(4.5vw, 5rem);
  top: 54%;
  width: 7rem;
  height: 3.2rem;
  pointer-events: none;
  opacity: 0.75;
}

.home-reference-banner-side-icon span {
  position: absolute;
  height: 2px;
  background: #165dff;
  border-radius: 999px;
  transform-origin: left center;
}

.home-reference-banner-side-icon span:nth-child(1) {
  left: 0;
  top: 1.9rem;
  width: 1.75rem;
  transform: rotate(-47deg);
}

.home-reference-banner-side-icon span:nth-child(2) {
  left: 1.18rem;
  top: 0.78rem;
  width: 1.95rem;
  transform: rotate(38deg);
}

.home-reference-banner-side-icon span:nth-child(3) {
  left: 2.72rem;
  top: 1.62rem;
  width: 2.1rem;
  transform: rotate(-38deg);
}

.home-reference-banner-side-icon span:nth-child(4) {
  left: 4.42rem;
  top: 0.88rem;
  width: 2.05rem;
  transform: rotate(24deg);
}

.home-reference-banner-side-icon::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 1.14rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #165dff;
}

.home-reference-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #1d2129;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

.home-reference-subtitle {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: #165dff;
  margin: 1.7rem 0 3.2rem;
}

.home-reference-description {
  max-width: 42rem;
  margin: 0 auto 2.2rem;
  color: #4e5969;
  font-size: 1rem;
  line-height: 1.9;
}

.home-reference-actions,
.home-reference-entry-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.home-reference-btn {
  min-width: 12rem;
}

.home-reference-section {
  padding: 4.2rem 1.25rem;
}

.home-reference-section-compact {
  padding-top: 0;
  padding-bottom: 2rem;
}

.home-reference-section-white {
  background: #ffffff;
}

.home-reference-section-gray {
  background: #f7f8fa;
}

.home-reference-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.home-reference-narrow {
  max-width: 64rem;
}

.home-reference-narrower {
  max-width: 58rem;
}

.home-reference-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1d2129;
  text-align: center;
  margin-bottom: 2.4rem;
}

.home-reference-compliance-box {
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(22, 93, 255, 0.12);
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(29, 33, 41, 0.04);
  position: relative;
}

.home-reference-compliance-box::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 93, 255, 0.22), transparent);
}

.home-reference-compliance-box h3 {
  margin: 0 0 0.75rem;
  color: #165dff;
  font-size: 1.05rem;
  font-weight: 700;
}

.home-reference-compliance-box p {
  margin: 0;
  color: #4e5969;
  line-height: 1.8;
}

.home-reference-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-reference-brand-card {
  text-align: center;
  padding: 0.5rem 1rem;
}

.home-reference-brand-card:first-child {
  position: relative;
}

.home-reference-brand-card:first-child::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1.15rem;
  width: 2.4rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(22, 93, 255, 0.7), transparent);
  transform: translateX(-50%);
}

.home-reference-brand-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d2129;
  margin-bottom: 1rem;
}

.home-reference-brand-card p {
  margin: 0;
  color: #4e5969;
  line-height: 1.85;
}

.home-reference-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-reference-feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(29, 33, 41, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(242, 243, 245, 1);
}

.home-reference-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(29, 33, 41, 0.1);
}

.home-reference-feature-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(22, 93, 255, 0.1);
  color: #165dff;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(22, 93, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.home-reference-feature-icon span {
  position: absolute;
  background: #165dff;
  border-radius: 999px;
}

.home-reference-feature-icon-record span:nth-child(1) {
  left: 0.92rem;
  top: 0.72rem;
  width: 1.08rem;
  height: 1.34rem;
  border: 1.6px solid #165dff;
  background: transparent;
  border-radius: 0.15rem;
}

.home-reference-feature-icon-record span:nth-child(2) {
  left: 1.16rem;
  top: 1.06rem;
  width: 0.62rem;
  height: 1.6px;
}

.home-reference-feature-icon-record span:nth-child(3) {
  left: 1.16rem;
  top: 1.42rem;
  width: 0.62rem;
  height: 1.6px;
}

.home-reference-feature-icon-summary span:nth-child(1) {
  left: 0.78rem;
  top: 0.9rem;
  width: 1.44rem;
  height: 1.02rem;
  border: 1.6px solid #165dff;
  background: transparent;
  border-radius: 0.15rem;
}

.home-reference-feature-icon-summary span:nth-child(2) {
  left: 0.98rem;
  top: 1.12rem;
  width: 1.02rem;
  height: 1.6px;
}

.home-reference-feature-icon-summary span:nth-child(3) {
  left: 0.98rem;
  top: 1.44rem;
  width: 1.02rem;
  height: 1.6px;
}

.home-reference-feature-icon-chart span:nth-child(1) {
  left: 0.86rem;
  bottom: 0.82rem;
  width: 0.18rem;
  height: 1rem;
}

.home-reference-feature-icon-chart span:nth-child(2) {
  left: 1.28rem;
  bottom: 0.82rem;
  width: 0.18rem;
  height: 0.72rem;
}

.home-reference-feature-icon-chart span:nth-child(3) {
  left: 1.7rem;
  bottom: 0.82rem;
  width: 0.18rem;
  height: 1.3rem;
}

.home-reference-feature-icon-chart span:nth-child(4) {
  left: 2.12rem;
  bottom: 0.82rem;
  width: 0.18rem;
  height: 0.88rem;
}

.home-reference-feature-icon-trend span:nth-child(1) {
  left: 0.86rem;
  top: 1.8rem;
  width: 0.72rem;
  height: 1.8px;
  transform: rotate(-36deg);
  transform-origin: left center;
}

.home-reference-feature-icon-trend span:nth-child(2) {
  left: 1.38rem;
  top: 1.38rem;
  width: 0.66rem;
  height: 1.8px;
  transform: rotate(28deg);
  transform-origin: left center;
}

.home-reference-feature-icon-trend span:nth-child(3) {
  left: 1.88rem;
  top: 1.54rem;
  width: 0.72rem;
  height: 1.8px;
  transform: rotate(-25deg);
  transform-origin: left center;
}

.home-reference-feature-icon-trend span:nth-child(4) {
  left: 2.34rem;
  top: 1.08rem;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 999px;
}

.home-reference-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d2129;
  margin-bottom: 1rem;
}

.home-reference-feature-card p {
  margin: 0;
  color: #4e5969;
  line-height: 1.85;
}

.home-reference-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.home-reference-value-item {
  position: relative;
  padding-left: 2rem;
  color: #4e5969;
  line-height: 1.9;
  min-height: 3rem;
}

.home-reference-value-item::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: #165dff;
  font-size: 1rem;
}

.home-reference-statement-card {
  padding: 1.85rem 2rem;
  border-radius: 1rem;
  background: #fff2f0;
  border: 1px solid #ffccc7;
  box-shadow: 0 10px 28px rgba(245, 63, 63, 0.06);
}

.home-reference-statement-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f53f3f;
  text-align: center;
  margin-bottom: 1.65rem;
}

.home-reference-statement-list {
  margin: 0;
  padding-left: 1.25rem;
}

.home-reference-statement-list li {
  color: #1d2129;
  line-height: 1.82;
  margin-bottom: 0.8rem;
}

.home-reference-statement-list li:last-child {
  margin-bottom: 0;
}

.home-reference-entry-shell {
  text-align: center;
}

.home-reference-entry-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1d2129;
  margin-bottom: 2rem;
}

.app-site-footer {
  background: #f7f8fa;
  padding: 2.8rem 1.25rem 2.5rem;
  position: relative;
}

.app-site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 93, 255, 0.12), transparent);
}

.app-site-footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.app-site-footer-domain {
  margin: 0 0 1rem;
  color: #1d2129;
  font-weight: 500;
}

.app-site-footer-license {
  margin: 0 0 0.85rem;
  color: #4e5969;
  font-size: 0.88rem;
}

.app-site-footer-copy,
.app-site-footer-slogan {
  margin: 0 0 0.85rem;
  color: #86909c;
}

.app-site-footer-slogan {
  letter-spacing: 0.02em;
}

.app-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.app-site-footer-links a {
  color: #86909c;
  text-decoration: none;
  font-size: 0.85rem;
}

.app-site-footer-links a:hover,
.app-site-footer-links a:focus {
  color: #165dff;
}

.page-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
}

.trade-date-navigator-inline-slot {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 1rem;
  min-height: 1rem;
  white-space: nowrap;
}

.promotion-filter-st-group {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.promotion-filter-st-group .form-check-input {
  margin-top: 0;
}

.promotion-filter-st-group .form-check-label {
  margin-bottom: 0;
}

.promotion-inline-loading-slot {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  overflow: visible;
  white-space: nowrap;
}

.promotion-inline-loading {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: #2563eb;
  font-weight: 600;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.promotion-inline-loading .spinner-border {
  margin-right: 0.35rem;
}

.promotion-inline-loading .promotion-inline-loading-text,
.promotion-inline-loading-text {
  display: inline;
  color: #2563eb;
  font-weight: 700;
  white-space: nowrap;
}

.promotion-inline-loading.is-visible {
  visibility: visible;
  opacity: 1;
}

.promotion-page-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 18rem;
  color: #2563eb;
  font-weight: 600;
}

.home-policy-card,
.home-register-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.member-login-demo-account {
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(22, 93, 255, 0.24);
  border-radius: 0.75rem;
  background: rgba(22, 93, 255, 0.04);
  color: #4e5969;
  line-height: 1.8;
}

.member-login-demo-account strong {
  color: #165dff;
  font-weight: 700;
}

.member-login-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding: 0;
}

.member-login-body {
  --member-login-primary: #165dff;
  --member-login-primary-deep: #0f4fe0;
  --member-login-primary-soft: #3b82ff;
  --member-login-right-bg: #f8fafc;
  --member-login-link: #165dff;
  margin: 0;
  min-height: 100vh;
  background: var(--member-login-right-bg);
  padding-top: 0;
  overflow: hidden;
}

html:has(.member-login-body) {
  min-height: 100vh;
  height: 100%;
}

.member-login-body .member-login-page {
  min-height: 100vh;
  height: 100vh;
  padding: 0;
  margin: 0;
}

.member-login-shell {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  margin: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(90deg, #165dff 0 50.1%, var(--member-login-right-bg) 50.1% 100%);
}

.member-login-brand-panel {
  position: relative;
  flex: 1 1 50%;
  align-self: stretch;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, #165dff 0%, #1556eb 42%, #1148cd 100%);
}

.member-login-brand-bg,
.member-login-brand-diamond,
.member-login-brand-wave,
.member-login-brand-chart {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.member-login-brand-bg {
  opacity: 0.18;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.member-login-brand-bg svg {
  width: 100%;
  height: 100%;
}

.member-login-brand-bg svg path,
.member-login-brand-bg svg circle {
  opacity: 0.58;
}

.member-login-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.07), transparent 28%),
    radial-gradient(circle at 62% 72%, rgba(255, 255, 255, 0.06), transparent 24%),
    radial-gradient(circle at 78% 84%, rgba(255, 255, 255, 0.045), transparent 26%);
  pointer-events: none;
}

.member-login-brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, transparent 34%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.03) 0%, transparent 28%),
    radial-gradient(circle at 56% 76%, rgba(255, 255, 255, 0.045) 0%, transparent 22%);
  opacity: 0.3;
  pointer-events: none;
}

.member-login-brand-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 5rem 4.5rem;
  color: #ffffff;
  text-align: center;
  transform: translateY(0);
}

.member-login-brand-header {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  text-align: center;
}

.member-login-brand-logo {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.9rem;
}

.member-login-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.member-login-brand-header h1,
.member-login-mobile-brand h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
}

.member-login-brand-header p,
.member-login-mobile-brand p {
  margin: 0.15rem 0 0;
  font-size: 1rem;
  opacity: 0.92;
}

.member-login-brand-content h2 {
  align-self: center;
  max-width: 34rem;
  margin: 0 0 1.15rem;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.member-login-brand-content p {
  align-self: center;
  max-width: 31rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0.85;
}

.member-login-brand-wave {
  inset: auto;
  left: 7%;
  bottom: 4.5%;
  width: 15.6rem;
  height: 12rem;
  color: rgba(148, 163, 184, 0.7);
}

.member-login-brand-wave svg {
  width: 100%;
  height: 100%;
}

.member-login-form-panel {
  flex: 1 1 50%;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 3rem 2.25rem 3rem 5rem;
  background: transparent;
}

.member-login-form-shell {
  width: min(100%, 26rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(0.7rem, 0.2rem);
}

.member-login-mobile-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #1d2129;
}

.member-login-card {
  width: 100%;
  padding: 1.35rem 1.35rem 1.1rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.member-login-card-header h2 {
  margin: 0;
  color: #1d2129;
  font-size: 1.4rem;
  font-weight: 700;
}

.member-login-card-header p {
  margin: 0.35rem 0 0;
  color: #86909c;
  font-size: 0.84rem;
}

.member-login-tabs {
  display: flex;
  margin: 1.15rem 0 1rem;
  border-bottom: 1px solid #f2f3f5;
}

.member-login-tab {
  flex: 1 1 50%;
  padding: 0.8rem 0.25rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #86909c;
  font-size: 0.78rem;
  font-weight: 500;
}

.member-login-tab.is-active {
  color: var(--member-login-primary);
  border-bottom-color: var(--member-login-primary);
  font-weight: 600;
}

.member-login-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.member-login-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.member-login-field .form-label {
  margin-bottom: 0;
  color: #4e5969;
  font-size: 0.8rem;
}

.member-login-input-wrap {
  position: relative;
}

.member-login-input {
  min-height: 3rem;
  padding-left: 2.8rem;
  border-color: #e5e7eb;
  border-radius: 0.75rem;
  background: #f8fafc;
  box-shadow: none;
  font-size: 0.9rem;
}

.member-login-input:focus {
  border-color: rgba(22, 93, 255, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(22, 93, 255, 0.12);
  background: #ffffff;
}

.member-login-input-wrap-password .member-login-input {
  padding-right: 3.4rem;
}

.member-login-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  opacity: 1;
}

.member-login-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0;
}

.member-login-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.1rem;
}

.member-login-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #4e5969;
  font-size: 0.82rem;
}

.member-login-helper-link {
  color: var(--member-login-link);
  font-size: 0.78rem;
}

.member-login-submit-btn,
.member-login-register-btn,
.member-login-wechat-refresh {
  min-height: 2.45rem;
  border-radius: 0.42rem;
  font-size: 0.82rem;
}

.member-login-submit-btn {
  background: linear-gradient(180deg, #3b82ff, var(--member-login-primary-deep));
  border-color: var(--member-login-primary-deep);
  box-shadow: 0 12px 24px rgba(22, 93, 255, 0.22);
}

.member-login-register-btn {
  color: var(--member-login-primary);
  border-color: rgba(22, 93, 255, 0.38);
  background: #ffffff;
}

.member-register-shell {
  background: linear-gradient(90deg, #165dff 0 48.5%, var(--member-login-right-bg) 48.5% 100%);
}

.member-register-form-shell {
  width: min(100%, 29.5rem);
}

.member-register-card {
  padding: 1.55rem 1.55rem 1.35rem;
}

.member-register-card .member-login-card-header {
  margin-bottom: 0.2rem;
}

.member-register-form {
  gap: 0.8rem;
}

.member-register-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.member-register-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 7.1rem;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid #d9e2f2;
  border-radius: 0.9rem;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.member-register-plan-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.member-register-plan-card.is-active {
  border-color: rgba(22, 93, 255, 0.45);
  box-shadow: 0 10px 24px rgba(22, 93, 255, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.member-register-plan-name {
  color: #1d2129;
  font-size: 0.95rem;
  font-weight: 700;
}

.member-register-plan-desc {
  color: #4e5969;
  font-size: 0.78rem;
  line-height: 1.75;
}

.member-register-cycle-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.member-register-cycle-group.is-hidden {
  display: none;
}

.member-register-cycle-label {
  color: #1d2129;
  font-size: 0.84rem;
  font-weight: 700;
}

.member-register-cycle-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.member-register-cycle-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid #d9e2f2;
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  cursor: pointer;
}

.member-register-cycle-option input {
  margin: 0;
}

.member-register-cycle-option.is-active {
  border-color: rgba(22, 93, 255, 0.45);
  box-shadow: 0 10px 24px rgba(22, 93, 255, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  color: #165dff;
}

.member-register-form-panel {
  padding-right: 2.5rem;
}

.member-register-agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.1rem;
  color: #4e5969;
  font-size: 0.82rem;
  line-height: 1.75;
}

.member-register-demo-account {
  margin-top: 0.15rem;
}

.member-access-denied-page {
  display: flex;
  justify-content: center;
  padding: 4rem 0 2rem;
}

.member-access-denied-card {
  width: min(100%, 40rem);
  padding: 2rem 2.2rem;
  border-radius: 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(22, 93, 255, 0.12);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.member-access-denied-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(22, 93, 255, 0.1);
  color: #165dff;
  font-size: 0.78rem;
  font-weight: 700;
}

.member-access-denied-card h1 {
  margin: 0 0 0.9rem;
  color: #1d2129;
  font-size: 1.8rem;
  font-weight: 700;
}

.member-access-denied-card p {
  margin: 0;
  color: #4e5969;
  line-height: 1.9;
}

.member-access-denied-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.member-admin-card {
  overflow: hidden;
}

.member-admin-table th,
.member-admin-table td {
  vertical-align: top;
}

.member-admin-table th {
  white-space: nowrap;
}

.member-admin-subtext {
  margin-top: 0.25rem;
  color: #86909c;
  font-size: 0.76rem;
  line-height: 1.6;
}

.member-admin-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 8.75rem;
}

.member-admin-feature-list label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #334155;
  font-size: 0.8rem;
}

.member-admin-log-table th,
.member-admin-log-table td {
  vertical-align: top;
}

.member-admin-log-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.member-admin-log-status.is-success {
  background: rgba(0, 180, 42, 0.12);
  color: #0f8c35;
}

.member-admin-log-status.is-failed {
  background: rgba(245, 63, 63, 0.1);
  color: #d92020;
}

.member-order-admin-card {
  overflow: hidden;
}

.member-order-admin-table th,
.member-order-admin-table td {
  vertical-align: top;
}

.member-order-admin-remark {
  min-width: 12rem;
}

.member-register-agreement .form-check-input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.member-register-agreement a {
  color: var(--member-login-link);
  text-decoration: none;
}

.member-register-demo-account {
  margin-top: 0.1rem;
  font-size: 0.8rem;
}

.member-register-success-alert {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(7, 193, 96, 0.22);
  background: rgba(7, 193, 96, 0.08);
  color: #0f7a44;
  font-size: 0.82rem;
  line-height: 1.75;
}

.member-login-panel-wechat {
  text-align: center;
}

.member-login-qrcode-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-login-qrcode-box {
  position: relative;
  width: 11rem;
  height: 11rem;
  margin-bottom: 1rem;
  padding: 0.65rem;
  border: 1px solid #f2f3f5;
  border-radius: 0.8rem;
  background: #ffffff;
}

.member-login-qrcode-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #f7f8fa 0%, #eef3ff 100%);
  color: #86909c;
}

.member-login-qrcode-icon {
  font-size: 2.2rem;
  color: #07c160;
  margin-bottom: 0.5rem;
}

.member-login-qrcode-success {
  position: absolute;
  inset: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  color: #1d2129;
}

.member-login-qrcode-success-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: rgba(7, 193, 96, 0.12);
  color: #07c160;
  font-size: 1.4rem;
  font-weight: 700;
}

.member-login-qrcode-title {
  margin: 0 0 0.35rem;
  color: #1d2129;
  font-size: 0.95rem;
  font-weight: 600;
}

.member-login-qrcode-desc {
  margin: 0 0 1rem;
  color: #86909c;
  font-size: 0.82rem;
  line-height: 1.75;
}

.member-login-divider {
  position: relative;
  margin: 0.95rem 0 0.85rem;
  text-align: center;
}

.member-login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #f2f3f5;
}

.member-login-divider span {
  position: relative;
  padding: 0 0.9rem;
  background: #ffffff;
  color: #86909c;
  font-size: 0.78rem;
}

.member-login-agreement {
  margin: 1rem 0 0;
  color: #86909c;
  font-size: 0.72rem;
  line-height: 1.8;
  text-align: center;
}

.member-login-demo-account {
  margin-top: 0.65rem;
  color: #b0b7c3;
  font-size: 0.72rem;
  text-align: center;
}

.member-login-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  color: #7b8495;
  font-size: 0.75rem;
  text-decoration: none;
}

.member-login-back-link:hover {
  color: #4c63f0;
}

.member-login-agreement a {
  color: var(--member-login-link);
  text-decoration: none;
}

.home-section-tag {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.topic-tree {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.topic-tree-search-box {
  position: relative;
}

.topic-tree-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 20;
  max-height: 20rem;
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid #dbe2ea;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.topic-tree-search-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  text-align: left;
}

.topic-tree-search-item:hover,
.topic-tree-search-item:focus {
  background: rgba(22, 93, 255, 0.08);
}

.topic-tree-search-item.is-empty {
  color: #86909c;
  cursor: default;
}

.topic-tree-search-item-title {
  color: #1d2129;
  font-weight: 600;
}

.topic-tree-search-item-path {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.topic-tree ul {
  list-style: none;
  margin: 0;
  padding-left: 1.5rem;
}

.topic-tree-node {
  padding: 0.2rem 0;
}

.topic-tree-node.is-highlight > .topic-tree-node-row {
  background: rgba(22, 93, 255, 0.08);
  border-radius: 0.6rem;
  box-shadow: inset 0 0 0 1px rgba(22, 93, 255, 0.18);
}

.topic-tree-node-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.2rem 0.35rem;
}

.topic-tree-toggle {
  width: 1.6rem;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}

.topic-tree-toggle.is-placeholder {
  visibility: hidden;
}

.topic-tree-node-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
  min-width: 0;
}

.topic-tree-code {
  color: #165dff;
  font-weight: 700;
}

.topic-tree-name {
  color: #1d2129;
  font-weight: 600;
}

.topic-tree-name-empty {
  color: #9ca3af;
  font-style: italic;
}

.topic-tree-note {
  color: #6b7280;
  font-size: 0.85rem;
}

.topic-tree-path {
  color: #64748b;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  line-height: 1.5;
}

.topic-tree-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.topic-tree-children {
  margin-top: 0.25rem;
}

.member-topic-card {
  min-height: 18rem;
}

.member-topic-tree,
.member-topic-tree ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.member-topic-tree ul {
  margin-left: 1.45rem;
  padding-left: 1rem;
  border-left: 1px dashed rgba(22, 93, 255, 0.22);
}

.member-topic-tree-node {
  margin-bottom: 0.55rem;
}

.member-topic-tree-node-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.member-topic-tree-toggle {
  width: 1.8rem;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  border-radius: 999px;
  line-height: 1;
}

.member-topic-tree-toggle.is-placeholder {
  display: inline-block;
  width: 1.8rem;
  min-width: 1.8rem;
}

.member-topic-tree-name {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(22, 93, 255, 0.06);
  color: #1f2937;
  font-weight: 600;
}

.member-topic-tree-children {
  margin-top: 0.45rem;
}

@media (max-width: 991.98px) {
  .admin-shell-inline-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-shell-inline-side,
  .admin-shell-inline-nav {
    align-items: stretch;
    margin-left: 0;
  }

  .admin-shell-inline-nav-row {
    justify-content: flex-start;
  }

  .admin-shell-section-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-shell-section-title {
    font-size: 2rem;
  }

  .admin-shell-section-actions {
    justify-content: flex-start;
  }

  .member-login-shell {
    background: #f5f6fa;
  }

  .member-login-brand-content {
    transform: none;
    padding: 3rem 1.5rem 2rem;
  }

  .member-login-brand-wave {
    display: none;
  }

  .member-login-form-panel {
    flex: 1 1 100%;
    min-height: 100vh;
    padding: 2rem 1rem;
  }

  .member-login-form-shell {
    width: min(100%, 25rem);
    transform: none;
  }

  .member-login-mobile-brand {
    margin-bottom: 1.25rem;
  }
}

.app-page-container {
  width: min(calc(100vw - 40px), 1680px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.app-page-container-left {
  width: 100%;
  position: static;
  left: auto;
  transform: none;
  margin-left: 0;
  margin-right: 0;
}

.app-page-container-left-bounded {
  width: min(calc(100vw - 40px), 1680px);
  max-width: none;
  position: static;
  left: auto;
  transform: none;
  margin-left: 0;
  margin-right: auto;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.limitup-date-pager {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(220, 53, 69, 0.12);
  border-radius: 0.85rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 246, 0.96));
}

.limitup-content-toolbar {
  margin-bottom: 0.55rem !important;
}

.limitup-content-toolbar .limitup-date-pager {
  margin-bottom: 0 !important;
  padding: 0.55rem 0.75rem;
  border-color: rgba(220, 53, 69, 0.08);
  border-radius: 0.82rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 248, 0.98));
  box-shadow: 0 0.18rem 0.55rem rgba(33, 37, 41, 0.03);
}

.limitup-content-toolbar .trade-date-navigator > .d-flex {
  gap: 0.55rem !important;
}

.limitup-content-toolbar .trade-date-navigator > .d-flex > .d-flex {
  gap: 0.35rem !important;
}

.limitup-content-toolbar .trade-date-navigator form {
  margin-right: 0.15rem !important;
}

.limitup-content-toolbar .limitup-date-pills .btn {
  min-width: 4.1rem;
}

.limitup-content-toolbar-promotion {
  padding: 0 0.85rem;
}

.promotion-toolbar-filter-form {
  row-gap: 0.45rem !important;
  column-gap: 0.5rem !important;
  padding-left: 0.1rem;
}

.promotion-toolbar-filter-form-indent {
  padding-left: 1.55rem;
}

.promotion-toolbar-filter-form .form-label,
.promotion-toolbar-filter-form .small {
  line-height: 1.2;
}

.promotion-toolbar-filter-form .form-select.form-select-sm {
  min-width: 4.6rem;
}

.limitup-content-toolbar .trade-date-navigator .btn.btn-sm {
  --bs-btn-padding-y: 0.28rem;
  --bs-btn-padding-x: 0.68rem;
}

.limitup-content-toolbar-concept #realtimeRateLimitWarning {
  margin-bottom: 0.35rem;
}

.limitup-content-toolbar-concept {
  padding: 0 0.5rem;
}

.limitup-date-pills .btn {
  min-width: 4.5rem;
}

.trade-date-navigator .promotion-current-month-pills {
  max-width: min(100%, 42rem);
  flex-wrap: nowrap !important;
}

.trade-date-navigator .promotion-current-month-dates-viewport {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  max-width: min(100%, 34rem);
}

.trade-date-navigator .promotion-current-month-dates-track {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  will-change: transform;
}

.trade-date-navigator .promotion-current-month-date {
  flex: 0 0 auto;
  position: relative;
  box-shadow: inset 0 -1px 0 currentColor;
}

.limitup-tier-section {
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.limitup-echelon-list {
  border-radius: 0.75rem;
  overflow: hidden;
}

.limitup-echelon-item {
  padding: 0.6rem 0.8rem;
  border-left: 0;
  border-right: 0;
}

.limitup-echelon-item:first-child {
  border-top: 0;
}

.limitup-echelon-item:last-child {
  border-bottom: 0;
}

.limitup-tier-reason {
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-topic-selector {
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.9rem;
  background-color: rgba(255, 255, 255, 0.96);
}

.hot-topic-option-list {
  max-height: 24rem;
  overflow-y: auto;
  padding: 0.25rem 0.1rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.45);
}

.hot-topic-option-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.45rem 0.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.hot-topic-option-item:last-child {
  border-bottom: 0;
}

.hot-topic-option-checkbox {
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

.hot-topic-option-label {
  flex: 1;
  line-height: 1.35;
  cursor: pointer;
}

.promotion-grid-wrapper {
  overflow-x: auto;
}

.promotion-page-wide {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.limitup-page-wide {
  width: 100%;
  max-width: none;
  position: static;
  left: auto;
  transform: none;
}

.promotion-header-card {
  margin-left: 0;
  margin-right: auto;
  width: 100%;
  max-width: none;
}

.promotion-header-shell {
  width: 100%;
  max-width: min(calc(100vw - 40px), 1680px);
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.promotion-titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  overflow: hidden;
}

.promotion-titlebar > :first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.promotion-titlebar-trade-date {
  margin-left: auto;
  padding-right: 0.55rem;
  padding-top: 0.15rem;
  color: #dc2626;
  font-size: 1.18rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
}

.promotion-content-card {
  padding: 0.75rem 0.75rem 1rem;
  background: linear-gradient(180deg, #f3f4f6 0%, #eceff3 100%);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.promotion-content-card .limitup-content-toolbar-promotion {
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}

.concept-ech-content-card {
  padding-top: 0.75rem;
}

.concept-ech-content-card .limitup-content-toolbar-concept {
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}

.promotion-grid-outer-scroll {
  overflow-x: auto;
  padding: 0 0.15rem 0.25rem;
}

.promotion-grid {
  width: max-content;
  min-width: 0;
  table-layout: fixed;
  background-color: #fff;
}

.promotion-grid th,
.promotion-grid td {
  border-color: #93b3ea;
  text-align: center;
  vertical-align: middle;
  padding: 0.35rem 0.25rem;
}

.promotion-time-col {
  width: 5rem;
  min-width: 5rem;
  background: #ffe34d !important;
  color: #1f2937;
  font-weight: 700;
}

.promotion-week-0 {
  background: #ffe34d !important;
}

.promotion-week-1 {
  background: #a7f3d0 !important;
}

.home-policy-page {
  padding: 0.25rem 0 2.5rem;
}

.home-policy-card-detailed {
  padding: 2rem 2.2rem 2.15rem;
}

.home-policy-title {
  margin: 0.55rem 0 1.35rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.home-policy-title-warning {
  color: #991b1b;
}

.home-policy-body {
  color: #334155;
  font-size: 1.03rem;
  line-height: 1.9;
}

.home-policy-body h2 {
  margin: 1.8rem 0 0.75rem;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.6;
  color: #0f172a;
}

.home-policy-body h2:first-child {
  margin-top: 0;
}

.home-policy-body p {
  margin-bottom: 0.9rem;
}

.home-policy-body ul {
  margin: 0 0 0.95rem;
  padding-left: 1.35rem;
}

.home-policy-body li {
  margin-bottom: 0.45rem;
}

.home-policy-body strong {
  color: #0f172a;
}

@media (max-width: 767.98px) {
  .home-policy-card-detailed {
    padding: 1.35rem 1rem 1.45rem;
  }

  .home-policy-title {
    font-size: 1.55rem;
    margin-bottom: 1rem;
  }

  .home-policy-body {
    font-size: 0.96rem;
    line-height: 1.78;
  }

  .home-policy-body h2 {
    font-size: 1.02rem;
    margin-top: 1.45rem;
    margin-bottom: 0.6rem;
  }
}

.promotion-week-2 {
  background: #bfdbfe !important;
}

.promotion-week-3 {
  background: #fbcfe8 !important;
}

.promotion-week-4 {
  background: #fecaca !important;
}

.promotion-week-5 {
  background: #fde68a !important;
}

.promotion-track-col {
  width: 4.2rem;
  min-width: 4.2rem;
  max-width: 4.2rem;
}

.sticky-start {
  position: sticky;
  left: 0;
  z-index: 2;
}

.promotion-cell-empty {
  background-color: #dfe8f8;
  height: 2.2rem;
}

.promotion-grid-row:hover td,
.promotion-grid-row:hover th {
  filter: brightness(0.94);
}

.promotion-cell {
  font-size: 0.8rem;
  font-weight: 600;
  height: 1.65rem;
  padding: 0.15rem 0.1rem !important;
}

.promotion-summary-cell-volume-up {
  position: relative;
  box-shadow: inset 0 0 0 2px #dc2626;
  border: 2px solid #dc2626 !important;
  background-color: rgba(220, 38, 38, 0.06);
}

.promotion-summary-cell-volume-down {
  position: relative;
  box-shadow: inset 0 0 0 2px #16a34a;
  border: 2px solid #16a34a !important;
  background-color: rgba(22, 163, 74, 0.06);
}

.promotion-cell-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promotion-board-1 {
  color: #166534;
}

.promotion-tier-0 {
  background-color: #fecaca !important;
}

.promotion-tier-1 {
  background-color: #bfdbfe !important;
}

.promotion-tier-2 {
  background-color: #bbf7d0 !important;
}

.promotion-tier-3 {
  background-color: #fde68a !important;
}

.promotion-tier-4 {
  background-color: #e9d5ff !important;
}

.promotion-tier-5 {
  background-color: #fdba74 !important;
}

.promotion-tier-6 {
  background-color: #a5f3fc !important;
}

.promotion-tier-7 {
  background-color: #f9a8d4 !important;
}

.promotion-board-2 {
  color: #dc2626;
}

.promotion-board-3 {
  color: #2563eb;
}

.promotion-board-4 {
  color: #7c3aed;
}

.promotion-board-high {
  color: #b45309;
}

.promotion-quote-up {
  color: #dc2626 !important;
}

.promotion-quote-down {
  color: #16a34a !important;
}

.promotion-quote-flat {
  color: #6b7280 !important;
}

.event-admin-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-admin-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.event-admin-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 700;
}

.event-admin-hero-actions,
.event-admin-sticky-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.event-admin-muted {
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.6;
}

.event-admin-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.event-admin-section-title h2,
.event-admin-section-title h3 {
  margin: 0;
}

.event-admin-grid.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.95fr);
  gap: 1rem;
}

.event-admin-section {
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.event-admin-basic-inline {
  display: grid;
  grid-template-columns: minmax(16rem, 2.3fr) minmax(7rem, 0.9fr) minmax(7rem, 0.9fr) minmax(9rem, 1fr) minmax(9rem, 1fr);
  gap: 0.4rem 0.55rem;
  align-items: end;
}

.event-admin-basic-item {
  min-width: 0;
}

.event-admin-basic-item-name {
  min-width: 0;
}

.event-admin-basic-item .form-label,
.event-admin-basic-item-name .form-label,
.event-admin-basic-item-predecessor .form-label {
  white-space: nowrap;
}

.event-admin-basic-item .event-admin-compact-input,
.event-admin-basic-item-name .event-admin-compact-input,
.event-admin-basic-item-predecessor .event-admin-compact-input {
  min-height: 1.9rem;
  padding: 0.25rem 0.48rem;
  font-size: 0.82rem;
}

.event-admin-basic-item-predecessor,
.event-admin-basic-item-full {
  grid-column: 1 / -1;
}

.event-admin-label {
  margin-bottom: 0.35rem;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
}

.event-admin-value {
  color: #0f172a;
  font-size: 0.84rem;
  line-height: 1.55;
  word-break: break-all;
}

.event-admin-readonly-box {
  min-height: 2.15rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #dbe4ee;
  border-radius: 0.7rem;
  background: #f8fafc;
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.5;
}

.event-admin-chip,
.event-admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.74rem;
  font-weight: 700;
}

.event-admin-stage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.event-admin-inline-grid {
  display: grid;
  gap: 0.7rem;
}

.event-admin-inline-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-admin-inline-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-admin-inline-grid .full-span {
  grid-column: 1 / -1;
}

.event-admin-section .form-label {
  margin-bottom: 0.25rem;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
}

.event-admin-compact-input {
  min-height: 2rem;
  padding: 0.3rem 0.55rem;
  border-radius: 0.6rem;
  font-size: 0.84rem;
  line-height: 1.35;
}

.form-select.event-admin-compact-input {
  padding-right: 2rem;
}

.event-admin-detail-input {
  min-height: auto;
  padding: 0.5rem 0.65rem;
  border-radius: 0.7rem;
  font-size: 0.84rem;
  line-height: 1.65;
}

.event-admin-detail-input-sm {
  min-height: 4.8rem;
}

.event-admin-details {
  overflow: hidden;
}

.event-admin-details > summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.event-admin-details > summary::-webkit-details-marker {
  display: none;
}

.event-admin-details > summary > div {
  padding-right: 1.5rem;
}

.event-admin-details-body {
  margin-top: 1rem;
}

.event-admin-source-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.event-admin-source-title {
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.event-admin-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.5;
}

.event-admin-summary-text {
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.55;
  word-break: break-all;
}

.event-admin-scroll-box {
  max-height: 12rem;
  overflow-y: auto;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  background: #f8fafc;
  color: #334155;
  font-size: 0.8rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.event-admin-impact-table {
  font-size: 0.8rem;
}

.event-admin-impact-table th {
  padding: 0.55rem 0.45rem;
  color: #334155;
  font-size: 0.75rem;
  white-space: nowrap;
}

.event-admin-impact-table td {
  padding: 0.45rem;
  vertical-align: top;
}

.event-admin-impact-table .impact-col-type {
  width: 7rem;
  min-width: 7rem;
}

.event-admin-impact-table .impact-col-code {
  width: 6.5rem;
  min-width: 6.5rem;
}

.event-admin-impact-table .impact-col-direction {
  width: 7rem;
  min-width: 7rem;
}

.event-admin-impact-table .impact-col-mini {
  width: 4.8rem;
  min-width: 4.8rem;
}

.event-admin-impact-table .impact-col-reason {
  min-width: 10rem;
}

.event-admin-impact-table .impact-col-remark {
  min-width: 8rem;
}

.event-admin-impact-table .impact-col-mapping {
  min-width: 24rem;
}

.event-admin-mapping-box {
  padding: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.75rem;
  background: #f8fafc;
}

.event-admin-mapping-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.event-admin-mapping-grid > div:last-child {
  display: flex;
  align-items: center;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 4rem;
  }

  .member-login-page {
    min-height: auto;
    padding: 1rem 0 2rem;
  }

  .member-login-shell {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .member-login-form-panel {
    padding: 0;
  }

  .member-register-form-shell {
    width: min(100%, 34rem);
    transform: none;
  }

  .member-login-card {
    width: 100%;
    padding: 1.5rem;
  }

  .member-register-card {
    padding: 1.4rem 1.25rem 1.2rem;
  }

  .member-register-plan-card {
    min-height: 6.3rem;
  }

  .member-register-cycle-options {
    gap: 0.65rem;
  }

  .app-site-nav-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .limitup-content-toolbar-promotion {
    padding: 0 0.25rem;
  }

  .promotion-content-card {
    padding: 0.55rem 0.45rem 0.75rem;
  }

  .promotion-grid-outer-scroll {
    padding: 0 0.25rem 0.75rem;
  }

  .home-reference-banner {
    padding-top: 4.8rem;
    padding-bottom: 3.5rem;
  }

  .home-reference-banner-left-icon {
    left: 1rem;
    top: 26%;
    width: 7rem;
    transform: scale(0.88);
    transform-origin: left center;
  }

  .home-reference-banner-mark {
    right: -1rem;
    bottom: 2rem;
    width: 7rem;
    height: 5rem;
  }

  .home-reference-banner-side-icon {
    right: 1rem;
    top: auto;
    bottom: 2rem;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .home-reference-banner-edge {
    width: 3rem;
  }

  .home-reference-brand-grid,
  .home-reference-feature-grid,
  .home-reference-value-grid {
    grid-template-columns: 1fr;
  }

  .home-reference-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .home-reference-actions,
  .home-reference-entry-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-reference-btn,
  .app-site-mobile-actions .app-site-btn {
    width: 100%;
  }

  .home-reference-brand-card {
    padding-left: 0;
    padding-right: 0;
  }

  .app-site-brand-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .event-admin-grid.two-columns {
    grid-template-columns: 1fr;
  }

  .event-admin-inline-grid.cols-4,
  .event-admin-inline-grid.cols-2,
  .event-admin-mapping-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .event-admin-hero,
  .event-admin-section-title {
    flex-direction: column;
    align-items: stretch;
  }

  .event-admin-inline-grid.cols-4,
  .event-admin-inline-grid.cols-2,
  .event-admin-mapping-grid {
    grid-template-columns: 1fr;
  }

  .event-admin-basic-inline {
    grid-template-columns: 1fr;
  }

  .event-admin-impact-table .impact-col-mapping {
    min-width: 18rem;
  }
}