/* Sigil's look for sigil.hexwork.co.uk (layout_sigil.php): Hexwork's family (near-black #09070A, brand red #C8102E,
   link pink #FF4D6A, Syne for headings and Geist for text) leaning pink-red like the folded-ribbon S (#FF1F5A).
   Standalone and phone first: every page works at 320px with nothing scrolling sideways. */
:root {
  color-scheme: dark;
  --link: #FF4D6A;
  --link-hi: #FF7A90;
  --red: #C8102E;
  --pink: #FF1F5A;
  --pink-deep: #D9134A;
  --ink: #F6F1F3;
  --muted: #ABA0A6;
  --paper: #09070A;
  --card: #120E13;
  --raised: #1A141C;
  --sunk: #0C090D;
  --rule: #2A222C;
  --rule-strong: #43374A;
  --tint: rgba(255, 31, 90, 0.12);
  --bad: #FF6B6B;
  --ok: #4ADE80;
  --display: "Syne", "Arial Black", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--link);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.55 var(--body); color: var(--ink); background: var(--paper); overflow-wrap: anywhere; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--link-hi); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; overflow-wrap: break-word; }
h1 { font-size: clamp(1.6rem, 6vw, 2.3rem); }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 20; padding: 8px 12px; background: var(--raised); color: var(--ink); border-radius: 8px; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
.fine { font-size: 0.86rem; color: var(--muted); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--raised); color: var(--ink); font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s; text-align: center; }
.btn:hover { background: #251C28; border-color: #5C4C63; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: linear-gradient(180deg, var(--pink), var(--pink-deep)); border-color: var(--pink-deep); color: #fff; box-shadow: 0 10px 28px -12px rgba(255, 31, 90, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-primary:hover { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }
.btn-quiet { background: transparent; }
.btn-small { min-height: 38px; padding: 6px 14px; font-size: 0.92rem; }
.btn-big { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.sg-ico { display: block; }
.sg-ico-down { transform: rotate(180deg); }
.sg-thumb { min-width: 44px; padding: 6px 10px; }

/* ---- Forms ---- */
label { display: block; font-weight: 600; font-size: 0.92rem; margin: 14px 0 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--sunk); border: 1px solid var(--rule-strong); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(255, 77, 106, 0.22); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.8; }
input[type="checkbox"], input[type="radio"] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--pink); flex-shrink: 0; margin: 0; }
select option { background: var(--card); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
form .btn { margin-top: 12px; }
.sg-legend, legend.sg-legend { font-weight: 600; font-size: 0.92rem; margin: 14px 0 6px; padding: 0; }
.sg-check { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 16px 0 4px; }
.sg-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.sg-inline input { flex: 1 1 220px; }
.sg-inline .btn { margin-top: 0; }

/* ---- Frame ---- */
.sg { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(1000px 520px at 50% -180px, rgba(255, 31, 90, 0.16), transparent 70%), var(--paper); }
.sg-top { position: sticky; top: 0; z-index: 5; background: rgba(9, 7, 10, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.sg-top-in, .sg-biz-in { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sg-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 1.35rem/1 var(--display); letter-spacing: -0.02em; flex-shrink: 0; }
.sg-brand img { width: 34px; height: 34px; mix-blend-mode: screen; border-radius: 6px; }
.sg-brand b { color: var(--pink); font-weight: 800; }
.sg-brand:hover { color: var(--ink); }
.sg-nav { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sg-nav-link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 6px 4px; }
.sg-nav-link.is-here { color: var(--link); }
.sg-credits { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--tint); border: 1px solid rgba(255, 31, 90, 0.4); color: var(--ink); font-weight: 600; font-size: 0.86rem; text-decoration: none; white-space: nowrap; }
.sg-credits:hover { color: var(--ink); border-color: var(--pink); }
.sg-signout { margin: 0; }
.sg-signout .btn { margin: 0; }
@media (max-width: 480px) { .sg-nav-link { display: none; } .sg-signout .btn { padding: 6px 10px; } }
.sg-biz-bar { border-top: 1px solid var(--rule); }
.sg-biz-in { flex-wrap: wrap; padding-top: 0; padding-bottom: 0; gap: 0 18px; }
.sg-biz-name { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 0 6px; min-width: 0; max-width: 100%; }
.sg-biz-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-biz-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--pink); transform: rotate(45deg); flex-shrink: 0; }
.sg-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; padding: 4px 0 10px; }
.sg-tabs a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 8px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; background: var(--card); border: 1px solid var(--rule); }
.sg-tabs a:hover { color: var(--ink); }
.sg-tabs a.is-here { color: #fff; background: var(--tint); border-color: rgba(255, 31, 90, 0.55); }
@media (min-width: 760px) {
  .sg-biz-in { flex-wrap: nowrap; }
  .sg-tabs { display: flex; width: auto; padding: 0; gap: 2px; }
  .sg-tabs a { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 12px 12px; min-height: 48px; }
  .sg-tabs a.is-here { background: none; border-bottom-color: var(--pink); }
}
.sg-main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 22px 16px 48px; }
.sg-foot { border-top: 1px solid var(--rule); padding: 18px 16px; text-align: center; }
.sg-foot p { margin: 0; display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 0.86rem; }
.sg-foot img { mix-blend-mode: screen; flex-shrink: 0; }

