:root {
  color-scheme: light;
  --red-900: #65070b;
  --red-800: #861016;
  --red-700: #aa151c;
  --red-500: #df2a24;
  --gold-100: #fff4cf;
  --gold-300: #f6d47b;
  --gold-500: #d9a735;
  --ink: #531116;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: #f8e6c1; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  background:
    radial-gradient(ellipse at 0% 20%, rgba(190, 65, 62, .13), transparent 48%),
    radial-gradient(ellipse at 100% 75%, rgba(201, 89, 70, .13), transparent 46%),
    radial-gradient(ellipse at 50% 38%, #fffdf4 0%, #fbf1df 52%, #f1dfcb 100%),
    repeating-linear-gradient(90deg, rgba(121, 63, 28, .025) 0 1px, transparent 1px 7px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110' viewBox='0 0 110 110'%3E%3Cg fill='none' stroke='%23a85c28' stroke-width='.6' opacity='.35'%3E%3Cpath d='M55 0v110M0 55h110M16 16l78 78M94 16L16 94'/%3E%3Ccircle cx='55' cy='55' r='33'/%3E%3C/g%3E%3C/svg%3E");
}

.blessing-background { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blessing-background span { position: absolute; color: #9d2525; opacity: .065; font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif; font-weight: 900; font-size: clamp(72px, 13vw, 150px); line-height: 1; transform: rotate(-14deg); }
.blessing-background span:nth-child(1) { left: 4%; top: 10%; }
.blessing-background span:nth-child(2) { right: 3%; top: 22%; transform: rotate(12deg); }
.blessing-background span:nth-child(3) { left: 13%; top: 48%; color: #b28a42; transform: rotate(10deg); }
.blessing-background span:nth-child(4) { right: 12%; top: 61%; }
.blessing-background span:nth-child(5) { left: 2%; top: 80%; font-size: clamp(36px, 7vw, 74px); letter-spacing: .2em; }
.blessing-background span:nth-child(6) { right: 20%; top: 2%; font-size: clamp(46px, 8vw, 96px); color: #b28a42; transform: rotate(8deg); }
.blessing-background span:nth-child(7) { right: 2%; top: 90%; font-size: clamp(52px, 9vw, 100px); }
.blessing-background span:nth-child(8) { left: 1%; top: 34%; font-size: clamp(28px, 5vw, 56px); letter-spacing: .2em; transform: rotate(-8deg); }

.ambient {
  position: fixed;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(157, 59, 26, .15);
  border-radius: 50%;
  pointer-events: none;
}

.ambient::before, .ambient::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: inherit;
  border-radius: inherit;
}

.ambient::after { inset: 58px; }
.ambient-one { left: -190px; top: -100px; }
.ambient-two { right: -190px; bottom: -90px; }

.game-shell {
  position: relative;
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 54px) 20px 28px;
  text-align: center;
}

.hero { position: relative; z-index: 5; }

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--red-700);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .28em;
}

.eyebrow span { width: 30px; height: 1px; background: var(--gold-500); }

h1 {
  margin: 0;
  color: var(--red-800);
  font-size: clamp(2.15rem, 8vw, 4.1rem);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.12;
  text-shadow: 0 2px 0 #fff3c9, 0 8px 24px rgba(126, 22, 20, .13);
}

.subtitle {
  max-width: 500px;
  margin: 14px auto 0;
  color: #81433a;
  font-size: clamp(.96rem, 2.7vw, 1.08rem);
  line-height: 1.7;
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(12px, 2vw, 22px);
}

.halo {
  position: absolute;
  top: 52px;
  left: 50%;
  width: min(88vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 250, 220, .98) 0 42%, rgba(245, 199, 100, .23) 60%, transparent 71%);
  filter: drop-shadow(0 0 25px rgba(255, 217, 105, .3));
}

.halo::before, .halo::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(199, 137, 39, .2);
  border-radius: 50%;
}

.halo::after { inset: 17%; border-style: dashed; }

.draw-area {
  position: relative;
  z-index: 2;
  width: min(86vw, 405px);
  height: clamp(330px, 53vw, 430px);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fortune-pot {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: 100%;
  transform: translateX(-50%);
  user-select: none;
  filter: drop-shadow(0 24px 22px rgba(106, 21, 11, .26));
  transition: filter .3s ease;
}

.draw-area:hover .fortune-pot { filter: drop-shadow(0 26px 25px rgba(106, 21, 11, .34)) brightness(1.025); }

.fortune-stick {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  width: 100px;
  height: 400px;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, 68%) rotate(2deg);
  transform-origin: 50% 85%;
  opacity: 0;
  filter: drop-shadow(0 14px 12px rgba(81, 13, 10, .4));
}

