/* Pinecrest Mysteries: the host account, rehearsal and owner pages, in the Pinecrest Lodge look (matches the public site's site.css). */
:root {
  --pine-900: #0c1712; --pine-800: #12241b; --pine-700: #1a3326; --ember: #e09a3e; --ember-hi: #f3c56a; --snow: #f7f1e4;
  --bg: #11100d; --card: #1d1a14; --line: #3a3326; --ink: #efe7d6; --dim: #c6b89f; --gold: #f3c56a; --gold2: #e09a3e; --head: #f3d9a0;
  --red: #d0604e; --ok: #6fb07a;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --bg: #f7f1e4; --card: #fffbf2; --line: #d9c7a3; --ink: #1f1a14; --dim: #5b4d3d; --gold: #8a4d0f; --gold2: #c98a2e; --head: #1a3326; --red: #a23b2b; --ok: #2f7a3a; color-scheme: light;
} }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.55 var(--sans); }
main { max-width: 780px; margin: 0 auto; padding: 26px 16px 64px; }
h1, h2, h3 { font-family: var(--display); color: var(--head); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(28px, 5vw, 38px); margin: 4px 0 6px; }
h2 { font-size: 22px; margin: 28px 0 8px; }
h3 { font-size: 19px; margin: 14px 0 6px; }
.eyebrow { letter-spacing: .24em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--gold2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 14px 0; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 22px rgba(0,0,0,.08); }
.sub { color: var(--dim); font-size: 15px; margin: 6px 0; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; }
input, select, button { font: inherit; border-radius: 10px; border: 1px solid var(--line); padding: 10px 14px; background: var(--bg); color: var(--ink); min-height: 44px; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #8ab4ff; outline-offset: 2px; }
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--gold2); }
button { cursor: pointer; background: var(--card); font-weight: 600; }
button:hover { border-color: var(--gold2); }
button.pri { background: linear-gradient(180deg, var(--ember-hi), var(--ember)); color: #1b1209; border-color: #b97a26; font-weight: 700; border-radius: 999px; padding: 10px 22px; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 16px rgba(224,154,62,.25); }
button.pri:hover { filter: brightness(1.06); }
button:disabled { opacity: .5; cursor: default; filter: none; }
.msg { padding: 12px 14px; border-radius: 10px; margin: 12px 0; border: 1px solid var(--line); }
.msg.err { background: color-mix(in srgb, var(--red) 18%, transparent); border-color: color-mix(in srgb, var(--red) 50%, transparent); }
.msg.ok { background: color-mix(in srgb, var(--ok) 18%, transparent); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
table { width: 100%; border-collapse: collapse; font-size: 15px; } td, th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
th { font-family: var(--display); color: var(--head); }
.tag { font-size: 12px; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line); } .tag.paid, .tag.covered, .tag.host, .tag.free { color: var(--ok); } .tag.unpaid { color: var(--red); }
footer { color: var(--dim); font-size: 13px; text-align: center; margin-top: 34px; }
a { color: var(--gold); text-underline-offset: .18em; }

/* the lodge bar along the top of every app page */
.app-head { background: var(--pine-900); border-bottom: 1px solid rgba(243,197,106,.25); }
.app-head .in { max-width: 780px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.app-head .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--snow); text-decoration: none; line-height: 1.1; }
.app-head .brand svg { width: 38px; height: 38px; flex: none; }
.app-head .brand b { display: block; font-family: var(--display); font-size: 19px; font-weight: 600; }
.app-head .brand small { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ember-hi); }
.app-head nav { display: flex; gap: 16px; }
.app-head nav a { color: #e9dfc9; text-decoration: none; font-size: 15px; }
.app-head nav a:hover { color: var(--ember-hi); }
/* a welcome banner with Frost, used above the sign-in and the rehearsal */
.lodge-banner { position: relative; overflow: hidden; border-radius: 16px; margin: 6px 0 18px; min-height: 170px; display: flex; align-items: flex-end;
  background: var(--pine-900) url("/img/frost-hero.jpg") right 30% / cover no-repeat; color: var(--snow); border: 1px solid rgba(243,197,106,.25); }
.lodge-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,11,.95) 0%, rgba(8,14,11,.8) 45%, rgba(8,14,11,.2) 100%); }
.lodge-banner > div { position: relative; padding: 22px 22px 20px; max-width: 30rem; }
.lodge-banner h1 { color: var(--snow); margin: 2px 0 6px; }
.lodge-banner p { color: #ddd0b5; margin: 0; font-size: 15.5px; }
.lodge-banner .eyebrow { color: var(--ember-hi); }
@media (max-width: 520px) { .lodge-banner { background-size: auto 100%; background-position: 70% 0; } .lodge-banner::before { background: linear-gradient(0deg, rgba(8,14,11,.96) 20%, rgba(8,14,11,.55) 100%); } }
.pv-note { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: rgba(216,181,106,.16); color: inherit; border: 1px solid #d8b56a; }

/* "Your game" (owner 2026-11-15: it was not obvious enough, a different colour, and too much like a receipt): the current game as a lodge ticket, dark pine and gold,
   with the lodge photograph across the top. Fixed dark colours on purpose, so it stands out from the cream page in both themes. */
.game-hero { padding: 0; overflow: hidden; border: 2px solid var(--gold2); border-radius: 20px; margin: 20px 0 22px; color: #f7f1e4;
  background: linear-gradient(180deg, #12241b 0%, #0c1712 100%); box-shadow: 0 0 0 4px rgba(224,154,62,.18), 0 18px 44px rgba(8,14,11,.45); }
.game-hero > *:not(.gh-photo) { margin-left: 22px; margin-right: 22px; }
.game-hero .gh-photo { position: relative; min-height: 210px; margin: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 18px 16px;
  background: #0c1712 url("/img/lodge.jpg") center 38% / cover no-repeat; }
.game-hero .gh-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,11,.55) 0%, rgba(8,14,11,.05) 38%, rgba(8,14,11,.92) 100%); }
.game-hero .gh-photo > * { position: relative; }
.gh-chip { align-self: flex-start; background: linear-gradient(180deg, #f3c56a, #e09a3e); color: #1b1209; font: 800 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.gh-title { font-family: var(--display); font-size: clamp(24px, 5vw, 32px); line-height: 1.15; color: #f7f1e4; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.gh-title small { display: block; font: 600 14px var(--sans); letter-spacing: .12em; color: #f3c56a; margin-top: 4px; }
.game-hero .sub { color: #cdbf9f; }
.game-hero a { color: #f3c56a; }
.game-hero .gh-party { margin-top: 18px; font-size: 14px; }
.game-hero .gh-party strong { display: block; font: 700 clamp(26px, 6vw, 36px)/1.2 var(--display); letter-spacing: .14em; color: #f3c56a; margin: 2px 0 4px; }
.game-hero button { background: rgba(255,255,255,.08); border-color: rgba(243,197,106,.45); color: #f7f1e4; }
.game-hero button:hover { border-color: #f3c56a; }
.game-hero button.pri { background: linear-gradient(180deg, #f3c56a, #e09a3e); color: #1b1209; border-color: #b97a26; font-size: 20px !important; padding: 15px 30px !important; width: 100%; max-width: 440px;
  animation: ghGlow 2.2s ease-in-out infinite; }
@keyframes ghGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(243,197,106,.0), 0 8px 20px rgba(224,154,62,.28); } 50% { box-shadow: 0 0 0 7px rgba(243,197,106,.22), 0 8px 26px rgba(224,154,62,.5); } }
.gh-keys { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 22px 4px; }
.gh-key { flex: 1 1 190px; background: rgba(0,0,0,.35); border: 1px solid rgba(243,197,106,.35); border-radius: 12px; padding: 10px 14px; }
.gh-key small { display: block; font-size: 12.5px; color: #cdbf9f; line-height: 1.3; }
.gh-key strong { display: block; font: 700 28px/1.25 var(--display); letter-spacing: .12em; color: #f3c56a; }
.game-hero .row { margin-left: 22px; margin-right: 22px; }
.game-hero > .sub:last-child, .game-hero > div:last-child { margin-bottom: 20px; }
@media (max-width: 520px) { .game-hero > *:not(.gh-photo) { margin-left: 16px; margin-right: 16px; } .game-hero .gh-photo { min-height: 170px; } .gh-keys { margin-left: 16px; margin-right: 16px; } }
