@font-face { font-family: "DSSerif"; src: url("fonts/serif.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "DSScript"; src: url("fonts/script.woff2") format("woff2"); font-display: swap; }
:root {
  --pink: #f3b6c4; --cream: #f4ece4; --ink: #0e0b0c; --red: #a3122a; --muted: #a99a9e; --line: rgba(243, 182, 196, .28);
  --serif: "DSSerif", "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --script: "DSScript", "Snell Roundhand", "Segoe Script", cursive;
  --mono: "Courier New", "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--ink); color: var(--cream); font-family: var(--sans); }
body { min-height: 100vh; overscroll-behavior-y: none; }
#app { max-width: 480px; margin: 0 auto; position: relative; overflow-x: hidden; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
.screen { min-height: 100vh; min-height: 100dvh; position: relative; padding: calc(env(safe-area-inset-top) + 18px) 22px calc(env(safe-area-inset-bottom) + 28px); }
.grain::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* buttons */
.btn { display: block; width: 100%; padding: 15px 0; border-radius: 99px; font-size: 15px; font-weight: 600; letter-spacing: 2px; text-align: center; transition: transform .12s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--cream); color: #1a1114; }
.btn.outline { border: 1px solid var(--pink); color: var(--pink); }
.btn.ghost { color: var(--muted); font-weight: 400; font-size: 14px; letter-spacing: 1px; }
.fine { font-size: 11px; color: #6f6366; line-height: 1.7; text-align: center; margin-top: 18px; }

/* ---------- home ---------- */
.home-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: #8d7f83; }
.home-top b { font-weight: 400; }
.invite { margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; line-height: 1.6; color: var(--cream); background: rgba(243, 182, 196, .06); }
.invite b { color: var(--pink); }
.home-title { font-family: var(--serif); font-weight: 900; font-size: 46px; line-height: 1.12; letter-spacing: 4px; margin-top: 30px; }
.home-script { font-family: var(--script); color: var(--pink); font-size: 30px; -webkit-text-stroke: .3px var(--pink); white-space: nowrap; transform: rotate(-5deg); transform-origin: left bottom; margin: 6px 0 0 30px; }
.fan { position: relative; height: 250px; margin: 22px 0 10px; }
.fan-card { position: absolute; top: 10px; left: 50%; width: 150px; height: 213px; margin-left: -75px; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 36px rgba(0, 0, 0, .7); }
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan-card.l { transform: translateX(-88px) rotate(-12deg); filter: brightness(.65); }
.fan-card.r { transform: translateX(88px) rotate(12deg); filter: brightness(.65); }
.fan-card.c { top: 0; z-index: 2; }
.fan-q { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: 64px; color: rgba(255, 255, 255, .92); text-shadow: 0 4px 20px rgba(0, 0, 0, .8); z-index: 5; }
.home-facts { list-style: none; text-align: center; font-size: 13px; color: #cdbfc2; line-height: 2; letter-spacing: 1px; }
.home-facts b { font-family: var(--serif); color: var(--pink); font-size: 16px; }
.home-form { margin-top: 18px; display: grid; gap: 12px; }
#nick { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--cream); padding: 10px 4px; text-align: center; font-size: 15px; letter-spacing: 1px; outline: none; border-radius: 0; }
#nick::placeholder { color: #6f6366; }

/* ---------- quiz ---------- */
.quiz-bar { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: #8d7f83; letter-spacing: 1px; }
.back { font-size: 30px; line-height: 1; width: 32px; height: 32px; color: var(--cream); margin-left: -6px; }
.back:disabled { opacity: .15; }
.quiz-page { flex: 1; }
.quiz-page b { color: var(--cream); font-weight: 400; }
.progress { height: 2px; background: rgba(255, 255, 255, .08); margin-top: 10px; }
.progress i { display: block; height: 100%; width: 0; background: var(--pink); transition: width .3s; }
.q-wrap { margin-top: 40px; transition: opacity .2s, transform .2s; }
.q-wrap.out { opacity: 0; transform: translateX(-14px); }
.q-wrap.in { opacity: 0; transform: translateX(14px); }
.q-label { font-family: var(--script); color: var(--pink); font-size: 32px; }
.q-text { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.6; letter-spacing: 1px; margin-top: 6px; min-height: 106px; }
.opts { margin-top: 22px; display: grid; gap: 12px; }
.opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 15px 16px; border-radius: 14px; border: 1px solid rgba(244, 236, 228, .14); background: rgba(244, 236, 228, .04); font-size: 15px; line-height: 1.55; transition: background .15s, border-color .15s, transform .12s; }
.opt i { font-style: normal; font-family: var(--serif); font-weight: 700; color: var(--pink); flex: none; width: 16px; }
.opt:active { transform: scale(.985); }
.opt.on { background: var(--cream); color: #1a1114; border-color: var(--cream); }
.opt.on i { color: var(--red); }
.quip { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(86vw, 380px); padding: 26px 22px; border-radius: 16px; background: #1a1416; border: 1px solid var(--line); text-align: center; font-family: var(--serif); font-size: 17px; line-height: 1.7; z-index: 40; box-shadow: 0 20px 60px rgba(0, 0, 0, .7); animation: pop .3s; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%); } }

/* ---------- reveal ---------- */
#reveal { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.reveal-stage { position: relative; perspective: 1000px; }
.reveal-card { width: 240px; height: 341px; position: relative; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.6, .1, .2, 1); }
.reveal-card.flip { transform: rotateY(180deg); }
.rc-back, .rc-front { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.rc-back { background: #1a1416; border: 1px solid var(--line);
  background-image: radial-gradient(circle at 50% 50%, rgba(243, 182, 196, .16) 0 2px, transparent 3px), repeating-radial-gradient(circle at 50% 50%, transparent 0 10px, rgba(243, 182, 196, .09) 10px 11px);
  background-size: 22px 22px, 100% 100%; display: grid; place-items: center; }
.rc-emblem { text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--muted); display: grid; gap: 8px; padding: 22px 16px; border: 1px solid var(--line); background: var(--ink); }
.rc-emblem b { font-family: var(--serif); font-size: 20px; letter-spacing: 4px; color: var(--cream); }
.rc-front { transform: rotateY(180deg); }
.rc-front img { width: 100%; height: 100%; object-fit: cover; }
.reveal-stamp { position: absolute; right: -24px; bottom: 30px; width: 104px; height: 104px; border-radius: 50%; border: 3px solid rgba(207, 40, 58, .9); color: rgba(207, 40, 58, .95); font-family: var(--serif); font-weight: 900; font-size: 22px; letter-spacing: 3px; display: grid; place-items: center; transform: rotate(-16deg) scale(2.4); opacity: 0; box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 6px rgba(207, 40, 58, .7); transition: transform .25s cubic-bezier(.3, 1.6, .6, 1), opacity .15s; z-index: 3; }
.reveal-stamp.on { transform: rotate(-16deg) scale(1); opacity: 1; }
.reveal-text { margin-top: 34px; font-family: var(--serif); font-size: 15px; letter-spacing: 3px; color: var(--muted); }

/* ---------- result card ---------- */
.res-head { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.res-t { font-family: var(--serif); font-size: 13px; letter-spacing: 4px; color: #cdbfc2; }
.res-t em { font-style: normal; color: var(--pink); }
.res-no { font-family: var(--mono); font-size: 11px; color: #8d7f83; letter-spacing: 1px; }
.stage { perspective: 900px; display: flex; justify-content: center; margin-top: 16px; }
.card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%; width: min(82vw, 330px); aspect-ratio: 318 / 452; border-radius: 16px; position: relative; transform: rotateX(var(--rx)) rotateY(var(--ry)); box-shadow: 0 24px 50px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; background: #000; touch-action: none; user-select: none; -webkit-user-select: none; }
.card .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 18%, transparent 50%, rgba(8, 4, 6, .94) 82%); }
.card .frame { position: absolute; inset: 7px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .3); z-index: 4; pointer-events: none; }
.card .top { position: absolute; z-index: 5; left: 16px; right: 14px; top: 13px; display: flex; justify-content: space-between; align-items: center; }
.card .top .no { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: #f6e9ec; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.card .bottom { position: absolute; z-index: 5; left: 18px; right: 18px; bottom: 16px; }
.card .script { text-align: right; margin: 0 -4px 2px 0; line-height: 1.2; }
.card .script span { display: inline-block; font-family: var(--script); font-size: 42px; -webkit-text-stroke: .4px var(--pink); color: var(--pink); transform: rotate(-5deg); transform-origin: left bottom; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); white-space: nowrap; }
.card .prefix { font-size: 12px; letter-spacing: 3px; color: var(--pink); margin-bottom: 6px; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.card .name { font-family: var(--serif); font-weight: 900; font-size: 40px; letter-spacing: 3px; line-height: 1.05; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.card .name.long { font-size: 33px; letter-spacing: 1px; }
.card .sub { margin-top: 8px; display: flex; justify-content: space-between; font-size: 11px; color: #e8d9dc; letter-spacing: 1px; }
.card .sub b { color: var(--pink); font-weight: 600; }
.tier { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: 19px; color: #fff; flex: none; }
.tier.S, .tier.H { background: conic-gradient(from 30deg, #ff8fb8, #ffe38f, #8ff5d0, #8fc8ff, #d79bff, #ff8fb8); box-shadow: 0 0 0 2px rgba(255, 255, 255, .7), 0 0 18px rgba(255, 170, 210, .6); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.tier.H { font-size: 12px; letter-spacing: 0; }
.tier.A { background: linear-gradient(135deg, #f8e7a8, #c9993f 55%, #fff1c2); color: #3b2a07; box-shadow: 0 0 0 2px rgba(255, 240, 200, .8); }
.tier.B { background: linear-gradient(135deg, #f3f3f3, #9ea3a8 55%, #fff); color: #222; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.tier.C { background: #e9dfd2; color: #5a4a3c; box-shadow: 0 0 0 2px rgba(255, 255, 255, .4); }
/* materials */
.card.m-C .art { filter: sepia(.4) saturate(.75); }
.card.m-C .frame { inset: 0; border-radius: 16px; border: 7px solid #e9dfd2; }
.card.m-B .frame { border: 2px solid transparent; background: linear-gradient(135deg, #fff, #8d9297, #fff, #8d9297) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
.card.m-A .frame { border: 3px solid transparent; background: linear-gradient(135deg, #fff1c2, #b8862f, #fff1c2, #b8862f) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
.card.m-A::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: soft-light; opacity: .5; background: linear-gradient(115deg, transparent 30%, rgba(255, 236, 190, .7) 45%, transparent 60%); background-size: 220% 220%; background-position: var(--mx) var(--my); }
.holo::before, .card.m-S::before, .card.m-H::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: color-dodge; opacity: .30;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, .1) 52%, transparent 62%), repeating-linear-gradient(115deg, #f7b8cf 0%, #f6e3b4 5%, #bff0dc 10%, #c4dcf7 15%, #e2c6f5 20%, #f7b8cf 25%);
  background-size: 220% 220%, 340% 340%; background-position: var(--mx, 50%) var(--my, 30%), var(--mx, 50%) var(--my, 30%); }
.card.m-H::before { opacity: .34; }
.holo::after, .card.m-S::after, .card.m-H::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; opacity: .22;
  background-image: radial-gradient(rgba(255, 255, 255, .95) .7px, transparent 1.1px), radial-gradient(rgba(255, 220, 235, .9) .6px, transparent 1px); background-size: 9px 9px, 13px 13px; background-position: 0 0, 4px 6px;
  -webkit-mask-image: linear-gradient(115deg, transparent 25%, #000 45%, transparent 70%); mask-image: linear-gradient(115deg, transparent 25%, #000 45%, transparent 70%); }
.card.m-S .frame, .card.m-H .frame { border: 1.5px solid transparent; background: linear-gradient(135deg, #f7b8cf, #f6e3b4, #bff0dc, #c4dcf7, #e2c6f5, #f7b8cf) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
.tilt-hint { text-align: center; font-size: 11px; color: #6f6366; margin-top: 12px; letter-spacing: 1px; }

.stats { margin: 16px 6px 0; display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { flex: 1; text-align: center; padding: 10px 0 8px; font-size: 10px; color: #b7a8ac; letter-spacing: 1px; }
.stats div + div { border-left: 1px solid rgba(243, 182, 196, .16); }
.stats strong { display: block; font-family: var(--serif); font-weight: 700; font-size: 23px; color: var(--cream); letter-spacing: 0; }
.stats strong small { font-size: 12px; color: #8d7f83; }
.quote { margin: 18px 14px 0; font-family: var(--serif); font-size: 16px; line-height: 1.75; text-align: center; color: var(--cream); position: relative; }
.quote::before { content: "\201C"; font-size: 40px; color: var(--red); position: absolute; left: -8px; top: -16px; }
.tags { margin: 14px 0 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.tags span { font-size: 11px; padding: 4px 10px; background: rgba(244, 236, 228, .92); color: #3b2b2f; transform: rotate(-2deg); box-shadow: 0 2px 4px rgba(0, 0, 0, .4); clip-path: polygon(3% 0, 100% 4%, 97% 100%, 0 95%); }
.tags span:nth-child(2) { transform: rotate(2.5deg); background: var(--pink); }
.tags span:nth-child(3) { transform: rotate(-1deg); }
.res-btns { margin: 24px 0 0; display: flex; gap: 10px; }
.res-btns .btn { flex: 1; }
.res-btns.single { margin-top: 26px; }

/* sections */
.sec { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(244, 236, 228, .08); }
.sec h3 { font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: 2px; display: flex; justify-content: space-between; align-items: baseline; }
.sec h3 small { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: 2px; color: #6f6366; }
.sec h4 { font-family: var(--serif); font-size: 15px; color: var(--pink); letter-spacing: 1px; margin-bottom: 6px; }
.sec p { font-size: 14px; line-height: 1.8; color: #d9ccd0; }
.sec.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-note { margin-top: 6px; text-align: center; font-size: 12px !important; color: var(--muted) !important; }
.radar-wrap { display: flex; justify-content: center; margin-top: 8px; }
.moments { list-style: none; margin-top: 12px; display: grid; gap: 12px; counter-reset: m; }
.moments li { position: relative; padding: 14px 14px 14px 46px; border-radius: 12px; background: rgba(244, 236, 228, .04); border: 1px solid rgba(244, 236, 228, .08); font-size: 14px; line-height: 1.7; color: #e3d6da; counter-increment: m; }
.moments li::before { content: "0" counter(m); position: absolute; left: 14px; top: 13px; font-family: var(--serif); font-weight: 900; color: var(--red); font-size: 18px; }
.match { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mcard { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 318 / 452; background: #000; }
.mcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mcard .lab { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .92)); }
.mcard .lab small { display: block; font-size: 10px; color: var(--pink); letter-spacing: 2px; }
.mcard .lab b { font-family: var(--serif); font-weight: 900; font-size: 17px; }
.mcard .k { position: absolute; top: 8px; left: 8px; font-size: 10px; padding: 3px 8px; border-radius: 99px; background: rgba(0, 0, 0, .6); border: 1px solid var(--line); z-index: 2; }
.advice p { font-family: var(--serif); font-size: 16px; line-height: 1.85; color: var(--cream); margin-top: 10px; }
.invite-sec p { margin: 10px 0 16px; }
.dex { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.dex div { position: relative; aspect-ratio: 318 / 452; border-radius: 8px; overflow: hidden; background: #1a1416; }
.dex img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.5) saturate(.6); }
.dex span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 4px 5px; font-size: 10px; text-align: center; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); line-height: 1.3; }
.dex .me img { filter: none; }
.dex .me { box-shadow: 0 0 0 2px var(--pink); }
.dex .me::after { content: "你"; position: absolute; top: 4px; right: 4px; font-size: 10px; background: var(--pink); color: #1a1114; padding: 1px 6px; border-radius: 99px; }
.dex .lock { display: grid; place-items: center; border: 1px dashed var(--line); }
.dex .lock b { font-family: var(--serif); font-size: 26px; color: #4d4245; }
.res-foot { margin-top: 30px; }

/* pair */
.pair { margin-top: 26px; padding: 18px 16px 20px; border-radius: 18px; background: linear-gradient(160deg, #23161a, #120d0f); border: 1px solid var(--line); }
.pair-h { text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--muted); }
.pair-cards { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; }
.pair-cards .mcard { width: 42%; }
.pair-x { font-family: var(--serif); font-size: 26px; color: var(--pink); }
.pair-name { text-align: center; font-family: var(--serif); font-weight: 900; font-size: 19px; margin-top: 14px; line-height: 1.5; }
.pair-verdict { text-align: center; font-family: var(--serif); font-size: 16px; line-height: 1.8; color: var(--cream); margin-top: 8px; }
.pair-nums { display: flex; margin-top: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pair-nums div { flex: 1; text-align: center; padding: 9px 0 7px; font-size: 10px; color: #b7a8ac; }
.pair-nums div + div { border-left: 1px solid rgba(243, 182, 196, .16); }
.pair-nums strong { display: block; font-family: var(--serif); font-size: 22px; color: var(--cream); }
.pair-fight { margin-top: 14px; font-size: 13px; line-height: 1.7; color: #d9ccd0; text-align: center; }
.pair-fight b { color: var(--pink); font-weight: 600; }
.pair .radar-wrap { margin-top: 10px; }
.pair-legend { display: flex; justify-content: center; gap: 16px; font-size: 11px; color: var(--muted); }
.pair-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.pair .btn { margin-top: 16px; }

/* overlay & toast */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(8, 5, 6, .94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.ov-inner { width: min(100%, 420px); text-align: center; }
.ov-inner img { width: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .8); -webkit-touch-callout: default; }
.ov-inner p { font-size: 13px; color: var(--cream); margin: 14px 0 4px; letter-spacing: 1px; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 40px); transform: translateX(-50%); z-index: 120; background: var(--cream); color: #1a1114; font-size: 13px; padding: 10px 18px; border-radius: 99px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); white-space: nowrap; animation: pop2 .25s; }
@keyframes pop2 { from { opacity: 0; transform: translate(-50%, 10px); } }

@media (max-width: 360px) {
  .home-title { font-size: 40px; }
  .home-script { font-size: 26px; margin-left: 12px; }
  .q-text { font-size: 20px; }
  .card .name { font-size: 34px; }
  .card .name.long { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.copy-box textarea { width: 100%; height: 130px; margin: 12px 0 16px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #1a1416; color: var(--cream); font-size: 13px; line-height: 1.6; resize: none; -webkit-user-select: text; user-select: text; }
