/* ASIA89 Play (asia89play.com) — dark shield theme, gold line and teal accent */
:root {
  --lm-bg: #0c1214;
  --lm-surface: #151d20;
  --lm-surface-alt: #121a1c;
  --lm-ink: #f4efe4;
  --lm-muted: #d9d0c1;
  --lm-accent: #1aa8a2;
  --lm-accent-hover: #8ef0ea;
  --lm-gold: #c4a15a;
  --lm-gold-soft: rgba(196, 161, 90, 0.16);
  --lm-line: #c4a15a;
  --lm-line-soft: rgba(196, 161, 90, 0.38);
  --lm-on-accent: #0c1214;
  --lm-radius: 4px;
  --lm-font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --lm-font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; background: var(--lm-bg); color: var(--lm-ink); font-family: var(--lm-font-sans); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lm-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lm-accent-hover); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lm-gold); outline-offset: 2px; border-radius: 4px; }

.lm-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.lm-skip { position: absolute; left: -9999px; top: 0; background: var(--lm-gold); color: var(--lm-on-accent); padding: 10px 16px; z-index: 100; }
.lm-skip:focus { left: 16px; top: 16px; }

.lm-header { position: sticky; top: 0; z-index: 40; background: #0c1214; border-bottom: 1px solid var(--lm-gold); }
.lm-header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 8px 0; }
.lm-brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; width: 148px; }
.lm-brand img, .lm-brand amp-img { height: 52px; width: auto; max-width: 148px; object-fit: contain; }
.lm-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 4px; list-style: none; margin: 0 0 0 auto; padding: 0; max-width: 100%; }
.lm-nav a { color: var(--lm-ink); font-weight: 600; font-size: 0.86rem; white-space: nowrap; text-decoration: none; padding: 8px 10px 6px; border-bottom: 1px solid transparent; border-radius: 0; background: transparent; }
.lm-nav a:hover, .lm-nav a[aria-current="page"] { color: var(--lm-gold); border-bottom-color: var(--lm-gold); background: transparent; }

