/* avatarbly.com: the BothChairs vibe (big type, labels, hard offset shadows on UI, a dark live panel) in Avatarbly's
   brand (Brand Essentials v1.0, Oct 2026): Periwinkle #8183F5, Ink #202238, Cloud #F4F3FF, White; Inter.
   Rules kept: no white body text on periwinkle (ink on periwinkle); no outlines, shadows or effects on the logo. */
:root {
  --bg: #F4F3FF;              /* Cloud */
  --paper: #FFFFFF;           /* White */
  --ink: #202238;             /* Ink */
  --muted: #62657A;          /* Muted (brand pack) */
  --hair: #d9d8ee;
  --night: #202238;           /* Ink, for the live panel */
  --night-line: #2c2f4a;
  --accent: #8183F5;          /* Periwinkle */
  --accent-ink: #202238;      /* ink text on periwinkle, per the guide */
  --accent-soft: #e4e4fd;
  --ok: #2b7a3f;
  --d: "Inter", Arial, system-ui, sans-serif;
  --m: "Inter", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #202238; --paper: #2a2d4a; --ink: #F4F3FF; --muted: #b3b4d6; --hair: #34375a; --accent-soft: #2e2f5c; --night: #111226; --night-line: #23254a; }
}
:root[data-theme="dark"] { --bg: #202238; --paper: #2a2d4a; --ink: #F4F3FF; --muted: #b3b4d6; --hair: #34375a; --accent-soft: #2e2f5c; --night: #111226; --night-line: #23254a; }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--d); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.mono { font-family: var(--m); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* header */
header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 2px solid var(--ink); }
.logo { display: block; line-height: 0; }
.logo img { height: 62px; width: auto; }   /* the horizontal logo stays at least 220 px wide (brand guide) */
nav { display: flex; align-items: center; }
nav a.link { text-decoration: none; padding: 6px 12px; border-left: 1px solid var(--hair); }
nav a.link:first-child { border-left: 0; }
.btn { display: inline-block; font: 700 14px/1 var(--d); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--bg); border: 0; padding: 14px 18px; box-shadow: 5px 5px 0 var(--accent); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--accent); }
.btn.hot { background: var(--accent); color: var(--accent-ink); box-shadow: 5px 5px 0 var(--ink); }
.btn.hot:hover { box-shadow: 7px 7px 0 var(--ink); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

/* hero */
.hero { padding: 40px 0 26px; }
.hero h1 { font: 800 clamp(40px, 8vw, 104px)/.88 var(--d); letter-spacing: -.045em; text-transform: uppercase; margin: 0; }
.hero h1 em { display: block; font-style: italic; color: var(--accent); }
.hero .under { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.hero p { max-width: 36em; margin: 0; font-size: 18px; }
.hero p mark { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); color: inherit; }

/* the live panel */
.live { position: relative; background: var(--night); color: #F4F3FF; margin: 26px 0 8px; box-shadow: 10px 10px 0 var(--accent); min-height: 460px;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 48px 48px; overflow: hidden; }
.live .bar { display: flex; justify-content: space-between; padding: 14px 16px 0; color: #a9abd8; }
.live .bar b { color: var(--accent); font-weight: 500; }
.live .ticks { display: flex; gap: 6px; padding: 8px 16px 0; }
.live .ticks i { flex: 1; height: 2px; background: #34375a; }
.live .ticks i.on { background: var(--accent); }
.live .stage { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 28px; align-items: center; padding: 32px 28px 90px; }
.face { aspect-ratio: 3/4; background: #2a2d4a; border: 1px solid #3b3f63; position: relative; display: grid; place-items: center; }
.face { overflow: hidden; }
.face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; scale: 1.75; transform-origin: 50% 6%; animation: breathe 4.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateY(-1.5px); } }
.face.talk img { animation: breathe 4.2s ease-in-out infinite, nod 1.4s ease-in-out infinite; }
@keyframes nod { 50% { translate: 0 2px; } }
.cta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cta .mono { color: var(--muted); } .cta .mono a { color: var(--ink); }
.face .tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; color: #F4F3FF; background: linear-gradient(transparent, rgba(32,34,56,.85)); }
.card { background: #FFFFFF; color: #202238; padding: 18px 20px; box-shadow: 8px 8px 0 var(--accent); max-width: 520px;
  transform: translateY(8px); opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.card.in { transform: none; opacity: 1; }
.card .k { color: #5b5d78; margin-bottom: 8px; }
.card .t { font: 700 clamp(22px, 3vw, 32px)/1.1 var(--d); letter-spacing: -.02em; }
.card .s { font-size: 14px; color: #5b5d78; margin-top: 10px; }
.say { position: absolute; left: 28px; right: 28px; bottom: 26px; font-size: clamp(18px, 2.4vw, 24px); min-height: 1.5em; }
.say::after { content: "▍"; color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* sections */
section { padding: 56px 0 8px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 0; }
.head h2 { font: 800 clamp(36px, 6.5vw, 80px)/.9 var(--d); letter-spacing: -.03em; text-transform: uppercase; margin: 0; }
.head h2 span { color: var(--accent); }
.head .mono { color: var(--muted); white-space: nowrap; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--hair); transition: background .2s var(--ease), padding .2s var(--ease); }
.rows li:hover { background: var(--accent-soft); padding-left: 12px; padding-right: 12px; }
.rows .n { color: var(--muted); }
.rows .w { font: 600 clamp(20px, 2.6vw, 28px)/1.2 var(--d); letter-spacing: -.015em; }
.rows .w small { display: block; font: 400 15px/1.45 var(--d); color: var(--muted); margin-top: 4px; letter-spacing: 0; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.rows li:hover .w small, .rows li.open .w small { max-height: 6em; }
.rows .r { color: var(--muted); text-align: right; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--hair); }
.steps div { padding: 22px 18px 26px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.steps .big { font: 800 64px/1 var(--d); color: var(--accent); }
.steps h3 { font: 700 22px/1.15 var(--d); margin: 10px 0 6px; text-transform: uppercase; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 26px; }
.plan { background: var(--paper); border: 2px solid var(--ink); padding: 22px; display: flex; flex-direction: column; box-shadow: 8px 8px 0 var(--ink); }
.plan.pick { box-shadow: 8px 8px 0 var(--accent); }
.plan h3 { font: 800 30px/1 var(--d); text-transform: uppercase; margin: 6px 0 0; }
.plan .price { font: 800 46px/1 var(--d); margin: 14px 0 4px; letter-spacing: -.03em; }
.plan .price small { font: 500 15px var(--m); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.plan li { padding: 8px 0; border-top: 1px solid var(--hair); }
.plan .btn { text-align: center; }
.plan .never { font-size: 14px; color: var(--muted); margin: -8px 0 18px; }

.rules { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--hair); }
.rules div { padding: 22px 18px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font: 700 20px/1.2 var(--d); }
.rules div .mono { display: block; color: var(--accent); margin-bottom: 10px; }

details { border-bottom: 1px solid var(--hair); padding: 16px 0; }
summary { font: 600 20px/1.3 var(--d); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-family: var(--m); color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 46em; }

.final { text-align: center; padding: 80px 0 40px; }
.final h2 { font: 800 clamp(44px, 9vw, 120px)/.88 var(--d); text-transform: uppercase; letter-spacing: -.035em; margin: 0 0 28px; }
.final h2 em { color: var(--accent); }
footer { border-top: 2px solid var(--ink); padding: 18px 0 40px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }

/* meet a few */
.meet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: 26px; }
.meet figure { margin: 0; background: var(--paper); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.meet figure:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--accent); }
.meet img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; display: block; border-bottom: 2px solid var(--ink); background: #faf6ec; }
.meet figcaption { padding: 14px 16px 18px; display: grid; gap: 4px; }
.meet b { font: 800 24px/1.1 var(--d); letter-spacing: -.02em; text-transform: uppercase; }
.meet .mono { color: var(--muted); }
.meet q { margin-top: 6px; font-size: 16px; }
/* the cards flip (Jeremy, 2026-10-16): the front is the avatar and a line; the back is About <name>, the plan, and how it works with them */
.meet .card3d { position: relative; perspective: 1200px; cursor: pointer; background: transparent; border: 0; box-shadow: none; }
.meet .card3d:hover { transform: none; box-shadow: none; }
.meet .card3d .front, .meet .card3d .back { background: var(--paper); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); backface-visibility: hidden; transition: transform .5s var(--ease), box-shadow .2s var(--ease); }
.meet .card3d .front { display: flex; flex-direction: column; }
.meet .card3d:hover .front, .meet .card3d:hover .back { box-shadow: 11px 11px 0 var(--accent); }
.meet .card3d .back { position: absolute; inset: 0; transform: rotateY(180deg); padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; overflow: auto; }
.meet .card3d.flipped .front { transform: rotateY(180deg); }
.meet .card3d.flipped .back { transform: rotateY(0); }
.meet .back ul { margin: 2px 0 0; padding-left: 18px; font-size: 15px; line-height: 1.4; display: grid; gap: 6px; }
.meet .back .tier { color: var(--accent); font-weight: 600; }
.meet .learn { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.meet .back .learn { margin-top: auto; }
.meet .card3d:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .meet .card3d .front, .meet .card3d .back { transition: none; } }

/* company pages */
.hero.doc { padding: 46px 0 10px; border-bottom: 2px solid var(--ink); }
.hero.doc h1 { font-size: clamp(40px, 7vw, 92px); }
.kicker { display: block; color: var(--muted); margin-bottom: 14px; }
article.doc { max-width: 760px; padding: 26px 0 30px; }
article.doc h2 { font: 800 28px/1.15 var(--d); letter-spacing: -.02em; text-transform: uppercase; margin: 38px 0 10px; }
article.doc p, article.doc li { font-size: 18px; }
article.doc .lead { font-size: 22px; line-height: 1.45; }
article.doc a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
article.doc .rules { margin: 14px 0; }
.ticks { padding-left: 0; list-style: none; }
.ticks li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--hair); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 12px; background: var(--accent); }
.note { background: var(--accent-soft); padding: 10px 14px; border-left: 4px solid var(--accent); }
blockquote { margin: 10px 0; padding: 18px 20px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--accent); font-size: 18px; }
.kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kit figure { margin: 0; }
.kit .swatch { height: 140px; display: grid; place-items: center; border: 2px solid var(--ink); padding: 20px; }
.kit .swatch img { max-width: 100%; max-height: 70px; }
.kit .light { background: #F4F3FF; } .kit .dark { background: #202238; }
.kit figcaption { margin-top: 8px; }
.colors { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); }
.colors div { padding: 34px 14px 14px; font-weight: 700; border-right: 1px solid var(--hair); }
footer.big { display: block; border-top: 2px solid var(--ink); margin-top: 60px; padding: 34px 0 40px; color: var(--ink); }
footer.big .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
footer.big .cols div { display: flex; flex-direction: column; gap: 8px; }
footer.big .cols .mono { color: var(--muted); margin-bottom: 4px; }
footer.big .cols a { text-decoration: none; }
footer.big .cols a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
footer.big .cols p { margin: 4px 0 0; color: var(--muted); }
footer.big .logo img { height: 52px; }
footer.big .legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); border-top: 1px solid var(--hair); margin-top: 28px; padding-top: 16px; }

