/* Globwalk App Simulator */

:root {
  --bg: #050A18;
  --phone-bg: #070D1F;
  --screen: #0A1228;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --dim: #64748B;
  --blue: #2563EB;
  --cyan: #22D3EE;
  --lime: #A3E635;
  --grad: linear-gradient(135deg, #1D4ED8 0%, #06B6D4 45%, #22D3EE 72%, #A3E635 100%);
  --grad-walk: linear-gradient(90deg, #06B6D4 0%, #22D3EE 40%, #84CC16 100%);
  --border: rgba(148, 163, 184, 0.14);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.sim-desk {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: #1c1c1e;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 40%, #2a2a2e, #1c1c1e 70%);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 40px;
}

.wm-walk {
  background: var(--grad-walk);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desk-back {
  position: fixed;
  top: 16px;
  left: 20px;
  z-index: 50;
  color: #a1a1a6;
  text-decoration: none;
  font-size: 0.8125rem;
}

.desk-back:hover { color: #fff; }

/* ===== macOS Simulator window ===== */
.sim-window {
  width: min(980px, 100%);
  background: #2b2b2f;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.sim-window.is-zoomed {
  width: min(1100px, 100%);
}

.sim-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 52px;
  padding: 0 14px;
  background: linear-gradient(180deg, #3a3a3e, #2e2e32);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.sim-bar__left {
  display: flex;
  gap: 8px;
  align-items: center;
}

.traffic {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
}

.traffic--close { background: #ff5f57; }
.traffic--min { background: #febc2e; }
.traffic--zoom { background: #28c840; }

.sim-bar__title {
  text-align: center;
  line-height: 1.15;
}

.sim-bar__title strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f5f5f7;
}

.sim-bar__title span {
  font-size: 0.6875rem;
  color: #a1a1a6;
}

.sim-bar__right {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.sim-tool {
  width: 34px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #d1d1d6;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sim-tool:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.sim-tool svg { width: 16px; height: 16px; }

.sim-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  min-height: 820px;
  background: #1e1e22;
}

.sim-side {
  padding: 22px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: #252528;
}

.sim-side__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8e8e93;
  margin-bottom: 14px;
}

.sim-side__tip {
  font-size: 0.75rem;
  color: #8e8e93;
  line-height: 1.5;
  margin-top: 16px;
}

.panel__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel__steps li {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #8e8e93;
  font-size: 0.8125rem;
  transition: all 0.25s;
}

.panel__steps li.is-active {
  color: #f5f5f7;
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.1);
}

.phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 36px;
  transition: transform 0.45s ease;
}

.phone-wrap.is-landscape {
  transform: rotate(-90deg);
  padding: 60px 24px;
}

/* ——— iPhone 16 (Xcode Simulator style) ——— */
.iphone {
  position: relative;
  width: 375px;
  padding: 12px;
  border-radius: 54px;
  background: #0a0a0a;
  box-shadow:
    0 0 0 2px #111,
    0 0 0 3px #2a2a2a,
    0 24px 60px rgba(0, 0, 0, 0.55);
}

.iphone__frame {
  position: relative;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
}

.iphone__screen {
  position: relative;
  width: 100%;
  height: 760px;
  background: #000;
  overflow: hidden;
  border-radius: 44px;
}

.iphone__btn {
  position: absolute;
  background: #1a1a1a;
  border-radius: 2px;
  z-index: 2;
}

.iphone__btn--silent {
  left: -2px;
  top: 112px;
  width: 3px;
  height: 28px;
}

.iphone__btn--vol-up {
  left: -2px;
  top: 162px;
  width: 3px;
  height: 50px;
}

.iphone__btn--vol-down {
  left: -2px;
  top: 222px;
  width: 3px;
  height: 50px;
}

.iphone__btn--power {
  right: -2px;
  top: 190px;
  width: 3px;
  height: 70px;
}

/* iOS status bar + Dynamic Island */
.ios-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 22px 0;
  pointer-events: none;
  color: #fff;
}

.ios-status__time {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  padding-left: 6px;
}

.ios-status__island {
  width: 120px;
  height: 34px;
  background: #000;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
}

.ios-status__island::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a2744, #050814 70%);
  box-shadow: 0 0 0 1.5px #0b1220;
}

.ios-status__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding-right: 4px;
}

.ios-ic {
  width: 16px;
  height: 12px;
  color: #fff;
}

.ios-battery {
  width: 25px;
  height: 12px;
  border: 1.2px solid rgba(255, 255, 255, 0.45);
  border-radius: 3.5px;
  padding: 1.5px;
  position: relative;
  margin-left: 2px;
}

.ios-battery::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 3.5px;
  width: 1.5px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: rgba(255, 255, 255, 0.45);
}

.ios-battery i {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: 1.5px;
  background: #fff;
}

.ios-home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 40;
  pointer-events: none;
}

