/* SETTINGS AND YOUR ACCOUNT (account/account.js): the header's one button, and its menu */
/* (the Site Bible and color mode buttons it replaces stay on the page for the code that uses them,
   out of sight: their settings are in the menu) */
#site-header #site-mode-toggle, #site-header .bv-btn[data-bv-open] { display: none !important; }
.me-btn { margin-left: auto; gap: 8px; }
.me-btn > svg { width: 18px; height: 18px; flex: none; }
/* (a phone: the header's right, Search, Share, the flag, and Me, beside the logo on one row: Me says your first name, and
   only as much as there's room for, ending in "…"; on the narrowest, your picture alone. From the owner, of the header
   once Search was in it: "The user account button is cut off on the right of the screen") */
@media (max-width: 430px) {
  #site-me { flex: 0 1 auto; min-width: 0; }
  #site-me .bv-lbl { min-width: 0; overflow: hidden; }
  #site-me .bv-lbl > * { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #site-me .me-rest { display: none; }
}
@media (max-width: 380px) { #site-me .bv-lbl { display: none; } #site-me { padding-right: 7px; } }
.me-av { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #fff; font: 800 12px var(--sans); }
.me-av.is-big { width: 42px; height: 42px; font-size: 18px; }

.me-pop { position: fixed; z-index: 2147483070; width: min(380px, calc(100vw - 20px)); max-height: 78vh; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--rule); border-radius: 20px; background: var(--bg-raised); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(20, 16, 12, 0.45); opacity: 0; transform: translateY(-6px); transform-origin: top right; transition: opacity 0.16s ease, transform 0.18s ease; font-family: var(--sans); }
.me-pop.open { opacity: 1; transform: none; }
.me-pop[hidden] { display: none; }
/* (the page under it stays put while the menu is open: on a phone, a swipe on a menu with nothing to scroll moved the page) */
html.me-open, html.me-open body { overflow: hidden; }
.me-in { padding: 16px; }
.me-in h3 { margin: 4px 0 8px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; }
.me-sub { margin: 0 0 12px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
small.me-sub { display: block; margin: -4px 2px 12px; font-size: 12.5px; } /* (under a field: what it takes) */
.me-fine { display: block; margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.me-err { margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, #E4574E 12%, transparent); color: #B33A32; font-size: 13.5px; }
body.site-dark .me-err { color: #F2A29C; }

/* your account: signed out, what changes at a glance; signed in, you */
.me-acct { display: block; width: 100%; margin: 0 0 14px; padding: 12px; border: 1px solid var(--rule); border-radius: 16px; background: var(--bg); text-align: left; color: var(--ink); font: inherit; }
.me-acct.is-in { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.me-acct.is-in > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.me-acct.is-in b { font-size: 16px; }
.me-acct.is-in small { font-size: 12.5px; color: var(--muted); }
.me-go { font-size: 22px; color: var(--muted); }
.me-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.me-two > button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px; border: 1px solid transparent; border-radius: 12px; background: var(--bg-raised); font: inherit; font-size: 12.5px; line-height: 1.35; color: var(--muted); text-align: left; cursor: pointer; }
.me-two > button:hover { border-color: var(--rule); }
.me-two em { margin-top: auto; padding-top: 4px; font-style: normal; font-weight: 700; color: var(--gold); }
.me-two > button.is-acct { background: color-mix(in srgb, var(--gold) 12%, var(--bg-raised)); }
.me-two b { color: var(--ink); font-size: 13.5px; }
.me-two-ic svg { width: 20px; height: 20px; color: var(--gold); }
.me-row2 { display: flex; gap: 8px; }
.me-primary, .me-soft { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font: 700 14px var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.me-primary { border: none; background: var(--gold); color: #fff; }
.me-soft { border: 1px solid var(--rule); background: var(--bg-raised); color: var(--ink); }
.me-primary svg, .me-soft svg { width: 18px; height: 18px; }
.me-primary:disabled, .me-soft:disabled { opacity: 0.6; cursor: default; }
.me-row2 > * { flex: 1; }
.is-wide { width: 100%; margin-top: 4px; }

/* the settings */
.me-h { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 2px 8px; font: 800 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.me-h small { font: 600 11.5px var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.me-set { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 0 0 8px; padding: 11px 12px; border: 1px solid var(--rule); border-radius: 14px; background: var(--bg); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: box-shadow 0.3s, border-color 0.3s; }
.me-set > span { display: flex; flex-direction: column; gap: 1px; }
.me-set b { font-size: 14.5px; }
.me-set small { font-size: 12px; color: var(--muted); }
.me-set em { font: 700 14px var(--sans); font-style: normal; color: var(--gold); white-space: nowrap; }
.me-set.is-col { flex-direction: column; align-items: stretch; cursor: default; }
.me-set.is-glow { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 25%, transparent); animation: me-glow 1.6s ease-in-out 2; }
@keyframes me-glow { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--gold) 12%, transparent); } }
.me-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.me-mode { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--rule); border-radius: 10px; background: var(--bg-raised); color: var(--ink); font: 600 12px var(--sans); cursor: pointer; min-width: 0; }
.me-mode span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-mode.is-on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.me-sw { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.18); background: #FBF8F1; }
.me-sw.is-dark { background: #1C1A17; } .me-sw.is-sepia { background: #E9DBB8; } .me-sw.is-solar { background: #FDF6E3; } .me-sw.is-solard { background: #002B36; }
.me-sw.is-one { background: #FAFAFA; } .me-sw.is-oned { background: #282C34; } .me-sw.is-gh { background: #FFFFFF; } .me-sw.is-ghd { background: #0D1117; }
.me-sw-t { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 35%, transparent); transition: background 0.2s; }
.me-sw-t::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.2s; }
.me-sw-t.is-on { background: var(--gold); }
.me-sw-t.is-on::after { transform: translateX(16px); }

/* signing in and up */
.me-back { padding: 4px 0; border: none; background: none; color: var(--muted); font: 700 13px var(--sans); cursor: pointer; }
.me-f { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.me-f input { padding: 10px 12px; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg); color: var(--ink); font: 16px var(--sans); } /* (16px: a phone doesn't zoom in) */
.me-f input:focus { outline: none; border-color: var(--gold); }
.me-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; font-size: 12px; color: var(--muted); }
.me-or::before, .me-or::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.me-switch { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.me-switch button { padding: 0; border: none; background: none; color: var(--gold); font: 700 13px var(--sans); cursor: pointer; text-decoration: underline; }
.me-keys { margin: 0 0 10px; padding: 0; list-style: none; }
.me-keys li { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--rule); }
.me-keys li > svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.me-keys li > span { flex: 1; display: flex; flex-direction: column; font-size: 13.5px; }
.me-keys li small { color: var(--muted); font-size: 12px; }
.me-keys li button { padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px; background: none; color: var(--muted); font: 600 12px var(--sans); cursor: pointer; }
.me-in > .me-soft { margin: 0 6px 10px 0; }
.me-danger { margin-top: 14px; font-size: 13px; color: var(--muted); }
.me-danger summary { cursor: pointer; }
.me-del { margin-top: 6px; padding: 8px 14px; border: 1px solid #E4574E; border-radius: 999px; background: none; color: #E4574E; font: 700 13px var(--sans); cursor: pointer; }

.me-flash { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 2147483090; max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 999px; background: #2E2B27; color: #fff; font: 600 14px var(--sans); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.me-flash.is-on { opacity: 1; transform: translate(-50%, 0); animation: me-flash 3.2s forwards; }
@keyframes me-flash { 85% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .me-pop, .me-set.is-glow { transition: none; animation: none; } }
/* the color mode: one button, its icon (or swatch) and name; each tap the next */
.me-modebtn { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-raised); color: var(--ink); }
.me-modebtn svg { width: 17px; height: 17px; }
.me-modebtn .mc-sw { display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.2); }
.me-modebtn .mc-short { display: none; }
.me-modebtn .mc-name { display: inline; }

/* features not yet live (Features, account.js): hidden from everyone but critique mode, which outlines them */
/* ---- stages (account.js Stage): a part not for this person, hidden; with Stage controls on, each part not live
   outlined by its stage, and a picker at each part's corner */
.stage-off { display: none !important; }
html.stage-ui [data-stage-is="admin"] { outline: 2px dashed #2F7BE0; outline-offset: 2px; }
html.stage-ui [data-stage-is="critique"] { outline: 2px dashed #E4574E; outline-offset: 2px; }
.stage-layer { position: fixed; inset: 0; z-index: 2147483600; pointer-events: none; }
.stage-pill { position: fixed; pointer-events: auto; display: inline-flex; border-radius: 999px; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.5); }
.stage-pill select { -webkit-appearance: none; appearance: none; height: 20px; padding: 0 17px 0 7px; border: 1.5px solid #fff; border-radius: 999px; background: #3DAA5C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 5px center / 9px no-repeat; color: #fff; font: 800 10px var(--sans, system-ui); cursor: pointer; }
.stage-pill[data-is="admin"] select { background-color: #2F7BE0; }
.stage-pill[data-is="critique"] select { background-color: #E4574E; }
/* (each a small dot at its part's corner, over nothing it has: green, live; red, critique; blue, admin only. A
   hover, or a tap, and it's the whole picker) */
.stage-pill select { width: 14px; height: 14px; padding: 0; border-width: 2px; background-image: none; color: transparent; transition: width 0.12s ease, height 0.12s ease; }
.stage-pill:not([data-is="live"]) select { width: 16px; height: 16px; box-shadow: 0 0 0 2px rgba(228, 87, 78, 0.35); }
.stage-pill[data-is="admin"] select { box-shadow: 0 0 0 2px rgba(47, 123, 224, 0.35); }
.stage-pill:hover select, .stage-pill select:focus { width: 92px; height: 20px; padding: 0 17px 0 7px; border-width: 1.5px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); color: #fff; }
.stage-pill:hover, .stage-pill:focus-within { z-index: 1; }
/* (critique mode's tags, to read only: what isn't live yet) */
.stage-layer.is-tags .stage-pill { pointer-events: none; }
.stage-pill.is-tag { padding: 2px 8px; border: 1.5px solid #fff; border-radius: 999px; background: #E4574E; color: #fff; font: 800 10px/1.3 -apple-system, "Segoe UI", system-ui, sans-serif; letter-spacing: 0.02em; white-space: nowrap; }
.stage-pill.is-tag[data-is="admin"] { background: #2F7BE0; }
/* the owner: critique storage getting full (a dot on the button) */
.me-btn { position: relative; }
.me-btn { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; } /* (held, the owner's: the board; no text picked or callout under the finger) */
.me-btn.me-warn::after { content: ''; position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border: 2px solid var(--bg-raised); border-radius: 50%; background: #F2A33A; }
.me-btn.me-warn.is-red::after { background: #E4574E; }

/* with an account, or without (compareHtml) */
.me-cmp { width: 100%; margin: 8px 0 10px; border-collapse: collapse; font-size: 13px; }
.me-cmp th { padding: 6px 4px; font: 800 10.5px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.me-cmp td { padding: 8px 4px; border-top: 1px solid var(--rule); line-height: 1.35; vertical-align: middle; }
.me-cmp td:not(:first-child) { width: 64px; text-align: center; }
.me-cmp .is-acct { background: color-mix(in srgb, var(--gold) 10%, transparent); }
.me-cmp th.is-acct { color: var(--gold); border-radius: 10px 10px 0 0; }
.me-yes { color: #2F8A4A; font-weight: 800; font-size: 16px; }
.me-no { color: color-mix(in srgb, var(--muted) 60%, transparent); }
.me-txt { font-size: 11px; font-weight: 700; color: var(--muted); }
.me-invite { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin: 0 0 8px; padding: 10px 12px; border: 1px dashed color-mix(in srgb, var(--gold) 60%, var(--rule)); border-radius: 14px; background: color-mix(in srgb, var(--gold) 7%, transparent); color: var(--ink); font: 700 13px var(--sans); text-align: left; cursor: pointer; }
/* the owner's: new critiques and replies, a badge on the menu button and a line at the top of the menu (account.js) */
.me-badge { position: absolute; top: -4px; left: 14px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #D2453A; color: #fff; font: 800 11px/18px var(--sans); text-align: center; box-shadow: 0 0 0 2px var(--bg); pointer-events: none; }
.me-news { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 12px; padding: 12px 14px; border: 1px solid color-mix(in srgb, #D2453A 45%, var(--rule)); border-radius: 16px; background: color-mix(in srgb, var(--bg-raised) 90%, #D2453A 10%); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.me-news-n { display: grid; place-items: center; flex: none; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: #D2453A; color: #fff; font: 800 14px var(--sans); }
.me-news span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.me-news b { font-size: 15px; }
.me-news small { font-size: 12.5px; color: var(--muted); }
.me-news em { font-style: normal; color: var(--muted); }
/* ---- the First User badge (account.js honors: worker/admin.js gives it): a gold medal by their name, small on their menu
   button, and a card that congratulates them once */
.me-firstbadge { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; padding: 2px 9px 2px 3px; border-radius: 999px; background: linear-gradient(135deg, #FFF3C9, #F1CF7A); color: #5B3E0C; font: 800 11px/1.6 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(140, 100, 32, 0.35); width: max-content; }
.me-firstbadge .me-medal { width: 16px; height: 19px; }
.me-firstbadge[data-me-badge] { cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.me-firstbadge[data-me-badge]:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(140, 100, 32, 0.5), 0 3px 8px -3px rgba(140, 100, 32, 0.5); }
.me-firstbadge[data-me-badge]:active { transform: scale(0.96); }
.me-honor-row { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 12px; padding: 10px 14px; border: 1px solid rgba(176, 122, 38, 0.4); border-radius: 16px; background: linear-gradient(135deg, #FFF6DC, #F5DC9A); color: #3A2A0A; font: inherit; text-align: left; cursor: pointer; }
body.site-dark .me-honor-row { background: linear-gradient(135deg, #3A2F1A, #4A3A1C); color: var(--ink); }
.me-honor-row .me-medal { flex: none; width: 26px; height: 31px; }
.me-honor-row span { flex: 1; display: grid; gap: 2px; }
.me-honor-row b { font-size: 14.5px; }
.me-honor-row small { font-size: 12.5px; opacity: 0.75; }
.me-honor-row em { font-style: normal; opacity: 0.6; }
.me-av.has-medal { position: relative; overflow: visible; }
.me-medal-mini { position: absolute; right: -7px; bottom: -8px; width: 13px; height: 16px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)); }
#site-me.me-honor-new { animation: me-gift 2.4s ease-in-out infinite; }
@keyframes me-gift { 0%, 100% { box-shadow: 0 0 0 0 rgba(227, 174, 69, 0); } 50% { box-shadow: 0 0 0 4px rgba(227, 174, 69, 0.35), 0 0 16px 2px rgba(227, 174, 69, 0.45); } }
.me-honor { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: grid; place-items: start center; padding: 14px; background: color-mix(in srgb, var(--bg) 55%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-radius: inherit; opacity: 0; transition: opacity 0.25s ease; }
.me-honor.is-on { opacity: 1; }
.me-honor-card { position: relative; width: 100%; max-width: 360px; padding: 20px 18px 16px; border-radius: 22px; background: linear-gradient(180deg, #FFF8E4 0%, var(--bg-raised) 42%); color: var(--ink); text-align: center; box-shadow: 0 0 0 1px rgba(176, 122, 38, 0.35), 0 24px 50px -18px rgba(0, 0, 0, 0.55); transform: translateY(12px) scale(0.96); transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1); }
body.site-dark .me-honor-card { background: linear-gradient(180deg, #3A2F1A 0%, var(--bg-raised) 42%); }
.me-honor.is-on .me-honor-card { transform: none; }
.me-honor-top { position: relative; display: grid; place-items: center; height: 84px; }
.me-medal-big { width: 62px; height: 74px; filter: drop-shadow(0 6px 10px rgba(120, 80, 20, 0.35)); animation: me-medal-in 0.7s cubic-bezier(0.34, 1.5, 0.64, 1) both 0.1s; }
@keyframes me-medal-in { from { transform: translateY(-14px) rotate(-14deg) scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }
.me-honor-burst { position: absolute; left: 50%; top: 42%; width: 0; height: 0; }
.me-honor-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 2px; background: var(--c); opacity: 0; transform: rotate(var(--a)) translateY(0); animation: me-burst 0.9s ease-out both; animation-delay: calc(0.18s + var(--d)); }
.me-honor-burst i:nth-child(odd) { border-radius: 50%; width: 6px; height: 6px; }
@keyframes me-burst { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-62px) scale(0.6); } }
.me-honor-k { display: block; margin-top: 2px; font: 800 11px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #A06E00; }
body.site-dark .me-honor-k { color: #E3AE45; }
.me-honor-card h3 { margin: 4px 0 8px; font: italic 400 24px/1.2 var(--serif); }
.me-honor-card p { margin: 0 0 10px; font: 14.5px/1.55 var(--sans); }
.me-honor-gift { display: grid; gap: 3px; margin: 4px 0 10px; padding: 11px 13px; border-radius: 14px; background: color-mix(in srgb, #E3AE45 16%, transparent); text-align: left; }
.me-honor-gift b { font: 700 14.5px var(--sans); }
.me-honor-gift small { font: 13px/1.5 var(--sans); color: var(--muted); }
.me-honor-thanks { font-style: italic; color: var(--muted); }
.me-honor-go, .me-honor-ok { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border-radius: 999px; font: 700 15px var(--sans); cursor: pointer; }
.me-honor-go { border: none; background: linear-gradient(135deg, #E9B850, #C68F2E); color: #2A1E08; }
.me-honor-ok { border: 1px solid var(--rule); background: var(--bg); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .me-honor, .me-honor-card { transition: none; } .me-medal-big, .me-honor-burst i, #site-me.me-honor-new { animation: none; } .me-honor-burst { display: none; } }
/* ---- what Critique mode is, how to use it, and the guidelines: below its switch */
.me-critinfo { margin: 4px 0 8px; border: 1px solid var(--rule); border-radius: 14px; background: var(--bg-raised); font-family: var(--sans); color: var(--ink); }
.me-critinfo summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; list-style: none; cursor: pointer; }
.me-critinfo summary::-webkit-details-marker { display: none; }
.me-critinfo summary::after { content: ''; flex: none; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
.me-critinfo[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.me-critinfo summary span { display: grid; gap: 1px; }
.me-critinfo summary b { font-size: 14.5px; }
.me-critinfo summary small { font-size: 12.5px; color: var(--muted); }
.me-critinfo > p, .me-critinfo > h5, .me-critinfo > ol, .me-critinfo > ul { margin-left: 14px; margin-right: 14px; }
.me-critinfo > p { margin-top: 0; font-size: 13.5px; line-height: 1.5; }
.me-crit-tip { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--muted); } /* (the flag's hold: only a shortcut, under the one way to turn it on) */
.me-crit-flag { display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 1px; vertical-align: -6px; border: 1px solid var(--rule); border-radius: 50%; background: var(--bg); color: var(--ink); }
.me-crit-flag svg { width: 13px; height: 13px; }
.me-critinfo h5 { margin-top: 12px; margin-bottom: 4px; font: 800 11px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.me-critinfo ol, .me-critinfo ul { padding-left: 18px; margin-top: 0; margin-bottom: 12px; font-size: 13.5px; line-height: 1.5; }
.me-critinfo li + li { margin-top: 5px; }

/* (under a setting, which kinds: small switches in a row, Critique notifications' and the owner's emails. Their own
   class, .me-subk: .me-sub is the menu's plain line of explanation, which they once took over, circle and all) */
.me-subs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -2px 0 10px; padding: 0 4px; }
.me-subs > small { flex-basis: 100%; margin: 0 0 1px 2px; font: 700 11px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.me-subk { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg); color: var(--muted); font: 700 12.5px var(--sans); cursor: pointer; }
.me-subk::before { content: ''; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; box-sizing: border-box; }
.me-subk.is-on { border-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); background: color-mix(in srgb, var(--gold) 14%, var(--bg)); color: var(--ink); }
.me-subk.is-on::before { border-color: var(--gold); background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat; }
/* the owner's test email (critique emails): a button, then what Resend said */
.me-mailtest { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: -2px 0 12px; padding: 0 4px; }
.me-mini { padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-raised); color: var(--ink); font: 700 13px var(--sans); cursor: pointer; }
.me-mini:disabled { opacity: 0.6; cursor: default; }
.me-mailtest small { font: 12.5px/1.45 var(--sans); color: var(--muted); }
.me-mailtest small.is-ok { color: var(--good, #3E7A4C); }
.me-mailtest small.is-bad { color: #C0392B; }
/* an app at one stage with parts at another (Live, with a part still at Critique): its dot split down the middle, its own
   color and its least-live part's; opened to choose, it's its own color as before */
.stage-pill { --own: #3DAA5C; } .stage-pill[data-is="critique"] { --own: #E4574E; } .stage-pill[data-is="admin"] { --own: #2F7BE0; }
.stage-pill[data-mixed="critique"] { --part: #E4574E; } .stage-pill[data-mixed="admin"] { --part: #2F7BE0; }
.stage-pill[data-mixed]:not(:hover):not(:focus-within) select { width: 16px; height: 16px; background-image: linear-gradient(90deg, var(--own) 50%, var(--part) 50%); box-shadow: 0 0 0 2px color-mix(in srgb, var(--part) 35%, transparent); }
/* (Your reports, with something new from us: its count, gold) */
.me-set.is-new small { color: var(--ink); font-weight: 700; }
.me-new-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-right: 4px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--on-gold, #fff); font: 800 11px var(--sans); font-style: normal; }

/* your picture (account.js, avHtml and pictureHtml): a person of the Bible's face, or a symbol, in the round where your
   first letter was; and the pictures to choose from */
.me-av.has-art { overflow: hidden; padding: 0; background: color-mix(in srgb, var(--gold) 18%, var(--bg-raised)); }
.me-av.has-art > svg { display: block; width: 100%; height: 100%; }
.me-av.has-medal.has-art { overflow: visible; }
.me-av.has-medal.has-art > svg:first-child { border-radius: 50%; }
.me-av.is-huge { width: 56px; height: 56px; font-size: 22px; }
.me-av-sym { display: block; width: 100%; height: 100%; padding: 22%; box-sizing: border-box; border-radius: 50%; }
.me-avrow { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 16px; background: var(--bg-raised); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.me-avrow > span:not(.me-av) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.me-avrow b { font: 700 15px var(--sans); }
.me-avrow small { font: 13px/1.35 var(--sans); color: var(--muted); }
.me-avrow em { font-style: normal; color: var(--muted); font-size: 20px; }
.me-label { margin: 14px 0 8px; font: 800 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.me-avfind { width: 100%; box-sizing: border-box; margin: 0 0 10px; }
.me-avgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 10px; margin: 0 0 6px; }
.me-avgrid.is-named { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 12px 8px; }
.me-avgrid > .me-sub { grid-column: 1 / -1; }
.me-avpick { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.me-avpick > i { display: block; width: 100%; aspect-ratio: 1; box-sizing: border-box; overflow: hidden; border: 2px solid transparent; border-radius: 50%; background: color-mix(in srgb, var(--gold) 14%, var(--bg-raised)); }
.me-avpick > i > svg { display: block; width: 100%; height: 100%; }
.me-avpick > small { max-width: 100%; overflow: hidden; font: 600 11.5px var(--sans); white-space: nowrap; text-overflow: ellipsis; }
.me-avpick.is-on > i { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent); }
.me-avpick.is-on > small { color: var(--ink); }
.me-avpick:focus-visible { outline: none; }
/* (Your own: the pictures you've made, each with a small × to take it away; not the one you have) */
.me-avmine-i { position: relative; display: block; min-width: 0; }
.me-avmine-i > .me-avpick { width: 100%; }
.me-avrm { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: var(--bg-raised); color: var(--muted); font: 400 15px/1 var(--sans); cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.me-avrm::after { content: ''; position: absolute; inset: -8px; } /* (a bigger place to tap than it looks) */
.me-avrm:hover { color: var(--ink); }
.me-avpick:focus-visible > i { outline: 2px solid var(--gold); outline-offset: 2px; }
.me-avmake { margin: 4px 0 0; }
.me-avmake.is-on { border-color: var(--gold); }
/* making your own: the picture stays at the top as the rows under it scroll */
.me-avtop { position: sticky; top: -16px; z-index: 2; display: flex; align-items: center; gap: 14px; margin: 0 -16px 2px; padding: 10px 16px 12px; border-bottom: 1px solid var(--rule); background: var(--bg-raised); }
.me-avtop h3 { flex-basis: 100%; margin: 0 0 2px; }
.me-avtop > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.me-avtop .me-primary, .me-avtop .me-soft { padding: 8px 13px; font-size: 13px; }
.me-avbig { flex: none; width: 92px; height: 92px; overflow: hidden; border-radius: 50%; }
.me-avbig > svg { display: block; width: 100%; height: 100%; }
.me-avopts { display: flex; gap: 6px; margin: 0 -16px; padding: 2px 16px 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.me-avopts::-webkit-scrollbar { display: none; }
.me-avopt { flex: none; width: 54px; height: 54px; padding: 2px; border: 2px solid transparent; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.me-avopt > i { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: color-mix(in srgb, var(--gold) 14%, var(--bg-raised)); }
.me-avopt > i > svg { display: block; width: 100%; height: 100%; }
.me-avopt.is-dot { width: 40px; height: 40px; }
.me-avopt.is-dot > i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.me-avopt.is-on { border-color: var(--gold); }
.me-avopt:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
@media (max-height: 500px) { .me-avbig { width: 64px; height: 64px; } .me-avtop h3 { font-size: 20px; } }
/* sign up: for me, or a child (a kids account) */
.me-who { display: flex; width: 100%; margin-top: 6px; }
.me-who > button { flex: 1; }
.me-set.is-fixed { cursor: default; }
.me-avdone { margin-top: 16px; }

/* (an account just made: the new Christian experience, asked plainly, first) */
.me-ncask { display: flex; flex-direction: column; gap: 10px; padding: 4px 2px 6px; }
.me-ncask h3 { margin: 4px 0 0; font: italic 600 22px/1.25 Georgia, "Times New Roman", serif; }
.me-ncask .me-sub { margin: 0 0 6px; font-size: 15px; line-height: 1.5; }
.me-ncask .is-wide { width: 100%; min-height: 46px; font-size: 15px; }
