.roll { width: min(560px, 100%); min-height: 100dvh; margin: 0 auto; padding: calc(var(--top) + 32px) 16px calc(var(--bot) + 48px); display: grid; gap: 16px; align-content: center; text-align: center; }
.roll h1 { font-size: 22px; margin: 0; }
.roll input:not([type=file]) { border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: var(--panel); font-family: var(--mono); font-size: 15px; }
.roll form { display: grid; gap: 12px; }
.steps { display: grid; gap: 6px; }
.step { display: flex; gap: 8px; align-items: baseline; }
.step i { font-style: normal; width: 1.2em; color: var(--muted); }
.step.on i { color: var(--warn); }
.step.ok i { color: var(--ok); }
.progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress b { display: block; height: 100%; background: var(--ink); transition: width .3s; }
.rdbg { position: fixed; left: 0; right: 0; bottom: 0; background: var(--bg); padding: 8px 16px calc(var(--bot) + 8px); text-align: center; font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: pre-wrap; word-break: break-word; }
.rdbg button { text-decoration: underline; }
.debrief { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 24px; display: grid; gap: 10px; font-family: Georgia, "Times New Roman", serif; }
.debrief h1 { font-size: 24px; font-weight: 400; }
.debrief .mission { font-style: italic; font-size: 14px; }
.debrief hr { border: 0; border-top: 1px solid var(--ink); margin: 2px 0 6px; width: 100%; }
.debrief .reflections { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-size: 14px; }
.debrief .reflections p { margin: 0; }
@media (max-width: 520px) { .debrief .reflections { grid-template-columns: 1fr; } }
/* Daily Mission screens (FigJam "Daily Mission", 19 Nov 2026): blue pills, two tiles, serif statements. */
.roll { --blue: #5eacf6; --blue-soft: #cde5fb; }
.serial label { font-size: 14px; }
.serial input#serial { width: 160px; justify-self: center; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: none; text-align: center; letter-spacing: 0.2em; }
.pill { justify-self: center; min-width: 120px; padding: 8px 24px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 15px; }
.pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pills .pill { min-width: 150px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { aspect-ratio: 1; border-radius: 18px; background: var(--blue); color: #fff; font-size: 15px; border: 1px solid var(--blue); }
.tile.light { background: var(--blue-soft); color: var(--ink); border-color: #a9cdf0; }
.kicker { color: var(--blue); font-size: 15px; }
.statement { margin: 8px 0 24px; font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(30px, 7vw, 44px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.vibe { margin: 8px auto 24px; max-width: 34em; font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.35; text-wrap: pretty; }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 2 / 1; } }
.connect { justify-self: center; font-size: 15px; cursor: pointer; }
.pick { justify-self: center; cursor: pointer; }
.dots { display: grid; gap: 8px; justify-content: center; margin: 0 auto; }
.dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft); transition: background .3s; }
.dots i.on { background: var(--blue); }
/* Phone camera (/phone/): the /m/ camera screen with a shot counter. */
.cam .topbar .shotx, .cam .topbar .shotn { background: rgba(0, 0, 0, 0.5); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-variant-numeric: tabular-nums; }
.cam .bottombar { bottom: calc(var(--bot) + 28px); }
/* Summary after the observations: cards like the old /m/ portrait. */
.summary { display: grid; gap: 10px; text-align: left; }
.summary .card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; }
.summary .card p { margin: 0; font: 18px/1.35 Georgia, serif; }
.summary .kicker { font-size: 12px; font-weight: 600; color: var(--ink); }
/* Busy dots: the next one blinks, a wave when all are full. */
@keyframes dotblink { 50% { background: var(--blue); } }
@keyframes dotwave { 0%, 60%, 100% { opacity: 1; } 30% { opacity: 0.25; } }
.dots i.next { animation: dotblink 1s ease-in-out infinite; }
.dots.wave i { animation: dotwave 2s ease-in-out infinite; animation-delay: calc(var(--i) * 70ms); }
@media (prefers-reduced-motion: reduce) { .dots i.next, .dots.wave i { animation-duration: 3s; } }
/* Phone recorder (/phone/recorder/): Upload next to the record button. */
.cam .bottombar .upl { background: #fff; color: #000; border-radius: 8px; padding: 10px 22px; font-weight: 600; }
.cam .topbar .shotx.armed { background: var(--bad); }
