/* Who Knows Me? — loads after /tools/tools.css. */
.me-head { text-align: center; }
.me-head .tool-lede { margin-inline: auto; }
.me-head h1, .me-q { font-family: var(--font-display); }
body .me-big { width: 100%; min-height: 56px; font-size: 1.1rem; }
a.me-big { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.me-privacy { margin: var(--space-md) 0 0; }
.me-screen * { overflow-wrap: anywhere; }

.mine { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mine a { color: var(--color-ink); font-weight: 800; }

/* Question */
.me-progress {
    height: 10px; border: var(--line) solid var(--color-ink); border-radius: 99px;
    background: var(--color-warm-white); overflow: hidden; margin: var(--space-sm) 0 var(--space-md);
}
.me-progress i { display: block; height: 100%; background: var(--color-yolk-hot); transition: width .25s ease; }
.me-count { margin: 0; color: var(--color-muted-brown); font-weight: 700; text-align: center; }
.me-q { font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.15; text-align: center; margin: 8px 0 var(--space-lg); color: var(--color-ink); }
.me-q:focus { outline: none; }
.me-opts { display: grid; gap: 12px; }
@media (min-width: 560px) { .me-opts { grid-template-columns: 1fr 1fr; } }
.me-opt {
    min-height: 64px; padding: 12px 16px; font: inherit; font-size: 1.05rem; font-weight: 800;
    color: var(--color-ink); background: var(--color-warm-white); text-align: left;
    border: var(--line) solid var(--color-ink); border-radius: var(--radius-lg); box-shadow: var(--pop-sm);
    cursor: pointer; transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
}
.me-opt:hover { background: var(--color-yolk-soft); }
.me-opt:active { transform: translate(2px, 2px); box-shadow: var(--pop-press); }
.me-opt:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 3px; }
.me-opt.is-picked { background: var(--color-yolk-hot); }
.me-opt.is-right { background: var(--color-sage-soft); color: var(--color-sage-text); }
.me-opt.is-right::after { content: ' ✓'; }
.me-opt.is-wrong { background: var(--color-coral-soft); color: var(--color-coral-text); animation: me-shake .3s ease; }
.me-opt.is-wrong::after { content: ' ✗'; }
.me-opt[aria-disabled="true"] { cursor: default; }
@keyframes me-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.me-live { min-height: 1.5em; text-align: center; font-weight: 700; margin: var(--space-md) 0 0; }
.me-q-tools { justify-content: space-between; margin-top: var(--space-md); }

/* Share */
.me-share-card { display: grid; gap: 12px; }
.me-share-card .row { margin: 0; }
.me-link { font-size: .85rem; }

/* Result */
.me-result { text-align: center; background: var(--color-yolk-soft) !important; }
.me-kicker { margin: 0; font-weight: 800; color: var(--color-yolk-text); }
.me-score { margin: 4px 0; font-family: var(--font-display); font-size: clamp(4rem, 22vw, 6.5rem); line-height: 1; color: var(--color-ink); }
.me-verdict { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--color-ink); }
.me-rank { margin: 6px 0 0; font-weight: 700; color: var(--color-deep-warm); min-height: 1.4em; }
.me-grid { margin: 10px 0 0; letter-spacing: 1px; font-size: clamp(.85rem, 4.2vw, 1.1rem); white-space: nowrap; }
.me-cta { display: grid; gap: 12px; }
.me-cta h2, .me-cta p { margin: 0 !important; }

/* Board */
.me-board-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.me-board-head h2 { margin: 0 !important; }
.me-board-head .btn { white-space: nowrap; flex: 0 0 auto; }
.me-board { list-style: none; margin: var(--space-sm) 0 0; padding: 0; display: grid; gap: 6px; }
.me-row {
    display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; align-items: center; gap: 8px;
    padding: 8px 12px; border-radius: var(--radius-md); background: var(--color-cream);
}
.me-row--mine { background: var(--color-yolk-soft); font-weight: 800; }
.me-row-place { font-size: 1.2rem; text-align: center; }
.me-row-name { min-width: 0; }
.me-row-score { font-weight: 800; font-variant-numeric: tabular-nums; }
.me-board-msg { color: var(--color-muted-brown); }
.me-answers { margin-top: var(--space-md); }
.me-answers summary { cursor: pointer; font-weight: 800; min-height: var(--target-min, 44px); display: flex; align-items: center; }
.me-answers ol { margin: 8px 0 0; padding-left: 1.4em; display: grid; gap: 8px; }
.me-answers li span { display: block; color: var(--color-muted-brown); }
.me-answers li.is-wrong b { color: var(--color-coral-text); }
.me-owner-tools { margin-top: var(--space-sm); }
