/* bias.beauty public homepage. Blue-violet = "you" (the logo dot), rose = "TA". */
:root {
    --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Noto Serif SC", serif;
    --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei UI", system-ui, -apple-system, sans-serif;
    --bg: #f7f7fb; --surface: #ffffff; --ink: #14141f; --muted: #5c5f70; --line: #e2e2ec;
    --you: #7215fd; --you-wash: rgba(114, 21, 253, .09);
    --ta: #c73d66; --ta-wash: rgba(199, 61, 102, .10);
    --tile: #ecedf3;
    --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f0f16; --surface: #17171f; --ink: #ececf4; --muted: #9d9fb2; --line: #282836;
        --you: #a07bff; --you-wash: rgba(160, 123, 255, .14);
        --ta: #ff7fa1; --ta-wash: rgba(255, 127, 161, .14);
        --tile: #20202a;
    }
}

[data-auth-only] { display: none !important; }
body.web-authenticated [data-auth-only] { display: revert !important; }
body.web-authenticated [data-public-only] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--you); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.25; }
h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; }
h3 { font-size: 20px; line-height: 1.4; }
p { margin: 0; }
.ph { display: inline-block; }
.measure { max-width: 34em; }
.muted { color: var(--muted); }

/* scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* progress + nav */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--you), var(--ta)); z-index: 40; }
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s; }
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 64px; border-bottom: 1px solid var(--line); transition: height .3s var(--ease), border-color .3s; }
.nav.scrolled { box-shadow: 0 8px 30px rgba(20, 20, 31, .07); }
.nav.scrolled .wrap { height: 56px; border-color: transparent; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 30px; width: auto; transition: transform .4s var(--ease); }
.logo:hover img { transform: translateY(-2px) rotate(-2deg); }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.nav-links a, .nav-text { text-decoration: none; position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-text:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-text { font-size: 15px; color: var(--muted); }
.nav-links { margin-right: auto; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .logo { margin-right: auto; } }

.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 11px 22px; font: 600 15px/1.2 var(--sans); border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; transition: color .3s, border-color .3s, transform .15s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .4s var(--ease); }
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.97); }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid::before { background: var(--you); }
.btn.solid:hover { border-color: var(--you); }
.btn.sm { padding: 7px 16px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }

