/* The dark corner closes every public page. */
.bout-footer { --footer-line: color-mix(in srgb, var(--card) 14%, transparent); display: block; padding: 48px var(--bout-inset) max(32px, env(safe-area-inset-bottom)); background: #0d1512; color: var(--card); border: 0; }
.bout-footer > div { font-family: var(--font-body); font-size: 15px; gap: 0; }
.bout-footer .bout-footer__top { display: flex; justify-content: space-between; align-items: start; gap: 40px; padding-bottom: 32px; }
.bout-footer__brand { display: grid; gap: 8px; }
.bout-footer .bout-footer__name { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font: 500 32px/1 var(--font-display); }
.bout-footer__name svg { width: 40px; height: 40px; }
.bout-footer__brand p { font: 400 16px/1.5 var(--font-body); }
.bout-footer .bout-footer__links { display: grid; grid-template-columns: repeat(4, minmax(12ch, 1fr)); gap: 32px; border-block: 1px solid var(--footer-line); padding-block: 32px; }
.bout-footer__group { min-width: 0; }
.bout-footer__group h2, .bout-footer__label { display: block; margin-bottom: 12px; font: 400 12px/1.5 var(--font-mono); letter-spacing: .04em; }
.bout-footer a, .bout-footer button { position: relative; display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; min-height: 44px; min-width: 44px; padding-block: 8px; color: var(--card); font: 400 15px/1.5 var(--font-body); text-decoration: none; overflow-wrap: anywhere; }
.bout-footer a::after { content: ''; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--bc-ease); }
.bout-footer a:hover { color: var(--card); text-decoration: none; }
.bout-footer a:hover::after { transform: scaleX(1); }
.bout-footer a:focus-visible, .bout-footer button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.bout-footer__group svg { flex: none; }
.bout-footer .bout-footer__bottom { display: flex; justify-content: space-between; align-items: start; gap: 32px; padding-top: 28px; }
.bout-footer__bottom p { margin: 0 0 8px; max-width: 68ch; font: 400 13px/1.6 var(--font-body); }
.bout-footer__bottom [data-launch-status] { font-size: 15px; }
.bout-footer .bout-footer__back, .bout-footer button { border: 1px solid var(--footer-line); background: transparent; padding: 8px 16px; flex: none; }
.bout-footer__address { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bout-footer__address code { font: 400 14px/1.6 var(--font-mono); white-space: nowrap; }
.bout-footer__actions { display: flex; flex-wrap: wrap; gap: 24px; }
.bout-footer [hidden] { display: none !important; }
/* Equal opposing halves and three quiet status rows. */
.bout-rulebook { padding-bottom: 0; }
.bout-rulebook .bout-rule-row { grid-template-columns: 64px minmax(12ch, 1fr); gap: 24px; padding-block: 16px; background: transparent; }
.bout-rule-row .bout-diagram { width: 56px; height: 56px; }
.bout-rulebook .bc-summary h3 { font: 500 22px/1.35 var(--font-body); }
.bout-rulebook .bc-answer { font: 400 17px/1.65 var(--font-body); }
.bout-publication { margin-top: 96px; padding: 0; gap: 0; align-items: stretch; }
.bout-publication > div { padding: 48px var(--bout-inset); align-content: start; gap: 24px; min-width: 0; }
.bout-publication > div:first-child { background: var(--band); }
.bout-publication > div:last-child { background: #0d1512; }
.bout-publication h2 { font-size: clamp(32px, 3.6vw, 52px); }
.bout-publication h3 { font: 500 24px/1.3 var(--font-body); }
.bout-publication .bout-publication-reads { display: block; width: 100%; }
.bout-publication-reads > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-top: 1px solid color-mix(in srgb, var(--card) 14%, transparent); }
.bout-publication-reads dt, .bout-publication-reads dd { margin: 0; font: 400 16px/1.5 var(--font-body); }
.bout-publication-reads dd { text-align: right; }
@media (max-width: 1023px) {
 .bout-footer .bout-footer__top { flex-direction: column; }
}
@media (max-width: 767px) {
 .bout-footer { padding: 32px 16px max(32px, env(safe-area-inset-bottom)); }
 .bout-footer .bout-footer__links { grid-template-columns: repeat(2, minmax(12ch, 1fr)); gap: 28px 20px; }
 .bout-footer .bout-footer__bottom { flex-direction: column; gap: 20px; }
 .bout-footer__address { align-items: start; }
 .bout-footer__address code { white-space: normal; }
 .bout-footer__address code span { display: block; white-space: nowrap; }
 .bout-publication { grid-template-columns: minmax(12ch, 1fr); grid-auto-rows: 1fr; }
 .bout-publication > div { padding: 32px 16px; }
 .bout-rulebook .bout-rule-row { display: block; }
}
@media (prefers-reduced-motion: reduce) { .bout-footer a::after { transition: none; } }