/* cart */
.cart .kicker { display: block; color: var(--muted); margin-bottom: 10px; }
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); margin-bottom: 18px; }
.tabs2 button { font: 700 14px/1 var(--d); text-transform: uppercase; letter-spacing: .04em; padding: 12px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.tabs2 button.on { background: var(--accent); color: var(--accent-ink); }
.cart .line { display: flex; justify-content: space-between; font: 800 28px/1.1 var(--d); letter-spacing: -.02em; text-transform: uppercase; }
.cart #pper { color: var(--muted); margin: 6px 0 4px; }
.row2 { display: flex; gap: 10px; }
.row2 input { flex: 1; text-transform: uppercase; letter-spacing: .06em; }
.row2 .btn { white-space: nowrap; }
.cart .soon { color: var(--muted); text-align: center; margin-top: 12px; }

/* sign-in and account */
.panel { max-width: 460px; margin: 48px auto; background: var(--paper); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); padding: 28px; }
.panel h1 { font: 800 44px/.95 var(--d); text-transform: uppercase; letter-spacing: -.03em; margin: 0 0 10px; }
.panel p { color: var(--muted); }
label { display: block; margin: 18px 0 6px; }
input[type=email], input[type=text], input[type=password] { width: 100%; padding: 14px; border: 2px solid var(--ink); border-radius: 0; background: var(--bg); color: var(--ink); font: 17px var(--d); }
input:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.full { width: 100%; text-align: center; margin-top: 18px; }
.msg { margin-top: 16px; font-size: 15px; }
.err { color: #c0392b; }
.ok { color: var(--ok); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 22px 0; }
.kv div:nth-child(odd) { font-family: var(--m); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.danger { margin-top: 26px; border-top: 1px solid var(--hair); border-bottom: 0; }
.danger summary { color: #c0392b; font-size: 16px; }

@media (max-width: 1100px) and (min-width: 901px) {
  .meet { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .meet { grid-template-columns: repeat(8, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 10px 14px 0; }
  .meet figure { scroll-snap-align: start; }
  .steps, .rules { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .live .stage { grid-template-columns: 1fr; padding: 22px 18px 96px; gap: 18px; }
  .face { max-width: 220px; aspect-ratio: 4/5; }
  .cta { align-items: flex-start; }
}
@media (max-width: 560px) {
  footer.big .cols { grid-template-columns: 1fr 1fr; }
  footer.big .cols div:first-child { grid-column: 1 / -1; }
  .kit, .colors { grid-template-columns: 1fr 1fr; }
  .logo img { height: 56px; }   /* 220 px wide, the brand minimum */
  nav a.link { display: none; }
  .steps, .rules { grid-template-columns: 1fr; }
  .rows li { grid-template-columns: 34px 1fr; }
  .rows .r { grid-column: 2; text-align: left; }
  .head { flex-wrap: wrap; }
  .live { min-height: 520px; box-shadow: 6px 6px 0 var(--accent); }
  .say { left: 18px; right: 18px; }
  .panel { margin: 20px auto; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .face img { animation: none !important; } .card, .rows li, .btn { transition: none; } .say::after { animation: none; } }

/* account: embed keys */
.embed { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hair); }
.embed h2 { font-size: 20px; margin: 0 0 6px; }
.embed .ekey { border: 1px solid var(--hair); border-radius: 12px; padding: 12px; margin: 12px 0; }
.embed .ekey .line { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.embed .ekey p.mono { margin: 4px 0 8px; font-size: 12px; overflow-wrap: anywhere; }
.embed textarea, .embed select { width: 100%; box-sizing: border-box; font: 12px/1.4 ui-monospace, Menlo, monospace; padding: 8px; border-radius: 8px; border: 1px solid var(--hair); background: transparent; color: inherit; }
.embed details > summary { list-style: none; cursor: pointer; margin-top: 8px; }
.embed details > summary::-webkit-details-marker { display: none; }
.embed .hint { font-size: 12px; margin: 4px 0 10px; }
.embed button.link { background: none; border: 0; cursor: pointer; color: inherit; text-decoration: underline; }

/* developers: code */
.doc pre { background: var(--paper); border: 1px solid var(--hair); border-radius: 12px; padding: 14px; overflow-x: auto; font: 13px/1.5 ui-monospace, Menlo, monospace; }
.doc code { font: 0.9em ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
.doc pre code { overflow-wrap: normal; }

/* developers: price table */
.ptable { border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; }
.ptable > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 14px; border-top: 1px solid var(--hair); font-size: 14px; }
.ptable > div:first-child { border-top: 0; }
.ptable .mono { font-size: 11px; }
@media (min-width: 700px) { .ptable > div { grid-template-columns: 1.4fr .8fr 1.6fr; align-items: baseline; } }

/* developers console: top-up buttons wrap on a phone */
#dtop { flex-wrap: wrap; }
#dtop .btn { flex: 1 1 64px; padding-left: 8px; padding-right: 8px; }

/* home: the developer section near the top; the Developer page's price list */
.devmode { display: grid; gap: 14px; align-items: center; margin: 28px 0 8px; padding: 22px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 8px 8px 0 var(--accent, #8183F5); }
.devmode h2 { margin: 6px 0 8px; }
.devmode p { margin: 0; }
@media (min-width: 760px) { .devmode { grid-template-columns: 1fr auto; } }
.ptable.dev > div { grid-template-columns: 1fr; }
@media (min-width: 700px) { .ptable.dev > div { grid-template-columns: 1.1fr 2fr 1fr; } .ptable.dev .hint { grid-column: 3; } }
.doc .cta .btn { margin: 4px 8px 4px 0; }
.doc .cta a.btn { color: var(--bg); text-decoration: none; }
.doc .cta a.btn.hot { color: var(--accent-ink); }

/* plan cards: features not live yet */
.soon { display: inline-block; margin-left: 6px; padding: 2px 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--hair); border-radius: 99px; color: var(--muted); vertical-align: middle; }

/* home: Mary, the sample avatar */
/* the top row: the day panel on the left, Mary on the right with her text above her (Jeremy, 2026-10-16: the whitespace at the top) */
/* one heading over the row; then the day panel and the developer block on the left, Mary on the right; both columns the
   same height, so the row has clean lines top and bottom (Jeremy, 2026-10-16) */
/* The top row (Jeremy, 2026-10-16: "avoid whitespace ... the text aligns with 'A day with' and the tops and bottoms of each
   section are aligned"): headings side by side on one row, the day panel and Mary's frame side by side on the next, so
   their tops and bottoms meet the same lines; the developer block runs the full width under both. Phones: one column. */
.toprow { display: grid; gap: 22px 28px; margin: 30px 0 8px; grid-template-areas: "dh" "lv" "st" "fr"; }
.toprow .dayhead { grid-area: dh; }
.toprow .live { grid-area: lv; margin: 0; min-width: 0; }
.toprow .sample-text { grid-area: st; text-align: left; max-width: none; }
.toprow .sample-frame { grid-area: fr; }
.dayhead h2, .toprow .sample-text h2 { margin: 6px 0 8px; }
.dayhead p, .toprow .sample-text p { margin: 0; max-width: 46em; }
.toprow + .devmode { margin-top: 36px; }
@media (min-width: 900px) {
  .toprow { grid-template-columns: minmax(0, 1fr) 372px; grid-template-areas: "dh st" "lv fr"; align-items: stretch; }
  .dayhead h2, .toprow .sample-text h2 { font-size: clamp(28px, 3.2vw, 40px); }
  .toprow .sample-frame { max-width: none; justify-self: stretch; }
  .toprow .live { display: flex; flex-direction: column; }   /* the panel is as tall as Mary's frame: its scene sits in the middle, not at the top */
  .toprow .live .stage { flex: 1 1 auto; align-content: center; }
}
.sample { display: grid; gap: 14px; align-content: start; justify-items: center; margin: 0; }
.sample-text { text-align: center; max-width: 360px; }
.sample h2 { margin: 6px 0 8px; }
.sample-frame { width: 100%; max-width: 360px; height: 780px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 8px 8px 0 var(--accent); justify-self: center; }
@media (min-width: 900px) { .toprow { grid-template-columns: minmax(0, 1fr) 372px; } .sample-text { text-align: left; } .sample { justify-items: start; } }

/* sign-in and registration (auth.py) */
.panel .fine { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 8px 0 0; }
.panel .fine a { color: var(--ink); }
