/* Avenor — phones.css
 * Pixel-faithful iPhone mockups for the marketing site.
 * Mirrors the real app screens (see /uploads/simulator_*.png).
 *
 * One bezel, multiple screens (Command/Tasks/Notes/Goals/Calendar),
 * four themes (Stark Dark / Stark Light / Calm Earth / Liquid Glass).
 */

/* ─── Phone bezel ────────────────────────────────────────────────── */
.phone {
  position: relative;
  width: 320px; height: 680px;
  background: #060608;
  border-radius: 48px;
  padding: 14px;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  flex-shrink: 0;
}
.phone.sm  { width: 180px; height: 380px; border-radius: 28px; padding: 8px; }
.phone.md  { width: 240px; height: 510px; border-radius: 36px; padding: 10px; }
.phone.lg  { width: 360px; height: 760px; border-radius: 52px; padding: 16px; }

.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--p-canvas, var(--canvas));
  color: var(--p-fg, var(--fg));
  border-radius: 36px;
  overflow: hidden;
  text-align: left;
}
.phone.sm .phone-screen { border-radius: 22px; }
.phone.md .phone-screen { border-radius: 28px; }
.phone.lg .phone-screen { border-radius: 40px; }

/* Dynamic island */
.island {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 30px;
  border-radius: 16px;
  background: #000;
  z-index: 6;
}
.phone.sm .island { width: 60px; height: 18px; top: 8px; }
.phone.md .island { width: 84px; height: 22px; top: 10px; }

/* Status bar */
.status {
  position: absolute;
  top: 20px; left: 26px; right: 26px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  color: var(--p-fg, var(--fg));
  z-index: 5;
  pointer-events: none;
}
.phone.sm .status { font-size: 9px; top: 12px; left: 14px; right: 14px; }
.phone.md .status { font-size: 11px; top: 16px; left: 18px; right: 18px; }
.status-r { display: flex; align-items: center; gap: 5px; }
.icn-signal {
  width: 17px; height: 10px;
  background: currentColor;
  clip-path: polygon(0 100%, 25% 100%, 25% 75%, 50% 75%, 50% 45%, 75% 45%, 75% 15%, 100% 15%, 100% 100%);
}
.icn-wifi {
  width: 15px; height: 10px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 38%, 80% 50%, 50% 30%, 20% 50%, 0 38%);
}
.icn-batt {
  width: 24px; height: 11px;
  border: 1px solid currentColor;
  border-radius: 3px;
  position: relative;
  opacity: 0.85;
}
.icn-batt::before {
  content: '';
  position: absolute; inset: 1.5px;
  background: currentColor;
  border-radius: 1.5px;
}
.icn-batt::after {
  content: '';
  position: absolute; right: -3px; top: 3px;
  width: 1.5px; height: 5px;
  background: currentColor;
  opacity: 0.5;
  border-radius: 0 1px 1px 0;
}
.phone.sm .icn-signal, .phone.sm .icn-wifi { width: 11px; height: 7px; }
.phone.sm .icn-batt { width: 16px; height: 8px; }

/* Home indicator */
.home-bar {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 4px;
  background: var(--p-fg, rgba(255,255,255,0.4));
  opacity: 0.4;
  border-radius: 999px;
  z-index: 6;
}
.phone.sm .home-bar { width: 60px; height: 3px; bottom: 5px; }

/* ─── Screen content shell ───────────────────────────────────────── */
.scr {
  position: relative;
  height: 100%;
  padding: 54px 18px 90px;
  overflow: hidden;
}
.phone.sm .scr { padding: 32px 12px 56px; }
.phone.md .scr { padding: 42px 14px 76px; }

/* Page header on Command — big uppercase bold */
.scr-cmd-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--p-fg, var(--fg));
  text-transform: uppercase;
  margin: 8px 0 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.phone.sm .scr-cmd-title { font-size: 16px; margin: 4px 0 8px; }
.phone.md .scr-cmd-title { font-size: 22px; margin: 4px 0 10px; }
.scr-cmd-title .gear {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--p-card, var(--card));
  border: 1px solid var(--p-hairline, var(--hairline));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--p-fg-2, var(--fg-2));
  font-size: 14px;
  flex-shrink: 0;
}
.phone.sm .scr-cmd-title .gear { width: 18px; height: 18px; font-size: 9px; }
.phone.md .scr-cmd-title .gear { width: 24px; height: 24px; font-size: 11px; }