/* ---- Cards, pills, messages ---- */
.sg-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 16px; margin: 0 0 16px; min-width: 0; }
@media (min-width: 640px) { .sg-card { padding: 22px; } }
.sg-card > h2:first-child { margin-top: 0; }
.sg-head { margin: 0 0 16px; }
.sg-head p:last-child { margin-bottom: 0; }
.sg-head-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; justify-content: space-between; }
.sg-sub { margin: 26px 0 12px; }
.sg-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--muted); font: 600 0.75rem/1 var(--body); white-space: nowrap; vertical-align: middle; }
.sg-pill-ok { color: var(--ok); border-color: rgba(74, 222, 128, 0.45); }
.flash { padding: 12px 14px; margin: 0 0 16px; background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--link); border-radius: 10px; }
.flash-error { border-left-color: var(--bad); }
.flash-ok { border-left-color: var(--ok); }
.sg-short p { margin: 0 0 8px; }
.sg-short p:last-child { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.sg-message { max-width: 34rem; margin: 6vh auto; text-align: center; }
.sg-message img { mix-blend-mode: screen; }
.sg-empty { text-align: center; padding: 30px 18px; }
.sg-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sg-row .btn { margin-top: 0; }
.sg-row-between { justify-content: space-between; }
.sg-row-between h2 { margin: 0; }
.sg-back { margin: 0 0 8px; }
.sg-back a { text-decoration: none; font-weight: 600; }
.sg-more { margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 12px; }
.sg-more > summary { cursor: pointer; font-weight: 600; color: var(--link); list-style: none; min-height: 32px; display: flex; align-items: center; gap: 8px; }
.sg-more > summary::-webkit-details-marker { display: none; }
.sg-more > summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s; }
.sg-more[open] > summary::before { transform: rotate(45deg); }
.sg-two { display: grid; gap: 0 16px; }
@media (min-width: 900px) { .sg-two { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---- Landing ---- */
.sg-hero { text-align: center; max-width: 44rem; margin: 4vh auto 30px; }
.sg-hero-mark { mix-blend-mode: screen; filter: drop-shadow(0 0 30px rgba(255, 31, 90, 0.35)); }
.sg-hero h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
.sg-hero h1 span { color: var(--pink); display: block; }
.sg-lead { font-size: 1.1rem; color: #DCD2D7; }
.sg-features { display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 1000px; margin: 0 auto; }
@media (min-width: 700px) { .sg-features { grid-template-columns: 1fr 1fr; } }
.sg-feature { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; }
.sg-feature h2 { color: var(--ink); }
.sg-feature p { margin: 0; color: var(--muted); }

/* ---- Picker ---- */
.sg-picker { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 800px) { .sg-picker { grid-template-columns: 1fr 1fr; } }
.sg-pick { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink); text-decoration: none; min-height: 72px; }
.sg-pick:hover { border-color: rgba(255, 31, 90, 0.6); color: var(--ink); }
.sg-pick-init { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; font: 800 1.2rem/1 var(--display); color: #fff; background: linear-gradient(140deg, var(--pink), var(--red)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sg-pick-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sg-pick-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-pick-go { color: var(--muted); font-size: 1.6rem; }

/* ---- Plan ---- */
.sg-big { font: 800 2rem/1.1 var(--display); margin-bottom: 6px; }
.sg-costs { width: 100%; border-collapse: collapse; }
.sg-costs th, .sg-costs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 500; vertical-align: top; }
.sg-costs td { text-align: right; white-space: nowrap; padding-left: 12px; color: var(--link-hi); font-weight: 600; }

/* ---- Months and the queue ---- */
.sg-months { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.sg-months a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.sg-months a.is-here { color: #fff; background: var(--tint); border-color: rgba(255, 31, 90, 0.6); }
.sg-alldone { padding: 14px; border: 1px dashed var(--rule-strong); border-radius: 12px; color: var(--ok); text-align: center; }
.sg-queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 1000px) { .sg-queue { grid-template-columns: 1fr 1fr; } }
.sg-qcard { display: grid; grid-template-columns: 72px 1fr; grid-template-areas: "thumb body" "act act"; gap: 12px 14px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px; min-width: 0; scroll-margin-top: 140px; }
@media (min-width: 480px) { .sg-qcard { grid-template-columns: 132px 1fr; } }
.sg-qthumb { grid-area: thumb; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--sunk); border: 1px solid var(--rule); text-decoration: none; }
.sg-qthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-qnoimg { display: grid; place-items: center; height: 100%; padding: 8px; text-align: center; font-size: 0.78rem; color: var(--muted); }
.sg-qbody { grid-area: body; min-width: 0; }
.sg-qbody h2 { font-size: 1.05rem; margin: 2px 0 6px; }
.sg-qbody h2 a { color: var(--ink); text-decoration: none; }
.sg-qdate { margin: 0; font-size: 0.82rem; color: var(--link-hi); font-weight: 600; }
.sg-qtext { margin: 0; color: var(--muted); font-size: 0.92rem; }
.sg-qactions { grid-area: act; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.sg-qactions form, .sg-qactions .btn { margin: 0; }
.sg-qactions > form .btn, .sg-qactions > .btn { min-width: 96px; }
.sg-redo { flex-basis: 100%; }
@media (min-width: 480px) { .sg-redo { flex-basis: auto; } }
.sg-redo > summary { list-style: none; }
.sg-redo > summary::-webkit-details-marker { display: none; }
.sg-redo[open] { flex-basis: 100%; }
.sg-redo-form { margin-top: 4px; }
.sg-done { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.sg-done li { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.sg-done li a { color: var(--ink); text-decoration: none; min-width: 0; }
.sg-done time { color: var(--link-hi); font-weight: 600; font-size: 0.85rem; margin-right: 6px; }

/* ---- The month calendar ---- */
.sg-make-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.sg-make-row > div { flex: 1 1 180px; }
.sg-make-row label { margin-top: 0; }
.sg-make-row .btn { margin-top: 0; flex: 1 1 240px; }
.sg-cal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 6px; }
.sg-cal-wd, .sg-cal-blank { display: none; }
.sg-cal-day { display: none; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.sg-cal-day.has-items { display: flex; flex-direction: column; gap: 4px; }
.sg-cal-day.is-today { border-color: var(--pink); }
.sg-cal-day.is-past { opacity: 0.55; }
.sg-cal-num { font-weight: 700; font-size: 0.86rem; color: var(--muted); }
.sg-occ { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 0.78rem; font-weight: 600; background: rgba(255, 255, 255, 0.06); color: #D9CFD4; border-left: 3px solid var(--muted); }
.sg-occ-bank { border-left-color: var(--pink); }
.sg-occ-regional { border-left-color: #A78BFA; }
.sg-occ-school { border-left-color: #38BDF8; }
.sg-occ-shopping { border-left-color: #FBBF24; }
.sg-occ-awareness { border-left-color: var(--ok); }
.sg-occ-season { border-left-color: #F97316; }
.sg-cal-post { display: block; padding: 6px 8px; border-radius: 8px; background: var(--tint); color: var(--ink); text-decoration: none; font-size: 0.86rem; font-weight: 600; border: 1px solid rgba(255, 31, 90, 0.35); }
.sg-cal-post.is-approved { background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.4); }
.sg-cal-post.is-skipped { opacity: 0.5; text-decoration: line-through; }
.sg-key { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
@media (min-width: 900px) {
  .sg-cal { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .sg-cal-wd { display: block; text-align: center; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
  .sg-cal-blank { display: block; }
  .sg-cal-day, .sg-cal-day.has-items { display: flex; flex-direction: column; gap: 4px; min-height: 110px; padding: 6px; }
  .sg-cal-wdm { display: none; }
  .sg-occ { font-size: 0.72rem; }
  .sg-cal-post { font-size: 0.78rem; padding: 4px 6px; }
}

/* ---- One post ---- */
.sg-post { display: grid; gap: 0 16px; }
@media (min-width: 960px) { .sg-post { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } .sg-pic { position: sticky; top: 130px; } }
.sg-pic-img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--rule); margin-bottom: 10px; background: var(--sunk); }
.sg-thumbs { display: inline-flex; gap: 4px; margin-left: auto; }
.sg-tpls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.sg-tpl { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px; border: 1px solid var(--rule-strong); border-radius: 10px; font-weight: 500; cursor: pointer; }
.sg-tpl:has(input:checked) { border-color: var(--pink); background: var(--tint); }
.sg-src { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: 10px; font-weight: 500; cursor: pointer; }
.sg-src:has(input:checked) { border-color: var(--pink); background: var(--tint); }
.sg-src:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.sg-src > span { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
.sg-noai { margin: 4px 0 14px; }
.sg-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-photos legend { width: 100%; }
.sg-photo { position: relative; margin: 0; cursor: pointer; }
.sg-photo input { position: absolute; opacity: 0; }
.sg-photo img, .sg-photo-auto { display: grid; place-items: center; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 2px solid var(--rule-strong); font-size: 0.75rem; text-align: center; color: var(--muted); padding: 4px; }
.sg-photo input:checked + img, .sg-photo input:checked + .sg-photo-auto { border-color: var(--pink); }
.sg-photo input:focus-visible + img, .sg-photo input:focus-visible + .sg-photo-auto { box-shadow: var(--focus); }
.sg-cap { margin-top: 16px; }
.sg-cap-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sg-cap-head label { margin: 0; }
.sg-cap-tools { display: inline-flex; margin-left: auto; gap: 4px; align-items: center; }
.sg-cap-tools .btn { margin: 0; }
.sg-copy.is-done { border-color: var(--ok); color: var(--ok); }
.sg-actions .btn { flex: 1 1 140px; margin-top: 12px; }
.sg-skip { margin-top: 10px; text-align: right; }

/* ---- Brand, learning, reviews ---- */
.sg-profile p { margin: 0 0 6px; font-size: 1.02rem; }
.sg-profile { padding: 14px 16px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--rule); margin-bottom: 8px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-chips .btn { margin: 0; }
.sg-learned h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--link-hi); margin: 14px 0 4px; font-family: var(--body); font-weight: 700; }
.sg-learned h3:first-child { margin-top: 0; }
.sg-learned ul { margin: 0; padding-left: 20px; }
.sg-learned li { margin: 2px 0; }
.sg-facts { margin: 0; display: grid; gap: 0; }
.sg-facts > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .sg-facts > div { grid-template-columns: 9rem 1fr; gap: 12px; } }
.sg-facts dt { font-weight: 600; color: var(--muted); font-size: 0.9rem; }
.sg-facts dd { margin: 0; min-width: 0; }
.sg-swatch { display: inline-flex; align-items: center; gap: 6px; margin: 0 10px 4px 0; font-size: 0.88rem; }
.sg-swatch-chip { width: 22px; height: 22px; border-radius: 6px; background: var(--sw); border: 1px solid rgba(255, 255, 255, 0.2); }
.sg-logo { max-height: 48px; width: auto; background: #fff; padding: 4px 8px; border-radius: 8px; }
.sg-events { list-style: none; margin: 0; padding: 0; }
.sg-events li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 0.92rem; }
.sg-review.is-new { border-color: rgba(255, 31, 90, 0.6); }
.sg-quote { margin: 0 0 6px; padding: 8px 12px; border-left: 3px solid var(--rule-strong); color: var(--muted); font-style: italic; }
.sg-inline-form { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sg-inline-form p { margin: 0; flex: 1 1 200px; }
.sg-inline-form .btn { margin: 0; }

/* ---- Waiting on a long action (sigil.js) ---- */
.sg-wait { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(6, 4, 7, 0.82); backdrop-filter: blur(4px); padding: 16px; }
.sg-wait-box { text-align: center; max-width: 22rem; }
.sg-wait-box img { width: 72px; height: 72px; mix-blend-mode: screen; animation: sg-pulse 1.4s ease-in-out infinite; }
.sg-wait-box p { font-weight: 600; margin-top: 12px; }
@keyframes sg-pulse { 50% { transform: scale(0.9); opacity: 0.7; } }
@media (prefers-reduced-motion: reduce) { .sg-wait-box img { animation: none; } * { transition: none !important; } }
