:root{--qa-guard:start}

:where(main :is([class*="grid"], [style*="grid"], [class*="layout"], .row, [class*="cols"], [class*="split"], [class*="columns"],
               [data-component], ol, ul, dl) > *) { min-width: 0; }
:where(main img, main video, main iframe) { max-width: 100%; }
:where(main img) { height: auto; }
:where(main pre) { overflow-x: auto; }
:where(main table) { max-width: 100%; }
:where(h1, h2, h3, h4, h5, h6) { line-height: 1.3; }
:where(footer a:not([class*="btn"]), .breadcrumb a, nav li a) { display: inline-block; padding-block: 4px; }
img[data-role="hero"] { object-position: 75% 30% !important; } 
.navbar-brand:has(> img.site-logo) { background: none !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
.navbar-brand > img.site-logo { height: 40px; width: auto; display: block; }

.navbar:has(> div:empty):has(> :is([class*="container"], [class*="inner"])) { flex-direction: column; align-items: stretch; }
.navbar .navbar-brand { flex-shrink: 0; }
@media (min-width: 576px) {  
  .navbar :is(a, button)[class*="btn"] { flex-shrink: 0; }
  .navbar :is(.nav-link, a[class*="btn"], button[class*="btn"]) { white-space: nowrap; }
}

:is(.navbar, .navbar > *, .navbar :has(> .navbar-collapse)):has(.navbar-collapse:is(.show, .collapsing)) { height: auto !important; max-height: none !important; }

@media (min-width: 992px) {
  main .row > [class*="col"]:has(> img[data-role="section"]:only-child) { align-self: stretch; }
  main .row > [class*="col"] > img[data-role="section"]:only-child { height: 100% !important; object-fit: cover; }
}

main [class*="col"] > [class*="card"]:not(:only-child) { height: auto !important; }

main > :is(section, div):not(:first-child):not(:empty, [class*="divider"], [class*="separator"], [aria-hidden="true"]) { padding-block: clamp(28px, 3.5vw, 44px) !important; margin-block: 0 !important; }
main > :first-child, main > :first-child > :is(section, div) { min-height: 0 !important; }
main > :first-child { padding-block: clamp(24px, 4vw, 56px) !important; }
main :is(h1, h2, h3) { line-height: 1.35 !important; }
main :is(p, li, td, dd) { line-height: 1.55 !important; }
main > :is(section, div) :is(h2):first-of-type { margin-bottom: 12px; }
@media (max-width: 575.98px) {
  main [style*="grid-template-columns"]:not([style*="auto-fit"]):not([style*="auto-fill"]) { grid-template-columns: minmax(0, 1fr) !important; }
  
  main :is(h1, h2, h3, h4, th, td, dt, dd, summary) { overflow-wrap: break-word; }
  
  :is([data-component="game-grid"], [data-component="game-grid"] *):has(> .game-card) {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .game-card .game-tag { position: static !important; display: inline-block; margin-top: 6px; }
  
  main :is(div, p, nav):has(> :is(a, button)[class*="btn"]):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; flex-shrink: 1 !important; max-width: 100%; }
  main div:has(> :is(div, p) > :is(a, button)[class*="btn"]):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; }  
  
  main :is(ol, ul, [data-component="steps"], [data-component="steps"] div):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; }
  main :is(a, button)[class*="btn"] { white-space: normal !important; }
  
  main table:not(:is([class*="responsive"], [class*="scroll"], [style*="overflow"]) table) {
    display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .game-card :is(.game-card-body, div:has(> h3)) { padding: 10px 12px 12px !important; }
}
.toc-auto { margin: 0 auto 24px; max-width: 1100px; padding: 12px 16px; border: 1px solid var(--border, rgba(255,255,255,.15)); border-radius: 12px; }

main > section:has(> [class*="container"]:only-child) { grid-template-columns: 1fr !important; }

:is(ol, ul, div).row[data-component="steps"]:has(> [class*="col"]) { display: flex !important; flex-wrap: wrap !important; }