/* hero */
.hero { position: relative; padding: 56px 0 80px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero { padding: 32px 0 48px; } .hero .wrap { grid-template-columns: 1fr; gap: 28px; } }
.hero .lead { color: var(--muted); font-size: 18px; margin: 20px 0 28px; }
.hero .meta { margin-top: 28px; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { h1 { font-size: 30px; } .hero .lead { font-size: 16px; margin: 14px 0 20px; } .hero .meta { margin-top: 16px; } }
.orbits { position: absolute; right: -160px; top: -120px; width: 760px; height: 760px; pointer-events: none; z-index: 0; }
.orbits circle { fill: none; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.orbits .o1 { stroke: var(--you); opacity: .26; animation: orbit1 18s ease-in-out infinite alternate; }
.orbits .o2 { stroke: var(--ta); opacity: .26; animation: orbit2 18s ease-in-out infinite alternate; }
@keyframes orbit1 { from { transform: translate(-50px, 10px); } to { transform: translate(40px, -20px); } }
@keyframes orbit2 { from { transform: translate(50px, -10px); } to { transform: translate(-40px, 30px); } }
@media (max-width: 920px) { .orbits { right: -300px; top: -200px; opacity: .6; } }

.stage { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 30px 80px -40px rgba(20, 20, 31, .28); }
@media (max-width: 640px) { .stage { padding: 16px; border-radius: 16px; } }
.stage-q { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.stage-q h2 { font-size: 22px; }
.count { font: 600 14px var(--sans); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.swap { display: inline-block; animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
.loading { grid-column: 1 / -1; aspect-ratio: 8 / 5; display: grid; place-items: center; color: var(--muted); font-size: 15px; background: var(--tile); border-radius: 14px; }

/* gender picker */
.gender { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g-opt { appearance: none; border: 2px solid transparent; background: var(--tile); border-radius: 14px; padding: 22px 12px 18px; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 14px; transition: border-color .2s, transform .3s var(--ease); }
.g-opt:hover { border-color: var(--you); transform: translateY(-3px); }
.fan { position: relative; width: 100%; max-width: 230px; aspect-ratio: 5 / 4; }
.fan img { position: absolute; top: 6%; left: 50%; width: 46%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .45); border: 3px solid var(--surface); transition: transform .5s var(--ease); }
.fan img:nth-child(1) { transform: translateX(-95%) rotate(-10deg); }
.fan img:nth-child(2) { transform: translateX(-50%) translateY(-6%); z-index: 1; }
.fan img:nth-child(3) { transform: translateX(-5%) rotate(10deg); }
.g-opt:hover .fan img:nth-child(1) { transform: translateX(-108%) rotate(-15deg); }
.g-opt:hover .fan img:nth-child(2) { transform: translateX(-50%) translateY(-12%); }
.g-opt:hover .fan img:nth-child(3) { transform: translateX(8%) rotate(15deg); }
.g-opt b { font: 700 20px var(--serif); }

/* face tiles */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; perspective: 900px; }
.pick { position: relative; appearance: none; display: block; width: 100%; border: 2px solid transparent; background: var(--tile); border-radius: 14px; padding: 0; overflow: hidden; cursor: pointer; font: inherit;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), opacity .35s, border-color .2s, box-shadow .3s; }
.pick:hover { border-color: var(--you); }
.photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pick.enter { animation: enter .6s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(22px) scale(.96); } }
.pick.enter .photo img { animation: develop 1s var(--ease) both var(--fd, 0ms); }
@keyframes develop { from { clip-path: inset(0 0 100% 0); transform: scale(1.08); filter: saturate(0) blur(6px); } 55% { filter: saturate(.5) blur(0); } to { clip-path: inset(0 0 0 0); transform: none; filter: none; } }
.pick.enter .photo::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, var(--you), transparent); box-shadow: 0 0 18px 2px var(--you); animation: scan 1s var(--ease) both var(--fd, 0ms); }
@keyframes scan { from { top: 0; opacity: 1; } 85% { opacity: 1; } to { top: 100%; opacity: 0; } }
.pick.chosen { transform: scale(1.04); border-color: var(--you); z-index: 1; box-shadow: 0 18px 40px -18px var(--you); }
.pick.chosen::after { content: ""; position: absolute; inset: -2px; border-radius: 14px; border: 2px solid var(--you); animation: ring .75s ease-out forwards; pointer-events: none; }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.14); } }
.pick.dim { opacity: .32; transform: scale(.95); }
.pair.leave .pick { opacity: 0; transform: translateY(-16px) scale(.96); transition-duration: .25s; }
.pick.guess { border-color: var(--ta); box-shadow: 0 0 0 5px var(--ta-wash); }
.pick:disabled { cursor: default; }
.pick .tag { position: absolute; top: 10px; left: 10px; z-index: 2; font: 600 12px var(--sans); padding: 2px 9px; border-radius: 999px; color: #fff; animation: pop .4s var(--ease) both; }
.pick .tag.you { background: var(--you); }
.pick .tag.ta { background: var(--ta); left: auto; right: 10px; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }

.stage-foot { margin-top: 14px; min-height: 42px; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stage-foot b { color: var(--ink); }
.linkish { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--ink); }
.kbd { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; color: var(--muted); }
@media (hover: none) { .kbd-hint { display: none; } }

/* sealed prediction */
.seal { perspective: 700px; display: inline-block; }
.seal-in { display: inline-grid; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.seal-in > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: 14px; white-space: nowrap; min-width: 200px; }
.seal .front { background: var(--ink); color: var(--bg); overflow: hidden; position: relative; }
.seal .front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-100%); animation: sheen 2.4s ease-in-out infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.seal .back { background: var(--ta-wash); color: var(--ink); border: 1px solid var(--ta); transform: rotateY(180deg); }
.seal.open .seal-in { transform: rotateY(180deg); }
.stamp { display: inline-block; font: 700 17px var(--serif); padding: 1px 12px; border: 2px solid currentColor; border-radius: 6px; transform: rotate(-6deg); animation: stamp .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.stamp.hit { color: var(--you); }
.stamp.miss { color: var(--ta); }
@keyframes stamp { from { opacity: 0; transform: scale(2) rotate(-6deg); } to { opacity: 1; transform: scale(1) rotate(-6deg); } }
.go { animation: swap .4s var(--ease) both .5s; }

/* DNA */
.dna { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.dna-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.dna-title h3 { font-size: 17px; }
.dna-title span { font-size: 13px; color: var(--muted); }
.traits { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 14px; }
@media (max-width: 640px) { .traits { grid-template-columns: 1fr; gap: 8px; } }
.trait { font-size: 13px; }
.trait .nm { font-weight: 600; color: var(--ink); transition: color .3s; }
.trait .ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
@media (max-width: 640px) { .trait { display: grid; grid-template-columns: 3em 1fr; gap: 10px; align-items: center; } .trait .ends { grid-column: 2; } .trait .nm { grid-row: 1 / 3; } }
.bar { position: relative; height: 6px; border-radius: 6px; background: var(--line); margin: 6px 0 4px; }
.bar::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1.5px; background: var(--muted); opacity: .5; }
.bar i { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; border-radius: 6px; background: var(--you); transition: left .7s cubic-bezier(.3, 1.4, .5, 1), width .7s cubic-bezier(.3, 1.4, .5, 1); }
.trait.pulse .nm { color: var(--you); }
.trait.pulse .bar { animation: barpulse .7s var(--ease); }
@keyframes barpulse { 40% { transform: scaleY(2.2); } }
.dna-read { margin-top: 12px; font-size: 15px; min-height: 26px; }
.fly { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--you); box-shadow: 0 0 0 6px var(--you-wash), 0 0 18px var(--you); pointer-events: none; z-index: 50; }

