:root {
  --f-body:
    -apple-system, "SF Pro Text", system-ui, "Helvetica Neue", sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --f-serif: "Baskerville", "Hoefler Text", Georgia, serif;
  --bg: #05070a;
  --surface: #0e1319;
  --raised: #161d25;
  --ink: #eef3f8;
  --mute: #95a3b3;
  --line: rgba(238, 243, 248, 0.12);
  --acc: #7fb0ff;
  --acc-ink: #05070a;
  --cyan: #5fd3e6;
  --glass: rgba(14, 19, 25, 0.72);
  --glass-line: rgba(238, 243, 248, 0.14);
  --glass-hi: rgba(255, 255, 255, 0.14);
  --rim: rgba(127, 176, 255, 0.95);
  --bloom1: rgba(28, 74, 128, 0.9);
  --bloom2: rgba(12, 32, 60, 0);
  --bloom-rim: rgba(127, 176, 255, 0.3);
  --grid: rgba(238, 243, 248, 0.045);
  --btn-glow:
    0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 28px rgba(127, 176, 255, 0.3);
  --app-bg: #05070a;
  --app-ink: #eef3f8;
  --app-mute: #95a3b3;
  --app-card: #0f151c;
  --app-line: rgba(238, 243, 248, 0.12);
  --app-acc: #eef3f8;
  --app-acc-ink: #05070a;
  --app-user: #1a2430;
  --app-user-ink: #eef3f8;
  --footage: linear-gradient(160deg, #2c3642, #0b0f14);
  --fig: rgba(0, 0, 0, 0.6);
  --frame: linear-gradient(160deg, #2c3642, #121820);
  --cut: repeating-linear-gradient(135deg, #2c3642 0 3px, #121820 3px 6px);
  --cap-hi: #7fb0ff;
  --del: #c8283e;
  --arch: #56657a;
  --ob: #eef3f8;
  --oe: rgba(11, 17, 24, 0);
  --oew: 0;
  --oae: rgba(11, 17, 24, 0.3);
  --oie: #0b1118;
  --om: rgba(11, 17, 24, 0.5);
  --ok: #0b1118;
  --oa: #7fb0ff;
  --ow: #ffffff;
  --os: rgba(127, 176, 255, 0.5);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f7fa;
  --surface: #ffffff;
  --raised: #e9eef4;
  --ink: #0b1118;
  --mute: #56657a;
  --line: rgba(11, 17, 24, 0.12);
  --acc: #2458b8;
  --acc-ink: #ffffff;
  --cyan: #0a6878;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-line: rgba(11, 17, 24, 0.1);
  --glass-hi: rgba(255, 255, 255, 1);
  --rim: rgba(36, 88, 184, 0.8);
  --bloom1: rgba(156, 196, 255, 0.85);
  --bloom2: rgba(220, 236, 255, 0);
  --bloom-rim: rgba(36, 88, 184, 0.18);
  --grid: rgba(11, 17, 24, 0.06);
  --btn-glow:
    0 0 0 1px rgba(11, 17, 24, 0.25), 0 12px 28px -14px rgba(11, 17, 24, 0.6);
  --app-bg: #eef2f7;
  --app-ink: #0b1118;
  --app-mute: #4e5d71;
  --app-card: #ffffff;
  --app-line: rgba(11, 17, 24, 0.12);
  --app-acc: #0b1118;
  --app-acc-ink: #ffffff;
  --app-user: #dce5f0;
  --app-user-ink: #0b1118;
  --footage: linear-gradient(160deg, #8c9bad, #3a4654);
  --fig: rgba(5, 8, 12, 0.5);
  --frame: linear-gradient(160deg, #8c9bad, #3a4654);
  --cut: repeating-linear-gradient(135deg, #8c9bad 0 3px, #3a4654 3px 6px);
  --cap-hi: #bfd8ff;
  --ob: #ffffff;
  --oe: #0b1118;
  --oew: 1.6;
  --oae: #0b1118;
  --oie: #ffffff;
  --om: #0b1118;
  --oa: #2458b8;
  --os: rgba(11, 17, 24, 0.25);
  color-scheme: light;
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  height: 100%;
  background: var(--app-bg);
  color: var(--app-ink);
  overflow-x: hidden;
}
body {
  font: 400 15px/1.35 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
p,
h1,
h2,
h3,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: inherit;
}
input {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
svg {
  display: block;
}
.mono {
  font: 500 10px/1.4 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#app {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--app-bg);
}
@media (min-width: 600px) {
  #app {
    box-shadow: 0 0 0 1px var(--app-line);
  }
}
.scrn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: max(env(safe-area-inset-top), 10px) 16px 0;
  background: var(--app-bg);
}
.shot .scrn {
  padding-top: 54px;
}
.stat {
  display: none;
}
.shot .stat {
  display: flex;
  position: absolute;
  top: 14px;
  left: 34px;
  right: 34px;
  justify-content: space-between;
  font: 600 15px/1 var(--f-body);
  z-index: 20;
  pointer-events: none;
}
.shot .isl {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translate(-50%);
  width: 120px;
  height: 35px;
  border-radius: 999px;
  background: #000;
  z-index: 20;
}
.homebar {
  display: none;
}
.shot .homebar {
  display: block;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translate(-50%);
  width: 138px;
  height: 5px;
  border-radius: 999px;
  background: var(--app-ink);
  opacity: 0.5;
  z-index: 20;
}
.shot .cam ~ .homebar,
.shot .camera .homebar {
  background: #fff;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  flex: none;
  font-weight: 600;
  font-size: 17px;
  gap: 8px;
}
.top .bk {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 72px;
  height: 44px;
  color: var(--app-ink);
  margin-left: -6px;
}
.top .ttl {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.top .ttl small {
  display: block;
  font: 500 11px/1.2 var(--f-body);
  color: var(--app-mute);
}
.top .act {
  min-width: 72px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
.top .lft {
  min-width: 72px;
  display: flex;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: 600 13px/1 var(--f-body);
  padding: 8px 12px;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid var(--app-line);
  background: var(--app-card);
  color: var(--app-ink);
  white-space: nowrap;
  box-shadow: inset 0 1px 0 var(--glass-hi);
  transition: transform 0.08s;
}
.pill:active,
.chip:active,
.big:active {
  transform: scale(0.96);
}
.pill.k {
  background: var(--app-acc);
  color: var(--app-acc-ink);
  border-color: transparent;
}
.pill.m {
  font-family: var(--f-mono);
  letter-spacing: 0.06em;
  font-weight: 500;
  font-size: 11px;
  color: var(--app-mute);
}
.pill.m b {
  color: var(--app-ink);
  font-weight: 600;
}
.pill.m.zero b {
  color: var(--cyan);
}
.pill[disabled] {
  opacity: 0.45;
}
.iconbtn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--app-line);
  background: var(--app-card);
  color: var(--app-ink);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  flex: none;
}
.newc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--app-acc);
  color: var(--app-acc-ink);
  display: grid;
  place-items: center;
  box-shadow: var(--btn-glow);
  flex: none;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--app-card);
  border: 1px solid var(--app-line);
  border-radius: 12px;
  padding: 0 12px;
  flex: none;
  box-shadow: inset 0 1px 0 var(--glass-hi);
  color: var(--app-mute);
  margin-top: 4px;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  height: 38px;
  font-size: 16px;
  color: var(--app-ink);
}
.search input::placeholder {
  color: var(--app-mute);
}
.filters {
  display: flex;
  gap: 6px;
  flex: none;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 10px 16px 4px;
}
.filters::-webkit-scrollbar {
  display: none;
}
.filters button {
  font: 500 13px/1 var(--f-body);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--app-line);
  color: var(--app-mute);
  white-space: nowrap;
  flex: none;
}
.filters button.on {
  background: var(--app-acc);
  color: var(--app-acc-ink);
  border-color: transparent;
  font-weight: 600;
}
.scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
#list {
  margin: 0 -16px;
}
.inbox {
  padding: 0 0 calc(env(safe-area-inset-bottom) + 24px);
}
.row {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}
.swipe {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 150px;
  display: flex;
}
.swipe button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font: 600 12px/1 var(--f-body);
  color: #fff;
}
.swipe .arch {
  background: var(--arch);
}
.swipe .del {
  background: var(--del);
}
.msg {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 16px 11px 14px;
  position: relative;
  background: var(--app-bg);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}