/* Screens */
.screen {
  position: absolute;
  inset: 0;
  padding: 62px 16px 78px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar { display: none; }

.screen.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}

.screen--player {
  padding: 0;
  overflow: hidden;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  min-height: 36px;
}

.app-top--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.app-top__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
}

.app-top h3 {
  font-size: 1rem;
  font-weight: 600;
}

.spacer { width: 32px; }

.back-btn,
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.back-btn--float {
  position: absolute;
  top: 62px;
  left: 14px;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.chip {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.chip-btn {
  border: 1px solid rgba(163, 230, 53, 0.35);
  background: rgba(5, 10, 24, 0.55);
  color: var(--lime);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.chip-btn.is-on {
  background: rgba(163, 230, 53, 0.15);
  box-shadow: 0 0 16px rgba(163, 230, 53, 0.25);
}

.btn-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: var(--grad);
  color: #04101f;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.3), 0 0 40px rgba(163, 230, 53, 0.12);
}

.btn-app--block { width: 100%; margin-top: 8px; }

.btn-app--ghost {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: none;
  margin-top: 10px;
}

.linkish {
  border: none;
  background: none;
  color: var(--cyan);
  font-family: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

/* Home */
.home-hero {
  position: relative;
  height: 220px;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 10, 24, 0.92) 100%);
}

.home-hero__copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.home-hero__copy h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.home-hero__copy p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.h-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
  scrollbar-width: none;
}

.h-scroll::-webkit-scrollbar { display: none; }

.mini-card {
  flex: 0 0 132px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--text);
}

.mini-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 10, 24, 0.9) 100%);
}

.mini-card span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 600;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.capability {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
}

.capability strong {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 2px;
}

.capability span {
  font-size: 0.6875rem;
  color: var(--dim);
}

/* Explore */
.steps-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--dim);
}

.steps-mini i {
  width: 16px;
  height: 1px;
  background: var(--border);
}

.steps-mini .is-on {
  color: var(--cyan);
  font-weight: 600;
}

.crumb {
  font-size: 0.75rem;
  color: var(--cyan);
  margin-bottom: 12px;
  min-height: 1.2em;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.list-item:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-1px);
}

.list-item__thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background: rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.list-item__body { flex: 1; min-width: 0; }
.list-item__body strong { display: block; font-size: 0.875rem; }
.list-item__body span { font-size: 0.6875rem; color: var(--dim); }
.list-item__chev { color: var(--dim); }

/* Detail */
.detail-cover {
  position: relative;
  height: 260px;
  margin: -62px -16px 0;
  background-size: cover;
  background-position: center;
}

.detail-cover__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--screen) 95%);
}

.detail-body {
  position: relative;
  margin-top: -40px;
}

.detail-body h2 {
  font-size: 1.5rem;
  margin: 4px 0;
}

.detail-body > p {
  color: var(--muted);
  font-size: 0.8125rem;
  margin-bottom: 16px;
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.meta-row div {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
}

.meta-row small {
  display: block;
  font-size: 0.625rem;
  color: var(--dim);
  margin-bottom: 4px;
}

.meta-row strong { font-size: 0.875rem; }

.bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.bullets li {
  font-size: 0.8125rem;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}

.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* Player */
.player-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: filter 0.5s, transform 8s linear;
}

.screen--player.is-playing .player-bg {
  transform: scale(1.18) translateY(-2%);
}

.player-bg.is-restore {
  filter: saturate(1.35) contrast(1.08) hue-rotate(-8deg);
}

.player-fx {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 24, 0.35), transparent 30%, transparent 55%, rgba(5, 10, 24, 0.85)),
    radial-gradient(ellipse at 50% 70%, transparent 40%, rgba(5, 10, 24, 0.4) 100%);
  pointer-events: none;
}

.player-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 62px 14px 12px;
}

.player-top .back-btn--float {
  position: static;
}

.player-title {
  flex: 1;
  min-width: 0;
}

