* { box-sizing: border-box; }
body { margin: 0; color: #e8f8ff; background: #07366b; font: 16px/1.5 system-ui, sans-serif; }
body.commercial-catalog { min-height: 100dvh; overflow: auto; background: #244b2d url("/assets/v2-garden-bg.png") center / cover fixed; }
button, input, a { font: inherit; }
button { color: inherit; cursor: pointer; border: 1px solid #79bee3; border-radius: 10px; padding: .5em .8em; background: #08548d; }
a { color: #d4f5ff; }
header, nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; }
#catalog { width: min(94%, 720px); margin: 24px auto; color: #173b1d; }
#catalog-code { margin-top: 18px; background: #f6e7ae; border-color: #173b1d; color: #173b1d; }
body.commercial-catalog > header { background: #153c25e8; }
body.commercial-learning > header,
body.commercial-learning #catalog { display: none; }
body.commercial-learning { background: #eaf5fb; }
#learning > nav { height: 49px; padding: 2px 12px; font-size: 17px; color: #173b5a; background: #eaf5fb; border-bottom: 1px solid #d5e7f1; }
#learning > nav a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: inherit; font-weight: 750; text-decoration: none; }
#learning > nav a[hidden] { display: none; }
#learning > nav a span { font-size: 1.25em; line-height: 1; }
#learning > nav button { min-height: 44px; padding: 4px 12px; color: inherit; font-weight: 750; background: #f7fcff; border-color: #bcd7e7; }
#learning iframe { display: block; width: 100%; height: calc(100dvh - 49px); min-height: 280px; border: 0; }
#learning.game-only > nav { display: none; }
#learning.game-only iframe { position: fixed; inset: 0; width: 100%; height: 100%; min-height: 0; }
#learning iframe[hidden] { display: none; }
dialog { width: min(92%, 420px); border: 3px solid #a6eaff; border-radius: 26px; background: linear-gradient(#0775be, #044991); color: #e1f8ff; padding: 22px; }
dialog::backdrop { background: #001e4ecc; }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-head h2 { margin: 0; color: #ffe45b; font-size: 25px; }
#panel-body > button { margin: 4px 8px 6px 0; }
form { display: grid; gap: 10px; margin: 12px 0; }
label { display: grid; gap: 3px; }
input { width: 100%; padding: 10px; border: 2px solid #9ae8ff; border-radius: 12px; color: #07366b; background: white; }
#account button, #have-code, #owner-login { background: #ffe45b; color: #07366b; border-color: #ffe45b; font-weight: 800; }
#message { min-height: 1.5em; margin: 4px 0 0; }
.contact-qr { display: block; width: min(220px, 85%); margin: 8px auto; }
@media (max-width: 400px) { nav { font-size: 14px; } }