.msg:after {
  content: "";
  position: absolute;
  left: 79px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--app-line);
}
.msg.dragging {
  transition: none;
}
.dotu {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--rim);
  flex: none;
}
.dotu.off {
  visibility: hidden;
}
.av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: none;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--app-line);
  background: var(--app-card);
}
.av svg {
  width: 100%;
  height: 100%;
}
.av.logo svg {
  border-radius: 50%;
}
.av.ori {
  display: grid;
  place-items: center;
}
.av.ori svg {
  width: 40px;
  height: 40px;
}
.av.mono-tile {
  border-radius: 14px;
  display: grid;
  place-items: center;
  font: 700 17px/1 var(--f-body);
  letter-spacing: 0.02em;
  color: var(--app-ink);
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--tint) 55%, transparent),
    color-mix(in srgb, var(--tint) 22%, transparent)
  );
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--tint) 60%, transparent),
    inset 0 1px 0 var(--glass-hi);
}
.tx {
  flex: 1;
  min-width: 0;
}
.l1 {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.l1 b {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.l1 time {
  font-size: 13px;
  color: var(--app-mute);
  flex: none;
}
.l1 time.on {
  color: var(--acc);
}
.l2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}
.l2 p {
  font-size: 14px;
  color: var(--app-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  line-height: 1.3;
}
.l2 p em {
  font-style: normal;
  color: var(--app-ink);
}
.badge {
  font: 600 10px/1 var(--f-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 7px;
  border-radius: 999px;
  border: 1px solid var(--app-line);
  color: var(--app-mute);
  flex: none;
  white-space: nowrap;
}
.badge.script-ready {
  color: var(--acc);
  border-color: var(--acc);
}
.badge.needs-filming {
  color: var(--cyan);
  border-color: var(--cyan);
}
.badge.editing {
  color: var(--app-ink);
  border-color: var(--app-mute);
}
.badge.done {
  color: var(--app-ink);
  background: var(--raised);
  border-color: transparent;
}
.badge.new {
  color: var(--app-mute);
}
.chev {
  color: var(--app-mute);
  opacity: 0.7;
  flex: none;
}
.foot {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px 6px;
  font: 500 10px/1 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--app-mute);
}
.foot button {
  color: var(--acc);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.hint {
  padding: 2px 16px 10px;
  font: 500 10px/1.4 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-mute);
}
.emptyl {
  padding: 40px 24px;
  text-align: center;
  color: var(--app-mute);
}
.hint.sech {
  padding: 18px 16px 6px;
}
.pin {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  flex-direction: column;
  background: var(--app-bg);
  padding-bottom: 6px;
}
.pin:after {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: 100%;
  height: 36px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--app-bg) 0%,
    var(--app-bg) 30%,
    color-mix(in srgb, var(--app-bg) 70%, transparent) 60%,
    transparent 100%
  );
}
.pin + .scroll .thread {
  padding-top: 34px;
}
.stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--footage);
  flex: none;
  box-shadow: inset 0 0 0 1px var(--app-line);
  isolation: isolate;
  aspect-ratio: 16/9;
  margin-top: 4px;
}
.stage .fig,
.thumb .fig {
  position: absolute;
  left: 50%;
  bottom: -28%;
  width: 38%;
  aspect-ratio: 1/1;
  transform: translate(-50%);
  border-radius: 46% 46% 0 0/60% 60% 0 0;
  background: var(--fig);
  transition: transform 0.4s;
}
.stage .fig:before,
.thumb .fig:before {
  content: "";
  position: absolute;
  left: 50%;
  top: -34%;
  width: 34%;
  aspect-ratio: 1/1.15;
  transform: translate(-50%);
  border-radius: 50%;
  background: inherit;
}
.stage.playing .fig {
  animation: sway 2.4s ease-in-out infinite;
}
.stage.playing .lightfx {
  animation: glow 3s ease-in-out infinite;
}
@keyframes sway {
  0%,
  to {
    transform: translate(-50%) rotate(-1.5deg);
  }
  50% {
    transform: translate(-47%) rotate(1.5deg);
  }
}
@keyframes glow {
  0%,
  to {
    opacity: 0.25;
  }
  50% {
    opacity: 0.6;
  }
}
.lightfx {
  position: absolute;
  right: 14%;
  top: 12%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 236, 200, 0.55),
    transparent
  );
  opacity: 0.3;
  pointer-events: none;
}
.stage.bright {
  filter: brightness(1.18) contrast(0.96);
}
.stage .split {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.stage .split i {
  display: block;
}
.stage .split i:last-child {
  background: linear-gradient(160deg, #3b4a5c, #1a2129);
  position: relative;
  box-shadow: inset 1px 0 #ffffff40;
}
.stage .split i:last-child:after {
  content: "";
  position: absolute;
  left: 30%;
  top: 24%;
  width: 40%;
  height: 52%;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #d9e6f5, #8fa3ba);
  opacity: 0.75;
}
.tc {
  position: absolute;
  top: 8px;
  left: 8px;
  font: 500 10px/1 var(--f-mono);
  color: #fff;
  background: #00000080;
  padding: 5px 7px;
  border-radius: 7px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.tc.r {
  left: auto;
  right: 8px;
}
.tc.c {
  left: 50%;
  transform: translate(-50%);
  color: #bfd8ff;
  font-weight: 600;
  letter-spacing: 0.06em;
  box-shadow: 0 0 0 1px #ffffff40;
}
.cap {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 9%;
  text-align: center;
  font: 700 14px/1.25 var(--f-body);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.cap em {
  font-style: normal;
  color: #9cc4ff;
}
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #00000073;
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 3;
  transition: opacity 0.2s;
}
.stage.playing .play {
  opacity: 0;
}
.music {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font: 500 9px/1 var(--f-mono);
  color: #bfd8ff;
  background: #00000080;
  padding: 4px 6px;
  border-radius: 6px;
  z-index: 2;
}
.flash {
  animation: flash 0.6s ease-out;
}
@keyframes flash {
  0% {
    box-shadow:
      inset 0 0 0 1px var(--app-line),
      0 0 0 0 var(--rim);
  }
  40% {
    box-shadow:
      inset 0 0 0 2px var(--acc),
      0 0 22px 2px var(--bloom-rim);
  }
  to {
    box-shadow:
      inset 0 0 0 1px var(--app-line),
      0 0 0 0 transparent;
  }
}
.strip {
  position: relative;
  display: flex;
  gap: 2px;
  height: 30px;
  border-radius: 9px;
  overflow: hidden;
  flex: none;
  box-shadow: inset 0 0 0 1px var(--app-line);
  margin-top: 4px;
}
.strip i {
  display: block;
  background: var(--frame);
  position: relative;
  min-width: 6px;
}
.strip i:after {
  content: attr(data-t);
  position: absolute;
  left: 5px;
  bottom: 4px;
  font: 500 9px/1 var(--f-mono);
  color: #fff;
  opacity: 0.9;
  white-space: nowrap;
}
.strip i.cut {
  background: var(--cut);
  opacity: 0.5;
}
.strip i.cc:after {
  color: #bfd8ff;
}
.strip i.br {
  box-shadow: inset 0 -3px 0 var(--acc);
}
.ph-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #fff;
  box-shadow:
    0 0 6px var(--acc),
    0 0 0 1px #0003;
  transition: left 0.1s linear;
}
.ctl {
  display: flex;
  gap: 6px;
  flex: none;
  align-items: center;
  margin-top: 6px;
}
.ctl .pill {
  padding: 7px 10px;
  min-width: 34px;
  min-height: 32px;
}
.ctl .sp {
  flex: 1;
}
.pinned {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  flex: none;
  border-radius: 16px;
  background: var(--app-card);
  border: 1px solid var(--app-line);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  margin-top: 4px;
  width: 100%;
}
.pinned .th {
  width: 44px;
  height: 58px;
  border-radius: 9px;
  background: var(--frame);
  flex: none;
  position: relative;
  overflow: hidden;
}
.pinned .tx b {
  display: block;
  font-size: 15px;
}
.pinned .tx p {
  font-size: 12px;
  color: var(--app-mute);
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0 12px;
  min-height: 100%;
  justify-content: flex-end;
}
#tscroll {
  -webkit-mask: linear-gradient(transparent, #000 22px);
  mask: linear-gradient(transparent, #000 22px);
}
.thread.start {
  justify-content: flex-start;
}
.thread.start .hero-ori {
  flex: 1;
  justify-content: center;
}
.you {
  align-self: flex-end;
  max-width: 82%;
  background: var(--app-user);
  color: var(--app-user-ink);
  padding: 9px 13px;
  border-radius: 18px 18px 6px;
  font-size: 15px;
  flex: none;
  overflow-wrap: anywhere;
}
.you .att {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.you .shotth {
  width: 56px;
  height: 96px;
  border-radius: 8px;
  background: var(--app-card);
  box-shadow: 0 0 0 1px var(--app-line);
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.you .shotth i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--app-mute);
  opacity: 0.5;
}
.you .shotth i.h {
  height: 12px;
  width: 60%;
  background: var(--acc);
  opacity: 0.8;
  border-radius: 3px;
}
.you .shotth i.s {
  width: 70%;
}
.you .link {
  font: 500 12px/1.3 var(--f-mono);
  text-decoration: underline;
  text-decoration-color: var(--app-line);
}
.ai {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex: none;
  max-width: 96%;
}
.ai .oav {
  flex: none;
  width: 30px;
  height: 30px;
  margin-top: 0;
  display: grid;
  place-items: center;
  position: relative;
}
.ai .oav svg {
  width: 30px;
  height: 30px;
  overflow: visible;
}
.ai .oav .lk {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--acc-ink);
  display: grid;
  place-items: center;
}
.ai .oav .lk svg {
  width: 9px;
  height: 9px;
}
.bub {
  background: var(--app-card);
  border: 1px solid var(--app-line);
  border-radius: 6px 18px 18px;
  padding: 10px 13px;
  font-size: 15px;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 var(--glass-hi);
  flex: 1;
  min-width: 0;
}
.who {
  font: 500 10px/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-mute);
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.who .t {
  margin-left: auto;
  color: var(--acc);
  letter-spacing: 0.04em;
}
.bub b {
  font-weight: 600;
}
.acts {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.acts .pill {
  padding: 8px 12px;
  min-height: 32px;
}
.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 18px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  opacity: 0.4;
  animation: tp 1.2s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes tp {
  50% {
    opacity: 1;
  }
}
.stamp {
  text-align: center;
  font: 500 11px/1 var(--f-body);
  color: var(--app-mute);
  padding: 4px 0;
  flex: none;
}
.sysmsg {
  align-self: center;
  font: 500 10px/1.3 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-mute);
  border: 1px solid var(--app-line);
  border-radius: 999px;
  padding: 6px 10px;
}
.takecard {
  align-self: flex-end;
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--app-user);
  border-radius: 18px 18px 6px;
  padding: 8px 12px 8px 8px;
}
.takecard .th {
  width: 40px;
  height: 54px;
  border-radius: 8px;
  background: var(--frame);
  position: relative;
  overflow: hidden;
}
.takecard b {
  display: block;
  font-size: 14px;
}
.takecard small {
  font-size: 12px;
  color: var(--app-mute);
}
.rc {
  margin-top: 10px;
  border-top: 1px solid var(--app-line);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kl {
  font: 500 10px/1.2 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-mute);
}
.kl .acc {
  color: var(--acc);
}
.brief {
  display: flex;
  gap: 10px;
  align-items: center;
}
.brief .blogo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  box-shadow: inset 0 0 0 1px var(--app-line);
}
.brief .blogo svg {
  width: 100%;
  height: 100%;
}
.brief .blogo.mono-tile {
  display: grid;
  place-items: center;
  font: 700 14px/1 var(--f-body);
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--tint) 55%, transparent),
    color-mix(in srgb, var(--tint) 22%, transparent)
  );
}
.brief b {
  display: block;
  font-size: 15px;
}
.brief p {
  font-size: 13px;
  color: var(--app-mute);
}
.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 13px;
}
.facts dt {
  font: 500 10px/1.6 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-mute);
}
.facts dd {
  margin: 0;
}
ul.dots li {
  font-size: 13px;
  color: var(--app-mute);
  padding-left: 13px;
  position: relative;
  line-height: 1.4;
}
ul.dots li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acc);
}
ul.dots.warn li:before {
  background: var(--cyan);
}
.meta {
  font: 500 10px/1.3 var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--app-mute);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cost {
  margin-left: auto;
  color: var(--acc);
}
.scripts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -13px;
  padding: 2px 13px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.scripts::-webkit-scrollbar {
  display: none;
}
.scr {
  flex: none;
  width: 82%;
  scroll-snap-align: start;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--app-bg);
  text-align: left;
}
.scr.on {
  border-color: var(--acc);
  box-shadow:
    0 0 0 1px var(--acc),
    0 0 18px var(--bloom-rim);
}
.scr .n {
  font: 600 10px/1 var(--f-mono);
  letter-spacing: 0.08em;
  color: var(--acc);
  display: flex;
  justify-content: space-between;
}
.scr .n span {
  color: var(--app-mute);
  font-weight: 500;
}
.scr .hook {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}
.scr p {
  font-size: 13px;
  color: var(--app-mute);
  line-height: 1.35;
}
.dotsn {
  display: flex;
  gap: 5px;
  justify-content: center;
}
.dotsn i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--app-line);
}
.dotsn i.on {
  background: var(--acc);
}
.thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  background: var(--footage);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--app-line);
}
.thumb .fig {
  width: 34%;
  bottom: -30%;
}
.thumb .tc {
  font-size: 9px;
  padding: 4px 6px;
}
.thumb .cap {
  font-size: 12px;
}
.thumb .split {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.thumb .split i:last-child {
  background: linear-gradient(160deg, #3b4a5c, #1a2129);
}
.applied {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 10px/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc);
}
.credit {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  padding: 10px 12px;
  width: 100%;
}
.credit .n {
  font: 700 20px/1 var(--f-body);
  letter-spacing: -0.02em;
}
.credit .n small {
  font: 500 10px/1 var(--f-mono);
  letter-spacing: 0.06em;
  color: var(--app-mute);
  margin-left: 4px;
}
.credit .pr {
  margin-left: auto;
  font-weight: 600;
  font-size: 14px;
}
.credit.on {
  border-color: var(--acc);
  box-shadow: 0 0 0 1px var(--acc);
}
.best {
  font: 600 9px/1 var(--f-mono);
  letter-spacing: 0.06em;
  color: var(--acc-ink);
  background: var(--acc);
  padding: 3px 6px;
  border-radius: 999px;
  text-transform: uppercase;
}
.lockline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--app-mute);
}
.lockline svg {
  color: var(--acc);
}
.broke {
  display: flex;
  gap: 12px;
  align-items: center;
}
.broke svg {
  width: 64px;
  height: 64px;
  flex: none;
  overflow: visible;
}
.dock {
  flex: none;
  padding-bottom: max(env(safe-area-inset-bottom), 10px);
  background: var(--app-bg);
}
.shot .dock {
  padding-bottom: 30px;
}
.quick {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 16px 0;
  margin: 0 -16px;
  -webkit-overflow-scrolling: touch;
}
.quick::-webkit-scrollbar {
  display: none;
}
.chip {
  font: 500 13px/1 var(--f-body);
  color: var(--app-ink);
  border: 1px solid var(--app-line);
  border-radius: 999px;
  padding: 10px 12px;
  white-space: nowrap;
  background: var(--app-card);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.08s;
}
.chip.b {
  color: var(--acc);
  border-color: var(--acc);
}
.chip.lk {
  color: var(--app-mute);
}
.compose {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--app-card);
  border: 1px solid var(--app-line);
  border-radius: 999px;
  padding: 5px 5px 5px 6px;
  box-shadow: inset 0 1px 0 var(--glass-hi);
  margin: 8px 0 0;
}
.compose input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-size: 16px;
  height: 34px;
  color: var(--app-ink);
}
.compose input::placeholder {
  color: var(--app-mute);
}
.compose .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--app-mute);
  flex: none;
  border: 1px solid var(--app-line);
}
.compose .ic.plus {
  border-color: transparent;
  color: var(--app-ink);
}
.compose .send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--app-acc);
  color: var(--app-acc-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 0 10px var(--rim);
  flex: none;
}
.hero-ori {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px 0 8px;
}
.hero-ori svg {
  width: 150px;
  height: 150px;
  overflow: visible;
}
.hero-ori p {
  font: 600 17px/1.2 var(--f-body);
  letter-spacing: -0.01em;
}
.serif {
  font-style: italic;
  font-family: var(--f-serif);
  font-weight: 400;
  color: var(--acc);
}
.dim {
  position: absolute;
  inset: 0;
  background: #00000073;
  z-index: 30;
  animation: fade 0.2s;
}
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px 24px 0 0;
  padding: 10px 16px calc(env(safe-area-inset-bottom) + 20px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 31;
  background: var(--app-card);
  border-top: 1px solid var(--glass-line);
  box-shadow:
    0 -20px 60px #00000059,
    inset 0 1px 0 var(--glass-hi);
  animation: up 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 88%;
  overflow-y: auto;
}
.shot .sheet {
  padding-bottom: 34px;
}
@keyframes up {
  0% {
    transform: translateY(100%);
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }
}
.grab {
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: var(--app-line);
  margin: 0 auto 2px;
  flex: none;
}
.sheet h3 {
  font: 700 20px/1.15 var(--f-body);
  letter-spacing: -0.02em;
}
.sheet p {
  font-size: 14px;
  color: var(--app-mute);
}
.sheet .row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.attach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.attach button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font: 500 12px/1.1 var(--f-body);
  color: var(--app-ink);
  text-align: center;
}
.attach button i {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--raised);
  border: 1px solid var(--app-line);
  display: grid;
  place-items: center;
  color: var(--acc);
}
.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  padding: 12px 13px;
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  text-align: left;
}
.opt small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--app-mute);
}
.opt .r {
  margin-left: auto;
  font: 500 10px/1 var(--f-mono);
  color: var(--app-mute);
  letter-spacing: 0.06em;
  display: flex;
  gap: 4px;
  align-items: center;
}
.opt.on {
  border-color: var(--acc);
  box-shadow: 0 0 0 1px var(--acc);
}
.opt[aria-disabled="true"] {
  opacity: 0.6;
}
.big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--app-acc);
  color: var(--app-acc-ink);
  border-radius: 999px;
  padding: 15px 20px;
  font-weight: 600;
  font-size: 16px;
  flex: none;
  box-shadow: var(--btn-glow);
  width: 100%;
  transition: transform 0.08s;
}
.big.g {
  background: var(--app-card);
  color: var(--app-ink);
  border: 1px solid var(--app-line);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.prog {
  height: 6px;
  border-radius: 999px;
  background: var(--raised);
  overflow: hidden;
}
.prog i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--acc), var(--cyan));
  border-radius: inherit;
  transition: width 0.1s linear;
}
.done-ori {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 6px 0;
}
.done-ori svg {
  width: 120px;
  height: 120px;
  overflow: visible;
}
.perks li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  padding: 4px 0;
}
.perks li svg {
  color: var(--acc);
}
.seg {
  display: flex;
  border: 1px solid var(--app-line);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}
