/* Chore Chart Generator. Sister site of Random Wheel: same light, same glass, same type.
   Layout idea: the chart is a real sheet of paper on the dark page. The names, the chores and the look sit in a quiet glass rail beside it. */
:root {
  --paper: #080A1C;
  --panel: #15173A;
  --ink: #F3F1FF;
  --ink-soft: #B3B0D0;
  --line: #2D2F5C;
  --signal-ink: #1A1033;
  --focus: #B5A8FF;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-line: rgba(255, 255, 255, 0.13);
  --field: rgba(6, 8, 24, 0.55);
  --lift: 0 18px 50px -22px rgba(0, 0, 0, 0.8);
  --aurora: 0.55;
  --violet: #7B5CFF;
  --rose: #FF5C8A;
  --amber: #FFB627;
  --aqua: #2ED3C6;
  --go: #2EE6A6;
  --stop: #FF4D5E;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", Verdana, sans-serif;
  --radius: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; min-height: 100vh;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; font-weight: 500; line-height: 1.5;
}
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The light behind everything */
body::before, body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  width: 90vmax; height: 90vmax; border-radius: 50%; opacity: var(--aurora);
}
body::before {
  left: -30vmax; top: -38vmax;
  background: radial-gradient(closest-side, var(--violet), transparent 70%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
body::after {
  right: -34vmax; bottom: -44vmax;
  background: radial-gradient(closest-side, var(--rose), transparent 68%), radial-gradient(closest-side at 30% 30%, var(--amber), transparent 60%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-12vmax, -9vmax) scale(1.1); } }

.shell { max-width: 1220px; margin: 0 auto; padding: 0 24px 64px; }

/* Header */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 22px 0 14px; }
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 23px; line-height: 1; letter-spacing: -0.02em;
  margin: 0; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none;
}
.brand svg { flex: none; filter: drop-shadow(0 0 8px rgba(255, 92, 138, 0.55)); }
.modes { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); }
.modes a {
  text-decoration: none; color: var(--ink); padding: 7px 13px; border-radius: 999px; font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}
