/* Kilo Iʻa v9 · "dive slate".  Green, amber and red only ever mean the law. Purple only ever means ciguatera.
   Everything else is ink on a pale ground. */
:root {
  --ink: #0A1E28; --ink2: #4A5B64; --muted: #5E6E76; --ctl: #B4BFC4; --line: #CFD7DA; --hair: #E1E6E8;
  --ground: #EEF1F0; --surface: #fff; --mutedbg: #F6F8F7; --mutedline: #D5DCDF; --hdr2: #B5C2C8; --ph: #D9E0E3;
  --open: #0F6B3C; --opentint: #DCEFE3; --opentext: #0B5730;
  --lim: #F2B100; --limtint: #FFF1BF;
  --no: #C3271C; --notint: #FBE3E0; --notext: #A32016; --nohatch: #F1BDB7; --nodark: #7E170F;
  --c1: #EDE6F5; --c2: #D3C2EA; --c3: #A583D3; --c4: #6E45A8; --c5: #43206F; --con: #5B2E91; --coff: #E0D6EE;
  --cond: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: Barlow, "Helvetica Neue", Arial, sans-serif;
  --r: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.4; }
a { color: var(--ink); }
a:hover { color: var(--ink2); }
img { display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1A73E8; outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c { font-family: var(--cond); }
.lbl { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.muted { color: var(--ink2); }
.small { font-size: 13px; }
.ico { flex: none; }
#app { min-height: 60vh; outline: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 20px 16px 28px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
h1, h2, h3 { margin: 0; font-family: var(--cond); font-weight: 700; line-height: 1; }
.h1 { font-size: 48px; }
.h2 { font-size: 30px; }
.sec { display: flex; flex-direction: column; gap: 10px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.pad { padding: 14px 16px; }
.rows { padding: 2px 16px; display: flex; flex-direction: column; }
.rows > * + * { border-top: 1px solid var(--hair); }

/* ---------- header and nav ---------- */
.top { background: var(--ink); color: #fff; }
.top-in { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 8px 32px; padding: 12px 16px; flex-wrap: wrap; }
.brand { font-family: var(--cond); font-weight: 700; font-size: 30px; letter-spacing: .03em; line-height: 1; color: #fff; text-decoration: none; text-transform: uppercase; }
.brand:hover { color: #fff; }
.topnav { display: none; gap: 4px; font-family: var(--cond); font-weight: 600; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; }
.topnav a { height: 44px; padding: 0 14px; display: flex; align-items: center; color: var(--hdr2); text-decoration: none; }
.topnav a.on { color: #fff; box-shadow: inset 0 -3px 0 #fff; }
.islbtn { margin-left: auto; display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px; background: transparent; color: #fff; border: 1.5px solid #fff; border-radius: var(--r); font-family: var(--cond); font-weight: 600; font-size: 19px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.islbtn.dark { color: var(--ink); border-color: var(--ink); font-size: 18px; margin-left: 0; }
.search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--ctl); border-radius: var(--r); padding: 0 12px; height: 46px; }
.top .search { border: 0; flex: 1 1 100%; order: 3; }
.search input { border: 0; outline: none; background: transparent; font-size: 16px; width: 100%; min-width: 0; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.tabbar a { color: var(--ink2); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.tabbar a.on { color: var(--ink); box-shadow: inset 0 3px 0 var(--ink); }
body.has-tabbar { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
body.inquiz .tabbar, body.inquiz .top { display: none; }
body.inquiz { padding-bottom: 0; }
.foot { max-width: 1280px; margin: 0 auto; padding: 16px 16px 24px; font-size: 13px; color: var(--ink2); }
@media (min-width: 800px) {
  .topnav { display: flex; }
  .tabbar { display: none; }
  body.has-tabbar { padding-bottom: 0; }
  .top-in { padding: 12px 32px; }
  .top .search { display: none; }
  .wrap { padding: 28px 32px 48px; }
  .brand { font-size: 32px; }
}

/* ---------- buttons, chips, tags ---------- */
.btn { height: 56px; padding: 0 20px; border-radius: var(--r); border: 0; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 21px; letter-spacing: .08em; text-transform: uppercase; }
.btn:hover { color: #fff; background: #183543; }
.btn.sec2 { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.sec2:hover { background: var(--ground); color: var(--ink); }
.btn.sm { height: 44px; font-size: 17px; padding: 0 14px; font-weight: 600; letter-spacing: .06em; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ctl); }
.btn:disabled { background: var(--ph); color: var(--ink2); cursor: default; }
.btn.wide { width: 100%; }
.btnrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; background: none; border: 0; padding: 0; text-decoration: underline; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 44px; padding: 0 14px; border-radius: var(--r); border: 1.5px solid var(--ctl); background: #fff; color: var(--ink); display: flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sw { width: 12px; height: 12px; flex: none; display: inline-block; }
.sw.open { background: var(--open); } .sw.limits { background: var(--lim); } .sw.notake { background: var(--no); }
.chip[aria-pressed="true"] .sw { box-shadow: 0 0 0 1.5px #fff; }
.tag { flex: none; display: inline-block; padding: 2px 8px; border-radius: 3px; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.tag.notake, .tag.nospear { background: var(--no); color: #fff; }
.tag.limits { background: var(--lim); color: var(--ink); }
.tag.open { background: var(--open); color: #fff; }
.tag.here { background: var(--ink); color: #fff; font-weight: 600; font-size: 12px; letter-spacing: .08em; }

/* ---------- photos ---------- */
.ph { position: relative; background: var(--ph); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .none { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink2); font-size: 13px; background: #E6EBED; text-align: center; padding: 8px; }
.credit { font-size: 12px; color: var(--ink2); }
.cred-over { position: absolute; right: 8px; bottom: 8px; background: #fff; color: var(--ink2); font-size: 11px; padding: 2px 6px; border-radius: 3px; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- directory ---------- */
.dir { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-start; }
.dir-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dir-head { display: none; }
.rail { display: none; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); }
.fcard:hover { color: var(--ink); border-color: var(--ink2); }
.fcard .ph { height: 120px; }
.lawbar { padding: 0 10px; min-height: 28px; display: flex; align-items: center; gap: 6px; font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.05; }
.lawbar.open { background: var(--open); color: #fff; }
.lawbar.limits { background: var(--lim); color: var(--ink); }
.lawbar.notake, .lawbar.closed { background: var(--no); color: #fff; }
.lawbar .inv { margin-left: auto; font-weight: 600; font-size: 13px; border: 1px solid currentColor; padding: 0 5px; border-radius: 3px; }
.fcard .body { padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nm { font-family: var(--cond); font-weight: 700; font-size: 23px; line-height: 1; }
.en { font-size: 13px; color: var(--ink2); }
.exc { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--notext); padding-top: 3px; }
.exc.ink { color: var(--ink); }
.meter { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; }
.meter .k { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: .08em; color: var(--ink2); }
.meter .sq { display: flex; gap: 2px; }
.meter .sq i { width: 10px; height: 10px; background: var(--coff); }
.meter .sq i.on { background: var(--con); }
.meter b { font-family: var(--cond); font-weight: 700; font-size: 14px; color: var(--c5); }
.notice { background: var(--notint); border-radius: var(--r); padding: 0 14px; min-height: 52px; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.empty { padding: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
@media (min-width: 700px) {
  .fgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .fcard .ph { height: 150px; }
  .lawbar { min-height: 30px; font-size: 17px; padding: 0 12px; }
  .nm { font-size: 26px; }
  .en { font-size: 14px; }
}
@media (min-width: 900px) {
  .dir-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; }
  .rail { display: flex; flex: 0 0 220px; flex-direction: column; gap: 22px; }
  .phone-only { display: none !important; }
}
@media (max-width: 899px) { .desk-only { display: none !important; } }

/* filter controls (rail and sheet) */
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0 0 8px; }
.ck { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 500; }
.ck input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.sel { height: 48px; padding: 0 10px; background: #fff; border: 1.5px solid var(--ctl); border-radius: var(--r); font-size: 16px; width: 100%; }
.seg { display: grid; gap: 8px; }
.segbtn { min-height: 48px; background: #fff; color: var(--ink); border: 1.5px solid var(--ctl); border-radius: var(--r); font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: .03em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 6px; }
.segbtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cigbtn { height: 48px; border: 0; font-family: var(--cond); font-weight: 700; font-size: 22px; box-shadow: inset 0 0 0 1.5px var(--ctl); background: #fff; color: var(--ink2); text-decoration: line-through; }
.cigbtn[aria-pressed="true"] { box-shadow: inset 0 0 0 2.5px var(--ink); color: var(--ink); text-decoration: none; }

/* ---------- sheets ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(10, 30, 40, .62); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 560px; max-height: calc(100vh - 44px); overflow-y: auto; border-radius: 12px 12px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }
.grab { align-self: center; width: 40px; height: 4px; border-radius: 2px; background: var(--ctl); flex: none; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sheet-h h2 { font-size: 32px; }
.xbtn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: 0; color: inherit; }
.isl { display: flex; align-items: center; gap: 12px; min-height: 60px; border-top: 1px solid var(--hair); margin: 0 -16px; padding: 0 16px; cursor: pointer; }
.isl:last-child { border-bottom: 1px solid var(--hair); }
.isl input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.isl .n { font-family: var(--cond); font-weight: 700; font-size: 24px; line-height: 1; }
.isl .b { margin-left: auto; font-size: 13px; color: var(--ink2); text-align: right; max-width: 45%; }
.isl.on { background: var(--ground); }
@media (min-width: 800px) {
  .scrim { align-items: center; }
  .sheet { border-radius: 12px; max-height: calc(100vh - 80px); }
}
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r); font-weight: 600; max-width: calc(100% - 32px); }

/* ---------- fish page ---------- */
.fp-hero { position: relative; }
.fp-hero .ph { height: 260px; }
.fp-hero .ov { position: absolute; top: 12px; width: 44px; height: 44px; border-radius: var(--r); background: #fff; color: var(--ink); border: 0; display: flex; align-items: center; justify-content: center; }
.fp-hero .ov.l { left: 12px; } .fp-hero .ov.r { right: 12px; }
.phase-lbl { position: absolute; left: 12px; bottom: 10px; background: #fff; padding: 2px 8px; border-radius: 3px; font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; width: 72px; height: 54px; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.fp-strip { background: #fff; padding: 8px 16px 10px; display: flex; flex-direction: column; gap: 6px; }
.fp-title { background: #fff; padding: 10px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.fp-title h1 { font-size: 60px; line-height: .95; }
.fp-title .en1 { font-size: 18px; font-weight: 500; }
.fp-title .sci { font-size: 14px; color: var(--ink2); }
.fp-tabs { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; position: sticky; top: 0; z-index: 5; }
.fp-tabs a { padding: 0 4px; text-align: center; height: 48px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink2); }
.fp-tabs a.on { color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
.fp-body { padding: 16px; display: flex; flex-direction: column; gap: 32px; }
.fp-body > section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 56px; }
.fp-desk { display: none; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink2); }
.crumb a { font-weight: 600; }
@media (min-width: 900px) {
  .fp-phone { display: none; }
  .fp-desk { display: block; }
  .fp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 28px 40px; align-items: start; }
  .fp-desk .hero { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); }
  .fp-desk .thumbs button { width: 96px; height: 72px; }
  .fp-desk h1 { font-size: 104px; line-height: .9; }
  .fp-desk .fp-body { padding: 0; }
}

/* verdict block */
.verdict { border-radius: var(--r); overflow: hidden; }
.verdict .top1 { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.verdict.open .top1 { background: var(--open); color: #fff; }
.verdict.limits .top1 { background: var(--lim); color: var(--ink); }
.verdict.notake .top1, .verdict.closed .top1 { background: var(--no); color: #fff; }
.verdict .vh { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.verdict .vk { display: flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.verdict .nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.verdict .nums.one { grid-template-columns: 1fr; }
.verdict .num { display: flex; flex-direction: column; gap: 4px; }
.verdict .num + .num { border-left: 1.5px solid currentColor; padding-left: 16px; }
.verdict .big { font-family: var(--cond); font-weight: 700; font-size: 76px; line-height: .85; }
.verdict .big small { font-size: 32px; }
.verdict .num span { font-size: 14px; font-weight: 500; }
.verdict .foot1 { padding: 10px 16px 12px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.verdict.open .foot1 { background: var(--opentint); }
.verdict.limits .foot1 { background: var(--limtint); }
.verdict.notake .foot1, .verdict.closed .foot1 { background: var(--notint); }
.verdict .islbtn { border-color: currentColor; color: inherit; font-size: 18px; margin-left: 0; }
.verdict .inv { font-family: var(--cond); font-weight: 600; font-size: 15px; border: 1px solid currentColor; padding: 0 7px; border-radius: 3px; letter-spacing: .04em; }
@media (min-width: 900px) { .verdict .big { font-size: 92px; } .verdict .big small { font-size: 38px; } }
.phaserow { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
.phaserow .ph { min-height: 124px; }
.phaserow .pt { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.phaserow .pt.notake { background: var(--no); color: #fff; }
.phaserow .pt.limits { background: var(--lim); color: var(--ink); }
.phaserow .pt.open { background: var(--open); color: #fff; }
.phaserow .pk { display: flex; align-items: center; gap: 7px; font-family: var(--cond); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.phaserow .pn { font-weight: 600; font-size: 16px; }
.phaserow .pl { font-size: 14px; }
.phases { border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; gap: 3px; }
.phases .foot1 { background: var(--limtint); padding: 10px 14px 12px; font-size: 14px; }

/* size bar */
.sizebar { display: flex; height: 32px; border-radius: 3px; overflow: hidden; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.sizebar .small1 { background-color: var(--notint); background-image: repeating-linear-gradient(135deg, var(--nohatch) 0, var(--nohatch) 4px, var(--notint) 4px, var(--notint) 9px); color: var(--nodark); display: flex; align-items: center; padding-left: 10px; min-width: 0; overflow: hidden; white-space: nowrap; }
.sizebar .small1 span { background: var(--notint); padding: 0 5px; }
.sizebar .legal { background: var(--open); color: #fff; display: flex; align-items: center; padding-left: 10px; min-width: 0; overflow: hidden; white-space: nowrap; }
.scale { position: relative; height: 18px; font-family: var(--cond); font-weight: 600; font-size: 15px; }
.scale span { position: absolute; top: 0; white-space: nowrap; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; }
.kv .r { display: flex; align-items: center; gap: 7px; font-family: var(--cond); font-weight: 700; font-size: 18px; white-space: nowrap; text-align: right; }
.arow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 0; }
.arow .t { font-weight: 600; font-size: 16px; }
a.arow, a.kv { text-decoration: none; color: var(--ink); }

/* ciguatera */
.cig-big { display: flex; align-items: center; gap: 14px; }
.cig-big .n { font-family: var(--cond); font-weight: 700; font-size: 76px; line-height: .85; color: var(--c5); }
.cig-big .n small { font-size: 30px; color: var(--ink2); }
.cscale { display: flex; flex-direction: column; gap: 4px; }
.cscale .ptr, .cscale .bx { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.cscale .ptr { height: 10px; }
.cscale .ptr span { display: flex; justify-content: center; }
.cscale .bx span { height: 36px; display: flex; align-items: center; justify-content: center; font-family: var(--cond); font-weight: 700; font-size: 20px; }
.k1 { background: var(--c1); color: var(--ink); } .k2 { background: var(--c2); color: var(--ink); } .k3 { background: var(--c3); color: var(--ink); } .k4 { background: var(--c4); color: #fff; } .k5 { background: var(--c5); color: #fff; }
.cscale .bx span.me { box-shadow: inset 0 0 0 2.5px var(--ink); }
.cscale .bx span.k5.me, .cscale .bx span.k4.me { box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px #fff; }
.ev { display: flex; flex-direction: column; gap: 7px; padding: 11px 0; border-top: 1px solid var(--hair); }
.ev:last-of-type { border-bottom: 1px solid var(--hair); }
.ev .t { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ev .v { font-family: var(--cond); font-weight: 700; font-size: 24px; line-height: 1; white-space: nowrap; }
.ev .v.p { color: var(--c5); }
.evbar { position: relative; height: 8px; background: var(--coff); }
.evbar i { position: absolute; left: 0; top: 0; height: 8px; background: var(--c5); }
.evbar b { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--ink); }
.evscale { position: relative; height: 18px; font-size: 13px; color: var(--ink2); }
.evscale span { position: absolute; top: 3px; }
.rulebox { background: var(--c1); border-radius: 4px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.rulebox .lbl { color: var(--c5); }
.rulebox .t { font-weight: 600; font-size: 16px; }
.rl { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rl .k { flex: none; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-family: var(--cond); font-weight: 700; font-size: 15px; }
.rl.me { font-weight: 600; } .rl.me .k { box-shadow: inset 0 0 0 2px var(--ink); }
.hazard { background: var(--ink); color: #fff; border-radius: var(--r); padding: 14px 16px; display: flex; gap: 12px; }
.hazard b { display: block; font-family: var(--cond); font-weight: 700; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.cig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 36px; align-items: start; }

/* identify */
.steps { margin: 0; padding: 4px 16px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; }
.steps li { display: flex; gap: 12px; padding: 12px 0; }
.steps li + li { border-top: 1px solid var(--hair); }
.steps .k { flex: none; width: 26px; height: 26px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--cond); font-weight: 700; font-size: 17px; }
.look { display: grid; grid-template-columns: 104px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); }
.look .ph { min-height: 104px; }
.look .lt { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.look .lh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 12px; }
.facts { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 2px 16px; display: flex; flex-direction: column; }
.facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.facts > div + div { border-top: 1px solid var(--hair); }
.facts dt { padding-top: 2px; }
.facts dd { margin: 0; font-weight: 500; }

/* compare */
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cmp .fcard .ph { height: 150px; }
.cmprow { padding: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.cmprow .lbl { text-align: center; }
.cmprow .vals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cmprow .vals.bigv { font-family: var(--cond); font-weight: 700; font-size: 30px; line-height: 1; }

/* rules */
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.months.hd { text-align: center; font-family: var(--cond); font-weight: 600; font-size: 14px; color: var(--ink2); }
.months.hd span.now { background: var(--ink); color: #fff; border-radius: 2px; }
.months.bar span { height: 14px; background: var(--opentint); }
.months.bar span.cl { background: var(--no); }
.fold { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; padding: 0; background: none; border: 0; color: var(--ink); font-weight: 600; font-size: 16px; text-align: left; }
.foldbody { padding: 0 0 16px; }
.foldbody p { margin: 0 0 8px; max-width: 62ch; }
.foldbody ul { margin: 0; padding-left: 20px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 28px 32px; align-items: start; }

/* ---------- quiz ---------- */
.qhead { background: var(--ink); color: #fff; padding: 6px 16px 12px 6px; display: flex; flex-direction: column; gap: 6px; }
.qhead .r1 { display: flex; align-items: center; gap: 4px; font-family: var(--cond); font-weight: 600; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; max-width: 1280px; width: 100%; margin: 0 auto; }
.qhead .xbtn { color: #fff; }
.qhead .cnt { margin-left: auto; color: var(--hdr2); white-space: nowrap; }
.qprog { display: grid; gap: 4px; padding-left: 10px; max-width: 1280px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.qprog span { height: 5px; background: #32444E; }
.qprog span.d { background: #8FA0A8; } .qprog span.c { background: #fff; }
.qbar { position: relative; height: 5px; background: #32444E; margin-left: 10px; }
.qbar i { position: absolute; left: 0; top: 0; height: 5px; background: #8FA0A8; }
.qwrap { max-width: 1280px; margin: 0 auto; }
.qlay { display: flex; flex-direction: column; }
.qphoto { position: relative; }
.qphoto .ph { height: 300px; }
.qname { background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.qname .nm { font-size: 36px; }
.qname .en { font-size: 16px; font-weight: 500; color: var(--ink); }
.qside { padding: 16px; display: flex; flex-direction: column; gap: 18px; }
.qpart { display: flex; flex-direction: column; gap: 8px; }
.qpart .qh { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.qpart .qh h2 { font: inherit; letter-spacing: inherit; }
.qpart .res { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.qtitle { font-family: var(--cond); font-weight: 700; font-size: 28px; line-height: 1.05; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.g1 { display: flex; flex-direction: column; gap: 8px; }
.opt { min-height: 52px; padding: 6px 12px; text-align: left; background: #fff; color: var(--ink); border: 1.5px solid var(--ctl); border-radius: var(--r); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--cond); font-weight: 700; font-size: 21px; line-height: 1.1; }
.opt .s { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.opt .s small { font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--ink2); letter-spacing: 0; }
.opt.nm2 { min-height: 58px; }
.opt.law { flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 64px; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; gap: 6px; }
.opt.law .sw { width: 14px; height: 14px; }
.opt.law .note { font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--ink2); }
.opt.txt { font-family: var(--body); font-weight: 600; font-size: 16px; }
.opt[aria-pressed="true"], .opt.ans { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt[aria-pressed="true"] .s small, .opt.ans .s small, .opt.ans .note { color: #C9D3D8; }
.opt[aria-pressed="true"] .sw, .opt.ans .sw { box-shadow: 0 0 0 1.5px #fff; }
.opt.wrong { background: #fff; color: var(--ink); border: 2px dashed var(--ink); }
.opt.wrong .x { text-decoration: line-through; }
.opt.dim { background: var(--mutedbg); color: var(--muted); border-color: var(--mutedline); }
.opt.dim .s small { color: var(--muted); }
.opt:disabled { cursor: default; }
.opt .pick { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.opt.law.wrong .x { text-decoration: line-through; }
.cigopt { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 0 12px 0 8px; text-align: left; background: #fff; border: 1.5px solid var(--ctl); border-radius: var(--r); font-weight: 600; }
.cigopt .k { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-family: var(--cond); font-weight: 700; font-size: 24px; }
.cigopt.ans { background: var(--ink); color: #fff; border: 2px solid var(--ink); }
.cigopt.ans .k { box-shadow: 0 0 0 1.5px #fff; }
.cigopt.wrong { border: 2px dashed var(--ink); }
.cigopt.wrong .x { text-decoration: line-through; }
.cigopt.dim { background: var(--mutedbg); color: var(--muted); border-color: var(--mutedline); font-weight: 400; }
.pairbtn { padding: 0; background: #fff; color: var(--ink); border: 1.5px solid var(--ctl); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.pairbtn .ph { height: 200px; width: 100%; }
.pairbtn .pb { display: flex; align-items: baseline; gap: 10px; padding: 12px 14px 14px; flex-wrap: wrap; }
.pairbtn.ans { border: 3px solid var(--ink); }
.pairbtn.wrong { border: 2px dashed var(--ink); }
.pairbtn .rt { margin-left: auto; font-family: var(--cond); font-weight: 700; font-size: 18px; color: var(--c5); }
.scn { background: #fff; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scn > div { padding: 10px 0 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.scn > div + div { border-left: 1px solid var(--hair); }
.scn b { font-family: var(--cond); font-weight: 700; font-size: 28px; line-height: 1; }
.scn .lbl { font-size: 13px; }
.qtext { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 16px; font-size: 17px; font-weight: 500; }
.qsum { background: #fff; border-bottom: 1px solid var(--line); padding: 0 16px; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
.qsum b { font-family: var(--cond); font-weight: 700; font-size: 24px; }
.qnote { background: var(--c1); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.qnote .lbl { color: var(--c5); }
.qinfo { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.input { height: 50px; padding: 0 12px; background: #fff; border: 1.5px solid var(--ctl); border-radius: var(--r); font-size: 18px; width: 100%; }
.input:focus { border: 2px solid var(--ink); outline: none; }
.input.ok { border: 2px solid var(--ink); background: var(--ground); }
.input.bad { border: 2px dashed var(--ink); text-decoration: line-through; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.qbtns { margin-top: auto; }
.mode { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 11px 14px; cursor: pointer; }
.mode.on { border: 2px solid var(--ink); padding: 10px 13px; }
.mode input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.mode .mt { display: block; font-family: var(--cond); font-weight: 700; font-size: 22px; line-height: 1.1; }
.mode .md { display: block; font-size: 14px; color: var(--ink2); }
.done-h { background: var(--ink); color: #fff; padding: 16px 16px 20px; }
.done-h .in { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.done-h h1 { font-size: 104px; line-height: .82; }
.done-h h1 small { font-size: 44px; }
.segs { display: grid; gap: 4px; }
.segs span { height: 10px; background: #fff; }
.segs span.m { background: transparent; box-shadow: inset 0 0 0 1.5px #8FA0A8; }
.missrow { display: grid; grid-template-columns: 60px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; color: var(--ink); }
.missrow .ph { width: 60px; height: 45px; border-radius: 3px; }
@media (min-width: 900px) {
  .qlay { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 28px 40px; align-items: start; padding: 28px 32px 40px; }
  .qphoto .ph { height: auto; aspect-ratio: 4 / 3; border-radius: var(--r); }
  .qname, .qsum, .scn, .qtext { border: 1px solid var(--line); border-radius: var(--r); margin-top: 10px; }
  .qside { padding: 0; }
  .qhead { padding: 10px 32px 14px 20px; }
  .pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* ---------- progress ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.tile .big { font-family: var(--cond); font-weight: 700; font-size: 44px; line-height: .9; }
.chart { width: 100%; height: auto; display: block; font-family: var(--body); }
.bar5 { height: 5px; background: var(--ph); }
.bar5 i { display: block; height: 5px; background: var(--ink); }
.hrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; }
.hrow .s { font-family: var(--cond); font-weight: 700; font-size: 20px; white-space: nowrap; }
@media (min-width: 800px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .tile .big { font-size: 56px; } }
.prog-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.prog-grid > :first-child { flex: 2 1 480px; min-width: 0; }
.prog-grid > * { flex: 1 1 300px; min-width: 0; }

/* ================= v10 ================= */
body.inquiz .foot { display: none; }
.fl { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; color: inherit; }
.tabbar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tabbar button { background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; }
.tabbar button.on { color: var(--ink); box-shadow: inset 0 3px 0 var(--ink); }
.menubtn { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; background: #fff; color: var(--ink); border: 0; border-radius: var(--r); font-family: var(--cond); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; }
.menubtn span { display: none; }
@media (min-width: 800px) { .menubtn span { display: inline; } }
.top-in { gap: 8px 12px; }
@media (min-width: 800px) { .top-in { gap: 8px 20px; } }

/* menu */
.sheet.mega { max-width: 880px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px 28px; }
.mcol { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mcol .lbl { padding-bottom: 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mitem { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 54px; padding: 6px 8px; margin: 0 -8px; border-radius: var(--r); text-decoration: none; color: var(--ink); }
.mitem:hover { background: var(--ground); color: var(--ink); }
.mitem b { display: block; font-family: var(--cond); font-weight: 700; font-size: 21px; line-height: 1.1; }
.mitem small { display: block; font-size: 13px; color: var(--ink2); }

/* ciguatera: up top on the fish page */
.cigchip { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 5px 12px 5px 5px; border: 1.5px solid var(--c5); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; }
.cigchip:hover { color: var(--ink); background: var(--c1); }
.cigchip .k { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-family: var(--cond); font-weight: 700; font-size: 22px; border-radius: 3px; }
.cigchip b { font-weight: 600; }
.cigchip.no { border-color: var(--ink); padding-left: 12px; min-height: 44px; }
.cigcard { border-top: 4px solid var(--c5); }
details.more > summary, details.offl > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; font-weight: 600; }
details.more > summary::-webkit-details-marker, details.offl > summary::-webkit-details-marker { display: none; }
details[open] > summary > svg.ico:last-child { transform: rotate(180deg); }
details.more { border-top: 1px solid var(--hair); }
details.offl { border-top: 1px solid var(--hair); }
details.offl > summary { padding: 4px 0; min-height: 48px; }
.offl-b { display: flex; flex-direction: column; padding-bottom: 8px; }
.offl-b .arow { text-decoration: none; color: var(--ink); padding: 10px 0; border-top: 1px solid var(--hair); align-items: center; }
.offl-b .arow:hover .t { text-decoration: underline; }
.offl-b .tag { font-size: 13px; }

/* quiz: photo cycling and the fish card after an answer */
.pnav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 56px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .92); color: var(--ink); border: 0; }
.pnav.l { left: 0; border-radius: 0 var(--r) var(--r) 0; }
.pnav.r { right: 0; border-radius: var(--r) 0 0 var(--r); }
.pnav:hover { background: #fff; }
.pcount { position: absolute; left: 8px; bottom: 8px; background: var(--ink); color: #fff; font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .06em; padding: 2px 8px; border-radius: 3px; }
.qphoto .cred-over { max-width: calc(100% - 80px); }
.qabout { display: flex; flex-direction: column; gap: 18px; border-top: 3px solid var(--ink); padding-top: 16px; margin-top: 6px; }
.qabout .qa-h { display: flex; flex-direction: column; gap: 2px; }
.qabout .qa-h .nm { font-size: 34px; }
.qabout .qa-h .en { font-size: 15px; }
.qabout .looks { grid-template-columns: 1fr; }
.qabout .look .ph { min-height: 92px; }

/* rules: finder */
.rfind { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; gap: 12px; }
.rf-sug { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rf-sug:empty { display: none; }
.chip.sm { height: 38px; padding: 0 12px; font-size: 16px; text-transform: none; letter-spacing: .02em; }
.chip .cnt { font-weight: 500; opacity: .7; }
a.chip { text-decoration: none; }
.rf-s { flex: 1 1 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px; background: #fff; border: 1.5px solid var(--ctl); border-radius: var(--r); text-align: left; color: var(--ink); }
.rf-s:hover { border-color: var(--ink); }
.rf-s b { font-family: var(--cond); font-weight: 700; font-size: 20px; }
.rf-card { overflow: hidden; border: 2px solid var(--ink); }
.rf-h { display: grid; grid-template-columns: 84px minmax(0, 1fr) 44px; gap: 12px; align-items: center; background: var(--ground); }
.rf-h .ph { height: 64px; }
.rf-h .nm { font-size: 28px; }
.rf-b { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px 28px; padding: 14px 16px 16px; align-items: start; }
.rf-rows > * + * { border-top: 1px solid var(--hair); }
.rf-g { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 10px 0; }
.plink { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; text-align: left; }
.jumps { position: sticky; top: 0; z-index: 6; background: var(--ground); padding: 8px 0; margin: -8px 0; }
.jumps .chip { height: 40px; font-size: 16px; }
#r-seasons, #r-places, #r-limits, #r-all, #r-find { scroll-margin-top: 64px; }

/* rules: calendar */
.cal-now { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); font-size: 15px; }
.cal-now.op { background: var(--opentint); }
.cal-now.cl { background: var(--notint); }
.cal-now svg { margin-top: 2px; }
.cal { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.cal-h { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); text-align: center; }
.cal-h i { font-style: normal; display: none; }
.cal-h span.now { background: var(--ink); color: #fff; border-radius: 2px; }
@media (min-width: 560px) { .cal-h i { display: inline; } }
.cal-row { display: flex; flex-direction: column; gap: 6px; }
.cal-row + .cal-row { border-top: 1px solid var(--hair); padding-top: 12px; }
.cal-l { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.cal-l .n { font-weight: 600; font-size: 16px; }
.cal-l .st { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.cal-l .st.op { color: var(--opentext); } .cal-l .st.cl { color: var(--notext); }
.cal-b { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; height: 26px; }
.cal-b > span { grid-row: 1; background: var(--opentint); }
.cal-b > b { grid-row: 1; background: var(--no); color: #fff; font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; z-index: 1; overflow: hidden; }
.cal-b .today { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); z-index: 2; margin-left: -1px; }
.cal-f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-f .tag { font-size: 12px; letter-spacing: .08em; }

/* rules: places map */
.seg2 { flex: none; display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.seg2 button { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; background: #fff; color: var(--ink); border: 0; font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; }
.seg2 button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.mapcard { overflow: hidden; }
.mapbox { position: relative; background: #DCE9EE; }
.imap { display: block; width: 100%; height: auto; max-height: 560px; }
.imap .land { fill: #F6F3EA; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.imap .coast { fill: none; stroke: var(--lim); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; cursor: pointer; opacity: .95; }
.imap .coast.sel { stroke-width: 13; }
.pin { cursor: pointer; outline: none; }
.pin .halo { fill: transparent; }
.pin .b { stroke: #fff; stroke-width: 2.5; }
.pin text { font-family: var(--cond); font-weight: 700; font-size: 18px; pointer-events: none; }
.pin.notake .b { fill: var(--no); } .pin.notake text { fill: #fff; }
.pin.nospear .b { fill: #fff; stroke: var(--no); stroke-width: 4; } .pin.nospear text { fill: var(--notext); }
.pin.limits .b { fill: var(--lim); } .pin.limits text { fill: var(--ink); }
.pin .lead { stroke: var(--ink); stroke-width: 1.5; }
.pin .dot { fill: var(--ink); }
.pin:hover .halo, .pin:focus-visible .halo { fill: rgba(10, 30, 40, .16); }
.pin.sel .halo { fill: none; stroke: var(--ink); stroke-width: 3; }
.pin.hit .halo { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 5 4; }
.maptip { position: absolute; z-index: 5; width: min(280px, calc(100% - 12px)); background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; pointer-events: none; box-shadow: 0 6px 18px rgba(10, 30, 40, .22); }
.maptip[hidden] { display: none; }
.pnum { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--cond); font-weight: 700; font-size: 16px; }
.pnum.notake { background: var(--no); color: #fff; }
.pnum.nospear { background: #fff; color: var(--notext); box-shadow: inset 0 0 0 3px var(--no); }
.pnum.limits { background: var(--lim); color: var(--ink); }
.pnum.hitk { background: transparent; box-shadow: none; border: 2px dashed var(--ink); }
.pnum.sm { width: 16px; height: 16px; }
.pnum.nospear.sm { box-shadow: inset 0 0 0 2.5px var(--no); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
#placeout .pcard { border: 2px solid var(--ink); }
.pc-h { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px 10px; }
.pc-h .t { font-weight: 600; font-size: 17px; }
.pc-b { padding: 0 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.pkey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 6px; }
.pkey button { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 10px; align-items: center; text-align: left; padding: 7px 10px; min-height: 52px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); }
.pkey button .pnum { grid-row: 1 / 3; }
.pkey button .t { font-weight: 600; font-size: 15px; line-height: 1.2; }
.pkey button .small { grid-column: 2; }
.pkey button[aria-pressed="true"] { border: 2px solid var(--ink); padding: 6px 9px; }

/* rules: limits table */
.lt { width: 100%; border-collapse: collapse; font-size: 15px; }
.lt thead th { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); text-align: left; padding: 10px 8px 8px; border-bottom: 1.5px solid var(--ink); background: #fff; }
.lt thead th:first-child, .lt tbody th { padding-left: 14px; }
.lt thead th:not(:first-child), .lt td { width: 19%; }
.lt .fam th { background: var(--ground); font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; text-align: left; padding: 6px 14px; }
.lt tbody th { text-align: left; font-weight: 600; padding: 8px 8px 8px 14px; vertical-align: top; }
.lt tbody th a { text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 20px; line-height: 1.1; }
.lt tbody th a:hover { text-decoration: underline; }
.lt small { display: block; font-size: 12px; font-weight: 400; color: var(--ink2); font-family: var(--body); line-height: 1.3; }
.lt td { padding: 8px; vertical-align: top; font-family: var(--cond); font-weight: 700; font-size: 20px; line-height: 1.1; }
.lt td i { font-style: normal; font-size: 14px; font-weight: 600; }
.lt td .muted { font-weight: 500; font-size: 16px; }
.lt tbody tr + tr > * { border-top: 1px solid var(--hair); }
.lt .nt { color: var(--notext); letter-spacing: .04em; text-transform: uppercase; font-size: 17px; }
.lt .sub td { font-family: var(--body); font-weight: 400; font-size: 14px; padding: 6px 8px 8px 14px; border-top: 0; background: var(--notint); }
.lt .sub .sw { margin-right: 8px; vertical-align: -1px; }
.lt .tag.here { vertical-align: 3px; }

/* feedback */
.fbtypes { display: flex; flex-wrap: wrap; gap: 8px; }
.input.ta { height: auto; min-height: 150px; padding: 12px; font-size: 16px; line-height: 1.45; resize: vertical; font-family: var(--body); }
.fberr { background: var(--ground); border: 2px solid var(--ink); border-radius: var(--r); padding: 12px 14px; }
.sheet-h .h2 { font-size: 32px; }
.lt tbody th .sep { font-family: var(--cond); font-weight: 700; font-size: 20px; }
.lt tbody th .en2 { font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--ink2); }
.cig-big .n { flex: none; white-space: nowrap; }
.lt td { white-space: nowrap; }
.lt td small { white-space: normal; }
@media (max-width: 520px) { .fp-tabs { font-size: 14px; letter-spacing: .02em; } .lt td, .lt tbody th a, .lt tbody th .sep { font-size: 18px; } .lt thead th:not(:first-child), .lt td { width: 17%; } .lt td, .lt thead th { padding-left: 4px; padding-right: 4px; } }

/* ================= v11 ================= */
/* big numbers: room for descenders so labels never touch them */
.verdict .big { line-height: 1; padding-bottom: 2px; }
.verdict .num { gap: 6px; }
.cig-big .n, .rar-big .n { line-height: 1; }
.done-h h1 { line-height: .95; }
.tile .big { line-height: 1; }
.fp-title h1 { line-height: 1; }
@media (min-width: 800px) { .fp-desk h1 { line-height: .98; } }
.qname .nm, .nm { line-height: 1.05; }
/* ciguatera filter: tap selects */
.cigbtn { text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(10,30,40,.15); }
.cigbtn.k4, .cigbtn.k5 { color: #fff; }
.cigseg.some .cigbtn { opacity: .35; }
.cigseg.some .cigbtn[aria-pressed="true"] { opacity: 1; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px #fff; }
.cigbtn[aria-pressed="true"] { text-decoration: none; }
.ntnote { display: flex; gap: 10px; align-items: flex-start; background: var(--notint); border-radius: var(--r); padding: 10px 14px; font-size: 14px; }
.ntnote svg { margin-top: 2px; color: var(--notext); }
/* quiz answer: identify on the left (desktop), risk and rules on the right */
.q-desk { display: none; }
.q-desk .qabout { margin-top: 18px; }
@media (min-width: 900px) { .q-desk { display: block; } .q-phone { display: none; } }
/* fish with limits: one card per family */
#r-limits { margin-top: 8px; }
.lgrid { columns: 1; column-gap: 16px; }
@media (min-width: 900px) { .lgrid { columns: 2; } }
.lcard { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 14px; overflow: hidden; display: block; }
.lhead, .lrow { display: grid; grid-template-columns: minmax(0, 1fr) 72px 60px 76px; gap: 6px; align-items: center; padding: 0 14px; }
.lhead { background: var(--ink); color: #fff; min-height: 40px; }
.lhead h3 { font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.lhead .lc { font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hdr2); }
.lnote { background: var(--limtint); padding: 7px 14px; font-size: 13px; font-weight: 600; }
.lnote sup, .lrow sup { font-size: 13px; margin-left: 1px; }
.lrow { padding-top: 9px; padding-bottom: 9px; border-top: 1px solid var(--hair); align-items: start; }
.lhead + .lrow, .lnote + .lrow { border-top: 0; }
.ln { display: flex; flex-direction: column; gap: 1px; text-decoration: none; color: var(--ink); min-width: 0; }
.ln .t { font-family: var(--cond); font-weight: 700; font-size: 20px; line-height: 1.1; }
.ln:hover .t { text-decoration: underline; }
.ln .e { font-size: 13px; color: var(--ink2); line-height: 1.3; }
.ln .x { font-size: 12px; color: var(--ink2); line-height: 1.3; font-style: italic; }
.ln .tag.here { font-size: 11px; padding: 1px 5px; vertical-align: 3px; }
.lrow .lc { font-family: var(--cond); font-weight: 700; font-size: 22px; line-height: 1.1; white-space: nowrap; }
.lrow .lc i { font-style: normal; font-size: 14px; font-weight: 600; margin-left: 2px; }
.lrow .lc .none { font-weight: 500; font-size: 16px; color: var(--ink2); }
.lrow .lc.nt { color: var(--notext); font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.lrow .span3 { grid-column: 2 / 5; }
.lsub { display: flex; gap: 8px; align-items: center; padding: 6px 14px 8px; background: var(--notint); font-size: 13px; }
@media (max-width: 420px) { .lhead, .lrow { grid-template-columns: minmax(0, 1fr) 58px 40px 64px; gap: 4px; padding-left: 12px; padding-right: 12px; } .lrow .lc { font-size: 19px; } .lhead .lc { font-size: 11px; letter-spacing: .04em; } }
.fcard .nm, .look .nm, .lt .nm, .rf-h .nm, .qname .nm, .qa-h .nm, .pairbtn .nm { overflow-wrap: anywhere; }
/* rarity: its own blue ramp (green/amber/red is the law, purple is ciguatera) */
:root { --r1: #E2EEF3; --r2: #B8D6E3; --r3: #78AFC8; --r4: #2F7898; --r5: #0B4560; }
.rr1 { background: var(--r1); color: var(--ink); } .rr2 { background: var(--r2); color: var(--ink); } .rr3 { background: var(--r3); color: var(--ink); } .rr4 { background: var(--r4); color: #fff; } .rr5 { background: var(--r5); color: #fff; }
.rarcard { border-top: 4px solid var(--r5); }
.rar-big .n { color: var(--r5); }
.rscale .bx span.me { box-shadow: inset 0 0 0 2.5px var(--ink); }
.rscale .bx span.rr4.me, .rscale .bx span.rr5.me { box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px #fff; }
.rscale .ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink2); }
.rbar { display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 14px; }
.rbar .t { height: 10px; background: var(--r1); position: relative; }
.rbar .t i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--r4); }
.rbar .v { text-align: right; font-family: var(--cond); font-weight: 700; font-size: 17px; }
.rbar.here .l { font-weight: 700; }
.rbar.here .t i { background: var(--r5); }
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chiprow .cigchip { margin-top: 0; }
.rarchip { border-color: var(--r5); }
.rarchip:hover { background: var(--r1); }
.fp-body > section#rar { scroll-margin-top: 56px; }
/* plan my dive */
.plan-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .plan-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 32px; } .plan-grid #pform { position: sticky; top: 16px; } }
.pform { padding: 16px; display: flex; flex-direction: column; gap: 18px; }
.pq { display: flex; flex-direction: column; gap: 8px; }
.wrapc { flex-wrap: wrap; overflow: visible; }
.chip.tall { height: auto; min-height: 44px; padding: 7px 12px; text-transform: none; letter-spacing: .02em; text-align: left; }
.chip.tall span { display: flex; flex-direction: column; font-size: 17px; line-height: 1.15; }
.chip.tall small { font-family: var(--body); font-weight: 400; font-size: 12px; letter-spacing: 0; color: var(--ink2); }
.chip.tall[aria-pressed="true"] small { color: #C9D3D8; }
.pseg .segbtn small { display: block; font-family: var(--body); font-weight: 400; font-size: 11px; letter-spacing: 0; opacity: .8; }
.pv { border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.pv h2 { font-size: 40px; line-height: 1; }
.pv p { margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.pv p svg { margin-top: 3px; }
.pv.open { background: var(--open); color: #fff; } .pv.open .lbl { color: #CFE6D8; }
.pv.limits { background: var(--limtint); border-top: 6px solid var(--lim); }
.pv.notake { background: var(--notint); border-top: 6px solid var(--no); }
.pv.notake h2 { color: var(--notext); }
.pv .fl { color: inherit; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 10px; }
.tcard { display: grid; grid-template-columns: 96px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); }
.tcard:hover { border-color: var(--ink2); color: var(--ink); }
.tcard .ph { min-height: 84px; height: 100%; }
.tcard .tb { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tcard .nm { font-size: 22px; overflow-wrap: anywhere; }
.tcard .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tcard .tag { font-size: 13px; padding: 1px 6px; }
.mini { font-family: var(--cond); font-weight: 700; font-size: 13px; padding: 1px 6px; border-radius: 3px; letter-spacing: .04em; text-transform: uppercase; }
.qbtns .btn { white-space: nowrap; }
@media (max-width: 480px) { .qbtns .btn.sec2 { padding: 0 12px; font-size: 18px; } }

/* ================= v12 ================= */
/* quiz: unmistakable right and wrong */
:root { --ok: #15803D; --oktint: #DCF5E3; --bad: #C3271C; --badtint: #FBE3E0; }
.qres { display: flex; gap: 12px; align-items: center; border-radius: var(--r); padding: 12px 16px; color: #fff; }
.qres.ok { background: var(--ok); } .qres.bad { background: var(--bad); } .qres.half { background: #B45309; }
.qres .ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; }
.qres b { display: block; font-family: var(--cond); font-weight: 700; font-size: 28px; line-height: 1.05; letter-spacing: .02em; }
.qres span span { display: block; font-size: 15px; font-weight: 500; }
.opt.ans, .opt.law.ans { background: var(--ok); border-color: var(--ok); color: #fff; }
.opt.ans .s small, .opt.ans .note { color: #E3F6E9; }
.opt.wrong, .opt.law.wrong { background: var(--badtint); border: 2px solid var(--bad); color: var(--notext); }
.opt.wrong .note, .opt.wrong .pick { color: var(--notext); }
.cigopt.ans { background: var(--ok); border-color: var(--ok); color: #fff; }
.cigopt.wrong { background: var(--badtint); border: 2px solid var(--bad); }
.pairbtn.ans { border: 3px solid var(--ok); box-shadow: 0 0 0 3px var(--oktint); }
.pairbtn.ans .pb { background: var(--oktint); }
.pairbtn.wrong { border: 3px solid var(--bad); }
.pairbtn.wrong .pb { background: var(--badtint); }
.input.ok { border: 2px solid var(--ok); background: var(--oktint); }
.input.bad { border: 2px solid var(--bad); background: var(--badtint); }
.qpart .res { padding: 2px 8px; border-radius: 3px; }
.qpart .res.ok { background: var(--ok); color: #fff; } .qpart .res.bad { background: var(--bad); color: #fff; }
.qsum { border-left: 6px solid var(--ok); }
/* plan: map at the top */
#pmap { margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.pmapcard { overflow: hidden; }
.pmap { max-height: 520px; }
.pmap .pcoast { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.pmap .preg { fill: none; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.pmap .preg.limits { stroke: var(--lim); } .pmap .preg.notake, .pmap .preg.nospear { stroke: var(--no); }
.pmap .parea { opacity: .38; cursor: pointer; }
.pmap .parea.notake, .pmap .parea.nospear { fill: var(--no); } .pmap .parea.limits { fill: var(--lim); }
.pmap .parea.sel { opacity: .55; stroke: var(--ink); stroke-width: 2; }
.pspot { cursor: pointer; outline: none; }
.pspot .hit { fill: transparent; }
.pspot .d { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.pspot.boat .d { fill: #9EC9DA; }
.pspot.notake .d, .pspot.nospear .d { fill: var(--no); stroke: #7E170F; }
.pspot.limits .d { fill: var(--lim); }
.pspot:not(.on) .d { opacity: .45; }
.pspot:hover .d, .pspot:focus-visible .d { stroke-width: 3.5; opacity: 1; }
.pspot.sel .d { stroke: var(--ink); stroke-width: 4; opacity: 1; }
.pspot.sel:not(.notake):not(.nospear):not(.limits) .d { fill: var(--open); }
.plabel rect { fill: var(--ink); }
.plabel text { fill: #fff; font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .03em; }
.lg { display: inline-block; flex: none; }
.lg.coastk { width: 20px; height: 5px; background: var(--ink); border-radius: 3px; }
.lg.dotk { width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.lg.dotk.boat { background: #9EC9DA; }
.lg.areak { width: 14px; height: 14px; border-radius: 50%; opacity: .55; }
.lg.areak.notake { background: var(--no); } .lg.areak.limits { background: var(--lim); }
.spotcard { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--open); border-radius: var(--r); padding: 12px 14px; }
.spotcard.notake, .spotcard.nospear { border-left-color: var(--no); } .spotcard.limits { border-left-color: var(--lim); }
.spotcard .t { font-family: var(--cond); font-weight: 700; font-size: 24px; line-height: 1.1; }
.tcard .why { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tcard .why i { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 3px; background: var(--ground); color: var(--ink2); }
.offlist { padding: 0 14px; }
.offrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(110px, 38%); gap: 12px; align-items: center; padding: 9px 0; text-decoration: none; color: var(--ink); }
.offrow + .offrow { border-top: 1px solid var(--hair); }
.offrow .ph { width: 64px; height: 48px; border-radius: 3px; }
.offrow .ph.noimg { display: flex; align-items: center; justify-content: center; background: var(--notint); color: var(--notext); }
.offrow .ot { display: flex; flex-direction: column; min-width: 0; }
.offrow .nm { font-size: 20px; }
.offrow .or { font-family: var(--cond); font-weight: 700; font-size: 16px; color: var(--notext); text-align: right; }
.offrow:hover .nm { text-decoration: underline; }
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 8px; }
.minif { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); padding-right: 8px; }
.minif .ph { width: 56px; height: 48px; }
.minif span { display: flex; flex-direction: column; font-family: var(--cond); font-weight: 700; font-size: 18px; line-height: 1.1; min-width: 0; overflow-wrap: anywhere; }
.minif small { font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--ink2); }
@media (max-width: 480px) { .offrow { grid-template-columns: 52px minmax(0, 1fr); } .offrow .ph { width: 52px; height: 40px; } .offrow .or { grid-column: 2; text-align: left; max-width: none; } }
.offgroup { padding: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.offgroup + .offrow, .offrow + .offgroup, .offgroup + .offgroup { border-top: 1px solid var(--hair); }
.og-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.og-h b { font-family: var(--cond); font-weight: 700; font-size: 19px; color: var(--notext); }
.pmap .sea { fill: #DCE9EE; }
.pmap { overflow: hidden; }
@media (max-width: 600px) { .pspot .d { r: 7px; } .pspot.sel .d { r: 11px; } .plabel text { font-size: 22px; } }
.pisl { cursor: pointer; outline: none; }
.pisl path { fill: #F6F3EA; stroke: var(--ink); stroke-width: 1.5; transition: fill .15s; }
.pisl:hover path, .pisl:focus-visible path { fill: #FFE7A3; stroke-width: 2.5; }
.pisl text { font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); pointer-events: none; }
.pcpick { cursor: pointer; outline: none; }
.pcpick .hitl { fill: none; stroke: transparent; stroke-width: 26; }
.pcpick .vis { fill: none; stroke: var(--ink2); stroke-width: 5; stroke-dasharray: 2 7; stroke-linecap: round; }
.pcpick:hover .vis, .pcpick:focus-visible .vis { stroke: var(--ink); stroke-dasharray: none; stroke-width: 7; }
.pcpick text { font-family: var(--cond); font-weight: 700; font-size: 16px; fill: var(--ink); paint-order: stroke; stroke: #DCE9EE; stroke-width: 4px; pointer-events: none; }
.pwait { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.pwait ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 16px; }
.pwait li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink2); }
.pwait li.done { color: var(--ok); }
.pwait .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ctl); flex: none; }
/* phone: law filters fit on one line, Filters sits beside the search box */
.filterbtn { flex: none; position: relative; height: 46px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #fff; color: var(--ink); border: 1.5px solid var(--ctl); border-radius: var(--r); font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; }
.filterbtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filterbtn .fdot { position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--lim); box-shadow: 0 0 0 2px #fff; }
@media (max-width: 699px) {
  .lawchips { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .lawchips .chip { padding: 0 8px; font-size: 15px; letter-spacing: .02em; justify-content: center; gap: 6px; min-width: 0; white-space: nowrap; }
  .lawchips .chip .sw { width: 10px; height: 10px; }
}
@media (max-width: 359px) { .lawchips .chip { font-size: 13px; padding: 0 5px; gap: 4px; } .filterbtn span { display: none; } }
.cigbtn.rr4, .cigbtn.rr5 { color: #fff; }
.rends { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; }
/* sheets: close button always on screen, and the sheet never taller than the visible screen */
.sheet { max-height: calc(100dvh - 44px); }
@media (min-width: 700px) { .sheet { max-height: calc(100dvh - 80px); } }
.sheet-top { position: sticky; top: -10px; z-index: 3; background: #fff; margin: -10px -16px 0; padding: 10px 16px 0; display: flex; justify-content: center; align-items: center; min-height: 18px; }
.sheet-top .sheet-x { position: absolute; right: 6px; top: 2px; }
.sheet-h { position: sticky; top: 8px; z-index: 3; background: #fff; margin: -16px -16px 0; padding: 6px 16px 8px; box-shadow: 0 1px 0 var(--hair); }
.sheet-h .xbtn { width: 48px; height: 48px; background: var(--ground); border-radius: 50%; }
.shots { display: flex; flex-wrap: wrap; gap: 8px; }
.shot { position: relative; width: 96px; height: 96px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--ph); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .xbtn { position: absolute; top: 2px; right: 2px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); }
.shotadd { width: 96px; height: 96px; border: 2px dashed var(--ctl); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; background: #fff; text-align: center; font-size: 12px; font-weight: 600; color: var(--ink2); }
.shotadd:hover { border-color: var(--ink); color: var(--ink); }
.shotadd .plus { font-size: 28px; line-height: 1; font-weight: 400; }
/* on the table */
.tablecard { padding: 16px; display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--ink); }
.tablecard .tq p { margin: 4px 0 0; font-size: 18px; font-weight: 500; line-height: 1.35; }
.cookchips { display: flex; flex-wrap: wrap; gap: 6px; }
.cook { font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line); }
.cook.top { background: var(--ink); color: #fff; border-color: var(--ink); }
.tablecard .tip { background: var(--ground); border-radius: var(--r); padding: 10px 12px; }
.tablecard .tip p { margin: 2px 0 0; }
.tcig { display: block; padding: 10px 12px; border-radius: var(--r); text-decoration: none; font-size: 14px; }
.tcig.k3 { background: var(--c1); color: var(--ink); } .tcig.k4, .tcig.k5 { background: var(--c5); color: #fff; }
.tcig:hover { color: inherit; filter: brightness(1.05); }
.fp-tabs a { padding: 0 2px; }
@media (max-width: 420px) { .fp-tabs { font-size: 13px; letter-spacing: 0; } }
.acct { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--ink); border-radius: var(--r); padding: 14px 16px; }
.acct.on { border-left-color: var(--ok); }
.acct b { display: block; font-size: 17px; }
#acctmsg { width: 100%; }
.footlinks { display: block; margin-top: 8px; }
.footlinks a { font-weight: 600; }
.legal p { margin: 0 0 8px; max-width: 68ch; line-height: 1.55; font-size: 16px; }
.mlegal { padding-top: 8px; color: var(--ink2); } .mlegal a { color: var(--ink2); }