.seg button {
  flex: 1;
  text-align: center;
  font: 500 13px/1 var(--f-body);
  padding: 9px 8px;
  border-radius: 999px;
  color: var(--app-mute);
  white-space: nowrap;
}
.seg button.on {
  background: var(--app-acc);
  color: var(--app-acc-ink);
  font-weight: 600;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper output {
  min-width: 40px;
  text-align: center;
  font: 700 20px/1 var(--f-body);
}
.toast {
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(max(env(safe-area-inset-top), 10px) + 50px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 10px 40px #0000004d,
    inset 0 1px 0 var(--glass-hi);
  font-size: 14px;
  animation: down 0.22s;
}
.shot .toast {
  top: 100px;
}
@keyframes down {
  0% {
    transform: translateY(-12px);
    opacity: 0;
  }
}
.toast span {
  flex: 1;
}
.toast button {
  color: var(--acc);
  font-weight: 600;
}
.camera {
  padding: 0;
  color: #fff;
  background: #0b0f14;
}
.cam {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2c3642, #0b0f14);
  overflow: hidden;
}
.cam .fig {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 92%;
  aspect-ratio: 1/1;
  transform: translate(-50%);
  border-radius: 46% 46% 0 0/60% 60% 0 0;
  background: #0009;
}
.cam .fig:before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  width: 32%;
  aspect-ratio: 1/1.15;
  transform: translate(-50%);
  border-radius: 50%;
  background: inherit;
}
.cam:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.6),
    transparent 28%,
    transparent 42%,
    rgba(0, 0, 0, 0.78) 72%
  );
}
.recording .cam .fig {
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    transform: translate(-50%) scale(1.015);
  }
}
.hud {
  position: absolute;
  top: calc(max(env(safe-area-inset-top), 10px) + 6px);
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 500 11px/1 var(--f-mono);
  letter-spacing: 0.06em;
  z-index: 3;
  gap: 6px;
}
.shot .hud {
  top: 58px;
}
.hud span {
  background: #00000080;
  padding: 8px 10px;
  border-radius: 9px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  white-space: nowrap;
}
.hud .recd:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa8b8;
}
.recording .hud .recd:before {
  background: #ff4d5e;
  box-shadow: 0 0 8px #ff4d5e;
}
.hud .pace {
  color: #9cc4ff;
}
.hud2 {
  position: absolute;
  top: calc(max(env(safe-area-inset-top), 10px) + 48px);
  left: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 3;
  align-items: center;
}
.hud2 .sp {
  flex: 1;
}
.shot .hud2 {
  top: 98px;
}
.hud2 button {
  background: #00000080;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 999px;
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  font: 600 13px/1 var(--f-body);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hud2 .lbl {
  font: 500 10px/34px var(--f-mono);
  letter-spacing: 0.08em;
  color: #ffffffbf;
  padding: 0 2px;
}
.read {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 36%;
  height: 1px;
  background: #7fb0ff;
  box-shadow: 0 0 10px #7fb0fff2;
  z-index: 3;
}
.read:after {
  content: "READ LINE";
  position: absolute;
  right: 0;
  top: -16px;
  font: 500 9px/1 var(--f-mono);
  letter-spacing: 0.1em;
  color: #9cc4ff;
}
.linesw {
  position: absolute;
  inset: 37.5% 8% 25%;
  overflow: hidden;
  z-index: 3;
  -webkit-mask: linear-gradient(#000 70%, transparent);
  mask: linear-gradient(#000 70%, transparent);
}
.lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 600 var(--psize, 21px)/1.28 var(--f-body);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lines p {
  opacity: 0.45;
  transition: opacity 0.3s;
}
.lines p.now {
  opacity: 1;
}
.lines p.now em {
  font-style: normal;
  color: #9cc4ff;
}
.camctl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom) + 64px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  z-index: 3;
}
.shot .camctl {
  bottom: 78px;
}
.camctl .pl {
  font: 500 14px/1 var(--f-body);
  background: #00000080;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 15px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  min-width: 78px;
  text-align: center;
}
.camctl .rec {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #fff;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 1px #fff3,
    0 0 24px #7fb0fff2;
}
.camctl .rec i {
  display: block;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: #ff4d5e;
  transition: all 0.2s;
}
.recording .camctl .rec i {
  border-radius: 20%;
  width: 34%;
  height: 34%;
}
.camhint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom) + 30px);
  text-align: center;
  font: 500 10px/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fffc;
  z-index: 3;
}
.shot .camhint {
  bottom: 44px;
}
.landing {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  -webkit-overflow-scrolling: touch;
}
.landing:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1100px;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, var(--grid) 0 1px, transparent 1px 64px);
  -webkit-mask: linear-gradient(#000 40%, transparent);
  mask: linear-gradient(#000 40%, transparent);
}
.lwrap {
  position: relative;
  padding: max(env(safe-area-inset-top), 12px) 16px
    calc(env(safe-area-inset-bottom) + 40px);
}
.shot .lwrap {
  padding-top: 54px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    0 0 0 1px var(--bloom-rim);
}
.wm {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 700 17px/1 var(--f-body);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.wm i {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 19px;
  color: var(--acc);
}
.wm svg {
  width: 22px;
  height: 22px;
  color: var(--ink);
}
.nav .sp {
  flex: 1;
}
.tg {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 500 10px/1 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.tg i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--rim);
}
.nav .cta {
  font: 600 13px/1 var(--f-body);
  background: var(--app-acc);
  color: var(--app-acc-ink);
  padding: 10px 13px;
  border-radius: 999px;
  box-shadow: var(--btn-glow);
}
.lhero {
  text-align: center;
  padding-top: 16px;
}
.bloom {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
}
.bloom:before {
  content: "";
  position: absolute;
  width: 150%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--bloom1), var(--bloom2));
  filter: blur(28px);
}
.bloom svg {
  position: relative;
  width: 190px;
  height: 190px;
  overflow: visible;
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(-6px);
  }
}
.lhero h1 {
  font: 800 56px/1 var(--f-body);
  letter-spacing: -0.045em;
  margin-top: 6px;
}
.lhero .spoken {
  display: block;
  font: italic 400 34px/1.1 var(--f-serif);
  color: var(--acc);
  letter-spacing: -0.01em;
  margin-top: 6px;
}
.lede {
  font-size: 16px;
  line-height: 1.5;
  color: var(--mute);
  margin: 16px auto 0;
  max-width: 30em;
}
.lbtns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.notice {
  margin-top: 14px;
  font: 500 10px/1.5 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.feat {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tile {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  padding: 16px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    0 0 0 1px var(--bloom-rim);
}
.tile .head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tile .head svg {
  width: 46px;
  height: 46px;
  overflow: visible;
  flex: none;
}
.tile h2 {
  font: 700 20px/1.1 var(--f-body);
  letter-spacing: -0.02em;
}
.tile p {
  color: var(--mute);
  font-size: 14px;
  margin-top: 6px;
}
.tile .fact {
  margin-top: 10px;
  font: 700 26px/1 var(--f-body);
  letter-spacing: -0.03em;
}
.tile .fact small {
  font: 500 10px/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-left: 8px;
}
.name {
  margin-top: 30px;
  text-align: center;
}
.name h2 {
  font: 800 34px/1.05 var(--f-body);
  letter-spacing: -0.03em;
}
.name h2 em {
  font: italic 400 34px/1.05 var(--f-serif);
  color: var(--acc);
}
.lfoot {
  margin-top: 28px;
  text-align: center;
  font: 500 10px/1.6 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =====================================================================
   v2: iOS Messages patterns, glass, true-black dark
   ===================================================================== */
:root {
  --bg: #000;
  --app-bg: #000;
  --ibg: #000;
  --app-card: #0c1015;
  --raised: #141a21;
  --surface: #0c1015;
  --gl-bg: rgba(30, 34, 40, 0.62);
  --gl-line: rgba(255, 255, 255, 0.12);
  --gl-hi: rgba(255, 255, 255, 0.16);
  --gl-ink: #eef3f8;
  --menu-bg: rgba(30, 36, 44, 0.72);
  --menu-hov: rgba(255, 255, 255, 0.08);
  --ring: #5fd3e6;
  --rec: #e5243b;
  --rowline: rgba(238, 243, 248, 0.13);
}
:root[data-theme="light"] {
  --ibg: #fff;
  --gl-bg: rgba(255, 255, 255, 0.72);
  --gl-line: rgba(11, 17, 24, 0.09);
  --gl-hi: rgba(255, 255, 255, 0.95);
  --gl-ink: #0b1118;
  --menu-bg: rgba(250, 251, 253, 0.8);
  --menu-hov: rgba(11, 17, 24, 0.06);
  --ring: #0a8aa0;
  --rowline: rgba(11, 17, 24, 0.12);
}
:root[data-theme="light"] body:has(#inbox),
:root[data-theme="light"] #app:has(#inbox) {
  background: var(--ibg);
}
.scrn.ios {
  background: var(--ibg);
}
.scrn.ios .msg {
  background: var(--ibg);
}

/* top bar */
.itop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  flex: none;
  position: relative;
  z-index: 6;
}
.itop .ttl {
  font: 700 17px/1.2 var(--f-body);
  letter-spacing: -0.01em;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: filter 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.itop .gpill {
  justify-self: start;
}
.itop .ground {
  justify-self: end;
}
.gpill,
.ground,
.gsearch,
.recbtn,
.gbtn {
  background: var(--gl-bg);
  color: var(--gl-ink);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  box-shadow:
    inset 0 0 0 0.5px var(--gl-line),
    inset 0 1px 0 var(--gl-hi),
    0 6px 20px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.12s;
}
:root[data-theme="light"] .gpill,
:root[data-theme="light"] .ground,
:root[data-theme="light"] .gsearch,
:root[data-theme="light"] .gbtn {
  box-shadow:
    inset 0 0 0 0.5px var(--gl-line),
    inset 0 1px 0 var(--gl-hi),
    0 6px 22px -10px rgba(11, 17, 24, 0.35);
}
.gpill:active,
.ground:active,
.gsearch:active,
.recbtn:active,
.gbtn:active {
  transform: scale(0.94);
}
.gpill {
  height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  font: 600 16px/1 var(--f-body);
}
.ground {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.menu-open .ttl,
.menu-open .profile,
.menu-open .pins,
.menu-open .pinnote {
  filter: blur(7px);
  opacity: 0.55;
}
.menu-open .irows .row {
  filter: blur(3px);
  opacity: 0.7;
}
.ttl,
.profile,
.pins,
.pinnote,
.irows .row {
  transition: filter 0.2s, opacity 0.2s;
}

/* profile */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 4px auto 14px;
  color: var(--app-ink);
}
.profile.sp {
  margin: 0 auto 2px;
}
.ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: var(--ibg);
  box-shadow: 0 0 0 2.5px var(--ring), 0 0 18px -2px color-mix(in srgb, var(--ring) 55%, transparent);
  display: block;
}
.sheet .ring {
  background: var(--app-card);
}
.ring.lg {
  width: 104px;
  height: 104px;
}
.pph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #a7b1bd, #7c8794);
  color: #e9edf1;
}
:root[data-theme="light"] .pph {
  background: linear-gradient(180deg, #c3cbd4, #99a4b0);
}
.pph svg {
  width: 100%;
  height: 100%;
  transform: translateY(6%);
}
.pph.initials {
  background: linear-gradient(160deg, #3a4654, #141a21);
  color: #fff;
}
.pph .pini {
  font: 600 30px/1 var(--f-body);
}
.ring.lg .pini {
  font-size: 42px;
}
.pph.ori {
  background: radial-gradient(circle at 50% 40%, #1d3a5e, #05070a);
}
.pph .pori svg {
  width: 70%;
  height: 70%;
  margin: auto;
  transform: none;
}
.pph .pori {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.pname {
  font: 600 15px/1.2 var(--f-body);
}

/* pins */
.pins {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 14px;
  padding: 0 18px;
}
.pinv {
  width: 33.333%;
  padding: 0 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}
.pinv .pav {
  position: relative;
}
.av.pbig {
  width: 86px;
  height: 86px;
  border-radius: 50% !important;
}
.av.pbig.mono-tile {
  font-size: 26px;
}
.av.pbig.ori svg {
  width: 62px;
  height: 62px;
}
.pn {
  font: 500 13px/1.2 var(--f-body);
  color: var(--app-ink);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdot {
  position: absolute;
  left: -2px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 3px var(--ibg);
}
.unpin {
  position: absolute;
  left: -2px;
  top: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gl-bg);
  color: var(--gl-ink);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 0.5px var(--gl-line), 0 2px 8px rgba(0, 0, 0, 0.35);
}
.m-pins .pinv .pav {
  animation: jig 0.32s ease-in-out infinite alternate;
}
.m-pins .pinv:nth-child(2n) .pav {
  animation-delay: -0.16s;
}
@keyframes jig {
  0% {
    transform: rotate(-1.6deg);
  }
  100% {
    transform: rotate(1.6deg);
  }
}
.pinv.lifted .pav {
  transform: scale(1.06);
  transition: transform 0.2s;
}
.pinnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 20px 8px;
  font: 500 12px/1.3 var(--f-body);
  color: var(--app-mute);
  text-align: center;
}
.pinnote svg {
  flex: none;
  width: 15px;
  height: 15px;
}

/* rows */
.irows .row {
  touch-action: pan-y;
}
.irows .msg {
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px 11px 6px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.irows .msg:after {
  left: 82px;
  background: var(--rowline);
  height: 0.5px;
}
.irows .row:last-of-type .msg:after {
  display: none;
}
.irows .dotu {
  width: 10px;
  height: 10px;
  margin-top: 19px;
  box-shadow: none;
}
.irows .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-top: 2px;
}
.irows .av.mono-tile {
  font-size: 15px;
}
.irows .av.ori svg {
  width: 34px;
  height: 34px;
}
.irows .l1 {
  align-items: center;
  gap: 6px;
}
.irows .l1 b {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.irows .l1 time {
  font-size: 14px;
}
.irows .chev {
  color: var(--app-mute);
  opacity: 0.6;
  display: grid;
  place-items: center;
  width: 12px;
  margin-right: -2px;
}
.irows .chev svg {
  width: 13px;
  height: 13px;
}
p.l2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.28;
  color: var(--app-mute);
  margin-top: 2px;
  white-space: normal;
}
p.l2 em {
  font-style: normal;
  color: var(--app-mute);
}
.selc {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: none;
  margin: 13px 2px 0 6px;
  box-shadow: inset 0 0 0 1.5px var(--app-mute);
  display: grid;
  place-items: center;
  color: #fff;
}
.selc.on {
  background: var(--acc);
  box-shadow: none;
}
:root[data-theme="light"] .selc.on {
  color: #fff;
}
.pinbtn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  align-self: center;
  color: var(--acc);
  box-shadow: inset 0 0 0 1px var(--app-line);
}
.pinbtn.on {
  background: var(--acc);
  color: var(--acc-ink);
}
.irows .row.lifted .msg {
  border-radius: 16px;
  transform: scale(0.985);
  box-shadow: 0 0 0 1px var(--gl-line), 0 14px 40px -10px rgba(0, 0, 0, 0.6);
  z-index: 50;
}
.irows .row.lifted {
  overflow: visible;
  z-index: 50;
}
.swipe.n3 {
  width: 216px;
}
.swipe.n2 {
  width: 150px;
}
.swipe .pinx {
  background: #2f6fd6;
}
:root[data-theme="light"] .swipe .pinx {
  background: #2458b8;
}
.emptyl {
  text-align: center;
  padding: 40px 24px;
  color: var(--app-mute);
}
.irows .hint.sech {
  padding: 18px 20px 6px;
}
.bpad {
  height: 120px;
}

/* bottom bar */
.bbar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: calc(env(safe-area-inset-bottom) + 12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 8;
}
.shot .bbar {
  bottom: 26px;
}
.scrn.ios:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  pointer-events: none;
  z-index: 7;
  background: linear-gradient(to top, var(--ibg) 8%, color-mix(in srgb, var(--ibg) 70%, transparent) 45%, transparent);
}
.gsearch {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  width: 132px;
  color: var(--app-mute);
  font-size: 16px;
}
.gsearch .gl {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.gmic {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--app-mute);
  flex: none;
}
.gsearch.full {
  flex: 1;
  width: auto;
}
.gsearch input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-size: 16px;
  color: var(--app-ink);
  height: 100%;
}
.gsearch input::placeholder {
  color: var(--app-mute);
}
.gsearch input::-webkit-search-cancel-button {
  display: none;
}
.bbar .cmp {
  width: 48px;
  height: 48px;
}
.bbar .ground:not(.cmp) {
  width: 48px;
  height: 48px;
}
.recbtn {
  position: absolute;
  left: 50%;
  bottom: -6px;
  margin-left: -37px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 0 0 0.5px var(--gl-line),
    inset 0 1px 0 var(--gl-hi),
    0 10px 28px -8px rgba(0, 0, 0, 0.55);
}
.recbtn:before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fff;
}
:root[data-theme="light"] .recbtn:before {
  box-shadow: inset 0 0 0 3px #2a3440;
}
.recbtn i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ff6b7c, var(--rec) 55%, #b5122a);
  box-shadow: 0 0 18px -2px rgba(229, 36, 59, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}
