/* The welcome page is a cold-start view; foregrounding a report never routes here. */
@media screen {
  #app.showing-welcome { padding-bottom:0; background:#101b23; }
  .welcome {
    position:relative; isolation:isolate; overflow:hidden;
    display:flex; flex-direction:column; align-items:center;
    min-height:100vh; min-height:100svh;
    padding:calc(24px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom));
    color:#eef4f7; text-align:center;
  }
  .welcome-backdrop { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; pointer-events:none; }
  .welcome::before {
    content:""; position:absolute; z-index:-1; inset:0; pointer-events:none;
    background:linear-gradient(180deg,#07101918 0%,#07101924 25%,#06101b44 48%,#06101b38 65%,#06101b12 82%,#06101b55 100%);
  }
  .welcome-identity { width:100%; margin-top:clamp(120px,25svh,260px); }
  .welcome-shield { display:block; width:clamp(108px,17svh,165px); height:auto; margin:0 auto 17px; filter:drop-shadow(0 0 3px #ddfaff88) drop-shadow(0 0 17px #b0eaff38) drop-shadow(0 10px 14px #030a14aa); }
  .welcome h1 { font-size:clamp(32px,8.6vw,44px); font-weight:650; letter-spacing:.13em; line-height:1.15; margin:0 0 14px; padding-left:.13em; text-shadow:0 2px 12px #0008; }
  .welcome-name { font-size:clamp(26px,7.5vw,36px); font-weight:400; letter-spacing:-.02em; line-height:1.2; margin:0; text-shadow:0 2px 12px #0009; }
  .welcome-slogan { color:#d1dde4; font-size:clamp(14px,3.6vw,17px); line-height:1.6; letter-spacing:.035em; margin:18px 0 0; text-shadow:0 1px 7px #000; }
  .welcome-entry { width:100%; max-width:460px; margin-top:auto; padding-top:clamp(76px,15svh,156px); }
  .platinum-button {
    position:relative; display:flex; align-items:center; justify-content:space-between; gap:14px;
    width:100%; min-height:72px; padding:19px 22px; border-radius:20px;
    border:1.5px solid #c3e3eb; border-top-color:#f3ffff; border-bottom-color:#7ae6eb;
    color:#f5fafc; background:linear-gradient(160deg,#c0cdd36b 0%,#61747c7d 13%,#2c424dcf 40%,#172b35e8 74%,#244f5ccc 100%);
    box-shadow:inset 0 2px 3px #f3ffffaa,inset 0 -2px 3px #72e8ed8c,inset 0 0 14px #b3dce31f,0 4px 0 #071721,0 10px 28px #0007,0 0 18px #66deee26;
    font:inherit; font-size:clamp(15px,4vw,19px); font-weight:550; text-align:left;
    text-shadow:0 1px 3px #07121b; cursor:pointer; -webkit-tap-highlight-color:transparent;
    transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
  }
  .platinum-button svg { width:26px; height:26px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
  .platinum-button:active { transform:translateY(3px); box-shadow:inset 0 2px 8px #0005,inset 0 -1px 3px #72e8ed8c,0 1px 0 #071721; }
  .brand-link { margin-left:auto; display:flex; align-items:center; justify-content:center; min-width:48px; min-height:48px; padding:2px; border:0; background:transparent; color:inherit; cursor:pointer; border-radius:12px; }
  .brand-link .brand { margin:0; }
  @media (hover:hover) { .platinum-button:hover { filter:brightness(1.1); } }
  @media (max-height:700px) {
    .welcome { padding-top:calc(16px + env(safe-area-inset-top)); padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
    .welcome-identity { margin-top:clamp(70px,19svh,132px); }
    .welcome-shield { width:104px; margin-bottom:14px; }
    .welcome h1 { font-size:32px; margin-bottom:10px; }
    .welcome-name { font-size:27px; }
    .welcome-slogan { margin-top:14px; }
    .welcome-entry { padding-top:64px; }
    .platinum-button { min-height:64px; padding:17px 18px; }
  }
  @media (orientation:landscape) and (max-height:550px) {
    .welcome { min-height:540px; }
    .welcome-identity { margin-top:48px; }
    .welcome-backdrop { object-fit:fill; }
  }
  @media (prefers-reduced-motion:reduce) { .platinum-button { transition:none; } .platinum-button:active { transform:none; } }
}
