: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 > :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: 1fr !important; }
  
  :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; }
.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; }

:where(main > :not(:first-child), body > footer) { content-visibility: auto; contain-intrinsic-size: auto 600px; }
@media (max-width: 767.98px) { :where(main > :not(:first-child), body > footer) { contain-intrinsic-size: auto 900px; } }  
:root{--qa-guard:end}

:root {
  --bg: #f8f7f6;
  --surface: #fdfdfc;
  --surface-alt: #eeedec;
  --primary: #332b29;
  --primary-dark: #241e1d;
  --action: #f25c01;
  --action-hover: #d94e00;
  --accent: #14d265;
  --accent-hover: #10b556;
  --border-gold: #ac913d;
  --text: #1a1410;
  --text-muted: #5a4f47;
  --text-light: rgba(255,255,255,0.80);
  --radius-card: 10px 10px 2px 2px;
  --radius-btn: 6px;
  --radius-badge: 4px;
  --shadow-card: 0 2px 6px rgba(51,43,41,0.08), 0 1px 2px rgba(172,145,61,0.10);
  --shadow-card-hover: 0 6px 20px rgba(51,43,41,0.14), 0 2px 6px rgba(172,145,61,0.18);
  --shadow-panel: 0 4px 16px rgba(51,43,41,0.12);
  --shadow-nav: 0 2px 8px rgba(51,43,41,0.10);
  --font-title: 'Galada', serif;
  --font-body: 'Hind Siliguri', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--border-gold) var(--surface-alt);
  scrollbar-width: thin;
}

body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, rgba(172,145,61,0.04) 0px, rgba(172,145,61,0.04) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(172,145,61,0.04) 0px, rgba(172,145,61,0.04) 1px, transparent 1px, transparent 28px);
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
  caret-color: var(--action);
}

::selection {
  background: rgba(242,92,1,0.18);
  color: var(--text);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--border-gold); border-radius: 3px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  line-height: 1.35;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.2px; }
h3 { font-size: clamp(1rem, 2vw, 1.125rem); font-weight: 600; }

p { margin-bottom: 0.75rem; }
a { color: var(--action); text-decoration-thickness: 1px; }
a:hover { color: var(--action-hover); }
a:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 2px; }

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

.btn-primary-action {
  display: inline-block;
  background: var(--action);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(242,92,1,0.30);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  position: relative;
  cursor: pointer;
}
.btn-primary-action::after {
  content: '';
  position: absolute;
  top: 3px; right: 5px;
  width: 2px; height: 2px;
  background: rgba(255,255,255,0.65);
  border-radius: 50%;
}
.btn-primary-action:hover {
  background: var(--action-hover);
  color: #fff;
  box-shadow: 0 4px 14px rgba(242,92,1,0.40);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-primary-action:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }

.btn-secondary-action {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--border-gold);
  color: var(--primary);
  border-radius: var(--radius-btn);
  padding: 9px 22px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.btn-secondary-action:hover {
  background: rgba(172,145,61,0.12);
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}
.btn-secondary-action:focus-visible { outline: 2px solid var(--border-gold); outline-offset: 2px; }

.btn-accent-action {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(20,210,101,0.25);
  transition: background 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}
.btn-accent-action:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.site-navbar {
  background: var(--primary);
  min-height: 60px;
  box-shadow: var(--shadow-nav);
  border-bottom: 1px solid rgba(172,145,61,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-navbar .navbar-brand {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-navbar .navbar-brand:hover { color: rgba(255,255,255,0.90); text-decoration: none; }

.site-navbar .nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 4px 2px;
  margin: 0 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.site-navbar .nav-link:hover {
  color: #fff;
  border-bottom-color: var(--border-gold);
}
.site-navbar .nav-link.active {
  color: #fff;
  border-bottom-color: var(--action);
}

.site-navbar .navbar-toggler {
  border: 1.5px solid rgba(172,145,61,0.50);
  border-radius: var(--radius-btn);
  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%2C255%2C255%2C0.80%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-btn-login {
  border: 1.5px solid var(--border-gold);
  background: transparent;
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: nowrap;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.nav-btn-login:hover { background: rgba(172,145,61,0.15); color: #fff; text-decoration: none; }

.nav-btn-register {
  background: var(--action);
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(242,92,1,0.35);
  transition: background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.nav-btn-register:hover {
  background: var(--action-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(242,92,1,0.45);
  text-decoration: none;
}

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

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

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.gold-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--border-gold);
  text-transform: none;
}

.ticket-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid rgba(172,145,61,0.28);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.ticket-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  border-color: var(--border-gold);
}
.ticket-card::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--border-gold);
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

.ticket-stub-divider {
  position: relative;
  border-top: 1px dashed rgba(172,145,61,0.40);
  margin: 12px 0;
}
.ticket-stub-divider::before,
.ticket-stub-divider::after {
  content: '';
  position: absolute;
  top: -7px;
  width: 14px; height: 14px;
  background: var(--bg);
  border: 1px solid rgba(172,145,61,0.40);
  border-radius: 50%;
}
.ticket-stub-divider::before { left: -7px; }
.ticket-stub-divider::after { right: -7px; }

.game-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid rgba(172,145,61,0.28);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.game-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--border-gold);
  text-decoration: none;
  color: var(--text);
}
.game-card:hover .game-card-img img { transform: scale(1.03); }

.game-card-img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--primary-dark);
}
.game-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.game-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(51,43,41,0.72) 0%, transparent 100%);
  pointer-events: none;
}

