/* The phone follows the app's mobile mail view and question sheet. */
.mobile { border-top: 1px solid var(--line); }
.center-head + .mobile-figure { margin-top: clamp(40px, 5vw, 56px); }
.mobile-phone { width: min(360px, 100%); margin: 0 auto; padding: 8px; border-radius: 46px; background: #1B1A16; box-shadow: 0 2px 0 #53514B inset, 0 38px 70px -35px rgba(23, 22, 15, .35); }
.mobile-screen { height: 660px; position: relative; overflow: hidden; border-radius: 38px; background: #F7F7F5; color: #17160F; font: 400 14px/1.5 var(--sans); isolation: isolate; }
.mobile-status { height: 43px; display: flex; justify-content: space-between; align-items: center; padding: 8px 24px 0; font-size: 13px; font-weight: 700; }
.mobile-status svg { width: 52px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.mobile-head { display: flex; gap: 12px; align-items: center; padding: 10px 16px; }
.mobile-head > div { flex: 1; min-width: 0; }
.mobile-head b { display: block; font-size: 18px; line-height: 1.2; font-weight: 700; }
.mobile-head small { display: block; margin-top: 3px; font-size: 13px; color: #6B675D; }
.mobile-back { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid #DCDAD4; background: #FFFFFF; color: #17160F; cursor: pointer; }
.mobile-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mobile-more { font-size: 20px; letter-spacing: 2px; }
.mobile-mail { margin: 12px 18px 0; padding: 0 0 0 17px; border-left: 1px solid #DCDAD4; }
.mobile-mail > small { display: block; font-size: 12px; color: #6B675D; margin-bottom: 12px; }
.mobile-mail p { margin: 0 0 12px; font-size: 14px; line-height: 1.65; }
.mobile-mail mark { background: transparent; color: inherit; }
.mobile-mail mark.current { background: #FFE9A8; }
.mobile-sheet { position: absolute; inset: auto 0 0; background: #FFFFFF; padding: 12px 16px 35px; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(23, 22, 15, .14); }
.mobile-grip { width: 40px; height: 5px; margin: 0 auto 16px; border-radius: 5px; background: #DCDAD4; }
.mobile-sheet-head { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.mobile-sheet-head small { font-size: 11px; color: #6B675D; align-self: center; }
.mobile-progress { display: flex; gap: 6px; margin: 12px 0 16px; }
.mobile-progress span { flex: 1; height: 4px; background: #ECEBE7; border-radius: 2px; }
.mobile-progress span.current { background: #E0A300; }
.mobile-question { padding: 18px; border-radius: 18px; background: linear-gradient(110deg, #FBF0D2, #FCF5E3); box-shadow: 0 8px 20px rgba(23, 22, 15, .08); }
.mobile-question h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin: 0; }
.mobile-choices { display: flex; gap: 10px; margin-top: 16px; }
.mobile-choices button { min-height: 44px; padding: 8px 22px; border: 1.5px solid #E2D3A8; border-radius: 999px; background: #FFFDF6; color: #17160F; font: 600 16px/1.2 var(--sans); cursor: pointer; }
.mobile-choices button, .mobile-send { transition: transform .2s, background-color .2s, border-color .2s; }
.mobile-choices button.druk { transform: scale(.94); background: #FFE9A8; border-color: #E0A300; }
.mobile-send.druk { transform: scale(.95); }
.mobile-choices button:hover { background: #FFF6DE; border-color: #CDB679; }
.mobile-self { display: block; margin-top: 16px; padding: 0; border: 0; background: transparent; color: #4A473E; font: 500 14px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.mobile-custom { margin-top: 12px; }
.mobile-custom label { display: block; font-size: 13px; margin-bottom: 6px; }
.mobile-custom input { width: 100%; min-height: 44px; border: 1px solid #E2D3A8; border-radius: 10px; padding: 8px 10px; background: #FFFDF6; color: #17160F; font: 400 15px/1.4 var(--sans); }
.mobile-custom button { margin-top: 8px; border: 0; border-radius: 999px; min-height: 44px; padding: 8px 16px; background: #1B1A16; color: #FFFFFF; font: 600 14px/1.2 var(--sans); cursor: pointer; }
.mobile-draft { height: calc(100% - 108px); overflow-y: auto; padding: 14px 20px 100px; }
.mobile-draft h3 { font-size: 23px; line-height: 1.2; font-weight: 700; margin: 8px 0 20px; }
.mobile-draft-label { font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.mobile-picked { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.mobile-picked span { padding: 4px 10px; background: #F0EFEB; border-radius: 999px; font-size: 12px; }
.mobile-letter { padding: 18px; border: 1px solid #DCDAD4; border-radius: 16px; background: #FFFFFF; font-size: 14px; line-height: 1.6; white-space: pre-line; }
.mobile-dock { position: absolute; inset: auto 20px 32px; display: flex; align-items: center; gap: 20px; padding-top: 12px; background: #F7F7F5; box-shadow: 0 -12px 18px #F7F7F5; }
.mobile-send { min-height: 44px; padding: 10px 24px; border: 0; border-radius: 999px; background: #F5B400; color: #16130A; font: 650 15px/1.2 var(--sans); cursor: pointer; }
.mobile-edit { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #4A473E; font: 500 14px/1.2 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.mobile-homebar { position: absolute; bottom: 10px; left: calc(50% - 52px); width: 104px; height: 4px; background: #17160F; border-radius: 4px; z-index: 2; pointer-events: none; }
.mobile-done { padding: 90px 28px 0; text-align: center; }
.mobile-done svg { width: 48px; height: 48px; fill: none; stroke: #187A43; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 20px; }
.mobile-done h3 { font-size: 22px; margin: 0 0 12px; }
.mobile-screen button:focus-visible, .mobile-screen input:focus-visible { outline: 3px solid #8A6300; outline-offset: 3px; }
.mobile-screen [hidden] { display: none !important; }
@media (max-width: 760px) {
  .mobile-screen { height: 650px; }
}
@media (max-width: 380px) {
  .mobile-question { padding: 14px; }
  .mobile-sheet-head small { font-size: 10px; }
  .mobile-draft { padding-inline: 16px; }
}
