/* yourcanadiancasinoguide.com — Stylesheet v2.7.0 (2026-10-30) */
:root {
  --bg-paper: #F7F5F0;
  --bg-surface: #FFFFFF;
  --bg-muted: #EDE9E0;
  --bg-slate: #152534;
  --bg-slate-dark: #0E1A24;
  --ink-primary: #141C24;
  --ink-secondary: #3E4C59;
  --ink-muted: #52606D;
  --ink-inverse: #F7F5F0;
  --accent-crimson: #A61C24;
  --accent-crimson-hover: #82141B;
  --accent-gold: #B8862D;
  --accent-forest: #1E5631;
  --border-hairline: #D5CFC2;
  --border-strong: #152534;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1220px;
  --radius-sm: 4px;
  --radius-md: 6px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  overflow-x: hidden;
}

body[data-modal-open="true"] {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--ink-primary);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-strong);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  margin-bottom: 0.65rem;
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  color: var(--ink-secondary);
  max-width: 75ch;
}

a {
  color: var(--accent-crimson);
  text-underline-offset: 3px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

a:hover {
  color: var(--accent-crimson-hover);
}

ul, ol {
  margin: 0 0 1.25rem 1.35rem;
  color: var(--ink-secondary);
}

li {
  margin-bottom: 0.45rem;
}

li strong {
  color: var(--ink-primary);
}

strong, b {
  font-weight: 700;
  color: var(--ink-primary);
}

small {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

code, pre {
  font-size: 0.88em;
  color: var(--ink-primary);
  background-color: var(--bg-muted);
  padding: 0.12rem 0.35rem;
  border-radius: var(--radius-sm);
  overflow-wrap: anywhere;
  word-break: break-word;
}

body > footer code,
body > header code,
aside#cookie-banner code {
  background-color: rgba(255, 255, 255, 0.12);
  color: #E3C485;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

hr {
  border: 0;
  border-top: 1px solid var(--border-hairline);
  margin: 2rem 0;
}

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

figure {
  margin: 1.5rem 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1rem;
}

figure > img {
  width: 100%;
  height: auto;
}

figcaption {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-hairline);
}

blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-muted);
  border-left: 4px solid var(--bg-slate);
  font-style: italic;
  color: var(--ink-primary);
}

