  :root {
    /* Old-school imageboard palette */
    --bg: #FFFFEE;          /* cream page */
    --card: #F0E0D6;        /* beige-pink post boxes */
    --text: #800000;        /* maroon text */
    --text2: #89574F;       /* muted maroon for small details */
    --label: #800000;
    --blue: #000080;        /* navy: links, your marker, progress bars */
    --orange: #CC1105;      /* red: brother's marker, recording */
    --border: #D9BFB7;
    --divider: #E5CFC7;
    --placeholder: #EED7CC;
    --name: #117743;        /* green bold names */
    --quote: #789922;       /* greentext */
    --title: #AF0A0F;       /* page title red */
    --head: Tahoma, Verdana, Geneva, sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { min-height: 100%; }
  body {
    background: var(--divider);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    -webkit-font-smoothing: antialiased;
  }
  button {
    font: inherit; color: inherit; border: 0; background: none;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
  .ic { width: 20px; height: 20px; display: block; flex: none; }

  /* Phone frame */
  .phone {
    width: 390px; height: 844px; flex: none;
    border-radius: 32px; background: var(--bg);
    overflow: hidden; position: relative;
  }
  .screen { position: absolute; inset: 0; display: flex; flex-direction: column; }
  .screen[hidden] { display: none; }

  /* Feed header + clocks */
  .feed-header { padding: 28px 20px 16px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .header-btn {
    height: 44px; border-radius: 999px; background: var(--card); color: var(--label);
    padding: 0 16px 0 12px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  }
  .post-sent.tight { padding-bottom: 4px; }
  .post-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px 12px 16px; }
  .post-expiry { font-size: 12px; color: var(--text2); }
  .save-btn {
    height: 44px; border-radius: 999px; padding: 0 16px 0 12px; flex: none;
    display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
    background: var(--card); border: 1px solid var(--border); color: var(--text);
  }
  .save-btn .ic { width: 18px; height: 18px; }
  .save-btn.saved { background: var(--blue); border-color: var(--blue); color: #fff; }
  .archive-list { padding-bottom: 28px; }
  .empty-note { font-size: 13px; color: var(--text2); text-align: center; padding: 40px 20px; line-height: 1.5; }
  .empty-note[hidden] { display: none; }
  h1 {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    font-size: 28px; letter-spacing: -0.02em; line-height: 1.15;
  }
  .clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px; flex: none; }
  .clock-card { background: var(--card); border-radius: 16px; padding: 14px; min-width: 0; }
  .who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--label); }
  .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
  .dot.me { background: var(--blue); }
  .dot.bro { background: var(--orange); }
  .clock-time {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 32px;
    line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums;
  }
  .clock-meta {
    font-size: 12px; color: var(--text2); margin-top: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .diff { text-align: center; font-size: 13px; color: var(--text2); padding: 14px 20px; flex: none; }

  /* Feed */
  .feed {
    flex: 1; overflow-y: auto; padding: 2px 20px 20px;
    display: flex; flex-direction: column; gap: 16px;
    scrollbar-width: none;
  }
  .feed::-webkit-scrollbar, .share-body::-webkit-scrollbar { display: none; }
  .post { background: var(--card); border-radius: 20px; overflow: hidden; flex: none; }
  .post-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px; min-height: 56px; }
  .post-right { display: flex; align-items: center; gap: 2px; }
  .post-delete { margin-right: -10px; color: var(--text2); }
  .post-delete .ic { width: 20px; height: 20px; }

  /* Confirmation sheet */
  .sheet-backdrop {
    position: absolute; inset: 0; z-index: 20; background: rgba(22, 24, 29, 0.4);
    display: flex; align-items: flex-end;
  }
  .sheet-backdrop[hidden] { display: none; }
  .sheet { width: 100%; background: var(--card); border-radius: 24px 24px 0 0; padding: 24px 20px 28px; }
  .sheet h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
  .sheet p { font-size: 14px; color: var(--text2); margin-top: 8px; line-height: 1.45; }
  .sheet-actions { display: flex; gap: 12px; margin-top: 20px; }
  .sheet-btn {
    flex: 1; height: 52px; border-radius: 999px; font-size: 15px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
  }
  .sheet-btn.secondary { background: var(--card); border: 1px solid var(--border); color: var(--text); }
  .sheet-btn.dark { background: var(--text); color: #fff; }
  .sheet-btn.primary { background: var(--blue); color: #fff; }
  .post-who { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
  .post-ago { font-size: 12px; color: var(--text2); }
  .post-photo { position: relative; width: 100%; height: 300px; overflow: hidden; cursor: zoom-in; display: block; padding: 0; }
  .photo-placeholder {
    height: 240px; background: var(--placeholder);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; color: var(--text2); font-size: 13px;
  }
  .photo-placeholder .ic { width: 32px; height: 32px; }
  .post-title { font-size: 16px; font-weight: 600; padding: 14px 16px 0; line-height: 1.35; overflow-wrap: anywhere; }
  .post .player { margin: 12px 16px 0; }
  .post-sent { font-size: 12px; color: var(--text2); padding: 12px 16px 16px; }

  /* Voice memo player */
  .player {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg); border-radius: 999px; padding: 8px 20px 8px 8px;
  }
  .player.plain { background: none; padding: 0; flex: 1; min-width: 0; }
  .play-btn {
    width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center; flex: none;
  }
  .player-main { flex: 1; min-width: 0; padding-top: 2px; }
  .bar { height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
  .panel .bar { background: var(--divider); }
  .fill { height: 100%; width: 0; background: var(--blue); border-radius: 2px; }
  .fill.orange { background: var(--orange); }
  .times {
    display: flex; justify-content: space-between; font-size: 12px; color: var(--text2);
    margin-top: 6px; font-variant-numeric: tabular-nums;
  }

  /* Bottom bar */
  .bottom-bar { background: var(--card); border-top: 1px solid var(--divider); padding: 12px 20px 28px; flex: none; }
  .primary-btn {
    width: 100%; height: 52px; border-radius: 999px; background: var(--blue); color: #fff;
    font-size: 16px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .done-pill {
    height: 52px; border-radius: 999px; background: var(--divider);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; cursor: default; user-select: none;
  }
  .done-pill strong { font-size: 15px; font-weight: 600; color: var(--label); line-height: 1.25; }
  .done-pill span { font-size: 12px; color: var(--text2); line-height: 1.3; }

  /* Share screen */
  .share-header { display: flex; align-items: center; gap: 12px; padding: 28px 20px 16px; flex: none; }
  .round-btn {
    width: 44px; height: 44px; border-radius: 50%; background: var(--card);
    border: 1px solid var(--border); color: var(--text);
    display: flex; align-items: center; justify-content: center; flex: none;
  }
  h2 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
  .share-body {
    flex: 1; overflow-y: auto; padding: 4px 20px 20px;
    display: flex; flex-direction: column; gap: 20px; scrollbar-width: none;
  }
  .picker {
    width: 100%; height: 320px; flex: none; border-radius: 20px; background: var(--card);
    border: 2px dashed var(--border); overflow: hidden; padding: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .picker.has-photo { border: 0; }
  .picker { position: relative; }
  .picker-wrap { position: relative; flex: none; }
  .picker-remove { position: absolute; top: 12px; right: 12px; border: 0; z-index: 2; }
  .picker-input {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer; z-index: 1; font-size: 0;
  }
  .picker-input[hidden] { display: none; }
  .picker-remove[hidden] { display: none; }
  .picker.has-photo { cursor: grab; touch-action: none; }
  .picker.has-photo:active { cursor: grabbing; }
  .crop-img {
    position: absolute; display: block; max-width: none;
    user-select: none; -webkit-user-drag: none; pointer-events: none;
  }
  .crop-controls { margin-top: -8px; }
  .crop-controls[hidden] { display: none; }
  .crop-hint { font-size: 12px; color: var(--text2); }
  .viewer {
    position: absolute; inset: 0; z-index: 10; background: var(--text);
    display: flex; align-items: center; justify-content: center; padding: 88px 0 40px;
  }
  .viewer[hidden] { display: none; }
  .viewer { touch-action: none; overflow: hidden; }
  .viewer.zoomed { cursor: grab; }
  .viewer.zoomed:active { cursor: grabbing; }
  .viewer img {
    max-width: 100%; max-height: 100%; object-fit: contain; display: block;
    transform-origin: center; user-select: none; -webkit-user-drag: none;
  }
  .viewer .round-btn { position: absolute; top: 28px; right: 20px; border: 0; z-index: 1; }
  .picker-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text2); font-size: 14px; }
  .picker-empty .ic { width: 36px; height: 36px; }
  .picker-msg { font-size: 12px; color: var(--text2); max-width: 240px; text-align: center; line-height: 1.4; }
  .label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
  .label { font-size: 14px; font-weight: 600; color: var(--label); }
  .opt { font-weight: 400; color: var(--text2); }
  .counter { font-size: 12px; color: var(--text2); font-variant-numeric: tabular-nums; }
  .text-input {
    width: 100%; height: 48px; border: 1px solid var(--border); border-radius: 12px;
    background: var(--card); padding: 0 14px; font: inherit; font-size: 15px; color: var(--text); outline: none;
  }
  .text-input::placeholder { color: var(--text2); opacity: 0.75; }
  .text-input:focus { border-color: var(--blue); }
  .record-btn {
    width: 100%; height: 72px; background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    display: flex; align-items: center; gap: 14px; padding: 0 14px; text-align: left;
  }
  .mic-circle {
    width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center; flex: none;
  }
  .rb-title { display: block; font-size: 15px; font-weight: 600; }
  .rb-sub { display: block; font-size: 13px; color: var(--text2); margin-top: 2px; }
  .panel { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
  .rec-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  .rec-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
  .rec-timer { font-size: 14px; color: var(--text2); font-variant-numeric: tabular-nums; }
  .stop-btn {
    margin-top: 14px; width: 100%; height: 48px; border-radius: 999px; background: var(--text); color: #fff;
    font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .rec-done { display: flex; align-items: center; gap: 4px; padding: 12px; }
  .rec-done .player { margin-right: 8px; }
  .icon-btn {
    width: 44px; height: 44px; border-radius: 12px; color: var(--label);
    display: flex; align-items: center; justify-content: center; flex: none;
  }
  .icon-btn .ic { width: 22px; height: 22px; }
  .sim-note { font-size: 12px; color: var(--text2); margin-top: 8px; line-height: 1.45; }
  .time-note { background: var(--card); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--text2); line-height: 1.45; flex: none; }

  /* ================= Old-school imageboard theme ================= */
  body {
    background: #EDE6D4;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    -webkit-font-smoothing: auto;
  }
  button:focus-visible, input:focus-visible { outline: 1px dotted #000; outline-offset: 2px; }

  .phone { border: 1px solid var(--border); }

  /* Everything square */
  .clock-card, .post, .player, .play-btn, .bar, .fill, .primary-btn, .done-pill, .round-btn,
  .picker, .text-input, .record-btn, .mic-circle, .panel, .stop-btn, .icon-btn, .time-note,
  .header-btn, .save-btn, .sheet, .sheet-btn, .dot { border-radius: 0; }

  /* Board-style header: [Archive] link above a centred red title, then a rule */
  .feed-header {
    flex-direction: column; align-items: center; gap: 0;
    margin: 0 12px 12px; padding: 8px 8px 12px; border-bottom: 1px solid var(--border);
  }
  .header-btn {
    order: -1; align-self: flex-end; background: none; border: 0; padding: 0 4px;
    color: var(--blue); font-weight: 400; font-size: 13px; text-decoration: underline;
  }
  .header-btn .ic { display: none; }
  .feed-nav { align-self: stretch; display: flex; justify-content: space-between; }
  .feed-nav .header-btn { order: 0; align-self: auto; }
  .feed-nav.end { justify-content: flex-end; }
  .header-btn[hidden] { display: none; }
  .chain-row.editing { cursor: default; }
  .chain-row.editing:active { background: var(--card); }
  .chain-delete {
    background: none; border: 0; padding: 0 2px; min-height: 28px; margin: -6px 0;
    color: var(--orange); font-size: 13px; text-decoration: underline; cursor: pointer;
  }
  .chain-delete::before { content: '['; color: var(--text); display: inline-block; }
  .chain-delete::after { content: ']'; color: var(--text); display: inline-block; }

  /* Chain list: one reply-style box per person */
  .chain-row {
    display: block; width: 100%; text-align: left; flex: none; cursor: pointer;
    background: var(--card); border: 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 10px 12px; font: inherit; color: var(--text);
  }
  .chain-row:active { background: var(--border); }
  .chain-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .chain-top .who { font-size: 15px; }
  .chain-time { font-size: 11px; color: var(--text2); white-space: nowrap; }
  .chain-latest { font-size: 13px; margin-top: 6px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chain-status { font-size: 11px; color: var(--text2); margin-top: 3px; }
  .chain-status.todo { color: var(--blue); }

  /* Start-a-chain form inside the sheet */
  #sheetExtra:empty { display: none; }
  #sheetExtra { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
  #sheetExtra .label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--text); font-weight: 700; }
  #sheetExtra select.text-input { appearance: auto; }
  .form-error { color: var(--orange); font-size: 12px; }
  .invite-link { font-size: 13px; color: var(--blue); }

  /* First-launch welcome */
  .welcome-intro { font-size: 14px; color: var(--text); }
  #welcomeScreen .label { display: inline-block; margin-bottom: 6px; }
  .welcome-hint { font-size: 11px; color: var(--text2); margin-top: 4px; line-height: 1.4; }
  .welcome-zone { margin-top: 0; }
  .sim-link.welcome-change { color: var(--blue); font-size: 13px; padding: 6px 0; display: inline-block; }
  .welcome-change::before { content: '['; color: var(--text); text-decoration: none; display: inline-block; }
  .welcome-change::after { content: ']'; color: var(--text); text-decoration: none; display: inline-block; }
  .welcome-pick { margin-top: 6px; }
  .welcome-pick[hidden], .welcome-change[hidden] { display: none; }
  #welcomeZoneSelect { appearance: auto; }
  .sim-link {
    align-self: flex-start; background: none; border: 0; padding: 2px 0; text-align: left;
    color: var(--text2); font-size: 11px; text-decoration: underline; cursor: pointer;
  }
  .header-btn::before { content: '['; color: var(--text); }
  .header-btn::after { content: ']'; color: var(--text); }
  h1, h2, .sheet h3 { font-family: var(--head); font-weight: 700; color: var(--title); letter-spacing: -0.03em; }
  h1 { font-size: 28px; line-height: 1.1; text-align: center; }
  h2 { font-size: 22px; }
  .sheet h3 { font-size: 16px; color: var(--orange); letter-spacing: 0; }

  /* Reply-style boxes: beige, with the border only on the right and bottom */
  .clock-card, .post, .time-note {
    background: var(--card); border: 0;
    border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  }
  .clocks { gap: 8px; padding: 0 12px; margin-bottom: 12px; }
  .clock-card { padding: 8px 10px; }
  .who, .post-who { color: var(--name); font-weight: 700; font-size: 13px; }
  .dot { width: 9px; height: 9px; }
  .clock-time { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 30px; color: var(--text); margin-top: 4px; }
  .clock-meta, .post-ago, .post-sent, .post-expiry, .times, .counter, .crop-hint, .sim-note, .rb-sub { color: var(--text2); font-size: 11px; }
  .diff { font-size: 12px; color: var(--text); padding: 10px 12px; }

  .feed { padding: 2px 12px 16px; gap: 10px; }
  .post-top { min-height: 48px; padding: 2px 12px; }
  /* Post titles: bold headline in the classic greentext green */
  .post-title {
    color: var(--quote); font-family: var(--head); font-weight: 700; font-size: 16px;
    line-height: 1.25; letter-spacing: -0.01em; padding: 12px 12px 0;
  }
  .post .player { margin: 10px 12px 0; }
  .post-sent { padding: 10px 12px 12px; }
  .post-sent.tight { padding-bottom: 2px; }
  .post-actions { padding: 0 6px 6px 12px; }
  .photo-placeholder { color: var(--text2); font-size: 12px; }
  .post-delete, .icon-btn { color: var(--text); }

  /* Text links in square brackets */
  .save-btn {
    background: none; border: 0; padding: 0 6px; color: var(--blue);
    font-weight: 400; font-size: 13px; text-decoration: underline;
  }
  .save-btn .ic { display: none; }
  .save-btn::before { content: '['; color: var(--text); text-decoration: none; display: inline-block; }
  .save-btn::after { content: ']'; color: var(--text); text-decoration: none; display: inline-block; }
  .save-btn.saved { background: none; color: var(--quote); font-weight: 700; }

  .primary-btn {
    background: none; color: var(--blue); font-family: var(--head); font-size: 20px; font-weight: 700;
    text-decoration: underline;
  }
  .primary-btn .ic { width: 18px; height: 18px; margin: 0 4px 0 3px; stroke-width: 2.5; }
  .primary-btn::before { content: '['; color: var(--text); display: inline-block; }
  .primary-btn::after { content: ']'; color: var(--text); display: inline-block; }

  /* Plain old-fashioned grey buttons */
  .play-btn, .mic-circle, .round-btn, .stop-btn, .sheet-btn {
    background: #EFEFEF; color: #000; border: 2px outset #E4E4E4;
  }
  .play-btn:active, .round-btn:active, .stop-btn:active, .sheet-btn:active { border-style: inset; }
  .sheet-btn, .stop-btn { font-weight: 400; font-size: 14px; }
  .sheet-btn.secondary { background: #EFEFEF; color: #000; border: 2px outset #E4E4E4; }
  .sheet-btn.primary { font-weight: 700; color: #000; background: #EFEFEF; }
  .sheet-btn.dark { color: var(--orange); background: #EFEFEF; }
  .stop-btn { color: #000; }

  /* Voice memo player */
  .player { background: transparent; border: 1px solid var(--border); padding: 6px 12px 6px 6px; }
  .player.plain { border: 0; padding: 0; }
  .bar, .panel .bar { background: #fff; border: 1px solid var(--border); height: 6px; }

  /* Bottom bar + "already shared" note */
  .bottom-bar { background: var(--bg); border-top: 1px solid var(--border); padding: 8px 12px 24px; }
  .done-pill { background: var(--card); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .done-pill strong { color: var(--text); font-size: 14px; }
  .done-pill span { color: var(--text2); font-size: 11px; }

  /* Share screen as a classic post form */
  .share-header { padding: 16px 12px 12px; margin: 0 0 4px; border-bottom: 1px solid var(--border); }
  .share-body { padding: 8px 12px 16px; gap: 16px; }
  .label { background: #EEAA88; color: #000; border: 1px solid var(--text); padding: 1px 6px; font-size: 13px; font-weight: 700; }
  .label .opt { color: #000; font-weight: 400; }
  .text-input { background: #fff; border: 1px solid #AAAAAA; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #000; }
  .text-input::placeholder { color: #8A8A8A; opacity: 1; }
  .text-input:focus { border-color: #000; }
  .picker { background: #fff; border: 2px dashed var(--border); }
  .picker-empty, .picker-msg { color: var(--text); font-size: 13px; }
  .record-btn, .panel { background: var(--card); border: 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .rb-title, .rec-label { color: var(--text); font-size: 14px; font-weight: 700; }
  .rec-timer { color: var(--text); font-size: 12px; }
  .time-note { font-size: 12px; color: var(--text); padding: 8px 10px; }

  /* Confirmation box */
  .sheet { background: var(--card); border-top: 1px solid var(--border); }
  .sheet p { color: var(--text); font-size: 13px; }
  .sheet-backdrop { background: rgba(0, 0, 0, 0.35); }
  .viewer { background: #000; }
  .empty-note { color: var(--text); }
  .header-btn, .save-btn, .primary-btn { gap: 1px; }

  /* Smaller X on the chosen photo; an invisible margin keeps it easy to tap */
  .picker-remove { top: 4px; right: 4px; background: none; border: 0; }
  .picker-remove:active { border-style: none; }
  .x-box {
    width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    background: #EFEFEF; color: #000; border: 2px outset #E4E4E4;
  }
  .picker-remove:active .x-box { border-style: inset; }
  .x-box .ic { width: 15px; height: 15px; }

  /* ================= Real phones ================= */
  /* Keep clear of the notch and the home bar (these are 0 where not needed). */
  .screen { padding-top: env(safe-area-inset-top); }
  .bottom-bar { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .sheet { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .viewer .round-btn { top: calc(28px + env(safe-area-inset-top)); }

  /* On a phone-sized screen, drop the desktop phone frame and fill the screen. */
  @media (max-width: 500px) {
    html, body { height: 100%; }
    body { padding: 0; display: block; background: var(--bg); min-height: 0; }
    .phone { width: 100%; height: 100vh; height: 100dvh; border: 0; border-radius: 0; }
    /* iPhones zoom in on text boxes smaller than 16px; this stops that. */
    .text-input { font-size: 16px; }
  }