:root {
  --bg: #0a0910;
  --surface: #1b1829;
  --surface-2: #242038;
  --line: #342f4d;
  --text: #f6f1e8;
  --muted: #a9a3bd;
  --orange: #ff8a3d;
  --gold: #ffb627;
  --teal: #2fd9c7;
  --red: #ff4d5e;
  --ok: #35dc9a;
  --on-accent: #1a0f05;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}
h1, h2, h3 { margin: 0 0 .5rem; }
h2 { font-size: 1.15rem; }
a { color: var(--teal); }
p { margin: .25rem 0 .75rem; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.wrap.narrow { max-width: 420px; padding-top: 4rem; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "Bungee", "Manrope", sans-serif; color: var(--orange);
  text-decoration: none; font-size: 1.4rem; letter-spacing: .02em;
}
.brand.big { display: block; text-align: center; font-size: 2.2rem; margin-bottom: 1.5rem; }
.who { display: flex; align-items: center; gap: .75rem; font-size: .9rem; }

.title { font-family: "Bungee", sans-serif; color: var(--orange); font-size: 1.8rem; margin-bottom: .25rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.25rem; margin-bottom: 1.25rem;
}
.card label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .9rem; }
.card input {
  display: block; width: 100%; margin-top: .3rem; padding: .6rem .75rem;
  background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  font: inherit;
}
.card .form-grid select {
  display: block; width: 100%; margin-top: .3rem; padding: .6rem 2rem .6rem .75rem;
  background-color: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-weight: 400; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted, #9a9ab0) 50%), linear-gradient(135deg, var(--muted, #9a9ab0) 50%, transparent 50%);
  background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.card .form-grid select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.card input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.notice { border-color: var(--gold); }
.notice h2 { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font: inherit; font-weight: 700; cursor: pointer;
}
.btn { text-decoration: none; }
.btn:hover { border-color: var(--orange); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.primary { background: var(--orange); color: var(--on-accent); border-color: var(--orange); }
form .btn.primary { width: 100%; }
.btn.ghost { background: transparent; }

.muted { color: var(--muted); }
.mono { font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; font-size: .85rem; }
.error { color: var(--red); font-weight: 600; }
.link { color: var(--teal); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  font-weight: 700;
}
tr:last-child td { border-bottom: 0; }
th.num, td.num { text-align: right; font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; }
td.neg { color: var(--red); font-weight: 600; }
td.tank { font-weight: 700; }

.pill {
  display: inline-block; padding: .15rem .7rem; border-radius: 999px;
  font-size: .8rem; font-weight: 800; border: 1px solid transparent;
}
.pill.ok { background: rgba(53,220,154,.14); color: var(--ok); border-color: rgba(53,220,154,.4); }
.pill.over { background: rgba(255,77,94,.14); color: var(--red); border-color: rgba(255,77,94,.45); }
.pill.waived { background: rgba(255,182,39,.14); color: var(--gold); border-color: rgba(255,182,39,.45); }
.pill.warn { background: rgba(255,182,39,.14); color: var(--gold); border-color: rgba(255,182,39,.45); }
.pill.muted { background: transparent; color: var(--muted); border-color: var(--line); }

/* ---- registration page ---- */
.reg-head { text-align: center; margin-bottom: 1.25rem; }
.reg-head .title { font-size: 1.6rem; }
.btn.small { padding: .3rem .75rem; font-size: .8rem; }
.small-note { font-size: .8rem; margin-top: .75rem; }
h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .5rem; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }

.shop-buttons { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.shop {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; text-align: left;
  margin-top: 1rem; padding: 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  flex-basis: 100%;
}
.shop-list { list-style: none; margin: 0 0 .75rem; padding: 0; max-height: 260px; overflow-y: auto; }
.shop-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.shop-total { margin: .5rem 0; }

.fish-layout { display: flex; gap: 1rem; align-items: flex-start; }
.fish-grid { flex: 1; min-width: 0; }
.fish-grid th, .fish-grid td { padding: .5rem .4rem; }
.fish-grid select, .fish-grid input {
  width: 100%; min-width: 4.6rem; padding: .4rem .3rem; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .85rem;
}
.fish-grid select:disabled, .fish-grid input:disabled { opacity: .55; }
.fish-grid input[type=date] {
  display: block; width: 8.6rem; min-width: 0; height: 33px; margin: 0; font-size: .8rem; padding: 0 .3rem; line-height: 1;
  color-scheme: dark; cursor: pointer; /* dark calendar pop-up and a light calendar icon on the dark page */
}
.fish-grid input[type=date]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 1; margin-left: .1rem; padding: 2px; }
.fish-grid td { vertical-align: top; }
.active-row td { background: rgba(255, 138, 61, .06); }
.row-actions { white-space: normal; min-width: 8rem; position: sticky; right: 0; background: var(--surface); box-shadow: -10px 0 10px -10px rgba(0, 0, 0, .7); }
.fish-grid thead th:last-child { position: sticky; right: 0; background: var(--surface); }
.active-row td.row-actions { background: var(--surface-2); }
.row-actions .btn { margin-right: .35rem; }
.row-note { font-size: .78rem; margin-top: .35rem; }
.saved { color: var(--ok); }

.guide { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .75rem 1.5rem; }
.guide dt { color: var(--gold); font-weight: 800; }
.guide dd { margin: 0 0 .5rem; color: var(--muted); font-size: .9rem; }

@media (max-width: 900px) {
  .fish-layout { flex-direction: column; align-items: stretch; }
  .fish-grid { width: 100%; max-width: 100%; }
  .shop { grid-template-columns: 1fr; }
}

/* ---- photo editor ---- */
.photo-cell { white-space: normal; min-width: 8rem; }
.thumb { display: block; width: 56px; height: auto; border-radius: 6px; border: 1px solid var(--line); margin-bottom: .35rem; }
.modal-back {
  position: fixed; inset: 0; z-index: 50; background: rgba(5, 4, 10, .8);
  display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 1rem;
}
.modal {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.25rem; width: 100%; max-width: 920px; margin: 1rem 0;
}
.photo-layout { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.photo-tools { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.photo-tools label.btn { cursor: pointer; }
.photo-stage { position: relative; padding: 14px; background: #000; border-radius: 10px; max-width: 100%; touch-action: none; user-select: none; }
.photo-inner { position: relative; line-height: 0; }
.photo-canvas { width: 100%; height: auto; display: block; }
.photo-clip { position: absolute; inset: 14px; clip-path: inset(-14px); pointer-events: none; }
.crop-frame {
  position: absolute; border: 2px solid var(--orange); box-shadow: 0 0 0 9999px rgba(0, 0, 0, .55);
  cursor: move; pointer-events: auto; touch-action: none;
}
.crop-handle {
  position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--orange); border: 2px solid #1a0f05; pointer-events: auto; touch-action: none;
}
.photo-preview { display: block; width: 300px; max-width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.photo-main { min-width: 0; max-width: 100%; }

/* ---- collapsible variety guide ---- */
.guide-heading { margin: 0; }
.guide-toggle {
  display: flex; align-items: center; gap: .5rem; width: 100%; padding: 0; background: none; border: 0;
  color: var(--text); font: inherit; font-weight: 700; cursor: pointer; text-align: left;
}
.guide-toggle:hover { color: var(--orange); }
.guide-toggle .chevron { color: var(--orange); transition: transform .15s; transform: rotate(-90deg); }
.guide-toggle .chevron.open { transform: rotate(0deg); }
.guide-heading + .guide, .guide-heading + p { margin-top: 1rem; }
.zoom-row { display: flex; align-items: center; gap: .75rem; margin: 0 0 .75rem; font-size: .85rem; font-weight: 600; max-width: 520px; }
.zoom-row input[type=range] { flex: 1; accent-color: var(--orange); }

/* "+" button beside Country / Breeder / Dealer and its small pop-up */
.pick-add { display: flex; gap: .25rem; align-items: center; }
.pick-add select { width: auto; flex: 1 1 auto; min-width: 4.4rem; max-width: 5.4rem; }
.pick-add.wide { display: flex; }
.pick-add.wide select { max-width: none; flex: 1 1 auto; }
.btn.add-new { padding: .2rem .42rem; font-size: 1rem; line-height: 1; flex: none; }
.modal.small-modal { max-width: 460px; margin-top: 12vh; }
.small-modal h2 { margin-top: 0; }
.small-modal .field { display: block; font-weight: 700; margin: .75rem 0; }
.small-modal .field select { display: block; width: 100%; margin-top: .3rem; padding: .55rem 2rem .55rem .7rem; background-color: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 400; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted, #9a9ab0) 50%), linear-gradient(135deg, var(--muted, #9a9ab0) 50%, transparent 50%); background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.small-modal .field input { display: block; width: 100%; margin-top: .3rem; padding: .55rem .7rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.dialog-actions { display: flex; gap: .6rem; margin: 1rem 0 0; }

/* ---- "Display tips for best results" in the photo pop-up ---- */
.tips { border: 1px solid var(--line); border-radius: 12px; padding: .6rem .85rem; margin: 0 0 1rem; background: var(--surface-2); }
.tips-toggle {
  display: flex; align-items: center; gap: .5rem; width: 100%; padding: 0; background: none; border: 0;
  color: var(--text); font: inherit; font-weight: 700; cursor: pointer; text-align: left;
}
.tips-toggle:hover { color: var(--orange); }
.tips-toggle .chevron { margin-left: auto; color: var(--orange); transition: transform .15s; transform: rotate(-90deg); }
.tips-toggle .chevron.open { transform: rotate(0deg); }
.tips-body { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: .85rem; }
.tips-sample { margin: 0; flex: none; text-align: center; }
.tips-sample img { display: block; width: 150px; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.tips-sample figcaption { font-size: .78rem; margin-top: .3rem; }
.tips-list { margin: 0; padding-left: 1.2rem; font-size: .9rem; }
.tips-list li { margin-bottom: .4rem; }
.tips-list li:last-child { color: var(--gold); }
@media (max-width: 560px) { .tips-body { flex-direction: column; align-items: center; } }

/* ---- sign-in, My page, dealer features ---- */
.btn.google { width: 100%; display: block; text-align: center; padding: .65rem 1rem; font-weight: 700; }
.or-line { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .85rem; margin: 1rem 0; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.linklike { background: none; border: 0; padding: 0; color: var(--teal); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.small-note { font-size: .8rem; }
.notice-inline { border-left: 3px solid var(--gold); padding: .4rem .75rem; margin: .5rem 0 1rem; font-size: .88rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin: .5rem 0 1rem; }
.kv dt { color: var(--muted); font-weight: 600; font-size: .85rem; }
.kv dd { margin: 0; }
.welcome-back { border-color: var(--ok); }
.dealer-pin-link { margin: .25rem 0 0; }
.dealer-pin { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .5rem 0; }
.dealer-pin label { font-weight: 700; margin: 0; }
.dealer-pin input { width: auto; flex: 0 1 18rem; padding: .45rem .6rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; min-width: 14rem; }
form.dealer-pin .btn, form.dealer-pin .btn.primary { width: auto; }
.dealer-pin-error { flex-basis: 100%; margin: .25rem 0 0; }
.dup-warning { border: 1px solid var(--gold); border-radius: 8px; padding: .5rem .75rem; margin: .5rem 0; background: rgba(255,182,39,.08); }
.owner-cell { display: flex; align-items: center; gap: .3rem; }
.owner-cell select { min-width: 8rem; max-width: 11rem; }
.btn.fix-person { padding: .15rem .4rem; font-size: .85rem; line-height: 1; flex: none; }
.readonly-row td { opacity: .92; }
.section-sub { margin: 1.25rem 0 .5rem; font-size: 1.05rem; }
.status-note { display: block; font-size: .75rem; color: var(--muted); margin-top: .2rem; }
.fish-grid th.date-col { white-space: normal; width: 8.6rem; }
.guide dt { display: flex; align-items: center; gap: .45rem; }
.pic-search { display: inline-flex; align-items: center; justify-content: center; padding: .2rem; border-radius: 6px; color: var(--muted); line-height: 0; }
.pic-search:hover, .pic-search:focus-visible { color: var(--orange); background: rgba(255, 138, 61, .12); }

/* ---------- tank map ---------- */
.tankmap-wrap { overflow-x: auto; padding-bottom: .25rem; }
.tankmap { position: relative; min-width: 640px; width: 100%; container-type: inline-size; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; touch-action: manipulation; }
.tankmap-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.tm-tank {
  position: absolute; transform: translate(-50%, -50%); aspect-ratio: 1; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font: inherit; font-weight: 800; line-height: 1;
  border: 2px solid var(--ok); background: rgba(10, 9, 16, .55); color: #fff; cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8); overflow: visible;
}
.tm-tank:disabled { cursor: default; opacity: 1; }
.tm-tank.tm-available:not(:disabled):hover, .tm-tank.tm-available:not(:disabled):focus-visible { background: rgba(53, 220, 154, .5); outline: 2px solid #fff; outline-offset: 1px; }
.tm-tank.tm-incart { border-color: var(--teal); background: rgba(47, 217, 199, .75); color: #04201d; text-shadow: none; }
.tm-tank.tm-mine { border-color: var(--gold); background: rgba(255, 182, 39, .8); color: #2a1c00; text-shadow: none; }
.tm-tank.tm-taken { border-color: #8a8599; background: rgba(60, 56, 78, .78); color: #d5d1e0; }
.tm-name { position: relative; z-index: 1; pointer-events: none; }
.tm-x { position: absolute; inset: 12%; width: 76%; height: 76%; color: var(--red); pointer-events: none; z-index: 2; }
.tm-check { position: absolute; right: -14%; top: -14%; width: 46%; height: 46%; padding: 8%; border-radius: 50%; background: #2a1c00; color: var(--gold); pointer-events: none; z-index: 2; }
.tm-owner {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 2px; white-space: nowrap; pointer-events: none;
  font-size: .8em; font-weight: 700; padding: 0 .3em; border-radius: 4px; background: rgba(10, 9, 16, .85); color: #fff; z-index: 3;
}
.tankmap-key { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; margin: .5rem 0 0; padding: 0; font-size: .8rem; color: var(--muted); }
.tankmap-key li { display: flex; align-items: center; gap: .4rem; }
.tm-swatch { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ok); background: rgba(10, 9, 16, .55); display: inline-block; }
.tm-swatch.tm-incart { border-color: var(--teal); background: rgba(47, 217, 199, .75); }
.tm-swatch.tm-mine { border-color: var(--gold); background: rgba(255, 182, 39, .8); }
.tm-swatch.tm-taken { border-color: #8a8599; background: rgba(60, 56, 78, .78); }
.tankmap-hint { margin: 0 0 .6rem; }
.shop-map { grid-column: 1 / -1; }
.tankmap-panel .card-head { margin-bottom: .5rem; }

/* tank-map setup page */
.map-setup { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.map-side { display: flex; flex-direction: column; gap: 1rem; }
.map-tank-list { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; }
.map-tank-list li button { display: flex; width: 100%; justify-content: space-between; gap: .5rem; align-items: center; padding: .4rem .6rem; background: transparent; color: var(--text); border: 0; border-bottom: 1px solid var(--line); font: inherit; cursor: pointer; text-align: left; }
.map-tank-list li button[aria-pressed="true"] { background: rgba(255, 138, 61, .22); }
.map-tank-list .placed { color: var(--ok); font-size: .75rem; }
.map-tank-list .unplaced { color: var(--muted); font-size: .75rem; }
.tankmap.editing { cursor: crosshair; }
.tankmap.editing .tm-tank { cursor: grab; touch-action: none; pointer-events: auto; }
.tankmap.editing .tm-tank.dragging { cursor: grabbing; }
.tm-tank.tm-picked { border-color: var(--orange); background: rgba(255, 138, 61, .8); color: #2a1100; text-shadow: none; outline: 3px solid #fff; z-index: 4; }
.map-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.map-row select { padding: .4rem .6rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; }
@media (max-width: 800px) { .map-setup { grid-template-columns: 1fr; } }
.map-row label { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.map-row input[type=range] { width: 160px; }
.notice-inline { color: var(--teal); }

/* the Add Tank window (when the show has a tank map) */
.tank-modal { max-width: 1180px; }
.tank-modal .card-head { margin-bottom: .25rem; }
.tank-modal .shop { margin-top: .5rem; padding: 0; background: transparent; border: 0; }
.tank-modal .shop-map { margin-bottom: .25rem; }
.tank-modal .shop-with-map { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* show page: tiles and charts */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; }
.tile-value { font-family: "Bungee", "Manrope", sans-serif; font-size: 2rem; line-height: 1.1; color: var(--orange); }
.tile-label { font-weight: 700; }
.tile-sub { font-size: .8rem; }
.split-bar { height: 16px; border-radius: 8px; background: rgba(53, 220, 154, .35); border: 1px solid rgba(53, 220, 154, .6); overflow: hidden; }
.split-taken { display: block; height: 100%; background: var(--orange); }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 1rem; }
.chart-grid .card { margin-bottom: 0; }
.bars { list-style: none; margin: 0 0 .5rem; padding: 0; }
.bars li { display: grid; grid-template-columns: minmax(6rem, 38%) 1fr 2.2rem; gap: .5rem; align-items: center; padding: .15rem 0; font-size: .85rem; }
.bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { display: block; height: 12px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--orange); border-radius: 6px; }
.bar-fill.over { background: var(--red); }
.bar-count { text-align: right; font-family: ui-monospace, monospace; }
.mine-line { font-size: 1.05rem; }
.mini-tanks { list-style: none; margin: .5rem 0 0; padding: 0; }
.mini-tanks li { display: grid; grid-template-columns: 6rem 5rem minmax(80px, 1fr) 8.5rem auto; gap: .6rem; align-items: center; padding: .3rem 0; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .mini-tanks li { grid-template-columns: 1fr 1fr; } .mini-tanks .bar-track { grid-column: 1 / -1; } .chart-grid { grid-template-columns: 1fr; } }
.mini-tanks .neg { color: var(--red); font-weight: 600; }

/* one-fish view */
.fish-heading { display: flex; align-items: center; gap: .6rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; background: var(--surface-2); color: var(--teal); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.icon-btn:hover { border-color: var(--teal); }
.fish-card-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.fish-card-nav { display: flex; align-items: center; gap: .75rem; }
.fish-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 1.5rem; align-items: start; }
.fish-card-photo { display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.fish-card-img { display: block; width: 100%; max-height: 72vh; object-fit: contain; background: #000; border: 1px solid var(--line); border-radius: 12px; }
.fish-card-noimg { width: 100%; min-height: 320px; display: flex; flex-direction: column; gap: .4rem; align-items: center; justify-content: center; background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }
.fish-card-photo-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.fish-card-fields { display: flex; flex-direction: column; gap: .7rem; }
.cf { display: flex; flex-direction: column; gap: .25rem; }
.cf-id { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.cf-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.cf-help { font-size: .82rem; margin: .1rem 0 0; }
.fish-card-fields select, .fish-card-fields input[type=date] {
  width: 100%; padding: .5rem .55rem; background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; font: inherit; font-size: .95rem; color-scheme: dark; min-height: 38px;
}
.fish-card-fields select:disabled, .fish-card-fields input:disabled { opacity: .55; }
.fish-card-fields .pick-add select, .fish-card-fields .owner-cell select { flex: 1 1 auto; width: auto; max-width: none; min-width: 0; }
.fish-card-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .4rem; }
.fish-card-status { flex-basis: 100%; }
@media (max-width: 800px) { .fish-card { grid-template-columns: 1fr; } .fish-card-img { max-height: 60vh; } }

/* a show's logo in the top bar */
.brand-row { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.brand-logo-link { display: inline-flex; line-height: 0; border-radius: 6px; }
.brand-logo { display: block; max-height: 52px; max-width: 220px; width: auto; height: auto; object-fit: contain; }
.brand-show { font-family: "Bungee", "Manrope", sans-serif; color: var(--orange); text-decoration: none; font-size: 1.15rem; letter-spacing: .02em; }
@media (max-width: 560px) { .brand-logo { max-height: 40px; max-width: 150px; } .brand-show { font-size: 1rem; } }

/* logo and colors setup page */
.logo-samples { display: flex; gap: 1rem; margin: .75rem 0; flex-wrap: wrap; }
.logo-sample { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 10px; }
.plain-label { display: block; margin-top: 1rem; font-weight: 600; font-size: .9rem; }
.plain-label input { display: block; width: 100%; max-width: 560px; margin-top: .3rem; padding: .6rem .75rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.color-grid { display: grid; gap: .6rem; max-width: 780px; }
.color-row { display: grid; grid-template-columns: minmax(150px, 1fr) 56px 110px auto; gap: .75rem; align-items: center; }
.color-label { display: flex; flex-direction: column; }
.color-row input[type="color"] { width: 56px; height: 38px; padding: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.color-row input.hex { width: 110px; padding: .5rem .6rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; font-family: "IBM Plex Mono", monospace; }
@media (max-width: 560px) { .color-row { grid-template-columns: 1fr 56px; } .color-row input.hex { width: 100%; } }
.brand-preview { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.preview-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; }
.preview-title { font-family: "Bungee", sans-serif; color: var(--orange); font-size: 1.2rem; }
.preview-muted { color: var(--muted); }
.preview-link { color: var(--teal); text-decoration: underline; }
.preview-btn { display: inline-block; cursor: default; }

/* staff page */
.staff-table select { padding: .35rem 1.8rem .35rem .6rem; background-color: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.staff-add select { display: block; margin-top: .3rem; padding: .55rem 2rem .55rem .7rem; background-color: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; max-width: 560px; width: 100%; }
.staff-add .btn { width: auto; display: inline-block; }

/* staff dashboard */
.dash-section > summary { display: flex; align-items: center; gap: .75rem; cursor: pointer; list-style: none; }
.dash-section > summary::-webkit-details-marker { display: none; }
.dash-section > summary::before { content: "▸"; color: var(--muted); }
.dash-section[open] > summary::before { content: "▾"; }
.dash-section > summary h2 { margin: 0; }
.dash-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: .5rem 0; }
.dash-controls label.inline { display: inline-flex; align-items: center; gap: .4rem; margin: 0; }
.dash-controls select { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: .3rem .5rem; font: inherit; }
.dash-list { list-style: none; margin: .5rem 0 0; padding: 0; }
.dash-list > li { border-top: 1px solid var(--line); }
.dash-list > li > details > summary { display: grid; grid-template-columns: 4.5rem minmax(10rem, 1.2fr) minmax(10rem, 1.5fr) 7rem; gap: .75rem; align-items: baseline; cursor: pointer; padding: .55rem 0; }
.dash-list .when { text-align: right; }
.dash-list .kv { margin: .25rem 0 .9rem 4.5rem; }
.dash-sub { border-top: 1px solid var(--line); padding: .5rem 0; }
.dash-sub > summary { cursor: pointer; font-weight: 600; }
.dash-plain { margin: .5rem 0 0; padding-left: 1.25rem; }
.dash-plain li { margin: .2rem 0; }
.attn-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 .75rem; }
.small-pill { margin-left: .4rem; font-size: .7rem; padding: .05rem .4rem; }
@media (max-width: 720px) {
  .dash-list > li > details > summary { grid-template-columns: 1fr; gap: .15rem; }
  .dash-list .when { text-align: left; }
  .dash-list .kv { margin-left: 0; }
}
.tile-value.tile-small { font-size: 1.35rem; padding: .35rem 0 .2rem; }

/* "Powered by" footer */
.site-footer { margin: 2.5rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .8rem; }
.powered { display: inline-flex; align-items: center; gap: .6rem; }
.powered-logo { display: inline-block; background: #fff; border-radius: 8px; padding: .3rem .6rem; line-height: 0; }
.powered-logo img { height: 34px; width: auto; display: block; }
.copyright { margin: .5rem 0 0; }

/* Vendors and tank types */
.tank-type-note { border-left: 3px solid var(--gold); padding: .4rem .75rem; margin: .25rem 0 .75rem; font-size: .88rem; }
.tank-type-note p { margin: 0 0 .4rem; }
.tank-type-note p:last-child { margin-bottom: 0; }
.included-price { color: var(--ok); font-weight: 700; white-space: nowrap; }
.shop-list li select, td select[aria-label^="Kind of tank"] { min-width: 8.5rem; padding: .3rem .5rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.shop-list li .pill { white-space: nowrap; }
.shop-list li .tank { flex: 1 1 auto; }
.tilt-value { min-width: 3.6rem; text-align: right; font-weight: 400; }

/* Show staff tools drop-down */
.crumb-row { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.crumb-row > p { margin: 0 0 .75rem; }
.staff-tools { margin: 0 0 1rem; }
.staff-menu { position: relative; display: inline-block; }
.staff-menu-list { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; min-width: 18rem; max-width: min(92vw, 24rem); background: var(--surface, var(--bg)); border: 1px solid var(--line); border-radius: 12px; padding: .5rem; box-shadow: 0 12px 32px rgba(0,0,0,.45); }
.crumb-row .staff-menu-list { left: auto; right: 0; }
.staff-menu-group + .staff-menu-group { margin-top: .35rem; border-top: 1px solid var(--line); padding-top: .35rem; }
.staff-menu-title { margin: .2rem .6rem .25rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.staff-menu-item { display: block; padding: .45rem .6rem; border-radius: 8px; text-decoration: none; color: var(--text); }
a.staff-menu-item:hover, a.staff-menu-item:focus-visible { background: rgba(255,255,255,.07); }
.staff-menu-item.here { opacity: .85; }
.staff-menu-help { display: block; font-size: .8rem; color: var(--muted); }

/* ---------- Liaison screen (made for fingers on a tablet) ---------- */
.lia-btn { min-height: 52px; padding: .6rem 1.1rem; font-size: 1.05rem; }
.lia-input, .lia-field select, .lia-field input, .lia-field textarea {
  min-height: 52px; padding: .6rem .8rem; font: inherit; font-size: 1.05rem; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; width: 100%;
}
.lia-field textarea { min-height: 96px; }
.lia-progress { display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-size: 1.1rem; margin: 0 0 .75rem; }
.lia-banner { margin: 0 0 .75rem; }
.lia-filters {
  display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; padding: .75rem 0 1rem; margin-bottom: 1rem;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
@media (min-height: 800px) { .lia-filters { position: sticky; top: 0; z-index: 20; } }
.lia-filter { display: flex; flex-direction: column; gap: .3rem; }
.lia-filter.grow { flex: 1 1 14rem; }
.lia-label { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lia-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lia-seg button { min-height: 52px; padding: .5rem 1rem; font: inherit; font-size: 1rem; background: var(--bg); color: var(--text); border: 0; border-right: 1px solid var(--line); cursor: pointer; }
.lia-seg button:last-child { border-right: 0; }
.lia-seg button.on { background: var(--orange); color: #1a1208; font-weight: 700; }

.lia-tank { margin-bottom: 1.25rem; border-left: 5px solid var(--line); }
.lia-tank.done { border-left-color: var(--ok); }
.lia-tank-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; }
.lia-tank-head h2 { margin: 0 0 .25rem; font-size: 1.6rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.lia-who { margin: 0; font-size: 1.05rem; }
.lia-warn { color: var(--gold); font-weight: 700; }
.lia-tank-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.ok-on { border-color: var(--ok); color: var(--ok); background: rgba(53,220,154,.12); }
.warn-on { border-color: var(--gold); color: var(--gold); background: rgba(255,182,39,.14); }
.lia-err { margin: .5rem 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

.lia-fishlist { display: grid; gap: 1rem; margin-top: 1rem; }
.lia-fish { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.lia-fish.lia-jump { outline: 3px solid var(--accent, #ff8a3d); outline-offset: 2px; }
.lia-fish.done { border-color: rgba(53,220,154,.45); }
@media (max-width: 700px) { .lia-fish { grid-template-columns: 1fr; } }
.lia-pic { padding: 0; border: 0; background: #000; border-radius: 10px; overflow: hidden; cursor: zoom-in; align-self: start; min-height: 140px; }
.lia-pic:disabled { cursor: default; background: transparent; border: 2px dashed var(--line); color: var(--muted); }
.lia-pic img { display: block; width: 100%; height: auto; }
.lia-pic span { display: grid; place-items: center; min-height: 140px; }
.lia-fishhead { margin: 0 0 .5rem; font-size: 1.1rem; }
.lia-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .4rem 1rem; margin: 0 0 .75rem; }
.lia-kv dt { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lia-kv dd { margin: 0; font-size: 1.05rem; }
.lia-kv .wide { grid-column: 1 / -1; }
.lia-flag { margin: 0 0 .75rem; padding: .5rem .75rem; border-left: 4px solid var(--gold); background: rgba(255,182,39,.1); }
.lia-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }

.lia-picker { max-width: 760px; }
.lia-tankgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: .6rem; margin: .5rem 0; max-height: 55vh; overflow-y: auto; }
.lia-tankbtn { min-height: 64px; padding: .4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; font: inherit; font-size: 1.1rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.lia-tankbtn span { font-size: .75rem; }
.lia-tankbtn.all { width: 100%; }
.lia-tankbtn.warn { border-color: var(--gold); color: var(--gold); background: rgba(255,182,39,.12); }
.lia-tankbtn.on { outline: 3px solid var(--orange); }

.lia-edit { max-width: 820px; }
.lia-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem 1rem; margin-bottom: .75rem; }
.lia-field { display: flex; flex-direction: column; gap: .3rem; font-weight: 400; }
.lia-field > span { font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.lia-field.wide { grid-column: 1 / -1; }

.lia-viewer { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; gap: .5rem; touch-action: pan-y; }
.lia-viewer-fig { margin: 0; text-align: center; max-width: min(86vw, 1100px); }
.lia-viewer-fig img { max-width: 100%; max-height: 78vh; border-radius: 8px; background: #000; }
.lia-viewer-fig figcaption { display: flex; flex-direction: column; gap: .15rem; margin-top: .6rem; font-size: 1.1rem; color: #fff; }
.lia-viewer-nav { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }
.lia-viewer-nav:disabled { opacity: .25; }
.lia-viewer-close { position: absolute; top: 14px; right: 14px; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 700px) { .lia-viewer-nav { width: 52px; height: 52px; flex-basis: 52px; } }
.lia-namegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; margin: .5rem 0; max-height: 55vh; overflow-y: auto; }
.lia-tankbtn.name { align-items: flex-start; text-align: left; padding: .5rem .8rem; }
.lia-tankbtn.name strong { font-size: 1.05rem; }
.lia-count { margin: 0; align-self: center; font-size: 1.05rem; padding: .4rem .8rem; border-radius: 999px; background: rgba(255,255,255,.06); }
.lia-oldnote { margin: 0 0 .75rem; padding: .4rem .75rem; border-left: 4px solid var(--line); color: var(--muted); }

/* ---- judging pages ---- */
.jdg-link p { margin: .5rem 0 0; }
.jdg-top { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.jdg-tabs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.jdg-tabs button { min-height: 52px; padding: .5rem 1rem; font: inherit; font-size: 1.05rem; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.jdg-tabs button.on { background: var(--orange); color: var(--on-accent); font-weight: 700; border-color: var(--orange); }
.jdg-tabs .jt { margin-left: auto; }
.jdg-flash { margin: .5rem 0; padding: .6rem .9rem; border-radius: 10px; }

.jt { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .75rem 1.25rem; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); }
.jt-label { font-size: 1rem; }
.jt-value { font-size: 2.6rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.jt.before { border-color: #4aa3df; }
.jt.during { border-color: var(--ok); }
.jt.soon { border-color: var(--gold); background: rgba(255,182,39,.14); }
.jt.over { border-color: var(--red); background: #b3202f; color: #fff; }
.jt.over .jt-label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.jt.compact { flex-direction: row; gap: .6rem; padding: .3rem .8rem; border-radius: 12px; min-height: 52px; align-items: center; }
.jt.compact .jt-value { font-size: 1.5rem; }
.jt.compact .jt-label { font-size: .9rem; }

.jdg-home-row { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.jdg-donut { margin: 0; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.jdg-donut figcaption { font-size: 1.05rem; line-height: 1.9; }
.jdg-key { display: inline-block; width: 16px; height: 16px; border-radius: 4px; vertical-align: middle; margin-right: .4rem; border: 1px solid var(--line); }
.jdg-stats { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: .5rem 2rem; margin: 0; padding: 1rem 1.5rem; border-radius: 18px; border: 2px solid var(--ok); background: rgba(53,220,154,.1); }
.jdg-stats div { display: flex; gap: .6rem; align-items: baseline; }
.jdg-stats dt { font-weight: 700; }
.jdg-stats dt::after { content: ":"; }
.jdg-stats dd { margin: 0; font-size: 1.5rem; }

.jdg-filters { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; margin-bottom: .75rem; padding: .75rem; border: 1px solid var(--line); border-radius: 12px; }
.jdg-filters .lia-field { min-width: 180px; }
.jdg-split { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1rem; align-items: start; }
@media (max-width: 900px) { .jdg-split { grid-template-columns: 1fr; } .jdg-split .jdg-pic { order: -1; max-width: 320px; } }
.jdg-gridwrap { max-height: 56vh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.jdg-grid { width: 100%; border-collapse: collapse; }
.jdg-grid th { position: sticky; top: 0; z-index: 1; background: #1c3a52; color: #e8f4ff; text-align: left; padding: 0; font-size: .85rem; letter-spacing: .03em; border-bottom: 1px solid var(--line); }
.jdg-grid th, .jdg-grid td { padding: .15rem .6rem; }
.jdg-grid th button { width: 100%; min-height: 52px; padding: .4rem .6rem; text-align: left; font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; font-weight: 700; }
.jdg-grid th:not(:has(button)) { padding: .8rem .6rem; font-weight: 700; }
.jdg-grid th.mine { background: #1f4d34; color: #e6ffef; }
.jdg-grid td { border-bottom: 1px solid var(--line); min-height: 52px; font-size: 1.02rem; }
.jdg-grid tbody tr { cursor: pointer; height: 56px; }
.jdg-grid tbody tr.sel { background: rgba(255,138,61,.2); outline: 2px solid var(--orange); outline-offset: -2px; }
.jdg-grid td.mine { background: rgba(53,220,154,.06); }
.jdg-grid.small th { position: static; padding: .6rem; }
.jdg-grid.small tbody tr { cursor: default; height: auto; }
.jdg-wrap { white-space: pre-wrap; }
.jdg-cell { display: block; width: 100%; min-height: 48px; padding: .3rem .5rem; text-align: left; font: inherit; color: var(--text); background: transparent; border: 1px dashed var(--line); border-radius: 8px; cursor: pointer; }
.jdg-cell.notes { max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.jdg-pic { display: flex; flex-direction: column; gap: .4rem; padding: 0; border: 0; background: transparent; cursor: zoom-in; color: var(--text); text-align: center; }
.jdg-pic img { display: block; width: 100%; height: auto; border-radius: 10px; background: #000; }
.jdg-pic span { display: grid; place-items: center; min-height: 200px; border: 2px dashed var(--line); border-radius: 10px; color: var(--muted); }
.jdg-pic em { font-style: normal; font-size: .9rem; color: var(--muted); }
.jdg-pic:disabled { cursor: default; }
.jdg-pic.empty { display: grid; place-items: center; min-height: 200px; border: 2px dashed var(--line); border-radius: 10px; color: var(--muted); padding: 1rem; cursor: default; }

.jdg-notesbox { margin-top: 1rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; min-height: 110px; }
.jdg-notesbox-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.jdg-notesbox-text { margin: .5rem 0 0; white-space: pre-wrap; font-size: 1.1rem; }

.jdg-assign { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 900px) { .jdg-assign { grid-template-columns: 1fr; } }
.jdg-awards { border: 1px solid var(--line); border-radius: 12px; padding: .5rem; }
.jdg-awards-head { display: flex; flex-direction: column; gap: .5rem; padding: .25rem; }
.jdg-awards-head .lia-seg button { padding: .4rem .6rem; font-size: .9rem; }
.jdg-awardlist { list-style: none; margin: .5rem 0 0; padding: 0; max-height: 52vh; overflow-y: auto; display: grid; gap: .4rem; }
.jdg-award { display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-height: 56px; padding: .4rem .7rem; text-align: left; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.jdg-award.on { outline: 3px solid var(--orange); }
.jdg-award.taken { opacity: .7; }
.jdg-award .muted { font-size: .85rem; }
.jdg-taken { font-size: .85rem; font-weight: 700; color: var(--text); }
.jdg-assign-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.jdg-judges { margin-top: 1rem; border: 1px solid var(--line); border-radius: 12px; padding: .5rem; }
.jdg-judges-title { margin: 0 0 .5rem; font-weight: 700; }

.jdg-pad { max-width: 360px; }
.jdg-pad-value { margin: 0 0 .75rem; text-align: center; font-size: 3rem; font-weight: 700; min-height: 4rem; border: 1px solid var(--line); border-radius: 12px; font-variant-numeric: tabular-nums; }
.jdg-pad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .75rem; }
.jdg-pad-grid .btn { min-height: 64px; font-size: 1.5rem; }
.jdg-notes { max-width: 640px; }
.jdg-notes-text { width: 100%; min-height: 200px; padding: .7rem; font: inherit; font-size: 1.15rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; }
.jdg-judges { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 1rem; align-items: start; }
@media (max-width: 700px) { .jdg-judges { grid-template-columns: 1fr; } }

/* the "this fish already has an award" question */
.jdg-move { max-width: 760px; width: 100%; max-height: 92vh; overflow-y: auto; }
.jdg-move-block { margin: 1rem 0 0; padding: .6rem .8rem .8rem; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: .6rem; }
.jdg-move-block legend { padding: 0 .4rem; font-weight: 700; }
.jdg-move-opt { display: flex; gap: .7rem; align-items: center; min-height: 56px; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); cursor: pointer; }
.jdg-move-opt.on { outline: 3px solid var(--orange); }
.jdg-move input[type="radio"] { width: 24px; height: 24px; accent-color: var(--orange); flex: none; }
.jdg-move .jdg-gridwrap { max-height: 260px; }

/* awards on a fish: one right after the other on a single line, no commas, no wrapping */
.jdg-awardrow { display: inline-flex; flex-wrap: nowrap; gap: .35rem; white-space: nowrap; }
.jdg-awardtag { padding: .1rem .55rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: .92rem; }

/* the Liaison "Show on map" pop-up: the tanks to go to glow, the rest fade back */
.tm-tank.tm-hl { z-index: 3; transform: translate(-50%, -50%) scale(1.3); border-color: #fff; background: rgba(255, 138, 61, .95); color: #2a1100; text-shadow: none; box-shadow: 0 0 0 4px rgba(255, 138, 61, .55), 0 0 18px 6px rgba(255, 138, 61, .75); animation: tm-pulse 1.6s ease-in-out infinite; }
.tm-tank.tm-dim { opacity: .4; border-color: #8a8599; background: rgba(60, 56, 78, .6); color: #d5d1e0; }
.tm-swatch.tm-hl { border-color: #fff; background: rgba(255, 138, 61, .95); box-shadow: 0 0 0 3px rgba(255, 138, 61, .5); }
.tm-swatch.tm-dim { opacity: .5; border-color: #8a8599; background: rgba(60, 56, 78, .6); }
@keyframes tm-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 138, 61, .55), 0 0 18px 6px rgba(255, 138, 61, .75); } 50% { box-shadow: 0 0 0 8px rgba(255, 138, 61, .3), 0 0 26px 10px rgba(255, 138, 61, .5); } }
@media (prefers-reduced-motion: reduce) { .tm-tank.tm-hl { animation: none; } }
.lia-map-modal { max-width: 1100px; width: 100%; }
.lia-map-list { margin: .25rem 0 .75rem; font-size: 1.1rem; }

/* ---- the visitor (attendee) pages: made for a phone ---- */
.att { max-width: 560px; margin: 0 auto; padding: 1rem 1rem 3rem; font-size: 1.05rem; }
.att-head { text-align: center; margin: .5rem 0 1rem; }
.att-head.big .att-logo { max-height: 42vh; }
.att-logo { display: block; margin: 0 auto .75rem; max-width: 100%; max-height: 90px; height: auto; object-fit: contain; }
.att-title { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.att-h2 { margin: .25rem 0 .75rem; }
.att-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; color: var(--text); }
.att-card h2 { margin-top: 0; }
.att-note { margin: .5rem 0 1rem; padding: .6rem .8rem; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.att-hello { font-size: 1.2rem; font-weight: 700; text-align: center; margin: .5rem 0 1rem; }
.att-menu { display: grid; gap: .8rem; }
.att-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .6rem 1.1rem; font: inherit; font-weight: 700; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; text-decoration: none; }
.att-btn.big { min-height: 72px; font-size: 1.3rem; width: 100%; }
.att-btn.primary { background: var(--orange); color: var(--on-accent); border-color: var(--orange); }
.att-btn:disabled { opacity: .5; cursor: default; }
.att-link { padding: .4rem .2rem; font: inherit; color: var(--teal); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.att-foot { margin-top: 1.5rem; text-align: center; color: var(--muted); }
.att-form { display: grid; gap: .8rem; }
.att-field { display: grid; gap: .3rem; font-weight: 600; }
.att-field input, .att-field select { width: 100%; min-height: 52px; padding: .5rem .7rem; font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.att-field.small { flex: 1 1 140px; font-size: .9rem; }
.att-check { display: flex; gap: .7rem; align-items: center; min-height: 48px; }
.att-check input { width: 26px; height: 26px; accent-color: var(--orange); flex: none; }
.att-err { margin: 0; }
.att-filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin-bottom: .5rem; }
.att-count { margin: .25rem 0 .75rem; color: var(--muted); }
.att-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.att-fish { display: flex; gap: .8rem; align-items: stretch; width: 100%; padding: .5rem; text-align: left; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; min-height: 88px; }
.att-fish img, .att-thumb-empty { flex: none; width: 104px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.att-fish-text { display: grid; gap: .1rem; align-content: center; min-width: 0; }
.att-awards { display: flex; flex-wrap: wrap; gap: .3rem; margin: .25rem 0; }
.att-award { padding: .1rem .55rem; border-radius: 999px; background: var(--orange); color: var(--on-accent); font-size: .85rem; font-weight: 700; }
.att-sheet-back { position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto; }
.att-sheet { max-width: 560px; margin: 0 auto; padding: 0 1rem 3rem; }
.att-sheet-bar { position: sticky; top: 0; z-index: 5; margin: 0 -1rem .5rem; padding: .6rem 1rem; background: var(--bg); border-bottom: 1px solid var(--line); }
.att-fish-title { margin: .25rem 0 .5rem; }
.att-pic { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.att-pic img { display: block; width: 100%; height: auto; border-radius: 12px; background: #000; }
.att-nopic { display: grid; place-items: center; min-height: 140px; border: 2px dashed var(--line); border-radius: 12px; }
.att-details { margin: 1rem 0; display: grid; gap: .4rem; }
.att-details div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.att-details dt { color: var(--muted); }
.att-details dd { margin: 0; font-weight: 600; text-align: right; }
.att-desc { white-space: pre-wrap; }
.att-label { margin: 0; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.att-owner { display: block; margin: 1.25rem 0; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.att-owner-pic { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.att-owner-name { margin: 0; font-weight: 700; font-size: 1.15rem; }
.att-bio { margin: .75rem 0 0; white-space: pre-wrap; }
.att-owner-head { display: flex; gap: 1rem; align-items: center; }
.att-owner-picbtn { flex: none; padding: 0; border: 0; background: transparent; border-radius: 50%; cursor: zoom-in; }
.att-owner-big { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .75); display: flex; align-items: center; justify-content: center; padding: 1rem; overflow-y: auto; }
.att-owner-bigcard { width: 100%; max-width: 420px; max-height: 100%; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.att-owner-bigcard img { display: block; width: 100%; height: auto; border-radius: 12px; margin: .75rem 0; }
.att-info { display: inline-flex; align-items: center; justify-content: center; width: 1.45rem; height: 1.45rem; margin-left: .5rem; padding: 0; border-radius: 50%; border: 1.5px solid var(--accent, var(--orange)); background: transparent; color: var(--accent, var(--orange)); font: italic 700 .9rem/1 Georgia, serif; vertical-align: middle; cursor: pointer; }
.att-info.on { background: var(--accent, var(--orange)); color: var(--on-accent); }
.att-details .att-varinfo { display: block; margin: .25rem 0 .5rem; padding: .75rem 1rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent, var(--orange)); border-radius: 10px; }
.att-pager { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: 1rem; }

/* "About me" for show visitors, on My Page */
.pub-pic { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); }
.pub-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: .75rem; }
.pub-bio { width: 100%; min-height: 140px; padding: .7rem; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.pub-count { font-size: .9rem; color: var(--muted); }
.pub-count.over { color: var(--red); font-weight: 700; }
.pub-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.pub-field { display: grid; gap: .3rem; font-weight: 600; }

/* visitor pages: the show schedule */
.att-sched { margin: 0 0 1rem; display: grid; gap: .75rem; }
.att-sched h2 { margin: 0; font-size: 1.2rem; }
.att-evlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.att-ev { display: grid; gap: .1rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.att-ev-time { color: var(--muted); font-size: .9rem; }
.att-ev-name { font-weight: 700; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.att-ev-tag { padding: .05rem .5rem; border-radius: 999px; background: var(--orange); color: var(--on-accent); font-size: .8rem; font-weight: 700; }
.att-ev-link { justify-self: start; margin-top: .15rem; color: var(--link, inherit); font-weight: 600; }
.att-ev.now { border-left: 5px solid var(--orange); }
.att-ev.past { opacity: .5; background: transparent; }
.att-ev.past .att-ev-name { font-weight: 500; }
.att-day { margin: 0 0 1.25rem; }
.att-day h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.att-tznote { margin: -.25rem 0 1rem; font-size: .9rem; }

/* visitor pages: People's Choice, survey, education, ads */
.att-fishrow { position: relative; }
.att-heart { position: absolute; top: .35rem; right: .35rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.att-heart.on { color: #d6336c; border-color: #d6336c; }
.att-heart:disabled { opacity: .6; }
.att-titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.att-titlerow .att-heart { position: static; flex: none; }
.att-favonly { flex-basis: 100%; }
.att-fishrow .att-fish { padding-right: 3.6rem; }
.att-pc { margin: 0 0 1rem; display: grid; gap: .5rem; }
.att-pc p { margin: 0; }
.att-pc-status { font-weight: 700; }
.att-vote { margin: .75rem 0; padding: .8rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: .6rem; }
.att-vote p { margin: 0; }
.att-vote-mine { font-weight: 700; color: var(--orange); }
.att-btn small { display: block; font-size: .8rem; font-weight: 500; opacity: .9; }
.att-btn.big:has(small) { flex-direction: column; gap: .1rem; }
.att-survey { display: grid; gap: 1rem; }
.att-q { margin: 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; gap: .6rem; }
.att-q legend { font-weight: 700; padding: 0 .3rem; }
.att-q textarea { width: 100%; font: inherit; padding: .6rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.att-yn, .att-choices { display: grid; gap: .5rem; }
.att-yn { grid-template-columns: 1fr 1fr; }
.att-opt { display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; }
.att-opt.on { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); font-weight: 700; }
.att-stars { display: flex; gap: .25rem; }
.att-star { width: 52px; height: 52px; border: 0; background: transparent; font-size: 2.2rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0; }
.att-star.on { color: var(--orange); }
.att-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.att-doc { display: grid; gap: .4rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.att-doc .att-btn { justify-self: start; text-decoration: none; }
.att-ad { margin: 1rem 0; text-align: center; position: relative; }
.att-ad.strip { margin: 0 0 1rem; }
.att-ad img { display: block; width: 100%; max-height: 140px; object-fit: contain; border-radius: 10px; background: var(--surface); }
.att-ad a { display: block; }
.att-ad-dots { display: inline-flex; gap: .3rem; margin-top: .3rem; }
.att-ad-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.att-ad-dots span.on { background: var(--orange); }

/* visitor page setup (staff) */
.vis-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.vis-list li { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; }
.vis-list li.vis-off { opacity: .6; }
.vis-ad { display: grid; gap: .3rem; flex: 1 1 14rem; }
.vis-checks { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.vis-thumb { width: 120px; max-height: 60px; object-fit: contain; border-radius: 6px; background: var(--surface-2); }
.vis-form { display: grid; gap: .7rem; max-width: 32rem; margin-top: 1rem; }
.vis-form label { display: grid; gap: .25rem; }
.ok-note { padding: .5rem .8rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.check { display: inline-flex; gap: .45rem; align-items: center; }
.vis-stars { display: grid; gap: .25rem; }
.vis-bar { display: grid; grid-template-columns: 6rem 1fr 3rem; gap: .5rem; align-items: center; }
.vis-bar > span:nth-child(2) { height: .8rem; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.vis-bar > span:nth-child(2) > i { display: block; height: 100%; background: var(--orange); }
.vis-quote { margin: 0 0 .4rem; padding: .4rem .7rem; border-left: 3px solid var(--line); }
.dash-h2 { margin: 1.5rem 0 .5rem; }
.warn-note { padding: .5rem .8rem; border-radius: 8px; border: 1px solid var(--orange); background: var(--surface-2); }

/* ---- staff setup pages: survey questions, ads, education ---- */
.vis-order { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.vis-order li { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 10px; }
.vis-order .vis-grow { flex: 1 1 12rem; display: grid; gap: .15rem; }
.vis-move { display: inline-flex; gap: .25rem; }
.vis-move .btn { min-width: 2.2rem; padding-left: .5rem; padding-right: .5rem; }
.vis-tag { display: inline-block; padding: .05rem .5rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: .8rem; }
.vis-meta { font-size: .85rem; }
.vis-form textarea { min-height: 6rem; }
.vis-hub { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 0 0 1rem; }
.vis-hub a { display: grid; gap: .2rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; }
.vis-hub a:hover { border-color: var(--orange); }
.vis-switches { display: flex; flex-wrap: wrap; gap: .4rem .6rem; margin: 0 0 .5rem; padding: 0; list-style: none; }

/* judging: Toggle View */
.jdg-countrow { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: .5rem 0; }
.jdg-countrow .lia-count { margin: 0; }
.jdg-cardnotes { white-space: pre-wrap; }
.vis-order .check, .vis-list .check { display: inline-flex; flex-direction: row; align-items: center; gap: .4rem; }
.jdg-kv { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
/* judging All Fish / Fish w/o Award: the filters and the count stay on screen while the list scrolls (like the Liaison page) */
@media (min-height: 600px) { .jdg-sticky { position: sticky; top: 0; z-index: 20; background: var(--bg); padding-bottom: .5rem; border-bottom: 1px solid var(--line); margin-bottom: .75rem; } }

/* event map: staff preview and the visitor viewer */
.evmap-preview { display: block; max-width: 100%; max-height: 420px; border: 1px solid var(--line); border-radius: 10px; margin: 0 0 .75rem; }
.att-mapbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 .6rem; }
.att-map { overflow: auto; max-height: 72vh; border: 1px solid var(--line); border-radius: 12px; background: #fff; -webkit-overflow-scrolling: touch; }
.att-map img { display: block; max-width: none; height: auto; }

/* visitor page: vendors */
.att-vendors { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.att-vendor { display: grid; grid-template-columns: 96px 1fr; gap: .85rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .8rem; }
.att-vendor-logo { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.att-vendor-logo a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.att-vendor-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.att-vendor-nologo { font-size: 2.2rem; font-weight: 700; color: var(--muted); }
.att-vendor-body { min-width: 0; display: grid; gap: .35rem; }
.att-vendor-body p { margin: 0; }
.att-vendor-name { margin: 0; font-size: 1.1rem; text-transform: none; letter-spacing: 0; color: var(--text); overflow-wrap: anywhere; }
.att-vendor-booth { font-weight: 600; }
.att-vendor-desc { overflow-wrap: anywhere; }
.att-vote-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
@media (max-width: 380px) { .att-vendor { grid-template-columns: 72px 1fr; } .att-vendor-logo { width: 72px; height: 72px; } }
.vis-nologo { display: inline-block; height: 40px; width: 60px; }
.vis-booth { width: 7rem; }
.vis-form textarea { width: 100%; font: inherit; }
.vis-list .check, .vis-order .check { white-space: nowrap; }
.vis-list .vis-thumb { align-self: center; }
.vis-form .vis-checks label.check { display: inline-flex; }
.vis-form > label.check { display: inline-flex; }
.vis-form .check { white-space: nowrap; }

/* the Show staff tools button sits under Sign out, in the top bar of every signed-in page */
.who-col { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.who-menu .staff-menu-list { left: auto; right: 0; }
.staff-menu-pick { padding: .25rem .6rem .5rem; border-bottom: 1px solid var(--line); margin-bottom: .35rem; }
.staff-menu-pick label { display: grid; gap: .2rem; }
.staff-menu-pick select { width: 100%; font: inherit; padding: .4rem .5rem; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; }
.who-col { margin-left: auto; }
.who-menu .staff-menu-list { max-height: 75vh; overflow-y: auto; }
@media (max-width: 600px) {
  .who-menu .staff-menu-list { position: fixed; left: .75rem; right: .75rem; top: auto; min-width: 0; max-width: none; }
}

/* Locate on the visitor pages */
.att-locate { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .3rem .7rem; font: inherit; font-weight: 700; color: var(--teal); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.att-fishrow .att-locate { position: absolute; right: .35rem; bottom: .35rem; z-index: 2; }
.att-fishrow:has(.att-locate) .att-fish { padding-bottom: 3.4rem; }
.att-locate-sheet .att-fish-title { margin: .2rem 0; }
.att-locate-scroll { overflow: auto; max-height: 70vh; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.att-locate-scroll .tankmap-wrap { overflow: visible; padding: 0; }
.att-locate-scroll .tankmap { min-width: 0; border: 0; border-radius: 0; }
.att-locate-line { margin: .5rem 0; }
.att-favmap { margin: .4rem 0 .6rem; }