main :is(ol, ul):has(> div:only-child) { grid-template-columns: minmax(0, 1fr) !important; }

@media (max-width: 991.98px) { footer [style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 575.98px) { footer [style*="grid-template-columns"] { grid-template-columns: 1fr !important; } }
.toc-auto summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.toc-auto ol { margin: 8px 0 0; padding-left: 1.4em; }
[data-component="toc"] a { display: inline-block; padding-block: 4px; }
html { scroll-padding-top: 88px; }

:is(header, footer, main > :not(:first-child)) :is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl) {
  max-width: 1320px !important; margin-inline: auto !important; }
main > :not(:has([class*="container"])) { padding-inline: max(16px, calc((100% - 1320px) / 2)) !important; }  

:where(main > :first-child > :not([class*="container"], :has([class*="container"]), img, picture, video, [style*="absolute"])) {
  padding-inline: max(16px, calc((100% - 1320px) / 2)); }
main > :first-child :is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl):not(:has(> img[data-role="hero"])) {
  max-width: 1320px !important; margin-inline: auto !important; }
:where(main [style*="overflow-x"][style*="flex"]:not([style*="wrap"])) > * { min-width: auto; }
:root{--qa-guard:end}

:root {
  --bg: #f5faf8;
  --surface: #fcfefd;
  --surface-alt: #ebf0ee;
  --brand: #088389;
  --brand-dark: #065c60;
  --primary: #f91736;
  --primary-hover: #c4102a;
  --accent: #db6118;
  --gold: #ac873d;
  --text: #0f1f1c;
  --text-muted: #4a6260;
  --border: #ac873d;
  --radius-sm: 2px;
  --radius: 4px;
  --shadow: 6px 6px 0 rgba(0,0,0,0.65);
  --shadow-hover: 10px 10px 0 rgba(0,0,0,0.65);
  --shadow-gold: 8px 8px 0 #ac873d;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: #088389 #ebf0ee;
  scrollbar-width: thin;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(0deg, rgba(8,131,137,0.06) 0px, rgba(8,131,137,0.06) 1px, transparent 1px, transparent 24px),
                    repeating-linear-gradient(90deg, rgba(8,131,137,0.06) 0px, rgba(8,131,137,0.06) 1px, transparent 1px, transparent 24px);
  overflow-x: hidden;
}

::selection {
  background: #088389;
  color: #ffffff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #ebf0ee; }
::-webkit-scrollbar-thumb { background: #088389; border-radius: 3px; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }

p { margin-bottom: 1rem; overflow-wrap: anywhere; }

a {
  color: var(--brand);
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
a:hover { color: var(--brand-dark); text-decoration-color: var(--brand); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: var(--radius); }

.btn-primary-site {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  border: 3px solid var(--text);
  border-radius: var(--radius);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.65);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  line-height: 1.4;
  min-height: 44px;
  min-width: 44px;
}
.btn-primary-site:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.65);
  text-decoration: none;
}
.btn-primary-site:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-secondary-site {
  display: inline-block;
  background: transparent;
  color: var(--brand);
  border: 3px solid var(--brand);
  border-radius: var(--radius);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  box-shadow: 4px 4px 0 var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  line-height: 1.4;
  min-height: 44px;
  min-width: 44px;
}
.btn-secondary-site:hover {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.65);
  transform: translate(-2px, -2px);
  text-decoration: none;
}
.btn-secondary-site:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-accent-site {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  border: 3px solid var(--text);
  border-radius: var(--radius);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.65);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  line-height: 1.4;
  min-height: 44px;
  min-width: 44px;
}
.btn-accent-site:hover {
  background: #b84f10;
  color: #ffffff;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.65);
  text-decoration: none;
}

.site-navbar {
  background-color: var(--brand);
  border-bottom: 3px solid var(--brand-dark);
  min-height: 60px;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-navbar .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  line-height: 1.2;
}
.site-navbar .navbar-brand .brand-tai {
  color: var(--gold);
  font-size: 16px;
}
.site-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}

