html.kpc-is-phone body.kpc-phone-shell-page {
  width: 100%;
  max-width: none;
  height: 100dvh;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #070a0d;
  box-shadow: none;
}

.kpc-phone-shell-bar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 12px;
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
  border-bottom: 1px solid rgba(196, 164, 106, 0.35);
  background: rgba(8, 12, 15, 0.96);
}

.kpc-shell-music {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(196, 164, 106, 0.72);
  border-radius: 999px;
  color: #17130d;
  background: linear-gradient(180deg, #e4c98a, #b99451);
  font: 800 12px/1 system-ui, sans-serif;
  letter-spacing: 0.07em;
}

.kpc-shell-music b {
  margin-left: 4px;
}

.kpc-shell-muted .kpc-shell-music {
  color: #e4c98a;
  background: #151c24;
}

.kpc-shell-volume {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #c4a46a;
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: 0.1em;
}

.kpc-shell-volume input {
  width: 100%;
  height: 32px;
  margin: 0;
  accent-color: #c4a46a;
}

.kpc-phone-shell-frame {
  display: block;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 0;
  background: #070a0d;
}

html,
body.kpc-desktop-shell-page {
  width: 100%;
  height: 100%;
  margin: 0;
}

body.kpc-desktop-shell-page {
  overflow: hidden;
  background: #070a0d;
}

.kpc-desktop-shell-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #070a0d;
}

.kpc-shell-photo-solo .kpc-phone-shell-bar {
  display: none !important;
}

.kpc-shell-photo-solo .kpc-phone-shell-frame {
  flex: 1 1 100%;
  height: 100dvh;
}

@media (orientation: landscape) and (max-height: 600px) {
  .kpc-phone-shell-bar {
    grid-template-columns: auto minmax(100px, 240px);
    justify-content: center;
    min-height: 42px;
    padding-block: 4px;
  }
}