/* Centered nav title for Tasks/Notes/Goals/Calendar */
.scr-navtitle {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 0 16px;
}
.scr-navtitle .ctr {
  flex: 1; text-align: center;
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 600;
  color: var(--p-fg, var(--fg));
}
.phone.sm .scr-navtitle .ctr { font-size: 11px; }
.phone.md .scr-navtitle .ctr { font-size: 14px; }
.scr-navtitle .btn-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--p-card, var(--card));
  border: 1px solid var(--p-hairline, var(--hairline));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--p-fg-2, var(--fg-2));
  font-size: 14px;
}
.phone.sm .scr-navtitle .btn-circle { width: 18px; height: 18px; font-size: 10px; }
.phone.md .scr-navtitle .btn-circle { width: 24px; height: 24px; font-size: 12px; }

/* Sentence-case big page title (Today/Notes/Goals) */
.scr-bigtitle {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--p-fg, var(--fg));
  margin: 18px 0 2px;
}
.phone.sm .scr-bigtitle { font-size: 18px; margin: 8px 0 1px; }
.phone.md .scr-bigtitle { font-size: 24px; margin: 12px 0 2px; }

/* Meta strip (date + status) */
.scr-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-fg-3, var(--fg-3));
  margin-bottom: 16px;
}
.phone.sm .scr-meta { font-size: 7px; margin-bottom: 10px; letter-spacing: 0.10em; }
.phone.md .scr-meta { font-size: 9px; margin-bottom: 12px; }

/* Capture bar inside the phone */
.scr-capture {
  background: var(--p-field, var(--field));
  border: 1px solid var(--p-hairline, var(--hairline));
  border-radius: 12px;
  padding: 14px 14px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--p-fg, var(--fg));
  margin-bottom: 22px;
  white-space: nowrap;
  overflow: hidden;
}
.phone.sm .scr-capture { padding: 8px 8px; font-size: 8px; gap: 5px; margin-bottom: 12px; border-radius: 8px; }
.phone.md .scr-capture { padding: 10px 10px; font-size: 10px; gap: 6px; margin-bottom: 14px; }
.scr-capture .prompt { color: var(--p-fg-2, var(--fg-2)); font-weight: 600; }
.scr-capture .ph { color: var(--p-fg-4, var(--fg-4)); text-transform: uppercase; letter-spacing: 0.16em; }
.scr-capture .caret {
  display: inline-block;
  width: 2px; height: 14px;
  background: var(--p-fg, var(--fg));
  margin-left: 1px;
  vertical-align: middle;
  animation: caret 1.05s steps(1) infinite;
}
.phone.sm .scr-capture .caret { height: 8px; }

/* Section label — uppercase mono, with optional count dot */
.scr-section {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-fg, var(--fg));
  margin: 18px 0 12px;
  display: flex; align-items: center; gap: 8px;
}
.phone.sm .scr-section { font-size: 7px; margin: 10px 0 6px; gap: 4px; }
.phone.md .scr-section { font-size: 8px; margin: 12px 0 8px; gap: 5px; }
.scr-section .sep { color: var(--p-fg-3, var(--fg-3)); }
.scr-section .cnt { color: var(--p-fg-3, var(--fg-3)); }
.scr-section.first { margin-top: 4px; }

/* Empty-state two-line block */
.scr-empty {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--p-fg-2, var(--fg-2));
  line-height: 1.4;
}
.scr-empty .l2 { color: var(--p-fg-3, var(--fg-3)); display: block; }
.phone.sm .scr-empty { font-size: 7px; }
.phone.md .scr-empty { font-size: 9px; }

