:root {
  --dh-canvas: #030407;
  --dh-night: #071226;
  --dh-navy: #0b1535;
  --dh-surface-1: #0a0d13;
  --dh-surface-2: #101827;
  --dh-surface-3: #18243a;
  --dh-hairline: #5e4526;
  --dh-hairline-bright: #d0ba84;
  --dh-hairline-soft: #352715;
  --dh-ink: #fff7e8;
  --dh-ink-muted: #c4b79c;
  --dh-ink-dim: #887a63;
  --dh-on-gold: #030407;
  --dh-gold: #d4913a;
  --dh-gold-bright: #f5ce80;
  --dh-gold-pale: #ffefb2;
  --dh-gold-deep: #8e5515;
  --dh-danger: #f26b6b;
  --dh-success: #70c995;
  --dh-gold-antique: #a98643;
  --dh-gold-glow: rgba(201, 168, 93, 0.28);
  --dh-night-gradient: linear-gradient(135deg, #020306 0%, #071226 48%, #170b02 100%);
  --dh-metallic: linear-gradient(135deg, #fff0b0 0%, #f5ce80 18%, #d4913a 52%, #8e5515 78%, #f5ce80 100%);
  --dh-metallic-v: linear-gradient(180deg, #e8d391 0%, #c9a85d 40%, #8d6927 100%);
  --dh-glass: linear-gradient(135deg, rgba(255, 239, 178, 0.12), rgba(10, 13, 19, 0.72) 38%, rgba(212, 145, 58, 0.08));
  --dh-gold-aura: radial-gradient(circle, rgba(245, 206, 128, 0.24) 0%, rgba(212, 145, 58, 0.08) 42%, transparent 72%);
  --dh-edge-glow: 0 0 0 1px rgba(245, 206, 128, 0.22), 0 22px 70px rgba(0, 0, 0, 0.58), 0 0 42px rgba(212, 145, 58, 0.1);
  --dh-border-base: linear-gradient(135deg, rgba(201, 168, 93, 0.2) 0%, rgba(201, 168, 93, 0.08) 50%, rgba(201, 168, 93, 0.22) 100%);
  --dh-border-hover: linear-gradient(135deg, rgba(232, 211, 145, 0.9) 0%, rgba(201, 168, 93, 0.45) 50%, rgba(232, 211, 145, 0.9) 100%);
  --dh-shadow-card: 0 8px 24px rgba(0, 0, 0, 0.4);
  --dh-shadow-card-hover: 0 24px 60px rgba(201, 168, 93, 0.15), 0 0 0 1px rgba(201, 168, 93, 0.1);
  --dh-shadow-cta: 0 6px 20px rgba(201, 168, 93, 0.35), inset 0 1px 0 rgba(255, 240, 180, 0.4), inset 0 -1px 0 rgba(120, 80, 0, 0.3);
  --dh-shadow-cta-hover: 0 12px 32px rgba(201, 168, 93, 0.5), inset 0 1px 0 rgba(255, 240, 180, 0.5);
  --dh-radius-xs: 4px;
  --dh-radius-md: 10px;
  --dh-radius-lg: 16px;
  --dh-radius-xl: 24px;
  --dh-radius-xxl: 32px;
  --dh-radius-pill: 999px;
  --dh-font-display: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PingFang TC", serif;
  --dh-font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --dh-font-utility: "Inter", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --dh-wide: 1240px;
  --dh-content: 720px;
  --dh-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ScrollTrigger refresh 必須在 active pin 期間同步還原捲動位置，避免 smooth inline style 延後量測。 */
html.dh-game-pin-active {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  background: var(--dh-canvas);
  color: var(--dh-ink);
  font: 400 18px/1.85 var(--dh-font-body);
  letter-spacing: -0.15px;
  -webkit-font-smoothing: antialiased;
}

body > .wp-site-blocks {
  min-height: 100vh;
}

a {
  color: var(--dh-gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--dh-gold-bright);
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--dh-gold-bright);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dh-tracking-frame {
  display: none;
  visibility: hidden;
}

.dh-button,
.wp-element-button,
.wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--dh-radius-pill);
  font: 600 14px/1 var(--dh-font-utility);
  letter-spacing: -0.1px;
  text-decoration: none;
  cursor: pointer;
  transition: color 220ms var(--dh-ease), background 220ms var(--dh-ease), border-color 220ms var(--dh-ease), box-shadow 220ms var(--dh-ease), transform 220ms var(--dh-ease);
}

.dh-button--primary,
.wp-block-button:not(.is-style-outline) .wp-element-button {
  overflow: hidden;
  background: var(--dh-metallic);
  background-size: 200% 100%;
  color: var(--dh-on-gold);
  box-shadow: var(--dh-shadow-cta);
}

.dh-button--primary::after {
  position: absolute;
  inset: -100% auto -100% -35%;
  width: 25%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 800ms var(--dh-ease);
}

.dh-button--primary:hover,
.dh-button--primary:focus-visible,
.wp-block-button:not(.is-style-outline) .wp-element-button:hover {
  color: var(--dh-on-gold);
  background-position: 100% 50%;
  box-shadow: var(--dh-shadow-cta-hover);
  transform: translateY(-2px);
}

.dh-button--primary:hover::after {
  left: 120%;
}

.dh-button--ghost,
.is-style-outline .wp-element-button {
  background: transparent;
  border-color: rgba(201, 168, 93, 0.4);
  color: var(--dh-gold);
}

.dh-button--ghost:hover,
.dh-button--ghost:focus-visible,
.is-style-outline .wp-element-button:hover {
  background: rgba(201, 168, 93, 0.08);
  border-color: var(--dh-gold);
  color: var(--dh-gold-bright);
  transform: translateY(-2px);
}

.dh-button:active,
.wp-element-button:active {
  transform: translateY(0);
}

.dh-button--large { min-height: 48px; }
.dh-button[aria-disabled="true"], button:disabled { opacity: 0.48; cursor: not-allowed; }

.dh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 10, 6, 0.78);
  border-bottom: 1px solid rgba(201, 168, 93, 0.15);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.admin-bar .dh-header {
  top: 32px;
}

.dh-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(100%, var(--dh-wide));
  height: 68px;
  padding: 0 24px;
  margin: 0 auto;
}

.dh-brand {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--dh-ink);
  text-decoration: none;
}

.dh-brand:hover {
  color: var(--dh-ink);
}

.dh-brand__image {
  width: 54px;
  height: 48px;
  object-fit: contain;
}

.dh-brand--image-failed { width: 54px; justify-content: center; }

.dh-brand__mark {
  position: relative;
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--dh-radius-md);
  background: var(--dh-metallic-v);
  box-shadow: 0 4px 16px var(--dh-gold-glow), inset 0 1px 0 rgba(255, 240, 180, 0.5), inset 0 -1px 0 rgba(120, 80, 0, 0.4);
  color: var(--dh-on-gold);
  font: 900 18px/1 var(--dh-font-display);
}

.dh-brand__mark::after {
  position: absolute;
  inset: 3px;
  border: 0.5px solid rgba(120, 80, 0, 0.3);
  border-radius: 7px;
  content: "";
}

.dh-brand__text {
  display: flex;
  flex-direction: column;
  margin-left: 12px;
  line-height: 1;
}

.dh-brand__text strong {
  color: var(--dh-ink);
  font: 700 17px/1 var(--dh-font-body);
  letter-spacing: -0.5px;
}

.dh-brand__text small {
  margin-top: 4px;
  color: var(--dh-gold);
  font: 500 14px/1 var(--dh-font-utility);
  letter-spacing: 0.28em;
}

.dh-nav--desktop {
  align-self: stretch;
}

.dh-nav__list,
.dh-nav__mobile-list,
.dh-nav .sub-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.dh-nav__list {
  display: flex;
  height: 100%;
  gap: 12px;
}

.dh-nav__list > .menu-item {
  position: relative;
  display: flex;
  align-items: center;
}

.dh-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 8px;
  color: var(--dh-ink);
  font: 500 14px/1 var(--dh-font-utility);
  text-decoration: none;
}

.dh-nav__list > .menu-item > a::after {
  position: absolute;
  right: 50%;
  bottom: -2px;
  left: 50%;
  height: 1px;
  content: "";
  background: var(--dh-gold);
  transition: right 250ms var(--dh-ease), left 250ms var(--dh-ease);
}

.dh-nav__list a:hover,
.dh-nav__list a:focus-visible,
.dh-nav__list .current-menu-item > a {
  color: var(--dh-gold-bright);
}

.dh-nav__list > .menu-item:hover > a::after,
.dh-nav__list > .menu-item:focus-within > a::after,
.dh-nav__list > .current-menu-item > a::after {
  right: 0;
  left: 0;
}

.dh-nav__list .sub-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  z-index: 110;
  min-width: 180px;
  padding: 8px 0;
  background: var(--dh-surface-2);
  border: 1px solid var(--dh-hairline);
  border-radius: var(--dh-radius-lg);
  box-shadow: var(--dh-shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 220ms var(--dh-ease), transform 220ms var(--dh-ease), visibility 0s linear 220ms;
}

.dh-nav__list .menu-item:hover > .sub-menu,
.dh-nav__list .menu-item:focus-within > .sub-menu,
.dh-nav__list .menu-item.is-open > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.dh-nav__list .sub-menu a {
  justify-content: flex-start;
  width: 100%;
  padding: 8px 20px;
}

.dh-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.dh-header__actions .dh-button--primary {
  min-height: 48px;
  padding-inline: 22px;
}

.dh-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(201, 168, 93, 0.4);
  border-radius: var(--dh-radius-pill);
  color: var(--dh-gold);
  cursor: pointer;
}

.dh-nav--mobile {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 99;
  background: var(--dh-surface-2);
  border-block: 1px solid rgba(201, 168, 93, 0.15);
  box-shadow: var(--dh-shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 220ms var(--dh-ease), transform 220ms var(--dh-ease), visibility 0s linear 220ms;
}

.dh-nav--mobile.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.dh-nav--mobile[hidden] {
  display: none !important;
}

.dh-nav__mobile-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--dh-hairline-soft);
  color: var(--dh-ink);
  font: 500 15px/1.4 var(--dh-font-utility);
  text-decoration: none;
}

.dh-nav__mobile-list .sub-menu a {
  padding-left: 40px;
  color: var(--dh-ink-muted);
  font-size: 14px;
}

.dh-section {
  width: min(100%, var(--dh-wide));
  padding: 96px 24px;
  margin: 0 auto;
}

.dh-page-title,
.dh-article__title,
.dh-error__title {
  margin: 0 0 48px;
  color: var(--dh-ink);
  font: 700 44px/1.05 var(--dh-font-display);
  letter-spacing: -0.035em;
}

.dh-section-title {
  margin: 0 0 56px;
  color: var(--dh-ink);
  font: 700 68px/0.98 var(--dh-font-display);
  letter-spacing: -0.04em;
}

.dh-eyebrow {
  margin: 0 0 16px;
  color: var(--dh-gold);
  font: 500 13px/1.5 var(--dh-font-utility);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.dh-breadcrumb {
  max-width: var(--dh-content);
  margin: 0 0 24px;
  color: var(--dh-ink-muted);
  font: 500 14px/1.5 var(--dh-font-utility);
}

.dh-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dh-breadcrumb li:not(:last-child)::after {
  margin-left: 10px;
  color: var(--dh-ink-dim);
  content: "/";
}

.dh-breadcrumb a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.dh-card-grid .wp-block-post-template,
.dh-card-grid.wp-block-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dh-card-grid .wp-block-post-template > .wp-block-post,
.dh-card-grid.wp-block-query .wp-block-post-template > .wp-block-post {
  width: 100% !important;
  max-width: none;
  margin-inline: 0;
}

.dh-card {
  --dh-card-border-opacity: 0;
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  margin: 0;
  background: linear-gradient(145deg, var(--dh-surface-2), var(--dh-surface-1));
  border: 1px solid var(--dh-hairline);
  border-radius: var(--dh-radius-xl);
  box-shadow: var(--dh-shadow-card);
}

.dh-card::after {
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  background: var(--dh-border-hover);
  opacity: var(--dh-card-border-opacity);
  transition: opacity 220ms var(--dh-ease);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.dh-card--interactive {
  transition: box-shadow 220ms var(--dh-ease), transform 220ms var(--dh-ease);
}

.dh-card--interactive:hover,
.dh-card--interactive:focus-within,
.dh-card--interactive.is-focus-within {
  --dh-card-border-opacity: 1;
  box-shadow: var(--dh-shadow-card-hover);
  transform: translateY(-4px);
}

.dh-card__media,
.dh-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.dh-card__body {
  padding: 24px;
}

.dh-card__title {
  margin: 0 0 12px;
  font: 700 20px/1.2 var(--dh-font-display);
  letter-spacing: -0.4px;
}

.dh-card__title a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dh-ink);
  text-decoration: none;
}

