/* OwnSMMPanel logo-only stylesheet. Intentionally does not touch global layout,
   animation/reveal, navigation, body, buttons, or portal CSS. */
.logo.osp-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  flex-shrink: 0;
  text-decoration: none;
  isolation: isolate;
}
.osp-brand .osp-brand__emblem {
  display: block;
  position: relative;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
}
.osp-brand .osp-brand__bars {
  position: absolute;
  z-index: 1;
  inset: 7px 8px 8px 8px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  transform: skewY(-7deg);
}
.osp-brand .osp-brand__bars > span {
  display: block;
  width: 6px;
  flex: 0 0 6px;
  border-radius: 2px;
  background: linear-gradient(145deg,#37e9fa 0%,#3b82f6 85%);
  box-shadow: 0 0 6px rgba(45,191,255,.16);
}
.osp-brand .osp-brand__bars > span:nth-child(1) { height: 11px; }
.osp-brand .osp-brand__bars > span:nth-child(2) { height: 18px; }
.osp-brand .osp-brand__bars > span:nth-child(3) {
  height: 24px;
  background: linear-gradient(145deg,#eb81fc,#8b5cf6);
}
.osp-brand .osp-brand__orbit {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 0;
  width: 39px;
  height: 27px;
  border: 2px solid transparent;
  border-bottom-color: #22d3ee;
  border-left-color: #4c88f4;
  border-right-color: #bd69f5;
  border-radius: 50%;
  transform: rotate(-26deg);
}
.osp-brand .osp-brand__node {
  position: absolute;
  z-index: 3;
  top: 5px;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #de82f3;
  box-shadow: 0 0 5px rgba(208,122,255,.45);
}
.osp-brand .osp-brand__name {
  font-family: Sora,Inter,system-ui,sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.osp-brand .osp-brand__own { color: #f5f7ff; }
.osp-brand .osp-brand__gradient { color: #ab82fa; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .osp-brand .osp-brand__gradient {
    background: linear-gradient(95deg,#26cee9 0%,#528dff 35%,#9569fa 68%,#d86ee9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
body.light .osp-brand .osp-brand__own { color: #18243b; }
/* No layout-affecting animation. Animations are decorative and disabled for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .osp-brand .osp-brand__node { animation: ospLogoNodePulse 3.2s ease-in-out infinite; }
  .osp-brand .osp-brand__orbit { animation: ospLogoOrbitGlow 6s ease-in-out infinite; }
  @keyframes ospLogoNodePulse { 0%,100% {opacity:.62} 50% {opacity:1} }
  @keyframes ospLogoOrbitGlow { 0%,100% {opacity:.76} 50% {opacity:1} }
}
@media (max-width: 430px) {
  .header .logo.osp-brand { gap: 6px; }
  .header .osp-brand .osp-brand__emblem { width: 33px; height: 33px; flex-basis: 33px; }
  .header .osp-brand .osp-brand__name { font-size: .98rem; }
  .header .osp-brand .osp-brand__bars { transform: skewY(-7deg) scale(.84); transform-origin: center center; }
  .header .osp-brand .osp-brand__orbit { transform: rotate(-26deg) scale(.84); transform-origin: left top; }
  .header .osp-brand .osp-brand__node { right: 4px; }
}
@media (max-width: 350px) {
  .header .osp-brand .osp-brand__name { font-size: .9rem; }
}
.admin-logo.logo.osp-brand { gap: 5px; }
.admin-logo.osp-brand .osp-brand__emblem { width: 35px; height: 39px; flex-basis: 35px; }
.admin-logo.osp-brand .osp-brand__name { font-size: 1rem; }

/* Auth-specific positioning: override the inline-flex logo's intrinsic width. */
.auth-body .auth-shell > .logo.osp-brand {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 30px;
  justify-content: center;
  text-align: center;
}
@media (max-width: 420px) {
  .auth-body .auth-shell > .logo.osp-brand { gap: 6px; margin-bottom: 24px; }
  .auth-body .auth-shell > .logo.osp-brand .osp-brand__name { font-size: clamp(.95rem, 4.9vw, 1.12rem); }
}


/* 2026-10-13 public header/footer logo refinement */
.osp-brand__emblem--badge{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:15px;background:linear-gradient(145deg,rgba(10,18,40,.94),rgba(43,31,92,.88));border:1px solid rgba(105,128,214,.26);box-shadow:0 10px 26px rgba(15,22,47,.18), inset 0 1px 0 rgba(255,255,255,.06);padding:4px}
.osp-brand__emblem--badge .osp-brand-svg{display:block;width:100%;height:100%}
.osp-brand--header{gap:11px}
.header .osp-brand--header .osp-brand__name{font-size:1.18rem;letter-spacing:-.05em}
.header .osp-brand--header .osp-brand__emblem--badge{width:50px;height:50px;flex-basis:50px;border-radius:16px;background:linear-gradient(145deg,rgba(6,15,33,.97),rgba(38,32,86,.94));box-shadow:0 12px 34px rgba(12,20,44,.24),0 0 0 1px rgba(86,110,190,.1), inset 0 1px 0 rgba(255,255,255,.08)}
.pf-logo .osp-brand__emblem--badge{width:54px;height:54px;flex-basis:54px;border-radius:18px;background:linear-gradient(145deg,rgba(8,16,37,.96),rgba(45,34,99,.92));box-shadow:0 14px 36px rgba(11,18,44,.28), inset 0 1px 0 rgba(255,255,255,.06)}
body.light .osp-brand__emblem--badge{background:linear-gradient(145deg,#fdfefe,#eef4ff);border-color:rgba(101,125,184,.22);box-shadow:0 10px 26px rgba(79,107,168,.12), inset 0 1px 0 rgba(255,255,255,.9)}
body.light .header .osp-brand--header .osp-brand__emblem--badge{background:linear-gradient(145deg,#ffffff,#eef3ff)}
@media (max-width: 430px){
  .header .osp-brand--header{gap:8px}
  .header .osp-brand--header .osp-brand__emblem--badge{width:44px;height:44px;flex-basis:44px;border-radius:14px}
  .header .osp-brand--header .osp-brand__name{font-size:1.04rem}
}
@media (max-width: 350px){
  .header .osp-brand--header .osp-brand__emblem--badge{width:40px;height:40px;flex-basis:40px}
  .header .osp-brand--header .osp-brand__name{font-size:.94rem}
}
