/* Thiệp tương tác kiểu mạng xã hội (play.js) — co giãn theo khung .cs (container query) */
.pl { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2cqmin; padding: 3cqmin;
  --w: min(88cqw, 62cqh); font-size: calc(var(--w) / 21); color: var(--ink); font-family: var(--bf); }
.pl button { font-family: var(--bf); -webkit-tap-highlight-color: transparent; }
.pl .ico { width: 1.15em; height: 1.15em; flex: none; }
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; border: 0; border-radius: 999px; padding: .7em 1.4em; font-size: .95em; font-weight: 700; cursor: pointer; background: var(--accent); color: #fff; box-shadow: 0 .4em 1em -.3em color-mix(in srgb, var(--accent) 80%, transparent); transition: transform .2s; }
.pl-btn:hover { transform: translateY(-.1em); }
.pl-btn:disabled { opacity: .55; cursor: wait; }
/* bản sao dùng để đo vừa khung (fitBox trong play.js) */
.pl-probe, .pl-probe * { animation: none !important; transition: none !important; }
.pl-send { display: flex; flex-direction: column; align-items: center; gap: .3em; margin-top: .3em; }
.pl-status { margin: 0; font-size: .78em; opacity: .8; min-height: 1em; text-align: center; }
@keyframes pl-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes pl-up { from { transform: translateY(1em); opacity: 0; } }