.dh-card__meta {
  margin: 0 0 12px;
  color: var(--dh-ink-muted);
  font: 500 14px/1.5 var(--dh-font-utility);
}

.dh-card__excerpt {
  color: var(--dh-ink-muted);
  font-size: 14px;
}

.dh-card__excerpt .wp-block-post-excerpt__more-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.dh-pagination {
  gap: 8px;
  margin-top: 40px;
}

.dh-pagination a,
.dh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--dh-surface-1);
  border: 1px solid var(--dh-hairline);
  border-radius: var(--dh-radius-pill);
  color: var(--dh-ink-muted);
  text-decoration: none;
}

.dh-pagination .current {
  background: var(--dh-metallic);
  border-color: transparent;
  color: var(--dh-on-gold);
}

.dh-empty {
  max-width: var(--dh-content);
  padding: 32px;
  margin: 32px auto 0;
  background: var(--dh-surface-1);
  border: 1px solid var(--dh-hairline);
  border-radius: var(--dh-radius-xl);
  text-align: center;
}

.dh-empty::before,
.dh-contact-empty__seal,
.dh-archive-empty__seal {
  background: url("../images/dh-luxury/icons/blackdh-content-96.webp") center / contain no-repeat;
}

.dh-empty::before {
  display: block;
  width: 96px;
  aspect-ratio: 1;
  margin: 0 auto 20px;
  content: "";
}

.dh-empty .wp-block-buttons { justify-content: center; }

.dh-empty h2 {
  margin-top: 0;
  font: 700 28px/1.1 var(--dh-font-display);
}

.dh-contact-empty {
  display: grid;
  max-width: var(--dh-content);
  padding: 40px;
  margin: 32px auto 0;
  background: linear-gradient(135deg, rgba(212, 145, 58, 0.07), transparent 48%), var(--dh-surface-1);
  border: 1px solid var(--dh-gold);
  border-radius: 2px;
  gap: 16px;
  justify-items: start;
}

.dh-contact-empty__seal {
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  border: 1px solid var(--dh-gold-bright);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--dh-surface-1), inset 0 0 0 6px var(--dh-gold);
  color: var(--dh-gold-bright);
  font-size: 0;
  place-items: center;
}

.dh-contact-empty h2,
.dh-contact-empty p {
  margin: 0;
}

.dh-contact-empty h2 {
  font: 700 28px/1.1 var(--dh-font-display);
}

.dh-contact-empty__action {
  min-width: 44px;
  min-height: 44px;
  margin-top: 8px;
}

.dh-article {
  max-width: calc(var(--dh-content) + 48px);
}

.dh-article__meta {
  gap: 16px;
  margin: -28px 0 32px;
  color: var(--dh-ink-muted);
  font: 500 14px/1.5 var(--dh-font-utility);
}

.dh-article__cover,
.dh-article__cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--dh-radius-lg);
  box-shadow: var(--dh-shadow-card);
  object-fit: cover;
}

.dh-article__body {
  color: var(--dh-ink-muted);
  font-size: 18px;
  line-height: 1.85;
}

.dh-article__body h2 {
  padding-left: 16px;
  margin: 56px 0 20px;
  border-left: 4px solid var(--dh-gold);
  color: var(--dh-ink);
  font: 700 44px/1.05 var(--dh-font-display);
  letter-spacing: -0.035em;
}

.dh-article__body h3 {
  margin: 36px 0 16px;
  color: var(--dh-ink);
  font: 700 24px/1.2 var(--dh-font-display);
}

.dh-article__body blockquote {
  padding: 16px 20px;
  margin: 32px 0;
  background: var(--dh-surface-1);
  border-left: 4px solid var(--dh-gold);
}

.dh-article__body figure,
.dh-article__body img {
  border-radius: var(--dh-radius-lg);
}

.dh-article__body .wp-block-table {
  overflow-x: auto;
}

.dh-error {
  min-height: 55vh;
  padding: 96px 24px;
}

.dh-error p:not(.dh-eyebrow) {
  color: var(--dh-ink-muted);
}

.dh-footer {
  position: relative;
  padding: 80px 24px 32px;
  background: var(--dh-canvas);
}

.dh-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(201, 168, 93, 0.55), transparent);
}

.dh-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  max-width: var(--dh-wide);
  margin: 0 auto 48px;
}

.dh-footer__brand {
  max-width: 340px;
}

.dh-footer__brand p {
  color: var(--dh-ink-muted);
  font-size: 14px;
}

.dh-footer__rule {
  display: block;
  width: 60px;
  height: 1px;
  margin: 24px 0 20px;
  background: var(--dh-gold);
}

.dh-footer__responsible {
  color: var(--dh-ink-muted) !important;
  font: 500 14px/1.5 var(--dh-font-utility) !important;
  letter-spacing: 0.06em;
}

.dh-footer__column h2 {
  margin: 0 0 20px;
  color: var(--dh-gold);
  font: 500 14px/1.5 var(--dh-font-utility);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.dh-footer__column ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.dh-footer__column a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dh-ink-muted);
  font-size: 14px;
  text-decoration: none;
}

.dh-footer__bottom {
  max-width: var(--dh-wide);
  padding-top: 32px;
  margin: 0 auto;
  border-top: 1px solid rgba(201, 168, 93, 0.15);
  color: var(--dh-ink-muted);
  font: 500 14px/1.5 var(--dh-font-utility);
  text-align: center;
}

/* WU2 ACF blocks 會沿用這些單一 token 與狀態 class，不另立平行視覺系統。 */
.dh-home-section {
  width: min(100%, var(--dh-wide));
  padding: 96px 24px;
  margin: 0 auto;
}

.dh-hero {
  position: relative;
  width: min(100%, var(--dh-wide));
  padding: 100px 24px 96px;
  margin: 0 auto;
  background: radial-gradient(50% 40% at 20% 10%, rgba(201, 168, 93, 0.14), transparent 60%);
}

.dh-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(201, 168, 93, 0.08) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.dh-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
  align-items: center;
  gap: 48px;
}

.dh-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--dh-gold);
  font: 600 12px/1.4 var(--dh-font-utility);
  letter-spacing: 0.2em;
}

.dh-hero__badge span {
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid var(--dh-gold);
  place-items: center;
  transform: rotate(45deg);
}

.dh-hero__badge span::first-letter { transform: rotate(-45deg); }

.dh-hero__title {
  max-width: 780px;
  margin: 0 0 28px;
  color: var(--dh-ink);
  font: 700 108px/0.88 var(--dh-font-display);
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.dh-hero__gold {
  background: var(--dh-metallic);
  background-size: 200% 100%;
  color: transparent;
  animation: dh-gold-shift 8s ease-in-out infinite;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dh-hero__subtitle {
  max-width: 620px;
  margin: 0;
  color: var(--dh-ink-muted);
  font-size: 18px;
}

.dh-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.dh-hero__anchor { width: min(100%, 320px); justify-self: end; }
.dh-hero__anchor svg { display: block; width: 100%; filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.48)); }

@keyframes dh-gold-shift {
  50% { background-position: 100% 50%; }
}

.dh-marquee {
  min-height: 44px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(201, 168, 93, 0.03), transparent);
  border-block: 1px solid rgba(201, 168, 93, 0.15);
}

.dh-marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: dh-marquee 55s linear infinite;
}

.dh-marquee__set {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  min-height: 44px;
  padding-inline: 28px;
}

.dh-marquee__item { display: inline-flex; align-items: center; gap: 14px; color: var(--dh-ink-muted); white-space: nowrap; }
.dh-marquee__item i { width: 8px; height: 8px; background: var(--dh-metallic); border-radius: var(--dh-radius-xs); transform: rotate(45deg); }
.dh-marquee__item a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }

.dh-marquee:hover .dh-marquee__track,
.dh-marquee:focus-within .dh-marquee__track {
  animation-play-state: paused;
}

@keyframes dh-marquee {
  to { transform: translateX(-50%); }
}

.dh-carousel {
  margin-top: 64px;
}

.dh-carousel__viewport {
  overflow: hidden;
  border: 1px solid var(--dh-hairline);
  border-radius: var(--dh-radius-xxl);
  box-shadow: var(--dh-shadow-card);
}

.dh-carousel figure { margin: 0; }

.dh-carousel [data-dh-slide][hidden] {
  display: none;
}

.dh-carousel [data-dh-slide]:not([hidden]) {
  animation: dh-carousel-in 280ms var(--dh-ease) both;
}

.dh-carousel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.dh-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.dh-carousel__controls button {
  min-width: 44px;
  min-height: 44px;
  background: var(--dh-surface-1);
  border: 1px solid var(--dh-hairline);
  border-radius: var(--dh-radius-pill);
  color: var(--dh-ink);
}

@keyframes dh-carousel-in {
  from { opacity: 0.3; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

.dh-image-fallback {
  position: relative;
  display: grid !important;
  place-items: center;
  min-height: 180px;
  background: radial-gradient(circle at center, rgba(201, 168, 93, 0.16), transparent 50%), linear-gradient(var(--dh-surface-2), var(--dh-canvas));
  color: transparent;
}

.dh-image-fallback::before {
  width: 28px;
  height: 28px;
  border: 1px solid var(--dh-gold);
  content: "";
  transform: rotate(45deg);
}

.dh-image-fallback::after {
  color: var(--dh-ink-muted);
  font: 500 14px/1.5 var(--dh-font-utility);
  content: "圖片暫時無法載入";
}

.dh-image-fallback img {
  display: none !important;
}

[data-dh-image].dh-skeleton {
  position: relative;
  isolation: isolate;
}

.dh-media-skeleton {
  position: absolute;
  z-index: 3;
  display: grid;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(7, 18, 38, 0.97), rgba(16, 24, 39, 0.95));
  border: 1px solid rgba(245, 206, 128, 0.32);
  inset: 0;
  place-content: center;
  gap: 12px;
  pointer-events: none;
}

.dh-media-skeleton::after {
  position: absolute;
  height: 1px;
  background: var(--dh-gold);
  content: "";
  inset: auto 12% 14%;
}

.dh-media-skeleton__line {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(58vw, 260px);
  height: 8px;
  background: rgba(196, 183, 156, 0.14);
  border-radius: var(--dh-radius-pill);
}

.dh-media-skeleton__line:nth-child(2) { width: min(46vw, 208px); }
.dh-media-skeleton__line:nth-child(3) { width: min(34vw, 152px); }

.dh-shimmer::after {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(245, 206, 128, 0.48), transparent);
  content: "";
  inset: 0;
  transform: translateX(-110%);
  animation: dh-skeleton-shimmer 1.4s ease-in-out infinite;
}

@keyframes dh-skeleton-shimmer {
  to { transform: translateX(110%); }
}

.dh-media { display: block; overflow: hidden; }

.dh-content-grid,
.dh-steps,
.dh-reviews,
.dh-icon-grid,
.dh-related__grid,
.dh-contact-list {
  display: grid;
  gap: 24px;
  padding: 0;
  margin: 0;
}

.dh-content-grid--promo,
.dh-content-grid--hot-events,
.dh-content-grid--strategy,
.dh-reviews,
.dh-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dh-content-grid--game-categories,
.dh-content-grid--hot-games,
.dh-icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dh-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; }
.dh-contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.dh-content-card,
.dh-review,
.dh-steps__item,
.dh-contact-item,
.dh-promo-group,
.dh-content-cta {
  --dh-content-border-opacity: 0;
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  margin: 0;
  background: linear-gradient(145deg, var(--dh-surface-2), var(--dh-surface-1));
  border: 1px solid var(--dh-hairline);
  border-radius: var(--dh-radius-xl);
  box-shadow: var(--dh-shadow-card);
  color: var(--dh-ink);
  text-decoration: none;
}

