:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #070707;
  color: #f4f1ea;
  font-family: Roboto, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
a { color: #ffe9a4; font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.site-header { text-align: center; padding: 22px 16px 8px; }
.logo-mark img { width: 200px; margin: 0 auto; }
.slogan {
  margin: 4px 0 0;
  color: #ffe9a4;
  font-family: "Segoe Script", "Dancing Script", cursive;
  font-size: 22px;
}
.archive-note { color: #9a907c; font-size: 13px; margin: 8px 0 0; }
.layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 860px) 200px;
  justify-content: center;
  gap: 22px;
  padding: 12px 16px 48px;
}
.rail img { margin-bottom: 12px; border-radius: 10px; }
.socials { display: flex; gap: 8px; }
.socials img { width: 42px; height: 42px; }
.hero-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.download-note {
  border: 1px solid rgba(255,233,164,.35);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ddd4c2;
}
.ghost {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border: 1px solid #ffe9a4;
  border-radius: 8px;
}
#seoInfo h1, #seoInfo h2, #seoInfo h3 { color: #ffe9a4; line-height: 1.35; }
#seoInfo h1 { font-size: 32px; text-transform: uppercase; text-align: center; }
#seoInfo h2 {
  font-size: 24px;
  margin-top: 1.6em;
  border-bottom: 1px solid rgba(255,233,164,.35);
  padding-bottom: 8px;
}
#seoInfo h3 { font-size: 18px; }
#seoInfo p, #seoInfo li { color: #f4f1ea; }
#seoInfo figure, .page-main figure { width: fit-content; max-width: 100%; margin: 18px auto; }
#seoInfo figure img, .page-main figure img { margin-left: auto; margin-right: auto; }
#seoInfo figcaption { text-align: center; color: #c4b89a; font-size: 14px; }
.site-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 8vw 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: #000;
}
.site-footer h4 { margin: 0 0 8px; color: #ffe9a4; }
.site-footer .copy { grid-column: 1 / -1; text-align: center; color: #9a907c; }
.missing { max-width: 720px; margin: 48px auto; padding: 0 16px 64px; }
.missing h1 { color: #ffe9a4; }
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .rail { display: none; }
  .hero-row { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  #seoInfo h1 { font-size: 24px; }
}

.page-main { max-width: 860px; margin: 12px auto 56px; padding: 0 16px; }
.page-main h1, .page-main h2, .page-main h3 { color: #ffe9a4; line-height: 1.35; }
.page-main h1 { font-size: 32px; text-transform: uppercase; }
.page-main h2 { font-size: 22px; margin-top: 1.5em; border-bottom: 1px solid rgba(255,233,164,.35); padding-bottom: 8px; }
.page-main figcaption { text-align: center; color: #c4b89a; font-size: 14px; }
.page-main img { border-radius: 12px; }
.page-main h2, .page-main h3 { scroll-margin-top: 16px; }
.breadcrumb { margin: 8px 0 4px; font-size: 15px; color: #f4f8fc; }
.breadcrumb a { color: #ffd75e; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.toc { max-width: 460px; margin: 20px 0 24px; padding: 10px 16px 12px; background: #000; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; }
.toc summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; font-size: 19px; color: #f4f8fc; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary i { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; background: linear-gradient(#f4f8fc, #f4f8fc) center 9px / 12px 2px no-repeat, linear-gradient(#f4f8fc, #f4f8fc) center 14px / 12px 2px no-repeat, linear-gradient(#f4f8fc, #f4f8fc) center 19px / 12px 2px no-repeat; }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; }
.toc ol ol { margin: 2px 0 4px; padding-left: 20px; }
.toc li { margin: 3px 0; }
.toc a { color: #f4f8fc; text-decoration: none; font-size: 15px; }
.toc ol ol a { font-size: 13.5px; font-style: italic; color: #c4d0dc; }
.toc a:hover { color: #ffd75e; }
@media (max-width: 800px) { .toc { max-width: none; } }
.logo-mark img { width: 140px; background: transparent; }

.macao-top { text-align: center; padding: 18px 16px 0; background: radial-gradient(ellipse at center, #2a2112 0%, #070707 70%); }
.macao-top img { width: min(640px, 92vw); margin: 0 auto; }
.layout { grid-template-columns: minmax(0, 980px) 260px; max-width: 1280px; margin: 0 auto; }
.hero-macao {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 210px;
  column-gap: 56px;
  row-gap: 14px;
  align-items: center;
  margin: 8px 0 28px;
  padding: 8px;
}
.hero-art { width: 100%; max-width: 378px; margin: 0 auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.45)); }
.hero-macao > .card-shot { width: 210px; justify-self: center; }
.card-shot { width: 100%; height: auto; }
.info-card {
  background: radial-gradient(circle at top, #2a2416, #120f0b 70%);
  border: 1px solid rgba(232, 196, 92, .55);
  border-radius: 16px;
  padding: 16px 14px 14px;
  text-align: center;
  box-shadow: inset 0 0 24px rgba(255, 210, 90, .08);
}
.card-logo { width: 92px; margin: 0 auto 10px; }
.steps { list-style: none; margin: 0; padding: 0; text-align: left; }
.steps li { display: grid; grid-template-columns: 22px 1fr; gap: 4px 8px; margin-bottom: 10px; align-items: start; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; color: #111; font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}
.steps { counter-reset: step; }
.steps span { display: block; color: #f3efe4; font-size: 13px; font-weight: 600; grid-column: 2; }
.steps strong { display: block; color: #f2c14e; font-size: 22px; line-height: 1.1; grid-column: 2; }
.steps .badge {
  display: inline-block; background: #e10600; color: #fff;
  font-style: normal; font-size: 13px; letter-spacing: .4px;
  padding: 2px 7px; border-radius: 4px; margin-right: 6px;
}
.info-card > p { color: #d7c27a; font-size: 12px; line-height: 1.45; margin: 8px 0 0; font-weight: 500; }
.pay-card h2 { margin: 8px 0 6px; color: #f0c14b; font-size: 26px; line-height: 1.05; letter-spacing: .4px; }
.pay-sub { color: #f4efe4 !important; font-size: 13px !important; margin-bottom: 8px !important; }
.pay-card ul { list-style: none; margin: 0; padding: 0; text-align: left; }
.pay-card li { color: #f4efe4; font-size: 14px; margin: 6px 0; padding-left: 22px; position: relative; }
.pay-card li::before { content: "✓"; position: absolute; left: 0; color: #f0c14b; font-weight: 800; }
.btn-web {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(384px, 86vw);
  margin-top: 8px;
  line-height: 0;
}
.btn-web img { width: 100%; height: auto; }
.side-dl { text-align: center; }
.side-dl .btn-web { min-width: 0; width: 100%; margin: 8px 0; display: block; }
.side-dl a img { width: 100%; margin: 8px 0; border-radius: 10px; }
.side-dl p { color: #e6d48a; font-size: 13px; line-height: 1.45; }
.side-dl p span { color: #fff; font-weight: 800; }
@media (max-width: 1100px) {
  .layout { grid-template-columns: 1fr; }
  .rail.side-dl { display: block; max-width: 280px; margin: 0 auto 24px; }
}
.store-btns { display: none; }
@media (max-width: 800px) {
  .hero-macao { grid-template-columns: 1fr; row-gap: 8px; margin-bottom: 16px; }
  .hero-art { width: min(220px, 58vw); max-width: none; margin: 0 auto; }
  .desk-only { display: none; }
  .btn-web { order: 1; width: min(320px, 82vw); margin-top: 2px; }
  .store-btns {
    display: grid;
    order: 2;
    grid-column: 1 / -1;
    justify-items: center;
    gap: 8px;
  }
  .store-btns a { display: block; width: min(320px, 82vw); }
  .store-btns img { width: 100%; height: auto; }
  .official-note { order: 3; }
}

.brand-link { display: block; }
.macao-top .brand-logo { width: 120px; margin: 0 auto 8px; }
.hero-macao { max-width: 1080px; margin: 8px auto 28px; }
.official-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  text-align: center;
  color: #f3e7a2;
  font-size: 14px;
  font-weight: 700;
}
.official-note span { color: #fff; }
.layout { grid-template-columns: minmax(0, 980px); }
.site-footer { display: block; padding: 0; background: #000; border-top: 1px solid rgba(255,233,164,.25); }
.ft-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr 1.15fr;
  gap: 28px;
  padding: 36px 5vw 18px;
  text-align: left;
}
.ft-brand { text-align: center; }
.ft-brand img { width: 70%; max-width: 180px; margin: 0 auto 10px; }
.ft-brand .cert { width: 220px; max-width: 100%; }
.ft-brand p, .ft-grid li { color: #f4f1ea; font-size: 14px; line-height: 1.55; font-weight: 500; }
.ft-grid h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
  color: #ffe9a4;
  font-size: 18px;
  text-transform: none;
  font-weight: 700;
}
.ft-grid h3::before, .ft-grid h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,233,164,.55);
}
.ft-grid ul { list-style: disc; margin: 0; padding-left: 18px; }
.ft-grid a { color: #ffe9a4; }
.ft-contact { list-style: none; padding-left: 0; }
.cert-bct { width: min(280px, 100%); margin-top: 12px; background: transparent; }
.wdb-slot {
  display: flex;
  justify-content: center;
  padding: 16px 16px 8px;
}
.site-footer .copy {
  margin: 0;
  padding: 16px 16px 22px;
  text-align: center;
  color: #f4f1ea;
  border-top: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) {
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ft-grid { grid-template-columns: 1fr; }
}
