html:has(.sphinx-body), body.sphinx-body { height: auto; min-height: 100%; max-height: none; overflow: auto; }
.sphinx-body { color: #533b29; background: #f4dfad; font-family: 'Nunito', sans-serif; }
.sphinx-body #root { height: auto; overflow: visible; min-height: 100dvh; }
.sphinx-app { min-height: 100dvh; padding: 28px 24px; max-width: 1100px; margin: auto; text-align: center; background: radial-gradient(ellipse at top, #fff2cd, transparent 65%); }
.sphinx-app button, .sphinx-app a { font: inherit; font-weight: 800; cursor: pointer; }
.sphinx-app h1 { font-family: 'Fredoka', sans-serif; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.08; margin: 28px 0 14px; }
.sphinx-app h1 em { color: #146779; font-style: normal; }
.sphinx-app p { line-height: 1.6; }
.sphinx-kicker { letter-spacing: .16em; text-transform: uppercase; font-size: .9rem; font-weight: 900; color: #92662f; }
.sphinx-back { display: inline-block; background: #fff5db; color: #654224; border: 2px solid #d8b97b; padding: 10px 18px; min-height: 44px; border-radius: 14px; text-decoration: none; }
.sphinx-primary { display: inline-block; background: #17697b; color: #fff8e5; border: 2px solid #104b59; border-bottom-width: 5px; border-radius: 16px; padding: 14px 24px; min-height: 48px; }
.sphinx-primary:hover { background: #207e91; }
.sphinx-app button:focus-visible, .sphinx-app a:focus-visible { outline: 3px solid #17697b; outline-offset: 4px; }
.sphinx-cover > .sphinx-back { display: table; }
.sphinx-cover-art { max-width: 380px; margin: 0 auto; }
.sphinx-cover small { display: block; margin: 20px; }
.sphinx-cover > p:not(.sphinx-kicker) { font-size: 1.3rem; margin-bottom: 24px; }
#sphinx-map { margin-top: 28px !important; }
.sphinx-playing header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 25px; font-weight: 800; }
.sphinx-scene { position: relative; height: clamp(180px, 29vh, 280px); margin-top: 12px; overflow: hidden; border-radius: 28px 28px 12px 12px; background: linear-gradient(#bfe2df, #f9e5b7 70%); border-bottom: 8px solid #dab77a; }
.sphinx-sun { position: absolute; right: 20%; top: 8%; width: 64px; height: 64px; background: #ffe5a0; border-radius: 50%; box-shadow: 0 0 45px #ffe5a0; }
.sphinx-pyramid { position: absolute; bottom: 0; width: 28%; height: 65%; background: linear-gradient(120deg, #dfbd81 50%, #c49b62 50%); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .65; }
.pyramid-one { left: 23%; }.pyramid-two { left: 4%; height: 43%; width: 23%; }
.sphinx-person { position: absolute; left: 12%; bottom: 0; height: 57%; width: 14%; z-index: 3; transform-origin: center; }
.sphinx-person svg { display: none; }
.sphinx-person img { height: 100%; width: 100%; object-fit: contain; display: block; }
.sphinx-guardian { position: absolute; bottom: -4%; right: 2%; width: 53%; height: 100%; z-index: 2; }
.sphinx-guardian svg { height: 100%; width: 100%; }
.sphinx-blockie { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.sphinx-blockie img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sphinx-cover-art .sphinx-blockie { height: min(35vh, 265px); aspect-ratio: auto; }
.sphinx-guardian .sphinx-blockie { height: 100%; }
.sphinx-mouth-anchor { position: absolute; left: 49%; top: 43%; width: 3%; height: 3%; pointer-events: none; }
.sucking .sphinx-person { animation: sphinx-suction 1.5s ease-in forwards; }
@keyframes sphinx-suction { 0%,12% { transform: translate(0,0) rotate(0) scale(1); opacity: 1; } 45% { transform: translate(calc(var(--suck-x)*.25), -25px) rotate(-15deg) scale(.85); } 90%,100% { transform: translate(var(--suck-x), var(--suck-y)) rotate(540deg) scale(.02); opacity: 0; } }
.sphinx-wind { display: none; position: absolute; left: 28%; right: 34%; top: 40%; z-index: 4; }
.sucking .sphinx-wind { display: block; }
.sphinx-wind i { display: block; height: 18px; border-top: 3px solid #fff9df; border-radius: 50%; animation: sphinx-wind .5s linear infinite; }
.sphinx-wind i:nth-child(2) { animation-delay: .15s; }.sphinx-wind i:nth-child(3) { animation-delay: .3s; }
@keyframes sphinx-wind { from { transform: translateX(-25px) scaleX(.5); opacity: 0; } to { transform: translateX(25px) scaleX(1); opacity: 1; } }
.sphinx-celebration { position: absolute; top: 7%; right: 9%; z-index: 5; font-size: 2.4rem; color: #a9650c; animation: sphinx-joy .6s ease-in-out alternate infinite; }
@keyframes sphinx-joy { to { transform: translateY(-8px); } }
.sphinx-papyrus { background: #fff8e7; border: 2px solid #d9b778; border-radius: 22px; padding: 22px 28px; margin: 12px auto 0; box-shadow: 0 8px 0 #ac7d3820; }
.sphinx-papyrus h2 { font-size: clamp(1.25rem, 2.5vw, 1.85rem); font-weight: 800; line-height: 1.45; margin: 12px auto 22px; max-width: 800px; }
.sphinx-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sphinx-options button { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 16px 12px; background: #fff; border: 2px solid #d4b77c; border-bottom-width: 5px; border-radius: 15px; color: #533b29; min-height: 65px; }
.sphinx-options button span { display: inline-grid; place-items: center; border-radius: 50%; min-width: 27px; height: 27px; background: #f5e6c5; }
.sphinx-options button:disabled { cursor: default; }
.sphinx-options button.wrong { opacity: .45; background: #f9d4c4; border-color: #bf7c67; }
.sphinx-options button.correct { background: #d4edca; border-color: #6b994e; }
.sphinx-message { min-height: 26px; margin: 16px 0 4px; }
.sphinx-papyrus > .sphinx-primary { margin-top: 14px; }
.sphinx-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.sphinx-stars { font-size: 3rem; }
@media(max-width:600px) { .sphinx-app { padding: 18px 12px; } .sphinx-playing header { padding-top: 38px; font-size: .9rem; } .sphinx-papyrus { padding: 18px 12px; } .sphinx-options { grid-template-columns: 1fr; gap: 9px; } .sphinx-options button { min-height: 49px; padding: 10px; } .sphinx-papyrus h2 { margin-bottom: 15px; } }
@media(prefers-reduced-motion:reduce) { .sucking .sphinx-person, .sphinx-wind i, .sphinx-celebration { animation: none; } .sucking .sphinx-person { opacity: .2; } }
