/* Match (2026-10-14): Search's Match card and "Suggested for you", the swipe deck (#/match) and your matches (#/match/likes).
   Koma's tokens; the top card's cover, blurred, behind the page (Koma's backdrop rule); swipe colours: green interested, red
   not interested, blue love it, yellow undo. No left-edge accent bars (owner's design rule). */
:root { --mt-yes: #30d158; --mt-no: #ff453a; --mt-love: #0a84ff; --mt-undo: #ffd60a; }

/* ── Search: the Match card ── */
#matchhero { padding: 0 var(--gut); margin: 18px 0 6px; }
.mt-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: radial-gradient(110% 130% at 100% 0%, color-mix(in srgb, var(--c, var(--accent)) 62%, transparent), transparent 62%), linear-gradient(125deg, color-mix(in srgb, var(--accent) 52%, #0b0b10), #0b0b10 78%); }
.mt-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
.mt-hero-t { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mt-hero .k { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.82); } .mt-hero .k .ic { width: 15px; height: 15px; }
.mt-hero h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.mt-hero p { color: rgba(255,255,255,.78); line-height: 1.45; max-width: 46ch; margin: 0 0 6px; font-size: .95rem; }
.mt-fan { position: relative; width: 190px; height: 170px; display: block; }
.mt-fan img, .mt-fan i { position: absolute; top: 10px; left: 50%; width: 96px; aspect-ratio: 2/3; object-fit: cover; border-radius: 12px; background: rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1); transform: translateX(calc(-50% + (var(--i) - 1) * 46px)) rotate(calc((var(--i) - 1) * 9deg)) translateY(calc(var(--y, 0) * 10px));
  animation: mtFloat 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.6s); }
.mt-fan img:nth-child(2), .mt-fan i:nth-child(2) { z-index: 2; }
.mt-fan-b { position: absolute; z-index: 3; right: 6px; bottom: 6px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--mt-yes); color: #04210f;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--mt-yes) 45%, transparent); animation: mtBeat 2.4s ease-in-out infinite; } .mt-fan-b .ic { width: 22px; height: 22px; }
@keyframes mtFloat { 50% { translate: 0 -6px; } }
@keyframes mtBeat { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.14); } 90% { transform: scale(.98); } }
.mt-sugg .shelf { padding: 0 var(--gut); }
.mt-tile { width: 132px; display: flex; flex-direction: column; gap: 6px; }
.mt-tile .cv { position: relative; display: block; aspect-ratio: 2/3; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.mt-tile .cv img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--slow); } .mt-tile:hover .cv img { transform: scale(1.04); }
.mt-tile .pct { position: absolute; left: 7px; bottom: 7px; padding: 2px 7px; border-radius: 7px; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .72rem; font-weight: 800; color: var(--mt-yes); }
.mt-tile b { font-size: .86rem; font-weight: 650; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-tile .why { display: flex; gap: 5px; align-items: flex-start; color: var(--fg-mute); font-size: .72rem; line-height: 1.3; }
.mt-tile .why .ic { width: 12px; height: 12px; flex: none; margin-top: 1px; color: var(--accent-ink); }
.mt-tile .why { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.blur18 .mt-tile.nsfw img, body.blur18 .mt-card.nsfw .mt-front > img, body.blur18 .mt-li.nsfw img, body.blur18 .mt-fan img.nsfw { filter: blur(18px); }

/* ── the deck page ── */
/* full screen: the deck hides Koma's top and bottom bars (its own ‹ leads back to Search), like the reader does */
body:has(.mt-page) #topbar, body:has(.mt-page) #tabbar { display: none; }
.mt-page { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100dvh; padding: calc(var(--top) + 10px) var(--gut) calc(var(--bot) + 6px); overflow: hidden; }
.mt-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #050507; }
.mt-bg i { position: absolute; inset: -60px; background: var(--c, #111) center/cover; filter: blur(46px) saturate(1.35); opacity: 0; transform: scale(1.12); transition: opacity .9s var(--ease); }
.mt-bg i.on { opacity: .55; }
.mt-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 35%, transparent, rgba(0,0,0,.55)), linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.65)); }
.mt-head, .mt-stage, .mt-acts, .mt-hint { position: relative; z-index: 1; }
.mt-head { display: flex; align-items: center; gap: 10px; padding: 4px 0 6px; max-width: 560px; width: 100%; margin: 0 auto; }
.mt-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mt-title b { display: inline-flex; align-items: center; gap: 7px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; } .mt-title b .ic { width: 18px; height: 18px; color: var(--accent-ink); }
.mt-title span { color: rgba(255,255,255,.7); font-size: .8rem; }
.mt-likes { gap: 6px; } .mt-likes .ic { color: var(--mt-yes); } .mt-likes.bump { animation: mtBump .45s var(--ease); }
@keyframes mtBump { 40% { transform: scale(1.18); } }
.mt-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 6px 0 24px; }
.mt-deck { position: relative; height: 100%; max-height: 600px; aspect-ratio: 2/3; max-width: 100%; }
.mt-deck.mt-free { aspect-ratio: auto; width: min(100%, 520px); max-height: none; }   /* the start picker and "that's everyone" */

