.app-header {
  min-height: 62px;
  gap: 10px;
  padding-block: max(8px, env(safe-area-inset-top)) 8px;
  padding-inline: max(15px, env(safe-area-inset-left)) max(15px, env(safe-area-inset-right));
  background: linear-gradient(180deg, #79172a, #631324);
  border-bottom: 1px solid #e4ac6740;
  box-shadow: none;
}

.app-header .brand {
  width: clamp(146px, 43vw, 183px);
  min-height: 44px;
  min-width: 0;
  filter: none;
}

.app-header .brand img {
  display: block;
  width: 100%;
  height: auto;
}

.app-header .header-right {
  flex: 0 0 auto;
  gap: 7px;
}

.app-header .credit {
  color: #f2c9a3;
  white-space: nowrap;
}

.app-header .lang-toggle,
.app-header .sound-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #eac68b68;
  border-radius: 50%;
  background: #812537;
  color: #fff1d3;
  box-shadow: inset 0 1px #fff1;
}

.app-header .sound-toggle[aria-pressed=false] {
  background: #672033;
  color: #f0c8ba;
}

.app-header :is(.brand, button):focus-visible {
  outline: 2px solid #ffd594;
  outline-offset: 3px;
}

@media (max-width: 374px) {
  .app-header .credit { display: none; }
}
