/* Barnum effect. All rules scoped under .brn-* */
@keyframes brnIn { from { opacity: 0; translate: 0 18px; } }
@keyframes brnStamp { from { scale: 2.2; opacity: 0; } }

/* 94 in 100 */
.brn-big { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 8px 0; }
.brn-pmini { width: 110px; height: 110px; object-fit: cover; object-position: 50% 15%; border-radius: 14px; box-shadow: 0 6px 14px rgba(0,0,0,.45); filter: grayscale(1); }
.brn-num { display: flex; flex-direction: column; }
.brn-num b { font: 800 60px/1 var(--serif); color: var(--gold); }
.brn-num span { font: 700 16px var(--sans); color: var(--text); }
.brn-num small { font: 600 13px var(--sans); color: var(--dim); margin-top: 4px; }

/* one line, 39 people */
.brn-crowdbox { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.brn-line { width: 100%; padding: 8px 12px; border-radius: 10px; background: #f6f0e1; color: #2b2418; font: 600 15px/1.3 var(--serif); text-align: center; }
.brn-add { color: #7b3fd6; font-weight: 800; }
.brn-pulse { animation: brnPulse .5s ease-out; }
@keyframes brnPulse { 0% { box-shadow: 0 0 0 0 rgba(255,213,74,.9); } 100% { box-shadow: 0 0 0 10px rgba(255,213,74,0); } }
.brn-crowd { width: 100%; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 2px; }
.brn-p { position: relative; aspect-ratio: 1; max-height: 40px; display: grid; place-items: center; transition: opacity .35s, filter .35s; }
.brn-p img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 6px; }
.brn-p.off { opacity: .16; filter: grayscale(1); }
.brn-th { position: absolute; bottom: 100%; left: 50%; translate: -50% 0; z-index: 2; padding: 3px 8px; border-radius: 10px; background: #fff; color: #2b2418; font: 700 12px var(--sans); white-space: nowrap; box-shadow: 0 3px 8px rgba(0,0,0,.35); animation: brnIn .3s cubic-bezier(.2,.8,.2,1.3) both; }
.brn-fit { font: 600 14px var(--sans); color: var(--dim); }
.brn-fit b { color: var(--gold); font-size: 17px; }
.brn-fit small { font-size: 12px; color: var(--faint); }
.brn-chip { width: 100%; }

/* flattery */
.brn-twins { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; }
.brn-twin { position: relative; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--raised); border: 2px solid var(--line); transition: border-color .3s; }
.brn-twin span { flex: none; width: 26px; height: 26px; border-radius: 13px; background: var(--violet); color: #fff; font: 800 14px var(--sans); display: grid; place-items: center; }
.brn-twin p { margin: 0; font: 600 16px/1.3 var(--serif); color: var(--text); }
.brn-twin.picked { border-color: var(--violet-bright); }
.brn-stamp2 { position: absolute; right: 10px; top: -12px; padding: 2px 10px; border-radius: 6px; background: var(--gold); color: #2a1d00; font: 900 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; animation: brnStamp .3s cubic-bezier(.2,.8,.2,1.4) both; }

/* the free horoscope */
.brn-horobox { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 12px; perspective: 900px; }
.brn-ad { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 10px; border-radius: 4px; background: #efe8d6; color: #1d1a14; box-shadow: 0 8px 20px rgba(0,0,0,.4); rotate: -1.5deg; animation: brnAd .6s cubic-bezier(.25,.8,.3,1.15) both; }
@keyframes brnAd { from { translate: 0 -50px; rotate: 10deg; opacity: 0; } }
.brn-ad b { font: 900 22px var(--serif); color: #b0302a; }
.brn-ad span { flex: 1; font: 700 13px/1.25 var(--serif); }
.brn-coupon { flex: 1 1 100%; min-height: 44px; padding: 4px 10px; border: 2px dashed #1d1a14; border-radius: 6px; background: #fff7dd; color: #1d1a14; font: 800 12px var(--sans); cursor: pointer; }
.brn-horobox.sent .brn-coupon { opacity: .35; pointer-events: none; }
.brn-horo { position: relative; width: 200px; height: 236px; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.3,1), opacity .4s, translate .5s cubic-bezier(.2,.8,.2,1.2); opacity: 0; translate: 0 40px; pointer-events: none; }
.brn-horobox.sent .brn-horo { opacity: 1; translate: 0 0; pointer-events: auto; }
.brn-horo.flip { transform: rotateY(180deg); }
.brn-hf, .brn-hb { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; }
.brn-hf { background: linear-gradient(160deg, #2d2160, #171233); border: 2px solid var(--violet); }
.brn-hf span { font: 700 14px var(--sans); color: var(--text); }
.brn-hf small { font: 600 12px var(--sans); color: var(--dim); }
.brn-hb { transform: rotateY(180deg); background: #f6f0e1; color: #2b2418; text-align: center; }
.brn-hb img { width: 120px; height: 130px; object-fit: cover; object-position: 50% 10%; border-radius: 8px; }
.brn-hb b { font: 800 18px/1.2 var(--serif); }
.brn-hb span { font: 700 13px var(--sans); color: #6b5a3a; }
.brn-wheel { width: 140px; height: 140px; }
.brn-wheel circle.brn-w0, .brn-wheel circle.brn-w1, .brn-wheel circle.brn-w2 { fill: none; stroke: #c8b8ff; stroke-width: 1.5; }
.brn-wheel line { stroke: #c8b8ff; stroke-width: 1; opacity: .7; }

/* inside one head */
.brn-mem { width: 100%; max-width: 340px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.brn-rosa { display: flex; flex-direction: column; align-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.brn-rosa img { height: 150px; width: auto; filter: drop-shadow(0 6px 10px rgba(123,92,253,.25)); }
.brn-rosa b { font: 700 13px var(--sans); color: var(--dim); }
.brn-mbub { position: relative; padding: 9px 14px; border-radius: 18px; background: #fff; color: #2b2418; font: 700 15px/1.3 var(--sans); text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,.35); opacity: 0; scale: .5; transition: opacity .3s, scale .4s cubic-bezier(.2,.8,.2,1.4); }
.brn-mbub::after { content: ''; position: absolute; left: 50%; bottom: -10px; width: 12px; height: 12px; border-radius: 6px; background: #fff; }
.brn-mem.on .brn-mbub { opacity: 1; scale: 1; }

/* your phone */
.brn-phone { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 22px; background: #0f0d1c; border: 2px solid var(--line-strong); }
.brn-note { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px; padding: 7px 11px; border: 0; border-radius: 12px; background: rgba(255,255,255,.09); color: var(--text); text-align: left; cursor: pointer; transition: opacity .3s, background .3s; }
.brn-note b { font: 800 12px var(--sans); letter-spacing: .03em; color: var(--dim); text-transform: uppercase; }
.brn-note span { font: 500 14px/1.28 var(--sans); }
.brn-note.right { background: rgba(126,224,195,.22); box-shadow: inset 0 0 0 2px var(--mint); }
.brn-note.off { opacity: .4; }
.brn-note.wrong { opacity: .4; }

@media (max-height: 700px) {
  .brn-rosa img { height: 120px; }
  .brn-hb img { width: 100px; height: 108px; }
  .brn-p { max-height: 32px; }
  .brn-horo { width: 176px; height: 196px; }
  .brn-hb img { width: 92px; height: 96px; }
  .brn-wheel { width: 118px; height: 118px; }
}

/* the check */
.brn-resbox { width: 100%; display: grid; place-items: center; }
.brn-result { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(160deg, #7b3fd6, #4b2a9a); color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.brn-result small { font: 700 12px var(--sans); opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.brn-result b { font: 800 28px var(--serif); }
.brn-result span { font: 500 15px/1.35 var(--sans); }