.site-navbar .nav-link {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #e8f5f4;
  padding: 0 10px;
  line-height: 60px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.site-navbar .nav-link:hover {
  color: #ffffff;
  border-bottom-color: var(--gold);
}
.site-navbar .nav-link.active {
  color: #ffffff;
  border-bottom-color: var(--primary);
}
.site-navbar .nav-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.site-navbar .navbar-toggler {
  border: 2px solid #ffffff;
  border-radius: var(--radius);
  padding: 6px 10px;
  min-width: 44px;
  min-height: 44px;
}
.site-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-btn-login {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  border-radius: var(--radius);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-btn-login:hover { background: #ffffff; color: var(--brand); text-decoration: none; }

.nav-btn-register {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-btn-register:hover {
  background: var(--primary-hover);
  color: #ffffff;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
  transform: translate(-1px, -1px);
  text-decoration: none;
}

.section-pad {
  padding: clamp(28px, 3.5vw, 44px) 0;
}

.section-bg { background-color: var(--bg); }
.section-surface { background-color: var(--surface); }
.section-alt { background-color: var(--surface-alt); }

.section-top-rule {
  border-top: 4px solid var(--gold);
}

.site-card {
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.site-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  [data-component="game-grid"] { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  [data-component="game-grid"] { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.game-card {
  display: block;
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border-top: 4px solid var(--gold);
}
.game-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
  color: var(--text);
  text-decoration: none;
}
.game-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-bottom: 3px solid var(--text);
  display: block;
}
.game-card-body {
  padding: 10px 12px 12px;
}
.game-card h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.3;
}
.game-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 6px;
  line-height: 1.4;
}
.game-tag {
  display: inline-block;
  background: var(--surface-alt);
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  padding: 2px 8px;
  letter-spacing: 0.04em;
}

[data-component="faq"] details {
  border-bottom: 1px dashed var(--gold);
}
[data-component="faq"] details:last-child { border-bottom: none; }
[data-component="faq"] summary {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 16px 40px 16px 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--brand);
  font-weight: 400;
  line-height: 1;
}
[data-component="faq"] details[open] summary::after { content: '−'; }
[data-component="faq"] details[open] {
  background: #f0f7f6;
}
[data-component="faq"] details > div {
  padding: 0 16px 16px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}
[data-component="faq"] summary:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  padding-left: 4px;
  border-left: 4px dashed var(--gold);
}
[data-component="steps"] li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 0 0 28px 24px;
  position: relative;
}
[data-component="steps"] li:last-child { padding-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 16px;
  border: 2px solid var(--text);
  position: relative;
  margin-left: -38px;
}
.step-content h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.step-content p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
[data-component="payments"] li {
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  border-top: 4px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
[data-component="payments"] li:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}
.payment-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
  display: block;
  margin-bottom: 8px;
}
.payment-detail {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.payment-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #e8f5f4;
  letter-spacing: 0.06em;
}
[data-component="trust"] li i {
  color: var(--gold);
  font-size: 16px;
}

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
[data-component="stats"] div {
  display: flex;
  flex-direction: column;
}
[data-component="stats"] dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232,245,244,0.75);
  margin: 0;
}
[data-component="stats"] dd {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

[data-component="vip"] .vip-track {
  display: flex;
  gap: 0;
  border: 3px solid var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
[data-component="vip"] .vip-tier {
  flex: 1;
  padding: 16px 12px;
  background: var(--surface);
  border-right: 2px solid var(--surface-alt);
  transition: background 0.2s;
  text-align: center;
}
[data-component="vip"] .vip-tier:last-child { border-right: none; }
[data-component="vip"] .vip-tier.active {
  background: var(--surface-alt);
  border-top: 4px solid var(--gold);
}
[data-component="vip"] .vip-name {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
[data-component="vip"] .vip-detail {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

[data-component="bonus"] .bonus-big {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -2px;
}
[data-component="bonus"] .bonus-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
[data-component="bonus"] .bonus-cap {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
[data-component="bonus"] .bonus-frame {
  border: 3px dashed var(--gold);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--surface);
  box-shadow: var(--shadow-gold);
}
[data-component="bonus"] .rules-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
[data-component="bonus"] .rules-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--gold);
  font-size: 14px;
  vertical-align: middle;
}
[data-component="bonus"] .rules-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  width: 46%;
}
[data-component="bonus"] .rules-table td:last-child {
  font-weight: 700;
  color: var(--text);
}

.site-table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.site-table thead th {
  background: var(--brand);
  color: #ffffff;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid var(--brand-dark);
  letter-spacing: 0.03em;
}
.site-table tbody tr:nth-child(odd) { background: var(--surface); }
.site-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.site-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gold);
  color: var(--text);
  vertical-align: middle;
}
.site-table tbody tr:last-child td { border-bottom: none; }