/* ---------- 1. stories ---------- */
.st-phone { position: relative; height: 94cqh; aspect-ratio: 9 / 16; max-width: 94cqw; border-radius: 4cqmin; overflow: hidden; background: #111; box-shadow: 0 2cqmin 6cqmin rgba(0, 0, 0, .45); cursor: pointer; user-select: none; touch-action: manipulation; font-size: min(4.2cqh, 6.8cqw); }
.st-bars { position: absolute; left: 3%; right: 3%; top: 2%; z-index: 3; display: flex; gap: .3em; }
.st-bars span { flex: 1; height: .18em; border-radius: 1em; background: rgba(255, 255, 255, .35); overflow: hidden; }
.st-bars i { display: block; height: 100%; width: 0; background: #fff; }
.st-bars .done i { width: 100%; }
.st-bars .on i { animation: st-fill var(--dur, 4800ms) linear forwards; }
.st-phone.paused .st-bars .on i { animation-play-state: paused; }
.static .st-bars .on i { animation: none; width: 40%; }
@keyframes st-fill { to { width: 100%; } }
.st-head { position: absolute; left: 4%; right: 4%; top: 4.5%; z-index: 3; display: flex; align-items: center; gap: .5em; color: #fff; font-size: .72em; }
.st-av { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .25); box-shadow: 0 0 0 .14em var(--accent2), 0 0 0 .26em var(--accent); font-size: 1.1em; }
.st-head small { opacity: .7; }
.st-stage { position: absolute; inset: 0; }
.st-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: .5em; padding: 18% 9% 12%; color: #fff; text-align: left;
  background: radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--accent2) 70%, transparent), transparent 55%), linear-gradient(calc(var(--h, 0) * 1deg + 150deg), color-mix(in srgb, var(--accent) 85%, #000), hsl(calc(var(--h, 0) + 300) 70% 45%)); animation: pl-st-in .55s cubic-bezier(.3, 1.2, .5, 1); }
@keyframes pl-st-in { from { opacity: 0; transform: scale(1.08); filter: blur(6px); } }
.st-slide.k-intro, .st-slide.k-end { text-align: center; align-items: center; }
.st-kicker { margin: 0; font-size: .62em; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.st-title { margin: 0; font-family: var(--tf); font-weight: 400; font-size: 1.9em; line-height: 1.12; overflow-wrap: anywhere; animation: pl-up .7s .1s both; }
.st-text { margin: 0; font-size: .92em; line-height: 1.5; opacity: .95; white-space: pre-line; animation: pl-up .7s .3s both; }
.st-big { font: 900 3.6em/1 'Be Vietnam Pro', system-ui, sans-serif; letter-spacing: -.03em; background: linear-gradient(180deg, #fff, var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: pl-pop .7s cubic-bezier(.3, 1.6, .5, 1); }
.st-from { margin: 0; font-family: var(--tf); font-size: 1.2em; }
.st-tap { margin: 1.2em 0 0; font-size: .7em; opacity: .75; animation: pl-blink 1.4s ease-in-out infinite; }
@keyframes pl-blink { 50% { opacity: .3; } }

/* ---------- 2. chat ---------- */
.ch-phone { width: min(88cqw, 52cqh); height: 92cqh; border-radius: 4cqmin; overflow: hidden; display: flex; flex-direction: column; background: #fff; color: #050505; box-shadow: 0 2cqmin 6cqmin rgba(0, 0, 0, .35); font-family: 'Be Vietnam Pro', system-ui, sans-serif; font-size: min(3.6cqh, 5.6cqw); }
.ch-top { display: flex; align-items: center; gap: .55em; padding: .7em .8em; border-bottom: 1px solid #eee; }
.ch-back { transform: scaleX(-1); color: var(--accent); }
.ch-like { color: var(--accent); margin-left: auto; }
.ch-av { width: 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 15%, #fff); position: relative; }
.ch-av::after { content: ''; position: absolute; right: 0; bottom: 0; width: .55em; height: .55em; border-radius: 50%; background: #31a24c; border: 2px solid #fff; }
.ch-name { display: grid; line-height: 1.2; }
.ch-name b { font-size: .92em; } .ch-name small { font-size: .68em; color: #65676b; }
.ch-body { flex: 1; overflow-y: auto; padding: .7em; display: flex; flex-direction: column; gap: .3em; scrollbar-width: none; }
.ch-body::-webkit-scrollbar { display: none; }
.ch-day { align-self: center; margin: .3em 0; font-size: .64em; color: #65676b; }
.ch-b { align-self: flex-start; max-width: 78%; padding: .5em .8em; border-radius: 1.1em; background: #f0f0f0; font-size: .86em; line-height: 1.4; overflow-wrap: anywhere; position: relative; }
.ch-b.me { align-self: flex-end; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #8a3ffc)); color: #fff; }
.ch-b.in { animation: pl-pop .3s cubic-bezier(.3, 1.5, .5, 1); transform-origin: left bottom; }
.ch-b.me.in { transform-origin: right bottom; }
.ch-b.reacted::after { content: attr(data-react); position: absolute; right: -.2em; bottom: -.9em; font-size: .8em; background: #fff; border-radius: 1em; padding: 0 .2em; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); animation: pl-pop .3s cubic-bezier(.3, 1.8, .5, 1); }
.ch-typing { display: flex; gap: .25em; padding: .7em .9em; }
.ch-typing i { width: .45em; height: .45em; border-radius: 50%; background: #999; animation: ch-dot 1s infinite; }
.ch-typing i:nth-child(2) { animation-delay: .15s; } .ch-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ch-dot { 30% { transform: translateY(-.3em); background: #666; } }
.ch-foot { padding: .6em; border-top: 1px solid #eee; }
.ch-input { border-radius: 999px; background: #f0f2f5; color: #65676b; padding: .5em 1em; font-size: .82em; }
.ch-chips { display: flex; flex-wrap: wrap; gap: .4em; justify-content: flex-end; animation: pl-up .4s ease; }
.ch-chip { border: 1.5px solid var(--accent); color: var(--accent); background: #fff; border-radius: 999px; padding: .45em .9em; font-size: .8em; font-weight: 600; cursor: pointer; }
.ch-chip:hover { background: var(--accent); color: #fff; }

/* ---------- 3. quiz ---------- */
.qz-card { width: var(--w); max-height: 94cqh; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: .6em; text-align: center; padding: 1.5em 1.3em; border-radius: 1.4em; background: var(--paper); box-shadow: 0 1.2em 3em -1em rgba(0, 0, 0, .35); scrollbar-width: none; }
.qz-head { width: 100%; display: grid; gap: .4em; }
.qz-kicker { margin: 0; font-size: .72em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.qz-progress { height: .4em; border-radius: 1em; background: color-mix(in srgb, var(--accent) 15%, transparent); overflow: hidden; }
.qz-progress i { display: block; height: 100%; background: var(--accent); border-radius: 1em; transition: width .5s; }
.qz-emo { font-size: 3em; line-height: 1; }
.qz-title { margin: 0; font-family: var(--tf); font-weight: 400; font-size: 1.6em; line-height: 1.2; color: var(--accent); }
.qz-text { margin: 0; font-size: .9em; opacity: .8; }
.qz-num { margin: 0; font-size: .75em; font-weight: 700; opacity: .6; }
.qz-q { margin: 0; font-size: 1.25em; line-height: 1.3; animation: pl-up .4s ease; }
.qz-opts { display: grid; gap: .5em; width: 100%; }
.qz-opt { display: flex; align-items: center; gap: .7em; padding: .75em 1em; border-radius: .9em; border: 2px solid color-mix(in srgb, var(--accent) 22%, transparent); background: transparent; color: var(--ink); font-size: .95em; font-weight: 600; cursor: pointer; text-align: left; transition: all .2s; animation: pl-up .4s ease both; }
.qz-opt::before { content: attr(data-k); width: 1.7em; height: 1.7em; flex: none; border-radius: .5em; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-size: .8em; }
.qz-opt:nth-child(2) { animation-delay: .06s; } .qz-opt:nth-child(3) { animation-delay: .12s; } .qz-opt:nth-child(4) { animation-delay: .18s; }
.qz-opt:not(:disabled):hover { border-color: var(--accent); }
.qz-opt.right { border-color: #2f9e44; background: #ebfbee; color: #1b5e20; }
.qz-opt.right::before { background: #2f9e44; color: #fff; }
.qz-opt.wrong { border-color: #e03131; background: #fff5f5; color: #a61e1e; animation: pl-shake .4s; }
@keyframes pl-shake { 25%, 75% { transform: translateX(-.3em); } 50% { transform: translateX(.3em); } }
.qz-ring { --p: 0; width: 7em; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, var(--paper) 78%, transparent 80% 100%), conic-gradient(var(--accent) calc(var(--p) * 1%), color-mix(in srgb, var(--accent) 15%, transparent) 0); }
.qz-ring b { font: 900 1.8em 'Be Vietnam Pro', system-ui, sans-serif; color: var(--accent); }

/* ---------- 4. tarot ---------- */
.tr-wrap { display: flex; flex-direction: column; align-items: center; gap: .5em; text-align: center; width: 96cqw; color: #f6eaff; }
.tr-kicker { margin: 0; font-size: .7em; letter-spacing: .3em; text-transform: uppercase; color: var(--accent2); }
.tr-title { margin: 0; font-family: var(--tf); font-weight: 400; font-size: 1.8em; color: #fff; text-shadow: 0 0 .6em color-mix(in srgb, var(--accent2) 60%, transparent); }
.tr-row { display: flex; gap: 2.5cqw; justify-content: center; margin: .4em 0; }
.tr-col { display: flex; flex-direction: column; align-items: center; gap: .4em; }
.tr-card { position: relative; width: min(28cqw, 23cqh); aspect-ratio: .6; border: 0; padding: 0; background: none; cursor: pointer; perspective: 800px; transform: rotate(calc((var(--i) - 1) * 6deg)) translateY(calc(var(--i) * 0px)); animation: tr-deal .6s calc(var(--i) * .15s) cubic-bezier(.3, 1.3, .5, 1) both; }
@keyframes tr-deal { from { transform: translateY(40cqh) rotate(20deg); opacity: 0; } }
.tr-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.4, 0, .2, 1); }
.tr-card.flip .tr-inner { transform: rotateY(180deg); }
.tr-card:not(.flip):hover .tr-inner { transform: translateY(-.4em); }
.tr-face { position: absolute; inset: 0; border-radius: .7em; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em; padding: .5em; overflow: hidden; }
.tr-back { background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 60%, #1a0b2e), #12081f 70%); border: .18em solid var(--accent2); box-shadow: inset 0 0 0 .3em #12081f, inset 0 0 0 .38em color-mix(in srgb, var(--accent2) 60%, transparent); color: var(--accent2); }
.tr-back .ico { width: 2.4em; height: 2.4em; }
.tr-back i { font-style: normal; font-size: .6em; letter-spacing: .3em; }
.tr-front { transform: rotateY(180deg); background: linear-gradient(170deg, #fffaf0, #f3e3c3); color: #3b1f5c; border: .18em solid var(--accent2); }
.tr-front small { font: 700 .62em Georgia, serif; letter-spacing: .1em; }
.tr-front .tr-sym { width: 1.9em; height: 1.9em; color: var(--accent); }
.tr-front b { font: 700 .6em Georgia, serif; text-transform: uppercase; letter-spacing: .12em; }
.tr-front em { font-style: italic; font-size: .58em; line-height: 1.35; font-family: var(--bf); }
.tr-cap { font-size: .68em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.tr-hint { margin: 0; font-size: .85em; opacity: .85; max-width: 26em; white-space: pre-line; }
.tr-hint.done { font-family: var(--tf); font-size: 1.15em; color: #fff; opacity: 1; animation: pl-up .6s ease; }
.tr-from { margin: 0; font-family: var(--tf); color: var(--accent2); font-size: 1.1em; }

/* ---------- 5. receipt ---------- */
.rc-machine { position: relative; width: min(78cqw, 50cqh); display: flex; flex-direction: column; align-items: center; }
.rc-slot { width: 100%; height: 2.2em; border-radius: .8em .8em .3em .3em; background: linear-gradient(#3a3a3a, #1f1f1f); box-shadow: inset 0 -.4em 0 #0c0c0c, 0 .5em 1em rgba(0, 0, 0, .3); position: relative; z-index: 2; }
.rc-slot::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: .2em; height: .3em; border-radius: 1em; background: #000; }
.rc-paper::-webkit-scrollbar { display: none; }
.rc-paper { width: 88%; margin-top: -.5em; padding: 1.4em 1em 1.6em; background: #fffef8; color: #222; font-family: 'Courier New', ui-monospace, monospace; font-size: .74em; box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .2); max-height: 72cqh; overflow-y: auto; scrollbar-width: none; position: relative;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - .6em) no-repeat, radial-gradient(circle at 50% 0, transparent .35em, #000 .37em) bottom / .9em .6em repeat-x; mask: linear-gradient(#000, #000) top / 100% calc(100% - .6em) no-repeat, radial-gradient(circle at 50% 0, transparent .35em, #000 .37em) bottom / .9em .6em repeat-x; }
/* backwards: chỉ giữ trạng thái "chưa in" trước khi tới lượt; in xong dòng trở về chiều cao thật (trước đây giữ max-height 6em → lời nhắn dài tràn đè mã vạch) */
.rc-paper.printing .rc-line { animation: rc-print .3s ease backwards; }
@keyframes rc-print { from { opacity: 0; transform: translateY(-.6em); max-height: 0; } to { max-height: 14em; } }
.rc-line { margin: .25em 0; }
.rc-shop { text-align: center; font-weight: 900; font-size: 1.35em; letter-spacing: .08em; }
.rc-small { text-align: center; font-size: .82em; color: #555; }
.rc-center { text-align: center; }
.rc-sep { border-top: 1.5px dashed #999; margin: .6em 0; }
.rc-row { display: flex; gap: .5em; align-items: baseline; }
.rc-row span { flex: 1; overflow-wrap: anywhere; }
.rc-row span::after { content: ''; display: inline-block; width: 100%; }
.rc-row b { white-space: nowrap; }
.rc-total { display: flex; justify-content: space-between; font-weight: 900; font-size: 1.2em; }
.rc-note { margin-top: .6em; font-style: italic; white-space: pre-line; text-align: center; }
.rc-code { height: 2.6em; margin: .8em 10%; background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 4px, #222 4px 7px, transparent 7px 9px, #222 9px 10px, transparent 10px 13px); }
.rc-stamp { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%) rotate(-14deg); border: .2em solid #e03131; color: #e03131; padding: .2em .6em; font: 900 1.5em 'Be Vietnam Pro', system-ui, sans-serif; letter-spacing: .06em; border-radius: .3em; opacity: .85; animation: rc-stamp .4s cubic-bezier(.3, 1.6, .5, 1); mix-blend-mode: multiply; }
@keyframes rc-stamp { from { transform: translate(-50%, -50%) rotate(-14deg) scale(2.4); opacity: 0; } }
.rc-pay { opacity: 0; pointer-events: none; transform: translateY(.5em); transition: all .5s; }
.rc-pay.show, .static .rc-pay { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- 6. boarding pass ---------- */
.pl-boarding { gap: 3cqmin; }
.bp { display: flex; width: 92cqw; max-width: 30em; border-radius: 1em; overflow: hidden; background: #fff; color: #1b1b1b; box-shadow: 0 1.2em 2.6em -1em rgba(0, 0, 0, .45); font-family: 'Be Vietnam Pro', system-ui, sans-serif; font-size: .82em; transition: transform .6s; }
.bp-main { flex: 1; padding: 1em 1.1em; display: grid; gap: .7em; min-width: 0; }
.bp-air { display: flex; align-items: center; gap: .5em; color: var(--accent); }
.bp-air b { letter-spacing: .12em; font-size: .85em; }
.bp-air small { margin-left: auto; font-size: .7em; text-transform: uppercase; letter-spacing: .1em; color: #888; }
.bp-route { display: flex; align-items: center; gap: .6em; }
.bp-city { display: grid; line-height: 1.1; min-width: 0; }
.bp-city.r { text-align: right; }
.bp-city b { font-size: 2.1em; font-weight: 900; letter-spacing: .04em; }
.bp-city small { font-size: .7em; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-path { flex: 1; height: 1.6em; position: relative; border-top: 2px dashed color-mix(in srgb, var(--accent) 50%, #ccc); margin-top: .8em; }
.bp-plane { position: absolute; top: -.95em; left: 0; color: var(--accent); transform: rotate(45deg); animation: bp-fly 3s ease-in-out infinite; }
@keyframes bp-fly { 0% { left: 0; } 100% { left: calc(100% - 1.2em); } }
.static .bp-plane { animation: none; left: 45%; }
.bp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em .8em; }
.bp-grid div { display: grid; min-width: 0; }
.bp-grid small { font-size: .62em; text-transform: uppercase; letter-spacing: .08em; color: #888; }
.bp-grid b { font-size: .82em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-stub { width: 5.6em; flex: none; padding: .8em .5em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4em; background: var(--accent); color: #fff; border-left: 2px dashed rgba(255, 255, 255, .8); text-align: center; transition: transform .9s cubic-bezier(.5, 0, .7, 1), opacity .9s; transform-origin: top left; }
.bp-stub small { font-size: .62em; text-transform: uppercase; letter-spacing: .1em; }
.bp-stub b { font-size: .9em; }
.bp-bar { width: 70%; height: 3.4em; background: repeating-linear-gradient(0deg, #fff 0 2px, transparent 2px 4px, #fff 4px 7px, transparent 7px 9px); }
.bp.torn .bp-stub { transform: translateY(40cqh) rotate(35deg); opacity: 0; }
.bp.boarded { transform: scale(.94) translateY(-.3em); }
.bp-note { text-align: center; color: #fff; text-shadow: 0 .1em .4em rgba(0, 0, 0, .35); max-width: 30em; }
.bp-note h2 { margin: 0; font-family: var(--tf); font-weight: 400; font-size: 1.7em; line-height: 1.2; }
.bp-note p { margin: .4em 0 0; font-size: .92em; white-space: pre-line; opacity: 0; }
.bp-note.show p { animation: pl-up .7s ease forwards; }

/* ---------- 7. lockscreen ---------- */
.ls-phone { position: relative; isolation: isolate; clip-path: inset(0 round 5cqh); height: 94cqh; aspect-ratio: 9 / 19.5; max-width: 94cqw; border-radius: 5cqh; overflow: hidden; border: .9cqh solid #111; box-shadow: 0 0 0 .3cqh #444, 0 2cqh 6cqh rgba(0, 0, 0, .5); font-family: 'Be Vietnam Pro', system-ui, sans-serif; font-size: min(3.3cqh, 6cqw); color: #fff;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent2) 80%, #fff), transparent 55%), linear-gradient(160deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #1a0b2e)); }
.ls-island { position: absolute; left: 50%; top: 1.4%; width: 30%; height: 3.4%; margin-left: -15%; border-radius: 999px; background: #000; z-index: 5; }
.ls-lock { position: absolute; inset: 0; z-index: 3; border-radius: 4.1cqh; display: flex; flex-direction: column; align-items: center; padding: 9% 5% 5%; background: linear-gradient(rgba(0, 0, 0, .12), rgba(0, 0, 0, .25)); transition: transform .7s cubic-bezier(.6, 0, .3, 1), opacity .7s; touch-action: none; cursor: grab; }
.ls-pad { width: 1em; height: 1em; opacity: .9; }
.ls-date { margin-top: .5em; font-size: .78em; font-weight: 600; text-transform: capitalize; opacity: .95; }
.ls-clock { font-size: 3.7em; font-weight: 300; line-height: 1; letter-spacing: -.03em; text-shadow: 0 .05em .3em rgba(0, 0, 0, .2); }
.ls-notes { width: 100%; margin-top: 1em; display: flex; flex-direction: column; gap: .45em; overflow: hidden; flex: 1; }
.ls-note { display: flex; gap: .6em; align-items: flex-start; padding: .65em .7em; border-radius: 1.1em; background: rgba(245, 245, 245, .72); color: #111; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-align: left; }
.ls-note.in { animation: ls-in .5s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes ls-in { from { transform: translateY(-1.6em) scale(.9); opacity: 0; } }
.ls-ic { width: 2em; height: 2em; flex: none; border-radius: .55em; display: grid; place-items: center; background: var(--accent); color: #fff; }
.ls-note > div { min-width: 0; flex: 1; }
.ls-nh { display: flex; justify-content: space-between; gap: .4em; font-size: .7em; }
.ls-nh small { color: #666; white-space: nowrap; }
.ls-note p { margin: .1em 0 0; font-size: .78em; line-height: 1.3; overflow-wrap: anywhere; }
.ls-swipe { display: flex; flex-direction: column; align-items: center; gap: .5em; font-size: .7em; opacity: .9; cursor: pointer; animation: pl-blink 2s ease-in-out infinite; }
.ls-swipe i { width: 36%; min-width: 6em; height: .3em; border-radius: 1em; background: #fff; }
.ls-home { position: absolute; inset: 0; z-index: 2; border-radius: 4.1cqh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6em; padding: 12% 9%; text-align: center; background: rgba(0, 0, 0, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ls-home h2 { margin: 0; font-family: var(--tf); font-weight: 400; font-size: 2em; line-height: 1.15; text-shadow: 0 .05em .3em rgba(0, 0, 0, .35); }
.ls-home p { margin: 0; font-size: .9em; line-height: 1.5; white-space: pre-line; }
.ls-emo { font-size: 2.6em; line-height: 1; }
.ls-from { font-family: var(--tf); font-size: 1.2em !important; }
.ls-phone:not(.open) .ls-home > * { opacity: 0; }
.ls-phone.open .ls-lock { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.ls-phone.open .ls-home > * { animation: pl-up .7s .3s both; }

/* ---------- 8. bucket list ---------- */
.bk-pad { width: var(--w); max-height: 94cqh; overflow-y: auto; scrollbar-width: none; padding: 1.4em 1.3em 1.2em 2.2em; border-radius: .5em; text-align: left; position: relative; display: grid; gap: .5em;
  background: linear-gradient(90deg, transparent 1.5em, color-mix(in srgb, #e03131 40%, transparent) 1.5em calc(1.5em + 1.5px), transparent calc(1.5em + 1.5px)), repeating-linear-gradient(transparent 0 1.9em, color-mix(in srgb, var(--accent) 16%, transparent) 1.9em calc(1.9em + 1px)), var(--paper);
  box-shadow: 0 1em 2.4em -1em rgba(0, 0, 0, .4); transform: rotate(-.8deg); }
.bk-kicker { margin: 0; font-size: .7em; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.bk-title { margin: 0; font-family: var(--tf); font-weight: 400; font-size: 1.6em; line-height: 1.2; color: var(--accent); }
.bk-text { margin: 0; font-size: .85em; opacity: .8; }
.bk-list { display: grid; gap: .25em; }
.bk-item { display: flex; align-items: center; gap: .65em; border: 0; background: none; padding: .35em .2em; cursor: pointer; color: var(--ink); font-size: .95em; text-align: left; }
.bk-box { width: 1.3em; height: 1.3em; flex: none; border-radius: .35em; border: 2px solid var(--accent); display: grid; place-items: center; color: transparent; transition: all .2s; }
.bk-box .ico { width: .95em; height: .95em; stroke-width: 3; }
.bk-tx { position: relative; }
.bk-tx::after { content: ''; position: absolute; left: -2%; top: 55%; height: .12em; width: 0; background: var(--accent); border-radius: 1em; transition: width .35s ease; opacity: .7; }
.bk-item.on .bk-box { background: var(--accent); color: #fff; animation: pl-pop .3s cubic-bezier(.3, 1.8, .5, 1); }
.bk-item.on .bk-tx::after { width: 104%; }
.bk-count { margin: .2em 0 0; font-size: .78em; opacity: .75; text-align: center; }
.bk-from { margin: 0; text-align: right; font-family: var(--tf); color: var(--accent); font-size: 1.1em; }

/* ---------- 9. love meter ---------- */
.lc-box { width: var(--w); display: flex; flex-direction: column; align-items: center; gap: .7em; text-align: center; padding: 1.6em 1.2em; border-radius: 1.4em; background: var(--paper); box-shadow: 0 1.2em 3em -1em rgba(0, 0, 0, .35); }
.lc-kicker { margin: 0; font-size: .72em; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.lc-title { margin: 0; font-family: var(--tf); font-weight: 400; font-size: 1.7em; color: var(--accent); }
.lc-names { display: flex; align-items: center; gap: .6em; flex-wrap: wrap; justify-content: center; }
.lc-name { padding: .45em 1em; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, transparent); border: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); font-weight: 700; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-heart { color: var(--accent); fill: var(--accent); width: 1.6em !important; height: 1.6em !important; animation: ak-beat 1s ease-in-out infinite; }
.lc-gauge { --p: 0; width: 8em; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, var(--paper) 76%, transparent 78% 100%), conic-gradient(from -120deg, var(--accent) calc(var(--p) * 2.4deg), color-mix(in srgb, var(--accent) 12%, transparent) 0 240deg, transparent 0); }
.lc-num { font: 900 2em 'Be Vietnam Pro', system-ui, sans-serif; color: var(--accent); font-variant-numeric: tabular-nums; }
.lc-box.scan .lc-gauge { animation: pl-shake .15s infinite; }
.lc-box.done .lc-gauge { animation: pl-pop .6s cubic-bezier(.3, 1.6, .5, 1); box-shadow: 0 0 2em color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 50%; }
.lc-verdict { margin: 0; min-height: 1.2em; font-weight: 600; white-space: pre-line; animation: pl-up .5s ease; }
@keyframes ak-beat { 50% { transform: scale(1.2); } }

/* ---------- 10. photobooth ---------- */
.pl-booth { flex-direction: row; gap: 4cqw; }
.bo-strip { height: 94cqh; aspect-ratio: .3; max-width: 46cqw; padding: 3.2% 6% 2%; display: flex; flex-direction: column; gap: 2%; background: var(--paper); box-shadow: 0 1.6cqh 4cqh rgba(0, 0, 0, .35); transform: rotate(-2deg); font-size: min(2.4cqh, 5cqw); }
.bo-head { text-align: center; font-family: var(--tf); color: var(--accent); font-size: 1.3em; line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.bo-frame { position: relative; flex: 1; min-height: 0; overflow: hidden; background: color-mix(in srgb, var(--accent) 14%, #fff); }
.bo-frame img { width: 100%; height: 100%; object-fit: cover; filter: var(--f, none); display: block; }
.bo-frame.ph { display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--accent2) 45%, #fff), color-mix(in srgb, var(--accent) 35%, #fff)); }
.bo-frame.ph > .bo-ph-emo { font-size: 3em; }
.bo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .3em; background: rgba(0, 0, 0, .45); color: #fff; font-size: .8em; text-align: center; font-weight: 600; }
.bo-sticker { position: absolute; left: var(--x); top: 8%; font-size: 1.5em; transform: translateX(-50%) rotate(var(--r)); filter: drop-shadow(0 .1em .15em rgba(0, 0, 0, .3)); }
.bo-foot { text-align: center; display: grid; line-height: 1.25; }
.bo-foot b { font-size: .95em; color: var(--accent); }
.bo-foot small { font-size: .62em; opacity: .65; letter-spacing: .06em; }
.bo-frame.wait > * { opacity: 0; }
.bo-frame.wait { background: #222; }
.bo-frame.shot > * { animation: bo-dev 1.2s ease both; }
@keyframes bo-dev { from { opacity: 0; filter: brightness(2.5) blur(4px); } }
.bo-side { max-width: 40cqw; display: flex; flex-direction: column; align-items: center; gap: 1em; text-align: center; }
.bo-msg { margin: 0; color: var(--ink); background: var(--paper); padding: 1em; border-radius: 1em; font-size: .9em; line-height: 1.5; white-space: pre-line; box-shadow: 0 .6em 1.4em -.6em rgba(0, 0, 0, .3); }
.bo-count { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 900 16cqmin 'Be Vietnam Pro', system-ui, sans-serif; color: #fff; text-shadow: 0 0 4cqmin rgba(0, 0, 0, .4); pointer-events: none; z-index: 6; }
.bo-count.pop { animation: pl-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.pl-booth.flash::after { content: ''; position: absolute; inset: 0; background: #fff; z-index: 7; pointer-events: none; animation: bo-flash .45s ease-out forwards; }
@keyframes bo-flash { from { opacity: 1; } to { opacity: 0; } }
@container (max-aspect-ratio: 3/4) {
  .pl-booth { flex-direction: column; gap: 1.5cqh; }
  .bo-row { height: 78cqh; }
  .bo-strip { height: 76cqh; }
  .bo-side { max-width: 90cqw; }
  .bo-msg { display: none; }
}

/* ---------- ảnh trong các loại thiệp ---------- */
.st-ph { position: absolute; inset: -6%; z-index: -1; background: center / cover; animation: pl-kb 6s ease-out both; }
@keyframes pl-kb { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1) translate(0, 0); } }
.st-slide.has-ph { isolation: isolate; background: none; justify-content: flex-end; padding-bottom: 16%; }
.st-slide.has-ph::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0, transparent 30%, rgba(0, 0, 0, .15) 50%, color-mix(in srgb, var(--accent) 55%, #000) 100%); }
.st-slide.has-ph .st-title, .st-slide.has-ph .st-text { text-shadow: 0 .06em .4em rgba(0, 0, 0, .45); }
.ch-ph { padding: 0; background: none; display: grid; gap: 2px; border-radius: 1em; overflow: hidden; width: 70%; max-width: 70%; position: relative; }
.ch-ph.n2, .ch-ph.n3, .ch-ph.n4 { grid-template-columns: 1fr 1fr; }
.ch-ph.n3 img:first-child { grid-row: span 2; }
.ch-ph img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.ch-ph.n1 img { aspect-ratio: 4 / 5; }
.ch-more { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; display: grid; place-items: center; background: rgba(0, 0, 0, .5); color: #fff; font-weight: 800; font-size: 1.2em; }
.pl-stack { position: relative; width: 7.5em; height: 6.4em; }
.pl-stack img, .ls-fan img, .bk-pins img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-stack img { position: absolute; left: 50%; top: 0; width: 5.4em; height: 5.4em; margin-left: -2.7em; padding: .25em .25em .9em; background: #fff; box-shadow: 0 .3em .8em rgba(0, 0, 0, .25); transform: translateX(calc(var(--i) * 1.6em)) rotate(calc(var(--i) * 9deg)); animation: pl-pop .6s calc((var(--i) + 1) * .12s) cubic-bezier(.3, 1.5, .5, 1) both; }
.qz-ring { position: relative; }
.qz-ring::before { content: ''; position: absolute; inset: 14%; border-radius: 50%; background: var(--ph, none) center / cover; opacity: .22; }
.qz-ring b { position: relative; }
.tr-img { width: 78%; aspect-ratio: 1; object-fit: cover; border-radius: .4em; border: .12em solid var(--accent2); }
.rc-photo { position: absolute; z-index: 3; top: 2.6em; right: calc(-1.2em + var(--i) * 1.4em); width: 5.2em; padding: .3em .3em 1.1em; background: #fff; box-shadow: 0 .3em .8em rgba(0, 0, 0, .25); transform: rotate(calc(8deg - var(--i) * 14deg)); }
.rc-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.rc-photo::before { content: ''; position: absolute; left: 50%; top: -.45em; width: 1.2em; height: .9em; margin-left: -.6em; border: .18em solid #adb5bd; border-bottom: 0; border-radius: .3em .3em 0 0; }
.bp.has-ph .bp-main { position: relative; padding-right: 5.6em; }
.bp-ph { position: absolute; right: .9em; top: 2.4em; width: 4.2em; aspect-ratio: .8; border-radius: .4em; overflow: hidden; box-shadow: 0 0 0 .14em #fff, 0 0 0 .26em color-mix(in srgb, var(--accent) 40%, transparent); }
.bp-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.bp-ph img.on { opacity: 1; }
.ls-walls { position: absolute; inset: 0; z-index: 0; }
.ls-walls i { position: absolute; inset: -5%; background: center / cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 6s ease-out; }
.ls-walls i.on { opacity: 1; transform: scale(1); }
.ls-thumb { width: 2.6em; height: 2.6em; border-radius: .5em; object-fit: cover; order: 3; flex: none; }
.ls-fan { position: relative; width: 70%; height: 9em; margin-bottom: .4em; }
.ls-fan span { position: absolute; left: 50%; top: 0; width: 6em; height: 7.4em; margin-left: -3em; padding: .3em .3em 1.1em; background: #fff; box-shadow: 0 .4em 1em rgba(0, 0, 0, .3); transform: translateX(calc(var(--i) * 3.4em)) rotate(calc(var(--i) * 12deg)); }
.ls-phone.open .ls-fan span { animation: pl-pop .7s calc(.3s + (var(--i) + 1) * .15s) cubic-bezier(.3, 1.5, .5, 1) both; }
.bk-pins { display: flex; justify-content: center; gap: .6em; margin: -.2em 0 .3em; }
.bk-pins span { position: relative; width: 4.8em; padding: .25em .25em .9em; background: #fff; box-shadow: 0 .3em .7em rgba(0, 0, 0, .2); transform: rotate(var(--r)); }
.bk-pins img { aspect-ratio: 1; }
.bk-pins span::before { content: ''; position: absolute; left: 50%; top: -.45em; width: 2.6em; height: .9em; margin-left: -1.3em; background: rgba(255, 255, 255, .6); box-shadow: 0 .05em .15em rgba(0, 0, 0, .12); transform: rotate(-4deg); }
.lc-name.has-av { display: inline-flex; align-items: center; gap: .45em; padding-left: .3em; }
.lc-av { width: 2.2em; height: 2.2em; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .14em #fff; }
.bo-row { display: flex; gap: 3cqw; align-items: center; justify-content: center; height: 94cqh; }
.bo-row .bo-strip { transform: rotate(var(--tilt, -2deg)); }
.bo-row.n2 .bo-strip { height: 84cqh; max-width: 30cqw; }
.bo-row.n3 .bo-strip { height: 78cqh; max-width: 22cqw; font-size: min(1.8cqh, 3.4cqw); }
.bo-row.n2 .bo-strip:nth-child(2), .bo-row.n3 .bo-strip:nth-child(2) { margin-top: 6cqh; }
.pl-booth:has(.bo-row.n2), .pl-booth:has(.bo-row.n3) { flex-direction: column; gap: 1.5cqh; }
.pl-booth:has(.bo-row.n2) .bo-msg, .pl-booth:has(.bo-row.n3) .bo-msg { display: none; }
.pl-booth:has(.bo-row.n2) .bo-row, .pl-booth:has(.bo-row.n3) .bo-row { height: 84cqh; }

/* ---------- nền động (card-renderer background(): theme.bg) ---------- */
.cs-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.cs-bg i { position: absolute; display: block; }
.static .cs-bg i { animation-play-state: paused !important; }
/* mesh: các khối màu lớn trôi chậm như hình nền iPhone */
.bg-mesh i { width: 70cqmax; height: 70cqmax; border-radius: 50%; filter: blur(9cqmin); opacity: .75; mix-blend-mode: screen; animation: bg-float 16s ease-in-out infinite alternate; }
.bg-mesh i:nth-child(1) { left: -20%; top: -25%; background: var(--accent); }
.bg-mesh i:nth-child(2) { right: -25%; top: 10%; background: var(--accent2); animation-duration: 21s; animation-delay: -5s; }
.bg-mesh i:nth-child(3) { left: 10%; bottom: -35%; background: color-mix(in srgb, var(--accent) 50%, #fff); animation-duration: 18s; animation-delay: -9s; }
.bg-mesh i:nth-child(4) { right: 20%; bottom: 25%; width: 35cqmax; height: 35cqmax; background: #fff; opacity: .35; animation-duration: 13s; }
.bg-mesh i:nth-child(5) { display: none; }
@keyframes bg-float { to { transform: translate(12cqw, 10cqh) scale(1.2); } }
/* aurora: dải cực quang uốn lượn */
.bg-aurora i { left: -30%; right: -30%; height: 38cqh; border-radius: 50%; filter: blur(7cqmin); opacity: .55; mix-blend-mode: screen; animation: bg-aurora 14s ease-in-out infinite alternate; }
.bg-aurora i:nth-child(1) { top: 2%; background: linear-gradient(90deg, transparent, var(--accent2), #22d3ee, transparent); }
.bg-aurora i:nth-child(2) { top: 26%; background: linear-gradient(90deg, transparent, var(--accent), #a78bfa, transparent); animation-duration: 18s; animation-delay: -6s; }
.bg-aurora i:nth-child(3) { top: 50%; background: linear-gradient(90deg, transparent, #34d399, var(--accent2), transparent); animation-duration: 22s; animation-delay: -3s; opacity: .35; }
.bg-aurora i:nth-child(n+4) { display: none; }
@keyframes bg-aurora { 0% { transform: translateX(-8%) skewY(-6deg) scaleY(.8); } 100% { transform: translateX(8%) skewY(6deg) scaleY(1.2); } }
/* grid: sàn lưới phối cảnh kiểu Y2K / synthwave + mặt trời sọc */
.bg-grid i:nth-child(1) { left: -50%; right: -50%; bottom: -10%; height: 60%; transform: perspective(40cqh) rotateX(62deg); transform-origin: bottom;
  background: linear-gradient(color-mix(in srgb, var(--accent) 70%, transparent) 2px, transparent 2px) 0 0 / 100% 8cqh, linear-gradient(90deg, color-mix(in srgb, var(--accent) 70%, transparent) 2px, transparent 2px) 0 0 / 8cqh 100%;
  -webkit-mask: linear-gradient(transparent, #000 40%); mask: linear-gradient(transparent, #000 40%); animation: bg-grid 3s linear infinite; }
.bg-grid i:nth-child(2) { left: 50%; top: 18%; width: 46cqmin; height: 46cqmin; margin-left: -23cqmin; border-radius: 50%; background: linear-gradient(var(--accent2), var(--accent)); -webkit-mask: linear-gradient(#000 45%, transparent 0) top / 100% 100%, repeating-linear-gradient(#000 0 5%, transparent 5% 8%); mask: linear-gradient(#000 45%, transparent 0) top / 100% 100%, repeating-linear-gradient(#000 0 5%, transparent 5% 8%); opacity: .55; filter: drop-shadow(0 0 4cqmin var(--accent)); }
.bg-grid i:nth-child(3) { left: 0; right: 0; top: 52%; height: 2px; background: var(--accent2); box-shadow: 0 0 3cqmin 1cqmin var(--accent); opacity: .7; }
.bg-grid i:nth-child(n+4) { display: none; }
@keyframes bg-grid { to { background-position: 0 8cqh, 0 0; } }
/* checker: bàn cờ uốn sóng (retro, đang trend) */
.bg-checker i:nth-child(1) { inset: -20%; opacity: .2; background: conic-gradient(var(--accent) 25%, transparent 0 50%, var(--accent) 0 75%, transparent 0) 0 0 / 12cqmin 12cqmin; animation: bg-wobble 10s ease-in-out infinite alternate; }
.bg-checker i:nth-child(2) { inset: 0; background: radial-gradient(ellipse at center, transparent 30%, color-mix(in srgb, var(--accent) 25%, transparent) 100%); }
.bg-checker i:nth-child(n+3) { display: none; }
@keyframes bg-wobble { from { transform: perspective(80cqh) rotateX(14deg) rotate(-8deg) scale(1.1); } to { transform: perspective(80cqh) rotateX(-10deg) rotate(6deg) scale(1.2); } }
/* halftone: chấm in báo đậm dần ra góc */
.bg-halftone i:nth-child(1) { inset: 0; opacity: .35; background: radial-gradient(circle, var(--accent) 30%, transparent 32%) 0 0 / 3.6cqmin 3.6cqmin; -webkit-mask: radial-gradient(circle at 85% 15%, #000, transparent 60%); mask: radial-gradient(circle at 85% 15%, #000, transparent 60%); }
.bg-halftone i:nth-child(2) { inset: 0; opacity: .3; background: radial-gradient(circle, var(--accent2) 30%, transparent 32%) 0 0 / 2.8cqmin 2.8cqmin; -webkit-mask: radial-gradient(circle at 10% 90%, #000, transparent 55%); mask: radial-gradient(circle at 10% 90%, #000, transparent 55%); }
.bg-halftone i:nth-child(n+3) { display: none; }
/* rays: tia nắng xoay chậm */
.bg-rays i:nth-child(1) { left: 50%; top: 45%; width: 220cqmax; height: 220cqmax; margin: -110cqmax 0 0 -110cqmax; background: repeating-conic-gradient(rgba(255, 255, 255, .28) 0 7deg, transparent 7deg 18deg); -webkit-mask: radial-gradient(circle, #000 0, transparent 45%); mask: radial-gradient(circle, #000 0, transparent 45%); animation: bg-spin 60s linear infinite; }
.bg-rays i:nth-child(n+2) { display: none; }
@keyframes bg-spin { to { transform: rotate(360deg); } }
/* glass: các khối kính mờ trôi */
.bg-glass i { border-radius: 30%; background: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08)); border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 2cqmin 5cqmin rgba(0, 0, 0, .08); animation: bg-bob 9s ease-in-out infinite alternate; }
.bg-glass i:nth-child(1) { width: 28cqmin; height: 28cqmin; left: 6%; top: 8%; rotate: 18deg; }
.bg-glass i:nth-child(2) { width: 18cqmin; height: 18cqmin; right: 8%; top: 18%; border-radius: 50%; animation-delay: -3s; }
.bg-glass i:nth-child(3) { width: 34cqmin; height: 22cqmin; left: 12%; bottom: 8%; border-radius: 2cqmin; animation-delay: -5s; }
.bg-glass i:nth-child(4) { width: 14cqmin; height: 14cqmin; right: 16%; bottom: 14%; border-radius: 50%; animation-delay: -7s; }
.bg-glass i:nth-child(5) { width: 10cqmin; height: 10cqmin; left: 46%; top: 4%; border-radius: 50%; animation-delay: -2s; }
@keyframes bg-bob { to { translate: 2cqmin -4cqmin; } }
/* stripes: sọc kẹo chạy */
.bg-stripes i:nth-child(1) { inset: -10%; opacity: .2; background: repeating-linear-gradient(-45deg, var(--accent) 0 3cqmin, transparent 3cqmin 6cqmin, var(--accent2) 6cqmin 9cqmin, transparent 9cqmin 12cqmin); animation: bg-stripes 6s linear infinite; }
.bg-stripes i:nth-child(n+2) { display: none; }
@keyframes bg-stripes { to { transform: translateX(16.97cqmin); } }


/* ---------- 11. đĩa nhạc + lời karaoke ---------- */
.vn-card { width: min(84cqw, 52cqh); max-height: 94cqh; display: flex; flex-direction: column; gap: .5em; padding: 1.2em; border-radius: 1.4em; color: #fff; overflow: hidden; font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 70%, #000), color-mix(in srgb, var(--accent) 25%, #0b0b12) 70%); box-shadow: 0 1.4em 3em -1em rgba(0, 0, 0, .55); font-size: min(3.3cqh, 5cqw); }
.vn-art { position: relative; height: 38%; min-height: 6em; display: flex; align-items: center; }
.vn-cover { position: relative; z-index: 2; height: 100%; aspect-ratio: 1; border-radius: .6em; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent2), var(--accent)); box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .45); font-size: 2.6em; }
.vn-cover img { width: 100%; height: 100%; object-fit: cover; }
.vn-disc { position: absolute; left: 22%; height: 94%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--accent2) 0 15%, #111 16% 18%, #222 19%, #111 30%, #2a2a2a 31%, #111 45%, #262626 46%, #0d0d0d 70%); box-shadow: 0 .3em 1em rgba(0, 0, 0, .5); transition: left 1s cubic-bezier(.3, 1.2, .5, 1); }
.vn-disc i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(transparent 0 40deg, rgba(255, 255, 255, .12) 50deg, transparent 70deg 220deg, rgba(255, 255, 255, .08) 230deg, transparent 250deg); }
.vn-card.playing .vn-disc { left: 40%; animation: vn-spin 3s linear infinite; }
@keyframes vn-spin { to { rotate: 360deg; } }
.vn-meta { display: grid; line-height: 1.25; }
.vn-meta b { font-size: 1.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vn-meta small { opacity: .7; font-size: .78em; }
.vn-bar { height: .25em; border-radius: 1em; background: rgba(255, 255, 255, .25); overflow: hidden; }
.vn-bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 1em; transition: width 1s linear; }
.vn-time { display: flex; justify-content: space-between; font-size: .66em; opacity: .7; margin-top: -.2em; }
.vn-ctrl { display: flex; align-items: center; justify-content: center; gap: 2em; }
.vn-ctrl .ico { width: 1.3em; height: 1.3em; opacity: .8; }
.vn-like { fill: var(--accent2); color: var(--accent2); }
.vn-play { width: 2.8em; height: 2.8em; border-radius: 50%; border: 0; background: #fff; color: #111; display: grid; place-items: center; cursor: pointer; }
.vn-play svg { width: 1.3em; height: 1.3em; }
.vn-lyrics { flex: 1; min-height: 4.5em; overflow: hidden; display: flex; flex-direction: column; gap: .4em; padding: .3em 0 2em; -webkit-mask: linear-gradient(transparent, #000 15%, #000 75%, transparent); mask: linear-gradient(transparent, #000 15%, #000 75%, transparent); }
.vn-lyrics p { margin: 0; font-size: 1.15em; font-weight: 800; line-height: 1.3; color: rgba(255, 255, 255, .35); transition: color .5s, transform .5s; transform-origin: left; }
.vn-lyrics p.past { color: rgba(255, 255, 255, .55); }
.vn-lyrics p.now { color: #fff; transform: scale(1.04); background: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, .45) 50%) 100% 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: vn-sing 3.2s linear forwards; }
@keyframes vn-sing { to { background-position: 0 0; } }
.vn-msg { margin: 0; font-size: .8em; opacity: .85; font-style: italic; white-space: pre-line; }

/* ---------- 12. bản đồ hành trình ---------- */
.jr-box { width: min(86cqw, 60cqh); max-height: 94cqh; display: flex; flex-direction: column; gap: .5em; padding: 1.1em; border-radius: 1.2em; background: var(--paper); box-shadow: 0 1.2em 3em -1em rgba(0, 0, 0, .4); text-align: center; overflow-y: auto; scrollbar-width: none; }
.jr-kicker { margin: 0; font-size: .7em; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.jr-title { margin: 0; font-family: var(--tf); font-weight: 400; font-size: 1.6em; color: var(--accent); }
.jr-map { position: relative; height: 15em; flex: none; border-radius: .9em; overflow: hidden; background: radial-gradient(circle at 20% 30%, #e9f5e1 0 18%, transparent 19%), radial-gradient(circle at 80% 70%, #e1f0f5 0 22%, transparent 23%), #f6f1e6; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.jr-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.jr-road { fill: none; stroke: #fff; stroke-width: 3; }
.jr-river { fill: none; stroke: #a5d8ff; stroke-width: 5; opacity: .7; }
.jr-path-bg { fill: none; stroke: color-mix(in srgb, var(--accent) 18%, transparent); stroke-width: 1.6; }
.jr-path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 2 2.5; stroke-linecap: round; clip-path: inset(0 0 100% 0); transition: clip-path 3.5s ease-in-out; }
.jr-map.drawn .jr-path { clip-path: inset(0 0 0 0); }
.jr-pin { position: absolute; z-index: 2; width: 2em; height: 2em; margin: -2em 0 0 -1em; border: 0; padding: 0; background: none; cursor: pointer; transform: scale(0); transform-origin: bottom; }
.jr-map.drawn .jr-pin { animation: pl-pop .5s var(--d) cubic-bezier(.3, 1.8, .5, 1) forwards; }
.static .jr-pin { transform: none; }
.jr-pin span { position: absolute; inset: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); box-shadow: 0 .2em .4em rgba(0, 0, 0, .3); display: grid; place-items: center; }
.jr-pin span b { transform: rotate(45deg); color: #fff; font: 800 .8em 'Be Vietnam Pro', system-ui, sans-serif; }
.jr-pin.on span { background: var(--accent2); box-shadow: 0 0 0 .3em color-mix(in srgb, var(--accent2) 40%, transparent); }
.jr-card { display: flex; gap: .7em; align-items: center; text-align: left; padding: .7em; border-radius: .9em; background: color-mix(in srgb, var(--accent) 7%, var(--paper)); }
.jr-card.in { animation: pl-up .5s ease; }
.jr-card img { width: 4.2em; height: 4.2em; border-radius: .6em; object-fit: cover; flex: none; }
.jr-card small { font-size: .66em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.jr-card b { display: block; font-size: 1em; }
.jr-card p { margin: .15em 0 0; font-size: .8em; opacity: .8; line-height: 1.4; }
.jr-msg { margin: 0; font-size: .82em; opacity: .8; white-space: pre-line; }

/* ---------- 13. báo tin nóng ---------- */
.np-paper { width: min(88cqw, 64cqh); max-height: 94cqh; overflow-y: auto; scrollbar-width: none; padding: 1.1em 1.2em; background: #f4efe3; color: #1a1a1a; font-family: 'Playfair Display', Georgia, serif; box-shadow: 0 1.2em 3em -1em rgba(0, 0, 0, .5); font-size: min(2.9cqh, 4.4cqw);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .35 0 0 0 0 .25 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.np-paper.spin { animation: np-spin 1.6s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes np-spin { from { transform: rotate(-1080deg) scale(.05); opacity: 0; } 30% { opacity: 1; } }
.np-mast { text-align: center; border-bottom: 3px double #1a1a1a; padding-bottom: .3em; }
.np-mast h1 { margin: .05em 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 2em; letter-spacing: .02em; }
.np-mast small { display: block; text-wrap: balance; font: 600 .55em 'Be Vietnam Pro', system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; padding: .2em 0; }
.np-mast small:last-child { border: 0; }
.np-head { text-wrap: balance; margin: .4em 0 .1em; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.55em; line-height: 1.1; text-align: center; text-transform: uppercase; }
.np-sub { margin: 0 0 .5em; text-align: center; font-style: italic; font-size: .72em; }
.np-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: .8em; border-top: 1px solid #1a1a1a; padding-top: .5em; }
.np-fig { margin: 0 0 .4em; }
.np-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.np-fig figcaption { font-size: .55em; font-style: italic; opacity: .75; }
.np-text { margin: 0; font-size: .74em; line-height: 1.5; text-align: justify; white-space: pre-line; }
.np-text::first-letter { float: left; font-size: 3.1em; line-height: .85; padding: .05em .08em 0 0; font-weight: 700; }
.np-side { border-left: 1px solid #1a1a1a; padding-left: .6em; display: grid; gap: .4em; align-content: start; }
.np-side-h { font: 800 .6em 'Be Vietnam Pro', system-ui, sans-serif; letter-spacing: .15em; text-transform: uppercase; border-bottom: 2px solid #1a1a1a; }
.np-side p { margin: 0; font-size: .64em; line-height: 1.35; padding-bottom: .4em; border-bottom: 1px dotted #777; font-weight: 700; }
.np-side-ph { width: 100%; aspect-ratio: 1; object-fit: cover; }
.np-ad { border: 1.5px solid #1a1a1a; padding: .4em; display: grid; gap: .2em; font-size: .58em; text-align: center; }
.np-ad b { letter-spacing: .2em; }

/* ---------- 14. thành tựu game ---------- */
.ac-box { width: min(86cqw, 58cqh); max-height: 94cqh; display: flex; flex-direction: column; gap: .6em; font-family: 'Be Vietnam Pro', system-ui, sans-serif; color: #fff; font-size: min(3.1cqh, 4.8cqw); }
.ac-kicker { margin: 0; text-align: center; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: .8em; color: var(--accent2); text-shadow: 0 0 .6em color-mix(in srgb, var(--accent2) 60%, transparent); }
.ac-player { display: flex; gap: .8em; align-items: center; padding: .8em; border-radius: 1em; background: rgba(10, 10, 20, .7); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(8px); }
.ac-av { width: 3.6em; height: 3.6em; flex: none; border-radius: .8em; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); font-size: 1.2em; box-shadow: 0 0 0 .15em var(--accent2); }
.ac-av img { width: 100%; height: 100%; object-fit: cover; }
.ac-info { flex: 1; display: grid; gap: .15em; min-width: 0; }
.ac-info small { font-size: .62em; opacity: .7; text-transform: uppercase; letter-spacing: .1em; }
.ac-info strong { font-size: 1.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-lv { font-size: .78em; color: var(--accent2); font-variant-numeric: tabular-nums; }
.ac-xp { height: .45em; border-radius: 1em; background: rgba(255, 255, 255, .15); overflow: hidden; }
.ac-xp i { display: block; height: 100%; width: 0; border-radius: 1em; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .8s ease; }
.ac-feed { display: grid; gap: .45em; max-height: 60cqh; overflow: hidden; }
.ac-item { display: flex; align-items: center; gap: .7em; padding: .6em .7em; border-radius: .9em; background: rgba(10, 10, 20, .78); border: 1px solid color-mix(in srgb, var(--rc) 60%, transparent); box-shadow: 0 0 1em -.3em var(--rc); }
.ac-item.in { animation: ac-in .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes ac-in { from { transform: translateX(-110%) scale(.9); opacity: 0; } }
.ac-ic { width: 2.4em; height: 2.4em; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--rc); color: #111; }
.ac-ic .ico { stroke-width: 3; }
.ac-item > div { flex: 1; min-width: 0; }
.ac-item small { font-size: .6em; text-transform: uppercase; letter-spacing: .1em; color: var(--rc); font-weight: 800; }
.ac-item b { display: block; font-size: .92em; }
.ac-item p { margin: 0; font-size: .7em; opacity: .75; }
.ac-item em { font-style: normal; font-size: .7em; font-weight: 800; color: var(--accent2); white-space: nowrap; }
.ac-plat { display: flex; flex-direction: column; align-items: center; gap: .2em; padding: .8em; border-radius: 1em; text-align: center; background: linear-gradient(135deg, #e9ecef, #fff, #ced4da); color: #212529; box-shadow: 0 0 2em rgba(255, 255, 255, .5); animation: pl-pop .7s cubic-bezier(.3, 1.6, .5, 1); }
.ac-plat .ico { width: 2em; height: 2em; color: #7048e8; }
.ac-plat b { letter-spacing: .2em; }
.ac-plat span { font-size: .8em; }

/* ---------- 15. thời tiết tình yêu ---------- */
.wt-app { --ph: none; position: relative; width: min(84cqw, 50cqh); height: 94cqh; overflow-y: auto; scrollbar-width: none; border-radius: 1.6em; padding: 1.4em 1em 1em; color: #fff; font-family: 'Be Vietnam Pro', system-ui, sans-serif; font-size: min(3cqh, 5cqw); isolation: isolate;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 85%, #1c7ed6), color-mix(in srgb, var(--accent2) 60%, var(--accent))); box-shadow: 0 1.4em 3em -1em rgba(0, 0, 0, .5); }
.wt-app.has-ph::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)), var(--ph) center / cover; border-radius: inherit; }
.wt-sky { position: absolute; inset: 0 0 auto; height: 40%; z-index: -1; overflow: hidden; pointer-events: none; }
.wt-cloud { position: absolute; width: 6em; height: 2em; border-radius: 2em; background: rgba(255, 255, 255, .35); filter: blur(2px); animation: wt-cloud 16s linear infinite; }
.wt-cloud::before { content: ''; position: absolute; left: 1.2em; top: -1em; width: 2.6em; height: 2.6em; border-radius: 50%; background: inherit; }
.wt-cloud:nth-child(1) { top: 12%; animation-duration: 18s; } .wt-cloud:nth-child(2) { top: 40%; animation-delay: -6s; scale: .7; } .wt-cloud:nth-child(3) { top: 65%; animation-delay: -11s; scale: .5; } .wt-cloud:nth-child(4) { top: 25%; animation-delay: -3s; scale: .85; animation-duration: 22s; }
@keyframes wt-cloud { from { left: -30%; } to { left: 110%; } }
.wt-now { text-align: center; display: grid; gap: .05em; text-shadow: 0 .05em .3em rgba(0, 0, 0, .2); }
.wt-loc { margin: 0; font-size: 1.15em; font-weight: 600; }
.wt-temp { font-size: 4.2em; font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.wt-cond { margin: 0; font-weight: 600; }
.wt-now small { opacity: .85; font-size: .78em; }
.wt-hours { display: grid; grid-template-columns: repeat(6, 1fr); gap: .2em; margin: .8em 0 .5em; padding: .6em .3em; border-radius: 1em; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); text-align: center; }
.wt-hours div { display: grid; gap: .2em; font-size: .78em; }
.wt-hours .emo { font-size: 1.3em; }
.wt-alert { display: flex; gap: .6em; padding: .7em; border-radius: 1em; background: rgba(0, 0, 0, .22); backdrop-filter: blur(8px); margin-bottom: .5em; }
.wt-alert .ico { width: 1.4em; height: 1.4em; color: #ffd43b; flex: none; }
.wt-alert b { font-size: .85em; } .wt-alert p { margin: .15em 0 0; font-size: .76em; line-height: 1.4; }
.wt-days { padding: .4em .8em; border-radius: 1em; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.wt-h { margin: 0 0 .3em; font-size: .66em; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.wt-day { display: grid; grid-template-columns: 4.6em 1.6em 1fr; gap: .4em; align-items: center; padding: .45em 0; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .8em; }
.wt-day p { margin: 0; line-height: 1.3; }

/* ---------- 16. poster phim ---------- */
.pl-movie { gap: 2cqh; }
.mv-poster { position: relative; height: 84cqh; aspect-ratio: 27 / 40; max-width: 92cqw; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6% 7% 4%; color: #fff; background: #0a0a0f; box-shadow: 0 2cqh 5cqh rgba(0, 0, 0, .6); font-size: min(2.6cqh, 3.8cqw); }
.mv-poster.wait { opacity: 0; }
.mv-poster.show { animation: mv-show 1.6s ease both; }
@keyframes mv-show { from { opacity: 0; filter: brightness(3) blur(8px); transform: scale(1.06); } }
.mv-bg { position: absolute; inset: 0; background: center / cover; animation: pl-kb 14s ease-out both; }
.mv-bg.none { background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent) 35%, #0a0a0f 80%); }
.mv-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 28%, transparent 45%, rgba(0, 0, 0, .9) 78%); }
.mv-poster > p, .mv-poster > h2, .mv-poster > div:not(.mv-bg):not(.mv-shade) { position: relative; }
.mv-top { margin: 0; font-size: .7em; font-weight: 700; letter-spacing: .4em; }
.mv-laurel { margin-top: .6em; display: grid; font-size: .62em; line-height: 1.2; padding: .3em 1.6em; border-left: .15em solid var(--accent2); border-right: .15em solid var(--accent2); border-radius: 50%; color: var(--accent2); text-transform: uppercase; letter-spacing: .1em; }
.mv-laurel b { font-size: 1.2em; }
.mv-quote { margin: .5em 0 0; font-size: .74em; font-style: italic; opacity: .9; }
.mv-title { margin: auto 0 .2em; font-family: var(--tf); font-weight: 400; font-size: 3em; line-height: 1.05; text-shadow: 0 0 .5em color-mix(in srgb, var(--accent) 70%, transparent); overflow-wrap: anywhere; }
.mv-tag { margin: 0; font-size: .82em; opacity: .9; font-style: italic; }
.mv-date { margin: .8em 0 .3em; font-size: .9em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); }
.mv-bill { margin: 0; font: 400 .48em/1.3 'Be Vietnam Pro', system-ui, sans-serif; letter-spacing: .08em; opacity: .7; text-transform: uppercase; transform: scaleY(1.5); }
.mv-trailer { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: #000; color: #fff; text-align: center; padding: 6cqmin; }
.mv-trailer p { margin: 0; font-family: var(--tf); font-size: 9cqmin; animation: mv-line 1.5s ease both; }
@keyframes mv-line { 0% { opacity: 0; transform: scale(1.3); letter-spacing: .2em; } 25%, 75% { opacity: 1; transform: none; letter-spacing: 0; } 100% { opacity: 0; } }
.mv-book.wait { opacity: 0; pointer-events: none; }
.mv-ticket { display: flex; align-items: stretch; border-radius: .8em; overflow: hidden; background: #fff; color: #111; box-shadow: 0 1em 2em -1em rgba(0, 0, 0, .5); animation: pl-pop .6s cubic-bezier(.3, 1.5, .5, 1); font-family: 'Be Vietnam Pro', system-ui, sans-serif; font-size: min(2.6cqh, 4cqw); }
.mv-ticket > div { padding: .7em 1em; display: grid; gap: .15em; }
.mv-ticket small { font-size: .65em; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 800; }
.mv-ticket span { font-size: .75em; opacity: .75; }
.mv-stub { display: grid; place-items: center; padding: 0 .8em; background: var(--accent); color: #fff; font-style: normal; font-weight: 900; writing-mode: vertical-rl; letter-spacing: .15em; border-left: 2px dashed rgba(255, 255, 255, .7); font-size: .75em; }


/* ---------- 17. chúc ngủ ngon: phòng ngủ ban đêm ---------- */
.nt-room { position: relative; width: min(86cqw, 64cqh); aspect-ratio: .7; max-height: 94cqh; border-radius: 1.4em; overflow: hidden; cursor: pointer; user-select: none; font-family: 'Be Vietnam Pro', system-ui, sans-serif; font-size: min(2.9cqh, 4.6cqw);
  background: radial-gradient(circle at 82% 78%, rgba(255, 196, 110, .45), transparent 42%), linear-gradient(180deg, color-mix(in srgb, var(--accent) 35%, #1b1840), #120f2b 70%); box-shadow: 0 1.4em 3em -1em rgba(0, 0, 0, .6); transition: background 1.5s ease; }
.nt-room.dark { background: radial-gradient(circle at 82% 78%, rgba(255, 196, 110, 0), transparent 42%), linear-gradient(180deg, #0c0a20, #05040e 70%); }
.nt-win { position: absolute; left: 10%; right: 10%; top: 6%; height: 44%; border-radius: 45% 45% .6em .6em / 30% 30% .6em .6em; overflow: hidden; background: linear-gradient(180deg, #0a0f35, #26215e 75%); }
.nt-frame { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 .5em #3b2f56, inset 0 0 0 .7em #2a2140; background: linear-gradient(90deg, transparent calc(50% - .25em), #3b2f56 calc(50% - .25em) calc(50% + .25em), transparent 0), linear-gradient(transparent 46%, #3b2f56 46% calc(46% + .5em), transparent 0); pointer-events: none; }
.nt-sky { position: absolute; inset: 0; }
.nt-sky i { position: absolute; width: .2em; height: .2em; border-radius: 50%; background: #fff; box-shadow: 0 0 .3em #fff; animation: nt-twinkle 2.6s ease-in-out infinite; transition: transform 1.5s, box-shadow 1.5s; }
.nt-room.dark .nt-sky i { transform: scale(1.8); box-shadow: 0 0 .6em #fff, 0 0 1.2em var(--accent2); }
@keyframes nt-twinkle { 50% { opacity: .25; } }
.nt-moon2 { position: absolute; right: 12%; top: 10%; width: 22%; filter: drop-shadow(0 0 1.2em rgba(255, 240, 180, .7)); animation: nt-moon 6s ease-in-out infinite alternate; }
.nt-moon2 svg { width: 100%; display: block; }
@keyframes nt-moon { to { transform: translateY(.3em) rotate(-6deg); } }
.nt-shoot2 { position: absolute; left: 10%; top: 12%; width: 5em; height: 2px; background: linear-gradient(90deg, transparent, #fff); border-radius: 2px; transform: rotate(18deg); animation: nt-shoot 1.4s ease-out forwards; }
@keyframes nt-shoot { from { translate: 0 0; opacity: 1; } to { translate: 9em 3em; opacity: 0; } }
.nt-field { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: radial-gradient(ellipse at 50% 100%, #2c5a3f, #183a29 70%); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.nt-fence { position: absolute; left: 42%; bottom: 30%; width: 16%; height: 30%; background: linear-gradient(#b08a5a 0 0) 0 25% / 100% .25em no-repeat, linear-gradient(#b08a5a 0 0) 0 65% / 100% .25em no-repeat, linear-gradient(90deg, #8a6a42 0 .3em, transparent .3em calc(50% - .15em), #8a6a42 0 calc(50% + .15em), transparent 0 calc(100% - .3em), #8a6a42 0); }
.nt-sheep { position: absolute; left: -22%; bottom: 22%; width: 20%; animation: nt-jump 2.4s linear forwards; }
.nt-sheep svg { width: 100%; display: block; }
@keyframes nt-jump { 0% { left: -22%; bottom: 22%; } 40% { bottom: 22%; } 50% { bottom: 62%; transform: rotate(-12deg); } 60% { bottom: 22%; transform: none; } 100% { left: 104%; bottom: 22%; } }
.nt-say { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); padding: .2em .55em; border-radius: 1em; background: #fff; color: #3b2f56; font-size: .62em; font-weight: 700; white-space: nowrap; }
.nt-bed { position: absolute; left: 4%; bottom: 6%; width: 52%; height: 22%; border-radius: .8em .8em .4em .4em; background: color-mix(in srgb, var(--accent) 55%, #2a2140); box-shadow: 0 .6em 1.2em rgba(0, 0, 0, .4); }
.nt-bed .pillow { position: absolute; left: 6%; top: -18%; width: 34%; height: 40%; border-radius: 1em; background: #f1edff; box-shadow: inset 0 -.3em 0 #d6cff0; }
.nt-bed .blanket { position: absolute; left: 34%; right: 0; top: 10%; bottom: 0; border-radius: .8em .8em .4em .4em; background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--accent2) 70%, #fff) 0 .5em, color-mix(in srgb, var(--accent2) 45%, #fff) .5em 1em); }
.nt-zzz { position: absolute; left: 16%; bottom: 30%; display: flex; gap: .2em; color: #d9d2ff; font-weight: 900; }
.nt-zzz span { animation: nt-z 2.4s ease-in-out infinite; opacity: 0; }
.nt-zzz span:nth-child(2) { animation-delay: .5s; font-size: 1.2em; } .nt-zzz span:nth-child(3) { animation-delay: 1s; font-size: 1.5em; }
@keyframes nt-z { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(.6em, -1.6em); } }
.nt-lamp { position: absolute; z-index: 1; right: 8%; bottom: 6%; width: 18%; height: 30%; border: 0; padding: 0; background: none; cursor: pointer; }
.nt-lamp i { position: absolute; left: 50%; display: block; }
.nt-lamp .shade { top: 0; width: 100%; height: 34%; margin-left: -50%; background: linear-gradient(180deg, color-mix(in srgb, var(--accent2) 85%, #fff), var(--accent2)); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); z-index: 2; }
.nt-lamp .pole { top: 30%; width: .35em; height: 56%; margin-left: -.175em; background: #c9b9e8; }
.nt-lamp .base { bottom: 0; width: 64%; height: 12%; margin-left: -32%; border-radius: 50% 50% .2em .2em; background: #c9b9e8; }
.nt-lamp .glow { top: 20%; width: 300%; height: 140%; margin-left: -150%; border-radius: 50%; background: radial-gradient(ellipse at 50% 20%, rgba(255, 214, 140, .55), transparent 60%); pointer-events: none; transition: opacity 1s; }
.nt-room.dark .nt-lamp .glow { opacity: 0; }
.nt-room.dark .nt-lamp .shade { filter: brightness(.45); }
.nt-lamp.call { animation: nt-call 1.2s ease-in-out infinite; }
@keyframes nt-call { 50% { transform: scale(1.08); filter: drop-shadow(0 0 .8em #ffd166); } }
.nt-count { position: absolute; left: 4%; top: 53%; display: flex; align-items: center; gap: .3em; padding: .3em .7em; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: .78em; backdrop-filter: blur(6px); }
.nt-count b { font-size: 1.2em; }
.nt-room.dark .nt-count, .nt-room.dark .nt-zzz { opacity: 0; transition: opacity 1s; }
.nt-hint { position: absolute; left: 0; right: 0; top: 53%; margin: 0; text-align: right; padding-right: 5%; color: #e9e3ff; font-size: .78em; font-weight: 600; text-shadow: 0 .1em .4em rgba(0, 0, 0, .5); pointer-events: none; }
.nt-card { position: absolute; z-index: 5; left: 7%; right: 7%; bottom: 8%; padding: 1em 1.1em; border-radius: 1.2em; text-align: center; color: #fff; background: rgba(20, 16, 50, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(1em); transition: all 1.2s ease; pointer-events: none; }
.nt-card.show { opacity: 1; transform: none; }
.nt-kicker { margin: 0; font-size: .7em; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.nt-title { margin: .1em 0 .3em; font-family: var(--tf); font-weight: 400; font-size: 2em; line-height: 1.15; text-shadow: 0 0 .6em color-mix(in srgb, var(--accent2) 70%, transparent); }
.nt-msg { margin: 0; font-size: .9em; line-height: 1.55; min-height: 3em; white-space: pre-line; }
.nt-from { margin: .4em 0 0; font-family: var(--tf); font-size: 1.15em; color: var(--accent2); }
.static .nt-card { opacity: 1; transform: none; }

/* ---------- 18. chào buổi sáng ---------- */
.mn-room { position: relative; width: min(86cqw, 64cqh); aspect-ratio: .7; max-height: 94cqh; border-radius: 1.4em; overflow: hidden; font-family: 'Be Vietnam Pro', system-ui, sans-serif; font-size: min(2.9cqh, 4.6cqw);
  background: linear-gradient(180deg, #e9e2d4, #d8cbb5); box-shadow: 0 1.4em 3em -1em rgba(0, 0, 0, .45); transition: background 2s; }
.mn-room.up { background: linear-gradient(180deg, #fff6e5, color-mix(in srgb, var(--accent2) 30%, #fff1d6)); }
.mn-win { position: absolute; left: 12%; right: 12%; top: 6%; height: 46%; border-radius: .6em; overflow: hidden; }
.mn-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #3b3a6b, #c07a8a 70%, #f2b57c); transition: background 2.5s ease; }
.mn-room.up .mn-sky { background: linear-gradient(180deg, #74c0fc, #a5d8ff 55%, #ffe8a3); }
.mn-sun { position: absolute; left: 50%; top: 100%; width: 32%; aspect-ratio: 1; margin-left: -16%; border-radius: 50%; background: radial-gradient(circle, #fff7c2, #ffd43b 60%, #fab005); box-shadow: 0 0 2em 1em rgba(255, 212, 59, .55); transition: top 2.8s cubic-bezier(.3, .8, .3, 1); }
.mn-room.up .mn-sun { top: 22%; }
.mn-cloud { position: absolute; height: 1.2em; border-radius: 1em; background: rgba(255, 255, 255, .85); animation: wt-cloud 18s linear infinite; }
.mn-cloud::before { content: ''; position: absolute; left: 25%; top: -.7em; width: 1.6em; height: 1.6em; border-radius: 50%; background: inherit; }
.mn-cloud.c1 { top: 18%; width: 4em; } .mn-cloud.c2 { top: 45%; width: 3em; animation-delay: -9s; animation-duration: 24s; }
@keyframes wt-cloud { from { left: -30%; } to { left: 110%; } }
.mn-bird { position: absolute; left: -10%; top: calc(20% + var(--i) * 9%); color: #343a40; font-size: 1em; opacity: 0; }
.mn-room.up .mn-bird { animation: mn-bird 7s calc(1.5s + var(--i) * .6s) linear infinite; }
@keyframes mn-bird { 0% { left: -10%; opacity: 1; transform: scaleY(1); } 25% { transform: scaleY(.4); } 50% { transform: scaleY(1); } 100% { left: 110%; opacity: 1; transform: scaleY(.4); } }
.mn-cur { position: absolute; top: 0; bottom: 0; width: 51%; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 85%, #000) 0 .6em, var(--accent) .6em 1.6em); transition: transform 2s cubic-bezier(.6, 0, .3, 1); box-shadow: 0 0 1em rgba(0, 0, 0, .3); }
.mn-cur.l { left: 0; transform-origin: left; } .mn-cur.r { right: 0; transform-origin: right; }
.mn-room.up .mn-cur.l { transform: scaleX(.18); } .mn-room.up .mn-cur.r { transform: scaleX(.18); }
.mn-frame { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 .45em #fff; pointer-events: none; }
.mn-clock { position: absolute; left: 8%; bottom: 8%; width: 24%; aspect-ratio: 1; border: 0; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; background: radial-gradient(circle, #fff 58%, var(--accent) 60%); box-shadow: 0 .5em 1em rgba(0, 0, 0, .25); }
.mn-clock b { font: 800 1.05em 'Be Vietnam Pro', system-ui, sans-serif; color: #212529; font-variant-numeric: tabular-nums; }
.mn-clock .bell { position: absolute; top: -12%; width: 34%; aspect-ratio: 1; border-radius: 50% 50% 0 0; background: var(--accent); }
.mn-clock .bell.l { left: 2%; transform: rotate(-30deg); } .mn-clock .bell.r { right: 2%; transform: rotate(30deg); }
.mn-clock .leg { position: absolute; bottom: -6%; width: 8%; height: 14%; background: #495057; border-radius: 1em; }
.mn-clock .leg.l { left: 22%; transform: rotate(25deg); } .mn-clock .leg.r { right: 22%; transform: rotate(-25deg); }
.mn-room.ringing .mn-clock { animation: mn-ring .18s linear infinite; }
@keyframes mn-ring { 25% { transform: rotate(-9deg) translateX(-2px); } 75% { transform: rotate(9deg) translateX(2px); } }
.mn-ring { position: absolute; left: 5%; bottom: 34%; padding: .25em .6em; border-radius: 1em; background: #fff; color: var(--accent); font-weight: 900; font-size: .8em; box-shadow: 0 .3em .8em rgba(0, 0, 0, .15); opacity: 0; }
.mn-room.ringing .mn-ring { opacity: 1; animation: mn-bob .5s ease-in-out infinite alternate; }
@keyframes mn-bob { to { transform: translateY(-.3em) rotate(-4deg); } }
.mn-cup { position: absolute; right: 9%; bottom: 8%; width: 16%; height: 14%; border-radius: 0 0 40% 40%; background: linear-gradient(90deg, #fff, #e9ecef); box-shadow: inset 0 -.3em 0 rgba(0, 0, 0, .06), .55em 0 0 -.3em #fff; }
.mn-cup::before { content: ''; position: absolute; right: -32%; top: 18%; width: 40%; height: 46%; border: .25em solid #e9ecef; border-radius: 50%; }
.mn-cup .steam { position: absolute; bottom: 100%; width: .3em; height: 1.6em; border-radius: 1em; background: rgba(255, 255, 255, .8); filter: blur(1px); animation: mn-steam 2.4s ease-in-out infinite; }
.mn-cup .s1 { left: 25%; } .mn-cup .s2 { left: 48%; animation-delay: .7s; } .mn-cup .s3 { left: 70%; animation-delay: 1.4s; }
@keyframes mn-steam { 0% { transform: translateY(.4em) scaleY(.4); opacity: 0; } 50% { opacity: .9; } 100% { transform: translateY(-1em) translateX(.3em) scaleY(1); opacity: 0; } }
.mn-hint { position: absolute; left: 0; right: 0; top: 55%; margin: 0; text-align: center; color: #5c4b2e; font-size: .82em; font-weight: 700; }
.mn-card { position: absolute; left: 6%; right: 6%; bottom: 5%; max-height: 48%; overflow-y: auto; scrollbar-width: none; padding: .9em 1em; border-radius: 1.2em; background: rgba(255, 255, 255, .9); color: #212529; box-shadow: 0 .8em 2em -.6em rgba(0, 0, 0, .3); backdrop-filter: blur(8px); opacity: 0; transform: translateY(1.5em); transition: all .9s cubic-bezier(.3, 1.2, .5, 1); pointer-events: none; }
.mn-card.show, .static .mn-card { opacity: 1; transform: none; pointer-events: auto; }
.mn-kicker { margin: 0; font-size: .68em; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.mn-title { margin: 0; font-family: var(--tf); font-weight: 400; font-size: 1.7em; line-height: 1.15; color: var(--accent); }
.mn-msg { margin: .25em 0 0; font-size: .82em; line-height: 1.5; white-space: pre-line; }
.mn-tasks { display: grid; gap: .1em; margin-top: .5em; }
.mn-tasks small { font-size: .66em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.mn-task { display: flex; align-items: center; gap: .55em; border: 0; background: none; padding: .25em 0; cursor: pointer; text-align: left; font-size: .84em; color: inherit; }
.mn-box { width: 1.2em; height: 1.2em; flex: none; border-radius: .35em; border: 2px solid var(--accent); display: grid; place-items: center; color: transparent; }
.mn-box .ico { width: .85em; height: .85em; stroke-width: 3; }
.mn-task.on .mn-box { background: var(--accent); color: #fff; }
.mn-task.on > span:last-child { text-decoration: line-through; opacity: .6; }
.mn-from { margin: .3em 0 0; text-align: right; font-family: var(--tf); color: var(--accent); font-size: 1.1em; }

/* ---------- phong cách nền chung ---------- */
.look-dark { color: #f3eaff; }
/* máy tắt hiệu ứng chuyển động: thiệp tương tác vẫn giữ hiệu ứng như bình thường */
/* logo bản miễn phí: thiệp tương tác có nút bấm ở đáy → đưa logo lên góc trên để không đè nút */
.play-stage .cs-wm, .ask-stage .cs-wm { top: 2cqmin; bottom: auto; left: 2cqmin; transform: none; z-index: 10; }
/* photobooth: dải ảnh giữ nguyên bề rộng theo chiều cao (không bị co), phần chữ/nút bên cạnh co lại thay vì chồng lên */
.bo-row { flex: none; }
.bo-row .bo-strip { flex: none; }
.bo-side { flex: 0 1 auto; min-width: 0; }
.bo-side .pl-btn { white-space: normal; text-align: center; }
