/* Casino Reviews Canada. Palette: Light Premium + deep teal.
   House rules: no one-side accent borders anywhere (full 1px neutral borders / soft fills only);
   navbar hover and active = colour change only, never an underline; no horizontal overflow 320-1440px. */

:root {
  --page: #F4F0E7;
  --card: #FFFDF9;
  --soft: #EDE6D7;
  --ink: #191C20;
  --muted: #776B58;
  --muted-ink: #5E5444;   /* muted text on cards at 4.5:1 */
  --line: #E4DCCB;
  --gold: #D9A43F;
  --gold-hi: #E8B654;
  --teal: #0F5C5A;
  --teal-hi: #13716E;
  --teal-soft: #E3EEEC;
  --teal-deep: #0B3B3A;
  --crimson: #A3243B;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(25, 28, 32, .05), 0 6px 18px rgba(25, 28, 32, .05);
  --serif: 'Fraunces', 'Fraunces Fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', 'Public Sans Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Size-matched fallback faces: the webfonts swap in without re-wrapping or moving text (Lighthouse
   measured 0.03-0.06 shifts from the swap). Measured in Chrome: Fraunces 700 at H1 sizes = 95.5% of
   Georgia Bold wide, ascent/descent 0.98/0.26 em; Public Sans 400 = 103.5% of Arial, 0.95/0.23 em;
   Public Sans 600-700 = 98% of Arial Bold. Overrides are divided by size-adjust (Chrome scales them). */
