/* Generated by scripts/build-ghost-pages.mjs: the static ghost, hub and founders pages. */
:root { --ink: #0f0d1c; --ink-2: #181530; --ink-3: #241f44; --line: #3a3466; --paper: #f1e8d6; --dim: #b4adcc; --teal: #5fe0d0; --lamp: #ff9b45; --gold: #ffcf5a; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans SC", "PingFang SC", sans-serif; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.top, .page, .foot { max-width: 760px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.brand { color: var(--paper); font-weight: 800; letter-spacing: .5px; text-decoration: none; font-size: 18px; }
.lang { font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; text-decoration: none; }
.page { padding-top: 8px; padding-bottom: 32px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 16px; padding: 0; font-size: 14px; color: var(--dim); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
h1 { font-size: 32px; line-height: 1.2; margin: 4px 0 12px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 8px; }
.intro { color: var(--dim); margin: 0 0 20px; }
.ghost-head { display: grid; gap: 16px; }
.art { width: 100%; max-width: 240px; height: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--ink-2); }
.region { margin: 0; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.region a { text-decoration: none; }
.lore { margin: 0 0 12px; }
.card { margin: 0; font-size: 15px; color: var(--dim); border-left: 3px solid var(--lamp); padding-left: 12px; }
.card .k { color: var(--lamp); font-weight: 700; }
.card .st { color: var(--gold); }
.story { margin-top: 32px; padding-top: 8px; border-top: 1px solid var(--line); }
.kicker { margin: 16px 0 0; color: var(--teal); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.story-title { margin-top: 4px; font-size: 26px; }
.hook { font-style: italic; color: var(--dim); }
.story p { margin: 0 0 14px; }
.f-verse p, .f-folk p { margin: 0 0 4px; }
.source { margin-top: 32px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px 12px; font-size: 15px; }
.source h2 { font-size: 18px; margin-top: 12px; }
.source ul { padding-left: 20px; color: var(--dim); }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--paper); background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; height: 100%; }
.tile img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--ink-3); }
.tn { font-weight: 700; padding: 6px 10px 0; line-height: 1.3; }
.tt { font-size: 14px; color: var(--dim); padding: 0 10px 8px; line-height: 1.35; }
.th { font-size: 14px; color: var(--dim); padding: 0 10px 10px; line-height: 1.45; }
.tiles.wide { grid-template-columns: 1fr; }
.tiles.wide .tile { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto 1fr; column-gap: 12px; }
.tiles.wide .tile img { grid-row: 1 / 4; height: 100%; aspect-ratio: auto; }
.tiles.wide .tn { padding: 10px 10px 0 0; } .tiles.wide .tt { padding: 0 10px 0 0; color: var(--teal); } .tiles.wide .th { padding: 4px 10px 10px 0; }
.region-block h2 a { color: var(--paper); text-decoration: none; }
.links { margin-top: 28px; }
.play { margin: 20px 0 0; }
.play-top { margin: 20px 0 4px; }
.play-btn { display: inline-block; font-weight: 800; text-decoration: none; background: var(--lamp); color: #2a1305; border-radius: 12px; padding: 12px 20px; }
.join { margin: 8px 0 20px; }
.join label { display: block; font-weight: 700; margin-bottom: 6px; }
.join .row { display: flex; gap: 8px; }
.join input[type=email] { flex: 1; min-width: 0; font: inherit; color: var(--paper); background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.join button { font: inherit; font-weight: 800; border: 0; border-radius: 12px; padding: 12px 20px; background: var(--lamp); color: #2a1305; cursor: pointer; }
.join button:disabled { opacity: .6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { display: none; margin: 12px 0 0; } .msg.show { display: block; } .msg.ok { color: var(--teal); } .msg.err { color: #ff8a96; }
#error:target { display: block; }
.privacy { font-size: 14px; color: var(--dim); }
.foot { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.foot a { font-weight: 800; color: var(--paper); }
@media (min-width: 640px) {
  h1 { font-size: 40px; }
  .ghost-head { grid-template-columns: 280px 1fr; align-items: start; gap: 24px; }
  .tiles.wide .tile { grid-template-columns: 120px 1fr; }
}
