/* ==========================================================================
   宠友地图 · 样式
   设计取向：editorial / hand-crafted —— 衬线大字 + 手写体点缀 + 暖橙青绿
   字体三件套：Fraunces (display) · DM Sans (body) · Caveat (script accent)
   ========================================================================== */

/* ---------- 1. 变量 & 重置 ---------- */
:root {
  --c-orange:    #FF6B35;
  --c-orange-2:  #F25C28;
  --c-orange-w:  #FFE7DA;
  --c-teal:      #4ECDC4;
  --c-teal-d:    #2DA89F;
  --c-ink:       #1A1A1F;
  --c-ink-2:     #4A4A52;
  --c-ink-3:     #8A8A92;
  --c-line:      #E6E1DA;
  --c-bg:        #F8F5EF;        /* 暖米底，比 #F8F9FA 更有手工感 */
  --c-card:      #FFFFFF;
  --c-cream:     #FAF6EE;
  --c-sun:       #F5C45E;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(26,26,31,.06);
  --shadow-md: 0 8px 24px rgba(26,26,31,.08);
  --shadow-lg: 0 18px 48px rgba(26,26,31,.12);

  --font-display: 'Fraunces', 'Noto Serif SC', Georgia, serif;
  --font-body:    'DM Sans', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-script:  'Caveat', 'Fraunces', cursive;

  --tabbar-h: 72px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
  /* 在大屏上左右两侧的"画布"背景 */
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,107,53,.06), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(78,205,196,.08), transparent 60%);
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* 移动端优先框架 */
.app-frame {
  position: relative;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--c-bg);
  box-shadow: 0 0 0 1px rgba(26,26,31,.04), var(--shadow-lg);
  overflow: hidden;
  padding-bottom: var(--tabbar-h);
}

/* ---------- 2. 装饰：颗粒噪点 ---------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: .12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  max-width: 480px;
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- 3. 通用：按钮 / 标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--c-ink);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--c-orange), 0 6px 12px rgba(0,0,0,.12);
}
.btn--primary:hover { box-shadow: 0 5px 0 0 var(--c-orange), 0 8px 18px rgba(0,0,0,.16); }
.btn--ghost {
  background: var(--c-card);
  color: var(--c-ink);
  border: 1.5px solid var(--c-line);
}
.btn--sm  { padding: 7px 12px; font-size: 13px; }
.btn--big { padding: 14px 22px; font-size: 15px; }
.btn__paw { font-size: 16px; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--c-orange-w);
  color: var(--c-orange-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.tag--lg { padding: 6px 12px; font-size: 12.5px; }
.dot { color: var(--c-ink-3); margin: 0 6px; }

/* ---------- 4. 视图通用 ---------- */
.view { animation: viewIn .3s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px);} to {opacity: 1; transform: none;} }

.page-head {
  padding: 28px 22px 18px;
  position: relative;
}
.page-head::after {
  content: '';
  position: absolute;
  left: 22px; right: 22px; bottom: 0;
  height: 1px;
  background: var(--c-line);
}
.page-head__eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--c-ink-3);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-head__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 10px;
  font-variation-settings: "opsz" 144;
}
.page-head__title em {
  font-family: var(--font-script);
  font-weight: 700;
  font-style: normal;
  color: var(--c-orange);
  font-size: 1.15em;
  letter-spacing: 0;
}
.page-head__sub {
  font-size: 13.5px;
  color: var(--c-ink-2);
  margin: 0;
}

/* ---------- 5. 首页 · 顶栏 ---------- */
.topbar {
  padding: 14px 16px 10px;
  background: linear-gradient(to bottom, var(--c-bg) 80%, transparent);
  position: relative;
  z-index: 10;
}
.topbar__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--c-card);
  border-radius: 999px;
  border: 1.5px solid var(--c-line);
  font-weight: 700;
  font-size: 13px;
}
.city-pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,.2);
}
.city-pill__caret { color: var(--c-ink-3); font-size: 10px; }

.search {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--c-card);
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  padding: 0 12px;
  height: 38px;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(255,107,53,.12);
}
.search__icon { color: var(--c-ink-3); margin-right: 6px; font-size: 16px; }
.search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  height: 100%;
}

.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 4px 6px;
}
.brand-line__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -.01em;
}
.brand-line__sub {
  font-family: var(--font-script);
  font-size: 16px;
  color: var(--c-ink-3);
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 4px 12px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 13px;
  background: var(--c-card);
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-ink-2);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .15s;
}
.chip__emoji { font-size: 14px; }
.chip.is-active {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
  transform: translateY(-1px);
}

