/* Layout: one long port-town page. Night sea and ship's timber for the dark bands, an old sea
   chart for the light one; Disney's brass frame on what deserves framing; rope between headings. */
:root {
  --night: #0c161d;        /* the sea after dark, the page's ground */
  --hull: #17110b;         /* tarred timber */
  --gold: #fad880;         /* the game's GOLD */
  --cream: #fff3d6;        /* the game's CREAM */
  --dim: #d6c8aa;          /* the game's DIM */
  --brass: #b8924f;        /* brass rails and dates */
  --ink: #241709;          /* ink on the chart */
  --ink-soft: #5a4426;
  --ember: #e0603a;        /* the district lamp */
  --sea: #6fc3c9;          /* shallow water, for the open-district light */
  --body: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--night); color: var(--cream); font-family: var(--body); font-size: 17px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--hull); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-variant-numeric: tabular-nums; }

/* ---- stone buttons: toplevel_gui's generic_button, nine-sliced ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px 26px;
  border: 8px solid transparent; border-image: url(../img/btn.png) 18 fill / 9px stretch; background: none;
  text-decoration: none; cursor: pointer; filter: drop-shadow(0 3px 6px rgba(0,0,0,.55)); transition: transform .15s; }
.btn:hover { border-image-source: url(../img/btn_over.png); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn img { pointer-events: none; }
.btn.big { min-height: 62px; padding: 10px 40px; }
.btn.small { min-height: 42px; padding: 4px 18px; }
.btn.dark { filter: drop-shadow(0 3px 6px rgba(0,0,0,.55)) brightness(.72); }
.btn.dark:hover { filter: drop-shadow(0 3px 6px rgba(0,0,0,.55)) brightness(.9); }

/* ---- the brass frame: gui_main's general_frame, as a border image ---- */
.framed { border: 22px solid transparent; border-image: url(../img/frame.png) 50 / 22px round; }

/* ---- headings: Brioso, set by the game's own font sheets, between two lengths of rope ---- */
.heading { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 14px; }
.heading::before, .heading::after { content: ""; flex: 1 1 0; max-width: 170px; height: 12px;
  background: url(../img/rope.png) repeat-x center / auto 12px; }
