/* HIKO Flight Wall — discreet, consistent brand signature.
   The signature is decorative, non-interactive, and never intercepts navigation. */
.hiko-brand-signature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #d9c394;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.hiko-brand-signature__mark {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.hiko-brand-signature__type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}
.hiko-brand-signature__type strong {
  font: 650 10px/1 system-ui, -apple-system, sans-serif;
  letter-spacing: .25em;
}
.hiko-brand-signature__type small {
  font: 500 6px/1.1 system-ui, -apple-system, sans-serif;
  letter-spacing: .16em;
}

/* The mobile account strip is present on Home, Flights and Settings,
   so this one mark persists across tabs without taking screen content space. */
.account-bar .hiko-account-signature { display: none; }
body.mobile-ui:not(.mode-wall):not(.login-view) .account-bar:not(.hidden) .hiko-account-signature {
  position: absolute;
  display: inline-flex;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: .82;
  z-index: 0;
}
body.mobile-ui .account-bar .account-name,
body.mobile-ui .account-bar .account-admin {
  position: relative;
  z-index: 1;
}
/* The logout button was already position:static in workspace.css.
   Re-applying position:relative here activated its old fixed top/right
   offsets and shifted it DOWN onto the bottom tabs on real iPhones.
   A flex item can have z-index without being positioned. */
body.mobile-ui .account-bar .logout-fixed {
  position: static;
  inset: auto;
  z-index: 1;
}
/* Keep username compact and the logout action right-aligned.
   Otherwise the pre-existing flex:1 username stops growing at 35% and
   pushes the logout button over the centered signature. */
body.mobile-ui .account-bar .account-name {
  flex: 0 1 auto;
  max-width: calc(50% - 58px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
body.mobile-ui .account-bar .logout-fixed {
  margin-left: auto;
}
/* Admin has an extra action in the strip: omit the secondary signature
   there instead of risking a collision. Main top-header mark stays. */
body.mobile-ui .account-bar:has(.account-admin:not(.hidden)) .hiko-account-signature {
  display: none !important;
}

/* Wall previews have two fixed actions at left and right: use the free center.
   The mark is intentionally narrow so it never overlaps these actions. */
.hiko-wall-signature { display: none; }
body.mode-wall:not(.login-view) .hiko-wall-signature {
  position: fixed;
  z-index: 1804;
  top: calc(env(safe-area-inset-top, 0px) + 17px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  opacity: .83;
}
body.mode-wall .hiko-wall-signature__type strong { font-size: 11px; }
@media (max-width: 430px) {
  /* On narrow phones, avoid overlap with "Aileye dön" and "Görünüm". */
  body.mode-wall .hiko-wall-signature__type { display: none; }
  body.mode-wall .hiko-wall-signature__mark { width: 23px; height: 23px; }
}
@media (max-width: 360px) {
  body.mobile-ui .account-bar .hiko-account-signature__type { display: none; }
}
@media (prefers-contrast: more) {
  .hiko-brand-signature { color: #f9e6b5; opacity: 1 !important; }
}

/* A small symbol in the clock capsule keeps the identity visible at the top
   on Flights, Home and Settings without changing the centered TRT clock. */
.hiko-dash-signature { display: none; }
body.mobile-ui:not(.mode-wall):not(.login-view) .dash-head .hiko-dash-signature {
  position: absolute;
  display: inline-flex;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .74;
}
body.mobile-ui .dash-head .hiko-dash-signature .hiko-brand-signature__mark {
  width: 20px;
  height: 20px;
}