.recbtn:active i {
  transform: scale(0.86);
  border-radius: 14px;
  transition: all 0.15s;
}
.selbar {
  justify-content: space-between;
}
.selbar .mono {
  color: var(--app-mute);
}
.gbtn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  font: 600 15px/1 var(--f-body);
}
.gbtn.red {
  color: #ff5a6e;
}
:root[data-theme="light"] .gbtn.red {
  color: #c8283e;
}
.gbtn[disabled] {
  opacity: 0.45;
}

/* glass menus */
.mscrim {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: transparent;
}
.mscrim.dimmed {
  background: rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade 0.2s;
}
.gmenu {
  position: absolute;
  z-index: 21;
  top: calc(max(env(safe-area-inset-top), 10px) + 50px);
  min-width: 250px;
  max-width: 290px;
  padding: 8px;
  border-radius: 30px;
  background: var(--menu-bg);
  color: var(--gl-ink);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  backdrop-filter: blur(28px) saturate(1.7);
  box-shadow:
    inset 0 0 0 0.5px var(--gl-line),
    inset 0 1px 0 var(--gl-hi),
    0 24px 60px -16px rgba(0, 0, 0, 0.6);
  animation: pop 0.22s cubic-bezier(0.2, 0.9, 0.25, 1.1);
}
.shot .gmenu {
  top: 104px;
}
.gmenu.l {
  left: 14px;
  transform-origin: top left;
}
.gmenu.r {
  right: 14px;
  transform-origin: top right;
}
.gmenu.ctx {
  left: 50%;
  margin-left: -125px;
  width: 250px;
  transform-origin: top center;
}
.shot .gmenu.ctx {
  top: auto;
}
@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }
}
.gmenu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  font: 400 17px/1.2 var(--f-body);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.gmenu button:active,
.gmenu button:hover {
  background: var(--menu-hov);
}
.gmenu button svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.gmenu button span {
  flex: 1;
}
.gmenu button em {
  font: 500 15px/1 var(--f-body);
  font-style: normal;
  color: var(--app-mute);
}
.gmenu .ck {
  width: 18px;
  flex: none !important;
  display: grid;
  place-items: center;
}
.gmenu .ck svg {
  width: 17px;
  height: 17px;
}
.gmenu .plain {
  padding-left: 44px;
}
.gmenu .red {
  color: #ff5a6e;
}
:root[data-theme="light"] .gmenu .red {
  color: #c8283e;
}
.gmenu hr {
  border: 0;
  height: 0.5px;
  background: var(--gl-line);
  margin: 6px 14px;
}
:root[data-theme="light"] .gmenu hr {
  background: rgba(11, 17, 24, 0.14);
}

