/* Sora Inventory v4.8 — named greeting + discreet sidebar version. */
html[data-theme] .top .user.sora-greeting {
  display:inline-flex;
  align-items:baseline;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:6px;
  margin-left:auto;
  min-width:0;
  max-width:45vw;
  white-space:nowrap;
  font-size:14px !important;
  font-weight:550;
  line-height:1.2;
  color:var(--text,#d9dce8);
}
html[data-theme] .top .sora-name-glyphs {
  display:inline-block;
  font-family: "Arial Unicode MS", "Noto Sans Yi", "Noto Sans Vai", "Segoe UI Symbol", system-ui, sans-serif;
  font-size:23px;
  font-weight:700;
  letter-spacing:.035em;
  line-height:1.25;
  color:var(--sora-brand-accent,#ec81af) !important;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
  vertical-align:baseline;
}
html[data-theme] .top .sora-greeting-role {font-size:11px !important;opacity:.8;white-space:nowrap;color:var(--muted,#bfc5d3)!important;}
html[data-theme="light"] .top .user.sora-greeting {color:#48536e;}
html[data-theme="dark"] .top .user.sora-greeting {color:#f0e7ef;}
.sora-visually-hidden {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
@media (min-width:901px) {
  html[data-theme] .shell > .side {
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    position:sticky;
    align-self:flex-start;
    top:0;
    height:calc(100vh - 69px);
    min-height:330px;
    overflow-y:auto;
  }
  html[data-theme] .shell > .side > nav {flex:0 0 auto;}
}
html[data-theme] .side .sora-sidebar-version {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:5px;
  margin-top:auto;
  padding:17px 14px 0;
  border-top:1px solid var(--line,#34394b);
  color:var(--muted,#9da6b9);
  line-height:1.3;
}
html[data-theme] .side .sora-version-caption {font-size:10px;letter-spacing:.13em;font-weight:700;opacity:.75;}
html[data-theme] .side .sora-sidebar-version strong {font-size:13px;color:var(--sora-brand-accent,#ec81af);font-weight:800;letter-spacing:.035em;}
@media(max-width:900px) {
  html[data-theme] .side {display:none!important;}
  html[data-theme] .top .user.sora-greeting {max-width:37vw;font-size:13px!important;gap:4px;}
  html[data-theme] .top .sora-name-glyphs {font-size:19px;letter-spacing:0;}
  html[data-theme] .top .sora-greeting-role {display:none;}
}
@media(max-width:530px) {
  html[data-theme] .top .sora-greeting-hello {display:none;}
  html[data-theme] .top .sora-name-glyphs {font-size:18px;}
}
@media(max-width:360px) {
  html[data-theme] .top .sora-name-glyphs {font-size:16px;}
}
/* Counting header remains minimal, as before. */
@media(max-width:900px) {
  html[data-theme] body.count-screen .top .user.sora-greeting{display:none!important;}
}