/* ---------- 6. 地图区 ---------- */
.map-wrap {
  position: relative;
  height: calc(100vh - 220px - var(--tabbar-h));
  min-height: 360px;
  margin: 0 12px 12px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(26,26,31,.05);
}
.map { width: 100%; height: 100%; }
.leaflet-container { background: #EFE9DD; font-family: var(--font-body); }

/* 自定义 🐾 marker */
.pf-pin-wrap { background: transparent !important; border: 0 !important; }
.pf-pin {
  --pin: #FF6B35;
  position: relative;
  width: 40px; height: 48px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.18));
  animation: pinIn .35s cubic-bezier(.2,.9,.3,1.4) both;
}
@keyframes pinIn { from { transform: translateY(-12px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.pf-pin__head {
  width: 36px; height: 36px;
  border-radius: 50% 50% 50% 12%;
  transform: rotate(45deg);
  background: var(--pin);
  margin: 0 auto;
  position: relative;
  border: 2px solid #fff;
}
.pf-pin__paw {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-45deg);
  font-size: 16px;
}
.pf-pin__tail { display: none; }
.pf-pin.is-active .pf-pin__head {
  background: var(--c-ink);
  transform: rotate(45deg) scale(1.15);
  box-shadow: 0 0 0 6px rgba(255,107,53,.25);
}

/* 浮动按钮 */
.fab {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-card);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--c-ink);
  z-index: 400;
  transition: transform .15s;
}
.fab:active { transform: scale(.92); }
.fab--recenter { right: 14px; bottom: 14px; }

/* 底部 peek */
.peek {
  position: absolute;
  left: 12px; right: 12px;
  bottom: 12px;
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px 16px;
  transform: translateY(140%);
  transition: transform .35s cubic-bezier(.2,.9,.3,1.1);
  z-index: 401;
}
.peek.is-open { transform: none; }
.peek__handle {
  width: 36px; height: 4px;
  background: var(--c-line);
  border-radius: 999px;
  margin: 0 auto 10px;
}
.peek__head { display: flex; gap: 12px; align-items: center; }
.peek__cover {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--c-cream);
  border: 1.5px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.peek__title-wrap { min-width: 0; flex: 1; }
.peek__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.peek__meta { color: var(--c-ink-3); font-size: 12px; margin-top: 4px; }
.peek__rating { color: var(--c-orange); font-weight: 700; }
.peek__sep { margin: 0 6px; color: var(--c-line); }
.peek__addr {
  font-size: 12.5px;
  color: var(--c-ink-2);
  margin: 10px 0 8px;
  line-height: 1.5;
}
.peek__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 12px;
}
.peek__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.peek__actions .btn { width: 100%; justify-content: center; }

/* ---------- 7. 详情 ---------- */
.detail { padding-bottom: 28px; }
.back-btn {
  position: sticky;
  top: 10px;
  margin: 12px 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  background: var(--c-card);
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 5;
  box-shadow: var(--shadow-sm);
}
.back-btn span { font-size: 18px; line-height: 1; }

.detail__hero {
  position: relative;
  margin: 14px;
  padding: 28px 22px 24px;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  background: var(--c-cream);
  border: 1.5px solid var(--c-line);
}
.detail__hero-bg {
  --bg: #FF6B35;
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(140% 90% at 100% 0%, var(--bg) 0%, transparent 55%),
    radial-gradient(120% 80% at 0% 100%, rgba(78,205,196,.45) 0%, transparent 55%);
  opacity: .25;
}
.detail__hero-cover {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--c-card);
  border: 1.5px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.detail__hero-eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--c-ink-3);
  font-weight: 700;
  margin-bottom: 8px;
}
.detail__hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -.01em;
}
.detail__hero-meta {
  font-size: 13px;
  color: var(--c-ink-2);
}
.rating-bubble {
  display: inline-block;
  padding: 2px 9px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  margin-right: 4px;
}

.detail__block {
  padding: 18px 22px;
  border-bottom: 1px dashed var(--c-line);
}
.detail__block:last-of-type { border-bottom: 0; }
.block-eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--c-ink-3);
  font-weight: 700;
  margin-bottom: 8px;
}
.block-text {
  font-size: 14px;
  color: var(--c-ink);
  line-height: 1.7;
}
.block-text--small { font-size: 13px; color: var(--c-ink-2); }
.block-text--quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15.5px;
  color: var(--c-ink);
  border-left: 3px solid var(--c-orange);
  padding-left: 12px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

