@font-face {
  font-family: 'GiveCopy Symbols';
  src: url('/fonts/symbols.woff2') format('woff2');
  font-display: block;
}
:root {
  --bg: #f5f5f7;
  --card: #fff;
  --label: #1c1c1e;
  --secondary: #6e6e73;
  --tertiary: #aeaeb2;
  --sep: #e5e5ea;
  --tint: #1f7a4d;
  --tint-soft: rgba(31, 122, 77, 0.12);
  --red: #d70015;
  --warn: #b25000;
  --glass: rgba(255, 255, 255, 0.74);
  --glass-line: rgba(0, 0, 0, 0.08);
  --gray-fill: rgba(120, 120, 128, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100dvh;
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN',
    'Segoe UI', 'Yu Gothic UI', 'Noto Sans JP', Meiryo, sans-serif;
  color: var(--label);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.num {
  font-variant-numeric: tabular-nums;
}
.ms {
  font-family: 'GiveCopy Symbols';
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  width: 1em;
  text-align: center;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0;
  flex: none;
}
.ms.fill {
  font-variation-settings: 'FILL' 1;
}
:focus-visible {
  outline: 3px solid rgba(31, 122, 77, 0.45);
  outline-offset: 2px;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 20px 0;
}
.topbar-in {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border: 0.5px solid var(--glass-line);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  padding: 7px 8px 7px 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
  color: var(--label);
  text-decoration: none;
}
.brand img {
  border-radius: 7px;
  display: block;
}
.topnav {
  margin-left: auto;
  display: flex;
  gap: 2px;
}
.pill-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  color: var(--tint);
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
  min-height: 40px;
}
.pill-link:hover {
  background: var(--gray-fill);
}
.lang select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}
.nav-close,
.nav-title {
  display: none;
}
.nav-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0.5px solid var(--glass-line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--label);
}

/* ---------- Layout ---------- */
main {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}
.head {
  margin-bottom: 4px;
}
.large {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.18;
}
.sub {
  color: var(--secondary);
  font-size: 15px;
  margin-top: 8px;
}
.eyebrow {
  font-size: 13px;
  color: var(--secondary);
  margin-bottom: 2px;
}
.section-title {
  font-size: 13px;
  color: var(--secondary);
  margin: 24px 16px 7px;
}
.footnote {
  font-size: 13px;
  color: var(--secondary);
  margin: 8px 16px 0;
}
.notice {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff4e5;
  color: #7a3b00;
  font-size: 15px;
}

/* ---------- Segmented control and tabs ---------- */
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--gray-fill);
  border-radius: 999px;
  padding: 4px;
  margin: 22px 0 18px;
}
.seg button {
  border: 0;
  background: none;
  border-radius: 999px;
  padding: 9px 0;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.seg button .ms {
  font-size: 19px;
}
.seg button[aria-selected='true'] {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.tab {
  display: none;
}
body[data-tab='send'] #tab-send,
body[data-tab='receive'] #tab-receive,
body[data-tab='help'] #tab-help {
  display: block;
}
body[data-tab='help'] .seg {
  display: none;
}
.tabbar {
  display: none;
}

/* ---------- Grouped lists ---------- */
.group {
  background: var(--card);
  border-radius: 26px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  min-height: 54px;
  position: relative;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
}
button.row:hover {
  background: rgba(0, 0, 0, 0.025);
}
.row + .row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 56px;
  right: 0;
  border-top: 0.5px solid var(--sep);
}
.row .lead-icon {
  color: var(--tint);
}
.row .grow {
  flex: 1;
  min-width: 0;
}
.row .name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .value {
  color: var(--secondary);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.row .value .ms,
.row .chev {
  font-size: 20px;
  color: var(--tertiary);
}
.row .size {
  color: var(--secondary);
  font-size: 15px;
}
.row-sub {
  display: block;
  font-size: 13px;
  color: var(--secondary);
}
.row.tap .grow {
  color: var(--tint);
}
.badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--tint);
}
.badge-icon.files {
  background: #2f6f9f;
}
.badge-icon .ms {
  font-size: 19px;
}
.st.ok,
.peer .ok {
  color: var(--tint);
}
.st.wait {
  color: var(--tertiary);
}
.save-link {
  background: var(--tint-soft);
  color: var(--tint);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  white-space: nowrap;
}
.save-link .ms {
  font-size: 18px;
}