.dh-content-card::after,
.dh-review::after,
.dh-contact-item::after {
  position: absolute;
  inset: 0;
  padding: 1px;
  background: var(--dh-border-hover);
  border-radius: inherit;
  content: "";
  opacity: var(--dh-content-border-opacity);
  pointer-events: none;
  transition: opacity 220ms var(--dh-ease);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.dh-content-card:hover,
.dh-content-card:focus-visible,
.dh-contact-item:focus-within { --dh-content-border-opacity: 1; box-shadow: var(--dh-shadow-card-hover); transform: translateY(-4px); }
.dh-content-card { transition: box-shadow 220ms var(--dh-ease), transform 220ms var(--dh-ease); }
.dh-content-card .dh-media { aspect-ratio: 16 / 10; }
.dh-content-card__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.dh-content-card__body { padding: 24px; }
.dh-content-card__body h3 { margin: 4px 0 12px; font: 700 22px/1.18 var(--dh-font-display); }
.dh-content-card__body p { margin: 0 0 12px; color: var(--dh-ink-muted); }
.dh-content-card__tag { color: var(--dh-gold) !important; font: 600 12px/1.5 var(--dh-font-utility); letter-spacing: 0.14em; text-transform: uppercase; }
.dh-content-card__amount { display: block; margin: 0 0 12px; color: var(--dh-gold-bright); font: 700 28px/1 var(--dh-font-display); }
.dh-content-card__cta { display: inline-flex; align-items: center; min-height: 44px; color: var(--dh-gold); font-weight: 700; }
.dh-promo-card__number { position: absolute; z-index: 2; top: 16px; left: 16px; display: grid; min-width: 36px; height: 36px; padding-inline: 8px; background: var(--dh-canvas); border: 1px solid var(--dh-gold); border-radius: var(--dh-radius-pill); color: var(--dh-gold); font: 600 12px/1 var(--dh-font-utility); place-items: center; }

.dh-steps__item { padding: 24px 20px; text-align: center; }
.dh-steps__number { display: grid; width: 42px; height: 42px; margin: 0 auto 16px; background: var(--dh-metallic); border-radius: var(--dh-radius-pill); color: var(--dh-on-gold); font: 700 14px/1 var(--dh-font-utility); place-items: center; }
.dh-steps__item .dh-media { aspect-ratio: 1; margin-bottom: 16px; border-radius: var(--dh-radius-lg); }
.dh-steps__image { width: 100%; height: 100%; object-fit: cover; }
.dh-steps__item h3 { margin: 0 0 8px; font: 700 19px/1.25 var(--dh-font-display); }
.dh-steps__item p { margin: 0; color: var(--dh-ink-muted); font-size: 14px; }

.dh-app-panel { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; align-items: center; gap: 48px; padding: 48px; background: radial-gradient(circle at 12% 50%, rgba(201, 168, 93, 0.16), transparent 42%), var(--dh-surface-1); border: 1px solid var(--dh-hairline); border-radius: var(--dh-radius-xxl); }
.dh-app-panel > .dh-media { border-radius: var(--dh-radius-lg); }
.dh-app-panel__qr-link { display: block; border-radius: var(--dh-radius-lg); }
.dh-app-panel__qr-link > .dh-media { border-radius: inherit; }
.dh-app-panel__qr { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.dh-app-panel__content p { max-width: 520px; color: var(--dh-ink-muted); font-size: 18px; }
.dh-app-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.dh-review { padding: 28px; }
.dh-review__stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--dh-gold); }
.dh-review__stars svg { width: 18px; fill: currentcolor; }
.dh-review blockquote { min-height: 96px; margin: 0 0 24px; color: var(--dh-ink-muted); }
.dh-review figcaption { display: flex; align-items: center; gap: 12px; color: var(--dh-ink); font-weight: 700; }
.dh-review figcaption .dh-media { width: 44px; height: 44px; border-radius: var(--dh-radius-pill); }
.dh-review__avatar { width: 100%; height: 100%; object-fit: cover; }

.dh-icon-item {
  width: 100%;
  max-width: none;
  padding: 8px 12px;
  margin: 0;
  color: var(--dh-ink);
  text-align: center;
}
.dh-icon-item h3 { margin: 0 0 8px; font: 500 17px/1.25 var(--dh-font-body); transition: color 220ms var(--dh-ease); }
.dh-icon-item p { margin: 0; color: var(--dh-ink-muted); font-size: 14px; }
.dh-icon-item__mark { width: 40px; height: 40px; margin-bottom: 18px; fill: none; stroke: var(--dh-gold); stroke-width: 2; transition: filter 220ms var(--dh-ease); }
.dh-icon-item > .dh-media { width: 40px; height: 40px; margin: 0 auto 18px; }
.dh-icon-item__image { width: 100%; height: 100%; object-fit: cover; }
.dh-icon-item:hover h3,
.dh-icon-item:focus-within h3 { color: var(--dh-gold); }
.dh-icon-item:hover .dh-icon-item__mark,
.dh-icon-item:focus-within .dh-icon-item__mark { filter: drop-shadow(0 0 10px var(--dh-gold-glow)); }

.dh-faq details {
  padding: 12px 24px;
  margin-bottom: 12px;
  background: var(--dh-surface-1);
  border: 1px solid var(--dh-hairline);
  border-radius: var(--dh-radius-lg);
}

.dh-faq summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--dh-ink);
  font: 700 20px/1.25 var(--dh-font-display);
  cursor: pointer;
}

.dh-faq summary span { margin-left: auto; color: var(--dh-gold); font: 400 28px/1 var(--dh-font-utility); transition: transform 350ms var(--dh-ease); }
.dh-faq details[open] summary span { transform: rotate(45deg); }
.dh-faq__answer { padding: 0 36px 16px 0; color: var(--dh-ink-muted); }
.dh-about { max-width: var(--dh-content); }

.dh-banner__body { max-width: var(--dh-content); margin-bottom: 24px; color: var(--dh-ink-muted); font-size: 18px; }
.dh-article-content__image { width: 100%; border-radius: var(--dh-radius-lg); }
.dh-article-content > .dh-media { margin: 24px 0; border-radius: var(--dh-radius-lg); }
.dh-article__lead { margin-bottom: 48px; color: var(--dh-ink); font-size: 20px; }
.dh-article-notice { padding: 20px 24px; margin-top: 40px; background: var(--dh-surface-1); border-left: 4px solid var(--dh-gold); }
.dh-promo-groups { display: grid; gap: 32px; }
.dh-promo-group { padding: 32px; }
.dh-promo-group h2 { margin-top: 0; }
.dh-promo-group__item { padding: 24px 0; border-top: 1px solid var(--dh-hairline); }
.dh-promo-group__item h3 { font: 700 22px/1.2 var(--dh-font-display); }
.dh-promo-group__terms { color: var(--dh-ink-muted); }
.dh-related { margin-top: 64px; }
.dh-related > h2 { font: 700 32px/1.1 var(--dh-font-display); }
.dh-content-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; margin-top: 48px; }
.dh-content-cta p { margin: 0; font: 700 21px/1.25 var(--dh-font-display); }
.dh-contact-item { padding: 28px; }
.dh-contact-item h2 { margin: 0 0 8px; font: 700 22px/1.2 var(--dh-font-display); }
.dh-contact-item p { margin: 0 0 20px; color: var(--dh-ink-muted); overflow-wrap: anywhere; }
.dh-contact-hours { margin-top: 24px; color: var(--dh-ink-muted); }
.dh-reveal {
  opacity: 1;
  transform: none;
}

.dh-motion-ready .dh-reveal:not(.is-revealed) {
  opacity: 0;
  transform: translateY(16px);
}

.dh-motion-ready .dh-reveal.is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 480ms var(--dh-ease), transform 480ms var(--dh-ease);
}

@media (max-width: 1023px) {
  .dh-header__inner { height: 64px; }
  .dh-nav--desktop { display: none; }
  .dh-header__burger { display: inline-flex; }
  .dh-section,
  .dh-home-section { padding-block: 56px; }
  .dh-error { padding: 56px 24px; }
  .dh-card-grid .wp-block-post-template,
  .dh-card-grid.wp-block-query .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .dh-footer__brand { grid-column: span 2; max-width: none; }
  .dh-hero { padding-block: 64px; }
  .dh-hero__title { font-size: 88px; line-height: 0.9; }
  .dh-hero__layout { grid-template-columns: 1fr; }
  .dh-hero__anchor { display: none; }
  .dh-content-grid--promo { grid-template-columns: 1fr; }
  .dh-content-grid--game-categories,
  .dh-content-grid--hot-events,
  .dh-content-grid--strategy,
  .dh-content-grid--hot-games,
  .dh-reviews,
  .dh-icon-grid,
  .dh-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .dh-header__actions .dh-button--ghost { display: none; }
}

@media (max-width: 782px) {
  .admin-bar .dh-header { top: 46px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; line-height: 1.8; }
  .dh-header__inner { height: 60px; padding-inline: 16px; gap: 10px; }
  .dh-brand__image { width: 48px; height: 43px; }
  .dh-brand--image-failed { width: 48px; }
  .dh-brand__text { margin-left: 8px; }
  .dh-brand__text small { display: none; }
  .dh-section,
  .dh-home-section { padding: 32px 16px; }
  .dh-error { padding: 32px 16px; }
  .dh-page-title,
  .dh-article__title,
  .dh-error__title { margin-bottom: 24px; font-size: 28px; line-height: 1.1; }
  .dh-section-title { margin-bottom: 24px; font-size: 36px; line-height: 1.05; }
  .dh-card-grid .wp-block-post-template,
  .dh-card-grid.wp-block-query .wp-block-post-template { grid-template-columns: 1fr; gap: 16px; }
  .dh-card__body { padding: 16px; }
  .dh-card__title { font-size: 17px; }
  .dh-empty { padding: 24px; }
  .dh-contact-empty { padding: 24px; }
  .dh-article__body { font-size: 16px; }
  .dh-article__body h2 { margin-top: 40px; font-size: 28px; line-height: 1.1; }
  .dh-article__body h3 { font-size: 20px; }
  .dh-footer { padding: 64px 16px 32px; }
  .dh-footer__grid { gap: 24px; }
  .dh-hero { padding: 40px 16px 36px; }
  .dh-hero__title { font-size: 56px; line-height: 0.92; letter-spacing: -0.04em; }
  .dh-carousel { margin-top: 36px; }
  .dh-carousel img { aspect-ratio: 16 / 9; }
  .dh-hero__subtitle { font-size: 16px; }
  .dh-content-grid--promo,
  .dh-content-grid--game-categories,
  .dh-icon-grid,
  .dh-contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .dh-content-grid--promo { grid-template-columns: 1fr; }
  .dh-steps { grid-template-columns: 1fr; gap: 14px; }
  .dh-app-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .dh-app-panel > .dh-media { width: min(100%, 220px); }
  .dh-content-cta { align-items: flex-start; flex-direction: column; padding: 24px; }
  .dh-rail {
    display: flex;
    gap: 14px;
    padding: 0 16px 12px;
    margin-inline: -16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
  }
  .dh-rail > * { flex: 0 0 min(82vw, 320px); scroll-snap-align: start; }
}