/* thread header button */
.top .tbtn {
  display: block;
  min-width: 0;
  color: var(--app-ink);
  font-weight: 600;
  font-size: 17px;
  text-align: center;
}

/* assets */
.agal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 8px;
}
.atile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  min-width: 0;
  text-align: left;
}
.atile .selc {
  position: absolute;
  top: 6px;
  right: 6px;
  margin: 0;
  width: 22px;
  height: 22px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1.5px #fff;
}
.atile .selc.on {
  background: var(--acc);
  box-shadow: inset 0 0 0 1.5px #fff;
}
.atile.on .athumb {
  box-shadow: 0 0 0 2px var(--acc);
}
.atile .al {
  font: 600 12px/1.2 var(--f-body);
  color: var(--app-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.atile .am {
  font: 500 11px/1.2 var(--f-body);
  color: var(--app-mute);
  margin-top: -2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.athumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--g1, #2c3642), var(--g2, #0b0f14));
  color: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.athumb > svg {
  width: 46%;
  height: 46%;
}
.athumb .pc {
  position: absolute;
  left: 6px;
  bottom: 6px;
  width: 18px;
  height: 18px;
  color: #fff;
}
.athumb .pc svg {
  width: 18px;
  height: 18px;
}
.athumb b {
  position: absolute;
  right: 6px;
  bottom: 6px;
  font: 600 10px/1 var(--f-mono);
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 3px 5px;
  border-radius: 6px;
}
.athumb.take {
  background: var(--footage);
}
.athumb.take .fig {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 44%;
  height: 70%;
  margin-left: -22%;
  border-radius: 50% 50% 0 0;
  background: var(--fig);
}
.athumb.take .fig:before {
  content: "";
  position: absolute;
  left: 50%;
  top: -34%;
  width: 56%;
  height: 46%;
  margin-left: -28%;
  border-radius: 50%;
  background: var(--fig);
}
.athumb.sm {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  flex: none;
}
.athumb.sm b,
.athumb.sm .pc {
  display: none;
}
.sheet .row2.two {
  gap: 8px;
}
.sheet .row2.two .big {
  flex: 1;
  width: auto;
  font-size: 15px;
  padding: 13px 12px;
}
.big[disabled] {
  opacity: 0.4;
}
.you.assetb {
  padding: 4px;
  max-width: 220px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.agrid {
  display: grid;
  gap: 3px;
  border-radius: 16px;
  overflow: hidden;
  width: 200px;
}
.agrid.n1 {
  grid-template-columns: 1fr;
}
.agrid.n2,
.agrid.n3,
.agrid.n4 {
  grid-template-columns: 1fr 1fr;
}
.agrid.n3 .athumb:first-child {
  grid-column: span 2;
  aspect-ratio: 2/1;
}
.agrid .athumb {
  border-radius: 0;
}
.agrid.n1 .athumb {
  aspect-ratio: 4/3;
}
.alab {
  font: 500 12px/1.2 var(--f-body);
  padding: 2px 8px 4px;
  opacity: 0.8;
}

/* insert card */
.insrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 4px 0 8px;
}
.insrow b {
  display: block;
  font-size: 14px;
}
.insrow small {
  display: block;
  font-size: 12px;
  color: var(--app-mute);
  margin-top: 2px;
}
.strip.mini {
  height: 26px;
}
.insov {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #3d6fb8, #2b8396);
  box-shadow: inset 0 0 0 1.5px #7fb0ff;
  z-index: 1;
}
.insov:after {
  content: attr(data-t);
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  font: 700 9px/1 var(--f-mono);
  color: #fff;
}
.insov.new {
  box-shadow: inset 0 0 0 2px #fff, 0 0 14px rgba(127, 176, 255, 0.9);
  animation: insglow 1.4s ease-in-out infinite alternate;
}
:root[data-theme="light"] .insov {
  background: linear-gradient(180deg, #2458b8, #0a7a8e);
  box-shadow: inset 0 0 0 1.5px #2458b8;
}
:root[data-theme="light"] .insov.new {
  box-shadow: inset 0 0 0 2px #fff, 0 0 12px rgba(36, 88, 184, 0.7);
}
@keyframes insglow {
  100% {
    filter: brightness(1.25);
  }
}
.ticks {
  display: flex;
  justify-content: space-between;
  color: var(--app-mute);
  margin-top: 4px;
  font-size: 9px;
}
.ph-line {
  z-index: 2;
}
.brov {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--g1), var(--g2));
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transition: opacity 0.18s;
  pointer-events: none;
}
.brov svg {
  width: 30%;
  height: 30%;
}
.brov span {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 7px;
  border-radius: 6px;
}
.brov.on {
  opacity: 1;
}

/* profile sheet & manage filtering */
.phopts {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.phopts button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--app-line);
  font: 500 13px/1 var(--f-body);
  color: var(--app-mute);
}
.phopts button.on {
  background: var(--app-acc);
  color: var(--app-acc-ink);
  border-color: transparent;
  font-weight: 600;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field .mono {
  color: var(--app-mute);
}
.field input {
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--app-line);
  background: var(--raised);
  padding: 0 14px;
  font-size: 17px;
  outline: none;
  color: var(--app-ink);
}
.field input:focus {
  border-color: var(--acc);
}
.sw {
  width: 50px;
  height: 30px;
  border-radius: 999px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--app-line);
  position: relative;
  flex: none;
  transition: background 0.2s;
}
.sw i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.sw.on {
  background: var(--acc);
}
.sw.on i {
  transform: translateX(20px);
}
@media (prefers-reduced-motion: reduce) {
  .gmenu,
  .mscrim.dimmed,
  .m-pins .pinv .pav,
  .insov.new {
    animation: none !important;
  }
  .ttl,
  .profile,
  .pins,
  .irows .row,
  .brov,
  .sw i {
    transition: none !important;
  }
}

