/* 商品图片图标 */
.item-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  border-radius: 4px;
}
.item-emoji {
  font-size: 24px;
  line-height: 32px;
  display: inline-block;
  width: 32px;
  text-align: center;
}

:root {
  --bg: #f7f4ed;
  --surface: #fffdf9;
  --surface-2: #f0ece3;
  --text: #20251f;
  --sub: #697067;
  --muted: #6b7169;
  --line: rgba(32, 37, 31, .09);
  --accent: #f3b928;
  --accent-ink: #342500;
  --green: #4f8f69;
  --purple: #8069c8;
  --red: #d85d6c;
  --shadow: 0 18px 50px rgba(55, 45, 25, .1);
}

body.dark {
  --bg: #0d1210;
  --surface: #171d1a;
  --surface-2: #202723;
  --text: #f7f4ed;
  --sub: #aeb7ae;
  --muted: #8a948a;
  --line: rgba(255,255,255,.09);
  --accent: #f5c347;
  --accent-ink: #2b2003;
  --shadow: 0 18px 50px rgba(0,0,0,.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  transition: background .25s, color .25s;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
.phone-shell { width: min(100%, 540px); min-height: 100vh; margin: auto; padding-bottom: calc(92px + env(safe-area-inset-bottom)); background: var(--bg); }
.app-header {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: max(12px, env(safe-area-inset-top)) 18px 10px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; }
.brand > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: linear-gradient(145deg, var(--purple), #6449b6); box-shadow: 0 7px 18px rgba(128,105,200,.3); }
.brand b { font-size: 16px; letter-spacing: -.02em; }
.header-actions { display: flex; gap: 8px; }
.round-button, .avatar { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: var(--surface); cursor: pointer; }
.avatar { border: 0; color: #fff; background: linear-gradient(145deg, var(--green), #347454); font-size: 12px; font-weight: 800; }
main { padding: 8px 16px 24px; animation: enter .25s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(5px); } }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 8px 2px 18px; }
.page-head p { margin: 0 0 5px; color: var(--accent); font-size:11px; font-weight: 850; letter-spacing: .14em; }
.page-head h1 { margin: 0; font-size: 27px; line-height: 1.15; letter-spacing: -.045em; }
.page-head small { color: var(--muted); white-space: nowrap; }
.hero {
  position: relative;
  min-height: 190px;
  padding: 20px 21px;
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #243c31, #182a23);
  box-shadow: var(--shadow);
}
.hero::after { content: "🥚"; position: absolute; right: -3px; bottom: -25px; font-size: 118px; filter: grayscale(.2); opacity: .28; transform: rotate(12deg); }
.hero > * { position: relative; z-index: 1; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 99px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.1); font-size:11px; font-weight: 750; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: #65d69c; box-shadow: 0 0 10px #65d69c; }
.hero h2 { max-width: 280px; margin: 13px 0 6px; font-size: 27px; line-height: 1.16; letter-spacing: -.045em; }
.hero p { max-width: 280px; margin: 0; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.6; }
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 17px;
  border: 0;
  border-radius: 14px;
  color: var(--accent-ink);
  background: var(--accent);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:14px; }
.hero .primary-button { min-height:42px; }
.recent-query { display:grid; grid-template-columns:22px 1fr; align-items:center; min-height:42px; padding:5px 10px; border:1px solid rgba(255,255,255,.14); border-radius:13px; color:#fff; background:rgba(255,255,255,.08); text-decoration:none; }
.recent-query > span { grid-row:1 / 3; color:var(--accent); font-size:17px; }
.recent-query b,.recent-query small { display:block; }
.recent-query b { font-size:11px; }
.recent-query small { color:rgba(255,255,255,.55); font-size:11px; }
.secondary-button { border: 1px solid var(--line); color: var(--text); background: var(--surface-2); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 25px 2px 12px; }
.section-title h2 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.section-title p { margin: 4px 0 0; color: var(--muted); font-size:11px; }
.section-title a { color: var(--green); font-size: 11px; font-weight: 750; text-decoration: none; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-card {
  min-height: 128px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 19px;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}
.quick-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 13px; border-radius: 13px; background: var(--surface-2); font-size: 21px; }
.quick-card b { display: block; font-size: 13px; }
.quick-card small { display: block; margin-top: 5px; color: var(--muted); font-size:11px; line-height: 1.5; }
.merchant-strip { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; color: var(--text); background: var(--surface); text-decoration: none; }
.merchant-strip .icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); font-size: 23px; }
.merchant-strip b, .merchant-strip small { display: block; }
.merchant-strip small { margin-top: 4px; color: var(--muted); font-size:11px; }
.merchant-strip strong { margin-left: auto; color: var(--accent); font-size: 12px; }
.home-merchant {
  margin-top:11px;
  padding:15px 0 11px;
  border:1px solid color-mix(in srgb,var(--green) 24%,var(--line));
  border-radius:21px;
  overflow:hidden;
  background:var(--surface);
  box-shadow:0 10px 30px color-mix(in srgb,var(--green) 7%,transparent);
}
.home-merchant.has-match { border-color:color-mix(in srgb,var(--accent) 58%,var(--line)); box-shadow:0 10px 32px color-mix(in srgb,var(--accent) 13%,transparent); }
.home-merchant.has-match .merchant-kicker { color:var(--accent); }
.home-merchant-head,.merchant-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:0 14px; }
.merchant-kicker { color:var(--green); font-size:11px; font-weight:850; letter-spacing:.1em; }
.home-merchant h2 { margin:3px 0 0; font-size:14px; }
.home-merchant h2 em { display:inline-grid; place-items:center; min-width:19px; height:19px; margin-left:4px; border-radius:7px; color:var(--accent-ink); background:var(--accent); font-size:11px; font-style:normal; }
.home-merchant-head > a { color:var(--green); font-size:11px; font-weight:750; text-decoration:none; white-space:nowrap; }
.merchant-rail { display:flex; gap:8px; margin-top:11px; padding:0 14px 5px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; }
.merchant-rail::-webkit-scrollbar { display:none; }
.merchant-rail.compact { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); overflow:visible; }
.merchant-rail.compact .mini-good { width:auto; }
.merchant-rail.single { overflow:visible; }
.merchant-rail.single .mini-good { display:grid; grid-template-columns:48px 1fr; align-items:center; width:100%; min-height:72px; text-align:left; }
.merchant-rail.single .mini-good > span { grid-row:1 / 3; font-size:34px; text-align:center; }
.merchant-rail.single .mini-good b { font-size:12px; }
.merchant-rail.single .mini-good small { font-size:11px; }
.mini-good {
  position:relative;
  flex:0 0 82px;
  scroll-snap-align:start;
  padding:9px 7px;
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--text);
  background:var(--surface-2);
  text-align:center;
  text-decoration:none;
}
.mini-good.watched { border-color:color-mix(in srgb,var(--accent) 48%,var(--line)); background:color-mix(in srgb,var(--accent) 8%,var(--surface)); }
.mini-good > span { display:block; font-size:25px; }
.mini-good .item-icon { width:32px; height:32px; margin:0 auto; display:block; }
.mini-good b,.mini-good small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mini-good b { margin-top:4px; font-size:11px; }
.mini-good small { margin-top:3px; color:var(--muted); font-size:11px; }
.mini-good.watched small { color:var(--green); font-weight:750; }
.mini-good > i { position:absolute; top:5px; right:6px; color:var(--muted); font-size:11px; font-style:normal; }
.swipe-hint { display:flex; justify-content:space-between; gap:10px; padding:2px 14px 6px; color:var(--muted); font-size:11px; }
.swipe-hint a { color:var(--green); font-weight:750; text-decoration:none; }
.merchant-foot { margin-top:7px; padding-top:9px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
.merchant-foot a { color:var(--green); font-weight:750; text-decoration:none; }
.notice-entry {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:11px;
  padding:14px;
  border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));
  border-radius:18px;
  color:var(--text);
  background:color-mix(in srgb,var(--accent) 8%,var(--surface));
  text-decoration:none;
}
.notice-icon { display:grid; place-items:center; width:45px; height:45px; flex:none; border-radius:14px; color:var(--accent-ink); background:var(--accent); font-size:20px; }
.notice-entry b,.notice-entry small { display:block; }
.notice-entry small { margin-top:4px; color:var(--muted); font-size:11px; }
.notice-entry strong { margin-left:auto; color:var(--green); font-size:11px; white-space:nowrap; }
.schedule-note { display:flex; align-items:center; justify-content:space-between; color:var(--sub); font-size:11px; font-weight:750; }
.schedule-note i { height:1px; flex:1; margin:0 8px; background:var(--line); }
.subscribe-tip { display:flex; align-items:flex-start; gap:11px; margin-top:12px; }
.subscribe-tip > span { font-size:22px; }
.subscribe-tip b { font-size:12px; }
.subscribe-tip p { margin:5px 0 0; color:var(--muted); font-size:11px; line-height:1.6; }
.filter-summary { display:flex; justify-content:space-between; gap:10px; margin:-4px 2px 10px; color:var(--muted); font-size:11px; }
.email-account { display:flex; align-items:center; gap:10px; margin-top:9px; padding:11px 12px; border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line)); border-radius:16px; background:color-mix(in srgb,var(--accent) 6%,var(--surface)); }
.email-account.logged-in { border-color:color-mix(in srgb,var(--green) 38%,var(--line)); background:color-mix(in srgb,var(--green) 6%,var(--surface)); }
.email-avatar { display:grid; place-items:center; width:38px; height:38px; flex:none; border-radius:12px; color:var(--accent-ink); background:var(--accent); font-size:17px; }
.email-account.logged-in .email-avatar { color:#fff; background:var(--green); }
.email-account b,.email-account small { display:block; }
.email-account b { font-size:11px; }
.email-account small { margin-top:3px; color:var(--muted); font-size:11px; line-height:1.4; }
.email-account > button,.email-account > a { margin-left:auto; min-height:44px; padding:0 9px; border:1px solid var(--line); border-radius:9px; color:var(--sub); background:var(--surface); font-size:11px; display:inline-flex; align-items:center; text-decoration:none; white-space:nowrap; } /* P2-E：触摸目标 44px */
.email-login-fields { flex:1; min-width:0; }
.email-login-fields input { width:100%; height:34px; margin-top:7px; padding:0 9px; border:1px solid var(--line); border-radius:9px; color:var(--text); background:var(--surface); font-size:11px; }
.bulk-actions { display:flex; align-items:center; gap:6px; margin:-4px 2px 10px; overflow-x:auto; color:var(--muted); font-size:11px; scrollbar-width:none; }
.bulk-actions span { margin-right:auto; white-space:nowrap; }
.bulk-actions button { flex:none; min-height:44px; padding:6px 8px; border:1px solid var(--line); border-radius:9px; color:var(--sub); background:var(--surface); font-size:11px; } /* P2-E：触摸目标 44px */
.save-bar {
  position:sticky;
  bottom:82px;
  z-index:6;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:14px;
  padding:10px 10px 10px 14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:color-mix(in srgb,var(--surface) 92%,transparent);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
  color:var(--sub);
  font-size:11px;
}
.save-bar b { color:var(--green); font-size:14px; }
.save-bar i { color:var(--green); font-size:11px; font-style:normal; font-weight:750; }
.save-bar.dirty { border-color:color-mix(in srgb,var(--accent) 54%,var(--line)); }
.save-bar.dirty i { color:var(--accent); }
.save-bar .primary-button { min-height:42px; }
.save-bar button:disabled { opacity:.4; cursor:not-allowed; }
.save-cancel { min-height:44px; padding:0 10px; border:1px solid var(--line); border-radius:11px; color:var(--sub); background:var(--surface-2); font-size:11px; } /* P2-E：触摸目标 44px */
.auth-card { margin-top:10px; }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:5px; margin-bottom:18px; padding:4px; border-radius:13px; background:var(--surface-2); }
.auth-tabs button { height:38px; border:0; border-radius:10px; color:var(--muted); background:transparent; font-size:11px; font-weight:750; }
.auth-tabs button.active { color:var(--text); background:var(--surface); box-shadow:0 5px 14px rgba(0,0,0,.07); }
.auth-intro { display:flex; align-items:flex-start; gap:10px; margin-bottom:18px; }
.auth-intro > span { font-size:25px; }
.auth-intro h2 { margin:0; font-size:16px; }
.auth-intro p { margin:5px 0 0; color:var(--muted); font-size:11px; line-height:1.5; }
.auth-card .field { margin-bottom:12px; }
.auth-note { margin:13px 0 0; color:var(--muted); font-size:11px; line-height:1.5; text-align:center; }
.card { padding: 18px; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); box-shadow: 0 8px 28px rgba(0,0,0,.035); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label { display: block; margin: 0 0 7px; color: var(--sub); font-size: 11px; font-weight: 750; }
.field input, .search { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: var(--surface-2); }
.full-button { width: 100%; margin-top: 12px; }
.result-list, .list { display: grid; gap: 9px; }
.result {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}
.result .emoji { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--surface-2); font-size: 25px; }
.result b, .result small { display: block; }
.result small { margin-top: 4px; color: var(--muted); font-size:11px; }
.result strong { margin-left: auto; color: var(--green); font-size: 12px; }
.filters { display: flex; gap: 7px; margin: 10px 0 14px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--sub); background: var(--surface); font-size: 11px; cursor: pointer; } /* P2-E：触摸目标 44px */
.filter.active { color: var(--accent-ink); border-color: transparent; background: var(--accent); font-weight: 750; }
.pet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pet-card { padding: 12px; border: 1px solid var(--line); border-radius: 18px; color: var(--text); background: var(--surface); text-decoration: none; }
.pet-card .visual { display: grid; place-items: center; height: 94px; margin-bottom: 10px; border-radius: 14px; background: var(--surface-2); font-size: 44px; }
.pet-card b { font-size: 12px; }
.pet-meta { display: flex; justify-content: space-between; gap: 6px; margin-top: 6px; color: var(--muted); font-size:11px; }
.tag { color: var(--green); }
.good-row { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 11px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.good-row .emoji { font-size:24px; }
.good-row .item-icon { width:36px; height:36px; object-fit:contain; }
.good-row .item-emoji { font-size:24px; }
.good-row b, .good-row small { display: block; }
.good-row small { margin-top: 4px; color: var(--muted); font-size:11px; }
.subscribed-mark { margin-left:auto; padding:5px 8px; border-radius:99px; color:var(--green); background:color-mix(in srgb,var(--green) 10%,transparent); font-size:11px; white-space:nowrap; }
.switch { position: relative; width: 43px; height: 25px; margin-left: auto; border: 0; border-radius: 99px; background: var(--surface-2); cursor: pointer; }
.switch::after { content:""; position:absolute; top:3px; left:3px; width:19px; height:19px; border-radius:50%; background:var(--muted); transition:.2s; }
.switch.on { background: color-mix(in srgb, var(--green) 25%, var(--surface)); }
.switch.on::after { transform: translateX(18px); background: var(--green); }
.profile-card { display: flex; align-items: center; gap: 13px; }
.profile-avatar { display:grid; place-items:center; width:62px; height:62px; border-radius:20px; color:#fff; background:linear-gradient(145deg,var(--green),#347454); font-size:20px; font-weight:850; }
.profile-card h2 { margin: 0 0 4px; font-size: 18px; }
.profile-card p { margin:0; color:var(--muted); font-size:11px; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:12px; }
.stat { padding:14px 8px; border-radius:16px; background:var(--surface-2); text-align:center; }
.stat b,.stat small { display:block; }
.stat b { color:var(--green); font-size:18px; }
.stat small { margin-top:3px; color:var(--muted); font-size:11px; }
.menu-row { display:flex; align-items:center; gap:11px; min-height:55px; padding:0 13px; border:1px solid var(--line); border-radius:16px; color:var(--text); background:var(--surface); text-decoration:none; font-size:12px; font-weight:700; }
.menu-row > span:first-child { font-size:18px; }
.menu-row small { margin-left:auto; color:var(--muted); }
.detail-visual { display:grid; place-items:center; height:210px; border-radius:24px; background:linear-gradient(145deg,var(--surface-2),var(--surface)); font-size:100px; }
.detail-title { text-align:center; }
.detail-title h1 { margin:16px 0 5px; font-size:25px; }
.detail-title p { margin:0; color:var(--muted); font-size:11px; }
.empty { padding:42px 16px; color:var(--muted); text-align:center; font-size:11px; }
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(calc(100% - 20px), 540px); /* P2-E：与 phone-shell 最大宽度对齐 */
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.bottom-nav a { display:grid; place-items:center; gap:2px; min-height:50px; border-radius:15px; color:var(--muted); text-decoration:none; }
.bottom-nav a span { font-size:20px; }
.bottom-nav a small { font-size:11px; }
.bottom-nav a.active { color:var(--green); background:color-mix(in srgb,var(--green) 10%,transparent); }
.toast { position:fixed; left:50%; bottom:88px; z-index:20; padding:10px 14px; border-radius:12px; color:var(--text); background:var(--surface); box-shadow:var(--shadow); transform:translate(-50%,20px); opacity:0; pointer-events:none; transition:.2s; font-size:11px; }
.toast.show { transform:translate(-50%,0); opacity:1; }
@media (min-width: 541px) {
  .phone-shell { margin-top:18px; margin-bottom:18px; min-height:calc(100vh - 36px); border:1px solid var(--line); border-radius:30px; box-shadow:var(--shadow); overflow:hidden; }
}
@media (max-width: 360px) {
  main { padding-inline:12px; }
  .hero h2 { font-size:26px; }
  .quick-grid,.pet-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; }
}

/* 宠物图片（蛋组图鉴真实宠物）*/
.pet-card .visual img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.detail-visual img { width: 100%; height: 100%; object-fit: contain; border-radius: 20px; }

/* ===== P0/P1 整改新增：无障碍工具类 / noscript / 骨架屏 / 错误视图 ===== */
.visually-hidden { position:absolute!important; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }
.noscript-fallback { max-width:520px; margin:24px auto; padding:20px; border-radius:16px; background:var(--surface); border:1px solid var(--line); color:var(--text); }
.noscript-fallback b { display:block; font-size:16px; margin-bottom:8px; }
.noscript-fallback p { margin:0; font-size:14px; line-height:1.7; color:var(--muted); }

.sk { border-radius:14px; background:linear-gradient(100deg, var(--surface-2) 30%, var(--surface) 50%, var(--surface-2) 70%); background-size:200% 100%; animation:sk-shimmer 1.15s linear infinite; border:1px solid var(--line); }
@keyframes sk-shimmer { from { background-position:180% 0 } to { background-position:-180% 0 } }
.skeleton-view { display:flex; flex-direction:column; gap:14px; padding-bottom:12px; }
.sk-hero { height:148px; border-radius:20px; }
.sk-line { height:14px; border-radius:7px; }
.sk-line.w70 { width:70% }
.sk-line.w40 { width:40% }
.sk-card { height:120px }
.sk-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px }
.sk-tile { height:92px }

.fatal-error { display:grid; justify-items:center; gap:10px; padding:36px 18px; text-align:center; }
.fatal-error-icon { font-size:34px; line-height:1; }
.fatal-error h1 { margin:0; font-size:18px; }
.fatal-error p { margin:0; font-size:13px; line-height:1.6; color:var(--muted); word-break:break-all; max-width:36em; }
.fatal-error .primary-button { min-width:160px; margin-top:6px; cursor:pointer; }