@font-face { font-family: 'Fraunces Fallback'; src: local('Georgia Bold'), local('Georgia-Bold'); font-weight: 600 900; size-adjust: 95.5%; ascent-override: 102.6%; descent-override: 27.2%; line-gap-override: 0%; }
@font-face { font-family: 'Fraunces Fallback'; src: local('Georgia'); font-weight: 100 599; size-adjust: 95.5%; ascent-override: 102.6%; descent-override: 27.2%; line-gap-override: 0%; }
@font-face { font-family: 'Public Sans Fallback'; src: local('Arial'), local('ArialMT'); font-weight: 100 549; size-adjust: 103.5%; ascent-override: 91.8%; descent-override: 22.2%; line-gap-override: 0%; }
@font-face { font-family: 'Public Sans Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 550 900; size-adjust: 98%; ascent-override: 96.9%; descent-override: 23.5%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-hi); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
[hidden] { display: none !important; }
.unseen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-to { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-to:focus { top: 8px; color: #fff; }

.gly { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; }
.berth { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .berth { padding: 0 24px; } }

/* ---------------------------------------------------------------- header -- */
.mast { position: sticky; top: 0; z-index: 40; background: var(--card); border-bottom: 1px solid var(--line); }
.mast__row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.ensign { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 19px/1.1 var(--serif); min-width: 0; }
.ensign:hover { color: var(--ink); }
.ensign__mark { width: 36px; height: 36px; flex: none; }
.ensign__tail { color: var(--teal); }
.helm { display: none; margin-left: auto; align-items: center; gap: 2px; }
.helm__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; color: var(--ink); font: 600 15px/1.2 var(--sans);
  text-decoration: none; background: none; border: 0; cursor: pointer; }
.helm__link:hover, .helm__link.lit, .helm__toggle[aria-expanded="true"] { color: var(--teal); }
.helm__more { position: relative; }
.helm__caret { font-size: 12px; transition: transform .15s; }
.helm__toggle[aria-expanded="true"] .helm__caret { transform: rotate(180deg); }
.helm__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 6px; display: grid; }
.helm__item { padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.helm__item:hover { color: var(--teal); background: var(--teal-soft); }
.mast__age { margin-left: auto; flex: none; font: 700 12px/1 var(--sans); color: var(--crimson); border: 1px solid currentColor; border-radius: 999px; padding: 5px 8px; }
.hatch-btn { flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.hatch-btn__line { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.hatch { border-top: 1px solid var(--line); background: var(--card); padding: 8px 16px 16px; display: grid; }
.hatch__link { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.hatch__link:last-child { border-bottom: 0; }
.hatch__link:hover { color: var(--teal); }
@media (min-width: 1000px) {
  .helm { display: flex; }
  .mast__age { margin-left: 8px; }
  .hatch-btn, .hatch { display: none !important; }
}
@media (max-width: 380px) { .ensign { font-size: 16px; gap: 8px; } .ensign__mark { width: 30px; height: 30px; } }

/* ------------------------------------------------------------ page head -- */
.wake { padding: 14px 0 0; font-size: 14px; color: var(--muted-ink); }
.wake__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.wake__list li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.wake__list .gly { font-size: 10px; color: var(--muted); }
.wake a { color: var(--muted-ink); }
.prow { padding: 18px 0 8px; }
.prow__title { font-size: clamp(30px, 6vw, 46px); margin-bottom: .3em; }
.prow__lead { font-size: 18px; color: var(--muted-ink); max-width: 760px; margin: 0 0 14px; }
.signal { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted-ink); }
.signal__item { display: inline-block; }
.signal__item .gly { margin-right: 4px; }
.signal__item .gly { color: var(--teal); }
.signal__item--age { color: var(--crimson); font-weight: 700; }
.crew-line { font-size: 14px; color: var(--muted-ink); margin: 0 0 6px; }
.crew-line .gly { margin-right: 4px; }
.crew-line .gly { color: var(--teal); }
.partner-line { background: var(--teal-soft); border: 1px solid #C9DDD9; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 15px; margin: 10px 0 0; max-width: 820px; }
.partner-line .gly { color: var(--teal); }

/* -------------------------------------------------------------- content -- */
.deck { padding: 12px 0 28px; }
.logbook > * + * { margin-top: 28px; }
.logbook__h { font-size: clamp(23px, 4vw, 30px); margin: 0 0 14px; }
.logbook__body { max-width: 820px; }
.logbook__body > :first-child { margin-top: 0; }
.logbook__body h2 { margin-top: 1.6em; }
.logbook__body h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.logbook__body p, .logbook__body li { font-size: 17px; }
.logbook__body ul, .logbook__body ol { padding-left: 1.3em; }
.logbook__body li + li { margin-top: .35em; }
.logbook__body table:not(.slate-table) { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; margin: 1em 0; }
.logbook__body table:not(.slate-table) th, .logbook__body table:not(.slate-table) td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 110px; }
.logbook__body table:not(.slate-table) thead th { background: var(--soft); }
.auto-block { max-width: 100%; margin: 14px 0 6px; }
.pennant { font: 700 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 0 0 6px; }
.rule-note { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 15px; color: var(--muted-ink); max-width: 820px; }
.rule-note .gly { color: var(--teal); }
.nil { color: var(--muted); font-weight: 600; }
.nil-note { font-size: 14px; color: var(--muted-ink); margin: 10px 0 0; }
.nil-on { color: var(--muted-ink); font-weight: 400; }
.fact-list { margin: 10px 0; padding-left: 1.2em; }
.fact-list li + li { margin-top: .4em; }
.src-tag { display: inline-block; font: 600 12px/1.4 var(--sans); color: var(--teal); background: var(--teal-soft); border-radius: 999px; padding: 0 7px; margin-left: 2px; text-decoration: none; vertical-align: 1px; }
.src-tag:hover { color: #fff; background: var(--teal); }
.src-tag__date { display: inline-block; font-size: 12px; color: var(--muted-ink); margin-left: 4px; }
.tether { font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

/* ----------------------------------------------------------- verdict card -- */
.sounding { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.sounding__head { display: flex; gap: 18px; align-items: flex-start; }
.sounding__line { font-size: 17px; margin: 0; }
.sounding__unscored { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 1px dashed var(--muted); color: var(--muted-ink);
  font: 600 12px/1.2 var(--sans); text-align: center; padding: 8px; }
.sounding--close { background: var(--teal-soft); border-color: #C9DDD9; box-shadow: none; }
.sounding--close .pennant { font-family: var(--sans); }
.dial { flex: none; position: relative; display: grid; place-content: center; text-align: center; width: 84px; height: 84px; border-radius: 50%;
  background: conic-gradient(var(--teal) var(--dial), var(--line) 0); }
.dial::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--card); }
.dial__n, .dial__of { position: relative; }
.dial__n { font: 700 26px/1 var(--serif); color: var(--ink); }
.dial__of { font-size: 12px; color: var(--muted-ink); }
.dial--sm { width: 58px; height: 58px; }
.dial--sm::before { inset: 5px; }
.dial--sm .dial__n { font-size: 18px; }
.dial--sm .dial__of { font-size: 10px; }
.buoy-row { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.buoy { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; min-width: 0; }
.buoy__k { display: block; font-size: 13px; color: var(--muted-ink); }
.buoy__v { display: block; font-size: 16px; }
.sounding__parts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sounding__parts li { display: grid; grid-template-columns: 1fr 90px 34px; gap: 10px; align-items: center; font-size: 14px; }
.sounding__bar { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--teal) var(--fill), var(--line) 0); }
.sounding__parts strong { text-align: right; }
@media (max-width: 480px) { .sounding { padding: 16px; } .sounding__head { gap: 14px; } .dial, .sounding__unscored { width: 70px; height: 70px; } .dial__n { font-size: 22px; } }

/* ---------------------------------------------------------------- provinces -- */
.harbours__lead { color: var(--muted-ink); margin: -6px 0 14px; max-width: 820px; }
.harbours__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.harbour { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-width: 0; }
.harbour__name { font: 700 18px/1.2 var(--serif); margin: 0 0 6px; }
.harbour__site { margin: 0 0 8px; font-size: 15px; }
.harbour__dom { display: block; font-weight: 700; color: var(--teal-deep); word-break: break-all; }
.harbour__lic { font-size: 14px; color: var(--muted-ink); margin: 0 0 8px; }
.harbour__lic .gly { color: var(--teal); }
.harbour__age { display: inline-block; margin: 0; font: 700 13px/1 var(--sans); color: var(--crimson); background: #F7E6E9; border-radius: 999px; padding: 6px 10px; }

/* ---------------------------------------------------------------- tables -- */
.sway-x { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.slate-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.slate-table th, .slate-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.slate-table tbody tr:last-child > * { border-bottom: 0; }
.slate-table thead th { background: var(--soft); font: 700 13px/1.3 var(--sans); letter-spacing: .02em; color: var(--ink); }
.slate-table thead th:first-child { border-top-left-radius: var(--radius); }
.slate-table thead th:last-child { border-top-right-radius: var(--radius); }
.slate-table tbody th { font-weight: 700; }
.manifest tbody th { width: 190px; color: var(--muted-ink); font-weight: 600; }
.manifest td { min-width: 180px; }
.manifest__off { display: inline-block; font-weight: 600; font-size: 12px; color: var(--crimson); }
.lic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lic-list__st { display: block; font-size: 13px; color: var(--muted-ink); }
.convoy__self > * { background: var(--teal-soft); }
.convoy__grp { display: block; font-weight: 400; font-size: 13px; color: var(--muted-ink); }
@media (max-width: 639px) {
  .slate-table, .slate-table tbody, .slate-table tr, .slate-table th, .slate-table td { display: block; width: 100%; }
  .slate-table { border: 0; background: none; }
  .slate-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .slate-table tr { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; padding: 4px 0; }
  .slate-table tbody th { border-bottom: 1px solid var(--line); padding: 10px 14px; font-size: 16px; }
  .manifest tbody th { width: 100%; color: var(--ink); }
  .slate-table td { border-bottom: 0; position: relative; padding: 6px 14px 6px calc(36% + 14px); min-width: 0; min-height: 32px; }
  .slate-table td::before { content: attr(data-label); position: absolute; left: 14px; top: 7px; width: calc(36% - 8px); font-size: 13px; font-weight: 600; color: var(--muted-ink); }
  .manifest--one td { padding-left: 14px; }
  .manifest--one td::before { display: none; }
  .sway-x { overflow: visible; }
}

/* ----------------------------------------------------------- partner card -- */
.consort { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: start; max-width: 820px; }
.consort__name, .consort__offer { overflow-wrap: anywhere; }
.consort__kicker { margin: 0; font: 700 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); display: inline-flex; gap: 6px; align-items: center; }
.consort__name { margin: 0; font: 700 26px/1.1 var(--serif); }
.consort__offer { margin: 0; font-size: 17px; font-weight: 600; }
.consort__note { margin: 0; font-size: 14px; color: var(--muted-ink); }
.consort-off { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; max-width: 820px; }
.consort-off p { margin: 0; }
.consort-off__icon { font-size: 22px; color: var(--teal); margin-top: 2px; }
.small-type { margin: 0; font-size: 13px; color: var(--muted-ink); }
.oar { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 10px; font: 700 16px/1.25 var(--sans);
  text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, color .15s; max-width: 100%; }
.oar--gold { background: var(--gold); color: var(--ink); border: 2px solid var(--ink); }
.oar--gold:hover { background: var(--gold-hi); color: var(--ink); }
.oar--line { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.oar--line:hover { color: var(--teal); background: var(--teal-soft); }
@media (max-width: 480px) { .consort { padding: 16px; } .consort .oar { width: 100%; } }

/* ------------------------------------------------------------ pros / cons -- */
.bearings { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bearings__col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.bearings__col--fair { background: #F0F5F1; }
.bearings__col--foul { background: #F8F0EA; }
.bearings__h { font-size: 19px; display: flex; gap: 8px; align-items: center; }
.bearings__col--fair .gly { color: var(--teal); }
.bearings__col--foul .gly { color: #8A4B1F; }
.bearings ul { margin: 0; padding-left: 1.2em; }
.bearings li + li { margin-top: .4em; }

.reckon { background: var(--teal-soft); border: 1px solid #C9DDD9; border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 14px; max-width: 820px; }
.reckon p { margin: 0 0 6px; }
.reckon__fine { font-size: 14px; color: var(--muted-ink); }

/* -------------------------------------------------------------- negatives -- */
.shoal { background: #FBF4EC; border: 1px solid #EBDCC7; border-radius: var(--radius); padding: 18px 20px; }
.shoal__lead { margin: -6px 0 12px; color: var(--muted-ink); }
.shoal__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.shoal__item { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.shoal__item .gly { color: #9A5B12; margin-top: 4px; }
.shoal__item--reg .gly { color: var(--crimson); }
.shoal__site { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted-ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; margin-left: 4px; }

/* -------------------------------------------------------------- change log -- */
.ship-log__list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ship-log__row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ship-log__row:last-child { border-bottom: 0; }
.ship-log__row time { font-weight: 700; color: var(--teal-deep); }
@media (max-width: 480px) { .ship-log__row { grid-template-columns: 1fr; gap: 2px; } }

/* -------------------------------------------------------------- author box -- */
.crew-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.crew-card__who { display: flex; gap: 12px; align-items: center; }
.crew-card__who p { margin: 0; font-size: 15px; color: var(--muted-ink); }
.crew-card__who strong { color: var(--ink); }
.crew-card__ini { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font: 700 17px/1 var(--serif); }
.crew-card__ini--alt { background: var(--teal-deep); }
.crew-card__how { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--muted-ink); }

/* ------------------------------------------------------------ review cards -- */
.fleet { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.fleet--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin: 16px 0; }
.fleet__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.fleet__card p { margin: 0; }
.fleet__name { font: 700 18px/1.25 var(--serif); color: var(--ink); text-decoration: none; display: flex; gap: 8px; align-items: center; }
a.fleet__name:hover { color: var(--teal); }
.fleet__name .gly { color: var(--teal); }
.fleet__meta { font-size: 14px; color: var(--muted-ink); }

/* ------------------------------------------------------------ ranked list -- */
.roster { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: none; }
.roster__row { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 10px 16px; align-items: center;
  grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "rank main score" "facts facts facts" "go go go"; }
.roster__rank { grid-area: rank; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-deep); color: #fff; display: grid; place-items: center; font: 700 15px/1 var(--sans); }
.roster__main { grid-area: main; min-width: 0; }
.roster__name { display: block; font: 700 19px/1.25 var(--serif); color: var(--ink); text-decoration: none; }
.roster__name:hover { color: var(--teal); }
.roster__lic { display: block; font-size: 14px; color: var(--muted-ink); }
.roster__score { grid-area: score; }
.roster__unscored { display: inline-block; font-size: 12px; font-weight: 600; color: var(--muted-ink); border: 1px dashed var(--muted); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.roster__facts { grid-area: facts; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.roster__facts div { background: var(--page); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; min-width: 0; }
.roster__facts dt { font-size: 12px; color: var(--muted-ink); }
.roster__facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.roster__go { grid-area: go; }
@media (min-width: 860px) {
  .roster__row { grid-template-columns: 34px minmax(0, 1.3fr) auto minmax(0, 1.5fr) auto; grid-template-areas: "rank main score facts go"; }
}

/* ------------------------------------------------------------ /reviews tools -- */
.sextant { display: grid; gap: 10px 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.sextant__field { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted-ink); min-width: 0; }
.sextant__field--wide { grid-column: 1 / -1; }
.sextant input[type=search], .sextant select { width: 100%; min-height: 44px; padding: 8px 10px; font: 400 16px/1.3 var(--sans); color: var(--ink); background: var(--page); border: 1px solid var(--line); border-radius: 8px; }
.sextant__check { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 600; }
.sextant__check input { width: 20px; height: 20px; accent-color: var(--teal); }
.sextant__count { margin: 12px 0 8px; color: var(--muted-ink); }
.sextant__count strong { color: var(--ink); }
.sextant__empty { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tidetable__go { font-weight: 700; }
@media (min-width: 900px) { .sextant__field--wide { grid-column: auto / span 2; } }

/* ------------------------------------------------------------------- FAQ -- */
.parleys { padding: 8px 0 32px; }
.parleys__title { font-size: clamp(23px, 4vw, 30px); }
.parleys__list { display: grid; gap: 10px; max-width: 860px; }
.parley { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.parley__q { margin: 0; font: 600 17px/1.35 var(--sans); }
.parley__btn { width: 100%; display: flex; justify-content: space-between; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border: 0; background: none;
  font: inherit; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm); }
.parley__btn:hover { color: var(--teal); }
.parley__icon { color: var(--teal); transition: transform .15s; }
.parley__btn[aria-expanded="true"] .parley__icon { transform: rotate(180deg); }
.parley__panel { padding: 0 16px 14px; }
.parley__panel p { margin: 0; }

/* ------------------------------------------------------------ RG band + footer -- */
.lifebuoy { background: var(--card); border-top: 1px solid var(--line); padding: 28px 0; }
.lifebuoy__inner { display: flex; gap: 16px; align-items: flex-start; }
.lifebuoy__icon { font-size: 30px; color: var(--crimson); margin-top: 4px; }
.lifebuoy__title { font-size: 21px; }
.lifebuoy p { margin: 0 0 8px; font-size: 15px; max-width: 860px; }
.keel { background: var(--teal-deep); color: #D6E3E1; padding: 36px 0 20px; font-size: 15px; }
.keel a { color: #fff; }
.keel__grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.keel__col { display: grid; gap: 6px; align-content: start; min-width: 0; }
.keel__head { font: 700 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #9FC4BF; margin: 0 0 4px; }
.keel__link { color: #EAF2F1 !important; text-decoration: none; padding: 2px 0; }
.keel__link:hover { color: var(--gold-hi) !important; }
.keel__link--all { font-weight: 700; }
.keel__blurb { margin: 8px 0 0; max-width: 340px; }
.ensign--keel { color: #fff; }
.ensign--keel:hover { color: #fff; }
.ensign--keel .ensign__tail { color: var(--gold-hi); }
.keel__base { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.keel__base p { margin: 0; }
.keel__age { display: inline-block; font-weight: 700; color: #fff; background: var(--crimson); border-radius: 999px; padding: 1px 8px; margin-right: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Long unbroken strings (emails, URLs, "CA$40,000/month") never widen the page on a phone. */
.shoal__item span, .logbook__body p, .logbook__body li, .fact-list li, .harbour, .buoy, .roster__facts dd, .fleet__name, .fleet__meta { overflow-wrap: anywhere; }
.slate-table th, .slate-table td { overflow-wrap: anywhere; }
/* Hooks used by scripts or tests; listed so every class in the DOM has a rule. */
.convoy, .tidetable, .tidetable__row, .slate-table--pay, .fact-v, .ensign__name, .sextant__reset { box-sizing: border-box; }
.convoy-wrap, .fleet-wrap, .harbours, .ship-log { display: block; }
/* Partner button: one line at every width. Phones drop " at Neospin" (the name is printed just above). */
.oar--offer { white-space: nowrap; }
@media (max-width: 480px) { .oar__tail { display: none; } }
@media (max-width: 374px) { .consort { padding: 14px; } .oar--offer { font-size: 15px; padding: 10px 12px; gap: 6px; } }

/* ---- step-4 review fixes (2026-10-24) ---------------------------------------------------------- */
/* Writers' tables, turned into .slate-table--prose by cardTables() (includes/data.php): their column
   headers are long sentences, so on phones the label sits on its own line above the value. */
.slate-table--prose { margin: 1em 0; }
.slate-table--prose thead td { background: var(--soft); border-bottom: 1px solid var(--line); border-top-left-radius: var(--radius); }
.slate-table--prose tbody th { color: var(--ink); }
@media (max-width: 639px) {
  .slate-table--prose td { padding: 6px 14px; }
  .slate-table--prose td::before { position: static; display: block; width: auto; margin-bottom: 1px; }
}
/* Tap targets: 44px tall hit areas for links that sit alone (breadcrumb, link rows, card names, logo).
   Padding + equal negative margin = bigger target, same layout. Footer links are stacked, so they get
   real height (overlapping hit areas would be worse than a longer footer). */
.ensign { min-height: 44px; }
.wake a { display: inline-block; padding: 11px 0; margin: -11px 0; }
.tether a:not(.oar), .rule-note a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.roster__name, a.fleet__name { padding: 11px 0; margin: -11px 0; }
.helm__link { min-height: 44px; }
.keel__col { gap: 0; }
.keel__link { display: flex; align-items: center; min-height: 44px; padding: 0; }
.keel__head { margin-bottom: 2px; }
/* Source pills sit inside sentences and table cells (WCAG 2.5.8 inline exception), but still get a
   24px hit area without changing how they look. */
.src-tag { position: relative; }
.src-tag::after { content: ""; position: absolute; inset: -4px -2px; }
/* Focus ring on the dark footer: teal on #0B3B3A was 1.6:1; gold is 6.6:1. */
.keel :focus-visible { outline-color: var(--gold-hi); }
/* Desktop tables: "anywhere" let the browser squeeze columns below one word ("Ter|m", "Withdr|awal" -
   944 cells at 1366px). break-word keeps whole words in the column sizing and still breaks a string
   that cannot fit; the stacked phone layout keeps "anywhere". */
@media (min-width: 640px) { .slate-table th, .slate-table td { overflow-wrap: break-word; } }
@media (min-width: 640px) and (max-width: 899px) { .manifest td { min-width: 150px; } .manifest tbody th { width: 160px; } }
/* Phone wordmark always on two lines ("Casino Reviews / Canada"): with the fallback font it fit on one
   line and the webfont swap broke it to two, moving the header text (part of the 0.02 shift). */
@media (max-width: 599px) { .ensign__tail { display: block; } }

/* Welcome offer box (top of reviews and bonus pages) - full neutral border, no side stripe */
.bounty { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin: 0 0 22px; }
.bounty__h { font: 600 21px/1.25 var(--serif); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.bounty__h .gly { width: 20px; height: 20px; fill: var(--teal); flex: none; }
.bounty__site + .bounty__site { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bounty__site-h { margin: 0 0 8px; font-weight: 600; font-size: 15px; }
.bounty__dom { font-weight: 400; color: var(--muted-ink); font-size: 14px; }
.bounty__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bounty__tile { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; min-width: 0; overflow-wrap: anywhere; }
.bounty__tile--lead { grid-column: 1 / -1; background: var(--teal-soft); }
.bounty__k { display: block; font-size: 13px; color: var(--muted-ink); }
.bounty__v { display: block; font-size: 16px; line-height: 1.35; }
.bounty__tile--lead .bounty__v { font: 600 22px/1.25 var(--serif); color: var(--teal-deep); }
.bounty__agco { margin: 0; font-size: 15px; color: var(--muted-ink); }
.bounty__fine { margin: 12px 0 0; font-size: 13px; color: var(--muted-ink); }
@media (max-width: 640px) { .bounty { padding: 14px; } .bounty__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.roster__offer { grid-column: 1 / -1; }
