:root {
  --ink: #16222e;
  --ink2: #526174;
  --muted: #8a99aa;
  --blue: #1478ff;
  --blue2: #36aef8;
  --green: #3e9c7a;
  --red: #e34f52;
  --card: #f0f5fb;
  --card2: #f5f8fc;
  --line: #e3eaf3;
  --white: #fbfcfe;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: #eef2f6;
  color: var(--ink);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
body {
  display: flex;
  justify-content: center;
  padding: 24px 14px;
}
button,
input,
textarea,
a {
  font: inherit;
}
button {
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(20, 120, 255, 0.28);
  outline-offset: 2px;
}
#app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 540px;
  min-height: calc(100dvh - 48px);
  max-height: 1100px;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 56px rgba(29, 47, 70, 0.15);
}
.body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 25px 26px 28px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.body h1 {
  margin: 10px 0 26px;
  text-align: center;
  font-size: 35px;
  line-height: 1.12;
  letter-spacing: -1px;
}
.logo {
  display: block;
  width: 150px;
  height: auto;
  margin: 8px auto 0;
}
.logo.sm {
  width: 132px;
  margin-top: 0;
}
.sub {
  text-align: center;
  color: #718196;
  font-size: 18px;
  margin-top: 8px;
}
.landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 38px;
  padding-bottom: 38px;
}
.landing h1 {
  margin: 34px 0 16px;
  font-size: 34px;
}
.landing-lead {
  margin: 0 auto;
  max-width: 430px;
  color: var(--ink2);
  text-align: center;
  font-size: 17px;
  line-height: 1.55;
}
.landing-steps {
  display: grid;
  gap: 15px;
  margin: 30px 0 24px;
  padding: 20px;
}
.landing-steps span {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #405166;
  font-weight: 650;
}
.landing-steps b {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #dcecff;
  color: var(--blue);
}
.landing-login {
  margin-top: 2px;
}
.landing-note {
  margin: 14px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}
.card {
  border: 0;
  border-radius: 22px;
  background: var(--card);
}
.btn,
.btn2,
.btn3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 66px;
  padding: 10px 16px;
  border-radius: 18px;
  font-weight: 750;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.12s,
    background 0.12s,
    opacity 0.12s;
}
.btn {
  border: 0;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 120, 255, 0.22);
}
.btn2 {
  border: 1.5px solid #cfe2f9;
  background: #fff;
  color: var(--blue);
}
.btn3 {
  border: 1.5px solid #d8e4f1;
  background: #fff;
  color: #405166;
}
.btn:hover,
.btn2:hover,
.btn3:hover {
  transform: translateY(-1px);
}
.btn:disabled,
.btn2:disabled,
.btn3:disabled {
  opacity: 0.42;
  pointer-events: none;
}
.danger {
  color: var(--red);
  border-color: #f0caca;
}
.danger-fill {
  background: var(--red);
}
.top {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 42px;
}
.top h2 {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: 27px;
  line-height: 1.15;
}
.top-logo {
  grid-column: 2;
}
.top-logo .logo {
  width: 130px;
}
.back {
  grid-column: 1;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.back:hover {
  background: var(--card);
}
.balance-card {
  width: 100%;
  margin-top: 34px;
  padding: 16px 22px;
  display: grid;
  grid-template-columns: 1fr auto 16px;
  align-items: center;
  text-align: left;
  cursor: pointer;
}
.balance-card span:first-child {
  display: flex;
  flex-direction: column;
}
.balance-card small,
.account-card small,
.quota-card small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.balance-card b {
  font-size: 23px;
  margin-top: 2px;
}
.balance-reset {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.chev {
  color: #9bacbe;
  font-size: 24px;
}
.record-space {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 340px;
}
.recbtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 332px;
  height: 332px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.recbtn .halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #e8f3ff;
  animation: pulse 3s ease-in-out infinite;
}
.recbtn .core {
  position: relative;
  width: 296px;
  height: 296px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(145deg, var(--blue), var(--blue2));
  color: #fff;
  box-shadow: 0 18px 38px rgba(20, 120, 255, 0.28);
  font-size: 28px;
  font-weight: 800;
}
.upload-main {
  margin-top: 10px;
}
.nav {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 9px 0 max(7px, env(safe-area-inset-bottom));
  z-index: 4;
}
.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-height: 63px;
  padding: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}