.modes a:hover { background: var(--glass-line); }
.modes a[aria-current="page"] { background: linear-gradient(120deg, var(--violet), var(--rose)); color: #FFFFFF; }
.top-tools { margin-inline-start: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.btn {
  border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink);
  border-radius: 12px; padding: 8px 14px; font-weight: 700; cursor: pointer; line-height: 1.2;
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
.btn:hover { border-color: var(--violet); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn.quiet { font-weight: 500; }
.btn[aria-pressed="true"] { background: color-mix(in srgb, var(--violet) 26%, transparent); border-color: var(--violet); }
.btn svg { flex: none; }
#markBtn svg { color: var(--amber); }
#siteShareBtn svg { color: var(--rose); }

/* Page title */
.head { padding: 6px 0 20px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; }
.head > div:first-child { max-width: 760px; min-width: 0; flex: 1 1 420px; }
.spread { display: flex; gap: 8px; flex: none; }
.head h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(32px, 5.2vw, 56px); line-height: 1.02; margin: 0; text-wrap: balance;
}
.head p { margin: 10px 0 0; color: var(--ink-soft); font-size: 18px; max-width: 58ch; }



/* Main grid: the sheet takes the room, the lists sit in a quiet glass rail beside it */
.work { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr) 390px; align-items: start; }
.stage { display: flex; flex-direction: column; gap: 14px; min-width: 0; animation: arrive 700ms cubic-bezier(.2, .9, .2, 1) both; }
.hint { margin: 0; font-size: 14.5px; color: var(--ink-soft); text-align: center; }
.mark { margin: 2px 0 0; text-align: center; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; font-size: 15px; color: var(--ink-soft); opacity: 0.8; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.hot { background: linear-gradient(120deg, var(--amber), var(--rose)); color: var(--signal-ink); border-color: transparent; font-weight: 800; }
.rail .btn { align-self: flex-start; }
/* The glass rail */
.rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  box-shadow: var(--lift); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.rail > .card { animation: settle 600ms cubic-bezier(.2, .8, .2, 1) both; }
.rail > .card:nth-child(1) { animation-delay: 120ms; }
.rail > .card:nth-child(2) { animation-delay: 190ms; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@keyframes settle { from { opacity: 0; transform: translateY(16px); } }
.card h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 0; display: flex; align-items: center; gap: 10px; }
.pill {
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: #FFFFFF; border-radius: 999px; padding: 2px 11px;
  background: linear-gradient(120deg, var(--violet), var(--rose)); font-variant-numeric: tabular-nums;
}
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
textarea, .field input, .field select {
  background: var(--field); border: 1px solid var(--glass-line); border-radius: 12px; color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
textarea { width: 100%; min-height: 250px; resize: vertical; padding: 12px 14px; border-radius: 14px; line-height: 1.45; }
textarea.small { min-height: 84px; }
textarea:focus-visible, .field input:focus-visible, .field select:focus-visible {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 28%, transparent);
}
.field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.field input, .field select { padding: 8px 10px; font-size: 17px; }
.field select option { background: var(--panel); color: var(--ink); }
.note { font-size: 14px; color: var(--ink-soft); margin: 0; }
.example-flag { font-size: 13px; color: var(--ink-soft); border: 1px dashed var(--glass-line); border-radius: 8px; padding: 5px 9px; margin: 0; }
.check { display: flex; gap: 9px; align-items: center; font-size: 15.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--violet); flex: none; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--field); border: 1px solid var(--glass-line); }
.seg button {
  flex: 1 1 0; min-width: 0; border: 0; background: none; border-radius: 10px; padding: 8px 8px; font-weight: 700; cursor: pointer; line-height: 1.2;
  transition: background 160ms ease;
}
.seg button[aria-pressed="true"] { background: linear-gradient(120deg, var(--violet), var(--rose)); color: #FFFFFF; }

.field input[type="text"] { width: 100%; }
.field > span { display: block; }
.btn.sure { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 22%, transparent); }
textarea:disabled, .seg button:disabled, .check input:disabled + span { opacity: 0.55; }
.seg button:disabled { cursor: default; }
.seg button { flex: 1 1 auto; white-space: nowrap; padding-inline: 6px; }
/* Text below the tool */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 32px; margin-top: 44px; }
.about h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: 19px; margin: 0 0 6px; text-wrap: balance; }
.about p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.guide { margin-top: 40px; max-width: 820px; }
.guide h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: 23px; margin: 30px 0 6px; text-wrap: balance; }
.guide h3 { font-size: 17px; margin: 18px 0 4px; }
.guide p, .guide li { color: var(--ink-soft); max-width: 70ch; }
.guide p { margin: 0 0 10px; }
.guide ol, .guide ul { margin: 0 0 10px; padding-left: 22px; }
.guide li { margin-bottom: 4px; }
.jobs { margin-top: 30px; }
.jobs h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 6px; }
.jobs p { margin: 0; line-height: 1.9; color: var(--ink-soft); }
.jobs a, .guide a, .foot a, .doc a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.foot { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--glass-line); color: var(--ink-soft); font-size: 14px; }

/* About, contact, privacy and terms */
.doc { max-width: 70ch; margin: 10px 0 0; }
.doc h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; margin: 10px 0 4px; }
.doc h2 { font-size: 20px; margin: 30px 0 6px; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-inline-start: 22px; }
.doc li { margin-bottom: 6px; }

.field.wide { width: 100%; }
.field.wide > span { color: var(--ink); font-weight: 700; }
.contact-form { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 560px; margin: 0 0 14px; }
.contact-form .field input, .contact-form textarea { font-size: 16px; color: var(--ink); }
.contact-form .field input { padding: 9px 12px; }
.contact-form textarea { min-height: 170px; }
.contact-form .cf-turnstile { min-height: 65px; max-width: 100%; }
.contact-form .btn { background: linear-gradient(120deg, var(--violet), var(--rose)); color: #FFFFFF; border-color: transparent; padding: 10px 20px; }
.contact-form .note { margin: 0; }
.contact-form .note.bad { color: var(--rose); }

.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); border-radius: 999px; padding: 10px 20px; box-shadow: var(--lift);
  font-size: 15px; font-weight: 600; z-index: 40; max-width: calc(100% - 32px); opacity: 0; pointer-events: none;
  transition: opacity 160ms ease;
}
.toast.show { opacity: 1; }

.burst { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

.pics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-soft); }
ol.plain { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 15px; }
ol.plain li { margin-bottom: 5px; }
.print-area { display: none; }