.stage .tc.c {
  white-space: nowrap;
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =====================================================================
   v3: compact header, home bar with gear, dismissible hints, Settings
   ===================================================================== */
.compact .itop {
  min-height: 40px;
  margin-bottom: 4px;
}
.compact .itop .gpill {
  height: 34px;
  padding: 0 14px;
  font-size: 15px;
}
.compact .itop .ground {
  width: 36px;
  height: 36px;
}
.compact .itop .ground svg {
  width: 18px;
  height: 18px;
}
.compact .itop .ttl {
  font-size: 16px;
  font-weight: 650;
}
.compact .pins {
  padding-top: 10px;
}
/* home bar: gear | search pill | compose */
.bbar.home {
  gap: 10px;
}
.bbar.home .gsearch.mid {
  flex: 1;
  width: auto;
}
.bbar.home .gear,
.bbar.home .cmp {
  width: 48px;
  height: 48px;
}
.bbar.home .gear svg {
  width: 22px;
  height: 22px;
}
/* dismissible hint */
.pinnote.hint-x {
  margin: 12px 16px 8px;
  padding: 7px 6px 7px 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--app-ink) 6%, transparent);
  justify-content: flex-start;
  text-align: left;
}
.pinnote.hint-x span {
  flex: 1;
}
.hx {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--app-mute);
  background: color-mix(in srgb, var(--app-ink) 8%, transparent);
}
.hx svg {
  width: 13px;
  height: 13px;
}
.hx:active {
  transform: scale(0.9);
}
/* Settings */
.scrn.set {
  background: var(--sbg);
  padding-left: 0;
  padding-right: 0;
}
:root {
  --sbg: #000;
  --sgrp: #121418;
  --sline: rgba(238, 243, 248, 0.1);
  --red-ink: #ff5a6a;
}
:root[data-theme="light"] {
  --sbg: #f2f4f7;
  --sgrp: #fff;
  --sline: rgba(11, 17, 24, 0.1);
  --red-ink: #d0283e;
}
:root[data-theme="light"] #app:has(#settings) {
  background: var(--sbg);
}
.stop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  flex: none;
  position: relative;
  z-index: 3;
}
.sback {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 1px;
  height: 36px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  color: var(--acc);
  font: 500 16px/1 var(--f-body);
  background: var(--gl-bg);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 0 0 0.5px var(--gl-line), inset 0 1px 0 var(--gl-hi);
}
.stt {
  font: 650 16px/1 var(--f-body);
  opacity: 0;
  transition: opacity 0.2s;
}
.set.scrolled .stt {
  opacity: 1;
}
.sbody {
  padding: 0 16px 60px;
}
.slarge {
  font: 700 32px/1.1 var(--f-body);
  letter-spacing: -0.02em;
  margin: 4px 4px 14px;
  color: var(--app-ink);
}
.sgh {
  font: 500 13px/1.2 var(--f-body);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--app-mute);
  margin: 20px 16px 7px;
}
.sgrp {
  background: var(--sgrp);
  border-radius: 14px;
  overflow: hidden;
}
.sgf {
  font: 400 13px/1.35 var(--f-body);
  color: var(--app-mute);
  margin: 7px 16px 0;
}
.srow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px 10px 16px;
  text-align: left;
  font: 400 16px/1.25 var(--f-body);
  color: var(--app-ink);
  position: relative;
  background: none;
}
.srow + .srow:before {
  content: "";
  position: absolute;
  left: 16px;
  right: 0;
  top: 0;
  height: 0.5px;
  background: var(--sline);
}
button.srow[data-act]:active {
  background: color-mix(in srgb, var(--app-ink) 7%, transparent);
}
.srow .sl {
  flex: 1;
  min-width: 0;
}
.srow .sl small {
  display: block;
  font-size: 13px;
  color: var(--app-mute);
  margin-top: 2px;
}
.srow .sval {
  color: var(--app-mute);
  font-size: 15px;
  white-space: nowrap;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srow .sval .mono {
  font-size: 13px;
}
.srow .sval b {
  color: var(--app-ink);
}
.schev {
  color: var(--app-mute);
  opacity: 0.55;
  display: grid;
  margin-right: -4px;
}
.srow.cen .sl {
  text-align: center;
}
.srow .red {
  color: var(--red-ink);
}
.srow.dis .sl {
  color: var(--app-mute);
  opacity: 0.6;
}
.srow.stack {
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
}
.srow.note {
  align-items: flex-start;
  font-size: 13px;
  color: var(--app-mute);
  gap: 8px;
}
.srow.note svg {
  flex: none;
  margin-top: 1px;
}
.ptag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font: 600 13px/1.2 var(--f-body);
  color: var(--app-ink);
  background: color-mix(in srgb, var(--app-ink) 10%, transparent);
}
.ptag.pro {
  color: #fff;
  background: var(--acc);
}
:root:not([data-theme="light"]) .ptag.pro {
  color: #05070a;
}
.sseg {
  display: flex;
  padding: 2px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--app-ink) 9%, transparent);
}
.sseg button {
  flex: 1;
  height: 32px;
  border-radius: 8px;
  font: 500 14px/1 var(--f-body);
  color: var(--app-ink);
}
.sseg button.on {
  background: var(--raised);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25), inset 0 0 0 0.5px var(--gl-line);
  font-weight: 600;
}
:root[data-theme="light"] .sseg button.on {
  background: #fff;
  box-shadow: 0 1px 4px rgba(11, 17, 24, 0.14);
}
.sw {
  flex: none;
  width: 51px;
  height: 31px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--app-ink) 18%, transparent);
  position: relative;
  transition: background 0.2s;
}
.sw i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.sw.on {
  background: var(--acc);
}
.sw.on i {
  transform: translateX(20px);
}
.sfoot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  font: 500 12px/1 var(--f-body);
  color: var(--app-mute);
}
.sfoot .mark {
  width: 18px;
  height: 18px;
  color: var(--app-ink);
}
/* toasts on Settings sit at the bottom so they never cover a row being tapped's header */
#app:has(#settings) .toast {
  top: auto;
  bottom: calc(env(safe-area-inset-bottom) + 30px);
}
#app:has(#inbox) .toast {
  top: auto;
  bottom: calc(env(safe-area-inset-bottom) + 76px);
}
.shot#app:has(#inbox) .toast {
  bottom: 88px;
}
.shot#app:has(#settings) .toast {
  bottom: 40px;
}
/* v3: large round pin tiles (beat .irows .av) */
.irows .pinv .av.pbig {
  width: 84px;
  height: 84px;
  margin-top: 0;
}
.irows .pinv .av.pbig.mono-tile {
  font-size: 26px;
}
.irows .pinv .av.pbig.ori svg {
  width: 60px;
  height: 60px;
}
.compact .pins {
  row-gap: 12px;
}
.pinv .pdot {
  left: 0;
  top: 4px;
}

.sseg button {
  display: grid;
  place-items: center;
  text-align: center;
}
.srow.dis .sl small {
  opacity: 1;
}
.srow.dis .sval svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}
#app:has(#settings) .toast,
#app:has(#inbox) .toast {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  animation: upin 0.22s;
}
@keyframes upin {
  0% {
    opacity: 0;
    margin-bottom: -10px;
  }
}
.shot#app:has(#settings) .toast {
  bottom: 22px;
}
.srow .sval {
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}