@media (max-width: 420px) {
  .dh-contact-list { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  .dh-header__actions .dh-button--primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dh-hero__gold,
  .dh-marquee__track,
  .dh-carousel [data-dh-slide]:not([hidden]) { animation: none; }
  .dh-button:hover,
  .wp-element-button:hover,
  .dh-card--interactive:hover,
  .dh-card--interactive:focus-within,
  .dh-card--interactive.is-focus-within { transform: none; }
  .dh-nav__list .sub-menu,
  .dh-nav--mobile { transform: none; transition: none; }
  .dh-card::after { transition: none; }
  .dh-content-card,
  .dh-content-card::after,
  .dh-faq summary span { transition: none; }
  .dh-motion-ready .dh-reveal,
  .dh-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Reviewer repair：資料結構與版面角色一一對應，不用同一 grid 假裝不同內容。 */
.dh-hot-events-layout { display: grid; grid-template-columns: minmax(150px,2fr) minmax(0,10fr); gap: 32px; }
.dh-hot-events-rail { display: grid; align-content: start; gap: 24px; border-right: 1px solid rgba(245,206,128,.34); }
.dh-hot-events-rail .dh-section-title { max-width: 2.4em; writing-mode: vertical-rl; text-orientation: upright; }
.dh-hot-events-rail ol { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.dh-hot-events-rail li { display: grid; gap: 3px; color: var(--dh-ink-muted); font: 700 13px/1.4 var(--dh-font-utility); }
.dh-hot-events-rail li span, .dh-editorial-card__date { color: var(--dh-gold-bright); }
.dh-hot-events-layout .dh-editorial-cards--hot-events { grid-template-columns: 2fr 1fr; }
.dh-hot-events-layout .dh-editorial-card--lead .dh-editorial-card__media { aspect-ratio: 16/9; min-height: 0; }
.dh-hot-events-layout .dh-editorial-card--support .dh-editorial-card__media { aspect-ratio: 4/3; min-height: 0; }

.dh-contact-directory { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.dh-contact-directory__lead, .dh-contact-directory__support { display: grid; gap: 20px; }
.dh-contact-directory__support { grid-template-columns: repeat(2,minmax(0,1fr)); }
.dh-contact-item--lead { min-height: 100%; }
.dh-contact-item__purpose { color: var(--dh-ink); font-size: 18px; }
.dh-contact-item__hours { display: grid; gap: 4px; color: var(--dh-ink-muted); }
.dh-contact-item__hours span, .dh-contact-item__link-state { color: var(--dh-gold-bright); font: 700 12px/1.4 var(--dh-font-utility); letter-spacing: .06em; }
.dh-contact-item__link-state { margin-left: 10px; }

.dh-archive-showcase--guide .dh-archive-lead-layout { grid-template-columns: 8fr 4fr; }
.dh-archive-showcase--guide .dh-guide-compass { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.dh-guide-compass nav { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-guide-compass nav a { min-height: 44px; padding: 10px 14px; border: 1px solid rgba(245,206,128,.32); color: var(--dh-ink); text-decoration: none; }
.dh-archive-grid--guide { grid-template-columns: repeat(2,minmax(0,1fr)); }
.dh-archive-grid--guide .dh-archive-card--card { grid-column: auto; }
.dh-guide-progress-rail { display: grid; grid-template-columns: minmax(52px,1fr) auto; align-items: center; gap: 10px; margin-top: 18px; color: var(--dh-gold-bright); font-size: 13px; }
.dh-guide-progress-rail i { height: 2px; background: var(--dh-metallic); box-shadow: 0 0 10px rgba(245,206,128,.36); }
.dh-guide-steps { margin-block: 40px; }
.dh-guide-steps > ol { display: grid; gap: 20px; padding: 0; list-style: none; counter-reset: none; }
.dh-guide-steps > ol > li { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 20px; padding: 24px; background: var(--dh-glass); border-top: 1px solid var(--dh-gold); }
.dh-guide-step__number { display: grid; width: 56px; height: 56px; background: var(--dh-metallic); color: var(--dh-on-gold); font: 800 20px/1 var(--dh-font-display); place-items: center; }
.dh-guide-step__media { margin: 16px 0; overflow: hidden; border: 1px solid rgba(245,206,128,.2); }
.dh-guide-step__image { display: block; width: 100%; height: auto; }
.dh-guide-steps h2::before, .dh-guide-steps h3::before { content: none; }

@media (min-width: 768px) and (max-width: 1279px) {
  .dh-particles i:nth-child(n+9) { display: none; }
}

@media (max-width: 767px) {
  .dh-hot-events-layout, .dh-contact-directory, .dh-contact-directory__support, .dh-archive-grid--guide { grid-template-columns: 1fr; }
  .dh-hot-events-layout .dh-editorial-cards--hot-events { grid-template-columns: minmax(0, 1fr); }
  .dh-archive-showcase--guide .dh-archive-lead-layout { grid-template-columns: minmax(0, 1fr); }
  .dh-hot-events-rail { grid-template-columns: 1fr auto; border-right: 0; border-bottom: 1px solid rgba(245,206,128,.34); }
  .dh-hot-events-rail .dh-section-title { max-width: none; writing-mode: horizontal-tb; text-orientation: mixed; }
  .dh-hot-events-rail ol { grid-column: 1/-1; grid-template-columns: repeat(3,1fr); }
  .dh-guide-steps > ol > li { grid-template-columns: 48px minmax(0,1fr); padding: 20px 16px; }
  .dh-guide-step__number { width: 44px; height: 44px; }
}

body { background: var(--dh-canvas); }
.dh-home, .dh-page-shell, .dh-list-page, .dh-article-layout { background: var(--dh-night-gradient); }

.dh-header {
  background: rgba(3, 4, 7, 0.88);
  border-bottom-color: rgba(245, 206, 128, 0.18);
  backdrop-filter: blur(18px) saturate(1.25);
  transition: background 260ms var(--dh-ease), border-color 260ms var(--dh-ease);
}
.dh-header__inner { height: 92px; transition: height 260ms var(--dh-ease); }
.dh-header.is-scrolled .dh-header__inner { height: 76px; }
.dh-brand__image { width: 76px; height: 68px; object-fit: contain; transition: width 260ms var(--dh-ease), height 260ms var(--dh-ease); }
.dh-header.is-scrolled .dh-brand__image { width: 58px; height: 52px; }
.dh-brand--image-failed { width: 76px; }
.dh-drawer-brand { display: block; padding: 22px 24px 14px; border-bottom: 1px solid rgba(245,206,128,.15); }
.dh-drawer-brand img { display: block; width: 72px; height: 65px; object-fit: contain; }

.dh-footer {
  overflow: clip;
  background-color: var(--dh-canvas);
  background-image: linear-gradient(rgba(3,4,7,.78), rgba(3,4,7,.92)), image-set(url("../images/dh-luxury/ornament/network-blackdh-768.avif") type("image/avif"), url("../images/dh-luxury/ornament/network-blackdh-768.webp") type("image/webp"));
  background-position: center;
  background-size: cover;
}
.dh-footer__river { position: absolute; top: -28px; right: -4%; left: -4%; height: 80px; background: url("../images/dh-luxury/ornament/gold-river-1920.webp") center / cover no-repeat; opacity: .82; pointer-events: none; }
.dh-footer__brand .dh-brand__image { width: 112px; height: 100px; }

.dh-home-section { position: relative; overflow: clip; padding-block: clamp(112px, 9vw, 144px); }
.dh-section-title { font-size: clamp(34px, 4.2vw, 60px); text-shadow: 0 2px 18px rgba(212,145,58,.18); }
.dh-page-title { font-size: clamp(42px, 5.5vw, 78px); }
.dh-article__title { font-size: clamp(38px, 4vw, 58px); }
.dh-home-section::before { position: absolute; inset: 10% 4% auto; height: 48%; background: var(--dh-gold-aura); content: ""; opacity: .28; pointer-events: none; }
.dh-section-shell { position: relative; z-index: 1; }

.dh-hero { min-height: 760px; padding-block: 96px; background: var(--dh-night-gradient); isolation: isolate; }
.dh-hero::after { background-image: radial-gradient(rgba(245,206,128,.22) .7px, transparent .7px); background-size: 5px 5px; opacity: .45; }
.dh-hero__layout { min-height: 560px; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); }
.dh-hero__title { font-size: 112px; line-height: .9; }
.dh-hero__copy { position: relative; z-index: 4; }
.dh-hero__aura { position: absolute; top: -22%; left: -10%; z-index: -1; width: 78%; aspect-ratio: 1; background: var(--dh-gold-aura); pointer-events: none; }
.dh-hero__ribbons { position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; }
.dh-hero__ribbons i { position: absolute; right: -8%; width: 70%; height: 2px; background: linear-gradient(90deg, transparent, var(--dh-gold-bright), transparent); box-shadow: 0 0 26px rgba(245,206,128,.38); transform: rotate(-13deg); }
.dh-hero__ribbons i:first-child { top: 28%; }
.dh-hero__ribbons i:last-child { top: 68%; transform: rotate(9deg); opacity: .55; }
.dh-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.dh-particles i { position: absolute; top: var(--dh-particle-y); left: var(--dh-particle-x); width: 4px; height: 4px; background: var(--dh-gold-pale); border-radius: 50%; box-shadow: 0 0 12px var(--dh-gold-bright); }
.dh-hero__scene { position: relative; z-index: 3; min-height: 530px; border: 1px solid rgba(245,206,128,.28); border-radius: 32px; background: var(--dh-glass); box-shadow: var(--dh-edge-glow); overflow: hidden; }
.dh-hero__scene picture, .dh-hero__scene-image { display: block; width: 100%; height: 100%; min-height: 530px; object-fit: cover; object-position: 78% center; }
.dh-hero__crest { position: absolute; top: 28px; left: 28px; width: 104px; padding: 8px; border: 1px solid rgba(245,206,128,.35); border-radius: 50%; background: rgba(3,4,7,.82); box-shadow: 0 14px 34px rgba(0,0,0,.48); }
.dh-luxury-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.dh-hero__portals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dh-hero__portals a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid rgba(245,206,128,.28); border-radius: 999px; color: var(--dh-ink-muted); font: 600 14px/1 var(--dh-font-utility); text-decoration: none; }
.dh-hero__portals a::before { width: 6px; height: 6px; margin-right: 9px; background: var(--dh-gold); content: ""; transform: rotate(45deg); }
.dh-carousel { position: relative; z-index: 3; }

.dh-content-card, .dh-card, .dh-review, .dh-contact-item, .dh-promo-group, .dh-content-cta {
  background: var(--dh-glass);
  border-color: rgba(245,206,128,.2);
  border-radius: 16px;
  box-shadow: var(--dh-edge-glow);
}
@media (hover: hover) and (pointer: fine) {
  .dh-content-card:hover, .dh-content-card:focus-visible, .dh-card--interactive:hover, .dh-card--interactive:focus-within { transform: translateY(-8px) scale(1.012); transition-duration: 320ms; }
  .dh-content-card:hover img, .dh-card--interactive:hover img { transform: scale(1.05); transition: transform 700ms var(--dh-ease); }
}
.dh-content-card:active, .dh-card--interactive:active { transform: scale(.985); transition-duration: 120ms; }
.dh-content-grid--promo > :first-child { grid-column: span 2; }
.dh-content-grid--promo > :first-child .dh-content-card__image { aspect-ratio: 2 / 1; }
.dh-content-card__image { width: 100%; min-height: 210px; object-fit: cover; }
.dh-category-picture { display: block; overflow: hidden; }

.dh-game-universe { display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr); gap: 40px; align-items: stretch; }
.dh-game-universe__tabs { display: grid; align-content: center; gap: 8px; }
.dh-game-universe__tabs button { display: grid; grid-template-columns: 38px 1fr; align-items: center; min-height: 60px; padding: 10px 18px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--dh-ink-muted); font: 700 17px/1.2 var(--dh-font-display); text-align: left; cursor: pointer; }
.dh-game-universe__tabs button span { color: var(--dh-gold); font: 600 12px/1 var(--dh-font-utility); letter-spacing: .12em; }
.dh-game-universe__tabs button[aria-selected="true"] { background: var(--dh-metallic); color: var(--dh-on-gold); box-shadow: var(--dh-shadow-cta); }
.dh-game-universe__tabs button[aria-selected="true"] span { color: inherit; }
.dh-game-universe__stage { position: relative; min-height: 480px; overflow: hidden; border: 1px solid var(--dh-hairline-bright); border-radius: 24px; background: var(--dh-navy); box-shadow: var(--dh-edge-glow); }
.dh-game-scene { position: absolute; inset: 0; overflow: hidden; }
.dh-game-scene[hidden] { display: none; }
.dh-game-scene .dh-category-picture, .dh-game-scene .dh-media, .dh-game-scene__image { display: block; width: 100%; height: 100%; }
.dh-game-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.dh-game-scene__copy { position: absolute; inset: auto 0 0; padding: 90px 36px 32px; background: linear-gradient(transparent, rgba(3,4,7,.94)); }
.dh-game-scene__copy h3 { margin: 0 0 10px; font: 800 46px/1 var(--dh-font-display); }
.dh-game-scene__copy p:not(.dh-eyebrow) { max-width: 560px; color: var(--dh-ink-muted); }
.dh-game-scene__sports { position: absolute; inset: 0; background: radial-gradient(circle at 70% 50%, rgba(245,206,128,.2), transparent 42%), repeating-linear-gradient(90deg, transparent 0 12%, rgba(245,206,128,.08) 12% 12.2%), var(--dh-navy); }
.dh-game-scene__sports::after { position: absolute; inset: 12% 8%; border: 2px solid rgba(245,206,128,.42); border-radius: 50%; content: ""; }

.dh-steps__image, .dh-icon-item__approved { width: min(100%, 192px); height: auto; object-fit: contain; }
.dh-icon-item__approved { margin: 0 auto 24px; }
.dh-home-section--advantages .dh-icon-item { padding: 20px; }
.dh-home-section--advantages .dh-icon-item__approved { width: min(100%, 192px); }
.dh-home-section--guarantees .dh-icon-item { padding: 24px 18px; border: 1px solid rgba(245,206,128,.18); border-radius: 16px; background: var(--dh-glass); }
.dh-home-section--guarantees .dh-icon-item__approved { width: 96px; }
.dh-gold-river { position: relative; width: 100%; height: 106px; margin: 72px 0 -72px; overflow: hidden; }
.dh-gold-river span { position: absolute; inset: 0; background: url("../images/dh-luxury/ornament/gold-river-1920.webp") center / cover no-repeat; }
.dh-gold-river i { position: absolute; top: 46%; left: 8%; width: 14px; height: 14px; border-radius: 50%; background: var(--dh-gold-pale); box-shadow: 0 0 24px var(--dh-gold-bright); }
.dh-gold-river i:last-child { top: 64%; left: 42%; width: 8px; height: 8px; }

.dh-app-panel { position: relative; min-height: 710px; grid-template-columns: 220px minmax(0, 1fr); align-content: end; overflow: hidden; padding: 72px; border: 1px solid rgba(245,206,128,.32); border-radius: 32px; background: var(--dh-navy); box-shadow: var(--dh-edge-glow); }
.dh-app-panel__scene { position: absolute; inset: 0; }
.dh-app-panel__scene::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,4,7,.96) 0%, rgba(3,4,7,.64) 46%, transparent 78%); content: ""; }
.dh-app-panel__scene picture, .dh-app-panel__scene-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.dh-app-panel > :not(.dh-app-panel__scene) { position: relative; z-index: 2; }
.dh-app-panel__qr-link, .dh-app-panel > .dh-media { padding: 12px; background: #fff; }
.dh-app-panel__content { align-self: end; }

.dh-faq-frame { position: relative; max-width: 1000px; padding: clamp(28px,5vw,72px); margin-inline: auto; border: 1px solid rgba(245,206,128,.22); border-radius: 24px; background-image: linear-gradient(rgba(3,4,7,.62), rgba(3,4,7,.86)), image-set(url("../images/dh-luxury/ornament/network-blackdh-768.avif") type("image/avif"), url("../images/dh-luxury/ornament/network-blackdh-768.webp") type("image/webp")); background-size: cover; }
.dh-faq { position: relative; z-index: 2; max-width: 720px; }
.dh-faq-frame__crest { position: absolute; top: 22px; right: 26px; width: 118px; opacity: .28; }
.dh-about-stage { display: grid; grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr); align-items: center; gap: 56px; }
.dh-about-stage__crest { padding: 30px; border: 1px solid rgba(245,206,128,.38); border-radius: 50%; background: var(--dh-gold-aura); box-shadow: var(--dh-edge-glow); }

