/* A quiet lobby header and a playful, focused adventure menu. */
#app>.lobby-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;min-height:86px}
.lobby-header .brand{margin:0;min-width:0}.lobby-header .brand img{max-width:200px;width:min(48vw,200px);height:auto}
#header-sound-slot{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px}
.voco-audio-toggle.is-header-control,body:not(.in-quiz) .voco-audio-toggle.is-header-control{position:static;inset:auto;display:block;flex:0 0 48px;margin:0}
.adventure-dialog.adventure-hub{width:min(440px,calc(100% - 28px));max-height:calc(100svh - 32px);padding:26px 24px 24px;border-radius:30px;background:radial-gradient(ellipse at 50% 29%,#dff8ed 0,transparent 50%),#fffdf4;overflow-y:auto}
.adventure-hub .flow-close{position:absolute;top:15px;right:15px;width:36px;height:36px;min-width:36px;min-height:36px;border:0;background:#e7f3e9;border-radius:50%;font-size:25px;color:#285e4d;padding:0}
.adventure-hub-heading{text-align:center;padding:5px 26px 0}.adventure-hub-heading h1{font-size:26px;letter-spacing:1px;margin:0 0 7px;color:#245c48;line-height:1.4}
.adventure-hub-heading p{font-size:13px;color:#648675;margin:0;line-height:1.6}
.adventure-hub-mascot{position:relative;display:grid;justify-items:center;margin:14px auto 19px;isolation:isolate}
.adventure-hub-mascot:before{content:'';position:absolute;width:175px;height:140px;top:5px;border-radius:50%;background:radial-gradient(ellipse,#d1f4db 0,#e9f8d9 48%,transparent 72%);z-index:-1}
.adventure-hub-mascot img{width:142px;height:142px;object-fit:contain;filter:drop-shadow(0 7px 7px #176b521a)}
.adventure-hub-mascot>span{font-size:12px;color:#36775c;background:#e3f4de;padding:5px 13px;border-radius:20px;margin-top:3px;font-weight:700}
.adventure-hub-deck{text-align:center;font-size:12px!important;color:#63806d;margin:-6px 0 16px!important;overflow-wrap:anywhere}
.adventure-hub-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.adventure-hub-nav>button,.adventure-hub-nav>a{min-width:0;display:flex;align-items:center;text-decoration:none;border:1px solid #d5e8d9;border-radius:20px;padding:17px 13px;color:#28634c;box-shadow:0 4px 0 #d8e9d9;font:inherit}
.adventure-hub-nav strong{font-size:15px;font-weight:800;line-height:1.5;display:block}
.adventure-hub-nav .adventure-hub-map{grid-column:1/-1;background:#dcf6e8;gap:13px;text-align:left;padding:16px 18px}
.adventure-hub-map small{display:block;font-size:12px;margin-top:4px;color:#588c70}
.hub-arrow{margin-left:auto;font-size:23px}.hub-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#ffffff99;color:#398665}
.hub-icon svg{width:25px;height:25px}.adventure-hub-nav .adventure-hub-words,.adventure-hub-nav .adventure-hub-account{flex-direction:column;justify-content:center;gap:10px;text-align:center;min-height:112px}
.adventure-hub-nav .adventure-hub-words{background:#fff2cd;border-color:#efdfb2;box-shadow:0 4px 0 #eae0bb;color:#846b30}.adventure-hub-words .hub-icon{color:#ad8735}
.adventure-hub-nav .adventure-hub-account{background:#e4f5fa;border-color:#c9e3e9;box-shadow:0 4px 0 #d1e6ea;color:#38798a}.adventure-hub-account .hub-icon{color:#4e99ad}
.hub-count{font-size:11px;margin-left:5px;background:#fff8;padding:2px 6px;border-radius:10px}
.adventure-hub-nav>a:hover{filter:brightness(1.02);transform:translateY(-2px)}.adventure-hub-nav>a:focus-visible{outline:3px solid #de9413;outline-offset:4px}
@media(max-width:760px){#app>.lobby-header{padding:14px 20px;min-height:78px;grid-template-columns:none;grid-template-areas:none}.adventure-hub-nav strong{font-size:14px}}
@media(max-height:650px){.adventure-dialog.adventure-hub{padding:18px 20px}.adventure-hub-mascot{margin:6px auto 12px}.adventure-hub-mascot img{width:105px;height:105px}.adventure-hub-mascot:before{height:110px}.adventure-hub-nav>button,.adventure-hub-nav>a{padding:12px}.adventure-hub-nav .adventure-hub-words,.adventure-hub-nav .adventure-hub-account{min-height:94px}}

/* Illustrated popup only. The existing translucent blurred dialog backdrop is retained. */
.flow-dialog.adventure-dialog.adventure-hub.adventure-illustrated{width:min(430px,calc(100vw - 18px),calc(66.6667svh - 16px));height:min(645px,calc(150vw - 27px),calc(100svh - 24px));max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.adventure-game-popup{position:relative;width:100%;aspect-ratio:2/3;isolation:isolate}
.adventure-popup-skin{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.adventure-accessible-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.adventure-live-mascot{position:absolute;left:28%;top:19%;width:44%;height:21%;display:grid;place-items:center;pointer-events:none}
.adventure-live-mascot img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 5px #087e7430)}
.adventure-image-nav{position:absolute;inset:0;display:block;pointer-events:none}
.adventure-image-nav>button,.adventure-image-nav>a{position:absolute;left:9%;width:82%;height:15.2%;padding:0 3% 0 36%;display:flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:transparent;text-decoration:none;pointer-events:auto;cursor:pointer;box-shadow:none;font:inherit;color:#fffdf0;touch-action:manipulation}
.adventure-image-nav>button:hover,.adventure-image-nav>a:hover{transform:none;background:#ffffff12}
.adventure-image-nav>button:active,.adventure-image-nav>a:active{transform:translateY(2px);background:#ffffff20}
.adventure-image-nav strong{font-size:clamp(17px,6vw,28px);line-height:1.2;font-weight:900;white-space:nowrap;letter-spacing:.02em;text-shadow:0 2px 0 #225e30,1px 0 0 #225e30,-1px 0 0 #225e30,0 -1px 0 #225e30,0 4px 5px #004a3344}
.adventure-image-nav .adventure-image-map{top:41.3%}.adventure-image-nav .adventure-image-words{top:58.1%}.adventure-image-nav .adventure-image-account{top:74.8%}
.adventure-image-words strong{text-shadow:0 2px 0 #a35407,1px 0 0 #a35407,-1px 0 0 #a35407,0 -1px 0 #a35407,0 4px 5px #6c3a1055}
.adventure-image-account strong{text-shadow:0 2px 0 #005696,1px 0 0 #005696,-1px 0 0 #005696,0 -1px 0 #005696,0 4px 5px #004a8255}
.adventure-illustrated .flow-close{position:absolute;z-index:3;left:81.5%;top:21.6%;right:auto;width:11.7%;height:8.6%;min-width:0;min-height:0;padding:0;font-size:0;color:transparent;background:transparent;border:0;border-radius:50%;box-shadow:none}
.adventure-illustrated .flow-close:hover{transform:none;background:#ffffff16}
.adventure-image-nav>a:focus-visible{outline:3px solid #fff5a4;outline-offset:0}