/* a card is a book (round 3, owner: "make the card like a 3d book with the cover and summary in back with a turning
   animation"): the cover in front, the summary on the back cover, a spine with the title, page edges, and a thickness from
   the series' length (--d). Tap turns it over: it lifts, shows its spine halfway, and lands on its back. The books under it
   fade out first, so nothing peeks through mid-turn. */
.mt-card { position: absolute; inset: 0; transform-origin: 50% 90%; transition: transform .45s var(--ease), opacity .25s var(--ease); touch-action: none; user-select: none; -webkit-user-select: none; }
.mt-card:not(.top):not(.fly) { transform: translateY(calc(var(--i) * 14px)) scale(calc(1 - var(--i) * .05)); filter: brightness(calc(1 - var(--i) * .2)); pointer-events: none; }
.mt-deck.turning .mt-card:not(.top):not(.fly), .mt-deck:has(.mt-card.top.flipped) .mt-card:not(.top):not(.fly) { opacity: 0; }
.mt-card.top { cursor: grab; } .mt-card.drag { transition: none; cursor: grabbing; }
.mt-card.spring { transition: transform .55s cubic-bezier(.2, 1.45, .35, 1); }
.mt-card.fly { transition: transform .42s cubic-bezier(.25, .7, .3, 1), opacity .42s var(--ease); pointer-events: none; z-index: 20 !important; }
.mt-card.enter { animation: mtEnter .55s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes mtEnter { from { opacity: 0; transform: translateY(40px) scale(.94); } }
.mt-lift { position: absolute; inset: 0; perspective: 1700px; }
.mt-card.turn .mt-lift { animation: mtLift .85s cubic-bezier(.4, 0, .2, 1); }
@keyframes mtLift { 45% { transform: translateY(-16px) scale(1.05); } }
/* at rest turned 16° so its page edges show; the turn is a symmetric ease (edge-on comes at a known moment, see below) */
.mt-book { position: absolute; inset: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transform: rotateY(-16deg); transition: transform .8s cubic-bezier(.65, 0, .35, 1) .05s; }
.mt-card.flipped .mt-book { transform: rotateY(164deg); }
.mt-front, .mt-back { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #0e0e12; }
.mt-front { border-radius: 3px 12px 12px 3px; transform: translateZ(calc(var(--d) / 2)); box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.mt-back { border-radius: 12px 3px 3px 12px; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
/* iOS Safari can draw a turned-away face anyway (round 2), so the faces also swap by visibility the moment the book is
   edge-on: turning over (-16° → 164°) that is 0.475 s in, turning back 0.425 s (delay .05 + the eased .8 s; the curve's
   slope at its middle is 2.86). Headless Linux WebKit draws no 3D at all, so it shows this fallback: a flat card turning. */
.mt-front, .mt-back { transition: visibility 0s linear .43s; }
.mt-card.flipped .mt-front, .mt-card.flipped .mt-back { transition-delay: .48s; }
.mt-card.flipped .mt-front, .mt-card:not(.flipped) .mt-back { visibility: hidden; pointer-events: none; }
.mt-back .btn-glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.14); }   /* no blurred glass inside a face (what tripped iOS) */
.mt-front > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* the hinge near the spine, and a soft sheen like a printed cover */
.mt-front::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.42) 0, rgba(255,255,255,.2) 1.6%, rgba(0,0,0,.16) 3.4%, transparent 7%),
    linear-gradient(125deg, rgba(255,255,255,.16) 0%, transparent 32%, transparent 70%, rgba(0,0,0,.18) 100%); }