.dh-page-masthead { min-height: 340px; padding-block: 92px; background: radial-gradient(circle at 86% 42%, rgba(212,145,58,.13), transparent 34%); }
.dh-page--about .dh-brand-seal--about { width: 300px; padding: 26px; border-color: rgba(245,206,128,.52); background: var(--dh-gold-aura); }
.dh-brand-seal img { display: block; width: 100%; height: auto; }
.dh-page--contact .dh-page-masthead::after { position: absolute; right: 4%; bottom: 28px; width: 240px; aspect-ratio: 1; background: url("../images/dh-luxury/contact/service-crest-240.webp") center / contain no-repeat; content: ""; }
.dh-list-page.dh-guide-archive { background-image: linear-gradient(rgba(3,4,7,.8),rgba(3,4,7,.94)), image-set(url("../images/dh-luxury/ornament/network-blackdh-768.avif") type("image/avif"),url("../images/dh-luxury/ornament/network-blackdh-768.webp") type("image/webp")); background-size: cover; }
.dh-page--guide-hub .dh-page-masthead::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(3,4,7,.8),rgba(3,4,7,.94)), image-set(url("../images/dh-luxury/ornament/network-blackdh-768.avif") type("image/avif"),url("../images/dh-luxury/ornament/network-blackdh-768.webp") type("image/webp")); background-size: cover; content: ""; pointer-events: none; }
.dh-article__cover { padding: 1px; border: 1px solid var(--dh-hairline-bright); box-shadow: var(--dh-edge-glow); }
.dh-article__body { background: var(--dh-surface-1); }
.dh-error { position: relative; overflow: clip; background: var(--dh-night-gradient); }
.dh-error-illustration { display: block; width: min(240px,100%); margin: 0 0 32px; }
.dh-error-illustration img { display: block; width: 100%; height: auto; }

.editor-styles-wrapper [data-dh-hero]::before, .editor-styles-wrapper [data-dh-game-universe]::before, .editor-styles-wrapper .dh-app-panel::before { position: absolute; top: 8px; left: 8px; z-index: 20; padding: 5px 9px; border-radius: 999px; background: var(--dh-gold); color: var(--dh-on-gold); font: 600 11px/1 var(--dh-font-utility); }
.editor-styles-wrapper [data-dh-hero]::before { content: "首頁 Hero"; }
.editor-styles-wrapper [data-dh-game-universe]::before { content: "類別舞台"; }
.editor-styles-wrapper .dh-app-panel::before { content: "App 場景"; }

@media (min-width: 768px) and (max-width: 1279px) {
  .dh-header__inner { height: 76px; }
  .dh-brand__image { width: 76px; height: 68px; }
  .dh-hero__title { font-size: 76px; }
  .dh-page-title { font-size: 60px; }
  .dh-article__title { font-size: 48px; }
  .dh-hero { min-height: 700px; }
  .dh-game-universe { grid-template-columns: 1fr; }
  .dh-game-universe__tabs { grid-template-columns: repeat(6, minmax(128px,1fr)); overflow-x: auto; }
  .dh-game-universe__stage { min-height: 420px; }
}

@media (max-width: 767px) {
  .dh-header__inner { height: 64px; }
  .dh-brand__image { width: 46px; height: 41px; }
  .dh-brand--image-failed { width: 46px; }
  .dh-footer__brand .dh-brand__image { width: 88px; height: 79px; }
  .dh-home-section { padding-block: 80px; }
  .dh-hero { min-height: 780px; padding-block: 60px 36px; }
  .dh-hero__layout { min-height: 690px; grid-template-columns: 1fr; gap: 36px; }
  .dh-hero__title { font-size: 50px; line-height: .98; }
  .dh-hero__scene { min-height: 380px; }
  .dh-hero__scene picture, .dh-hero__scene-image { min-height: 380px; object-position: center; }
  .dh-hero__crest { width: 74px; }
  .dh-particles, .dh-hero__ribbons i:last-child { display: none; }
  .dh-content-grid--promo, .dh-content-grid--strategy { display: flex; gap: 14px; margin-inline: -16px; padding: 0 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .dh-content-grid--promo > *, .dh-content-grid--strategy > * { flex: 0 0 86vw; scroll-snap-align: start; }
  .dh-game-universe { grid-template-columns: 1fr; gap: 18px; }
  .dh-game-universe__tabs { grid-template-columns: repeat(2,minmax(0,1fr)); grid-row: 2; }
  .dh-game-universe__tabs button { min-height: 52px; padding: 8px 10px; font-size: 14px; }
  .dh-game-universe__stage { min-height: 350px; }
  .dh-game-scene__copy { padding: 72px 20px 20px; }
  .dh-game-scene__copy h3 { font-size: 34px; }
  .dh-gold-river { height: 76px; margin-block: 44px -44px; }
  .dh-app-panel { min-height: 720px; grid-template-columns: 1fr; padding: 34px 22px; }
  .dh-app-panel__scene picture, .dh-app-panel__scene-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .dh-app-panel__scene::after { background: linear-gradient(180deg, rgba(3,4,7,.9), rgba(3,4,7,.48) 54%, rgba(3,4,7,.88)); }
  .dh-app-panel__actions { display: grid; }
  .dh-app-panel__actions .dh-button { width: 100%; }
  .dh-faq-frame { padding: 28px 18px; }
  .dh-faq-frame__crest { width: 72px; }
  .dh-about-stage { grid-template-columns: 1fr; }
  .dh-about-stage__crest { width: 180px; margin-inline: auto; }
  .dh-page--contact .dh-page-masthead { padding-right: 120px; }
  .dh-page--contact .dh-page-masthead::after { right: 0; width: 120px; }
  .dh-page-title { font-size: 42px; }
  .dh-article__title { font-size: 38px; }
}

@media (max-width: 359px) {
  .dh-content-grid--hot-games, .dh-home-section--advantages .dh-icon-grid, .dh-home-section--guarantees .dh-icon-grid { grid-template-columns: 1fr; }
  .dh-hero__title { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .dh-particles { display: none !important; }
  .dh-hero__ribbons, .dh-hero__aura, .dh-gold-river span, .dh-gold-river i, .dh-game-scene { transform: none !important; }
}

/* 0.3 Direction A：同一套 token 驅動前台與 Gutenberg iframe。 */
.dh-header { background: rgba(8, 7, 6, 0.34); border-color: transparent; backdrop-filter: none; transition: background 220ms var(--dh-ease), border-color 220ms var(--dh-ease), backdrop-filter 220ms var(--dh-ease); }
.dh-header.is-scrolled { background: rgba(8, 7, 6, 0.9); border-color: rgba(212, 145, 58, 0.22); backdrop-filter: blur(18px) saturate(1.2); }
.dh-header__inner { height: 72px; padding-inline: 32px; }

.dh-home,
.dh-page-shell,
.dh-list-page,
.dh-article-layout { background: var(--dh-night); }

.dh-home-section { width: 100%; max-width: none; padding: 104px 32px; border-top: 1px solid rgba(212, 145, 58, 0.12); }
.dh-section-shell { width: min(100%, var(--dh-wide)); margin-inline: auto; }
.dh-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: end; gap: 32px; margin-bottom: 48px; }
.dh-section-heading .dh-eyebrow { margin: 0 0 8px; }
.dh-section-title { margin: 0; font: 700 clamp(40px, 5.2vw, 72px)/0.98 var(--dh-font-display); letter-spacing: -0.04em; }
.dh-eyebrow { color: var(--dh-gold-bright); font: 600 12px/1.4 var(--dh-font-utility); letter-spacing: 0.18em; text-transform: uppercase; }

.dh-hero { width: 100%; min-height: 680px; max-width: none; padding: 112px 32px 104px; background: var(--dh-night); overflow: clip; }
.dh-hero__layout, .dh-carousel { width: min(100%, var(--dh-wide)); margin-inline: auto; }
.dh-hero__layout { grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr); }
.dh-hero__title { font-size: 96px; line-height: .9; }
.dh-hero__anchor { width: min(100%, 360px); }
.dh-brand-seal { display: grid; width: clamp(210px, 23vw, 330px); aspect-ratio: 1; margin-inline: auto; border: 1px solid rgba(245, 206, 128, 0.72); border-radius: 50%; background: radial-gradient(circle at 40% 32%, rgba(245, 206, 128, 0.16), transparent 55%), var(--dh-surface-1); box-shadow: inset 0 0 0 12px var(--dh-canvas), inset 0 0 0 13px rgba(212,145,58,.45), 0 30px 90px rgba(0,0,0,.55); place-content: center; text-align: center; transform-origin: center; }
.dh-brand-seal span { color: var(--dh-gold-bright); font: 900 clamp(44px, 6vw, 82px)/1 var(--dh-font-display); letter-spacing: .08em; }
.dh-brand-seal small { margin-top: 14px; color: var(--dh-gold); font: 600 11px/1 var(--dh-font-utility); letter-spacing: .34em; }
.dh-carousel__viewport { display: grid; }
.dh-carousel [data-dh-slide] { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 500ms var(--dh-ease), visibility 0s linear 500ms; }
.dh-carousel [data-dh-slide][hidden] { display: block !important; }
.dh-carousel [data-dh-slide]:not([hidden]) { opacity: 1; visibility: visible; animation: none; transition: opacity 500ms var(--dh-ease); }

