:root {
  color-scheme: light;
  --ink: #19201d;
  --muted: #65716c;
  --paper: #fbfaf5;
  --line: #d9ded2;
  --leaf: #1f7a5a;
  --coral: #d95f43;
  --gold: #c99a2e;
  --blue: #4169a8;
  --white: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

body:has(.onboarding-screen:not(.hidden)) {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 0 16px;
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--paper);
}

.sidebar {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 2;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: max(12px, env(safe-area-inset-top)) 14px 12px;
  background: #f2f0e7;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.brand-mark.large {
  width: 76px;
  height: 76px;
  border-radius: 18px;
}

.brand-mark.large span {
  font-size: 42px;
}

.brand-mark.large small {
  font-size: 14px;
}

.brand-mark span {
  font-size: 28px;
  line-height: 1;
}

.brand-mark small {
  color: #f4d06f;
  font-size: 11px;
  line-height: 1;
}

.brand-copy span,
.metric-panel span,
.stats-grid span,
.leaderboard span,
.goal-control,
.eyebrow,
small {
  color: var(--muted);
  font-size: 13px;
}

nav {
  display: none;
  gap: 8px;
}

.nav-item {
  justify-content: flex-start;
  border-color: transparent;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.nav-item.active {
  border-color: var(--line);
  background: var(--white);
}

.metric-panel,
.invite-panel,
.subscription-note,
.poster-panel,
.leaderboard,
.ai-guide,
.quiz-panel,
.ai-story-panel,
.community-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.metric-panel {
  display: none;
  margin-top: auto;
  padding: 18px;
}

.invite-panel {
  display: grid;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.invite-panel.visible {
  display: grid;
}

.invite-panel span {
  color: var(--muted);
  font-size: 13px;
}

.invite-panel strong {
  line-height: 1.2;
}

.invite-panel button {
  min-height: 38px;
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
  white-space: nowrap;
}

.invite-panel span,
.invite-panel strong,
.invite-panel small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.metric-panel strong {
  display: block;
  margin: 4px 0;
  font-size: 30px;
}

main {
  min-width: 0;
  padding: 18px 18px calc(92px + env(safe-area-inset-bottom));
}

.topbar,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.topbar,
.top-actions,
.section-head,
.ai-guide {
  align-items: stretch;
  flex-direction: column;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1;
}

h2 {
  font-size: 24px;
  line-height: 1.15;
}

.top-actions {
  display: flex;
  align-items: end;
  gap: 12px;
}

.daily-actions {
  display: grid;
  grid-template-columns: minmax(110px, 140px) 1fr;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.goal-control,
label {
  display: grid;
  gap: 7px;
}

select,
input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.onboarding-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: var(--paper);
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
}

.onboarding-screen.hidden {
  display: none;
}

.custom-type-field.hidden {
  display: none;
}

.onboarding-card {
  display: grid;
  width: min(520px, 100%);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
}

.onboarding-card h1 {
  font-size: 44px;
}

.logo-caption {
  margin-top: -8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.onboarding-copy {
  color: var(--muted);
  line-height: 1.6;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.text-button {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.learning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ai-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 18px;
}

.ai-guide p:last-child,
.ai-hint p,
.quiz-feedback,
.ai-story-panel p {
  color: var(--muted);
  line-height: 1.5;
}

#aiPaceBadge {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--leaf);
  font-weight: 800;
}

.char-card {
  display: grid;
  grid-template-rows: 170px auto auto 1fr;
  gap: 16px;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.char-visual {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #eef7fb 0%, #fffdf7 100%);
  overflow: hidden;
}

.char-visual svg {
  width: min(82%, 180px);
  height: 150px;
}

.scene-shapes {
  fill: none;
  stroke: #26312d;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene-shapes .skin { fill: #f4b995; stroke: #26312d; }
.scene-shapes .shirt { fill: #5aa0d8; stroke: #26312d; }
.scene-shapes .dress { fill: #d95f8a; stroke: #26312d; }
.scene-shapes .hair,
.scene-shapes .dark { fill: #26312d; stroke: #26312d; }
.scene-shapes .line { fill: none; stroke: #26312d; }
.scene-shapes .mouth-red,
.scene-shapes .heart-fill { fill: #e6534f; stroke: #26312d; }
.scene-shapes .white-fill,
.scene-shapes .snow,
.scene-shapes .paper { fill: #fffdf7; stroke: #26312d; }
.scene-shapes .sun-fill,
.scene-shapes .star,
.scene-shapes .lamp { fill: #f4c64e; stroke: #26312d; }
.scene-shapes .sun-stroke { fill: none; stroke: #f4c64e; stroke-width: 8; }
.scene-shapes .night { fill: #405a8c; stroke: #26312d; }
.scene-shapes .moon-fill { fill: #f8e7a1; stroke: #26312d; }
.scene-shapes .glass { fill: #dff5ff; stroke: #26312d; }
.scene-shapes .water-fill,
.scene-shapes .drop,
.scene-shapes .sky { fill: #8fd3f4; stroke: #26312d; }
.scene-shapes .flame { fill: #f06a3d; stroke: #26312d; }
.scene-shapes .flame-inner { fill: #ffd166; stroke: #26312d; }
.scene-shapes .mountain-fill { fill: #6fa66f; stroke: #26312d; }
.scene-shapes .leaf-fill { fill: #55a868; stroke: #26312d; }
.scene-shapes .trunk { fill: #9b6b43; stroke: #26312d; }
.scene-shapes .trunk-stroke { fill: none; stroke: #9b6b43; stroke-width: 7; }
.scene-shapes .ball-big { fill: #5aa0d8; stroke: #26312d; }
.scene-shapes .ball-small,
.scene-shapes .target { fill: #e6534f; stroke: #26312d; }
.scene-shapes .muted-object { fill: #c9d7df; }
.scene-shapes .box-fill { fill: #f4d06f; stroke: #26312d; }
.scene-shapes .arrow-fill { fill: #1f7a5a; stroke: #26312d; }
.scene-shapes .apple { fill: #df4a3f; stroke: #26312d; }
.scene-shapes .apple.second { fill: #f06449; }
.scene-shapes .apple.third { fill: #c83e3a; }
.scene-shapes .book-left { fill: #f4d06f; stroke: #26312d; }
.scene-shapes .book-right { fill: #f7e6a1; stroke: #26312d; }
.scene-shapes .pencil { fill: #d95f43; stroke: #26312d; }
.scene-shapes .eye-fill { fill: #fffdf7; stroke: #26312d; }
.scene-shapes .iris { fill: #4169a8; stroke: #26312d; }
.scene-shapes .shine { fill: none; stroke: #fffdf7; stroke-width: 6; }

.char-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.char-main {
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 112px;
  line-height: .9;
}

.pinyin {
  color: var(--coral);
  font-weight: 800;
  letter-spacing: 0;
}

.audio-button {
  display: grid;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  place-items: center;
  border-color: var(--line);
  border-radius: 50%;
  background: #fffdf7;
  color: var(--ink);
  padding: 0;
  font-size: 20px;
}

.audio-button:hover,
.audio-button:focus-visible {
  border-color: var(--leaf);
  color: var(--leaf);
}

.meaning {
  font-size: 22px;
  font-weight: 800;
}

.ai-hint {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.ai-hint span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.example {
  color: var(--muted);
  line-height: 1.5;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 12px;
}

.insight-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
  padding: 24px;
}

.quiz-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-choice {
  border-color: var(--line);
  background: #fffdf7;
  color: var(--ink);
}

.quiz-choice.correct {
  border-color: var(--leaf);
  background: #edf5ef;
  color: var(--leaf);
}

.quiz-choice.wrong {
  border-color: var(--coral);
  background: #fff3ef;
  color: var(--coral);
}

.quiz-feedback {
  min-height: 24px;
}

.formula {
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.formula span {
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
}

.formula strong {
  font-size: 44px;
}

.review-list {
  display: grid;
  gap: 10px;
}

.review-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.review-char {
  font-family: "Songti SC", serif;
  font-size: 46px;
  text-align: center;
}

.review-actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
}

.compact-audio {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
}

.journey-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.journey-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 6px;
}

.journey-tab {
  min-height: 42px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.journey-tab.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.journey-panel {
  display: none;
}

.journey-panel.active {
  display: grid;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  grid-column: 1 / -1;
}

.stats-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.stats-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 36px;
}

.poster-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-actions button:last-child {
  border-color: var(--line);
  background: #fffdf7;
  color: var(--ink);
}

.share-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

canvas {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: #edf3ec;
}

.leaderboard {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.community-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.community-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.community-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
  padding: 12px;
}

.community-stats span {
  color: var(--muted);
  font-size: 12px;
}

.community-stats strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
}

#communityLine {
  color: var(--muted);
  line-height: 1.5;
}

.community-note {
  color: var(--muted);
  line-height: 1.5;
}

.ai-story-panel {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
}

.ai-story-panel #storyZh {
  color: var(--ink);
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 30px;
  line-height: 1.25;
}

.compact {
  margin-bottom: 12px;
}

ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 0;
}

li {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  list-style: none;
}

li.you {
  border-color: var(--leaf);
  background: #edf5ef;
}

li .rank {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

li p {
  color: var(--muted);
  font-size: 13px;
}

.profile-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.avatar {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--white);
  font-size: 38px;
  font-weight: 900;
}

.subscription-note {
  max-width: 720px;
  padding: 22px;
}

.subscription-copy {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.membership-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.membership-benefits span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf7;
  color: var(--muted);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
}

.trial-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(31, 122, 90, .35);
  border-radius: 8px;
  background: #edf5ef;
  padding: 14px;
}

.trial-panel span:first-child {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.trial-panel strong {
  display: block;
  margin-top: 4px;
  line-height: 1.25;
}

.trial-panel p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

#trialDaysLeft {
  justify-self: start;
  border: 1px solid var(--leaf);
  border-radius: 999px;
  background: var(--white);
  color: var(--leaf);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfaf5;
}

.price-card.featured {
  border-color: var(--leaf);
  background: #edf5ef;
}

.price-card span {
  color: var(--muted);
  font-size: 13px;
}

.price-card strong {
  display: block;
  margin: 6px 0;
  font-size: 34px;
}

.price-card p {
  color: var(--muted);
  line-height: 1.45;
}

.plan-button {
  width: 100%;
  margin-top: 14px;
}

.payment-note {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.settings-panel,
.legal-panel {
  max-width: 720px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.settings-panel {
  padding: 0;
}

.settings-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 16px 18px;
  cursor: pointer;
}

.settings-panel summary::after {
  content: "Edit";
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.settings-panel[open] summary {
  border-bottom: 1px solid var(--line);
}

.settings-panel[open] summary::after {
  content: "Close";
}

.settings-panel summary::marker {
  content: "";
}

.settings-panel form {
  padding: 18px;
}

.avatar-editor {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 16px;
}

.legal-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.legal-panel a {
  display: grid;
  min-height: 52px;
  place-items: center;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.legal-panel a + a {
  border-left: 1px solid var(--line);
}

.checkout-dialog {
  width: min(460px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 24px;
}

.bottom-tabs {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 10;
  display: grid;
  width: min(100%, 430px);
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border-top: 1px solid var(--line);
  background: rgba(251, 250, 245, .96);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.bottom-tab {
  display: grid;
  min-height: 54px;
  place-items: center;
  gap: 2px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 12px;
}

.bottom-tab span {
  color: currentColor;
  font-size: 20px;
  line-height: 1;
}

.bottom-tab.active {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.checkout-dialog::backdrop {
  background: rgba(25, 32, 29, .42);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  border-color: var(--line);
  border-radius: 50%;
  background: #fffdf7;
  color: var(--ink);
  padding: 0;
}

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf5ef;
  padding: 16px;
}

.checkout-summary span,
#checkoutStatus {
  color: var(--muted);
}

.checkout-summary strong {
  font-size: 34px;
}

#continueCheckout {
  width: 100%;
}

.restore-button {
  width: 100%;
  margin-top: 10px;
  border-color: var(--line);
  background: #fffdf7;
  color: var(--ink);
}

#checkoutStatus {
  margin-top: 12px;
  line-height: 1.45;
}

.policy-page {
  display: grid;
  width: min(100%, 720px);
  gap: 22px;
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 18px max(42px, env(safe-area-inset-bottom));
}

.policy-page h1 {
  font-size: 42px;
}

.policy-page section {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.policy-page p {
  color: var(--muted);
  line-height: 1.6;
}

.back-link {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 2;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
  }

  nav {
    display: none;
  }

  .metric-panel {
    display: none;
  }

  main {
    padding: 18px 18px 28px;
  }

  .bottom-tabs {
    left: 50%;
    right: auto;
    width: min(100%, 430px);
    transform: translateX(-50%);
  }

  .bottom-tab {
    display: grid;
    min-height: 54px;
    place-items: center;
    gap: 2px;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
    padding: 0;
    font-size: 12px;
  }

  .bottom-tab span {
    color: currentColor;
    font-size: 20px;
    line-height: 1;
  }

  .bottom-tab.active {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
  }

  .topbar,
  .top-actions,
  .section-head,
  .insight-band,
  .ai-guide {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .learning-grid,
  .stats-grid,
  .journey-layout,
  .pricing-grid,
  .community-stats {
    grid-template-columns: 1fr;
  }

  .formula {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }

  .review-item {
    grid-template-columns: 56px 1fr;
  }

  .review-actions {
    grid-column: 1 / -1;
  }

  .onboarding-card {
    padding: 22px;
  }

  .onboarding-card h1 {
    font-size: 36px;
  }

  .onboarding-grid {
    grid-template-columns: 1fr;
  }

  .daily-actions,
  .avatar-editor {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 520px) {
  body {
    background: #e6e8df;
  }

  .app-shell {
    min-height: 100vh;
    box-shadow: 0 0 0 1px rgba(25, 32, 29, .08), 0 24px 80px rgba(25, 32, 29, .14);
  }
}
