/*
 * 移动端轻奢主题：参考深海军蓝、香槟金、象牙白卡片的视觉语言。
 * 只改变呈现方式，不覆盖页面内容，也不使用会遮挡正文的悬浮组件。
 */

.theme-gold {
  --bg: #f3efe8;
  --card: rgba(255,255,255,.86);
  --muted: #72798a;
  --text: #17213a;
  --brand: #c9973f;
  --brand-2: #e0b45d;
  --success: #16865c;
  --radius: 20px;
  --shadow: 0 12px 30px rgba(35,43,70,.1);
}

.theme-gold body {
  min-width: 320px;
  background:
    radial-gradient(720px 480px at 50% -12%, rgba(64,85,139,.38), transparent 70%),
    linear-gradient(145deg, #0d1730, #152442 52%, #0c152b);
  color: var(--text);
}

.theme-gold .container {
  width: min(100%, 560px);
  min-height: 100vh;
  padding: 0 14px 38px;
  background:
    radial-gradient(440px 260px at 92% 20%, rgba(232,202,139,.18), transparent 72%),
    linear-gradient(180deg, #f8f5ef 0%, #f2eee8 58%, #eee9e2 100%);
  box-shadow: 0 0 70px rgba(0,0,0,.34);
  overflow: hidden;
}

.theme-gold header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  margin: 0 -14px 14px;
  padding: calc(18px + env(safe-area-inset-top)) 16px 15px;
  color: #fff;
  background:
    radial-gradient(200px 100px at 82% 0%, rgba(231,193,112,.18), transparent 72%),
    linear-gradient(145deg, #17264b, #101b39 64%, #0c1732);
  border-bottom: 1px solid rgba(255,222,151,.2);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 12px 28px rgba(22,31,61,.2);
}

.theme-gold .brand {
  min-width: 0;
}

.theme-gold .brand > div:last-child {
  min-width: 0;
}

.theme-gold .logo {
  position: relative;
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff0bb;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.28), transparent 28%),
    linear-gradient(145deg, #d8aa50, #8f6422);
  border: 1px solid rgba(255,239,190,.58);
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(4,8,20,.28), inset 0 1px rgba(255,255,255,.4);
}

.theme-gold .logo::before {
  content: "♛";
  font: 700 27px/1 Georgia, serif;
  transform: translateY(-1px);
  text-shadow: 0 2px 8px rgba(49,31,2,.45);
}

.theme-gold .brand h1 {
  color: #fffaf0;
  font-size: 21px;
  letter-spacing: .02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.24);
}