/* ---------- Chore Chart Generator's own parts ---------- */
.draw-acts { justify-content: center; align-items: center; }
.btn.big { padding: 14px 28px; font-size: 19px; border-radius: 16px; }
.btn.hot:hover { border-color: transparent; filter: brightness(1.06); }
/* a raffle that arrived in a link */
.beat {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px 10px 16px; border-radius: 16px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--amber) 26%, transparent), color-mix(in srgb, var(--rose) 22%, transparent));
  border: 1px solid color-mix(in srgb, var(--amber) 60%, transparent); font-weight: 700;
}
.beat span { flex: 1 1 240px; min-width: 0; }

/* Ads: two fixed spots, labelled, and invisible until Google fills them */
.ad { margin: 34px 0 0; text-align: center; min-width: 0; }
.ad-label { display: none; margin: 0 0 6px; font-size: 12px; color: var(--ink-soft); }
.ad:has(ins[data-ad-status="filled"]) .ad-label { display: block; }
.ad ins[data-ad-status="unfilled"] { display: none !important; }

/* The rail */
.card h2 .pill { margin-left: auto; white-space: nowrap; }
.rail textarea { min-height: 120px; font-size: 16px; }
.rail textarea.small { min-height: 104px; }
.rail .seg button { font-size: 15px; padding-inline: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.field input[type="date"] { width: 100%; color-scheme: dark; }
.field select { width: 100%; }
.odds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.odds li { position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 10px; padding: 6px 12px; border-radius: 10px; background: var(--field); font-size: 15px; }
.odds li i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--violet) 34%, transparent); border-radius: 10px; transition: width 300ms ease; }
.odds li span, .odds li b { position: relative; min-width: 0; }
.odds li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odds li b { flex: none; font-variant-numeric: tabular-nums; }
.fair { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin: 0; }
.fair svg { flex: none; color: var(--go); margin-top: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--glass-line); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { outline: 3px solid var(--focus); outline-offset: 2px; }

/* one chore: its name, who does it, and the days */
.chores { display: flex; flex-direction: column; gap: 8px; }
.ch { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 14px; background: var(--field); border: 1px solid var(--glass-line); min-width: 0; }
.ch-top, .ch-bot { display: flex; gap: 6px; align-items: center; min-width: 0; }
.ch input, .ch select {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-line); border-radius: 10px; color: var(--ink);
  padding: 7px 9px; font-size: 16px; min-width: 0;
}
.ch input:focus-visible, .ch select:focus-visible { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 28%, transparent); }
.ch-name { flex: 1 1 0; font-weight: 700; }
.ch-worth { flex: 0 0 64px; width: 64px; text-align: center; }
.ch-who { flex: 1 1 0; font-size: 15px !important; padding-inline: 6px !important; }
.ch select option { background: var(--panel); color: var(--ink); }
.chores.solo .ch-who { display: none; }
.chores.solo .ch-days { flex: 1 1 auto; justify-content: space-between; }
.ch-x {
  flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--ink-soft);
  display: grid; place-items: center; cursor: pointer;
}
.ch-x:hover { color: var(--stop); border-color: var(--glass-line); }
.ch-days { display: flex; gap: 3px; flex: none; }
.ch-day {
  width: 28px; height: 32px; padding: 0; border-radius: 8px; border: 1px solid var(--glass-line); background: none; color: var(--ink-soft);
  font-weight: 800; font-size: 13.5px; cursor: pointer; transition: background 140ms ease, color 140ms ease;
}
.ch-day[aria-pressed="true"] { background: linear-gradient(140deg, var(--violet), var(--rose)); color: #FFFFFF; border-color: transparent; }

/* chore ideas */
.ideas { border-top: 1px solid var(--glass-line); padding-top: 10px; }
.ideas summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); font-size: 17px; }
.ideas[open] summary { margin-bottom: 10px; }
.seg.wrap { flex-wrap: wrap; }
.seg.wrap button { flex: 1 1 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  border: 1px dashed var(--glass-line); background: none; color: var(--ink); border-radius: 999px; padding: 5px 12px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}
.chip::before { content: "+ "; color: var(--amber); font-weight: 800; }
.chip:hover { border-color: var(--amber); background: var(--glass); }
.chip.have { opacity: 0.45; cursor: default; border-style: solid; }
.chip.have::before { content: "✓ "; color: var(--go); }

