/* MEMORIZE (memorize/memorize.js): a hub of little apps */
.mz { --app: #C39A4B; --good: #3E8A55; position: fixed; inset: 0; z-index: 2147483062; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); color: var(--ink); font-family: var(--sans); opacity: 0; transform: translateY(10px); transition: opacity 0.2s ease, transform 0.2s ease; }
body.site-dark .mz { --good: #8CC79A; }
.mz.open { opacity: 1; transform: none; }
.mz[hidden] { display: none; }
html.mz-open, html.mz-open body { overflow: hidden; }
.mz-in { max-width: 640px; min-height: 100%; margin: 0 auto; padding: 0 16px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; box-sizing: border-box; }
.mz-main { flex: 1; display: flex; flex-direction: column; }
.mz-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
/* (held at the top as the page scrolls, folding away as it's read down: every app's way, nav/tuck.js) */
.mz-head { margin: 0 -16px 14px; padding: max(12px, env(safe-area-inset-top)) 16px 10px; background: var(--bg); }
html.tk-live .mz-head { position: sticky; top: 0; z-index: 3; }
.mz-ttl { flex: 1; min-width: 0; }
.mz-ttl small { font: 800 10.5px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--app); }
.mz-ttl h2 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-hub { flex: none; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-raised); color: var(--ink); font: 700 13px var(--sans); cursor: pointer; }
.mz-hub[hidden] { display: none; }
@media (max-width: 440px) { .mz-hub span { display: none; } .mz-hub { padding: 6px 13px; font-size: 18px; line-height: 1; } .mz-ttl h2 { font-size: 24px; } .mz-head { gap: 8px; } }
.mz-fire span { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, #F2A33A 14%, var(--bg-raised)); font: 800 13px var(--sans); color: var(--muted); filter: grayscale(0.8); }
.mz-fire span.is-lit { color: #C66A12; filter: none; }
.mz-x { flex: none; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-raised); color: var(--ink); font: 700 14px var(--sans); cursor: pointer; }
.mz-loading { margin: auto; padding: 40px 0; color: var(--muted); }
.mz-only { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 9px 12px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 15%, var(--bg-raised)); font-size: 14px; }
.mz-only button, .mz-link { padding: 0; border: none; background: none; color: var(--app); font: 700 14px var(--sans); text-decoration: underline; cursor: pointer; }
.mz-only button { color: var(--ink); }
.mz-decks { display: flex; gap: 6px; margin: 0 -16px 14px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; flex: none; }
.mz-decks::-webkit-scrollbar { display: none; }
.mz-decks button { flex: none; padding: 7px 13px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-raised); color: var(--ink); font: 700 13px var(--sans); cursor: pointer; }
.mz-decks button small { margin-left: 3px; font-weight: 600; color: var(--muted); }
.mz-decks button.is-on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.mz-decks button.is-on small { color: inherit; opacity: 0.75; }

