/* ============================================
   theviacoder — telefon arayüzü gibi çalışan portfolyo
   Renkler ve tema değişkenleri en üstte.
   ============================================ */

:root {
  --bg: #07070b;
  --fg: #eeedf6;
  --muted: #8a889c;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --accent: #6c63ff;           /* buton zemini — beyaz yazıyla yeterli kontrast */
  --accent-fg: #a39eff;        /* koyu zemin üstünde mor yazı */
  --accent-hover: #7d75ff;
  --accent-rgb: 108, 99, 255;
  --glass: rgba(255, 255, 255, 0.06);
  --screen: #09090d;
  --wall-a: rgba(108, 99, 255, 0.22);
  --wall-b: rgba(80, 170, 255, 0.1);
  --tile: #15151c;
  --body: #c9c8d6;
  --grid-line: rgba(255, 255, 255, 0.035);
  --ease: cubic-bezier(0.2, 0.9, 0.25, 1);
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #ecebf5;
  --fg: #14131c;
  --muted: #5f5d72;
  --line: rgba(20, 18, 50, 0.08);
  --line2: rgba(20, 18, 50, 0.15);
  --accent: #5b52f0;
  --accent-fg: #4a41d8;
  --accent-hover: #6a62ff;
  --glass: rgba(255, 255, 255, 0.6);
  --screen: #f6f5fc;
  --wall-a: rgba(108, 99, 255, 0.2);
  --wall-b: rgba(80, 170, 255, 0.14);
  --tile: #ffffff;
  --body: #3b3a4c;
  --grid-line: rgba(20, 18, 50, 0.045);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-fg); outline-offset: 3px; }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }

/* ---------- Sayfa zemini: ızgara + ışıma + gren ---------- */
.backdrop { position: fixed; inset: 0; pointer-events: none; }
.backdrop::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  opacity: 0.6;
}
.backdrop::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 760px; height: 760px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.16), transparent 60%);
}
.grain {
  position: fixed; inset: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Telefonun dışındaki sabit alanlar (masaüstü) ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 32px;
  pointer-events: none; /* tam genişlik şerit telefonun üstünü örtmesin */
}
.top > * { pointer-events: auto; }
.logo { font-family: "Birthstone", cursive; font-size: 40px; line-height: 1; color: var(--accent-fg); }
.top-actions { display: flex; gap: 10px; align-items: center; }
.pill {
  font-family: var(--mono); font-size: 12px; padding: 9px 14px;
  border: 1px solid var(--line2); border-radius: 999px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.pill:hover { border-color: var(--fg); }
.pill.solid { background: var(--accent); color: #fff; border-color: var(--accent); }
.pill.solid:hover { background: var(--accent-hover); }
.seg { display: flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; }
.seg button {
  font-family: var(--mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line2); border-radius: 50%;
}
.icon-btn:hover { border-color: var(--fg); }
.icon-btn svg { width: 16px; height: 16px; }
[data-theme="dark"] .only-light, [data-theme="light"] .only-dark { display: none; }

.side { position: fixed; bottom: 32px; z-index: 5; }
.side.left { left: 32px; max-width: 300px; }
.side.right { right: 32px; text-align: right; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--accent-fg); text-transform: uppercase;
}
.side h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 10px 0; }
.side p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.hints { font-family: var(--mono); font-size: 11px; color: var(--muted); display: grid; gap: 9px; }
kbd {
  font-family: var(--mono); font-size: 10px; color: var(--fg);
  border: 1px solid var(--line2); border-radius: 5px; padding: 2px 6px; margin-left: 6px;
}