body > header {
  background-color: #111F2C;
  color: var(--ink-inverse);
  border-bottom: 2px solid var(--accent-crimson);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

body > header > aside {
  background-color: #0B151E;
  color: #B8C4D0;
  font-size: 0.72rem;
  padding: 0.28rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body > header > aside > p {
  max-width: var(--max-width);
  margin: 0 auto;
  color: #C9D3DF;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

body > header > aside > p strong {
  color: #FFFFFF;
  background-color: var(--accent-crimson);
  padding: 0.08rem 0.4rem;
  border-radius: 2px;
  font-size: 0.68rem;
  margin-right: 0.35rem;
}

body > header > aside a {
  color: #E3C485;
  text-decoration: none;
}

body > header > aside a:hover {
  color: #FFFFFF;
}

body > header > nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

body > header > nav > a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.55rem;
  text-decoration: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

body > header > nav > a:hover {
  color: #E3C485;
}

body > header > nav > a img {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(227, 196, 133, 0.35);
  flex-shrink: 0;
}

body > header > nav > a span small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  color: #E3C485;
  font-weight: 600;
  margin-top: 2px;
}

body > header > nav > button {
  display: none;
  position: relative;
  width: 36px;
  height: 32px;
  padding: 0;
  background: linear-gradient(#FFFFFF, #FFFFFF) center / 18px 2px no-repeat rgba(255, 255, 255, 0.06);
  color: transparent;
  font-size: 0;
  border: 1px solid rgba(227, 196, 133, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body > header > nav > button::before,
body > header > nav > button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  margin-top: -1px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

body > header > nav > button::before {
  transform: translateY(-6px);
}

body > header > nav > button::after {
  transform: translateY(6px);
}

body > header > nav > button[aria-expanded="true"] {
  background-size: 0 2px;
  border-color: #E3C485;
}

body > header > nav > button[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

body > header > nav > button[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

body > header > nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.2rem;
}

body > header > nav > ul > li {
  margin: 0;
  flex-shrink: 0;
}

body > header > nav > ul > li > a {
  display: block;
  padding: 0.34rem 0.56rem;
  color: #D5DEE6;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body > header > nav > ul > li > a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

body > header > nav > ul > li > a[aria-current="page"] {
  background-color: rgba(166, 28, 36, 0.28);
  border-color: rgba(227, 196, 133, 0.45);
  color: #FFFFFF;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem 1.25rem 3rem;
}

main > section,
main > article {
  margin-bottom: 1.75rem;
}

main > section:nth-of-type(n+3) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 650px;
}

main > section:first-of-type {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-top: 3px solid var(--bg-slate);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.1rem;
  margin-bottom: 0.6rem;
}

main > section:first-of-type > header {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 1rem;
  align-items: center;
}

main > section:first-of-type > header h1 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin-bottom: 0.25rem;
}

main > section:first-of-type > header p {
  font-size: 0.85rem;
  line-height: 1.38;
  color: var(--ink-secondary);
  margin-bottom: 0.2rem;
}

main > section:first-of-type > header p:last-child {
  margin-bottom: 0;
}

main > section:first-of-type > header aside {
  background-color: var(--bg-muted);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

main > section:first-of-type > header aside h2,
main > section:first-of-type > header aside h3 {
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 700;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 0.25rem;
  margin-bottom: 0.4rem;
}

main > section:first-of-type > header aside dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.75rem;
  font-size: 0.8rem;
}

main > section:first-of-type > header aside dt {
  color: var(--ink-secondary);
  font-weight: 500;
}

main > section:first-of-type > header aside dd {
  font-weight: 700;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

fieldset {
  display: block;
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 0.75rem 0 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

fieldset > div {
  min-width: 0;
  max-width: 100%;
  margin-bottom: 0.9rem;
}

fieldset > div:last-of-type {
  margin-bottom: 0;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bg-slate);
  background-color: var(--bg-surface);
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  white-space: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

form#operator-filter-form {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: end;
  background-color: var(--bg-muted);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  margin-bottom: 0.55rem;
  gap: 0.6rem;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0.25rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

label input[type="checkbox"] {
  margin-right: 0.45rem;
  vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 0.45rem 0.65rem;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background-color: var(--bg-surface);
  border: 1px solid #B8B0A0;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--bg-slate);
  outline-offset: 1px;
  border-color: var(--bg-slate);
}

button,
input[type="submit"],
input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  background-color: var(--accent-crimson);
  border: 1px solid var(--accent-crimson);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

button:hover,
input[type="submit"]:hover {
  background-color: var(--accent-crimson-hover);
  border-color: var(--accent-crimson-hover);
}

button[type="button"],
button[data-variant="secondary"] {
  background-color: var(--bg-slate);
  border-color: var(--bg-slate);
  color: #FFFFFF;
}

button[type="button"]:hover,
button[data-variant="secondary"]:hover {
  background-color: var(--bg-slate-dark);
}

button[data-variant="outline"] {
  background-color: var(--bg-surface);
  color: var(--ink-primary);
  border: 1px solid var(--border-strong);
}

button[data-variant="outline"]:hover {
  background-color: var(--bg-muted);
}

section article[data-operator] {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-left: 5px solid var(--bg-slate);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  margin-bottom: 0.95rem;
  transition: border-color 0.15s ease;
}

section article[data-operator]:hover {
  border-color: var(--bg-slate);
}

section article[data-rank="1"] {
  border-left-color: var(--accent-crimson);
}

section article[data-operator] > header {
  display: grid;
  grid-template-columns: auto 160px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border-hairline);
}

section article[data-operator] > header > strong {
  background-color: var(--bg-slate);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  font-weight: 700;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

section article[data-rank="1"] > header > strong {
  background-color: var(--accent-crimson);
}

section article[data-operator] > header > div h3 {
  margin-bottom: 0.15rem;
  font-size: 1.2rem;
}

section article[data-operator] > header > div p {
  margin-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

section article[data-operator] > header > aside {
  text-align: right;
  background-color: var(--bg-muted);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  min-width: 115px;
}

section article[data-operator] > header > aside strong {
  display: block;
  font-size: 1.25rem;
  font-family: var(--font-sans);
  color: var(--bg-slate);
  font-variant-numeric: tabular-nums;
}

section article[data-operator] > header > aside small {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-secondary);
}

section article[data-operator] > dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-hairline);
  margin: 0;
}

section article[data-operator] > dl > div {
  padding: 0.25rem 0.65rem;
  border-left: 1px solid var(--border-hairline);
}

section article[data-operator] > dl > div:first-child {
  border-left: none;
  padding-left: 0;
}

section article[data-operator] > dl dt {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 0.15rem;
  font-weight: 600;
}

section article[data-operator] > dl dd {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

section article[data-operator] > footer {
  padding-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

section article[data-operator] > footer > p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  max-width: 65ch;
}

section article[data-operator] > footer > nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

section article[data-operator] > footer > nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background-color: var(--bg-paper);
  color: var(--bg-slate);
  border: 1px solid var(--bg-slate);
}

section article[data-operator] > footer > nav > a:hover {
  background-color: var(--bg-slate);
  color: #FFFFFF;
}

section article[data-operator] > footer > nav > a:last-child {
  background-color: var(--accent-crimson);
  border-color: var(--accent-crimson);
  color: #FFFFFF;
}

section article[data-operator] > footer > nav > a:last-child:hover {
  background-color: var(--accent-crimson-hover);
  border-color: var(--accent-crimson-hover);
  color: #FFFFFF;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

caption {
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-primary);
  margin-bottom: 0.6rem;
}

thead {
  background-color: var(--bg-slate);
  color: #FFFFFF;
}

th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  border-bottom: 2px solid var(--border-strong);
}

td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--ink-secondary);
  vertical-align: top;
}

tbody tr:nth-child(even) {
  background-color: var(--bg-paper);
}

tbody tr:hover {
  background-color: var(--bg-muted);
}

main section > div:not(#operator-ledger-list) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

main section > div:not(#operator-ledger-list) > article,
main section > div:not(#operator-ledger-list) > section {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
}

main section > div:not(#operator-ledger-list) > article a,
main section > div:not(#operator-ledger-list) > section a,
address,
address a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

main section > div:not(#operator-ledger-list) > article h3,
main section > div:not(#operator-ledger-list) > section h3 {
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

details {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
}

details[open] {
  border-color: var(--bg-slate);
  padding-bottom: 1rem;
}

summary {
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-crimson);
}

details[open] summary {
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 0.85rem;
}

details[open] summary::after {
  content: "-";
}

main > article > header {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

main > article > header > img {
  display: block;
  width: 180px;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
}

main > article > header dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-hairline);
}

main > article > header dt {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

main > article > header dd {
  font-weight: 700;
  color: var(--ink-primary);
  font-size: 0.92rem;
}

main > article > section {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}

main > article > section h2 {
  font-size: 1.35rem;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 0.5rem;
  margin-bottom: 0.9rem;
}

body > footer {
  background-color: var(--bg-slate-dark);
  color: #D5DEE6;
  border-top: 4px solid var(--accent-crimson);
  padding: 3.5rem 1.5rem 2.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}

body > footer > div {
  max-width: var(--max-width);
  margin: 0 auto;
}

body > footer section {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.95fr 1.2fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

body > footer section > div {
  display: block;
  margin: 0;
  padding: 0;
  min-width: 0;
}

body > footer h2,
body > footer h3,
body > footer h4 {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.55rem 0;
  border: none;
  padding: 0;
}

body > footer p {
  color: #B8C4D0;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 0.55rem 0;
}

body > footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body > footer li {
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
}

body > footer a {
  color: #D5DEE6;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body > footer a:hover {
  color: #FFFFFF;
}

body > footer address {
  font-style: normal;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
  color: #E2E8F0;
  font-size: 0.8rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body > footer address strong {
  color: #FFFFFF;
  display: block;
  margin-bottom: 0.25rem;
}

body > footer aside {
  background-color: rgba(166, 28, 36, 0.18);
  border: 1px solid rgba(227, 196, 133, 0.35);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin: 2rem 0;
}

body > footer aside p {
  color: #F1F5F9;
  max-width: 100%;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

body > footer aside p:last-child {
  margin-bottom: 0;
}

body > footer aside strong {
  color: #E3C485;
}

body > footer > div > small {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: #94A3B8;
  font-size: 0.8rem;
  padding-top: 0.5rem;
}

dialog {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--ink-primary);
  max-width: 100vw;
  max-height: 100vh;
}

dialog#age-gate-modal[open] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 26, 36, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

dialog#age-gate-modal > article {
  background-color: var(--bg-surface);
  border: 2px solid var(--bg-slate);
  border-top: 6px solid var(--accent-crimson);
  border-radius: var(--radius-md);
  max-width: 560px;
  width: 100%;
  padding: 2.25rem;
}

dialog#age-gate-modal > article h2 {
  font-size: 1.65rem;
  border: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

dialog#age-gate-modal > article footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

dialog#lead-modal[open] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 26, 36, 0.85);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

dialog#lead-modal > article {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-top: 5px solid var(--bg-slate);
  border-radius: var(--radius-md);
  max-width: 540px;
  width: 100%;
  padding: 2rem;
}

aside#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-slate-dark);
  color: #FFFFFF;
  border-top: 2px solid #E3C485;
  padding: 0.65rem 1.25rem;
  z-index: 9000;
}

aside#cookie-banner[hidden] {
  display: none !important;
}

aside#cookie-banner > div {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

aside#cookie-banner p {
  color: #E2E8F0;
  font-size: 0.8rem;
  line-height: 1.3;
  margin: 0;
  max-width: 82ch;
}

aside#cookie-banner a {
  color: #E3C485;
}

aside#cookie-banner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

aside#cookie-banner nav button {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

output {
  display: block;
  margin: 0.35rem 0 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.82rem;
}

output:empty {
  display: none;
}

output[data-state="success"] {
  background-color: #E6F4EA;
  color: #1E5631;
  border: 1px solid #A8DAB5;
}

output[data-state="error"] {
  background-color: #FCE8E6;
  color: #A61C24;
  border: 1px solid #F5C2C0;
}

@media (max-width: 1200px) {
  body > header > nav {
    flex-wrap: wrap;
  }

  body > header > nav > button {
    display: inline-flex;
  }

  body > header > nav > ul {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    gap: 4px;
  }

  body > header > nav > ul[data-open="true"] {
    display: flex;
  }

  body > header > nav > ul > li > a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 980px) {
  main > section:first-of-type > header {
    grid-template-columns: 1fr;
  }

  section article[data-operator] > header {
    grid-template-columns: auto 150px 1fr;
  }

  section article[data-operator] > header > aside {
    grid-column: 1 / -1;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  section article[data-operator] > dl {
    grid-template-columns: repeat(2, 1fr);
  }

  body > footer section {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body > header > aside {
    padding: 2px 6px;
    font-size: 0.62rem;
  }

  body > header > aside > p {
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body > header > aside > p > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body > header > aside > p > span:last-child {
    display: none;
  }

  body > header > nav {
    padding: 4px 8px;
    gap: 6px;
    flex-wrap: wrap;
  }

  body > header > nav > a {
    font-size: 0.9rem;
    gap: 5px;
  }

  body > header > nav > a img {
    width: 24px;
    height: 24px;
  }

  body > header > nav > a span small {
    display: none;
  }

  body > header > nav > button {
    display: inline-flex;
    width: 30px;
    height: 26px;
    padding: 0;
    font-size: 0;
  }

  body > header > nav > ul {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    gap: 4px;
  }

  body > header > nav > ul[data-open="true"] {
    display: flex;
  }

  body > header > nav > ul > li > a {
    padding: 6px 8px;
  }

  main {
    padding: 4px 6px 16px;
  }

  main > section,
  main > article {
    margin-bottom: 6px;
  }

  main > section:first-of-type {
    padding: 5px 8px;
    margin-bottom: 4px;
  }

  main > section:first-of-type > header {
    gap: 4px;
  }

  main > section:first-of-type > header > div > p:first-child {
    display: none;
  }

  main > section:first-of-type > header h1 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    line-height: 1.15;
  }

  main > section:first-of-type > header p {
    font-size: 0.68rem;
    line-height: 1.2;
    margin-bottom: 0;
  }

  main > section:first-of-type > header aside {
    display: none;
  }

  h1 {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }

  h2 {
    font-size: 0.88rem;
    line-height: 1.15;
    margin-bottom: 4px;
    padding-bottom: 2px;
  }

  h3 {
    font-size: 0.92rem;
    margin-bottom: 2px;
  }

  p {
    margin-bottom: 5px;
  }

  ul, ol {
    margin: 0 0 6px 16px;
  }

  li {
    margin-bottom: 3px;
  }

  form#operator-filter-form {
    grid-template-columns: repeat(2, 1fr);
    padding: 4px 6px;
    gap: 4px 6px;
    margin-bottom: 4px;
  }

  form#operator-filter-form label {
    font-size: 0.62rem;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  form#operator-filter-form select,
  form#operator-filter-form button {
    padding: 3px 5px;
    font-size: 0.72rem;
    height: 26px;
  }

  output {
    margin: 2px 0 4px;
    padding: 3px 6px;
    font-size: 0.68rem;
  }

  fieldset {
    display: block;
    padding: 12px 10px;
    margin: 6px 0 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  fieldset > div {
    margin-bottom: 10px;
  }

  fieldset > div:last-of-type {
    margin-bottom: 0;
  }

  legend {
    display: block;
    font-size: 0.82rem;
    padding: 6px 8px;
    margin-bottom: 8px;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  fieldset label {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 4px;
    white-space: normal;
  }

  fieldset input[type="text"],
  fieldset input[type="email"],
  fieldset select,
  fieldset textarea {
    padding: 8px 10px;
    font-size: 0.88rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  fieldset button[type="submit"] {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.88rem;
    height: auto;
  }

  form {
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  section article[data-operator] {
    padding: 6px 8px;
    margin-bottom: 6px;
  }

  section article[data-operator] > header {
    grid-template-columns: 24px 92px 1fr auto;
    gap: 5px;
    padding-bottom: 4px;
  }

  section article[data-operator] > header > strong {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  section article[data-operator] > header > img {
    width: 92px;
    height: 30px;
  }

  section article[data-operator] > header > div h3 {
    font-size: 0.86rem;
    line-height: 1.15;
    margin-bottom: 1px;
  }

  section article[data-operator] > header > div p {
    font-size: 0.64rem;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  section article[data-operator] > header > aside {
    grid-column: auto;
    padding: 2px 5px;
    min-width: 56px;
    text-align: right;
    display: block;
  }

  section article[data-operator] > header > aside strong {
    font-size: 0.82rem;
    line-height: 1.1;
  }

  section article[data-operator] > header > aside small {
    font-size: 0.55rem;
    line-height: 1.1;
  }

  section article[data-operator] > dl {
    grid-template-columns: 1fr 1fr;
    gap: 3px 5px;
    padding: 4px 0;
  }

  section article[data-operator] > dl > div {
    padding: 2px 4px;
  }

  section article[data-operator] > dl dt {
    font-size: 0.58rem;
    margin-bottom: 0;
  }

  section article[data-operator] > dl dd {
    font-size: 0.68rem;
    line-height: 1.15;
  }

  section article[data-operator] > footer {
    padding-top: 4px;
    gap: 4px;
  }

  section article[data-operator] > footer > p {
    font-size: 0.63rem;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  section article[data-operator] > footer > nav {
    width: 100%;
    gap: 5px;
  }

  section article[data-operator] > footer > nav > a,
  section article[data-operator] > footer > nav > button {
    flex: 1 1 calc(50% - 5px);
    padding: 5px 6px;
    font-size: 0.72rem;
  }

  main section > div:not(#operator-ledger-list) {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 8px 0;
  }

  main section > div:not(#operator-ledger-list) > article,
  main section > div:not(#operator-ledger-list) > section {
    padding: 10px;
  }

  figure {
    margin: 8px 0;
    padding: 8px;
  }

  table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 8px 0 12px;
    font-size: 0.84rem;
    border: none;
    background-color: transparent;
  }

  caption {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    font-size: 0.84rem;
    line-height: 1.3;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
  }

  thead {
    display: none;
  }

  tbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  tbody tr,
  tbody tr:nth-child(even) {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-left: 4px solid var(--bg-slate);
    border-radius: var(--radius-md);
    padding: 8px 10px;
  }

  tbody td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 5px 0;
    border-bottom: 1px solid var(--border-hairline);
    font-size: 0.82rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  tbody td:first-child {
    padding-top: 2px;
    font-size: 0.9rem;
    color: var(--ink-primary);
  }

  tbody td:last-child {
    border-bottom: none;
    padding-bottom: 2px;
  }

  tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink-muted);
    margin-bottom: 2px;
  }

  details {
    margin-bottom: 6px;
    padding: 0 10px;
  }

  details[open] {
    padding-bottom: 8px;
  }

  summary {
    padding: 8px 0;
    font-size: 0.95rem;
  }

  main > article > header {
    padding: 12px 10px;
    margin-bottom: 10px;
  }

  main > article > header dl {
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
  }

  main > article > section {
    padding: 10px;
    margin-bottom: 8px;
  }

  main > article > section h2 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    padding-bottom: 4px;
  }

  dialog#age-gate-modal[open],
  dialog#lead-modal[open] {
    padding: 8px;
  }

  dialog#age-gate-modal > article,
  dialog#lead-modal > article {
    padding: 12px 10px;
  }

  dialog#age-gate-modal > article footer {
    gap: 6px;
    margin-top: 10px;
  }

  aside#cookie-banner {
    padding: 5px 8px;
  }

  aside#cookie-banner > div {
    gap: 5px;
  }

  aside#cookie-banner p {
    font-size: 0.65rem;
    line-height: 1.18;
  }

  aside#cookie-banner nav {
    gap: 5px;
  }

  aside#cookie-banner nav button {
    padding: 4px 8px;
    font-size: 0.68rem;
  }

  body > footer {
    padding: 16px 10px 14px;
  }

  body > footer section {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 12px;
  }

  body > footer address {
    padding: 8px 10px;
    margin-top: 6px;
  }

  body > footer aside {
    padding: 10px;
    margin: 10px 0;
  }

  body > footer > div > small {
    gap: 6px;
  }
}
