/* Live host console — account / business (mobile-first) */
.km-lh {
  position: relative;
  padding-bottom: 8px;
}
.km-lh--sticky {
  padding-bottom: 168px;
}
.km-lh__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 6px;
}
.km-lh__title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.km-lh__watch {
  font-size: 13px;
  font-weight: 700;
  color: var(--km-primary, #388e3c);
  text-decoration: none;
  white-space: nowrap;
}
.km-lh__lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #666;
}
.km-lh__load {
  padding: 18px 0;
  font-weight: 700;
  color: #888;
}
.km-lh__msg {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f5f5;
  font-size: 13px;
  font-weight: 700;
}
.km-lh__msg--ok {
  background: #e8f5e9;
  color: #2e7d32;
}
.km-lh__msg--err {
  background: #ffebee;
  color: var(--km-error);
}
.km-lh__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  margin: 0 0 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.km-lh__chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 200px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.km-lh__chip.is-on {
  border-color: #388e3c;
  background: #388e3c;
  color: #fff;
}
.km-lh__chip--stats {
  border-color: #c8e6c9;
  background: #f1f8e9;
  color: #2e7d32;
}
.km-lh__chip--new {
  border-style: dashed;
  color: #388e3c;
}
.km-lh__chip-t {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.km-lh__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bdbdbd;
  flex-shrink: 0;
}
.km-lh__dot.is-live {
  background: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.22);
}
.km-lh__dot.is-soon {
  background: #f9a825;
}
.km-lh__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  margin: 0 0 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.km-lh__bar-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.km-lh__bar-main strong {
  font-size: 15px;
  line-height: 1.25;
}
.km-lh__meta {
  font-size: 12px;
  font-weight: 700;
  color: #666;
}
.km-lh__status {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #f5f5f5;
}
.km-lh__status.is-live {
  background: #ffebee;
  color: var(--km-error);
}
.km-lh__status.is-soon {
  background: #fff8e1;
  color: #f57f17;
}
.km-lh__link {
  font-size: 13px;
  font-weight: 800;
  color: var(--km-primary, #388e3c);
  text-decoration: none;
}
.km-lh__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
}
.km-lh__mode {
  padding: 10px 8px;
  border-radius: 12px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.km-lh__mode.is-on {
  border-color: #388e3c;
  background: #e8f5e9;
  color: #1b5e20;
}
.km-lh__signal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  background: #f5f5f5;
}
.km-lh__signal.is-on {
  background: #e8f5e9;
  color: #1b5e20;
}
.km-lh__signal.is-off {
  background: #fff8e1;
  color: #f57f17;
}
.km-lh__sig {
  font-weight: 800;
}
.km-lh__sig.is-on {
  color: #2e7d32;
}
.km-lh__sig.is-off {
  color: #e65100;
}
.km-lh__hint--warn {
  color: var(--km-error);
  font-weight: 700;
}
.km-lh__obs-go {
  padding-bottom: 8px;
}
.km-lh__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 12px;
}
.km-lh__tab {
  padding: 10px 6px;
  border-radius: 12px;
  border: 1.5px solid #e6e6e6;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.km-lh__cam {
  margin: 0 0 12px;
}
.km-lh__preview-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(62vh, 520px);
  margin: 0 0 12px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  border: 1px solid #222;
}
.km-lh__preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #111;
  pointer-events: none;
}
.km-lh__preview.is-mirror {
  transform: scaleX(-1);
}
.km-lh__preview-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
}
.km-lh__live-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.km-lh__cam-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.km-lh__cam-tools .km-lh__btn:last-child {
  grid-column: 1 / -1;
}
@media (min-width: 860px) {
  .km-lh__preview-wrap {
    aspect-ratio: 16 / 10;
    max-height: 420px;
  }
}
.km-lh__tab.is-on {
  border-color: #388e3c;
  background: #e8f5e9;
  color: #2e7d32;
}
.km-lh__bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.km-lh__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}
.km-lh__stats--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.km-lh__analytics {
  padding: 4px 0 16px;
}
.km-lh__analytics h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
}
.km-lh__a-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.km-lh__a-row {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eee;
}
.km-lh__a-row strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}
.km-lh__a-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #666;
}
.km-lh__a-nums b {
  color: #1b5e20;
  font-weight: 900;
}
@media (min-width: 720px) {
  .km-lh__stats--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.km-lh__stat {
  padding: 10px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
  text-align: center;
}
.km-lh__stat b {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  color: #1b5e20;
}
.km-lh__stat span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #777;
}
.km-lh__check {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f7faf7;
  border: 1px solid #e2efe3;
}
.km-lh__check-head {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #2e7d32;
}
.km-lh__check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}
.km-lh__check-list li {
  font-size: 12px;
  font-weight: 700;
  color: #666;
}
.km-lh__check-list li.is-ok {
  color: #2e7d32;
}
.km-lh__check-list li.is-miss {
  color: #9e9e9e;
}
.km-lh__cover,
.km-lh__obs {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  margin: 0 0 12px;
}
.km-lh__cover h3,
.km-lh__obs h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
}
.km-lh__cover-prev {
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}
.km-lh__cover-prev img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 720px) {
  .km-lh__stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.km-lh__panel {
  min-width: 0;
}
.km-lh__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  color: #555;
}
.km-lh__field input,
.km-lh__field select,
.km-lh__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #e0e0e0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  background: #fff;
}
.km-lh__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
.km-lh__btn--primary {
  background: #388e3c;
  color: #fff;
}
.km-lh__btn--live {
  background: #e53935;
  color: #fff;
}
.km-lh__btn--danger {
  background: #fff;
  color: var(--km-error);
  border-color: #ef9a9a;
}
.km-lh__btn--ghost {
  background: #fff;
  color: #388e3c;
  border-color: rgba(56, 142, 60, 0.35);
}
.km-lh__btn--wide {
  width: 100%;
}
.km-lh__keep {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff8e1;
  color: #5d4037;
  font-size: 13px;
  line-height: 1.45;
}
.km-lh__lots {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
}
.km-lh__lot {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
}
.km-lh__lot.is-feat {
  border-color: #81c784;
  background: #f1f8f2;
}
.km-lh__lot.is-out {
  opacity: 0.72;
}
.km-lh__lot-t {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 4px;
}
.km-lh__lot-m {
  font-size: 12px;
  font-weight: 700;
  color: #666;
  margin: 0 0 10px;
}
.km-lh__lot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.km-lh__mini {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.km-lh__mini--danger {
  color: var(--km-error);
  border-color: #ef9a9a;
}
.km-lh__mini--go {
  background: #388e3c;
  color: #fff;
  border-color: #388e3c;
}
.km-lh__mini--go-ghost {
  border-color: #81c784;
  color: #1b5e20;
  background: #f1f8f2;
}
.km-lh__mini.is-on {
  background: #388e3c;
  color: #fff;
  border-color: #388e3c;
}
.km-lh__badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: #c8e6c9;
  color: #1b5e20;
  vertical-align: middle;
}
.km-lh__badge--out {
  background: #ffcdd2;
  color: #b71c1c;
}
.km-lh__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #666;
}
.km-lh__stock input {
  width: 72px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}