.tab.on {
  color: var(--blue);
}
.tab i {
  width: 42px;
  height: 4px;
  border-radius: 4px;
}
.tab.on i {
  background: var(--blue);
}
.file-card {
  width: 100%;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
}
.file-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #dfebfa;
  color: var(--blue);
  display: grid;
  place-items: center;
}
.file-card span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.file-card b {
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-card small {
  font-size: 14px;
  color: var(--muted);
}
.preview-card {
  margin-top: 18px;
  padding: 22px 20px;
}
.track-main {
  display: flex;
  align-items: center;
  gap: 15px;
}
.play {
  width: 66px;
  height: 66px;
  flex: none;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  cursor: pointer;
}
.play.original,
.history-play {
  background: var(--blue);
}
.play.result {
  background: var(--green);
}
.wave-shell {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 96px;
  cursor: ew-resize;
  touch-action: none;
}
.wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wave-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wave-segment {
  position: absolute;
  top: 16px;
  bottom: 6px;
  border-radius: 8px;
  background: rgba(62, 156, 122, 0.14);
  pointer-events: none;
}
.wave-marker {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  pointer-events: auto;
  cursor: pointer;
}
.wave-marker.off {
  background: var(--red);
}
.trim-wave {
  height: 114px;
}
.trim-shade {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  background: rgba(205, 215, 228, 0.7);
  pointer-events: none;
}
.trim-shade.left {
  left: 0;
}
.trim-shade.right {
  right: 0;
}
.trim-controls {
  position: relative;
  height: 30px;
  margin: 1px 0;
}
.trim-controls input {
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
  appearance: none;
  background: transparent;
}
.trim-controls input::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 30px;
  border-radius: 7px;
  background: var(--blue);
  pointer-events: auto;
  cursor: ew-resize;
}
.trim-controls input::-moz-range-thumb {
  width: 24px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  pointer-events: auto;
  cursor: ew-resize;
}
.trim-times {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.trim-times b {
  color: var(--ink);
}
.upload-spacer {
  min-height: 130px;
  flex: 1;
}
.recording h1 {
  margin-top: 26px;
}
.recording-space {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.live-wave {
  width: 100%;
  height: 125px;
}
.timer {
  margin-top: 46px;
  font-size: 52px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.recbtn.stop {
  width: 230px;
  height: 230px;
  margin: 0 auto 30px;
}
.recbtn.stop .core {
  width: 192px;
  height: 192px;
  font-size: 21px;
  gap: 9px;
}
.recbtn.stop .core small {
  font-size: 14px;
}
.stop-square {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #fff;
}
.recording .btn3 {
  margin-top: 12px;
}
.processing {
  gap: 28px;
}
.processing h1 {
  margin-top: 28px;
}
.processing .progress-card {
  margin-top: 100px;
  padding: 20px;
}
.progress-shell {
  position: relative;
  height: 75px;
}
.progress-shell canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.processing-meta {
  text-align: center;
  color: var(--muted);
  margin-top: 16px;
  font-weight: 650;
}
.processing .btn3 {
  margin-top: 10px;
}
.error-card {
  padding: 24px;
  color: var(--red);
  line-height: 1.45;
}
.processing .btn + .btn3 {
  margin-top: 12px;
}
.result h1 {
  margin: 6px 0 20px;
}
.track-card {
  padding: 17px 20px;
  margin-top: 14px;
}
.track-card.result {
  background: #f0f8f5;
}
.track-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.track-head b {
  font-size: 18px;
}
.track-head span {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.correction-summary {
  margin-top: 15px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mini-badge {
  width: 44px;
  height: 36px;
  border-radius: 15px;
  background: #e1edfd;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: none;
}
.mini-badge i {
  width: 3px;
  background: var(--blue);
  border-radius: 3px;
}
.result-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}
.download-option {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.download-option > span {
  color: var(--ink2);
  font-weight: 700;
}
.rating-card {
  margin-top: 16px;
  padding: 18px 20px;
}
.rating-card h3 {
  margin: 0 0 14px;
  font-size: 19px;
}
.rating-card > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rating-card .btn3 {
  min-height: 55px;
  font-size: 16px;
}
.rating-card .good.on {
  border-color: var(--green);
  color: var(--green);
  background: #f1faf6;
}
.rating-card .bad.on {
  border-color: var(--red);
  color: var(--red);
  background: #fff4f4;
}
.feedback-open {
  margin-top: 16px;
}
.sent {
  color: var(--blue);
}
.history h1,
.profile h1 {
  margin-top: 7px;
}
.history-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 7px 0 24px;
}
.history-title h1 {
  margin: 0;
}
.context-help {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1.5px solid #a9bbce;
  border-radius: 50%;
  background: transparent;
  color: #73879c;
  font: 700 14px/21px inherit;
  cursor: pointer;
}
.context-help:focus-visible {
  outline: 3px solid rgba(24, 119, 242, 0.25);
  outline-offset: 2px;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.history-card {
  position: relative;
  border: 0;
  background: var(--card);
  border-radius: 22px;
  padding: 17px 16px;
  display: flex;
  gap: 14px;
  cursor: pointer;
}
.history-card:hover {
  background: #eaf2fb;
}
.history-play {
  width: 65px;
  height: 65px;
  margin-top: 17px;
  flex: none;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  cursor: pointer;
}
.history-info {
  flex: 1;
  min-width: 0;
}
.history-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.history-meta b {
  font-size: 17px;
}
.history-meta span {
  color: var(--muted);
  font-size: 14px;
}
.history-wave-shell {
  height: 58px;
  position: relative;
  touch-action: none;
}
.history-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink2);
  font-size: 14px;
  font-weight: 650;
}
.history-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.history-bottom .mini-badge {
  width: 34px;
  height: 30px;
}
.favorite {
  color: var(--blue);
  display: flex;
}
.history-reactions {
  display: flex;
  gap: 5px;
}
.history-reactions i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e2edfb;
  color: var(--blue);
}
.history-reactions .up {
  background: #e4f4ec;
  color: var(--green);
}
.history-reactions .down {
  background: #fdeaea;
  color: var(--red);
}
.history-more {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #708196;
  font-size: 22px;
  cursor: pointer;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 100px 20px;
}
.account-card {
  width: 100%;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 62px 1fr 16px;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
}
.account-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #dfebfa;
  color: var(--blue);
  display: grid;
  place-items: center;
}
.account-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.account-card b {
  font-size: 19px;
}
.account-card i,
.profile-rows i {
  font-style: normal;
  color: #9bacbe;
  font-size: 25px;
}
.quota-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.quota-card {
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  min-height: 112px;
}
.quota-card > i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #dfebfa;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-style: normal;
}
.quota-card > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.quota-card b {
  font-size: 19px;
  white-space: nowrap;
}
.quota-card em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.rows {
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
}
.profile-rows {
  margin-top: 18px;
}
.row {
  width: 100%;
  min-height: 70px;
  padding: 12px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  display: grid;
  grid-template-columns: 36px 1fr 18px;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}