/* ---------- Send tab ---------- */
.drop {
  background: #fff;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1.5px rgba(31, 122, 77, 0.25);
  text-align: center;
  padding: 30px 20px 26px;
}
.drop.drag {
  box-shadow: inset 0 0 0 2.5px var(--tint);
  background: #f3faf6;
}
.drop-icon {
  font-size: 44px;
  color: var(--tint);
}
.drop p {
  color: var(--secondary);
  font-size: 15px;
  margin: 6px 0 16px;
}
.pick-list {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 17px;
  border: 0;
  border-radius: 999px;
  min-height: 54px;
  padding: 14px 26px;
  text-decoration: none;
}
.btn .ms {
  font-size: 21px;
}
.btn.fill {
  background: var(--tint);
  color: #fff;
}
.btn.fill:hover {
  background: #1a6a43;
}
.btn.tinted {
  background: var(--tint-soft);
  color: var(--tint);
}
.btn.plain {
  background: var(--gray-fill);
  color: var(--tint);
}
.btn.danger {
  background: var(--gray-fill);
  color: var(--red);
}
.btn.destructive {
  background: var(--red);
  color: #fff;
}
.btn.small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 15px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.row-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.consent-line {
  width: 100%;
  font-size: 12px;
  color: var(--secondary);
  margin-top: -2px;
}

/* ---------- Receive tab ---------- */
.code-boxes {
  position: relative;
  display: block;
  margin-top: 4px;
}
.code-boxes input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  font-size: 16px;
  border: 0;
  cursor: text;
}
.boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.boxes i {
  font-style: normal;
  background: var(--card);
  border-radius: 18px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
}
.code-boxes.focus .boxes i.cur {
  box-shadow: inset 0 0 0 2px var(--tint);
}
.code-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
}

/* ---------- Help ---------- */
.help-steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.help-steps li {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 24px;
  padding: 16px;
}
.help-steps .n {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.help-steps b {
  display: block;
  margin-bottom: 2px;
}
.help-steps li > span > span {
  color: var(--secondary);
  font-size: 14px;
}

/* ---------- Flow ---------- */
.steps {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}
.steps i {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #d1d1d6;
}
.steps i.done {
  background: var(--tint);
}
.card {
  background: var(--card);
  border-radius: 26px;
  margin-top: 16px;
}
.share {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tint);
  background: var(--tint-soft);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 10px;
}
.status .ms {
  font-size: 17px;
}
.status.wait {
  color: var(--secondary);
  background: #ececf0;
}
.code-label {
  font-size: 13px;
  color: var(--secondary);
}
.share .code {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
}
.share-url {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  padding: 2px 0;
  margin: 2px 0 12px;
  font-size: 15px;
  color: var(--secondary);
  text-overflow: ellipsis;
}
.qr-wrap {
  border: 0;
  background: none;
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
}
.qr-wrap canvas {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  image-rendering: pixelated;
}
.qr-cap {
  font-size: 12px;
  color: var(--secondary);
  max-width: 170px;
  text-align: center;
}
.check-card {
  background: var(--card);
  border-radius: 30px;
  padding: 26px 22px 24px;
  text-align: center;
  margin-top: 16px;
}
.check-label {
  font-size: 13px;
  color: var(--secondary);
}
.check {
  font-size: 76px;
  font-weight: 700;
  line-height: 1.1;
  margin: 4px 0 8px;
}
.check-card p {
  font-size: 15px;
  color: var(--secondary);
}
.peer {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 24px;
  padding: 14px 16px;
  margin-top: 16px;
}
.peer .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tint-soft);
  color: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.peer .grow {
  flex: 1;
}
.peer b {
  display: block;
}
.peer small {
  color: var(--secondary);
  font-size: 13px;
}
.big-pct {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  margin-top: 18px;
}
.big-pct small {
  font-size: 28px;
  color: var(--secondary);
  font-weight: 600;
  margin-left: 2px;
}
progress {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #e3e3e8;
  overflow: hidden;
  margin-top: 14px;
}
progress::-webkit-progress-bar {
  background: #e3e3e8;
  border-radius: 999px;
}
progress::-webkit-progress-value {
  background: var(--tint);
  border-radius: 999px;
}
progress::-moz-progress-bar {
  background: var(--tint);
  border-radius: 999px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.stats div {
  background: #fff;
  border-radius: 20px;
  padding: 12px 14px;
  min-width: 0;
}
.stats span {
  display: block;
  font-size: 12px;
  color: var(--secondary);
}
.stats b {
  font-size: 18px;
  white-space: nowrap;
}
.banner {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 12px 14px;
  margin-top: 14px;
  font-size: 14px;
}
.banner > .ms {
  color: var(--tint);
}
.banner b {
  display: block;
  font-size: 15px;
}
.banner .t {
  color: var(--secondary);
}
.banner.warn > .ms {
  color: var(--warn);
}
.hero-state {
  text-align: center;
  padding: 26px 10px 6px;
}
.hero-state .circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tint-soft);
  color: var(--tint);
}
.hero-state .circle .ms {
  font-size: 46px;
}
.hero-state .circle.red {
  background: rgba(215, 0, 21, 0.1);
  color: var(--red);
}
.hero-state .circle.warn {
  background: rgba(178, 80, 0, 0.1);
  color: var(--warn);
}
.hero-state h2 {
  font-size: 30px;
  margin-top: 14px;
}
.hero-state p {
  color: var(--secondary);
  font-size: 15px;
  margin-top: 6px;
}
.limit-bar {
  height: 10px;
  border-radius: 999px;
  background: #e3e3e8;
  margin: 18px 0 4px;
  position: relative;
}
.limit-bar i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--red);
  opacity: 0.85;
}
.limit-bar u {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 3px;
  background: var(--label);
}
body[data-view='flow'] #v-flow .flow-head .sub:empty {
  display: none;
}
/* A centred hero already names the state, so the page heading would repeat it. */
body.hero .flow-head {
  display: none !important;
}

