:root {
  color-scheme: light;
  --cream: #fff8f2;
  --cream-deep: #f9ecdf;
  --ink: #5b3341;
  --ink-soft: #956879;
  --pink: #ff6f9f;
  --pink-soft: #ffabc4;
  --pink-pale: #ffe2eb;
  --berry: #d94d7c;
  --yellow: #ffd274;
  --white: #fffdf9;
  --shadow: 0 18px 45px rgba(167, 83, 111, .14);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 183, 203, .28) 0 5%, transparent 18%),
    radial-gradient(circle at 94% 22%, rgba(255, 213, 132, .22) 0 7%, transparent 21%),
    var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(217, 77, 124, .42); outline-offset: 3px; }

.page-shell {
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 248, 242, .72);
  box-shadow: 0 0 80px rgba(117, 63, 80, .08);
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) 20px 16px;
}

.eyebrow, .section-kicker {
  margin: 0 0 3px;
  color: var(--berry);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

h1 { margin: 0; font-size: clamp(20px, 5vw, 25px); line-height: 1.1; letter-spacing: -.04em; }

.wallet {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px dashed rgba(217, 77, 124, .38);
  border-radius: 99px;
  background: rgba(255, 253, 249, .88);
  box-shadow: 0 6px 16px rgba(179, 84, 116, .09);
}

.wallet span { font-size: 20px; transform: rotate(-9deg); }
.wallet strong { min-width: 2ch; font-size: 17px; font-variant-numeric: tabular-nums; }

.pool-hero {
  position: relative;
  min-height: 330px;
  margin: 6px 14px 0;
  padding: 29px 20px 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 30px 30px 18px 30px;
  background:
    linear-gradient(142deg, rgba(255, 255, 255, .4), transparent 42%),
    linear-gradient(135deg, #ffd3df 0%, #ff9fbd 58%, #ffcc94 110%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.pool-hero::before {
  content: "";
  position: absolute;
  width: 245px;
  height: 245px;
  right: -78px;
  bottom: -82px;
  border: 1px dashed rgba(255, 255, 255, .68);
  border-radius: 50%;
}

.pool-hero::after {
  content: "🐾";
  position: absolute;
  left: 30px;
  bottom: 21px;
  color: transparent;
  opacity: .32;
  text-shadow: 0 0 0 #fff6ef;
  font-size: 36px;
  transform: rotate(-19deg);
}

.hero-copy { position: relative; z-index: 2; width: 57%; }
.issue-tag { display: inline-block; margin-bottom: 15px; padding: 6px 9px; border-radius: 8px; color: #9c4260; background: rgba(255, 253, 249, .64); font-size: 11px; font-weight: 800; }
.hero-copy h2 { margin: 0; color: #783a50; font-size: clamp(28px, 8vw, 39px); line-height: 1.05; letter-spacing: -.06em; }
.hero-copy h2 em { color: #fffaf5; font-style: normal; text-shadow: 0 2px 0 rgba(164, 70, 101, .12); }
.hero-copy p { max-width: 210px; margin: 17px 0 0; color: #874a5d; font-size: 13px; font-weight: 600; line-height: 1.65; }

.hero-sparkles span { position: absolute; z-index: 3; color: #fff9d9; filter: drop-shadow(0 2px 5px rgba(255,255,255,.45)); animation: twinkle 2.4s ease-in-out infinite; }
.hero-sparkles span:nth-child(1) { top: 26px; right: 42px; font-size: 23px; }
.hero-sparkles span:nth-child(2) { top: 67px; right: 175px; font-size: 17px; animation-delay: -.8s; }
.hero-sparkles span:nth-child(3) { right: 23px; bottom: 62px; font-size: 16px; animation-delay: -1.4s; }

.hero-card-placeholder, .hero-feature-card {
  position: absolute;
  z-index: 1;
  top: 64px;
  right: 20px;
  width: 42%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 3px solid #ffe896;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff7b7, #ff8cac 54%, #c5b2ff);
  box-shadow: 0 20px 30px rgba(105, 48, 68, .2), inset 0 0 0 2px rgba(255,255,255,.48);
  transform: rotate(5deg);
  animation: hero-float 4.6s ease-in-out infinite;
}

.hero-feature-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-feature-card .fallback-art { height: 100%; font-size: 64px; }
.hero-paw { display: grid; height: 100%; place-items: center; font-size: 64px; filter: drop-shadow(0 8px 8px rgba(121,49,74,.14)); }
.hero-card-name { position: absolute; z-index: 4; right: 14px; bottom: 16px; max-width: 49%; margin: 0; padding: 7px 11px; border-radius: 99px; color: #75374e; background: rgba(255, 251, 244, .9); box-shadow: 0 6px 16px rgba(119,54,77,.11); font-size: 11px; font-weight: 800; transform: rotate(-2deg); }

.draw-panel { padding: 31px 20px 28px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.compact-heading { align-items: center; }
.section-heading h2 { margin: 0; font-size: clamp(21px, 5.8vw, 28px); letter-spacing: -.045em; }
.rate-note { padding: 6px 9px; border-radius: 8px; color: #a04c68; background: var(--pink-pale); font-size: 11px; }

.draw-buttons { display: grid; grid-template-columns: 1fr 1.28fr; gap: 10px; }
.draw-button { min-height: 67px; border: 0; border-radius: 19px; cursor: pointer; transition: transform .18s var(--ease), filter .18s ease, opacity .18s ease; }
.draw-button:not(:disabled):active { transform: scale(.97); }
.draw-button span, .draw-button strong { display: block; }
.draw-button span { margin-bottom: 3px; font-size: 16px; font-weight: 800; }
.draw-button strong { font-size: 12px; }
.draw-button-secondary { color: var(--berry); border: 1px dashed #f18aaa; background: #fffdf9; box-shadow: 0 8px 20px rgba(179, 84, 116, .08); }
.draw-button-primary { position: relative; overflow: hidden; color: #fffaf4; background: linear-gradient(135deg, #ff83a9, #f85d91); box-shadow: 0 12px 24px rgba(230, 79, 130, .25); }
.draw-button-primary::after { content: ""; position: absolute; top: -100%; left: -40%; width: 30%; height: 300%; background: rgba(255,255,255,.25); transform: rotate(24deg); transition: left .45s ease; }
.draw-button-primary:not(:disabled):hover::after { left: 120%; }
.draw-button:disabled { cursor: not-allowed; color: #b79aa3; background: #eee4e2; box-shadow: none; opacity: .72; }
.draw-hint { min-height: 20px; margin: 11px 2px 0; color: var(--ink-soft); font-size: 12px; text-align: center; }
.draw-hint.poor { color: var(--berry); font-weight: 700; }

.collection-section { padding: 8px 20px 46px; }
.collection-count { color: var(--berry); font-size: 15px; font-variant-numeric: tabular-nums; }
.progress-track { height: 9px; margin-bottom: 10px; overflow: hidden; border: 2px solid #f5c4d2; border-radius: 99px; background: #f7e5e4; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff8fb1, #ffd06f); transition: width .6s var(--ease); }
.collection-status { margin: 0 0 19px; color: var(--ink-soft); font-size: 12px; }

.rarity-group { margin-top: 27px; }
.rarity-group:first-child { margin-top: 20px; }
.rarity-heading { display: flex; align-items: center; gap: 9px; margin: 0 0 11px; }
.rarity-heading::after { content: ""; flex: 1; border-top: 1px dashed rgba(148, 96, 112, .27); }
.rarity-heading span { font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.rarity-heading small { color: var(--ink-soft); font-size: 10px; }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px 9px; }

.mini-card { position: relative; min-width: 0; padding: 0; border: 0; border-radius: 12px; color: inherit; background: transparent; text-align: left; }
button.mini-card { cursor: pointer; }
.mini-card-frame { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border: 2px solid var(--card-border, #c8bec0); border-radius: 12px; background: var(--card-bg, linear-gradient(145deg, #eee8e4, #d8d1cf)); box-shadow: 0 7px 14px rgba(106, 61, 75, .1); transition: transform .24s var(--ease), box-shadow .24s ease; }
button.mini-card:active .mini-card-frame { transform: scale(.96); }
.mini-card-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.fallback-art { display: grid; width: 100%; height: 100%; place-items: center; background: var(--card-bg); font-size: clamp(36px, 12vw, 58px); }
.mini-card-title { position: absolute; right: 0; bottom: 0; left: 0; min-height: 31px; padding: 8px 5px 5px; overflow: hidden; color: #673746; background: linear-gradient(transparent, rgba(255,252,247,.96) 28%); font-size: 10px; font-weight: 800; line-height: 1.12; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.rarity-badge { position: absolute; z-index: 3; top: 5px; left: 5px; padding: 3px 5px; border-radius: 5px; color: #fffdf6; background: var(--badge-bg, #9a8f91); box-shadow: 0 2px 5px rgba(61,31,41,.16); font-size: 8px; font-weight: 900; letter-spacing: .04em; }
.new-badge { position: absolute; z-index: 4; top: 5px; right: -3px; padding: 4px 7px; border-radius: 7px 3px 3px 7px; color: #8b4058; background: #fff17f; box-shadow: 0 3px 7px rgba(108,62,21,.14); font-size: 9px; font-weight: 900; transform: rotate(3deg); }
.stars { display: block; min-height: 14px; margin-top: 5px; overflow: hidden; color: #da9a29; font-size: 10px; font-weight: 800; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.mini-card.unowned .mini-card-frame { border-color: #d3c9c7; box-shadow: none; }
.mini-card.unowned { cursor: pointer; }
/* 未相遇的卡：默认整张盖死，一点内容都不露 */
.mini-card.unowned .fallback-art, .mini-card.unowned img {
  filter: grayscale(1) brightness(.62) blur(9px); opacity: 0; transform: scale(1.08);
  transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.mini-card.unowned .mini-card-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: linear-gradient(160deg, #ece6e8, #d9d2d7);
  transition: opacity .28s var(--ease);
}
/* 长按偷看：蒙版几乎全开，露出模糊剪影 */
.mini-card.unowned.peeking .mini-card-frame::before { opacity: .08; }
.mini-card.unowned.peeking .fallback-art, .mini-card.unowned.peeking img {
  opacity: 1; filter: grayscale(.55) brightness(.95) blur(5px);
}
.mini-card.unowned.peeking .unknown-bubble { opacity: 0; }
.mini-card.unowned.peeking .mini-card-frame { border-color: var(--card-border, #c8bec0); transform: scale(1.03); }

.mini-card.unowned .rarity-badge { z-index: 3; opacity: .7; filter: grayscale(.75); }
.mini-card.unowned .mini-card-title { z-index: 3; color: #97888b; }
.unknown-mark { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; }
.unknown-bubble {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.6);
  border: 2px dashed #bdb2b7;
  color: #9a8f94;
  font-size: 25px; font-weight: 900; line-height: 1;
  transition: opacity .28s var(--ease);
}

[data-rarity="UR"] { --card-border: #f2bc43; --badge-bg: linear-gradient(135deg, #f6b82e, #f27486); --card-bg: linear-gradient(145deg, #fff6a6, #ff9db9 55%, #b8b6ff); }
[data-rarity="SSR"] { --card-border: #ac7ad6; --badge-bg: linear-gradient(135deg, #8868c8, #d59e4f); --card-bg: linear-gradient(145deg, #e6d4ff, #f8b7d2 55%, #ffd58c); }
[data-rarity="SR"] { --card-border: #73aee0; --badge-bg: #588fca; --card-bg: linear-gradient(145deg, #ccecff, #9fc7ee 58%, #f0e9ff); }
[data-rarity="R"] { --card-border: #aaa5ab; --badge-bg: #8e8990; --card-bg: linear-gradient(145deg, #f1edef, #d8d5db); }
.mini-card[data-rarity="UR"] .mini-card-frame { animation: ur-flow 3.6s linear infinite; }
.mini-card[data-rarity="SSR"] .mini-card-frame::after { content: ""; position: absolute; inset: -80% 45% -80% -10%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: rotate(18deg) translateX(-160%); animation: ssr-shine 4.5s ease-in-out infinite; }

footer { padding: 28px 20px calc(36px + env(safe-area-inset-bottom)); border-top: 1px dashed rgba(217,77,124,.26); background: #ffefe9; text-align: center; }
footer p { margin: 0 0 7px; color: var(--ink-soft); font-size: 12px; }
footer a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--berry); font-size: 15px; font-weight: 800; text-decoration: none; }
footer a span { transition: transform .2s var(--ease); }
footer a:hover span { transform: translateX(4px); }

.draw-overlay { position: fixed; z-index: 100; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: max(46px, env(safe-area-inset-top)) 20px max(30px, env(safe-area-inset-bottom)); overflow-y: auto; color: #fff8f4; background: radial-gradient(circle at 50% 43%, rgba(255,125,166,.2), transparent 34%), rgba(55, 26, 39, .96); }
.draw-overlay[hidden] { display: none; }
.overlay-close, .dialog-close { position: absolute; top: max(15px, env(safe-area-inset-top)); right: 16px; z-index: 4; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; color: inherit; background: rgba(255,255,255,.12); cursor: pointer; font-size: 27px; }
.reveal-header { margin-bottom: 16px; text-align: center; }
.reveal-header p { margin: 0 0 4px; color: #ffc2d5; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.reveal-header h2 { margin: 0; font-size: 24px; }
.reveal-stage { position: relative; display: grid; width: min(66vw, 265px); aspect-ratio: 3 / 4; padding: 0; place-items: center; border: 0; color: inherit; background: transparent; perspective: 1000px; cursor: pointer; }
.reveal-card { position: relative; z-index: 2; display: block; width: 100%; height: 100%; transform-style: preserve-3d; }
.reveal-card.is-shaking { animation: card-shake .62s ease-in-out; }
.reveal-card-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.reveal-card.is-flipped .reveal-card-inner { transform: rotateY(180deg); }
.card-back, .card-face { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 21px; backface-visibility: hidden; }
.card-back { border: 4px solid #ffd9e4; background: repeating-linear-gradient(135deg, rgba(255,255,255,.13) 0 10px, transparent 10px 20px), linear-gradient(145deg, #ff9ebb, #ec5d91); box-shadow: 0 0 0 2px #9e3f62, 0 0 40px rgba(255,135,174,.55), inset 0 0 0 7px rgba(255,249,242,.36); }
.card-back::before, .card-back::after { content: ""; position: absolute; inset: 13%; border: 1px dashed rgba(255,255,255,.62); border-radius: 50%; }
.card-back::after { inset: 25%; }
.back-stars { position: absolute; inset: 15px; color: rgba(255,248,209,.8); font-size: 18px; line-height: 2.4; text-align: center; }
.back-paw { position: absolute; inset: 0; display: grid; place-items: center; font-size: 70px; filter: drop-shadow(0 7px 5px rgba(107,34,65,.25)); }
.back-label { position: absolute; right: 0; bottom: 36px; left: 0; font-size: 12px; font-weight: 900; letter-spacing: .36em; text-align: center; }
.card-face { color: var(--ink); background: var(--card-bg); box-shadow: 0 0 0 3px var(--card-border), 0 18px 45px rgba(0,0,0,.35); transform: rotateY(180deg); }
.reveal-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.reveal-fallback { display: grid; place-items: center; font-size: 88px; }
.reveal-info { position: absolute; right: 0; bottom: 0; left: 0; padding: 40px 15px 15px; color: #653346; background: linear-gradient(transparent, rgba(255,250,245,.97) 34%); text-align: left; }
.reveal-info strong { display: block; margin-bottom: 3px; font-size: 20px; line-height: 1.1; }
.reveal-info small { display: block; overflow: hidden; font-size: 11px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.result-tag { position: absolute; z-index: 4; top: 12px; right: 10px; padding: 6px 9px; border-radius: 8px; color: #8b4058; background: #fff17f; box-shadow: 0 4px 10px rgba(69,25,39,.2); font-size: 11px; font-weight: 900; transform: rotate(3deg); }
.rarity-burst { position: absolute; z-index: 1; width: 115%; aspect-ratio: 1; border-radius: 50%; opacity: 0; transform: scale(.2); }
.rarity-burst.burst-R { background: radial-gradient(circle, rgba(255,255,255,.96), rgba(255,255,255,.24) 45%, transparent 68%); }
.rarity-burst.burst-SR { background: radial-gradient(circle, #e8f8ff, rgba(84,172,255,.64) 35%, transparent 68%); }
.rarity-burst.burst-SSR { background: radial-gradient(circle, #fffbd8, rgba(255,193,76,.74) 35%, transparent 68%); }
.rarity-burst.burst-UR { background: conic-gradient(from 10deg, rgba(255,94,142,.72), rgba(255,215,93,.8), rgba(123,224,255,.72), rgba(191,135,255,.72), rgba(255,94,142,.72)); filter: blur(4px); }
.rarity-burst.is-bursting { animation: burst .72s var(--ease); }
.reveal-caption { min-height: 48px; margin-top: 16px; text-align: center; }
.reveal-caption p { margin: 0; color: #f7dce5; font-size: 13px; }
.reveal-caption strong { display: block; margin-bottom: 4px; color: #fff9f3; font-size: 16px; }
.reveal-caption .refund { color: #ffe084; font-size: 12px; }
.reveal-action { min-width: 170px; min-height: 48px; margin-top: 12px; padding: 0 20px; border: 0; border-radius: 99px; color: #7b3851; background: #fff6ef; box-shadow: 0 9px 25px rgba(0,0,0,.24); cursor: pointer; font-weight: 800; }
.ten-summary { width: min(100%, 500px); }
.summary-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px 6px; }
.summary-grid .mini-card-title { font-size: 8px; }
.summary-grid .stars { display: none; }
.refund-summary { margin: 14px 0 0; color: #ffe7a2; font-size: 12px; text-align: center; }
.draw-overlay.showing-summary .reveal-stage, .draw-overlay.showing-summary .reveal-caption { display: none; }
.draw-overlay.showing-summary .reveal-header { margin-bottom: 20px; }

.card-dialog { width: min(calc(100% - 32px), 450px); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; border: 0; border-radius: 24px; color: var(--ink); background: var(--cream); box-shadow: 0 25px 80px rgba(73,30,47,.35); }
.card-dialog::backdrop { background: rgba(63,30,43,.72); backdrop-filter: blur(4px); }
.card-dialog .dialog-close { position: fixed; top: max(26px, env(safe-area-inset-top)); color: var(--ink); background: rgba(255,250,245,.86); box-shadow: 0 5px 15px rgba(78,37,51,.12); }
.detail-art { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-bg); }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }
.detail-art .fallback-art { font-size: 92px; }
.detail-copy { padding: 24px 22px 28px; }
.detail-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.detail-topline .rarity-badge { position: static; display: inline-block; font-size: 10px; }
.detail-topline span:last-child { color: #daa13d; font-size: 12px; font-weight: 800; }
.detail-copy h2 { margin: 0 0 12px; font-size: 27px; letter-spacing: -.04em; }
.detail-flavor { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.detail-date { margin: 20px 0 0; padding-top: 14px; border-top: 1px dashed #e7bdc7; color: #a17a87; font-size: 11px; }

.toast { position: fixed; z-index: 200; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom)); left: 20px; width: fit-content; max-width: min(420px, calc(100% - 40px)); margin: auto; padding: 12px 16px; border-radius: 13px; color: #fff9f4; background: rgba(91,51,65,.94); box-shadow: 0 9px 28px rgba(72,31,45,.25); opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity .25s ease, transform .3s var(--ease); font-size: 13px; text-align: center; }
.toast.show { opacity: 1; transform: translateY(0); }

@keyframes twinkle { 0%, 100% { opacity: .45; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.12) rotate(18deg); } }
@keyframes hero-float { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-7px); } }
@keyframes ur-flow { 0%, 100% { box-shadow: 0 7px 14px rgba(106,61,75,.1), 0 0 0 0 rgba(255,199,73,0); } 50% { box-shadow: 0 9px 19px rgba(214,133,72,.18), 0 0 0 2px rgba(255,208,92,.25); } }
@keyframes ssr-shine { 0%, 58% { transform: rotate(18deg) translateX(-180%); } 82%, 100% { transform: rotate(18deg) translateX(360%); } }
@keyframes card-shake { 0%, 100% { transform: rotate(0) scale(1); } 18% { transform: rotate(-3deg) scale(1.02); } 36% { transform: rotate(3.5deg) scale(1.025); } 54% { transform: rotate(-2.5deg) scale(1.03); } 72% { transform: rotate(1.5deg) scale(1.02); } }
@keyframes burst { 0% { opacity: 0; transform: scale(.2) rotate(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(1.75) rotate(50deg); } }

@media (min-width: 600px) {
  body { padding: 24px 0; }
  .page-shell { min-height: calc(100vh - 48px); border-radius: 28px; }
  .collection-grid { gap: 15px 12px; }
  .mini-card-title { font-size: 11px; }
}

@media (max-height: 680px) {
  .draw-overlay { justify-content: flex-start; }
  .reveal-stage { width: min(52vw, 205px); }
  .reveal-header { margin-bottom: 9px; }
  .reveal-caption { min-height: 36px; margin-top: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