.theme-gold .tagline {
  margin-top: 3px;
  color: rgba(255,248,229,.72);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.theme-gold .actions {
  width: auto;
  margin: 0;
  justify-self: end;
}

.theme-gold .btn.primary {
  flex-direction: column;
  gap: 0;
  width: 92px;
  min-width: 92px;
  min-height: 40px;
  padding: 7px 10px;
  color: #fff5dc;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  background: linear-gradient(110deg, rgba(255,255,255,.1), rgba(255,224,158,.12));
  border: 1px solid rgba(255,234,185,.24);
  border-radius: 13px;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 6px 18px rgba(3,8,23,.16);
  white-space: normal;
  cursor: default;
}

.theme-gold .btn.primary > span {
  display: block;
  white-space: nowrap;
}

.theme-gold .btn.primary:hover {
  color: #fff;
  background: linear-gradient(110deg, rgba(255,255,255,.15), rgba(255,224,158,.18));
  border-color: rgba(255,239,200,.42);
}

.theme-gold .card {
  color: #202942;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(249,247,243,.9));
  border: 1px solid rgba(185,169,139,.24);
  box-shadow:
    0 12px 28px rgba(50,56,79,.085),
    inset 0 1px rgba(255,255,255,.9);
}

.theme-gold .entrance {
  padding: 14px;
  border-radius: 22px;
}

.theme-gold .entrance::before {
  opacity: .65;
  background:
    radial-gradient(280px 110px at 88% -10%, rgba(224,180,89,.12), transparent 72%),
    linear-gradient(120deg, rgba(225,232,247,.18), transparent 55%);
  animation: none;
}

.theme-gold .entrance-header {
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 13px;
}

.theme-gold .entrance-header h2 {
  color: #19233f;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

.theme-gold .entrance-header h2 span {
  color: #bf554f !important;
  font-weight: 650;
}

.theme-gold .btn.line {
  align-self: flex-start;
  min-height: 34px;
  padding: 7px 13px;
  color: #201608;
  font-size: 12px;
  background: linear-gradient(135deg, #f8dfa2, #d4a54d 64%, #bd8730);
  border: 1px solid rgba(159,110,25,.28);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(170,119,31,.18), inset 0 1px rgba(255,255,255,.55);
}

.theme-gold .btn.line:hover {
  color: #161005;
  background: linear-gradient(135deg, #ffe9b7, #dfb45b 64%, #c99236);
  border-color: rgba(158,105,18,.38);
  box-shadow: 0 8px 20px rgba(170,119,31,.24), 0 0 18px rgba(218,174,83,.15);
}

.theme-gold .grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.theme-gold .entry {
  display: flex;
  align-items: flex-start;
  isolation: isolate;
  min-height: 104px;
  padding: 17px 98px 17px 16px;
  color: #16213c;
  background:
    radial-gradient(130px 70px at 95% 10%, rgba(255,255,255,.55), transparent 70%),
    linear-gradient(118deg, #fff8e9, #f5ead1);
  border: 1px solid rgba(202,164,92,.28);
  border-radius: 17px;
  box-shadow: 0 7px 18px rgba(54,60,82,.065), inset 0 1px rgba(255,255,255,.85);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.theme-gold .entry:nth-child(2),
.theme-gold .entry:nth-child(5) {
  background:
    radial-gradient(130px 70px at 95% 10%, rgba(255,255,255,.58), transparent 70%),
    linear-gradient(118deg, #f2f6ff, #e2eaf9);
  border-color: rgba(115,139,190,.25);
}

.theme-gold .entry:nth-child(3),
.theme-gold .entry:nth-child(4) {
  background:
    radial-gradient(130px 70px at 95% 10%, rgba(255,255,255,.58), transparent 70%),
    linear-gradient(118deg, #fff5f1, #f8e1de);
  border-color: rgba(196,125,118,.2);
}

.theme-gold .entry:hover,
.theme-gold .entry:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(194,143,48,.55);
  box-shadow: 0 11px 24px rgba(47,54,78,.13), 0 0 18px rgba(207,161,69,.1);
  outline: none;
}

.theme-gold .entry::before {
  z-index: 0;
  opacity: .1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.64), transparent 70%);
  animation: luxury-entry-shine 6.8s ease-in-out infinite;
}

/* Transparent city illustrations from the supplied reference design. */
.theme-gold .entry::after {
  position: absolute;
  right: 3px;
  bottom: 0;
  z-index: 0;
  width: 66%;
  height: 96%;
  content: "";
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: .68;
  filter: saturate(.94) contrast(.98);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 18%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 18%, #000 42%);
}

.theme-gold .entry:nth-child(1)::after {
  background-image: url("./assets/illustrations/hongkong.webp");
}

.theme-gold .entry:nth-child(2)::after {
  background-image: url("./assets/illustrations/canada.webp");
}

.theme-gold .entry:nth-child(3)::after {
  background-image: url("./assets/illustrations/shanghai.webp");
}

.theme-gold .entry:nth-child(4)::after {
  background-image: url("./assets/illustrations/singapore.webp");
}

.theme-gold .entry:nth-child(5)::after {
  background-image: url("./assets/illustrations/dubai.webp");
}

.theme-gold .entry:nth-child(2)::before { animation-delay: .5s; }
.theme-gold .entry:nth-child(3)::before { animation-delay: 1s; }
.theme-gold .entry:nth-child(4)::before { animation-delay: 1.5s; }
.theme-gold .entry:nth-child(5)::before { animation-delay: 2s; }

.theme-gold .entry .label {
  position: relative;
  z-index: 1;
}

.theme-gold .entry .label {
  gap: 10px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .01em;
}

.theme-gold .pulse {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  background: #d3a74f;
  box-shadow: 0 0 0 0 rgba(211,167,79,.38);
  animation-name: luxury-pulse;
}

.theme-gold .entry .line-status {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  padding: 4px 7px;
  color: #6b7282;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(131,141,164,.2);
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(40,47,69,.07);
  backdrop-filter: blur(7px);
}

.theme-gold .entry .line-status.is-checking::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  content: "";
  vertical-align: 1px;
  background: #d1a34c;
  border-radius: 50%;
  animation: luxury-status-pulse 1.1s ease-in-out infinite;
}

.theme-gold .entry .line-status.is-fast {
  color: #11714d;
  background: rgba(238,255,248,.84);
  border-color: rgba(26,146,100,.22);
}

.theme-gold .entry .line-status.is-medium {
  color: #86601c;
  background: rgba(255,249,232,.86);
  border-color: rgba(190,139,43,.25);
}

.theme-gold .entry .line-status.is-slow,
.theme-gold .entry .line-status.is-unknown {
  color: #985147;
  background: rgba(255,245,243,.86);
  border-color: rgba(192,98,86,.2);
}

.theme-gold .entry .chip {
  position: absolute;
  z-index: 1;
  top: auto;
  right: 14px;
  bottom: 11px;
  min-width: 82px;
  padding: 7px 10px;
  color: #765217;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(185,137,50,.24);
  box-shadow: 0 4px 12px rgba(44,49,70,.07);
  transform: none;
}

.theme-gold .entry .glow {
  z-index: 0;
  opacity: .08;
  background: radial-gradient(180px 90px at 82% 50%, rgba(208,162,70,.34), transparent 72%);
  filter: blur(8px);
  animation: luxury-idle-glow 5.6s ease-in-out infinite;
}

.theme-gold .access-note {
  margin: 11px 3px 0;
  color: #72798a;
  font-size: 11px;
  line-height: 1.55;
}

.theme-gold .security-notice {
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  color: #fff;
  background:
    radial-gradient(260px 140px at 100% 0%, rgba(227,187,104,.18), transparent 72%),
    linear-gradient(135deg, #18284c, #101b38 70%);
  border-color: rgba(220,181,98,.38);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(24,34,66,.2), inset 0 1px rgba(255,255,255,.07);
  animation: luxury-notice-breathe 5.4s ease-in-out infinite;
}

.theme-gold .security-notice__mark {
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 9px;
  width: fit-content;
  padding: 8px 11px;
  color: #2b1d08;
  background: linear-gradient(135deg, #f7dda0, #d3a14a);
  border-color: rgba(255,235,186,.5);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(5,10,26,.2), inset 0 1px rgba(255,255,255,.5);
}

.theme-gold .security-notice__mark span,
.theme-gold .security-notice__mark strong {
  color: #2b1d08;
  font-size: 12px;
  letter-spacing: .04em;
}

.theme-gold .security-notice__content > p {
  color: rgba(255,250,239,.88);
  font-size: 13px;
  line-height: 1.72;
}

.theme-gold .security-notice__content > p strong,
.theme-gold .security-notice__domain strong {
  color: #f6d786;
  text-shadow: 0 0 18px rgba(231,190,103,.2);
}

.theme-gold .security-notice__domain {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top-color: rgba(255,232,179,.16);
}

.theme-gold .security-notice__domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.theme-gold .copy-domain {
  min-height: 34px;
  padding: 7px 11px;
  color: #2b1d08;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(135deg, #f8dfa2, #d4a54d);
  border: 1px solid rgba(255,239,194,.42);
  border-radius: 999px;
  box-shadow: 0 6px 15px rgba(4,9,24,.2), inset 0 1px rgba(255,255,255,.48);
  transition: transform .18s ease, filter .18s ease;
}

.theme-gold .copy-domain:hover,
.theme-gold .copy-domain:focus-visible {
  filter: brightness(1.07);
  transform: translateY(-1px);
  outline: 2px solid rgba(246,215,134,.36);
  outline-offset: 2px;
}

.theme-gold .copy-domain.is-copied {
  color: #e5fff3;
  background: linear-gradient(135deg, #278464, #146448);
}

.theme-gold .security-notice__domain span {
  color: rgba(255,248,230,.65);
  font-size: 11px;
}

.theme-gold .notice {
  gap: 9px;
  margin: 0 0 14px;
  padding: 15px;
  border-radius: 20px;
}

.theme-gold .notice p {
  color: #3b4358;
  font-size: 12px;
  line-height: 1.65;
}

.theme-gold .notice strong {
  color: #9b6b1e;
}

.theme-gold .info {
  margin-top: 0;
  padding: 10px;
  border-radius: 20px;
}

.theme-gold .info ul {
  gap: 8px;
}

.theme-gold .info li,
.theme-gold .support-card {
  color: #263049;
  background: linear-gradient(125deg, rgba(255,255,255,.9), rgba(244,239,229,.78));
  border-color: rgba(189,160,105,.25);
  box-shadow: 0 6px 16px rgba(47,54,78,.06), inset 0 1px rgba(255,255,255,.9);
  animation: luxury-action-breathe 5.4s ease-in-out infinite;
}

.theme-gold .info li {
  padding: 11px 12px;
  font-size: 12px;
  line-height: 1.5;
}

.theme-gold .info li a,
.theme-gold .support-card strong {
  color: #25304a;
  text-shadow: none;
}

.theme-gold .support-card p {
  color: #777e8d;
}

.theme-gold .support-card:hover,
.theme-gold .info li:hover {
  border-color: rgba(195,146,51,.42);
  background: linear-gradient(125deg, #fff, #f8f1e4);
  box-shadow: 0 10px 22px rgba(47,54,78,.1), 0 0 18px rgba(205,158,64,.08);
}

.theme-gold .info li:hover a,
.theme-gold .support-card:hover strong {
  color: #8f6017;
  text-shadow: none;
}

.theme-gold .support-card:hover p {
  color: #5f6676;
}

.theme-gold footer {
  margin-top: 14px;
}

.theme-gold .support-grid {
  grid-template-columns: 1fr;
  gap: 9px;
}

.theme-gold .support-card {
  min-height: 66px;
  padding: 13px 14px;
  border-radius: 17px;
}

.theme-gold footer small {
  padding: 3px 4px 0;
  color: #8a8f9b !important;
  font-size: 11px;
}

.theme-gold .motion-stage::before,
.theme-gold .motion-arc,
.theme-gold .motion-line,
.theme-gold .motion-crystal {
  opacity: .05;
}

@keyframes luxury-entry-shine {
  0%, 62% { transform: translateX(-80%); opacity: 0; }
  69% { opacity: .45; }
  84% { transform: translateX(85%); opacity: .7; }
  90%, 100% { transform: translateX(85%); opacity: 0; }
}

@keyframes luxury-pulse {
  0% { box-shadow: 0 0 0 0 rgba(211,167,79,.42); }
  70% { box-shadow: 0 0 0 10px rgba(211,167,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(211,167,79,0); }
}

@keyframes luxury-idle-glow {
  0%, 100% { opacity: .04; }
  50% { opacity: .14; }
}

@keyframes luxury-notice-breathe {
  0%, 100% { border-color: rgba(220,181,98,.28); box-shadow: 0 14px 32px rgba(24,34,66,.18), 0 0 0 rgba(211,165,73,0); }
  50% { border-color: rgba(237,203,128,.52); box-shadow: 0 16px 36px rgba(24,34,66,.22), 0 0 22px rgba(211,165,73,.11); }
}

@keyframes luxury-action-breathe {
  0%, 100% { border-color: rgba(189,160,105,.2); }
  50% { border-color: rgba(205,159,68,.4); }
}

@keyframes luxury-status-pulse {
  0%, 100% { opacity: .4; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1.18); }
}

@media (min-width: 641px) {
  .theme-gold .container {
    margin: 22px auto;
    min-height: calc(100vh - 44px);
    border: 1px solid rgba(255,235,190,.16);
    border-radius: 28px;
  }

  .theme-gold header {
    border-radius: 28px 28px 24px 24px;
  }
}

@media (max-width: 380px) {
  .theme-gold .container { padding-right: 10px; padding-left: 10px; }
  .theme-gold header { gap: 8px; margin-right: -10px; margin-left: -10px; padding-right: 12px; padding-left: 12px; }
  .theme-gold .brand { gap: 9px; }
  .theme-gold .logo { flex-basis: 42px; width: 42px; height: 42px; border-radius: 13px; }
  .theme-gold .brand h1 { font-size: 18px; }
  .theme-gold .tagline { font-size: 10px; }
  .theme-gold .btn.primary { width: 88px; min-width: 88px; min-height: 40px; padding: 5px 7px; }
  .theme-gold .entry { padding-right: 88px; padding-left: 13px; }
  .theme-gold .entry .label { font-size: 14px; }
  .theme-gold .entry .chip { right: 10px; min-width: 78px; }
  .theme-gold .security-notice__domain-row { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-gold .entry::before,
  .theme-gold .entry .glow,
  .theme-gold .security-notice,
  .theme-gold .info li,
  .theme-gold .support-card,
  .theme-gold .pulse {
    animation: none !important;
  }

  .theme-gold .entry .line-status.is-checking::before {
    animation: none !important;
  }
}
