/* Banana Stand app pages (/login, /account, /admin, /builders): on top of site.css */
.app { padding: 40px 0 80px; min-height: 60vh; }
.app h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; margin-bottom: 10px; }
.app h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 14px; }
.app .lede { margin: 0 0 28px; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow), inset 0 0 0 1px var(--card-line); padding: 26px 26px 28px; margin-bottom: 24px; }
.panel.narrow { max-width: 520px; }
.stack { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.hint { color: var(--muted); font-size: 14.5px; margin: 0; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); font-size: 14.5px; text-decoration: underline; cursor: pointer; justify-self: end; }
.linklike[disabled] { opacity: .5; pointer-events: none; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], select, textarea {
  font: 16px/1.4 var(--body); color: var(--ink); background: var(--bg); border: 2px solid var(--card-line);
  border-radius: 14px; padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--banana-deep); }
textarea { min-height: 84px; resize: vertical; }
.btn.small { padding: 10px 16px; font-size: 15px; box-shadow: 0 3px 0 var(--banana-deep); }
.btn.small.ghost { box-shadow: inset 0 0 0 2px var(--ink); }
.btn.danger { --b: #ff5a5f; --t: #fff; box-shadow: 0 3px 0 #c43c40; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.oauth { display: grid; gap: 10px; }
.oauth .btn { justify-content: center; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.or::before, .or::after { content: ""; flex: 1; height: 2px; background: var(--card-line); }
.note { padding: 14px 16px; border-radius: 14px; background: var(--bg-2); color: var(--ink-2); font-size: 15px; }
.note.ok { background: color-mix(in srgb, #7be08a 30%, var(--bg)); }
.note.err { background: color-mix(in srgb, #ff5a5f 22%, var(--bg)); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches button { width: 40px; height: 40px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; }
.swatches button[aria-pressed=true] { border-color: var(--ink); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; font: 800 18px/1 var(--display); color: #1b1406; flex: none; }
.who { display: flex; align-items: center; gap: 12px; }
table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th { text-align: left; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--card-line); }
table.list td { padding: 10px; border-bottom: 1px solid var(--card-line); vertical-align: middle; }
table.list input[type=number] { width: 76px; padding: 8px; }
table.list select { padding: 8px; width: auto; }
.scroll { overflow-x: auto; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.pill.pass, .pill.published, .pill.live, .pill.approved { background: #c9f2cf; color: #145a22; }
.pill.fail, .pill.hidden, .pill.rejected { background: #ffd2d3; color: #7c1418; }
.pill.pending, .pill.open, .pill.warn, .pill.preview { background: #fff0b3; color: #6b4b00; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tabs button { border: 0; cursor: pointer; padding: 9px 16px; border-radius: 999px; font: 700 15px/1 var(--body); background: var(--bg-2); color: var(--ink-2); }
.tabs button[aria-selected=true] { background: var(--ink); color: var(--bg); }
.gamecard { display: grid; gap: 12px; }
.gamecard header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.gamecard h3 { font-size: 26px; }
.deploys { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.deploys li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14.5px; }
code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
details > summary { cursor: pointer; font-weight: 700; }
#toastbox { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(440px, 100% - 32px); }
#toastbox div { background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 14px; font-weight: 600; box-shadow: var(--shadow-lift); }
#toastbox div.err { background: #b3262b; color: #fff; }
[hidden] { display: none !important; }
.qr { background: #fff; border-radius: 12px; padding: 8px; width: fit-content; box-shadow: var(--shadow-lift, 0 2px 10px rgba(0,0,0,.12)); }
.qr svg { display: block; width: 108px; height: 108px; }
.joincode { font-size: 1.6rem; letter-spacing: .18em; }
.playtimeline li { align-items: baseline; }
