.vm{margin:2rem 0;padding:1.25rem;border:1px solid #d7e1ed;border-radius:16px;background:#fff;color:#20304a}.vm *{box-sizing:border-box}.vm-tabs,.vm-controls{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.vm button,.vm select{font:inherit;cursor:pointer;border:1px solid #c3d4e8;border-radius:9px;padding:9px 12px;background:#f2f7ff;color:#20304a}.vm button:hover,.vm button:focus-visible{background:#dcecff}.vm [aria-pressed=true]{background:#245e9d;color:#fff}.vm-panel{min-height:120px}.vm-puzzle{display:grid;grid-template-columns:repeat(var(--vm-size),1fr);width:min(100%,500px);aspect-ratio:1;margin:12px auto;border:3px solid #557ba4;overflow:hidden;border-radius:8px}.vm .vm-tile{display:block;min-width:0;min-height:0;width:100%;height:100%;border:1px solid #fff;border-radius:0;padding:0;background-repeat:no-repeat}.vm .vm-selected{outline:4px solid #f5aa28;outline-offset:-4px}.vm-hint{max-width:200px;height:auto;display:block;margin:12px auto}.vm-message{font-weight:600}.vm-order{display:grid;gap:8px}.vm-order-row{display:flex;gap:6px;align-items:center;padding:8px;border:1px solid #d7e1ed;border-radius:8px}.vm-order-row span{flex:1}@media(max-width:550px){.vm{padding:12px}.vm-tabs button{flex:1 1 42%}.vm-order-row{font-size:14px}}

.vm-games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin:20px 0}.vm-games-card{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid #d7e1ed;border-radius:16px;background:#f5f9ff;text-decoration:none!important;color:#20304a!important;box-shadow:0 2px 8px #0000000a}.vm-games-card:hover,.vm-games-card:focus-visible{background:#e9f2ff;box-shadow:0 4px 18px #00000014}.vm-games-card strong{font-size:1.2rem}.vm-games-emoji{font-size:2.5rem}.vm-game-poem{font-weight:600}.vm-next-wrap{text-align:center;margin:18px auto}.vm-next-game{display:inline-block;padding:12px 22px;background:#245e9d;color:white!important;border-radius:10px;text-decoration:none!important;font-weight:700}.vm-next-game:hover{background:#174676}

/* Standalone games landing page: theme-independent card layout. */
.vm-games-hub{max-width:1050px;margin:20px auto 40px;font-family:inherit}
.vm-games-hub .vm-games-intro{text-align:center;background:linear-gradient(125deg,#eaf6ff,#fff1e4 60%,#f6eaff);border-radius:24px;padding:28px 18px;margin-bottom:24px}
.vm-games-hub .vm-games-intro h2{font-size:clamp(1.6rem,3vw,2.3rem);color:#29558b;margin:6px 0 12px;line-height:1.25}
.vm-games-hub .vm-games-intro p{font-size:1.05rem;margin:0;color:#46546a}
.vm-games-hub .vm-games-stars{font-size:1.6rem}
.vm-games-hub .vm-games-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch;margin:0!important}
.vm-games-hub .vm-games-card{display:flex!important;flex-direction:column!important;gap:0!important;overflow:hidden;min-width:0;padding:0!important;background:#fff!important;border:1px solid #e1e6f0!important;border-radius:20px!important;box-shadow:0 5px 18px #23436a17!important;text-decoration:none!important;color:#253b58!important;transition:transform .2s,box-shadow .2s}
.vm-games-hub .vm-games-card:hover,.vm-games-hub .vm-games-card:focus-visible{transform:translateY(-4px);box-shadow:0 12px 28px #23436a2b!important}
.vm-games-hub .vm-games-art{display:block!important;width:100%;aspect-ratio:4/3;overflow:hidden;background:#e6f5fc}
.vm-games-hub .vm-games-art img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;margin:0!important;border:0!important}
.vm-games-hub .vm-games-body{display:flex!important;flex-direction:column!important;gap:12px;padding:18px!important;flex:1}
.vm-games-hub .vm-games-body strong{display:block;font-size:1.2rem!important;line-height:1.35;color:#28568c}
.vm-games-hub .vm-games-desc{display:block;font-size:.95rem;line-height:1.5;flex:1}
.vm-games-hub .vm-games-cta{display:block!important;text-align:center;padding:12px 10px;border-radius:12px;background:#2868ae;color:#fff!important;font-weight:700;font-size:.95rem}
.vm-games-hub .vm-games-card:nth-child(2) .vm-games-cta{background:#9b4db1}
.vm-games-hub .vm-games-card:nth-child(3) .vm-games-cta{background:#dc6b36}
@media(max-width:760px){.vm-games-hub .vm-games-grid{grid-template-columns:1fr!important;max-width:430px;margin:auto!important}.vm-games-hub .vm-games-art{aspect-ratio:16/9}.vm-games-hub .vm-games-intro{padding:22px 12px}}
@media(prefers-reduced-motion:reduce){.vm-games-hub .vm-games-card{transition:none}}
