/* UbayBian v0.5.9 · Final Profile Polish
   Small visual-only refinements for the cosmic profile chooser.
   No behavior changes; Home v0.5.3 remains the locked baseline. */

/* Keep the selector premium and calm: no placeholder reward chip without real profile data. */
body[data-profile=""]:not(.login-gateway) .profile-card::after{
  content:none !important;
  display:none !important;
}

/* Subject icons should read as useful curriculum cues, not tiny decoration. */
body[data-profile=""]:not(.login-gateway) .profile-card::before{
  font-size:24px;
  letter-spacing:4px;
  margin-top:12px;
  filter:drop-shadow(0 3px 6px rgba(31,70,112,.12));
}

/* Bring the subject count slightly closer to the curriculum row after removing the placeholder chip. */
body[data-profile=""]:not(.login-gateway) .profile-count{
  margin-top:9px;
  color:#526f88;
  font-size:12.5px;
}

/* Bian stays warm/gold, but returns closer to the same white-glass system as Ubay. */
body[data-profile=""]:not(.login-gateway) .profile-card.orange{
  background:
    radial-gradient(circle at 88% 15%,rgba(255,210,106,.14),transparent 29%),
    radial-gradient(circle at 16% 84%,rgba(244,190,82,.045),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.965),rgba(255,250,239,.925));
  box-shadow:
    0 22px 46px rgba(40,38,73,.215),
    0 0 0 1px rgba(255,220,138,.08),
    inset 0 1px 0 rgba(255,255,255,.99),
    inset 0 -16px 32px rgba(238,188,82,.035);
}

/* Micro contrast: secondary copy should remain readable against the cosmic stage. */
body[data-profile=""]:not(.login-gateway) .profile-meta{
  color:#2d4a66;
}
body[data-profile=""]:not(.login-gateway) .hint{
  color:rgba(255,255,255,.97);
  font-size:12px;
  font-weight:650;
  text-shadow:0 2px 10px rgba(18,34,76,.28);
}

/* Header exit should be available but visually secondary to the character choice. */
body[data-profile=""]:not(.login-gateway) .family-logout{
  min-height:38px;
  padding:6px 15px;
  border-radius:13px;
  font-size:13px;
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

/* Footer becomes a light glass caption instead of a heavy bottom bar. */
body[data-profile=""]:not(.login-gateway) footer{
  min-height:34px;
  padding:8px 22px;
  font-size:10.5px;
  color:rgba(244,249,255,.90);
  background:rgba(21,39,73,.32);
  border-top:1px solid rgba(225,239,255,.08);
  backdrop-filter:blur(9px);
}

/* Slightly more breathing room beneath cards without introducing more decoration. */
body[data-profile=""]:not(.login-gateway) .profile-grid{
  margin-bottom:2px;
}

@media (max-height:780px) and (min-width:801px){
  body[data-profile=""]:not(.login-gateway) .profile-card::before{font-size:22px;letter-spacing:3px;}
  body[data-profile=""]:not(.login-gateway) .hint{font-size:11.5px;}
}

@media (max-width:800px){
  body[data-profile=""]:not(.login-gateway) .profile-card::before{font-size:22px;}
  body[data-profile=""]:not(.login-gateway) .family-logout{min-height:36px;padding:6px 12px;}
}