.draw-area.shaking .fortune-pot { animation: pot-shake 1.1s cubic-bezier(.36,.07,.19,.97) both; }
.draw-area.shaking .fortune-stick { opacity: 0; }
.draw-area.revealed .fortune-stick { animation: stick-rise .95s cubic-bezier(.16,.86,.3,1.17) forwards; }

@keyframes pot-shake {
  10%, 90% { transform: translateX(calc(-50% - 5px)) rotate(-1deg); }
  20%, 80% { transform: translateX(calc(-50% + 8px)) rotate(2deg); }
  30%, 50%, 70% { transform: translateX(calc(-50% - 10px)) rotate(-2.5deg); }
  40%, 60% { transform: translateX(calc(-50% + 10px)) rotate(2.5deg); }
}

@keyframes stick-rise {
  0% { opacity: 0; transform: translate(-50%, 68%) rotate(3deg); }
  40% { opacity: 1; }
  76% { transform: translate(-50%, -7%) rotate(-2deg); }
  100% { opacity: 1; transform: translate(-50%, -2%) rotate(0); }
}

.instruction {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -2px 0 17px;
  color: #8b332d;
  font-size: .95rem;
  letter-spacing: .06em;
  transition: opacity .25s ease, transform .25s ease;
}

.instruction.hidden { opacity: 0; transform: translateY(-5px); pointer-events: none; }
.hand { display: inline-block; animation: point 1.4s ease-in-out infinite; }

@keyframes point { 50% { transform: translateY(-5px); } }

