:root {
  --ink: #201a35;
  --muted: #706b80;
  --line: #e7e1f1;
  --canvas: #f8f5ff;
  --navy: #281d48;
  --purple: #7657f6;
  --purple-dark: #6040e8;
  --soft: #f0ecff;
  --lime: #c8f547;
  --coral: #ff6f61;
  --teal: #14a896;
  --teal-soft: #dffaf3;
  --danger: #d63c4a;
  --shadow: 0 18px 45px rgba(69, 44, 128, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  font-family: 'Avenir Next', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', system-ui, sans-serif;
  color: var(--ink);
  background: #eae5f4;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
.phone {
  width: min(100%, 430px);
  min-height: 100svh;
  margin: auto;
  background: radial-gradient(circle at 50% -8%, #ece5ff 0, transparent 24rem), var(--canvas);
  position: relative;
  overflow: hidden;
}
.statusbar {
  height: 28px;
  padding: 8px 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 850;
}
.appbar {
  height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.appbar h1 {
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.02em;
}
.back,
.icon-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}
.back {
  font-size: 22px;
  width: 36px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.appbar-spacer {
  width: 36px;
}
.content {
  padding: 10px 18px 120px;
}
.eyebrow {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 99px;
  background: #ebe5ff;
  color: #5d43c8;
  font-size: 10px;
  font-weight: 900;
}
.hero h2 {
  margin: 9px 0 5px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.055em;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.search-panel {
  margin: 18px 0 16px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #fff;
  border-radius: 19px;
  box-shadow: 0 12px 35px rgba(69, 44, 128, 0.09);
}
.search {
  height: 52px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #667085;
  border: 2px solid var(--navy);
  border-radius: 14px;
  padding: 0 14px;
  box-shadow: 4px 4px 0 #d9ceff;
}
.search:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(118, 87, 246, 0.12);
}
.search svg {
  flex: none;
}
.search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.search input::placeholder {
  color: #8a8396;
}
.filters {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  padding: 1px 1px 3px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar {
  display: none;
}
.filter {
  flex: none;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  background-color: #fff;
  color: #453d59;
  padding: 9px 30px 9px 12px;
  font-size: 11px;
  font-weight: 800;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--purple) 50%),
    linear-gradient(135deg, var(--purple) 50%, transparent 50%);
  background-position:
    calc(100% - 13px) 14px,
    calc(100% - 9px) 14px;
  background-size: 4px 4px;
  background-repeat: no-repeat;
}
.filter:focus {
  outline: 2px solid rgba(118, 87, 246, 0.2);
  border-color: var(--purple);
}
.clear {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--purple-dark);
  padding: 8px 5px;
  font-size: 11px;
  font-weight: 800;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 1px 10px;
}
.section-head h3 {
  font-size: 13px;
  margin: 0;
}
.count,
.chip {
  border-radius: 99px;
  background: var(--soft);
  color: #5d43c8;
  font-size: 9px;
  font-weight: 900;
  padding: 5px 8px;
}
.stack {
  display: grid;
  gap: 10px;
}
.stack[hidden] {
  display: none;
}
.empty {
  padding: 30px 18px;
  border: 1px dashed #d8d0e4;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
}
.empty b,
.empty span {
  display: block;
}
.empty b {
  color: var(--ink);
  font-size: 13px;
}
.card {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 8px 22px #452c800b;
}
.select-card {
  width: 100%;
  color: inherit;
  text-align: left;
}
.select-card.active {
  border-color: var(--purple);
  box-shadow:
    0 0 0 3px #7657f617,
    0 10px 25px #452c8012;
}
.card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.activity-icon {
  width: 43px;
  height: 43px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px 9px;
  background: var(--lime);
  font-weight: 950;
  font-size: 20px;
  transform: rotate(-2deg);
}
.card-copy {
  min-width: 0;
  flex: 1;
}
.card-copy b {
  display: block;
  font-size: 14px;
}
.card-copy small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
  line-height: 1.45;
}
.radio {
  width: 21px;
  height: 21px;
  flex: none;
  border: 2px solid #cfc7dc;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.active .radio {
  border-color: var(--purple);
}
.active .radio:after {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--purple);
}
.tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 11px;
}
.tag {
  font-size: 9px;
  font-weight: 800;
  padding: 5px 7px;
  border-radius: 7px;
  background: #f5f2f9;
  color: #675f73;
}
.tag.teal {
  background: var(--teal-soft);
  color: #087b70;
}
.bottom-action {
  position: absolute;
  z-index: 20;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(248, 245, 255, 0), rgba(248, 245, 255, 0.96) 22%);
  display: grid;
  gap: 8px;
}
.primary,
.secondary,
.danger {
  min-height: 52px;
  border-radius: 15px;
  border: 0;
  font-weight: 900;
  font-size: 14px;
}
.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 11px 22px #7657f63d;
}
.primary:disabled {
  background: #d8d2e2;
  box-shadow: none;
}
.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.danger {
  background: #fff0f1;
  color: var(--danger);
}
.context {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 16px;
  background: linear-gradient(115deg, #ddd3ff, #ffc7d2);
  margin-bottom: 16px;
}
.context .activity-icon {
  width: 38px;
  height: 38px;
  font-size: 17px;
  background: #fff;
}
.context div {
  min-width: 0;
}
.context small,
.context b {
  display: block;
}
.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.mode-card {
  min-height: 126px;
  padding: 13px 11px;
  border: 1.5px solid var(--line);
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  position: relative;
}
.mode-card.active {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #7657f614;
}
.mode-card > span:nth-child(2) {
  display: block;
}
.mode-card b,
.mode-card small {
  display: block;
}
.mode-card b {
  margin-top: 9px;
  font-size: 12px;
}
.mode-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}
.mode-card i {
  position: absolute;
  right: 11px;
  top: 11px;
  width: 18px;
  height: 18px;
  border: 2px solid #cfc7dc;
  border-radius: 50%;
}
.mode-card.active i {
  border-color: var(--purple);
  box-shadow: inset 0 0 0 4px #fff;
  background: var(--purple);
}
.mode-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--soft);
  color: var(--purple);
  font-weight: 900;
}
.mode-icon.video {
  background: #ffe9e8;
  color: var(--coral);
  font-size: 11px;
}
.mode-note {
  margin: 8px 2px 16px;
  color: var(--muted);
  font-size: 9px;
}
.video-config-head {
  display: flex;
  gap: 10px;
  align-items: center;
}
.video-config-head b,
.video-config-head small {
  display: block;
}
.video-config-head b {
  font-size: 12px;
}
.video-config-head small,
.field-help {
  color: var(--muted);
  font-size: 9px;
  margin-top: 3px;
}
.stream-flow {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  padding: 9px;
  background: var(--soft);
  border-radius: 11px;
  font-size: 8px;
  font-weight: 800;
}
.stream-flow span {
  flex: 1;
  text-align: center;
}
.stream-flow i {
  color: var(--purple);
  font-style: normal;
}
.setting-select {
  width: 100%;
  border: 1.5px solid #ddd6e8;
  border-radius: 11px;
  padding: 10px;
  background: #fcfbff;
  color: var(--ink);
  font-size: 11px;
}
.context small {
  color: #645675;
  font-size: 9px;
}
.context b {
  font-size: 13px;
  margin-top: 3px;
}
.sensor {
  position: relative;
}
.sensor.is-disabled {
  opacity: 0.52;
}
.sensor.is-disabled .check {
  cursor: not-allowed;
}
.sensor-head {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.sensor-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: var(--soft);
  color: #5d43c8;
  font-weight: 900;
}
.sensor-copy {
  flex: 1;
}
.sensor-copy b {
  display: block;
  font-size: 13px;
}
.sensor-copy small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.check {
  appearance: none;
  width: 23px;
  height: 23px;
  border: 2px solid #cfc7dc;
  border-radius: 8px;
  margin: 0;
}
.check:checked {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: inset 0 0 0 5px var(--purple);
}
.check:checked:after {
  content: '✓';
  display: block;
  color: #fff;
  text-align: center;
  line-height: 19px;
  font-size: 13px;
  font-weight: 900;
}
.field {
  display: grid;
  gap: 6px;
  margin-top: 13px;
}
.field label {
  font-size: 10px;
  font-weight: 850;
}
.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid #ddd6e8;
  background: #fcfbff;
  color: var(--ink);
  border-radius: 11px;
  padding: 10px 11px;
  font-size: 12px;
  outline: none;
}
.field textarea {
  min-height: 76px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--purple);
}
.filename {
  display: flex;
  align-items: center;
}
.filename input {
  border-radius: 11px 0 0 11px;
}
.filename span {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 10px;
  background: #f0ecf4;
  border: 1.5px solid #ddd6e8;
  border-left: 0;
  border-radius: 0 11px 11px 0;
  color: var(--muted);
  font-size: 10px;
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.switch-copy b {
  font-size: 12px;
}
.switch-copy small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 3px;
}
.switch {
  appearance: none;
  width: 46px;
  height: 27px;
  border: 0;
  border-radius: 99px;
  background: #d7d1df;
  position: relative;
  transition: 0.2s;
}
.switch:after {
  content: '';
  position: absolute;
  width: 21px;
  height: 21px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px #0002;
  transition: 0.2s;
}
.switch:checked {
  background: var(--teal);
}
.switch:checked:after {
  transform: translateX(19px);
}
.switch:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.required-label {
  display: block;
  margin-top: 5px;
  color: var(--danger);
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}
.hint {
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
  background: #f0ecff;
  border-radius: 12px;
  padding: 10px 11px;
  margin-top: 10px;
}
.sensing {
  min-height: calc(100svh - 86px);
  padding: 18px 22px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.live-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  background: #ffe9e8;
  color: #b8343d;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 900;
}
.live-pill.is-ready {
  background: #f0ecff;
  color: var(--purple);
}
.live-pill.is-ready .live-dot {
  background: var(--purple);
  animation: none;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.3s infinite;
}
.timer {
  font-size: 54px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  margin: 30px 0 8px;
}
.sensing-title {
  font-size: 15px;
  margin: 0;
}
.sensing-sub {
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0 22px;
}
.orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle,
    #fff 0 28%,
    #dcd2ff 29% 31%,
    #7657f61c 32% 51%,
    #7657f60b 52%
  );
  position: relative;
}
.orb:after {
  content: '';
  width: 64px;
  height: 64px;
  border-radius: 23px 14px;
  background: linear-gradient(135deg, var(--purple), #947cf8);
  box-shadow: 0 15px 35px #7657f64a;
  animation: float 2s ease-in-out infinite;
}
.wave {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 145px;
  height: 44px;
  transform: translate(-50%, -50%);
  z-index: 2;
  overflow: hidden;
}
.wave svg {
  width: 100%;
  height: 100%;
}
.metrics {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.metric {
  text-align: center;
  padding: 11px 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.metric b,
.metric small {
  display: block;
}
.metric b {
  font-size: 12px;
}
.metric small {
  font-size: 8px;
  color: var(--muted);
  margin-top: 3px;
}
.controls {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.controls[hidden] {
  display: none;
}
.control {
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.pause {
  color: var(--navy);
  background: var(--lime);
  box-shadow: 0 12px 28px #b1dd3445;
}
.control.start {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 12px 28px #7657f64a;
}
.stop {
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--coral);
}
.control-label {
  font-size: 9px;
  font-weight: 850;
  text-align: center;
  margin-top: 7px;
}
.record-row {
  display: flex;
  align-items: center;
  gap: 11px;
}
.file-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: #5d43c8;
  font-weight: 900;
  flex: none;
}
.file-icon.video-file {
  background: #ffe9e8;
  color: var(--coral);
}

.camera-body {
  background: #16131d;
}
.camera-phone {
  background: #17141e;
  color: #fff;
}
.camera-preview {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #423d50, #1d2930);
}
.camera-scene {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #8096a0 0 35%, #758260 35% 100%);
  filter: saturate(0.7);
}
.camera-scene:before {
  content: '';
  position: absolute;
  left: 16%;
  top: 16%;
  width: 58%;
  height: 45%;
  background: #c9c4b5;
  clip-path: polygon(45% 0, 100% 35%, 90% 100%, 0 100%, 0 31%);
}
.camera-scene span {
  position: absolute;
  left: 47%;
  top: 40%;
  width: 18px;
  height: 86px;
  border-radius: 14px 14px 5px 5px;
  background: #262231;
  box-shadow: 0 55px 0 -5px #262231;
}
.camera-scene i {
  position: absolute;
  left: 43%;
  top: 35%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #bc8f72;
}
.camera-shade {
  position: absolute;
  left: 0;
  right: 0;
  height: 180px;
  pointer-events: none;
}
.camera-shade.top {
  top: 0;
  background: linear-gradient(#0c0916cc, transparent);
}
.camera-shade.bottom {
  bottom: 0;
  height: 300px;
  background: linear-gradient(transparent, #0c0916ed 62%);
}
.camera-status,
.camera-appbar {
  position: relative;
  z-index: 2;
}
.camera-appbar h1 {
  font-size: 15px;
}
.camera-close,
.camera-flip {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #17131f99;
  color: #fff;
  font-size: 20px;
}
.camera-overlay {
  position: absolute;
  z-index: 2;
  top: 105px;
  left: 0;
  right: 0;
  text-align: center;
}
.camera-pill {
  display: inline-flex;
}
.camera-timer {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.camera-overlay p {
  margin: 5px 0;
  font-size: 11px;
  font-weight: 700;
}
.stream-health {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 145px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  gap: 6px;
  padding: 10px;
  border: 1px solid #ffffff26;
  border-radius: 16px;
  background: #17131fb8;
  backdrop-filter: blur(14px);
}
.stream-health div {
  min-width: 0;
  padding: 3px 5px;
}
.stream-health b,
.stream-health small {
  display: block;
  white-space: nowrap;
}
.stream-health .health-off {
  opacity: 0.55;
}
.stream-health b {
  font-size: 9px;
}
.stream-health small {
  margin-top: 4px;
  color: #d1cbd9;
  font-size: 7px;
}
.health-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #59dfa4;
}
.record-controls {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
}
.record-button {
  width: 72px;
  height: 72px;
  padding: 5px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: transparent;
}
.record-button span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--coral);
  transition: 0.2s;
}
.record-button.recording span {
  transform: scale(0.48);
  border-radius: 8px;
}
.record-copy {
  min-width: 0;
  flex: 1;
}
.record-copy b,
.record-copy small {
  display: block;
}
.record-copy b {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.record-copy small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.record-group + .record-group {
  margin-top: 18px;
}
.record-group-head {
  width: 100%;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 8px;
}
.record-group-head h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 13px;
}
.record-group-head h4 span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--purple-dark);
}
.record-group-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}
.record-group-meta i {
  color: var(--purple);
  font-size: 15px;
  font-style: normal;
  transition: transform 0.2s;
}
.record-group-head[aria-expanded='false'] .record-group-meta i {
  transform: rotate(-90deg);
}
.status {
  font-size: 9px;
  font-weight: 900;
  border-radius: 99px;
  padding: 5px 8px;
  background: #f2eff5;
  color: #706b80;
}
.status.done {
  background: var(--teal-soft);
  color: #087b70;
}
.record-actions {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}
.record-actions button {
  flex: 1;
  min-height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}
