/* Who's most likely to (assets/tools/most-likely-to-questions-for-couples.js). Tokens only. */
.tool.mlt .mlt-play, .tool.mlt .mlt-result { display: flex; flex-direction: column; gap: 12px; }
.tool.mlt .mlt-card { min-height: 168px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 14px 20px 22px; text-align: left; outline: none; }
.tool.mlt .mlt-card-top { display: flex; align-items: center; justify-content: space-between; margin: 0 -8px 0 0; min-height: 44px; }
.tool.mlt .mlt-q { flex: 1; display: flex; align-items: center; font-size: 27px; line-height: 34px; font-weight: 900; letter-spacing: -.015em; color: rgb(var(--ink)); text-wrap: pretty; margin: 0; }
.tool.mlt .mlt-pick, .tool.mlt .mlt-passbox, .tool.mlt .mlt-rev { min-height: 148px; padding: 14px; border-radius: 24px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.tool.mlt .mlt-label { font-size: 15px; line-height: 20px; font-weight: 850; color: rgb(var(--ink) / .7); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool.mlt .mlt-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.tool.mlt .mlt-opt {
  min-height: 84px; padding: 8px 10px; border-radius: 18px; color: #fff; font-size: 20px; font-weight: 900;
  background: linear-gradient(160deg, rgb(var(--party-t)), rgb(88 24 180)); box-shadow: 0 8px 20px rgb(var(--party-t) / .25);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease;
}
.tool.mlt .mlt-opt.is-p1 { background: linear-gradient(160deg, rgb(var(--party-d)), rgb(196 30 92)); box-shadow: 0 8px 20px rgb(var(--party-d) / .25); }
.tool.mlt .mlt-opt span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool.mlt .mlt-opt:active { transform: scale(.95); }
.tool.mlt .mlt-opt[aria-pressed="true"] { outline: 3px solid rgb(var(--ink)); outline-offset: 2px; }
.tool.mlt .mlt-opt:focus-visible { outline: 3px solid rgb(var(--ink)); outline-offset: 2px; }
.tool.mlt .mlt-passbox { align-items: center; justify-content: center; text-align: center; animation: card-in .35s var(--ease-out) both; }
.tool.mlt .mlt-pass-ic .tool-icon { width: 32px; height: 32px; padding: 6px; border-radius: 16px; background: rgb(var(--accent)); color: #fff; }
.tool.mlt .mlt-pass-t { font-size: 17px; line-height: 24px; font-weight: 850; color: rgb(var(--ink)); }
.tool.mlt .mlt-passbox .btn { width: 100%; }
.tool.mlt .mlt-rev { justify-content: center; }
.tool.mlt .mlt-rev.is-new { animation: card-in .4s var(--ease-out) both; }
.tool.mlt .mlt-rev-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool.mlt .mlt-rev-p { padding: 10px 12px; border-radius: 16px; background: var(--surface-2); text-align: center; min-width: 0; }
.tool.mlt .mlt-rev-p span { display: block; font-size: 13px; font-weight: 800; color: rgb(var(--ink) / .6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool.mlt .mlt-rev-p b { display: block; font-size: 20px; line-height: 26px; font-weight: 900; color: rgb(var(--ink)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool.mlt .mlt-verdict-line { text-align: center; font-size: 17px; line-height: 24px; font-weight: 900; color: rgb(var(--ink)); }
.tool.mlt .mlt-verdict-line.is-match { color: var(--link); }
.tool.mlt .mlt-verdict-line.is-split { color: rgb(var(--party-d)); }
.tool.mlt .mlt-actions .btn { flex: 1; }
.tool.mlt .mlt-intro { display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: left; }
.tool.mlt .mlt-intro-t { font-size: 17px; line-height: 24px; font-weight: 800; color: rgb(var(--ink)); }
.tool.mlt .mlt-intro-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool.mlt .mlt-intro-row input { min-width: 0; background: var(--surface-2); }
.tool.mlt .mlt-intro .party-link { align-self: center; }
.tool.mlt .mlt-res-card { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: left; }
.tool.mlt .mlt-big { font-size: 30px; line-height: 36px; font-weight: 950; letter-spacing: -.02em; color: rgb(var(--ink)); margin: 0; }
.tool.mlt .mlt-verdict { font-size: 16px; line-height: 22px; font-weight: 750; color: rgb(var(--ink) / .7); }
.tool.mlt .mlt-sub { font-size: 15px; font-weight: 900; color: rgb(var(--ink)); }
.tool.mlt .mlt-whos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool.mlt .mlt-who { padding: 14px; border-radius: 20px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.tool.mlt .mlt-who-n b { display: block; font-size: 19px; font-weight: 900; color: rgb(var(--ink)); }
.tool.mlt .mlt-who-n span { font-size: 13px; font-weight: 800; color: var(--link); }
.tool.mlt .mlt-who li { font-size: 15px; line-height: 21px; font-weight: 700; padding-left: 12px; position: relative; }
.tool.mlt .mlt-who li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 3px; background: rgb(var(--accent)); }
.tool.mlt .mlt-who li + li { margin-top: 4px; }
.tool.mlt .mlt-split { display: flex; flex-direction: column; gap: 8px; }
.tool.mlt .mlt-split li { display: block; font-size: 15px; line-height: 21px; }
.tool.mlt .mlt-split b { color: rgb(var(--ink)); font-weight: 850; }
@media (max-width: 599px) {
  .tool.mlt .mlt-q { font-size: 23px; line-height: 30px; }
  .tool.mlt .mlt-card { min-height: 150px; }
  .tool.mlt .mlt-whos { grid-template-columns: 1fr; }
  .tool.mlt .mlt-opt { min-height: 76px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .tool.mlt .mlt-passbox, .tool.mlt .mlt-rev.is-new { animation: none; } }

.tool.mlt .mlt-q-opt { font-size: 16px; min-height: 64px; }
.tool.mlt .mlt-quick .mlt-opts span { white-space: normal; }
.tool.mlt .mlt-split-btn { min-height: 48px; border-radius: 16px; background: var(--surface-2); color: rgb(var(--ink)); font-size: 16px; font-weight: 850; transition: transform .2s var(--ease-out); }
.tool.mlt .mlt-split-btn:active { transform: scale(.97); }
.tool.mlt .mlt-back { align-self: center; min-height: 32px; }
.tool.mlt .mlt-back[hidden] { display: none; }
.tool.mlt .mlt-rev-p.is-p1 b { color: rgb(var(--party-d)); }
.tool.mlt .mlt-rev-p:not(.is-p1) b { color: rgb(var(--party-t)); }
.tool.mlt .mlt-intro .btn { flex: none; }
.tool.mlt .mlt-intro .tool-chips { gap: 6px; }
.tool.mlt .mlt-intro .tool-chips button { min-height: 36px; padding: 0 12px; font-size: 13px; }
.tool.mlt .mlt-film { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; text-align: center; cursor: pointer;
  background: linear-gradient(160deg, rgb(var(--party-t)), rgb(88 24 180)); color: #fff; outline: none; }
.tool.mlt .mlt-film-q { font-size: clamp(36px, 9vw, 96px); line-height: 1.08; font-weight: 950; letter-spacing: -.02em; color: #fff; text-wrap: balance; max-width: 1100px; }
.tool.mlt .mlt-film-n, .tool.mlt .mlt-film-h { font-size: 16px; font-weight: 800; color: rgb(255 255 255 / .75); }
.tool.mlt .mlt-film-x { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 24px; display: grid; place-items: center; background: rgb(0 0 0 / .2); color: #fff; }
@media (prefers-color-scheme: dark) { .tool.mlt .mlt-rev-p:not(.is-p1) b { color: var(--link); } }
.tool.mlt .mlt-splits .mlt-split-btn { font-size: 14px; padding: 6px 8px; }
.tool.mlt .mlt-film-name { position: absolute; bottom: max(28px, env(safe-area-inset-bottom)); left: max(20px, env(safe-area-inset-left)); font-size: clamp(24px, 6vw, 44px); font-weight: 950; color: #fff; padding: 6px 16px; border-radius: 24px; background: rgb(0 0 0 / .18); }
.tool.mlt .mlt-film-name.is-r { left: auto; right: max(20px, env(safe-area-inset-right)); }
.tool.mlt .mlt-film { padding: 32px 64px; }
.tool.mlt .mlt-film.is-end .mlt-film-h { visibility: hidden; }
.tool.mlt .mlt-rev { min-height: 0; padding: 18px 14px; }
.tool.mlt .mlt-under { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; }
.tool.mlt .mlt-undo[hidden] { visibility: hidden; display: inline-flex !important; }
.tool.mlt .mlt-tally-live { font-size: 13px; font-weight: 800; color: rgb(var(--ink) / .6); text-align: right; font-variant-numeric: tabular-nums; }

/* Topics sit on the first screen as one row that scrolls sideways on phones. */
.tool.mlt .mlt-topics .tool-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; gap: 6px;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.tool.mlt .mlt-topics .tool-chips::-webkit-scrollbar { display: none; }
.tool.mlt .mlt-topics .tool-chips button { flex: none; min-height: 38px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
.tool.mlt .mlt-topics .tool-chips button:last-child { margin-right: 32px; }
@media (min-width: 600px) {
  .tool.mlt .mlt-topics .tool-chips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .tool.mlt .mlt-topics .tool-chips button:last-child { margin-right: 0; }
}
.tool.mlt .mlt-quick .mlt-opts span { white-space: nowrap; }
.tool.mlt .mlt-or { margin-top: 2px; }
/* Film it: a 3, 2, 1 count under each question; hint and close button fade after 2 s; a name step first. */
.tool.mlt .mlt-film-cd { min-height: 1.1em; font-size: clamp(44px, 12vw, 120px); line-height: 1; font-weight: 950; color: rgb(255 255 255 / .9); font-variant-numeric: tabular-nums; }
.tool.mlt .mlt-film-cd.is-go { color: #fff; }
.tool.mlt .mlt-film-h, .tool.mlt .mlt-film-x { transition: opacity .6s ease; }
.tool.mlt .mlt-film.is-quiet .mlt-film-h { opacity: 0; }
.tool.mlt .mlt-film.is-quiet .mlt-film-x { opacity: .25; }
.tool.mlt .mlt-film.is-ask .mlt-film-name, .tool.mlt .mlt-film.is-ask .mlt-film-h, .tool.mlt .mlt-film.is-ask .mlt-film-cd { display: none; }
.tool.mlt .mlt-film-form { display: flex; flex-direction: column; gap: 12px; width: min(420px, 100%); cursor: default; }
.tool.mlt .mlt-film-form input { min-width: 0; font-size: 18px; }
.tool.mlt .mlt-quick .mlt-label { white-space: normal; overflow: visible; }