.heading::before { -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.heading::after { -webkit-mask-image: linear-gradient(270deg, transparent, #000 60%); mask-image: linear-gradient(270deg, transparent, #000 60%); }
.heading img { flex: 0 1 auto; min-width: 0; }
.lede { max-width: 60ch; margin: 0 auto 40px; text-align: center; color: var(--dim); text-wrap: balance; }

.band { padding-block: 84px; position: relative; }
.band-wood { background: linear-gradient(rgba(14,9,5,.80), rgba(14,9,5,.88)), url(../img/wood.jpg) 0 0 / 320px; }
.band-night { background: radial-gradient(1200px 500px at 50% 0%, #15303a 0%, var(--night) 70%); }
.band + .band::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px; z-index: 2;
  background: url(../img/rope.png) repeat-x center / auto 12px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }

/* ---- nav ---- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: linear-gradient(rgba(16,10,6,.86), rgba(16,10,6,.94)), url(../img/wood.jpg) 0 0 / 256px;
  box-shadow: 0 6px 18px rgba(0,0,0,.55); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 10px;
  background: url(../img/rope.png) repeat-x center / auto 10px; }
.nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img:first-child { width: 44px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.links { display: flex; align-items: center; gap: 24px; margin: 0 auto 0 12px; padding: 0; list-style: none; }
.links a { display: block; padding: 6px 2px; opacity: .86; transition: opacity .15s, transform .15s; }
.links a:hover { opacity: 1; transform: translateY(-1px); }
.status-mini { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); white-space: nowrap; }
.lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 10px var(--sea); flex: none; }
@media (max-width: 1000px) { .status-mini { display: none; } }
@media (max-width: 820px) { .links { display: none; } .nav .wrap { justify-content: space-between; } }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; text-align: center; padding-block: 80px 104px;
  background: linear-gradient(180deg, rgba(8,12,16,.35) 0%, rgba(8,12,16,.45) 45%, var(--night) 100%),
              radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%),
              url(../img/hero.jpg) center 30% / cover; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(760px, 100%); filter: drop-shadow(0 8px 24px rgba(0,0,0,.7)); animation: rise .9s ease-out both; }
.hero-tag { margin-top: 18px; animation: rise .9s .15s ease-out both; }
.hero p { max-width: 54ch; margin: 18px auto 30px; font-size: 1.12rem; color: var(--cream);
  text-shadow: 0 2px 6px rgba(0,0,0,.9); text-wrap: balance; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@keyframes rise { from { opacity: .0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.district { margin-top: 34px; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px;
  padding: 10px 22px; background: rgba(10,8,6,.72); border: 1px solid rgba(184,146,79,.55); border-radius: 3px;
  font-size: 14.5px; color: var(--dim); box-shadow: 0 6px 20px rgba(0,0,0,.45); }
.district b { color: var(--cream); font-weight: normal; }
@media (max-width: 600px) { .district { flex-direction: column; gap: 4px; } .district .sep { display: none; } }
.district .sep { width: 1px; height: 16px; background: rgba(184,146,79,.5); }

/* ---- news ---- */
.news { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.feature { background: linear-gradient(rgba(12,8,5,.55), rgba(12,8,5,.75)), url(../img/wood.jpg) 0 0 / 256px; }
.feature .shot { position: relative; }
.feature .shot img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; }
.feature .body { padding: 22px 24px 24px; }
.feature .body img.t { width: 316px; margin: 6px 0 10px; }
.feature p { margin: 0 0 16px; }
.more { font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(250,216,128,.4); }
.more:hover { border-bottom-color: var(--gold); }
.stack { display: grid; gap: 22px; }
.item { display: grid; grid-template-columns: 168px 1fr; gap: 18px; align-items: start; padding-bottom: 22px;
  border-bottom: 1px solid rgba(184,146,79,.28); }
.item:last-child { border-bottom: 0; padding-bottom: 0; }
.item .thumb { border: 2px solid rgba(184,146,79,.7); box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.item .thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.item > div { min-width: 0; }
.item img.t { margin: 4px 0 6px; }
.item p { margin: 0 0 8px; font-size: 15.5px; color: var(--dim); }
.news-foot { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .item { grid-template-columns: 1fr; } }

/* ---- weapons ---- */
.armory { display: grid; grid-template-columns: 300px 1fr; gap: 0; max-width: 980px; margin: 0 auto;
  background: rgba(8,6,4,.55); border: 1px solid rgba(184,146,79,.4); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.rack { display: flex; flex-direction: column; padding: 10px 0; border-right: 1px solid rgba(184,146,79,.3); }
.rack button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 20px; background: none; border: 0;
  border-left: 3px solid transparent; cursor: pointer; text-align: left; transition: background .15s; }
.rack button img.ico { width: 44px; height: 44px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.7)); }
.rack button img.nm { opacity: .78; }
.rack button:hover { background: rgba(250,216,128,.06); }
.rack button[aria-selected="true"] { background: linear-gradient(90deg, rgba(250,216,128,.16), rgba(250,216,128,0)); border-left-color: var(--gold); }
.rack button[aria-selected="true"] img.nm { opacity: 1; }
.detail { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; padding: 34px 36px; min-width: 0; }
.socket { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #3a2c1a, #120c06 70%); border: 3px solid var(--brass);
  box-shadow: inset 0 0 0 4px #2a1d0e, inset 0 6px 18px rgba(0,0,0,.8), 0 0 30px rgba(250,216,128,.12); }
.socket img { width: 104px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.8)); }
.detail .txt { min-width: 0; }
.detail .txt img.t { margin-bottom: 8px; }
.detail p { margin: 0 0 20px; color: var(--cream); }
.skills { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 0; padding: 0; list-style: none; }
.skills li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--dim); }
.skills img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(184,146,79,.7), 0 3px 8px rgba(0,0,0,.6); }
.skills-label { margin-bottom: 10px; }
@media (max-width: 860px) {
  .armory { grid-template-columns: 1fr; }
  .rack { flex-direction: row; border-right: 0; border-bottom: 1px solid rgba(184,146,79,.3); padding: 6px 4px; }
  .rack button { flex: 1 1 0; min-width: 0; width: auto; justify-content: center; padding: 8px 2px; border-left: 0; border-bottom: 3px solid transparent; }
  .rack button img.ico { width: 38px; height: 38px; }
  .rack button[aria-selected="true"] { border-bottom-color: var(--gold); background: rgba(250,216,128,.1); }
  .rack button img.nm { display: none; }
  .detail { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 20px; }
  .skills { justify-content: center; }
}