/* ---------- Ads and support ---------- */
.ad {
  margin-top: 22px;
  background: #fff;
  border-radius: 22px;
  padding: 12px 14px 14px;
  border: 0.5px solid #d1d1d6;
}
.ad-lab {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--secondary);
  margin-bottom: 8px;
}
.ad-slot iframe {
  display: block;
  width: 100%;
  height: var(--ad-h, 100px);
  border: 0;
  border-radius: 14px;
  background: #f2f2f7;
}
.tip {
  margin-top: 22px;
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.tip > .ms {
  color: var(--tint);
  font-size: 28px;
}
.tip .grow {
  flex: 1;
  min-width: 0;
}
.tip b {
  display: block;
}
.tip small {
  color: var(--secondary);
  font-size: 13px;
}
.tip .btn {
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.foot {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 36px 34px;
  font-size: 13px;
  color: var(--secondary);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--secondary);
  font-size: 13px;
}
a.foot-link {
  text-decoration: none;
}
.foot-link:hover {
  color: var(--label);
}

/* ---------- Sheets and dialogs ---------- */
dialog {
  border: 0;
  padding: 0;
  background: #fff;
  color: inherit;
  width: min(460px, calc(100% - 32px));
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.32);
}
.sheet-in {
  padding: 26px 24px 22px;
}
.grabber {
  display: none;
  width: 38px;
  height: 5px;
  border-radius: 3px;
  background: #d1d1d6;
  margin: 0 auto 14px;
}
.sheet-in h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.lead-text {
  color: var(--secondary);
  font-size: 15px;
  white-space: pre-line;
}
.sheet-in .group {
  background: #f2f2f7;
  margin-top: 16px;
}
.sheet-in .stack {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.sheet-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tint-soft);
  color: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.sheet-icon .ms {
  font-size: 30px;
}
.field-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f2f2f7;
  border-radius: 16px;
  padding: 6px 8px 6px 16px;
  margin-top: 16px;
}
.field-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 17px;
  padding: 10px 0;
  outline: none;
}
.field-box > .ms {
  color: var(--secondary);
}
.field-box .eye {
  border: 0;
  background: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.field-box:focus-within {
  box-shadow: inset 0 0 0 2px var(--tint);
}
.field-box.err {
  box-shadow: inset 0 0 0 2px var(--red);
}
.err-text {
  color: var(--red);
  font-size: 14px;
  margin: 8px 4px 0;
  display: flex;
  gap: 4px;
  align-items: center;
}
.err-text .ms {
  font-size: 18px;
}
.opt .ok {
  color: var(--tint);
}

/* ---------- QR full screen ---------- */
.qr-full {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
}
.qr-full canvas {
  width: min(300px, 80vw);
  height: min(300px, 80vw);
  image-rendering: pixelated;
}
.qr-full .code {
  font-size: 40px;
  font-weight: 700;
}
.qr-full p {
  color: var(--secondary);
  font-size: 15px;
  max-width: 340px;
}
.qr-full .nav-close {
  display: flex;
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  left: 14px;
}

/* ================= Smartphone: native-app layout ================= */
@media (max-width: 700px) {
  .topbar {
    padding: 0;
    background: rgba(245, 245, 247, 0.94);
    padding-top: env(safe-area-inset-top);
  }
  .topbar-in {
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 0;
    min-height: 56px;
    padding: 6px 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .brand {
    display: none;
  }
  .nav-title {
    grid-column: 2;
    font-size: 17px;
    font-weight: 600;
  }
  .topnav {
    grid-column: 3;
    justify-self: end;
  }
  .pill-link .label,
  #nav-help {
    display: none;
  }
  .pill-link.lang {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    border: 0.5px solid var(--glass-line);
    background: var(--glass);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    color: var(--label);
  }
  body[data-view='flow'] .nav-close {
    display: flex;
    grid-column: 1;
    justify-self: start;
  }
  body[data-view='flow'] .nav-title {
    display: block;
  }
  body[data-view='flow'] .topnav {
    display: none;
  }
  main {
    padding: 8px 16px 150px;
  }
  .large {
    font-size: 34px;
  }
  .head {
    padding: 0 4px;
  }
  .seg,
  .drop {
    display: none;
  }
  .pick-list {
    display: block;
  }
  #tab-send > .section-title:first-of-type,
  .pick-list .section-title {
    margin-top: 20px;
  }
  body[data-view='home'] .tabbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 15;
    padding: 6px;
    border-radius: 999px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    backdrop-filter: blur(20px) saturate(1.6);
    border: 0.5px solid var(--glass-line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }
  .tabbar button {
    border: 0;
    background: none;
    border-radius: 999px;
    padding: 7px 0 6px;
    display: grid;
    justify-items: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 500;
    color: #8e8e93;
  }
  .tabbar .ms {
    font-size: 26px;
  }
  .tabbar button[aria-selected='true'] {
    color: var(--tint);
    background: var(--tint-soft);
  }
  .tabbar button[aria-selected='true'] .ms {
    font-variation-settings: 'FILL' 1;
  }
  .flow-head {
    display: none;
  }
  body.head-m .flow-head {
    display: block;
    padding: 4px 4px 0;
  }
  body.head-m .flow-head .large {
    font-size: 30px;
  }
  .share {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 20px 16px;
  }
  .share-pc,
  .share-url {
    display: none;
  }
  .qr-wrap canvas {
    width: 188px;
    height: 188px;
  }
  .actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
    background: rgba(245, 245, 247, 0.94);
  }
  .actions:not(:has(> :not([hidden]))) {
    display: none;
  }
  .actions .btn.fill {
    box-shadow: 0 10px 24px rgba(31, 122, 77, 0.28);
  }
  .actions .btn.plain,
  .actions .btn.danger {
    background: rgba(255, 255, 255, 0.85);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
  }
  .consent-line {
    text-align: center;
  }
  .stats div {
    padding: 12px 10px;
  }
  .stats b {
    font-size: 15px;
  }
  .foot {
    display: none;
  }
  body[data-view='home'][data-tab='help'] .foot {
    display: flex;
    padding-bottom: 120px;
  }
  dialog {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    border-radius: 32px 32px 0 0;
    box-shadow: none;
  }
  .sheet-in {
    padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  }
  .grabber {
    display: block;
  }
  .code-actions #join {
    display: none;
  }
}
@media (max-width: 700px) and (prefers-reduced-transparency: reduce) {
  .tabbar,
  .nav-close,
  .pill-link.lang {
    background: #fff;
  }
}