.dh-content-grid--promo { grid-template-columns: 2fr 1fr 1fr; }
.dh-content-grid--promo > :first-child { grid-row: span 2; }
.dh-content-grid--game-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dh-content-grid--strategy { display: grid; grid-template-columns: 2fr 1fr 1fr; overflow: visible; }
.dh-content-grid--strategy > :first-child { grid-row: span 2; }
.dh-content-grid--hot-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
.dh-reviews { display: grid; grid-template-columns: 2fr 1fr 1fr; overflow: visible; }
.dh-review:first-child { grid-row: span 2; padding: 48px; }
.dh-review:first-child blockquote { font-size: clamp(24px, 3vw, 40px); }

.dh-steps-wrap { position: relative; }
.dh-steps { position: relative; gap: 0; }
.dh-steps__axis { position: absolute; top: 45px; right: 10%; left: 10%; z-index: 0; height: 1px; background: var(--dh-metallic); transform-origin: left center; }
.dh-steps__item { position: relative; z-index: 1; background: transparent; border: 0; }
.dh-steps__number { box-shadow: 0 0 0 8px var(--dh-canvas); }

.dh-icon-item { border: 0; background: transparent; }
.dh-icon-item__approved { display: block; width: 40px; height: 40px; margin: 0 auto 20px; object-fit: contain; }
.dh-home-section--about .dh-section-shell,
.dh-page--about .dh-page-content { position: relative; padding: clamp(32px, 5vw, 72px); background-image: linear-gradient(rgba(8,7,6,.78), rgba(8,7,6,.9)), url("../images/kingdom-blackdh/introduction-item-bg-blackDh-1280.webp"); background-image: linear-gradient(rgba(8,7,6,.78), rgba(8,7,6,.9)), image-set(url("../images/kingdom-blackdh/introduction-item-bg-blackDh-1280.avif") type("image/avif"), url("../images/kingdom-blackdh/introduction-item-bg-blackDh-1280.webp") type("image/webp")); background-position: center; background-size: cover; background-repeat: no-repeat; border: 1px solid rgba(212,145,58,.2); }

.dh-page-shell { min-height: 64vh; padding: 56px 32px 112px; }
.dh-page-shell > * { width: min(100%, var(--dh-wide)); margin-inline: auto; }
.dh-page-masthead { position: relative; padding: 80px 0 64px; border-bottom: 1px solid rgba(212,145,58,.2); }
.dh-page--about .dh-page-masthead { padding-right: min(34vw, 360px); }
.dh-page--about .dh-brand-seal--about { position: absolute; right: 0; bottom: 32px; width: min(26vw, 300px); }
.dh-page-title { margin: 8px 0 0; font: 700 72px/.95 var(--dh-font-display); letter-spacing: -.04em; }
.dh-article__title { margin: 8px 0 0; font: 700 56px/1.02 var(--dh-font-display); letter-spacing: -.04em; }
.dh-page-content { padding-top: 64px; }
.dh-contact-safety { max-width: 720px; padding: 20px 24px; margin: 40px auto 0; border-left: 3px solid var(--dh-gold); background: var(--dh-surface-1); color: var(--dh-ink-muted); }
.dh-editorial-lead { color: var(--dh-ink); font: 500 clamp(20px, 2.3vw, 30px)/1.55 var(--dh-font-display); }
.dh-principles { gap: 16px; margin-block: 48px; }
.dh-principles > .wp-block-column { padding: 28px; background: var(--dh-surface-1); border-top: 1px solid var(--dh-gold); }
.dh-maintenance-timeline { padding-left: 24px; border-left: 1px solid var(--dh-gold); }
.dh-maintenance-timeline li { padding: 8px 0 24px 16px; }

.dh-article-grid { display: grid; grid-template-columns: minmax(0, 720px) 220px; justify-content: center; align-items: start; gap: 72px; padding-top: 64px; }
.dh-article-main { min-width: 0; }
.dh-article-rail { position: sticky; top: 104px; padding: 20px 0 20px 20px; border-left: 1px solid rgba(212,145,58,.32); color: var(--dh-ink-muted); }
.dh-article__body h2, .dh-page--editorial .dh-page-content h2 { position: relative; padding-left: 20px; margin-top: 56px; }
.dh-article__body h2::before, .dh-page--editorial .dh-page-content h2::before { position: absolute; top: .2em; bottom: .2em; left: 0; width: 3px; content: ""; background: var(--dh-metallic); }

.dh-card, .dh-content-card, .dh-review { background: var(--dh-surface-1); border-radius: 2px; }
.dh-card__media, .dh-content-card__image { border-radius: 0; }
.dh-image-fallback { display: grid; grid-template-rows: auto auto; gap: 16px; min-height: 220px; background: radial-gradient(circle, rgba(212,145,58,.16), transparent 60%), var(--dh-surface-2); border: 1px solid rgba(212,145,58,.2); place-content: center; place-items: center; }
.dh-image-fallback::after { transform: none; }
.dh-image-fallback__link { display: grid; min-width: 100%; min-height: 220px; color: var(--dh-gold-bright); place-content: center; place-items: center; text-align: center; }
.dh-image-fallback__label { display: block; max-width: 24ch; padding: 16px; font: 700 16px/1.5 var(--dh-font-display); }

.dh-editorial-cards { display: grid; gap: 24px; }
.dh-editorial-card { position: relative; min-width: 0; overflow: hidden; background: var(--dh-glass); border: 1px solid rgba(245,206,128,.2); border-radius: 20px; color: inherit; box-shadow: var(--dh-edge-glow); text-decoration: none; }
.dh-editorial-card__media { position: relative; min-height: 220px; overflow: hidden; }
.dh-editorial-card__media picture, .dh-editorial-card__media img { width: 100%; height: 100%; object-fit: cover; }
.dh-editorial-card__body { padding: 24px; }
.dh-editorial-card__body h3 { margin: 4px 0 12px; font-size: 26px; }
.dh-editorial-card__tag, .dh-editorial-card__action { color: var(--dh-gold-bright); font: 700 12px/1.4 var(--dh-font-utility); letter-spacing: .08em; }
.dh-editorial-cards--hot-events { grid-template-columns: 2fr 1fr; }
.dh-editorial-cards--hot-events .dh-editorial-card--lead { grid-row: span 2; }
.dh-editorial-cards--hot-events .dh-editorial-card--lead .dh-editorial-card__media { width: 100%; min-height: 0; aspect-ratio: 16/9; }
.dh-editorial-cards--strategy { grid-template-columns: 2fr 1fr; }
.dh-editorial-cards--strategy .dh-editorial-card--lead { grid-row: span 2; }
.dh-editorial-cards--strategy .dh-editorial-card--lead .dh-editorial-card__media { aspect-ratio: 16/10; }
.dh-editorial-cards--strategy .dh-editorial-card--horizontal { display: grid; grid-template-columns: 42% 1fr; }
.dh-editorial-cards--strategy .dh-editorial-card--horizontal .dh-editorial-card__media { min-height: 190px; }
.dh-editorial-cards--hot-games { grid-template-columns: 1.25fr .75fr; grid-auto-rows: minmax(230px,auto); }
.dh-editorial-cards--hot-games .dh-editorial-card--tall { grid-row: span 2; }
.dh-editorial-cards--hot-games .dh-editorial-card--wide { grid-column: 2; }

.dh-footer__column summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; color: var(--dh-ink); font: 700 18px/1.2 var(--dh-font-display); list-style: none; }
.dh-footer__column summary::-webkit-details-marker { display: none; }
.dh-footer__column summary span { display: none; }