.record-actions .upload {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.activity-photo-upload {
  width: 100%;
  min-height: 42px;
  margin-top: 2px;
  padding: 0 12px;
  border: 1px solid var(--purple);
  border-radius: 10px;
  background: #fff;
  color: var(--purple-dark);
  font-size: 10px;
  font-weight: 900;
}
.record-actions .delete {
  color: var(--danger);
}
.record-actions .delete-remote {
  color: var(--danger);
  border-color: #f2c9ce;
}
.empty {
  text-align: center;
  padding: 34px 20px;
  color: var(--muted);
  font-size: 12px;
}
.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  width: min(calc(100% - 36px), 394px);
  background: var(--navy);
  color: #fff;
  padding: 13px 15px;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 800;
  transition: 0.25s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  width: min(calc(100% - 40px), 360px);
  border: 0;
  border-radius: 20px;
  padding: 21px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: #201a3566;
  backdrop-filter: blur(2px);
}
dialog h3 {
  font-size: 17px;
  margin: 0 0 7px;
}
dialog p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.dialog-actions {
  display: flex;
  gap: 8px;
}
.dialog-actions button {
  flex: 1;
  min-height: 42px;
  border-radius: 12px;
  border: 0;
  font-size: 11px;
  font-weight: 900;
}
.dialog-actions .confirm {
  background: var(--danger);
  color: #fff;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}
@keyframes float {
  50% {
    transform: translateY(-7px) rotate(4deg);
  }
}
@media (min-width: 431px) {
  body {
    padding: 24px 0;
  }
  .phone {
    min-height: 860px;
    border-radius: 32px;
    box-shadow: 0 28px 70px #281d4830;
  }
  .bottom-action {
    border-radius: 0 0 32px 32px;
  }
  .toast {
    bottom: 42px;
  }
}