.mt-spine { position: absolute; top: 0; bottom: 0; left: calc(var(--d) / -2); width: var(--d); transform: rotateY(-90deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 2px;
  background: linear-gradient(90deg, rgba(0,0,0,.45), transparent 30%, transparent 70%, rgba(0,0,0,.45)), color-mix(in srgb, var(--c, #3a3a48) 75%, #111); }
.mt-spine span { writing-mode: vertical-rl; max-height: 84%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: clamp(8px, calc(var(--d) * .42), 11px); font-weight: 800; letter-spacing: .06em; color: rgba(255,255,255,.9); }
.mt-edge { position: absolute; top: 4px; bottom: 4px; right: calc(var(--d) / -2); width: var(--d); transform: rotateY(90deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(90deg, rgba(0,0,0,.22), transparent 25%, transparent 75%, rgba(0,0,0,.22)), repeating-linear-gradient(90deg, #f3eee3 0 1px, #d6cebd 1px 2.2px); }
.mt-shadow { position: absolute; left: 7%; right: 7%; bottom: -16px; height: 28px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); }
.mt-card.turn .mt-shadow { animation: mtShadow .85s cubic-bezier(.4, 0, .2, 1); }
@keyframes mtShadow { 45% { transform: scaleX(.78); opacity: .45; } }
.mt-card:not(.top) .mt-shadow { display: none; }
.mt-stamp { position: absolute; z-index: 4; top: 54px; padding: 6px 14px; border: 4px solid; border-radius: 12px; font-size: 1.5rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: 0; pointer-events: none; background: rgba(0,0,0,.25); }
.mt-stamp.yes { left: 20px; color: var(--mt-yes); border-color: var(--mt-yes); transform: rotate(-14deg); opacity: var(--yes, 0); }
.mt-stamp.no { right: 20px; color: var(--mt-no); border-color: var(--mt-no); transform: rotate(14deg); opacity: var(--no, 0); }
.mt-stamp.love { left: 50%; top: auto; bottom: 40%; color: var(--mt-love); border-color: var(--mt-love); transform: translateX(-50%) rotate(-6deg); opacity: var(--love, 0); }
.mt-card.fly-like .mt-stamp.yes, .mt-card.fly-nope .mt-stamp.no, .mt-card.fly-love .mt-stamp.love { opacity: 1; }
/* the back cover */
.mt-back { display: flex; flex-direction: column; background: linear-gradient(170deg, color-mix(in srgb, var(--c, var(--accent)) 30%, #111116), #0c0c11 58%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.mt-back::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, rgba(0,0,0,.4) 0, rgba(255,255,255,.12) 1.6%, transparent 6%); }
.mt-back-s { flex: 1; overflow-y: auto; padding: 18px 20px 10px 18px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.mt-back .k { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.75); } .mt-back .k .ic { width: 14px; height: 14px; color: #ffd60a; }
.mt-back h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; } .mt-back .nat { font-family: var(--jp); color: rgba(255,255,255,.55); }
.mt-back .by { color: rgba(255,255,255,.7); font-size: .84rem; } .mt-back p { color: rgba(255,255,255,.86); line-height: 1.55; font-size: .88rem; margin: 4px 0; }
.mt-back .mt-meta { color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 600; }
.mt-back-b { display: flex; gap: 8px; padding: 10px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.55)); } .mt-back-b .btn { flex: 1; justify-content: center; min-width: 0; }
.mt-tags { display: flex; flex-wrap: wrap; gap: 6px; } .mt-tags span { padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,.12); font-size: .7rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.mt-tags span.hit { background: color-mix(in srgb, var(--mt-yes) 26%, rgba(0,0,0,.3)); color: #c9f7d6; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mt-yes) 55%, transparent); }

/* what used to sit on the card, now under it (owner: "move the match percentage and other outside of the card") */
.mt-about { position: relative; z-index: 1; width: 100%; max-width: 440px; margin: 0 auto; min-height: 140px; padding: 0 2px 8px; transition: opacity .12s linear; }
.mt-about:empty { min-height: 0; }
.mt-about-in { display: flex; flex-direction: column; gap: 5px; }
.mt-about.in .mt-about-in { animation: mtAboutIn .45s var(--ease) both; }
@keyframes mtAboutIn { from { opacity: 0; transform: translateY(10px); } }
.mt-r1 { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.mt-pct { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 4px; border-radius: 980px; background: rgba(255,255,255,.1); font-size: .74rem; color: rgba(255,255,255,.75); }
.mt-pct svg { width: 26px; height: 26px; transform: rotate(-90deg); } .mt-pct circle { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 3.4; }
.mt-pct circle.v { stroke: var(--mt-yes); stroke-linecap: round; }
.mt-pct b { font-size: .92rem; font-weight: 800; color: #fff; margin-left: -2px; } .mt-pct.pop { padding: 6px 12px; } .mt-pct.pop .ic { width: 15px; height: 15px; color: #ff9f0a; }
.mt-ready { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 980px; background: rgba(255,255,255,.1); font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.75); white-space: nowrap; }
.mt-ready .ic { width: 13px; height: 13px; } .mt-ready.on { color: var(--mt-yes); }
.mt-story { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 980px; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: .8rem; flex: none; }
.mt-story .ic { width: 15px; height: 15px; } .mt-story:active { transform: scale(.95); }
.mt-about h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-why { display: flex; align-items: center; gap: 6px; min-width: 0; color: rgba(255,255,255,.85); font-size: .82rem; font-weight: 600; }
.mt-why span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mt-why .ic { width: 14px; height: 14px; flex: none; color: #ffd60a; }
.mt-about .mt-meta { color: rgba(255,255,255,.62); font-size: .8rem; font-weight: 600; }
.mt-about .mt-tags { flex-wrap: nowrap; overflow: hidden; margin-top: 3px; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
@media (max-height: 700px) { .mt-about .mt-tags { display: none; } .mt-about { min-height: 112px; } }

/* the buttons */
.mt-acts { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3vw, 18px); padding: 2px 0 6px; transition: opacity var(--fast); }
.mt-acts.off { opacity: .3; pointer-events: none; }
.mt-b { display: grid; place-items: center; border-radius: 50%; background: rgba(20,20,26,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(0,0,0,.45), inset 0 0 0 1.5px rgba(255,255,255,.1); transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.mt-b:hover { transform: scale(1.07); } .mt-b:active { transform: scale(.9); }
.mt-b.lg { width: 70px; height: 70px; } .mt-b.lg .ic { width: 32px; height: 32px; } .mt-b.md { width: 56px; height: 56px; } .mt-b.md .ic { width: 25px; height: 25px; } .mt-b.sm { width: 46px; height: 46px; } .mt-b.sm .ic { width: 20px; height: 20px; }
.mt-b.no .ic { color: var(--mt-no); stroke-width: 2.6; } .mt-b.yes .ic { color: var(--mt-yes); } .mt-b.love .ic { color: var(--mt-love); } .mt-b.undo .ic { color: var(--mt-undo); } .mt-b.read .ic { color: var(--fg-dim); }
.mt-page[data-lean="like"] .mt-b.yes { transform: scale(1.14); background: var(--mt-yes); } .mt-page[data-lean="like"] .mt-b.yes .ic { color: #04210f; }
.mt-page[data-lean="nope"] .mt-b.no { transform: scale(1.14); background: var(--mt-no); } .mt-page[data-lean="nope"] .mt-b.no .ic { color: #2a0503; }
.mt-page[data-lean="love"] .mt-b.love { transform: scale(1.18); background: var(--mt-love); } .mt-page[data-lean="love"] .mt-b.love .ic { color: #fff; }
.mt-hint { text-align: center; color: rgba(255,255,255,.5); font-size: .74rem; padding-bottom: 10px; }
@media (pointer: coarse) { .mt-hint { display: none; } }

/* feedback: a short note at the top, and a burst from the middle */
.mt-flash { position: absolute; z-index: 30; top: 10px; left: 50%; transform: translate(-50%, -14px); opacity: 0; display: inline-flex; align-items: center; gap: 8px; max-width: min(92%, 420px);
  padding: 9px 15px; border-radius: 980px; background: rgba(20,20,26,.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 12px 30px rgba(0,0,0,.4);
  font-size: .84rem; transition: opacity .25s var(--ease), transform .35s var(--ease); pointer-events: none; }
.mt-flash.on { opacity: 1; transform: translate(-50%, 0); } .mt-flash span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mt-flash .ic { width: 16px; height: 16px; flex: none; }
.mt-flash.like .ic { color: var(--mt-yes); } .mt-flash.love .ic { color: var(--mt-love); }
.mt-burst { position: absolute; z-index: 25; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.mt-burst i { position: absolute; left: -10px; top: -10px; animation: mtPop .85s cubic-bezier(.2, .8, .3, 1) forwards; transform: rotate(var(--a)) translateY(0) scale(.4); }
.mt-burst i .ic { width: 20px; height: 20px; } .mt-burst.like i .ic { color: var(--mt-yes); fill: var(--mt-yes); } .mt-burst.love i .ic { color: var(--mt-love); fill: var(--mt-love); }
@keyframes mtPop { 60% { opacity: 1; } to { transform: rotate(var(--a)) translateY(calc(var(--d) * -1)) scale(1); opacity: 0; } }

/* loading, empty, the start */
.mt-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.mt-loading i { position: absolute; inset: 0; border-radius: 3px 12px 12px 3px; background: linear-gradient(90deg, #121215 0%, #1c1c22 40%, #121215 80%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.mt-loading i:nth-child(2) { transform: translateY(16px) scale(.95); z-index: -1; opacity: .7; } .mt-loading i:nth-child(3) { transform: translateY(32px) scale(.9); z-index: -2; opacity: .45; }
.mt-loading span { position: relative; color: var(--fg-mute); font-weight: 650; }
.mt-empty, .mt-onb { position: absolute; inset: 0; border-radius: 24px; background: rgba(14,14,18,.82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 26px; color: var(--fg-dim); }
.mt-empty .ic { width: 38px; height: 38px; color: var(--accent-ink); } .mt-empty b { color: var(--fg); font-size: 1.15rem; } .mt-empty .rbtns { margin-top: 10px; justify-content: center; }
.mt-onb { justify-content: flex-start; overflow-y: auto; text-align: left; align-items: stretch; }
.mt-onb .k { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.mt-onb h2 { color: var(--fg); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; } .mt-onb p { margin: 0; line-height: 1.45; }
.mt-onb h4 { margin: 10px 0 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-mute); }
.mt-picks { display: flex; flex-wrap: wrap; gap: 7px; }
.mt-pick { height: 34px; padding: 0 13px; border-radius: 980px; background: rgba(255,255,255,.09); color: var(--fg-dim); font-weight: 650; font-size: .84rem; transition: background var(--fast), color var(--fast), transform var(--fast); }
.mt-pick.on { background: #fff; color: #000; transform: scale(1.04); }
.mt-onb .rbtns { position: sticky; bottom: -26px; margin: 8px -26px -26px; padding: 22px 20px 20px; flex-wrap: nowrap; background: linear-gradient(rgba(14,14,18,0), rgba(14,14,18,.97) 34%); }
.mt-onb .rbtns .btn { flex: 1; justify-content: center; min-width: 0; } .mt-onb [data-go]:disabled { opacity: .45; }
.mt-how { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 12px; }
.mt-how li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--fg-dim); font-size: .88rem; line-height: 1.45; } .mt-how .ic { width: 20px; height: 20px; color: var(--accent-ink); } .mt-how b { color: var(--fg); }

/* ── your matches ── */
.mt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 14px; padding: 6px var(--gut) 40px; }
.mt-sk { display: block; aspect-ratio: 2/3; border-radius: 14px; background: linear-gradient(90deg, #121215 0%, #1c1c20 40%, #121215 80%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.mt-li { display: flex; flex-direction: column; gap: 4px; transition: opacity .25s var(--ease), transform .25s var(--ease); } .mt-li.gone { opacity: 0; transform: scale(.94); }
.mt-li .cv { position: relative; display: block; aspect-ratio: 2/3; border-radius: 14px; overflow: hidden; background: var(--bg-2); margin-bottom: 4px; }
.mt-li .cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-li .lv { position: absolute; left: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mt-love); } .mt-li .lv .ic { width: 15px; height: 15px; color: #fff; }
.mt-x { position: absolute; right: 7px; top: 7px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; opacity: .85; }
.mt-x .ic { width: 15px; height: 15px; } .mt-li b { font-size: .9rem; font-weight: 650; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-li .m { color: var(--fg-mute); font-size: .76rem; }
.mt-short { display: none; }
.mt-likes-page .pagehead h1 { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .mt-card, .mt-book, .mt-card.fly, .mt-card.spring { transition-duration: .01ms !important; } .mt-front, .mt-back { transition: none !important; } .mt-lift, .mt-shadow, .mt-about-in { animation: none !important; } .mt-fan img, .mt-fan i, .mt-fan-b, .mt-card.enter { animation: none !important; } }
@media (max-width: 760px) {
  .mt-hero { grid-template-columns: minmax(0, 1fr) 118px; padding: 18px; gap: 10px; align-items: start; }
  .mt-hero .rbtns { flex-direction: column; align-items: stretch; } .mt-hero .rbtns .btn { justify-content: center; }
  .mt-hero p { font-size: .86rem; }
  .mt-fan { width: 118px; height: 150px; } .mt-fan img, .mt-fan i { width: 66px; transform: translateX(calc(-50% + (var(--i) - 1) * 26px)) rotate(calc((var(--i) - 1) * 9deg)) translateY(calc(var(--y, 0) * 8px)); }
  .mt-fan-b { width: 38px; height: 38px; right: 0; bottom: 14px; } .mt-fan-b .ic { width: 18px; height: 18px; }
  .mt-tile { width: 112px; }
  .mt-b.lg { width: 62px; height: 62px; } .mt-b.md { width: 50px; height: 50px; } .mt-b.sm { width: 42px; height: 42px; }
  .mt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .mt-long { display: none; } .mt-short { display: inline; }
  .mt-stamp { font-size: 1.2rem; top: 48px; }
}
