/* Season Shop Video Maker: the shop's look (aluminium page, white plinths, ink buttons, cobalt focus, Bricolage display). */
@font-face { font-family: "Bricolage"; src: url(/assets/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fraunces.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fraunces-italic.woff2) format("woff2"); font-style: italic; font-weight: 100 900; font-display: swap; }

:root {
  --bg: #eceef0; --surface: #fff; --surface-2: #f6f7f8; --ink: #15181e; --ink-hover: #2c313b; --muted: #575c66; --faint: #8a8f98;
  --line: #d5d9de; --line-soft: #e4e7ea; --brand: #2338c4; --brand-soft: #e6e9fb; --ok: #16794a; --ok-soft: #e3f3ea; --error: #b42318; --error-soft: #fdecea; --warn: #8a5300; --warn-soft: #fdf3e1;
  --s1: #5DAF6A; --s2: #F2B33D; --s3: #E2683C; --s4: #3D7FD1;
  --display: "Bricolage", "Helvetica Neue", Arial, sans-serif; --serif: "Fraunces", Georgia, serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 14px; --r-sm: 10px; --pill: 999px;
  --shadow: 0 1px 2px rgb(16 24 40 / .05), 0 1px 3px rgb(16 24 40 / .06);
  --float: 0 24px 60px -12px rgb(0 0 0 / .25), 0 2px 6px rgb(0 0 0 / .08);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --side: 248px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; margin: 0; font-stretch: 92%; }
h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- shell */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; background: var(--surface); border-right: 1px solid var(--line-soft); }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; text-decoration: none; }
.brand img { width: 34px; height: 34px; flex: none; }
.brand b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -.02em; line-height: 1.1; }
.brand span { display: block; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--muted); font-weight: 550; transition: background .15s, color .15s; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.on { background: var(--brand-soft); color: var(--brand); }
.nav svg, .ico { width: 18px; height: 18px; flex: none; }
.nav .cta { margin: 6px 0 10px; background: var(--ink); color: #fff; justify-content: center; }
.nav .cta:hover, .nav .cta.on { background: var(--ink-hover); color: #fff; }
.side .foot { margin-top: auto; display: grid; gap: 6px; }
.side .foot button { all: unset; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); color: var(--muted); font-weight: 550; }
.side .foot button:hover { background: var(--surface-2); color: var(--ink); }
.engine-pill { margin: 0 10px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); flex: none; }
.dot.busy { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

main { min-width: 0; padding: 34px clamp(16px, 4vw, 48px) 120px; max-width: 1240px; width: 100%; }
.view { animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.head p { margin: 6px 0 0; color: var(--muted); }

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; z-index: 20; height: auto; flex-direction: row; align-items: center; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line-soft); overflow-x: auto; min-width: 0; }
  .brand { padding: 0 8px 0 2px; }
  .brand div { display: none; }
  .brand span { display: none; }
  .nav { display: flex; gap: 2px; }
  .nav a { padding: 9px 10px; white-space: nowrap; }
  .nav a span { display: none; }
  .nav .cta { margin: 0 4px; }
  .nav .cta span { display: inline; }
  .side .foot { margin: 0 0 0 auto; display: flex; }
  .side .foot button span, .engine-pill { display: none; }
  .step > header .sum { display: none; }
  .step > header, .step > .body { padding-left: 16px; padding-right: 16px; }
  main { padding-top: 24px; }
}