.km-lh__add-lot,
.km-lh__create,
.km-lh__settings,
.km-lh__obs {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  margin: 0 0 12px;
}
.km-lh__add-lot h3,
.km-lh__create h3,
.km-lh__obs h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 900;
}
.km-lh__hint {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #666;
}
.km-lh__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 12px;
  padding: 12px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fafafa;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  cursor: pointer;
}
.km-lh__check input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #2f9e44;
}
.km-lh__seller {
  color: #2f9e44;
  font-weight: 700;
}
.km-lh__invites,
.km-lh__cohost {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
}
.km-lh__invites h3,
.km-lh__cohost h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.km-lh__invite,
.km-lh__cohost-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.km-lh__invite-acts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.km-lh__cohost-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.km-lh__cohost-pick {
  text-align: left;
  border: 1px dashed #c8c8c8;
  background: #fafafa;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.km-lh__cohost-pick:hover {
  border-color: #2f9e44;
  background: #f3faf4;
}
.km-lh__chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.km-lh__chat-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
  font-size: 13px;
  line-height: 1.35;
}
.km-lh__sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e8e8e8;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}
.km-lh__empty {
  padding: 18px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
}
.km-lh__empty p {
  margin: 0 0 10px;
  line-height: 1.45;
}

@media (max-width: 859px) {
  html.km-lh-open .km-voice-btn,
  html.km-lh-open .km-header .km-voice-btn {
    bottom: calc(148px + env(safe-area-inset-bottom, 0px)) !important;
  }
  html.km-lh-open.km-live-studio-on .km-voice-btn,
  html.km-lh-open.km-live-studio-on .km-header .km-voice-btn,
  body.km-live-studio-on html.km-lh-open .km-voice-btn {
    bottom: calc(200px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (min-width: 860px) {
  .km-lh--sticky {
    padding-bottom: 12px;
  }
  .km-lh__sticky {
    position: static;
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    box-shadow: none;
    flex-direction: row;
    padding: 12px;
  }
  .km-lh__btn--wide {
    width: auto;
    flex: 1;
  }
}

.km-lh__head-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  justify-content: flex-end;
}
.km-lh__watch--muted {
  color: #888;
  font-weight: 700;
}
.km-acc-live-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f1f8e9;
  border: 1px solid #c8e6c9;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
}
.km-acc-live-jump .km-lh__btn {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 14px;
  text-decoration: none;
}
.km-acc-live-jump span {
  flex: 1 1 180px;
}

/* Studio layout — Cibomio light identity (preview well stays dark) */
.km-lh--studio {
  min-height: 0;
  color: var(--km-text-body, #333);
}
.km-lh--studio .km-lh__chips--studio {
  padding: 0 12px 10px;
  margin: 0;
}
.km-lh--studio .km-lh__create,
.km-lh--studio .km-lh__invites {
  margin: 0 12px 12px;
}
.km-lh-studio {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.km-lh-studio__stage {
  padding: 0 12px 10px;
}
.km-lh-studio__preview-wrap {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(46vh, calc(100dvh - 280px));
  border-radius: 14px;
  overflow: hidden;
  background: #122016;
  border: 1.5px solid var(--km-border-brand, #c8e6c9);
}
.km-lh-studio__preview-wrap .km-lh__preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.km-lh-studio__obs-stage--wait {
  background: #1b2e1c;
  color: #e8f5e9;
}
.km-lh-studio__steps {
  margin: 0 0 14px;
  padding: 0 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
}
.km-lh-studio__preview-list {
  margin: 0 0 14px;
  padding: 0 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.km-lh-studio__obs-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  background: #1b2e1c;
  color: #e8f5e9;
  font-size: 13px;
}
.km-lh-studio__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}
.km-lh-studio__overlay .km-lh__status {
  pointer-events: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}
.km-lh-studio__overlay .km-lh__status.is-live {
  background: #e53935;
  color: #fff;
}
.km-lh-studio__viewers,
.km-lh-studio__when {
  margin-left: auto;
  font-weight: 700;
  opacity: 0.9;
}
.km-lh-studio__sig {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.45);
}
.km-lh-studio__sig.is-on {
  color: #c8e6c9;
}
.km-lh-studio__sig.is-off {
  color: #ffcdd2;
}
.km-lh-studio__ready,
.km-lh-studio__recap,
.km-lh-studio__nums {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--km-border-brand, #c8e6c9);
  background: #fff;
}
.km-lh-studio__ready.is-go {
  border-color: #388e3c;
  background: #f1f8f2;
}
.km-lh-studio__ready-head {
  font-size: 13px;
  font-weight: 800;
  color: #1b5e20;
  margin: 0 0 8px;
}
.km-lh-studio__ready-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}
.km-lh-studio__ready-list li {
  font-size: 12px;
  font-weight: 700;
  color: #666;
}
.km-lh-studio__ready-list li.is-ok {
  color: #2e7d32;
}
.km-lh-studio__ready-list button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--km-error);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}
.km-lh-studio__nums {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.km-lh-studio__nums span {
  font-size: 13px;
  font-weight: 700;
  color: #444;
}
.km-lh-studio__nums b {
  color: #1a1a1a;
}
.km-lh-studio__recap .km-lh-studio__nums {
  margin: 0;
  padding: 0;
  border: 0;
}
.km-lh__ready {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f7faf7;
  border: 1px solid #e2efe3;
}
.km-lh__ready-head {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #2e7d32;
}
.km-lh__ready-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}
.km-lh__ready-list li {
  font-size: 12px;
  font-weight: 700;
  color: #666;
}
.km-lh__ready-list li.is-ok {
  color: #2e7d32;
}
.km-lh__ready-list button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--km-error);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}
.km-lh-studio__stage .km-lh__modes {
  margin-top: 10px;
}
.km-lh-studio__shop {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--km-border-brand, #c8e6c9);
  background: #fff;
}
.km-lh-studio__shop-lead {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #555;
  line-height: 1.35;
}
.km-lh-studio__shop-empty {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.km-lh-studio__shop-empty p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #333;
}
.km-lh-studio__shop-empty .km-lh__btn {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
}
.km-lh-studio__lotstrip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 8px;
  margin: 0 0 4px;
}
.km-lh-studio__lotchip {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid #e0e0e0;
  background: #f7f7f7;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
}
.km-lh-studio__lotchip.is-on {
  background: #388e3c;
  border-color: #388e3c;
  color: #fff;
}
.km-lh-studio__lotchip.is-out {
  opacity: 0.55;
}
.km-lh-studio__now {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 6px;
  border-top: 1px solid #e8e8e8;
}
.km-lh-studio__now-t {
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1a;
  min-width: 0;
}
.km-lh-studio__now-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.km-lh-studio__ops {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid #e8e8e8;
}
.km-lh-studio__ops-co,
.km-lh-studio__ops-chat {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #444;
  min-width: 0;
}
.km-lh-studio__ops-co span,
.km-lh-studio__ops-chat span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.km-lh-studio__tab-n {
  display: inline-block;
  margin-left: 4px;
  min-width: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c8e6c9;
  color: #1b5e20;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
.km-lh-studio__tab.is-on .km-lh-studio__tab-n {
  background: #1b5e20;
  color: #fff;
}
.km-lh--studio .km-lh__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.km-lh-studio__dock {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 12px 8px;
}
.km-lh-studio__dock-head {
  display: none;
}
.km-lh-studio__tabs--desk {
  display: none;
}
.km-lh-studio__panel {
  min-width: 0;
  padding-bottom: 8px;
}
.km-lh-studio__nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10100;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  min-height: 56px;
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1.5px solid var(--km-border-brand, #c8e6c9);
  pointer-events: auto;
  touch-action: manipulation;
}
.km-lh-studio__nav[hidden] {
  display: none !important;
}
.km-lh-studio__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.km-lh-studio__tab.is-on {
  color: #1b5e20;
}
.km-lh-studio__tab-ico::before {
  display: block;
  font-size: 16px;
  line-height: 1;
}
.km-lh-studio__tab-ico[data-ico="cam"]::before { content: "◉"; }
.km-lh-studio__tab-ico[data-ico="lots"]::before { content: "▣"; }
.km-lh-studio__tab-ico[data-ico="chat"]::before { content: "💬"; }
.km-lh-studio__tab-ico[data-ico="settings"]::before { content: "✎"; }
.km-lh-studio__tab-ico[data-ico="stats"]::before { content: "▦"; }

.km-live-studio .km-lh--sticky {
  padding-bottom: 8px;
}
.km-live-studio .km-lh__sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  z-index: 10120;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1.5px solid var(--km-border-brand, #c8e6c9);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
  padding: 8px 12px;
  gap: 6px;
  flex-direction: row;
  flex-wrap: wrap;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.km-live-studio .km-lh__sticky .km-lh__btn {
  flex: 1 1 calc(50% - 6px);
  min-height: 40px;
  font-size: 14px;
  padding: 8px 12px;
}
.km-live-studio .km-lh--studio {
  padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 960px) {
  .km-lh-studio {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 0 8px;
    align-items: stretch;
    min-height: calc(100dvh - 160px);
  }
  .km-lh-studio__stage {
    padding: 0 8px 12px 0;
  }
  .km-lh-studio__preview-wrap {
    max-height: none;
    height: min(48vh, calc(100dvh - 380px));
    aspect-ratio: 16 / 9;
  }
  .km-lh-studio__dock {
    padding: 8px 12px 12px;
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid var(--km-border-brand, #c8e6c9);
    min-height: 0;
    overflow: hidden;
  }
  .km-lh-studio__dock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 4px 8px;
    font-size: 14px;
    color: var(--km-text, #1a1a1a);
  }
  .km-lh-studio__tabs--desk {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    margin: 0 0 10px;
  }
  .km-lh-studio__tabs--desk .km-lh-studio__tab {
    flex-direction: row;
    gap: 4px;
    min-height: 40px;
    border-radius: 10px;
    background: #f1f8f2;
    border: 1.5px solid #e0e0e0;
    color: #333;
    font-size: 12px;
  }
  .km-lh-studio__tabs--desk .km-lh-studio__tab.is-on {
    background: #388e3c;
    border-color: #388e3c;
    color: #fff;
  }
  .km-lh-studio__tabs--desk .km-lh-studio__tab.is-on .km-lh-studio__tab-n {
    background: #fff;
    color: #1b5e20;
  }
  .km-lh-studio__tabs--desk .km-lh-studio__tab-ico {
    display: none;
  }
  .km-lh-studio__nav {
    display: none;
  }
  .km-lh-studio__panel {
    overflow: auto;
    flex: 1;
    max-height: calc(100dvh - 300px);
  }
  .km-live-studio .km-lh__sticky {
    position: fixed;
    left: auto;
    right: 16px;
    width: min(420px, 38vw);
    bottom: 0;
    border-radius: 14px 14px 0 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .km-live-studio .km-lh--studio {
    padding-bottom: 88px;
  }
}