/* Task/goal/note row — left rail, content, optional chevron */
.scr-item {
  position: relative;
  padding: 14px 14px 14px 24px;
  border-bottom: 1px solid var(--p-hairline, var(--hairline));
}
.scr-item:last-child { border-bottom: none; }
.phone.sm .scr-item { padding: 7px 8px 7px 14px; }
.phone.md .scr-item { padding: 10px 10px 10px 18px; }
.scr-item .rail {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c);
}
.scr-item .row-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-fg-3, var(--fg-3));
  margin-bottom: 6px;
  display: flex; gap: 8px; align-items: center;
}
.phone.sm .scr-item .row-meta { font-size: 6px; margin-bottom: 3px; gap: 4px; }
.phone.md .scr-item .row-meta { font-size: 8px; margin-bottom: 4px; gap: 5px; }
.scr-item .row-meta .sep { color: var(--p-fg-4, var(--fg-4)); }
.scr-item .row-meta .pct {
  margin-left: auto;
  color: var(--p-fg, var(--fg));
  font-weight: 700;
}
.scr-item .row-main {
  display: flex; align-items: center; gap: 10px;
}
.phone.sm .scr-item .row-main { gap: 5px; }
.scr-item .row-title {
  flex: 1;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  color: var(--p-fg, var(--fg));
  line-height: 1.3;
}
.phone.sm .scr-item .row-title { font-size: 9px; }
.phone.md .scr-item .row-title { font-size: 12px; }
.scr-item .check {
  width: 20px; height: 20px;
  border: 1.5px solid var(--p-hairline-2, var(--hairline-2));
  border-radius: 4px;
  flex-shrink: 0;
}
.phone.sm .scr-item .check { width: 11px; height: 11px; border-radius: 2px; border-width: 1px; }
.phone.md .scr-item .check { width: 14px; height: 14px; }
.scr-item .check.done {
  background: var(--p-fg, var(--fg));
  border-color: var(--p-fg, var(--fg));
  position: relative;
}
.scr-item .chev {
  color: var(--p-fg-3, var(--fg-3));
  font-size: 12px;
  flex-shrink: 0;
}
.phone.sm .scr-item .chev { font-size: 7px; }
.scr-item .progress {
  margin-top: 8px;
  height: 2px;
  background: var(--p-hairline, var(--hairline));
  border-radius: 999px;
  overflow: hidden;
}
.scr-item .progress > div {
  height: 100%;
  background: var(--c);
  border-radius: 999px;
}
.phone.sm .scr-item .progress { margin-top: 4px; height: 1.5px; }

/* Search bar (Tasks/Notes/Goals) */
.scr-search {
  background: var(--p-card, var(--card));
  border: 1px solid var(--p-hairline, var(--hairline));
  border-radius: 999px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  color: var(--p-fg-3, var(--fg-3));
  font-size: 14px;
  margin-bottom: 16px;
}
.phone.sm .scr-search { padding: 7px 9px; font-size: 8px; gap: 5px; margin-bottom: 10px; border-radius: 999px; }
.phone.md .scr-search { padding: 9px 12px; font-size: 11px; gap: 7px; margin-bottom: 12px; }
.scr-search .mag {
  width: 14px; height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.scr-search .mag::after {
  content: '';
  position: absolute; right: -4px; bottom: -3px;
  width: 5px; height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 1px;
}
.phone.sm .scr-search .mag { width: 8px; height: 8px; border-width: 1px; }
.phone.sm .scr-search .mag::after { width: 3px; right: -2px; bottom: -2px; }

/* Tasks: 3-stat row */
.scr-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--p-hairline, var(--hairline));
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.phone.sm .scr-stats { gap: 6px; padding-bottom: 7px; margin-bottom: 8px; }
.scr-stats .stat .n {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--p-fg, var(--fg));
  line-height: 1;
  margin-bottom: 4px;
}
.phone.sm .scr-stats .stat .n { font-size: 14px; }
.phone.md .scr-stats .stat .n { font-size: 18px; }
.scr-stats .stat .lab {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-fg-3, var(--fg-3));
}
.phone.sm .scr-stats .stat .lab { font-size: 6px; }
.phone.md .scr-stats .stat .lab { font-size: 8px; }

