/* artist.management: the platform's own pages. Everything else comes from app.css.
   Little colour: the mark is black on white and white on black; the dark pages keep the
   deep background of the sign-in, with the glow turned down. */

.am-mark { display: block; height: auto; }
.am-mark.is-sm { width: 78px; }
.am-mark.is-lg { width: 132px; }
.am-brand { display: inline-flex; align-items: baseline; gap: 10px; color: inherit; }
.am-brand-name { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; opacity: 0.6; }
.am-brand.is-light { color: #fff; }

/* the signed-in pages */
body.am { margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
.am-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); background: #0b0f12; color: #fff; }
.am-nav { display: flex; align-items: center; gap: 18px; font-size: 13.5px; font-weight: 600; }
.am-nav a { color: rgba(255, 255, 255, 0.72); }
.am-nav a:hover { color: #fff; }
.am-signout { background: transparent; border: 1px solid rgba(255, 255, 255, 0.28); color: rgba(255, 255, 255, 0.8); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.am-signout:hover { background: #fff; color: #0b0f12; border-color: #fff; }
.am-main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px) 60px; display: flex; flex-direction: column; gap: 18px; }
.am-main.is-wide { max-width: 1240px; }
.am-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px clamp(16px, 4vw, 40px); color: var(--ink-3); font-size: 12px; border-top: 1px solid var(--rule); }
.am-foot-links { display: inline-flex; gap: 14px; }
.am-foot-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.am-spaces { display: grid; gap: 10px; }
.am-space { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "mark body go" "mark manage go"; gap: 2px 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 14px; color: inherit; background: var(--surface); transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease), transform 0.18s var(--ease); }
.am-space:hover { border-color: var(--ink); background: var(--hover); transform: translateY(-1px); }
.am-space-mark { grid-area: mark; width: 44px; height: 44px; border-radius: 12px; background: #0b0f12; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.am-space-body { grid-area: body; min-width: 0; display: flex; flex-direction: column; }
.am-space-body b { font-weight: 700; letter-spacing: -0.01em; }
.am-space-body small { color: var(--ink-3); font-size: 12.5px; }
.am-space-host { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px !important; }
.am-space-go { grid-area: go; font-weight: 700; color: var(--ink); white-space: nowrap; }
.am-space-manage { grid-area: manage; font-size: 12.5px; }
.am-space-manage a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.am-slug { display: flex; align-items: center; gap: 8px; }
.am-slug .input { max-width: 260px; }
.am-slug span { color: var(--ink-3); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.input.is-static { background: var(--surface-3); color: var(--ink-2); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.am-link-shown { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--surface-3); font-size: 12px; }
.am-link-shown b { display: block; margin-bottom: 4px; }
.am-link-shown code { word-break: break-all; font-size: 11.5px; }
.am-admin-add { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.am-admin-add .select { max-width: 170px; padding-top: 5px; padding-bottom: 5px; font-size: 12.5px; }
tr.is-off td { opacity: 0.55; }
.am-legal { max-width: 720px; }
.am-legal h1 { margin: 6px 0 14px; }
.am-legal h2 { font-size: 17px; margin: 26px 0 8px; }
.am-legal p, .am-legal li { line-height: 1.6; color: var(--ink-2); }
.am-legal ul { padding-left: 20px; }
.am-legal .lede { color: var(--ink-2); }

/* the sign-in pages: dark glass, light type */
.am-login { background: radial-gradient(900px 600px at 20% 20%, #17313a, transparent 60%), radial-gradient(700px 500px at 80% 90%, rgba(255, 255, 255, 0.05), transparent 60%), #0d1114; }
.am-login-mark { color: #fff; margin-bottom: 28px; }
.am-login .login-card { background: rgba(14, 18, 22, 0.78); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.am-login .login-card h2, .am-login .login-card b { color: #fff; }
.am-login .login-card .tag, .am-login .login-card .field label, .am-login .login-card .hint { color: rgba(255, 255, 255, 0.5); }
.am-login .login-card .muted { color: rgba(255, 255, 255, 0.62); }
.am-login .login-card .input { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.am-login .login-card .input:focus { border-color: rgba(255, 255, 255, 0.45); box-shadow: none; }
.am-login .login-card .btn.is-primary { background: #fff; color: #0b0f12; box-shadow: none; }
.am-login .login-card .btn.is-primary:hover { background: #e8ecef; filter: none; }
.am-login .login-card .login-forgot { color: rgba(255, 255, 255, 0.55); }
.am-login .login-card .login-forgot:hover { color: #fff; }
.am-login .login-card .login-forgot + .login-forgot { margin-top: -8px; }
.am-login .login-card .link { color: #fff; }
.am-login .login-card .flash.is-error { background: rgba(179, 38, 30, 0.22); border-color: rgba(240, 196, 192, 0.3); color: #ffd6d2; }
.am-login .login-card .flash.is-ok { background: rgba(22, 101, 52, 0.25); border-color: rgba(191, 232, 207, 0.3); color: #cdebd8; }
.am-login .login-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* the landing page: the deep background kept, a slow sky over it, everything else white */
.am-landing { background: #0b0f12; background-attachment: scroll; }
.am-sky { position: fixed; inset: -20%; z-index: 0; pointer-events: none; background: radial-gradient(900px 620px at 18% 14%, #17313a, transparent 62%), radial-gradient(760px 560px at 86% 92%, rgba(255, 255, 255, 0.05), transparent 60%), radial-gradient(600px 460px at 70% 30%, rgba(23, 49, 58, 0.7), transparent 62%); animation: sky 26s ease-in-out infinite alternate; }
@keyframes sky { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.06); } }
.am-landing > * { position: relative; z-index: 1; }
.am-landing .front-eyebrow { color: #fff; opacity: 0.6; }
.am-landing .front-main h1 { color: #fff; background: linear-gradient(100deg, #fff 0%, #fff 42%, #b9c2c7 50%, #fff 58%, #fff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: rise-in 0.62s var(--ease) 1.08s both, shine 9s ease-in-out 2s infinite; }
.am-landing .front-main h1 em { color: inherit; font-weight: 450; letter-spacing: -0.03em; }
@keyframes shine { 0%, 70% { background-position: 110% 0; } 85% { background-position: -10% 0; } 100% { background-position: -10% 0; } }
.am-landing .front-sub { color: rgba(255, 255, 255, 0.78); }
.am-landing .btn.is-primary { background: #fff; color: #0b0f12; box-shadow: none; border-color: #fff; }
.am-landing .btn.is-primary:hover { background: #fff; filter: none; box-shadow: 0 14px 34px rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.am-landing .front-site { color: rgba(255, 255, 255, 0.72); }
.am-landing .front-site:hover { color: #fff; }
.am-hero { max-width: 820px; padding-bottom: 6vh; }
.am-hero h1 { font-size: clamp(42px, 6.6vw, 86px); }
.am-band { position: relative; z-index: 2; padding: 56px clamp(24px, 6vw, 84px); border-top: 1px solid rgba(255, 255, 255, 0.07); animation: rise-in 0.6s var(--ease) 1.3s both; }
.am-band.is-alt { background: rgba(255, 255, 255, 0.025); }
.am-band-in { max-width: 1100px; margin: 0 auto; }
.am-band h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.025em; line-height: 1.12; margin: 12px 0 14px; }
.am-band p { color: rgba(255, 255, 255, 0.72); font-size: 15.5px; line-height: 1.6; max-width: 56ch; margin: 0; }
.am-band .front-eyebrow { animation: none; }
.am-one { max-width: 760px; }
.am-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 22px; }
.am-tile { padding: 18px 18px 20px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; background: rgba(255, 255, 255, 0.03); transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease); }
.am-tile:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.am-tile h3 { margin: 0 0 8px; color: #fff; font-size: 16px; letter-spacing: -0.01em; }
.am-tile p { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.66); }
.am-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.am-cta .btn.is-primary { padding: 14px 40px; font-size: 15px; border-radius: 999px; }
.am-register { width: min(620px, 100%); text-align: left; margin-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.am-register .field label { color: rgba(255, 255, 255, 0.6); }
.am-register .input, .am-register .textarea { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.am-register .input:focus, .am-register .textarea:focus { border-color: rgba(255, 255, 255, 0.5); box-shadow: none; }
.am-register-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.am-register-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.am-register-go .muted { color: rgba(255, 255, 255, 0.55); }
.am-register-go .muted a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.am-register .flash.is-error { background: rgba(179, 38, 30, 0.22); border-color: rgba(240, 196, 192, 0.3); color: #ffd6d2; }
.am-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.am-registered { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; color: #fff; }
.am-registered span { color: rgba(255, 255, 255, 0.66); font-size: 14px; }
.front-foot .am-foot-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* a glimpse: shapes, not data, that answer */
.am-band.is-glimpse { padding-bottom: 20px; }
.gl { margin-top: 20px; }
.gl-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); margin-bottom: 14px; }
.gl-tabs button { background: transparent; border: 0; color: rgba(255, 255, 255, 0.6); font: inherit; font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 999px; cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.gl-tabs button:hover { color: #fff; }
.gl-tabs button.is-on { background: #fff; color: #0b0f12; }
.gl-window { border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5); overflow: hidden; }
.gl-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.gl-bar b { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.gl-hint { margin-left: auto; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.gl-hint.is-new { animation: hint-in 0.35s var(--ease); }
@keyframes hint-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.gl-panel { display: none; padding: 18px; }
.gl-panel.is-on { display: block; animation: rise-in 0.35s var(--ease); }
.gl-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gl-col { padding: 8px; border-radius: 12px; border: 1px dashed transparent; min-height: 120px; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); cursor: pointer; }
.gl-col.is-over, .gl-col:hover { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.03); }
.gl-col-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 8px; padding: 0 2px; }
.gl-col-head em { font-style: normal; color: rgba(255, 255, 255, 0.35); }
.gl-card { padding: 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.09); margin-bottom: 8px; display: flex; flex-direction: column; gap: 6px; cursor: grab; transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease); }
.gl-card:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-1px); }
.gl-card.is-picked { border-color: #fff; background: rgba(255, 255, 255, 0.14); }
.gl-card.is-drag { opacity: 0.4; }
.gl-card.is-moving { animation: land 0.4s var(--ease); }
@keyframes land { from { transform: scale(0.96); opacity: 0.4; } to { transform: none; opacity: 1; } }
.gl-card i { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.35); }
.gl-card i + i { background: rgba(255, 255, 255, 0.16); }
.gl-col[data-col="out"] .gl-card { background: rgba(255, 255, 255, 0.13); }
.gl-rows { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 14px; padding-top: 4px; }
.gl-row { display: grid; grid-template-columns: 18px 1fr 60px 70px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); transition: opacity 0.3s var(--ease); }
.gl-row i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.35); transition: background 0.3s var(--ease); }
.gl-row u { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.gl-row s { display: block; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, 0.1); }
.gl-row s.is-soon { background: rgba(255, 255, 255, 0.3); }
.gl-row.is-done { opacity: 0.45; }
.gl-row.is-done i { background: rgba(255, 255, 255, 0.18); }
.gl-tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.4); background: transparent; cursor: pointer; padding: 0; transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.gl-tick:hover { border-color: #fff; }
.gl-row.is-done .gl-tick { background: #fff; border-color: #fff; }
.gl-count { padding: 10px 2px 2px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.gl-shows { display: flex; flex-direction: column; }
.gl-show { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 11px 6px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; border-radius: 8px; transition: background 0.2s var(--ease); }
.gl-show:hover { background: rgba(255, 255, 255, 0.05); }
.gl-show b { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); font-weight: 600; }
.gl-show i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.3); }
.gl-chip { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); color: rgba(255, 255, 255, 0.8); min-width: 86px; text-align: center; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.gl-show[data-status="confirmed"] .gl-chip, .gl-show[data-status="played"] .gl-chip { background: #fff; color: #0b0f12; border-color: #fff; }
.gl-show[data-status="held"] .gl-chip { border-style: dashed; }
.gl-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin: 12px 2px 0; }
.gl-money { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.gl-lines { display: flex; flex-direction: column; gap: 8px; }
.gl-line { display: grid; grid-template-columns: 1fr 110px; gap: 12px; align-items: center; opacity: 0; transform: translateX(-6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.gl-line i { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.35); }
.gl-line.is-total i { background: #fff; }
.gl-line em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.gl-money.is-in .gl-line { opacity: 1; transform: none; }
.gl-money.is-in .gl-line:nth-child(2) { transition-delay: 0.15s; } .gl-money.is-in .gl-line:nth-child(3) { transition-delay: 0.3s; } .gl-money.is-in .gl-line:nth-child(4) { transition-delay: 0.45s; }
.gl-meter { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.gl-meter span { display: block; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.gl-meter span::after { content: ""; position: absolute; inset: 0; width: 0; background: #fff; transition: width 0.8s var(--ease) 0.6s; }
.gl-money.is-in .gl-meter span::after { width: 20%; }
.gl-meter em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.55); opacity: 0; transition: opacity 0.4s var(--ease) 1s; }
.gl-money.is-in .gl-meter em { opacity: 1; }
.gl-btn { align-self: flex-start; background: #fff; color: #0b0f12; border: 0; border-radius: 999px; padding: 9px 18px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
@media (max-width: 720px) {
  .gl-board { grid-template-columns: repeat(2, 1fr); }
  .am-register-row { grid-template-columns: 1fr; }
  .gl-hint { display: none; }
}
@media (max-width: 640px) {
  .am-space { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "mark body" "mark manage" "go go"; }
  .am-space-go { justify-self: start; padding-top: 6px; }
  .am-nav a:nth-last-child(2) { display: none; }
}