/* ---- islands, on the sea chart ---- */
.band-chart { color: var(--ink);
  background: linear-gradient(rgba(236,222,186,.80), rgba(226,208,166,.86)), url(../img/chart.jpg) 0 0 / 300px; }
.band-chart .lede { color: var(--ink-soft); }
.isles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.isle .framed { background: #1b130b; box-shadow: 0 10px 22px rgba(60,40,15,.35); }
.isle .framed img { width: 100%; aspect-ratio: 2 / 1.06; object-fit: cover; }
.isle .nm { margin: 12px 0 4px; }
.isle p { margin: 0; font-size: 15.5px; color: var(--ink); }
.isle .hint { margin-top: 6px; font-style: italic; color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 900px) { .isles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .isles { grid-template-columns: 1fr; } }

/* ---- things to do ---- */
.todo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.todo figure { margin: 0; }
.todo .pic { border: 2px solid rgba(184,146,79,.75); box-shadow: 0 8px 20px rgba(0,0,0,.55); overflow: hidden; }
.todo .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.todo figure:hover .pic img { transform: scale(1.04); }
.todo figcaption { padding-top: 12px; }
.todo figcaption p { margin: 4px 0 0; font-size: 15.5px; color: var(--dim); }
@media (max-width: 960px) { .todo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .todo { grid-template-columns: 1fr; } }

/* ---- ships ---- */
.ships { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ships .copy { min-width: 0; }
.ships .copy .heading { justify-content: flex-start; }
.ships .copy .heading::before { display: none; }
.ships .copy p { color: var(--dim); margin: 0 0 14px; max-width: 52ch; }
.ships .tip { font-style: italic; color: var(--cream); }
.fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fleet figure { margin: 0; text-align: center; }
.fleet .framed img { width: 100%; aspect-ratio: 128 / 98; object-fit: cover; }
.fleet figcaption { margin-top: 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fleet small { color: var(--dim); font-size: 13px; }
@media (max-width: 900px) { .ships { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .fleet { gap: 10px; } .fleet .framed { border-width: 14px; border-image-width: 14px; } }

/* ---- three steps, on Disney's quest scroll ---- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step { position: relative; color: var(--ink); padding: 40px 34px 38px; min-height: 220px;
  background: url(../img/scroll.png) center / 100% 100% no-repeat; filter: drop-shadow(0 10px 16px rgba(0,0,0,.5)); }
.step .num { position: absolute; top: 26px; right: 30px; width: 34px; opacity: .85; }
.step img.t { margin: 4px 0 10px; }
.step p { margin: 0 0 14px; font-size: 15.5px; max-width: 34ch; }
.step .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.step .mac { color: var(--ink); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---- crew ---- */
.band-sunset { text-align: center;
  background: linear-gradient(180deg, rgba(12,22,29,.9) 0%, rgba(12,22,29,.35) 40%, rgba(12,22,29,.55) 70%, rgba(12,22,29,.95) 100%),
              url(../img/sunset.jpg) center 60% / cover; }
.band-sunset p.lede { color: var(--cream); text-shadow: 0 2px 6px rgba(0,0,0,.9); }
.band-sunset .ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 46px auto 0; padding: 0; list-style: none; max-width: 900px; }
.facts li { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.facts strong { font-size: 1.6rem; font-weight: normal; color: var(--gold); font-variant-numeric: tabular-nums; text-shadow: 0 2px 6px rgba(0,0,0,.9); }
.facts span { font-size: 14px; color: var(--dim); text-shadow: 0 1px 4px rgba(0,0,0,.9); max-width: 24ch; }

/* ---- footer ---- */
footer { position: relative; padding-block: 56px 40px; font-size: 15px; color: var(--dim);
  background: linear-gradient(rgba(10,7,4,.9), rgba(10,7,4,.96)), url(../img/wood.jpg) 0 0 / 256px; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px; background: url(../img/rope.png) repeat-x center / auto 12px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h3 { margin: 0 0 10px; font-weight: normal; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.foot a { color: var(--dim); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot .brand-col p { margin: 14px 0 0; max-width: 36ch; }
.legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(184,146,79,.25); font-size: 13.5px; color: #a89a80; display: grid; gap: 6px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot .brand-col { grid-column: 1 / -1; } }

/* ==== the account pages: sign-up, log in, account, download, terms ==== */
.nav-account { display: block; padding: 6px 2px; opacity: .86; transition: opacity .15s; flex: none; }
.nav-account:hover { opacity: 1; }
[hidden] { display: none !important; }
@media (max-width: 820px) { .nav .wrap { gap: 14px; } .nav .brand { margin-right: auto; } }
@media (max-width: 420px) { .nav .brand img:last-child { display: none; } }

.sheet { min-height: calc(100vh - 68px - 260px); padding-block: 64px 84px; }
.wrap.narrow { max-width: 560px; }
.wrap.mid { max-width: 880px; }
.center { text-align: center; }
.heading.small { margin-bottom: 8px; }
.heading.small img { max-height: 26px; width: auto; }
.sheet .lede { margin-bottom: 30px; }

/* a panel: the brass frame round tarred timber */
.panel { background: linear-gradient(rgba(12,8,5,.72), rgba(12,8,5,.86)), url(../img/wood.jpg) 0 0 / 256px;
  padding: 22px 24px 24px; box-shadow: 0 14px 40px rgba(0,0,0,.5); margin: 0 0 26px; }
.panel > :first-child { margin-top: 0; }
.panel h2.label { margin: 0 0 16px; font-weight: normal; font-size: 13px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; align-items: start; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.field input { width: 100%; min-height: 46px; padding: 8px 12px; font: inherit; color: var(--cream);
  background: rgba(6,5,4,.78); border: 1px solid rgba(184,146,79,.55); border-radius: 2px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.6); }
.field input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.plain-list, .pirate-list { list-style: none; margin: 6px 0 14px; padding: 0; }
.plain-list li { padding: 5px 0; border-bottom: 1px solid rgba(214, 178, 110, .14); color: var(--cream); font-size: .95rem; overflow-wrap: anywhere; }
.plain-list li:last-child { border-bottom: 0; }
.pirate-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 18px; }
.pirate-list li { color: var(--cream); font-size: 1.05rem; white-space: pre-wrap; }
.counts { color: var(--brass); margin: 0 0 18px; text-align: center; }
textarea.made-keys { width: 100%; box-sizing: border-box; margin: 8px 0 12px; padding: 10px; background: rgba(0, 0, 0, .45); color: var(--cream); border: 1px solid rgba(214, 178, 110, .4); font-family: ui-monospace, Consolas, monospace; font-size: .95rem; resize: vertical; }
button.plain { align-self: end; }
.key-list { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px 14px; }
.key-list li { font-family: ui-monospace, Consolas, monospace; font-size: 1rem; color: var(--cream); overflow-wrap: anywhere; user-select: all; }
.key-line { font-family: ui-monospace, Consolas, monospace; color: var(--cream); overflow-wrap: anywhere; user-select: all; margin: 8px 0 14px; }
canvas.qr { display: block; margin: 6px auto 10px; border-radius: 4px; max-width: 100%; }
.field input.code { max-width: 16ch; font-size: 1.5rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.field small { color: var(--dim); font-size: 13.5px; line-height: 1.45; }
.field.bad input { border-color: var(--ember); }
.tick { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 15.5px; color: var(--dim); cursor: pointer; }
.tick input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--brass); }
.tick b { color: var(--cream); font-weight: normal; }
.bot-check { margin: 14px 0 4px; min-height: 65px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.actions.spread { justify-content: space-between; }
button.btn { font: inherit; color: inherit; }
button.btn[disabled] { filter: grayscale(.6) brightness(.7); cursor: progress; }
.message { min-height: 1.6em; margin: 6px 0 0; text-align: center; color: var(--dim); }
.message.bad { color: #ff9d7a; }
.message.good { color: var(--sea); }
.notice { margin: 0 0 16px; color: var(--cream); }
.notice.good { color: var(--sea); }
.notice.bad { color: #ff9d7a; padding: 10px 14px; border: 1px solid rgba(224,96,58,.6); background: rgba(224,96,58,.1); }
.under { margin: 16px 0 0; text-align: center; font-size: 15px; color: var(--dim); }

.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; margin: 0 0 6px; }
.facts-list dt { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.facts-list dd { margin: 2px 0 0; font-size: 1.1rem; color: var(--cream); overflow-wrap: anywhere; }
.facts-list dd.good { color: var(--sea); }
.facts-list dd.bad { color: #ff9d7a; }

.sheet .steps .step { min-height: 0; padding: 34px 60px 32px 34px; }
.sheet .steps .step p { margin: 0; }
.prose { margin-top: 44px; }
.prose h2 { margin: 30px 0 8px; font-weight: normal; font-size: 1.25rem; color: var(--gold); }
.prose h2.label { font-size: 12.5px; color: var(--brass); }
.prose ul { padding-left: 1.2em; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose p { margin: 0 0 14px; }
.prose.ink { margin-top: 0; }
.prose.ink h2 { color: #6a2c12; }
.prose.ink a { color: #6a2c12; }
.prose.ink .under { color: var(--ink-soft); text-align: left; }
.band-chart.sheet { color: var(--ink); }
.status-mini.shut .lamp, .lamp.shut { background: var(--ember); box-shadow: 0 0 10px var(--ember); }

/* --- coming soon, game access, the admin page --- */
.lamp.soon { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps.below { margin-top: 40px; }
.panel + .panel, #account > .panel { margin-bottom: 26px; }
.wrap.wide { max-width: 1180px; }
.field select { width: 100%; padding: 11px 12px; font: inherit; color: var(--cream); background: rgba(0,0,0,.55); border: 1px solid rgba(184,146,79,.55); border-radius: 2px; }
.made-key { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.15rem; letter-spacing: .04em; color: var(--gold); text-align: center; user-select: all; overflow-wrap: anywhere; margin: 6px 0 0; }
.table-wrap { overflow-x: auto; }
table.rows { width: 100%; border-collapse: collapse; font-size: 14px; }
table.rows th { text-align: left; font-weight: normal; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; padding: 6px 10px; border-bottom: 1px solid rgba(184,146,79,.4); white-space: nowrap; }
table.rows td { padding: 8px 10px; border-bottom: 1px solid rgba(184,146,79,.15); color: var(--cream); overflow-wrap: anywhere; }
table.rows button, .buttons button { font: inherit; font-size: 14px; color: var(--cream); background: rgba(0,0,0,.5); border: 1px solid rgba(184,146,79,.6); border-radius: 2px; padding: 6px 12px; cursor: pointer; }
table.rows button:hover, .buttons button:hover { border-color: var(--gold); color: var(--gold); }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.buttons button.danger { border-color: rgba(200,90,60,.8); }
form.inline { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
form.inline .field { flex: 1 1 260px; margin: 0; }

/* ==== news, patch notes, help, server status ==== */
.prose.flush { margin-top: 0; }
.prose [id], .note { scroll-margin-top: 92px; }
.prose h3 { margin: 22px 0 6px; font-weight: normal; font-size: 1.08rem; color: var(--cream); }
.prose.ink h3 { color: var(--ink); font-weight: bold; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.post { padding-bottom: 26px; border-bottom: 1px solid rgba(184,146,79,.28); }
.post:last-child { border-bottom: 0; padding-bottom: 0; }
.post h3 { margin: 4px 0 6px; font-weight: normal; font-size: 1.45rem; line-height: 1.25; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { text-decoration: underline; }
.post p { margin: 0 0 10px; color: var(--dim); }
.latest { margin-top: 56px; padding-top: 34px; border-top: 1px solid rgba(184,146,79,.28); }
.latest > .label { margin: 0 0 18px; font-weight: normal; text-align: center; }
.latest .posts { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 380px)); justify-content: center; gap: 26px 34px; }
.latest .post { border-bottom: 0; padding-bottom: 0; }
.entry h1 { margin: 4px 0 22px; font-weight: normal; font-size: 2.1rem; line-height: 1.2; color: var(--gold); text-wrap: balance; }
.back { text-align: left; margin-top: 34px; }
.note { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(184,146,79,.28); }
.note:last-child { border-bottom: 0; margin-bottom: 0; }
.note h2 { margin-top: 4px; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0 0 34px; padding: 12px 16px;
  border-block: 1px solid rgba(90,68,38,.4); font-size: 15.5px; }
.status-rows { list-style: none; margin: 0; padding: 0; }
.status-rows li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid rgba(184,146,79,.22); }
.status-rows li:first-child { padding-top: 0; }
.status-rows .what { flex: 1 1 auto; color: var(--cream); }
.status-rows .state { color: var(--dim); text-align: right; overflow-wrap: anywhere; }
.prose .lede { margin: 0 auto 30px; }

.rows button { white-space: nowrap; }
