/* Pulau Belajar — gaya Kivikio/Level Up: navy tebal, warna cerah, tombol membulat dengan bayangan bawah. */
:root {
  --ink: #1d2a5b;
  --ink-2: #4a5683;
  --paper: #fff8ec;
  --card: #ffffff;
  --sun: #ffd23f;
  --orange: #f89048;
  --blue: #3868c8;
  --potentia: #3868c8;
  --potentia-2: #5b86e0;
  --green: #3cc47c;
  --red: #ff5a6e;
  --purple: #7a4fd6;
  --display: "Odudo Soft", "Fredoka", "Baloo 2", system-ui, sans-serif;
  --body: "Odudo Soft", "Nunito", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--body); color: var(--ink); background: var(--potentia); overscroll-behavior: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 4px solid var(--sun); outline-offset: 2px; }
img { -webkit-user-drag: none; user-select: none; }
.view { min-height: 100vh; min-height: 100dvh; }

/* tombol */
.btn { border: 0; border-radius: 18px; padding: 12px 22px; font-family: var(--display); font-weight: 600; font-size: 20px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink); transition: transform .08s; }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 3px var(--ink), 0 2px 0 3px var(--ink); }
.btn-go { background: var(--green); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.btn.big { font-size: 26px; padding: 14px 32px; }
.btn.ghost { background: #fff; }
.btn.danger { color: #c22a3e; }
.icon-btn { width: 48px; height: 48px; flex: 0 0 auto; border: 0; border-radius: 14px; background: #fff; font-size: 22px; font-weight: 800;
  box-shadow: 0 0 0 3px var(--ink), 0 4px 0 3px var(--ink); }
.icon-btn:active { transform: translateY(3px); box-shadow: 0 0 0 3px var(--ink), 0 1px 0 3px var(--ink); }

@keyframes pop { 0% { transform: scale(.6); opacity: 0 } 70% { transform: scale(1.08) } 100% { transform: scale(1); opacity: 1 } }
@keyframes shake { 0%,100% { transform: translateX(0) } 25% { transform: translateX(-8px) } 75% { transform: translateX(8px) } }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@keyframes breathe { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-4px) } } /* gentle float; no stretching of the character */
@keyframes hop { 0% { transform: translateY(0) } 40% { transform: translateY(-3%) } 100% { transform: translateY(0) } }
@keyframes starIn { 0% { transform: scale(0) rotate(-90deg) } 70% { transform: scale(1.3) rotate(10deg) } 100% { transform: scale(1) rotate(0) } }
.shake { animation: shake .35s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ------------------------------------------------ perkenalan */
.onboard { display: grid; place-items: center; padding: 24px 16px;
  background: linear-gradient(rgba(29,42,91,.25), rgba(29,42,91,.45)), url(../assets/world/race-world.webp) center/cover; }
.ob-card { width: min(560px, 100%); background: var(--paper); border-radius: 28px; padding: 28px 24px 30px; text-align: center; position: relative;
  box-shadow: 0 0 0 4px var(--ink), 0 10px 0 4px var(--ink); margin-top: 70px; }
.ob-komo { width: 150px; margin: -110px auto 0; display: block; }
.ob-card h1 { font-family: var(--display); font-size: clamp(28px, 6vw, 38px); line-height: 1.1; margin: 6px 0 8px; }
.ob-card h1 span { color: var(--orange); }
.ob-card p { margin: 0 0 18px; font-size: 17px; color: var(--ink-2); }
.ob-label { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; margin: 14px 0 8px; }
#ob-nama { width: 100%; font: 700 24px var(--body); text-align: center; padding: 12px; border-radius: 16px; border: 3px solid var(--ink); background: #fff; color: var(--ink); }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.chip-btn { border: 3px solid var(--ink); background: #fff; border-radius: 16px; padding: 10px 6px; display: grid; gap: 2px; }
.chip-btn b { font-family: var(--display); font-size: 20px; }
.chip-btn small { font-size: 11.5px; color: var(--ink-2); line-height: 1.2; }
.chip-btn.on { background: var(--sun); box-shadow: 0 4px 0 var(--ink); }

/* ------------------------------------------------ beranda */
.home { background: linear-gradient(180deg, rgba(42,99,201,.15), rgba(255,248,236,.95) 340px), url(../assets/world/race-world.webp) top center/100% auto no-repeat, var(--paper); padding-bottom: 40px; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255,248,236,.92); backdrop-filter: blur(8px); border-bottom: 3px solid var(--ink); }
.who { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.who > div { min-width: 0; }
.who img { width: 52px; height: 52px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); object-fit: cover; }
.who b { display: block; font-family: var(--display); font-size: 22px; line-height: 1; }
.who small { color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.star-count { font-family: var(--display); font-weight: 700; font-size: 22px; background: var(--sun); border-radius: 999px; padding: 6px 14px; box-shadow: 0 0 0 3px var(--ink); white-space: nowrap; }
.rekom { margin: 16px; background: #fff; border-radius: 20px; padding: 14px; box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink); display: grid; gap: 10px; }
.rekom b { font-family: var(--display); font-size: 18px; }
.rekom p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.rekom-list { display: flex; gap: 10px; overflow-x: auto; }
.rekom-item { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; border: 3px solid var(--ink); border-radius: 14px; background: var(--paper); padding: 6px 12px 6px 6px; font-weight: 800; }
.rekom-item img { width: 46px; height: 46px; object-fit: contain; }
.tabs { display: flex; gap: 8px; padding: 18px 16px 6px; overflow-x: auto; scrollbar-width: none; }
.tab { flex: 0 0 auto; border: 3px solid var(--ink); border-radius: 999px; background: #fff; padding: 8px 18px; font-family: var(--display); font-weight: 600; font-size: 18px; }
.tab.on { background: var(--c); color: #fff; box-shadow: 0 4px 0 var(--ink); text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.tab-body { padding: 8px 16px; }
.empty { text-align: center; color: var(--ink-2); padding: 30px 0; }

/* jalur level berkelok */
.path { max-width: 640px; margin: 10px auto 0; position: relative; display: grid; gap: 18px; padding: 10px 0 30px; }
.path::before { content: ""; position: absolute; left: 50%; top: 30px; bottom: 30px; width: 0; border-left: 8px dashed rgba(29,42,91,.25); transform: translateX(-50%); }
.node { position: relative; display: flex; align-items: center; gap: 12px; width: min(420px, 88%); border: 0; border-radius: 22px; padding: 10px 14px 10px 10px; text-align: left;
  background: #fff; box-shadow: 0 0 0 3px var(--ink), 0 7px 0 3px var(--ink); transition: transform .1s; animation: pop .35s both; }
.node.l { justify-self: start; } .node.r { justify-self: end; }
.node:hover { transform: translateY(-2px); }
.node:active { transform: translateY(4px); box-shadow: 0 0 0 3px var(--ink), 0 3px 0 3px var(--ink); }
.node-art { width: 84px; height: 72px; flex: 0 0 auto; border-radius: 16px; background: linear-gradient(#ffe9a8, #ffd23f); display: grid; place-items: center; overflow: hidden; }
.node-art img { width: 92%; height: 92%; object-fit: contain; }
.node-info { display: grid; gap: 2px; min-width: 0; }
.node-info small { font-size: 12.5px; font-weight: 800; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.node-info b { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.15; }
.stars { font-size: 20px; letter-spacing: 2px; }
.st { font-style: normal; color: #d9dce8; }
.st.on { color: #ffb400; text-shadow: 0 1px 0 var(--ink); }
.node.locked { background: #e9ebf3; }
.node.locked .node-art { filter: grayscale(1) opacity(.55); }
.node.locked .node-info { opacity: .6; }
.lock { position: absolute; right: 12px; top: 10px; font-size: 20px; }
.node.done .node-art { background: linear-gradient(#c8f2d8, #3cc47c); }

/* ------------------------------------------------ main */
.play { height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: radial-gradient(circle at 50% 30%, #3d6fd6, #1d2a5b); overflow: hidden; }
.hud { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--paper); border-bottom: 3px solid var(--ink); }
.hud-title { display: grid; line-height: 1.1; min-width: 0; flex: 0 1 220px; }
.hud-title small { font-size: 12px; font-weight: 800; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.hud-title b { font-family: var(--display); font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-prompt { flex: 1; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(16px, 2.4vw, 28px); line-height: 1.15; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hud-prompt.pop { animation: pop .3s; }
.hud-dots { display: flex; gap: 5px; flex-wrap: wrap; max-width: 170px; justify-content: flex-end; }
.hud-dots i { width: 14px; height: 14px; border-radius: 50%; background: #dfe3ef; box-shadow: inset 0 0 0 2px rgba(29,42,91,.25); }
.hud-dots i.cur { background: var(--sun); box-shadow: 0 0 0 2px var(--ink); }
.hud-dots i.ok { background: var(--green); }
.hud-dots i.no { background: var(--red); }
.stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 8px; }
.frame { position: relative; width: min(100%, calc((100dvh - 90px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 4px var(--ink), 0 12px 30px rgba(0,0,0,.35); background: #1d2a5b; }
#p-game { position: absolute; inset: 0; }
#p-game canvas { display: block; }
.pic-card { position: absolute; left: 2%; top: 4%; width: 21%; aspect-ratio: 1; background: #fff; border-radius: 18px; box-shadow: 0 0 0 4px var(--ink), 0 8px 0 4px var(--ink); display: grid; place-items: center; animation: pop .35s; z-index: 5; pointer-events: none; }
.pic-card[hidden] { display: none; }
.pic-card > img { width: 88%; height: 88%; object-fit: contain; }
.coins { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 2%; width: 92%; height: 92%; }
.coins .dot { width: 28%; height: auto; aspect-ratio: 256 / 251; border-radius: 0; background: none; flex: none; animation: pop .3s both; } /* not the 10px status .dot of jalur.css */
.coins.n7 .dot, .coins.n8 .dot, .coins.n9 .dot, .coins.n10 .dot { width: 22%; }
.howto { position: absolute; inset: 0; z-index: 20; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px;
  background: radial-gradient(circle, rgba(29,42,91,.75), rgba(29,42,91,.92)); color: #fff; }
.howto img { width: clamp(120px, 22%, 220px); transform-origin: 50% 100%; animation: breathe 3.2s ease-in-out infinite; }
.howto b { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); }
.howto p { margin: 0 0 8px; font-size: clamp(16px, 2vw, 22px); max-width: 30ch; }
.rotate-hint { display: none; }
@media (orientation: portrait) and (max-width: 820px) {
  /* HP tegak: game dirancang ulang untuk layar tegak (dunia 720×tinggi layar), bingkai mengisi sisa layar */
  .play .stage { padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .play .frame { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 16px; }
  .hud-title { display: none; }
  .hud-dots { max-width: 90px; }
  .hud-dots i { width: 10px; height: 10px; }
}

/* ------------------------------------------------ hasil */
.result { display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(circle at 50% 20%, #ffd96a, #ff8a3d 55%, #e0573a); }
.res-card { width: min(520px, 100%); background: var(--paper); border-radius: 28px; padding: 22px 22px 18px; text-align: center; box-shadow: 0 0 0 4px var(--ink), 0 10px 0 4px var(--ink); margin-top: 60px; }
.res-komo { width: 150px; margin: -95px auto 0; display: block; }
.res-stars { display: flex; justify-content: center; gap: 6px; margin: 4px 0 6px; }
.big-st { font-style: normal; font-size: 64px; color: #d9dce8; line-height: 1; transform: scale(0); animation: starIn .45s forwards; }
.big-st:nth-child(2) { font-size: 80px; transform-origin: 50% 60%; }
.big-st.on { color: #ffb400; text-shadow: 0 3px 0 var(--ink); }
.res-card h2 { font-family: var(--display); font-size: 26px; margin: 4px 0; }
.res-score { font-size: 19px; margin: 6px 0; }
.res-score b { font-family: var(--display); font-size: 28px; color: var(--green); }
.res-extra, .res-unlock { margin: 4px 0; color: var(--ink-2); }
.res-unlock b { color: var(--orange); }
.res-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 16px 0 8px; }
.res-parent { text-align: left; margin-top: 10px; font-size: 14px; color: var(--ink-2); border-top: 2px dashed #e1d8c4; padding-top: 8px; }
.res-parent summary { cursor: pointer; font-weight: 800; }

/* ------------------------------------------------ pengaturan */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(29,42,91,.6); padding: 16px; }
.modal-card { width: min(440px, 100%); background: var(--paper); border-radius: 24px; padding: 20px; box-shadow: 0 0 0 4px var(--ink); display: grid; gap: 12px; }
.modal-card h2 { font-family: var(--display); margin: 0; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; }
.row.col { flex-direction: column; align-items: stretch; }
.row input[type=checkbox] { width: 26px; height: 26px; accent-color: var(--green); }
.seg { display: flex; border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; }
.seg button { flex: 1; border: 0; background: #fff; padding: 8px 10px; font-weight: 800; border-right: 2px solid var(--ink); white-space: nowrap; }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--sun); }

/* ------------------------------------------------ kurikulum */
.kur { max-width: 1040px; margin: 0 auto; }
.kur-intro { font-size: 15px; color: var(--ink-2); margin: 6px 0 12px; }
.kur-filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.kur-filter select { border: 3px solid var(--ink); border-radius: 14px; padding: 8px 10px; font: 800 15px var(--body); background: #fff; color: var(--ink); }
.kur-head { font-size: 15px; margin-bottom: 10px; }
.kur-head b { font-family: var(--display); font-size: 20px; }
.kur-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.kur-card { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 0 0 3px var(--ink); display: grid; gap: 6px; align-content: start; }
.kur-card h3 { font-family: var(--display); font-weight: 600; font-size: 18px; margin: 2px 0 0; }
.kur-card ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.kur-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 2px 9px; background: #eef1fb; }
.pill.m { background: #ffe7d4; color: #a54a12; }
.pill.c { background: #dff5ea; color: #19764a; }
.kur-play { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.kur-play button { border: 0; border-radius: 12px; background: var(--green); color: #fff; font-weight: 800; padding: 6px 12px; box-shadow: 0 3px 0 var(--ink); }
.kur-soon { font-size: 13px; color: var(--ink-2); font-style: italic; }

/* ------------------------------------------------ visual novel */
.vn { position: absolute; inset: 0; overflow: hidden; container-type: size; font-size: 2.2cqh; user-select: none; }
.vn-bg { position: absolute; inset: 0; background: #2a63c9 center/cover; transition: background-image .4s; }
.vn-chars { position: absolute; inset: 0; pointer-events: none; }
.vn-char { position: absolute; bottom: 0; height: 88%; transition: transform .35s cubic-bezier(.3,1.4,.5,1), opacity .3s, filter .2s; opacity: 0; transform: translateY(12%); }
.vn-char img { height: 100%; width: auto; display: block; filter: drop-shadow(0 6px 0 rgba(29,42,91,.35)); }
.vn-char.in { opacity: 1; transform: translateY(0); }
.vn-char.side-left { left: 2%; }
.vn-char.side-right { right: 2%; }
.vn-char.side-mid { left: 50%; height: 46%; bottom: 26%; margin-left: -10%; }
.vn-char.dim { filter: brightness(.7) saturate(.8); }
.vn-char.talk img { animation: hop .32s ease-out 1; }
.vn-char.in img { transform-origin: 50% 100%; }
.vn-char:not(.talk) img { animation: breathe 3.6s ease-in-out infinite; }
.vn-prop { position: absolute; left: 50%; top: 8%; width: 34%; height: 56%; transform: translateX(-50%) scale(.6); opacity: 0; transition: transform .35s cubic-bezier(.3,1.5,.5,1), opacity .25s; display: grid; place-items: center; pointer-events: none; }
.vn-prop.in { transform: translateX(-50%) scale(1); opacity: 1; }
.vn-prop img, .vn-prop svg { max-width: 100%; max-height: 100%; filter: drop-shadow(0 8px 0 rgba(29,42,91,.3)); }
.vn-missing { font-family: var(--display); font-size: 4cqh; background: #fff; border-radius: 16px; padding: 10px 16px; box-shadow: 0 0 0 3px var(--ink); }
.vn-box { position: absolute; left: 4%; right: 4%; bottom: 3%; min-height: 24%; background: rgba(255,248,236,.97); border-radius: 2.4cqh; box-shadow: 0 0 0 .5cqh var(--ink), 0 1cqh 0 .5cqh var(--ink); padding: 3.2cqh 3cqh 2.6cqh; opacity: 0; transform: translateY(20%); transition: .25s; cursor: pointer; }
.vn-box.show { opacity: 1; transform: none; }
.vn-name { position: absolute; top: -2.6cqh; left: 3cqh; background: var(--orange); color: #fff; font-family: var(--display); font-weight: 600; font-size: 3.2cqh; padding: .4cqh 2cqh; border-radius: 999px; box-shadow: 0 0 0 .45cqh var(--ink); text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.vn-text { font-family: var(--body); font-weight: 800; font-size: 3.6cqh; line-height: 1.35; }
.vn-next { position: absolute; right: 2.4cqh; bottom: 1.2cqh; font-size: 2.6cqh; animation: bob 1s infinite; }
.vn-layer { position: absolute; inset: 0 0 30% 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2cqh; pointer-events: none; padding: 2cqh 4% 3cqh; }
.vn-layer > * { pointer-events: auto; }
.vn-choices { display: flex; gap: 2.4cqh; flex-wrap: wrap; justify-content: center; }
.vn-choice { border: 0; background: #fff; font-family: var(--display); font-weight: 600; font-size: 4.4cqh; padding: 1.6cqh 4cqh; border-radius: 2.4cqh; box-shadow: 0 0 0 .5cqh var(--ink), 0 1cqh 0 .5cqh var(--ink); animation: pop .3s both; min-width: 18cqh; }
.vn-choice:nth-child(2) { animation-delay: .07s } .vn-choice:nth-child(3) { animation-delay: .14s }
.vn-choice.right, .vn-card.right { background: var(--green); color: #fff; }
.vn-choice.wrong, .vn-card.wrong { background: var(--red); color: #fff; }
.vn-cards { display: flex; gap: 2.4cqh; flex-wrap: wrap; justify-content: center; }
.vn-card { border: 0; background: #fff; border-radius: 2.4cqh; padding: 1.4cqh; width: 24cqh; display: grid; gap: .8cqh; justify-items: center; box-shadow: 0 0 0 .5cqh var(--ink), 0 1cqh 0 .5cqh var(--ink); animation: pop .3s both; }
.vn-card .pic { width: 100%; aspect-ratio: 1.15; display: grid; place-items: center; overflow: hidden; }
.vn-card .pic img, .vn-card .pic svg { width: 100%; height: 100%; object-fit: contain; }
.vn-card span { font-family: var(--display); font-weight: 600; font-size: 3.2cqh; white-space: nowrap; }
.vn-cards.small .vn-card { width: 17cqh; padding: 1cqh; }
.vn-cards.small .vn-card span { font-size: 2.6cqh; }
.vn-cards .vn-card.word { width: auto; min-width: 16cqh; padding: 2cqh 3.4cqh; }
.vn-cards .vn-card.word span { font-size: 6cqh; }
.vn-card.picked { transform: translateY(-1.6cqh); box-shadow: 0 0 0 .6cqh var(--sun), 0 1.6cqh 0 .6cqh var(--ink); }
.vn-card.used { opacity: .35; }
.vn-slots { display: flex; gap: 1.6cqh; }
.vn-slot { min-width: 16cqh; height: 10cqh; border-radius: 1.6cqh; border: .5cqh dashed rgba(255,255,255,.9); background: rgba(29,42,91,.35); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 4cqh; color: #fff; padding: 0 1.6cqh; }
.vn-slot.filled { background: var(--sun); color: var(--ink); border: .5cqh solid var(--ink); animation: pop .25s; }
.vn-bins { display: flex; gap: 3cqh; }
.vn-bin { border: 0; width: 40cqh; min-height: 14cqh; border-radius: 2.4cqh; padding: 1.4cqh; display: grid; align-content: start; gap: 1cqh; box-shadow: 0 0 0 .5cqh var(--ink), 0 1cqh 0 .5cqh var(--ink); }
.vn-bin.b0 { background: #c8f2d8; } .vn-bin.b1 { background: #ffd9c2; }
.vn-bin b { font-family: var(--display); font-weight: 600; font-size: 3.4cqh; }
.vn-bin .got { display: flex; flex-wrap: wrap; gap: .8cqh; justify-content: center; }
.vn-bin .got i { width: 7cqh; height: 7cqh; display: grid; place-items: center; animation: pop .3s; }
.vn-bin .got img, .vn-bin .got svg { width: 100%; height: 100%; object-fit: contain; }
.vn-bin.nudge { animation: shake .3s; }
.vn-feedback { background: #fff; border-radius: 2.6cqh; padding: 2.4cqh 3cqh; max-width: 80cqh; display: grid; gap: 1.2cqh; justify-items: center; text-align: center; box-shadow: 0 0 0 .5cqh var(--ink), 0 1cqh 0 .5cqh var(--ink); animation: pop .3s; }
.vn-feedback b { font-family: var(--display); font-size: 5cqh; }
.vn-feedback.ok b { color: #1f9a5a; } .vn-feedback.no b { color: #d94a1e; }
.vn-feedback span { font-weight: 800; font-size: 3.4cqh; line-height: 1.35; }
.vn-feedback .btn { font-size: 3.6cqh; padding: 1.2cqh 3.6cqh; }

@media (prefers-reduced-motion: reduce) { .idle, .vn-char img { animation: none !important; } }