.row:last-child {
  border-bottom: 0;
}
.row:hover {
  background: #eaf2fb;
}
.setting-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #dfebfa;
  color: var(--blue);
  display: grid;
  place-items: center;
}
.app-version {
  text-align: center;
  color: #a3b0bf;
  margin-top: 34px;
  font-size: 13px;
}
.settings {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.settings .top {
  margin-bottom: 8px;
}
.setting-card,
.naming,
.setting-list,
.history-settings {
  padding: 20px;
}
.setting-card h3,
.naming h3,
.history-settings h3 {
  margin: 0 0 16px;
  font-size: 18px;
}
.segments-control {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: #e6edf6;
  border-radius: 15px;
  padding: 4px;
  gap: 3px;
}
.segments-control button {
  min-width: 0;
  min-height: 45px;
  padding: 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #687b91;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.segments-control button.on {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 3px 9px rgba(32, 52, 76, 0.12);
}
.naming label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink2);
  font-size: 14px;
}
.naming input,
.code-input,
.zone-note input {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #d4e2f1;
  border-radius: 13px;
  background: #fff;
  padding: 10px 13px;
  color: var(--ink);
}
.setting-line {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.setting-line > span {
  font-weight: 650;
}
.naming small {
  display: block;
  color: var(--muted);
  margin-top: 15px;
}
.setting-row {
  width: 100%;
  min-height: 68px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  cursor: pointer;
}
.setting-row:last-child {
  border-bottom: 0;
}
.switch {
  width: 58px;
  height: 34px;
  border-radius: 18px;
  background: #c4d3e3;
  padding: 3px;
  display: block;
  flex: none;
}
.switch b {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.switch.on {
  background: var(--blue);
}
.switch.on b {
  transform: translateX(24px);
}
.history-settings .setting-row {
  padding-left: 0;
  padding-right: 0;
}
.storage-stats {
  padding: 16px 0;
  color: var(--muted);
}
.document-rows {
  margin-top: 42px;
}
.document-rows .row {
  grid-template-columns: 36px 1fr 18px;
}
.doc .doc-meta {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 16px 0 24px;
}
.doc article {
  padding: 18px 20px;
  background: var(--card2);
  border-radius: 18px;
  margin-bottom: 12px;
}
.doc article h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.doc article p {
  margin: 0;
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.55;
}
.feedback-screen > label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 700;
}
.feedback-screen textarea {
  width: 100%;
  min-height: 150px;
  padding: 15px;
  border: 1.5px solid #d4e2f1;
  border-radius: 17px;
  resize: vertical;
  color: var(--ink);
}
.feedback-screen .btn {
  margin-top: 18px;
}
.reason-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}
.radio {
  min-height: 58px;
  padding: 10px 16px;
  border: 1.5px solid transparent;
  border-radius: 17px;
  background: var(--card);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-weight: 650;
  cursor: pointer;
}
.radio i {
  width: 24px;
  height: 24px;
  border: 2px solid #b8c9dc;
  border-radius: 50%;
  flex: none;
}
.radio.on {
  border-color: var(--blue);
  background: #ebf4ff;
}
.radio.on i {
  border: 7px solid var(--blue);
}
.feedback-wave {
  padding: 14px;
  margin-bottom: 16px;
}
.feedback-wave .wave-shell {
  height: 92px;
}
.zone-note {
  margin: 12px 0;
}
.feedback-consent {
  margin-top: 15px;
}
.feedback-consent span {
  font-size: 14px;
}
.modal-backdrop {
  position: absolute;
  z-index: 20;
  inset: 0;
  background: rgba(25, 38, 54, 0.48);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 470px;
  max-height: 85%;
  overflow: auto;
  background: #fff;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.modal h2 {
  text-align: center;
  margin: 2px 0 20px;
  font-size: 27px;
}
.modal p {
  color: var(--ink2);
  line-height: 1.5;
}
.modal a {
  color: var(--blue);
  font-weight: 750;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  font-size: 25px;
  cursor: pointer;
}
.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-actions .btn,
.modal-actions .btn2,
.modal-actions .btn3 {
  min-width: 0;
  font-size: 15px;
}
.login-code {
  text-align: center;
  font-size: 42px;
  font-weight: 850;
  letter-spacing: 5px;
  color: var(--blue);
  margin: 18px 0;
}
.code-input {
  text-align: center;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 4px;
}
.login-submit {
  margin-top: 14px;
}
.modal-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border-radius: 17px;
  padding: 17px;
  margin-bottom: 16px;
}
.modal-summary small,
dl small {
  color: var(--muted);
}
dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px 20px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}
.modal > .btn3 + .btn3,
.modal-summary + .btn3 {
  margin-top: 12px;
}
#toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 25px);
  max-width: min(440px, calc(100% - 30px));
  padding: 12px 18px;
  border-radius: 13px;
  background: #16222e;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.fatal {
  justify-content: center;
  text-align: center;
  gap: 18px;
}
.fatal p {
  color: var(--ink2);
}
@keyframes pulse {
  50% {
    transform: scale(0.96);
    opacity: 0.68;
  }
}
@media (max-width: 600px) {
  html,
  body {
    height: 100%;
    background: var(--white);
  }
  body {
    padding: 0;
  }
  #app {
    max-width: none;
    min-height: 100dvh;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }
  .body {
    padding: calc(18px + env(safe-area-inset-top)) 22px 24px;
  }
  .logo {
    margin-top: 2px;
  }
  .record-space {
    min-height: 320px;
  }
  .recbtn {
    width: min(78vw, 332px);
    height: min(78vw, 332px);
  }
  .recbtn .core {
    width: 89%;
    height: 89%;
  }
  .modal-backdrop {
    position: fixed;
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .modal {
    border-radius: 25px;
  }
  .history-card {
    padding: 14px 12px;
  }
  .history-play {
    width: 58px;
    height: 58px;
  }
  .quota-card {
    padding: 14px;
    gap: 9px;
  }
  .quota-card > i {
    width: 36px;
    height: 36px;
  }
  .quota-card b {
    font-size: 17px;
  }
}
@media (max-width: 390px) {
  .body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .result-actions,
  .rating-card > div,
  .modal-actions {
    gap: 8px;
  }
  .btn,
  .btn2,
  .btn3 {
    font-size: 16px;
  }
  .quota-grid {
    gap: 9px;
  }
  .quota-card {
    padding: 12px 10px;
  }
  .history-card {
    gap: 9px;
  }
  .history-play {
    width: 52px;
    height: 52px;
  }
  .history-bottom {
    font-size: 12px;
  }
  .top h2 {
    font-size: 23px;
  }
}
@media (min-width: 900px) {
  #app {
    max-width: 560px;
  }
  .body {
    padding-left: 34px;
    padding-right: 34px;
  }
  .history-card,
  .account-card,
  .balance-card,
  .file-card {
    transition:
      transform 0.14s,
      background 0.14s;
  }
  .history-card:hover,
  .account-card:hover,
  .balance-card:hover,
  .file-card:hover {
    transform: translateY(-1px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