.draw-button {
  position: relative;
  z-index: 5;
  min-width: 210px;
  overflow: hidden;
  border: 1px solid #f8d26a;
  border-radius: 999px;
  padding: 14px 34px 15px;
  color: #fff8d6;
  font: 800 1.07rem/1 "Noto Serif TC", "PMingLiU", serif;
  letter-spacing: .18em;
  cursor: pointer;
  background: linear-gradient(180deg, #d92a28, #9b1017);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 18px rgba(118, 13, 17, .23), 0 0 0 5px rgba(202, 39, 34, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.draw-button:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 24px rgba(118, 13, 17, .28), 0 0 0 6px rgba(202, 39, 34, .09); }
.draw-button:active { transform: translateY(1px) scale(.98); }
.draw-button:focus-visible { outline: 3px solid #805110; outline-offset: 4px; }
.draw-button:disabled { cursor: wait; opacity: .86; }

.button-shine {
  position: absolute;
  top: -20px;
  left: -60px;
  width: 40px;
  height: 80px;
  transform: rotate(24deg);
  background: rgba(255,255,255,.28);
  animation: shine 3.5s ease-in-out infinite;
}

@keyframes shine { 0%, 60% { left: -60px; } 90%, 100% { left: calc(100% + 30px); } }

.result-card {
  position: relative;
  z-index: 6;
  width: min(92vw, 530px);
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  border: 1px solid rgba(182, 116, 29, .45);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,252,231,.98), rgba(255,236,181,.94));
  box-shadow: 0 15px 38px rgba(102, 34, 13, .16), inset 0 0 0 5px rgba(255,255,255,.35);
  transition: opacity .55s ease, transform .55s ease, max-height .7s ease, margin .55s ease, padding .55s ease;
}

.result-card::before, .result-card::after {
  content: "✦";
  position: absolute;
  top: 13px;
  color: #c48d2a;
  font-size: .8rem;
}

.result-card::before { left: 17px; }
.result-card::after { right: 17px; }

.result-card.show {
  max-height: 300px;
  margin-top: 24px;
  padding: 20px 24px 23px;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.result-kicker { margin: 0 0 4px; color: #9b5c26; font-size: .76rem; font-weight: 700; letter-spacing: .24em; }
.result-card h2 { margin: 0; color: var(--red-700); font-size: clamp(1.65rem, 6vw, 2.25rem); letter-spacing: .15em; }
.divider { display: flex; align-items: center; gap: 9px; color: #cc972f; margin: 8px auto; width: 75%; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #d3a340); }
.divider::after { transform: scaleX(-1); }
.result-card p:last-child { margin: 0; color: #6e2929; font-size: clamp(1.05rem, 3vw, 1.2rem); font-weight: 700; line-height: 1.7; letter-spacing: .05em; }

.confetti { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -30px; border-radius: 80% 0 80% 20%; animation: fall var(--duration) linear forwards; }
@keyframes fall { to { transform: translate3d(var(--drift), 110vh, 0) rotate(760deg); opacity: .2; } }

footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: #93614b;
  font-size: .78rem;
  letter-spacing: .12em;
}

footer p { margin: 0; }
.footer-logo {
  width: 58px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(110, 32, 23, .12));
}

@media (max-width: 520px) {
  .game-shell { padding-left: 14px; padding-right: 14px; }
  .draw-area { height: 340px; width: min(92vw, 350px); }
  .fortune-stick { width: 84px; height: 320px; bottom: 10px; }
  .result-card.show { padding-left: 17px; padding-right: 17px; }
  footer { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .draw-area.revealed .fortune-stick { opacity: 1; transform: translate(-50%, -2%); }
}

/* Single-screen layout: every game state stays inside the viewport. */
html,
body {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.game-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 760px);
  height: 100svh;
  min-height: 0;
  padding: clamp(12px, 2.4vh, 24px) 16px 8px;
  overflow: hidden;
}

.eyebrow { margin-bottom: 5px; font-size: .75rem; }
h1 { font-size: clamp(1.8rem, 6vw, 3.15rem); line-height: 1.05; }
.subtitle { margin-top: 7px; font-size: clamp(.82rem, 2.4vw, .98rem); line-height: 1.4; }

.stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto 108px;
  justify-items: center;
  align-items: center;
  align-content: stretch;
  min-height: 0;
  margin-top: 4px;
  row-gap: 5px;
}

.halo {
  top: 0;
  width: min(64vw, 400px);
}

.draw-area {
  width: min(84vw, 390px);
  height: 100%;
  min-height: 0;
  max-height: 420px;
  overflow: hidden;
}

.fortune-pot {
  width: auto;
  height: 115%;
  max-width: 100%;
  bottom: -15%;
  object-fit: contain;
}

.fortune-stick {
  bottom: 4px;
  width: 94px;
  height: calc(100% - 8px);
}

.instruction {
  min-height: 19px;
  margin: 0;
  font-size: .85rem;
}

.draw-button {
  min-width: 190px;
  padding: 11px 28px 12px;
  font-size: .98rem;
}

.result-card,
.result-card.show {
  width: min(92vw, 520px);
  height: 108px;
  max-height: none;
  margin: 0;
  padding: 10px 18px;
  overflow: hidden;
  transform: translateY(5px) scale(.99);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.result-card {
  visibility: hidden;
  pointer-events: none;
}

.result-card.show {
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.result-kicker { margin-bottom: 1px; font-size: .64rem; }
.result-card h2 { font-size: clamp(1.25rem, 4.4vw, 1.72rem); line-height: 1.1; }
.divider { width: 68%; margin: 3px auto; }
.result-card p:last-child { font-size: clamp(.88rem, 2.7vw, 1.02rem); line-height: 1.35; }

footer {
  height: 36px;
  margin-top: 3px;
  gap: 7px;
  font-size: .69rem;
}

.footer-logo { width: 42px; height: 32px; }

@media (max-width: 520px) {
  .game-shell { padding: 10px 10px 6px; }
  .eyebrow { gap: 8px; font-size: .68rem; }
  .eyebrow span { width: 20px; }
  h1 { font-size: clamp(1.65rem, 8vw, 2.2rem); }
  .subtitle { max-width: 340px; font-size: .79rem; }
  .stage { grid-template-rows: minmax(0, 1fr) auto auto 102px; row-gap: 4px; }
  .draw-area { width: min(92vw, 350px); height: 100%; max-height: none; }
  .fortune-stick { width: 82px; height: calc(100% - 6px); bottom: 3px; }
  .draw-button { min-width: 176px; padding: 10px 24px 11px; }
  .result-card,
  .result-card.show { height: 102px; padding: 8px 13px; }
  footer { height: 30px; margin-top: 1px; }
  .footer-logo { width: 37px; height: 27px; }
}

@media (max-height: 680px) {
  .game-shell { padding-top: 7px; }
  .eyebrow { margin-bottom: 2px; font-size: .64rem; }
  h1 { font-size: clamp(1.5rem, 6.5vw, 2.15rem); }
  .subtitle { margin-top: 3px; font-size: .73rem; line-height: 1.25; }
  .stage { grid-template-rows: minmax(0, 1fr) auto auto 92px; row-gap: 3px; }
  .instruction { min-height: 16px; font-size: .75rem; }
  .draw-button { min-width: 165px; padding: 8px 22px 9px; font-size: .88rem; }
  .result-card,
  .result-card.show { height: 92px; padding: 6px 12px; }
  .result-kicker { font-size: .58rem; }
  .result-card h2 { font-size: 1.2rem; }
  .divider { margin: 1px auto; }
  .result-card p:last-child { font-size: .82rem; line-height: 1.22; }
  footer { height: 25px; font-size: .62rem; }
  .footer-logo { width: 31px; height: 23px; }
}

@media (max-height: 580px) {
  .eyebrow,
  .subtitle { display: none; }
  .stage { grid-template-rows: minmax(0, 1fr) auto auto 84px; }
  .result-card,
  .result-card.show { height: 84px; }
  footer { height: 22px; }
}

/* Stable image sizing and a branded horizontal fortune slip. */
.fortune-pot {
  width: min(100%, clamp(250px, 45vh, 360px));
  height: auto;
  max-width: none;
  bottom: 0;
  object-fit: contain;
}

.result-card,
.result-card.show {
  display: grid;
  grid-template-columns: 31% 1px minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  column-gap: 14px;
  border: 2px solid #e5bd5f;
  border-radius: 17px;
  background: linear-gradient(90deg, #a90e19 0 31%, #fff7dc 31% 100%);
  box-shadow:
    0 10px 24px rgba(112, 31, 18, .18),
    inset 0 0 0 4px rgba(255, 255, 255, .34);
}

.result-card::before,
.result-card::after {
  top: 50%;
  color: #d39c2d;
  transform: translateY(-50%);
}

.result-card::before { left: calc(31% + 8px); }
.result-card::after { right: 10px; }

.result-grade {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-left: 4px;
}

.result-grade .result-kicker {
  margin: 0 0 4px;
  color: #f6d77e;
  font-size: .63rem;
  letter-spacing: .2em;
}

.result-card .result-grade h2 {
  margin: 0;
  color: #fff8df;
  font-size: clamp(1.25rem, 4.2vw, 1.72rem);
  line-height: 1;
  letter-spacing: .1em;
  text-shadow: 0 2px 4px rgba(76, 4, 8, .3);
}

.result-card .divider {
  grid-column: 2;
  width: 1px;
  height: 62%;
  margin: 0;
  background: linear-gradient(transparent, #d9a43e 18%, #d9a43e 82%, transparent);
}

.result-card .divider::before,
.result-card .divider::after,
.result-card .divider span { display: none; }

.result-card #resultMessage {
  grid-column: 3;
  margin: 0;
  padding: 0 18px 0 2px;
  color: #711d22;
  font-size: clamp(.9rem, 2.8vw, 1.08rem);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  letter-spacing: .04em;
}

@media (max-width: 420px) {
  .result-card,
  .result-card.show {
    grid-template-columns: 34% 1px minmax(0, 1fr);
    column-gap: 9px;
    border-radius: 14px;
    background: linear-gradient(90deg, #a90e19 0 34%, #fff7dc 34% 100%);
  }

  .result-card::before { left: calc(34% + 5px); }
  .result-grade .result-kicker { font-size: .56rem; letter-spacing: .13em; }
  .result-card .result-grade h2 { font-size: 1.18rem; }
  .result-card #resultMessage { padding-right: 10px; font-size: .82rem; line-height: 1.35; }
}

@media (max-height: 680px) {
  .fortune-pot { width: min(100%, clamp(225px, 43vh, 320px)); }
  .result-grade .result-kicker { margin-bottom: 2px; font-size: .54rem; }
  .result-card .result-grade h2 { font-size: 1.12rem; }
  .result-card #resultMessage { font-size: .8rem; line-height: 1.25; }
}

/* Explicit containing-box geometry prevents zero-sized images in mobile grid tracks. */
.fortune-pot {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}

.fortune-stick {
  top: 0;
  left: 50%;
  bottom: auto;
  width: 92px;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, 72%) rotate(2deg);
}

@keyframes pot-shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  10%, 90% { transform: translateX(-5px) rotate(-1deg); }
  20%, 80% { transform: translateX(8px) rotate(2deg); }
  30%, 50%, 70% { transform: translateX(-10px) rotate(-2.5deg); }
  40%, 60% { transform: translateX(10px) rotate(2.5deg); }
}

@keyframes stick-rise {
  0% { opacity: 0; transform: translate(-50%, 72%) rotate(3deg); }
  40% { opacity: 1; }
  76% { transform: translate(-50%, -5%) rotate(-2deg); }
  100% { opacity: 1; transform: translate(-50%, 0) rotate(0); }
}

@media (max-width: 520px) {
  .fortune-stick { width: 80px; height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .draw-area.revealed .fortune-stick { opacity: 1; transform: translate(-50%, 0); }
}

/* The grid track is flexible, so the image containing block needs a definite height. */
.draw-area {
  width: min(84vw, 390px);
  height: clamp(250px, 46svh, 410px);
  min-height: 250px;
  max-height: 410px;
  align-self: center;
}

@media (max-width: 520px) {
  .draw-area {
    width: min(92vw, 350px);
    height: clamp(230px, 44svh, 360px);
    min-height: 230px;
    max-height: 360px;
  }
}

@media (max-height: 680px) {
  .draw-area {
    height: clamp(205px, 40svh, 285px);
    min-height: 205px;
    max-height: 285px;
  }
}

@media (max-height: 580px) {
  .draw-area {
    height: clamp(175px, 36svh, 220px);
    min-height: 175px;
    max-height: 220px;
  }
}

.blessing-background span:nth-child(3) { font-size: clamp(38px, 7vw, 80px); letter-spacing: .14em; }
.blessing-background span:nth-child(6) { font-size: clamp(32px, 5vw, 66px); letter-spacing: .18em; opacity: .075; }

/* The old image drop shadow was cut into a rectangle by draw-area overflow. */
.fortune-pot, .draw-area:hover .fortune-pot, .fortune-stick { filter: none; }
.draw-area::before { content: ""; position: absolute; z-index: 1; left: 18%; right: 18%; bottom: 13px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, rgba(96, 31, 22, .2), rgba(96, 31, 22, .06) 45%, transparent 72%); filter: blur(7px); pointer-events: none; }

/* Keep the brand visible above the headline, including short mobile screens. */
.hero .eyebrow { display: flex; gap: 10px; margin-bottom: 8px; }
.fortune-brand { display: inline-block; padding: 3px 10px 5px; border: 1px solid #e5bc60; border-radius: 8px; background: linear-gradient(145deg, #bb2027, #851018); color: #fff0b7; font-size: clamp(21px, 4.5vw, 28px); font-weight: 900; line-height: 1.1; letter-spacing: .12em; box-shadow: 0 3px 9px rgba(133,16,24,.12); }
.hero .brand-caption { width: auto; height: auto; background: none; font-size: 12px; letter-spacing: .2em; }
@media (max-height: 680px) { .hero .eyebrow { margin-bottom: 5px; } .fortune-brand { font-size: 20px; padding: 2px 8px 4px; } }

/* Brush lettering for festive accents; relaxed handwritten body text. */
body { font-family: "LXGW WenKai TC", "Kaiti TC", "KaiTi", serif; }
h1, .result-card h2, .blessing-background span { font-family: "Ma Shan Zheng", "LXGW WenKai TC", "Kaiti TC", cursive; font-weight: 400; }
h1 { letter-spacing: .055em; line-height: 1.15; text-shadow: 0 2px 0 #fff3df, 0 5px 16px rgba(126,22,20,.1); }
.draw-button, .result-card p:last-child { font-family: "LXGW WenKai TC", "Kaiti TC", serif; font-weight: 400; }
.fortune-brand { font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif; }
.blessing-background span:nth-child(6) { right: 5%; top: 32%; font-size: clamp(58px, 11vw, 118px); letter-spacing: .14em; opacity: .15; color: #a3292b; transform: rotate(9deg); }
@media (max-width: 520px) { .blessing-background span:nth-child(6) { right: 2%; top: 29%; font-size: 62px; opacity: .14; writing-mode: vertical-rl; letter-spacing: .18em; } }
/* Explicit drawing stack: glow, pot, then the complete emerging fortune. */
.stage { isolation: isolate; }
.halo { z-index: 0; pointer-events: none; }
.draw-area { z-index: 2; overflow: visible; }
.draw-area::before { z-index: 0; }
.fortune-pot { z-index: 2; }
.fortune-stick { z-index: 3; pointer-events: none; }