.game-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 12px 12px;
  z-index: 2;
}
.game-card-overlay .game-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.3;
}
.game-card-overlay .game-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.3;
}

.game-rtp-tag {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--action);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-badge);
  padding: 2px 7px;
  z-index: 3;
  line-height: 1.4;
}

.game-type-tag {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(51,43,41,0.75);
  color: rgba(255,255,255,0.90);
  font-size: 0.69rem;
  font-weight: 600;
  border-radius: var(--radius-badge);
  padding: 2px 6px;
  z-index: 3;
  line-height: 1.4;
  border: 1px solid rgba(172,145,61,0.35);
}

.game-card-bottom {
  padding: 8px 12px 10px;
  border-top: 1px dashed rgba(172,145,61,0.25);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.game-card::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--border-gold);
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@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: 10px; }
}

[data-component="trust"] {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 575px) {
  [data-component="trust"] { grid-template-columns: repeat(2, 1fr); }
}
[data-component="trust"] li {
  background: var(--surface);
  border: 1px solid rgba(172,145,61,0.28);
  border-radius: var(--radius-card);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  min-height: 44px;
}
[data-component="trust"] li i {
  color: var(--border-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

[data-component="stats"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(172,145,61,0.20);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(172,145,61,0.25);
}
@media (max-width: 575px) {
  [data-component="stats"] { grid-template-columns: repeat(2, 1fr); }
}
[data-component="stats"] > div {
  background: rgba(36,30,29,0.60);
  padding: 14px 16px;
  text-align: center;
}
[data-component="stats"] dt {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2px;
  font-weight: 400;
}
[data-component="stats"] dd {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

[data-component="payments"] {
  list-style: none;
  margin: 0; padding: 0;
}

[data-component="bonus"] {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid rgba(172,145,61,0.35);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  position: relative;
}
[data-component="bonus"]::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--border-gold);
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

[data-component="vip"] {
  overflow-x: auto;
}

[data-component="steps"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 767px) {
  [data-component="steps"] { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 400px) {
  [data-component="steps"] { grid-template-columns: 1fr; }
}

.step-card {
  background: var(--surface);
  border: 1px solid rgba(172,145,61,0.28);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px 16px;
  position: relative;
  text-align: center;
  margin: 0 6px;
}
.step-card::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--border-gold);
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--action);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(242,92,1,0.30);
}
.step-arrow {
  position: absolute;
  top: 50%; right: -14px;
  transform: translateY(-50%);
  color: var(--border-gold);
  font-size: 1.2rem;
  z-index: 2;
}
@media (max-width: 767px) {
  .step-arrow { display: none; }
}