/* Filter pill */
.scr-rowfilt {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.phone.sm .scr-rowfilt { margin-bottom: 7px; }
.scr-rowfilt .ll {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-fg, var(--fg));
}
.phone.sm .scr-rowfilt .ll { font-size: 6px; }
.scr-rowfilt .ll .small {
  display: block;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--p-fg-3, var(--fg-3));
  margin-top: 2px;
}
.phone.sm .scr-rowfilt .ll .small { font-size: 7px; }
.scr-rowfilt .pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-fg, var(--fg));
  background: var(--p-card, var(--card));
  border: 1px solid var(--p-hairline, var(--hairline));
  border-radius: 999px;
  padding: 6px 12px;
}
.phone.sm .scr-rowfilt .pill { font-size: 6px; padding: 3px 7px; }

/* Notes editor preview */
.scr-noteblock {
  border-bottom: 1px solid var(--p-hairline, var(--hairline));
  padding: 14px 0 18px;
}
.phone.sm .scr-noteblock { padding: 7px 0 9px; }
.scr-noteblock .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-fg-3, var(--fg-3));
  margin-bottom: 8px;
}
.phone.sm .scr-noteblock .meta { font-size: 6px; margin-bottom: 4px; }
.scr-noteblock .title {
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 700;
  color: var(--p-fg, var(--fg));
  margin-bottom: 12px;
}
.phone.sm .scr-noteblock .title { font-size: 10px; margin-bottom: 7px; }
.scr-noteblock .body-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-fg-3, var(--fg-3));
  margin-bottom: 8px;
}
.phone.sm .scr-noteblock .body-lbl { font-size: 6px; margin-bottom: 4px; }
.scr-noteblock .editor {
  background: var(--p-card, var(--card));
  border: 1px solid var(--p-hairline, var(--hairline));
  border-radius: 10px;
  padding: 12px;
  font-size: 11px;
  color: var(--p-fg-3, var(--fg-3));
  font-style: italic;
  min-height: 100px;
}
.phone.sm .scr-noteblock .editor { padding: 6px; font-size: 6px; min-height: 50px; border-radius: 6px; }

/* Calendar mini */
.scr-cal {
  background: var(--p-card, var(--card));
  border: 1px solid var(--p-hairline, var(--hairline));
  border-radius: 16px;
  padding: 18px 14px;
  margin-bottom: 18px;
}
.phone.sm .scr-cal { padding: 10px 8px; border-radius: 10px; margin-bottom: 8px; }
.phone.md .scr-cal { padding: 12px 10px; border-radius: 12px; margin-bottom: 12px; }
.scr-cal .cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.phone.sm .scr-cal .cal-head { margin-bottom: 8px; }
.scr-cal .cal-head .nav-arrow {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--p-card-2, var(--card-2));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--p-fg-2, var(--fg-2));
  font-size: 10px;
}
.phone.sm .scr-cal .cal-head .nav-arrow { width: 14px; height: 14px; font-size: 7px; }
.scr-cal .cal-head .month {
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 600;
  color: var(--p-fg, var(--fg));
}
.phone.sm .scr-cal .cal-head .month { font-size: 9px; }
.phone.md .scr-cal .cal-head .month { font-size: 12px; }
.scr-cal .dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--p-fg-3, var(--fg-3));
  text-align: center;
  margin-bottom: 8px;
}
.phone.sm .scr-cal .dow { font-size: 5px; gap: 2px; margin-bottom: 4px; }
.scr-cal .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  color: var(--p-fg, var(--fg));
  text-align: center;
}
.phone.sm .scr-cal .days { font-size: 7px; gap: 1px; }
.scr-cal .day {
  aspect-ratio: 1;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  border-radius: 6px;
  border: 1px solid transparent;
}
.scr-cal .day.dim { color: var(--p-fg-3, var(--fg-3)); }
.scr-cal .day.sel { border-color: var(--p-hairline-2, var(--hairline-2)); }
.scr-cal .day .dots {
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 2px;
}
.scr-cal .day .dots span {
  width: 3px; height: 3px;
  border-radius: 999px;
}
.phone.sm .scr-cal .day .dots span { width: 1.5px; height: 1.5px; }

/* Quiet-day footer under calendar */
.scr-cal-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--p-fg-3, var(--fg-3));
  line-height: 1.5;
}
.phone.sm .scr-cal-foot { font-size: 6px; }