/* ---------------------------------------------------------------- building blocks */
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); box-shadow: var(--shadow); }
.pad { padding: 22px; }
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.between { justify-content: space-between; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--pill); padding: 10px 18px; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--ink); color: #fff; transition: background .15s, transform .15s var(--ease), box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--ink-hover); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.quiet { background: transparent; color: var(--muted); padding: 8px 12px; }
.btn.quiet:hover { background: var(--surface-2); color: var(--ink); }
.btn.danger { background: var(--error); }
.btn.danger:hover { background: #912018; }
.btn.small { padding: 7px 13px; font-size: 13px; }
.btn.icon { padding: 9px; border-radius: 50%; }
.btn.hero { width: 100%; padding: 18px 28px; font-family: var(--display); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; background: linear-gradient(135deg, var(--brand), #4255e0); box-shadow: 0 12px 30px -10px rgb(35 56 196 / .6); }
.btn.hero:hover { background: linear-gradient(135deg, #1d2fa8, var(--brand)); box-shadow: 0 16px 36px -10px rgb(35 56 196 / .7); }

.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, .select, textarea.input { width: 100%; padding: 11px 13px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s; }
.input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea.input { resize: vertical; min-height: 70px; }
.search { position: relative; }
.search .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search .input { padding-left: 40px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--brand); width: 16px; height: 16px; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--pill); padding: 3px; gap: 2px; }
.seg button { all: unset; cursor: pointer; padding: 7px 14px; border-radius: var(--pill); font-weight: 600; font-size: 14px; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 650; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line-soft); white-space: nowrap; }
.chip.done { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.chip.running, .chip.queued { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.chip.failed { background: var(--error-soft); color: var(--error); border-color: transparent; }
.chip.canceled { background: var(--surface-2); }
.note { padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--muted); font-size: 14px; }
.note.error { background: var(--error-soft); color: var(--error); }
.note.warn { background: var(--warn-soft); color: var(--warn); }
.note.ok { background: var(--ok-soft); color: var(--ok); }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty svg { width: 40px; height: 40px; color: var(--faint); margin: 0 auto 12px; display: block; }

.spin { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface-2), #eef0f2, var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------- dashboard */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.stat { padding: 18px 20px; }
.stat b { display: block; font-family: var(--display); font-size: 32px; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 550; }
.stat i { display: block; width: 26px; height: 4px; border-radius: 4px; margin-bottom: 12px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 14px; }
.hero-cta { display: flex; gap: 22px; align-items: center; justify-content: space-between; padding: 26px 28px; background: radial-gradient(120% 140% at 100% 0%, #dfe4ff 0%, #fff 55%); overflow: hidden; position: relative; }
.hero-cta h2 { font-size: 22px; }
.hero-cta p { margin: 6px 0 0; color: var(--muted); max-width: 520px; }
.hero-cta .seasons { position: absolute; right: -30px; bottom: -30px; display: flex; gap: 8px; opacity: .9; pointer-events: none; }
.hero-cta .seasons i { width: 70px; height: 70px; border-radius: 50%; filter: blur(18px); }
.jobline { display: flex; gap: 14px; align-items: center; padding: 14px 16px; text-decoration: none; border-top: 1px solid var(--line-soft); }
.jobline:first-child { border-top: 0; }
.jobline .bar { margin-top: 8px; }
.thumbmini { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--surface-2); flex: none; }

/* ---------------------------------------------------------------- video grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.vcard { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--float); }
.vthumb { position: relative; aspect-ratio: 9 / 13; background: #10131a; overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.vthumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #8a8f98; text-align: center; padding: 10px; font-size: 13px; }
.vthumb .chip { position: absolute; top: 10px; left: 10px; }
.vthumb .dur { position: absolute; right: 10px; bottom: 10px; background: rgb(0 0 0 / .65); color: #fff; font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: var(--pill); }
.vthumb .play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; background: rgb(0 0 0 / .25); }
.vthumb .play svg { width: 54px; height: 54px; color: #fff; filter: drop-shadow(0 4px 12px rgb(0 0 0 / .4)); }
.vcard:hover .play { opacity: 1; }
.vbody { padding: 12px 14px 14px; display: grid; gap: 4px; }
.vbody b { font-weight: 650; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vbody .meta { font-size: 12px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.vactions { display: flex; gap: 4px; padding: 0 8px 10px; }
.filters { display: grid; grid-template-columns: minmax(200px, 1fr) 190px 160px 160px; gap: 10px; margin-bottom: 22px; }
@media (max-width: 760px) { .filters { grid-template-columns: 1fr 1fr; } .filters .search { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- new video */
.steps { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.steps > *, .step > .body, .stack > * { min-width: 0; }
.step > header { display: flex; gap: 14px; align-items: center; padding: 18px 22px; }
.step > header .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--surface-2); color: var(--muted); flex: none; transition: background .2s, color .2s; }
.step.ok > header .num { background: var(--ink); color: #fff; }
.step > header .sum { margin-left: auto; color: var(--muted); font-size: 14px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; }
.step > .body { padding: 0 22px 22px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line-soft); margin-bottom: 18px; overflow-x: auto; }
.tabs button { all: unset; cursor: pointer; padding: 10px 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-color: var(--ink); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pcard { all: unset; cursor: pointer; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-sm); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s var(--ease); position: relative; }
.pcard:hover { border-color: var(--line); transform: translateY(-2px); box-shadow: var(--shadow); }
.pcard.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.pcard img { aspect-ratio: 1; object-fit: contain; background: #fff; width: 100%; }
.pcard div { padding: 9px 10px 11px; display: grid; gap: 2px; }
.pcard b { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard span { font-size: 13px; color: var(--muted); }
.pcard .tick { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.weekly { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r); margin-bottom: 18px; background: linear-gradient(120deg, #eef1ff, #fff6e6); border: 1px solid var(--line-soft); cursor: pointer; transition: box-shadow .15s; }
.weekly:hover { box-shadow: var(--shadow); }
.weekly.on { box-shadow: 0 0 0 2px var(--brand); }
.weekly { flex-wrap: wrap; }
.weekly .grow { min-width: 180px; }
.weekly img { width: 72px; height: 72px; border-radius: 12px; object-fit: contain; background: #fff; }
.drop { border: 2px dashed var(--line); border-radius: var(--r); padding: 34px 20px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.drop svg { width: 34px; height: 34px; margin: 0 auto 8px; display: block; }
.picked { display: grid; gap: 12px; margin-bottom: 18px; }
.picked:empty { display: none; }
.prod { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 14px; border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--surface-2); }
.prod > img { width: 64px; height: 64px; border-radius: 10px; object-fit: contain; background: #fff; }
.photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.photo { all: unset; cursor: pointer; position: relative; width: 64px; height: 64px; border-radius: 9px; overflow: hidden; background: #fff; border: 2px solid transparent; transition: border-color .15s, opacity .15s; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo:not(.on) img { opacity: .55; }
.photo.on { border-color: var(--brand); }
.photo i { position: absolute; top: 3px; left: 3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--brand); color: #fff; font: 700 11px/18px var(--text); text-align: center; font-style: normal; }
.photo .rm { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgb(0 0 0 / .6); color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tcard { all: unset; cursor: pointer; display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; background: var(--surface); transition: border-color .15s, box-shadow .2s, transform .2s var(--ease); }
.tcard:hover { transform: translateY(-2px); box-shadow: var(--float); }
.tcard.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.tcard .tprev { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; }
.tcard .tprev img, .tcard .tprev video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard .tprev .tname { position: relative; font-family: var(--serif); font-size: 26px; color: #fff; text-shadow: 0 2px 20px rgb(0 0 0 / .35); padding: 0 16px; text-align: center; }
.tcard .tbody { padding: 14px 16px 16px; display: grid; gap: 6px; flex: 1; }
.tcard .tbody p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.tcard .tmeta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.tcard .sel { margin: 0 16px 16px; }
.mlist { display: grid; gap: 10px; }
.music { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: var(--r); cursor: pointer; transition: border-color .15s, box-shadow .15s; background: var(--surface); }
.music:hover { border-color: var(--line); }
.music.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.music .wave { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.music.none .wave { background: var(--surface-2); color: var(--muted); }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fixed { display: flex; gap: 8px; flex-wrap: wrap; }
.generate { position: sticky; bottom: 16px; z-index: 5; display: flex; gap: 18px; align-items: center; padding: 16px; margin-top: 22px; background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); }
.generate .recap { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); }
.generate .recap b { color: var(--ink); }
.generate .btn.hero { width: auto; min-width: 290px; }
@media (max-width: 760px) { .generate { flex-direction: column; align-items: stretch; } .generate .btn.hero { min-width: 0; width: 100%; } .prod { grid-template-columns: 48px 1fr; } .prod > img { width: 48px; height: 48px; } .prod > .x { grid-column: 2; justify-self: start; } }

/* ---------------------------------------------------------------- job / result */
.result { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .result { grid-template-columns: 1fr; } }
.player { background: #0b0d12; border-radius: var(--r); overflow: hidden; aspect-ratio: 9 / 16; box-shadow: var(--float); display: grid; place-items: center; position: relative; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.progress-stage { color: #cfd3da; text-align: center; padding: 30px; display: grid; gap: 16px; justify-items: center; }
.progress-stage .big { width: 64px; height: 64px; border-width: 4px; color: #fff; }
.progress-stage b { color: #fff; font-family: var(--display); font-size: 20px; }
.bar { height: 8px; background: var(--surface-2); border-radius: 8px; overflow: hidden; width: 100%; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #6f7ff0); border-radius: 8px; transition: width .6s var(--ease); }
.player .bar { background: rgb(255 255 255 / .12); width: 220px; }
.bar.indet i { width: 35%; animation: indet 1.3s infinite var(--ease); }
@keyframes indet { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.tl { display: grid; gap: 2px; }
.tl div { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--faint); font-weight: 550; }
.tl div.done { color: var(--ink); }
.tl div.now { color: var(--brand); }
.tl div b { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: 11px; flex: none; }
.tl div.done b { background: var(--ink); border-color: var(--ink); color: #fff; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 550; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
pre.log { background: #0f1218; color: #cfd3da; padding: 14px; border-radius: var(--r-sm); font-size: 12px; overflow: auto; max-height: 300px; white-space: pre-wrap; }

/* ---------------------------------------------------------------- modal, toast */
.modal { position: fixed; inset: 0; background: rgb(15 18 24 / .45); display: grid; place-items: center; z-index: 50; padding: 16px; animation: fade .2s; }
.modal .card { max-width: 440px; width: 100%; padding: 24px; animation: rise .25s var(--ease); }
.modal p { color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--pill); font-weight: 600; z-index: 60; box-shadow: var(--float); animation: rise .25s var(--ease); max-width: calc(100vw - 32px); }
.toast.error { background: var(--error); }

/* ---------------------------------------------------------------- sign-in */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(80% 60% at 15% 10%, #dfe4ff 0%, transparent 60%), radial-gradient(70% 60% at 90% 90%, #fde9d9 0%, transparent 60%), var(--bg); }
.login .card { width: 100%; max-width: 400px; padding: 36px 32px; box-shadow: var(--float); border: 0; }
.login .logo { width: 52px; height: 52px; margin-bottom: 18px; }
.login h1 { font-size: 28px; }
.login h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; }
.login form { display: grid; gap: 14px; margin-top: 24px; }
.login .seasons { display: flex; gap: 6px; margin-top: 26px; }
.login .seasons i { height: 4px; flex: 1; border-radius: 4px; }