.dh-archive-showcase { padding-block: 32px 96px; }
.dh-archive-masthead { position: relative; display: grid; grid-template-columns: 8fr 4fr; align-items: center; min-height: 360px; margin-bottom: 48px; overflow: hidden; border-bottom: 1px solid rgba(245,206,128,.24); }
.dh-archive-masthead__visual { width: 260px; aspect-ratio: 1; justify-self: end; background: url("../images/dh-luxury/brand/logo-bd-192.webp") center/contain no-repeat; opacity: .82; }
.dh-archive-masthead__visual--guide { background-image: url("../images/dh-luxury/icons/blackdh-process-192.webp"); }
.dh-archive-masthead__visual--sports { background-image: none; border: 2px solid rgba(245,206,128,.55); border-radius: 50%; box-shadow: inset 0 0 0 30px rgba(7,18,38,.65); }
.dh-archive-masthead__visual--game { width: min(100%,420px); aspect-ratio: 24/7; background-image: image-set(url("../images/dh-luxury/categories/live-dh-720.avif") type("image/avif"),url("../images/dh-luxury/categories/live-dh-720.webp") type("image/webp")); }
.dh-guide-compass { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; padding: 28px; margin-bottom: 32px; background: image-set(url("../images/dh-luxury/ornament/network-blackdh-768.avif") type("image/avif"),url("../images/dh-luxury/ornament/network-blackdh-768.webp") type("image/webp")) center/cover; border: 1px solid rgba(245,206,128,.2); }
.dh-archive-filters { display: flex; gap: 10px; padding-block: 4px 36px; overflow-x: auto; }
.dh-archive-filters a { flex: 0 0 auto; min-height: 44px; padding: 12px 18px; border: 1px solid var(--dh-hairline); border-radius: 999px; color: var(--dh-ink); text-decoration: none; }
.dh-archive-filters .is-selected { background: var(--dh-metallic); color: var(--dh-on-gold); }
.dh-archive-lead-layout { display: grid; grid-template-columns: 8fr 4fr; gap: 28px; margin-bottom: 48px; }
.dh-archive-latest { display: grid; gap: 16px; }
.dh-archive-latest > h2 { margin: 0; color: var(--dh-gold-bright); font-size: 18px; }
.dh-archive-card { overflow: hidden; background: var(--dh-glass); border: 1px solid rgba(245,206,128,.2); border-radius: 18px; }
.dh-archive-card > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.dh-archive-card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--dh-navy); }
.dh-archive-card--lead .dh-archive-card__media, .dh-archive-showcase--guide .dh-archive-card--lead .dh-archive-card__media { aspect-ratio: 16/9; }
.dh-archive-card__media img { width: 100%; height: 100%; object-fit: cover; }
.dh-archive-card__fallback { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 70% 30%,rgba(212,145,58,.28),transparent 36%),var(--dh-night-gradient); }
.dh-archive-card__fallback--game { background-image: image-set(url("../images/dh-luxury/categories/chess-dh-720.avif") type("image/avif"),url("../images/dh-luxury/categories/chess-dh-720.webp") type("image/webp")); background-position: center; background-size: cover; }
.dh-archive-card__body { padding: 22px; }
.dh-archive-card__body time { color: var(--dh-ink-muted); font-size: 14px; }
.dh-archive-card__body h2 { margin: 8px 0 12px; font-size: 28px; }
.dh-archive-card--latest > a { display: grid; grid-template-columns: 38% 1fr; }
.dh-archive-card--latest .dh-archive-card__body { padding: 16px; }
.dh-archive-card--latest .dh-archive-card__body h2 { font-size: 19px; }
.dh-archive-card--latest .dh-archive-card__body p { display: none; }
.dh-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.dh-archive-grid .dh-archive-card--wide { grid-column: span 2; }
.dh-status-badge { display: inline-flex; padding: 4px 10px; background: #51483b; color: #fff; border-radius: 999px; }
.dh-archive-card.is-expired { filter: saturate(.4); }
.dh-archive-empty { display: grid; justify-items: start; gap: 14px; padding: 48px; border: 1px solid var(--dh-gold); background: var(--dh-surface-1); }
.dh-archive-empty__seal { display: grid; width: 72px; aspect-ratio: 1; border: 1px solid var(--dh-gold-bright); border-radius: 50%; color: var(--dh-gold-bright); font-size: 0; place-items: center; }
.dh-archive-empty > div { display: flex; gap: 12px; }

.dh-article-showcase { padding-block: 32px 96px; }
.dh-article-hero { display: grid; grid-template-columns: minmax(0,720px) 240px; justify-content: space-between; align-items: center; min-height: 380px; }
.dh-article__summary { color: var(--dh-ink-muted); font-size: 20px; line-height: 1.7; }
.dh-article-hero__process { width: 192px; aspect-ratio: 1; background: url("../images/dh-luxury/icons/blackdh-process-192.webp") center/contain no-repeat; }
.dh-article__cover { aspect-ratio: 16/9; overflow: hidden; }
.dh-article__cover img { width: 100%; height: 100%; object-fit: cover; }
.dh-article__cover-fallback { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 70% 30%,rgba(245,206,128,.2),transparent 32%),var(--dh-night-gradient); }
.dh-article__cover-fallback--guide { background: url("../images/dh-luxury/icons/blackdh-process-192.webp") center/192px no-repeat,var(--dh-night-gradient); }
.dh-guide-preparation, .dh-context-notice { padding: 24px; margin-bottom: 32px; border-left: 3px solid var(--dh-gold); background: var(--dh-surface-2); }
.dh-guide-steps h2 { counter-increment: guide-step; }
.dh-guide-steps h2::before { content: counter(guide-step,decimal-leading-zero); display: inline-grid; width: 56px; height: 56px; margin-right: 16px; background: var(--dh-metallic); color: var(--dh-on-gold); place-items: center; }
.dh-guide-steps { counter-reset: guide-step; }
.dh-article-related { margin-top: 56px; }
.dh-article-related > div { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.dh-article-related__item { min-height: 120px; padding: 24px; background: var(--dh-glass); border: 1px solid rgba(245,206,128,.2); color: var(--dh-ink); text-decoration: none; }
.dh-article-related__item--lead { grid-row: span 2; }

.dh-about-manifesto { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: center; }
.dh-about-manifesto__mural { min-height: 320px; background: image-set(url("../images/dh-luxury/ornament/network-blackdh-768.avif") type("image/avif"),url("../images/dh-luxury/ornament/network-blackdh-768.webp") type("image/webp")) center/cover; }
.dh-principles > .wp-block-column { position: relative; padding-top: 116px; }
.dh-principles > .wp-block-column::before { position: absolute; top: 22px; left: 24px; width: 80px; aspect-ratio: 1; content: ""; background: url("../images/dh-luxury/icons/blackdh-process-96.webp") center/contain no-repeat; }
.dh-principles > .wp-block-column:nth-child(2)::before { background-image: url("../images/dh-luxury/icons/blackdh-location-96.webp"); }
.dh-principles > .wp-block-column:nth-child(3)::before { background-image: url("../images/dh-luxury/icons/blackdh-content-96.webp"); }
.dh-principles > .wp-block-column:nth-child(4)::before { background-image: url("../images/dh-luxury/icons/blackdh-shield-96.webp"); }
.dh-maintenance-timeline { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 20px 0 0; border-top: 1px solid var(--dh-gold); border-left: 0; counter-reset: lifecycle; }
.dh-maintenance-timeline li { counter-increment: lifecycle; padding: 20px 14px; }
.dh-maintenance-timeline li::before { display: block; margin-bottom: 12px; color: var(--dh-gold-bright); content: "0" counter(lifecycle); font: 700 24px/1 var(--dh-font-display); }
.dh-editorial-promise, .dh-contact-prepare, .dh-guide-hub-lead, .dh-campaign-masthead, .dh-editorial-cover { padding: clamp(28px,5vw,64px); margin-block: 48px; background: var(--dh-glass); border: 1px solid rgba(245,206,128,.2); }
.dh-guide-hub-lead { position: relative; padding-right: min(36vw,360px); }
.dh-guide-hub-lead__process { position: absolute; top: 50%; right: 64px; width: 192px; aspect-ratio: 1; background: url("../images/dh-luxury/icons/blackdh-process-192.webp") center/contain no-repeat; transform: translateY(-50%); }
.dh-guide-method { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; counter-reset: guide-method; }
.dh-guide-method li { min-height: 140px; padding: 24px; background: var(--dh-surface-1); border-top: 1px solid var(--dh-gold); }
.dh-contact-prepare { background-image: url("../images/dh-luxury/contact/service-online-192.webp"); background-position: calc(100% - 32px) center; background-repeat: no-repeat; }
.dh-page--contact .dh-contact-item { position: relative; min-height: 190px; padding-left: 136px; }
.dh-page--contact .dh-contact-item::before { position: absolute; top: 28px; left: 24px; width: 96px; aspect-ratio: 1; content: ""; background: url("../images/dh-luxury/contact/service-online-96.webp") center/contain no-repeat; }
.dh-page--contact .dh-content-cta { position: relative; min-height: 220px; padding-right: 220px; }
.dh-page--contact .dh-content-cta::after { position: absolute; right: 28px; bottom: 14px; width: 192px; aspect-ratio: 1; content: ""; background: url("../images/dh-luxury/contact/service-float-192.webp") center/contain no-repeat; }

.dh-guide-archive .dh-card-grid .wp-block-post-template > .wp-block-post:first-child { grid-column: span 2; grid-row: span 2; }
.dh-guide-archive .wp-block-post:not(:first-child) .dh-card__media {
  position: relative;
  overflow: hidden;
  /* 覆寫 Gutenberg 16:10 的 inline style，保留首篇 16:10、次篇固定 4:3。 */
  aspect-ratio: 4 / 3 !important;
}
.dh-guide-archive .wp-block-post:not(:first-child) .dh-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.dh-guide-archive .wp-block-post:first-child .dh-card__title { font-size: 32px; }
.dh-guide-archive .wp-block-post:first-child .dh-card__excerpt { font-size: 16px; line-height: 1.7; }
.dh-guide-empty { display: grid; justify-items: start; }
.dh-guide-empty__seal { display: grid; width: 72px; aspect-ratio: 1; margin: 0 0 24px; border: 1px solid var(--dh-gold-bright); border-radius: 50%; box-shadow: inset 0 0 0 6px var(--dh-surface-1), inset 0 0 0 7px var(--dh-gold); color: var(--dh-gold-bright); font: 900 28px/1 var(--dh-font-display); place-items: center; }

@media (min-width: 768px) and (max-width: 1279px) {
  .dh-hero__title { font-size: 76px; }
}

@media (max-width: 1023px) {
  .dh-home-section { padding-block: 80px; }
  .dh-content-grid--promo, .dh-content-grid--strategy, .dh-reviews { grid-template-columns: 1fr 1fr; }
  .dh-content-grid--promo > :first-child, .dh-content-grid--strategy > :first-child, .dh-review:first-child { grid-column: 1 / -1; grid-row: auto; }
  .dh-article-grid { grid-template-columns: minmax(0, 720px); }
  .dh-article-rail { position: static; padding-left: 0; border-left: 0; border-top: 1px solid rgba(212,145,58,.32); }
  .dh-archive-lead-layout, .dh-article-hero { grid-template-columns: 1fr; }
  .dh-archive-latest { width: min(86%, 760px); margin-left: auto; }
  .dh-article-hero__process { width: 120px; }
}

@media (max-width: 767px) {
  .dh-header__inner { height: 60px; padding-inline: 16px; }
  .dh-home-section, .dh-page-shell { padding: 64px 16px; }
  .dh-section-heading { grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; }
  .dh-hero { min-height: 0; padding: 72px 16px 64px; }
  .dh-hero__layout { grid-template-columns: 1fr; }
  .dh-hero__anchor { display: none; }
  .dh-hero__title { font-size: 48px; line-height: .96; }
  .dh-content-grid--promo, .dh-content-grid--strategy, .dh-content-grid--hot-games, .dh-reviews { grid-template-columns: 1fr; }
  .dh-content-grid--game-categories, .dh-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dh-steps { grid-template-columns: 1fr; padding-left: 32px; }
  .dh-steps__axis { top: 24px; bottom: 24px; left: 20px; width: 1px; height: auto; transform-origin: center top; }
  .dh-steps__item { padding: 12px 0 28px 24px; text-align: left; }
  .dh-steps__number { position: absolute; top: 10px; left: -32px; width: 40px; height: 40px; margin: 0; }
  .dh-page-masthead { padding: 56px 0 40px; }
  .dh-page--about .dh-page-masthead { padding-right: 0; }
  .dh-page--about .dh-brand-seal--about { position: static; width: 180px; margin-top: 32px; }
  .dh-page-content { padding-top: 40px; }
  .dh-page-title { font-size: 42px; line-height: 1.02; }
  .dh-article__title { font-size: 38px; line-height: 1.08; }
  .dh-article__body { font-size: 16px; line-height: 1.8; }
  .dh-header__actions .dh-button--primary { min-height: 44px; }
  .dh-guide-archive .dh-card-grid .wp-block-post-template > .wp-block-post:first-child { grid-column: auto; grid-row: auto; }
  .dh-guide-archive .wp-block-post:first-child .dh-card__title { font-size: 26px; }
  .dh-icon-item__approved { width: 40px; height: 40px; }
  .dh-footer__column { border-top: 1px solid rgba(245,206,128,.2); }
  .dh-footer__column summary { min-height: 48px; margin: 0; cursor: pointer; }
  .dh-footer__column summary span { display: block; transition: transform 220ms ease; }
  .dh-footer__column[open] summary span { transform: rotate(45deg); }
  .dh-footer__column nav { padding-bottom: 20px; }
  .dh-editorial-cards--hot-events, .dh-editorial-cards--strategy, .dh-editorial-cards--hot-games, .dh-archive-lead-layout, .dh-archive-grid, .dh-about-manifesto, .dh-guide-method { grid-template-columns: 1fr; }
  .dh-editorial-cards--hot-games > .dh-editorial-card { grid-column: auto; grid-row: auto; }
  .dh-editorial-cards--strategy { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .dh-editorial-cards--strategy > * { flex: 0 0 86vw; scroll-snap-align: start; }
  .dh-editorial-cards--strategy .dh-editorial-card--horizontal { display: block; }
  .dh-hot-events-layout .dh-editorial-card--lead .dh-editorial-card__media { min-height: 0; }
  .dh-archive-masthead { grid-template-columns: 1fr; min-height: 300px; }
  .dh-archive-masthead__visual { width: 128px; justify-self: start; }
  .dh-archive-card--latest > a { grid-template-columns: 38% 1fr; }
  .dh-archive-latest { width: 100%; margin-left: 0; }
  .dh-archive-grid .dh-archive-card--wide { grid-column: auto; }
  .dh-article-related > div { grid-template-columns: 1fr; }
  .dh-article-related__item--lead { grid-row: auto; }
  .dh-about-manifesto__mural { min-height: 240px; }
  .dh-maintenance-timeline { grid-template-columns: 1fr; padding-left: 20px; border-top: 0; border-left: 1px solid var(--dh-gold); }
  .dh-guide-hub-lead { padding-right: 28px; }
  .dh-guide-hub-lead__process { position: static; width: 120px; transform: none; }
  .dh-page--contact .dh-contact-item { padding: 132px 24px 24px; }
  .dh-page--contact .dh-content-cta { padding-right: 24px; padding-bottom: 160px; }
  .dh-page--contact .dh-content-cta::after { right: 50%; width: 128px; transform: translateX(50%); }
  .dh-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .dh-footer__brand { grid-column: auto; }
}

@media (max-width: 359px) {
  .dh-home-section, .dh-page-shell, .dh-hero { padding-inline: 16px; }
  .dh-section-title { font-size: 36px; }
  .dh-header__actions .dh-button--primary { display: inline-flex; min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .dh-brand__image { width: 46px; height: 41px; }
  .dh-brand--image-failed { width: 46px; }
  .dh-brand__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dh-carousel [data-dh-slide], .dh-carousel [data-dh-slide]:not([hidden]), .dh-marquee__track { animation: none !important; transition: none !important; }
  [data-dh-reveal] *, [data-dh-hero] *, [data-dh-steps] * { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .dh-shimmer::after { animation: none !important; }
}

/* Royal Midnight 最終 cascade：覆蓋上一版 Direction A 的相同 selector。 */
.dh-header { background: rgba(3,4,7,.88); border-bottom-color: rgba(245,206,128,.18); backdrop-filter: blur(18px) saturate(1.25); }
.dh-header__inner { height: 91px; }
.dh-header.is-scrolled .dh-header__inner { height: 75px; }
.dh-brand__image { width: 76px; height: 68px; }
.dh-header.is-scrolled .dh-brand__image { width: 58px; height: 52px; }
.dh-brand--image-failed { width: 76px; }
.dh-home-section { padding-block: clamp(112px,9vw,144px); }
.dh-section-title { font-size: clamp(34px,4.2vw,60px); }
.dh-page-title { font-size: 78px; }
.dh-article__title { font-size: 58px; }
.dh-hero { min-height: 760px; padding-block: 96px; background: var(--dh-night-gradient); }
.dh-hero__layout { min-height: 560px; }
.dh-hero__title { font-size: 112px; line-height: .9; }
.dh-content-card, .dh-card, .dh-review, .dh-contact-item, .dh-promo-group, .dh-content-cta { background: var(--dh-glass); border-color: rgba(245,206,128,.2); border-radius: 16px; box-shadow: var(--dh-edge-glow); }
.dh-steps__image, .dh-icon-item__approved { width: min(100%,192px); height: auto; }
.dh-home-section--guarantees .dh-icon-item__approved { width: 96px; height: auto; }
.dh-home-section--about .dh-section-shell, .dh-page--about .dh-page-content { background-image: linear-gradient(rgba(3,4,7,.7),rgba(3,4,7,.88)), image-set(url("../images/dh-luxury/ornament/network-blackdh-768.avif") type("image/avif"),url("../images/dh-luxury/ornament/network-blackdh-768.webp") type("image/webp")); }

@media (min-width: 768px) and (max-width: 1279px) {
  .dh-header__inner { height: 75px; }
  .dh-brand__image { width: 76px; height: 68px; }
  .dh-brand--image-failed { width: 76px; }
  .dh-page-title { font-size: 60px; }
  .dh-article__title { font-size: 48px; }
  .dh-hero__title { font-size: 76px; }
}

@media (max-width: 767px) {
  .dh-header, .dh-header.is-scrolled { background: var(--dh-night); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .dh-header__inner { height: 63px; }
  .dh-header.is-scrolled .dh-header__inner { height: 63px; }
  .dh-brand__image { width: 46px; height: 41px; }
  .dh-header.is-scrolled .dh-brand__image { width: 46px; height: 41px; }
  .dh-brand--image-failed { width: 46px; }
  .dh-home-section { padding-block: 80px; }
  .dh-hero { min-height: 780px; padding-block: 60px 36px; }
  .dh-hero__layout { min-height: 690px; }
  .dh-hero__title { font-size: 50px; line-height: .98; }
  .dh-page-title { font-size: 42px; }
  .dh-article__title { font-size: 38px; }
  .dh-icon-item__approved { width: min(100%,192px); height: auto; }
  .dh-home-section--guarantees .dh-icon-item__approved { width: 96px; }
  .dh-nav--mobile { position: absolute; top: 100%; right: 0; bottom: auto; left: 0; height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; background: rgba(7,18,38,.96); border-top: 1px solid rgba(245,206,128,.28); backdrop-filter: blur(12px) saturate(1.2); }
  .dh-hero__gold, .dh-marquee__track { animation: none; }
  .dh-marquee { overflow: visible; }
  .dh-marquee__track, .dh-marquee__set { width: 100%; flex-wrap: wrap; }
  .dh-marquee__set[aria-hidden="true"] { display: none; }
  .dh-content-grid--promo, .dh-content-grid--strategy, .dh-editorial-cards--strategy, .dh-rail { display: grid; grid-template-columns: minmax(0, 1fr); margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .dh-content-grid--promo > *, .dh-content-grid--strategy > *, .dh-editorial-cards--strategy > *, .dh-rail > * { flex: initial; scroll-snap-align: none; }
  .dh-header.is-drawer-open .dh-header__inner > .dh-brand { visibility: hidden; pointer-events: none; }
  .dh-drawer-brand img { width: 72px; height: 65px; }
}

@media (max-width: 359px) {
  .dh-brand__image { width: 46px; height: 41px; }
  .dh-brand--image-failed { width: 46px; }
}

@media (max-width: 767px) {
  .dh-contact-prepare { position: relative; isolation: isolate; background-image: none; }
  .dh-contact-prepare::after { position: absolute; z-index: -1; right: 16px; bottom: 12px; width: 112px; aspect-ratio: 1; content: ""; background: url("../images/dh-luxury/contact/service-online-192.webp") center/contain no-repeat; opacity: .14; }
}

/* v0.3.7 真實素材層：只調整影像呈現，保留原有版面與動效節奏。 */
.dh-real-picture { display: block; }
.dh-real-picture.dh-image-fallback { display: grid; }
.dh-real-picture img { display: block; width: 100%; height: 100%; object-fit: contain; }

.dh-hero__scene-image {
  background-image:
    image-set(url("../images/daheng-real/sprites/hero-queen.avif") type("image/avif"), url("../images/daheng-real/sprites/hero-queen.webp") type("image/webp")),
    image-set(url("../images/daheng-real/sprites/hero-tiger.avif") type("image/avif"), url("../images/daheng-real/sprites/hero-tiger.webp") type("image/webp")),
    image-set(url("../images/daheng-real/ornaments/hero-flare-371.avif") type("image/avif"), url("../images/daheng-real/ornaments/hero-flare-371.webp") type("image/webp")),
    linear-gradient(90deg, rgba(3,4,7,.9), rgba(3,4,7,.14) 52%, rgba(3,4,7,.58)),
    image-set(url("../images/daheng-real/backdrops/onyx-network-1528.avif") type("image/avif"), url("../images/daheng-real/backdrops/onyx-network-1528.webp") type("image/webp"));
  background-position: right -28px bottom -8px, left -36px bottom -10px, 48% 22%, center, center;
  background-repeat: no-repeat;
  background-size: min(78%, 460px) auto, min(48%, 278px) auto, 72% auto, cover, cover;
}

.dh-carousel__pending { position: relative; min-height: 0; aspect-ratio: 16 / 6; background: var(--dh-night); }
.dh-carousel__pending .dh-real-picture, .dh-carousel__pending img { width: 100%; height: 100%; }
.dh-carousel__pending img { object-fit: cover; opacity: .6; }
.dh-carousel__pending figcaption { position: absolute; inset: 0; display: grid; color: var(--dh-gold-pale); font: 700 clamp(18px,2vw,28px)/1.2 var(--dh-font-display); letter-spacing: .08em; place-items: center; text-shadow: 0 2px 18px #000; }

.dh-game-scene { background: radial-gradient(circle at 72% 42%, rgba(245,206,128,.2), transparent 38%), var(--dh-navy); }
.dh-game-scene > .dh-real-picture { position: absolute; inset: 0; }
.dh-game-scene > .dh-real-picture img { position: absolute; right: 2%; bottom: 0; width: min(52%,420px); height: auto; max-height: 88%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.42)); }
.dh-game-scene__copy { z-index: 2; }

.dh-editorial-card__media { background: radial-gradient(circle at 62% 46%, rgba(245,206,128,.2), transparent 42%), var(--dh-navy); }
.dh-editorial-card__media > .dh-real-picture { width: 100%; height: 100%; }
.dh-editorial-card__media .dh-real-picture img { width: min(86%,420px); margin-left: auto; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.38)); }
.dh-editorial-cards--hot-games .dh-editorial-card--wide .dh-real-picture img { width: min(52%,420px); }
.dh-editorial-cards--hot-games .dh-editorial-card--compact .dh-real-picture img { width: min(68%,420px); }
.dh-editorial-cards--strategy .dh-editorial-card__media .dh-real-picture img { width: min(42%,192px); margin-inline: auto; padding: clamp(8px,1.5vw,16px); }
.dh-editorial-card__media .dh-real-picture--backdrop-network img { width: 100%; padding: 0; object-fit: cover; opacity: .72; }

.dh-content-card > .dh-real-picture { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.dh-content-card > .dh-real-picture img { object-fit: cover; opacity: .72; }
.dh-steps__item > .dh-real-picture { width: min(100%,192px); aspect-ratio: 1; margin: 0 auto 16px; }
.dh-steps__item > .dh-real-picture img { object-fit: contain; }
.dh-icon-item > .dh-real-picture { width: min(100%,192px); aspect-ratio: 1; margin: 0 auto 20px; }

.dh-app-panel__scene .dh-real-picture, .dh-app-panel__scene .dh-real-picture img { width: 100%; height: 100%; }
.dh-app-panel__scene .dh-real-picture img { object-fit: cover; object-position: center; opacity: .72; }
.dh-home-section--reviews::after { position: absolute; z-index: 0; inset: 12% 0; background: linear-gradient(rgba(8,7,6,.84),rgba(8,7,6,.92)), image-set(url("../images/daheng-real/backdrops/onyx-network-768.avif") type("image/avif"),url("../images/daheng-real/backdrops/onyx-network-768.webp") type("image/webp")) center/cover; content: ""; opacity: .34; pointer-events: none; }
.dh-home-section--about .dh-section-shell::after { display: block; width: min(100%,960px); aspect-ratio: 960 / 53; margin: 32px auto 0; background: image-set(url("../images/daheng-real/ornaments/gold-line-960.avif") type("image/avif"),url("../images/daheng-real/ornaments/gold-line-960.webp") type("image/webp")) center/contain no-repeat; content: ""; opacity: .72; }

.dh-archive-card__media > .dh-real-picture, .dh-article__cover > .dh-real-picture { width: 100%; height: 100%; background: radial-gradient(circle at 62% 44%,rgba(245,206,128,.18),transparent 42%),var(--dh-navy); }
.dh-archive-card__media > .dh-real-picture img, .dh-article__cover > .dh-real-picture img { object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.38)); }
.dh-archive-card__media > .dh-real-picture--backdrop-network img, .dh-article__cover > .dh-real-picture--backdrop-network img { object-fit: cover; opacity: .7; }
.dh-real-cover[class*="dh-real-picture--guide-"], .dh-core-featured-image__fallback[class*="dh-real-picture--guide-"] { display: grid; place-items: center; }
.dh-real-cover[class*="dh-real-picture--guide-"] img, .dh-core-featured-image__fallback[class*="dh-real-picture--guide-"] img { width: min(52%,320px); height: auto; max-height: 86%; margin: auto; }

@media (max-width: 767px) {
  .dh-hero__scene { min-height: 390px; }
  .dh-hero__scene picture, .dh-hero__scene-image { min-height: 390px; }
  .dh-hero__scene-image { background-position: right -30px bottom -2px, left -42px bottom -6px, 44% 16%, center, center; background-size: 88% auto, 58% auto, 92% auto, cover, cover; }
  .dh-carousel__pending { aspect-ratio: 16 / 9; }
  .dh-game-universe { grid-template-columns: 1fr; gap: 18px; }
  .dh-game-universe__tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dh-game-universe__stage { min-height: 420px; }
  .dh-game-scene > .dh-real-picture img { width: min(74%,420px); max-height: 72%; }
  .dh-game-scene__copy { padding: 120px 22px 24px; }
  .dh-game-scene__copy h3 { font-size: 36px; }
  .dh-editorial-card__media .dh-real-picture img { max-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .dh-real-picture img { transition: none !important; transform: none !important; }
}
