@charset "UTF-8";
:root {
  --navy: #111F30;
  --navy-deep: #0c1827;
  --navy-border: #39475c;
  --gold: #C7AF82;
  --gold-muted: #a58f6b;
  --ivory: #F5F2EB;
  --muted: #C2C9D3;
  --line: #12784D;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-width: 300px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ivory);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
  font-synthesis: none;
}
a { -webkit-tap-highlight-color: transparent; }
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 30px 20px;
  background: #E9E8E5;
}
.digital-card {
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  background: var(--navy);
  border-radius: 23px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 26px 65px rgba(14,28,44,.21);
  position: relative;
}
.digital-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 48% at 50% -8%, rgba(202,178,134,.095), transparent 85%),
              linear-gradient(115deg, rgba(255,255,255,.025), transparent 38%);
  pointer-events: none;
}
.digital-card::after {
  content: "";
  position: absolute;
  top: 25px;
  right: 25px;
  width: 36px; height: 36px;
  border-top: 1px solid rgba(199,175,130,.22);
  border-right: 1px solid rgba(199,175,130,.22);
  pointer-events: none;
}
.card-inner { position: relative; z-index: 1; padding: 36px 31px 28px; }
.card-header { text-align: center; }
.eyebrow {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .26em;
  font-weight: 600;
  margin: 0 0 19px;
}
h1 {
  font-size: clamp(35px, 9vw, 44px);
  font-weight: 500;
  line-height: 1.27;
  letter-spacing: .12em;
  margin: 0;
  text-indent: .12em;
}
.english-name {
  font-size: 21px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .045em;
  color: var(--gold);
  margin: 8px 0 0;
}
.fine-rule {
  display: block;
  height: 1px;
  width: 46px;
  background: var(--gold-muted);
  margin: 30px auto 26px;
}
.identity { text-align: center; }
.identity-section { padding: 0 0 1px; }
.section-label {
  font-size: 10px;
  letter-spacing: .27em;
  color: var(--gold-muted);
  margin: 0 0 13px;
}
.identity-section h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(16px, 4.15vw, 18px);
  line-height: 1.55;
  letter-spacing: .025em;
  color: var(--ivory);
}
.role {
  margin: 7px 0 0;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--muted);
}
.section-rule { margin: 23px auto; width: 100%; height: 1px; background: rgba(209,222,239,.14); }
.actions { display: grid; gap: 12px; margin-top: 36px; }
.action {
  min-height: 58px;
  display: grid;
  grid-template-columns: 30px 1fr 18px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 9px;
  padding: 12px 19px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .18s ease, filter .18s ease;
}
.action:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.action:hover { transform: translateY(-1px); filter: brightness(1.06); }
.action:active { transform: translateY(0); }
.action-line { background: var(--line); color: white; }
.action-save { background: var(--ivory); color: #172639; }
.action-icon { display: inline-flex; align-items: center; justify-content: center; }
.action-arrow { opacity: .77; }

@media (max-width: 520px) {
  .page { display: block; padding: 0; background: var(--navy); }
  .digital-card {
    max-width: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card-inner {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: max(30px, env(safe-area-inset-top, 0px)) 29px max(30px, env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 360px) {
  .card-inner { padding-left: 22px; padding-right: 22px; }
  .fine-rule { margin-top: 22px; margin-bottom: 22px; }
  .actions { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .action { transition: none; }
}