/* ---------- Telefon ---------- */
.stage { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.phone {
  position: relative;
  width: 414px; height: 868px; padding: 12px; border-radius: 62px;
  transform-origin: top left;
  background: linear-gradient(145deg, #1d1d24, #0b0b0f);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 120px -20px rgba(0, 0, 0, 0.9),
    0 0 90px -30px rgba(var(--accent-rgb), 0.45);
}
[data-theme="light"] .phone {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 100px -30px rgba(30, 20, 90, 0.45),
    0 0 90px -30px rgba(var(--accent-rgb), 0.4);
}
/* Fiziksel tuşlar: sağdaki güç tuşu tıklanabilir (kilitle / aç) */
.hw { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2a2a33, #15151b); }
.hw-power { right: -4px; top: 210px; height: 96px; border-radius: 0 3px 3px 0; cursor: pointer; }
.hw-power:active { transform: translateX(-1.5px); }
.hw-vol1 { left: -4px; top: 180px; height: 58px; border-radius: 3px 0 0 3px; }
.hw-vol2 { left: -4px; top: 250px; height: 58px; border-radius: 3px 0 0 3px; }

.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 50px; overflow: hidden; isolation: isolate;
  background: var(--screen);
  transition: background-color 0.4s;
}
.wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 6%, var(--wall-a), transparent 45%),
    radial-gradient(circle at 0% 100%, var(--wall-b), transparent 45%),
    var(--screen);
}
.wall::after, .lock::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(#000, transparent 75%);
  -webkit-mask-image: linear-gradient(#000, transparent 75%);
}
.island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 122px; height: 35px; border-radius: 20px; background: #000; z-index: 80;
  transition: width 0.45s var(--ease);
  pointer-events: none; /* dokunuşlar altındaki durum çubuğuna geçsin */
}
.island.pulse { width: 150px; }
.status {
  position: absolute; top: 0; left: 0; right: 0; height: 54px; z-index: 75;
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 32px 0 42px;
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  cursor: pointer; touch-action: none; user-select: none;
}
.status .sys { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.status .sys svg { width: 25px; height: 12px; }
/* Telefonda durum çubuğu yok; Denetim Merkezi'ni çekmek için görünmez bir şerit */
.pull-zone { display: none; }

/* ---------- Kilit ekranı ---------- */
.lock {
  position: absolute; inset: 0; z-index: 30;
  display: flex; flex-direction: column; align-items: center;
  padding: 96px 18px 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(var(--accent-rgb), 0.2), transparent 55%),
    var(--screen);
  cursor: grab; touch-action: none; user-select: none;
  transition: transform 0.65s var(--ease), background-color 0.4s;
}
.lock:active { cursor: grabbing; }
.lock.gone { transform: translateY(-100%); }
.lock > * { position: relative; }
.lock-date { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.lock-time {
  font-size: 92px; font-weight: 500; letter-spacing: -0.05em; line-height: 1;
  margin-top: 6px; font-variant-numeric: tabular-nums;
}
.lock-id { margin-top: 10px; text-align: center; }
.lock-id b { font-size: 15px; font-weight: 600; }
.lock-id span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.notifs { width: 100%; margin-top: 28px; display: grid; gap: 8px; }
.notif {
  display: flex; gap: 12px; padding: 14px; border-radius: 22px; text-align: left; width: 100%;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  animation: drop 0.7s var(--ease) both;
  transition: transform 0.2s var(--ease);
}
.notif:active { transform: scale(0.98); }
.notif:nth-child(1) { animation-delay: 0.45s; }
.notif:nth-child(2) { animation-delay: 0.7s; }
.n-ic {
  width: 38px; height: 38px; border-radius: 10px; flex: none; overflow: hidden;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
}
.n-logo { font-family: "Birthstone", cursive; font-size: 22px; }
.n-ic img { width: 100%; height: 100%; object-fit: cover; }
.n-body { flex: 1; min-width: 0; }
.n-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.n-meta b { color: var(--fg); font-weight: 500; }
.n-t { font-size: 14px; font-weight: 600; }
.n-d { font-size: 13px; color: var(--muted); line-height: 1.4; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(0.97); } }
.lock-foot {
  position: absolute !important; bottom: 42px; left: 0; right: 0; text-align: center;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.lock-foot .arrow { display: block; font-size: 16px; color: var(--accent-fg); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* ---------- Ana ekran ---------- */
.home {
  position: absolute; inset: 0; z-index: 10; padding-top: 62px;
  transition: transform 0.5s var(--ease), opacity 0.5s;
}
.home.behind { transform: scale(0.92); opacity: 0.3; }
.widget {
  margin: 6px 18px 0; padding: 16px 18px; border-radius: 26px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.widget .row { display: flex; justify-content: space-between; align-items: center; }
.live {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-fg);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-fg); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); }
}
.widget h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-top: 12px; }
.widget p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.gear {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  color: var(--muted); border: 1px solid var(--line);
}
.gear:hover { color: var(--fg); }
.gear svg { width: 15px; height: 15px; }
.label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--muted); text-transform: uppercase; padding: 24px 26px 12px;
}
.grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 20px; padding: 0 14px; }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px;
  -webkit-tap-highlight-color: transparent;
}
.tile .ic {
  width: 62px; height: 62px; border-radius: 17px; overflow: hidden;
  display: grid; place-items: center;
  background: var(--tile); border: 1px solid var(--line2);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.tile:hover .ic { transform: translateY(-2px); border-color: rgba(var(--accent-rgb), 0.6); }
.tile:active .ic { transform: scale(0.9); }
.tile:focus-visible { outline: none; }
.tile:focus-visible .ic { outline: 2px solid var(--accent-fg); outline-offset: 3px; }
.tile .ic img { width: 100%; height: 100%; object-fit: cover; }
.tile .ic svg, .a-icon svg { color: var(--accent-fg); }
.tile .ic svg { width: 26px; height: 26px; }
.tile .nm { max-width: 74px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock {
  position: absolute; left: 12px; right: 12px; bottom: 26px;
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 14px 2px;
  border-radius: 34px; background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.dock .nm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* kilit açılınca ikonlar sırayla belirir */
.home .tile, .home .widget { opacity: 0; transform: scale(0.88) translateY(8px); }
.home.in .tile, .home.in .widget {
  opacity: 1; transform: none;
  transition: opacity 0.5s var(--ease) calc(var(--i, 0) * 30ms + 0.15s),
              transform 0.6s var(--ease) calc(var(--i, 0) * 30ms + 0.15s);
}

/* ---------- Açılan uygulama ---------- */
.app {
  position: absolute; inset: 0; z-index: 40; background: var(--screen);
  visibility: hidden; transform-origin: 50% 85%;
}
.app.open { visibility: visible; }
/* Üst bar zemini: kaydırılan içerik durum çubuğu ve geri butonunun altında kaybolur */
.app::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 104px; z-index: 2;
  pointer-events: none;
  background: linear-gradient(var(--screen) 78%, transparent);
}
.app-scroll {
  position: absolute; inset: 0; overflow-y: auto; outline: none;
  padding: 104px 22px 150px; scrollbar-width: none; overscroll-behavior: contain;
}
.app-scroll::-webkit-scrollbar { display: none; }
.app-back {
  position: absolute; top: 58px; left: 14px; z-index: 3;
  display: flex; align-items: center; gap: 2px;
  font-size: 15px; color: var(--accent-fg); padding: 6px 8px; border-radius: 10px;
}
.app-back svg { width: 18px; height: 18px; }
/* Altta sabit eylem çubuğu — proje linki, CV, e-posta */
.app-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 28px 18px 40px; display: grid; gap: 10px;
  background: linear-gradient(transparent, var(--screen) 32%);
}
.app-bar:empty { display: none; }
/* Sol kenardan geri kaydırma alanı */
.edge { position: absolute; left: 0; top: 0; bottom: 0; width: 22px; z-index: 4; touch-action: none; }
.homebar {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 90;
  width: 200px; height: 30px; display: grid; place-items: center; touch-action: none;
}
.homebar::after { content: ""; width: 134px; height: 5px; border-radius: 3px; background: var(--fg); opacity: 0.55; }

.a-content { animation: rise 0.45s var(--ease) 0.12s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.a-head { display: flex; gap: 16px; align-items: center; }
.a-icon {
  width: 76px; height: 76px; border-radius: 20px; overflow: hidden; flex: none;
  border: 1px solid var(--line2); background: var(--tile); display: grid; place-items: center;
}
.a-icon img { width: 100%; height: 100%; object-fit: cover; }
.a-icon svg { width: 34px; height: 34px; }
.a-name { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.a-cat { font-size: 13px; color: var(--muted); margin-top: 4px; }
.a-badge {
  display: inline-block; margin-top: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-fg); border: 1px solid rgba(var(--accent-rgb), 0.45); padding: 3px 8px; border-radius: 999px;
}
.a-cta {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 15px; border-radius: 16px; background: var(--accent); color: #fff;
  font-weight: 600; font-size: 15px; transition: background 0.2s, transform 0.15s;
  box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), 0.7);
}
.a-cta:hover { background: var(--accent-hover); }
.a-cta:active { transform: scale(0.98); }
.a-cta.ghost { background: var(--glass); color: var(--fg); border: 1px solid var(--line2); box-shadow: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.a-sec { margin-top: 28px; }
.a-sec h3 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: 12px;
}
.a-sec p { font-size: 15px; line-height: 1.6; color: var(--body); }
.a-sec p + p { margin-top: 10px; }
/* Ekran görüntüleri: yana kaydırılan şerit (mağaza sayfası gibi) */
.shots {
  display: flex; gap: 10px; overflow-x: auto; margin: 0 -22px; padding: 0 22px 4px;
  scroll-snap-type: x mandatory; scroll-padding: 0 22px; scrollbar-width: none;
  overscroll-behavior-x: contain; cursor: grab;
}
.shots::-webkit-scrollbar { display: none; }
.shots.dragging { cursor: grabbing; scroll-snap-type: none; }
.shots img {
  flex: none; width: 150px; height: auto; border-radius: 18px; scroll-snap-align: start;
  border: 1px solid var(--line2); background: var(--tile);
  user-select: none; -webkit-user-drag: none;
}
.a-cta.soon {
  background: var(--glass); color: var(--muted); border: 1px dashed var(--line2);
  box-shadow: none; cursor: default; font-family: var(--mono); font-size: 13px; font-weight: 500;
}
.a-cta.soon:hover { background: var(--glass); }
.a-cta.soon:active { transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 11.5px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line2); color: var(--body); }
.rows { border-top: 1px solid var(--line); }
.rows > * {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.rows > * > :first-child { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.rows a:hover > :last-child { color: var(--accent-fg); }
.list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
.list a:first-child { border-top: 1px solid var(--line); }
.list a:hover .lt { color: var(--accent-fg); }
.list .lt { font-size: 15px; font-weight: 500; line-height: 1.35; transition: color 0.2s; }
.list .lm { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 6px; }
.avatar { width: 96px; height: 96px; border-radius: 28px; object-fit: cover; border: 1px solid var(--line2); }
.big { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }

/* ---------- Denetim Merkezi ---------- */
.cc {
  position: absolute; inset: 0; z-index: 70; padding: 64px 16px 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  visibility: hidden; opacity: 0; transform: translateY(-24px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s 0.45s;
  touch-action: none;
}
[data-theme="light"] .cc { background: rgba(255, 255, 255, 0.35); }
.cc.open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-tile {
  border-radius: 24px; padding: 16px; min-height: 108px; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  background: var(--glass); border: 1px solid var(--line2);
  transition: transform 0.15s, background 0.2s;
}
.cc-tile:active { transform: scale(0.96); }
.cc-tile.wide { grid-column: span 2; min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; }
.cc-tile .t { font-size: 13px; font-weight: 600; }
.cc-tile .s { font-size: 12px; color: var(--muted); }
.cc-ic {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff;
}
.cc-ic svg { width: 18px; height: 18px; }
.cc .seg { align-self: flex-start; }
.cc-hint { margin-top: 18px; text-align: center; font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- JS kapalıysa: içerik düz sayfa olarak görünür ---------- */
.pages { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .side { display: none; } }
@media (max-width: 760px) { .top-actions .pill:not(.solid) { display: none; } }

/* Gerçek telefonda çerçeve yok: site, işletim sisteminin kendisi olur */
@media (max-width: 600px) {
  .top, .side, .backdrop, .island, .status, .hw { display: none; }
  .pull-zone { display: block; position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 75; touch-action: none; }
  .stage { left: 0; top: 0; right: 0; bottom: 0; transform: none; }
  .phone { width: 100%; height: 100%; padding: 0; border-radius: 0; box-shadow: none !important; background: none; }
  .screen { border-radius: 0; }
  .lock { padding-top: calc(64px + env(safe-area-inset-top)); }
  .home { padding-top: calc(14px + env(safe-area-inset-top)); }
  .app-scroll { padding-top: calc(60px + env(safe-area-inset-top)); }
  .app-back { top: calc(12px + env(safe-area-inset-top)); }
  .app::before { height: calc(56px + env(safe-area-inset-top)); }
  .cc { padding-top: calc(24px + env(safe-area-inset-top)); }
  .dock { bottom: calc(22px + env(safe-area-inset-bottom)); }
  .app-bar { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