.site-footer {
  background: var(--brand-dark);
  padding: 48px 0 24px;
  border-top: 4px solid var(--gold);
}
.site-footer .footer-col-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.site-footer .footer-link {
  display: block;
  font-size: 14px;
  color: #a8d5d7;
  text-decoration: none;
  padding: 3px 0;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 1px solid transparent;
}
.site-footer .footer-link:hover {
  color: #ffffff;
  border-bottom-color: var(--primary);
}
.site-footer .footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}
.site-footer .footer-brand-name .brand-tai { color: var(--gold); }
.site-footer .footer-desc {
  font-size: 13px;
  color: #a8d5d7;
  margin-top: 10px;
  line-height: 1.6;
}
.site-footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.site-footer .footer-social a {
  color: var(--gold);
  font-size: 20px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.site-footer .footer-social a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 3px solid var(--gold);
  margin-top: 32px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-copy {
  font-size: 13px;
  color: #a8d5d7;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: #a8d5d7;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #ffffff; }

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 767px) {
  .site-navbar .nav-link { line-height: 1.4; padding: 10px 16px; border-bottom: none; border-left: 3px solid transparent; }
  .site-navbar .nav-link.active { border-left-color: var(--primary); border-bottom: none; }
  .site-navbar .nav-link:hover { border-left-color: var(--gold); border-bottom: none; }
  .site-navbar .navbar-nav { padding: 12px 0; }
}

:root{--unify-site:start}
main details:not(.toc-card):not([class*=toc]) { border-top-width: 4px !important; border-bottom-width: 3px !important; border-radius: 4px !important; padding: 20px 24px !important; margin-bottom: 32px !important; }
main details:not(.toc-card):not([class*=toc]) > summary { font-size: 17px !important; font-weight: 800 !important; padding: 0px !important; line-height: 28.05px !important; }
main details:not(.toc-card):not([class*=toc]) > summary ~ * { font-size: 15px !important; padding: 0px 0px 0px 20px !important; line-height: 24.75px !important; }
main table { width: 100%; border-collapse: collapse !important; }
main table th { background-color: rgb(8, 131, 137) !important; color: rgb(255, 255, 255) !important; padding: 12px 14px !important; font-size: 13px !important; font-weight: 700 !important; text-align: left !important; border-bottom: 2px solid rgb(6, 92, 96) !important; }
main table td { padding: 10px 14px !important; font-size: 14px !important; }
main section > h2, main section > [class*=container] > h2, main section > [class*=container] > [class*=head] > h2, main section > [class*=container] > [class*=title] > h2, main section > div > h2 { font-size: 36px !important; line-height: 48.6px !important; }
:root{--unify-site:end}

:root{--site-repair:start}
.sr-email { overflow-wrap: anywhere; word-break: break-word; }

.navbar-nav .nav-link[href="/"] { white-space: nowrap !important; }

@media (min-width: 992px) { .navbar-expand-lg .navbar-toggler { display: none !important; } }
@media (min-width: 1200px) { .navbar-expand-xl .navbar-toggler { display: none !important; } }
@media (min-width: 1400px) { .navbar-expand-xxl .navbar-toggler { display: none !important; } }
:root{--site-repair:end}
