@charset "utf-8";

/* ==========================================================================
   鍩虹涓庤璁?token
   ========================================================================== */
:root {
  --brand: #EC4899;
  --brand-600: #DB2777;
  --brand-deep: #C2185B;
  --brand-dark: #9D174D;
  --chip-bg: #FDF2F8;
  --chip-line: #FBCFE8;
  --indigo: #6366F1;
  --ink: #262626;
  --ink-2: #404040;
  --text: #4B5563;
  --muted: #525252;
  --muted-2: #767676;
  --line: #E5E7EB;
  --line-2: #F1F1F3;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #FAFAFB;
  --on-dark: #FFFFFF;
  --scrim: rgba(23, 23, 23, .42);
  --bloom: radial-gradient(120% 150% at 50% 128%, rgba(120, 10, 55, .95) 0%, rgba(120, 10, 55, 0) 72%);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  --shadow-md: 0 6px 18px -8px rgba(23, 23, 23, .18);
  --cta-shadow: 0 8px 20px -6px rgba(194, 24, 91, .45);
  --cta-shadow-press: 0 3px 10px -4px rgba(194, 24, 91, .32);
  --radius: 4px;
  --radius-sm: 3px;
  --radius-cta: 8px;
  --container: 1152px;
  --header-h: 56px;
  --cta-h: 56px;
  --cta-gap: 12px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  padding-bottom: calc(var(--cta-h) + 52px + env(safe-area-inset-bottom, 0px));
}

h1,
h2,
h3 {
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 26px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 12px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 40;
  background-color: var(--brand-deep);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   鍗＄墖涓庡尯鍧?   ========================================================================== */
.panel {
  background-color: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}

.panel-bar .icon {
  color: var(--brand);
  flex: 0 0 auto;
}

.panel-title {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.panel-body {
  padding: 12px;
}

.mt-3 {
  margin-top: 12px;
}

.mb-3 {
  margin-bottom: 12px;
}

.my-3 {
  margin-top: 12px;
  margin-bottom: 12px;
}

.lede {
  font-size: 17px;
  color: var(--ink-2);
}

.meta-line {
  font-size: 13px;
  color: var(--muted-2);
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
  flex: 0 0 auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 4px;
  font-size: 14px;
  color: var(--muted);
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  white-space: nowrap;
}

a.chip:hover {
  color: var(--brand-deep);
  border-color: var(--chip-line);
  background-color: var(--chip-bg);
  text-decoration: none;
}

.tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--brand-deep);
  background-color: var(--chip-bg);
  border: 1px solid var(--chip-line);
  border-radius: var(--radius-sm);
  padding: 1px 8px;
  white-space: nowrap;
}

/* ==========================================================================
   椤堕儴瀵艰埅
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.site-header::before {
  content: "";
  display: block;
  height: 2px;
  background-color: var(--brand);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.head-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-51 {
  color: var(--brand);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.brand-mark {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  background-color: var(--brand-600);
  color: var(--on-dark);
  font-size: 15px;
  line-height: 1.6;
  border-radius: var(--radius);
}

.head-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background-color: transparent;
  color: var(--brand);
  cursor: pointer;
}

.head-menu .icon {
  width: 22px;
  height: 22px;
}

.head-spacer {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.site-nav {
  display: none;
}

.head-tools {
  display: none;
}

.search {
  position: relative;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  background-color: var(--surface);
}

.search-field input {
  border: 0;
  outline: 0;
  background-color: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
}

.search-field button {
  border: 0;
  background-color: transparent;
  color: var(--brand);
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 320px;
  max-width: 78vw;
  max-height: 60vh;
  overflow-y: auto;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  margin: 0;
  list-style: none;
  z-index: 20;
}

.search-results[hidden] {
  display: none;
}

.search-results li {
  margin: 0;
}

.search-results a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 15px;
}

.search-results a:hover,
.search-results a:focus-visible {
  background-color: var(--chip-bg);
  color: var(--brand-deep);
  text-decoration: none;
}

.search-results .search-empty {
  padding: 10px;
  font-size: 14px;
  color: var(--muted-2);
}

/* ==========================================================================
   鎶藉眽
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--scrim);
  z-index: 30;
}

.drawer-backdrop[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 264px;
  max-width: 84vw;
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
  z-index: 31;
  display: flex;
  flex-direction: column;
  transform: translateX(-102%);
  transition: transform .24s var(--ease);
  overflow-y: auto;
}

.drawer[data-open="true"] {
  transform: translateX(0);
}

.drawer[hidden] {
  display: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-close {
  border: 0;
  background-color: transparent;
  color: var(--muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav a {
  display: block;
  padding: 13px 16px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 16px;
}

.drawer-nav a:hover,
.drawer-nav a:focus-visible {
  color: var(--brand-deep);
  text-decoration: none;
}

.drawer-search {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-search .search-results {
  position: static;
  width: auto;
  max-width: none;
  box-shadow: none;
  border: 0;
  padding: 6px 0 0;
}

@media (min-width: 864px) {
  .drawer {
    display: none;
  }
}

/* ==========================================================================
   棣栭〉灞€閮?   ========================================================================== */