/* result */
.result { grid-column: 1 / -1; text-align: center; padding: 16px 8px 8px; }
.ringwrap { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.ringwrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ringwrap circle { fill: none; stroke-width: 8; }
.ringwrap .track { stroke: var(--line); }
.ringwrap .arc { stroke: var(--you); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.3, .7, .2, 1) .2s; }
.ringwrap .num { position: absolute; inset: 0; display: grid; place-items: center; font: 700 40px/1 var(--serif); font-variant-numeric: tabular-nums; }
.result p { color: var(--muted); margin: 14px auto 20px; max-width: 26em; }
.result .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { font-size: 13px; color: var(--muted); margin-top: 18px; text-align: left; border-left: 3px solid var(--line); padding-left: 12px; }

/* sections */
section { padding: 96px 0; border-top: 1px solid var(--line); }
@media (max-width: 640px) { section { padding: 56px 0; } }
.sec-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; margin-bottom: 48px; }
.sec-intro p { color: var(--muted); font-size: 18px; align-self: end; }
@media (max-width: 920px) { .sec-intro { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; } }

.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
@media (max-width: 920px) { .why { grid-template-columns: 1fr; gap: 28px; } }
.why .sub { color: var(--muted); margin-top: 16px; font-size: 18px; }
.why-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.why-pair figure { margin: 0; background: var(--tile); border-radius: 14px; overflow: hidden; position: relative; border: 2px solid transparent; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; }
.why-pair figure.lit { transform: translateY(-6px); border-color: var(--you); box-shadow: 0 18px 40px -18px var(--you); }
.why-pair img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.why-pair figcaption { position: absolute; left: 10px; top: 8px; font: 700 14px var(--sans); color: #fff; background: rgba(20, 20, 31, .55); padding: 0 9px; border-radius: 999px; }
.who { list-style: none; margin: 0; padding: 0; }
.who li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); transition: background .3s; border-radius: 4px; }
.who li:first-child { border-top: 1px solid var(--line); }
.who li.active { background: var(--you-wash); }
.who .t { font-size: 17px; }
.who .t small { display: block; color: var(--muted); font-size: 14px; }
.choice { font: 700 16px var(--serif); display: flex; gap: 6px; }
.choice span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.choice span.on { background: var(--you); border-color: var(--you); color: var(--bg); animation: pop .45s cubic-bezier(.2, 1.6, .4, 1); }

.process { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; counter-reset: s; }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; margin-top: 48px; } }
.process div { padding: 0 28px 0 0; position: relative; }
@media (max-width: 760px) { .process div { padding: 0 0 28px 56px; } }
.process div::before { counter-increment: s; content: counter(s); font: 700 15px/1 var(--sans); width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; margin-bottom: 16px; background: var(--bg); position: relative; z-index: 1; transition: transform .5s cubic-bezier(.2, 1.6, .4, 1), opacity .4s; transition-delay: calc(var(--i) * 380ms); }
@media (max-width: 760px) { .process div::before { position: absolute; left: 0; top: 0; margin: 0; } }
.process div::after { content: ""; position: absolute; left: 36px; right: 0; top: 18px; height: 1.5px; background: linear-gradient(90deg, var(--you), var(--ta)); transform-origin: left; transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 380ms + 200ms); }
.process div:last-child::after { display: none; }
@media (max-width: 760px) { .process div::after { left: 18px; top: 36px; bottom: 0; right: auto; width: 1.5px; height: auto; background: linear-gradient(180deg, var(--you), var(--ta)); transform-origin: top; } }
.process div > * { transition: opacity .6s, transform .6s var(--ease); transition-delay: calc(var(--i) * 380ms + 120ms); }
.js .process:not(.in) div::before { transform: scale(.3); opacity: 0; }
.js .process:not(.in) div::after { transform: scaleX(0); }
@media (max-width: 760px) { .js .process:not(.in) div::after { transform: scaleY(0); } }
.js .process:not(.in) div > * { opacity: 0; transform: translateY(12px); }
.process h3 { margin-bottom: 6px; }
.process p { color: var(--muted); font-size: 16px; }