.detail__cta {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  padding: 8px 22px 20px;
}
.detail__cta .btn { width: 100%; justify-content: center; }

/* ---------- 8. 攻略 ---------- */
.article-list { padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.article-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  animation: cardIn .35s ease both;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px);} to {opacity:1; transform:none;} }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-card__cover {
  width: 88px; height: 88px;
  border-radius: var(--r-md);
  background:
    radial-gradient(80% 60% at 30% 30%, rgba(255,107,53,.25), transparent 60%),
    radial-gradient(80% 60% at 70% 80%, rgba(78,205,196,.25), transparent 60%),
    var(--c-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  border: 1px solid var(--c-line);
}
.article-card__body { min-width: 0; }
.article-card__eyebrow {
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--c-ink-3);
  font-weight: 700;
  margin-bottom: 4px;
}
.article-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 6px;
}
.article-card__excerpt {
  font-size: 12.5px;
  color: var(--c-ink-2);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__foot {
  font-size: 11.5px;
  color: var(--c-ink-3);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

/* ---------- 9. 表单 ---------- */
.form-card {
  margin: 18px 16px 24px;
  padding: 18px;
  background: var(--c-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field { display: block; }
.field__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-ink-2);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.field__input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  font-size: 14px;
  background: var(--c-cream);
  outline: 0;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field__input:focus {
  border-color: var(--c-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,107,53,.12);
}
.field__input--area { resize: vertical; min-height: 90px; }
select.field__input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-ink-2) 50%), linear-gradient(135deg, var(--c-ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.form-card .btn--big { width: 100%; justify-content: center; }
.form-foot {
  margin: 6px 0 0;
  text-align: center;
  font-family: var(--font-script);
  font-size: 15px;
  color: var(--c-ink-3);
}

/* ---------- 10. 我的 ---------- */
.profile-card {
  margin: 18px 16px 16px;
  padding: 16px;
  background: var(--c-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.profile-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-orange-w);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.profile-card__meta { flex: 1; min-width: 0; }
.profile-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.profile-card__tag {
  font-size: 12px;
  color: var(--c-ink-3);
  margin-top: 2px;
}

.me-grid {
  margin: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.me-cell {
  position: relative;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 78px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s;
}
.me-cell:active { transform: scale(.98); }
.me-cell__icon {
  font-size: 18px;
  color: var(--c-orange);
}
.me-cell b {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--c-ink);
}

.me-about {
  margin: 22px 16px 16px;
  padding: 18px;
  background: var(--c-cream);
  border: 1px dashed var(--c-line);
  border-radius: var(--r-lg);
}
.me-about__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}
.me-about p {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
  margin: 0 0 10px;
}
.me-about__sign {
  font-family: var(--font-script);
  font-size: 17px;
  color: var(--c-orange);
  text-align: right;
}

/* ---------- 11. 底部 Tab Bar ---------- */
.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  height: var(--tabbar-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: stretch;
  z-index: 500;
  padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10.5px;
  color: var(--c-ink-3);
  font-weight: 600;
  letter-spacing: .04em;
  position: relative;
}
.tab__ico { font-size: 19px; line-height: 1; }
.tab.is-active { color: var(--c-ink); }
.tab.is-active .tab__ico { transform: translateY(-1px); }
.tab.is-active::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--c-orange);
}

.tab--center { position: relative; }
.tab--center .tab__center {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 0 0 var(--c-orange), 0 8px 18px rgba(0,0,0,.18);
  border: 3px solid var(--c-bg);
  transition: transform .15s;
}
.tab--center:active .tab__center { transform: translateX(-50%) scale(.94); }
.tab--center .tab__label { margin-top: 30px; }
.tab--center.is-active::before { display: none; }
.tab--center.is-active .tab__center { background: var(--c-orange); box-shadow: 0 6px 0 0 var(--c-ink), 0 8px 18px rgba(0,0,0,.18); }

/* ---------- 12. Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + 22px);
  transform: translate(-50%, 24px);
  background: var(--c-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
  z-index: 1000;
  max-width: 88%;
  text-align: center;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 13. 大屏适配（>480px：左右留白展示） ---------- */
@media (min-width: 481px) {
  .app-frame {
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 28px;
    min-height: calc(100vh - 48px);
  }
  .grain { border-radius: 28px; }
  .tabbar { border-radius: 0 0 28px 28px; }
}

/* leaflet 控件字体修正 */
.leaflet-container .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255,255,255,.6);
  padding: 0 6px;
}
