/* Trusted Online Casino Malaysia */
:root {
  --text: #22313f;
  --quiet: #536472;
  --base: #f6f8f7;
  --panel: #ffffff;
  --sage: #3d6b5a;
  --sage-light: #e3ede8;
  --link: #275a86;
  --line: #d4ddd8;
  --face: "Seravek", "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", "Source Sans Pro", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--text); font-family: var(--face); font-size: 18px; line-height: 1.7; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }

.top { background: var(--panel); border-bottom: 1px solid var(--line); text-align: center; padding: 22px 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.seal { width: 30px; height: 34px; background: var(--sage); clip-path: polygon(50% 0, 100% 16%, 100% 58%, 50% 100%, 0 58%, 0 16%); position: relative; }
.seal::after { content: ""; position: absolute; left: 9px; top: 9px; width: 8px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.brandname { font-size: 21px; font-weight: 600; letter-spacing: 0.01em; }
.brandname span { color: var(--sage); }
.motto { margin: 4px 0 12px; font-size: 14px; color: var(--quiet); }
.links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.links a { display: block; padding: 10px 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); text-decoration: none; border-bottom: 2px solid transparent; }
.links a:hover, .links a.here { border-bottom-color: var(--sage); color: var(--sage); }

.page { max-width: 720px; margin: 0 auto; padding: 8px 16px 56px; }
.trail ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 8px; padding: 0; margin: 18px 0 0; font-size: 14px; color: var(--quiet); }
.trail li + li::before { content: "\203A"; margin-right: 8px; }
.page h1 { font-size: clamp(28px, 4.6vw, 38px); line-height: 1.2; font-weight: 600; margin: 18px 0 14px; }
.stamp { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--quiet); background: var(--sage-light); border-radius: 6px; padding: 10px 14px; margin: 0 0 26px; }
.stamp .more { flex-basis: 100%; }

.text h2 { font-size: 25px; line-height: 1.3; font-weight: 600; margin: 44px 0 12px; color: var(--text); }
.text h3 { font-size: 20px; font-weight: 600; margin: 28px 0 6px; color: var(--sage); }
.text p, .text ul, .text ol { margin: 0 0 18px; }
.text li { margin-bottom: 6px; }
.text blockquote { margin: 22px 0; padding: 16px 18px 6px; background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--sage); border-radius: 0 8px 8px 0; font-size: 17px; }
.text blockquote ul { padding-left: 20px; }
.text hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.sheet { overflow-x: auto; margin: 20px 0 26px; }
.ledger { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; background: var(--panel); }
.ledger th { text-align: left; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--quiet); padding: 10px; border-bottom: 2px solid var(--sage); vertical-align: bottom; }
.ledger td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.shortlist .pos { font-weight: 600; color: var(--sage); width: 36px; }
.shortlist .who strong { display: block; }
.official a { font-size: 13px; }
@media (max-width: 640px) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; padding: 6px 4px; background: var(--panel); }
  .ledger td { border: 0; padding: 4px 10px; }
  .ledger td[data-k]::before { content: attr(data-k); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--quiet); }
  .shortlist .pos { width: auto; }
}

.exhibit { margin: 22px 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.exhibit img { display: block; border-radius: 4px; }
.exhibit figcaption { font-size: 14px; color: var(--quiet); padding: 6px 4px 0; }
.player { position: relative; aspect-ratio: 16 / 9; padding: 0; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pending { background: #fff06a; color: #1d1d1d; padding: 1px 4px; border-radius: 3px; border: 1px solid #c9b200; font-size: 0.9em; }

.bottom { background: var(--sage-light); border-top: 1px solid var(--line); padding: 32px 16px 26px; font-size: 15px; }
.bottomgrid { max-width: 720px; margin: 0 auto; display: grid; gap: 18px; }
@media (min-width: 720px) { .bottomgrid { grid-template-columns: 2fr 1fr; } }
.method h2 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.method p { margin: 0; color: var(--quiet); }
.small ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.adults, .copy { max-width: 720px; margin: 18px auto 0; }
.adults b { display: inline-block; background: var(--text); color: #fff; padding: 1px 8px; border-radius: 4px; margin-right: 6px; }
.adults a { margin-right: 12px; }
.copy { font-size: 13px; color: var(--quiet); margin-top: 8px; }

/* team photos */
.by-photo{width:32px;height:32px;border-radius:50%;object-fit:cover;vertical-align:middle;margin-right:.45em}
.team{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin:1rem 0 1.5rem}
.team-card{display:flex;gap:.9rem;align-items:flex-start;margin:0}
.team-card img{width:96px;height:96px;border-radius:50%;object-fit:cover;flex:none}
.team-card figcaption{display:flex;flex-direction:column;gap:.2rem}
.team-card figcaption span:nth-child(2){font-size:.9em;opacity:.75}

.article-count{font-size:.9rem;opacity:.8;margin:1.2rem 0 .4rem}
.article-list{list-style:none;padding:0;margin:0;border-top:1px solid rgba(128,128,128,.25)}
.article-list li{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;
  padding:.55rem 0;border-bottom:1px solid rgba(128,128,128,.25)}
.article-list time{font-size:.82rem;opacity:.7;white-space:nowrap}
@media(max-width:640px){.article-list li{flex-direction:column;gap:.15rem}
  .article-list a{display:flex;align-items:center;min-height:44px}}

.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem;margin:1.4rem 0;padding:0}
.stats div{border:1px solid rgba(128,128,128,.28);border-radius:8px;padding:.65rem .8rem;margin:0}
.stats dt{font-size:.74rem;text-transform:uppercase;letter-spacing:.04em;opacity:.68;margin:0}
.stats dd{margin:.2rem 0 0;font-weight:600;line-height:1.3}

/* Phone tap targets, added after the 2026-11-18 mobile audit. This theme deliberately has
   no CTA button, so the partner links stay plain text inside the table; they get room to
   be tapped instead of a button. Footer links already clear 40px. Desktop is untouched. */
@media (max-width: 640px) {
  .brand { display: inline-flex; align-items: center; min-height: 44px; }
  table td a[rel~="sponsored"] { display: inline-block; padding: 12px 0; font-weight: 600; }
  .links a { padding: 13px 12px; }
}