.mutual { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
@media (max-width: 920px) { .mutual { grid-template-columns: 1fr; gap: 28px; } }
.venn { width: 100%; height: auto; display: block; max-width: 520px; margin: 0 auto; overflow: visible; }
.venn text { font-family: var(--sans); }
.venn .cl, .venn .cr, .venn .lbl-l, .venn .lbl-r { transform-box: view-box; transition: transform 1.2s var(--ease), opacity .9s; }
.venn .mid { transition: opacity .6s 1s; }
.venn .lens { opacity: 0; }
.venn.in .lens { animation: breathe 3.2s ease-in-out 1.3s infinite; }
@keyframes breathe { 0%, 100% { opacity: .10; } 50% { opacity: .28; } }
.js .venn:not(.in) .cl, .js .venn:not(.in) .lbl-l { transform: translateX(-80px); opacity: 0; }
.js .venn:not(.in) .cr, .js .venn:not(.in) .lbl-r { transform: translateX(80px); opacity: 0; }
.js .venn:not(.in) .mid { opacity: 0; }
.models { margin: 28px 0 0; }
.models dt { font: 700 19px var(--serif); display: flex; align-items: center; gap: 10px; }
.models dt i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.models dd { margin: 4px 0 22px 22px; color: var(--muted); }
.honest { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--ta-wash); }
.honest b { display: block; font: 700 17px var(--serif); margin-bottom: 4px; }
.honest p { font-size: 15px; }


.faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin: 0; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }
.faq div { padding: 24px 0; border-top: 1px solid var(--line); }
.faq dt { font: 700 19px var(--serif); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.faq dd { margin: 8px 0 0; color: var(--muted); }

.dl { background: #14141f; color: #ececf4; border-top: 0; overflow: hidden; }
.marquee { overflow: hidden; margin-bottom: 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mtrack { display: flex; gap: 14px; width: max-content; padding: 18px 0 10px; animation: marquee 80s linear infinite; }
.marquee:hover .mtrack { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mt { position: relative; width: 112px; flex: none; border-radius: 12px; transition: transform .35s var(--ease), box-shadow .35s; }
.mt img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #2a2a36; }
.mt:hover { transform: translateY(-8px) rotate(-2deg); }
.mt.fav { box-shadow: 0 0 0 3px #a07bff, 0 0 30px -4px #a07bff; animation: favpop .6s cubic-bezier(.2, 1.6, .4, 1) both var(--fd, 0ms); }
.mt.fav::after { content: "你可能偏爱"; position: absolute; left: 50%; top: -12px; transform: translateX(-50%); white-space: nowrap; font: 600 11px var(--sans); background: #7215fd; color: #fff; padding: 1px 8px; border-radius: 999px; }
@keyframes favpop { 50% { transform: scale(1.1); } }
.dl-cap { font-size: 14px; opacity: .65; margin: -34px 0 40px; padding: 0 16px; text-align: center; }
.dl .row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.dl .sub { opacity: .7; margin-top: 10px; }
.dl .btn { border-color: #ececf4; color: #ececf4; }
.dl .btn::before { background: #ececf4; }
.dl .btn:hover { color: #14141f; }

.footer { padding: 48px 0 40px; font-size: 14px; color: var(--muted); }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
.footer .logo { margin-bottom: 10px; }
.footer h4 { color: var(--ink); font-size: 14px; margin: 0 0 10px; }
.footer .cols a:not(.logo) { display: block; text-decoration: none; margin-bottom: 6px; transition: color .2s, transform .3s var(--ease); }
.footer .cols a:not(.logo):hover { color: var(--ink); transform: translateX(4px); }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--ink); }
.legal .admin-link { margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .progress { display: none; }
}