[data-component="faq"] details {
  border-bottom: 1px dashed rgba(172,145,61,0.35);
  padding: 2px 0;
}
[data-component="faq"] details:last-child { border-bottom: none; }
[data-component="faq"] summary {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  padding: 14px 16px 14px 44px;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.15s ease;
  line-height: 1.5;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::before {
  content: attr(data-num);
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--border-gold);
  min-width: 20px;
}
[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1rem;
  color: var(--border-gold);
  transition: transform 0.18s ease;
}
[data-component="faq"] details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}
[data-component="faq"] details[open] summary { color: var(--action); }
[data-component="faq"] details > div {
  padding: 0 16px 14px 44px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.site-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.site-table th {
  background: var(--primary);
  color: rgba(255,255,255,0.90);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
.site-table th:first-child { border-radius: 8px 0 0 0; }
.site-table th:last-child { border-radius: 0 8px 0 0; }
.site-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(172,145,61,0.18);
  color: var(--text);
  vertical-align: middle;
}
.site-table tr:last-child td { border-bottom: none; }
.site-table tr:nth-child(even) td { background: rgba(172,145,61,0.05); }
.site-table tr:hover td { background: rgba(172,145,61,0.08); }

.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  border-top: 3px solid var(--border-gold);
}
.site-footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s ease;
  display: block;
  margin-bottom: 4px;
  min-height: 28px;
  line-height: 1.4;
}
.site-footer a:hover { color: var(--border-gold); }
.site-footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--border-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.site-footer-brand {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.2;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(172,145,61,0.35);
  border-radius: 50%;
  color: var(--border-gold);
  font-size: 1rem;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  margin-right: 6px;
  margin-bottom: 0;
}
.footer-social a:hover { background: rgba(172,145,61,0.15); border-color: var(--border-gold); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(172,145,61,0.20);
  padding: 14px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(172,145,61,0.12);
  border: 1px solid rgba(172,145,61,0.30);
  border-radius: var(--radius-card);
  padding: 8px 14px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
}
.responsible-badge .badge-18 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--border-gold);
  font-weight: 700;
  min-width: 32px;
  text-align: center;
}

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

/* site-fix 2026-11-05：logo 图后面又写了一遍品牌名文字 → 有图时隐藏文字（图加载失败时仍显示） */
.navbar-brand:has(> img:not([style*="display: none"])) > span { display: none !important; }


/* site-fix 2026-11-05：只有一个子元素（container）的版块不分栏（AI 把 hero 写成两栏 grid，内容只占左半边） */
main > section:has(> [class*="container"]:only-child) { grid-template-columns: 1fr !important; }

/* unify-site:start */
/* 首页定义、site.css 没有的 CSS 变量 */
:root { --primary-text: #ffffff; --dark: #332b29; --darker: #241e1d; }

/* 页脚：从首页样式复制（内页原来没有这些规则） */
.site-footer {
  background-color: var(--darker);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(28px, 3.5vw, 44px) 0 16px;
  border-top: 3px solid var(--border-gold);
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: 28px;
}
.footer-col h4 {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--border-gold);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
  line-height: 1.3;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 0.8375rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-col a:hover {
  color: var(--border-gold);
}
.footer-logo {
  font-family: 'Galada', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 8px;
  line-height: 1;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  color: var(--border-gold);
  font-size: 1.2rem;
  transition: color 0.18s ease;
}
.footer-socials a:hover {
  color: var(--primary);
}
.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(172, 145, 61, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
}
.footer-copyright {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}
.footer-rg {
  color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 575px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* 组件统一（参考页：{"details": "index.html", "summary": "index.html", "answer": "index.html", "th": "index.html", "td": "index.html", "h2": "index.html", "container": "index.html"}） */
main details:not(.toc-card):not([class*=toc]) { border-top: 1px solid rgba(172, 145, 61, 0.25) !important; border-right: 1px solid rgba(172, 145, 61, 0.25) !important; border-bottom: 1px solid rgba(172, 145, 61, 0.25) !important; border-left: 1px solid rgba(172, 145, 61, 0.25) !important; background-color: rgb(253, 253, 252) !important; border-radius: 10px 10px 2px 2px !important; padding: 2px 0px !important; margin-bottom: 0px !important; box-shadow: rgba(51, 43, 41, 0.08) 0px 2px 6px 0px !important; }
main details:not(.toc-card):not([class*=toc]) > summary { font-size: 15px !important; font-weight: 600 !important; padding: 12px !important; color: rgb(26, 20, 16) !important; line-height: 19.5px !important; }
main details:not(.toc-card):not([class*=toc]) > summary ~ * { font-size: 14.4px !important; color: rgb(90, 79, 71) !important; padding: 0px 16px 14px 44px !important; line-height: 23.76px !important; }
main table { width: 100%; border-collapse: collapse !important; }
main table th { background-color: rgb(242, 92, 1) !important; color: rgb(26, 20, 16) !important; padding: 8px !important; font-size: 13px !important; font-weight: 600 !important; text-align: left !important; border-bottom: 1px solid rgba(172, 145, 61, 0.2) !important; }
main table td { padding: 8px !important; font-size: 13.4px !important; border-bottom: 1px dashed rgba(172, 145, 61, 0.2) !important; color: rgb(26, 20, 16) !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: 32px !important; line-height: 43.2px !important; }
/* unify-site:end */