.notice {
  padding: 12px;
  font-size: 15px;
  color: var(--ink-2);
  border-radius: var(--radius);
  background-color: var(--chip-bg);
  border: 1px solid var(--chip-line);
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
  margin-top: 10px;
}

.chip-area {
  font-weight: 700;
  color: var(--muted);
  font-size: 14px;
}

.item-list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 8px;
}

.item-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background-color: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  height: 100%;
}

.item-card:hover {
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.item-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.item-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.item-card-desc {
  font-size: 14px;
  color: var(--text);
}

.item-card-foot {
  margin-top: auto;
  font-size: 13px;
  color: var(--brand-deep);
}

/* ==========================================================================
   鍐呭鍐呴〉涓ゆ爮
   ========================================================================== */
.cols {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.col-main,
.col-side {
  grid-column: span 12 / span 12;
  min-width: 0;
}

.field-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 15px;
}

.field-key {
  flex: 0 0 auto;
  min-width: 4.5em;
  color: var(--ink);
  font-weight: 700;
}

.field-val {
  min-width: 0;
  color: var(--text);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.link-grid a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--muted);
}

.link-grid a:hover {
  color: var(--brand-deep);
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plain-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  margin: 0;
}

.plain-list li:last-child {
  border-bottom: 0;
}

.plain-title {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}

.plain-note {
  font-size: 14px;
  color: var(--muted);
}

.faq-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background-color: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
}

/* ==========================================================================
   搴曢儴
   ========================================================================== */
.site-footer {
  margin-top: 20px;
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 28px 0 20px;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
}

.foot-brand .brand-51 {
  font-size: 22px;
}

.foot-brand .brand-mark {
  font-size: 13px;
  padding: 1px 8px;
}

.foot-tagline {
  font-size: 14px;
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 16px;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

.foot-col h2 {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-col li {
  margin: 0;
}

.foot-col a {
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
}

.foot-col a:hover {
  color: var(--brand-deep);
}

.foot-legal {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
}

/* ==========================================================================
   鍥哄畾 CTA
   ========================================================================== */
.site-cta {
  position: fixed;
  left: 50%;
  bottom: 12px;
  bottom: calc(var(--cta-gap) + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 24px);
  min-height: var(--cta-h);
  padding: 12px 20px;
  border-radius: var(--radius-cta);
  background-color: var(--brand-deep);
  color: var(--on-dark);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--cta-shadow);
  animation: cta-plate-press 2.6s var(--ease) infinite;
}

.site-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--bloom);
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
  animation: cta-plate-bloom 2.6s var(--ease) infinite;
}

.site-cta .cta-label {
  position: relative;
  z-index: 1;
}

.site-cta:hover,
.site-cta:focus {
  background-color: var(--brand-dark);
  text-decoration: none;
}

@keyframes cta-plate-press {
  0%,
  56% {
    transform: translateX(-50%) scale(1);
    box-shadow: var(--cta-shadow);
  }

  68% {
    transform: translateX(-50%) scale(0.982);
    box-shadow: var(--cta-shadow-press);
  }

  84%,
  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: var(--cta-shadow);
  }
}

@keyframes cta-plate-bloom {
  0%,
  56% {
    opacity: 0;
    transform: scale(0.97);
  }

  70% {
    opacity: .28;
    transform: scale(1);
  }

  88%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta {
    animation: none;
  }

  .site-cta::before {
    animation: none;
    opacity: .16;
    transform: none;
  }

  .drawer {
    transition: none;
  }
}

/* ==========================================================================
   鏂偣
   ========================================================================== */
@media (min-width: 576px) {
  .chip-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .item-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chip-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}

@media (min-width: 864px) {
  :root {
    --header-h: 80px;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .head-menu,
  .head-spacer {
    display: none;
  }

  .head-inner {
    justify-content: flex-start;
  }

  .brand-51 {
    font-size: 30px;
  }

  .site-nav {
    display: block;
    margin-left: 26px;
  }

  .site-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    height: var(--header-h);
    padding: 0 20px;
    font-size: 16px;
    color: var(--muted);
    white-space: nowrap;
  }

  .site-nav a:hover {
    color: var(--ink);
    text-decoration: none;
  }

  .site-nav a[aria-current="page"] {
    color: var(--brand);
    border-bottom: 2px solid var(--brand);
  }

  .head-tools {
    display: block;
    margin-left: auto;
    padding-left: 16px;
  }

  .search-field input {
    width: 200px;
  }

  .item-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .col-main {
    grid-column: span 8 / span 8;
  }

  .col-side {
    grid-column: span 4 / span 4;
  }

  .chip-grid {
    grid-template-columns: repeat(11, minmax(0, 1fr));
  }

  .site-cta {
    width: auto;
    min-width: 420px;
    max-width: 560px;
  }

  .foot-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