/* ─── Tab bar (5 tabs, floating pill) ─────────────────────────────── */
.tabbar {
  position: absolute;
  left: 14px; right: 14px; bottom: 18px;
  height: 56px;
  background: rgba(20,20,23,0.85);
  border: 1px solid var(--p-hairline, var(--hairline));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 4px;
  z-index: 4;
}
.phone.sm .tabbar { left: 6px; right: 6px; bottom: 8px; height: 28px; padding: 2px; }
.phone.md .tabbar { left: 10px; right: 10px; bottom: 12px; height: 42px; padding: 3px; }
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  color: var(--p-fg, var(--fg));
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  border-radius: 999px;
}
.phone.sm .tab { font-size: 6px; gap: 1px; }
.phone.md .tab { font-size: 8px; gap: 1px; }
.tab.active { background: var(--p-card-2, var(--card-2)); }
.tab .ico {
  width: 18px; height: 18px;
  color: currentColor;
}
.phone.sm .tab .ico { width: 10px; height: 10px; }
.phone.md .tab .ico { width: 14px; height: 14px; }

/* ─── Theme variants — set on .phone-screen ───────────────────────── */
.phone-screen.t-dark {
  /* defaults */
}
.phone-screen.t-light {
  --p-canvas:  #F9F9F9;
  --p-card:    #FFFFFF;
  --p-card-2:  #F1F1F1;
  --p-field:   #FFFFFF;
  --p-hairline: rgba(0,0,0,0.10);
  --p-hairline-2: rgba(0,0,0,0.16);
  --p-fg:      #0A0A0C;
  --p-fg-2:    #444444;
  --p-fg-3:    #888888;
  --p-fg-4:    #BBBBBB;
}
.phone-screen.t-light .tabbar { background: rgba(241,241,241,0.85); }
.phone-screen.t-light .island { background: #000; }

.phone-screen.t-earth {
  --p-canvas:  #F4EDDE;
  --p-card:    #FBF5E8;
  --p-card-2:  #EFE5CC;
  --p-field:   #FBF5E8;
  --p-hairline: rgba(94,80,49,0.18);
  --p-hairline-2: rgba(94,80,49,0.30);
  --p-fg:      #3D3621;
  --p-fg-2:    #6E6446;
  --p-fg-3:    #9A8E6A;
  --p-fg-4:    #C8BD9A;
}
.phone-screen.t-earth { font-family: "Iowan Old Style", "Charter", Georgia, serif; }
.phone-screen.t-earth .scr-bigtitle,
.phone-screen.t-earth .scr-cmd-title { font-family: "Iowan Old Style", "Charter", Georgia, serif; }
.phone-screen.t-earth .tabbar { background: rgba(239,229,204,0.85); }

.phone-screen.t-glass {
  --p-canvas:  linear-gradient(135deg, #9480DC 0%, #738CCC 50%, #4D94BD 100%);
  --p-card:    rgba(255,255,255,0.18);
  --p-card-2:  rgba(255,255,255,0.28);
  --p-field:   rgba(255,255,255,0.18);
  --p-hairline: rgba(255,255,255,0.32);
  --p-hairline-2: rgba(255,255,255,0.50);
  --p-fg:      #FFFFFF;
  --p-fg-2:    rgba(255,255,255,0.78);
  --p-fg-3:    rgba(255,255,255,0.55);
  --p-fg-4:    rgba(255,255,255,0.35);
  background: linear-gradient(135deg, #9480DC 0%, #738CCC 50%, #4D94BD 100%);
}
.phone-screen.t-glass .tabbar {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.32);
}
.phone-screen.t-glass .scr-capture,
.phone-screen.t-glass .scr-search,
.phone-screen.t-glass .scr-cal,
.phone-screen.t-glass .gear,
.phone-screen.t-glass .btn-circle {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Crossfade between mockups */
.phone-screen.fading { opacity: 0; transition: opacity 300ms ease; }

/* ─── Specular shimmer for Liquid Glass card on theme page ────────── */
.glass-card {
  position: relative;
  background: linear-gradient(135deg, #9480DC 0%, #738CCC 50%, #4D94BD 100%);
  border-radius: var(--r-card);
  padding: 60px;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg,
    transparent 30%, rgba(255,255,255,0.7) 50%, transparent 70%);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: shimmer 3s linear infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -200% 0; }
}
