/*
 * Portfolio phone shell: the same treatment as the Cox / Meta prototypes (PhoneFrame.css).
 * Outer shell 403×842 · screen 375×812 · Dynamic Island · status bar · home indicator.
 * SOLO-specific: the app runs in a frame between a 54px status band and a 34px home-indicator
 * band (iPhone safe areas). shell.js tints both bands to match the app's own top and bottom.
 */
:root {
  --shell-w: 403px;
  --shell-h: 842px;
  --device-w: 375px;
  --device-h: 812px;
  --status-h: 54px;
  --home-h: 34px;
  --phone-scale: 1;
  --band-top: #f6f2e9;
  --band-bottom: #f6f2e9;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

.stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.phone-fit {
  width: calc(var(--shell-w) * var(--phone-scale));
  height: calc(var(--shell-h) * var(--phone-scale));
  position: relative;
}

.phone {
  width: var(--shell-w);
  height: var(--shell-h);
  box-sizing: border-box;
  padding: 14px 14px 16px;
  border-radius: 48px;
  background: linear-gradient(165deg, #6a6a6e 0%, #2a2a2e 18%, #121214 55%, #050506 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 0 0 7px #050506;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(var(--phone-scale));
  transform-origin: top left;
}

.phone__hardware {
  position: absolute;
  width: 3px;
  background: linear-gradient(#4a4a4e, #1a1a1c);
  border-radius: 2px;
  pointer-events: none;
}
.phone__hardware--silent { left: -2px; top: 108px; height: 26px; }
.phone__hardware--volume-up { left: -2px; top: 154px; height: 52px; }
.phone__hardware--volume-down { left: -2px; top: 216px; height: 52px; }
.phone__hardware--power { right: -2px; top: 176px; height: 78px; }

.phone__device {
  width: var(--device-w);
  height: var(--device-h);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--band-top);
}

.phone__band {
  flex: none;
  position: relative;
  transition: background-color 150ms ease;
}
.phone__band--top { height: var(--status-h); background: var(--band-top); }
.phone__band--bottom { height: var(--home-h); background: var(--band-bottom); }

.phone__status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 18px 6px;
  box-sizing: border-box;
  pointer-events: none;
}

.phone__time {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.3px;
  line-height: 22px;
  color: #000;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.phone__levels {
  width: 85px;
  height: 13px;
  margin-bottom: 4px;
  display: block;
  object-fit: contain;
}

.phone__island {
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  width: 108px;
  height: 30px;
  margin-inline: auto;
  border-radius: 15px;
  background: #000;
  pointer-events: none;
}

.phone__app {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  display: block;
  background: var(--band-top);
}

.home-indicator {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  border-radius: 999px;
  background: #000;
  pointer-events: none;
}

.noscript {
  font: 14px/1.4 -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
}
