/* The player label belongs to the artwork; there is no separate profile card. */
#landingView .pf-hero {--landing-profile-edge:clamp(14px,2.4vw,36px);}
#landingView .pf-hero #landingProfile {
 display:grid;
 position:absolute;
 isolation:isolate;
 z-index:1;
 inset:auto var(--landing-profile-edge) var(--landing-profile-edge) auto;
 inline-size:min(36%,300px);
 min-inline-size:0;
 grid-template-columns:minmax(0,1fr) max-content;
 grid-template-areas:"label label" "nickname save" "help help";
 gap:6px 8px;
 align-items:center;
 justify-self:end;
 margin:0;
 padding:0;
 background:none;
 border:0;
 border-radius:0;
 box-shadow:none;
 backdrop-filter:none;
}
#landingView .pf-hero #landingProfile::before {
 content:"";
 position:absolute;
 z-index:-1;
 pointer-events:none;
 inset:-22px -26px -18px -24px;
 background:radial-gradient(ellipse at 68% 63%,#17110fd4 10%,#17110f68 54%,transparent 80%);
}
#landingView #landingProfile label {
 grid-area:label;
 color:#f7ecdf;
 font-size:clamp(.79rem,1.3vw,.93rem);
 text-shadow:0 1px 3px #100a07;
}
#landingView #landingProfile #landingNickname {
 grid-area:nickname;
 min-inline-size:0;
 min-block-size:44px;
 padding:8px 10px;
 color:#fff7e9;
 background:#251b17e8;
 border-color:#a48872;
}
#landingView #landingProfile #landingNickname::placeholder {color:#cdb6a4;}
#landingView #landingProfile .pf-profile-actions {display:contents;}
#landingView #landingProfile #saveLandingName {
 grid-area:save;
 min-block-size:44px;
 padding-inline:clamp(8px,1vw,13px);
}
#landingView #landingProfile #saveLandingName [data-wordmark] {
 display:block;
 color:inherit;
 font:700 clamp(.76rem,1.3vw,.87rem)/1.2 var(--menu-type,system-ui,sans-serif);
 letter-spacing:0;
}
#landingView #landingProfile #saveLandingName [data-wordmark]::before,
#landingView #landingProfile #saveLandingName [data-wordmark]::after {content:none;}
#landingView #landingProfile #saveLandingName .word-copy {opacity:1;}
#landingView #landingProfile :is(#landingProfileHint,#landingNameStatus) {
 grid-area:help;
 min-inline-size:0;
 color:#f3dfce;
 font-size:.75rem;
 line-height:1.35;
 text-shadow:0 1px 3px #100a07;
}
#landingView #landingProfile #landingNameStatus {color:#ffdcbb;}
#landingView #landingProfile:has(#landingNameStatus:not(:empty)) #landingProfileHint {opacity:0;}
@media (max-width:570px) {
 #landingView .pf-hero {--profile-art-overlap:clamp(28px,calc(16vw - 11px),81px);}
 #landingView .pf-hero #landingTitle picture {
  mask-image:linear-gradient(#000 calc(100% - var(--profile-art-overlap)),transparent);
 }
 #landingView .pf-hero #landingProfile {
  position:relative;
  inset:auto;
  inline-size:min(calc(100% - 2 * var(--landing-profile-edge)),268px);
  margin:calc(-1 * var(--profile-art-overlap)) var(--landing-profile-edge) var(--landing-profile-edge) auto;
 }
}
/* With the profile in the hero, Bridge has no unused neighboring column. */
#landingView .arcade-essentials {grid-template-columns:minmax(0,1fr);}
#landingBridge[data-state="connected"] .arcade-bridge-led {
 background:#8de795;
 box-shadow:0 0 10px #8de79540;
}
#landingBridge[data-state="connected"] [data-bridge-status] {
 color:#8de795;
 font-weight:700;
}