/* the hub */
.mz-today { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 20%, var(--bg-raised)), var(--bg-raised)); border: 1px solid var(--rule); }
.mz-big { display: flex; flex-direction: column; }
.mz-big b { font: 400 40px/1 var(--serif); }
.mz-big span { font-size: 13px; color: var(--muted); }
.mz-mini { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; color: var(--muted); }
.mz-mini b { color: var(--ink); }
.mz-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.mz-app { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 132px; padding: 14px; border: none; border-radius: 20px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, var(--bg-raised)), color-mix(in srgb, var(--c) 6%, var(--bg-raised))); color: var(--ink); font: inherit; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent), 0 10px 24px -18px color-mix(in srgb, var(--c) 80%, black); transition: transform 0.15s ease; }
.mz-app:active { transform: scale(0.97); }
.mz-app:disabled { opacity: 0.5; cursor: default; }
.mz-app-i { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 4px; border-radius: 12px; background: var(--c); color: #fff; }
.mz-app-i svg { width: 22px; height: 22px; }
.mz-app b { font-size: 16px; }
.mz-app small { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.mz-app em { position: absolute; top: 12px; right: 12px; padding: 2px 8px; border-radius: 999px; background: var(--c); color: #fff; font: 800 11px var(--sans); font-style: normal; }
.mz-empty { margin: 0 0 14px; padding: 16px; border: 1.5px dashed var(--rule); border-radius: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.mz-empty p { margin: 0; } .mz-empty b { color: var(--ink); }
.mz-foot { margin: 0 0 12px; }
.mz-addref { display: flex; gap: 8px; }
.mz-addref input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--bg-raised); color: var(--ink); font: 16px var(--sans); }
.mz-err { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: rgba(228, 87, 78, 0.12); color: #B33A32; font-size: 14px; }
.mz-sub { color: var(--muted); font-size: 14px; }
.mz-primary, .mz-soft { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 20px; border-radius: 999px; font: 800 15px var(--sans); cursor: pointer; }
.mz-primary { border: none; background: var(--app); color: #fff; box-shadow: 0 10px 22px -14px var(--app); }
.mz-soft { border: 1px solid var(--rule); background: var(--bg-raised); color: var(--ink); }
.mz-hero { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 16px; border-radius: 20px; background: color-mix(in srgb, var(--c) 12%, var(--bg-raised)); }
.mz-hero .mz-app-i { flex: none; width: 52px; height: 52px; border-radius: 16px; }
.mz-hero .mz-app-i svg { width: 28px; height: 28px; }
.mz-hero p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.mz-go { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; }
.mz-back { align-self: flex-start; margin-bottom: 8px; 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; }
.mz-h3 { margin: 4px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 26px; }
.mz-h3 small { font: 600 14px var(--sans); color: var(--muted); }
.mz-list { margin: 0; padding: 0; list-style: none; }
.mz-list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 2px; border-bottom: 1px solid var(--rule); }
.mz-list li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mz-list small { font-size: 13px; line-height: 1.4; color: var(--muted); }
.mz-list em { font-style: normal; font-size: 12px; color: var(--muted); }
.mz-rm { flex: none; width: 32px; height: 32px; border: 1px solid var(--rule); border-radius: 50%; background: var(--bg-raised); color: var(--muted); cursor: pointer; }
.mz-boxes { display: flex; gap: 4px; margin: 2px 0; }
.mz-boxes i { width: 18px; height: 5px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 22%, transparent); }
.mz-boxes i.is-on { background: var(--good); }

/* playing */
.mz-pbar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 12px var(--sans); color: var(--muted); }
.mz-pbar i { flex: 1; height: 7px; border-radius: 999px; background: var(--rule); overflow: hidden; }
.mz-pbar u { display: block; height: 100%; border-radius: 999px; background: var(--app); transition: width 0.4s ease; }
.mz-qstreak { color: #C66A12; font-weight: 800; animation: mz-pop 0.35s ease; }
.mz-play { position: relative; padding: 22px 20px; border: 1px solid var(--rule); border-radius: 24px; background: var(--bg-raised); box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.5), 0 0 0 5px color-mix(in srgb, var(--app) 10%, transparent); }
.mz-ref { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 12px; }
.mz-ref b { font: 400 25px var(--serif); }
.mz-ref em { font: 700 11px var(--sans); font-style: normal; color: var(--muted); }
.mz-vtext { margin: 0; font: 20px/1.75 Georgia, serif; }
.mz-vtext.is-words { text-align: center; }
.mz-tip { display: block; margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.mz-w { display: inline; padding: 0 1px; border: none; background: none; font: inherit; color: inherit; }
.mz-w.is-hid { padding: 0 3px; border-radius: 6px; background: color-mix(in srgb, var(--app) 12%, transparent); color: var(--app); letter-spacing: 0.06em; cursor: pointer; }
.mz-w.is-peek { color: var(--app); animation: mz-pop 0.25s ease; }
.mz-w.is-got { color: var(--good); }
.mz-w.was-peek { color: #C66A12; }
.mz-w.is-miss { color: #C2463F; text-decoration: underline wavy; text-decoration-thickness: 1px; }
.mz-blank { display: inline-block; min-width: 2.2em; border-bottom: 2.5px solid color-mix(in srgb, var(--app) 40%, var(--rule)); line-height: 1.2; color: var(--app); font-weight: 700; }
.mz-blank.is-next { border-color: var(--app); animation: mz-blink 1.2s ease-in-out infinite; }
.mz-bank { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.mz-chip, .mz-piece { padding: 9px 14px; border: none; border-radius: 12px; background: var(--bg); color: var(--ink); font: 700 15px var(--sans); cursor: pointer; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--app) 40%, var(--rule)), 0 4px 0 color-mix(in srgb, var(--app) 30%, var(--rule)); transition: transform 0.1s ease; }
.mz-chip:active, .mz-piece:active { transform: translateY(2px); box-shadow: inset 0 0 0 1.5px var(--app), 0 2px 0 color-mix(in srgb, var(--app) 30%, var(--rule)); }
.mz-piece { font: 16px/1.4 Georgia, serif; text-align: left; }
.mz-piece.is-placed { display: inline; padding: 0; box-shadow: none; background: none; color: var(--good); animation: mz-pop 0.25s ease; }
.mz-built { min-height: 3.4em; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--app) 7%, var(--bg)); font: 18px/1.7 Georgia, serif; }
.is-shake { animation: mz-shake 0.4s ease; box-shadow: inset 0 0 0 2px #E4574E !important; }
.mz-typebox { display: block; width: 100%; margin-top: 16px; padding: 12px 14px; border: 1.5px solid color-mix(in srgb, var(--app) 40%, var(--rule)); border-radius: 14px; background: var(--bg); color: var(--ink); font: 18px/1.6 Georgia, serif; resize: none; box-sizing: border-box; outline: none; }
.mz-typebox:focus { border-color: var(--app); }
.mz-typeinfo { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font: 800 14px var(--sans); color: var(--app); }
.mz-result { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.mz-stars { display: inline-flex; gap: 4px; font-size: 30px; line-height: 1; }
.mz-stars i { font-style: normal; color: color-mix(in srgb, var(--muted) 30%, transparent); }
.mz-stars i.is-on { color: #F2B33A; animation: mz-star 0.5s cubic-bezier(0.34, 1.6, 0.64, 1) both; animation-delay: var(--d); }
.mz-stars.is-big { font-size: 46px; }
.mz-acts { display: flex; gap: 10px; margin-top: 16px; }
.mz-acts > * { flex: 1; }
.mz-openit { display: block; margin: 14px auto 0; }
/* the quiz */
.mz-qk { display: block; margin-bottom: 10px; font: 800 11px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--app); }
.mz-q { font: 18px/1.6 Georgia, serif; }
.mz-q p { margin: 0; }
.mz-qbig { display: block; font: 400 27px/1.25 var(--serif); }
.mz-opts { display: grid; gap: 9px; margin-top: 16px; }
.mz-opt { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: none; border-radius: 16px; background: var(--bg); color: var(--ink); font: 700 15.5px var(--sans); text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--rule), 0 3px 0 var(--rule); transition: transform 0.1s ease; }
.mz-opt span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: color-mix(in srgb, var(--app) 14%, transparent); color: var(--app); font-weight: 800; font-size: 13px; }
.mz-opt:active { transform: translateY(2px); }
.mz-opt.is-right { box-shadow: inset 0 0 0 2px var(--good), 0 3px 0 var(--good); background: color-mix(in srgb, var(--good) 12%, var(--bg)); animation: mz-pop 0.3s ease; }
.mz-opt.is-right span { background: var(--good); color: #fff; }
.mz-opt.is-wrong { box-shadow: inset 0 0 0 2px #E4574E, 0 3px 0 #E4574E; background: color-mix(in srgb, #E4574E 10%, var(--bg)); animation: mz-shake 0.4s ease; }
.mz-opt.is-dim { opacity: 0.5; }
.mz-qfb { margin: 14px 0 0; font-weight: 800; text-align: center; }
.mz-qfb.is-good { color: var(--good); } .mz-qfb.is-bad { color: #C2463F; }
/* the end of a round */
.mz-done { position: relative; margin: auto 0; padding: 30px 22px; border-radius: 26px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, var(--bg-raised)), var(--bg-raised)); border: 1px solid var(--rule); text-align: center; overflow: hidden; }
.mz-done h3 { margin: 12px 0 6px; font: 400 32px var(--serif); }
.mz-done p { margin: 0 0 20px; color: var(--muted); line-height: 1.5; }
.mz-confetti { position: absolute; left: 50%; top: 32%; width: 0; height: 0; pointer-events: none; }
.mz-confetti i { position: absolute; width: 8px; height: 12px; border-radius: 2px; animation: mz-confetti 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }

/* Flashcards: the deck, three peeking */
.mz-deck { position: relative; flex: 1; min-height: 360px; perspective: 1400px; }
.mz-dcard { position: absolute; inset: 0 0 36px; touch-action: pan-y; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; }
.mz-dcard.is-dragging { transition: none; }
.mz-dcard[data-depth="1"] { transform: translateY(24px) scale(0.94); opacity: 0.8; pointer-events: none; }
.mz-dcard[data-depth="2"] { transform: translateY(46px) scale(0.88); opacity: 0.5; pointer-events: none; }
.mz-dinner { position: relative; width: 100%; height: 100%; transition: transform 0.17s ease-in-out; }
.mz-dcard.is-turning .mz-dinner { transform: rotateY(90deg); } /* (edge-on, then the other side: memorize.js turn()) */
.mz-dface { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: 24px; overflow: hidden; background: var(--bg-raised); border: 1px solid var(--rule); box-shadow: 0 30px 60px -30px rgba(34, 30, 25, 0.5), 0 0 0 6px color-mix(in srgb, var(--a) 13%, transparent); }
.mz-dface::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, color-mix(in srgb, var(--a) 25%, transparent), var(--a), color-mix(in srgb, var(--a) 25%, transparent)); }
.mz-dfront { align-items: center; justify-content: center; gap: 10px; text-align: center; cursor: pointer; }
.mz-dfront small { font: 800 10.5px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--a); }
.mz-dfront b { font: 400 32px/1.15 var(--serif); color: var(--ink); }
.mz-dfront span { max-width: 34ch; font-size: 14px; line-height: 1.5; color: var(--muted); }
.mz-dfront em { position: absolute; bottom: 16px; left: 0; right: 0; font: 11.5px var(--sans); font-style: normal; color: var(--muted); }
.mz-dback { visibility: hidden; overflow-y: auto; overscroll-behavior: contain; font-size: 14.5px; line-height: 1.65; }
.mz-dcard.flipped .mz-dfront { visibility: hidden; }
.mz-dcard.flipped .mz-dback { visibility: visible; }
.mz-dcard.is-error .mz-dface { border-color: rgba(196, 108, 60, 0.55); background: linear-gradient(180deg, rgba(196, 108, 60, 0.08), transparent 60%), var(--bg-raised); }
.mz-dback .mz-vtext { text-align: center; margin: auto 0; }
.mz-btitle { margin: 4px 0 8px; font: 400 26px var(--serif); }
.mz-btext { margin: 0; font-size: 16px; line-height: 1.6; }
.mz-related { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.mz-stamp { position: absolute; top: 22px; z-index: 2; padding: 6px 12px; border: 3px solid; border-radius: 12px; background: var(--bg-raised); font: 800 15px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: rotate(-12deg); pointer-events: none; }
.mz-stamp.is-know { left: 18px; color: var(--good); }
.mz-stamp.is-learn { right: 18px; color: #C06A38; transform: rotate(12deg); }
.mz-deckacts { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.mz-dbtn { flex: 1; max-width: 220px; padding: 13px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--bg-raised); font: 800 14px var(--sans); cursor: pointer; box-shadow: 0 2px 8px rgba(34, 30, 25, 0.08); }
.mz-dbtn.is-learn { color: #C06A38; } .mz-dbtn.is-know { color: var(--good); }

@keyframes mz-pop { 0% { transform: scale(0.8); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes mz-star { 0% { transform: scale(0) rotate(-40deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes mz-shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes mz-blink { 50% { border-color: transparent; } }
@keyframes mz-confetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mz-dcard, .mz-dinner { transition: none; } .mz-confetti { display: none; } .mz-stars i.is-on, .mz-w.is-peek, .is-shake, .mz-opt.is-right, .mz-opt.is-wrong { animation: none; } }

.mz-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 2147483160; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 14px var(--sans); text-align: center; opacity: 0; transform: translate(-50%, 8px); transition: opacity 0.2s, transform 0.2s; pointer-events: none; box-sizing: border-box; }
.mz-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* the button, wherever something can be added */
.mz-add { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-raised, #fff); color: var(--ink); font: 700 13px var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mz-add svg { width: 16px; height: 16px; flex: none; }
.mz-add.is-small { padding: 6px 11px; font-size: 12.5px; }
.mz-add.is-on { border-color: #3DAA5C; color: #2F8A4A; background: color-mix(in srgb, #3DAA5C 9%, var(--bg-raised, #fff)); }

/* Keep: kept, and how to practice it (memorize/memorize.js keep()) */
.mz-keep { position: fixed; inset: 0; z-index: 2147483158; display: flex; align-items: flex-end; justify-content: center; padding: 12px; background: rgba(20, 16, 12, 0.4); opacity: 0; transition: opacity 0.18s ease; }
.mz-keep.open { opacity: 1; }
.mz-keep[hidden] { display: none; }
.mz-keep-in { width: 100%; max-width: 440px; margin-bottom: env(safe-area-inset-bottom); padding: 18px; border-radius: 24px; background: var(--bg-raised); color: var(--ink); font-family: var(--sans); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55); transform: translateY(16px); transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1); }
.mz-keep.open .mz-keep-in { transform: none; }
@media (min-width: 600px) { .mz-keep { align-items: center; } }
.mz-keep-h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.mz-keep-ok { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #3DAA5C; color: #fff; font-weight: 800; animation: mz-pop 0.35s ease; }
.mz-keep-h b { display: block; font-size: 17px; }
.mz-keep-h small { font-size: 13px; color: var(--muted); }
.mz-keep-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mz-keep-apps button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: none; border-radius: 16px; background: color-mix(in srgb, var(--c) 12%, var(--bg)); color: var(--ink); font: 700 12px/1.2 var(--sans); text-align: center; cursor: pointer; }
.mz-keep-apps .mz-app-i { width: 34px; height: 34px; margin: 0; border-radius: 11px; }
.mz-keep-apps .mz-app-i svg { width: 19px; height: 19px; }
.mz-keep-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.mz-keep-row .mz-link { color: var(--muted); font-size: 13px; }
.mz-keep-row .mz-primary { --app: var(--ink); background: var(--ink); color: var(--bg); padding: 11px 26px; }

/* A Foundations card's back (FoundationsCards.backHtml) comes in its reveal panel, so its words keep Foundations'
   own styles; the panel itself is hidden and placed until Foundations opens it: here, just part of the card */
.mz .mz-fm.fm-reveal { position: static; z-index: auto; width: auto; max-height: none; overflow: visible; padding: 0; border: none; border-radius: 0; background: none; box-shadow: none; opacity: 1; transform: none; transition: none; -webkit-mask-image: none; mask-image: none; }