.player-title strong {
  display: block;
  font-size: 0.875rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.player-title small {
  color: var(--cyan);
  font-size: 0.6875rem;
}

.player-guide {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 178px;
  z-index: 4;
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(5, 10, 24, 0.62);
  border: 1px solid rgba(34, 211, 238, 0.25);
  backdrop-filter: blur(16px);
  transition: opacity 0.35s, transform 0.35s;
}

.player-guide.is-updating {
  opacity: 0.55;
  transform: translateY(4px);
}

.guide-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: #04101f;
  font-size: 0.625rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-text strong {
  display: block;
  font-size: 0.6875rem;
  color: var(--cyan);
  margin-bottom: 4px;
}

.guide-text p {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text);
}

.player-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62px;
  z-index: 4;
  padding: 0 16px 12px;
}

.progress {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: 14px;
}

.progress__bar {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
  transition: width 0.25s linear;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}

.ctrl {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(5, 10, 24, 0.55);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.ctrl--main {
  width: 58px;
  height: 58px;
  background: var(--grad);
  color: #04101f;
  border: none;
  font-weight: 700;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.35);
}

.player-caption {
  text-align: center;
  font-size: 0.6875rem;
  color: var(--muted);
}

/* Profile */
.profile-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
  background: rgba(15, 23, 42, 0.55);
}

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #04101f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.profile-card p {
  font-size: 0.75rem;
  color: var(--dim);
}

.plan-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0.7));
  margin-bottom: 14px;
}

.plan-card h3 {
  font-size: 1.125rem;
  margin: 4px 0;
}

.plan-card > p {
  font-size: 0.8125rem;
  color: var(--muted);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-list button {
  width: 100%;
  text-align: left;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.45);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

/* Tab bar */
.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px 22px;
  background: rgba(5, 10, 24, 0.88);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.screen--player ~ .tabbar,
.iphone__screen:has(.screen--player.is-active) .tabbar {
  background: rgba(5, 10, 24, 0.55);
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: none;
  background: none;
  color: var(--dim);
  font-family: inherit;
  font-size: 0.625rem;
  cursor: pointer;
  padding: 4px;
}

.tab span { font-size: 1rem; line-height: 1.2; }

.tab.is-active {
  color: var(--cyan);
}

@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-top: 24px;
  }

  .panel {
    text-align: center;
    max-width: 420px;
  }

  .panel__steps { text-align: left; }
}




/* ===== iOS Springboard ===== */
.springboard {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 62px 22px 28px;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, #f7c9b8 0%, #7eb8c9 42%, #1a6b7a 78%, #0d3d4a 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.springboard.is-active {
  opacity: 1;
  pointer-events: auto;
}

.sb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 12px;
  margin-top: 8px;
}

.sb-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.625rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  cursor: default;
  padding: 0;
}

.sb-app--globwalk { cursor: pointer; }
.sb-app--globwalk:active .sb-icon { transform: scale(0.92); }

.sb-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.15s;
}

.sb-icon--fit { background: linear-gradient(180deg, #34d399, #059669); }
.sb-icon--watch { background: linear-gradient(180deg, #111, #333); }
.sb-icon--contact { background: linear-gradient(180deg, #cbd5e1, #64748b); }
.sb-icon--files { background: linear-gradient(180deg, #38bdf8, #0284c7); }
.sb-icon--folder { background: linear-gradient(180deg, #94a3b8, #475569); }
.sb-icon--safari { background: linear-gradient(180deg, #60a5fa, #2563eb); font-size: 1.6rem; }
.sb-icon--msg { background: linear-gradient(180deg, #4ade80, #16a34a); }

.sb-icon--gw {
  background: radial-gradient(circle at 30% 25%, #1e3a5f, #050A18 70%);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.35), 0 4px 12px rgba(0,0,0,0.25);
}

.sb-search {
  display: block;
  margin: 22px auto 14px;
  padding: 8px 22px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  backdrop-filter: blur(16px);
  color: rgba(255,255,255,0.92);
  font-family: inherit;
  font-size: 0.8125rem;
  cursor: default;
}

.sb-dock {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 0 auto;
  padding: 14px 28px;
  width: fit-content;
  border-radius: 28px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.18);
}

.sb-dock .sb-app span { display: none; }

.app-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--screen);
}

.app-layer[hidden] { display: none !important; }

.ios-status.is-light { color: #fff; }
.ios-status.is-dark { color: #fff; }

.shot-flash {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.08s;
}

.shot-flash.is-on { opacity: 0.85; }

@media (max-width: 900px) {
  .sim-body { grid-template-columns: 1fr; }
  .sim-side { display: none; }
  .iphone { width: min(375px, 88vw); }
  .iphone__screen { height: min(760px, 72vh); }
  body.sim-desk { justify-content: flex-start; padding-top: 56px; }
}
