/* Orthon-only override: the name lives on the 3D arch, not in a panel. */
#portal-labels button.portal-label[data-astral="true"]{
  width:var(--crown-width,145px);height:74px;max-width:300px;min-width:100px;min-height:44px;
  padding:0;border:0;border-radius:50%;background:none;box-shadow:none;backdrop-filter:none;
  transform:translate(-50%,-50%);overflow:visible;cursor:pointer;
}
#portal-labels button.portal-label[data-astral="true"]:hover{background:none;border:0;box-shadow:none}
#portal-labels button.portal-label[data-astral="true"]:focus-visible{outline:1px solid #c8eaff;outline-offset:7px;background:none;box-shadow:0 0 22px #9d7bff4d}
#portal-labels [data-astral="true"] .portal-number,#portal-labels [data-astral="true"] strong{display:none}
#portal-labels [data-astral="true"] .portal-function{
  position:absolute;top:calc(50% + 21px);left:50%;transform:translateX(-50%);margin:0;
  width:max-content;max-width:250px;white-space:nowrap;font-size:9px;line-height:1.4;letter-spacing:.25px;
  color:#e0eaff;text-shadow:0 1px 4px #060b26,0 0 10px #576fe8;opacity:0;transition:opacity .22s;
}
#portal-labels [data-astral="true"]:is(:hover,:focus-visible,.is-awake) .portal-function{display:block;opacity:1}
@media(max-width:600px){
  #portal-labels button.portal-label[data-astral="true"]{height:58px;max-width:160px;min-width:90px;min-height:44px}
  #portal-labels [data-astral="true"] .portal-function{font-size:8px;top:calc(50% + 20px)}
}

/* Keep the welcome copy clear of the first raised portal title. */
@media(min-width:901px){.intro{top:110px;max-width:230px}.intro h1{font-size:38px}.intro .lead{max-width:220px}}
@media(min-width:601px){body:not(.inside-world) .tools{top:80px;bottom:auto}}
@media(min-width:601px) and (max-width:1400px) and (max-height:800px){.explore{font-size:9px;padding:9px 10px;gap:8px}}
@media(prefers-reduced-motion:reduce){#portal-labels [data-astral="true"] .portal-function{transition:none}}

#portal-labels button.join-label{width:var(--join-width,300px);height:var(--join-height,65px);max-width:80vw;min-height:44px;transform:translate(-50%,-50%);border:0;border-radius:50%;padding:0;background:none;backdrop-filter:none;box-shadow:none;cursor:pointer}
#portal-labels button.join-label:hover{background:none;border:0;box-shadow:none}
#portal-labels button.join-label:focus-visible{outline:1px solid #f7dcaf;outline-offset:4px;box-shadow:0 0 20px #fbb5df35;background:none}
#portal-labels .join-label strong,#portal-labels .join-label img{display:none}

/* Raised, crisp lettering: no rectangle, and a constant readable cap height. */
#portal-labels button.portal-label[data-astral="true"]{width:clamp(158px,13.1vw,224px);height:86px;max-width:224px;min-width:158px}
#portal-labels [data-astral="true"] .crown-art{position:absolute;left:0;top:0;width:100%;height:65px;overflow:visible;filter:drop-shadow(0 1px 2px #020819) drop-shadow(0 0 5px #7e9dee66)}
#portal-labels [data-astral="true"] .crown-descriptor{display:block;position:absolute;top:57px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#e9e8fb;font:500 10px/1.4 Manrope,sans-serif;letter-spacing:.5px;text-shadow:0 1px 4px #020615,0 0 7px #536ba3}
#portal-labels [data-astral="true"] .portal-function{top:78px;font-size:10px;max-width:240px;white-space:normal;text-align:center;line-height:1.5;letter-spacing:0;pointer-events:none}
#portal-labels [data-astral="true"]:hover .crown-art,#portal-labels [data-astral="true"]:focus-visible .crown-art{filter:drop-shadow(0 1px 2px #020819) drop-shadow(0 0 8px #97c8ff)}
@media(max-width:600px){
 #portal-labels button.portal-label[data-astral="true"]{width:144px;min-width:144px;max-width:144px;height:76px}
 #portal-labels [data-astral="true"] .crown-art{height:57px}
 #portal-labels [data-astral="true"] .crown-descriptor{font-size:9px;top:50px;letter-spacing:.15px}
 #portal-labels [data-astral="true"] .portal-function{top:68px;font-size:9px;max-width:175px}
}
