html, body, #root { margin: 0; min-height: 100%; }
body { background: var(--ds-page); }
.yr-host { position: relative; width: 100%; max-width: 960px; margin: 12px auto; height: min(150vw, 720px); background: #8fd3ff; border-radius: 16px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
@media (min-width: 768px) { .yr-host { height: 600px; } }
.yr-ui { position: absolute; inset: 0; pointer-events: none; font-family: "Trebuchet MS", "Comic Sans MS", system-ui, sans-serif; color: #fff; }
.yr-ui button { pointer-events: auto; font: inherit; cursor: pointer; }
.yr-hud { position: absolute; inset: 0; }
.yr-hud[hidden], .yr-panel[hidden] { display: none; }
.yr-score { position: absolute; top: 10px; left: 14px; font-size: 30px; font-weight: 800; text-shadow: 0 2px 0 #0006, 0 0 8px #0005; }
.yr-score span { font-size: 16px; margin-left: 3px; }
.yr-coins { position: absolute; top: 48px; left: 14px; font-size: 20px; font-weight: 800; color: #ffd84a; text-shadow: 0 2px 0 #0007; }
.yr-pw { position: absolute; top: 80px; left: 14px; font-size: 20px; font-weight: 800; text-shadow: 0 2px 0 #0007; }
.yr-btns { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.yr-btns button { width: 40px; height: 40px; border-radius: 12px; border: 0; background: #0006; color: #fff; font-size: 18px; }
.yr-toast { position: absolute; top: 22%; left: 0; right: 0; text-align: center; font-size: 28px; font-weight: 900; color: #fff; text-shadow: 0 3px 0 #b02020, 0 0 12px #0008; opacity: 0; transform: scale(0.8); transition: opacity .2s, transform .2s; }
.yr-toast.show { opacity: 1; transform: scale(1); }
.yr-panel { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px 22px; text-align: center; background: linear-gradient(transparent, #000a 35%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.yr-over { background: linear-gradient(transparent, #000c 25%); }
.yr-pausepanel { top: 0; background: #0008; justify-content: center; }
.yr-title { font-size: 38px; font-weight: 900; text-shadow: 0 4px 0 #b02020, 0 0 14px #0008; line-height: 1; }
.yr-sub { font-size: 16px; opacity: .95; }
.yr-btn { margin-top: 6px; border: 0; border-radius: 16px; padding: 14px 34px; font-size: 22px; font-weight: 900; color: #3a2400; background: linear-gradient(#ffe36a, #ffb800); box-shadow: 0 5px 0 #b27a00; }
.yr-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #b27a00; }
.yr-help { font-size: 13px; opacity: .9; line-height: 1.4; }
.yr-hs { font-size: 14px; font-weight: 800; color: #ffd84a; }
.yr-final { display: flex; gap: 18px; font-size: 16px; flex-wrap: wrap; justify-content: center; } .yr-final b { font-size: 22px; color: #ffd84a; display: block; text-align: center; }
.yr-fade { position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity .3s; }
.yr-host:fullscreen { max-width: none; width: 100vw; height: 100vh; border-radius: 0; margin: 0; }
.yr-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.yr-btn2 { background: linear-gradient(#e9eef5, #b9c4d4); box-shadow: 0 5px 0 #7d8aa0; color: #1b2a40; }
.yr-lvl { font-size: 14px; font-weight: 800; color: #9be08a; }
.yr-miss { font-size: 12px; line-height: 1.5; opacity: .95; }
.yr-use { background: linear-gradient(transparent, #000b 30%); }

.yr-sm { font-size: 15px; padding: 8px 18px; margin-top: 8px; }
.yr-t2 { font-size: 30px; }
.yr-chars { overflow-y: auto; justify-content: flex-start; padding-top: 18px; }
.yr-clist { display: flex; flex-direction: column; gap: 8px; width: min(92%, 420px); margin: 10px 0; }
.yr-char { text-align: left; padding: 10px 14px; border-radius: 12px; border: 2px solid #ffffff44; background: #00000066; color: #fff; font-family: inherit; cursor: pointer; display: flex; flex-direction: column; }
.yr-char b { font-size: 16px; } .yr-char span { font-size: 12px; opacity: .85; }
.yr-char.sel { border-color: #ffc43a; background: #3a2d0a99; } .yr-char.lock { opacity: .55; }

/* ---- GEVALD menu ---- */
.yr-menu { top: 0; background: radial-gradient(ellipse at 50% 60%, transparent 40%, #1a0a3a55 100%), linear-gradient(#0000 60%, #1a0a3acc); justify-content: flex-start; padding: 10px 14px 18px; gap: 0; }
.yr-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.yr-pill { background: linear-gradient(#3b2a78, #22164f); border: 3px solid #ffd84a; border-radius: 22px; padding: 4px 12px; font-weight: 900; font-size: 18px; box-shadow: 0 3px 0 #0006; display: flex; align-items: center; gap: 8px; color: #ffe27a; }
.yr-lvlpill b { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(#ff9d1f, #ff5a1f); color: #fff; display: grid; place-items: center; font-size: 17px; border: 2px solid #fff; }
.yr-xpbar { width: 78px; height: 11px; border-radius: 8px; background: #0007; overflow: hidden; border: 1px solid #fff5; } .yr-xpbar i { display: block; height: 100%; background: linear-gradient(#9cff6a, #38c21e); width: 0; }
.yr-logo { margin-top: 6px; display: flex; justify-content: center; font-family: Impact, "Arial Black", "Trebuchet MS", sans-serif; font-weight: 900; font-size: clamp(54px, 17vw, 96px); line-height: 1; animation: yrbob 2.4s ease-in-out infinite; }
.yr-logo span { display: inline-block; color: var(--c); transform: rotate(var(--r)) translateY(calc(var(--r) * -1.2)); -webkit-text-stroke: 5px #1c0f45; paint-order: stroke fill; text-shadow: 0 2px 0 #1c0f45, 0 4px 0 #1c0f45, 0 6px 0 #1c0f45, 0 8px 0 #1c0f45, 0 10px 0 #1c0f45, 0 14px 14px #0009; letter-spacing: -1px; margin: 0 -1px; }
.yr-logo .yr-bang { animation: yrpulse 1.2s ease-in-out infinite; }
@keyframes yrbob { 50% { transform: translateY(5px) rotate(-1deg); } }
@keyframes yrpulse { 50% { transform: rotate(var(--r)) scale(1.18); } }
.yr-spacer { flex: 1; }
.yr-play { pointer-events: auto; border: 4px solid #fff; border-radius: 44px; padding: 10px 56px 10px 40px; font-family: Impact, "Arial Black", sans-serif; font-size: 44px; letter-spacing: 2px; color: #fff; background: linear-gradient(#6fe84a, #1fae2a 55%, #168a1f); box-shadow: 0 8px 0 #0d5a14, 0 14px 20px #0008, inset 0 4px 0 #ffffff66; text-shadow: 0 3px 0 #0d5a14, 0 0 10px #0006; display: flex; align-items: center; gap: 14px; animation: yrbeat 1.1s ease-in-out infinite; }
.yr-play i { font-style: normal; font-size: 36px; background: #fff; color: #1fae2a; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; text-shadow: none; padding-left: 5px; box-sizing: border-box; }
.yr-play:active { transform: translateY(5px) scale(.98); box-shadow: 0 3px 0 #0d5a14; }
@keyframes yrbeat { 50% { transform: scale(1.06); } }
.yr-tiles { display: flex; gap: 10px; margin-top: 16px; }
.yr-tile { pointer-events: auto; width: 74px; border: 3px solid #fff; border-radius: 18px; padding: 8px 2px 6px; background: linear-gradient(#5b8cff, #2e55d6); box-shadow: 0 5px 0 #1a2f84, 0 8px 10px #0006; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 900; }
.yr-tile em { font-style: normal; font-size: 28px; line-height: 1; } .yr-tile span { font-size: 11px; text-shadow: 0 1px 0 #0008; }
.yr-tile:active { transform: translateY(3px); box-shadow: 0 2px 0 #1a2f84; } .yr-tile.soon { background: linear-gradient(#8a8fa8, #5a5e75); box-shadow: 0 5px 0 #34364a; opacity: .85; }
.yr-menu .yr-hs { margin-top: 10px; }

.yr-play { font-family: "Arial Black", "Trebuchet MS", sans-serif; font-style: italic; font-size: 40px; -webkit-text-stroke: 4px #0d5a14; paint-order: stroke fill; }
.yr-logo { font-family: "Arial Black", "Trebuchet MS", sans-serif; font-size: clamp(50px, 15.5vw, 88px); }
.yr-tile em svg{width:30px;height:30px;display:block}
/* single-color logo */
.yr-logo { letter-spacing: 0.04em; }
.yr-logo span { color: #f6c744 !important; transform: none !important; -webkit-text-stroke: 4px #1c0f45; text-shadow: 0 3px 0 #8a5a12, 0 5px 0 #1c0f45, 0 8px 10px rgba(0,0,0,.45) !important; }

.yr-cbar{display:block;height:7px;border-radius:5px;background:rgba(255,255,255,.25);margin-top:5px;overflow:hidden}.yr-cbar u{display:block;height:100%;background:linear-gradient(90deg,#ffd84a,#ff9d1a);border-radius:5px}