.lm-hero { padding: 28px 0 12px; }
.lm-bc { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: 0.86rem; color: var(--lm-muted); }
.lm-bc a { color: var(--lm-accent); text-decoration: none; font-weight: 600; }
.lm-hero-card { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 28px; align-items: center; background: var(--lm-surface); border: 1px solid var(--lm-gold); border-radius: var(--lm-radius); padding: 22px; }
.lm-hero-body { min-width: 0; }
.lm-kicker { margin: 0 0 10px; color: var(--lm-gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.lm-h1 { font-family: var(--lm-font-display); font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.28; margin: 0 0 12px; overflow-wrap: anywhere; font-weight: 700; color: var(--lm-ink); }
.lm-hero-lead { margin: 0 0 16px; color: var(--lm-ink); font-size: 1.05rem; }
.lm-meta-row { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.86rem; color: var(--lm-muted); margin: 0; }
.lm-hero-media { display: block; min-width: 0; background: #0c1214; border: 1px solid var(--lm-gold); border-radius: var(--lm-radius); padding: 6px; }
.lm-hero-media img, .lm-hero-media amp-img, .lm-fig img, .lm-fig amp-img, .lm-rel-card img, .lm-rel-card amp-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; display: block; background: #0c1214; }

.lm-main-wrap { padding: 22px 0 56px; }
.lm-content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.lm-summary { background: var(--lm-surface); border: 1px solid var(--lm-line-soft); border-left: 3px solid var(--lm-gold); border-radius: var(--lm-radius); padding: 18px 20px; }
.lm-summary h2 { margin: 0 0 8px; font-size: 1.15rem; color: var(--lm-gold); }
.lm-summary p { margin: 0; }

.lm-facts { background: var(--lm-surface); border: 1px solid var(--lm-line-soft); border-radius: var(--lm-radius); padding: 18px 20px; }
.lm-facts h3 { margin: 0 0 14px; font-size: 1.02rem; color: var(--lm-gold); letter-spacing: 0.04em; text-transform: uppercase; }
.lm-facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 18px; }
.lm-fact-row { border-top: 1px solid var(--lm-line-soft); padding-top: 8px; min-width: 0; }
.lm-facts dt { font-size: 0.78rem; color: var(--lm-gold); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.lm-facts dd { margin: 3px 0 0; font-weight: 700; font-size: 0.98rem; color: var(--lm-ink); overflow-wrap: anywhere; }

.lm-toc { background: var(--lm-surface); border: 1px solid var(--lm-line-soft); border-radius: var(--lm-radius); padding: 16px 18px; }
.lm-toc strong { display: block; margin-bottom: 10px; color: var(--lm-gold); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; }
.lm-toc ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 16px; }
.lm-toc a { color: var(--lm-ink); text-decoration: none; font-size: 0.94rem; font-weight: 600; border-bottom: 1px solid transparent; }
.lm-toc a:hover { color: var(--lm-gold); border-bottom-color: var(--lm-gold); }

.lm-article { background: var(--lm-surface); border: 1px solid var(--lm-line-soft); border-radius: var(--lm-radius); padding: 28px 30px; }
.lm-article section { margin-bottom: 30px; }
.lm-article section:last-child { margin-bottom: 0; }
.lm-article h2 { font-family: var(--lm-font-display); font-size: clamp(1.22rem, 2vw, 1.5rem); line-height: 1.35; margin: 0 0 14px; font-weight: 700; color: var(--lm-ink); border-bottom: 1px solid var(--lm-line-soft); padding-bottom: 8px; overflow-wrap: anywhere; }
.lm-article p { margin: 0 0 14px; font-size: 1.02rem; color: var(--lm-ink); }
.lm-fig { margin: 20px 0; background: #0c1214; border: 1px solid var(--lm-gold); border-radius: var(--lm-radius); overflow: hidden; }
.lm-fig figcaption { padding: 10px 14px; font-size: 0.88rem; color: var(--lm-muted); background: var(--lm-surface); }

.lm-table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--lm-line-soft); border-radius: var(--lm-radius); max-width: 100%; }
.lm-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.94rem; }
.lm-table caption { padding: 12px 14px; font-weight: 700; text-align: left; background: #10181a; color: var(--lm-gold); }
.lm-table th, .lm-table td { padding: 12px 14px; border-top: 1px solid var(--lm-line-soft); vertical-align: top; }
.lm-table thead th { background: #10181a; color: var(--lm-gold); font-weight: 700; }
.lm-steps { margin: 14px 0; padding-left: 22px; display: grid; gap: 10px; color: var(--lm-ink); }

.lm-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.lm-info-card { background: #10181a; border: 1px solid var(--lm-line-soft); border-top: 2px solid var(--lm-gold); border-radius: var(--lm-radius); padding: 16px; min-width: 0; }
.lm-info-card h3 { margin: 0 0 8px; font-size: 1.02rem; color: var(--lm-gold); }
.lm-info-card p { margin: 0; font-size: 0.94rem; color: var(--lm-muted); }

.lm-faq details { background: #10181a; border: 1px solid var(--lm-line-soft); border-radius: var(--lm-radius); padding: 12px 16px; margin-bottom: 10px; }
.lm-faq summary { cursor: pointer; font-weight: 700; color: var(--lm-ink); }
.lm-faq p { margin: 10px 0 0; color: var(--lm-muted); font-size: 0.96rem; }

.lm-notice { background: var(--lm-surface); border: 1px solid var(--lm-gold); border-radius: var(--lm-radius); padding: 28px; }
.lm-notice h1 { font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.3; margin: 0 0 12px; overflow-wrap: anywhere; }
.lm-notice p { margin: 0 0 14px; }
.lm-text-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0 0; }
.lm-text-links a { font-weight: 700; }

.lm-related h2 { font-family: var(--lm-font-display); font-size: 1.28rem; margin: 0 0 14px; color: var(--lm-ink); }
.lm-rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.lm-rel-card { display: flex; flex-direction: column; min-width: 0; background: var(--lm-surface); border: 1px solid var(--lm-line-soft); border-radius: var(--lm-radius); overflow: hidden; text-decoration: none; color: var(--lm-ink); }
.lm-rel-card:hover { border-color: var(--lm-gold); color: var(--lm-ink); }
.lm-rel-card span { padding: 12px 14px; }
.lm-rel-card strong { color: var(--lm-gold); font-size: 1rem; }

.lm-footer { background: #0c1214; border-top: 1px solid var(--lm-gold); padding: 40px 0 24px; margin-top: 12px; }
.lm-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--lm-line-soft); }
.lm-footer-logo { height: 56px; width: auto; max-width: 168px; margin-bottom: 12px; }
.lm-footer h2 { font-size: 0.82rem; margin: 0 0 12px; color: var(--lm-gold); letter-spacing: 0.08em; text-transform: uppercase; }
.lm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lm-footer a { color: var(--lm-muted); text-decoration: none; font-size: 0.92rem; }
.lm-footer a:hover { color: var(--lm-gold); }
.lm-footer p { color: var(--lm-muted); font-size: 0.92rem; }
.lm-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lm-badge { font-size: 0.76rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; background: transparent; border: 1px solid var(--lm-gold); color: var(--lm-gold); }
.lm-copy { padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.86rem; color: var(--lm-muted); }

@media (max-width: 980px) {
  .lm-header-bar { flex-wrap: wrap; }
  .lm-nav { width: 100%; margin-left: 0; }
}
@media (max-width: 860px) {
  .lm-hero-card { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px; }
  .lm-article { padding: 20px 16px; }
  .lm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lm-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .lm-container { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