/* the sheet of paper: the same sheet on the screen and on the printer */
.paper-wrap { display: flex; flex-direction: column; gap: 14px; }
.btn.second { padding: 14px 20px; font-size: 17px; border-radius: 16px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; color: var(--ink-soft); font-weight: 600; text-align: center; }
.pager .btn { padding: 6px 13px; font-size: 20px; line-height: 1; }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: inherit; }
.link.sure { color: var(--amber); font-weight: 700; }
.paper {
  background: #FFFFFF; color: #111111; border-radius: 10px; box-shadow: var(--lift), 0 0 0 1px rgba(255, 255, 255, 0.08); padding: 3.6%;
  width: 100%; margin: 0 auto; overflow: hidden; transition: aspect-ratio 300ms ease;
}
.paper.land { aspect-ratio: 11 / 8.5; }
.paper.port { aspect-ratio: 8.5 / 11; max-width: 620px; }

.cpage {
  container-type: inline-size; height: 100%; display: flex; flex-direction: column; color: #111111; font-family: var(--font-body); font-weight: 500;
  --tc: #1D4ED8; --pc: #333333; --k: 1; --cw: 23cqw; --rh: 8.5cqw; -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.cpage.each { --cw: 30cqw; }
.cpage.port { --k: 1.28; --cw: 26cqw; --rh: 11cqw; }
.cpage.port.each { --cw: 34cqw; }
.cp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2cqw; padding: 0 0 1.1cqw; border-bottom: 0.35cqw solid var(--tc); margin-bottom: 1.6cqw; min-height: calc(6.4cqw * var(--k)); }
.cp-title { font-family: var(--font-display); font-weight: 800; font-size: calc(4.2cqw * var(--k)); line-height: 1.05; letter-spacing: -0.02em; color: var(--tc); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-sub { font-size: calc(1.7cqw * var(--k)); font-weight: 700; color: #444444; text-align: right; flex: none; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-bottom: 0.3cqw; }
.cp-grid {
  display: grid; flex: 0 1 auto; min-height: 0; height: 100%; max-height: calc(4.4cqw * var(--k) + var(--rows) * var(--rh));
  grid-template-columns: var(--cw) repeat(7, minmax(0, 1fr)); grid-template-rows: auto repeat(var(--rows), minmax(0, 1fr));
  font-size: calc(var(--fs) * 1cqw); border-top: 1px solid #888888; border-left: 1px solid #888888;
}
.cp-grid.worth { grid-template-columns: var(--cw) repeat(7, minmax(0, 1fr)) 8cqw; }
.cp-grid > [role="row"] { display: contents; }
.cp-c {
  border: 0; border-right: 1px solid #888888; border-bottom: 1px solid #888888; border-radius: 0; margin: 0; background: #FFFFFF; color: #111111;
  min-width: 0; min-height: 0; overflow: hidden; display: flex; align-items: center; padding: 0 0.8cqw; font: inherit; text-align: left;
}
.cp-h { font-weight: 800; justify-content: center; text-align: center; flex-direction: column; padding: calc(0.8cqw * var(--k)) 0.3cqw; font-size: calc(1.5cqw * var(--k)); line-height: 1.15; }
.cp-h small { font-weight: 600; font-size: calc(1.15cqw * var(--k)); color: #555555; }
.cp-name { font-weight: 700; line-height: 1.15; }
.cp-name span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.cp-off { background: repeating-linear-gradient(135deg, #ECECEC 0 0.45cqw, #FFFFFF 0.45cqw 0.9cqw); }
.cp-worth { justify-content: center; font-weight: 700; white-space: nowrap; }
.cp-cell { cursor: pointer; gap: 0.6cqw; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cp-cell:focus-visible { outline: 0.3cqw solid var(--tc); outline-offset: -0.3cqw; }
.each .cp-cell { justify-content: center; }
.tint .cp-cell { background: color-mix(in srgb, var(--pc) 13%, #FFFFFF); }
.tint .cp-who { color: color-mix(in srgb, var(--pc) 82%, #000000); }
.cp-box { flex: none; width: 1.3em; height: 1.3em; max-height: 86%; aspect-ratio: 1; border: 0.1em solid #333333; border-radius: 0.2em; display: grid; place-items: center; background: #FFFFFF; }
.cp-box svg { width: 100%; height: 100%; fill: none; stroke: #111111; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.ticked .cp-box svg { opacity: 1; animation: tickin 260ms cubic-bezier(.2, 1.5, .3, 1); }
.each .cp-box { font-size: 1.55em; }
.mark-star .cp-box { border: 0; background: none; width: 1.6em; height: 1.6em; }
.mark-star .cp-box svg { opacity: 1; stroke: #333333; stroke-width: 1.5; }
.mark-star .ticked .cp-box svg { fill: #F5B301; stroke: #B77900; }
@keyframes tickin { from { transform: scale(0.3); opacity: 0; } }
.cp-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.ticked .cp-who { opacity: 0.55; text-decoration: line-through; }
.cp-none { grid-column: 1 / -1; padding: 4cqw 2cqw; text-align: center; color: #666666; font-size: 2cqw; border-right: 1px solid #888888; border-bottom: 1px solid #888888; }
.cp-foot { margin-top: auto; padding-top: 1.2cqw; display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; }
.cp-reward { font-size: calc(1.8cqw * var(--k)); font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-mark { font-family: var(--font-display); font-size: calc(1.35cqw * var(--k)); font-weight: 700; color: #777777; white-space: nowrap; margin-left: auto; }

/* Bold: a band of color across the top */
.look-bold .cp-head { background: var(--tc); border: 0; border-radius: 1cqw; padding: 1.3cqw 2cqw; align-items: center; }
.look-bold .cp-title, .look-bold .cp-sub { color: #FFFFFF; }
.look-bold .cp-sub { padding: 0; }
.look-bold .cp-h { background: color-mix(in srgb, var(--tc) 16%, #FFFFFF); }

/* Playful: every box is its own rounded tile */
.look-fun .cp-head { border-bottom-style: dashed; }
.look-fun .cp-title::before { content: "★ "; color: #F5B301; }
.look-fun .cp-grid { gap: 0.45cqw; border: 0; }
.look-fun .cp-c { border: 0.18cqw solid color-mix(in srgb, var(--tc) 45%, #FFFFFF); border-radius: 0.9cqw; }
.look-fun .cp-h { background: color-mix(in srgb, var(--tc) 12%, #FFFFFF); }
.look-fun .cp-name { background: color-mix(in srgb, var(--tc) 7%, #FFFFFF); }
.look-fun .cp-off { background: #EFEFEF; border-color: #E2E2E2; }
.look-fun .cp-none { border: 0; }

@media (max-width: 1100px) {
  .work { grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; }
}
@media (max-width: 900px) {
  .shell { padding: 0 16px 48px; }
  .work { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .head { padding-bottom: 12px; }
  .head p { font-size: 16px; }
  .paper { padding: 3%; border-radius: 8px; }
}
@media (max-width: 600px) {
  .top { gap: 10px 12px; padding: 14px 0 10px; }
  .brand { font-size: 19px; }
  .modes { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .modes::-webkit-scrollbar { display: none; }
  .modes a { flex: 1 0 auto; text-align: center; padding: 7px 9px; font-size: 14.5px; white-space: nowrap; }
  .top-tools { gap: 6px; }
  .top-tools .btn { padding: 7px 10px; font-size: 14px; }
  .head h1 { font-size: 30px; }
  .spread .btn span { display: none; }
  .spread .btn { padding: 9px 11px; }
  .acts .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
  .draw-acts .btn.big { flex: 1 1 100%; }
  .ch-day { width: 30px; height: 36px; }
  .ch-x { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .stage, .rail > .card, .ticked .cp-box svg { animation: none !important; }
  .btn, .paper, .odds li i { transition: none; }
}
@page { margin: 0.4in; }
@media print {
  :root { color-scheme: light; }
  html, body { background: #FFFFFF; color: #000000; }
  body::before, body::after, .toast, .burst { display: none !important; }
  body.printing .shell { display: none !important; }
  body.printing .print-area { display: block; }
  .ad { display: none !important; }
  .print-area .cpage { height: 7.3in; break-after: page; page-break-after: always; break-inside: avoid; overflow: hidden; }
  .print-area .cpage.port { height: 9.75in; }
  .print-area .cpage:last-child { break-after: auto; page-break-after: auto; }
  .print-area .ticked .cp-box svg { animation: none; }
}
