@font-face { font-family: "Oswald"; src: url("/font/oswald.ttf") format("truetype"); font-weight: 200 700; font-display: swap; }
:root {
  --navy: #0f2a44; --navy-2: #163a5c; --navy-3: #1d4a73; --sea: #1f6fa8; --foam: #e9f4f8; --brass: #c9973f;
  --bronze: #a86b32; --red: #d6453d; --yellow: #f2c84b; --kelp: #4f8a5b; --slate: #5b6b7a; --hull: #8a99a6;
  --ink: #13212e; --paper: #f6f1e4; --line: rgba(233, 244, 248, .14); --muted: #a9bccb;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
html { background: #0a1d30; }
body { background: radial-gradient(1200px 700px at 70% -10%, #1b4b78 0%, var(--navy) 55%, #0a1d30 100%) fixed;
  color: var(--foam); font: 15px/1.45 var(--body); }
button { font: inherit; color: inherit; }
h1, h2, h3, .word, .num { font-family: var(--display); letter-spacing: .02em; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px 18px;
  background: linear-gradient(180deg, rgba(10, 29, 48, .96), rgba(15, 42, 68, .9)); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px); }
.brand { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.brand .mark { color: var(--brass); font-size: 22px; }
a.brand { color: inherit; text-decoration: none; align-items: center; }
.brand .mark-img { display: block; width: 32px; height: 32px; }
.wz-bs { width: 100%; max-width: 440px; margin: 0 auto; border: 2px solid #13212e; border-radius: 12px; overflow: hidden; background: #e9f4f8; }
.brand .word { font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.brand .proto { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.hud { display: flex; gap: 8px; flex: 1; flex-wrap: nowrap; align-items: center; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.hud::-webkit-scrollbar { display: none; }   /* one row always: the chart below is sized to what is left */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: rgba(233, 244, 248, .08); border: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.chip b { font-family: var(--display); font-size: 16px; font-weight: 600; }
.chip img { height: 16px; border-radius: 2px; }
.chip.country b { color: var(--yellow); }
.who { font-size: 13px; color: var(--muted); white-space: nowrap; }
.who button { margin-left: 8px; }

.btn { cursor: pointer; border: 1px solid var(--line); background: rgba(233, 244, 248, .08); border-radius: 10px;
  padding: 8px 14px; transition: background .15s, transform .05s; }
.btn:hover { background: rgba(233, 244, 248, .16); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, #e0ad4f, var(--brass)); color: var(--ink); border-color: #e7c27a;
  font-weight: 700; }
.btn.danger { border-color: rgba(214, 69, 61, .6); color: #ffb4ae; }
.btn.small { padding: 4px 9px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.cost { font-size: 11px; color: var(--muted); margin-left: 6px; }

/* gate */
.gate { display: grid; place-items: center; min-height: calc(100vh - 60px); padding: 24px 16px;
  background: url("/art/chart/north-atlantic-land.png") center/cover no-repeat; }
.gate-card { max-width: 560px; background: rgba(10, 29, 48, .88); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.gate-card h1 { margin: 0 0 12px; font-size: 38px; line-height: 1.1; }
.gate-card .fine { font-size: 12px; color: var(--muted); margin-top: 18px; }

/* elect */
.elect { padding: 22px 18px 40px; max-width: 1200px; margin: 0 auto; }
.elect-head h2 { font-size: 30px; margin: 0; }
.elect-head p { color: var(--muted); margin: 6px 0 18px; }
.elect-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.seatcard { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer;
  background: linear-gradient(180deg, rgba(31, 111, 168, .22), rgba(15, 42, 68, .6)); text-align: left; }
.seatcard:hover:not([disabled]) { border-color: var(--brass); }
.seatcard .flag { height: 38px; max-width: 70px; border-radius: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.pennant { display: inline-grid; place-items: center; width: 56px; height: 38px; background: var(--slate);
  color: var(--foam); font: 600 15px var(--display); clip-path: polygon(0 0, 100% 50%, 0 100%); padding-right: 14px; }
.seatcard h3 { margin: 10px 0 2px; font-size: 19px; }
.seatcard small { color: var(--muted); }
.seatcard .tag { position: absolute; top: 12px; right: 12px; font-size: 11px; text-transform: uppercase;
  letter-spacing: .1em; padding: 2px 8px; border-radius: 999px; background: rgba(233, 244, 248, .1); }
.seatcard[disabled] { opacity: .5; cursor: not-allowed; }

/* game layout */
.game { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 14px; padding: 14px; align-items: start; }
.chart-wrap { position: relative; min-width: 0; }
.stagebar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 8px; }
.day { border-radius: 8px; padding: 6px 8px; background: rgba(233, 244, 248, .06); border: 1px solid var(--line);
  font-size: 12px; min-width: 0; }
.day.today { border-color: var(--brass); background: rgba(201, 151, 63, .16); }
.day.past { opacity: .6; }
.day .dn { font: 600 13px var(--display); letter-spacing: .06em; }
.day .st { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bells { display: flex; gap: 3px; margin-top: 4px; }
.bell { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--muted); }
.bell.sealed { background: var(--yellow); border-color: var(--yellow); }
.bell.fought { background: var(--brass); border-color: var(--brass); }
.chart { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35); background: #cfe3ea; }
.chart svg { display: block; width: 100%; height: 100%; }
.chart-btns { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.chart-btns .btn { background: rgba(10, 29, 48, .82); }
.chart-btns .btn.on { border-color: var(--brass); }
.zone { cursor: pointer; }
.zone circle.cell { r: 30; fill: rgba(31, 111, 168, .10); stroke: rgba(31, 111, 168, .55); stroke-width: 1.5;
  stroke-dasharray: 4 4; transition: fill .15s; }
.zone.home circle.cell { stroke: var(--brass); stroke-dasharray: none; stroke-width: 2; }
.zone.mine circle.cell { fill: rgba(201, 151, 63, .22); }
.zone.reach circle.cell { fill: rgba(242, 200, 75, .22); stroke: #b98a12; stroke-dasharray: none; }
.zone:hover circle.cell { fill: rgba(31, 111, 168, .25); }
.zone.sel circle.cell { stroke: var(--red); stroke-width: 3; stroke-dasharray: none; }
.zone text { font: 600 11px var(--display); fill: var(--navy); letter-spacing: .04em; pointer-events: none;
  paint-order: stroke; stroke: rgba(233, 244, 248, .85); stroke-width: 3px; }
.lane { stroke: var(--navy-3); stroke-width: 1.6; stroke-dasharray: 6 6; opacity: .45; }
.lane.reach { stroke: #b98a12; opacity: .9; stroke-width: 2.4; }
.storm-cloud { fill: rgba(70, 84, 99, .55); }
.evt { pointer-events: none; }
.tokens, .tokens image { pointer-events: none; }  /* markers never swallow a click on their zone */
.tokens image { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .35)); }
.zonecard { position: absolute; left: 12px; bottom: 12px; width: min(380px, calc(100% - 24px));
  background: rgba(10, 29, 48, .95); border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.zonecard h3 { margin: 0 0 4px; font-size: 20px; }
.zonecard .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.zonecard .x { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 20px; cursor: pointer; }

/* side */
.side { min-width: 0; display: flex; flex-direction: column; background: rgba(10, 29, 48, .72);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; max-height: calc(100vh - 88px);
  position: sticky; top: 74px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; background: none; border: 0; padding: 12px 6px; cursor: pointer; color: var(--muted);
  font: 600 14px var(--display); letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--foam); border-bottom-color: var(--brass); }
.panel { padding: 14px; overflow: auto; }
.panel h3 { margin: 4px 0 10px; font-size: 18px; letter-spacing: .05em; }
.note { color: var(--muted); font-size: 13px; }
.ship { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(31, 111, 168, .16), rgba(15, 42, 68, .3)); }
.ship.disabled { opacity: .65; }
.ship-top { display: flex; align-items: center; gap: 10px; }
.ship-top img { width: 132px; height: auto; }
.ship-top h4 { margin: 0; font: 600 17px var(--display); letter-spacing: .04em; }
.meta { font-size: 12px; color: var(--muted); }
.bar { height: 7px; border-radius: 4px; background: rgba(233, 244, 248, .12); overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--kelp), #7fbf7a); }
.bar.mood i { background: linear-gradient(90deg, var(--red), var(--yellow), #7fbf7a); }
.stats { display: flex; gap: 10px; font-size: 12px; margin-top: 6px; color: var(--muted); }
.stats b { color: var(--foam); font-family: var(--display); font-size: 14px; }
.crew { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 10px; }
.post { text-align: center; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.post .face { height: 64px; border-radius: 10px; background: rgba(233, 244, 248, .06); border: 1px dashed var(--line);
  display: grid; place-items: center; overflow: hidden; cursor: pointer; margin-bottom: 3px; }
.post .face img { height: 100%; width: 100%; object-fit: contain; }
.post .face.suited { border: 1px solid var(--brass); box-shadow: inset 0 0 0 1px rgba(201, 151, 63, .4); }
.post .face span { font-size: 18px; opacity: .5; }
.mood-word { font: 600 12px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.mood-word.happy { color: #8fd38a; } .mood-word.steady { color: var(--yellow); }
.mood-word.moody { color: #ffb070; } .mood-word.grumbling { color: #ff8a80; }
.list { display: flex; flex-direction: column; gap: 8px; }
.item { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: rgba(233, 244, 248, .04); }
.item .h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.item .h b { font-family: var(--display); font-size: 15px; letter-spacing: .03em; }
.badge { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px;
  background: rgba(233, 244, 248, .1); white-space: nowrap; }
.badge.win { background: rgba(79, 138, 91, .4); } .badge.loss { background: rgba(214, 69, 61, .35); }
.badge.sealed { background: rgba(242, 200, 75, .25); }
.formations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 14px; }
.formations button { border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; background: rgba(233, 244, 248, .05);
  cursor: pointer; text-align: center; }
.formations button.on { border-color: var(--brass); background: rgba(201, 151, 63, .2); }
.formations svg { width: 64px; height: 34px; display: block; margin: 0 auto 4px; }
.formations small { display: block; color: var(--muted); font-size: 11px; }
table.board { width: 100%; border-collapse: collapse; font-size: 14px; }
table.board td, table.board th { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: left; }
table.board th { font: 600 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
table.board tr.me td { background: rgba(201, 151, 63, .16); }
table.board img { height: 14px; border-radius: 2px; vertical-align: -2px; margin-right: 6px; }
.ev { display: flex; gap: 10px; align-items: flex-start; }
.ev .ic { width: 30px; height: 30px; flex: none; }
.chip.sound { cursor: pointer; font: inherit; color: inherit; }
.chip.sound[aria-pressed="false"] { opacity: .6; }

/* toast + modal */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 50; max-width: 92vw;
  background: #0b2034; border: 1px solid var(--brass); color: var(--foam); padding: 10px 16px; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.toast.bad { border-color: var(--red); }
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(5, 14, 24, .72); display: grid; place-items: center;
  padding: 16px; }
.modal-card { width: min(760px, 100%); max-height: 90vh; overflow: auto; background: linear-gradient(180deg, #123554, #0c2338);
  border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.modal-card h2 { margin: 0 0 4px; font-size: 28px; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 16px 0; }
.vs .side-a, .vs .side-b { text-align: center; }
.vs img.flagbig { height: 46px; border-radius: 3px; }
.vs .v { font: 700 30px var(--display); color: var(--brass); }
.round { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 10px; align-items: center; padding: 10px 0;
  border-top: 1px solid var(--line); opacity: 0; transform: translateY(6px); transition: all .45s; }
.round.show { opacity: 1; transform: none; }
.round .rn { font: 600 15px var(--display); text-transform: uppercase; letter-spacing: .06em; }
.meter { height: 12px; border-radius: 6px; background: rgba(233, 244, 248, .1); overflow: hidden; position: relative; }
.meter i { position: absolute; top: 0; bottom: 0; left: 0; background: linear-gradient(90deg, var(--sea), #5fb0e6); }
.meter.w i { background: linear-gradient(90deg, var(--brass), var(--yellow)); }
.seal { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; color: var(--muted);
  background: rgba(0, 0, 0, .25); border-radius: 8px; padding: 8px 10px; margin-top: 8px; }
.ok { color: #8fd38a; } .no { color: #ff8a80; }
.finale { text-align: center; }
.finale .awards { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 16px 0; }
.finale .awards figure { margin: 0; width: 160px; }
.finale .awards img { width: 100%; height: 120px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); }
.finale figcaption { font: 600 13px var(--display); letter-spacing: .05em; margin-top: 6px; }

/* phone */
@media (max-width: 900px) {
  .top { flex-wrap: wrap; gap: 8px; padding: 8px 16px; }
  .brand .proto { display: none; }
  .hud { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .game { grid-template-columns: 1fr; padding: 10px 16px; }
  .side { position: static; max-height: none; }
  .stagebar { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .day { padding: 4px; } .day .st { display: none; }
  .crew { grid-template-columns: repeat(3, 1fr); }
  .ship-top img { width: 100px; }
  .zonecard { position: relative; left: auto; bottom: auto; width: auto; margin-top: 10px; }   /* below the chart, never over it */
  .gate-card { padding: 22px; } .gate-card h1 { font-size: 28px; }
  .elect { padding: 16px; }
  .elect-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zone text { font-size: 15px; }
  .round { grid-template-columns: 84px 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .round { transition: none; } }

/* the crew picker: compact (his note, 18 Nov: "these are too big") */
.modal-card.compact { width: min(460px, 100%); padding: 16px 18px; }
.modal-card.compact h2 { font-size: 20px; margin: 0; }
.pick-head .note { margin: 2px 0 10px; }
.pick { display: flex; flex-direction: column; gap: 6px; }
.pick-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(233, 244, 248, .04); }
.pick-row.suits { border-color: rgba(201, 151, 63, .6); }
.pick-row img.mb { width: 40px; height: 52px; object-fit: contain; }
.pick-txt { min-width: 0; line-height: 1.25; }
.pick-txt b { font: 600 14px var(--display); letter-spacing: .03em; display: block; }
.pick-txt span { font-size: 12px; color: var(--muted); }
.pick-foot { font-size: 11px; margin-top: 8px; }

/* ---- the port (patch 224) ---- */
.purse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.purse div { border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; background: rgba(233, 244, 248, .05); }
.purse b { display: block; font: 600 22px var(--display); color: var(--yellow); }
.purse span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.city { border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin: 10px 0; background: rgba(31, 111, 168, .12); }
.city-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.city-head img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid var(--paper); }
.city-head h3 { margin: 0; }
.city-head .ar { font-family: system-ui, sans-serif; font-weight: 600; color: var(--brass); margin-left: 6px; }
details.quest { border-top: 1px solid var(--line); padding: 6px 0; }
details.quest summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
details.quest summary::-webkit-details-marker { display: none; }
.qstep { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: start; padding: 6px 0; font-size: 13px; }
.qstep img { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; }
.qstep.done { opacity: .75; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.swatches { display: flex; gap: 6px; margin: 6px 0; flex-wrap: wrap; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.sw.on { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--navy); }
.sw[disabled] { opacity: .4; cursor: not-allowed; }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.shelf figure { margin: 0; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.shelf img { width: 100%; height: 64px; object-fit: contain; }
.shelf figcaption { font: 600 11px var(--display); letter-spacing: .03em; }
.shelf small { font-size: 10px; color: var(--muted); }
.postcard { text-align: center; }
.postcard img { width: 100%; border-radius: 8px; border: 6px solid var(--paper); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); transform: rotate(-2deg); }

/* ---- how to play ---- */
.wiz-art { height: 170px; display: grid; place-items: center; background: rgba(233, 244, 248, .06); border-radius: 12px; margin-bottom: 10px; }
.wiz-art img { max-height: 160px; max-width: 100%; object-fit: contain; }
.wiz-n { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.wiz h2 { margin: 2px 0 6px; }
.wiz-dots { display: flex; gap: 5px; justify-content: center; margin: 10px 0; }
.wiz-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.wiz-dots span.on { background: var(--brass); }

/* ---- fun: ships in their paint ---- */
.shipwrap { position: relative; flex: none; }
.shipart { display: inline-block; line-height: 0; }
.shipart svg { display: block; }
.pennant-flag { position: absolute; top: -4px; left: 46%; font-size: 14px; color: var(--yellow); }
.wake { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
.tokens image { animation: bob 3.2s ease-in-out infinite; transform-box: fill-box; }
.tokens image:nth-child(2n) { animation-delay: -1.1s; }

/* ---- fun: the battle at sea ---- */
.battlestrip { position: relative; height: 150px; border-radius: 12px; overflow: hidden; margin: 10px 0 4px;
  background: linear-gradient(#bfe1f2 0 55%, #1f6fa8 55% 100%); }
.bs-side { position: absolute; bottom: 30px; display: flex; gap: 2px; }
.bs-side.a { left: 10px; } .bs-side.b { right: 10px; flex-direction: row-reverse; }
.bs-side { gap: 10px; }
.chip.icon { width: 34px; justify-content: center; padding: 5px 0; font-weight: 700; }
.bs-ship { animation: bob 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.5s); }
.bs-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 36px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 18px, transparent 18px 40px); opacity: .5; }
.battlestrip i { position: absolute; opacity: 0; border-radius: 50%; animation-duration: .7s; animation-fill-mode: backwards; }
.flash { width: 26px; height: 26px; bottom: 58px; background: radial-gradient(#fff6c2, #f2c84b 45%, transparent 70%); animation-name: flash; }
.flash.a { left: 30%; } .flash.b { right: 30%; }
.smoke { width: 46px; height: 46px; bottom: 54px; background: radial-gradient(rgba(240, 240, 240, .9), transparent 70%); animation-name: smoke; animation-duration: 1.4s; }
.smoke.a { left: 28%; } .smoke.b { right: 28%; }
.splash { width: 18px; height: 34px; bottom: 26px; border-radius: 40% 40% 10% 10%; background: linear-gradient(#ffffff, #9fd2ef); animation-name: splash; }
.splash.a { left: 18%; } .splash.b { right: 18%; } .splash.s2.a { left: 26%; } .splash.s2.b { right: 26%; }
@keyframes flash { 0% { opacity: 0; transform: scale(.4); } 20% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0; transform: scale(.8); } }
@keyframes smoke { 0% { opacity: 0; transform: scale(.5); } 25% { opacity: .9; } 100% { opacity: 0; transform: translateY(-30px) scale(1.6); } }
@keyframes splash { 0% { opacity: 0; transform: scaleY(.2); transform-origin: bottom; } 30% { opacity: 1; transform: scaleY(1.1); } 100% { opacity: 0; transform: scaleY(.3); } }
.battlestrip.calm i, .battlestrip.calm .bs-ship { animation: none; }

/* ---- fun: The Morning Tide ---- */
.tide-card { background: #f6f1e4 !important; color: #1a1a1a; }
.tide-card .note { color: #555; }
.tide-mast { border-bottom: 3px double #1a1a1a; margin-bottom: 8px; text-align: center; }
.tide-mast span { font: 700 26px var(--display); letter-spacing: .14em; display: block; }
.tide-mast small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tide h2 { font: 700 20px Georgia, serif; margin: 6px 0; color: #1a1a1a; }
.tide-cols { columns: 2 180px; column-gap: 18px; font: 13px/1.45 Georgia, serif; }
.tide-cols p { margin: 0 0 8px; break-inside: avoid; }
.tide-today { display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid #1a1a1a; padding-top: 6px; font-size: 12px; }
.tide-today span { display: inline-flex; gap: 4px; align-items: center; }
.tide-today img { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .tokens image, .bs-ship { animation: none; } }

/* ---- the wider sea (patch 226) ---- */
.sea-layer .age { font: 600 9px var(--display); fill: var(--navy); paint-order: stroke; stroke: #e9f4f8; stroke-width: 2px; }
.sea-layer .sight.bar image { opacity: .8; }
.sea-layer .qp { font-size: 12px; fill: var(--red); }
.hosts { display: flex; gap: 10px; justify-content: center; margin-bottom: 8px; }
.hosts figure { margin: 0; text-align: center; width: 110px; }
.hosts img { height: 120px; width: 100%; object-fit: contain; }
.hosts figcaption { font: 600 12px var(--display); }
.trek .pages { display: flex; gap: 6px; margin-top: 6px; }
.trek .pg { width: 30px; height: 36px; border-radius: 4px; border: 1px solid var(--brass); background: #efe2c4; color: #13212e; cursor: pointer; font-family: var(--display); }
.cluepage { text-align: center; }
.cluepage img { width: 100%; border-radius: 8px; }
.cluepage .met { display: flex; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--brass); border-radius: 12px; padding: 10px; margin: 10px 0; background: rgba(201, 151, 63, .12); }
.cluepage .met img { width: 70px; height: auto; }
.bar-door { width: 100%; margin-bottom: 10px; }
.bar-scene { position: relative; height: 300px; background-size: cover; background-position: center; border-radius: 12px; overflow: hidden; }
.bar-scene .tv { position: absolute; left: 33%; top: 9%; width: 34%; height: 40%; background: #0b1a2a; border: 4px solid #222; border-radius: 6px; overflow: hidden; color: #fff; }
.tv-bug { position: absolute; top: 6px; right: 8px; font: 600 10px var(--display); letter-spacing: .08em; background: var(--red); padding: 1px 6px; border-radius: 3px; }
.tv-lower { position: absolute; left: 0; right: 0; bottom: 22px; background: linear-gradient(90deg, var(--brass), rgba(201, 151, 63, .2)); color: #13212e; font-size: 11px; padding: 2px 8px; }
.tv-ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 20px; background: #000; font-size: 11px; white-space: nowrap; overflow: hidden; }
.tv-ticker span { display: inline-block; padding-left: 100%; animation: ticker 22s linear infinite; line-height: 20px; }
@keyframes ticker { to { transform: translateX(-100%); } }
.bar-host { position: absolute; right: 4%; bottom: 0; height: 70%; object-fit: contain; }
.rumour .choices { margin-top: 4px; }
.words { font-size: 12px; margin: 6px 0; }
.phrases { display: flex; flex-wrap: wrap; gap: 6px; }
@media (prefers-reduced-motion: reduce) { .tv-ticker span { animation: none; padding-left: 8px; } }

/* ---- the shared header (the other apps' pattern: currency tokens, messages with a badge, the passport, the account) ---- */
.mg-row { display: inline-flex; gap: 6px; align-items: center; flex: none; }
.mg-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 4px; border-radius: 999px; background: rgba(233, 244, 248, .08); border: 1px solid var(--line); white-space: nowrap; }
.mg-chip img { width: 22px; height: 22px; object-fit: contain; }
.mg-chip b { font: 600 15px var(--display); }
.mg-chip small { font-size: 11px; color: var(--muted); }
.mg-tools { display: inline-flex; gap: 4px; align-items: center; flex: none; }
.mg-tool { position: relative; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: rgba(233, 244, 248, .06); cursor: pointer; display: grid; place-items: center; }
.mg-tool img { width: 22px; height: 22px; object-fit: contain; }
.mg-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font: 700 11px/18px var(--body); text-align: center; }
.acct { position: relative; }
.acct-menu { position: absolute; right: 0; top: 110%; z-index: 30; min-width: 200px; background: #0b2034; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.acct-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px; border-radius: 8px; cursor: pointer; }
.acct-menu button:hover { background: rgba(233, 244, 248, .08); }
.mail .item { cursor: pointer; }
.mail .item.is-new { border-color: var(--brass); }
.mail-body { margin-top: 6px; font-size: 13px; white-space: pre-wrap; }
.pp { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pp-page { border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #efe2c4; color: #13212e; }
.pp-stamps { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pp-stamp { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--red); border-radius: 50%; color: var(--red); font-size: 12px; transform: rotate(-12deg); }
@media (max-width: 900px) { .mg-tools { order: 2; } .mg-chip small { display: none; } }

/* ---- captions (every voiced line), the mixer ---- */
.caption { position: fixed; left: 50%; bottom: 70px; transform: translateX(-50%); z-index: 60; display: flex; gap: 10px; align-items: center;
  max-width: min(640px, 94vw); background: linear-gradient(90deg, rgba(10, 29, 48, .96), rgba(15, 42, 68, .92)); border-left: 4px solid var(--brass);
  border-radius: 10px; padding: 8px 14px 8px 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.caption img { height: 56px; width: 44px; object-fit: contain; }
.caption b { display: block; font: 600 13px var(--display); letter-spacing: .05em; color: var(--yellow); }
.caption span { font-size: 14px; }
.mix { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: center; margin: 8px 0; }
.mix input { width: 100%; accent-color: var(--brass); }

/* ---- the guided tour, in the HVC broadcast look ---- */
.tut-ui { position: fixed; inset: 0; pointer-events: none; z-index: 70; }
.tut-bug { position: absolute; top: 64px; right: 16px; background: var(--red); color: #fff; font: 700 12px var(--display); letter-spacing: .1em; padding: 3px 10px; border-radius: 4px; }
.tut-lower { pointer-events: auto; position: absolute; left: 16px; bottom: 16px; display: flex; gap: 12px; align-items: flex-end; max-width: min(560px, calc(100vw - 32px));
  background: linear-gradient(90deg, rgba(10, 29, 48, .97), rgba(15, 42, 68, .95)); border-left: 5px solid var(--brass); border-radius: 12px; padding: 10px 14px 10px 10px; box-shadow: 0 16px 50px rgba(0, 0, 0, .55); }
.tut-lower img { height: 110px; width: 84px; object-fit: contain; flex: none; }
.tut-lower small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tut-lower b { font: 700 18px var(--display); letter-spacing: .04em; color: var(--yellow); }
.tut-lower p { margin: 4px 0 8px; }
.tut-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.tut-spot { position: fixed; z-index: 65; pointer-events: none; border: 3px solid var(--yellow); border-radius: 12px; box-shadow: 0 0 0 9999px rgba(5, 14, 24, .45), 0 0 18px var(--yellow);
  transition: all .25s; }
.tut-sting { position: fixed; inset: 0; z-index: 80; display: grid; place-content: center; text-align: center; pointer-events: none;
  background: radial-gradient(circle, rgba(15, 42, 68, .92), rgba(5, 14, 24, .96)); animation: stingin 1.9s ease both; }
.tut-sting span { font: 700 14px var(--display); letter-spacing: .2em; color: var(--red); }
.tut-sting b { font: 700 44px var(--display); letter-spacing: .06em; color: var(--foam); }
@keyframes stingin { 0% { opacity: 0; transform: scale(1.04); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.tut-offer { display: flex; gap: 14px; align-items: center; }
.tut-offer img { height: 150px; width: 110px; object-fit: contain; }
@media (max-width: 900px) {
  .tut-lower img { height: 72px; width: 56px; }
  .tut-lower { bottom: 8px; left: 8px; right: 8px; max-width: none; }
  .tut-bug { top: 8px; right: 8px; }
  .tut-sting b { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .tut-sting { animation: none; opacity: 0; } .tut-spot { transition: none; } }
.tut-ui.tut-top .tut-lower { bottom: auto; top: 110px; }
@media (max-width: 900px) { .tut-ui.tut-top .tut-lower { top: 60px; } }
.wiz-art { position: relative; }
.wiz-art .wiz-host { position: absolute; right: 6px; bottom: 0; height: 150px; max-width: 120px; object-fit: contain; }

/* HVC Navy Desk: the bar TV's button and lines, the Morning Tide row, the after-bell clip */
.tv .tv-btn { position: absolute; right: 8px; top: 8px; font-size: 12px; padding: 4px 10px; background: #c8102e; color: #fff; border: 0; }
.tv .tv-btn.on { background: #13212e; }
.tv .tv-line { position: absolute; left: 8px; right: 8px; bottom: 34px; background: rgba(10, 20, 30, .82); color: #fff; font-size: 13px; line-height: 1.3; padding: 6px 8px; border-left: 4px solid #c8102e; }
.hvc-bug { display: inline-block; background: #c8102e; color: #fff; font: 600 11px/1 Oswald, sans-serif; letter-spacing: .06em; padding: 4px 6px; text-transform: uppercase; }
.tide-hvc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 4px; padding-top: 8px; border-top: 1px solid rgba(19, 33, 46, .2); }
.tide-hvc .hvc-line { flex: 1 1 100%; font-style: italic; }
.hvc-clip { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(360px, calc(100vw - 32px)); background: #13212e; color: #fff; border-left: 5px solid #c8102e; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); padding: 10px 34px 10px 12px; }
.hvc-clip .hvc-body { margin: 6px 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.hvc-clip .hvc-line { color: #e9f4f8; }
.hvc-clip .hvc-x { position: absolute; right: 6px; top: 4px; background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; }
.hvc-clip .btn { background: #fff; color: #13212e; }

/* the bar's Navy Desk row (replaces the in-TV button: at phone width the TV is too small for words) */
.bar-hvc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 2px; }
.bar-hvc .hvc-line { flex: 1 1 100%; background: rgba(10, 20, 30, .6); border-left: 4px solid #c8102e; padding: 6px 8px; font-size: 14px; }
.bar-scene.on-air .tv-bug { animation: onair 1.2s ease-in-out infinite; }
@keyframes onair { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .bar-scene.on-air .tv-bug { animation: none; } }

/* daily gifts and the ambassador's post (gaps.js) */
.ladder { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; list-style: none; padding: 0; margin: 10px 0; }
.ladder li { background: rgba(233, 244, 248, .08); border: 1px solid rgba(233, 244, 248, .2); border-radius: 8px; padding: 6px 4px; text-align: center; font-size: 12px; display: flex; flex-direction: column; gap: 2px; }
.ladder li.today { border-color: var(--brass); box-shadow: 0 0 0 2px rgba(201, 151, 63, .4); }
.ladder li.past { opacity: .55; }
.ladder.proposed li b { font-weight: 500; font-style: italic; }
@media (max-width: 560px) { .ladder { grid-template-columns: repeat(4, 1fr); } }

/* the after-bell clip sits bottom-right, clear of the zone card (bottom-left of the chart) */
.hvc-clip { left: auto; right: 16px; }

/* the after-bell clip waits under an open window (a battle, the paper) instead of covering its buttons */
.hvc-clip { z-index: 35; }

/* signing in (login.js): the studio's one sign-in panel (signin.css), and the emailed link's page */
body.page-signin #gate, body.page-signin #elect, body.page-signin #game { display: none !important; }
.login .sip-hero { min-height: calc(100vh - 70px); }
.keyland .mini { max-width: 560px; width: calc(100% - 32px); margin: 34px auto; background: #123554; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.keyland .kicker { font: 600 14px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin: 0 0 6px; }
.keyland h1 { margin: 0 0 10px; }
.keyland label { display: block; margin: 12px 0 4px; }
.keyland input { width: 100%; font: inherit; padding: 11px 12px; border-radius: 8px; border: 2px solid var(--line); }
.keyland .signin-msg { margin-top: 14px; background: #fff7d6; color: #13212e; border-radius: 8px; padding: 10px 12px; }
/* the sign-in pages show nothing of the game behind them (no tour offer, no Morning Tide) */
body.page-signin #modal, body.page-signin #hvc-clip, body.page-signin .caption { display: none !important; }
/* as The Last Combat: at phone width the chart sits above the panel, not under it */
@media (max-width:700px){ .login .sip-hero .sip-wrap { padding-top: 196px; } }

/* The Last Combat's band under the sign-in panel: "New here?" and "What is Gravitrek?" */
.login-band { max-width: 760px; margin: 0 auto; padding: 22px 16px 40px; line-height: 1.55; }
.login-band p { margin: 0 0 10px; }
@media (max-width:700px){ .login .sip-hero { min-height: 0; } }

/* the wizard in moving parts (wizard.js, 18 Nov 2026): each step a small scene that builds itself */
.wz .wz-stage { height: 230px; overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.wz .wz-stage img { max-width: none; max-height: none; }
.wz-row { display: flex; gap: 6px; justify-content: center; align-items: flex-end; width: 100%; }
.wz-row figure { margin: 0; text-align: center; flex: 1 1 0; min-width: 0; }
.wz-row img { width: 100%; max-width: 92px; height: auto; display: block; margin: 0 auto; }
.wz-row figcaption, .wz-grid figcaption, .wz-cycle figcaption { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-pop, .wz-drop, .wz-rise, .wz-sail, .wz-day { opacity: 0; animation-duration: .6s; animation-fill-mode: forwards; animation-timing-function: cubic-bezier(.2, .8, .3, 1.2); }
.wz-pop { animation-name: wzPop; }
.wz-drop { animation-name: wzDrop; }
.wz-rise { animation-name: wzRise; }
.wz-day { animation-name: wzPop; }
@keyframes wzPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes wzDrop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes wzRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.wz-cycle { position: relative; width: 150px; height: 220px; }
.wz-cycle figure { position: absolute; inset: 0; margin: 0; text-align: center; opacity: 0; transform: translateX(24px); transition: opacity .5s, transform .5s; }
.wz-cycle figure.on { opacity: 1; transform: none; }
.wz-cycle img { height: 196px; width: auto; display: block; margin: 0 auto; }
.wz-ladder { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; width: 100%; align-items: end; }
.wz-rise { text-align: center; font-size: 10px; color: var(--muted); }
.wz-rise img { width: 40px; height: 40px; object-fit: contain; display: block; margin: 0 auto 2px; }
.wz-sea { position: relative; width: 100%; height: 120px; overflow: hidden; background: linear-gradient(180deg, transparent 60%, rgba(31, 111, 168, .35) 60%); border-radius: 10px; }
.wz-sail { position: absolute; bottom: 30px; height: 46px; width: auto; animation-name: wzSail; animation-duration: 3.2s; animation-timing-function: ease-out; }
.wz-sail:nth-child(1) { left: 2%; } .wz-sail:nth-child(2) { left: 22%; } .wz-sail:nth-child(3) { left: 40%; } .wz-sail:nth-child(4) { left: 58%; } .wz-sail:nth-child(5) { left: 76%; }
@keyframes wzSail { from { opacity: 0; transform: translateX(-120px); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
.wz-ring { display: flex; gap: 14px; font: 600 13px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.wz-ring span { animation: wzBeat 2.4s infinite; }
.wz-ring span:nth-child(2) { animation-delay: .8s; } .wz-ring span:nth-child(3) { animation-delay: 1.6s; }
@keyframes wzBeat { 0%, 60%, 100% { opacity: .45; } 20% { opacity: 1; transform: scale(1.15); } }
.wz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
.wz-grid figure { margin: 0; text-align: center; }
.wz-grid img { width: 48px; height: 48px; }
.wz-meet { display: flex; align-items: flex-end; justify-content: center; gap: 4px; width: 100%; }
.wz-meet img { height: 190px; width: auto; }
.wz-from-l { animation: wzFromL 1.4s ease-out both; } .wz-from-r { animation: wzFromR 1.4s ease-out both; }
@keyframes wzFromL { from { transform: translateX(-90px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wzFromR { from { transform: translateX(90px); opacity: 0; } to { transform: none; opacity: 1; } }
.wz-scroll { align-self: center; padding: 8px 12px; background: #f4efe3; color: #13212e; border-radius: 6px; font: 600 13px var(--display); opacity: 0; animation: wzPop .6s 1.3s forwards; }
.wz-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; width: 100%; }
.wz-day { text-align: center; padding: 10px 2px; border-radius: 10px; background: rgba(233, 244, 248, .07); border: 1px solid rgba(233, 244, 248, .15); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.wz-day.peak { background: rgba(214, 69, 61, .25); border-color: #d6453d; }
.wz-day.results { background: rgba(201, 151, 63, .3); border-color: var(--brass); }
.wiz-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; }
.wiz-dots button.on { background: var(--brass); }
@media (max-width: 480px) { .wz .wz-stage { height: 210px; } .wz-meet img { height: 150px; } .wz-cycle { height: 200px; } .wz-cycle img { height: 176px; } .wz-ladder { grid-template-columns: repeat(6, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .wz-pop, .wz-drop, .wz-rise, .wz-sail, .wz-day, .wz-scroll, .wz-from-l, .wz-from-r { animation: none; opacity: 1; transform: none; }
  .wz-cycle figure { transition: none; } .wz-ring span { animation: none; opacity: 1; }
}
@media (max-width: 480px) { .wz-ladder { grid-template-columns: repeat(4, 1fr); gap: 4px; } .wz-rise img { width: 30px; height: 30px; } }

/* the grand map (week244.js): fleets per zone; squadrons when closer; flags when closest; drag and zoom */
#chart svg { touch-action: none; }
.fleets .fleet circle { fill: rgba(19, 33, 46, .82); stroke: #c9973f; stroke-width: 2; }
.fleets .fleet.mine circle { stroke: #f2c84b; stroke-width: 3.5; }
.fleets .fleet .n { fill: #fff; font: 700 12px var(--display); }
.fleets .sq, .fleets .cty { display: none; }
svg.g-near .fleets .sq { display: inline; }
svg.g-close .fleets .cty { display: inline; }
.fleets .sq rect { fill: rgba(233, 244, 248, .92); stroke: #13212e; stroke-width: .6; }
.fleets .sq.me rect { fill: #f2c84b; }
.fleets .sq text { font: 600 7.5px var(--display); fill: #13212e; }
.inv-link { width: min(100%, 360px); font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); }
.sqb { font-size: 10px; }

/* which Play this page is on (studio.js): live is plain; studio play is striped and says so on every screen */
.playbar { position: sticky; top: 0; z-index: 25; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 6px 16px; font-size: 13px; font-weight: 700; }
.playbar.live { background: #13212e; color: #e9f4f8; border-bottom: 1px solid var(--line); font-weight: 600; }
.playbar.studio { background: repeating-linear-gradient(135deg, #f2c14e 0 14px, #e8b43a 14px 28px); color: #2a1d00; }
.playbar button { border: 2px solid currentColor; background: transparent; color: inherit; border-radius: 999px; padding: 3px 12px; font: inherit; cursor: pointer; }
.playbar.studio button { background: #fffaf0; }

/* the explainer film (explainer.js): a 16:9 frame, a big Play, a chip per part, Replay and Skip */
.expl { display: flex; flex-direction: column; gap: 8px; }
.expl-frame { position: relative; aspect-ratio: 16 / 9; background: #0b1a2a; border-radius: 14px; overflow: hidden; }
.expl-video { width: 100%; height: 100%; display: block; object-fit: contain; background: #0b1a2a; }
.expl-video::cue { font-size: 1rem; background: rgba(8, 22, 36, .8); }
.expl-big { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: rgba(201, 151, 63, .92); color: #13212e; font-size: 34px; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.expl-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.expl-parts { display: flex; gap: 5px; flex-wrap: wrap; }
.expl-parts button, .expl-parts .dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 12px; display: inline-grid; place-items: center; }
.expl-parts button { cursor: pointer; }
.expl-parts button.on { background: var(--brass); color: #13212e; border-color: var(--brass); }
.expl-btns { display: flex; gap: 6px; }
.expl-landing { margin: 14px 0; }
.expl-wiz { min-width: min(820px, 92vw); }
@media (max-width: 480px) { .expl-video::cue { font-size: .72rem; } }
.expl-end { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); }
#acct-menu .menu-link { display: block; padding: 8px 10px; color: inherit; text-decoration: none; border-radius: 8px; }
#acct-menu .menu-link:hover { background: rgba(233, 244, 248, .08); }
.group-h { break-after: avoid; }

/* the player's guide link is an <a>: it takes the button's colours, not the browser's link blue */
.expl-btns a.btn { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }
a.btn.primary.expl-end { color: var(--ink); text-decoration: none; }
