/* Exclusive shared-component styles. Global and layout rules stay shared. */

.mbk-frame-wrap {
min-width: 0;
}

.mbk-frame-mobile {
flex: 0 0 auto;
}

.mbk-frame-desktop {
flex: 0 1 1180px;
  min-width: 0;
}

.mbk-frame-desktop .browser-frame {
width: 100%;
}

.mbk-frame-label {
color: var(--chrome-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.mbk-frame-scheme-note {
font-weight: 500;
}

.phone-frame {
background: #171a18;
  border-radius: 46px;
  height: 844px;
  padding: 12px;
  position: relative;
  width: 390px;
}

.phone-notch,
.phone-home {
pointer-events: none;
}

.phone-notch {
background: #0b0d0c;
  border-radius: 999px;
  height: 30px;
  left: 50%;
  position: absolute;
  top: 22px;
  transform: translateX(-50%);
  width: 108px;
  z-index: 2;
}

.phone-screen {
background: #ffffff;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.phone-status {
align-items: flex-start;
  color: var(--chrome-ink);
  display: flex;
  flex: 0 0 44px;
  font-feature-settings: "tnum";
  font-size: 13.5px;
  font-weight: 600;
  height: 44px;
  justify-content: space-between;
  padding: 14px 28px 0;
  position: relative;
  z-index: 1;
}

.phone-status-icons {
align-items: center;
  display: flex;
  gap: 6px;
}

.phone-home {
background: rgba(20, 24, 20, 0.4);
  border-radius: 999px;
  bottom: 20px;
  height: 4px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 128px;
}

.phone-frame--sm {
border-radius: 36px;
  height: 580px;
  padding: 9px;
  width: 280px;
}

.phone-frame--sm .phone-notch {
height: 22px;
  top: 16px;
  width: 88px;
}

.phone-frame--sm .phone-screen {
border-radius: 28px;
}

.phone-frame--sm .phone-home {
bottom: 12px;
  width: 96px;
}

.phone-frame--sm .phone-status {
flex: 0 0 32px;
  font-size: 10px;
  height: 32px;
  padding: 10px 20px 0;
}

.phone-frame--sm .phone-status-icons {
gap: 4px;
}

.phone-frame--sm .phone-status svg {
height: 8px;
  width: 12px;
}

.phone-frame--sm .phone-status svg:last-child {
width: 16px;
}

.browser-frame {
background: var(--chrome-surface);
  border: 1px solid var(--chrome-border-strong);
  border-radius: 8px;
  height: 760px;
  max-width: 1180px;
  overflow: hidden;
  width: 100%;
}

.browser-bar {
align-items: center;
  background: #ecede9;
  border-bottom: 1px solid var(--chrome-border);
  display: flex;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
}

.lights {
display: inline-flex;
  gap: 6px;
}

.lights i {
border-radius: 999px;
  height: 11px;
  width: 11px;
}

.lights i:first-child {
background: #d9655b;
}

.lights i:nth-child(2) {
background: #dba43d;
}

.lights i:nth-child(3) {
background: #50a86d;
}

.address {
align-items: center;
  background: var(--chrome-surface);
  border: 1px solid var(--chrome-border);
  border-radius: 6px;
  color: var(--chrome-muted);
  display: flex;
  flex: 1;
  font-family: var(--mono);
  font-size: 12px;
  height: 26px;
  max-width: 520px;
  overflow: hidden;
  padding: 0 12px;
  white-space: nowrap;
}

.address-url {
overflow: hidden;
  text-overflow: ellipsis;
}

.address-copy {
color: var(--chrome-muted);
  display: inline-flex;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 10px;
}

.browser-expand {
align-items: center;
  background: var(--chrome-surface);
  border: 1px solid var(--chrome-border);
  border-radius: 6px;
  color: var(--chrome-muted);
  display: inline-flex;
  flex-shrink: 0;
  height: 26px;
  justify-content: center;
  line-height: 1;
  width: 26px;
}

.browser-viewport {
background: var(--chrome-surface);
  height: calc(100% - 40px);
  overflow: hidden;
}

.phone-screen.mbk-screen-dark,
.browser-viewport.mbk-screen-dark {
background: var(--mbk-dark-screen-bg);
  color: var(--mbk-dark-screen-ink);
}

.phone-screen.mbk-screen-dark {
box-shadow: inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--mbk-dark-screen-ink) 12%,
      var(--mbk-dark-screen-bg)
    );
}

.mbk-screen-dark .phone-status {
color: var(--mbk-dark-screen-ink);
}

.mbk-screen-dark .phone-home {
background: color-mix(in srgb, var(--mbk-dark-screen-ink) 40%, transparent);
}
